Expand readme ?

Hey @adigitalife, nice to see you gave your plugin a proper repo (any other old stuff to migrate to github maybe?)
You should probably consider expanding a bit the readme, giving a few examples. The old Google Code repo had a short readme, and the first issue was providing good insight too: https://code.google.com/archive/p/yourls-allow-aliases/issues/1
When you have some time :)
Cheers,
Ozh

Good point!  I didn't even realize that there were any issues with the plugin.  On my site it works with I think at least 5 aliases.  I think the plugin should just work out of the box but I'll try to setup a clean YOURLS site to test the plugin to be sure.
Also, I'll check if there are any other plugins I should upload to github.

OK, I hope the readme is now a bit better.


Build development binary in isolated container: error while loading shared libraries: libcrypto.so.1.1

My system:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

$ uname -a
Linux MYHOSTNAME <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l libssl-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version           Architecture Description
+++-================-=================-============-================================================
ii  libssl-dev:amd64 3.0.2-0ubuntu1.15 amd64        Secure Sockets Layer toolkit - development files

Building as stated here:
$ curl -s -L "https://github.com/allinurl/goaccess/archive/refs/heads/master.tar.gz" | tar -xz && cd goaccess-master

$ docker build -t goaccess/build.debian-10 -f Dockerfile.debian-10 .
[+] Building 1.1s (8/8) FINISHED                                                                                docker:default
 => [internal] load build definition from Dockerfile.debian-10                                                                                0.0s
 => => transferring dockerfile: 456B                                                                                0.0s
 => [internal] load metadata for docker.io/library/debian:10                                                                                1.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [1/4] FROM docker.io/library/debian:10@sha256:f6b3b7c7b049c2c7d0f19ae988b4eac64fd8e127fa891c9de1d3cf3f8c33cad4                                     0.0s
 => CACHED [2/4] RUN apt-get update -qqq                                                                                0.0s
 => CACHED [3/4] RUN apt-get install -yqqq     autoconf     build-essential     clang     gettext     libmaxminddb-dev     libssl-dev     linux-headers-amd64     libncursesw5-dev     0.0s
 => CACHED [4/4] WORKDIR /goaccess                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:965b366d6d7a007ccd20b6afaa7dbbf480882fec26436ccc7ab94444ae4444d1                                                           0.0s
 => => naming to docker.io/goaccess/build.debian-10                                                                                0.0s

What's Next?
  1. Sign in to your Docker account → docker login
  2. View a summary of image vulnerabilities and recommendations → docker scout quickview

$ docker run -i --rm -v $PWD:/goaccess goaccess/build.debian-10 > goaccess
es.po: de.po:2: warning: header field 'Language-Team' missing in header
205 translated messages, 8 fuzzy translations, 16 untranslated messages.
de.po: 220 translated messages, 7 fuzzy translations, 2 untranslated messages.
uk.po: 220 translated messages, 5 fuzzy translations, 4 untranslated messages.
it.po: 221 translated messages, 3 fuzzy translations, 5 untranslated messages.
ru.po: 220 translated messages, 5 fuzzy translations, 4 untranslated messages.
fr.po: 209 translated messages, 8 fuzzy translations, 12 untranslated messages.
ja.po: 229 translated messages.
zh_CN.po: 217 translated messages, 4 fuzzy translations, 8 untranslated messages.
ko.po: 223 translated messages, 2 fuzzy translations, 4 untranslated messages.
sv.po: 223 translated messages, 4 fuzzy translations, 2 untranslated messages.
pt_BR.po: 206 translated messages, 6 fuzzy translations, 17 untranslated messages.

$ ls -l ./goaccess
-rwxr-xr-x 1 root root 2581920 Apr  4 12:28 ./goaccess

$ ./goaccess --help
./goaccess: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Seems that goaccess needs older version of libcrypto.so (1.1.x), that is present (3.x) in my Ubuntu 22.04.
Could libcrypto be "compiled into" goaccess binary? Or should I launch development goaccess binary inside Debian 10 container, where is was compiled?

Same error here on Debian 12.5

@valankar, this is what I get on a vanilla bookworm setup. Are you encountering any errors during the source build? The problem has been resolved in the latest version 1.9.2 through the debian repository.
$ git clone https://github.com/allinurl/goaccess.git
$ cd goaccess/
$ sudo apt install libncurses-dev libssl-dev libmaxminddb-dev git build-essential autoconf gettext autopoint
$ ./configure --enable-utf8 --enable-geoip=mmdb --with-getline --with-openssl
$ make
$ sudo make install

then:
vagrant@bookworm:~/goaccess$ ./goaccess --version
GoAccess - 1.9.2.
For more details visit: https://goaccess.io/
Copyright (C) 2009-2024 by Gerardo Orellana

Build configure arguments:
  --enable-utf8
  --enable-geoip=mmdb
  --with-getline
  --with-openssl

@rc5hack, I've updated the Dockerfile, please give it a shot. It should now be compatible with Debian 12, considering that Debian 10 support is being phased out.

@valankar, this is what I get on a vanilla bookworm setup. Are you encountering any errors during the source build? The problem has been resolved in the latest version 1.9.2 through the debian repository.

Sorry I was not clear. I meant that I couldn't do the Build in isolated container, running the container on my Debian 12.5 machine. I just tried again with the updated Dockerfile and it works now. Thanks!


crates.io dependents

📋 Description
It's good to have a badge showing the number of reverse dependencies of a crate in crates.io.
🔗 Data
https://crates.io/api/v1/crates/:crate/reverse_dependencies
Then in the meta::total field, you can get the total number of reverse dependencies.
🎤 Motivation
This is an important indicator of the popularity of a project.

@chris48s Can I take this on?

Yep. Go for it :+1:


Remove pymysql fixes #219

Yeah the only "slight" negative about this is to build mysqlconnector on OSX takes a little work. This is only to avoid errors with a local IDE since the docker image has everything it needs! I had to do this though. Either seemed like the full MySQL had to be installed locally or a piece if it on homebrew.
https://zehengl.github.io/2017/12/17/pip-install-mysqlclient-on-macos/


Explicit typing

Currently there's a lot of type assertions in the code to fail fast in case the wrong type is being passed to a method. Most if not all of these could be replaced by type annotations and the mypy type checker.

I can take a look at this


FAILED open or readN/model.data-00000of-0001

When I build docker image locallly, I got this wrong:
 > [7/7] RUN sha512sum -c sha512sums.txt:
#11 0.460 sha512sum: 'assets/SRGAN/model.data-00000-of-00001'$'\r': No such file or directory
: FAILED open or readN/model.data-00000-of-00001
#11 0.460 sha512sum: 'assets/SRGAN/model.index'$'\r': No such file or directory
: FAILED open or readN/model.index
#11 0.460 sha512sum: 'assets/SRGAN/model.meta'$'\r': No such file or directory
#11 0.460 sha512sum: WARNING: 3 listed files could not be read
: FAILED open or readN/model.meta
------

How could I got these files named "model.data*, model.index, model.meta" in assets/SRGAN? I just want run up at first.

Running on the same issue when trying to build the docker image
sha512sum: 'assets/SRGAN/model.data-00000-of-00001'$'\r': No such file or directory
sha512sum: 'assets/SRGAN/model.index'$'\r': No such file or directory
sha512sum: 'assets/SRGAN/model.meta'$'\r': No such file or directory
sha512sum: WARNING: 3 listed files could not be read

Try updating the dockerfile ARG model_bucket link with:
ARG model_bucket=https://codait-cos-max.s3.us.cloud-object-storage.appdomain.cloud/max-image-resolution-enhancer/1.0.0

Thank you for your patience, this is now fixed in:
https://github.com/IBM/MAX-Image-Resolution-Enhancer/pull/55

This issue has again started appearing. On going to the url

NoSuchKey
The specified key does not exist.
/codait-cos-max/max-image-resolution-enhancer//1.0.0/assets.tar.gz
fec17957-c656-4bc0-98ec-d16487b0feea
404

For
=> CACHED [5/6] COPY . .                                                                                0.0s
=> ERROR [6/6] RUN sha512sum -c sha512sums.txt                                                                    0.3s

[6/6] RUN sha512sum -c sha512sums.txt:
#0 0.274 sha512sum: 'assets/SRGAN/model.data-00000-of-00001'$'\r': No such file or directory
#0 0.274 sha512sum: 'assets/SRGAN/model.index'$'\r': No such file or directory
#0 0.274 sha512sum: 'assets/SRGAN/model.meta'$'\r': No such file or directory
: FAILED open or read/model.data-00000-of-00001
: FAILED open or read/model.index
: FAILED open or read/model.meta
#0 0.275 sha512sum: WARNING: 3 listed files could not be read

So basically it is not able to download the assets from the S3 Bucket.


Merge BnFParser and PPParser packages

The packages BnFParser and PPParser contains a lot of duplicate code.
My purpose is to try to put them to an unique central package.
Some classes are exactly duplicated:

MarcXmlReader
RecordList
Subfield
FileClass (that actually is never used)
Etiq
MainParser (that actually is never used)

A class is only in BnFParser:

ControlField

The other ones are quite different, but they share some methods:

DataField
MarcXmlHandler
Record

For these last ones, could be do an attempt to use a parameter or an initialization phase in the constructor for distinguishing between the two cases. If this will be not possible, we can write them as abstract class and extend in two more specific ones.

