ScrapliConnectionNotOpened error for address family AF_INET

Hello again,
Today I've run into another problem:
Result:
Traceback (most recent call last):
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/base/base_socket.py", line 81, in _connect
    self.sock.connect((self.host, self.port))
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir/core/task.py", line 99, in start
    r = self.task(self, **self.params)
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir_scrapli/tasks/netconf_edit_config.py", line 38, in netconf_edit_config
    scrapli_conn = task.host.get_connection("scrapli_netconf", task.nornir.config)
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir/core/inventory.py", line 494, in get_connection
    self.open_connection(
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir/core/inventory.py", line 546, in open_connection
    conn_obj.open(
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir_scrapli/connection.py", line 167, in open
    connection.open()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli_netconf/driver/sync_driver.py", line 115, in open
    self.transport.open_netconf()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli_netconf/transport/plugins/ssh2/transport.py", line 26, in open_netconf
    super().open()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/plugins/ssh2/transport.py", line 52, in open
    self.socket.open()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/base/base_socket.py", line 133, in open
    self._connect(socket_address_families=socket_address_families)
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/base/base_socket.py", line 89, in _connect
    raise ScrapliConnectionNotOpened(msg) from exc
scrapli.exceptions.ScrapliConnectionNotOpened: connection refused trying to open socket to <IP_ADDRESS> on port 830for address family AF_INET

It happens for the IOSXR devices: (NCS 540, XR 9000v)
my configuration (groups):
IOSXR:
  platform: iosxr
  connection_options:
    scrapli_netconf:
      port: 830
      strip_namespaces: True
      extras:
        transport: ssh2
        ssh_config_file: False
        auth_strict_key: False

iosxe devices with same configuration works.

scrapli.log
ID    | TIMESTAMP               | LEVEL    | (UID:)HOST:PORT           | MESSAGE
1     | 2021-07-13 15:02:33,813 | DEBUG    | <IP_ADDRESS>:830            | setting 'server_capabilities' value to '[]'
2     | 2021-07-13 15:02:33,813 | INFO     | <IP_ADDRESS>:830            | opening connection to '<IP_ADDRESS>' on port '830'
3     | 2021-07-13 15:02:33,813 | DEBUG    | <IP_ADDRESS>:830            | opening transport connection to '<IP_ADDRESS>' on port '830'
4     | 2021-07-13 15:02:33,813 | DEBUG    | <IP_ADDRESS>:830            | opening socket connection to '<IP_ADDRESS>' on port '830'
5     | 2021-07-13 15:02:33,833 | WARNING  | <IP_ADDRESS>:830            | connection refused trying to open socket to <IP_ADDRESS> on port 830for address family AF_INET

nornir.log
2021-07-13 15:02:33,800 -  nornir.core -     INFO -        run() - Running task 'install_acl' with args {'dry_run': True} on 1 hosts
2021-07-13 15:02:33,800 - nornir.core.task -    DEBUG -      start() - Host 'XR9000v': running task 'install_acl'
2021-07-13 15:02:33,806 -  nornir.core -     INFO -        run() - Running task 'netconf_edit_config' with args {'diff': True, 'config': '  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">\n   <ipv4-acl-and-prefix-list xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg">\n    <accesses>\n     <access xc:operation="replace">\n      <access-list-name>pristup_vty_nornir</access-list-name>\n      <access-list-entries>\n       <access-list-entry>\n        <sequence-number>10</sequence-number>\n        <sequence-str>10</sequence-str>\n        <remark>MGMT segment - Zarovka/Athena/Hermes/Saint</remark>\n       </access-list-entry>\n       <access-list-entry>\n        <sequence-number>20</sequence-number>\n        <sequence-str>20</sequence-str>\n        <grant>permit</grant>\n        <source-network>\n         <source-address><IP_ADDRESS></source-address>\n         <source-wild-card-bits><IP_ADDRESS></source-wild-card-bits>\n        </source-network>\n       </access-list-entry>\n       <access-list-entry>\n        <sequence-number>30</sequence-number>\n        <sequence-str>30</sequence-str>\n        <grant>permit</grant>\n        <source-network>\n         <source-address><IP_ADDRESS></source-address>\n         <source-wild-card-bits><IP_ADDRESS></source-wild-card-bits>\n        </source-network>\n       </access-list-entry>\n      </access-list-entries>\n     </access>\n    </accesses>\n   </ipv4-acl-and-prefix-list>\n </config>', 'dry_run': True, 'target': 'candidate'} on 1 hosts
2021-07-13 15:02:33,806 - nornir.core.task -    DEBUG -      start() - Host 'XR9000v': running task 'netconf_edit_config'
2021-07-13 15:02:33,834 - nornir.core.task -    ERROR -      start() - Host 'XR9000v': task 'netconf_edit_config' failed with traceback:
Traceback (most recent call last):
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/base/base_socket.py", line 81, in _connect
    self.sock.connect((self.host, self.port))
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir/core/task.py", line 99, in start
    r = self.task(self, **self.params)
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir_scrapli/tasks/netconf_edit_config.py", line 38, in netconf_edit_config
    scrapli_conn = task.host.get_connection("scrapli_netconf", task.nornir.config)
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir/core/inventory.py", line 494, in get_connection
    self.open_connection(
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir/core/inventory.py", line 546, in open_connection
    conn_obj.open(
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/nornir_scrapli/connection.py", line 167, in open
    connection.open()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli_netconf/driver/sync_driver.py", line 115, in open
    self.transport.open_netconf()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli_netconf/transport/plugins/ssh2/transport.py", line 26, in open_netconf
    super().open()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/plugins/ssh2/transport.py", line 52, in open
    self.socket.open()
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/base/base_socket.py", line 133, in open
    self._connect(socket_address_families=socket_address_families)
  File "/home/jankrupa/networksys_lab/nornir_networksys_lab/venv/lib/python3.8/site-packages/scrapli/transport/base/base_socket.py", line 89, in _connect
    raise ScrapliConnectionNotOpened(msg) from exc
scrapli.exceptions.ScrapliConnectionNotOpened: connection refused trying to open socket to <IP_ADDRESS> on port 830for address family AF_INET

2021-07-13 15:02:33,835 -  nornir.core -     INFO -        run() - Running task 'Discarding changes' with args {} on 1 hosts

versions

pip list | grep scrapli
nornir-scrapli        2021.1.30
scrapli               2021.7.30a3
scrapli-community     2021.1.30
scrapli-netconf       2021.1.30

Do you have any idea what's wrong?

Hey @Kani999 👋
That exception is really just wrapping the low level socket library ConnectionRefusedError -- so we are getting that message from the sock.connect itself (actual tcp socket happening before even ssh2-python bits happen).
Does this error happen every time or just intermittently? Does it work w/ system or paramiko transports? The most obvious answer is just that the device is not listening on 830, is it possible the device doesn't have netconf enabled or there is something else like that going on? Failing that, trying the other transports is the only obvious thing I can think of off the top of my head.
If you want to take a peak at this section fo code you can find it here.
Carl

@carlmontanari
Hello, the error is really in the port settings for netconf. I got the wrong lab specification of network devices. Each device has a different port opened for Netconf.
I apologize for the open ticket and thank you for the analysis.


Write stream optional?

The write stream seems to be an integral part to the whole system, and given the flexibility of the flow architecture.  Would write stream be considered optional? So instead of having some kind of intermediary log, push writes to services and services respond to components?

It worth talking about, the problems the write log solves is the following:

service registry (you don't have to know where each service is registered to subscribe, you just need to know the location of the write log.
migrations, since the write log contains a full event history it is simple to build new data services by replaying the log, so migrations are very easy to reason about.
ability to re-use services for several applications.

I think the beauty of the write log is that it turns your services and components into legos, it is easy to swap a service containing photos from local disk, to s3, to other blob driven services without any changes to any other application logic.  you experiment with different persistent engines for your data services to use the best available without having to re-write the app,  You could use mongodb for one data service and mysql for another and neo4j for another without any concern of incompatibility.
The last thing is compose-ability or streams - the ability to chain, fan out, fan in, etc.
How would you manage these issues without a central log, and keep things simple in the components and services side?

Ok, I understand now the intent of the write log.  In my current websocket application is so simple, I have no need and do not foresee in the future for multiple data services.


[Bug] Cannot download PDFs from GitHub

Describe the bug
Hello,
I'm unable to download PDF files from GitHub when using the DDG app specifically.
How to Reproduce

Navigate to any PDF hosted on GitHub. E.g. https://github.com/mozilla/pdf.js/blob/master/test/pdfs/ArabicCIDTrueType.pdf
Press the "..." next to the branch name.
Press "Download"
Observe that nothing happens

If you do the same steps in Firefox on Android the PDF is downloaded.
Expected behavior
The PDF file is downloaded
Environment
- DDG App Version: 5.174.0
- Device: Pixel 6 Pro
- OS: Android 13

Can i resolve this issue?

Can i resolve this issue?

I still can't download the linked PDF in the latest DDG Browser, so I would say no. Are you able to download it using the reproduce instructions?

Ok, I'll try,I didn't do it yet
On Sat, Oct 21, 2023, 11:07 Christian Svensson @.***>
wrote:

Can i resolve this issue?
I still can't download the linked PDF in the latest DDG Browser, so I
would say no. Are you able to download it using the reproduce instructions?
—
Reply to this email directly, view it on GitHub
https://github.com/duckduckgo/Android/issues/3645#issuecomment-1773678641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXQGAVXWDKUVBKV4MJIWKZ3YANNSJAVCNFSM6AAAAAA53NW5UWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTGY3TQNRUGE
.
You are receiving this because you commented.Message ID:
@.***>

In my view this is due to GitHub's content security policy. They do not want us to inject code to retrieve the pdf in the blob.
Doesn't work with my FREE Bowser either.

This is solved in 5.209.2.

This is solved in 5.209.2.

No, it is not solved.
Still nothing happens when clicking "Download"

@woheller69 Due to WebView constraints, this works only if your installed System WebView version is above "126.0.6478.40". Right now, the latest one is " 128.0.6613.127".


putting icons closer to the top on a Hex

This closes issue #223 at least until you want to approach ordering stuff on a tile.  I can only presume that's a long ways off, and this is sufficient in the meantime.


feat(components): create ScalarTeleport component

Creates ScalarTeleport and ScalarTeleportRoot components which can be used to provide a scoped teleport root for floating elements and the like.
https://github.com/user-attachments/assets/03339b15-c4bd-470d-9d4a-1fd6af273e0b

great work!
the method options style seems off, not sure if it's coming from the pr?

Going to say don't merge this for now while I investigate a few things 🙏

i think it needs to be used as a parent otherwise uppercase won't be set. or should we set it at the scalar teleport components?

i think it needs to be used as a parent otherwise uppercase won't be set. or should we set it at the scalar teleport component level?

I don't think that will work because the parent's classes will just cascade onto the child. I'll just adjust the method options to be uppercase.


The ability to add all slash commands from a file in one command

Summary
Currently, when loading an extension, you need to add all slash commands in that extension manually, or create something like the following to do it automatically:
import inspect
import sys

from lightbulb import slash_commands

...

def load(bot) -> None:
    for _, obj in inspect.getmembers(sys.modules[__name__], inspect.isclass):
        if issubclass(obj, slash_commands.SlashCommand):
            bot.add_slash_command(obj)

It would be nice to abstract this away from the user in some nice and convenient way, but as I elude to later, I am not positive there is an "ideal" implementation for something like this.
Problem
There isn't really a problem, per se, but would allow for extra convenience on the user's side, as many would like to have the autoscan method.
Ideal implementation
I'm not sure. Either some load_slash_commands equivalent of load_extensions (which would remove the ability for custom behaviours, potentially), or a method in the slash_commands (maybe something like auto_load) that can scan the current file for slash commands and add them (though this may be unintuitive).
Checklist

[x] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.

Another idea: this could potentially done through an auto_load_slash kwarg in load_extension/s or something.


Feature: Custom favicon

Type: Feature
Description:
Close #1593, No document yet

@juanpicado Updated

Looks great 👍 I will double check later on (from mobile)

I will take a look later

Hi! When it is planned to be merged/released or any other workaround to have custom icon there?

Implemented here https://github.com/verdaccio/verdaccio/pull/2122


fix(chat): fix context menu displaying for Replay and Playback conversations (Issue #1435)

Description:
fix context menu displaying for Replay and Playback conversations
Issues:

Issue #1435

UI changes

->

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review


Add dataframe PrintSchema and schema.TreeString

Added the skeleton for dataframe.PrintSchema() and schema.TreeString() that can be extended with functionality pertaining to nested dataTypes once they become available.
The feature has been tested through writing a simple job.

@grundprinzip I am sorry to interrupt, but there was no open issues for this PR and others
Where could I find such issues to work on ?
is there a community meeting to discuss ?

@grundprinzip I am sorry to interrupt, but there was no open issues for this PR and others
Where could I find such issues to work on ?
is there a community meeting to discuss ?

You ar right. I was trying the golang component and realized this was missing, and then I implemented it since I needed it. From a feature function perspective I think Spark is fairly well known. The PySpark connect project is fairly feature complete to my understanding so I use that as a "reference". But yes, issues "should come first". :)

I will add tests. Good suggestion.

Generally, I'm collecting the most important stuff here https://github.com/apache/spark-connect-go/issues there are issues labeled as good first issue as well. For example the DataFrame support is not yet complete and allhelp is much appreciated.

Generally, I'm collecting the most important stuff here https://github.com/apache/spark-connect-go/issues there are issues labeled as good first issue as well. For example the DataFrame support is not yet complete and allhelp is much appreciated.

Yes I have seen https://github.com/apache/spark-connect-go/issues/52  and I started already working on df_functions_isStreaming
yes I am  a bit stuck, the implementation in SparkCore is a bit confusing.. that's why I was asking if there is a community meetings or a slack channel to discuss :)

Would be good to add some additional tests for more recursive behavior:
>>> spark.sql("select map(1, 2), map(\"a\", 2)").printSchema()
root
 |-- map(1, 2): map (nullable = false)
 |    |-- key: integer
 |    |-- value: integer (valueContainsNull = false)
 |-- map(a, 2): map (nullable = false)
 |    |-- key: string
 |    |-- value: integer (valueContainsNull = false)

>>> spark.sql("select map(1, 2), map(\"a\", map(1, 2))").printSchema()
root
 |-- map(1, 2): map (nullable = false)
 |    |-- key: integer
 |    |-- value: integer (valueContainsNull = false)
 |-- map(a, map(1, 2)): map (nullable = false)
 |    |-- key: string
 |    |-- value: map (valueContainsNull = false)
 |    |    |-- key: integer
 |    |    |-- value: integer (valueContainsNull = false)

Would be good to add some additional tests for more recursive behavior:
>>> spark.sql("select map(1, 2), map(\"a\", 2)").printSchema()
root
 |-- map(1, 2): map (nullable = false)
 |    |-- key: integer
 |    |-- value: integer (valueContainsNull = false)
 |-- map(a, 2): map (nullable = false)
 |    |-- key: string
 |    |-- value: integer (valueContainsNull = false)

>>> spark.sql("select map(1, 2), map(\"a\", map(1, 2))").printSchema()
root
 |-- map(1, 2): map (nullable = false)
 |    |-- key: integer
 |    |-- value: integer (valueContainsNull = false)
 |-- map(a, map(1, 2)): map (nullable = false)
 |    |-- key: string
 |    |-- value: map (valueContainsNull = false)
 |    |    |-- key: integer
 |    |    |-- value: integer (valueContainsNull = false)

I could add recursive tests but then I first need to have recursive schema capabilities in PrintSchema which is currently missing since the types Map, and Array is missing types, and StructType are not embeddable in a StructField. For instance the implemented StructType is not following the interface for DataType and it needs to in order to be embedded in a StructField (if I understand the code correctly). So there is additional work that needs to be done on the DataType side before I can extend printSchema to also include hierarchical capabilities.


Remove ESLINT and pin prettier

Currently we only use ESLINT for checking that our code is prettified correctly. This means we run into issues when there is a prettier update (#864).
This PR removes our ESLINT setup and pins prettier.  It uses prettier-greenkeeper to run prettier on Greenkeeper PRs so we don't run into CI failures on every prettier update and it removes the need for manually running prettier.

Thank you, smart choice!


[Network] Update application gateway

Related command

Resolves:#21165
Description

'az application gateway create' : add parameter --priority,
'az network application-gateway probe' : add parameter --host-name-from-settings
add command 'az network application-gateway settings','az network application-gateway listener','az network application-gateway routing-rule'
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


chore: remove Mathlib.Tactic.Expect

This removes Mathlib.Tactic.Expect since its functionality is now absorbed into fail_if_success and success_if_fail_with_msg. (Also, it had no extant uses.) See zulip.

bors merge


Win10 Home - Listener State: Not Listening and Socket Connection Failed

Hi,

I need help getting my listener state working, every time I try to start RDPCheck.exe I get "Socket Connection Failed".
I am currently using the below system.

Edition	Windows 10 Home
Version	21H2
Installed on	6/4/2021
OS build	19044.3086
Experience	Windows Feature Experience Pack 1000.19041.1000.0

Any help would be greatly appreciated,
Thank you.

I'm sorry, I see this was fixed already in #2180. That fix worked for me.


Allow load/save a model from/to an existing HDF5 file

This is a follow-up of PR #7267 that needed to be rebased against master to be merged. I incorporated changes that @Dapid suggested.
The changes are minimal but the diff is large because there is a piece of code that was indented one level down.
Apart from this, I just re-wrote a function that

opens a file
writes\reads on it

into a function that only does 1 if the argument is a string.
The public interface is backward compatible: the user can pass either an HDF file descriptor or a string (to create the file). This is in line e.g. with the interface used by pandas.
In essence, the (tested) feature is that we can now use
    with h5py.File(fname, 'w') as h5file:
        group = h5file.create_group('model')
        save_model(model, group)

    with h5py.File(fname, 'r') as h5file:
        model = load_model(h5file['model'])

to save a model.

I think this is a good feature to have. This is also a large change. Could someone help review it?

I'll take a look tomorrow.

@Dapid great, thanks!

Rebased against master.

Sorry! My "tomorrow" meant 9 days later.

Thank you very much for the detailed revision, @Dapid, great job! I just pushed a new commit with the changes in respect to the original commit. @fchollet, I also rebased everything against master to be easier for you to merge/ff.
Regarding the flush: we were using flush in save_model even though we were closing the file afterwards, which was redundant. When the descriptor passed is an H5 group, we cannot use flush because we have no access to the file descriptor (only the group descriptor). In this case, I would expect that the flush occurs once the file is closed.
It is unclear why Keras should flush the save itself, I would say that the owner of the descriptor (from resources management perspective) is the one that must take care of that in case she is reading/writing at the same time.

@fchollet, any plans to merge this? I would like to rebase issue #7562 against master with this final version so that we could try to address that one also.

@fchollet This would be a great feature, and plans on mergeing?

Bump

Closing. We now have this feature.


Do we really want to run CI on all those JDKs?

Now that the repos are being schismed, all those extra jobs mean that http4s org CI will be pulverized whenever any wide-reaching update goes out ... such as a new sbt-http4s-org :)
https://github.com/http4s/sbt-http4s-org/blob/073cef4a8b542bba41cdff63c5ad58a52534f4bb/core/src/main/scala/org/http4s/sbt/Http4sOrgPlugin.scala#L52

JEP 247 speaks to the API the artifact compiles against, but says nothing about the runtime.  The only thing the JDK stores in support of the release flag are signatures.  The -release flag only insulates us from linker errors.  So dropping the older JDKs is not without risk.  In practical terms, I think it testing across JVMs has only uncovered TLS changes.
I'd rather prove it's a problem before dropping the safety net, but I won't dig my heels in.

Right, I should have clarified: this issue is more about whether this makes sense as an org default. Many of the new repos aren't testing stuff related to TLS for example. For sure, http4s proper and the backend integrations may very well want to be more strategic about which JDKs and OSes they test on.
However, as safety nets go, you probably want them enabled by default 😆
Also, I think it is difficult to "prove" this is a problem. It just means when org-wide updates roll out, CI will be backlogged for x% more time than it would have been had we dropped these extra jobs.

There's more overhead in the polyrepo world, but most of those new repos are quick builds.  We already scaled back to all the JVMs on one Scala instead of all the JVMs on all the Scalas.  I think we should keep this in mind if we get annoyed, but leave it alone until we do.


Add exponentiation operator

For example x ^ y.
Derivative with chaining:

From Wolfram Alpha:

(note: log(x) here is a natural logarithm)


Link all other files in repo's README.md

I propose a structure like this .

Angular
Git

Books
Courses
Podcasts

Wordpress

Books
Blogs

This will hopefully make finding what you want much more convenient.

Yes this is in our plan! Thanks for the suggestion.

Let's try me finger on that. :wink:

@aviaryan let's do it now since it's stable and silent so let's do that now!

@PareshMayani Sure. I will send a PR.


[tool_crash] ProcessException: Process exited abnormally:Command line invocation:    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

Hi, I've been working on a project for some time now, and recently began working on an iOS home screen widget for it. Upon attempting to run the project with Android Studio again on my physical iPhone 12 Pro, I receive the following issue:
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
command
flutter build ios -v
exception
ProcessException: ProcessException: Process exited abnormally:
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list
2021-04-16 18:21:28.857 xcodebuild[62173:804987]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details:  (null) deviceType from 00008101-0003746126BA001E was NULL when -platform called.
Object:   <DTDKMobileDeviceToken: 0x7fefa1361e10>
Method:   -platform
Thread:   <NSThread: 0x7fefa13541c0>{number = 7, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-04-16 18:21:29.063 xcodebuild[62173:805056]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details:  (null) deviceType from 00008101-0003746126BA001E was NULL when -platform called.
Object:   <DTDKMobileDeviceToken: 0x7fefa1361e10>
Method:   -platform
Thread:   <NSThread: 0x7fefa1867150>{number = 8, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-04-16 18:21:29.145 xcodebuild[62173:805056]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details:  (null) deviceType from 00008101-0003746126BA001E was NULL when -platform called.
Object:   <DTDKMobileDeviceToken: 0x7fefa1361e10>
Method:   -platform
Thread:   <NSThread: 0x7fefa1867150>{number = 8, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.
Command: xcrun xcodebuild -list
#0      RunResult.throwException (package:flutter_tools/src/base/process.dart:171:5)
#1      _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:323:19)
<asynchronous suspension>
#2      XcodeProjectInterpreter.getInfo (package:flutter_tools/src/ios/xcodeproj.dart:414:30)
<asynchronous suspension>
#3      IosProject.projectInfo (package:flutter_tools/src/project.dart:585:29)
<asynchronous suspension>
#4      IosProject.buildSettingsForBuildInfo (package:flutter_tools/src/project.dart:567:35)
<asynchronous suspension>
#5      IosProject._parseProductBundleIdentifier (package:flutter_tools/src/project.dart:509:50)
<asynchronous suspension>
#6      IosProject.productBundleIdentifier (package:flutter_tools/src/project.dart:486:41)
<asynchronous suspension>
#7      BuildableIOSApp.fromProject (package:flutter_tools/src/application_package.dart:423:36)
<asynchronous suspension>
#8      ApplicationPackageFactory.getPackageForPlatform (package:flutter_tools/src/application_package.dart:88:15)
<asynchronous suspension>
#9      _BuildIOSSubCommand.buildableIOSApp (package:flutter_tools/src/commands/build_ios.dart:201:26)
<asynchronous suspension>
#10     _BuildIOSSubCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:231:33)
<asynchronous suspension>
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
<asynchronous suspension>
#15     CommandRunner.runCommand (package:args/command_runner.dart:197:13)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)
<asynchronous suspension>
#17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#18     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:234:5)
<asynchronous suspension>
#20     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
<asynchronous suspension>
#21     run.<anonymous closure> (package:flutter_tools/runner.dart:62:12)
<asynchronous suspension>
#22     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#23     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
<asynchronous suspension>
#24     runInContext (package:flutter_tools/src/context_runner.dart:73:10)
<asynchronous suspension>
#25     main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>

flutter doctor
[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
    • Flutter version 2.0.1 at /Users/tariqjamal/Desktop/Projects/flutter
    • Framework revision c5a4b4029c (6 weeks ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/tariqjamal/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 51.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • iPhone (mobile) • 00008101-0003746126BA001E • ios            • iOS 14.4.2
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 89.0.4389.128

• No issues found!

It's probably worth noting that I receive no issues when I run the app from xcode directly

Nevermind, managed to solve this by changing the project settings from legacy to xcode default, sorry!


Migrate DependencyStorage to SuspendingStorage

What's done:

added StorageCoroutines and implementations for it
added AbstractSuspendingStorage
migrated DependencyStorage to SuspendingStorage

It closes #1898

@nulls will it ever be merged? suggestion to close this PR due to many conflicts

@nulls will it ever be merged?

The PR was created to demonstrate a new API for storages and a way to avoid casting from mono to deferred and back.
Will close if it's bother you, don't have time for demo now

@nulls will it ever be merged?

The PR was created to demonstrate a new API for storages and a way to avoid casting from mono to deferred and back.
Will close if it's bother you, don't have time for demo now

I mean, it seems to have a lot of merge conflicts. Do you think it is easier to fix those conflicts or better start from the very beginning?

Do you think it is easier to fix those conflicts or better start from the very beginning?

I looked, right now it's better to resolve conflicts: there are not so big


Coq generic printer

Transition coq to using the Generic printer.

WIP for #962

@cmester0 what does it take to get this in a reviewable state? The plan was to get this done this week.

Status: it's basically done, actions items:

[ ] separate the bits for core (e.g. usize -> t_usize)
[ ] tests: review snapshot changes for coq
[ ] tests: enable coq for more tests

This should now be a stable version of the Coq generic printer. There is still some naming issues, which I have fixed directly in Concrete ident and the generic printer. We should figure out a better solution for this.

I could not figure out how to get the sourcemap, however, if possible we should also return the sourcemap.


"Session has expired" error

When I do:
$ mintapi --keyring<EMAIL_ADDRESS>--net-worth

A Chrome instance pops up and logs in to Mint -- every single time. It doesn't 'remember' any session info.
Then:
Traceback (most recent call last):
  File "/usr/local/bin/mintapi", line 9, in <module>
    load_entry_point('mintapi==1.28', 'console_scripts', 'mintapi')()
  File "/Library/Python/2.7/site-packages/mintapi/api.py", line 758, in main
    data = mint.get_net_worth()
  File "/Library/Python/2.7/site-packages/mintapi/api.py", line 412, in get_net_worth
    account_data = self.get_accounts()
  File "/Library/Python/2.7/site-packages/mintapi/api.py", line 248, in get_accounts
    raise MintException('Could not parse account data: ' + response)
mintapi.api.MintException: Could not parse account data: <error>1<description>Session has expired.</description><name></name><type></type></error>

From python it works ... but how do I avoid having to do the whole selenium login every time if I'm running a script periodically?
I tried:
pickle.dump( mint, open( "mint.p", "wb" ) )
mint = pickle.load( open( "mint.p", "rb" ) )

between sessions but then I get the same Session has expired error.
UPDATE: After further testing ... regardless of whether from shell, or python, or python3 ... and regardless of picking the mint object ... or just running the script with a delay ... or re-logging in with selenium ... after 1 or 2 calls I get this error.
FWIW, mint.initiate_account_refresh() does not throw an error, ever. But any request for data does.

After some more digging ... I found that the api.py from source is different than the version installed by pip.
If I run that one from python then it works -- except that it still launches a Chrome instance every time. No caching of session/token.

Hmm, when I try to run the api.py from source here, it can't find "seleniumrequests".
Yet now my pip installed api.py runs when I run it alone and manually enter the password and username, however it briefly displays a screen with a recaptcha "I am not a robot" button then disappears, and returns null

@prestonpope192 – to use seleniumrequests you have to pip install selenium-requests ... silly hyphen.

This should be resolved at this point, but please let me know if not :)


DenseMatrix functionality improvements

After a slight brush with DenseMatrix, here's some stuff I found not working that well:

[ ] DenseMatrix is missing __sub__, currently can do A+B, but not A-B.
[ ] DenseMatrix does not support left side multiple with a Basic, that is Symbol('x')*A fails. Add __rmul__ or modify Basic?
[ ] Adding and multiplying of DenseMatrix objects of incompatible size should result in Python errors/exceptions, not crashes.
[ ] Indexing of a single column or row matrix should work with a single index, like A[1].
[ ] Add vector specific methods like dot, norm, cross (I suppose this should be done on the symengine/C++ side actually first).

It would also be nice to have sympy style initialisation working, like A = DenseMatrix([[1, 2, 3], [4, 5, 6]]).

@harakas thanks a lot for your feedback. We should definitely improve the Python interface.


Monospace filenames/directories

Similar to https://github.com/sindresorhus/refined-github/pull/1089
Would be great to see filenames & directories in a monospaced font.
Use-case: We have UUID filenames, e.g.

3013C652-0F83-4A0E-8C8D-B029901451BE.asc
5312A1C1-A048-4200-907B-85AA70679DC3.asc
AD3EE609-279A-4509-B421-BBD369C5ABF.asc
FB61610E-91E7-4B8E-A4AF-052D7379ED4C.asc

Looking at these without a monospaced font makes it hard to tell there's been a typo in one of them. Compare with:
3013C652-0F83-4A0E-8C8D-B029901451BE.asc
5312A1C1-A048-4200-907B-85AA70679DC3.asc
AD3EE609-279A-4509-B421-BBD369C5ABF.asc   <-- obvious that this one is wrong!
FB61610E-91E7-4B8E-A4AF-052D7379ED4C.asc

It kinda makes sense but I'm not sure it'd look decent as a new default. #1089 kinda works because there's often code in the textarea

It looks ugly as monospaced and I don't think "spotting a typo" is good enough reasoning to make it look worse.


Chapter 1 download data code isn't working

I found that the original code seems to be outdated since it seems to use a different repository name (BiteSizeBayes) and it uses a csv file whereas the current data is in a gss_bayes folder which I don't know how to read/use (normally I use csv files). Can anyone give guidance on how to read in this data (e.g. docs) or a pointer on where to find the original GSS data? Thanks in advance.
Here's the original code for context:
`# Load the data file
from os.path import basename, exists
def download(url):
filename = basename(url)
if not exists(filename):
from urllib.request import urlretrieve
local, _ = urlretrieve(url, filename)
print('Downloaded ' + local)
download('https://github.com/AllenDowney/BiteSizeBayes/raw/master/gss_bayes.csv')`

Which file is this in?

Which file is this in?

This is in chap01.ipynb (https://github.com/AllenDowney/ThinkBayes2/blob/master/notebooks/chap01.ipynb)

This notebook runs on Colab without problems:
https://colab.research.google.com/github/AllenDowney/ThinkBayes2/blob/master/notebooks/chap01.ipynb
I recommend running the notebooks on Colab.
I think I don't understand what you are asking.


Scala sample projects are made more idiomatic

Any of the checked boxes below indicate that I took action:

[x] Reviewed the Contribution Guidelines.
[x] Signed the Gradle CLA.
[x] Ensured that basic checks pass: ./gradlew quickCheck

For all non-trivial changes that modify the behavior or public API:

[ ] Before submitting a pull request, I started a discussion on the Gradle developer list,
the forum or can reference a JIRA issue.
[ ] I considered writing a design document. A design document can be
brief but explains the use case or problem you are trying to solve,
touches on the planned implementation approach as well as the test cases
that verify the behavior. Optimally, design documents should be submitted
as a separate pull request. Samples
can be found in the Gradle GitHub repository. Please let us know if you need help with
creating the design document. We are happy to help!
[x] The pull request contains an appropriate level of unit and integration
test coverage to verify the behavior. Before submitting the pull request
I ran a build on your local machine via the command
./gradlew quickCheck <impacted-subproject>:check.
[ ] The pull request updates the Gradle documentation like user guide,
DSL reference and Javadocs where applicable.

Okay, happy change it as requested.

@marc0der I'm afraid SamplesMixedJavaAndScalaIntegrationTest.canBuildDocs and 5 other Samples specs are failing.

java.lang.AssertionError: ...\subprojects\scala\build\tmp\test files\unknown-test-class\r5g6t\scala\mixedJavaAndScala\build\docs\javadoc\org\gradle\sample\Person.html is not a file

Would you please take a look?

@eriwen apologies for not getting onto this sooner but all tests should be green now.

Indeed they are. This looks great, thank you @marc0der!

It's a pleasure!


Adding Barcoin token

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I can help refer this https://github.com/zakimzf/profile/pull/1
PS: if you don't need my help.. please ignore this!

I can help refer this zakimzf/profile#1 PS: if you don't need my help.. please ignore this!

You can help?

Yes,contact me on telegram @zakimzf
On Sat, 5 Feb 2022, 9:36 pm Barcoin-io, @.***> wrote:

I can help refer this zakimzf/profile#1
https://github.com/zakimzf/profile/pull/1 PS: if you don't need my
help.. please ignore this!
You can help?
—
Reply to this email directly, view it on GitHub
https://github.com/solana-labs/token-list/pull/17253#issuecomment-1030650960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNBCATJTCN2F3YNUEGZPX3UZVDI7ANCNFSM5NTSDRUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>


Cleanup duplicated code in the AST package

In package ast, every node implements the Node interface, i.e. these methods.
	Address() string
	Children() []string
	AddChild(node string)
	Position() string

And each Node struct has these properties:
	Addr       string
	Pos        string
	ChildNodes []string

In order to cleanup duplicated code, we could:

create a BaseNode struct in package ast [1]
remove all the Address(), Children(), AddChild(), Position() functions in the ast package
remove Addr, Pos and ChildNodes from every AST struct and replace those fields by BaseNode (anonymous property)
change the struct initialization. See example [2]

This will only affect the ast package. Struct access will remain the same.
[1]
// BaseNode ...
type BaseNode struct {
	Addr       string
	Pos        string
	ChildNodes []string
}

// AddChild adds a new child node. Child nodes can then be accessed with the
// Children attribute.
func (n *BaseNode) AddChild(node string) {
	n.ChildNodes = append(n.ChildNodes, node)
}

// Address returns the numeric address of the node. See the documentation for
// the Address type for more information.
func (n *BaseNode) Address() string {
	return n.Addr
}

// Children returns the child nodes. If this node does not have any children or
// this node does not support children it will always return an empty slice.
func (n *BaseNode) Children() []string {
	return n.ChildNodes
}

// Position returns the position in the original source code.
func (n *BaseNode) Position() string {
	return n.Pos
}

[2] From
	return &AlignedAttr{
		Addr:       ParseAddress(groups["address"]),
		Pos:        NewPositionFromString(groups["position"]),
		IsAligned:  len(groups["aligned"]) > 0,
		ChildNodes: []Node{},
	}

[2] To
	return &AlignedAttr{
                BaseNode: BaseNode{
		    Addr:       ParseAddress(groups["address"]),
   		    Pos:        NewPositionFromString(groups["position"]),
		    ChildNodes: []Node{},
                }
		IsAligned:  len(groups["aligned"]) > 0,
	}

This would definitely create less code. However, it would also make it more generic by creating fields that don't make sense for some nodes. The "Go way" would be to use interfaces and combinations of them to describe its functionality (which should generate even less code).
That is, you would need individual interfaces:
// Go adds "er" for interfaces, this doesn't mean we have to name them this.

interface Noder {
}
interface Addresser {
	Noder
	Address() string
}
interface Childrener {
	Noder
	Children() []string
	AddChild(node string)
}
interface Positioner {
	Noder
	Position() string
}

And only the combinations that exist:
// Again, bad names, just an example
interface AddressPositionChildrener {
	Addresser
	Positioner
	Childrener
}

Using the most specific interface where it's used and testing for the interface.
As I write this I am struggling to image how well it would work. However I'd rather not expose fields or interfaces for nodes that should not have that functionality (get more strict over time). Not because of memory usage, but just to catch mistakes where data is being set or used in a way it's not supposed to.
Also I want to avoid global functions like Position() with a huge switch statement against every type as this makes it error prone when writing extra type (to remember to update these functions). Whereas an interface would stop you compiling.
What do you think?


Update index.yml

Minor edits

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/index.yml
89
2
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit d8df335:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/index.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/index.yml
89
2
link
:white_check_mark:

msteams-platform/whats-new.md
86
31
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit ace8b31:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/index.yml
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e690fc9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/index.yml
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/index.yml
89
2
link
:white_check_mark:

msteams-platform/whats-new.md
86
31
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


e\MyMicroservice.csproj : error NU1100: Unable to resolve 'Swashbuckle.AspNetCore (>= 6.6.2)' for 'net8.0'.

URL
https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/run
Operating system
windows
More information about your system
OS Name:     Windows
OS Version:  10.0.22631
OS Platform: Windows
RID:         win-x64
Description
got error on running dotnet new webapi -o MyMicroservice --no-https on this command but the MyMicroservice folder created.
However not able to run the dotnet run  as got below error:
"\MyMicroservice.csproj : error NU1100: Unable to resolve 'Swashbuckle.AspNetCore (>= 6.6.2)' for 'net8.0'"
run this tutorial on latest LTS version download from website:
"dotnet --version
8.0.403
"
dotnet --info
dotnet --info
.NET SDK:
Version:           8.0.403
Commit:            c64aa40a71
Workload version:  8.0.400-manifests.18f19b92
MSBuild version:   17.11.9+a69bbaaf5
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22631
OS Platform: Windows
RID:         win-x64
Base Path:   C:\Program Files\dotnet\sdk\8.0.403\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version:      8.0.10
Architecture: x64
Commit:       81cabf2857
.NET SDKs installed:
8.0.403 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Can you try running dotnet restore and dotnet build?
You can also try checking the instructions listed at https://github.com/dotnet/core/issues/6193#issuecomment-827395026
Did you install chocolatey by any chance? Sometimes we see this issue.

Can you try running dotnet restore and dotnet build?
You can also try checking the instructions listed at dotnet/core#6193 (comment)
Did you install chocolatey by any chance? Sometimes we see this issue.

Hi, thanks for the reply. Yes, I did run the dotnet restore and dotnet build commands, but they had no impact.
And yes, I have Chocolatey installed on my machine. I just tried removing the Chocolatey environment variable and did a fresh attempt following these steps: https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/create
But I'm still getting the same NU1100 error. Is there any property or NuGet registry I need to set up on my machine?

Check the contents of %appdata%\NuGet\NuGet.Config, it's probably empty.
If it's empty, you then wanna try adding a source like
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
Please share the contents of your NuGet.config for us to try to help you

Check the contents of %appdata%\NuGet\NuGet.Config, it's probably empty.
If it's empty, you then wanna try adding a source like dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
Please share the contents of your NuGet.config for us to try to help you

Thank you so much,
That was the issue, my NuGet.Config was missing packagesources and after adding source as suggested
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org , it works fine :)

awesome, great to hear! Closing the issue then but let us know if you have any other issues.


New amazing thing

Thank you for your contribution @Nepomuceno It's really appreciated. 👍
@neilpeterson @dnblankedelman can you validate and merge, please?

@Nepomuceno this looks like demo ready configurations. I do not think that these need to be merged into this repo / branch.
I'm closing for now. If I am mistaken, let me know, and we can adjust.


Arvelie cannot represent time before y2k

I'd like to use arvelie to denote moment in the past or future.
Time such as 02A01 refers to 2002-01-01, but 1902-01-01 finds no representation in arvelie.

If you need to point to addresses in another century, you will need to use the 1902A01 format.

Thanks for the quick answer! I'm implementing a JS version to use it on my own website.
I compiled the reference C library, and also notice that:
 arvelie > ./arvelie 03+01
Error: Invalid arvelie date (Expecting 2003-12-31)
 arvelie > ./arvelie 20+02
Error: Invalid arvelie date (Expecting 2020-02-29)

Is that something that you need implemented in the arvelie.h file? I could add support for that if you're using it.

It seems you are handling input of length 5 and 10, so handling input of length 7 would be great, as it must be an arvelie date with full year. I can also send a PR myself.

I have a patch that makes it work this way:
> ./arvelie 1920A01
1920-01-01
# if year is not 20xx, use full arvelie format
> ./arvelie 1920-01-01
1920A01

Does that look fine to you? If so I'll send a PR.

as long as it doesn't break compat with the current format sure :)


Whether or not step scrolling is supported？

Is there a property that supports step scrolling, or a case?

There is not scrolling support. I think a carousel might be better for your usecase

Hopefully it will support next step scrolling

There won't be steps in this library. You can use https://ismail9k.github.io/vue3-carousel/ or https://naver.github.io/egjs-flicking/


Git blame is completely fraudulent

GitLens Version: 10.2.1

VSCode Version: 1.42.1
OS Version: Win 10

Steps to Reproduce:
Step 1. Highlight the section of code you want to change its authorship to your name.
Step 2. Control + ] to insert indentation
Step 3. Save the file.
Now you have changed the author of this block of code from someone else to your name.
*** In order to uphold the integrity of git/git blame/git lens, I strongly advice Git Lens should ignore any format-related code changes from Git blame in the next version.

As I mentioned on #964 -- this is how Git works.


Remote Jupyter development using VSCode: notebook shuts down when ssh connection is closed

Environment data

VS Code version: latest
Jupyter Extension version (available under the Extensions sidebar): latest
Python Extension version (available under the Extensions sidebar): latest
OS (Windows | Mac | Linux distro) and version: Ubuntu18 and macOS 11
Python and/or Anaconda version: 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Remote

Expected behaviour
One of the key advantages of Jupyter servers is that I can keep them running, without having to run the entire notebook every day as I start working. It would be nice if that extends to remote (SSH) Jupyter development.
Actual behaviour
Unfortunately, whenever I quite my SSH connection to the remote server where I develop, this shuts down the Jupyter notebook embedded within VSCode.
Is there an easy way to prevent this from happening, and to comfortably continue where I left off as I open a new SSH session?
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Start a notebook, and define some variables. Display the variables in cell 2.
Close SSH connection, and restart a new one.
Try running cell 2 without cell2.
This will display the error that there are no defined variables...

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Maybe this should be rather a feature request rather than a bug report as this is expected behavior when working with ssh. There should be a feature to disown all the processes that are spawned on the server by VSCode when it connects to the server. via SSH.

There's actually a feature request to allow the user to control kernel lifetimes: https://github.com/microsoft/vscode-jupyter/issues/1378. That should handle your request I think.


Skip Tests for dependencies of obelisk cmd / run

Installing into a fresh nix install on MacOSX I only got some amount of binary caching. It seemed like obelisk was building command and all sub commands such as ob run with testing (no pkgs.haskell.lib.dontCheck). This is especially problematic since it depends on libraries whose tests are flapping (for instance I hit this one in http-link).
I tried putting pkgs.haskell.lib.dontCheck in front of all the deps in addLibs but it still seemed to want to build with tests. Im hoping someone with more nix-foo could suggest a solution.

In the time since this issue was reported, our binary caching situation has improved. I am closing this issue on the faith that it is harder to get into a situation where obelisk is forced to build from scratch when the caches are properly configured.
I have created issue #924 to focus on ensuring that binary caches actually work during installation: When they don't work, we consider this a bug. We are reluctant to optimize the pleasantness of what we consider a failure mode.


Can you please generate official Docker container.

First of all, I really appreciate your excellent work and the provided Dockerfile for a smoother setup.
Would you please consider to provide an official Docker image on Docker Hub or as GitHub Package? This would greatly benefit users who want to easily run your bot without building container manually. Thank you for your dedication, and I hope to see more of your excellent work.

Just run the docker compose command with
docker compose up -d --build
If you have the base layers in cache, it takes 2–3 seconds to build and create the container, not any slower than using a prebuilt container.

Thanks for implementing that so rapidly. I understand that anyone can build the image using Dockerfile anytime, but having official image solves the burden of updating the bot to the latest version using something like watchtower, and triggering container updates based on the commits in the official repository is the better option than implementing that using cronjob with regular pulls.
Thanks again for your effort.


Turn off autocorrect for fields

need list of fields

Email/Username - login screen
Vessel page - Vessel Name, Permit number, Home Port, Business name, Location
Crew page - All fields - Captain and crew names, and license numbers

@Sheeri.
I saw that the latest developer used simple Input text views in the UI.
Can you just check the Link, and check the settings of your keyboard?
here is the link, just set up your device keyboard like this :)
https://www.ubergizmo.com/how-to/turn-off-auto-correct-android/
waiting for your response.


feat port: Data.Sum.Order

Mathlib SHA f1a2caaf51ef593799107fe9a8d5e411599f3996
The main difficulty here was having to add a bunch of explicit types where the type was OrderDual when there where funny defeq tricks in Mathlib3.

bors merge