Langchain privategpt example use deprecated code

It's broken and gives an error about deprecated chroma code

This is on Linux Mint (latest)
python ingest.py
Creating new vectorstore
Loading documents from source_documents
Loading new documents: 100%|██████████████████████| 1/1 [00:00<00:00,  3.04it/s]
Loaded 169 new documents from source_documents
Split into 1101 chunks of text (max. 500 tokens each)
Creating embeddings. May take some minutes...
Traceback (most recent call last):
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/ingest.py", line 161, in
main()
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/ingest.py", line 153, in main
db = Chroma.from_documents(texts, embeddings, persist_directory=persist_directory, client_settings=CHROMA_SETTINGS)
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/langchain/vectorstores/chroma.py", line 603, in from_documents
return cls.from_texts(
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/langchain/vectorstores/chroma.py", line 558, in from_texts
chroma_collection = cls(
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/langchain/vectorstores/chroma.py", line 120, in init
self._client = chromadb.Client(_client_settings)
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/chromadb/init.py", line 190, in Client
return ClientCreator(tenant=tenant, database=database, settings=settings)
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/chromadb/api/client.py", line 133, in init
super().init(settings=settings)
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/chromadb/api/client.py", line 36, in init
SharedSystemClient._create_system_if_not_exists(self._identifier, settings)
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/chromadb/api/client.py", line 43, in _create_system_if_not_exists
new_system = System(settings)
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/chromadb/config.py", line 267, in init
if settings[key] is not None:
File "/home/memo/Projects/ollama/examples/langchain-python-rag-privategpt/.venv/lib/python3.10/site-packages/chromadb/config.py", line 204, in getitem
raise ValueError(LEGACY_ERROR)
ValueError: You are using a deprecated configuration of Chroma.
If you do not have data you wish to migrate, you only need to change how you construct
your Chroma client. Please see the "New Clients" section of https://docs.trychroma.com/migration.

If you do have data you wish to migrate, we have a migration tool you can use in order to
migrate your data to the new Chroma architecture.
Please pip install chroma-migrate and run chroma-migrate to migrate your data and then
change how you construct your Chroma client.
See https://docs.trychroma.com/migration for more information or join our discord at https://discord.gg/8g5FESbj for help!


Server restart, client can't connect to server

A new server(ubuntu18.04) is installed using the latest version.
When the server is restarted, the client network cannot be connected.
You must manually restart the client to restore it.
The old version of the previous, the server restarts, the client does not need to restart, the network is good.

@xiagw Hello.

Server restart is planned or not?
What you mean "manually restart the client?"

@xiagw Hello.

Server restart is planned or not?
What you mean "manually restart the client?"

when reboot command is sent to server it will take 5min to get openvpn service running again.
tried the ff.
service openvpn start
service openvpn restart
service openvpn@server start
but the port wont show up in netstat -lntp

@techroy23

OS?
openvpn log?

how do i gather logs.
/var/log/openvpn/status.log
doesnt show any start up sequence

@techroy23
systemctl stop<EMAIL_ADDRESS>systemctl start<EMAIL_ADDRESS>journalctl -xe -u<EMAIL_ADDRESS>--since today

after reboot heres the end of the log

-- Unit<EMAIL_ADDRESS>has finished shutting down.
-- Reboot --
Aug 05 15:34:59 cloudsigma systemd[1]: Starting OpenVPN connection to server...
-- Subject: Unit<EMAIL_ADDRESS>has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit<EMAIL_ADDRESS>has begun starting up.
Aug 05 15:34:59 cloudsigma ovpn-server[1051]: OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] buil
Aug 05 15:34:59 cloudsigma ovpn-server[1051]: library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
Aug 05 15:35:00 cloudsigma systemd[1]: Started OpenVPN connection to server.
-- Subject: Unit<EMAIL_ADDRESS>has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit<EMAIL_ADDRESS>has finished starting up.
--
-- The start-up result is RESULT.

netstat result
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:60001           <IP_ADDRESS>:*               LISTEN      1147/sshd
tcp        0      0 <IP_ADDRESS>:60002           <IP_ADDRESS>:*               LISTEN      1216/dropbear
tcp        0      0 <IP_ADDRESS>:60003           <IP_ADDRESS>:*               LISTEN      1066/privoxy
tcp        0      0 <IP_ADDRESS>:4711          <IP_ADDRESS>:*               LISTEN      1684/pihole-FTL
tcp        0      0 <IP_ADDRESS>:80              <IP_ADDRESS>:*               LISTEN      1234/lighttpd
tcp        0      0 <IP_ADDRESS>:5939          <IP_ADDRESS>:*               LISTEN      1151/teamviewerd
tcp        0      0 <IP_ADDRESS>:53              <IP_ADDRESS>:*               LISTEN      1684/pihole-FTL
tcp        0      0 <IP_ADDRESS>:631           <IP_ADDRESS>:*               LISTEN      799/cupsd
tcp6       0      0 :::60001                :::*                    LISTEN      1147/sshd
tcp6       0      0 :::60002                :::*                    LISTEN      1216/dropbear
tcp6       0      0 ::1:4711                :::*                    LISTEN      1684/pihole-FTL
tcp6       0      0 :::80                   :::*                    LISTEN      1234/lighttpd
tcp6       0      0 :::53                   :::*                    LISTEN      1684/pihole-FTL
tcp6       0      0 ::1:631                 :::*                    LISTEN      799/cupsd
udp        0      0 <IP_ADDRESS>:53              <IP_ADDRESS>:*                           1684/pihole-FTL
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           1712/dhcpcd
udp        0      0 <IP_ADDRESS>:68       <IP_ADDRESS>:*                           542/systemd-network
udp        0      0 <IP_ADDRESS>:631             <IP_ADDRESS>:*                           806/cups-browsed
udp6       0      0 :::53                   :::*                                1684/pihole-FTL

I am facing the exact same issue. Anyone has figure this out?

I am facing the exact same issue. Anyone has figure this out?

sadly i did a complete reinstall of my OS and generated new ovpn for my team

facing the same issue, im using google compute instance

This has always been the case AFAIK, and it probably depends on your client.


Fix misc + update backend

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.42%. Comparing base (1b42a3e) to head (4d84d2c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #333      +/-   ##
==========================================
+ Coverage   85.39%   85.42%   +0.03%
==========================================
  Files         121      121
  Lines        3712     3713       +1
  Branches      799      800       +1
==========================================
+ Hits         3170     3172       +2
- Misses        502      511       +9
+ Partials       40       30      -10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New Endpoint: <playlist_id>/analysis/duration

Create a new API endpoint to get the duration information for each song in the playlist. The idea is that the data can return an object to plot a density function for the duration
Required Params: Spotify Playlist ID Number
Headers: Authorization: <access_token>
Route: <playlist_id>/analysis/duration
Return Type: JSON Object
Format: {bins: <array of bins>,                   counts: <array of counts>                   }
Allows for easy integration into a density plot with Chart.JS as a psuedo-historgram.

No longer in development - efficiency/performance issues dictate all analysis stays within one route


SSL certificate expired

The SSL certificate for *.democracyos.org just expired (a few hours ago, 12:42:18 CET).

Thanks! Updating

It appears that github pages can now contract LetsEncrypt to do the TLS for custom domains: https://blog.github.com/2018-05-01-github-pages-custom-domains-https/


Added event to notify when new GameObject is created.

In trying to integrate TeleportationArea from the XR Interaction Toolkit, the GameObject/colliders need to be registered with the XR Interaction Manager. An easy way to do this is to simply add a TeleportationArea script to the GameObject when its created.
With the new event, it can easily be achieved:
cesium3DTileset.OnNewGameObjectCreated += go  => go.AddComponent<TeleportationArea>();

@joseph-kaile I confirmed this works, just have a few suggestions for naming and documentation.
Can you also merge with main to fix the CHANGES.md conflict? Thanks!

Thanks for the suggestions.

Looks great @joseph-kaile ! I'll just confirm that CI passes before merging to main. Thanks!


"callHandler" method is not injected into InAppBrowser

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.13.2

Plugin version
6.0.0

Android version
11, MIUI 12.5.15/12.1.1

iOS version
n/a

macOS version
n/a

Xcode version
n/a

Google Chrome version
n/a

Device information: Xiaomi Redmi Note 8 Pro / Xiaomi Mi 9T
Description
Provided code worked fine before I moved from version 5.8.0 to version 6.0.0. After upgrade callHandler is not available from the website opened in InAppBrowser. I've been looking for a solution, but it seems that no one else have been affected by this.
Stoped working only on Android devices, I tested it on iOS 17.1.2 and it works just fine.
Expected behavior:
callHandler method should be injected into InAppBrowser
Current behavior:
callHandler is undefined when creating InAppBrowser
Steps to reproduce
final options = InAppBrowserClassSettings(
  browserSettings: InAppBrowserSettings(
    hideTitleBar: true,
    allowGoBackWithBackButton: false,
    shouldCloseOnBackButtonPressed: true,
    hideToolbarTop: !displayNavigation,
    hideUrlBar: true,
  ),
  webViewSettings: InAppWebViewSettings(
    useShouldOverrideUrlLoading: true,
    javaScriptEnabled: true,
    isInspectable: true,
    clearCache: true,
    clearSessionCache: true,
  ),
);

final InAppBrowser browser = CustomBrowser(
  onCloseCallback: () {
    // Do something
  },
);

browser.openUrlRequest(
urlRequest: URLRequest(url: WebUri(url)),
settings: options,
);

class CustomBrowser extends InAppBrowser {
  CustomBrowser({
    this.onCloseCallback,
    int? windowId,
    UnmodifiableListView<UserScript>? initialUserScripts,
  }) : super(
          windowId: windowId,
          initialUserScripts: initialUserScripts,
        );

  final Function()? onCloseCallback;

  @override
  Future onBrowserCreated() async {
    developer.log("Browser Created!");

    if (webViewController != null) {
      developer.log('Adding JS handler');

      webViewController!.addJavaScriptHandler(
        handlerName: JavaScriptHandlerType.closeInAppBrowser,
        callback: (_) {
          if (onCloseCallback != null) {
            onCloseCallback!();
          }

          close();
        },
      );
    }
  }
}

Images

I'm also being affected by this.
It appears to be an issue in Android 33+ where WebViewFeature.DOCUMENT_START_SCRIPT is supported. From what I can tell, there's no point at which JAVASCRIPT_BRIDGE_JS_SOURCE is being injected when this feature is enabled.
When testing on Android 31, prepareAndAddUserScripts is called as part of InAppWebview.prepare. but it is not called on Android 33+, and prepareAndAddUserScripts appears to be the only location where JAVASCRIPT_BRIDGE_JS_SOURCE could be injected.

Released new version 6.2.0-beta.2 with the fix.


Android 12 zip,txt,pdf all type of document not showing.

in Android 11 and 12 it gives only images and video files and all other types of format files not showing in list please resolve this issue as soon as possible
Thanks!.

Can you replicate the issue?

Here is my mobiles Download Directory and when I open the File manager of my Device it shows me all files like all pdf, txt, and all files but when I used this package and open this file manager example app in the list I got only images not all other files.

Is it possible you also send the code snippet?

I have tried to get files for Android 11 and 12 but because of scoped storage it doesn't even work, how did you go around it?

I am also facing the same issue. The folder contains images, video, and pdf although it doesn't list the pdf file for some reason.
@4-alok May I request you to please look into this issue if possible? I will also try to figure out what could be the reason

Hi @4-alok
May I request you to please look into this issue if possible? I will also try to figure out what could be the reason
I am also facing the same issue. The folder contains images, video, and pdf although it doesn't list the pdf file for some reason.

@hardikm9850 I would appreciate it if you could include this in the documentation of file_manager

Sure @4-alok (apologies for noticing your comment so late)


Typo in CONTRIBUTING.md

Please follow these simple guicelines here.
->
Please follow these simple guidelines here.

@authorjapps - PR-262 opened


Feature Idea

First, this project looks amazing! I am excited to start messing around with it.
Idea: Do you have a way to do personal inventory / is that in your plans?
Thoughts - It would be useful (at least to me) to have an inventory module so you can have, for example,
Item: Type, Make, Model, S/N, Purchase Date, Purchase Price, Associated Items: Type, Make, Model, PDate, PPrice.
So, for instance:
Type: Refrigerator
Make: Kenmore
Model: 2020VersionModel
S/N: 1234TheSerial#
Associated Item:
Type: Filter
Make: Kenmore
Model: F#4MyFridge
I saw that you have the car info in a Note. So the car could be like:
Type: Vehicle
Make: Subaru
Model: 2018 Crosstrek
SN: MyVIN#
Associated Item:
Type: Oil
Make: Pennzoil
Model: Synthetic 5W30

Hello,
I don't plan something like this, I got notes for things like that at this point.
I'm balancing between usability/time consumption for something, so I don't see any usage for such thing - right now You could just use notes for this.
If You play with development and want to give a try to build this then i could guide which logic You can reuse as relation between same type of records / parent/child removal check etc. is pretty much there, so 80% is copy + paste ~20% is new thing.

Closing due to missing response. Reopen if needed.


Upgrade the version of the dependency controller-runtime from v0.1.10 to v0.2.0-beta.1

Description of the change:
Changed

Upgrade the version of the dependency controller-runtime from v0.1.10 to v0.2.0-beta.1
Upgrade ks8 deps from kubernetes-1.13.1 to kubernetes-1.14.1
Upgrade github.com/sirupsen/logrus dependency from v1.0.4 to v1.4.2
Upgrade github.com/spf13/cobra dependency from v0.0.3 to v0.0.4
Upgrade github.com/operator-framework/operator-lifecycle-manager dependency from the commit 5eb7ae5bdb7ac36a26d6e34e5d0ec07be128927f to release tag 0.9.0
Upgrade k8s.io/kube-openapi from 0cf8f7e6ed1d2e3d47d02e3b6e559369af24d8  dependency to a 01b7d5d6c2258c80a4a10070f3dee9cd575d9c7

Break changes

The package "sigs.k8s.io/controller-runtime/pkg/runtime/scheme" was deprecated. Replace this import into pkg/apis/{{projectName}}/v1alpha1/register.go for "sigs.k8s.io/controller-runtime/pkg/scheme"
The client.List List(ctx context.Context, list runtime.Object, opts ...ListOptionFunc) error was replaced for List(ctx context.Context, opts ...ListOption, list runtime.Object) error. Following an example fix it.

// Replace
    err = r.client.List(context.TODO(), listOps, podList)
    // For
	err = r.client.List(context.TODO(), podList, client.UseListOptions(listOps))

Motivation for the change:

https://github.com/operator-framework/operator-sdk/issues/1386
Allow users to watch/cache N namespaces as follows.

         // Create a new Cmd to provide shared dependencies and start components
	mgr, err := manager.New(cfg, manager.Options{
		NewCache: cache.MultiNamespacedCacheBuilder(namespaces),
	})

Progress
All was working until the v.0.2.0-alpha.1 of the controller-runtime be released. From v0.2.0-alpha.0 to v0.2.0-alpha.1 is required get the updates in the OLM.
kubernetes-1.14.1 from (root)
	kubernetes-1.14.1 from github.com/operator-framework/oper...-lifecycle-manager@f3704613128604ebb95617cd05cec1d9b45cd07b

NOTE: Wanting for https://github.com/operator-framework/operator-lifecycle-manager be updated to use the version kubernetes-1.14.1

/retest

Shows that all is working fine but it has some issue with the env. I do not have permission to try to run just the goal again.
Following the error faced:
      	wait_util.go:64: Waiting for full availability of example-memcached deployment (0/4)
       	wait_util.go:64: Waiting for full availability of example-memcached deployment (0/4)
       	memcached_test.go:123: timed out waiting for the condition

Hi @LiliC,
I checked the PR https://github.com/operator-framework/operator-sdk/pull/1369 made by @corinnekrych. This PR shows missing changes and because of it is not passing the ansible as well. Also, she increases the version of Kube.
This one here, shows be working very well but the go test is facing timeout which I am not sure if is related or not with the changes performed. It is something that I need a help from you folks maintainers from @LiliC operator-sdk. Is the timeout issue in the go test faced usual? Could we try to just re-run this one?
@corinnekrych let's combine the forces? I will ping you tomorrow for we check how we can move together.

I'd rather wait for a v0.2.0 stable release. There's no urgency to upgrade for the next release.

@estroz,
Unfortunately for us has urgency since we are stuck and not able to attend this requirement of our projects which are using it. We cannot allow the operator to watch/cache other namespaces just the specific ones and because of this huge block in our side, I decided to contribute with this PR.
c/c @LiliC @shawn

/ok-to-test

Unfortunately for us has urgency since we are stuck for not being able to attend a requirement in our projects which are using it.

Sorry to hear that, but we can't have a nonstable release of such a huge dependency in our project, as we do promise certain stability to our users. @camilamacedo86 we discussed this and we want to wait until Wednesday at least, we will know when the stable controller-runtime release will happen and we will get back to you then. But we would be happy to have this contribution!

A couple of things before this is ready to be merged:

[ ] stable release of controller-runtime
[ ] migration document as it has a lot of breaking changes for users using current 0.7.0 release
[ ] we might want to release one more time before this gets merged

cc @joelanford @theishshah @shawn-hurley @hasbro17 @AlexNPavel

@LiliC Wednesday or 1 or 2 weeks is 100% fine we just cannot wait for months to get it.

Hi @LiliC,
Now all shows working fine here.
The changes that need to be done by in the user's project from the latest version to this one is in the section break changes in the Changelog. See https://github.com/operator-framework/operator-sdk/commit/def0660143f2b755955bda869461d1938c74ab72
You added migration document as it has a lot of breaking changes for users using current 0.7.0 release , however, for the projects which are using 0.7.0(latest) to this one are not too many changes and the current migration doc is not covering from  0.1.0 to 0.7.0 either. So, shows that do the migration doc from 0.1.0 to 0.7.0 is not part of this task. Could we leave it to be done in another PR as part of another task?

@camilamacedo86 Yes we have an issue open to update the migration guide, we put breaking changes in the CHANGELOG. And besides new files and commands added, there were not many major changes since 0.1.0 onwards but yes we need to update that in the near future.
We can help with adding the migration guide no problem regarding that, but we agreed to not merge this until we add that to the PR cc @hasbro17 ^
The new stable release of controller-runtime will be before kubecon which is in 10 days time or so, according to yesterdays SIG meeting, so we should be able to merge that then. If this is delaying your progress on the operator you can create a branch on your fork with these changes and vendor that instead? Thanks again for this!
cc @joelanford @shawn-hurley @theishshah @AlexNPavel @estroz  Thoughts? ^

Hi @LiliC,
Really tks for all your support and help with this subject. No problem at all. Let's waiting for the release 👍

@camilamacedo86 FYI there was a new release. I would wait until next week before updating this PR, as I suspect there will be some more changes, but I believe that the maintainer wants to release it for kubecon which is next week. Thanks so much for working on this! https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.2.0-beta.0

Hi @camilamacedo86
I am also looking into what is the operator-sdk status with :

Allow users to watch/cache N namespaces as follows.

From the operator-sdk point of view I am missing here the part of rbac roles that are created by the operator-sdk for watched namespaces.
Maybe this is out of this PR's scope,  but what is the behaviour or permissions that should be generated/manually edited for the operator when handling N namespaces ?
Would it be mandatory to configure the operator only as cluster-scoped ?

@camilamacedo86  Thanks for your hard work on this! I will have a test and play around with this today, and maybe we can start working on the migration guide. cc @joelanford
In the mean time you have some failing tests, I will retest as the error is a bit odd.
/retest

/retest

Hi @yanirq,
Here is not a good place to raise questions. Could you please one an issue/question? Please, feel free to ping me and I will try to help you with.

It looks like we won't be able to upgrade to v0.2.0 until OLM upgrades to kubernetes-1.14.1. I did some testing with these changes and saw the following errors (after fixing a few caused by the updates here):
$ dep ensure
$ make install
# github.com/operator-framework/operator-sdk/vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/lib/operatorclient
vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/lib/operatorclient/serviceaccount.go:38:2: not enough arguments to return
vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/lib/operatorclient/serviceaccount.go:38:10: c.Core undefined (type *Client has no field or method Core)
make: *** [Makefile:46: install] Error 2

This can be fixed by using c.CoreV1() instead of a full kubernetes-1.14.1 bump, but we still need to get that merged before this works. I'd rather see a bump than this OLM patch anyways.

OLM PR to bump kube deps: https://github.com/operator-framework/operator-lifecycle-manager/pull/864

@camilamacedo86 #1512 has all the necessary code changes for the bump. I recommend merging https://github.com/estroz/operator-sdk/tree/bump-controller-runtime-v0.2.0 with your branch and pushing to this PR.

Hi @estroz
Really thank you for your help and support here. I rebase the commits in order to make easier we review and go forward as well. Also, I addressed all comments raised by you and I am working on in adding your changes and fixes from #1512 here. I understand that we need both, however, a direct merge/rebase will not work :-( Do you mind I finish it in the weekend?

@camilamacedo86 #1512 already passes CI, so we should defer to that as the main bump PR. Thanks again for submitting this PR! We appreciate the urgency, as this is a big but necessary change.

Hi @estroz if you could add there what has hee and not there it is great !!.
had few issues with the merge. tks


content: add open source communities blog

This pull request creates a new blog "Where Should Open Source Communities Chat?"

recheck cla

I have read the CLA Document and I hereby sign the CLA

@lukegalbraithrussell can you squash this commit history to 1 commit that is only the blog addition? (remove chore: bump lodash)

@lukegalbraithrussell May I suggest that you close this PR, reclone the develop branch, commit this blog and the /assets files as a new branch and then submit a new PR? That's probably the easiest way to solve the merge here.


chore: release v0.3.10

:robot: I have created a release beep boop
0.3.10 (2024-04-07)
What's Changed

fix(ci): update step output for hashes by @coffeebeats in https://github.com/coffeebeats/gdbuild/pull/113
chore(cmd): log template for temporary debugging by @coffeebeats in https://github.com/coffeebeats/gdbuild/pull/115
fix(ci): correctly check for empty hashes by @coffeebeats in https://github.com/coffeebeats/gdbuild/pull/116
fix(osutil): only hash portion of file name relative to root by @coffeebeats in https://github.com/coffeebeats/gdbuild/pull/117

Full Changelog: https://github.com/coffeebeats/gdbuild/compare/v0.3.9...v0.3.10

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/coffeebeats/gdbuild/releases/tag/v0.3.10 :sunflower:


Instructions to use systemd

Hello, I've made instructions to use systemd unit for managing Discord RSS, it will work as eny other system service with logging to systemd
Since I can't directly make a pull request to wiki, providing wiki repo with changes https://github.com/Danpiel/Discord.RSS.Wiki for manual merging.
Thanks for awesome work.

Added it in, thanks for the contribution!


HDDS-4125: Pipeline is not removed when a datanode goes stale

What changes were proposed in this pull request?
Let scrubPipeline() handles the destroy of all kinds of pipeline.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4125
How was this patch tested?
CI

+1. Thanks @GlenGeng for the fix. Merging


98158511-af39-4185-b86c-17e36117b3e3

this is for automated testing

dcf868c3-1cd6-415d-b559-d6f33b9cce2a


feat (Mathlib.RingTheory.Ideal.Operations) : Change hypotheses from ring to semiring

Moved some results from ring to semiring.

In Mathlib.RingTheory.Ideal.Operations I moved two results from ring to semiring with the same proof, and  two I changed the proof.

There was indeed a mistake in the CI: #8471. Merged master, which should fix it.

Can you please address my other comments as well?

Can you please address my other comments as well?

I hope I did all requested changes. The name map_comap_of_equiv (and all the others) are not mine, so I didn't changed, not to affect other parts of mathlib.

Yes, I had mixed feelings when asking you to fix something that was already wrong before, but thanks for fixing it!
bors merge


New chroot installation(s) failing on Acer C7 (parrot)  - for me.

Please paste the output of the following command here: sudo edit-chroot -all
< no chroot installed >

Please describe your issue:
I'm getting stuck installing any new chroot on my Acer C7. It seems to bomb out after extracting 'adduser'.
I haven't been able to pin down what's going wrong. Here's the tail end of the installation log -
I: Retrieving zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Validating zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting adduser...
+ set +e
+ trap - INT HUP TERM 0
+ umount -l /tmp/crouton.zmA
+ rm -rf --one-file-system /tmp/crouton.zmA
+ sh /tmp/crouton.0H7/host-bin/unmount-chroot -y -c /usr/local/chroots -- kodi
+ ls+ wc -l
-a /usr/local/chroots/kodi
+ [ 2 -le 3 ]
+ rm -rf /usr/local/chroots/kodi
+ rm -f /tmp/crouton-dedup.XL2
+ stty echo
+ rm -rf --one-file-system /tmp/crouton.0H7

I can't figure out how to get more diagnostics.
The full crouton intallation log is here: crouton.kodi.log
Also, if it helps, a full dmesg log is here: dmesg.log
It seems to trigger this trap used when bootstrapping fails.
If known, describe the steps to reproduce the issue:
Install a new 'kodi' chroot with: sudo sh ~/Downloads/crouton -n kodi -t kodi
Note: As far as I can tell it happens on any release with any target(s) so it's not specific to 'kodi'.

If someone can show me how to get more diagnostics out I'd appreciate that too.
Thanx to anyone for any insight.
-DennisL

Looks like this issue was hit years ago as well: #1628, although no conclusions there.
The "extractor" line is extremely suspicious: I: Chosen extractor for .deb packages: dpkg-deb.  I believe that should be ar, not dpkg-deb.
So...why is debootstrap picking dpkg-deb?

Looks like debootstrap recently changed their extractor detection to use their own in_path instead of type (commit).  I can only assume that dpkg-deb exists but is missing some prerequisites to be actually useful -- it's either that or somehow that code is totally broken in a non-obvious (to me) way.
It looks like there's an EXTRACTOR_OVERRIDE environment variable you can set to force ar.
Try adding EXTRACTOR_OVERRIDE=ar to the debootstrap call.

Hmmm, it failed at the same point, it looks like it still tried to use dpkg-deb
I: Retrieving zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Validating zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting adduser...
+ set +e
+ trap - INT HUP TERM 0
+ umount -l /tmp/main.sh.zx5
+ rm -rf --one-file-system /tmp/main.sh.zx5
+ sh ./installer/../host-bin/unmount-chroot -y -c /usr/local/chroots -- kodi
+ ls -a /usr/local/chroots/kodi
+ wc -l
+ [ 2 -le 3 ]
+ rm -rf /usr/local/chroots/kodi
+ rm -f /tmp/main.sh-dedup.c9h
+ stty echo

Here's where I added the variable -
# Grab the release and drop it into the subdirectory
echo 'Downloading bootstrap files...' 1>&2
PATH="$newpath" DEBOOTSTRAP_DIR="$tmp" EXTRACTOR_OVERRIDE=ar $FAKEROOT \
    "$tmp/debootstrap" --foreign --arch="$ARCH" \
    "$RELEASE" "$tmp/$subdir" "$MIRROR" 1>&2

Thanx for the help,
-DennisL

Oops, sorry, that should be done via the --extractor parameter of
debootstrap, not an environment variable.
That's what I get for only looking at a single source file...

Also strange to me is that it seems to only be happening on my Acer C7 -
Google Chrome	63.0.3218.0 (Official Build) canary (64-bit)
Platform	9950.0.0 (Official Build) canary-channel parrot
Firmware Version	Google_Parrot.2685.37.0

It was also failing when I was on the dev channel.
-DennisL

Does the rootfs have dpkg-deb for some reason?

@dnschneid,
Wow, you're the man!
It got past the trap and is installing as I/we speak.
Now to figure out why it's only happening on this and possibly other devices...
Thanx a million,
-DennisL

@dnschneid,

Does the rootfs have dpkg-deb for some reason?

Yup, I'm my own worst enemy it seems. 😕
I install and use busybox to get past some of Chrome OS'es omissions but it came back to bite me this time -
lrwxrwxrwx 1 root    root        22 Aug 27 02:43 dpkg-deb -> /usr/local/bin/busybox

I have busybox installed on my Dell Lulu too but it didn't link dpkg-deb for some (yet unknown to me) reason.
So long story short, I'll remove my local dpkg-deb link and all should be well.
Many thanx again,
-DennisL

It's probably worth adding the --extractor parameter to crouton, though.  It shouldn't have any negative consequences.

Should it be set to 'ar' ?
I just noticed I have 'ar' linked too but it seemed to work.
lrwxrwxrwx 1 root root 22 Aug 27 02:43 ar -> /usr/local/bin/busybox

-DennisL

ar is correct.  busybox's is likely fine (it's a dead-simple archiver), but crouton ships with its own version that gets priority.

Happend to me too I saw that it said dpkg-deb instead of ar thanks

Okay, well hopefully both of you will be saved from yourselves by the latest crouton :)

