DataTrigger properties on child controls

I would like to be able to change the TextColor of the label in response to the pressed state of the ContentView (similar to the sample here).  When TouchEffect was previously a control, I did something like this:
...
<touch:TouchView x:Name="touchView">
<Label>
     <Label.Triggers>
          <DataTrigger Binding="{Binding Source={x:Reference touchView}, Path=State}" TargetType="Label" Value="Pressed">
               <Setter Property="TextColor" Value="Red" />
          </DataTrigger>
     </Label.Triggers>
</Label>
</touch:TouchView>

Now that it's an effect, I tried doing something like this but no luck:
<Label.Triggers>
     <DataTrigger Binding="{Binding Source={x:Reference ContentViewName}, Path=(touch:TouchEff.State)}" TargetType="Label" Value="Pressed">
          <Setter Property="TextColor" Value="Red" />
     </DataTrigger>
</Label.Triggers>

Hi, easy now :)
            <Label Text="CLICK ME">
                <Label.Effects>
                    <touch:TouchEff Completed="Handle_TouchCompleted" />
                </Label.Effects>
                <Label.Triggers>
                    <Trigger Property="touch:TouchEff.State" Value="Pressed" TargetType="Label">
                        <Setter Property="TextColor" Value="Red" />
                    </Trigger>
                </Label.Triggers>
            </Label>

This is changing the text color in response to a press on the label itself, not on the ContentView that surrounds it.  I would like a press on the ContentView to change it's own background color (which is supported) as well as change the label color.  I have an example in my fork here.  Notice that pressing in the green area doesn't change the label color and only pressing on the label itself does it change.

How about fill and expand label ?
On Thu, Mar 5, 2020 at 20:55 Robert Gaede<EMAIL_ADDRESS>wrote:

This is changing the text color in response to a press on the label
itself, not on the ContentView that surrounds it. I would like a press on
the ContentView to change it's own background color (which is supported) as
well as change the label color. I have an example in my fork here
https://github.com/bohbra/TouchEffect/blob/master/App/App/MainPage.xaml.
Notice that pressing in the green area doesn't change the label color and
only pressing on the label itself does it change.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/AndreiMisiukevich/TouchEffect/issues/45?email_source=notifications&email_token=ACNH4DTOSNTPIDNA3D7W763RF7RPTA5CNFSM4LBPEGW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6IGLQ#issuecomment-595362606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNH4DW5VZ3XHBE2363E76LRF7RPTANCNFSM4LBPEGWQ
.

--
Andrei Misiukevich
Lead Software Engineer at ISsoft Solutions
*mobile: *+375 29 <+375%2017%20389%200100>303 40 07   Email:
<EMAIL_ADDRESS>Skype: csi.andreymisyukevich
Minsk, *Belarus *(GMT+3)

I think fill and expand will work, but I eventually need the ability to support multiple controls wrapped in the ContentView.  Each of those controls may need to trigger some property based on a pressed state.  The only thing I can think of is either using the DataTrigger like I have in my first example which doesn't work for some reason or create a custom ContentView with a IsPressed property on it so the DataTrigger will work.

I see an error in the logs with my DataTrigger example:

[0:] Binding: '(touch:TouchEff' property not found on 'Xamarin.Forms.ContentView', target property: 'Xamarin.Forms.Label.Bound'

I'm not sure why Xamarin is cutting the binding property off at the period, it should be (touch:TouchEff.State)

I see an error in the logs with my DataTrigger example:

[0:] Binding: '(touch:TouchEff' property not found on 'Xamarin.Forms.ContentView', target property: 'Xamarin.Forms.Label.Bound'

I'm not sure why Xamarin is cutting the binding property off at the period, it should be (touch:TouchEff.State)

Hmmm interesting

https://stackoverflow.com/questions/42544575/binding-to-attached-properties-in-xamarin-forms
Impossible to bind to attached property


Opera 11 Date.prototype passes the isDate test

I came across this while validating whether a date is valid for display with inspect: test GH-1941, by checking Date#getTime result for isNaN. This seems common for many older engines, while newer engines are fine, either because they use [object Object] or they have support for toStringTag and therefore take the try...catch route. I'm sure that this can be a problem with other isSomething methods too, but with Date it is particularly problematic due the the validation performed, which throws. Perhaps the stringTag of the prototype could be checked initially and choose to us the try..catch route if it matches [object Date]?
var x = Date.prototype;
if (isDate(x)) {
  console.log(Object.prototype.toString.call(x)); // '[object Date]'
  var time = x.getTime(); // Uncaught TypeError: this is not a Date object.
  console.log(isNaN(x));
}

It's supposed to; prior to ES6, Date.prototype was allowed to be exotic, and most engines implemented it as such.
If you want to exclude the current realm's Date.prototype, you could certainly do x !== Date.prototype && !isDate(x) - but it'd be impossible for this module to cross-realm exclude Date.prototype, and it wouldn't be correct anyways.
In summary, this package checks for the internal Date slots; if Date.prototype has them, it should return true.

Thanks. No problem, I can work around it, just wanted to be sure to report it as it can catch you unexpectedly. ;)


S2S Deployment

From the ContinuousDeployment.md Workshop segment in the section on Impersonation:
"Complete the login with a Business Central user, which has access to deploy applications in the environment setup for continuous deployment."
In the S2S section, where it says
"setup an AAD App and register it inside the Business Central environment you want to deploy to"
For S2S, is the app being registered the BC extension being deployed, or is it GitHub needing "access to deploy applications."?
I'm not clear why we would be authenticating a user in one case and the app being deployed in the other, so I thought it must be GitHub needing the access.
Either way, I need to be able to advise our client's IT department as to which "app" it is that needs to be registered in Entra ID. Thanks.

Setting up the AAD App and registering it in BC is step 1+2 here: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/automation-apis-using-s2s-authentication

Thanks, I am familiar with that doc page. At this point I think it is our client (owners of the site we are trying to deploy to) who needs to do the app registration and so forth. Because we do not have admin access.
For the moment I am going to assume that the app that needs to be registered is our product offering; the one that resides in our GitHub repository. Correct me if I am wrong about that. Because all of the documentation I have seen so far assumes that everyone knows what "app" is being referred to.


Invalid streetAddress when calling verifyCard

General information

SDK version: 3.50.1, tried on 3.65.0, same problem
Environment: Sandbox
Browser and OS: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36

Issue description
We are using braintree-web integration inside our app with that code calling the verifyCard function to implement 3DS :
threeDSecureClient.verifyCard(
{
    nonce: token.nonce,
    bin: token.details.bin,
    email: this.options.verificationDetails.email,
    amount: this.options.verificationDetails.amount,
    billingAddress: {
        givenName: this.options.verificationDetails.billingAddress.givenName,
        surname: this.options.verificationDetails.billingAddress.surname,
        streetAddress: this.options.verificationDetails.billingAddress.streetAddress,
        locality: this.options.verificationDetails.billingAddress.locality,
        region: this.options.verificationDetails.billingAddress.region,
        postalCode: this.options.verificationDetails.billingAddress.postalCode,
        countryCodeAlpha2: this.options.verificationDetails.billingAddress.countryCodeAlpha2,
    },
    additionalInformation: {
        shippingGivenName: this.options.verificationDetails.additionalInformation.shippingGivenName,
        shippingSurname: this.options.verificationDetails.additionalInformation.shippingSurname,
        shippingAddress: {
            streetAddress: this.options.verificationDetails.additionalInformation.shippingAddress.streetAddress,
            locality: this.options.verificationDetails.additionalInformation.shippingAddress.locality,
            region: this.options.verificationDetails.additionalInformation.shippingAddress.region,
            postalCode: this.options.verificationDetails.additionalInformation.shippingAddress.postalCode,
            countryCodeAlpha2: this.options.verificationDetails.additionalInformation.shippingAddress.countryCodeAlpha2,
        },
    },
},...)

However, when inspecting the network request, we noticed the following failling call;
https://api.braintreegateway.com/merchants/g7xbqsqz7ks7tvtt/client_api/v1/payment_methods/tokencc_bh_hbprr3_kcyfzm_vr35w5_m6fyhq_xry/three_d_secure/lookup