Now the parser is unique.
The most difficult class to merge was MarcXmlHandler, because of a difference on tag/field names. I used the builder approach , so that these are now customizable properties (it is also easier extend the parser for other ipotetical sources). Here there is an example of how the builder work, e.g. setting the name of record tag to "NOTICE".
I have seen that was previewed also a conversion XML2Marc. It is now accessible by the command gradle run -Pmarc (I documented it also in the README.


ABIChecker: don't fail when hitting EnumCaseDecl

All enum elments should have been handled separately so we don't need to anything special
for EnumCaseDecl except consuming them.

@swift-ci please smoke test

@swift-ci please smoke test


WIP: DOC: Add detailed explanation of complute_loss, fit #282

Codecov Report

Merging #295 (1f22ca6) into develop (e4880b7) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop      #295   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           43        43
  Lines         1456      1458    +2
=========================================
+ Hits          1456      1458    +2

Impacted Files
Coverage Δ

pfhedge/nn/functional.py
100.00% <ø> (ø)

pfhedge/nn/modules/hedger.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fixes incorrect Blog Post link in 2.2.4.md

Fixes the "Blog Post" link to point to April 2019 Updates

Ah sorry, I didn't notice the PR before reading this feedback: https://github.com/dotnet/core/issues/2555#issuecomment-481747070 which made me to make the fix: https://github.com/dotnet/core/commit/1b3b626848613320599f945d70a8583dff3ccac1#diff-3fe8fb440ad10bde0667d99db10fa9ce
Sorry for that and thanks for you contribution!
Closing as it is now fixed ...

No problem!


Read replica region expecting bad format of zone

Looking at this change, https://github.com/terraform-google-modules/terraform-google-sql-db/commit/5e1ae20e5b7efdbb35f733897f5a4378389337d3#diff-e27339c10a3d8810b98b3b11701265dc2e1188a9e9c08c1f0d34a9699daf2d92R28
It seems the zone is expected to have dashes in it, but the zone variable description is
The zone for the master instance, it should be something like: `a`, `c`.
this is breaking when using a zone like "b" since it doesn't have 3 values it splits into.

It seems this is expected behavior, the zone variable description should be updated and this line should be just zone,
https://github.com/terraform-google-modules/terraform-google-sql-db/blob/aa907bd75281991445962fab2d70d04e21492a19/modules/postgresql/main.tf#L92

I created this PR which fixes the inconsistencies mentioned above. https://github.com/terraform-google-modules/terraform-google-sql-db/pull/156

Fixed by #156


[Feature][PyDolphinScheduler] Support more task plugin in pydolphinscheduler

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
DolphinScheduler has recently added a number of task plugins. We have to add more support in pydolphinscheduler.
List of types in DolphinScheduler: https://dolphinscheduler.apache.org/en-us/docs/dev/user_doc/guide/task/java.html
List of types in PydolphinScheduler: https://dolphinscheduler.apache.org/python/dev/tasks/index.html
There are task types in DolphinScheduler but not in PydolphinScheduler:

[ ] Pigeon
[ ] SeaTunnel
[ ] Amazon EMR
[ ] Apache Zepplin
[ ] Jupyter
[ ] Hive CLI
[ ] Kubernetes
[ ] MLflow
[ ] OpenMLDB
[ ] DVC
[ ] Dinky
[ ] Java
[ ] SageMaker
[ ] ChunJun
[ ] Pytorch

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@zhongjiajie @SbloodyS Can we add the tag of Good First Issue?

@zhongjiajie @SbloodyS @EricGao888 Can we add the tag of Good First Issue?

Done.

May I pick those plugins I contributed before? Jupyter, HiveCLI, Zeppelin 🤣 I could handle the corresponding tasks in pyds : )

May I pick those plugins I contributed before? Jupyter, HiveCLI, Zeppelin 🤣 I could handle the corresponding tasks in pyds : )

Of course.

I will finish adding relevant components on my side first.

[ ] MLflow
[ ] DVC
[ ] SageMaker
[ ] Pytorch

If others are interested in contributing, they can comment on this issue

May i pick chunjun, Dinky and Java?

@DarkAssassinator @jieguangzhou Sure, thanks for the help! Could u plz create related sub-issues like this comment?https://github.com/apache/dolphinscheduler/issues/11906#issuecomment-1245011210 Thanks : )


 So I recently learned about GitPod, a pretty great service by GitHub that allows us to work on and contribute to projects directly from the browser.
Therefore, I want to include the GitPod button in this project.
Reference

Thank you!

@RakeshSangem , Added gitpod button in readme file:
https://github.com/commclassroom/commclassroom/pull/360

Awesome!
It's best practice to wait until the maintainer assigns this to you. Someone might be working on it already. Next time, try raising an issue or informing the maintainer that you want to work on it.

@RakeshSangem , Sorry for this time! I will surely communicate before start working on anything.

Collaboration 1st, code 2nd! ❤


confusing help section

Confusing help section. [0,1] means between 0 and 1 correct? Default value is 5.0?
aco.add_argument("-Cgcw", "--Cgcweight",
	help="GC content constraint quality weighting factor. [0,1]\n(DEFAULT: %(default)s,
TYPE: %(type)s)\n\n",
								type=float,
								default=5.0)

Commentation is wrong indeed. 5.0 was the winning value within the benchmarks. I will fix this asap. Thank you Björn!


Cannot create an NSPersistentStoreCoordinator with a nil model

When integrating this library into my app via Cocoapods, additional steps are needed in order for it to work, otherwise this message pops up and the app crashes.
I had to manually create piwiktracker.momd file with momc utility from Xcode, and include it in my app bundle. Is it possible to automate this process in further versions?

Has this issue been fixed with the latest Podfile? Getting the same problem here.


Refs #850 - Show save/cancel on control panels

See #850

Travis is failing for all three builds. I do not see the re-run build button any longer in the Travis UI, otherwise, I could just re-run the build to see if the problem persists.

@avoinea can you please rebase?

How is that the GH Actions didn't run?

Maybe because the branch is not on the same repo?

I created a new PR and that triggered gh actions: https://github.com/plone/volto/pull/1366

WTF. Now gh actions run here as well...


feat: Implement Starknet RPC functions

Description
Returns starknet rpc calls directly.
Requirements

Unit tests have to be implemented.
Do not change the existing type structure
Tests must have non exist transaction results as well.

Completion Time
The issue is assumed to be completed in 5 days. If you need more time, please also specify that.
This issue is reserved for a local event in Istanbul
Bounty: xxx STRK

can i work in this?

can i work in this

hi again, is it possible to give me one more day for the issue? i work on the issue but as i mentioned yesterday i am new so it takes time to understand concepts

Completed https://github.com/keep-starknet-strange/rosettanet/pull/99


Splitting the OpenInvite section of team_general_tab into another component

Summary
Splitting the OpenInvite section of team_general_tab into another component
Ticket Link
MM-40556
Release Note
NONE

@hmhealey @michelengelen This is my idea, gradually migrate this way. This have multiple advantages.

We migrate to typescript part of that big files.
We migrate to functional components part of that big files.
We reduce the original file, so later we are going to be able to migrate that to typescript and functional component way easier.

The idea is to keep doing this small PRs all over the application, reducing that files to a more declarative, functional and simple approach.

/update-branch

Thanks @jespino
Tested, looks good to merge.

Verified general team settings modal and open invite functionality - as before.
E2Es report looks good - no PR related failures.

/cherry-pick release-6.3

Cherry pick is scheduled.


Could not get access token

Describe the bug
Entities unavailable, integration gives error.
Version of the integration
v1.9.15
Logs

2022-12-04 00:01:33.706 DEBUG (MainThread) [custom_components.google_home] Unloading entry...
2022-12-04 00:01:33.707 DEBUG (MainThread) [custom_components.google_home] Coordinator update interval is: 0:03:00
2022-12-04 00:01:33.707 DEBUG (MainThread) [glocaltokens.client] Initializing new GLocalAuthenticationTokens instance.
2022-12-04 00:01:33.707 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None
2022-12-04 00:01:33.707 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client username to "t**************", password to "b***************", master_token to "a******************************************************************************************************************************************************************************************************************************" and android_id to 9***************
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] Initializing models list if empty...
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] Forcing homegraph reload
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] Invalidated homegraph
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] Getting homegraph...
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] There is no stored homegraph, or it has expired, getting a new one...
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] There is no access_token stored, or it has expired, getting a new one...
2022-12-04 00:01:33.708 DEBUG (SyncWorker_7) [glocaltokens.client] Master token: a******************************************************************************************************************************************************************************************************************************
2022-12-04 00:01:33.798 ERROR (SyncWorker_7) [glocaltokens.client] [!] Could not get access token.
2022-12-04 00:01:33.798 DEBUG (SyncWorker_7) [glocaltokens.client] Request response: {'Error': 'BadAuthentication'}
2022-12-04 00:01:33.798 DEBUG (SyncWorker_7) [glocaltokens.client] [GRPC] Unable to obtain access token.
2022-12-04 00:01:33.798 DEBUG (SyncWorker_7) [glocaltokens.client] Failed to fetch homegraph
2022-12-04 00:01:33.798 DEBUG (MainThread) [custom_components.google_home] Finished fetching sensor data in 0.091 seconds (success: True)
2022-12-04 00:01:33.799 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.google_home
2022-12-04 00:01:33.799 INFO (MainThread) [homeassistant.components.switch] Setting up switch.google_home
2022-12-04 00:01:33.799 INFO (MainThread) [homeassistant.components.number] Setting up number.google_home

Closed, since already reported in https://github.com/leikoilja/ha-google-home/issues/599

Is the master token and access token the same? Was working just fine when I set it up.

Well then I don't see how this is the same issue. Anyway, I removed the integration and set it up again. Entities are available again.

The issue is with google randomly returning BadAuthentication error and it's unclear how and when it happens.
Happy to hear that removing and adding the integration has solved it for you @tjorim

Happening again since a few days:
This error originated from a custom integration.

Logger: glocaltokens.client
Source: custom_components/google_home/api.py:87
Integration: Google Home (documentation, issues)
First occurred: 11:17:19 PM (2 occurrences)
Last logged: 11:35:25 PM

[!] Could not get access token.

@tjorim you didn't do any recent changes to your google account or HA instance?
Like changing google accounts passwords or resetting 2FA or tuning any other security settings?
Have you undergone any major HA migrations, upgrades?


Fix “Tapable.plugin is deprecated” errors

Had to also update the Dockerfile, as it was failing the CI. Have moved it to latest Node 8 Docker image (non-alpine)

:tada: This PR is included in version 4.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How would I use a different site for the API?

Would I just change the steam api's url to a different sites one?