No more busybox for this guy.


[Feature]: Add rel Attribute to  Tag

Please take a moment to familiarize yourself with this project scope and standards

[X] I have read the Documentation and I understand how to correctly use this module.
[X] I have read the Contributing Guidelines.
[X] I agree to follow this project's Code of Conduct

Describe your idea
My idea is to add a rel attribute to the  tag.
This feature provides support for SEO and enhances link behavior customization
Thanks
Contribution

[X] I am willing to contribute to the implementation of this feature.

Hi, thanks for this suggestion.
Currently any attribute that you are going to add to the component will be passed down to the a element, so this is already doable with specific implementations. Is this working for you?
Would you better explain what exact value for rel attribute you would implement on a component level as provided by the module and how this "default" value would benefit social sharing links?


IDVA6-533 Missing title added

Link to Jira:
https://companieshouse.atlassian.net/browse/IDVA6-533
Changes:

Missing title added

CI: No security warnings found


How to interact with ActiveMQ?

I want to do an example, consume data from the ActiveMQ queue, and also can generate data into the ActiveMQ queue, but I have not found a suitable solution, I need everyone's help.

Please read the issue template you were shown - it makes it clear this issue list is not for general questions. For help, please use the forum or slack team.

Please read the issue template you were shown - it makes it clear this issue list is not for general questions. For help, please use the forum or slack team.