Request:
Request URL: https://api.braintreegateway.com/merchants/g7xbqsqz7ks7tvtt/client_api/v1/payment_methods/tokencc_bh_hbprr3_kcyfzm_vr35w5_m6fyhq_xry/three_d_secure/lookup
Request Method: POST
Status Code: 422
Remote Address: <IP_ADDRESS>:443
Referrer Policy: no-referrer-when-downgrade
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: keep-alive
Content-Length: 1269
Content-Type: application/json
Host: api.braintreegateway.com
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
{
   "amount":75,
   "additionalInfo":{
      "billingLine1":"84a Mildmay Park",
      "billingCity":"London",
      "billingState":null,
      "billingPostalCode":"N1 4PR",
      "billingGivenName":"John",
      "billingSurname":"Doe",
<EMAIL_ADDRESS>   },
   "dfReferenceId":"1_c835a1b2-e46a-4644-8ad0-18ae72ab5975",
   "clientMetadata":{
      "sdkVersion":"web/3.50.1",
      "requestedThreeDSecureVersion":"2",
      "cardinalDeviceDataCollectionTimeElapsed":187
   },
   "authorizationFingerprint":"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImtpZCI6IjIwMTgwNDI2MTYtcHJvZHVjdGlvbiIsImlzcyI6Imh0dHBzOi8vYXBpLmJyYWludHJlZWdhdGV3YXkuY29tIn0.eyJleHAiOjE1OTk4MDgwMzcsImp0aSI6ImE0OWY3NjgyLWRkNjEtNGRlMy04ZTVhLWE5MTU1Njk2MGI5YSIsInN1YiI6Imc3eGJxc3F6N2tzN3R2dHQiLCJpc3MiOiJodHRwczovL2FwaS5icmFpbnRyZWVnYXRld2F5LmNvbSIsIm1lcmNoYW50Ijp7InB1YmxpY19pZCI6Imc3eGJxc3F6N2tzN3R2dHQiLCJ2ZXJpZnlfY2FyZF9ieV9kZWZhdWx0Ijp0cnVlfSwicmlnaHRzIjpbIm1hbmFnZV92YXVsdCJdLCJzY29wZSI6WyJCcmFpbnRyZWU6VmF1bHQiXSwib3B0aW9ucyI6e319.bFnGAgO98Mkg2nGLaef4Lg6Qda0mIowlB9j214gEfmHH-l8GRlveI7y98xxcY_3IXz5_GVNqpVbUfKPpPYJTQg",
   "braintreeLibraryVersion":"braintree/web/3.50.1",
   "_meta":{
      "merchantAppId":"example.com",
      "platform":"web",
      "sdkVersion":"3.50.1",
      "source":"client",
      "integration":"custom",
      "integrationType":"custom",
      "sessionId":"ad3dd08d-d25b-4808-890f-e24df84e5c3f"
   }
}

Response:
{
   "error":{
      "message":"Street address is required."
   },
   "threeDSecureInfo":{
      "liabilityShifted":false,
      "liabilityShiftPossible":false
   }
}

From our side, we call the method as documented, a valid streetAddress value.

Please reach out to our support team so we can inspect the request: https://help.braintreepayments.com/
If it turns out that there is an issue with the SDK itself, I'll re-open this issue.


adding the merging services to the main repo

I would like to merge these changes to the main repo

adding the merging utilities


Secure Backup and Restore

Q: Another thought for you... secure backup/restore :)
A: As for any function not implemented (and there are a ton), it is an open source project, so submissions are welcome!  Ideally I'd like to see a general way of writing all actions and all config, one that's not sensitive to the version of firmware on the appliance.  I've not figured out how that should work.  So, for now, we're stuck with adding actions one at a time.
Nevertheless, let's gather it here, at least we can see what's most popular.

From thread: https://www.ibm.com/developerworks/community/forums/html/topic?id=567faa76-38df-4e41-965f-6e5dac275154#78adf768-4dc3-4858-aa62-8325a0df6542

hello, Anyone know of a good preferably backup solution that would be good for backup movies?
I've even looked into using CloudBacko (http://free.cloudbacko.com/?r=1d) but I have no experience with that. Just not sure what to go with and wanted to see what you guys would recommend.
Thanks.

I'd suggest that you ask that question on the general IBM DataPower forum over on developerworks:
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000001198
--Harley

I am using Cloudbacko pro backup software to backup my database. I need to know the exact procedure to be followed while working with this software as I am totally new to this. If you have any experience with this, please help me. Leaving a link below just check. http://www.cloudbacko.com/


Verify the user-submitted data before writing to the database

After the PR, the upgrade-responder server will create a continuous query for each user-submitted tag value. This can potentially be abused by a malicious user sending a request with a lot of tags and crashing our database. I am thinking to verify the user-submitted data based on a config file similar to https://github.com/longhorn/upgrade-responder/blob/b5b303538e1e2920a97f0afb7e6fb1ce5e2ea143/config/response.json#L1-L26

TODO:

[ ] update document
[ ] Design grafanar dashboard


Recursive Implementation of Ternary Search using C

💥 Proposal
(A clear and concise description of what the proposal is.)
Recursive Implementation of Ternary Search using C programming language.
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
yes .

/assign


Runtime Error 59

I am trying to run the TSN training with the same specifications of the RGB script in the README.md file. And I end up with this error:
Epoch: [0][0/75], lr: 0.00100	Time 39.106 (39.106)	Data 2.112 (2.112)	Loss 4.6157 (4.6157)	Prec@1 0.781 (0.781)	Prec@5 3.125 (3.125)
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1503965122592/work/torch/lib/THC/generated/../generic/THCTensorSort.cu line=153 error=59 : device-side assert triggered
Traceback (most recent call last):
File "main.py", line 301, in
main()
File "main.py", line 124, in main
train(train_loader, model, criterion, optimizer, epoch)
File "main.py", line 170, in train
prec1, prec5 = accuracy(output.data, target, topk=(1,5))
File "main.py", line 289, in accuracy
_, pred = output.topk(maxk, 1, True, True)
RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1503965122592/work/torch/lib/THC/generated/../generic/THCTensorSort.cu:153
terminate called without an active exception
Aborted (core dumped)
I was checking the Pytorch guide but there is nothing there about it. I am using Pytorch 0.2, but the code doesn't specify which version to use.

In addition, you should change the path on  /tf_model/bninception/pytorch_load.py from model_zoo/ to tf_model_zoo.

Haven't  met this error before. It is possibly due to the fast change PyTorch versions. Maybe an older version, say 0.1.2 may help

device-side assert triggered
This looks like a sign of CUDA kernel. I recently came across this error in another project when I mistakenly supplied an NLL loss with ground truth outside the range of prediction, e.g. label 61 with a SoftMax output of 60 classes.


Fixes to replication token server tests

Previously this test could fail because the most recent replication token
was not yet persisted to disk.  Also, the proper cleanup was not done
before the test, so the token offset before the test began was non-deterministic.
The following changes have been made:

endToEndReplicationWithMultiNodeSinglePartitionTest is now in its own
class for both SSL and Plaintext, as it requires the underlying store
to be clean
endToEndReplicationWithMultiNodeSinglePartitionTest now will poll and
wait for an expected token value to be found on a certain partition.

Primary reviewers: Priyesh, Siva
Time to review: 15 Min.

Looks good overall. In order to verify the correctness of this patch, could you do the following?

Pull in the serverHardDeleteTest fix from patch #282
Run just the server test (clean && build) in a loop for some time (for 50 or so runs in the background)

If it builds successfully, this can be merged. However, it would be good if you can successfully repeat the above steps after pulling in PR #207 as well.

Addressed comments.

@cgtz could you confirm that running the server tests in a loop runs successfully when this patch is combined with PR #282 and PR #207?

Looks good. But do confirm that you have ran the server tests successfully combined with PR #282 and PR #207

Merge conflicts with PR #282 fixed.  Server tests pass repeatedly on OSX and linux with changes in PR #282 and PR #207.

Sounds good. Merging.


Use server-side filtering for CLI list commands

This could be used to make the filtering more efficient perhaps?

@stgraber can I stab this one?

Yep, assigned!


api,server: allow updating hypervisor capabilities with hypervisor and  version

Description
hypervisor and hypervisorversion parameters are added to the updateHypervisorCapabilities API.
This would allow updating capabilities by specifying the hypervisor type and its version. This would also allow creating new hypervisor capabilities entries in the database when they doesn't exist for a given hypervisor version.
Related to https://github.com/apache/cloudstack/issues/8412
New parameters as their description suggests are not meant to change the value of hypervisor and hypervisorversion of an existing capability. Rather they will be used to find the capabilities entry in the database and update other params such as maxdatavolumeslimit, maxguestslimit, maxhostspercluster, securitygroupenabled, storagemotionenabled, vmsnapshotenabled.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

(localcloud) 🐱 > list hypervisorcapabilities hypervisor=VMware filter=hypervisorversion,maxdatavolumeslimit
{
  "count": 21,
  "hypervisorCapabilities": [
    {
      "hypervisorversion": "default",
      "maxdatavolumeslimit": 13
    },
    {
      "hypervisorversion": "4.0",
      "maxdatavolumeslimit": 13
    },
    {
      "hypervisorversion": "4.1",
      "maxdatavolumeslimit": 13
    },
    {
      "hypervisorversion": "5.0",
      "maxdatavolumeslimit": 13
    },
    {
      "hypervisorversion": "5.1",
      "maxdatavolumeslimit": 13
    },
    {
      "hypervisorversion": "5.5",
      "maxdatavolumeslimit": 13
    },
    {
      "hypervisorversion": "6.0",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "6.5",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "6.7",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "6.7.1",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "6.7.2",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "6.7.3",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "7.0",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "<IP_ADDRESS>",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "<IP_ADDRESS>",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "<IP_ADDRESS>",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "8.0",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "<IP_ADDRESS>",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "8.0.1",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "<IP_ADDRESS>",
      "maxdatavolumeslimit": 59
    },
    {
      "hypervisorversion": "<IP_ADDRESS>",
      "maxdatavolumeslimit": 59
    }
  ]
}

Update a hypervisorcapability by using hypervisor and hypervisorversion

