deleteDatabase not working under Lollipop

I think this call is actually never made in the current iosched version, but since I am using the same method in another app and ran into this issue I tried to make the same call in the iosched app.
context.getContentResolver().delete(ScheduleContract.BASE_CONTENT_URI, null, null);

this works in pre API 21 but results in this under Lollipop:
11-12 16:33:52.187    2312-2312/com.google.samples.apps.iosched D/iosched_ScheduleProvid﹕ delete(uri=content://com.google.samples.apps.iosched<EMAIL_ADDRESS>11-12 16:33:52.187    2312-2312/com.google.samples.apps.iosched D/AndroidRuntime﹕ Shutting down VM
    --------- beginning of crash
11-12 16:33:52.188    2312-2312/com.google.samples.apps.iosched E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: com.google.samples.apps.iosched, PID: 2312
    java.lang.UnsupportedOperationException: Unknown uri for -1: content://com.google.samples.apps.iosched
            at com.google.samples.apps.iosched.provider.ScheduleProvider.buildSimpleSelection(ScheduleProvider.java:749)
            at com.google.samples.apps.iosched.provider.ScheduleProvider.delete(ScheduleProvider.java:555)
            at android.content.ContentProvider$Transport.delete(ContentProvider.java:309)
            at android.content.ContentResolver.delete(ContentResolver.java:1299)

it looks like the uri parsing is causing the issue.
The passed uri is "content://com.google.samples.apps.iosched" which is exactly the ScheduleContract.BASE_CONTENT_URI but the statement to delete the database is never reached in the ScheduleProviders delete method.
    @Override
    public int delete(Uri uri, String selection, String[] selectionArgs) {
        String accountName = getCurrentAccountName(uri, false);
        LOGV(TAG, "delete(uri=" + uri + ", account=" + accountName + ")");
        if (uri == ScheduleContract.BASE_CONTENT_URI) {
            // Handle whole database deletes (e.g. when signing out)
            deleteDatabase();
            notifyChange(uri);
            return 1;
        }

How did you build it..., i have a fail like this
Error:(346, 5) error: method does not override or implement a method from a supertype
Error:(348, 29) error: cannot find symbol method setBatchPath(String)
The Error is occurred a file named Cms.java, and the code snipe of Cms.java as below:
@Override
public Builder setBatchPath(String batchPath) {
  return (Builder) super.setBatchPath(batchPath);
}

could you help me to build this app? thanks

Obsolete


Inconsistent Parameter Order for Agents

Describe the bug
The order of constructor parameters in the agents is not consistant.
Examples:
Agent(self, policy, mdp_info, features=None)
DeepAC(self, policy, mdp_info, actor_optimizer, parameters)
A2C(self, mdp_info, policy, critic_params, **alg_params)
BlackBoxOptimization(self, distribution, policy, mdp_info, features=None)
Expected behavior
I would expect parameters to have the same order and positioning like in its superclass, where ever possible.
Examples:
Agent(self, policy, mdp_info, features=None)
DeepAC(self, policy, mdp_info, actor_optimizer, parameters)
A2C(self, policy, mdp_info, critic_params, **alg_params)
BlackBoxOptimization(self, policy, mdp_info, distribution, features=None)
System information (please complete the following information):

Mushroom version 1.2.0

Fixed in dev branch.


[SPARK-19254][SQL] Support Seq, Map, and Struct in functions.lit

What changes were proposed in this pull request?
This pr is to support Seq, Map, and Struct in functions.lit; it adds a new IF named lit2 with TypeTag for avoiding type erasure.
How was this patch tested?
Added tests in LiteralExpressionSuite

Test build #71473 has started for PR 16610 at commit 6a02490.

Since spark possibly supports comparable MapType in future (#15970), it might also needs to support this type in functions.lit. However, Since I exactly know that adding new IFs is much arguable, anyone gives me some insights about this?

Test build #71473 has finished for PR 16610 at commit 6a02490.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

@hvanhovell Could you give me some insights?

Test build #72652 has started for PR 16610 at commit ca2e07f.

Test build #72659 has started for PR 16610 at commit 8d26e8b.

Test build #72652 has finished for PR 16610 at commit ca2e07f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #72659 has finished for PR 16610 at commit 8d26e8b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

ping

Test build #73161 has started for PR 16610 at commit 4f65fe2.

Test build #73162 has started for PR 16610 at commit 5eeba65.

Test build #73161 has finished for PR 16610 at commit 4f65fe2.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73161/
Test FAILed.

Test build #73162 has finished for PR 16610 at commit 5eeba65.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73162/
Test FAILed.

Test build #73165 has started for PR 16610 at commit 028b19b.

Test build #73165 has finished for PR 16610 at commit 028b19b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

ping

Test build #73752 has started for PR 16610 at commit 93639d1.

Test build #73757 has started for PR 16610 at commit af2d70a.

Test build #73752 has finished for PR 16610 at commit 93639d1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #73757 has finished for PR 16610 at commit af2d70a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

LGTM - merging to master. Thanks!


Better Closing Message Text: Need pre-close Liquidity and Chan Close TXN

I woke up this morning to find a telegram alert that Kollider had force-closed our channel (even though my node was online--but they are closing up shop messily and that's an aside).

Two issues are apparent in the language of the telegram alerts:

Inbound liquidity now: 0.00000000 and Outbound liquidity now: 0.00000000
The funding outpoint is shown but not the closing transaction

Since I had only recently opened the channel and thought the liquidity was all on my side, I did some quick math and with 8M sats starting point and 7,752,952 returned on chain, the telegram alerts make it look like I lost 251,486 sats on the force close.
I had to dig around in my logs to find the channel close txn so I could see how much liquidity was on their side and calculate my cost for the closing transaction, which then turned out to be 10,907 -- much relief!
So it would be awesome if the telegram alerts could show:

The inbound/outbound at the time of close (not what it would be after close)
The closing transaction
If possible, calculate the final cost of the close transaction to our side

I think it's a little tricky to know what things were at the time of close because LND doesn't have a historical view so by the time we see that there is a close happening it's too late to really know what the liquidity was before that event fired, but maybe there is a solution
The closing transaction is also tricky because we don't always see this from the API, and it's not really decided what the channel close is going to be just at closing time: there are multiple possible close scenarios: breach, force close local, force close remote, cooperative, all of these scenarios would result in different outcomes and none of them are known at the pending stage, only the closed stage (when a close confirms)

understood. I appreciate the quick eyes on it and thoughtful consideration. Something to noodle on as things evolve :)

Yeah I think it could be improved though, it was probably made at a time when the API was less powerful and could do with another pass given new tooling to see what more can be shown


Editor selection support

In CLT we don't have ability to select desired editor

It was implemented and merged into main, export CLT_EDITOR=nano to make it work.

It was implemented and merged into main, export CLT_EDITOR=nano to make it work.

Please add this info to the docs.

Added information and updated changes with the usage of CLT action and other fixes: https://github.com/manticoresoftware/clt/commit/e03a316a9cef1f3e350ed30376bd73eac9d605c3


Change NavBar menus to match menus below

Describe the bug
The menus below the NavBar were changed and rearranged to better fit the needs of the users.  However, the NavBar menus were not changed to match.
To Reproduce
Steps to reproduce the behavior:

See that the menus below are divided into "Inventory Management" and (optionally) "System Management".  The NavBar should have the same structure except that the "Change Password" and "Logout" should be left under the user's name.
The submenus under each main menu in the NavBar should match the submenus below.
The "System Management" menu should only appear in the NavBar if the user has staff or admin access.  If the user does not have that level of access, the "System Management" menu should be hidden.
Spelling and Capitalization in the NavBar should be the same as in the menus below.

Pull request #296 solved items 1, 2, and 4.  Testing revealed that item 3 is working properly.  This issue has been closed.


Change download logic to not completely abort in certain delegation failure cases

For instance if there aren't enough signatures, or if the metadata is expired

LGTM

LGTM pending CI - documentation CI errors are unrelated


Address Client Certificate Credential Consistency Review feedback

Following changes need to be done, based on the review discussion:

[x] Update Tenant ID Validation Message
[x] Rename includeX5c param to send certificate chain.
[x]  Investigate credential behavior when scope is passed as undefined (How does the credential handle it , what error does user see?). if its appropriately handled then no action is needed.
[x] Investigate Sucess and Failure log messages and ensure they're detailed and consistent across all credentials.

Finished with https://github.com/Azure/azure-sdk-for-js/pull/11871


epm: add subtype function, support epm impilicitly and fix a bug

Support subtype to distiguish the same software with different version in  enclave runtime.
Fix an occasional crash when epm is started.
Support epm function impilicitly.

The change to CI/CD is not available. The others look good to me. @YangLiang3

The change to CI/CD is not available. The others look good to me. @YangLiang3

You need to pass all CI/CD before check in @YangLiang3

Correct. This patchset seems to block all skeleton v3 tests.

You need to pass all CI/CD before check in @YangLiang3

Correct. This patchset seems to block all skeleton v3 tests.

You need to pass all CI/CD before check in @YangLiang3

Correct. This patchset seems to block all skeleton v3 tests.
Please hold merging. some change is ongoing.

You need to pass all CI/CD before check in @YangLiang3

Correct. This patchset seems to block all skeleton v3 tests.
Please hold merging. some change is ongoing.

You need to pass all CI/CD before check in @YangLiang3

Correct. This patchset seems to block all skeleton v3 tests.
Please hold merging. some change is ongoing.

Ok, If you are ready, Please add the test-before-checkin label to test CI/CD.

You need to pass all CI/CD before check in @YangLiang3

Correct. This patchset seems to block all skeleton v3 tests.
Please hold merging. some change is ongoing.

Ok, If you are ready, Please add the test-before-checkin label to test CI/CD.

@YangLiang3 v1 and v2 are validated well, but v3 test is still failing.

@YangLiang3 v1 and v2 are validated well, but v3 test is still failing.


Processing takes longer time

Hi
We are using this library in one of the application & its awesome. We have an issue with the time required to do the processing that generate new video.
What we found is if we are taking video of 55 seconds, to generate the final video, it takes around 1:00-1:20 minutes to process & make final video.
Is there any improvement which can be used so that video can be generated within 10-15 seconds?
Please do let me know.
Thanking You,
Fahim

@timelessg  : Can you look into this.

I'm also focus this problem, handle video should be run in background thread.I will solve its on next version


How to save the video to camera roll?

How to save the video to camera roll?
Thank you!

hey @capitan91, this library is primarily for streaming video or playing files that exist locally.
if you'd like to save the file that locally exits, there's examples within the project here:
https://github.com/NextLevel/NextLevel
If you'd like to save a remote file, you'll have to download it separately, maybe multipart data request via https://github.com/Alamofire/Alamofire/ and then storing it.


Adding swagger spec for healthcareapis resource manager and examples.

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

@YazanMSFT could you take a look at my last comment?

Will do

@anuchandy net SDK is failing with an error about not being able to handle a new RP. What needs to be done to resolve this?

@YazanMSFT I'm following with .NET team on this.

\cc @shahabhijeet

sync-ed with @shahabhijeet on this. The process to onboard .NET sdks for new RP is in progress. For now we can consider it unblocked and new RPs will be manually onboarded.


Exclude files by regex from test execution

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Unable to exclude files from execution when using the regex in the CLI
What is the expected behavior?
Ability to run jest in CLI and specify test files to exclude.
The use case is usefull to distinguish between two kind of tests (suites).
For instance:
integration tests: all tests files *.inte.spec.ts
unit test all other files *.spec.ts
To run integration tests we run: jest "inte.spec"
But to run unit tests, we are not able to use regex negative lookbehind to exclude all tests ending by "inte.spec.ts".

I think it's unlikely we'll make the cli more complex by adding exclusions, it doesn't sound like a feature many people have had a need for. I'm gonna close this but happy to reopen if there is a large amount of interest to add this to Jest core.

@cpojer, Do you have any workaround to do it?


Prevent setting 'undefined' (closes #18)

closes #18

Sadly, this solution changes initial  undefined states of a form model. See here.


Fixed regular expression case-insensitive modifier

Replacer regular expressions have the form /a/b/, but the (?i) to indicate a pattern is case-insensitive needs to be part of the pattern, so prepending it to the expression is invalid.
This causes all tes3cmd modify --replace commands to fail, as the pattern is always invalid.
I've modified it to append i at the end since that's simpler than inserting it into the pattern.

Whoops, I meant to make this on the original repo. I guess I hit fork on the wrong page.


[C4GT Community]:

Ticket Contents
Description
[Provide a brief description of the feature, including why it is needed and what it will accomplish.]
Goals
Goals

[ ] [Goal 1]
[ ] [Goal 2]
[ ] [Goal 3]
[ ] [Goal 4]
[ ] [Goal 5]

Expected Outcome
No response
Acceptance Criteria
No response
Implementation Details
jsknfg
Mockups/Wireframes
No response
Product Name
feljfnw
Organisation Name
C4GT
Domain
f
Tech Skills Needed
Angular, Artificial Intelligence
Mentor(s)
flsjn
Complexity
Low
Category
Accessibility, Breaking Change

Hi. Could you please explain what needs to be done for this issue?

Hello mentor, i Would like to take up this issue.

Can you please tell what is this about?

@KDwevedi Could you please explain what needs to be done for this issue?


Signal autoupdater does not support custom install location

Scoop apps are installed into %USERPROFILE%\scoop\apps, but Signal's installer installs into %USERPROFILE%\AppData\Local\Programs\signal-desktop\. When a new version of Signal is released, after clicking the in-app update prompt, a new copy of Signal is installed into the AppData location instead of overwriting Scoop's existing copy with the new version. After updating in this way, launching Signal with the shortcut created by Scoop results in an error due to a database version mismatch.
Since Signal does not seem to support custom install locations, would it be fine if Scoop follows Signal's preferred installation path instead?

Normally you're supposed to use the in-app update if you're managing signal through scoop but signal doesn't have an option to disable auto-update.
It's been discussed here: signalapp/Signal-Desktop#2062 but there hasn't been any news about this feature in a while.


Merge objects and state Deck class

Objects Deck class is a essentially a collection of pieces when it should only be a collection of cards.

Object Deck class changes to consider:

[ ] Add full queue functionality. A deck should be able to have cards drawn from it in a particular order.
[ ] Change deck to represent a set of cards. A 'deck' shouldn't be able to contain any arbitrary game piece??

@imnnos and @sasana-uwu Review to determine how we want to move ahead.


Figure out a way to set the numeraire good

Right now it is hard coded, we need to find some way to remove the hard coded aspect of it, and then also probably provide a way for users to specify which good they want as the numeraire good. Not clear to me right now how one specifies that in the GAMS version of MPSGE.

This is no longer hard coded, but we still need to fix this.

set_fixed!([Variable], [Boolean]):
for commodities, including for indexed commodities.


How to get the current authenticated admin user id in Form field value

How to get the current authenticated admin user id in Form field value
 $form->text('created_by', 'created_by')->default(Admin::user()->id)->setWidth(3, 2);

Error:
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'App\Admin\Controllers\Admin' not found

@rajkumarForDev you must add to header
use Encore\Admin\Facades\Admin;


[feature_request] Change relevant FrankaHWSim members from 'private' to 'protected'

In our application we run custom Gazebo hardware interfaces for, e.g., adding a F/T sensor to the simulation. Right now, this means to completely re-implement the FrankaHWSim class because relevant members like robot_state_ or arm_id_ are private. Changing the access specifier to protected would allow to derive from FrankaHWSim and only implement the desired additional features.

There are others as well, for example I'd need to override the writeSim(.) method for customized simulator interaction. To this end, joints_ and joint_names_ would need to be accessible also. One could also think about interfacing different simulators such as MuJoCo (which is free now and much more stable than Gazebo). Does anything speak against simply changing the current access specifier to protected or do you see members that should be strictly private?

Hi @rtkg
we discussed a bit internally about this topic and came to the conclusion to not make the members protected. Doing this would make the members of the FrankaHWSim and FrankaGripperSim a public interface which we have to maintain. At the current time we cannot guarantee, that these members will keep their signature. Offering them to everybody would restrict future development of franka_gazebo and limit the time we can spend on other features/bug fixes.
I hope you understand. But of course feel free to fork our repo and adjust the code as you need.
Best


Cannot register new user

It's not possible to sign up a new user since the form does not supply the "saldo" value.

The saldo-value should not be possible to be set by a user other than by interacting with the deposit/withdrawal functions, so there shouldn't be a field for it in the form.
Suggestions:

Override User creation method by hooking onto a pre_save signal and setting the field to its default value there (only on creation).
Make the field nullable and set it the first time a user visits the shop (or deposits funds).
Might be a bit late for this; Create a proxy model for handling user funds rather than adding it to the user authentication model.

Why cant this field be 0 by default?

A field with a not-null constraint should always have a default value. Since this field is a balance, it should have a default of 0. It should also not be editable through any form. If in-fact an error has occurred and is confirmed by us, we, and only we should be able to alter the value of the balance (we are talking about real money, after all) by just using the shell or through a dotKom only-dashboard widget.

Fixed in 2a565367f8ee423bb828c4b6539ec26619efe3ff.


Hotkey Screen Brightness

Is there a possibility of creating a hotkey or button pressed to control brightness levels? Would be nice to adjust on the fly.
Thank you for your hard work. 😊

Hi,
Isn't the MAIN MENU displayed in this video (around 5min) able to answer your need ?
(never touched a RG351P / arkOS as of now, but if this menu is already accessible while in a game, this would also be able to allow more hardware control in the like of what you ask)

This is already possible by holding the r3 button and pressing up or down on the gamepad.  See this link for global hotkeys.  https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RG351P#q-what-are-the-global-event-keys-and-emulator-event-keys-in-ArkOS


How to add custom fonts?

[x] This is a question about using the theme.
[ ] This is a feature request or enhancement.
[ ] I believe this to be a bug with the theme.

[ ] I am using the latest version of the theme.
[ ] I have updated all gems with bundle update.
[x] I have tested locally with bundle exec jekyll build.

Environment informations

Minimal Mistakes version:
4.5.1
Jekyll version:
3.5.2
GitHub Pages hosted: yes/no
yes
Operating system:
mac os sierra

Question
I would like to add my own custom font to the minimal-mistakes template. I've added a .ttf file under ./assets/fonts/.tff and created a .css file in the same directory that contains the code:
@font-face {
    font-family: BrownFox;
    src: url("/assets/fonts/BrownFox.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
}

How can I update just a single phrase in the banner of my home page to reflect this? My fall back option is to just create a high res image of the font and upload it without any of the text (suboptimal).
Thank you so much for your continued support.

If you can target the text you want to change the font with a CSS selector should be easy enough.
You'd use that selector and add font-family: Brown fox; to it.

Hmm I'm afraid I do not know what a CSS selector is or much about HTML web coding in general besides pure basics and what can be gleaned from comments & pseudocode.
I've played a round a bit with CSS selector patterns as suggested by https://www.w3schools.com/cssref/css_selectors.asp but I haven't been able to make any progress.
Could you perhaps explain in a bit more detail? I would greatly appreciate the transmission of knowledge! Thanks :)


How to get the result

Hello,
The result you report in README is trained by faster_rcnn_alt_opt or faster_rcnn_end2end?

faster_rcnn_end2end


Is there a way to pre-fetch the sat number of the next inscription?

Hi, I'm a generative artist and I've been experimenting with a full ord node.
I was wondering if it was a way to predict the number of the satoshi that would be used in the next inscribe command.
Many thanks!

Hi, newbie here.  I would also like to know if there is any way to select a sat for the next inscription so I can display it as a part of the inscription - see my use case:  https://signet.ordinals.com/inscription/66fa8c3e2c3a564e7027ce40612f5f290de914bc474cfaf2c50f2067cdbf9966i0
From my limited understanding, SAT number could be calculated from the selected UTXO ?
Help would be appreciated.

To specify the sat you want to inscribe on you can use the --sat or --satpoint options on the ord wallet inscribe or the satpoint and sat with ord wallet batch in the modes same-sat or satpoints. Have a look at the docs here: https://docs.ordinals.com/guides/batch-inscribing.html

Thanks @raphjaph,
I'm trying to understand this for the last couple of days. To display the sat number on an inscription, I need to know it in advance. Choosing a sat with satpoint or sat is nice, but my problem is that I don't see any sats in my wallet.
bitcoind is running with -txindex, ord server is running with --index-sats, yet I see no sats listed in my wallet.
bitcoin-cli -signet -rpcwallet=ord_signet_test_wallet4 listreceivedbyaddress
[
  {
    "address": "tb1prdmef4ku2een9f052248ql9wf3wq6vtkpz48fzt8w2cpslng3qnslz7rtx",
    "amount": 0.00099878,
    "confirmations": 135,
    "label": "",
    "txids": [
      "e3b0d19e1e7cc375b61efb39ddfec97ad2329c7a5864f6a81ac5b4cb98af13c1"
    ]
  }
]

ord --signet --index-sats wallet --name ord_signet_test_wallet4 --server-url http://localhost:8080  outputs
[
  {
    "output": "e3b0d19e1e7cc375b61efb39ddfec97ad2329c7a5864f6a81ac5b4cb98af13c1:0",
    "amount": 99878
  }
]

ord --signet --index-sats wallet --name ord_signet_test_wallet4 --server-url http://localhost:8080  sats
[]

I would expect the ord wallet sat command to give me a list of sats, common and uncommon, but the list is empty.
I'm stuck :(

When you start the indexing the first time the --index-sats has to be set. If you started it initially without it then it's ignored . We should add some sort of warning here. So you'll have to delete the index.redb file and start indexing again with ord --signet --index-sats server --http-port 8080 --address localhost

#3785

Thanks, will try delting index & try again.
BTW,  I noticed ord index has an option '--update' - it would be nice if  this created the index if it was not created initially..    (?)

I don't think we have an --update option. Do you mean the ord index update subcommand?

subcommand it is :)
I have rebuilt the index as per your advice.  The ord --signet --index-sats index info command produces long output.
But the output of wallet sats command is still an empty list :(
Is the a way to run ord in a debug mode? I dont see any debug commands / options, and no logfiles produced.
ord --signet --index-sats wallet --name ord_signet_test_wallet4 --server-url http://localhost:8080  sats
[]

OK, so I worked out logging the debug output, so here it is,  same command as before,  there is a JSON-RPC error in getblockhash that pops out in the log at the bottom.  Still no sats displayed :(
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] parsed 2 headers
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] flushed 361 bytes
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] parsed 4 headers
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] incoming body is content-length (208 bytes)
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] incoming body completed
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["7bf4dd642417524da7bee9b01e3c0d32c0012524dc1becce400140be39372520",false]
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: gettxout ["7bf4dd642417524da7bee9b01e3c0d32c0012524dc1becce400140be39372520",0,true]
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["5a5b4e5214da5bb77bc49d9e556e50eacbdb0805db0a3e94507ecb72f6350499",false]
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: gettxout ["5a5b4e5214da5bb77bc49d9e556e50eacbdb0805db0a3e94507ecb72f6350499",1,true]
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["73ccfc5950eb7524bfa114a90bbd8ce70ec993dae1586bdb7950abf58062fcfd",false]
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: gettxout ["73ccfc5950eb7524bfa114a90bbd8ce70ec993dae1586bdb7950abf58062fcfd",1,true]
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] flushed 1591 bytes
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] parsed 4 headers
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] incoming body is content-length (70 bytes)
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] incoming body completed
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["7bf4dd642417524da7bee9b01e3c0d32c0012524dc1becce400140be39372520",false]
[2024-05-25T11:18:24Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["7bf4dd642417524da7bee9b01e3c0d32c0012524dc1becce400140be39372520",false]
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] flushed 982 bytes
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] parsed 2 headers
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::io] flushed 3013 bytes
[2024-05-25T11:18:24Z DEBUG hyper::proto::h1::conn] read eof
[2024-05-25T11:18:26Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockcount []
[2024-05-25T11:18:26Z INFO  ord::settings] Connecting to Bitcoin Core at <IP_ADDRESS>:38332/
[2024-05-25T11:18:26Z INFO  ord::settings] Using credentials from cookie file at `/home/btcnode/.bitcoin/signet/.cookie`
[2024-05-25T11:18:26Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockchaininfo []
[2024-05-25T11:18:26Z DEBUG bitcoincore_rpc] JSON-RPC request: getnetworkinfo []
[2024-05-25T11:18:26Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [197114]
[2024-05-25T11:18:26Z DEBUG bitcoincore_rpc] JSON-RPC error for getblockhash: RpcError { code: -8, message: "Block height out of range", data: None }
[2024-05-25T11:18:26Z DEBUG ord::index::updater] Outpoint channel closed

Ah sorry my bad, the ord wallet sats command only lists rare satoshis. If you pass in a tsv file with a list of satoshis you're looking for it will tell you if you have them in your wallet. I think we should not only list rare sats but just list all ranges of sats in a wallet. I'll open an issue for that.
As a workaround for now you could try the following:
List all outputs in wallets with ord wallet outputs
Then do ord list <OUTPOINT> for every one of those outputs to show you the sat ranges. You could probably also write a small bash script or even just pipe it smartly with jq.

#3792

Thanks, will try that, but I had issues with  ord list <OUTPOINT>,  it produced empty list.  Also, as you can run it only when server is not running, its utility is limited, as i would need a server running at all times in the production environment

Yeah, ord list is an old ccommand we haven't migrated to the new server model yet.
Which outpoint did you run the command on?

Hi,  I'm now running ord 0.19.0-dev build,  and ord list displays output correctly.
Any idea when this command will be migrated to the new server model?

It's very low priority right now because you can easily emulate that command by just doing:
 curl http://<IP_ADDRESS>:80/output/906873871102f5e54f8b8b21c8c9193f21c87c49cfc9e96ea0ae55317ddf840a:0 -H "Accept: application/json"

which returns:
{
  "address": "bc1pfg3a9kqup6r072v88dv70zzd494fnhl03k5a58vye9hwkakp7dgs3rte2e",
  "indexed": true,
  "inscriptions": [
    "906873871102f5e54f8b8b21c8c9193f21c87c49cfc9e96ea0ae55317ddf840ai0"
  ],
  "runes": {},
  "sat_ranges": [
    [
<PHONE_NUMBER>177136,
<PHONE_NUMBER>177682
    ]
  ],
  "script_pubkey": "OP_PUSHNUM_1 OP_PUSHBYTES_32 4a23d2d81c0e86ff29873b59e7884da96a99dfef8da9da1d84c96eeb76c1f351",
  "spent": false,
  "transaction": "906873871102f5e54f8b8b21c8c9193f21c87c49cfc9e96ea0ae55317ddf840a",
  "value": 546
}

I'd be happy to review a PR that makes that change though :)


Bump sbt-scoverage version

Running
$ sbt ++2.10.6 coverage test coverageReport

on the current master actually compiles the project in 2.11 :-(
That effectively made the 2.10 CI build compile the project in 2.11. Bad news: 2.10 is broken :-|

Current coverage is 80.13% (diff: 100%)

Merging #80 into master will increase coverage by 0.77%

@@             master        #80   diff @@
==========================================
  Files             8          8
  Lines           155        151     -4
  Methods         150        145     -5
  Messages          0          0
  Branches          5          6     +1
==========================================
- Hits            123        121     -2
+ Misses           32         30     -2
  Partials          0          0

Powered by Codecov. Last update 4e17fde...13364e4

@reactormonk I took the liberty to only compile the JsonCodec macro in 2.11 here, as it doesn't compile as is in 2.10 (which couldn't be detected by the CI until this PR :-| ). If you feel like adding or need support for it in 2.10, feel free to send a PR for it.


[BUG] Concatenate epochs with different electrodes order

Describe the bug
When concatenating epochs, channel order is not considered as a difference. So epochs with different channel order are concatenated without warning/error.
From _compare_epochs_infos in mne/epochs.py:
    if set(info1['ch_names']) != set(info2['ch_names']):
        raise ValueError('epochs[%d][\'info\'][\'ch_names\'] must match' % ind)

Steps and/or code to reproduce
import mne

ch_names_1 = ['EEG1', 'EEG2']
info1 = mne.create_info(ch_names_1, 250., ch_types='eeg')
data1 = np.concatenate([np.ones((3, 1, 4)), np.ones((3, 1, 4)) * 2], axis=1)

ch_names_2 = ['EEG2', 'EEG1']
info2 = mne.create_info(ch_names_2, 250., ch_types='eeg')
data2 = np.concatenate([np.ones((3, 1, 4)) * 2, np.ones((3, 1, 4))], axis=1)

epochs1 = mne.EpochsArray(data1, info1)
epochs2 = mne.EpochsArray(data2, info2)

epochs = mne.concatenate_epochs([epochs1, epochs2])

In this example, the epochs channels have inverse order. But the order kept is from epochs1. So data from electrode EEG2 gets appended to EEG1.
Expected results
A warning or an error.
Actual results
Nothing

for me it should just work.

I don’t disagree with that, as long as there is documentation. I had this doubt and I had to revise the code and make the test to check if different electrode order would make a difference or not.
As its stand now, the definition of equality between info objects is not strict.

On 27 May 2019, at 11:37, Alexandre Gramfort<EMAIL_ADDRESS>wrote:
for me it should just work.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mne-tools/mne-python/issues/6375?email_source=notifications&email_token=ABCJDA7VTMSOE5XOHJJ2A7DPXOTURA5CNFSM4HP2ETJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWJKJOQ#issuecomment-496149690, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCJDA2CJCZU3JTEA2IGZRDPXOTURANCNFSM4HP2ETJA.

do you have time to open a PR?

See these two functions: https://github.com/mne-tools/mne-python/blob/b9b2c6884dc663ef42338bdccc9e7838820b29b3/mne/evoked.py#L834
combine_evoked and the helper before.

This should fix this, right?
https://mne.tools/stable/generated/mne.channels.equalize_channels.html#mne.channels.equalize_channels

Yes, mne.channels.equalize_channels should do the job.


Can't send .png file

Log:
File "/usr/local/lib/python3.11/dist-packages/neonize/client.py", line 848, in build_image_message
    img.save(thumbnail, format="jpeg")
  File "/usr/local/lib/python3.11/dist-packages/PIL/Image.py", line 2459, in save
    save_handler(self, fp, filename)
  File "/usr/local/lib/python3.11/dist-packages/PIL/JpegImagePlugin.py", line 653, in _save
    raise OSError(msg) from e
OSError: cannot write mode RGBA as JPEG

I've fixed it, try updating the neonize library

Works, thanks!


[ENHANCEMENT] create a Windows version of the patch.exe post renderer script for Open Shift

Describe the use case:
As a DevOps I want to be able to Helm install from a Windows computer on Open Shift
We are required to adapt (hence debug) the Helm charts from a Windows workstation, for Open Shift private deployement.
For this we have to use the post renderer script
https://github.com/camunda/camunda-platform-helm/tree/main/openshift#using-a-post-renderer
Note: we can't allow the user/service account which will deploy your chart to use the anyuid or nonroot SCC.
Describe the enhancement/feature:
To create a patch.exe version of: https://github.com/camunda/camunda-platform-helm/blob/main/openshift/patch.sh
Desired outcome and acceptance tests:
Deployment will end up with properly installed Elasticsearch, Keycloak and Postgresql.

Same issue here...


WamDefaultSet : ERROR once Profile deleted

If a user profile is removed, account will not be hybrid joined to Azure. I have to sign into OneDrive before it will join (Am using folder redirection). I receive the following message from "dsregcmd /status /debug":
dsregcmd::wmain logging initialized.
DsrCmdAccountMgr::GetDefaultSsoInfo: BlockOnCompletionAndGetResults failed 0xd000000d.
ERROR IsDefaultAccountSet (hint: must run as non-elevated user) 0xd000000d
I previously got the following error in event viewer, but this does not appear to be the case anymore:
The Workstation Service logged a device registration message.
Message: AutoJoinSvc/WJInitializeWorkplaceJoin: Failed to compute automatic join task ("\Microsoft\Windows\Workplace Join\Automatic-Device-Join") initial state with status 0x80070003
As mentioned, the only fix is to manually sign into OneDrive. I then get a ticket on new logins, as the powershell command confirms. Any help is appreciated.

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

ID: b9f81d74-8dcb-e644-9647-0d1d0817f975
Version Independent ID: e249cc9d-2120-8868-dbca-bc3b85f38b4b
Content: Troubleshooting hybrid Azure Active Directory joined devices
Content Source: articles/active-directory/devices/troubleshoot-hybrid-join-windows-current.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@ctreslovehayes1
Thanks for your feedback! We will investigate and update as appropriate.

Hi @ctreslovehayes1 ,
Since this is more of a product question than a document issue, I would recommend reaching out in Microsoft Q&A for help with this question.


crypto/x509: macOS -framework Security produces link warning

See https://forums.developer.apple.com/thread/97850 for a bunch of people hitting a new link error in Xcode due to crypto/x509's use of the (apparently now deprecated?) -framework linker flag.
We could just take Merchant.Of.Satire's word for it, but it would be nice to have confirmation that we're not supposed to use -framework anymore, as opposed to some Xcode just being buggy/misconfigured/something else.
/cc @robpike who just hit this too.

This is what the full build looks like:
% ./make.bash
Building Go cmd/dist using /usr/local/go.
Building Go toolchain1 using /usr/local/go.

Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for darwin/amd64.
# crypto/x509
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
---
Installed Go for darwin/amd64 in /Users/r/go
Installed commands in /Users/r/go/bin
%

The offending invocation is in src/crypto/x509/root_cgo_darwin.go:
/*
#cgo CFLAGS: -mmacosx-version-min=10.10 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101300
#cgo LDFLAGS: -framework CoreFoundation -framework Security

...

 Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
% uname -a
Darwin blast.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

The -framework linker flag isn’t deprecated from what I can tell.
This is due to an out-of-sync Xcode/command line tools installation. You can try updating Xcode (if you’re running an outdated version) and then launch it to install the latest command-line tools.
If you already have the latest Xcode (or the above doesn’t solve your issue), you can re-install the command-line tools forcibly per http://sd.jtimothyking.com/2018/07/26/stub-file-and-library-file-out-of-sync/:
$ sudo mv /Library/Developer/CommandLineTools /Library/Developer/CommandLineTools.old
$ xcode-select --install
$ sudo rm -rf /Library/Developer/CommandLineTools.old

If this doesn’t work please re-open this bug and I’ll do more investigating.

Verified that those instructions resolved it for me.

This morning, I just upgraded the XCode and Command Line Tools (see the attached screen shot: sorry for Japanese), and then this problem appears again when I run all.bash for the tip version to rebuild everything.

update the  Command Line Tools Just now, and similar issue
# command-line-arguments
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tbd and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//DiskArbitration.framework/Versions/A/DiskArbitration.tbd and library file /System/Library/Frameworks//DiskArbitration.framework/Versions/A/DiskArbitration are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ServiceManagement.framework/Versions/A/ServiceManagement.tbd and library file /System/Library/Frameworks//ServiceManagement.framework/Versions/A/ServiceManagement are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory.tbd and library file /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS.tbd and library file /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS are out of sync. Falling back to library file for linking.
/private/var/folders/x4/qr3r88l91y960q88lyh7vlg80000gn/T/___go_build_main_go #gosetup

macOS 10.13.6 (17G65)
go version go1.10.4 darwin/amd64
After upgrade command line tools to 10.0, and upgrade xcode to 10.0:
go build a program (with CGO), got errors:
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
===
Tried fix with xcode-select --install, but the command line tools was installed as version 9.4.
Go build still those errors.  Restart machine does not work.

10.13.6（17G65）
go version go1.11 darwin/amd64
I have the same error
# crypto/x509
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.

Re-opening as per @andybons' comment

If this doesn’t work please re-open this bug and I’ll do more investigating.

+1 😭

+1

Reminder on our +1 policy https://github.com/golang/go/wiki/NoPlusOne.

Can new reporters please confirm that reinstalling the command-line tools via
$ sudo mv /Library/Developer/CommandLineTools /Library/Developer/CommandLineTools.old
$ xcode-select --install
$ sudo rm -rf /Library/Developer/CommandLineTools.old

Does NOT solve your issue?
One notable thing I do not see in my App Store update list is the command-line tools as a separate item. I updated to Xcode 10.0, launched Xcode, then said yes when it asked to install additional components.

It might be OS dependent. My Mojave laptop acted exactly as you described above (Xcode 10, nothing specific about command line tools) and Go works fine there. My High Sierra desktop offers Xcode and a new Command Line Tools. (I've not accepted that upgrade there.)

OS: macOS 10.13.6 (17G65) (High Sierra)
Solution with delete and reinstall CommandLineTools don't work!!!
I has disabled the warnings with environment variables:
export CGO_LDFLAGS="-g -O2 -w"
export WARNING_LDFLAGS=-w
export OTHER_LDFLAGS=-w

But this is not a solution, it's just postponing the problem "for later"!

SAME PROBLEM ;
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are outof sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.

OS: 10.13.6
golang version go1.9.2 darwin/amd64
XCode NOT currently installed, only the command-line tools
I'm seeing the same error; reinstalling command line tools had no effect.

As another data point, I am not seeing any ld warnings on the following configuration:
OS: macOS 10.13.6
Go version: current tip-1 (c6118af55864916c2c3b1bca8e216e627f232bf3)
Xcode: not installed
Xcode CLI tools: version <IP_ADDRESS>.1.1528165917 (via pkgutil --pkg-info=com.apple.pkg.CLTools_Executables)

@andybons confirmed: errors started after System Update updated CommandLineTools this morning and that fix doesn't fix.

same problem after mac system updated
so, sad......T_____________T
crypto/x509
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.

me too

Same issue
go version go1.9.5 darwin/amd64
Mac OS 10.13.6 (17G65)
Also the fix doesn't work .

ld: warning: text-based stub file
/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.

same issue for me
go version go1.11 darwin/amd64
Mac OS 10.13.6

OS: macOS 10.13.6 (High Sierra)
XCode version 10.0
go version go1.11 darwin/amd64
Solution with delete and reinstall CommandLineTools don't work!!!
Any new findings??

@Quesomora I tried your solution but didn't work for me. I even tried the version from may but still getting the same warnings.

This started happening for me today. One thing that I haven't seen mentioned by anyone, might be unrelated: I had a prompt a few times when I plugged my iPhone asking to update tools (didn't say what exactly was updated). I'm assuming it's related to the release of iOS 12. I said "not now" a couple of times, but after accepting the linking error appeared.
@andybons @agnivade is there any specific debugging information you'd like us to get to help troubleshooting?

I also tried @Quesomora's solution to no avail, however, I have colleagues that had not upgraded yet and have the version from June 12th, version: <IP_ADDRESS>.1.1528165917, and it works for them.

I opened a support ticket at Apple to fix this for future updates yesterday... not sure if/when they will fix it.. it is annoying to having to uninstall then reinstall the CLI tools every time there's a Mac dev tools update just to remove these warnings.

Ultimately, to get rid of those nasty ld warnings I had to apply @Quesomora workaround:
https://github.com/golang/go/issues/26073#issuecomment-422823621
and downgraded CommandLineTools

This has indeed returned:
# crypto/x509
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.

MacOS 10.13.6 after updating command-line tools. Re-install does not fix.

Locking due to the number of “me too” comments. https://golang.org/wiki/NoPlusOne
Thanks everyone. We’re aware this is an issue and are actively investigating.
The warnings are benign. They should not affect your day-to-day development work.

Developers of vim are also experiencing the same issue. Cross-linking for posterity.
https://github.com/vim/vim/issues/3445

Upgrading to macOS Mojave, which came out today, seems to fix the issue for me. I can no longer reproduce it on the following configuration:
OS: macOS Mojave, version 10.14 (18A391)
Go versions: current tip at 2018-09-25 01:17 (0ee8a559e5778b4dbfa20c524867112693ba607f), tip at 2018-09-18 21:34 (d24ec86e4f64302e91d8062eabfcd21296bb9b04)
Xcode: version 10.0 (10A255) (installed, but haven't done the "install additional required components" yet; version via xcodebuild -version)
Xcode CLI tools: seemingly no longer installed, getting No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'., although git and others are available in CLI (via pkgutil --pkg-info=com.apple.pkg.CLTools_Executables)
However, it's not conclusive if the issue is completely resolved, because it seems upgrading to Mojave caused the Xcode CLI tools to no longer be installed by default, and running Xcode 10 asks to "install additional required components" again. I haven't done those steps yet.
Unlocking for now, but please keep https://github.com/golang/go/wiki/NoPlusOne in mind. Posting new comments is okay if there's new helpful information that hasn't been covered before; otherwise please use 👍 reactions.
Specifically, it'd be helpful to know if anyone can still reproduce this on macOS Mojave. If so, please include your exact configuration (macOS version/build number, Go version, Xcode version, Xcode CLI version, whether or not you've run Xcode and done the "install additional required components" step).

I've just upgraded to macos Mojave and the issue remains.
OS: macOS Mojave, version 10.14
Go: go1.11 darwin/amd64
I don't have Xcode installed, only Xcode CLI tools. I've tried to reinstall Xcode CLI tools with no success.

@zdebra Thanks. What version of Xcode CLI tools? You should be able to find out by running pkgutil --pkg-info=com.apple.pkg.CLTools_Executables or so.

@dmitshur
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1535735448
volume: /
location: /
install-time:<PHONE_NUMBER>
groups: com.apple.FindSystemFiles.pkg-group

@Quesomora's solution works for me (thanks! the linker errors break godog, so this is a great help)
OSX 10.13.6
go version go1.10.4 darwin/amd64 (but the problem occurs for go 1.11 as well).
xcode command line utils before applying Quesomora's suggestion, problem exists:
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1535735448

xcode command line tools after applying the suggestion, problem gone:
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1528165917

Unfortunately I guess this is going to mean turning off auto-update on packages, until Apple fix this.

Confirmed @Quesomora's solution, exactly same environment and before/after as @geomacy with the excepton of go version go1.11 darwin/amd64.

@Quesomora solution was not working for me until I downgraded go 1.11 to go 1.9.2 (i did not try 1.10)
Currently running with:
go version
go1.9.2 darwin/amd64

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1526532315
volume: /
location: /
install-time:<PHONE_NUMBER>
groups: com.apple.FindSystemFiles.pkg-group

macOS 10.13.6

I am working in a cgo project, using goconvey regularly during development, and goconvey interprets the ld errors as build failure indications.
macOS 10.13.6

go version
go version go1.11 darwin/amd64

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1535735448
volume: /
location: /
install-time:<PHONE_NUMBER>
groups: com.apple.FindSystemFiles.pkg-group

@requaos you have version: <IP_ADDRESS>.1.1535735448 which if you search the comments above all point to it being a/the problematic version. Have you tried @Quesomora solution getting you to version: <IP_ADDRESS>.1.1528165917? That seems to solve it for everyone that reported that version, including me.

hi @Baha-sk,  regarding

I opened a support ticket at Apple to fix this for future updates yesterday... not sure if/when they will fix it.. it is annoying to having to uninstall then reinstall the CLI tools every time there's a Mac dev tools update just to remove these warnings.

could you post a link to the ticket here so we could keep an eye on whether there appears to be any action on fixing this?

followed @Quesomora 's fix but still getting the warning.
$  pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1528165917
volume: /
location: /
install-time:<PHONE_NUMBER>
groups: com.apple.FindSystemFiles.pkg-group

9.4.1 seems to be applied, too.. Hmm.

This issue is no longer detected on my machine after updating to macOS 10.14 Mojave
❯ xcodebuild -version
Xcode 10.0
Build version 10A255

❯ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14
BuildVersion:	18A391

❯ go version
go version go1.9.7 darwin/amd64

@gabolaev I don't think that the issue reproduces with go 1.9 under any hardware configuration - it's Go 1.10 and above.

Deleting the Xcode, the Xcode command line tools, and then reinstalling macOS 10.14 from macOS Recovery fixed the link warning problem for me. A bit drastic - but does this fix it for anyone else? Reinstalled the latest Xcode and Xcode command line tools after the OS reinstall.
Note: I had also reinstalled go version go1.11.1 darwin/amd64 after trying go1.9 and go.10. Also used go clean -cache.
Historical Note: the link warning issue started happening for my go projects after updating to macOS 10.14. Various combinations of reinstalling Xcode command line tools and Xcode did not fix the issue.
At one point the link warnings were happening even when using clang command line to compile a c-test program that used frameworks (no go involved).

@requaos you have version: <IP_ADDRESS>.1.1535735448 which if you search the comments above all point to it being a/the problematic version. Have you tried @Quesomora solution getting you to version: <IP_ADDRESS>.1.1528165917? That seems to solve it for everyone that reported that version, including me.

Nope, I don't think that is the issue because I have the exact same issue and this is my version:
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1480973914
volume: /
location: /
install-time:<PHONE_NUMBER>
groups: com.apple.FindSystemFiles.pkg-group

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G65

$ xcodebuild -version
Xcode 10.0
Build version 10A255

$ go version
go version go1.9.1 darwin/amd64

This problem has nothing to do with go either...

@kevinburke, i had that issue on the same go version (1.9.7) on High Sierra. it's gone just after system update.

After upgrade to Mojave and update of command line tools, linker warning is
gone for me.
On Tue, Oct 9, 2018, 6:23 AM George Gabolaev<EMAIL_ADDRESS>wrote:

@kevinburke https://github.com/kevinburke, i had that issue on the same
go version (1.9.7) on High Sierra. it's gone just after system update.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/26073#issuecomment-428139803, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANlVUswx5ppkMNea_2eFu-XCPenKfYG0ks5ujHk9gaJpZM4U5BGw
.

Thanks everyone. We've filed a Radar (bug) with Apple and are awaiting their response.
This is not a Go-specific issue and is not dependent on the version of Go installed. We've provided the following reproduction steps to Apple:
Steps to Reproduce:
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version
version: <IP_ADDRESS>.1.1535735448
$ clang --version
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ cat > issue.c
int main() { return 0; }
^D
$ clang issue.c -framework CoreFoundation
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.

Locking for now while we wait for Apple's response. Thanks again, everyone.

I sent a CL to filter out the warning in our tools. There's no point in continuing to have people hit what looks like a real problem when we know it's a harmless bug on Apple's end. We should probably have done this months ago, and probably the CL should be backported to Go 1.11.


this is level 100 getting started doc for using xplat with Azure Storage

There is already one article for Powershell with Azure Storage. This is a peer article for  xplat.

Hi @gangsir, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

@gangsir Hi! This looks great and I look forward to getting it in, but there are some things we need to modify and some things we need to clarify.

"xplat" and "xplat-cli" have been changed to "Azure Command-line Interface for Mac, Linux, and Windows" on first mention, and "Azure CLI" everywhere else. So that means that the file names need to change to storage-azure-cli-guide-full.md and the same with the directory.
You should point to the installation document for the Azure CLI at xplat-cli-install.md. (Yes, we will be changing that one soon, and we'll change your link to it in here. :-) )
You should point to the connecting document for the Azure CLI at xplat-cli-connect.md. (The same thing here. :-) )
You have this:

+> [AZURE.NOTE] The Getting started with Azure Storage and xplat-cli in 5 minutes
but there is no anchor that I could find right off with #Getting in it. I'm wondering whether I missed it...

The final thing is that nowhere does this say whether the commands you're issuing have to do with storage in the Azure CLI "arm" mode or "asm" mode. If there is no difference at all between the two modes, then can we say that, explicitly, at the top? If there is a difference, we need to mention that explicitly.

Let me know if there are any issues or if this is unclear in some way! -- Ralph

Chungang, please incorporate Ralph's changes, and submit again for review (I'll review it then).

Thanks, Tamra and Ralph. I will address the comments and submit again.

BTW, I love the contents. I'll be trying them all out today!

Hi, Tamra and Ralph, I have update the content based on your comments. The changes include:

change the wording 'xplat' to 'Azure CLI'
update the title of the doc as well.
add one note to mention that the commands and script in this guide run in asm mode and add one reference about arm commands.

For the number 2, 3, 4 suggestions from Ralph, can you help me update in the doc directly? because I am not sure how to change a link to refer a doc in the repo with relative path.
Thanks,
Chungang

Chungang, I can help you update the links. Let's get the doc into the repo, and I'll fix them from there. (The doc still needs to be hooked up to the left nav TOC before it will be discoverable.)
Approved for merge.

Requestor is MSFT employee - removed cla-required label.


Make sure endpoints are in a consistent order

Folder and endpoint sorted by alphabetical order.
Methods should take arguments types in consideration when sorting to make sure sorting of two methods with same name but not same arguments is consistent.


feat: add from collection to AlaSQL interface type

Add from collection to AlaSQL interface type along with the two from interfaces so modification of from in TypeScript is checked and allowed.
Thank you for the time you are putting into AlaSQL!

Thank you!

Released as part of v4.1.4


Go to Defenition with OmniSharp shows empty files

In all my projects, when clicking "Go to definition", the .cs file is opened but it has no content.
I'm using EndeavourOS, with the latest version for all packages.
List of installed sdks:
dotnet --list-sdks 7.0.120 [/usr/share/dotnet/sdk] 8.0.107 [/usr/share/dotnet/sdk]
OmniSharp is installed to /home/eduardo/language-servers/omnisharp-linux-x64-net6.0 and the execute permission was given to the binary file.
All my projects use dotnet 8.0 and depend on the library CounterStrikeSharp.API
Loading OmniSharp with -lsp flag doesn't provide any output, but running with no flags shows that it detects my dotnet instance:
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Services.DotNetCliService","Message":"Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK"},"Seq":2,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Services.DotNetCliService","Message":"DotNetPath set to /usr/share/dotnet/dotnet"},"Seq":3,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Located 2 MSBuild instance(s)\n            1: .NET Core SDK 8.0.107 17.8.5 - \"/usr/share/dotnet/sdk/8.0.107\"\n            2: .NET Core SDK 7.0.120 17.4.8 - \"/usr/share/dotnet/sdk/7.0.120\""},"Seq":4,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Registered MSBuild instance: .NET Core SDK 8.0.107 17.8.5 - \"/usr/share/dotnet/sdk/8.0.107\""},"Seq":5,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0"},"Seq":6,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Detecting Cake files in '/home/eduardo/language-servers/omnisharp-linux-x64-net6.0/'."},"Seq":7,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Did not find any Cake files"},"Seq":8,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectSystem","Message":"No solution files found in '/home/eduardo/language-servers/omnisharp-linux-x64-net6.0/'"},"Seq":9,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Detecting CSX files in '/home/eduardo/language-servers/omnisharp-linux-x64-net6.0/'."},"Seq":10,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Did not find any CSX files"},"Seq":11,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Configuration finished."},"Seq":12,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Omnisharp server running using Stdio at location '/home/eduardo/language-servers/omnisharp-linux-x64-net6.0/' on host -1."},"Seq":13,"Type":"event"}
{"Event":"started","Body":null,"Seq":14,"Type":"event"}

My zed settings:
  "ui_font_size": 16,
  "buffer_font_size": 16,
  "theme": {
    "mode": "system",
    "light": "One Light",
    "dark": "JetBrains New Dark"
  },
  "autosave": {
    "after_delay": {
      "milliseconds": 1000
    }
  },
  "lsp": {
    "omnisharp": {
      "binary": {
        "path": "/home/eduardo/language-servers/omnisharp-linux-x64-net6.0/OmniSharp",
        "args": ["-lsp"]
      }
    }
  }
}

I've tried having OmniSharp running on my system (with the -lsp flag), but I guess that doesn't make much sense since zed should be the one starting the lsp.
Example video of what's happening, in case I wasn't clear enough:
https://youtu.be/oZBkQ2aXbJQ
Thanks in advance.
Best Regards!

Just saw I posted it on the wrong repo, my bad


add Chinese version for this document

Hi,
I add a Chinese version for this great document, hope it can be helpful to someone.
Thanks,
Dennis

may be you can add folder named i18n like https://github.com/johnpapa/angular-styleguide

Great idea! @hjzheng


ArticleSet XML files with errors

Several articleset XML file have contained unparsable errors. Not sure why, my guess is PMC sometimes returns file with errors, or its' an HTTP transmission error?
Nonetheless, It would be useful to allow partial re-downloading of specific xml files, or have a parsing method robust to such errors (i.e. skip article, not entire file).

PMC definitely returns bad responses quite frequently, but normally pubget does a quick sanity check on the response and retries the download if it seems to have failed.
I'm guessing the sanity check is too superficial, could you share an example file and maybe the command you used (although it will be hard to reproduce). also which version of pubget are you using?

Here's some example XML error. I went through and fixed them manually for a few files, which wasn't the end of the world:
    0.8461

<publisher-loc>New York</publisher-lo`>

51</habel>

Basically just randomly incorrect characters.
I believe i was using pubget 0.0.9.dev but I may have upgraded to debug

Unfortunately you'd have to parse the whole file to see if its faulty. Might be useful to tie in the re-downloading w/ the parsing step.


Getting a non-zero exit status 1 when running inference on cityscapes.

Hi, thanks for sharing the work.
I am trying to run the inference on Cityscapes dataset using python -m runx.runx scripts/eval_cityscapes.yml -i . But I am getting the error as describe din the title. The entire trace-back is:
Copying codebase to logs/eval_cityscapes/cordial-goat_2020.11.11_08.30 ...
Running job eval_cityscapes_cordial-goat_2020.11.11_08.30
cd logs/eval_cityscapes/cordial-goat_2020.11.11_08.30/code; PYTHONPATH=logs/eval_cityscapes/cordial-goat_2020.11.11_08.30/code exec python -m torch.distributed.launch --nproc_per_node=1 ~/semantic-segmentation/train.py --dataset cityscapes --cv 0 --syncbn --apex --fp16 --bs_val 1 --eval val --n_scales 0.5,1.0,2.0 --snapshot /home/rbohare/assets_for_nvidiasemseg/seg_weights/cityscapes_ocrnet.HRNet_Mscale_outstanding-turtle.pth --arch ocrnet.HRNet_Mscale --result_dir logs/eval_cityscapes/cordial-goat_2020.11.11_08.30
None
Global Rank: 0 Local Rank: 0
Torch version: 1.6, 1.6.0
n scales [0.5, 1.0, 2.0]
dataset = cityscapes
ignore_label = 255
num_classes = 19
/bin/sh: 1: cd: can't cd to logs/eval_cityscapes/cordial-goat_2020.11.11_08.30/code
Traceback (most recent call last):
  File "/home/rbohare/semantic-segmentation/train.py", line 601, in <module>
    main()
  File "/home/rbohare/semantic-segmentation/train.py", line 340, in main
    datasets.setup_loaders(args)
  File "/home/rbohare/semantic-segmentation/datasets/__init__.py", line 157, in setup_loaders
    eval_folder=args.eval_folder)
  File "/home/rbohare/semantic-segmentation/datasets/cityscapes.py", line 133, in __init__
    self.fine_cities = cities_cv_split(self.root, mode, cfg.DATASET.CV)
  File "/home/rbohare/semantic-segmentation/datasets/cityscapes.py", line 65, in cities_cv_split
    trn_cities = ['train/' + c for c in os.listdir(trn_path)]
FileNotFoundError: [Errno 2] No such file or directory: '/home/rbohare/assets_for_nvidiasemseg/data/Cityscapes/leftImg8bit_trainvaltest/leftImg8bit/train'
Traceback (most recent call last):
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/distributed/launch.py", line 261, in <module>
    main()
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/distributed/launch.py", line 257, in main
    cmd=cmd)
subprocess.CalledProcessError: Command '['/home/rbohare/anaconda3/envs/nvidia-sdc/bin/python', '-u', '/home/rbohare/semantic-segmentation/train.py', '--local_rank=0', '--dataset', 'cityscapes', '--cv', '0', '--syncbn', '--apex', '--fp16', '--bs_val', '1', '--eval', 'val', '--n_scales', '0.5,1.0,2.0', '--snapshot', '/home/rbohare/assets_for_nvidiasemseg/seg_weights/cityscapes_ocrnet.HRNet_Mscale_outstanding-turtle.pth', '--arch', 'ocrnet.HRNet_Mscale', '--result_dir', 'logs/eval_cityscapes/cordial-goat_2020.11.11_08.30']' returned non-zero exit status 1.

I have changed --nproc_per_node=8 to --nproc_per_node=1 since I only have one GPU with 6G memory. Other parameters are the same. Any ideas how to solve it?

Never mind, it was a problem with the path of the assets. In the config.py file, the path to dataset is set to /data/Cityscapes whereas the folder had the name /data/cityscapes. I fixed that but now I am getting a CUDA OOM error:
Copying codebase to logs/eval_cityscapes/brown-wren_2020.11.11_08.46 ...
Running job eval_cityscapes_brown-wren_2020.11.11_08.46
cd logs/eval_cityscapes/brown-wren_2020.11.11_08.46/code; PYTHONPATH=logs/eval_cityscapes/brown-wren_2020.11.11_08.46/code exec python -m torch.distributed.launch --nproc_per_node=1 ~/semantic-segmentation/train.py --dataset cityscapes --cv 0 --syncbn --apex --fp16 --bs_val 1 --eval val --n_scales 0.5,1.0,2.0 --snapshot /home/rbohare/assets_for_nvidiasemseg/seg_weights/cityscapes_ocrnet.HRNet_Mscale_outstanding-turtle.pth --arch ocrnet.HRNet_Mscale --result_dir logs/eval_cityscapes/brown-wren_2020.11.11_08.46
None
Global Rank: 0 Local Rank: 0
Torch version: 1.6, 1.6.0
n scales [0.5, 1.0, 2.0]
dataset = cityscapes
ignore_label = 255
num_classes = 19
cv split val 0 ['val/munster', 'val/lindau', 'val/frankfurt']
mode val found 500 images
cn num_classes 19
Using Cross Entropy Loss
Using Cross Entropy Loss
Loading weights from: checkpoint=/home/rbohare/assets_for_nvidiasemseg/seg_weights/cityscapes_ocrnet.HRNet_Mscale_outstanding-turtle.pth
=> init weights from normal distribution
=> loading pretrained model /home/rbohare/assets_for_nvidiasemseg/seg_weights/hrnetv2_w48_imagenet_pretrained.pth
Trunk: hrnetv2
Model params = 72.1M
Selected optimization level O1:  Insert automatic casts around Pytorch functions and Tensor methods.

Defaults for this optimization level are:
enabled                : True
opt_level              : O1
cast_model_type        : None
patch_torch_functions  : True
keep_batchnorm_fp32    : None
master_weights         : None
loss_scale             : dynamic
Processing user overrides (additional kwargs that are not None)...
After processing overrides, optimization options are:
enabled                : True
opt_level              : O1
cast_model_type        : None
patch_torch_functions  : True
keep_batchnorm_fp32    : None
master_weights         : None
loss_scale             : dynamic
/bin/sh: 1: cd: can't cd to logs/eval_cityscapes/brown-wren_2020.11.11_08.46/code
Traceback (most recent call last):
  File "/home/rbohare/semantic-segmentation/train.py", line 601, in <module>
    main()
  File "/home/rbohare/semantic-segmentation/train.py", line 420, in main
    calc_metrics=not args.no_metrics)
  File "/home/rbohare/semantic-segmentation/train.py", line 574, in validate
    args, val_idx)
  File "/home/rbohare/semantic-segmentation/utils/trnval_utils.py", line 141, in eval_minibatch
    output_dict = net(inputs)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/apex/parallel/distributed.py", line 560, in forward
    result = self.module(*inputs, **kwargs)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/rbohare/semantic-segmentation/network/ocrnet.py", line 332, in forward
    return self.nscale_forward(inputs, cfg.MODEL.N_SCALES)
  File "/home/rbohare/semantic-segmentation/network/ocrnet.py", line 224, in nscale_forward
    outs = self._fwd(x)
  File "/home/rbohare/semantic-segmentation/network/ocrnet.py", line 174, in _fwd
    cls_out, aux_out, ocr_mid_feats = self.ocr(high_level_features)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/rbohare/semantic-segmentation/network/ocrnet.py", line 86, in forward
    feats = self.conv3x3_ocr(high_level_features)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 102, in forward
    return F.relu(input, inplace=self.inplace)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/nn/functional.py", line 1119, in relu
    result = torch.relu(input)
RuntimeError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 5.80 GiB total capacity; 2.95 GiB already allocated; 5.12 MiB free; 4.52 GiB reserved in total by PyTorch)
Traceback (most recent call last):
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/distributed/launch.py", line 261, in <module>
    main()
  File "/home/rbohare/anaconda3/envs/nvidia-sdc/lib/python3.7/site-packages/torch/distributed/launch.py", line 257, in main
    cmd=cmd)
subprocess.CalledProcessError: Command '['/home/rbohare/anaconda3/envs/nvidia-sdc/bin/python', '-u', '/home/rbohare/semantic-segmentation/train.py', '--local_rank=0', '--dataset', 'cityscapes', '--cv', '0', '--syncbn', '--apex', '--fp16', '--bs_val', '1', '--eval', 'val', '--n_scales', '0.5,1.0,2.0', '--snapshot', '/home/rbohare/assets_for_nvidiasemseg/seg_weights/cityscapes_ocrnet.HRNet_Mscale_outstanding-turtle.pth', '--arch', 'ocrnet.HRNet_Mscale', '--result_dir', 'logs/eval_cityscapes/brown-wren_2020.11.11_08.46']' returned non-zero exit status 1.

Is it normal to get this error while only running inference?
I am unable to understand why 6G is not enough for running inference or a demo on one image.

Running the evaluation with n_scales parameter disabled makes it execute normally, with an IOU of ~86.56 . Might be that because of inferring on multiple scales of the image simultaneously makes the GPU run out of memory.

Yes exactly

Thanks for confirming it. I will close the issue for now.


Adding merge types to repository resource

Adding merge types to the GitHub Repository resource so that users can control when the repository allows Squash merges, Rebase merges and/or Merge commits.
Imported from hashicorp/terraform#15230
Fixes hashicorp/terraform#15183
Fixes #14

sans whitespace: https://github.com/terraform-providers/terraform-provider-github/pull/1/files?w=1

Hey -- boring? This was my first contribution to Terraform! Far from boring!

"Exciting" code scares me. I'll take boring any day!
I think we're waiting on the provider migration to finish and then this can get merged.

Hi @taiidani
Thanks for the work here - I had to make 1 change to the tests. When i ran the tests in their form, I got the following:
=== RUN   TestAccGithubRepository_importBasic
--- FAIL: TestAccGithubRepository_importBasic (0.32s)
	testing.go:428: Step 0 error: Error applying: 1 error(s) occurred:

		* github_repository.foo: 1 error(s) occurred:

		* github_repository.foo: POST https://api.github.com/orgs/terraformtesting/repos: 422 Repository creation failed. [{Resource:Repository Field: Code:custom Message:Either :allow_merge_commit, :allow_squash_merge or :allow_rebase_merge must be true}]

So I updated the tests :)
Thanks
Paul


Missing current step in window.testState

Current behavior
In preprocessor v4.3.1, window.testState object contains currentStep index that can be used to identify which step is currently running at the time. In v12.0.0 I couldn't find this information anywhere.
Desired behavior
testState object should contains current step information to make it easy to debug at each step level.
Test code to reproduce
https://github.com/elangbayu/teststate-comparison
Versions

Cypress version: 10.4.0
Preprocessor version: 12.0.0
Node version: 16.16.0

Checklist

[x] I've read the FAQ.
[x] I've read Instructions for logging issues.
[x] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

Hey, @elangbayu. I've added this in v12.1.0.

Oh wow, thank you so much @badeball ! Now I can continue migrating my project to the latest version of cypress and cypress-cucumber-preprocessor 😃

Having the same problem with:

Cypress version: 12.3.0
Preprocessor version: 17.1.0
Node version: 18.15.0


Is duckdb a suitable alternative to polars?

The use-case is trommel. The only polars functionality it needs is column selection (pl.select), for which we use dtypes.
In theory we can replace it with duckdv's select_dtypes (or other selection methods). It may be slightly faster, but the important thing is that we shed a lot of dependencies and the methodology may become a portable way to deal with the 'remove metadata -> process data -> append metadata' workflow.

Implementation note: Converting a duckdb object to numpy is ~20% faster using numpy.array(list(X.fetchnumpy().values())) compared to X.pl().to_numpy().
Surprisingly there is no direct way to go from a duckdb table to a numpy array straight away, only to dictionaries of numpy arrays (per column of course).


Add support for quartz-scheduler

Please answer these questions before submitting a pull request

Why submit this pull request?

[ ] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

LGTM. @hailin0 I have committed a doc update directly.

Thanks for your help.

Twitter for this, https://twitter.com/ASFSkyWalking/status/1300096274742403072


[Bug]:   Not poping up reset reminder.

Version

[X] I'm using version 1.14.1

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

Advanced Preferences

[X] I've checked Advanced Preferences

What operating system are you using?
Windows
Operating System Version
win11
Reproduction steps

Sometimes this app doesn't work, looks like the timer couting down not working at all.
2.
3.
...
Reproduces how often: [What percentage of the time does it reproduce?]
Expected Behavior
works fine.
Actual Behavior
after long time, Not popup reset remind.
Relevant log output
No response
Preferences
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Looks like the The next mini break is never counting down , always remain 10 minites.

Could you please paste the content of log? We will see what happens there. My guess is that your machine goes to the idle mode, that is often the case.
Preferences -> About -> Ctrl+D  and logFile.

main.log

My guess is that your machine goes to the idle mode

What is this means?

Is this option matter to this?

@yuyang-ok , it's the option Monitor system idle time: after some inactivity time, bey default, breaks are paused.
It's what happens in your case:
[2023-07-24 19:37:41.246] [info]  Stretchly: pausing breaks for Do Not Distrub
[2023-07-24 19:39:08.892] [info]  Stretchly: resuming breaks for Do Not Distrub
[2023-07-24 19:42:13.080] [info]  Stretchly: pausing breaks for Do Not Distrub
[2023-07-24 19:42:48.253] [info]  Stretchly: resuming breaks for Do Not Distrub
[2023-07-24 19:42:50.265] [info]  Stretchly: pausing breaks for Do Not Distrub
[2023-07-24 19:42:52.289] [info]  Stretchly: resuming breaks for Do Not Distrub
[2023-07-24 19:43:06.389] [info]  Stretchly: pausing breaks for Do Not Distrub
[2023-07-24 19:46:02.252] [info]  Stretchly: resuming breaks for Do Not Distrub
[2023-07-24 19:46:13.364] [info]  Stretchly: pausing breaks for Do Not Distrub
[2023-07-24 19:49:20.528] [info]  Stretchly: resuming breaks for Do Not Distrub
[2023-07-24 19:49:45.695] [info]  Stretchly: pausing breaks for Do Not Distrub
[2023-07-24 19:49:47.720] [info]  Stretchly: resuming breaks for Do Not Distrub

You can either disable that option or play with advanced options: https://github.com/hovancik/stretchly#advanced-preferences, https://github.com/hovancik/stretchly#natural-breaks-inactivity-time-

@hovancik Thanks,In my case should I set naturalBreaks to false.
Will this solve my problem??

@yuyang-ok , yop, it should :)


[Fix] Fix bug for issues #141

fixed get internlm model
fixed randint error in get_dataset

#141


Add functionality to generate doc to a JSON and exclude index [v1.1.x]

Purpose

Back ported toJSON and excludeIndex changes from #23533

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #23952 into ballerina-1.1.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.1.x   #23952   +/-   ##
================================================
  Coverage            15.21%   15.21%
================================================
  Files                   50       50
  Lines                 1341     1341
  Branches               208      208
================================================
  Hits                   204      204
  Misses                1121     1121
  Partials                16       16

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 0e98f75...f55ab26. Read the comment docs.


Add flags to disable sharing and printing

Is your feature request related to a problem? Please describe.
Not everyone uses those functionalities. Adding flags to disable them will reduce memory usage. Since there already is a flag to disable/enable Media Router (casting), this can be done too.
Describe the solution you'd like, including relevant patches or source
Adding a flag to disable the sharing button ("Desktop Sharing Hub")
Adding a flag to disable printing
Additional Notes
Chrome Enterprise policy for sharing: DesktopSharingHubEnabled
Chrome Enterprise policy for printing: PrintingEnabled

Hello?


Revert "Merge branch 'release/2.5' into release/2.4"

This reverts commit 17906d4bbf488292e52b5a2852e15ff6f2cb9cc0, reversing
changes made to 4b1f621689cbb28631537e40d5b6c258502ecd94.

That's ok


On IOS After closing internet Connection Timeout does not work with uploading or downloading file to/from server.

Package
dio
Version
5.3.2
Output of flutter doctor -v
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5 22G74 darwin-x64, locale en-PK)
    • Flutter version 3.13.2 on channel stable at /Users/mac/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.81.1)
    • VS Code at /Users/mac/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (3 available)
    • iPad (mobile)   • c484fc9175af0406e9a9afc9b14328a6ae72695e • ios            • iOS 15.7 19H12
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Dart Version
3.1.0
Steps to Reproduce
//Uploading file to presigned url
try {
final response = await dio.put(
'url',
data: File(file.filePath).openRead(),
options: Options(
contentType: file.mimeType,
sendTimeout: Duration(seconds: 5),
      headers: {
        "Content-Length": File(file.filePath).lengthSync(),
      },
    ),

  );

} catch (e) {
  if (kDebugMode) {
    print("error ${e.toString()}");
  }
  rethrow;
}

//Downloading file from presigned url
final response = await dio.download(
'download_url',
'savedPath',
options: Options(receiveTimeout: Duration(seconds: 5)),
);
Expected Result
On IOS it must throws an error after 5 seconds if internet turns off.
Actual Result
it throws error after 5 seconds if uploading/downloading not completed in duration with the availability of internet.

The issue is also reproducible in version 4.0.6.

The flow is connect -> send/receive, so it should be connectTimeout here.