Zwift password

Hi.
Every time I start zwift docker the app welcomes me with login dialog, where email is already entered, but password field is blank.
I'd like to ask if there is an option to make zwift docker auto login to my account or just not forgetting password :)

There probably is, but I haven't found it. Feel free to check the configuration files of zwift. ($HOME/.zwift/<user>/) Maybe there is some options in ZL.ini or prefs.xml  regarding this.
May need to boot zwift up on a proper windows instance in order for it to generate the config required for that. Not sure.  And if you find it, please let the rest of the community know about it.

@netbrain I found out that this is quite common problem, especially after update. People are recommending to install a tool to workaround it:
https://zwifthacks.com/zwift-login/
I also found that there might be a better/native way to fix that. Some docs/posts state that credentials are stored in a really weird place (%TEMP%):
"c:\Users\USERNAME\AppData\Local\Temp\Zwift\EBWebView"
and then probably "Default\Login Data" (which looks like litesql)
I believe saving EBWebView directory outside of container (same way as you do with configuration) have a good chance of fixing this issue.

@netbrain I found out that this is quite common problem, especially after update. People are recommending to install a tool to workaround it:
https://zwifthacks.com/zwift-login/
I also found that there might be a better/native way to fix that. Some docs/posts state that credentials are stored in a really weird place (%TEMP%):
"c:\Users\USERNAME\AppData\Local\Temp\Zwift\EBWebView"
and then probably "Default\Login Data" (which looks like litesql)
I believe saving EBWebView directory outside of container (same way as you do with configuration) have a good chance of fixing this issue.

Did a docker diff on a running zwift container after logging in. and these are the changed files.  It might be that it doesn't save the user profile until zwift exits, so that could be tested, but i doubt it.

I just went to my neighbour and check zwift on his Windows computer (win10 I think).
After login and login out, I found a new dir called
c:\Users\tomek\AppData\Local\Temp\Zwift\EBWebView
and from now on, login to zwift was automatic.
Then I renamed EBWebView to EBWebView.bak
As a result, launcher asked me for my creds again. Then I renamed it back and login was automatic again.
I don't know why you did not find this dir, but it works. Creds (in form of some key or cookie etc) are stored under this path.

You easily test this yourself if you want. just add the -v flag in zwift.sh, something along the lines of -v /tmp/zwift-test:/home/user/.wine/drive_c/users/user/AppData/Local/Zwift

This EBWebView dir is related to Edge (I'm almost certain it's created by Edge component), so my guess would be missing browser in container or something like that. But that much you probably figure out long time ago :)

On Windows I've only had to enter the credentials in the launcher, never after the game is launched.
I think the current entrypoint bypasses the launcher.
However in Wine I haven't been able to see the launcher rendered properly.

You might have a point.
I always wondered why start up is done this way:
echo "starting zwift..."
wine64 start ZwiftLauncher.exe
wine64 start RunFromProcess-x64.exe ZwiftLauncher.exe ZwiftApp.exe

When in theory wine64 start ZwiftLauncher.exe should be sufficient.

Not sure either, these steps were blatantly stolen from other installation
guides. Feel free to test any other entry points to ser how it goes.
You can run a different entry point using --entrypoint=bash for instance.
On Thu, Aug 31, 2023, 11:22 Sir_Yaro @.***> wrote:

You might have a point.
I always wondered why start up is done this way:
echo "starting zwift..."
wine64 start ZwiftLauncher.exe
wine64 start RunFromProcess-x64.exe ZwiftLauncher.exe ZwiftApp.exe
When in theory wine64 start ZwiftLauncher.exe should be sufficient.
—
Reply to this email directly, view it on GitHub
https://github.com/netbrain/zwift/issues/17#issuecomment-1700677355, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACTNC34EPD6G5M6XW5DR6TXYBJTTANCNFSM6AAAAAA32OYLTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Another thing you can do is run zwift with the environment variable WINEDEBUG=all, maybe you can find where the login is stored and then figure out why it isn't persisted between restarts.
Another option is to never actually remove the zwift container, but to just keep it alive and simply stop the container and start it again between rides. or maybe even just "docker pause". Will tho have to restart it for updates.

I tried setting up Zwift + WebView2 but it seems like quite a mess, today at least.
Reading some older posts it seems people were able to use the launcher in the past, but I'm not sure if it actually ever worked.
Installing WebView2 certainly doesn't work properly or at all most of the time, and it's required for the launcher.

I have auth working but the JSON is getting truncated somewhere and the logs show it:
[13:58:33] [ERROR] Error parsing JSON: * Line 1, Column 2
  Missing '}' or object member name