(localcloud) 🐱 > update hypervisorcapabilities hypervisor=VMware hypervisorversion="<IP_ADDRESS>" maxdatavolumeslimit=100
{
  "hypervisorcapabilities": {
    "hypervisor": "VMware",
    "hypervisorversion": "<IP_ADDRESS>",
    "id": "761b1e90-22af-11ef-b7e0-a02942fcdd70",
    "maxdatavolumeslimit": 100,
    "maxguestslimit": 1024,
    "maxhostspercluster": 64,
    "securitygroupenabled": false,
    "storagemotionenabled": true,
    "vmsnapshotenabled": true
  }
}

Add capabilities for a patch version which does not exist (specifying one capability, other will be copied from the parent version)

(localcloud) 🐱 > update hypervisorcapabilities hypervisor=VMware hypervisorversion="<IP_ADDRESS>" maxdatavolumeslimit=64
{
  "hypervisorcapabilities": {
    "hypervisor": "VMware",
    "hypervisorversion": "<IP_ADDRESS>",
    "id": "9cca3a28-da41-4a9b-9dbc-86db434ebbf8",
    "maxdatavolumeslimit": 64,
    "maxguestslimit": 1024,
    "maxhostspercluster": 64,
    "securitygroupenabled": false,
    "storagemotionenabled": true,
    "vmsnapshotenabled": true
  }
}
(localcloud) 🐱 > list hypervisorcapabilities id=9cca3a28-da41-4a9b-9dbc-86db434ebbf8
{
  "count": 1,
  "hypervisorCapabilities": [
    {
      "hypervisor": "VMware",
      "hypervisorversion": "<IP_ADDRESS>",
      "id": "9cca3a28-da41-4a9b-9dbc-86db434ebbf8",
      "maxdatavolumeslimit": 64,
      "maxguestslimit": 1024,
      "maxhostspercluster": 64,
      "securitygroupenabled": false,
      "storagemotionenabled": true,
      "vmsnapshotenabled": true
    }
  ]
}

How did you try to break this feature and the system with this change?

Hi @shwstppr Is this PR targeted for 4.19.1? If so, please rebase and update target branch.

@sureshanaparti done
@blueorangutan package

@sureshanaparti done
@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9311

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✖ el8 ✖ el9 ✔ debian ✖ suse15. SL-JID 9882

@blueorangutan package

@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9900

@kiranchavala added some tests I did with the API in the PR description

@blueorangutan package

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9980

@blueorangutan test

[SF] Trillian Build Failed (tid-10471)

@blueorangutan test

@vishesh92 a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-10544)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42176 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8475-t10544-kvm-centos7.zip
Smoke tests completed. 130 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_trigger_shutdown
Failure
341.67
test_safe_shutdown.py

@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10084


Add djv library to the list of validators

Hi there,
I've added a djv library which stands for Dynamic JSON Schema Validator. Current package supports JSON Schema v4 and it contains utils for validating objects against schemas. It has a version 1.0.0-beta, but I will remove a suffix soon.
Thanks!

Sure. If this is because of draft3. I would rather see all validators only tested against draft 4. Than doing special code for one validator only.