ok.I understand.
thanks.


Add support for new versions introduced to address CVE-2021-44832

CVE-2021-44832 was released recently, and while rated lower than the original CVEs there are several new versions introduced to address this.
This PR does several things as a result:

Adds support for reporting all 4 CVEs from the last month affecting log4j2 - versions of the older three were reported although the output omitted listing all CVEs
Adds signatures to match the new versions released
Adds a list of all matched CVEs to the json output so it can be consumed programatically without string parsing

Released 1.1.0


stream_popover: Organize and improve the left sidebar channel menu.

Changes in this PR:

Grouped related actions in the channel actions popover for better usability.
Added a menu option to copy the channel feed link to the clipboard.
Enabled the stream popover for spectators, showing only the "Copy link to channel" option.
Added a conditional link to the "Personal" tab in channel settings if the user lacks permission to change channel permissions.

Fixes: #30529

Screenshots and screen captures:

Desc
Before
After

Channel settings

Channel settings (spectators' view)
N/A

Conditionally open "General" or "Personal" tab depending on the permissions available
https://github.com/zulip/zulip/assets/82862779/1a8ca8ed-2fcd-4b90-9b4f-0d279abdc18c

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@timabbott the checks are not running for this one, but this is ready for review.

This probably needs an update following #29191; from #30565, what that means is to put the new option just above "Copy link":

If https://github.com/zulip/zulip/issues/30529 is done first, let's put the new option just above "Copy link".

So that should be easy enough.

Updates

Removed the merge conflicts resulting from the addition of "Go to channel feed" option via #29191.

Screenshots

Channel settings Popover

Channel settings Popover in spectator view

@timabbott solved the merge conflicts, this PR is ready for another review.

Looks great in manual testing!


Add /contribute page

The "Contribute" link currently just links to the probot/probot repository, but I think it'd be nice to replace it with a custom page that includes:

Welcome/invitation to contribute
Link to join Slack channel
Link to app ideas
Link to starter issues

💖 this! I think it would be great to start making use of labels to get new people involved such as first timers only or good for beginners, idk the exact conventions for these kinds of labels, but it would be cool to draw from all issues that have relevant labels and use that to generate the site.

Closed by #51


Investigate intermittent test failure - possibly related to recent content_id changes

I've seen this test failure at least once on our Jenkins govuk_smartanswers_branches build e.g. see the bottom of the console log for this build, and several times when running the tests via rake on my local machine.
1) Error:
SmartAnswer::FlowContentItemTest#test_#payload_returns_a_valid_content-item:
GovukContentSchemaTestHelpers::ImproperlyConfiguredError: Dependency govuk-content-schemas cannot be found at: /Users/jamesmead/Code/alphagov/govuk-content-schemas. Clone it to that directory, or set GOVUK_CONTENT_SCHEMAS_PATH (see README.md for details).
  test/unit/flow_content_item_test.rb:13:in `block in <class:FlowContentItemTest>'

Note that @chrisroos, @tadast & I are running the smart-answers app outside the gov.uk VM, because it's a relatively simple app with not many dependencies in case that's significant.

@tijmenb: Do you have any ideas why this might be happening? Thanks.

As for the test failure on your machine: the schema-tests you need to have checked out the govuk-content-schemas repo on your system (in this case /Users/jamesmead/Code/alphagov/..). The error message is trying to tell that, but obviously isn't clear enough. If you have suggestions on how to reword that I'll update it.
The branch failure is weirder: was that branch up to date with master?

@tijmenb: Sorry for the slow response. The error message is clear enough - I was just confused by why it suddenly started happening. Thanks for explaining.
I'm still slightly confused as to why it seems to have only been happening intermittently - and possibly not at all more recently despite me only having just checked out the govuk-content-schemas repo.
Also weird that it was happening on Jenkins, but again doesn't seem to be happening any more...
Anyway, I think I'll close this issue for now and we can re-open it if it happens again.


Fixing issues with Microsoft.Build.xsd scheme

Added missed xsd include in csproj
Fixed broken include reference to another xsd scheme

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

Thanks @oldmine!


Implement image support for R and Python environments in JupyterHub

We need to add and configure Docker images that support both R and Python environments in our JupyterHub instance. This will allow users to work with both languages seamlessly.

This image is created and pushed to quay.io quay.io/2i2c/awi-ciroh-image:f7f6aa41555b
You can find the dockerfile for this image under "r-python" branch.


Flesh out the documentation of the Hot Rod protocol

add all ops to the opcode table
add request / response opcodes to the description of each op

Integrated, thanks Tristan!

@danberindei It seems you forgot to close this.


fix(Sidebar): fix hide animation

Fixes #3578.

Codecov Report

Merging #3684 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3684      +/-   ##
==========================================
- Coverage   99.83%   99.83%   -0.01%
==========================================
  Files         174      174
  Lines        3104     3101       -3
==========================================
- Hits         3099     3096       -3
  Misses          5        5

Impacted Files
Coverage Δ

src/modules/Sidebar/Sidebar.js
100% <100%> (ø)
:arrow_up:

src/elements/Label/Label.js
100% <0%> (ø)
:arrow_up:

src/collections/Form/FormField.js
100% <0%> (ø)
: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 ab55959...b3131dd. Read the comment docs.


Is it possible to do online learning with a stateful LSTM?

I have an ensemble of LSTMs and the training time is currently very high, about several hours. Unfortunately, I need to re-train the models fairly often which obviously takes a lot of time. That said, I wanted to try to cut out some of the training time by saving the weights and such but I'm worried that it isn't possible with a stateful LSTM (mainly because I'm not shuffling the samples).
I was reading this and it seems that there a few issues so I wanted to get some clarification.
This is roughly the process I am thinking:

train / fit a stateful LSTM (1 timestep) on a dataset (time series) with a batch size of 1 and shuffling set to False.
export model
after a day or so I have several more samples
import the model
train model on additional data
repeat

Things I'm worried about are: the restarting of the learning rate each time .fit() is called and the new data overwriting what the model has learned (as per the issue referenced above).
Is this feasible?

I still haven't found a solution to this. Anyone have a similar problem? Or a solution?

The worries you mention are inherent to online learning. If your domain changes over time, the learning rate will be a way to tweak how myopic your model is.
Regarding the optimization state resetting, Keras maintain this using the mode.save() call:

You can use model.save(filepath) to save a Keras model into a single HDF5 file which will contain:

the architecture of the model, allowing to re-create the model
the weights of the model
the training configuration (loss, optimizer)
the state of the optimizer, allowing to resume training exactly where you left off.

I would double check if the state of a stateful LSTM is stored as well, but following the docs, it seems to be the case.

Hi, according to online learning I believe the issue is something like this:
Today we get a dataset with 3 diferent values (e.g, A,B,C) if at any given moment we got a new letter (named D) we could just update the model...
For instance I believe that online learning keeps the weights of the hidden layers and "dumps" the input layers and the output layer (since it will be different) so the code I developed should help with online learning :) (Ps: X is a sparse matrix )
#para atualizar o modelo com novos dados é preciso:
#deitar fora o primeiro layer e o ultimo layer
#os restantes layers ficam com os pesos precisos..
model2 = Sequential()
model2.add(Dense(1000, input_dim=len(train_X.columns), activation='relu', name='new_Inputs'))
for layer in model.layers[1:-1]:
model2.add(layer)
model2.add(Dense(1, activation='sigmoid'))
model2.compile(loss='binary_crossentropy',
optimizer='AdaDelta',
metrics=['accuracy'])
history=model2.fit( X , train_Y.target,
epochs=10,
batch_size=2**10,callbacks = callbacks_list,validation_split=0.2)
Do you agree with this ideia as an way to update the model with volatile data (such is the case with Big Data) ?


bada-bib: init at 0.3.0

Motivation for this change
I'm currently using bada-bib for managing my BIB files
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

It might be an upstream bug but if LC_ALL is ja_JP.UTF-8, it crashes with the following message when overriding a file:
(badabib:906224): Gdk-ERROR **: 16:00:36.487: The program 'badabib' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
  (Details: serial 140683 error_code 17 request_code 20 (core protocol) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Steps to reproduce:

LC_ALL=ja_JP.UTF-8 badabib
Add an entry and Save a new file New File.bib.

BibTeX Key: aaa
Author: aaa
Title: aaa

Add another entry and hit Save.

BibTeX Key: bbb
Author bbb
Title: bbb

Hm, I can't seem to replicate this error on GNOME X11 on nixos-unstable

I tested it on KDE on X11 on NixOS 21.11.

Odd, not quite sure what causes this then, might be something w/ GTK and KDE?


[CI] Update Apache TVM to v0.16.0

Fix #769
Temporary pinned scikit-learn<1.5.0 because of #773

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.79%. Comparing base (d2aa5dc) to head (d6ce6c1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #772      +/-   ##
==========================================
- Coverage   89.95%   89.79%   -0.16%
==========================================
  Files          80       76       -4
  Lines        4697     4625      -72
  Branches      864      864
==========================================
- Hits         4225     4153      -72
  Misses        269      269
  Partials      203      203

Flag
Coverage Δ

unittests
89.79% <ø> (-0.16%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Should be good.
@ksaur @interesaaat Can you take a look at this? Thank you!

Thank you for keeping Hummingbird up-to-date! 🎊🙏
We'll have to investigate https://github.com/microsoft/hummingbird/issues/773


Integration Test - Release - 2020/08/26 19:05:51

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest2 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Code Coverage is reporting different numbers on different runs

Hi,
I've just noticed that the code coverage reported a drop when it shouldn't have reported any change in the code coverage. I'm going to investigate and see what's going on.

I've tracked this by running npm run cover-test, and these results vary:

and this

You can see that the lib/client and lib/client/bundler's coverage stats change between runs, so I will look into the code and tests and see why they're varying.

Is it because they sometimes fail during coverage tests?

Not always - I've just been running npm run cover-test a couple of times, current coverage results reports 76.77%, but on one case where everything passed, it returned 76.83%. I'll isolate where the variance is occurring.

I'm attempting to extract a fixtures module with fixtures and utilities to reset and cleanup the project fixture before/after each test. Hopefully it will make test runs more stable.

Could it have to do with live-reload kicking in and executing more code?

I think it was. When I run it with the pack-improvements branch the coverage numbers remain the same

fixed in master


ViewPropTypes' is not supported in 'react-native-web' v12.0 onwards

If you upgrade to RNW 12.0 or greater you can no longer use react native web
Error: ./node_modules/react-native-table-component/components/rows.js
Cannot find module: 'react-native-web/dist/exports/ViewPropTypes'. Make sure this package is installed.

As I think this might not get fixed quickly, in the meantime I've prepared my own, slightly hacky workaround:
In ./scripts/fix-rn-web-proptypes-issue.sh:
#!/bin/bash

echo 'Fixing PropTypes issue related to react-native-table-component...'
for file in ./node_modules/react-native-table-component/components/*.js; do
    sed -i '/ViewPropTypes\.style/g' $file
    sed -i '/Text\.propTypes/g' $file
done
echo 'PropTypes issue fixed!'

And then in package.json:
scripts: {
    "postinstall": "sh ./scripts/fix-rn-web-proptypes-issue.sh"
}

The problem is just with propTypes, the rest appears to bo working fine.


required doens't work

Fields cannot be set to required nor nullable(false).
Example:
Multiselect::make('Types', 'types')
    ->nullable(false) // doesn't work
    ->required()      // doesn't work
    ->belongsToMany(\App\Nova\Type::class, false),

Result; you can create and update resources without selecting a type.

You need to use ->rules('required').
The required() function is only for a callback to display the asterix. Does not apply the rule iteself.


Feat:  Automated Greetings

Describe the feature
I propose to create a GitHub workflow named "Greetings". This workflow will automatically greet(using Github Bots) users who create new issues or pull requests in this repository.  The Greeting will look like "Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible."
Please assign this issue to me
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sanmarg
Go ahead.


Duration Time in HTML report

Hi,
Could you help me out with Duration Time in the HTML report. This would be useful for me.
Thank you for your support in advance!

Closing it in favour of https://github.com/wswebcreation/multiple-cucumber-html-reporter/issues/11
It's a feature request.
By the way. This is only the plugin that connects the dots, not the actual reporting module


Inline: Inline early return function if no returns in loop.

This creates a one-trip loop around the callee code before it is inlined. Returns are converted to branches to the loop's merge block. If a callee has any returns in a loop it is not inlined.

Clang errors out due to an unused variable:
../source/opt/inline_pass.cpp:30:18: error: unused variable 'kSpvBranchTargetLabelId' [-Werror,-Wunused-const-variable]
static const int kSpvBranchTargetLabelId = 0;
^

Rebased, squashed, and pushed into master as  bba812f4


Basic support for Middle Earth SBG

I started playing MESBG, so I added support for it.  Hooray?

Cool thanks.


Show page quirk with certain file types when no thumbnail set

The Issue
I uploaded a zip file without a thumbnail, and the show page looks like this (just navigating to it, not clicking anything). This may happen with other file types, not exactly sure. It works fine when there is a thumbnail. This particular URL is : lbry://ScreenToGif12-50-45590#f8866c585e39d26f87039547e0c51b2614280eb0

Expected Behaviour
Show blank placeholder if the thumbnail doesn't exist.
Actual Behaviour
see above
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

@seanyesmunt whoops, just noticed you removed release blocker. I'd agree if this is a more complicated fix, but it's a pretty big regression from the previous version.

Whoops. Didn't mean to. It should be a simple fix.
On Tue, May 29, 2018, 7:15 PM Thomas Zarebczan<EMAIL_ADDRESS>wrote:

@seanyesmunt https://github.com/seanyesmunt whoops, just noticed you
removed release blocker. I'd agree if this is a more complicated fix, but
it's a pretty big regression from the previous version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-app/issues/1503#issuecomment-392978055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGcjvsAOO3KRDQ1wZ_qXg53EY3hHbu_ks5t3dajgaJpZM4UKdHp
.

Working on this


[ENHANCEMENT]  enable addon by clicking the right menu

Is your enhancement related to a problem? Please describe.

Now you can only enable pcidevices-controller when you enter the editing page. It is hoped that you can directly click the menu on the right to enable relevant configurations.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

:+1: :smile:  this looks good @DaiYuzeng
Tested on Harvester Version: master-c9d8825c-head

I'll go ahead and close this out.


Data type validator callback

This is stubbed in; it should allow the program to more thoroughly check values via callback, as values are set.

Now support one validator per config state.


Wrong time format for slurm backend

the wallclock time defined here is wrong for slurm jobs, slurm takes it as Minutes:Seconds  instead of Hours:Minutes

I think this is resolved as per https://github.com/openforcefield/openff-evaluator/pull/419#issuecomment-1036683317 - please re-open if not!


Remove "save to library"

This is implemented using S2 private APIs, which we don't want to be using, so it seems like a good idea to remove it prior to getting a bunch of public eyes on the reader. I wanted to do this a separate change from my previous PR so it could be more easily reverted if we come up with a way to support this on the S2 side without needing the reader to call private APIs.

With this set of API calls going away, does that mean we could host scholarphi on it's own domain? Should we consider registering scholarphi.org or something for this?

I suppose we could. Dunno if there are other reasons we might still want it to be under semanticscholar.org, though.


permissions/configstore

Prerequisites
Description
So i'm running windows 7 and i do have local admin access. I'm installing my project (https://github.com/jacobharasimo/angular-webpack) and have automated tasks so that when I install it setups up typings and such.
the problem I am having is that when my script gets to the points where it runs typings install i get the following error

Steps to Reproduce

clone my repo
run: npm install (works fine as i have --no-update-notifier --no-insights)
run: typings install

Expected behavior:
I expect this to simply work and not get an error and just to say packages installed
Actual behavior:
Errors out on install, assumption is based on permissions because if you delete <user>/.config/configstore then re-run the command typings install it works. If you run it a second time you get the same error above screen shot... so seams to only work when you dont have a configstore.
if i delete the config store or give it 'everyone permission in windows it works, but only first run then i have to delete the folder again as it give same error

with permissions

Versions
typings 1.0.4

@jacobharasimo There's some existing issues logged around configstore, but there's nothing that can be changed here. You'd need to make sure the permissions you use across that session are the same.  Maybe you can log an issue on configstore?
Duplicate of: https://github.com/typings/typings/issues/269, https://github.com/typings/typings/issues/371, https://github.com/typings/typings/issues/80, https://github.com/typings/typings/issues/530.


Move GHE requests to UI server

The previous commit #368 enabled the MLX-UI to render Markdown files from GitHub Enterprise by using an API token. That token was used on the client web browser where the token could be sniffed out of the web traffic.
This PR moves the code to retrieve the README.md files from the UI client code (MarkdownViewer.tsx) to the UI server (server.ts) so the API token won't be exposed on the client web browser.
/cc @Tomcli  @yhwang

/lgtm


Update CONTRIBUTORS.md

Csaba79-coder

@Csaba79-coder , I have already added you into the organization :)
Welcome to the team 🥳

Yes, I realized that. What is the next step if there is any 😉😊
Melvin Ng @.***> ezt írta (időpont: 2022. aug. 8., Hét
11:42):

@Csaba79-coder https://github.com/Csaba79-coder , I have already added
you into the organization :)
Welcome to the team 🥳
—
Reply to this email directly, view it on GitHub
https://github.com/Your-First-Open-Source-Project/Your-First-Open-Source-Project/pull/37#issuecomment-1207898726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQZQH5YROTQRG5AEW3BJ6DVYDJA5ANCNFSM552XLT7A
.
You are receiving this because you were mentioned.Message ID:
<Your-First-Open-Source-Project/Your-First-Open-Source-Project/pull/37/c1207898726
@github.com>


Change the Node doc comments to state that it stores the size in logical pixels

Objective
Current Node doc comment:
/// The size of the node as width and height in pixels
/// automatically calculated by [`super::flex::flex_node_system`]

It should be changed to make it clear that Node stores the size in logical pixels, not physical.

bors r+


Unable to run the go.file

I am facing the below issue when i try to run the go.file on Windows
PFB the error:
D:\Go_Folder\src\sap_con>go run sap_connection.go #github.com/sap/gorfc/gorfc ....\pkg\mod\github.com\sap\gorfc@v0.1.0\gorfc\gorfc.go:52:10: fatal error: sapnwrfc.h:
No such file or directory #include <sapnwrfc.h> compilation terminated.
Please suggest.

The error message shows that SAP NWRFC SDK include files are not found.
Is SAP NWRFC SDK installed on your system and in which folder?
The GO should be informed about the location of include files, like described in README: https://github.com/SAP/gorfc#install-gorfc
Alternatively you can clone the repository and adapt #cgo windows options in gorfc.go
#cgo windows CFLAGS: -IC:/Tools/nwrfcsdk/include/
#cgo windows LDFLAGS: -LC:/Tools/nwrfcsdk/lib/ -lsapnwrfc -llibsapucum

I am trying to run the commands using git bash. Facing the below error while running the command "go get github.com/sap/gorfc"
Error
$ go get github.com/sap/gorfc
github.com/sap/gorfc
D:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsapnwrfc
D:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibsapucum
collect2.exe: error: ld returned 1 exit status
github.com/sap/gorfc
In file included from D:\Software\nwrfcsdk\nwrfcsdk/include/sapnwrfc.h:7,
from github.com\sap\gorfc\gorfc.go:62:
D:\Software\nwrfcsdk\nwrfcsdk/include/sapucrfc.h:705:5: warning: 'align' attribute directive ignored [-Wattributes]
typedef __declspec(align(16)) SAP_SRAW platform_max_t[16];
^~~~~~~
In file included from github.com\sap\gorfc\gorfc.go:62:
D:\Software\nwrfcsdk\nwrfcsdk/include/sapnwrfc.h:29: warning: ignoring #pragma warning  [-Wunknown-pragmas]
#pragma warning (disable : 4267)  // disable warning: conversion from 'size_t' to 'const unsigned int'
In file included from D:\Software\nwrfcsdk\nwrfcsdk/include/sapnwrfc.h:7,
from github.com\sap\gorfc\gorfc.go:62:
D:\Software\nwrfcsdk\nwrfcsdk/include/sapucrfc.h:1427:27: warning: 'unicodeId' defined but not used [-Wunused-variable]
static SAP_RAW SAP_UNUSED unicodeId[] = cR("@(#)     Unicode");

The error log shows that SAP NWRFC SDK libraries are not found.
In which folder is SAP NWRFC SDK installed on your system and did you set the env variables following the installation steps ?
The dir $CGO_LDFLAGS (or dir $env:CGO_LDFLAGS in PS) should show SAP NWRFC SDK libraries. Could you please check that on your system?

Env variables are set as below:
In user variable - SAPNWRFC_HOMEis set to D:\Software\nwrfcsdk\nwrfcsdk
In system variable - Path added as  D:\Software\nwrfcsdk\nwrfcsdk\lib

And CGO_LDFLAGS ?

Should i set the GCO_LDFLAGS in env variable?
I actually ran the below commands on git bash from readme document:
export CGO_CFLAGS="-I $SAPNWRFC_HOME/include"
export CGO_LDFLAGS="-L $SAPNWRFC_HOME/lib"
export CGO_CFLAGS_ALLOW=.*
export CGO_LDFLAGS_ALLOW=.*
go get github.com/stretchr/testify
and when i ran the command "go get github.com/sap/gorfc" facing the error as shown above.

I have also tired the alternate method suggested.
in gorfc.go i made the below changes:
#cgo windows CFLAGS: -ID:/Software/nwrfcsdk/nwrfcsdk/include
#cgo windows LDFLAGS: -LD:/Software/nwrfcsdk/nwrfcsdk/lib -lsapnwrfc -llibsapucum
PFB the error:
$ go run sap_connection.go
#github.com/sap/gorfc/gorfc
D:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsapnwrfc
D:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibsapucum
collect2.exe: error: ld returned 1 exit status
#github.com/sap/gorfc/gorfc
In file included from D:/Software/nwrfcsdk/nwrfcsdk/include/sapnwrfc.h:7,
from ....\pkg\mod\github.com\sap\gorfc@v0.1.0\gorfc\gorfc.go:52:
D:/Software/nwrfcsdk/nwrfcsdk/include/sapucrfc.h:705:5: warning: 'align' attribute directive ignored [-Wattributes]
typedef __declspec(align(16)) SAP_SRAW platform_max_t[16];
^~~~~~~
In file included from ....\pkg\mod\github.com\sap\gorfc@v0.1.0\gorfc\gorfc.go:52:
D:/Software/nwrfcsdk/nwrfcsdk/include/sapnwrfc.h:29: warning: ignoring #pragma warning  [-Wunknown-pragmas]
#pragma warning (disable : 4267)  // disable warning: conversion from 'size_t' to 'const unsigned int'
In file included from D:/Software/nwrfcsdk/nwrfcsdk/include/sapnwrfc.h:7,
from ....\pkg\mod\github.com\sap\gorfc@v0.1.0\gorfc\gorfc.go:52:
D:/Software/nwrfcsdk/nwrfcsdk/include/sapucrfc.h:1427:27: warning: 'unicodeId' defined but not used [-Wunused-variable]
static SAP_RAW SAP_UNUSED unicodeId[] = cR("@(#)     Unicode");

I have the same problem, but env setting complete.
OS VERSION:  windows 10
GO VERSION: 1.15.2
`C:\Users\John<EMAIL_ADDRESS>build
github.com/sap/gorfc/gorfc
In file included from D:\nwrfcsdk\include/sapnwrfc.h:7,
from .\gorfc.go:52:
D:\nwrfcsdk\include/sapucrfc.h:705:5: warning: 'align' attribute directive ignored [-Wattributes]
typedef __declspec(align(16)) SAP_SRAW platform_max_t[16];
^~~~~~~
In file included from .\gorfc.go:52:
D:\nwrfcsdk\include/sapnwrfc.h:29: warning: ignoring #pragma warning  [-Wunknown-pragmas]
#pragma warning (disable : 4267)  // disable warning: conversion from 'size_t' to 'const unsigned int'
In file included from D:\nwrfcsdk\include/sapnwrfc.h:7,
from .\gorfc.go:52:
D:\nwrfcsdk\include/sapucrfc.h:1427:27: warning: 'unicodeId' defined but not used [-Wunused-variable]
static SAP_RAW SAP_UNUSED unicodeId[] = cR("@(#)     Unicode");`

OS VERSION: windows 10
GO VERSION: 1.15.2
exactly same errors like above

The Windows is not supported until #21 fixed

Closing due to the sunset of the project.


Bot eventually stops working

After a certain amount of time, the bot just stops claiming, meaning it can't be run overnight. Is there a fix?

Could you send a log file with the logging set to true of when it happens wants to see if there a reconnect issue to the discord gateway Sent from my iPhoneOn Sep 30, 2023, at 6:25 AM, magicalhobo2001 @.***> wrote:
After a certain amount of time, the bot just stops claiming, meaning it can't be run overnight. Is there a fix?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Could you tell me how to do that? I'm sorry, I'm not very experienced with python and such.

Could you send a log file with the logging set to true of when it happens wants to see if there a reconnect issue to the discord gateway Sent from my iPhoneOn Sep 30, 2023, at 6:25 AM, magicalhobo2001 @.> wrote: After a certain amount of time, the bot just stops claiming, meaning it can't be run overnight. Is there a fix? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

Could you send a log file with the logging set to true of when it happens wants to see if there a reconnect issue to the discord gateway

Sorry to re-open this issue two months later, but for whatever reason the bot stops working once I set the file logging to true (cmd popping up for a split second and then disappearing). Console logging works, however.

I also have this issue after reinstall python (and libs) and I have no idea how to fix, but I workaround it by set bot.gateway.run(auto_reconnect=False) and use other process to run bot when it close
someone on discum repo also mention this could help, but i tried and it not working for me
try:bot.gateway.subscribeToGuildEvents(wait=1)
except:pass

the problem is when it "reconnect" gateway wont send you message or anything except heartbeat (op11) but u could still use it normally like send message, slash (rolling), etc.
if you dont care about react char/kak and only grind keys, you can ignore this.
you could try replicate this problem by turn off/on your internet adapter
maybe also try reinstall python (and libs)

@HentaiRyuu did it only start happening with new python install ?

idk, but i assume it should relate to new install somehow
this issue used to happen to me year ago when i upgrade to py 3.11 then i roll back to 3.10 and it fix itself somehow
now i had to reinstall OS month ago then this issue is happen to me again, but this time it happen to any ver. of python i install so i had to workaround it by use other process to run bot when it close