JSON: {\"access_token\":\"...
[13:58:33] Login error: Error parsing json
[13:58:34] [INFO] Telemetry enabled (batch mode)
[13:58:34] [INFO] Sending first telemetry...

Which json file is this?
On Sun, Sep 3, 2023, 16:02 quietvoid @.***> wrote:

I have auth working but the JSON is getting truncated somewhere and the
logs show it:
[13:58:33] [ERROR] Error parsing JSON: * Line 1, Column 2
Missing '}' or object member name
JSON: {"access_token":"...
[13:58:33] Login error: Error parsing json
[13:58:34] [INFO] Telemetry enabled (batch mode)
[13:58:34] [INFO] Sending first telemetry...
—
Reply to this email directly, view it on GitHub
https://github.com/netbrain/zwift/issues/17#issuecomment-1704314601, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACTNCYGQAK3U2LJLFAT74TXYSEV7ANCNFSM6AAAAAA32OYLTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Which json file is this?

The auth JWT obtained by logging in through the authentication API, it has to be passed to ZwiftApp.exe through CLI for auto login.
I should make a draft PR with the basic script, but I don't know how we'd want to configure the credentials. Could be a file in the Zwift config folder, as that's mounted as volume.
I've made a test case that reproduces the issue and it's definitely caused by RunFromProcess. Guess I'll email the author.
With sample C code, when ran as children process the arg is truncated to 1009 in length. While bypassing the extra app has the full size arg.

I see. Another option would be to create your own "runfromprocess"
executable. Im guessing it simply spawns a process with a specific set of
system call flags.
If you can identify how it spawns the process, the actual syscalls. Then it
should be fairly straightforward to create a application that replicates
that and is not limited with the arg truncation problem
On Sun, Sep 3, 2023, 16:47 quietvoid @.***> wrote:

Which json file is this?
The auth JWT obtained by logging in through the authentication API, it has
to be passed to ZwiftApp.exe through CLI for auto login.
I should make a draft PR with the basic script, but I don't know how we'd
want to configure the credentials. Could be a file in the Zwift config
folder, as that's mounted as volume.
I've made a test case that reproduces the issue and it's definitely caused
by RunFromProcess. Guess I'll email the author.
With sample C code, when ran as children process the arg is truncated to
1009 in length. While bypassing the extra app has the full size arg.
—
Reply to this email directly, view it on GitHub
https://github.com/netbrain/zwift/issues/17#issuecomment-1704325105, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACTNCYSWES6R7LZECGS4R3XYSKB5ANCNFSM6AAAAAA32OYLTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I attempted to reimplement it based on others' code (https://github.com/quietvoid/runfromprocess-rs) but it doesn't work.
My test code also results in part of the argument being passed (~2000 characters at most), and the Zwift window plainly just doesn't open.

building new image with this feature:
https://github.com/netbrain/zwift/actions/runs/6125846865

Can confirm that autologin works on the latest zwift image. :partying_face:


do not mark spill if there is no data to spill in auto spill mode

What problem does this PR solve?
Issue Number: close #8905
Problem Summary:
What is changed and how it works?
Don't mark spill if there is not data to spill in auto spill mode
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests


Allow an Identity to be forgotten

[x] Command handler and command
[x] Domain event
[x] Projectors
[x] Management API (/management/forget-identity)

A sudden onset of amnesia! @DRvanR

:sparkles: @DRvanR :sparkles:

:+1:


wgpu_device_create_buffer should set isBuffer

wgpu_device_create_bind_group checks if the resource is a buffer by looking at isBuffer, but it's never set for a buffer. I'd think it should be set when the buffer is created.
Thanks for all the help updating the library, hope you don't bind all the issue submissions. I'm inching forward by making local fixes, want to make sure I don't loose track of any fixes, and figured you'd like to keep the official version changes in your own style versus a PR.

Ops, adding that was in the back of my mind, but of course it slipped..
I don't mind at all the issue submissions, thanks for posting them!


False positive calling method on typed nil value

Calling a method on a typed nil value does not necessarily result in a nil pointer dereference in Go. For example the following program is valid but will cause nilaway to complain:
package main

type S []int

func (a S) Append(b S) S {
	return append(a, b...)
}

func main() {
	var a S = nil
	a = a.Append(S([]int{1, 2, 3}))
	println(a)
}

Also happens when calling a method on something like url.Values:
package main

import (
	"fmt"
	"net/url"
)

func main() {
	var params url.Values
	fmt.Println(params.Get("buh"))
}

main.go:10:14: error: Potential nil panic detected. Observed nil flow from source to dereference point:
	-> main.go:10:14: unassigned variable `params` called `Get()`

@aarzilli , @ncruces: thanks for reporting! We'll add support for this soon.


Model size mismatch when loading defaults

Hey everyone!
Interesting work!
I have been trying to set the Molskill scorer up, but I ran into the following issue when loading the default models provided in molskill/models/default/checkpoints (both last.ckpt and epoch=129-step=21450.ckpt). The encoder trained seems to have a different size:
Error(s) in loading state_dict for LitRankNet:
	size mismatch for net.encoder.0.weight: copying a param with shape torch.Size([256, 2220])
        from checkpoint, the shape in current model is torch.Size([256, 2221]).

Is this expected?
Thanks for your attention.

Hi - this seems related to the latest release of the rdkit 2023.03.1. I'm currently working on a hotfix but in the meantime please try and downgrade to 2022.03.3

Hi José!
Thanks for the quick answer.
After downgrading, I ran into the following issue. In data/descriptors.py, lines 15-16 read like this:
sys.path.append(os.path.join(RDConfig.RDContribDir, "SA_Score"))
import sascorer  # type: ignore

It seems that the path being appended (which is .../site-packages/rdkit/Contrib) is not available in this particular version of rdkit?

Hi @miguelgondu, are you getting an ImportError here? The Contrib folder should be available in that version of rdkit - if that does not work please open an issue in the rdkit tracker.
In the meantime, I'm preparing a PR to support the latest version of rdkit in #12 - should be ready in a few hours/days.

Hi, the conda packages upstream should be fixed now. Please re-install molskill on a fresh environment via conda/mamba with:
mamba install molskill=*=py39* -c msr-ai4science

if you're using python 3.9 or remove the build specification if you're using python 3.10.


Analyzer wrongly says that int case double is impossible.

Dart version 3.0.0-417.4.beta (dartpad beta channel) and version 3.1.0-63.0.dev (dartpad master channel).
void main() {
  final foo = 1;
  if (foo case double x) {
    print(['case double', x]);
  }
}

Analyzer warns that type int cannot match type double, but it's not true on web, and the print is invoked.

Not language as much as implementation.
The specification doesn't say that a double x pattern cannot match something which doesn't have type double, or that has type int. (It can't on the VM, but we only know that because we know that there are no subtypes of int which also implement double. That information is not in the library declarations, so it is not available to the semantics.)
This is probably more like an analyzer "incompatible type" warning. We don't give similar warnings for other unrelated types, so it's probably specific to the int/double/num types. And it's wrong on the web.

abstract final class int extends num {} is not a supertype of abstract final class double extends num {}, so it should not be possible to get double that is also int.

Except when compiled by dart2js, where ints and doubles both turn into doubles in the JavaScript VM.

abstract final class int extends num {} is not a supertype of abstract final class double extends num {}, so it should not be possible to get double that is also int.

Within the same library, you can declare final class _jsInt implements int, double {...}.

OK, I understand that in JavaScript any int could be a double as well.
So, we should special case this.
But _jsInt is wider than the special case I added.
I was going to make this code warning-free:
void f(int x) {
  if (x case double _) {}
}

But this is still a warning:
void f(double x) {
  if (x case int _) {}
}

Because I don't know if a double can be int in JavaScript. Can it?

Because I don't know if a double can be int in JavaScript. Can it?

JS has only one type representing numbers, so yes.

Unless the compiler does something like

to actually get the difference.

I can see that this is something we do for other types too:
sealed class Num {}
final class Int {}
final class Double {}

void main() {
  Int integer = Int();
  switch (integer) {
    case Double x: print(x);
  }
}

gives
The matched value type 'Int' can never match the required type 'Double'.
Try using a different pattern.

It's a reasonable warning in general, and correct for libraries where you can trust the source to be the whole truth.
Even if it is leaking information that there is no private subclass implementing both interfaces inside the library, which is not something you should ever depend on. It's just a warning, it doesn't change inference, so reasonable.
The "source is the whole truth" is what fails for platform libraries, where patch files and helper-libraries on the side (some of which can ignore privacy and class modifiers) can introduce classes not in the original library source.
Like JS-numbers which can be both an int and a double at the same time.
(I'm not aware of other cases which are as divergent between platforms, or where the internal type is as recognizable. We can see that a VM _GrowableList is such, by printing its runtimeType, but we don't have access to the type statically, so it's limited what we can do with it.)

https://dart-review.googlesource.com/c/sdk/+/301725


Kanban Setup

Github project: https://github.com/NatiG25/catalog-of-my-things/projects?type=new
Note: There are 3 members in this team.
Team member #1: @HammadSiddique (Student - A)
Team member #2: @NatiG25 (Student - B)
Team member #3: @GOlivierNation (Student - C)

Hi @team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request :x:

[ ] Kindly provide a link to your GitHub project and not the repo :+1:

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

@Kingstalux Thank you. I'll change it right away.

We have implemented the requested changes:

Added a review column on the kanban board.
Assigned issue #33 to student B (@NatiG25 )
Added description to issue #3
Startup actions tasks are catered to in issue #32
add_item method was already listed in issue #14
can_be_archived?() method was already listed in issue #16

Project Approved 👍
Hi @NatiG25, This is @sja-thedude your code reviewer.
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me [@sja-thedude] in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


regent: add optional disjointness for image

Looks like some of the tests that got added are not actually disjoint, so we'll need to fiddle with them to make sure that they are:
https://travis-ci.org/StanfordLegion/legion/jobs/543993196
Otherwise looks good modulo the one oustanding comment above.

This has been merged (though Github doesn't know because I squashed the commits before pushing). Thanks!


get disks using smartctl instead of lshw

@dalehamel @sroysen

@dwradcliffe sweet, so this works on nodes with LSI raid cards now?

cc @udnay

Yep seems to work with the raid cards I tested.


[IOTDB-1156] Improve the quality and efficiency of code formatting

Description
This PR includes two commits, one is the POM configuration of the Spotless plug-in, the other is format the code by using spotless / Google Java format.
Note:

We also need a PR (Web site) to explain how the IDE is configured, which will be opened in a separate PR #2686 .
When this PR is merged, other PRS can be merged according to the following steps(take pull/2667 for example):
asf is repo of Apache IoTDB

gf asf pull/2667/head:PR2667
gck PR2667
git cherry-pick 80de95b7
mvn spotless:check
mvn spotless:apply
git add .
git commit -m 'Apply spotless'
git rebase asf_master
// Resolve your conflict
git rebase --continue
// After squash your commits
gck asf_master
git merge PR2667
git push asf asf_master:master

In the subsequent PR, only needs to run  mvn spotless:check And mvn spotless:apply to ensure that our code format will always be correct and unified, and we can integrate Spotless in CI, so that our contributors will never care about code format.

Add one commit about upgrade the sonar-maven-plugin version to <IP_ADDRESS>6 due to ubuntu(11) CI check error: https://github.com/apache/iotdb/runs/1904211046#step:8:11596

I have checked this CI error, and ensure that this error is not caused by the current PR. the same problem occurred in [1][2]. I created JIRA[3] to focus on tracking.
[1] https://github.com/apache/iotdb/pull/2677/checks?check_run_id=1892946112
[2] https://github.com/apache/iotdb/pull/2667/checks?check_run_id=1863611951
[3] https://issues.apache.org/jira/browse/IOTDB-1157

https://issues.apache.org/jira/browse/IOTDB-1157

It is not caused by sonar version.
If you want to avoid warnings, see [1] , by using
- uses: actions/checkout@v2
  with:
    fetch-depth: 0

If you want to solve NullPointer issues, I have no idea. If you check the sonar command, you will find the problem is sonar.login is null,

see [2] and [3] for why. and that is why I open PR #2681
[1] https://community.sonarsource.com/t/sonarcloud-with-github-actions/22713
[2] https://www.google.com/url?q=https://help.github.com/en/articles/events-that-trigger-workflows%23pull-request-events-for-forked-repositories&source=gmail&ust=1613530497486000&usg=AFQjCNEfebNVY_hNI4Gtz41Cba39YTgLhw
[3] https://lists.apache.org/thread.html/rffca7a170b1e982c050279bf80802660b2c18131963b34c22122fb95%40<builds.apache.org>

https://issues.apache.org/jira/browse/IOTDB-1157

It is not caused by sonar version.
If you want to avoid warnings, see [1] , by using
- uses: actions/checkout@v2
  with:
    fetch-depth: 0

If you want to solve NullPointer issues, I have no idea. If you check the sonar command, you will find the problem is sonar.login is null,

see [2] and [3] for why. and that is why I open PR #2681
[1] https://community.sonarsource.com/t/sonarcloud-with-github-actions/22713
[2] https://www.google.com/url?q=https://help.github.com/en/articles/events-that-trigger-workflows%23pull-request-events-for-forked-repositories&source=gmail&ust=1613530497486000&usg=AFQjCNEfebNVY_hNI4Gtz41Cba39YTgLhw
[3] https://lists.apache.org/thread.html/rffca7a170b1e982c050279bf80802660b2c18131963b34c22122fb95%40<builds.apache.org>

Opened the PR for Correct the config of sonar.java.checkstyle.reportPaths. https://github.com/apache/iotdb/pull/2685

should add one improvement fixup commit later before merged.

I have update the PR by the follows changes:

Fix incorrect license headers, i.e., /** to /* in License header.
Turn special class comments into multiline comments for ensure example readability.

Rebase code from master...

Thanks for your review @liutaohua !
I have update the PR accordingly in fixup commit. and rebase the code in another commit.

I would like to do the last check before merging...

Thanks for your review @liutaohua
I have update the PR accordingly in fixup commit. and rebase the code in another commit.

I have squash the commits, and Keep 2 commits due to the first commit can help to rebase other PRs.
BTW: I'd like to add .git-blame-ignore-revs for ignore this big code format refactor after this PR has been merged.

I have squash the commits, and Keep 2 commits due to the first commit can help us to rebase other PRs.
BTW: I'd like to add .git-blame-ignore-revs for ignore this big code format refactor after this PR has been merged.


feature: finish the CLI logs part

Signed-off-by: Wei Fu<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Finish the CLI logs part in the pouch
Ⅱ. Does this pull request fix one issue?

Fixed https://github.com/alibaba/pouch/issues/1371
Ⅲ. Describe how you did it
Since the API parts has been done, the CLI part is just to fill the logic. However, during the testing, we found the IO issue like #1471 .
Some case maybe fail and it will be flaky case if #1471 doesn't merge.
Ⅳ. Describe how to verify it
➜  pouch run -d busybox sh -c 'for i in $(seq 1 3); do sleep 1; echo hello-$i; done;'
7ba6e5b25b961841145fd8aacaa4d9269bb38ef55519cf74265480326fd779d9
➜  pouch logs --timestamps 7ba6e5b25b961841145fd8aacaa4d9269bb38ef55519cf74265480326fd779d9
2018-06-05T14:05:31.082112571Z hello-1
2018-06-05T14:05:32.084694723Z hello-2
2018-06-05T14:05:33.09511301Z hello-3
➜  pouch logs --since 2018-06-05T14:05:32Z --until 2018-06-05T14:05:32.084694724Z 7ba6e5b25b961841145fd8aacaa4d9269bb38ef55519cf74265480326fd779d9
hello-2
➜  pouch logs --until 2018-06-05T14:05:32.084694724Z 7ba6e5b25b961841145fd8aacaa4d9269bb38ef55519cf74265480326fd779d9
hello-1
hello-2

Ⅴ. Special notes for reviews

Unfortunately, CI fails with golint, @fuweid :
/go/bin/golint
pkg/utils/utils.go:141:4: should replace numColons -= 1 with numColons--
Makefile:57: recipe for target 'lint' failed

Interesting.

@allencloud I want to add the make check in the git pre-hook. just reminder haha

@HusterWan Please help me to check the failed case 😄 thanks

Codecov Report

Merging #1472 into master will decrease coverage by 2.93%.
The diff coverage is 78.4%.

@@            Coverage Diff             @@
##           master    #1472      +/-   ##
==========================================
- Coverage   40.31%   37.37%   -2.94%
==========================================
  Files         251      256       +5
  Lines       16416    18069    +1653
==========================================
+ Hits         6618     6754     +136
- Misses       8956    10449    +1493
- Partials      842      866      +24

Impacted Files
Coverage Δ

client/container.go
0% <ø> (ø)
:arrow_up:

cli/logs.go
0% <0%> (ø)
:arrow_up:

pkg/utils/utils.go
88.67% <100%> (+3.05%)
:arrow_up:

daemon/logger/jsonfile/utils.go
73.17% <100%> (+1.5%)
:arrow_up:

client/container_logs.go
76.92% <76.92%> (ø)

apis/server/container_bridge.go
53.8% <0%> (-29.09%)
:arrow_down:

daemon/mgr/volume.go
54.92% <0%> (-25.49%)
:arrow_down:

apis/server/volume_bridge.go
61.9% <0%> (-24.77%)
:arrow_down:

apis/server/network_bridge.go
44.87% <0%> (-18.77%)
:arrow_down:

daemon/mgr/network.go
51.07% <0%> (-17.73%)
:arrow_down:

... and 24 more

Quite interesting, the test coverage decreases. 😄

LGTM


Removing messages

Ok, I am leveraging the DBATools to do centralize some server maintenance.  I took the Export-DBALogin, and commented out the various Write-Message lines.
I am a complete newbie to PS, but here goes.
Why do the messages still appear?  Do the modules need to be re-compiled??

You cannot simply edit the individual function files in the module when you are using the module from the PowerShell Gallery. The import process uses a file called allcommands.zip file to import all functions (internal and public). This is a single text file with over 90k lines of code.
To leverage your own customizations of the commands it would be best to clone the master branch of this repository, and then perform the changes you want. You can import the psd1 file and that will ensure all the changes you made exist in your session for the module.
If you need more information just let us know and reopen this issue.

Thank you.
We actually figured it out.  A co-worker put the pieces together.
Michael John
1019 Glen Oak Drive
Bethel Park, PA 15102
412-452-0585

On January 3, 2019 at 10:47 PM Shawn Melton<EMAIL_ADDRESS>wrote:
You cannot simply edit the individual function files in the module when you are using the module from the PowerShell Gallery. The import process uses a file called allcommands.zip file to import all functions (internal and public). This is a single text file with over 90k lines of code.

To leverage your own customizations of the commands it would be best to clone the master branch of this repository, and then perform the changes you want. You can import the psd1 file and that will ensure all the changes you made exist in your session for the module.

If you need more information just let us know and reopen this issue.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sqlcollaborative/dbatools/issues/4815#issuecomment-451347279 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aelmak7Hk82A-dXtRr1WmaSusUuJOBY_ks5u_s7cgaJpZM4ZSIx5 .


CUDA out of memory.

$ sh   scripts/tune_script/graphgpt_stage1.sh
报错 ：
param_applied = fn(param)
File "/home/xx/.conda/envs/graphgpt1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1158, in convert
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 172.00 MiB. GPU 0 has a total capacty of 23.69 GiB of which 56.81 MiB is free. Including non-PyTorch memory, this process has 23.63 GiB memory in use. Of the allocated memory 23.38 GiB is allocated by PyTorch, and 748.50 KiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
[2024-02-21 21:50:23,723] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 2265097) of binary: /home/xx/.conda/envs/graphgpt1/bin/python3
Traceback (most recent call last):
File "/home/xx/.conda/envs/graphgpt1/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/xx/.conda/envs/graphgpt1/lib/python3.8/runpy.py", line 87, in _run_code
调整了参数:**CUDA_VISIBLE_DEVICES=0,1,**2 $python_path -m torch.distributed.run --nnodes=1 --nproc_per_node=2
--per_device_train_batch_size 1
--per_device_eval_batch_size 1
--gradient_accumulation_steps 2
并且设置了 export PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128
运行时memory还是差几M， 请问，3090 （24G）可以跑起来吗，有什么优化的建议吗？

运行前内存：


Druid doesn't mark segments as "unused" when converting from a higher segment granularity to a lower segment granularity.

Affected Version
tested on Druid v0.19
Description
According to the documentation using a compaction task to change the segment granularity of data will mark the old segments as unused.
While testing this out I've noticed that segments don't get marked as unused when converting a higher segment granularity (Month) to a lower segment granularity (Day).
Steps to reproduce:

create a datasource with some data at a monthly granularity
run a compaction task like

{
	"type": "compact",
	"dataSource": "your_datasource",
	"interval": "2020-10-01T00:00:00.000Z/P1M",
	"segmentGranularity": "DAY"
}

query the metadata store using

select start, used, datasource from druid_segments where datasource='your_datasource';

expected: segments that start on the month are marked as used=false
actual: all segments have used=true

This can be a result of the new DAY segments not fully covering the Month.
For example if you have MONTH segment with 2020-10-01 to 2020-11-01 and you don't have data on every day in the month (for example, the only data rows you have are on 2020-10-08 to 2020-10-09), then Druid would only create new DAY segments for day with data (in the above example, you would only get one new segment 2020-10-08 to 2020-10-09).
Since Druid do not see DAY segments for every day of the month, Druid cannot mark unused the old MONTH segment.


virtctl image-upload failed:   A larger PVC is required

use virtctl to upload a iso file, but always fails
 virtctl image-upload --image-path=/opt/app/gonghang2/cyber-range/server/data/upload/os_images/3a72c25408ac8fc7dd7e2395dd95785e           --pvc-name=61652d59223011cb5d611 --pvc-size=1194Mi --uploadproxy-url=https://<IP_ADDRESS> --insecure --access-mode=ReadWriteMany -n gonghang2-vir --block-volume
PersistentVolumeClaim gonghang2-vir/61652d59223011cb5d611 created
Waiting for PVC 61652d59223011cb5d611 upload pod to be ready...

Pod now ready
Uploading data to https://<IP_ADDRESS>

 918.00 MiB / 918.00 MiB [=========================================================================================================================================================] 100.00% 3s

unexpected return value 400, Saving stream failed: Virtual image size<PHONE_NUMBER> is larger than available size<PHONE_NUMBER> (PVC size<PHONE_NUMBER>, reserved overhead 0.000000%). A larger PVC is required.

use qemu-img cmd , it shows
{
    "virtual-size": 962592768,
    "filename": "/opt/app/gonghang2/cyber-range/server/data/upload/os_images/3a72c25408ac8fc7dd7e2395dd95785e",
    "format": "raw",
    "actual-size": 962592768
}

it so strange, why cdi -upload-proxy calculate Virtual image size<PHONE_NUMBER>
there are versions info

virtctl  version
Client Version: version.Info{GitVersion:"v0.39.0", GitCommit:"6493f7130788fc2242f0ebbda2ace06dc12a4ad0", GitTreeState:"clean", BuildDate:"2021-03-10T15:29:59Z", GoVersion:"go1.13.14", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"v0.37.1-dirty", GitCommit:"f270b5befe16c20a11c34f22efecf2407f9591bc", GitTreeState:"dirty", BuildDate:"2021-01-21T20:13:15Z", GoVersion:"go1.13.14", Compiler:"gc", Platform:"linux/amd64"}

k8s: v1.19.2

cdi: v1.33.0

how to fix it?

@awels ping

@awels thanks !  this is a centos image iso file with raw format,  pvc size are --pvc-size=1194Mi,  pvc volume are using ceph shared storage
it is strange，No matter how large PVC size is specified, errors always exist, example pvc-size=2Gi, cdi shows virtual size is 3Gi, when pvc-size=3Gi, cdi shows virtual size is 4Gi

What makes me wonder is why for the same file, just because different PVC sizes are specified, CDI shows that the size of virtual size will change

@awels yes, you are right, volume mode is block


Swap failed AUSD-MEME

Conducted swaps, supplied liquidity to pools. Found one issue while swapping AUSD-MEME. Screenshots attached.
Desktop, windows 10, chrome

Hi, @Kylaguzz . We are aware of this issue and are working to resolve it. As of now - retrying operation should help.
Same as https://github.com/aurora-is-near/aurora-relayer/issues/223


Add deployment documentation, ensure smooth deploy behavior

Considering that lux is sort of a batteries-included api solution, it’s a safe bet that a lot of ppl would be using it alongside a PaaS like Heroku. I think it would be worthwhile, before release, to ensure that lux plays nicely with Heroku, and also document deployment to Heroku.
I know the goal isn’t specifically to make lux a Heroku solution, but 1) I think there’s a lot of overlap between the person who would be attracted to lux and the person who’s attracted to Heroku, and 2) something like Heroku is a perfect place to try out/play with this sort of solution.
I tried deploying something to Heroku last week and it wasn’t a “batteries-included” type experience (e.g., not as seamless as deploying a Rails app, for example), so it may require some minor tweaks to lux.

Heroku deployment is luckily pretty easy right now (not sure how it was back in August). I could write something when the docs come online.

That would be great. I'm having some issues right now deploying to elastic
beanstalk
On Nov 9, 2016 10:39, "Nick Schot"<EMAIL_ADDRESS>wrote:

Heroku deployment is luckily pretty easy right now (not sure how it was
back in August). I could write something when the docs come online.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/postlight/lux/issues/320#issuecomment-259490477, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACDIwq1D66cIIehX2D6YPthCftC6hSbiks5q8hNsgaJpZM4Jkdpd
.

@seawatts I thought you were able to deploy to eb successfully? What issue(s) are you having?


Crash When Viewing a Certain Page

Whenever I Viewed one Page on NEI the GUI (Not including the items menu) disappeared, and ten seconds later, it crashed. This has never happened before.  Here's my crash report:
http://pastebin.com/f8zJq9Ct

Try using the latest version of NEI, might solve your problem.

Solved.


Build is non-deterministic

Gulp or Terser or something is non-deterministic for the Emglken .js files.

Still not deterministic, looks like Terser rather than Rollup this time.


Update token sanitization

This PR updates token sanitation (due to Zalando compliance policies we have to censor the entire token). Its possible to make this configurable later (if needed)
We also add a stripAuthToken function, although this isn't used (yet) we have had issues in other projects where sometimes the token wasn't stripped.

Codecov Report

Merging #40 into master will decrease coverage by 0.6%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
- Coverage   70.91%   70.31%   -0.61%
==========================================
  Files          20       20
  Lines         447      448       +1
  Branches       10       10
==========================================
- Hits          317      315       -2
- Misses        130      133       +3

Impacted Files
Coverage Δ

...rc/main/scala/org/zalando/kanadi/api/package.scala
73.68% <33.33%> (-15.21%)
:arrow_down:

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 200991b...08a37ab. Read the comment docs.


[BUG] Modernization Scanner Does Not Identify Workflows associated with List Content Types

Thank you for reporting a bug. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Problem Area
[ ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...
None of the above apply.  The scanner does not throw an error, it is missing information.
Expected or Desired Behavior
I expect that the modernization scanner would pick up workflows associated with List Content Types.
Observed Behavior
The Modernization Scanner does not pick up workflows associated with List Content Types
Steps to Reproduce
Ensure there is a workflow associated with a list content type.  Run the Modernization Scanner to get the full workflow details.  The workflow will not be listed in the CSV.

Thanks @rpwise for logging this. In my testing I see workflows on content types, so seems as this is not that all content type workflows are missed. Do you have more details about the workflows that are not shown? If I can repro this from my side then I hope I can get it fixed and release a new version in the coming days.

Thanks @jansenbe for the quick response.  Yes, the modernization scanner picks up workflows when they are applied to a site content type, but not a list content type.
Here are the details of my specific issue:
Create a list, turn on content type management.
Add the 'Event' content type from the existing site content types.  I don't believe which one matters, but this is the specific one I'm seeing.
Navigate to the list settings page, click on the 'Event' content type, then click 'Workflow settings'
Create or apply a workflow to this 'Event' list content type.  My specific one was a Three State workflow.
Run the modernization tool to get the workflow details.  This workflow will not show in the CSV.
I just worked with Microsoft and they confirmed that they were able to reproduce the issue on their end and they requested I submit this as a bug in GitHub.

We are also experiencing this issue with the scan of our tenant, however the workflows are showing up in the CSV but with all values empty including for some workflows which are effectively in use.

@NicholasBlanchette : that seems to be something different. What do you mean with "all values empty"? When a workflow is an OOB one we're not doing the analysis of the workflow actions itself. Also ensure you're running the latest version and that you run the "WorkflowWithDetails" mode. The basic workflow scan mode will not analyze the workflows, it will just list them

Hi @rpwise : I've just released version 2.18 that should fix the detection of workflows on list content types. Please give it a try and let us know if it works for you.

@jansenbe Thank you for the update!  Let me download the latest version and give it a try!

I can confirm that the three state workflow is now being picked up by the <IP_ADDRESS> version of the modernization scanner.  Thank you so much for the quick turnaround!

Thanks for the quick feedback @rpwise . I'll close this issue then

The latest version of the SP modernization scanner tool 2.18 is still not returning the SPD WFs having manual start triggers. Kindly suggest!


nrew version To-do-list

hey @jay-2000 i want to add to list in your repo can you assign me under a hacktoberfest label

hey @jay-2000 i want to add to list in your repo can you assign me under a hacktoberfest label

hey @123shanawaz EXCLUDED: This repo is excluded from hacktoberfest. but still you want to contribute then go ahead


[BUG] Blank Version Tab after Creating a New Sequence

🔵 Describe the bug:
Blank Version Tab after Creating a New Sequence
🔵 To reproduce: (Steps to reproduce the behavior)

Open Newest GSE 3.2.00-beta4-26-g50b1f76-PatronBuild Release
Create NEW Sequence
Go to version 1 - Blank
See error

🔵 The error:
No Error just Missing Blocks / Blank  25 and 26 had the same issue
🔵 Screenshots:

🔵 GSE Version:
3.2.00-beta4-26-g50b1f76-PatronBuild Release

For that to occur, Ace3 has thrown an error and we need a copy of the error.

Caused by #1485 reordering the radio buttons.  By Setting Macro as the default need to initialise the action.macro field


Cleanup for MSVC+MingW.

Fixed building for MingW+MSVC. Those seems to have fallen behind. Adding a single GNU makefile for both MSVC+MingW soon. Note: a lot of white-space changes. (trailing WS removed).

This is amazing. A real shame it was never merged.

I forgot about that entirely. I think I just delete this Pll Request since Sam seems o have lost interest in libnet...

Closing.

shamelessly stolen!

libnet is a cool library. It should be better maintained.  Maybe you can fork it? Good luck!

Yes I'd also like to see it keeping maintained. :+1

Thanks. I've been thinking for a while to help reviving the project. Here actually with sam and you guys. But things look really abandoned.
I'll do my best maintaining my fork and even out as many bumps as I can. if you even want to help out or contribute in any other way, you can find my fork here , Would be cool if you could share some of your brainpower there every now and then.
Cheers!


[New game]: add balloon popping game

🎮 Game Request
popup a;l the balloons
Point down the features
popping up all the balloons
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @ANKeshri !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @ANKeshri ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


feat: more automated awesome-ipfs PRs

This PR is intended to replace https://github.com/ipfs/awesome-ipfs/pull/428
What kind of PR is this?
Select only one to speed up review/approval; i.e., don't lump an addition and a removal into a single PR.

[N/A] Adding something new to awesome-ipfs
[N/A] Editing something already listed on awesome-ipfs
[N/A] Removing something from awesome-ipfs
[x] Something else (if so, please explain in the "Additional details" section below)

Pre-submit checklist
Please confirm ALL of the following before submitting your PR.

[N/A] This PR includes only one addition, removal, or edit.
[N/A] I edited the /data directory instead of the README.md.
[x] I reviewed the content policy and the and the IPFS Community Code of Conduct to ensure my submission meets the requirements.
[x] I have followed the CONTRIBUTING.md guidelines.

Additional details
Is there anything else we should know about this PR?

This PR is a part of addressing concerns raised in #420 and elsewhere, and adds the following features:

Automatically update README.md for users. All they need to do to contribute is modify the data/** files.
Runs awesome_bot via github actions instead of via circleci
Posts comment to PRs giving insight into what was changed.

If .github/** was changed, a regular message will be displayed.
If data/** was changed

A message will be displayed indicating the YAML data has been edited.
If there are broken links, danger-js will fail the PR

If src/** was changed, a warning will be displayed
If scripts/** was changed, a warning will be displayed

See https://github.com/SgtPooki/awesome-ipfs/pull/2 for an example of what these changes do. You can look at the edit history for https://github.com/SgtPooki/awesome-ipfs/pull/2#issuecomment-1246145056 to see the different types of messages.

Accepted invitation for ipfs-gui-bot to this repo so we can get passed this error:

from https://github.com/ipfs/awesome-ipfs/actions/runs/3063541346/jobs/4945872464

circleci is still failing saying skiff.com is a 403: https://app.circleci.com/pipelines/github/ipfs/awesome-ipfs/1160/workflows/defde02d-f26d-4675-ba90-7b9aa4ae58a5/jobs/1867. We need to remove circleci

Awesome! Thanks for pushing this @SgtPooki


Add windows portability build_only job

-- remove unused grpc_portability_master.cfg  file (recently renamed to grpc_portability.cfg)
-- add portability build-only job for windows

Only affects kokoro tests, merging.


Bug: Writing an object column with NaN value throws exception

Exception:
nan (type <type 'float'>) do not match ['null', 'string']
Expected output:
nan should be converted to null.

Could you provide more context? This doesn't seem like a problem. Your schema expects a string or null and you have given it a float. A NaN should not be implicitly converted to None otherwise when you read the record out it won't match.
Here's an example showing that it should be possible to serialize/de-serialize a NaN
In [8]: from io import BytesIO
   ...: from fastavro import writer, reader
   ...:
   ...: schema = {
   ...:     'name': 'NaN',
   ...:     'namespace': 'test',
   ...:     'type': 'record',
   ...:     'fields': [
   ...:         {'name': 'test_nan', 'type': 'float'},
   ...:     ],
   ...: }
   ...:
   ...: records = [
   ...:     {u'test_nan': float('nan')},
   ...: ]
   ...:
   ...: fo = BytesIO()
   ...:
   ...: writer(fo, schema, records)
   ...:
   ...: fo.seek(0)
   ...:
   ...: read_records = list(reader(fo))
   ...:
   ...: print(records)
   ...: print(read_records)
   ...:
[{'test_nan': nan}]
[{'test_nan': nan}]

Let me elaborate:
I have a pandas dataframe column called CITY which contains 'nan'. This is not a column of type float.

@oliverlewis What is the dtype of the CITY column?

city                        object

Could you provide some code that reproduces the problem?

FastAvroBug.pdf

@oliverlewis
Can you provide a more compact example?

@oliverlewis Sorry that this hasn't seen much attention. I looked at the pdf that you posted, but I can't run it because it tries to open a file that you might have had but I don't (data/sample_skout_userdata.json). If this is still relevant would you be able to provide an example with the necessary resources?

I'm going to close this. If it's still relevant and there is a good way to reproduce it, please re-open.


Improve this web page

REQUIRE IMPROVEMENT
#1 add whole website responsive according to mobile , tab , computer
#2 add formal color
#3 change title
#4 add skills section  left right scroll

Improve this web page #3


Add parameters at sim time not in mech files

sometimes i want to assign parameters to strings with function calls, and make new variables not found in the original mech file.  it would be nice if DS would find those new parameters that get stored in modifications and add them to the base model and param file.

problem: importmodel is called to make modifications from populations/connections.parameters and vary.  In both situations, the corresponding mechanism is not clear, since there can be a list of mechanisms.  consider new naming convention with prepended cell describing the index of the mech for modifications to apply to.

Parameters specified in spec.*.parameters are now added to spec.pops.equations in dsCheckSpecification(). Mechanism-specific parameters to vary can be specified using e.g., {'pop.mech','param',values}.

@jsherfey is this documented on the wiki or in the dev branch? i dont see it in the debug branch at least.


Add pupop window support

What would be your use case, could you please elaborate?

Sorry for the late reply, I couldn't visit GitHub
I want to make an application that can be displayed on other applications in Android and share desired content
This is inherent in the desktop, but is it possible in the flat?

Displaying Flet app inside another Android, iOS app is on our roadmap and will be implemented soon: https://flet.dev/blog/flet-mobile-strategy#flet-widget-for-flutter
Is it what you are looking for?

the some of programs in android like video player in telegram is with popup is my use case


Errors loading DDPO model finetuned with LORA after saving locally

I am experiencing problems loading the DDPO model saved locally using trainer.save_pretrained after finetuning with LoRA. There are errors about missing keys.
Traceback (most recent call last):
  File "ddpo_eval.py", line 6, in <module>
    pipeline = DefaultDDPOStableDiffusionPipeline(
  File "/trl/models/modeling_sd_base.py", line 533, in __init__
    self.sd_pipeline = StableDiffusionPipeline.from_pretrained(
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py", line 1286, in from_pretrained
    loaded_sub_model = load_sub_model(
  File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py", line 531, in load_sub_model
    loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 662, in from_pretrained
    raise ValueError(
ValueError: Cannot load <class 'diffusers.models.unets.unet_2d_condition.UNet2DConditionModel'> from save/models/ddpo_aesthetic/unet because the following keys are missing:
 up_blocks.2.attentions.2.transformer_blocks.0.attn2.to_out.0.bias, down_blocks.0.attentions.1.transformer_blocks.0.attn1.to_k.weight, down_blocks.2.attentions.0.transformer_blocks.0.attn1.to_out.0.bias, mid_block.attentions.0.transformer_blocks.0.attn2.to_q.weight, up_blocks.2.attentions.1.transformer_blocks.0.attn2.to_k.weight, up_blocks.3.attentions.2.transformer_blocks.0.attn2.to_out.0.weight, up_blocks.3.attentions.0.transformer_blocks.0.attn1.to_out.0.bias, up_blocks.2.attentions.2.transformer_blocks.0.attn2.to_v.weight, down_blocks.2.attentions.0.transformer_blocks.0.attn1.to_q.weight, up_blocks.1.attentions.0.transformer_blocks.0.attn2.to_v.weight, down_blocks.0.attentions.1.transformer_blocks.0.attn1.to_v.weight, up_blocks.1.attentions.2.transformer_blocks.0.attn1.to_k.weight,

The failure occurs when I create the pipeline using pipeline = DefaultDDPOStableDiffusionPipeline("./ddpo_aesthetic")
I am able to load the model without errors if I use:
pipeline = DefaultDDPOStableDiffusionPipeline(
    "runwayml/stable-diffusion-v1-5",
)
pipeline.sd_pipeline.load_lora_weights("./ddpo_aesthetic")

Environment
torch: 2.2.0a0
transformers: 4.38.2
peft: 0.9.0
trl: git commit from March 7th 2024 - 22b4f548f4954319ece6f17cab226a26e2db65be
Reproduction steps

Added trainer.save_pretrained("./ddpo_aesthetic") to ddpo.py to save model locally instead of pushing to hub.
Finetuned model using:

python examples/scripts/ddpo.py \
    --num_epochs=200 \
    --train_gradient_accumulation_steps=1 \
    --sample_num_steps=50 \
    --sample_batch_size=6 \
    --train_batch_size=3 \
    --sample_num_batches_per_epoch=4 \
    --per_prompt_stat_tracking=True \
    --per_prompt_stat_tracking_buffer_size=32 \
    --tracker_project_name="stable_diffusion_training" \
    --log_with="tensorboard"

Evaluated the model

import torch
from trl import DefaultDDPOStableDiffusionPipeline

torch.manual_seed(42)
pipeline = DefaultDDPOStableDiffusionPipeline(
    "ddpo_aesthetic",
)
device = torch.device("cuda")

# memory optimization
pipeline.vae.to(device, torch.float16)
pipeline.text_encoder.to(device, torch.float16)
pipeline.unet.to(device, torch.float16)

prompts = ["cat", "bat", "lion", "squirrel", "crab", "starfish", "whale", "sponge", "plankton"]
results = pipeline(prompts)

for prompt, image in zip(prompts, results.images):
    image.save(f"{prompt}.png")

Hi, I am facing the same error. Did you manage to resolve it? Also, just confirming pipeline.sd_pipeline.load_lora_weights("./ddpo_aesthetic") and trainer.save_pretrained("./ddpo_aesthetic") will save and load the fine-tuned model, right?


More welcoming welcome page

Currently, when starting a new django CMS project, the first thing you get greeted with is our welcome page, which asks you to add a page or enter edit mode. The first problem with this is that new users might just be confused by the idea to enter an edit mode in the first place, but the bigger issue is what happens if a user hits "add a page". In that case, the user is sent to the admin to add a page, and then is in the admin page list, likely completely lost and not sure where to go next.
This PR proposes we change this welcome page to ask you to log in, then choose the title of your home page, then sends you to the home page in edit mode.
The form asks you for a single input: the title of your home page. This is to keep friction as low as possible and make the whole process as fast/easy as possible. For the template it uses the first template in the list, the language is the current request language and since it's the home page, slug doesn't matter.
TODO:

[x] Implement logic
[ ] Actually style/design the pages

The idea sounds great, big thumbs-up from me. What about streamlining it further still, so that there is always a first page ready in the system, with a menu_title Home and a title My new django CMS website (I'd prefer something less cutesy than that, but it's late and I'm tired)?
Then the user can retitle the page, but doesn't even need to if just exploring.

The idea of the welcome page is that it's shown when there's no pages yet. So the question would be when/how this "default" page gets created. It can't really be created at setup because that makes life harder for people who want to pre-populate their database. So it would have to be created by the welcome page (after login). I somewhat agree that auto-creating it would be streamlining it, but I kind of like the idea of less magic and empowering the user somewhat by letting them create their very first cms page themselves. A compromise might be to pre-fill the field on the create page step.

+1

@ojii I believe the spirit of this has been addressed in 3.2. Closing this. If you feel this is in error, please feel free to re-open.


FR: Verify ID tokens without requiring credentials

Firebase SDK version: 3.9.0
Firebase Product: auth

Describe the problem
The firebase admin SDK is the most trustworthy way to verify ID tokens, but it isn't the easiest, because per the docs:

To verify ID tokens with the Firebase Admin SDK, you must have a service account. Follow the Admin SDK setup instructions for more information on how to initialize the Admin SDK with a service account.

Technically, there's no need for this - to verify a token you just need to get certificates from a public endpoint.
It would be really helpful if client.VerifyIDToken function was also exposed as auth.VerifyIDToken so it could be used without having to initialize an app instance.
Steps to reproduce:

Try and verify ID tokens from a development machine, in CI, and in production.
Find you have to provision GCP credentials to do so
Increase risk by either writing your own verifier, using a third party solution (e.g. 1,2,3,4,5,6,7,8 ...), or provisioning credentials where they aren't needed

I think the number of public re-implementations of this logic in Go suggests there is demand for it.

You just need a project ID to verify ID tokens. You don't need a service account -- that part of the docs is incorrect. That means on environments that support ADC you can just do this:
config := &firebase.Config{
    ProjectID: "my-project-id",
}
app, err := firebase.NewApp(ctx, config)

client, err := app.Auth(ctx)

For environments without ADC, you can use the following trick:
config := &firebase.Config{
    ProjectID: "my-project-id",
}
ts := oauth2.StaticTokenSource(&oauth2.Token{})
app, err := firebase.NewApp(ctx, config, option.WithTokenSource(ts))

client, err := app.Auth(ctx)

Thanks! Might be worth capturing that in the docs?

@mykter I've filed an internal doc update request. Hopefully that page will get updated with more information.


UI in-hand description text oversteps on ID slot sprite

it happens more with stackeables and it doesnt block clicking on the ID

it happens more with stackeables and it doesnt block clicking on the ID

Not an issue anymore with new hud.


HuggingFace Demo Implementation

Guys , Hi , I implemented your awesome work to Hugging Face as a demo . https://huggingface.co/spaces/SerdarHelli/SDF-StyleGan-3D :D

Thanks for creating such an impressive demo. Although, for optimal results, the level of the marching cubes should be set to 0. I apologize for my delayed response.


Implement client

implement a client, including the builder for it

https://stackoverflow.com/a/12908467/7910403

Snapshot created to test the client:
https://jitpack.io/#cloud-robots/bridge/0.1.0-SNAPSHOT


[BD-21] Report generic code annotation errors

Previously, it was required to run code_annotations --lint in order to verify
code annotations. The errors then had to be collected manually, for instance
with a paver task. This made it intractable to generalize code annotation
checking to multiple IDAs. With this new checker, code annotation errors are
sent to pylint, which makes it easy for everyone to quickly detect annotation
errors. To achieve this, we make use of the new code annotations API created in
v1.1.0.
This PR depends on https://github.com/edx/code-annotations/pull/61 (:heavy_check_mark: merged)
cc @robrap

Thanks for the pull request, @regisb! I've created BLENDED-746 to keep track of it in Jira.   More details are on the BD-21 project page.
When this pull request is ready, tag your edX technical lead.

Thanks for the pull request, @regisb! I've created BLENDED-746 to keep track of it in Jira.   More details are on the BD-21 project page.
When this pull request is ready, tag your edX technical lead.

I updated the PR. The policy regarding pylint IDs reflects my own understanding of the problem, and may be somewhat limited. If you would like to use a different approach, please say so and I'll implement it.

I think the warning IDs and names are interchangeable in most contexts, and we definitely prefer to use the names for readability reasons.  It wouldn't surprise me if we use the IDs somewhere (I recently asked for changes on a PR that was about to do so), but I think the odds that we're explicitly referring to these particular ID strings are pretty low.

This should be ready to release now @robrap.


Array Basics / Reading and Writing Files

csv has no readable data, i can't read it with excel or notepad, there are symbols like there is different symbol Code
C:\Users\Volegov\PycharmProjects\Python Libraries - NumPy\NumPy\Array Basics\Reading and Writing Files\task.py:4: UserWarning: loadtxt: input contained no data: "somedata.csv"
arr = np.loadtxt(data, delimiter=',', skiprows=1)

Probably related to EDC-892


Fix docker build and delete vendor files which were not deleted

Docker was not able to build the image because dep was not installed

@njuettner still failing :(


Concepticon mapping

See here: https://github.com/concepticon/concepticon-data/issues/42
The list currently used is only a small subset of the actual concepts.

Done


Horsey + Insignia when tag is entered

Suggestions list persists (at old input position) when new tag is entered:
http://quick.as/6Qk8CXOZ
http://jsbin.com/kotirepiqi/1/edit?html,js,output

A conversion event on insignia triggered whenever convert is called would be sufficient.
el.on('insignia-converted', function () {
  horse.hide();
  horse.show();
});

Would you like to submit a patch for this on insignia? To implement the event see how horsey-select was implemented here

I’d be happy to! I’ll see if I can get a PR in the next few days

Implemented a .refreshPosition API method in 1.1.0, which should be preferred over .hide / .show. Use<EMAIL_ADDRESS>


Where's .navbar-text ?

Did you drop support for the navbar-text sub-component in v4-beta?
v3 Reference http://getbootstrap.com/components/#navbar-text

v4's navbar is currently an incomplete work-in-progress.

Looks like this (tested) would be a temporary replacement/workaround:
    .navbar-text {
      float: left;
      padding-top: .425rem;
      padding-bottom: .425rem;
      zzmargin-right: 1rem;
      zzmargin-left: 1rem;
    }

Works with the text modifiers like .text-muted and the position modifier .pull-right.
One nit with the current state of change is left/right margins between navbar items. .nav-items assume nothing for the side margins, .navbar-brand does a right margin, etc.  You'll need to enable whichever margin seems right for your usage.

Coming in #19890.

Brought back in Alpha 5 with #19890.


Intermediate answer from STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION received as a final answer

System Info
langchain==0.0.260
model = "gpt-3.5-turbo-16k"
temperature = 0.0
Who can help?
@hwchase17 and @agola11
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[X] Memory
[X] Agents / Agent Executors
[X] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
search_agent = initialize_agent(
        tools=tools,
        llm=llm,
        agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,
        memory = memory,

        agent_kwargs = {
        #"suffix": NEW_SUFFIX,
        "memory_prompts": [chat_history],
        "input_variables": ["input", "agent_scratchpad", "chat_history"]
        },
        #prompt=cf_template,
        #handle_parsing_errors=True,
        #max_iterations=2,
        #max_execution_time=10,
        verbose = True,
        handle_parsing_errors=True,
    )
from pprint import pprint
#planner = load_chat_planner(llm)
#executor = load_agent_executor(llm, tools, verbose=True)
#search_agent = PlanAndExecute(planner=planner, executor=executor, verbose=True)
#print(search_agent.agent.llm_chain.prompt)

search_agent.agent.llm_chain.verbose=True
question = "What are the stock price for Apple"
response =  search_agent.run(input = question)
print(response)
#pprint(search_agent.agent.llm_chain.prompt)
question = "What about Google."
response =  search_agent.run(input = question)
print(response)
#pprint(search_agent.agent.llm_chain.prompt)
question = "Show me news for fires in Greece in the last month."
response =  search_agent.run(input = question)
print(response)
question = "what about Macedonia in the previous week."
response =  search_agent.run(input = question)
print(response)

Expected behavior
For the:
question = "What about Google."
response =  search_agent.run(input = question)

The Agent response is:
Human: What about Google.
AI: To provide the current stock price for Google, I will use the "get_current_stock_price" tool. Please wait a moment.

Instead it should execute the tool and get the results similar as Apple which is the first query...

BTW, I have issue with the response:
Human: What about Google.
AI: To provide the current stock price for Google, I will use the "get_current_stock_price" tool. Please wait a moment.
SO it means that the context with the memory is inderstood by the agent

Ok, can u write python code now to generate this prompt

I was thinking in a more dynamic way and also to include:
Previous chat history:
Human: Show me the ingredients for making greek salad
AI: XXX
Human: XXX
AI: XXX
Begin!:
New Input:

Do you know how to get the user question in a Structured Tool?

I was thinking on existing tool

@igormis Have you found a solution for the issue?