On 16 Jan 2017, at 18.06, korzio<EMAIL_ADDRESS>wrote:
@korzio commented on this pull request.
In index.js:

  	return validator;

  },
  test: function (instance, json, schema) {
  	return instance.validate(schema, json) === null;
  }

},
{

name: 'djv',

setup: function (schema) {

	var validator = djv();

	var schemas = Object.keys(refs);

	schemas.splice(3, 1);

@ebdrup
So if I don't support draft03, can I still contribute?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@korzio +1
Now I have some motivation to improve Ajv performance :)
I have a "compliance benchmark" here: https://github.com/epoberezkin/test-validators

@epoberezkin
It was a good impulse for me, thanks! However I still have to do all the job regarding v5 (and v6 proposal), that you've done a long ago.
I'll try to contribute your benchmark 👍

@korzio I've added


Use GOPATH instead of hardcoded path for format task

Resolves #811
Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

GOPATH might not be set in the environment, which is why the CI jobs are failing for this PR. You might need something like this:
$ git diff
diff --git a/Makefile b/Makefile
index cf86684b..276335b8 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ ensure-generate-is-noop: generate
 .PHONY: format
 format:
        @echo Formatting code...
-       @.ci/format.sh
+       @GOPATH=${GOPATH} .ci/format.sh

 .PHONY: lint
 lint:

Without this diff, I get this error (as I don't have GOPATH set):
$ make format
Formatting code...
.ci/format.sh: line 3: /bin/goimports: No such file or directory
make: *** [Makefile:47: format] Error 127
$

With the diff:
$ make format
Formatting code...
$

I didn't realize it is defined only in the makefile. I would rather move the format command to make. Other one-liner targets are defined directly there.

I would rather move the format command to make. Other one-liner targets are defined directly there.

Since there are comments in Formatting.. this would require splitting the format into two targets. I will keep it as it is.

CI build is still failing, as make check is failing:
$ make check
Checking...
.ci/format.sh: line 3: /bin/goimports: No such file or directory
make: *** [Makefile:37: check] Error 127

that is unfortunate, I will fix that


Material Input Field in which the placeholder becomes label on click

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Please add a material input field in which the placeholder becomes a label on click. It has a border and a placeholder. When the input field is focused, the placeholder moves to the label. It is in the materialize.css framework, but I want it in my favorite framework Bootstrap.
Motivation and context
This feature is used in modern web development and gives a interactive look to the static forms.an

Think floating labels cover this: https://getbootstrap.com/docs/5.1/forms/floating-labels/


[Bug]: Cannot find ptxas

Your current environment
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.2
Libc version: glibc-2.35
Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce GTX 1650
Nvidia driver version: 552.22
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      39 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             8
On-line CPU(s) list:                0-7
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
CPU family:                         6
Model:                              165
Thread(s) per core:                 2
Core(s) per socket:                 4
Socket(s):                          1
Stepping:                           2
BogoMIPS:                           4992.01
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi ept vpid ept_ad fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves md_clear flush_l1d arch_capabilities
Virtualization:                     VT-x
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          128 KiB (4 instances)
L1i cache:                          128 KiB (4 instances)
L2 cache:                           1 MiB (4 instances)
L3 cache:                           8 MiB (1 instance)
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        KVM: Mitigation: VMX disabled
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Mitigation; Enhanced IBRS
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Unknown: Dependent on hypervisor status
Vulnerability Tsx async abort:      Not affected
Versions of relevant libraries:
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] pytorch-triton==3.0.0+989adb9a29
[pip3] torch==2.1.2
[pip3] triton==2.1.0
[conda] Could not collectROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.4.0.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X                              N/A
🐛 Describe the bug
I am testing vLLM with llama-index and have this code:
from llama_index.llms.vllm import Vllm

llm = Vllm(
    model="microsoft/Orca-2-7b",
    dtype="float16",
    max_new_tokens=100,
    vllm_kwargs={"swap_space": 0, "gpu_memory_utilization": 0.5},
)

On running it, I am encountering the following error:
tokenizer_config.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 828/828 [00:00<00:00, 4.10MB/s]
tokenizer.model: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 500k/500k [00:00<00:00, 14.5MB/s]
added_tokens.json: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 69.0/69.0 [00:00<00:00, 362kB/s]
special_tokens_map.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 438/438 [00:00<00:00, 2.26MB/s]
Traceback (most recent call last):
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/local/test.py", line 3, in <module>
    llm = Vllm(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/llama_index/llms/vllm/base.py", line 153, in __init__
    self._client = VLLModel(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 112, in __init__
    self.llm_engine = LLMEngine.from_engine_args(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 196, in from_engine_args
    engine = cls(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 110, in __init__
    self.model_executor = executor_class(model_config, cache_config,
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/executor/gpu_executor.py", line 37, in __init__
    self._init_worker()
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/executor/gpu_executor.py", line 45, in _init_worker
    from vllm.worker.worker import Worker
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/worker/worker.py", line 12, in <module>
    from vllm.model_executor import set_random_seed
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/model_executor/__init__.py", line 1, in <module>
    from vllm.model_executor.sampling_metadata import SamplingMetadata
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 7, in <module>
    from vllm.model_executor.layers.ops.sample import get_num_triton_sampler_splits
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/model_executor/layers/ops/sample.py", line 5, in <module>
    import triton
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/__init__.py", line 20, in <module>
    from .compiler import compile, CompilationError
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/compiler/__init__.py", line 1, in <module>
    from .compiler import CompiledKernel, compile, instance_descriptor
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/compiler/compiler.py", line 27, in <module>
    from .code_generator import ast_to_ttir
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/compiler/code_generator.py", line 8, in <module>
    from .. import language
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/language/__init__.py", line 4, in <module>
    from . import math
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/language/math.py", line 4, in <module>
    from . import core
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/language/core.py", line 1376, in <module>
    def minimum(x, y):
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/runtime/jit.py", line 542, in jit
    return decorator(fn)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/runtime/jit.py", line 534, in decorator
    return JITFunction(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/runtime/jit.py", line 433, in __init__
    self.run = self._make_launcher()
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/runtime/jit.py", line 388, in _make_launcher
    scope = {"version_key": version_key(),
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/runtime/jit.py", line 120, in version_key
    ptxas = path_to_ptxas()[0]
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/triton/common/backend.py", line 119, in path_to_ptxas
    raise RuntimeError("Cannot find ptxas")
RuntimeError: Cannot find ptxas
Exception ignored in: <function Vllm.__del__ at 0x7f7c9300b880>
Traceback (most recent call last):
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/llama_index/llms/vllm/base.py", line 220, in __del__
    from vllm.model_executor.parallel_utils.parallel_state import (
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/model_executor/__init__.py", line 1, in <module>
    from vllm.model_executor.sampling_metadata import SamplingMetadata
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 7, in <module>
    from vllm.model_executor.layers.ops.sample import get_num_triton_sampler_splits
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/vllm/model_executor/layers/ops/sample.py", line 5, in <module>
    import triton
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1002, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 945, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1439, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1405, in _get_spec
TypeError: 'NoneType' object is not iterable

I am new to vLLM and any help would be much appreciated. Thanks.

Can you follow https://docs.vllm.ai/en/latest/getting_started/installation.html#build-from-source ?
After
export CUDA_HOME=/usr/local/cuda
export PATH="${CUDA_HOME}/bin:$PATH"

ptxas should be in your PATH.

I tried building it from source, but getting the following error with exit code -9:
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-1znmvoq4
Created temporary directory: /tmp/pip-req-tracker-0ila3ief
Initialized build tracking at /tmp/pip-req-tracker-0ila3ief
Created build tracker: /tmp/pip-req-tracker-0ila3ief
Entered build tracker: /tmp/pip-req-tracker-0ila3ief
Created temporary directory: /tmp/pip-install-as3_77dz
Obtaining file:///mnt/c/Users/aditya/source/repos/Spectra%20Tech/Chatbot/flask/vllm
  Added file:///mnt/c/Users/aditya/source/repos/Spectra%20Tech/Chatbot/flask/vllm to build tracker '/tmp/pip-req-tracker-0ila3ief'
  Created temporary directory: /tmp/pip-build-env-6tal4e3q
  Created temporary directory: /tmp/pip-standalone-pip-n_bltgxb
  Running command pip subprocess to install build dependencies
  Using pip 22.0.2 from /tmp/pip-standalone-pip-n_bltgxb/__env_pip__.zip/pip (python 3.10)
  Collecting cmake>=3.21
    Using cached cmake-3.29.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.7 MB)
  Collecting ninja
    Using cached ninja-<IP_ADDRESS>-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
  Collecting packaging
    Using cached packaging-24.0-py3-none-any.whl (53 kB)
  Collecting setuptools>=49.4.0
    Using cached setuptools-69.5.1-py3-none-any.whl (894 kB)
  Collecting torch==2.2.1
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: -9
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: '/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/bin/python3' /tmp/pip-standalone-pip-n_bltgxb/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6tal4e3q/overlay --no-warn-script-location -v --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'cmake>=3.21' ninja packaging 'setuptools >= 49.4.0' 'torch == 2.2.1' wheel
  cwd: [inherit]
  Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: -9
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Exception information:
Traceback (most recent call last):
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
    status = run_func(*args)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 339, in run
    requirement_set = resolver.resolve(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve
    collected = self.factory.collect_root_requirements(root_reqs)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements
    req = self._make_requirement_from_install_req(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req
    cand = self._make_candidate_from_link(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 188, in _make_candidate_from_link
    self._editable_candidate_cache[link] = EditableCandidate(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 313, in __init__
    super().__init__(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 158, in __init__
    self.dist = self._prepare()
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
    dist = self._prepare_distribution()
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 323, in _prepare_distribution
    return self._factory.preparer.prepare_editable_requirement(self._ireq)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 609, in prepare_editable_requirement
    dist = _get_prepared_distribution(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 58, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 35, in prepare_distribution_metadata
    self._prepare_build_backend(finder)
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 56, in _prepare_build_backend
    self.req.build_env.install_requirements(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/build_env.py", line 202, in install_requirements
    self._install_requirements(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/build_env.py", line 260, in _install_requirements
    call_subprocess(
  File "/mnt/c/Users/aditya/source/repos/Spectra Tech/Chatbot/flask/.uvenv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
    raise error
pip._internal.exceptions.InstallationSubprocessError: pip subprocess to install build dependencies exited with -9
Removed file:///mnt/c/Users/aditya/source/repos/Spectra%20Tech/Chatbot/flask/vllm from build tracker '/tmp/pip-req-tracker-0ila3ief'
Removed build tracker: '/tmp/pip-req-tracker-0ila3ief'

@youkaichao Local build fails with the following error:
changing mode of /tmp/pip-build-env-zzx4s3v1/overlay/local/bin/torchrun to 755
Successfully installed MarkupSafe-2.1.5 cmake-3.29.2 filelock-3.13.4 fsspec-2024.3.1 jinja2-3.1.3 mpmath-1.3.0 networkx-3.3 ninja-<IP_ADDRESS> nvidia-cublas-cu12-<IP_ADDRESS> nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-<IP_ADDRESS> nvidia-cufft-cu12-<IP_ADDRESS> nvidia-curand-cu12-<IP_ADDRESS> nvidia-cusolver-cu12-<IP_ADDRESS> nvidia-cusparse-cu12-<IP_ADDRESS> nvidia-nccl-cu12-2.19.3 nvidia-nvjitlink-cu12-12.4.127 nvidia-nvtx-cu12-12.1.105 packaging-24.0 setuptools-69.5.1 sympy-1.12 torch-2.2.1 triton-2.2.0 typing-extensions-4.11.0 wheel-0.43.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Installing build dependencies ... done
Running command Checking if build backend supports build_editable
Checking if build backend supports build_editable ... done
Running command Getting requirements to build wheel
/tmp/pip-build-env-zzx4s3v1/overlay/local/lib/python3.10/dist-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
  device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
    return self._get_build_requires(
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 384, in <module>
    version=get_vllm_version(),
  File "setup.py", line 295, in get_vllm_version
    cuda_version = str(get_nvcc_cuda_version())
  File "setup.py", line 265, in get_nvcc_cuda_version
    assert CUDA_HOME is not None, "CUDA_HOME is not set"
AssertionError: CUDA_HOME is not set
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 /usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpxc5j1u2l
cwd: /home/guitmonk/flask/vllm
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
  status = run_func(*args)
File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
  return func(self, options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 339, in run
  requirement_set = resolver.resolve(
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve
  collected = self.factory.collect_root_requirements(root_reqs)
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements
  req = self._make_requirement_from_install_req(
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req
  cand = self._make_candidate_from_link(
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 188, in _make_candidate_from_link
  self._editable_candidate_cache[link] = EditableCandidate(
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 313, in __init__
  super().__init__(
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 158, in __init__
  self.dist = self._prepare()
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
  dist = self._prepare_distribution()
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 323, in _prepare_distribution
  return self._factory.preparer.prepare_editable_requirement(self._ireq)
File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 609, in prepare_editable_requirement
  dist = _get_prepared_distribution(
File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 58, in _get_prepared_distribution
  abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 45, in prepare_distribution_metadata
  self._install_build_reqs(finder)
File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 104, in _install_build_reqs
  build_reqs = self._get_build_requires_wheel()
File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 81, in _get_build_requires_wheel
  return backend.get_requires_for_build_wheel()
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/wrappers.py", line 172, in get_requires_for_build_wheel
  return self._call_hook('get_requires_for_build_wheel', {
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/wrappers.py", line 322, in _call_hook
  self._subprocess_runner(
File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 252, in runner
  call_subprocess(
File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
  raise error
pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1

CUDA_HOME is present. I'm not sure why is this occuring. I'll try to build it again in a fresh env.

Both CUDA_HOME and PATH, please.


Automated deployment to backend VM

This PR introduces a new GitHub worflow, deploy-prod.yaml, that on a merge into main does the following:

SSHes into the production VM api.coe-ecco.org as ecco-deployer; the private SSH key is retrieved from the GitHub repo's secrets
Enters the deployment folder, /var/projects/ecco, on the VM
Pulls the latest changes to main
Appends the current commit hash and system date to deploys.txt
Launches ./run_stack.sh prod, which rebuilds images and launches the production version of the stack
Waits on the frontend container to finish building the site, then exits with its exit status

I've had trouble getting this to work with act; sometimes it works, sometimes it fails inexplicably. That's not much of a surprise for act, though; it's often flakey, even if the workflow would work when deployed. I am planning to continue to resolve the issues with act as it would be a nice way to test workflows prior to merging, but it's not a big priority IMHO. I'm hoping to debug this workflow, if necessary, on GitHub itself.

Unfortunately it seems you still can't launch a workflow that's in a PR to test it. We'll have to merge this first, I think, and then fix it if issues occur when running it in main.


New pages for 2021

Open question:
Do we need acknowledgements (which)?

Do we need acknowledgements (which)?

I think we previously added them on-the-fly.

Do we need acknowledgements (which)?

I think we previously added them on-the-fly.

Added Aaron Stump to acknowledgement for StarExec, since he already agreed to our preliminary schedule :)

Added Aaron Stump to acknowledgement for StarExec, since he already agreed to our preliminary schedule :)

That makes sense.
On Thu, Jan 28, 2021 at 5:21 PM Jochen Hoenicke<EMAIL_ADDRESS>wrote:

Added Aaron Stump to acknowledgement for StarExec, since he already agreed
to our preliminary schedule :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SMT-COMP/smt-comp.github.io/pull/11#issuecomment-769200367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB74VMRYJ2RMZKYNRESEQ4DS4GFHPANCNFSM4WXJXNQA
.

That makes sense.
On Thu, Jan 28, 2021 at 5:21 PM Jochen Hoenicke<EMAIL_ADDRESS>wrote:

Added Aaron Stump to acknowledgement for StarExec, since he already agreed
to our preliminary schedule :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SMT-COMP/smt-comp.github.io/pull/11#issuecomment-769200367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB74VMRYJ2RMZKYNRESEQ4DS4GFHPANCNFSM4WXJXNQA
.


support many more token names in semantic tokenizer (e.g. all the ones offered by the default textmate grammars?)

currently we support only the basic categories from util::IDE.

done


gdbmacros: Add script to extract cmac core

Core file from DA1469x platform contains embedded memory
dump from Cortex-M0 core.
cmac_core_dump.gdb adds command to extract cmac core to separate core
file that can be analyzed.
Crashes inside interrupt handler were not tested.

Registers should be there, if they can be found.
I tested it crashes where core crash originated on CMAC side (not sure what would happen if M33 crashes).
Only crashes in process mode were tested so if crash happened during interrupt that may be not handled correctly.


Is there a way to extend the current ones without creating a new control?

Hello @jsuarezruiz ,
Thank you for posting this repo, it is very helpful.
However, I have a question: Is there a way on MAUI we can extend/override the Label as example, with new properties so we can expose some functionality without the need to invoke que the controls:CustomLabel element? so, we can invoke it using the normal , we have tons of screens and we don't want to change ALL the labels in all screens just to add a new property and its value.
Thanks in advance

Thanks @manuelelucchi it helped a lot.
All good now 😎


Update CODEOWNERS - adding Herbert

As discussed with Herbert adding him to the CODEOWNERS of the ReleaseManagement repository
What type of PR is this?
Add one of the following kinds:

subproject management

What this PR does / why we need it:
Adding  @hdamker to the codeowners list of Release Management
Which issue(s) this PR fixes:
no issues neede for CODEOWNERS update

@hdamker PR created for your approval


mint NMDC ids for the sites (trees)

@ssarrafan is this a schema request?
The typecode 'frsite' has been assigned to class FieldResearchSite in https://github.com/microbiomedata/nmdc-schema/pull/616, whcih is awaiting approval from @aclum
I believe the next action item is configuring the minter in nmdc-server to know about the relation between FieldResearchSite and 'frsite'. Ideally, that association wouldn't be hard-coded, but rather obtained from interrogating the schema.

This is part of a collection of tickets that Set made to track what work is needed to ingest bioscales. The whole project board can be found here.

Great, that's helpful orientation. And "...waiting on @aclum ..." above isn't true any more!
We should make sure that this expectation is clear to the nmdc-runtime devs, too.

This issue does not belong in the nmdc-schema repo because it doese not request changes to the schema. It might make sense to put it in sample-annotator


Add "to file" option to StarCam.snap

StarCam() snap method should have the option to output result directly to a file.

Duplicates #66


Add plugin trainer flag- Trainer(plugin="ddp_sharded")

@edenlightning commented on Wed Nov 18 2020
As a user, I would like to set the plugin using a string flag.
Currently, you need to pass in the plugin explicitly. It would be nicer if we can make plugin the configurable, so that the user has to only pass a string to enable a plugin.

@edenlightning commented on Thu Nov 19 2020
Trainer(plugin='sharded')

This is done already! You can do plugins=ddp_sharded unless I'm missing something.

This is done already! You can do plugins=ddp_sharded unless I'm missing something.


Add CRV USD to the Paloma Nest Wallet Service

Fixed with https://github.com/palomachain/paloma-nest-service/pull/63


NameError: name 'defaultdict' is not defined

When I try to read a tag from PLC, I am getting this Error on this line -
flag = c.read_tag(['Camera01_NewImage'])

what data type is the Camera01_NewImage?


Datagrid ValidationRule issue

Hello,
I'm trying to use a custom validationrule to validate values entered on a datagrid and the applied themes seems to hide the validation template defined on RowValidationErrorTemplate.
The validation template i'm using is the same on the msdn docs https://msdn.microsoft.com/en-us/library/ee622975(v=vs.110).aspx
I'm i doing something wrong here?
Thanks,
Frederico

Can anyone help me with this?
I've uploaded a small sample:
https://onedrive.live.com/redir?resid=d5bfec549c6c660e!10682&authkey=!AJrXKHXo5Tj0Vg0&ithint=file%2Czip
Thanks,
Frederico

Hi everyone,
I still have this issue. Using the one from the msdn docs too.


Does this project is still maintained?

I still take care of the project, and am using it myself extensively, making sure it continues to function, however i didn't have much time or inspiration to work on new stuff so it has been maintenance only for a while.

There used to be talk about doing that in the past with @nblumhardt, including shipping the analyzer in the box, but the discussion about that died down with the current state having been good enough. I'm still open to the idea of shipping it inbox if there's renewed interest in doing so.

I'm still interested in this also, though it's nontrivial work :-)
We'd need to be careful up-front to focus on the most important analyses, and ship them incrementally/conservatively, to make sure we didn't regress people's experience.
Rider now includes some basic message template analyses by default (without any plug-ins):

Missing parameters are detected:

But other important analyses - like non-constant message templates, and use of interpolated strings, aren't:

Rider's analysis also doesn't integrate with MSBuild, so it's easy to miss warnings, especially in team environments.
I spotted your ticket over in the Serilog repo, @ProximaB - thanks for the note over there. Perhaps the way forward would be to sketch things out a little more over there? I think it'd be useful to start with a list of targeted analyses - ones with a very low false-positive rate, such as:

Message template syntax errors
Non-constant message templates
Argument mismatches
Exception passed in wrong position

(Any others come to mind?)
I'd expect that there's a lot of inspiration to be gained from SerilogAnalyzer, but I think we'd want to start with something cut-down, and revisit questions like whether VB.NET should be supported, consider updates for nullable reference types is, etc.
Because it's a lot of work, we'd need some indication up front of who would be keen to drive it through to completion :)
Bit of a brain-dump, but hope this helps :-)


Tribute Minion Not Swapping on Proposal Execution

Feature
Swap Tokens for Shares Proposal
App

[X] Admin
[ ] Summon
[ ] Hub
[ ] Toolbox

Expected Behavior
Expected shares for tribute of tokens
Actual Behavior
Executing proposal says success in the toast but the transaction is actually failing
Steps to Reproduce

Create proposal to Swap Tokens for Shares
Approve wrapped ether
Add token amount
Submit proposal
Vote
Pass
Execute

Browser
No response
Screenshots and Context

https://goerli.etherscan.io/tx/0x18072aaed4cd90e041ba662c1cf8c9c59b8d902a3f64381207e686bcb5460c9d

Now future proposals will be blocked as this one still needs to be executed

Should the Execute button still be available if previous attempts to execute failed?


Enumerable not implemented for %Xandra.Page...

Hi guys,
Been using Xandra in a project for the last few months.
My code looks like this:
with {:ok, page} <- Xandra.execute(Triton.Conn, cql, [], pool: Xandra.Cluster),
      do: {:ok, Enum.to_list(page)}

But after a while, the DB gets into a bad state, and every select query returns this error for all select statements, and I can't seem to get out of this state when I try to do enumeration to_list on the Xandra.Page struct.
# => Protocol.UndefinedError) protocol Enumerable not implemented for %Xandra.Page{columns: ...

Interesting to note that the format printed out is %Xandra.Page{ instead of #Xandra.Page<
Macbook Pro 15" Mid 2014
El Capitan
Elixir 1.4.1
Cassandra 3.10 (installed via homebrew)
The only way to fix it for me is to toggle the mix.exs version for Xandra to an older version, compile, and then switch it back to the latest version.  Also have fixed it by nuking the Cassandra Data directory and starting fresh.
I'm not sure if this is an OSX specific issue, or anyone has run into this before.

At a first glance, it seems that the implementation of the Enumerable protocol is getting lost for Xandra.Page. It's hard to believe this is the "db getting in a bad state" since the DB shouldn't be part of this issue: if Elixir can't find the implementation of Enumerable for Xandra.Page structs, then it shouldn't matter what's in the struct. Could you show the content of the %Xandra.Page{columns: ... for which you get the error? Also, does this start happening in a running system at some point, or does this happen between reruns of your tests or something like that?

@whatyouhide Thanks.
So here's the actual output of Xandra.Page object in the broken instance.
%Xandra.Page{columns: [{"sleeperbot", "users_by_username", "username",
:varchar}, {"sleeperbot", "users_by_username", "user_id", :bigint},
{"sleeperbot", "users_by_username", "avatar_url", :varchar},
{"sleeperbot", "users_by_username", "display_name", :varchar},
{"sleeperbot", "users_by_username", "password", :varchar}],
content: [["admin",<PHONE_NUMBER>8488192, nil, "admin",
"$2b$12$XDIIwrq5WdiNRAbbUKvk/eSiVaJFc4GsQemkh1PPcF.xtX1mvvd/u"]],
paging_state: nil}

When I paste it into a non-broken terminal, it works just fine and it understands that it's implementing enumerable.
#Xandra.Page<[rows: [%{"avatar_url" => nil, "display_name" => "admin",
    "password" => "$2b$12$XDIIwrq5WdiNRAbbUKvk/eSiVaJFc4GsQemkh1PPcF.xtX1mvvd/u",
    "user_id" =><PHONE_NUMBER>8488192, "username" => "admin"}],
 more_pages_available: false]>

This bug happens only when i restart the app with a deps.clean, and it only happens from time to time.  But once it gets into this state, it's hard to get out.
Upon further testing, removing the _build directory seems to fix this... so I'm guessing it's not a production-critical thing.  Just hoping I'm guessing right before this gets into production.

It indeed doesn't look like a Xandra issue but more like an Elixir issue. I'll quickly point this out to the rest of the Elixir team and see if we can find something.
In the meantime, if you find a minimal way to reproduce this, please do share it.

Hey @weixiyen, I'm gonna close this issue for inactivity. If you still have this issue with newer versions of Elixir (such as 1.4.5) and find a minimal way to reproduce it, feel free to share it in this issue :) Thanks!

It could be the case described in https://github.com/elixir-lang/elixir/issues/5987.

Yes that's what I was thinking of, so updating Elixir should solve that since that's now solved.


Resolve app switcher issue where the wrong brightness version of the app is shown.

Resolve app switcher issue where the wrong brightness version of the app is shown.
When an iOS app is sent to the background, e.g., when accessing the app switcher with a swipe, the app is asked to render itself twice: in light mode and in dark mode. These bitmaps are saved by the OS to show in the app switcher.
Currently this behavior does not work for Flutter because of 2 issues:

Flutter animates its light/dark transition, which means it cannot produce a dark frame immediately.

It might be the case that this render behavior does not happen on a vsync, in which case there is a larger issue that Flutter cannot fulfill a render request at the given moment that one is needed.

Merging into https://github.com/flutter/flutter/issues/43806


GND via placement 0.50 LHS

There's GND via on the left hand side of V0.50 between the SCL trace and the edge of the board. The pad from the via goes outside the GND pour, so it may be too close to the edge of the board. Check Seeed's specs, and see if it's okay.
Possible solutions:

decrease pad diameter
move neighbouring traces to make space

Fixed on unpanelized V0.50 in commit aed75686ee1254fed4a195069a659c31cab7a090

fixed on panelized version in commit ffb45354043ad86a1897d4cdb3456cb270e78990


docs: Angular Icon is missing in README.md

What is the current behavior?
The angular icon is missing from the readme file.

"Architects.io" logo is also missing from the file but I think that it is an invalid URL.
What is the expected behavior?

Additional Details
I want to work on this issue

My mistake, yep, feel free to send a PR

@evilebottnawi the link https://architects.io is broken as well.

@evilebottnawi Can you please provide me the correct link of "architects.io"


NWFSC/NOAA requirement disclaimer update - need text addition

Long story short - our science center has just (Feb 1) gone to a new communication database (reports, manuscripts, presentations) that is meant to track approval (mainly policy related checks) for sharing such things at public venues.  Our draft assessment document qualifies b/c it get sent out to the public as does our SRG presentations.
We need to ask if you guys mind that we put this exact language  on the title page for every document and presentation that we give related to a review meeting (SRG in this case). So this would be for our draft assessment document today as well as SRG presentations we make over the next two weeks.
"These materials do not constitute a formal publication and are for information only. They are in a pre-review, pre-decisional state and should not be formally cited. They are to be considered provisional and do not represent any determination or policy of NOAA or the Department of Commerce."
We will have to formally go through the approval process for our final assessment document.  And I am giving folks here a heads up that it has to be expedited (we usually want to submit the final over the few days just following the SRG!).

This could just replace the disclaimer text we now have on the title page

do you guys need a DFO disclaimer?  If not, let's just replace it.
On Mon, Feb 8, 2021 at 11:39 AM Chris Grandin<EMAIL_ADDRESS>wrote:

This could just replace the disclaimer text we now have on the title page
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pacific-hake/hake-assessment/issues/798#issuecomment-775393608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4T76TZSUDYB3RKHQIAUMDS6A4YHANCNFSM4XJSVM5Q
.

--
Aaron Berger, PhD
https://www.fisheries.noaa.gov/contact/aaron-m-berger-phd
Fisheries Resource and Monitoring Division
Northwest Fisheries Science Center
National Marine Fisheries Service
National Oceanic and Atmospheric Administration
2032 SE OSU Drive
Newport, OR 97365 USA
<EMAIL_ADDRESS><EMAIL_ADDRESS>(office)
541.231.1417 (cell)

There's nothing official required to my knowledge

don't ask, don't tell...
On Mon, Feb 8, 2021 at 11:44 AM Chris Grandin<EMAIL_ADDRESS>wrote:

There's nothing official required to my knowledge
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pacific-hake/hake-assessment/issues/798#issuecomment-775396440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4T76XNBI43BNWBM2UBO2LS6A5KZANCNFSM4XJSVM5Q
.

--
Aaron Berger, PhD
https://www.fisheries.noaa.gov/contact/aaron-m-berger-phd
Fisheries Resource and Monitoring Division
Northwest Fisheries Science Center
National Marine Fisheries Service
National Oceanic and Atmospheric Administration
2032 SE OSU Drive
Newport, OR 97365 USA
<EMAIL_ADDRESS><EMAIL_ADDRESS>(office)
541.231.1417 (cell)


Error with spit_match  ./streamline_brazil_matches.sh

Hello, this work is amazing and I'm trying to run your script then apply it on my own data.
However, following errors occurred:

===========================================================
Fetching match 2057978 from dataset. Please wait...
Syntax error (IllegalArgumentException) compiling at (src/main/io/spit_match.clj:83:1).
Cannot open  as a Reader.
Full report at:
/tmp/clojure-4881960746917179810.edn
Syntax error (IllegalArgumentException) compiling at (src/main/io/spit_match.clj:83:1).
Cannot open  as a Reader.
Full report at:
/tmp/clojure-6358096024078002419.edn

Could you please help me? Millions of thanks in advance.
clojure-4881960746917179810.edn

Hi, @DeeDive ! Pull the changes from this branch and try to run the script again...


[ci] Always save cache, even on failure

This change is

Got a partial cache, gonna move forward with this.


migrations with sqlite3

I have roughly the schema below, and on the second pass of Schema.Create, it gives this stack trace. I notice on the documentation near the trace it says sqlite3 can't be used in "append-only" mode because it's "just for testing". Is that the current state of things? If so I can just change my database targets.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x957333]

goroutine 1 [running]:
github.com/facebookincubator/ent/dialect/sql/schema.(*Migrate).changeSet(0xc00011f740, 0x0, 0x10b6c40, 0xc8f660, 0xc00015a860, 0xbb0ea2)
        /usergo/pkg/mod/github.com/facebookincubator/ent@v0.0.0-20191125181359-be307dab3c93/dialect/sql/schema/migrate.go:241 +0x63
github.com/facebookincubator/ent/dialect/sql/schema.(*Migrate).create(0xc00011f740, 0xc8f460, 0xc0000a0000, 0xc8f660, 0xc00015a860, 0x10b0920, 0x3, 0x3, 0xbd9320, 0xc00011f740)
        /usergo/pkg/mod/github.com/facebookincubator/ent@v0.0.0-20191125181359-be307dab3c93/dialect/sql/schema/migrate.go:121 +0x1b6
github.com/facebookincubator/ent/dialect/sql/schema.(*Migrate).Create(0xc00011f740, 0xc8f460, 0xc0000a0000, 0x10b0920, 0x3, 0x3, 0x0, 0x0)
        /usergo/pkg/mod/github.com/facebookincubator/ent@v0.0.0-20191125181359-be307dab3c93/dialect/sql/schema/migrate.go:104 +0x11f
github.com/tinyci/services/service/usersvc/ent/migrate.(*Schema).Create(0xc0000ab6c0, 0xc8f460, 0xc0000a0000, 0x0, 0x0, 0x0, 0x0, 0xc0000d0d80)
        /usergo/src/github.com/tinyci/services/service/usersvc/ent/migrate/migrate.go:48 +0x12a

Schema:
// User holds the schema definition for the User entity.
type User struct {
  ent.Schema
}

// Fields of the User.
func (User) Fields() []ent.Field {
  return []ent.Field{
    field.String("username").Immutable().Unique(),
    field.String("password"),
    field.Time("created_at").Immutable().Default(time.Now),
    field.Time("updated_at").Default(time.Now),
  }
}

// Edges of the User.
func (User) Edges() []ent.Edge {
  return []ent.Edge{
    edge.To("capabilities", Capability.Type),
    edge.To("tokens", AuthToken.Type),
  }
}

// Capability holds the schema definition for the Capabilities entity.
type Capability struct {
  ent.Schema
}

// Fields of the Capabilities.
func (Capability) Fields() []ent.Field {
  return []ent.Field{
    field.String("capability").Immutable().Unique(),
  }
}

// Edges of the Capabilities.
func (Capability) Edges() []ent.Edge {
  return []ent.Edge{
    edge.To("users", User.Type).Unique(),
  }
}

// AuthToken holds the schema definition for the AuthToken entity.
type AuthToken struct {
  ent.Schema
}

// Fields of the AuthToken.
func (AuthToken) Fields() []ent.Field {
  return []ent.Field{
    field.String("service").Immutable(),
    field.String("token").Sensitive(),
    field.Time("created_at").Immutable().Default(time.Now),
    field.Time("expires_at").Immutable().Nillable().Optional(),
  }
}

// Edges of the AuthToken.
func (AuthToken) Edges() []ent.Edge {
  return []ent.Edge{
    edge.To("user", User.Type).Required().Unique(),
  }
}

Hey @erikh, thanks for reporting this issue.
As it mentioned in the docs, ent does not support incremental updates for schema, since (in our case) it's used only for testing.
I don't think it's a problem to add support for it (although, some things are not clean, like adding FK for existing table), it just wasn't in our priority.
Are you using sqlite outside testing?

Thanks, I guess I missed this, sorry for the noise.
I was just planning on using it for simplistic scenarios where I'd use ent; the system itself is designed to run in compact and large environments which makes the multi-driver support a great dovetail with what I'm doing (a CI system). Basically I want a "CI in a box" for small, testing/evaluation situations and a more scalable, distributed system that would more normally leverage postgres in my case; mysql seems like it could be used too which makes me happy but is less relevant.
For now, I can just give the "box" as a docker-compose file that contains a postgres deploy as well as the CI deploy. This works for my needs for now.
That said, the flexibility of sqlite3 would be nice, and I'd love to assist with these changes if you're willing to guide me on what needs to be done in your codebase. I am comfortable in golang and with databases.

...that was a lot of words to say "basically, I want to use one container instead of N". :)

Thanks for the rich comment @erikh :)

That said, the flexibility of sqlite3 would be nice, and I'd love to assist with these changes if you're willing to guide me on what needs to be done in your codebase.

That can be great. I don't have all details in front of me this moment, but I remember that implementing a real incremental migration for SQLite was a bit PITA (like the FK example above).
There's no much code to do in the migration, since most of the migration logic is generic and execute dialect specific operations. There are just a few open issues that we need to decide how we tackle them, and the implementation part should be simple.
I can post here tomorrow the requirements for SQLite and we can continue from there.

Sounds great. Thanks!
On Tue, Nov 26, 2019 at 12:49 PM Ariel Mashraki<EMAIL_ADDRESS>wrote:

Thanks for the rich comment @erikh https://github.com/erikh :)
That said, the flexibility of sqlite3 would be nice, and I'd love to
assist with these changes if you're willing to guide me on what needs to be
done in your codebase.
That can be great. I don't have all details in front of me this moment,
but I remember that implementing a real incremental migration for SQLite
was a bit PITA (like the FK example above).
There's no much code to do in the migration, since most of the migration
logic is generic and execute dialect specific operations. There are just a
few open issues that we need to decide how we tackle them, and the
implementation part should be simple.
I can post here tomorrow the requirements for SQLite and we can continue
from there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebookincubator/ent/issues/200?email_source=notifications&email_token=AAAET26HWLPXFDJBTLHYBT3QVWDUZA5CNFSM4JR5DH72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHMQAY#issuecomment-558811139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAET2Y5KGTXFYEWJ5HCRB3QVWDUZANCNFSM4JR5DH7Q
.

it's a holiday here in the states, so no big deal, but I wanted to remind you that I'm still interested in doing this work for you.:)

@erikh, we'll provide an update tomorrow.

it's a holiday here in the states, so no big deal, but I wanted to remind you that I'm still interested in doing this work for you.:)

Great, and sorry for the delayed response.
I think we can start by discussing about how we handle the case of adding FKs to existing tables.
I know that one popular approach is to re-create the table and copy the data, but I wonder if it's really feasible for production environments. Any thoughts?

It looks like sqlite3 supports transactional DDL. From what I'm reading it looks like certain operations are allowed and others aren't... CREATE INDEX is a great example of something people are having trouble making transactional in sqlite3. Similar to postgres.
I'll look more later this week.

To the FK issue, did you see something specific from sqlite3 that I'm not aware of, or is this a general "we can't find the key in the db, abort abort and don't break anyone" issue?

To the FK issue, did you see something specific from sqlite3 that I'm not aware of, or is this a general "we can't find the key in the db, abort abort and don't break anyone" issue?

The problem I had that time was that I couldn't add the ADD CONSTRAINT with ALTER TABLE.
But, from going over the documentation again, I saw that it can be done as follows:
ALTER table t1 ADD COLUMN c1 int REFERENCES t2(c2) ON DELETE SET NULL;

Wonderful!

it looks like the SQL builder is going to need to support sqlite3 pragma statements before I move further. do you have a preferred way to do this? it seems very "select"-centric at the moment at a glance.

The current SQLite schema code already executes pragmas. However, it doesn't have any special API for this in the builder, just uses Exec(...). Does it help somehow?
I think the best way to start is here. Basically, load the table from SQLite schema to Go struct (in order to generate the changeSet that need to be applied on the database).
Let me know if you need any help with that.

Yeah I was working with the equivalent postgres code already. I just didn't see this bit about the pragma use. This helps a ton; should have something in a day or two.

I started #221 (linking these two) to discuss changes to the outstanding patch.

Here's another vote for "didn't notice this in the docs" and "would be great to use sqlite properly for small projects". Thank you!

For anyone else passing through here, a quick way to kludge your way forward is to force sqlite migrations to be manual, and skip client.Schema.Create if any tables already exist. For that, you need to use ent.NewClient not ent.Open to have access to the underlying sql DB.
import entsql "github.com/facebookincubator/ent/dialect/sql"

	drv, err := entsql.Open("sqlite3", "file:test.sqlite?_loc=auto&cache=shared&_fk=1")
	if err != nil {
		return err
	}
	defer drv.Close()
	db := ent.NewClient(ent.Driver(drv))
	defer db.Close()

	const haveAnyTable = `SELECT COUNT(*) FROM "sqlite_master"`
	row := drv.DB().QueryRow(haveAnyTable)
	var numTables int
	if err := row.Scan(&numTables); err != nil {
		return err
	}
	if numTables == 0 {
		if err := db.Schema.Create(ctx); err != nil {
			log.Fatalf("failed creating schema resources: %v", err)
		}
	}

Hey; sorry the patch is so late. I've just been really busy. I'd encourage you to watch #221 for new developments, however, it's a long thread.

The "append-only" migration was added with #428. More advanced migration features (like dropping resources) will be added in the future - I'll open a separate issue for it.


Default method redirection?

When using both retrolambda and streamsupport. Is there any way to transform collection.stream() to java8.util.stream.StreamSupport.stream(collection) ?

No. Just use the streamsupport APIs directly.

@orfjackal Thank you.


Setting drive-state to FAILED with hctl is not working

Setting drive-state to FAILED with hctl is not working. Let's try it:
$ hctl drive-state --json $(jq --null-input --compact-output '{ node: "centos8", source_type: "drive", device: "/dev/loop0", state: "FAILED" }')
0
2022-02-08 16:29:09,642 [DEBUG] Bound <class 'hax.common.HaxGlobalState'> to an instance <hax.common.HaxGlobalState object at 0x7f7461cae278>
2022-02-08 16:29:09,644 [DEBUG] Created and configured an injector, config=<function di_configuration at 0x7f7461070a60>
2022-02-08 16:29:09,650 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8500
2022-02-08 16:29:09,653 [DEBUG] http://<IP_ADDRESS>:8500 "GET /v1/kv/eq-epoch HTTP/1.1" 200 101
2022-02-08 16:29:09,661 [DEBUG] http://<IP_ADDRESS>:8500 "PUT /v1/txn HTTP/1.1" 200 144
2022-02-08 16:29:09,662 [INFO] Written to epoch: 2

So far so good, we can even see the event in the queue in consul kv:
$ consul kv get -recurse eq
eq-epoch:2
eq/2:{"message_type": "device-state-set", "payload": {"node": "centos8", "source_type": "drive", "device": "/dev/loop0", "state": "FAILED"}}

But let's see at the log of RC:
$ tail -1 /var/log/seagate/hare/consul-proto-rc.log
2022-02-08 16:33:48 jq: error (at <stdin>:1): base64d is not a valid format

So the command does not do anything.

For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/EOS-28578. Note that community members will not be able to access that Jira server but that is not a problem since all activity in that Jira mirror will be copied into this GitHub issue.

Looks like the problem is with the old version of jq utility:
$ rpm -q jq
jq-1.5-12.el8.x86_64

See https://github.com/stedolan/jq/issues/1408#issuecomment-300787749

Vaibhav Prakash Paratwar commented in Jira Server:

.

Vaibhav Prakash Paratwar commented in Jira Server:

.

Vaibhav Prakash Paratwar commented in Jira Server:

.


[CTA] The request pricing CTA should only be visible for US and EU regions. Currently, it is visible for all the regions

This is a follow-up of #937
The request pricing CTA should only be visible for US and EU regions. Currently, it is visible for all the regions.

For US and EU there should be these 2 CTA buttons

For all the other regions it should be this-

Content change fix:
The Request Pricing button link needs to have a input parameter named type with value quote
https://main--moleculardevices--hlxsites.hlx.page/quote-request?pid=flipr-penta-high-throughput-cellular-screening-systems&**type=quote**

Done


UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 561: ordinal not in range(128)

Building with python3.4 on Debian:
I: pybuild base:170: python3.4 setup.py clean
Traceback (most recent call last):
File "setup.py", line 15, in
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
i : 'ascii' codec can't decode byte 0xe2 in position 561: ordinal not in range(128)

Sounds like you need to set your system LOCALE to UTF-8 or they need to manually specify a locale when opening the docs.

I've recently seen this error a bunch with tests running under Tox. Tox 2 sanitizes the environment, including the LOCALE, so Python 3 can't properly guess the environment's encoding.
The solution I've used in my projects is to do open(fn, 'rb').read().decode('utf-8') instead of just open(fn).read().

A similar issue occurred with cookiecutter last week: https://github.com/audreyr/cookiecutter/pull/453


Add timestamps or rate to fluorescence traces

Motivation
Similarly to writing imaging data, timestamps can be added to the RoiResponseSeries when timestamps are irregular. For regular timings, rate and starting_time is used instead.
This will be used in https://github.com/catalystneuro/fee-lab-to-nwb/pull/28
How to test the behavior?
Unittests are added to check RoiResponseSeries is created with timestamps when timestamps are irregular, but rate and starting_time is used when the series is regular.
Checklist

[x] Have you thoroughly read our Developer Guide?
[x] Have you ensured the PR description clearly describes the problem and solutions?
[x] Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
[x] If this PR fixes an issue, is the first line of the PR description fix #XXX where XXX is the issue number?
[x] Did you update the CHANGLOG.md file on your branch to describe your changes?

Tried merging this PR with #151 in #152, CI tests should pass after merging #151 into main.


Fix links

I changed old links to new ones, like wgpu-rs to wgpu, or hecrj to iced-rs, etc.
I also changed file links to relative ones which makes them more portable (where possible.)
Enjoy!

I also optimized images/reduced their size with ImgBot

Of course! Any eta on merge?

Awesome! There are actually still a few links that need to be fixed (I think it was caused by the force-push) so I’ll get that done when I get home.


Schedule with category time not displayed correctly

Hi, I hope you can help me, I'm trying to use week view, with this:
$(document).ready(function () {
        var calendar = new tui.Calendar('#calendarInstructor', {
            defaultView: 'week',
            taskView: false,
            useCreationPopup: false,
            useDetailPopup: false,
            week: {
                daynames: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'],
                narrowWeekend: false,
                startDayOfWeek: 1
            },
        });

        calendar.createSchedules([
            {
                id: '1',
                calendarId: '1',
                title: 'my schedule',
                body: 'body',
                category: 'time',
                dueDateClass: '',
                start: new Date('2021-05-19T09:00:00'),
                end: new Date('2021-05-19T11:00:00'),
                isReadOnly: true    // schedule is read-only
            },
            {
                id: '2',
                calendarId: '1',
                title: 'second schedule',
                body: 'body',
                category: 'time',
                dueDateClass: '',
                start: new Date('2021-05-20T13:00:00'),
                end: new Date('2021-05-20T14:00:00'),
                isReadOnly: true    // schedule is read-only
            }
        ]);

});
The problem is that schedules are not placed in correct time, are always placed at top, and also title is not displayed.

What I'm doing wrong? Also can I use different time format, like a string: '2021-05-20 15:30'?

https://codesandbox.io/s/tuicalendar-issue-809-fuibl

It cannot be reproduced.
What's the problem?

https://codesandbox.io/s/tuicalendar-issue-809-fuibl

It cannot be reproduced. What's the problem?

Thanks for you answer, i'm loading it with:
<link rel="stylesheet" href="{% static 'plugins/tui-calendar/tui-calendar.min.css' %}">
<script src="https://uicdn.toast.com/tui.code-snippet/v1.5.2/tui-code-snippet.min.js"></script>
<script src="https://uicdn.toast.com/tui.time-picker/latest/tui-time-picker.min.js"></script>
<script src="https://uicdn.toast.com/tui.date-picker/latest/tui-date-picker.min.js"></script>
<script src="https://uicdn.toast.com/tui-calendar/latest/tui-calendar.js"></script>

I have the  inside a bootstrap 4 tab panel, the problem is that the schedules are not placed correctly on it's start and end time, only placed correctly on it's date, always displays at top and also doesn't show the title, they looks like the image:

Could you give me a link to reproduce it? (like jsfiddle, codesandbox, codepen)
I need your development environment including Bootstrap 4.
I think it's because the style sheet is overwritten.

Let me se what I can do because it's an internal project, occasionally loads correctly, correct position and correct height:

But almost everytime doesn't calculate the position and height is 0:

Update
After a lot of tests the problem is because the tui-calendar is placed inside the tab-pane, I guess that because the tab-pane is hidden initially the tui-calendar has problems to calculate schedule position of the hidden tab.
I solved doing this:
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
                    if (e.target) {
                        if (e.target.id == 'my-tab-id') {
                            calendar.render();
                        }
                    }
                })

With this when the tab is selected, renders the calendar with the createSchedules list previously added.


Add Snowplow event tracking to StorageLoader

Using https://github.com/snowplow/snowplow-ruby-tracker

Let's start with some super basic tracking - just load failures and load successes.

The load_failure can have an error field. I don't know if there are any fields we want in the load_success event. We can add add an application_context to both events as well...

Sounds good!
On 8 Jul 2015 9:36 am, "Fred Blundun"<EMAIL_ADDRESS>wrote:

The load_failure can have an error field. I don't know if there are any
fields we want in the load_success event. We can add add an
application_context to both events as well...
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow/issues/679#issuecomment-119496726.

At the moment the error field contains the text of the exception. But this contains the AWS credentials, as in this anonymized example:
Java::OrgPostgresqlUtil::PSQLException error executing COPY and ANALYZE statements: BEGIN;
COPY atomic.events FROM 's3://fred-test-out/enriched/good/' CREDENTIALS 'aws_access_key_id=xxxxxxxxxxxxx;aws_secret_access_key=xxxxxxxxxxxxx' REGION AS 'eu-west-1' DELIMITER '\t' MAXERROR  EMPTYASNULL FILLRECORD TRUNCATECOLUMNS  TIMEFORMAT 'auto' ACCEPTINVCHARS GZIP;
ANALYZE atomic.events;
COMMIT;: ERROR: syntax error at or near "EMPTYASNULL"
  Position: 225

Is there a useful error message that doesn't risk including credentials? We could try to anonymize the credentials in the query before sending the event, but I don't know if it is possible to make that watertight.

Hey Fred - good catch. It should be possible to make this pretty watertight - just search for CREDENTIALS '...' and replace with CREDENTIALS ''. This is what Redshift does in the console when reporting loads.

That should work for the actual COPY statement but I'm also thinking about the "syntax error" part of the message containing private information, something like this:
ERROR:  syntax error at or near "BADTOKEN"
LINE 1: ...ess_key=xxxxxxxxxxxx' BADTOKEN REGIO...

We could work around this by doing find and replace on the whole error message for every substring of length at least 7 which is identical to any substring of either credential string.

Sounds good. Where does the >=7 constraint come from?

Suppose we decide to use this method of choosing some n and erasing all substrings of the error message which match a substring of a credential of length at least n. Then n should be large enough that it's unlikely that any credential substring of length n will appear in the error message outside the credentials. (For example, if n = 3 and the credentials contain the substring "ERR", then all instances of "ERR" in the error message will be replaced.) But if n is too large, then we risk substantial chunks of the credentials appearing in the error message. 7 is my guess at an intermediate value of n to avoid both these problems...

Sounds good to me!

@fblundun - can we take the above approach and apply it to the StorageLoader's stdout too? In other words, the credentials-scrubbing code should be applied to stdout/stderr/Snowplow... Please create another ticket in this release as necessary...


[Feature][SPI] Add DolphinSPILoader

related issue #6612

I think https://github.com/apache/dolphinscheduler/pull/6712 has already simplified the development and usage of the SPI mechanism. I personally think that Java native SPI is already easy to use and the DolphinScheduler’s plugin mechanism is kind of over designed.

I think #6712 has already simplified the development and usage of the SPI mechanism. I personally think that Java native SPI is already easy to use and the DolphinScheduler’s plugin mechanism is kind of over designed.

Great, I will close this pr.

https://github.com/apache/dolphinscheduler/pull/6723 Is another optimization of the alert plugins. I’ll continue to optimize the task plugins and finally we can get rid of the over designed plugin loader and Java developer will find it familiar and comfortable to develop a new plugin. For users it’s also easy to use the plugins without pain


With Java 21, should have support for virtual threads - with virtual threadpool support

Because most of the cron operations are are doing is massively  IO centric.
I will raise a PR soon to do the same.
Please let me know if this is going to be useful or not.
It can be done with - DirectSchedulerFactory anyways by switching the threadpool:
DirectSchedulerFactory.CreateScheduler Method (IThreadPool, IJobStore)

with RAMJobStore

@nmondal please submit the PR.

Here is the PR.
https://github.com/quartz-scheduler/quartz/pull/1093
Some tests fail while running in JDK-21, but I have ensured that the portion of the added code is tested fully and runs under any JRE.

@melloware Can you please look into the PR.


[buildmgr] support translate ctrls options with GCC

Contributed by STMicroelectronics
Signed-off-by: Tarek BOCHKATI<EMAIL_ADDRESS>

Are you planning to add test cases to this PR or separately?
@brondani
I would prefer having a separate PRs, it will be easier for me to progress with tiny PRs