Not sure if we provide support for different API's here on this repo.
You will have to figure out yourself.
The code is open -source, it's not that hard to figure out.

Yeah thanks, I already made a little edit that changes the API. Thanks again for the help though.

Hey how do u change the API?
On 21-Jun-2017 7:52 PM, "Finley"<EMAIL_ADDRESS>wrote:

Yeah thanks, I already made a little edit that changes the API. Thanks
again for the help though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pepzwee/node-csgo-web-tradebot/issues/55#issuecomment-310094015,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZM6KeL1ekPVuHL4_0SGimhzxZJaXiwjks5sGSbsgaJpZM4OA5pk
.


Move Web.configs into MSBuild folders

Adjusted OutputPath to point to the regular (non-MSBuild) folder.
Moved Web.config into MSBuild folders

Hold of on this.. we're investigating something else


Logos and branding

Cooler Communities logo on banner, linking to the "about" page, instead of the MassEnergize logo.  To right of logo, "Carbon Saver" text - with a tagline (example: "Learn about the impact of actions you can take")

The Logo and linking to about page are done.  What is missing is the "CarbonSaver - Learn about the impact of actions you can take"


solved issue #1451

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Issue Number: #1451
What is the new behavior?

Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Focused crawler returns 404 response for robots.txt and stops crawling

from trafilatura.spider import focused_crawler

class IgnoreRobotFileParser(urllib.robotparser.RobotFileParser):
    def can_fetch(self, useragent, url):
        # Always return True to allow fetching any URL regardless of robots.txt
        return True

    def read(self):
        # Override read method to do nothing, avoiding parsing the robots.txt
        pass

crawl_start_url = 'https://nicegui.io/documentation'
to_visit, known_links = focused_crawler(homepage=crawl_start_url, max_seen_urls=1, rules=IgnoreRobotFileParser())
to_visit, known_links = focused_crawler(crawl_start_url, max_seen_urls=1000, max_known_urls=100000, todo=to_visit, known_links=known_links)

Result: ERROR:trafilatura.downloads:not a 200 response: 404 for URL https://nicegui.io/robots.txt
Not overriding the RobotFileParser class (= not passing anything to the rules parameter of focused_crawler()) has the same result.

Hi @Guthman, the website you're trying to crawl simply doesn't have internal links, it's a single-page web app so there is nothing to crawl. The 404 error is irrelevant here.


Typo

Nice job on the plugin 👍

Friendly ping mr. @ikappas

@bravo-kernel Thank you for your MR! This has been merged in to latest develop branch

:clap:


Threads get stuck at DefaultSmppSession.sendRequestPd:530

We have noticed that when the network between client and server or threads get stuck on line 530 in DefaultSmppSession. The code is:
// write the pdu out & wait timeout amount of time
ChannelFuture channelFuture = this.channel.write(buffer).await();

I think that the fix should be something like this:
// write the pdu out & wait timeout amount of time
ChannelFuture channelFuture = this.channel.write(buffer).await(timeoutMillis);

This is on version 5.0.7 and 5.0.8

You probably are onto something.  Gladly will accept a PR that makes the change.

Pull request added https://github.com/twitter/cloudhopper-smpp/pull/115

Hi!
Branch 'netty4' peace of code:
// write the pdu out & wait timeout amount of time
ChannelFuture channelFuture = this.channel.writeAndFlush(buffer);
if (configuration.getWriteTimeout() > 0){
channelFuture.await(configuration.getWriteTimeout());
} else {
channelFuture.await();
}
Method writeAndFlush won't throw exception if channel is closed by other side. So, if 'writeTimeout' is default and session listener doesn't handle 'fireChannelClosed' we'll get the same lock.
Please, let me know if @mthyman PR affects branch netty4?

@olegagafonov I haven't tried the netty4 branch myself so I haven't seen the problem there, but looking at your code snippet setting a positive write timeout in your config should avoid the problem if it's there.
One a side note, we've been running a special build with my PR in production for almost two months now without seeing any threads get stuck so far.

@mthyman You're right! Possitive timeout is a solution. But default timeout is a delayed dead-lock.
Your PR and my code snippet is the same code in differrent branches. But I don't know both branches lifecycle and merge strategy. @jjlauer what do you think?


ERROR: Exception in ASGI application

本地调用api.py接口时报错：
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/opt/miniconda3/lib/python3.12/site-packages/starlette/responses.py", line 265, in call
await wrap(partial(self.listen_for_disconnect, receive))
File "/opt/miniconda3/lib/python3.12/site-packages/starlette/responses.py", line 261, in wrap
await func()
File "/opt/miniconda3/lib/python3.12/site-packages/starlette/responses.py", line 238, in listen_for_disconnect
message = await receive()
^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 534, in receive
await self.message_event.wait()
File "/opt/miniconda3/lib/python3.12/asyncio/locks.py", line 212, in wait
await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f0ff15a8b00
During handling of the above exception, another exception occurred:

