err fixing number typo in RELEASING.md instructions

This change is

👍

LGTM, "merge into master" is here, too, if you're so inclined to change it.


chore: remove invalid omitempty field

In jx-api, the linter picked up the original invalid tag of json:"component, omitempty".
The test cases in JX prove that this was never working, so we are aligining the codebase with
what is currently working in the wild.

/lgtm


Don't export global allocs which are not statics

They aren't be referenced outside of the current cgu anyway. This should make optimizations a bit more effective.

Thanks!


Initial CI/CD Pipeline Work

Testing and linting utilizing JUnit + checkstyle respectively; invoked via Gradle task
.jars/reports exported as build artifacts
Images built utilizing Google Jib and the OCI format; uploaded to the ghcr under PO.DAAC's org
Automatic version bumping on develop, main, and release/* branches, utilizing bumpver, following a similar versioning scheme to other PO.DAAC repos
Tags on repo + container images automatically generated based on branch
Complete manual linting of the codebase

Versioning/container builds validated on personal fork of repo

Screenshots of forked repo performing tagging/autoversioning:


Data quality issue with 2016/2017 Ruby CVEs

The CVE ID
CVE-2016-2336
CVE-2016-2337
CVE-2016-2338
CVE-2016-2339
CVE-2017-6181
CVE-2017-11465
CVE-2017-17790
Describe the data quality issue observed
osv.dev marks these as "no fix available" and does not list any git tags
Suggested changes to record
Git tags are listed and osv.dev is able to detect the CVE as fixed.
The exact cause of the problem is unfortunately unclear to me, otherwise I would suggest something more precise.
Given the "fixed" commits just point to the release tag commit, whatever produced the commit range did originally have the correct list of affected versions.
Additional context
NIST CPEs list the versions affected correctly.

Ah yeah, the case of detached tags. It is unfortunately legal to tag outside of any branch.
In Ruby's case, it was simply because of the way it's imported from svn and in svn tags were completely separate to branches. For those you can probably assume that empty commits won't fix the vulnerability as they contain no code changes and so can take the first non-empty parent commit, which for Ruby will lie on a branch.
In other cases however, detached tags can contain code changes as an intentional part of the release process, such as https://github.com/swiftlang/swift/commit/2194dc2f736d224bf6f2bb1b4573af55da138cce from CVE-2020-9861. So it's somewhat awkward to generalise.

Playing around with a technique while discussing with a colleague recently:
$ git branch -r --contains a9721a259665149b1b9ff0beabcf5f8dc0136120
$ git merge-base master a9721a259665149b1b9ff0beabcf5f8dc0136120
7632a82d5750b7908bd173eda3268ecb0855b934
$ git branch -r --contains 7632a82d5750b7908bd173eda3268ecb0855b934
  origin/HEAD -> origin/master
  origin/master
  origin/ruby_2_2
  origin/ruby_2_3
  origin/ruby_2_4
  origin/ruby_2_5
  origin/ruby_2_6
  origin/ruby_2_7
  origin/ruby_3_0
  origin/ruby_3_1
  origin/ruby_3_2
  origin/ruby_3_3

Looking at 7632a82d5750b7908bd173eda3268ecb0855b934, it looks like the fix commit itself, so it would be incorrect to use this as the substitute for existing last_affected commit.


.ssh directory owned by root when uid not specified

:ghost: Brief Description
When creating a user without specifying a uid/gid, the user's ~/.ssh directory is owned by root since user[:uid].to_i returns 0 (since nil.to_i is 0) in https://github.com/sous-chefs/users/blob/master/resources/manage.rb#L99-L100.
:pancakes: Cookbook version
6.0.0
:woman_cook:  Chef-Infra Version
15.15.1
:tophat: Platform details
Ubuntu 18.04
Steps To Reproduce
Steps to reproduce the behavior:
dev_user = {
  "id": "dev_user",
  "password": "secretpassword",
  "ssh_keys": [
    "ssh-rsa blah"
  ],
  "groups": [
    "dev"
  ],
  "shell": "/bin/bash",
  "comment": "Test user without root login",
  "root_login": false,
  "auto_remove": false
}

users_manage group do
  group_id 900
  users [dev_user]
  action :create
end

# ls -la /home/dev_user/
total 24
drwxr-xr-x 3 dev_user dev_user 4096 Mar 12 21:24 .
drwxr-xr-x 6 root     root     4096 Mar 12 17:40 ..
-rw-r--r-- 1 dev_user dev_user  220 Apr  4  2018 .bash_logout
-rw-r--r-- 1 dev_user dev_user  223 Mar 12 17:40 .bashrc
-rw-r--r-- 1 dev_user dev_user  807 Apr  4  2018 .profile
drwx------ 2 root     root     4096 Mar 12 21:24 .ssh

:heavy_plus_sign: Additional context
This runs the risk of locking folks out of their environment very easily 😅

Fixed by merging #449


Kotlin Support

If there is anything to add, please let me know ;)
Kotlin Grammar https://kotlinlang.org/docs/reference/grammar.html

@AndiDittrich would love to see a new plugin release for wordpress, if possible :)

Do you have any kotlin example code owned by yours ? the example codes license is not compatible

What about this one https://try.kotlinlang.org/#/Examples/Longer examples/HTML Builder/HTML Builder.kt ? From the official Kotlin page

need something with MIT license or similar .. a small testcase will be sufficient.

Just wrote some sample code, free to use.
package com.example

import java.time.LocalDate

data class Person(var firstName: String, var lastName: String, var birthdate: LocalDate) {

    fun getAge(): Int {
        return LocalDate.now().year - birthdate.year;
    }

}

fun main(args: Array<String>) {
    val person1 = Person("Samuel", "Jackson", LocalDate.of(1948, 12, 21));
    val person2 = Person("Quentin", "Tarantino", LocalDate.of(1963, 3, 27))

    val persons = listOf<Person>(person1, person2)

    val personsAbove50 = persons.filter { it.getAge() > 50 }

    println(personsAbove50)

    println("First Name: ${person1.firstName}")

    val jsonString = """[
      {"firstName":"Samuel", "lastName": "Jackson"},
      {"firstName":"Quentin", "lastName": "Tarantino"}
    ]"""

    println(jsonString)
}

Dear kevcodez,
i've just release EnlighterJS v2.11.0 including your Kotlin language support. https://enlighterjs.org/Language.Kotlin.html
it will be added to the next Enlighter WordPress Release
br, Andi

https://github.com/AndiDittrich/WordPress.Enlighter
Added to v3.5-BETA1


Generate models with constants

Models should have a private static final variable defined for constants.

Currently we only generate Constant for Enum with single value.
enum OperationStateValues {
  Running
}

Another candidate is Type Literals https://github.com/microsoft/cadl/blob/main/docs/tutorial.md#type-literals
model BestDog {
  name: "Suki";
  age: 14;
  best: true;
}

At present it is done as ExpandableStringEnum (to void backward incompatible if it is change to Union. e.g. sku: "Base" | "Premium")


BUG: when the already created input field is updated and then empty, the pounds shows up as NaN, should be 0

Did it! used isNaN and the ternary operators.


[Update Account Settings] Restyle Wallet Page

Details

This PR radjusts Wallet Page to current designs.
Fixed Issues

$ #35722
$ #35604
PROPOSAL: N/A
Tests

[x] Verify that no errors appear in the JS console
[x] Go to Wallet Page and verify that everything matches desings.
- [x] Have few cards that are Exepensify cards
- [x] Have few cards that are not from expensify
- [x] Have few bank accounts linked

Offline tests

N/A
QA Steps

Same as tests
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/88395093/bc213ce5-d72c-4d6f-bee1-654a477c8edc

Android: mWeb Chrome
https://github.com/Expensify/App/assets/88395093/c4c1f9e8-aaaa-41fe-8ee8-f8485130c900

iOS: Native

https://github.com/Expensify/App/assets/88395093/5754f41e-8e42-4d6c-b725-a32905040406

iOS: mWeb Safari
https://github.com/Expensify/App/assets/88395093/0c7e97f1-3d54-4f34-a7f3-f05b2d2c2681

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/88395093/b8af05fd-3f10-451c-b4d7-140d26084e4f

MacOS: Desktop
https://github.com/Expensify/App/assets/88395093/a3406624-5302-479e-add9-9b8854e3a1ae

@mountiny is this ready to merge or do I need some more approves 😀

Seems like reviewer checklist is missing here

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Please hold on with the merge.
I will add here a small fix: empty workspace list state is missing the background.

I fixed here the background color in WS list empty state.

@SzymczakJ @kosmydel Just one small thing. The popover menu is cut off at the bottom of the window when the bottom account is not the default account resulting in two menu items. I'm guessing this should not be happening as the popover menu should open in the other direction if the space at the bottom is not enough to display it completely.
https://github.com/Expensify/App/assets/4160319/e3051f18-6b4b-40f8-bd1a-3f2657ddf40b

@akinwale @kosmydel @SzymczakJ I dont think we have to block on this, but we should fix this in a follow up at least

I've also noticed that the top margin is wrong (should be 12px)
cc @SzymczakJ

I've also noticed that the top margin is wrong (should be 12px) cc @SzymczakJ

fixed

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@mountiny @akinwale could you share the new design screenshots?

Go to Wallet Page and verify that everything matches desings.

@kavimuru added

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.41-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Inline view slots (shadow dom) broken in IE11, Windows 8.1

I'm submitting a bug report
Aurelia Dialog 1.0.0-beta.3.0.1
Windows 8.1 (from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/)
Internet Explorer 11
Node v7.1.0
npm 4.0.2
ESNext
webpack 2.1.0-beta.25 (current skeleton)
https://github.com/rquast/skeleton-navigation/tree/master/skeleton-esnext-webpack
** Changes made to skeleton to replicate behavior: **
https://github.com/aurelia/skeleton-navigation/compare/master...rquast:master
Current Behavior:
Broken with a replaceChild error. See attached screenshot.

Expected/desired behavior:
Should load without error.
What is the motivation / use case for changing the behavior?
Aurelia (and Aurelia Dialog) should work in Internet Explorer 11.

@jdanyow Have you seen this before? @niieani What about you. I suspect a configuration problem.

Hmm, might it be something with PAL being initialized after aurelia-dialog is loaded, for some reason? I'll look into it.
I'm so looking forward to ditching the old webpack-plugin, it's the reason for so many issues...

Hold on, I think I see where the problem might be.
@rquast you are using edit-person as the ViewModel but it's not declared as a build resource in package.json. Can you try adding edit-person to build.resources there and see if this persists? (btw. this won't be necessary with the new set of plugins in the new skeleton)

I'll give it a go and let you know, but won't be able to for a few days since I'll be away. You could also try it yourself if you have the time to download the virtualbox of IE11 windows 8.

@rquast I'm pretty busy myself, but let me know when you're back. 👍

Why is it export async in the main.ts?  I'm combing through just looking around but nothing stands out besides a few non-closed html elements.

@PWKad export async is correct since configure returns a Promise. It just allows you to await inside of the body of the method. You can see the Webpack skeletons utilizing this in a few places, including unit tests.

@PWKad I had this same problem in my own code, without that export async, or regenerator runtime. The code I did is just the skeleton merged with the sample code in Aurelia Dialog. @niieani I'll give those changes you suggested a go shortly.

@niieani adding edit-person to the build resources solved the problem.
  "aurelia": {
    "build": {
      "resources": [
        "edit-person"
        ]
    }
  },

Closing as this will be fixed in the new webpack skeleton.


Contour lines on rectangular grid

Contour lines are now calculated without triangulation of the original grid.
The MarchingSquares algorithm is used to find the contour.
The resulting lines are merged into a common path. There can be several of them for one elevation level.
Since our lines are merged into a path, we can add a label on top of the drawn path.
Grid primitives use indexes instead of real values. This is useful for accurate comparison of integer values, and reduces the number of interpolations by about half (we discard half of the points in the merge process)

It looks like the Heatmap was originally flipped by Y. I did the reverse flip manually in the cookBook example.

Thanks so much @StendProg! This is looking fantastic!


Fix proxies to work consistently.

Currently proxies are only used for mplayer, mpv flat out rejects them and the
searches aren't proxied. These patches make everything go through proxies.

Thanks for the patch. Merged successfully.


Fixed headings

This is a duplicate of #42 😉

Yeah, I noticed that after I had submitted it. Hope yours gets accepted!

Thank you @mdickin for noticing and fixing this as well! Merged the other PR as it came first.


Bulk API Example Request

I would appreciate if you could add an example of how to structure a bulk API insert execution that includes one job with multiple batches. My use case is to break up a large csv file and process the chunks with the bulk API. While I can create the single job with multiple batches, I can't figure out how to monitor all of the batches for completion so I can close the job.  I assume it is some type of promise based solution, but I have not implemented anything like that before. Thanks.

In JSforce, there are two different level to achieve batch execution. One is low-level which is just mapped to REST API call, and the other is relatively high-level and watching the completion of the batch activity in one async/promise call.
In low-level API, you can create bulk job and batch by Bulk#createJob() and Job#createBatch(), execute by Batch#execute(), then watch each batch completion by Batch#check() (or Batch#poll()). High-level one is useful in the case you have one batch in one job, and just call one API Bulk#load() (or some other convenient synonyms).
In your case it seems you can use low-level API to wait each batch to complete. You can use Promise lib like q or bluebird to wait whole completion of these bulk activity.

Yes, I need to create multiple batches on one Job.  I was hoping to get an example of how to monitor one job with multiple batches.  If if you don't have an example, I will try to get it working, a will provide an example.

How about this ? (I've not tried actually, though)
var fs = require('fs');
var Promise = require('promise');
var files = [ "acc01.csv", "acc02.csv", "acc03.csv" ];
var job = conn.bulk.createJob("Account", "insert");
Promise.all(
  files.map(function(file) {
     var batch = job.createBatch();
     batch.execute(fs.createReadStream(file));
     batch.poll(5*1000, 30*1000); // poll interval = 5 sec, timeout = 30 sec
     return new Promise(function(resolve, reject) {
       batch.on('response', function(res) { resolve(res); });
       batch.on('error', function(err) { reject(error); });
     });
  });
).then(function(rets) {
  console.log('batch finished');
  console.log(rets);
}, function(err) {
  console.error(err);
});

I will check that out, thank you so much!!

This is what I ended up with as my final version.  The full code set also included a filereader that reads in a large CVS file using the HTML5 FileReader, and chunks it into smaller sets of records, which get added to the filearray variable.
   var job = conn.bulk.createJob("Account", "insert");
   Promise.all(
                filearray.map(function(file) {
                    var batch = job.createBatch();
                    batch.execute(file);
                    return new Promise(function(resolve, reject) {
                        batch.on("queue", function(batchInfo) {
                            batchId = batchInfo.id;
                            var batch = job.batch(batchId);
                            batch.on('response', function(res) { resolve(res); });
                            batch.on('error', function(err) { reject(err); });
                            batch.poll(5*1000, 60*1000);
                        });
                    });
                })
            )
            .then(function(rets) {
                  var successrec=0;
                  var errorrec=0;
                  var procrec=0;
                  var errormsg='';
                  for(var i=0;i<rets.length;i++){
                    for(var ii=0;ii<rets[i].length;ii++){
                        procrec++;
                        if(rets[i][ii].success==true){
                            successrec++;
                        }else{
                            errorrec++;
                            if(errormsg.length==0){
                                errormsg=rets[i][ii].errors[0];
                            }else{
                                errormsg='\n'+rets[i][ii].errors[0];
                            }
                        }
                    }
                    document.getElementById("loadresult").innerHTML = 'Processed : '+procrec+' with '+errorrec+' errors '+errormsg;
                  }
                  cursor_clear();
                  job.close();
                }, function(err) {
                  alert(err);
                });

I tried this approach but i'm getting an error "batch not started".
Could you please explain me where i need to check whether the batch is running or not?
and how do i find the reason not for batch executing?

Did you try my version or the original version posted by stomita?  My version does account for this issue. I was getting the same "batch not started" error when didn't wait to see if the batches were "queued" before starting the polling.

Thank You:)
Here is the code.
<apex:page showHeader="false" docType="html-5.0">

I checked in back end : Apex jobs, nothing was there.
Could you please share your complete code? Is it possible to insert 10K records via this?
Im not sure if we need to make any config changes.

Your code wasn't posted in the message.  In my version, I am inserting 100,000 records in about 40 seconds.

Thank You:)
Here is the code.
<apex:page showHeader="false" docType="html-5.0">
  <script src="//cdnjs.cloudflare.com/ajax/libs/jsforce/1.3.1/jsforce.min.js"></script>

<script>
function loadfile()
{
    var filearray=[ { Name : 'ACC #1' },
                { Name : 'ACC #2'  },
                { Name : 'ACC #3'}];

    var conn = new jsforce.Connection({ accessToken: '{!$API.Session_Id}' });
    var job = conn.bulk.createJob("Account", "insert");

   Promise.all(
  filearray.map(function(file) {
     var batch = job.createBatch();
     batch.execute(file);
     console.log('Executed batch');
     batch.poll(5*1000, 30*1000); // poll interval = 5 sec, timeout = 30 sec
     return new Promise(function(resolve, reject) {
       batch.on('response', function(res) { resolve(res); });
       batch.on('error', function(err) { reject(error); });
       batch.on('Batch not started', function(){console.log('not started');});
     });
  })
)

}
  </script>
  <input type="file" id="importfile" onchange="loadfile()"/>
</apex:page>

I checked in back end : Apex jobs, nothing was there.
Could you please share your complete code? Is it possible to insert 10K records via this?
Im not sure if we need to make any config changes.

Hello,
This is fixed, i was reading your post https://github.com/jsforce/jsforce/issues/139
I just added the following code and i could see a bulk data load job created
conn = new jsforce.Connection({
accessToken: '{!$Api.Session_Id}'
,proxyUrl: '/services/proxy'
});


Add tooltip and help for locked challenges

Added tooltip to provide a feedback to builder for locked challenge. Also added a status tag on card to give a quick feedback about the challenge.

Thanks for this @pankaj512 Good job!
I've pushed https://github.com/moonshotcollective/scaffold-directory/pull/172/commits/51c676f0f9950e33e8d7a323f9b90f2cbeb29df1 with a bug fix (the pending dependencies weren't showing correctly when they had submitted - but not approved - challenges)

Also added another commit with some minor tweaks https://github.com/moonshotcollective/scaffold-directory/pull/172/commits/a926bd77eab5ebb79d11dc26b3d808f7bfd7da02 (copys tweaks, badges with colors)


kakounePlugins.kakoune-gdb: init at 2019-11-24

Note: This plugin depends on socat and gdb, I'm not exactly sure how to express that, since I can't just add them to this package.
Motivation for this change
It's a useful plugin.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Closing due to inactivity from author.


Add a windows-rdp try chooser

… for https://github.com/servo/servo/pull/26102

@bors-servo r+

:pushpin: Commit b5cd231 has been approved by jdm

:hourglass: Testing commit b5cd231b25a93c0f133a978bfa364c189e0b1902 with merge 9c52821cab72d20834cbf2ccec3ba8b67f13f353...

:sunny: Test successful - checks-travis
Approved by: jdm
Pushing 9c52821cab72d20834cbf2ccec3ba8b67f13f353 to master...


import client from @sanity-typed/client instead of @sanity/client

@sanity-typed is a project completes Sanity's developer experience with typescript, which includes @sanity-typed/client with typed GROQ Results. It seems to be good if nuxt-sanity can optionally import client from this package. Is it possible to do so for better TypeScript DX?

This is extremely cool. Would it be sufficient to allow the import to be configurable? Is it otherwise equivalent in API?

I think the most intuitive way to do so is to add typedClient configuration in sanity field in nuxt.config.ts:
sanity: {
    projectId: 'myProject',
    typedClient: true // requires users to explicitly set
},

Although this may be conflict with another configuration minimal, so maybe we can mix the two features up and do something like:
sanity: {
    projectId: 'myProject',
    clientType: 'typed' // can also be 'minimal' or 'default', defaults to 'default'
},

For those who want better TypeScript DX, Sanity now introduces an experimental feature called Sanity TypeGen which supersedes @sanity-typed. Sanity TypeGen supports generate types via its CLI, so I think this issue can be closed now.


refactor: refine some msgs

close https://github.com/ti-community-infra/ti-community-bot/issues/15

/hold
Integration testing is required.

/unhold
Test it in https://github.com/ti-community-infra/test-dev/pull/391 and https://github.com/ti-community-infra/test-dev/pull/390
/assign @Mini256
PTAL~ Thanks!

/lgtm

/merge

@Mini256 Thanks!


Issues in wave form visualizing and play pause Seek

https://github.com/SimformSolutionsPvtLtd/audio_waveforms/assets/102206806/9025e922-14f0-4d50-9e02-f593050a401c
Hellow, Hope this message find you well
I appreciate your efforts towards this very amazing package..
but i encountered with some issues.

the wave form is completed the blue part in the video but the audio is still playing because the speed or let say the active wave is completed but the audio is still remaining which is playing. it visually indicating that the audio is completed but by hearing or by seeing the counter on left side it is analysing that the audio is still remaining
i have tried many things like set the width, clip behaviour and many more things.
please check this out ..

audio is seeking when it is playing but it is more sensative.
and when it is paused or not playing it is not seeking at any where.
when i use the WaveformType.long then the inactive wave is seeking but there is no property to get the seek value so i can set it explicitly.
when the inactive wave is seeking , then i played the audio , it plays the audio where i paused it which is opposite of my need.
thank you ..

@MoazzamAliSE Thank you for creating the issue. Can please share your implementation of controller and widget so that we can debug this>

ok Sure

import 'package:audio_waveforms/audio_waveforms.dart';
import 'package:flutter/material.dart';
import 'package:hero_medical_technologies/utils/styles.dart';
class AudioPlayingWaveForm extends StatelessWidget {
const AudioPlayingWaveForm({
super.key,
required this.playerController,
required this.width,
required this.height,
required this.waveformType,
});
final double width;
final double height;
final PlayerController playerController;
final WaveformType waveformType;
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
color: Colors.grey[100],
borderRadius: const BorderRadius.all(
Radius.circular(12),
),
),
child: AudioFileWaveforms(
size: Size(width, height),
playerController: playerController,
    enableSeekGesture:
        true,

    waveformType: waveformType,
    padding: const EdgeInsets.all(8),
    playerWaveStyle: PlayerWaveStyle(

      seekLineColor: Colors.grey.shade300,
      scaleFactor: 300,
      waveThickness: 3,
      fixedWaveColor: const Color(0xffc4c4c4),
      liveWaveColor: cPrimaryDarkColor,
      waveCap: StrokeCap.round,
    ),
  ),
);

}
}
//This is AudioWave widget
Row(
children: [
Expanded(
child: AudioPlayingWaveForm(
waveformType: WaveformType.fitWidth,
width: Get.width * 0.9,
height: 120,
playerController:
controller.playerController,
),
),
const SizedBox(
width: 10,
),
controller.isLoading
? const Center(
child: CircularProgressIndicator(),
)
: GestureDetector(
onTap: () {
controller.startPlayingRecording();
},
child: SvgPicture.asset(
controller.playerController
.playerState ==
PlayerState.playing
? AssetRef.pausedButtonIcon
: AssetRef.playCircle,
height: 57.0,
width: 57,
),
)
],
)
                     // This is the use of the widget

import 'dart:async';
import 'dart:io';
import 'package:audio_waveforms/audio_waveforms.dart';
import 'package:flutter/foundation.dart';
import 'package:get/get.dart';
class PastVoiceNoteAndTranscribeController extends GetxController {
final _playerController = PlayerController();
String _localFilePath = '';
bool _isLoading = false;
PlayerController get playerController => _playerController;
String get localFilePath => _localFilePath;
bool get isLoading => _isLoading;
setLoading(bool loading) {
_isLoading = loading;
update();
}
// bool _isPlaying = false;
// bool get isPlaying => _isPlaying;
// void setPlaying(bool value) {
//   _isPlaying = value;
//   update();
// }
int _playerDuration = 0;
Timer? _timer;
Timer? get timer => _timer;
int get playerDuration => _playerDuration;
Future preparePlayerController(
String url,
) async {
_localFilePath = url;
setLoading(true);
try {
await _playerController
.preparePlayer(path: _localFilePath)
.whenComplete(() => setLoading(false));
update();
} catch (e) {
if (kDebugMode) {
print('Error preparing player controller: $e');
}
setLoading(false);
}
}
void _startTimerReverse(bool isPaused) {
if (!isPaused) {
_timer =
Timer.periodic(const Duration(milliseconds: 100), (Timer t) async {
var currentDuration =
await _playerController.getDuration(DurationType.current);
var maxDuration = await _playerController.getDuration(DurationType.max);
maxDuration = maxDuration ~/ 1000;
    currentDuration = currentDuration ~/ 1000;
    _playerDuration = currentDuration;
    update();
    if (maxDuration == currentDuration) {
      t.cancel();
      _timer?.cancel();
      // completeAudioPlayed();
      update();
    }
    update();
  });
} else {
  _timer?.cancel();
}

}
// void completeAudioPlayed() {
//   setPlaying(false);
// }
void pauseAudio() async {
if (_playerController.playerState == PlayerState.playing) {
_startTimerReverse(true);
// setPlaying(false);
await _playerController.pausePlayer();
}
}
Future startPlayingRecording() async {
if (_playerController.playerState.isPlaying) {
pauseAudio();
} else if (_playerController.playerState.isPaused) {
_startTimerReverse(false);
await _playerController
.startPlayer(finishMode: FinishMode.pause)
.whenComplete(
() {
// setPlaying(false);
},
);
// setPlaying(true);
return;
} else {
try {
if (_playerController.playerState.isStopped) {
// setPlaying(false);
print("no recording");
return;
}
if (_localFilePath.isNotEmpty) {
final file = File(_localFilePath);
if (await file.exists()) {
await _playerController.startPlayer(
finishMode: FinishMode.pause,
);
// setPlaying(true);
int checkDuration = await _playerController.getDuration();
if (checkDuration != -1 && checkDuration >= 0) {
_startTimerReverse(false);
}
update();
return;
}
}
} catch (e) {
if (kDebugMode) {
print(e);
}
}
}
}
@override
void dispose() async {
_timer?.cancel();
_playerController.dispose();

super.dispose();

}
}
// Controller

Sir i know that i have use the expaned widget , also i use the width ..
but this is causing issue in another screen also ..
and one more issue is that when i come back from the screen the audio is not stop automatically even if the dispose is triggered. i have to manually stop the audio by using the PopScope.

Now, to the other question, I tested with disposing the controller before navigating to another screen like this,
controller.dispose();
                  Navigator.push(context, MaterialPageRoute(
                    builder: (context) {
                      return Container();
                    },
                  ));

And it does stop the player for me. Can please share more info on this?

Closing this issue since no response was provided.


is the multilingual part done?

@Metnew
Hi, Metnew!
I'm here asking a question instead of raising an issue:
Since I cannot see where the button for switching the language is, I kind of cannot get the sense of how to use the multilingual update of version 3. Now I build it without flags, it is supposed to be built with all available languages. But how to switch between the two languages currently available after building for production?
Thanks!

Hello, @PharrellWANG!
Just run npm run build, webpack bundles 2 apps with both languages.
Check i18n folder, you can find i18n object here. This is an example of how i18n-webpack-plugin works: https://github.com/webpack/webpack/tree/master/examples/i18n
After bundling 2 apps with different languages you can not switch to another language directly, without custom server, I recommend you next way:

Create server (or use code from ssr server)
Create endpoint /i18n
After request from app to this endpoint, change the dist path (path from where you serve app). Example: path is /dist/en -> request to /i18n -> send new index.html from /dist/ru

Or you can build 2 apps, and serve one app from path / and version with another language from path /ru. It's easier than previous method. Don't forget to change basename in getHistory() in src/common/routing/index.js for React-Router + change  in index.html for this version + I recommend you to check how webpack handles BUILD_DEMO - I use this env variable to build gh-pages.

@Metnew
Okay, let me try it. Thank you~

I'm currently working on moving a demo from gh-pages to zeit's now. So all custom code for deploying to gh-pages (e.g. process.env.BUILD_DEMO) will be removed. Also, I'm going to implement described above feature with i18n.

@Metnew
Ok, thanks~
By the way, when I do npm run dev, the project can be compiled successfully. But there's an error:

I cannot figure it out. Do you have the same issue when npm run dev?

@PharrellWANG
Yeah, I have the same error. Probably, it is caused by requiring of non-js file (I guess index.html, because it's the only non-js file in repo) that is parsed by babel-loader.
I'll try to fix it after improving server part + complete full migration to zeit's now. Also, I recommend you to check dev branch.

@Metnew Okay and I'll close this issue.


Expected Behavior
Here is how it looks in shadcn-ui/ui:

Steps To Reproduce

https://www.shadcn-svelte.com/docs/components/input#file
Toggle dark mode

Link to Reproduction / Stackblitz
No response
More Information
No response

@phenomen @huntabyte Looks fine on my end. Tested in Arc and safari.

What browser are you using @phenomen?

What browser are you using @phenomen?

Google Chrome 118
Can still reproduce it here https://www.shadcn-svelte.com/docs/components/input#file

What browser are you using @phenomen?

Google Chrome 118 Can still reproduce it on shadcn-svelte docs here https://www.shadcn-svelte.com/docs/components/input#file Not reproducible on the original shadcn/ui https://ui.shadcn.com/docs/components/input#file
And it's not just docs, it happens in my app with shadcn-svelte too.

I can confirm this behavior, happen on my side as well (reproduced in  Chrome v117, Firefox v118) :
Chrome v117

If we remove all styles from the inputs on both shadcn-svelte and original shadcn, they both differ:
<input class="" id="picture" type="file">

in original shadcn:

in shadcn-svelte:

@phenomen @huntabyte I just noticed the same behavour on my other computer. In Arc same version and same os version. Its kinda weird.

@huntabyte I made a pullrequest for a fix.
But i noticed while doing some debugging based on @fen89 comment.
the original shadcn-ui website gets a style attribute
style attribute {
    color-scheme: dark;
}

I could not se that this one is generated on the svelte version.

Interesting. I know we do light/dark modes a bit differently as they're using a StyleProvider, is that attribute a requirement, or does your fix suffice?

@huntabyte i think my fix is sufficient for now. But maby adding the color-scheme functionality  to a todo list / future features would be a good idé. Its telling the browser what base styles to apply to elements. So its no problem if the elements have it owns styles by css.
The problem here was that the browser didn't understand that the site is in dark mode. So it applied the black text as default. color-scheme: dark would  have changed the color to white by its self without needed a extra class for it.

Okay, this shouldn't be too difficult to add. We'll just need to extend the light switch to also handle that as well!

I'm still seeing this issue on Chrome v122.0.6261.94

It appears that the issue is specifically related to the "new-york" style component. In my testing, the problem only occurs when using the "new-york" style.

I am using default styles on Arc and am getting this issue. I saw it white once, but it's finicky.


Create Tabletop-Exercise-Framework.md

First draft of Table Top Exercise Framework

Informative, educational and comprehensive.

Seems the document was not merged, reopening it

Seems the document was not merged, reopening it

correct, waiting for WG folks to review and comment

Discussed at 15May call with group.  Will merge now.


Empty App Service Plans

Are there any plans to adapt the advisor to inform you of empty AppService Plans? They are a fixed cost and if you have no apps running in them it can be a large waste of dollars.

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

ID: b703202c-7c7d-7177-6496-d1c61dacf22b
Version Independent ID: f9ee0bcc-f74a-dbba-c9b9-f84bf7b800a7
Content: Reduce service costs using Azure Advisor - Azure Advisor
Content Source: articles/advisor/advisor-cost-recommendations.md
Service: advisor
GitHub Login: @saket-ms
Microsoft Alias: sagupt

@JordanBurns27  Thank you for your query , we will look into it and get back to you at the earliest.

@JordanBurns27 Thanks again for your feedback, we have shared this feedback to our Internal Product teams and will reach out to you if we need any additional information.

@JordanBurns27 Post validation with our internal teams it has been called out that it is a backlog item which team is evaluating to develop the automated recommendations via Azure Advisor for empty AppService plans , however we do not have a firm ETA yet for implementation.
In the interim, intelligent auto-scale rules and deleting unused resources (App service instances VMs etc) are possible means of cost savings for customers.
Hope the above information helps. At this point it appears that there's no further edits or updates needed to the documentation. We will go ahead and close this issue, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Add @jonjohnsonjr as a dist-spec maintainer

@jonjohnsonjr would like to become an OCI distribution spec maintainer
https://github.com/opencontainers/tob/issues/95#issuecomment-811522802
We will have the existing maintainers vote via this PR with a LGTM / +1

[ ] Derek McGowan (@dmcgowan)
[ ] Jimmy Zelinskie (@jzelinskie)
[ ] Josh Dolitsky (@jdolitsky)
[ ] Mike Brown  (@mikebrow)
[x] Stephen Day (@stevvooe)
[ ] Vincent Batts (@vbatts)

Signed-off-by: Chris Aniszczyk<EMAIL_ADDRESS>

LGTM

closing for now


withPropsOnChange renders props regarding of shouldMapOrKeys function

I don't know, if i'm missing the intention of this HOC, but when given shouldMapOrKeys a function returning false, the props is set and updated each time?

No, it has a very simple code, just look inside. It does not prevent rendering, it just recalculate something on change

https://github.com/acdlite/recompose/blob/master/src/packages/recompose/withPropsOnChange.js#L24

Oh, I thought I could store an initial props (singleton-ish) like here, where I only recieve the apiKey on the first request and want to store it for the duration of the runtime:
withPropsOnChange(
  ({ apiKey }, nextProps) => Boolean(apiKey  && !nextProps.apiKey)
  ({ apiKey }) => ({
    apiKey,
  })
),

Thank you for the quick answer

For one time store I use syntax ;-)
withPropsOnChange(
  [],
  ({ blabla }) => ({
    blublu: calc(blabla),
  })
),


Command 'getconf' not found in container

Following the instruction for creating the .devcontainer using the CLI tool. I encound the following error when I try to open my project directory in the devcontainer.
[31584 ms] Command in container failed: '/path/to/.vscode-server/bin/e170252f762678dec6ca2cc69aba1570769a5d39/bin/helpers/check-requirements.sh'
[31584 ms] /path/to/.vscode-server/bin/e170252f762678dec6ca2cc69aba1570769a5d39/bin/helpers/check-requirements.sh: line 45: getconf: command not found
[31584 ms] Exit code 127
[31654 ms]
[31654 ms]
It seems that the getconf command is not available inside the container.


Feature Request: Log characters Inventory

If you are like me you have a few characters you farm on at this point and every other character is filled to the brim with other characters armors, weapons, and miniatures. I would like to see an option to have it save a list of item-names/stats/mods/qtys and export that to either an excel cvs or text document, so I can log my characters then quickly be able find specific weapons and miniatures. Ideally there would a toggle to log a character when entering town. If this is possible could you also have it log storage tabs.  Even better if toolbox could search the log in game to tell you where it last saw the searched item.

Update: saw this was already requested

Update: saw this was already requested


Firebase Rules amendment.

Currently firebase rules for this apps are public e.g.
{
  "rules": {
    ".read": "true",
    ".write": "true"
  }
}

everyone can easily  access the data base,,, if i try to change any rule , it shows error notification on startup, how to change the rules to make it private for specific user. I have read the firebase rules documentation , but I am new to firebase and don't have much expertise for this..

READ TRUE
WRITE AUTH !=NULL

@shahzadakram67, Familiarize with the firebase documentation related to the Database Rules. There are a lot of Sample rules. And don't  forget to implement handling "Permission denied" case in your code.
Hope it helps.


add start_row and end_row

Allow users to specify which row to start painting in the output image

helpful when debugging literal edge cases

done, row_start and row_end


Feature/specify mq regions list

Instead of getting the MQ stats from all regions, specify the MQ region
list that is of interest in the property - mq.regions.list (comma
separated)

Changed base ref to Develop


lock_api: const INIT instead of new() in RawMutex

Hi,
For a project I am working in no_std, I would like to use the lock_api crate to help with the implementation of Mutex and other synchronization primitives. The platform I am working on already has an API for mutual exclusion in C that I would just like to wrap. However, there is one problem with the RawMutex trait, and that is that it expects a const INIT, while I need to call a function to initialize my mutex.
Would it be possible to extend the RawMutex trait, and possibly others, with fn new() -> Self; such that we can actually initialize the mutex on platforms where this is necessary? In theory, it could default to return Self::INIT, but that would require Self implementing Sized as follows:
pub unsafe trait RawMutex: Sized {
    const INIT: Self;

    fn new() -> Self {
        Self::INIT
    }
}

or:
pub unsafe trait RawMutex {
    const INIT: Self;

    fn new() -> Self where Self: Sized {
        Self::INIT
    }
}

Based on the documentation it seems that using a mutex object is incorrect anyway as they can be recursively locked, which would give multiple mutable references to the same memory. This is UB. Also I suspect that mutex objects can't be moved, which means that if you want to use them you have to box them like libstd does for userspace windows and pthread (unix) mutexes.
Maybe it makes more sense to avoid lock-api entirely and write the entire Mutex implementation directly yourself?

The problem with adding fn new is that it prevents Mutex::new from being a const fn in the future once const fn trait bounds are stable.
Could you select an initial value for INIT such that you can automatically initialize the platform mutex on first use?

Ironically, wouldn't this initialization itself need to be locked? If multiple threads attempted to lock at the same time, the implicit initialization would occur multiple times, with unpredictable results.


Please upadate examples in Readme for pact-jvm provider

I am trying to use Pact with Spock on the provider side and I am trying to use pact-jvm-provider for this. The examples included in Readme are out of date. They use an outdated api. There is currently no constructor for ProviderClient which takes Request as second argument. Furthermore there is no request() method in Interaction interface. Could you provide example that will work with version 3.5.22?

I figured it out. I have something like:
`    def "Pact"() {
final verifier = new ProviderVerifier()
when:
final Map result = verifier.verifyProvider(serviceProvider)
    then:
    StringJoiner errors = new StringJoiner("\n")
    if (result.size() > 0) {
        int id = 0;
        result.each { k, v ->
            ++id
            errors.add(id.toString()).add(k.toString()).add(v.toString())
        }
    }

    assert errors.length() == 0
}`

Is there a better method to present the result?

How to make provider state change?

Again I found out the state change
        serviceProvider.hasPactWith("Consumer", {
            pactSource = new File(...)
            stateChange = { providerState ->
                if (providerState.name == "name1") {
                    doSth1()
                } else if (providerState.name == "name2") {
                    doSth2()
                }
            }
        }

I have still the questions :)

Is there a better method to present the result?
Is there a better way to handle stateChanges?
How to set pactSource to a directory?

I have updated the examples in README. If you want to see how to use the verifier, have a look at the other implementations. The JUnit HTTP target and Gradle verify task might be good ones to look at.


[Branch Error] "Branch User Session has not been initialized" and "Missing session items!"

I'm having issues using SDK version 0.11.9.  It appears that the init block now has to finish before any other branch calls can be made.  We've been using the SDK for several months now without issue, but this latest SDK seems to have different expectations.
Currently we call initSessionWithLaunchOptions: as one of the first things in application: didFinishLaunchingWithOptions:, but we do so in a non-blocking manor where the UI is built and other services are initialized while the Branch init is finishing.  We may call setIdentity: before initSessionWithLaunchOptions: has finished for example.  We typically call it again later to confirm.
With this latest SDK, we're now getting errors on the console like: "Branch User Session has not been initialized" and "Missing session items!".  It's a fairly large restructuring of our code to adjust to wrapping the start of the entire app within the branch call in a blocking manor.
Can you explain why this change was made if it is indeed on purpose, or is this perhaps an unintended bug recently introduced?  We ran into similar issues several months ago where we were calling userCompletedAction: before init had completed and found similar issues, thus had to comment out that piece.  It was our understanding that you were going to add better handling to the SDK to ensure the init was completed instead of throwing these errors.  We also discussed providing an isInitialized method which could be called to check if Branch is ready for additional commands or not.  This would likely be the easiest fix of all, as it would be easy for us to check this flag before making additional calls.  We've run into similar issues with the Javascript SDK, which really needs this call as well.
Please let me know your thoughts on how to best address this ASAP.  We're looking to take advantage of the new Universal links and are thus trying to use the latest SDK, but we're blocked on this issue.

@jschwendt you can safely revert to 0.11.8. This was not intended. We'll investigate and then cut a new release if necessary. Thanks for letting us know.

@jschwendt I'm trying various scenarios and I'm unable to trigger this. Could you turn on setDebug and send us the logs? In the meantime, we'll revert the change that we believe is causing this.

@jschwendt we've removed the recent change made to this code. Please try 0.11.10.
Also, can you send us (via<EMAIL_ADDRESS>if you'd prefer to to not have this public)

the last version of the SDK you're using
the location of the calls to setIdentity -- inside which methods on the app delegate and view controller(s)
your implementations of application:didFinishLaunchingWithOptions: and application:openURL:sourceApplication:annotation:
the logs for the first 10 seconds of your application running, scrubbed of any private keys or otherwise private information.

We just removed a fix for a race condition that works for some partners. We want to test that fix with you and reach out to a few other partners to have them test. Sorry for the headache -- we never want to make breaking changes, certainly not unannounced.

Thanks for the quick reply @derrickstaten!  I tried 0.11.10 and see no change in behavior unfortunately.  I'm calling initSessionWithLaunchOptions: and then immediately thereafter calling setIdentity before the init callback has completed.  Thus I'm guessing we're running into issues.  Because the call to setIdentity calls getInstance before it's inited, I see [self initUserSessionAndCallCallback:NO]; being called.  I think you need to add a self.isInitializing flag, which will handle these race conditions.  Currently you're only tracking if initialization is complete.  By blocking or queuing secondary requests while initializing, we can ensure things complete in the correct order.  Let me know if this helps or not.  If not, I'll send you an email to support with more info.  I'm not at liberty to share my code, but I can do a screen sharing session if necessary.

@jschwendt that's the only recent change to initialization. Can you tell us what version you were on before that worked?
If we could do a screen sharing session and you can show me the code, that'd be great. I'm sending you an email now.

This is fixed -- a bug in 0.11.8 introduced this briefly.


Decreased peer unavalibility timeout

Related to #1415.

PR is added to the queue for testing as 2. task. (776a567)

Test 94622011 (776a567) build started.

Test (Fail) 94622011 build is completed (776a567)
See https://github.com/ThaliTester/TestResults/tree/94622011776a567_Decreased_peer_unavalibility_timeout_andrew-aladev/ for the logs


Refactoring OSM Data

return route object
make it possible to calculate new routes without resetting the graph data

this should be resolved by the error handling ticket


how to  initialise  ActionsSdkClient()  with access_token

is there any way to initialise ActionsSdkClient  like this?.
const actionsSdkClient = new ActionsSdkClient({access_token:"##########################"});

You cannot provide solely the access_token. The ActionsSdkClient can take an optional options object that accepts several client fields that you might get from authenticating a client. There is a Creating the Client Instance guide that goes into a bit of detail about each field.


Deleting iam_group should detach the polcicies first

Without detaching the policies attached to a group, the API will not cleanly delete the group.

https://github.com/puppetlabs/puppetlabs-aws/pull/343

This has been completed.


Unpin setuptools

Description
Unpins setuptools so the latest version can be installed.
Issue link (if applicable): #2021
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[ ] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

Some context: the pinning was added in #1950.
The root cause seems to be resolved:
https://github.com/pypa/setuptools/issues/3693#issuecomment-1325363410

LGTM. Perhaps we could also pin a lower version to make sure it installs on all systems, as anyone requiring more recent versions (e.g. because of vulnerabilities) would not be blocked by having a loose lower bound. I looked at the logs of the Mac/3.7 build but it did not say which version was installed, presumably it used an already installed version.

I removed the upperbound so this shouldn't be an issue right?

LGTM. Perhaps we could also pin a lower version to make sure it installs on all systems, as anyone requiring more recent versions (e.g. because of vulnerabilities) would not be blocked by having a loose lower bound. I looked at the logs of the Mac/3.7 build but it did not say which version was installed, presumably it used an already installed version.

I removed the upperbound so this shouldn't be an issue right?

@SteveDiamond yes, exactly. Just saying we could also put the lower bound that also works with MacOS/3.7 for example. But fine for me as is 👍


All models are rendered in the sql compiled (although only one model needs to be rendered due to the select tag in  DbtTaskGroup)

Great work with adding the sql compiled rendered template in this PR (https://github.com/astronomer/astronomer-cosmos/pull/268) !
I found a small issue with it when running this:
    some_tg = DbtTaskGroup(         group_id="some_tg",         dbt_project_name="some_project",         dbt_root_path="/usr/local/airflow/dbt",         conn_id=dbt_snowflake_conn_id,         select={             "configs": ["tags:some_tag"],                 },         dbt_args={             "dbt_executable_path": "/usr/local/airflow/dbt_venv/bin/dbt",             "db_name": DB_NAME,             "schema": SCHEMA_NAME,         },     )
All models are rendered in the sql compiled (also models without the tag selected - which is selected properly when rendering the DbtTaskGroup)
Here are the set up details:
requirements.txt -> astronomer-cosmos[dbt-snowflake]==0.6.6 (must be in general directory for cosmos.providers.dbt.task_group to work)
dbt-requirements.txt -> astronomer-cosmos[dbt-snowflake]==0.6.6 (for the dbt_venv)
w

Hey @eldan-dario, I'm unfortunately unable to replicate this. It sounds like dbt is compiling all your SQL when just running one model, which is odd. Are you able to create a reproducible example? If you can put a simple project where this happens in a public repo, I can dig into it and figure out how to fix it.

Hey @jlaneve , you're right. While I started creating a replicate of this issue, I found the reason for the rendering of all models under compiled_sql in the rendered templates tab - if user runs dbt compile and a target/compiled dir is created, it seems that all models are rendered under compiled_sql. Once I removed this directory it solved the issue and rendered the correct compiled .sql.

Ah interesting, so you had already run dbt compile? I can definitely add logic to make sure this case gets handled automatically in the future!

Hey @jlaneve , you're right. While I started creating a replicate of this issue, I found the reason for the rendering of all models under compiled_sql in the rendered templates tab - if user runs dbt compile and a target/compiled dir is created, it seems that all models are rendered under compiled_sql. Once I removed this directory it solved the issue and rendered the correct compiled .sql.

Ah interesting, so you had already run dbt compile? I can definitely add logic to make sure this case gets handled automatically in the future!

Yes, but this was run on local development for testing compilation before deploying project to prod.
But, because this directory is ignored (.gitignore), then I didn't put much notice to it in the general solution. Just trying to reproduce this issue in a mock up project helped me identify the issue of the existence  of this directory and it's affect on the compiled_sql feature.

Hi @eldan-dario! I think I just stumbled upon this same issue testing out cosmos with a sample 3-model dbt project. I was performing dbt compile in the Dockerfile, but removed it and still have the same issue. Details/screenshots here:
https://apache-airflow.slack.com/archives/C059CC42E9W/p1685412115967119


[R TST] Set up R Travis Environment

Resolved some namespace issues but haven't fixed everything yet. Will start a separate PR later.

Some comment:

Please change sudo back to false

Let us only do osx build on R

Consider upgrade the roxygen to 5.0.0, so the roxygen message won't be duplicated and we won't touch so many Rd files.
Please do a squash of the recent commits so the updates on Rd files don't need to be touch

@tqchen Fixed according to your comments. Sorry about the roxygen thing. I am using my old mac and I forgot to update it.

You want to uncomment the r_task grid to open the build.

Yes but I still need to fix the error during final installation step. I will work on it later along with other more robust test cases in a separate PR.

OK, this is merged. cc @thirdwing


Bad pod commandline causes feedback loop

I started a replication controller with 1 replica.  The commandline was bad, so the container exited immediately.
Kubelet started the net container successfully, then started the app container, which died.
'kubecfg list pods' showed the pod as terminated, so replication controller started a new one.
Loop forever.  Each minion had 100+ "pause" containers, and 'list pods' showed hundreds of terminated pods.
a) Why did the pod show up as terminated?  If it was being restarted by kubelet, it should have show up as running...
b) If it was terminated, why did nobody  (e.g. replication controller) actually remove it?

The issue should be fixed a while back:
a) Pod should show up as RUNNING, not TERMINATED anymore
b) Pod in crashing loop should be detected and removed by controller, which was filed as a separate issue. I am closing this one.


Three suggestions for firmware update

Based on the experience posted on #11, please find three suggestions:

Provide manual procedure with amebad_image_tool along the procedure relying on the Python script ambd_flash_tool.py.
Ensure ambd_flash_tool.py checks that amebad_image_tool actually runs and completes the job.
Provide a progress bar, as the process is rather slow and may take up to 2 minutes.

@rei-vilo  Thank you for your suggestion, our current focus is still on the optimization of the core software, it would be great if someone could provide a PR based on your suggestion.

@rei-vilo  Thank you for your suggestion, our current focus is still on the optimization of the core software, it would be great if someone could provide a PR based on your suggestion.


CAPVCD documentation

This change is

config/manager/kustomization.yaml, line 10 at r1 (raw file):

  - name: vcloud-basic-auth
    literals:
      - username=clusteradmin

I think this change was un intended?

docs/VCD_SETUP.md, line 18 at r1 (raw file):

    * Organization VDC > Create a Shared Disk
    * vApp > Preserve all ExtraConfig Elements during OVA Import and Export
    * General > Manage Certificates Library

I have also noticed that General > Administration control is required. This will enable the user to access the Administration tab in VCD UI. Without this, the user won't be able to add certificates the certificates library

docs/VCD_SETUP.md, line 21 at r1 (raw file):

### Upload TKGm template
Upload the TKGm ovas using either VCD UI (or) `cse template upload` of CSE versions greater than or equal to 3.1.1

I think the command is cse template import
Code quote:
cse template upload


FEM sphere freespace

Short summary of changes / additions
(summary here!)
A few details:

(detail 1)
(detail 2)

Suggested reviewers:

[ ] @(github-name)
[ ] @(github-name)

Before merging: please run a spell check through your documents!

@dccowan : can you take a crack at resolving the merge conflicts (eg. merging master into this branch)? If you run into issues, we can meet up tomorrow and take care of it. Thanks!

I think I was able to resolve conflicts and merge properly. Let me know if
there were any problems.
Devin
On Tue, Sep 27, 2016 at 10:04 PM, Lindsey Heagy<EMAIL_ADDRESS>wrote:

@dccowan https://github.com/dccowan : can you take a crack at resolving
the merge conflicts (eg. merging master into this branch)? If you run into
issues, we can meet up tomorrow and take care of it. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ubcgif/em/pull/194#issuecomment-250072474, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMXoGTisMGtDa6Fl4eei4yASBSbZrmGtks5qufVwgaJpZM4JJ5_j
.

It looks like the merge conflict has been resolved, however the tests are failing: https://travis-ci.org/ubcgif/em/builds/163500713. Could you work through and resolve these issues?
Thanks!


Uptest family providers

Description of your changes

Depends on: https://github.com/upbound/build/pull/241
Currently when an e2e test is triggered in upbound/provider-aws, the test is run with the monolithic provider (upbound/provider-aws) package built from the feature branch.
This omits the family resource providers (not a problem from the resource configuration validation perspective because both the monolith and the corresponding resource provider utilize the same resource configuration) but the built family resource package itself is not tested).
Another issue that's the main motion of the proposed changes in this PR is that the number of CRDs installed with the monolithic package cause noise in the tests (pod restarts, timeouts at various levels, etc.).
This PR proposes to switch to the family resource providers when running uptests in this repo.
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Tested locally by running:
...
export UPTEST_EXAMPLE_LIST="examples/iam/role.yaml,,examples/iam/user.yaml,,examples/iam/policy.yaml,,examples/ec2/vpc.yaml,"
make e2e

Note: Common dependencies in the above example manifest list may cause testing issues unrelated to this PR. cc. @turkenf, who also confirmed similar findings with the dependencies. We've long been discussing a shared catalog of dependencies from which dependencies can be injected into the dependent example manifests with the help of an uptest preprocessor. This is not in the scope of this PR as mentioned.

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml,examples/iam/role.yaml"

/test-examples="examples/ec2/vpc.yaml,examples/sfn/statemachine.yaml"


[Error][Step 08]  Firebase Cloud Functions

Hi, after deploying the cloud functions using firebase deploy --only functions, I'm seeing the following errors in the console for the application when I refresh the browser on step 8 of Firebase Cloud Functions:
[Error] Failed to load resource: the server responded with a status of 404 (HTTP/2.0 404) (init.js, line 0)
[Error] [DEFAULT]: Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app).
o (firebase.js:28:4744)
e (firebase.js:28:3155)
checkSetup (main.js:316)
FriendlyChat (main.js:20)
onload (main.js:324)
Setup:
macOS 10.12.4
Safari 10.1

Can you check that you have a file called /__/firebase/init.js being served? You need to be running firebase serve or deploy your app with firebase deploy to see it on your browser. If it;s there can you paste what's iniside that file here?

Here's the code for the project that one is asked to download in step 2 for this codelab:
codelab code for starter project
Next, there's no init.js file within the starter and completed code directories.  Furthermore, we are asked to deploy the web application in step 5 using firebase deploy and deploy the functions in step 8 using firebase deploy --only functions.

The /__/firebase/init.js files are not checked-in and part oft he repo. They are automatically available when you serve the code of you project locally with firebase serve and when deploying your project using Firebase hosting after a firebase deploy. Here is an example on my project: https://friendlychat-1234.firebaseapp.com/__/firebase/init.js
Could you point to the project where you are getting the error?

closing for inactivity


drishti_gltest -> aglet

The drishti_gltest context creation has been branched to a new tiny hunter package for portable OpenGl context creation.  This will pair with gauze to support automated opengl gpgpu testing on mobile + desktop platforms in both drishti and ogles_gpgpu.
An initial package has been created here:
https://github.com/elucideye/aglet/tree/master/lib/aglet

Done: https://github.com/elucideye/drishti/pull/485


refactor(storage): refine scan interface of Keyspace

What's changed and what's your intention?
Removed original scan.
Renamed scan_strip_prefix to scan, and all reference to the original scan will refer to this function.
Strip prefix of the returned values of scan_with_start_key.
Please explain IN DETAIL what the changes are in this PR and why they are needed:
Same as above.

Summarize your change (mandatory)
Refractor two functions so that the parameters and returned values of the exposed scan and scan_with_start_key will not contain prefix of the keyspace.

Checklist

[x] I have added necessary unit  tests and integration tests

Refer to a related PR or issue link (optional)
#1989

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.clearlovewei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Could you please also resolve the conflicts?

Could you please also resolve the conflicts?

done

Thanks for the PR. Please run risedev check for linting and fixing format issues. https://github.com/singularity-data/risingwave/blob/main/CONTRIBUTING.md#lint

Thanks for the PR. Please run risedev check for linting and fixing format issues. https://github.com/singularity-data/risingwave/blob/main/CONTRIBUTING.md#lint

resolved and all check passed, thanks.

Thanks for the PR. Please run risedev check for linting and fixing format issues. https://github.com/singularity-data/risingwave/blob/main/CONTRIBUTING.md#lint

resolved and all check passed, thanks.

Thanks for the PR! Merged.


Switch to using cfa-actions/post-artifact for artifact posting on PRs

@gvegayon if you can prepare a PR I can review.


error message pops up when not using all interfaces

The error message pops up whenever the app goes on bus but doesn't have the second channel enabled.
Steps to reproduce:

plug in a multi-channel HW
Select only the first channel of the HW in the app
go on bus

I could not reproduce the issue so far.

Still present in 4.3.3.
Steps to reproduce with D5035-01:

Start the application
Select the channel dialog
Deselect channel 2 by means of the checkbox
Select channe1 (click on the line)
Select "Adjust bit timings"
Click on apply

Now I could reproduce the issue. It does not occurr in a debug build so I dif not find it before when I used debug builds only. There seems to be some race condition which I have to find. In progress ...

Should be fixed in version 4.3.4 on master branch.
The thread of the disabled channel was running without any delay so causing heavy CPU usage and making thread stopping difficult.

Looks good in 4.3.4


Why do I always receive this error?

06/10 04:20:45PM INFO Starting new twitter stream with 1 terms:
06/10 04:20:45PM INFO   [u'data']
06/10 04:20:51PM ERROR Twitter returned error code 420
06/10 04:21:04PM WARNING Stream exists but isn't running
06/10 04:21:04PM INFO Receiving tweets at 0.0 tps
06/10 04:21:04PM INFO Restarting stream...
06/10 04:21:04PM WARNING Stopping twitter stream...
06/10 04:21:05PM INFO Starting new twitter stream with 1 terms:
I got this error at beginning the program starting to run. After couple of minutes, it can print the data. If I interrupt and restart the program, the error comes back.

You can find descriptions of the error codes here: https://dev.twitter.com/overview/api/response-codes
420 implies that you are being rate limited. There are various reasons this can happen - perhaps your account is being used for some other Twitter API activity at the same time. Does it work better if you try a more specific query (something more specific than "data")? I haven't worked with the Twitter API recently, so I can't really offer more help than that.


bug: Prettier strips trailing commas in default generated index.tsx NextAuth function

Provide environment information
System:
OS: macOS 13.3.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 3.40 GB / 32.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.19.3 - /usr/local/bin/npm
pnpm: 8.6.5 - /usr/local/bin/pnpm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Describe the bug
Basically the prettier configs are mismatched between the project & the generated app. If you create a project with NextAuth enabled, the below snippet will get generated and prettier will immediately strip the trailing newline. This is happening because the prettier config in the project includes trailingComma: "all", but the generated project does not. I think you'd either want to make this file allow trailing commas in the generated project OR add trailingComma: "none", to this
function AuthShowcase() {
  const { data: sessionData } = useSession();

  const { data: secretMessage } = api.example.getSecretMessage.useQuery(
    undefined, // no input
    { enabled: sessionData?.user !== undefined },
  );

Reproduction repo
N/A
To reproduce
Create any app with NextAuth enabled and run prettier on the generated index.tsx file.
Additional information
No response

This is a bit of a nit-pick but the generated app was so close to being perfect, I thought I'd see about fixing it :)


Configure azure pipeline

Pipeline configuration for builds

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


Always z-index or Multiple task

Hi,
I sorely needed that the z-index works properly using the cssnano processors option in "watch" or at least that it can use 2 sub-tasks of postcss: a development one that excludes cssnano during the watch and another one (production) that includes that when I don't use watch.
Can You help me, please?
Tnx in advance and regards.

No one?

I've just had issues with z-index. Here is what my grunt file looks like with cssnano safe option set to true (doesn't "fix" your z-index).
    ```

postcss: {
options: {
map: true, // inline sourcemaps
processors: [
require('pixrem')(), // add fallbacks for rem units
require('autoprefixer')(), // add vendor prefixes
require('cssnano')({ "safe": true }) // minify the result
]
},
dist: {
src: 'css/style.css',
dest: 'style.css'
}
}

I resolved to exclude completely cssnano in postcss task, leaving the task to minimize to another package, only in "production".


Chart shows both 23:00 and 00:00 timestamps for dates occuring after DST-boundary change

Since daylight savings came into effect here, I notice that this chart is showing this saw-tooth graph, where each day has 2 data points. The proper data point is at 00:00, and the zero data point is at 23:00. This has repeated for each day.

I notice this is occurring only in my production instance of Counterscale (counterscale.dev), and not locally.
I'm guessing these are more TZ-related issues like #107 that are caused by the server guessing the timezone (from Cloudflare headers).

Before fix (notice the sawtooth pattern):

After fix:


Missing French "œuf" => "oeuf" (O+E ligature)

References:
https://en.wikipedia.org/wiki/Œ
https://en.wiktionary.org/wiki/œuf
Mappings:
https://github.com/diacritics/database/blob/dist/v1/diacritics.json

I noticed it is also missing from https://github.com/sindresorhus/transliterate/blob/master/replacements.js

Thanks for submitting. A PR is highly appreciated.


When slider is in scrollView, slider doesn't work properly

please check below video:

I have published <IP_ADDRESS>-SNAPSHOT version that contain a fix for this bug.

thank you ;)
On Wed, Jul 29, 2015, 21:34 Rey Pham<EMAIL_ADDRESS>wrote:

I have published <IP_ADDRESS>-SNAPSHOT version that contain a fix for this bug.
—
Reply to this email directly or view it on GitHub
https://github.com/rey5137/material/issues/206#issuecomment-126019749.

Has this been fixed? I still can't seem to drag sliders in a scroll view.. they move a few notches and lose focus.


[BUG] If the interface IP changes Microshift stops working

What happened:
The openshift-api api endpoints are created based on the existing IP address when microshift starts,
if the IP changes, the kubernetes controller can't connect to the endpoint, and starts failing.
What you expected to happen:
Microshift should have recognized the IP change and updated the endpoints, or used a VIP for the API purposes.
How to reproduce it (as minimally and precisely as possible):

Assign an IP address to the MicroShift host
Start MicroShift
Change the IP address
MicroShift stops working
restart MicroShift
MicroShift still not working

workaround:

list endpoints: oc get endpoints -A
identify endpoints with the wrong (old) IP adress
oc edit  the endpoints and change to new ip adress
systemctl restart microshift


Add Slide-seq and ExSeqMinimal to hdash

Add support for Slide-seq manifests to hdash. New metadata tables are available from HTAPP: https://hdash.website-us-east-1.linodeobjects.com/HTA1.html
Component names:

Slide-seqLevel1
Slide-seqLevel2
Slide-seqLevel3

The new ExSeqMinimal template can be validated in the same manner as OtherAssay

thanks @clarisse-lau this is now done and deployed.


Use target in logs and not host

Avoid conflicts with Splunk host value

Codecov Report

Merging #1 into master will not change coverage by %.
The diff coverage is 62.50%.

@@           Coverage Diff           @@
##           master       #1   +/-   ##
=======================================
  Coverage   73.57%   73.57%
=======================================
  Files           3        3
  Lines         193      193
=======================================
  Hits          142      142
  Misses         46       46
  Partials        5        5

Impacted Files
Coverage Δ

collector/collector.go
83.78% <57.14%> (ø)

ssh_exporter.go
45.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Adjust sample jsons for AddressEx usage

In the sample json it still uses the address string directly, but AddressEx is now used and this should be reflected in all json samples

This will be addressed in a larger effort in #500


Add missing roles

Signed-off-by: nhcarrigan<EMAIL_ADDRESS>While exploring the role-adding feature in the Discord server, I discovered that I couldn't add the node role to myself. A bit of digging suggests that it was missing from the selfAssignableRoles config, so I've added it in (as well as the two other tech-based roles I saw were missing).

thanks @nhcarrigan and @AllanRegush 👍


atan incorrect evaluation

Using the settings:
    DDMathEvaluator *evaluator = [[DDMathEvaluator alloc] init];
    evaluator.usesHighPrecisionEvaluation = YES;
    evaluator.AngleMeasurementMode = DDAngleMeasurementModeDegrees;

Evaluation of atan(1) results in 45.19097... and not 45.
Reproducible using the demo provided in DDMathParser and adding the lines highlighted.

Closing, since the high-precision mode is no longer available in DDMathParser.


File download progress

Is there a way to find a file's download progress?  I've posted a question that could be related--I know that if I know all the blocks associated with a file that I could listen for the piece-indexes emitted by engine.on('download'), but I was wondering if torrent-stream has a built-in method for finding a file's download progress.

#71 doesn't explain that, the code is moved somewhere else. Anyone got news on that related topic?!

I use
var fileStart = file.offset;
var fileEnd = file.offset + file.length;
const pieceLength = engine.torrent.pieceLength;
var firstPiece = Math.floor(fileStart / pieceLength);
var lastPiece = Math.floor((fileEnd - 1) / pieceLength);

const file_pieces_progess = Array.from(engine.bitfield.buffer)
	.map(n => n.toString(2))
	.join("")
	.split("")
	.slice(firstPiece, lastPiece - firstPiece);

const downloaded_file_pieces_amount = file_pieces_progess.filter(n => n == 1)
	.length;
const total_file_piceces = lastPiece - firstPiece;
console.log(
	`Downloaded ${(downloaded_file_pieces_amount /
		total_file_piceces *
		100
	).toFixed(2)}% @${prettyBytes(engine.swarm.downloadSpeed())}/s`
);

and add it to engine.on("verify", ...)
I'm 100% sure there's a more efficient way to do this, but at least that's where the necessary data is

@kuba-orlik This doesnt seem to work for resumed downloads


Fix incremental Gatsby builds when an existing cover image changed

I accidentally introduced this regression with #1053 (sorry!)
If we copy the File node properties when creating a CoverImage node, it will cause the childImageSharp property to be missing only on incremental builds and when the image source was modified.
You can see how it created a build failure on #1074
We may require a full Gatsby cache clear along with this PR merge so that all CoverImage nodes get recreated with the required properties only.
EDIT: I believe it was specifically because we were copying the File node's children property into the CoverImage node. I've made our createDefaults() function safer so it never copies the internals of one node to another.

Looks great, thank you for catching this!

@shiffman don't forget to clear the Netlify cache!

We may require a full Gatsby cache clear along with this PR merge so that all CoverImage nodes get recreated with the required properties only.

Yes, it's happening as we speak, thank you!!


Hide SSO Provider URL

ISSUE TYPE

Improvement Request

COMPONENT NAME

UI

CLOUDSTACK VERSION

4.15.x

CONFIGURATION

SSO active
OS / ENVIRONMENT

N/A
SUMMARY

As soon as SSO is active, the IDP URL is visible in the selector as item. it would be nice, to get an alias for it to mask it and also for a cleaner display
STEPS TO REPRODUCE

Configure SAML IDP that the SSO selector becomes visible on the login page

EXPECTED RESULTS
SAML IDP has option for an alias to display this instead of the url, i.e. saml2.idp.name. If not set, the url will be displayed as today

ACTUAL RESULTS

SAML IDP is listed as URL

In the configured xml, this can be fixed with the appropriate name - pl check, test if a file based idp Metadata can be used with custom name.

Thanks @rhtyd - @ngrosc does it fix the issue?

Hi Guys
Just tested it, and it's working like a charm.
Thanks Rohit for the hint!
Best Regards
Christian
Am Di., 14. Sept. 2021 um 05:59 Uhr schrieb Nicolas Vazquez <
@.***>:

Thanks @rhtyd https://github.com/rhtyd - @ngrosc
https://github.com/ngrosc does it fix the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/cloudstack/issues/5418#issuecomment-918778177,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBOIGNDNRHOSUKI5HNRZNLUB3CCLANCNFSM5DUGSVIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@ngrosc Great, let's close this on your remark


avldrums.lv2: 0.3.0 -> 0.3.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build avldrums.lv2

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: avldrums.lv2
Partial log (click to expand)
Cannot nix-instantiate `avldrums.lv2' because:
error: attribute 'avldrums' in selection path 'avldrums.lv2' not found

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: avldrums.lv2
Partial log (click to expand)
Cannot nix-instantiate `avldrums.lv2' because:
error: attribute 'avldrums' in selection path 'avldrums.lv2' not found

@GrahamcOfBorg build avldrums-lv2

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: avldrums-lv2
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: avldrums.lv2
Partial log (click to expand)
Cannot nix-instantiate `avldrums.lv2' because:
error: attribute 'avldrums' in selection path 'avldrums.lv2' not found


Image element support

Related to #11

Possible improvements: add drag support and open popup after drop.


[MXNET-10896] [MXNET-10901] Fix test_sparse_mathematical_core sensitivity to scipy v1.1

Description
On scipy v1.0, psi([0, -1, -2, -3, ...]) = [ inf, inf, inf, inf, ...]
On scipy v1.1, psi([0, -1, -2, -3, ...]) = [-inf, nan, nan, nan, ...]
The test_sparse_mathematical_core test uses psi(0) and so began failing when public servers started offering scipy v1.1 (with its alternate behavior) by default.  Here we map the behavior of v1.1 psi() to that of v1.0 for ints <= 0 for consistency and to match the MXNet operator behavior, which returns inf for these cases.  The proper behavior of psi at locations that are discontinuities of the related gamma function is debatable and likely of little practical consequence.
I also modified the check for scipy import failure to be cleaner and consistent with other similar scipy imports (e.g. in test_sparse_ndarray.py).
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[X ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[X ] Changes are complete (i.e. I finished coding on this PR)
[X ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[X ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[X ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

A search for scipy in the MXNet repo shows many pip installs that don't set the version number, particularly in the examples docs.  I think it better to be immune to the varying scipy behavior than be stuck using v1.0 forever, plus have to handle false bug reports from users that have mistakenly upgraded to v1.1.

Sorry, on the phone right now. It's in CI/docker/install and then in CentOS
and Ubuntu Python
Dick Carter<EMAIL_ADDRESS>schrieb am Mi., 16. Mai 2018, 21:52:

A search for scipy in the MXNet repo shows many pip installs that don't
set the version number, particularly in the examples docs. I think it
better to be immune to the varying scipy behavior than be stuck using v1.0
forever, plus have to handle false bug reports from users that have
mistakenly upgraded to v1.1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mxnet/pull/10961#issuecomment-389644489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARxB63NPnFWWsCz4jK0Aa_hXgI1zjPqdks5tzIONgaJpZM4UAcK9
.


In remit list of public application data

[ ] Add a stream field checkbox that can be added to application forms to consent to be shown on a public list.
[ ] Add a checkbox to all fields that mark it as public. It should automatically add a help text that say that this field is public and add a social class to the field to make it easy to style.
[ ] Add a new view that list all applications that max 12 month old, are in remit and where the content checkbox above has been checked. It should show the application title, e-mail address and the public fields. Maybe a table like submission/all where extra information are hidden in a fold out section. No link to detail pages, all info only on this view directly. Possible to filter and search the table. Admins, staff and any author of an application listed should be able to view.

@danblah Anything I missed?

https://github.com/OpenTechFund/hypha/issues/1934


Empty project

This is trash 💩

This project is trash, it does not have any content.