Exception Group Traceback (most recent call last):
|   File "/opt/miniconda3/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
|     result = await app(  # type: ignore[func-returns-value]
|              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/miniconda3/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in call
|     return await self.app(scope, receive, send)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/miniconda3/lib/python3.12/site-packages/fastapi/applications.py", line 1054, in call
|     await super().call(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/applications.py", line 123, in call
|     await self.middleware_stack(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in call
|     raise exc
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in call
|     await self.app(scope, receive, _send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 65, in call
|     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
|     raise exc
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
|     await app(scope, receive, sender)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/routing.py", line 754, in call
|     await self.middleware_stack(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/routing.py", line 774, in app
|     await route.handle(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/routing.py", line 295, in handle
|     await self.app(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/routing.py", line 77, in app
|     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
|     raise exc
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
|     await app(scope, receive, sender)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/routing.py", line 75, in app
|     await response(scope, receive, send)
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/responses.py", line 258, in call
|     async with anyio.create_task_group() as task_group:
|   File "/opt/miniconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 680, in aexit
|     raise BaseExceptionGroup(
| ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/responses.py", line 261, in wrap
|     await func()
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/responses.py", line 250, in stream_response
|     async for chunk in self.body_iterator:
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/concurrency.py", line 65, in iterate_in_threadpool
|     yield await anyio.to_thread.run_sync(_next, as_iterator)
|           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/miniconda3/lib/python3.12/site-packages/anyio/to_thread.py", line 56, in run_sync
|     return await get_async_backend().run_sync_in_worker_thread(
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/miniconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
|     return await future
|            ^^^^^^^^^^^^
|   File "/opt/miniconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 859, in run
|     result = context.run(func, *args)
|              ^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/miniconda3/lib/python3.12/site-packages/starlette/concurrency.py", line 54, in next
|     return next(iterator)
|            ^^^^^^^^^^^^^^
|   File "/opt/human/GPT-SoVITS/api.py", line 613, in get_tts_wav
|     refers = [get_spepc(hps, ref_wav_path).to(dtype).to(device)]
|               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/human/GPT-SoVITS/api.py", line 417, in get_spepc
|     audio, = librosa.load(filename, int(hps.data.sampling_rate))
|               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| TypeError: load() takes 1 positional argument but 2 were given
+------------------------------------
项目拉下来只改了输出未文件的逻辑，那位大佬见过这个问题

是环境问题，目前已解决


Find the running medium

Problem: Problem: https://www.hackerrank.com/challenges/find-the-running-median/problem
Topic: Heaps

I can solve this in C++, please assign me this issue

I can solve it in java, please assign me

I'll do it in Python

I can implement in java.

I guess it is median not medium


Regarding Amplify Hosting, "Amazon CloudFront and S3"

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
Amplify Hosting
Amplify CLI Version
v7.4.4
You can use amplify -v to check the amplify cli version on your system
What AWS Services are you utilizing?
Amazon CloudFront, Amazon S3
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
I have three questions about hosting with "Amazon CloudFront and S3" selected in Amplify Hosting.
1 . about inaccessibility during deployment
Immediately after deployment using this function, it seems that the deployed application cannot be accessed as described in the link below.

This is because CloudFront forwards requests to the default S3 endpoint (s3.amazonaws.com), which is in the us-east-1 region, and it can take up to 24 hours for the new hosting bucket name to propagate globally.
https://docs.amplify.aws/cli/hosting/hosting/#amazon-s3-and-amazon-cloudfront

I was able to access the application by reconfiguring the CloudFront origin domain and adding the region to the address. Is there any way to reflect this when deploying without manually modifying the settings in this way?

2 . about S3 settings
In the S3 settings after deployment, the block public access is set to off, and the website hosting setting is enabled.
Although direct access is not allowed, I think there should be no problem if the blocked public access is turned on and the website hosting setting is disabled, and only CloudFront is configured.

3 . about automatic removal of S3
When I run "amplify remove hosting", CloudFront is automatically removed, but S3 does not seem to be automatically removed. Do I need to delete it manually? Or is there a way to remove it automatically?

Hey @dayjournal :wave: thanks for raising this and apologies for the delay! To share some insight on your questions:

based on the question for 2, this appears to be working as expected.
What stage was used to deploy? It appears we may want the PROD stage, https://docs.amplify.aws/cli/hosting/hosting/#stages
did you push after amplify remove hosting?

Hi, @josefaidt
Thank you for your answer!
There is also a blog where I have tested it here.
Trying Out Various Settings for AWS Amplify Publishing
https://dev.to/aws-builders/trying-out-various-settings-for-aws-amplify-publishing-39i4

based on the question for 2, this appears to be working as expected.

It seems that some regions may not be reflected until 24 hours as shown in this document. I was able to improve this manually, but is there any way to improve this automatically?
https://docs.amplify.aws/cli/hosting/hosting/#amazon-s3-and-amazon-cloudfront

What stage was used to deploy? It appears we may want the PROD stage,

I used "PROD". The current configuration is fine, but for a more accurate configuration, it needs to reflect what you asked. It may be that the S3 settings are internally mixed with the "DEV" version.

did you push after amplify remove hosting?

I tried several times and CloudFront disappears automatically, but S3 remains.

Hey @dayjournal , apologies for the delay in a response. on replicating hosting with cloudfront and s3 I observed the S3 bucket persisting. I created a github issue: https://github.com/aws-amplify/amplify-cli/issues/10478. Please feel free in adding your comments to the issue.
Closing this in favor of the issue.

Hi, @ykethan
Thank you for your response!


Fork and scan the cloudfoundry-community/cf-resource repo

We want to fork the github.com/cloudfoundry-community/cf-resource repo
Acceptance Criteria

[x] Fork the cloudfoundry-community/cf-resource repo
[x] Run scan tooling against the repo
[x] Address security concerns
[x] Add dependabot.yml
[x] Communicate forked repo being ready to platform and pages teams

Security considerations
Forking this repo for now until we have a better solution. This allows us more control over what we are pulling into our system.

https://github.com/cloud-gov/common-pipelines/pull/60


Execute dnu restore in Travis builds with .NET Core

/cc @halter73

@dougbu I think it's time to turn this on by default again.

@davidfowl I'm working toward that but avoiding a big-bang upgrade. Will do a few repos at a time now that I can switch them over individually.

... also, was your comment shaped like a squirrel?

:up::date: (very slight update)


[#noissue] Cleanup .gitignore

Codecov Report

Merging #6088 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6088      +/-   ##
==========================================
+ Coverage   40.77%   40.77%   +<.01%
==========================================
  Files        3024     3024
  Lines       90599    90599
  Branches    11817    11817
==========================================
+ Hits        36940    36945       +5
+ Misses      50493    50488       -5
  Partials     3166     3166

Impacted Files
Coverage Δ

...tor/metric/datasource/DefaultDataSourceMetric.java
75% <0%> (-3.13%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.22% <0%> (ø)
:arrow_up:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70% <0%> (ø)
:arrow_up:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
66.42% <0%> (+1.42%)
:arrow_up:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
85.36% <0%> (+2.43%)
:arrow_up:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
66.66% <0%> (+11.11%)
:arrow_up:

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 dda5e7b...35548d0. Read the comment docs.


Fix writeback query performance issue

Limits the query in writeback_rigid_bodies to only entities with rigid bodies, improving performance in scenes with many non rigidbody entities.
Data from scene with 1000+ entities and 1 rigid body:
Before:

After:

Thanks!


tweak to include roundtrip test for correct encoding of path-based sp…

…ark params

I will have a look at this after my vacation (the week after next)

If you're going to think about this, might be better to just take another look at #267 because the test thing is kind of secondary (and I think it might be better to overhaul that test harness in general, which I have a first pass of sitting about here somewhere). The bigger issue is, what's a good way to fix #267? Is it ok to introduce another dependency? Should some code be lifted from a bigger library to avoid that?

:+1:
"Copy paste" merge due to branch conflicts.


Metrics R package has been orphaned on CRAN

Hi Ben,
I just noticed that the maintainer status of the Metrics R package has been changed to "ORPHANED"  on April 21, 2017.  The CRAN maintainers must have sent you some emails about issues with the package and couldn't reach you so after a certain amount of time, they set the maintainer to "ORPHANED" and incremented the package version number to 0.1.2.
I fixed the CRAN issues, made updates to the documentation, added examples to all the functions, and incremented the version number to 0.1.3.  I've pushed the updates, which you can review on my fork here.  Are you interested in re-establishing yourself as the maintainer?  If so, I'll submit a PR with my changes and you can submit version 0.1.3 to CRAN directly.  If not, let me know and I can help you find someone to take over as the maintainer and have them submit version 0.1.3 to CRAN.
CRAN check output from running R CMD check --as-cran Metrics_0.1.3.tar.gz:
* using log directory ‘/Users/me/code/github-myforks/Metrics/Metrics.Rcheck’
* using R version 3.3.2 (2016-10-31)
* using platform: x86_64-apple-darwin13.4.0 (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
* checking for file ‘Metrics/DESCRIPTION’ ... OK
* this is package ‘Metrics’ version ‘0.1.3’
* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘Ben Hamner<EMAIL_ADDRESS>
Days since last update: 4

New maintainer:
  Ben Hamner<EMAIL_ADDRESS>Old maintainer(s):
  ORPHANED

License components with restrictions and base license permitting such:
  BSD_3_clause + file LICENSE
File 'LICENSE':
  YEAR: 2012-2017
  COPYRIGHT HOLDER: Ben Hamner
  ORGANIZATION: copyright holder

CRAN repository db overrides:
  X-CRAN-Comment: Orphaned and corrected on 2017-04-21 as check errors
    were not corrected despite reminders.
  Maintainer: ORPHANED
CRAN repository db conflicts: ‘Maintainer’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘Metrics’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... OK
* checking PDF version of manual ... OK
* DONE

Status: 1 NOTE
See
  ‘/Users/me/code/github-myforks/Metrics/Metrics.Rcheck/00check.log’
for details.

This is now resolved because the package has been adopted by a new maintainer: https://github.com/benhamner/Metrics/issues/41


Add quality check for unresolved merge conflicts

Closes #4633

👍🏻

@homu r+

:pushpin: Commit ba2c572 has been approved by segiddins

:zap: Test exempted - status


Enumeration problem

Describe the bug
I am using the following reaction:
[C:1][N:2]=[N+:3]=[N-:4].[H:8][C:5]#[C:6][C:7]>>[C:7][C:6]1=[C:5]([H:8])[N:2]([C:1])[NH0:3]=[NH0:4]1
with these two reactants:
C#CC
CCN=[N+]=[N-]
The component does not enumerate (both python and RDkit)
rxn = Chem.ReactionFromSmarts(rxn)
ps=rxn.RunReactants((r1,r2))
To Reproduce
** the function bellow requires to input file names**
def Enumerate(reactionFN, outputFN, reactant1FN, reactant2FN, alignFN = None):

	rxt = None

	#reading reaction smarts
	if reactionFN is not None:
		with open(reactionFN) as fp:
			rxn = fp.readline()
	else:
		print("Unable to read reaction file %s"%(reactionFN))

	rxn = Chem.ReactionFromSmarts(rxn)
	reactant1 = Chem.SDMolSupplier(reactant1FN)
	print(f'Number of first reactants: {len(reactant1)}')

	reactant2 = None #optional
	if reactant2FN is not None:
		reactant2= Chem.SDMolSupplier(reactant2FN)
		print(f'Number of second reactants: {len(reactant2)}')

	align = None
	if alignFN is not None:
		align = Chem.SDMolSupplier(alignFN)[0]

	products = []
	product = None

	for r1 in reactant1:
		if r1 is None:
			continue
		if reactant2 is not None:
			for r2 in reactant2:
				if r2 is None:
					continue
				ps=rxn.RunReactants((r1,r2))
				if len(ps) > 0:
					product = ps[0][0]
					#I need to do this to avoid collapsing of some atoms on top of each other
					product = Chem.MolToSmiles(product)
					product = Chem.MolFromSmiles(product)

					Chem.Compute2DCoords(product)
					if align is not None:
						Chem.GenerateDepictionMatching2DStructure(product, align)
						pass
				else:
					#print("Skipping...")
					pass

				if product is not None:
					products.append(product)
		else:
			ps=rxn.RunReactants((r1,))
			product = ps[0][0]
			Chem.Compute2DCoords(product)

			if product is not None:
				products.append(product)

	print("Enumerated %i products"%(len(products)))

	w = Chem.SDWriter(outputFN)
	for m in products: w.write(m)

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):

RDKit version: 2020.09.4
OS: Windows
Python version (if relevant): 3.8
Are you using conda? Yes
If you are using conda, which channel did you install the rdkit from? default

Hi @ValeryPolyakov, I'm going to guess that the problem here is that you've included an explicit H atom in your reaction definition. If you're going to do this, you'll need to actually have H atoms present in the molecular graph of the molecules you apply the reaction to.  You'll either need to call AddHs() or, if you're reading molecules from an SDF where Hs are already present, be sure to include the removeHs=False argument when you created your SDMolSupplier.
So for your example:
>>> rxn1 = rdChemReactions.ReactionFromSmarts('[C:1][N:2]=[N+:3]=[N-:4].[H:8][C:5]#[C:6][C:7]>>[C:7][C:6]1=[C:5]([H:8])[N:2]([C:1])[NH0:3]=[NH0:4]1')
>>> m1 = Chem.MolFromSmiles('C#CC')
>>> m2 = Chem.MolFromSmiles('CCN=[N+]=[N-]')
>>> rxn1.RunReactants((m2,m1))
()
>>> m1h = Chem.AddHs(m1)
>>> m2h = Chem.AddHs(m2)
>>> rxn1.RunReactants((m2h,m1h))
((<rdkit.Chem.rdchem.Mol object at 0x7fccd0529330>,),)

Alternatively, and probably better, you can remove the explicit H atom from your reaction definition, which gets you a reaction which works regardless of whether or not Hs are present in the molecule graph:
>>> rxn2 = rdChemReactions.ReactionFromSmarts('[C:1][N:2]=[N+:3]=[N-:4].[CH1:5]#[C:6][C:7]>>[C:7][C:6]1=[C:5][N:2]([C:1])[NH0:3]=[NH0:4]1')
>>> rxn2.RunReactants((m2,m1))
((<rdkit.Chem.rdchem.Mol object at 0x7fccd050b450>,),)
>>> rxn2.RunReactants((m2h,m1h))
((<rdkit.Chem.rdchem.Mol object at 0x7fccd04d3630>,),)

Hi Greg,
Many thanks for your reply. I agree that the second method is much cleaner. I am curious as to why does it return charged nitrogens on the triazole ring:
rxn2 = rdkit.Chem.rdChemReactions.ReactionFromSmarts('[C:1][N:2]=[N+:3]=[N-:4].[CH1:5]#[C:6][C:7]>>[C:7][C:6]1=[C:5]N:2[NH0:3]=[NH0:4]1')
product = rxn2.RunReactants((m2,m1))
if len(product) and len(product[0]) > 0:
product = Chem.MolToSmiles(product[0][0])
print(product)
else:
print("No reaction #2")
Output:
CCN1C=C(C)[N-]=[N+]1

@ValeryPolyakov If you want the reaction to remove charge, you need to tell it do so:
[C:1][N:2]=[N+:3]=[N-:4].[CH1:5]#[C:6][C:7]>>[C:7][C:6]1=[C:5]N:2[N+0:3]=[NH0:4]1
(I also removed the redundant H0 from N:3 in the products)


Licence?

First of all thanks for all this great work.
Would it be possible for you to add a license to this project? It would help others understand its usage possibilities.

@MikeG112 Thanks for discussing this with me over the phone. I agree with the Apache 2.0 and CC BY-SA 4.0 license choices!


Remove "engines" from library's package.json

There is no reason to force library users to use particular Node.js version.
The "engines" key were added in commit 4d57805a2b68cf5a6fbe68385f66805a51ac055d, probably by mistake.

Thanks

Hey @Zefling! Thanks for accepting my PR :) Do you happen to have any estimate for the next release date?

Sorry for waiting, it’s done.

No problem at all, thank you!


module 'cmp' not found

Is nvim-cmp a required dependency ?

No, cmp is optional. It simply provides convenience with keyword autocomplete, like /system, /you, /buf.
By the way, which completion plugin are you using?

I don't use any completion plugin

Then you need to specify bufnr manually:
/you

/buf 1
/buf 2

{{your_prompt}}

Opening nvim after installing this plugin throws this error.


MSF_DATABASE_CONFIG to $PATH database.yml file

My database .yml file is not found by ./armitage how to fix?

it has something to do with this
I can not find database.yml. I *really* need it.

To connect to the Metasploit Framework database, Armitage needs to know the location of the database.yml file. This is normally available in the MSF_DATABASE_CONFIG environment variable.

If you installed Metasploit by hand, make sure MSF_DATABASE_CONFIG is set. You may want to try sudo -E to launch Armitage. This form of sudo will have Armitage inherit the root user's environment--including the MSF_DATABASE_CONFIG variable.

Kali Linux users, if you're getting this error--try:

   service postgresql start
   service metasploit start
   service metasploit stop

where is MSF_DATABASE_CONFIG? i want to put it into path so i can fix this issue....

Actually I faced the same issue in my cent os 7 vm box. I did find the sample database.yml file in "/opt/metasploit-framework/embedded/lib/ruby/gems/2.6.0/gems/metasploit-credential-3.0.4/spec/dummy/config/database.yml" location and it contains the following lines.
#######################################################
development: &pgsql
adapter: postgresql
database: metasploit-credential_development1
username: msf
password: pass123
host: localhost
port: 5432
pool: 5
timeout: 5
min_messages: warning
test:
<<: *pgsql
database: metasploit-credential_test1
#############################################################
Copy above file to your home directory and make the changes such as DB user, DB password and DB name according to your requirements.
Run the following command.
export MSF_DATABASE_CONFIG=
Example: export MSF_DATABASE_CONFIG=~/database.yml
Add following line in your .bash_profile also
export MSF_DATABASE_CONFIG=~/database.yml
Then run "msfd" command, it will ask you for new database setup, type yes and enter. It will create the database for you. In case if it is not prompting for new database setup, please remove ".msf4" (hidden folder) in your home directory and again run "msfd" command.

i cant find the solution again it error,after re-installing also

i've used
root@kali:/opt/metasploit-framework/bin# msfdb reinit
Creating configuration file in /usr/share/metasploit-framework/config/database.yml
and next
export MSF_DATABASE_CONFIG=usr/share/metasploit-framework/config/database.yml


Case-split on holes

Did you mean case-splits on bind patterns?

Did you mean case-splits on bind patterns?

Yes, but called from inside a hole (like C-c C-c in agda mode)

Did you mean case-splits on bind patterns?

Yes, but called inside a hole (like C-c C-c in Agda mode)

We don't need to enforce quick-fixes to be in holes. We can make them happen everywhere. I think Agda mode does this due to their poor IDE support

Did you mean case-splits on bind patterns?

Yes, but called inside a hole (like C-c C-c in Agda mode)

We don't need to enforce quick-fixes to be in holes. We can make them happen everywhere. I think Agda mode does this due to their poor IDE support

Ohhh yes!


Add PhantomJS type definition

Without this, the run script fails with TypeScript errors from CasperJS.

Didn't think to check open pull requests first.  Sorry for the noise.


use go fmt best practices for import statements

Most of the codebase is of the form
import (
    stdlib

    thirdparty

    firstparty
)

This makes the import statements overall more readable. This is also
how go fmt formats import statements.

@bacongobbler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Bug: The record is not updated if the dynamic object is passed in the Update operation without passing the whereOrPrimaryKey attribute.

The simple code below is failing.
// Dynamic Model
using (var connection = new SqlConnection(m_connectionString))
{
	var result = connection.Update("Person", new { Id = 3322720, Name = "Michael" }, trace: new Trace());
}

It is passing if you are passing the value at 'whereOrPrimaryKey' argument.
// Dynamic Model
using (var connection = new SqlConnection(m_connectionString))
{
	var result = connection.Update("Person", new {  Name = "Michael" }, 3322720, trace: new Trace());
}

Upon validating, the codes are working as expected.


[LakeFSOutputCommitter] Component testing

Add integration tests for lakeFS OC that check writing single txt file in append mode.
Test with the relevant Hadoop versions in our matrix.

Too slow, we closed this project.


Interactions and view

Adapt ol.interactions to OpenLayers 4.10.
Allow defining options for default interactions (to be used in ol.Map creation).
Add functions for min/max zoom on view, which were integrated in the last OpenLayers 4 releases.
Cleanup old TypedObject as it is not necessary anymore.
Basically it was necessary when GWT was not able to overload a JavaScript function with different types  which can be done since GWT 2.8.0).

Thanks!


Change color from blue to green

Is there any way to turn the video player styles green instead of blue?

This can be done by overriding CSS rules. Add them all to a single CSS file and load it via supplementalPlayerUiCss (see https://github.com/bitmovin/bitmovin-player-react-native#customize-html-ui-android-and-ios-only for details).
You can find details on CSS classes in https://bitmovin.com/docs/player/articles/player-ui-css-class-reference or directly in https://github.com/bitmovin/bitmovin-player-ui


Using meteor-publish-composite with angular2

I am learning meteor along with angular2 and tutorial on angular-meteor.com has helped a lot.
I have extended the exercise in tutorial to use a new collection name Venues and using a reference in Parties collection to refer to document in Venues collection. I am trying to use meteor-publish-composite to publish the Parties and related Venue document along with it.
I am getting following error message when publishing Parties using publishComposite
server/imports/publications/parties.ts (11, 36): Argument of type '(options: Options, location?: string) => { find: () => ObservableCursor<Party>; children: { find:...' is not assignable to parameter of type '(...args: any[]) => PublishCompositeConfig<any> | PublishCompositeConfig<any>[]'.
  Type '{ find: () => ObservableCursor<Party>; children: { find: (party: any) => Cursor<Venue>; }[]; }' is not assignable to type 'PublishCompositeConfig<any> | PublishCompositeConfig<any>[]'.
    Type '{ find: () => ObservableCursor<Party>; children: { find: (party: any) => Cursor<Venue>; }[]; }' is not assignable to type 'PublishCompositeConfig<any>[]'.
      Property 'length' is missing in type '{ find: () => ObservableCursor<Party>; children: { find: (party: any) => Cursor<Venue>; }[]; }'.

Here is the code snippet from server/imports/publications/parties.ts
Meteor.publishComposite('parties', function(options: Options, location?: string) {
    return {
        find: function() {
            const selector = buildQuery.call(this, null, location);

            Counts.publish(this, 'numberOfParties', Parties.collection.find(selector), { noReady: true });

            return Parties.find(selector, options);
        },
        children: [{
            find: function(party) {
                return Venues.collection.find(
                    {_id: party.venueId},
                    {limit: 1}
                );
            }
        }]
    }
});

Completed code is available at https://github.com/hsdhillon/angular2-meteor-publish-composite
Also, I am not able to figure out as how I can access the related Venues from the template to render the parties-list.
I will really appreciate any help or pointers to solve this.

@hsdhillon, when using publish-composite you need to pass the actual Mongo.Collection object, and not the ObservableCollection that wrapped by meteor-rxjs.
So instead using Parties.find(selector, options);, use Parties.collection.find(selector, options);.

you can check out the usage of meteor-publish-composite in the new version of the tutorial - https://angular-meteor.com/tutorials/whatsapp2/ionic/privacy


feat(max32657): Updates for bring up

Enabling instruction cache.

Maybe I need to rebase this? I created the branch based on what was being reference in zephyr.

I think you should submit this change to MSDK. It will then be automatically pushed to this repo.
https://github.com/analogdevicesinc/msdk/blob/main/Libraries/zephyr/MAX/Source/MAX32657/max32xxx_system.c


Alternate command palette black characters

hard to read

Will look into this! Thanks!

Hmm… I can't seem reproduce this.

I'm closing this issue as I fail to reproduce the bug. Feel free to reopen it if you find out how to reproduce it.

UI Theme : atom-material-ui
Syntax Theme : atom-material-syntax
OS : Widonws 8.1, Ubuntu 15.04 and OS X 10.10.4

I'm on OS X 10.10.4 and I cannot reproduce it.


chore(datasets): Add /api/v1/dataset/{pk}/column endpoint

SUMMARY
Per SIP-64 this PR adds the /api/v1/dataset/{pk}/column endpoints for obtaining just the columns associated with a dataset to aid the performance of the native filters.
As indicated in the SIP the /api/v1/dataset/{pk} endpoint is highly inefficient when fetching a dataset comprising of a large number of columns and/or metrics, i.e., specifically at Airbnb we have a virtual dataset which houses thousands of metrics and dimensions which results in an interim query which computes the cross product of # metrics x # columns x # owners—resulting in millions of rows.
Given the native filters only use the columns/metrics independently from the /api/v1/dataset/{pk} endpoint this PR simply adds a new endpoint to fetch only the columns metadata associated with said dataset.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Added unit tests. Also tested the new endpoint with a dataset comprising of ~ 7,000 columns and the /api/v1/dataset/{pk}/column endpoint returned in ~ 1 second whereas /api/v1/dataset/{pk} timed out.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Kicking CI 🤞

Regrettably when examining the initial problem I missed that the /api/v1/dataset/{pk} endpoint is also used as part of the native filters to fetch the metrics + dataset metadata here.
I thought it was prudent to return to the drawing board and close this PR in favor of trying to optimize the underlying FAB/SQLAlchemy logic when fetching a model with its associated relationships. @dpgaspar hopefully https://github.com/dpgaspar/Flask-AppBuilder/pull/1959 is a step in the right direction.


Add a Gitter chat badge to README.md

44uk/nis-ruby now has a Chat Room on Gitter
@44uk has just created a chat room. You can visit it here: https://gitter.im/44uk/nis-ruby.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

add gitter badge.


deps: update substrate to c446786a498dee7b413de101efc3c339d3eddf44

update substrate to https://github.com/paritytech/substrate/commit/c446786a498dee7b413de101efc3c339d3eddf44 to minmize the diff with polkadot-v1.0.0 branch.
After merging this PR, I'll cherry-pick https://github.com/paritytech/frontier/pull/1160 to the master branch.
NOTE: I revert the change of rust-toolchain.toml introduced by https://github.com/paritytech/frontier/pull/1139, see https://github.com/paritytech/frontier/pull/1139#discussion_r1280820970 , Or merge #1146 firstly

The CI is broken because of the wrong implementation of pending state.

@sorpaas could you take a look this PR and #1160

@sorpaas PTAL, I disabled the integration tests about pending rpc in this PR to make CI passed, after merging this PR, I'll cherry-pick the https://github.com/paritytech/frontier/pull/1160 to the mater branch and enable the integration tests about pending rpc.


UploadedFile::move and File::move have different implementation

I have gone through the file under system/Files/File.php and system/HTTP/File/UploadedFile. Both are having move() method which intend to move the file from one location to another.
But both methods have different implementation.
Is there any reason for the same.
Also both classes have similar type of methods, they why we are not extending one from other?

I believe the primary reason was to make use the extra checks and security built into PHP's move_uploaded_file. This also allows it to play nice with safe_mode or open_basedir restrictions that might be in place.


Update readme.md

fix missing link

Thanks for your report and effort, apologies I missed this PR. I fixed it using the automated documentation tooling.


Frontend UI Hangs

Occasionally, although it appears that the setup has completed successfully, the frontend UI will hang and the login dialog is not displayed.  This reproduced twice on May 25.  It was found that the appropriate security rules had not been created in the grabdish VCN.  This should have been done automatically when the frontend services was created but for some reason this was not done.  There are two security rules required:
| Security List | Type    | Stateless | Destination/Source | Protocol | Source Port range | Destination Port Range |
|---------------|---------|-----------|--------------------|----------|-------------------|------------------------|
| svcLB         | Egress  | No        | <IP_ADDRESS>/24       | IP       | All               | <PORT>                 |
| nodepool      | Ingress | No.       | <IP_ADDRESS>/24       | IP       | All               | <PORT>                 |

The port is listed by calling kubectl get service frontend -n msdataworkshop, for example 30101 in this output:
NAME       TYPE           CLUSTER-IP     EXTERNAL-IP      PORT(S)         AGE
frontend   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   443:30101/TCP   77m

have not seen recently.  I will assume this was a transient OKE issue and close for now.


cpp: packedrtree: add header and resync with GDAL

Add logic for MSB hosts
Add note with the link to the upstream repository (that is here)

Make sense to have them identical, thanks.


package dependencies are incomplete/undocumented

Caveat: I am a total node.js newb.
These are some versions of my environment:
/remark-word-wrap # node --version && npm --version
v10.15.0
6.5.0

I started looking into fixing #4, but ran into some issues. The first thing I was trying to do was run tests, but they would not run. I installed remark-work-wrap locally using: npm install --dev . but was getting this error when running tests:
/remark-word-wrap # npm test

><EMAIL_ADDRESS>pretest /remark-word-wrap
> eslint src

><EMAIL_ADDRESS>test /remark-word-wrap
> npm run markdown && nyc --reporter=text ava src/__tests__

><EMAIL_ADDRESS>markdown /remark-word-wrap
> remark *.md --quiet

README.md
  1:1  error  Error: Invalid example `/remark-word-wrap/example.js`. Ensure example is a valid JavaScript file:

Cannot find module './dist/index.js'

I looked at example.js and changed it to use src instead. I got further, but still ran into an error:
/remark-word-wrap # npm test

><EMAIL_ADDRESS>pretest /remark-word-wrap
> eslint src

><EMAIL_ADDRESS>test /remark-word-wrap
> npm run markdown && nyc --reporter=text ava src/__tests__

><EMAIL_ADDRESS>markdown /remark-word-wrap
> remark *.md --quiet

README.md
  1:1  error  /remark-word-wrap/src/index.js:1
(function (exports, require, module, __filename, __dirname) { import is from 'unist-util-is';
                                                                     ^^

SyntaxError: Unexpected identifier
    at new Script (vm.js:79:7)
    at createScript (vm.js:251:10)
    at Object.runInThisContext (vm.js:303:10)
    at Module._compile (internal/modules/cjs/loader.js:657:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)

✖ 1 error
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>markdown: `remark *.md --quiet`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>markdown script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  Test failed.  See above for more details.

I looked into the import issue and got lost in the world of node.js imports, ES6, babel and other things. I have a recent version of node, and I know running remark itself works fine otherwise, so as a hailmary I installed everything else I was using with remark, locally:
npm install<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>
I was then able to successfully run tests. I would fix this but I don't know enough about the ecosystem to know where to start!

I’m closing the issues here and archiving the repo. It isn’t really maintained, was never finished (it’s not a task very suitable to syntax trees, but could work in a compiler/generator/stringifier). Prettier is the better option.


inconsistent error reporting

Not sure if this is an ember-suave, JSCS, or my own issue, but I am noticing that the JSCS error reported are not always consistent. Sometimes it will report a handful of JSCS issues, I'll fix them so everything passes, and if I delete node_modules and reinstall ember-suave, it will report another set of JSCS errors. Has anyone experienced this?
Thanks!

@skaterdav85 is it reporting on files in your application or on your deps?

anywhere in the application. i see it reporting issues in /tests or /app. I didn't do any configuration. I simply installed ember-suave. Do I need to modify .jscsrc? It seems like there is a caching issue. If I remove node_modules/ember-suave, the "cache" goes away and another set of errors come up.

@skaterdav85 I actually think this is a broccoli caching issue. I recall @rwjblue telling me about this

thanks. i take it most people don't have this issue?

@skaterdav85 we are seeing this as well

When you remove node_modules and re-execute npm install, the following could happen:

A new version of ember-suave could get installed (if the version specified in package.json is prefixed with `~

When you remove node_modules and re-execute npm install, the following could happen:

A new version of ember-suave could get installed (if the version specified in package.json is prefixed with ~ or ^
A new version of jscs could get installed that fixes errors previously not caught, causing those errors to now be reported.

Thanks @brzpegasus. My team noticed this problem as I installed the addon, and they ran npm install and they were seeing JSCS errors when I had not. Any idea on what I can do to fix this?

Are you saying you have the same ember-suave and jscs versions as your team and are still getting a different output? (Check the versions of the packages actually installed in node_modules, not what's specified in package.json).

Also would like to confirm that we are talking about the output of "ember test" being different, and not that the console emitted output is different.
The console output being different is definitely possible and likely. We do not check every file upon every run (if file hasn't changed it isn't checked again) so it is likely that the console output would be different.
Robert Jackson
-- twitter: rwjblue
-- github: rjackson

On Dec 18, 2015, at 5:20 PM, Estelle DeBlois<EMAIL_ADDRESS>wrote:
Are you saying you have the same ember-suave and jscs versions as your team and are still getting a different output? (Check the versions of the packages actually installed in node_modules, not what's specified in package.json).
―
Reply to this email directly or view it on GitHub.

I have seen the same issue. I installed ember-suave to a lager project, which hadn't strict code style yet. Had a lot of errors of course. Fixed them until ember test did not reported any error anymore, committed and seen new errors reported by travis. I could not reproduce these errors locally. After deleting /tmp, /dist, /node_modules and /bower_components, reinstalling everything I got a new bunch of errors reported. I had this procedure a few times now.
I compared two travis logs for different commits. It seems like ember-suave (or jscs) stops testing after some amount of errors and all later tests just pass. There were a bunch of files tests passed for while having errors (which did not got reported before fixing the errors before). Together with a caching issue this would explain what's happening.

As @skaterdav85 already mentioned deleting node_modules/ember-suave is enough to clean cache. Of course you have to run npm install afterwards.

We see this on my team as well. We're integrating ember-suave into our project right now. I'll do a few test runs locally to identify, and fix, some issues, and then push up my changes only to have CI report a new batch of JSCS woes that weren't reported on my local test runs. This happens regardless of using ember test or npm test (obviously).

@jherdman This one has been hard to track down.

I'll do a few test runs locally to identify, and fix, some issues, and then push up my changes only to have CI report a new batch of JSCS woes that weren't reported on my local test runs.

Are you saying that, after fixing the reported JSCS errors, ember test ran fine for you locally, but Travis would report new errors? And if so, what would make your local environment start reporting the same errors that Travis is seeing? By removing tmp and running ember test again?

Are you saying that, after fixing the reported JSCS errors, ember test ran fine for you locally, but Travis would report new errors?

Correct.

By removing tmp and running ember test again?

If only! Sometimes yes, sometimes no. I found myself in a pattern of fixing what would be reported on CI, having a green run locally, pushing to CI and finding new errors.

And if so, what would make your local environment start reporting the same errors that Travis is seeing? By removing tmp and running ember test again?

I had the same problem and - as said above - only deleting node_modules/ember-suave and running npm install was reliable.

Ok, so the good news is, one of our fellow DockYarders just encountered this issue, which gives me something more concrete to work with and debug, since I have access to the same project (and his local environment, if needed). Really hoping to get to the bottom of this soon!

Same here, ember test was all passing, but Travis found additional errors. Just deleting node_modules/ember-suave was not enough, I had to rm -rf node_modules && npm install. But maybe that's just because of npm v3's flat module structure...
After that I could reproduce the Travis result locally.

Just want to throw this out there: I was running into this and discovered that jscs sets the default maxErrors to 50. I'd fix all of those and JSCS would no longer report any errors — but, I'm guessing that the Broccoli cache was not causing the files beyond the limit of 50 errors to be reprocessed. Still not totally sure this is the cause as I haven't dug too deep, but I hadn't seen anyone mention this as a possibility and seems like a good candidate. :)

I just encountered this issue as well. After installing ember-suave and running ember test, I fixed a bunch of issues in my local environment and then pushed to my CI pipeline, which uncovered a bunch of other errors that weren't reported in the first place. When I deleted /tmp, /dist, and /node_modules/ and reran npm install, I thus see those errors my CI pipeline reported.
I hope the workaround is not to constantly delete node_modules and re-install!

Just to update -- increasing the max number of errors did in fact resolve this for me. @denchen -- you may want to give that a try. (It's in part due to the Broccoli cache and that setting causing the weird behavior...deleting /tmp is probably sufficient to see more errors appear, rather than reinstalling)

@spencer516 Hi Spencer, that seemed to work, but now my question is, is the maxErrors value a cumulative total? Does it get reset once I fix errors? If I set it at 1000, and I end up making 3-5 code style errors here and there and immediately fix them, will I still eventually hit the 1000 limit?

@denchen Can you see if the issue clears up when you set maxErrors to null rather than a number? Setting it to null is supposed to force all errors to be reported.

@brzpegasus Hi, setting to null appears to resolve my issues. I'll have to continue using JSCS over an extended period of time to validate, but for now, I think everything is in working order. Thanks!

maxErrors: null has been added to the default config. Going to close this issue, though please do reopen if the issue persists.


Pipenv installs spurious dependencies

Issue description
When installing any version of Django < 3.0 as a dependency and django-debug-toolbar as a dev dependency, pipenv lock determines that asgiref is a required package when it in fact is not.
Expected result
$ pipenv graph
django-debug-toolbar==2.2
  - Django [required: >=1.11, installed: 2.2.13]
    - pytz [required: Any, installed: 2020.1]
    - sqlparse [required: Any, installed: 0.3.1]
  - sqlparse [required: >=0.2.0, installed: 0.3.1]

Actual result
$ pipenv graph
asgiref==3.2.10
django-debug-toolbar==2.2
  - Django [required: >=1.11, installed: 2.2.13]
    - pytz [required: Any, installed: 2020.1]
    - sqlparse [required: Any, installed: 0.3.1]
  - sqlparse [required: >=0.2.0, installed: 0.3.1]

Steps to replicate
In a new project, run the following commands:
$ pipenv install 'Django<3.0'
$ pipenv install --dev django-debug-toolbar

$ pipenv --support
Pipenv version: '2020.6.2'
Pipenv location: '/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv'
Python location: '/usr/local/Cellar/pipenv/2020.6.2/libexec/bin/python3.8'
Python installations found:

3.8.0: /Users/jmorris/.pyenv/versions/3.8.0/bin/python3
3.7.7: /usr/local/bin/python3
3.7.7: /usr/local/bin/python3.7m
3.7.7: /usr/local/bin/python3.7
3.6.8: /Users/jmorris/.pyenv/versions/3.6.8/bin/python3
3.5.9: /Users/jmorris/.pyenv/versions/3.5.9/bin/python3
3.5.1: /Users/jmorris/.pyenv/versions/3.5.1/bin/python3
2.7.18: /Users/jmorris/.pyenv/versions/2.7.18/bin/python2
2.7.17: /usr/local/bin/python2
2.7.17: /usr/local/bin/python2.7
2.7.16: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.8.3',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '18.7.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 18.7.0: Mon Apr 27 20:09:39 PDT '
                     '2020; root:xnu-4903.278.35~1/RELEASE_X86_64',
 'python_full_version': '3.8.3',
 'python_version': '3.8',
 'sys_platform': 'darwin'}

System environment variables:

PATH
TERM_PROGRAM
TERM
SHELL
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
USER
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
PWD
EDITOR
LANG
ITERM_PROFILE
XPC_FLAGS
XPC_SERVICE_NAME
SHLVL
PYENV_SHELL
HOME
COLORFGBG
LC_TERMINAL_VERSION
ITERM_SESSION_ID
LOGNAME
LESS
LESSOPEN
LC_TERMINAL
COLORTERM
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /usr/local/Cellar/pipenv/2020.6.2/libexec/tools:/Users/jmorris/.pyenv/shims:/Users/jmorris/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin:/Applications/Wireshark.app/Contents/MacOS
SHELL: /usr/local/bin/fish
EDITOR: vim
LANG: en_US.UTF-8
PWD: /tmp/lol

Contents of Pipfile ('/private/tmp/lol/Pipfile'):
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
django-debug-toolbar = "*"

[packages]
django = "<3.0"

[requires]
python_version = "3.8"

Contents of Pipfile.lock ('/private/tmp/lol/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "5e37dff5e53a743305538fdd5fb9da0dbe7eea0521b520e50a56ee191050c830"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.8"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "django": {
            "hashes": [
                "sha256:84f370f6acedbe1f3c41e1a02de44ac206efda3355e427139ecb785b5f596d80",
                "sha256:e8fe3c2b2212dce6126becab7a693157f1a441a07b62ec994c046c76af5bb66d"
            ],
            "index": "pypi",
            "version": "==2.2.13"
        },
        "pytz": {
            "hashes": [
                "sha256:a494d53b6d39c3c6e44c3bec237336e14305e4f29bbf800b599253057fbb79ed",
                "sha256:c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048"
            ],
            "version": "==2020.1"
        },
        "sqlparse": {
            "hashes": [
                "sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e",
                "sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
            "version": "==0.3.1"
        }
    },
    "develop": {
        "asgiref": {
            "hashes": [
                "sha256:7e51911ee147dd685c3c8b805c0ad0cb58d360987b56953878f8c06d2d1c6f1a",
                "sha256:9fc6fb5d39b8af147ba40765234fa822b39818b12cc80b35ad9b0cef3a476aed"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==3.2.10"
        },
        "django": {
            "hashes": [
                "sha256:84f370f6acedbe1f3c41e1a02de44ac206efda3355e427139ecb785b5f596d80",
                "sha256:e8fe3c2b2212dce6126becab7a693157f1a441a07b62ec994c046c76af5bb66d"
            ],
            "index": "pypi",
            "version": "==2.2.13"
        },
        "django-debug-toolbar": {
            "hashes": [
                "sha256:eabbefe89881bbe4ca7c980ff102e3c35c8e8ad6eb725041f538988f2f39a943",
                "sha256:ff94725e7aae74b133d0599b9bf89bd4eb8f5d2c964106e61d11750228c8774c"
            ],
            "index": "pypi",
            "version": "==2.2"
        },
        "pytz": {
            "hashes": [
                "sha256:a494d53b6d39c3c6e44c3bec237336e14305e4f29bbf800b599253057fbb79ed",
                "sha256:c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048"
            ],
            "version": "==2020.1"
        },
        "sqlparse": {
            "hashes": [
                "sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e",
                "sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
            "version": "==0.3.1"
        }
    }
}

Not sure why it ends up at the top-level, but django does require asgiref in setup.cfg:
https://github.com/django/django/blob/197b55c53469cf8344d1ba35175236780cb83bd1/setup.cfg#L43-L46

Yes, Django started requiring asgiref in Django 3. If you look at the requirements for Django 2.2.x, asgiref is absent:
https://github.com/django/django/blob/stable/2.2.x/setup.py#L86

The linked #4455 provides more context: The packages that are being installed are future dependencies; that is, dependencies of later versions of packages that --keep-outdated is, well, keeping outdated. They shouldn't even enter into the dependency tree if their parent package is being held back.
This is still a problem in pipenv 2022.1.8.

@GPHemsley-RELX Can you check if it is still a problem in my branch that upgrades to latest pip?  Branch is vendor-pip-22.0.3-followup-changes and the new pip resolver solves some other infinity lock issues so I am wondering if the resolver fixes that as well.

@matteius My current solution is creating default constraints associated with packages, then pass those constraints to resolver and use them when installing dev-packages. But it only solves the case when installing from Pipfile, not the case where user provides packages.
# Pipfile
[packages]
django = "<3.0"

[dev-packages]
django-debug-toolbar = "*"

$ pipenv graph
django-debug-toolbar==3.2.4
  - Django [required: >=2.2, installed: 2.2.28]
    - pytz [required: Any, installed: 2022.1]
    - sqlparse [required: >=0.2.2, installed: 0.4.2]
  - sqlparse [required: >=0.2.0, installed: 0.4.2]

Should I open a PR just for this case?

New version of pipenv==2022.8.13 has been released with the fix produced by @dqkqd !


Error copying contact Info when creating new campaign

Logged on as administrator
Click to create a new campaign
Click the Copy Contact Info button and select "Overwrite Existing Details"
You receive an error:

included in #910


Change the version of C++ used for protoc to the earliest supported.

This allows builds to continue to work on older platforms.
This closes #146.

This change is

I feel like this is a good change at the moment. We should strive to make this at least C++17 to be in line with what larger repos use, (e.g. Google and LLVM set it to 17), but since this is just used for an external dependency it hardly matters at the moment.


Mod Suggestions

Some expansions to Forestry would be nice. Some mods I can think of would be:
-Binnie's Mods: https://www.curseforge.com/minecraft/mc-mods/binnies-mods
-CareerBees: https://www.curseforge.com/minecraft/mc-mods/career-bees/files
-Gendustry: https://www.curseforge.com/minecraft/mc-mods/gendustry
pretty please
thx

We'll take a look.    We just recently upgraded for 1.2.    We'll certainly add these to the list of changes for 1.3.
Thanks for making the suggestions. Let's get some opinions from the rest of the player-base, etc.. also.

The only one I sorta know of or played a little with is Binnie's Mods. But the 1.12.2 version is still in alpha and the changelog says "Alpha version. Do not create a world you care about with this version, it may break things severely." at the top.
Never played with Gendustry and I haven't heard of CareerBees.

Since Magic Farm 2

Added Gendustry and Career Bees to Version 1.3
Binnie's Mods still in alpha, not ready for regular played world.


[SC] Add return value to receipts

Reopening because the controller doesn't actually return the Result.


[Removal]: Bent Carob Octopus

Hotspot Name
Bent Carob Octopus
Hotspot b58 Address
112ZA5ErqksZxLafX8ztqvun437AQSTiPd4KUWDe56nTnSzRRqZJ
Discord Handle
No response
Hotspot Manufacturer
Heltec Automation
Removal Reason
To whom it may concern, My friends and I were both deployed in the real location and somehow blacklisted. I did not pay attention to the drop in earnings since February 1. They were also not be found on https://blacklist.longap.community/. Then I found the list at denylist.csv. I hope the official will remove my machine from blacklist as soon as possible. Thank you very much.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
Dear Helium team,
Thank you very much for supporting us all the time. I am writing this e-mail about some machine problems.  however when everything was set up, the earnings appeared very low. I found them are banned spots through website. But the truth was that I deployed them at the right location to provide services to local devices as part of the network.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Fixed errors in classes and removed depreacted method calls

Updated example with project generator.

I made these changes myself


Data 2925 sharpen error logging

This feature aims to sharpen the error logging to be more informative and usable when querying from Logs explorer. We add keywords and a corresponding bracket to be able to filter what you need in logs explorer, like: jsonPayload.message=~"exception[MissingSchemaException]" to get all fails where we tossed a missing schema exception.
We are yet to discover how to add some of this metadata as labels to the log payload instead of in the message string. But solving the ability to filter is the first and most important issue to deal with.

Bumping dataflow version through PR in datahem
@data-engineer-mathem


Heap memory crash

Allocating and freeing memory in a loop cause crashes (both in debug and release)
For example, call this function twice at the end of the init sequence.
uint32_t GetFreeMemorySize()
{
    uint32_t len = 0;
    while (len < 15000) // Don't go above 15k
    {
        len += 1024;
        NRF_LOG_INFO("Allocating %d", len);
        void *ptr = malloc(len);
        NRF_LOG_INFO("Got memory at %x", ptr);
        if (!ptr)
            break;
        free(ptr);
    }
    return len - 1024;
}

Calling the GetFreeMemorySize() twice yields those logs:
Allocating 1024
Got memory at 20003E20
Allocating 2048
Got memory at 20004228
Allocating 3072
Got memory at 20003E20
Allocating 4096
Got memory at 20004A30
Allocating 5120
Got memory at 20004630
Allocating 6144
Got memory at 20004230
Allocating 7168
Got memory at 20003E30
Allocating 8192
Got memory at 20005A38
Allocating 9216
Got memory at 20005638
Allocating 10240
Got memory at 20005238
Allocating 11264
Got memory at 20004E38
Allocating 12288
Got memory at 20004A38
Allocating 13312
Got memory at 20004638
Allocating 14336
Got memory at 20004238
Allocating 15360
Got memory at 20003
hardfault: HARD FAULT at 0x000281B2


Instructions on how to set argSkipKubeSystem to false

Hello.
It seems there is no way to set argSkipKubeSystem to false ?
I need imagePullSecrets to also be created for the kube-system namespace.
Is there an easy way i can enable this please?

Hello @stevesloka .
Thanks for your response.
Where or how do i pass that flag in please? Sorry i am not so familiar with Golang.
I am currently using your minikube addon.
Could you share a bit more information regarding where i set this flag etc please.
Thanks!

You can pass it to the args of your container.

Any reason why this option is true by default?  It's pretty inconvenient.
Is there any way to pass this in when configuring the minikube add-on?


[BUG] ITableEntity with int is converted to Int64 in TableStorage and cannot be read back

Library name and version
Azure.Data.Tables 12.8.2 & 12.8.3
Describe the bug
I have an ITableEntity with an int property, upon saving this is saved in a Int64 column (according to the storage explorer). When I try loading the item it tells me it's not valid, and when I change the column type to Int32 in the storage explorer (and don't change anything else), it loads just fine.
Expected behavior
I expect it to create an Int32 column for an int, or at least I expect that I can use the TableClient to create an Item and read back the same item with the same ITableEntity implementation that was provider when creating the item.
Actual behavior
It creates an Int64 column for an int and refuses to read back the same item.
Exception: System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Int32'.
[2024-04-16T12:41:00.608Z]    at Azure.Data.Tables.TablesTypeBinder.TryGet[T](BoundMemberInfo memberInfo, IDictionary`2 source, T& value)
[2024-04-16T12:41:00.609Z]    at Azure.Core.TypeBinder`1.BoundMemberInfo`1.Deserialize(TExchange source, Object o, TypeBinder`1 binderImplementation)
[2024-04-16T12:41:00.609Z]    at Azure.Core.TypeBinder`1.BoundTypeInfo.Deserialize[T](TExchange source)
[2024-04-16T12:41:00.610Z]    at Azure.Data.Tables.DictionaryTableExtensions.ToTableEntity[T](IDictionary`2 entity, BoundTypeInfo typeInfo)
[2024-04-16T12:41:00.611Z]    at Azure.Data.Tables.TableClient.GetEntityInternalAsync[T](Boolean async, String partitionKey, String rowKey, Boolean noThrow, IEnumerable`1 select, CancellationToken cancellationToken)
[2024-04-16T12:41:00.611Z]    at Azure.Data.Tables.TableClient.GetEntityIfExistsAsync[T](String partitionKey, String rowKey, IEnumerable`1 select, CancellationToken cancellationToken)

Reproduction Steps

Create a class with an int property
Initiate the object
Use TableClient to create the item
(optional) Use Storage explorer to check what is in storage
Use TableClient to read the item
Crash...

If I change the int to a long right before loading it, it works just fine.
public class OopsEntity: ITableEntity
{
    private DateTimeOffset? _timestamp;
    private ETag _eTag;
    public required string PartitionKey { get; set; }
    public required string RowKey { get; set; }
    public DateTimeOffset? Timestamp { get => _timestamp; set => _timestamp = value; }
    public ETag ETag { get => _eTag; set => _eTag = value; }
    public int Oops{ get; set; }
}

public async Task Crash() {
  string partition = "some-partition";
  string id = "some-id";
  // Get the table client from somewhere
  TableClient tableClient = new TableClient(...);
  OopsEntity item = new OopsEntity { ParitionKey = partition, RowKey = id, Oops = 10 };
  await tableClient.AddEntitityAsync(item);
  var loadedItem = await tableClient.GetEntityAsync<OopsEntity>(parition, id);
}

Environment
I'm using the TableInputAttribute to get the TableClient in an Azure Function, but I guess it has to do with the TableClient and not the place where I get it from.
.NET SDK:
 Version:           8.0.204
 Commit:            c338c7548c
 Workload version:  8.0.200-manifests.7d36c14f

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.204\

Hi @svrooij
I'm not able to reproduce this with the code above. The table gets created with an int32 value for the int valued property.
Are you possibly doing something else not included in the sample code?

I thought it had nothing to do with Azure Functions, but I'm doing this in an Azure Function, dotnet-isolated dotnet8.
Thing it might be that combination then. Will create a project with just this in it later today.

Hi @svrooij -
Since it appears that this only reproduces when using the TableOutput binding, I'd recommend opening an issue for this over here - https://github.com/Azure/azure-functions-dotnet-worker/issues


Investigate use of platform APIs for direct client hub-to-app communication

We might be able to use APIs like this https://developer.android.com/reference/android/content/BroadcastReceiver.html to enable apps to fetch data and communicate with client hubs.

Can you share some context here? A Pub-sub communication between apps (à la BroadcastChannel from the JS API land)?

The desire is for other apps on the client to be able to retrieve data from the client local copy of data, if it exists, before going to a Hub server. This will require either an SDK that knows how to locate and background request the data from the user's on-device identity management app (the client replicated Pouch instance), and if it can't, perform the request from the server.


Bug: The error message box aligned left but center

Will be fixed by  Check if reverse proxy is correctly configured #30890  together, rewrite some error message detections


Modifying Matched Results UI

How do I, say modify the matched results UI, < 19/19 to like the image below, where it appears on top without the symbol, <. Or just hide it?

Closing cause I decided to just stay with the current UI.


Debugging symbols are bad quality nowadays.

Hi.
Please see this thread: https://github.com/MicrosoftDocs/windows-driver-docs/issues/1657
Kind Regards,
Stephen.

The issue is resolved.
It turns out that the problem was to do with the absence of the Debug Interface Access (DIA) SDK - it wasn't installed on my systems. It must have used to be automatically installed with Visual Studio in the past.
I apologize for any inconveniences and thought I should let you know, hopefully no one from Microsoft has been wasting time trying to track down an issue which doesn't exist.
Kind Regards,
Stephen.


[examples] add sleepy-demo-ssed

This adds a new example app sleepy-demo-ssed that functions similarly to the sleepy-demo-mtd app, with the exception that it uses CSL instead of polling.
The example app is meant to be used in tandem with the sleepy-demo-ftd app

@jwhui Would you be able to re-review this some time today/tomorrow?


AMA Visualization

Tweaked documentation for AMA forecast in NightScout

Can you re target to master? (Should be able to tap something to change it). And first sentence seems like a fragment? Otherwise awesome, thanks!