No 1.0.0.RELEASE build for spring-cloud-gcp-starter-data-spanner

Attempting to use spring-cloud-gcp-starter-data-spanner with the spring-cloud-gcp-dependencies BOM at version 1.0.0.RELEASE fails.
This is because the spring-cloud-gcp-dependencies BOM uses the same versions for its dependencies: https://github.com/spring-cloud/spring-cloud-gcp/blob/master/spring-cloud-gcp-dependencies/pom.xml#L95 and no 1.0.0.RELEASE exists for  spring-cloud-gcp-starter-data-spanner in the spring milestone repo https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-gcp-starter-data-spanner/

That's intentional. Spanner support was not part of the 1.0 release because the Cloud Spanner Java client library is not GA yet.

Thanks! Wasn't sure, so just wanted to double check.


Don't print statsd log messages unless debug / verbose mode is used

This pull request updates our code so we don't print log messages generated by statsd client (when statsd metrics driver is used) if debug / verbose mode is not enabled.
Statsd client logs all the operations under INFO by default and that causes a lot of noise in the log files. Those log messages are not desired unless running in debug / verbose mode.
This also fixes st2-register-content "regression".
(virtualenv) vagrant@ubuntu-xenial:/data/stanley$ python ./st2common/bin/st2-register-content --register-actions --config-file conf/st2.dev.conf
2018-11-13 16:06:55,826 INFO [-] Connecting to database "st2" @ "<IP_ADDRESS>:27017" as user "None".
2018-11-13 16:06:55,832 INFO [-] Successfully connected to database "st2" @ "<IP_ADDRESS>:27017" as user "None".
2018-11-13 16:06:56,105 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 22.95600000ms
2018-11-13 16:06:56,105 INFO [-] st2.amqp.publish.update: 23.81000000ms
2018-11-13 16:06:56,128 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 8.55600000ms
2018-11-13 16:06:56,129 INFO [-] st2.amqp.publish.update: 9.16700000ms
2018-11-13 16:06:56,159 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 1.96500000ms
2018-11-13 16:06:56,159 INFO [-] st2.amqp.publish.update: 2.34900000ms
2018-11-13 16:06:56,185 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 7.85500000ms
2018-11-13 16:06:56,186 INFO [-] st2.amqp.publish.update: 8.47800000ms
2018-11-13 16:06:56,212 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 3.88400000ms
2018-11-13 16:06:56,213 INFO [-] st2.amqp.publish.update: 4.22300000ms
2018-11-13 16:06:56,236 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 3.19800000ms
2018-11-13 16:06:56,237 INFO [-] st2.amqp.publish.update: 3.63800000ms
2018-11-13 16:06:56,259 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 5.47000000ms
2018-11-13 16:06:56,259 INFO [-] st2.amqp.publish.update: 6.28000000ms
2018-11-13 16:06:56,283 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 3.02200000ms
2018-11-13 16:06:56,284 INFO [-] st2.amqp.publish.update: 3.39700000ms
2018-11-13 16:06:56,307 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 5.45000000ms
2018-11-13 16:06:56,307 INFO [-] st2.amqp.publish.update: 6.59100000ms
2018-11-13 16:06:56,331 INFO [-] st2.amqp.pool_publisher.publish_with_retries.st2.trigger: 4.71300000ms
2018-11-13 16:06:56,332 INFO [-] st2.amqp.publish.update: 5.28400000ms
2018-11-13 16:06:56,333 INFO [-] =========================================================
2018-11-13 16:06:56,333 INFO [-] ############## Registering runners ######################
2018-11-13 16:06:56,333 INFO [-] =========================================================
2018-11-13 16:06:56,769 INFO [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
2018-11-13 16:06:56,790 INFO [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
2018-11-13 16:06:57,700 INFO [-] st2.st2.register.runners: 1366.99800000ms
2018-11-13 16:06:57,701 INFO [-] Registered 18 runners.
2018-11-13 16:06:57,702 INFO [-] =========================================================
2018-11-13 16:06:57,702 INFO [-] ############## Registering actions ######################
2018-11-13 16:06:57,703 INFO [-] =========================================================
2018-11-13 16:07:06,978 INFO [-] st2.st2.register.actions: 9274.77600000ms
2018-11-13 16:07:06,978 INFO [-] Registered 322 actions.

After:
(virtualenv) vagrant@ubuntu-xenial:/data/stanley$ python ./st2common/bin/st2-register-content --register-actions --config-file conf/st2.dev.conf
2018-11-13 16:35:20,581 INFO [-] Connecting to database "st2" @ "<IP_ADDRESS>:27017" as user "None".
2018-11-13 16:35:20,587 INFO [-] Successfully connected to database "st2" @ "<IP_ADDRESS>:27017" as user "None".
2018-11-13 16:35:21,055 INFO [-] =========================================================
2018-11-13 16:35:21,055 INFO [-] ############## Registering runners ######################
2018-11-13 16:35:21,056 INFO [-] =========================================================
2018-11-13 16:35:21,290 INFO [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
2018-11-13 16:35:21,314 INFO [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
2018-11-13 16:35:22,208 INFO [-] Registered 18 runners.
2018-11-13 16:35:22,209 INFO [-] =========================================================
2018-11-13 16:35:22,210 INFO [-] ############## Registering actions ######################
2018-11-13 16:35:22,210 INFO [-] =========================================================
2018-11-13 16:35:29,783 INFO [-] Registered 322 actions.

NOTE: If user runs StackStorm service with --debug flag or st2-register-content script with --verbose flags those messages will still be printed.

While at it, I also pushed a change to ignore "useless" "Generating grammar tables" log messages printed out by networkx which uses 2to3 library - 5515a9e81.

:+1:


Add contribute info

What problem does this PR solve?
Added link to development guide

Codecov Report

Merging #334 into master will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #334      +/-   ##
=========================================
- Coverage   58.93%   58.8%   -0.13%
=========================================
  Files          45      44       -1
  Lines        2805    2704     -101
=========================================
- Hits         1653    1590      -63
+ Misses       1033    1002      -31
+ Partials      119     112       -7

Impacted Files
Coverage Δ

pkg/chaosdaemon/util.go
76.25% <0%> (-4.08%)
:arrow_down:

controllers/timechaos/types.go
58.46% <0%> (-3.88%)
:arrow_down:

pkg/time/time_linux.go
49.12% <0%> (ø)
:arrow_up:

api/v1alpha1/timechaos_types.go
3.84% <0%> (ø)
:arrow_up:

pkg/utils/graph.go

pkg/utils/selector.go
52.47% <0%> (+0.82%)
:arrow_up:

pkg/chaosdaemon/time_server.go
100% <0%> (+11.76%)
: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 54bac55...b3c9482. Read the comment docs.

/merge


pdf.js does not update document when file-content changes

configuration

Mozilla Firefox 69.0.3
Arch Linux
PDF.js version: How can I figure this out?
Is a browser extension: I use pdf.js in firefox

problem
When a local pdf-file is opened via firefox then pdf.js does not update the document when the file changes.
My usecase is when I write pdf-files in latex then I like to display the file in firefox with the builtin pdf.js module. However, I need to frequently rebuild the file so the content of the file changes each time I recompile the respective latex-document. The problem is that pdf.js does not show the updated content of the file when it changes. Instead I need to manually reload the pdf.js-site by pressing F5.
solution
When a pdf-file changes on the local computer then the viewer should also update the displayed document with the new content of the file.

This question applies to the Firefox extension and that is now maintained upstream, so please file this issue at https://bugzilla.mozilla.org instead. Thanks.


fix: resource quota annotations key max length support

Closes #772.

Asking for your feedback on this, @radekg, since the bug reporter.
As you can see from the code, we're checking if the resource quota key is exceeding the maximum length of 63 characters, and giving the following precedence:

plain name
Capsule annotation with the hashed value
fully hashed value
ignoring it, otherwise, it would block Capsule reconciliation.

Please, let me know your thoughts.

Let me see what I can do about it. Will try testing this and give feedback based on that. I do need a couple of days. Thank you, @prometherion.

@radekg may I ask you a ping about this, please?

Merging due to inactivity, taking over ownership of the feature.


OpenGL: Blend modes other than Mix don't work unless Depth Draw Mode is set to Never

Godot version
v4.1.dev1.official [db1302637]
System information
Windows 10, Compatibility, NVIDIA GeForce GTX 1050 Ti (528.24)
Issue description
Setting the blend mode to something besides mix behaves the same as mix. This is the same whether is a ShaderMaterial or a StandarMaterial3D.

I think this should have been fixed by #75968 unless I misunderstood the PR, and it does seem to be included in this version (4.1 dev1). It does work if you set the Depth Draw Mode to Never though.
Steps to reproduce

Add a MeshInstance3D with a mesh of any type
Add a StandarMaterial3D
Set the blend mode to add (or any other than mix)
It won't work unless you set the depth draw mode to Never

Minimal reproduction project
BlendAdd.zip

Tagged as "good first issue" for clarity, this is a good first issue for someone with a little bit of OpenGL experience

This is a good first issue :) I was able to determine the problem by comparing the OpenGL renderer with the forward mobile and forward clustered renderers. It seems that the following was omitted in OpenGL's set_code(const String &p_code) function for BLEND_MODE_ADD, BLEND_MODE_SUB, and BLEND_MODE_MUL:
uses_blend_alpha = true; //force alpha used because of blend
I'll have a PR to fix this issue soon, but will need to go over the contribution guidelines first.

I have noticed that the OpenGL Subtract blend mode doesn't work no matter what other draw modes are selected. This appears to be because it was using GL_FUNC_REVERSE_SUBTRACT instead of GL_FUNC_SUBTRACT. I will include this fix in my PR as well to address all of the "Blend modes other than Mix don't work" cases.


Set the content length to -1 to let the reader read all the uploading…

Set the content length to -1 to let the reader read all the uploading contents in the request

replace bytes.Buffer.Len() with -1

Pull Request Test Coverage Report for Build 7774

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.01%) to 63.667%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ui/api/chart_repository.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/common/scheduler/policy/alternate_policy.go
3
80.29%

Totals

Change from base Build 7773:
0.01%

Covered Lines:
11914

Relevant Lines:
18713

💛  - Coveralls


Git autostash doesn't work on 1.74.0

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.74.0 (user setup)
Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
Date: 2022-12-05T16:38:16.075Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

OS Version: Windows 10 21H2, VSCode server inside WSL Ubuntu 22.04 (same issue on the Debian 11)

Steps to Reproduce:

Enable autostash "git.autoStash": true
Have changes in the worktree
Press Sync
There you got window with git error
If we look to git output, we will see that git stash pop executed in the wrong order, before the pull

2022-12-12 15:52:01.762 [info] > git stash push -u [265ms]
2022-12-12 15:52:01.778 [info] > git stash pop [8ms]
2022-12-12 15:52:02.255 [info] > git pull --tags -r origin master [489ms]

Additional information. If we have staged changes in worktree and click "Commit & Sync", then order of commands is correct.
2022-12-13 13:12:56.053 [info] > git stash push -u [285ms]
2022-12-13 13:12:56.539 [info] > git pull --tags -r origin master [480ms]
2022-12-13 13:12:57.273 [info] > git push origin master:master [1206ms]
2022-12-13 13:12:57.381 [info] > git stash pop [102ms]

Fixed in 1.74.1

Marking as verified by issue author!


add: umu-launcher-git

	[>] Running package
fatal: No names found, cannot describe anything.

What's this error?

	[>] Running package
fatal: No names found, cannot describe anything.

What's this error?

This seems to be the culprit:
RELEASEDIR := $(PROJECT)-$(shell git describe --abbrev=0)
I pushed a new patch to omit this error.


Problems with the Chat Action

Hi I tried the code to simulate the recommendation process.
But I observe that there might be some issues in the chat action. User David Smith doesn't seem to have the right/clear memory for the movies he watched.

@WennyXY Hi, these errors occasionally arise due to the hallucination of LLM.  It could be because David hadn't watched the movie at that time and therefore had no relevant memory.


Create E2E tests for CRUD operations with all the workloads cases

Detailed Description
Create E2E tests for CRUD operations with all the workloads cases.
Context
To simplify the process we'll use the local cluster and simple cases. The test is aimed to ensure minimum requirements and expectation on successful creation.

We should do a subset of this for the v2.7.next2 milestone.

Would support internal reference: SURE-6294.

@Shavindra Is the PR that will resolve this https://github.com/rancher/dashboard/pull/9284? It's in draft, no milestone, reviewers, description, etc


Add gray Roave elephpant

https://twitter.com/RoaveTeam/status/826942192015007744

I'm running the @Roave elePHPant project, they're currently almost finished production, so should be with me in the next few months (sea-shipping is slow!). Please ping me if you need anything from me :)

Thanks @asgrim! The hardest part of adding any elephpant is getting clear, uncluttered, CC-licensed photos. If you have (or can get) any, please let me know.

This photos are my own work, and happy to release them on CC-BY-SA license :) hopefully they're ok?

Great. Thank you!


[BUG]: RVI on Edge kills resources!

Description
RVI eats too much resources on Edge
Steps To Reproduce
N/A
Expected Behavior
RVI is stable and not-resource-intensive wherever used
Screenshots

Environment: (Leave only applicable items.)

OS:

Windows

Browser:

Type:

non-Chrome based on Chromium (Edge)

Additional context
Requestor: PO

[x] Correct in Edge
[x] Test, Correct and Validate Chrome

Seems to be resolved with 3.3 release OOTB


--tutorial to educate users about CockroachDB in CLI

Our CLI currently don't offer any education on the core value props of Cockroach, and would benefit from having a few lines of texts between installation steps. Or perhaps a tutorial that users can turn on/off.
Here are a list of steps where I see as potentials of a-ha moments:

After starting the first node: recommend user dump some sample data (ie: startrek).
After user successfully dumped startrek data: explain Cockroach breaks down data to 64MB chunks, and they're ranges.
Recommend user start two more nodes by explaining Cockroach is distributed.
After 3 nodes are started in the cluster: explain ranges of data are now evenly sitting across 3 nodes. Here's a way to prove it...

To conclude, point to the replication graph in the admin ui for future monitoring.

Even if users decide Cockroach is not a good fit for them after installation, they would have a basic understanding of what Cockroach is and how it is different, should an appropriate use case appear later on.
@jseldess @sploiselle @dianasaur323

@kuanluo Thanks for writing this up. Looks like a good start to me. @jseldess, Kuan and I had discussed how it might make sense to test this flow out in docs to see how it works before investing engineering time into a tutorial. Thoughts?

@dianasaur323, I can try that. But it'd also be fun to map out the cli guidance here. I like @kuanluo's ideas. I'll add more thoughts soon.

@piyush-singh, I'm closing this but want to put it on your radar, in case you think it's worth investing in making the cli more informative/educational.


Many jobs launched for 1 Distiller operation

Distiller operations are doing something strange.
Perlmutter transfers show an error, but Cori operations show success. Check out job 3937 for example.
I believe the issue is that several jobs (7 in one instance) are launched at the same on Cori and Perlmutter time doing the same work. So, I think that there is something incorrect with the job submission process.
Also, Distiller no longer shows a slurm ID.

 It was caused by a bug in the SF API introduced by a recent change, should be fixed up now.


Adding Alt Text & Keyboard Control

I think we can add a lot of accessibility improvement by adding support for tabbing through the interface, including alt text to the images.
I don't think this is going to be a big change.  I think I've done it to these files
lib/OpenLayers/Control/OverviewMap.js
lib/OpenLayers/Control/PanZoom.js
lib/OpenLayers/Renderer/Canvas.js
in my fork:
https://github.com/mgifford/openlayers
I'm largely a PHP developer though so I'm sure I've missed stuff.
Anyways, it would be great to add WAI-ARIA support, but at the very least we should be able to add alt tags & keyboard only support I would hope.

hi mgifford - is this something that's been added in to openlayers formally?  I'm trying to get this done on https://www.cvillecouncil.us (the little map on the left) and having no luck finding documentation for OpenLayers.Control.PanPanel alt tags... thanks!

I don't think it has been added. Best to check the examples from the latest release http://openlayers.org/en/v3.2.1/examples/
Worth doing!

hey dude- thank's for following up - I've got a couple projects that need this.. i'm thinking worst case writing some jscript that finds the elements and rewrites them with alt tags...   given the low quality of my coding standards I think it might be better that way - just feel like the code I'm seeing doesn't really lend itself to being extended as easily as they say it is....

What about http://openlayers.org/en/v3.2.1/examples/accessible.html ?

I see that - I'm trying to get that on my site, haven't been too successful yet - may be an issue on the drupal end


Is this template compatible with HTML/JS site?

Is this template compatible with HTML/JS site. I see the code base and looks like smarty is compatible with PHP which is supposed to work with WordPress. I'm kind of new to web development and ads management and trying to integrate the conversion API in a pure HTML/CSS website.

Hi!
This template is the source code of the tag, you're not expected to apply it directly on the website :)
All you have to do is to add Google Tag Manager to your website and then add this tag from the GTM gallery:
https://tagmanager.google.com/gallery/#/owners/Adsmurai-Google-Tag-Manager-Templates/templates/adsmurai-facebook-pixel-and-conversions-api


Backport "Fix declaring product of straight-to-jar compilation" to LTS

Backports #20592 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-21070.
Reference


Unable to Install gocql

Hi Guys,
I am receiving following error while executing go get github.com/gocql/gocql
mayur@eantrix:~# go get github.com/gocql/gocql
# cd .; git clone https://code.google.com/p/go-decimal-inf.exp /home/ubuntu/gocode/src/speter.net/go/exp/math/dec/inf
Cloning into '/home/ubuntu/gocode/src/speter.net/go/exp/math/dec/inf'...
fatal: unable to access 'https://code.google.com/p/go-decimal-inf.exp/': Failed to connect to code.google.com port 443: No route to host
package speter.net/go/exp/math/dec/inf: exit status 128

I've already checked my internet connection (both local & server), Go installation is working fine in fact it complies other projects where gocql is not required and imported. I've started noticing the problem since yesterday.

Again same issue.

 go get speter.net/go/exp/math/dec/inf
# cd .; git clone https://code.google.com/p/go-decimal-inf.exp /home/sysmon/go/src/speter.net/go/exp/math/dec/inf
Cloning into '/home/sysmon/go/src/speter.net/go/exp/math/dec/inf'...
fatal: repository 'https://code.google.com/p/go-decimal-inf.exp/' not found
package speter.net/go/exp/math/dec/inf: exit status 128

https://github.com/kubernetes/kubernetes/issues/23529

From the issue above, it seems package moved to: http://gopkg.in/inf.v0
Can we update gocql to use this new location?

gocql does use this new location, the google code repo has been down for months:
https://github.com/gocql/gocql/blob/master/marshal.go#L20
Check if you are using the most up to date code?

Yes, you are correct, I had old code.

same issue, go mod is a subgroup module. but work for me:
git config --global url."git@xxx.xxx.net:".insteadof "https://xxx.xxx.net/"
go build


kCFSocketError (-1) for unknown reason

Scenario:
Two iPads, A B, both identical model and iOS version.
Both running the same app version, on the same WiFi network.
On A, everything works fine and we get connections. It never seems to go wrong.
On B, we get this error line output from this code in NMSSHSession.m:
`        error = CFSocketConnectToAddress(_socket, address, [timeout doubleValue]);
CFRelease(address);
    if (error) {
        NMSSHLogVerbose(@"Socket connection to %@ on port %ld failed with reason %li, trying next address...", ipAddress, (long)port, error);
    }`

(Line 278)
And it happens every time. Device B fails consistently.
And I don't know what else to try at the moment (I don't have direct access to the iPads, this is at a distance with a client).
Any ideas from anyone are welcome! Thanks!

Are you using NMSSH 2.2.7? There is an issue with previous version when the app is compiled with Xcode 8.3

You're exactly right, I spotted it shortly after posting this, all is fine now :)


fix(Masthead): scroll behavior

Related Ticket(s)
[Masthead]: fix L0/L1 scroll behavior #3184
Description
if both L0 and L1 are present, L1 will be sticky when 25% of page is reached. If there is only the L0, it will be scroll out when 25% of page is reached.
Changelog
New

not selector to "remove" L0 when there is only it.

Changed

CSS specificity when there is both L0 and L1 so only L1 will be sticky and L0 will be scroll out.

Removed

condition to apply 25% of page rule only when there is the L1

@diegomarcuz adding feature flag so we can test the L1 as well.

@diegomarcuz adding feature flag so we can test the L1 as well.

Thanks @jeffchew

@diegomarcuz I'm testing this out and the masthead is disappearing way before 25% from what I can tell, @wonilsuhibm @oliviaflory @sethibm @JennySanchez can you take a look at this behavior?
https://ibmdotcom-react.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/3577/index.html?path=/story/components-dotcom-shell--default

I'm testing this out and the masthead is disappearing way before 25% from what I can tell

Really ? I made some console.log() to see when the .bx--masthead--sticky is added and seems to be right. Look here @jeffchew
This class only appears when scroll position is greater than 25% of the page height.

@diegomarcuz I'm also seeing the masthead disappear before 25%. The L0 disappears almost immediately whether the L1 is present or not.

Will re-open a new PR as this was never completed with a working solution.


not get response of a user define method

how i get response of my index method for further use?
<?php

namespace console\controllers;

use Yii;
#use Amp\Promise;
#use Amp\ByteStream;
use Amp\Process\Process;

class TestController extends \yii\console\Controller
{
	public function actionTest(){

		// php yii test/test
		\Amp\Loop::run(function () {

				for ($i=0; $i <10 ; $i++) {
					 $commands[] = $this->index($i);
				}
			    $promises = [];
			    foreach ($commands as $command) {
			        $process = new Process($command);
			        $promises[] = new \Amp\Coroutine($this->show_process_output($process));
			    }
			// print_r($promises);
		    // yield all($promises);
		});
	}

	public function index($i){
        // echo $i." =>  hello word"."\n";
        return $i;
	}

	function show_process_output(Process $process): \Generator
	{
	    yield $process->start();

	    $stream = $process->getStdout();

	    while (null !== $chunk = yield $stream->read()) {
	        // echo $chunk;
	    }

	    $code = yield $process->join();
	    $pid = $process->getPid();
	    // echo "Process {$pid} exited with {$code}\n";
	}
}

I don't understand what you're asking. What should your index method do?


Using dlib to make alexnet work on mnist dataset,and the loss value is always up and down 2.305

Using dlib to make alexnet work on mnist dataset,but the loss value is alwys floating up and down at 2.305.it seems like if the net include too much parameters,the loss is hard to reduce.
Expected Behavior
Training should reduce the model's loss value and eventually converge to a relatively small value .
Current Behavior
I use the dlib to build up alexnet ,and run the alexnet on the mnist dataset.
1.First I use the dnn_introduction_ex.cpp as model ,this cpp file use LeNet5 as an example,so I simply replace the net_type to build up alexnet,this is the only thing I do,and training loss is alwys floating up and down at 2.305.and no matter how you change the loss value, the phenomenon is the same, the loss value has been floating up and down at 2.305.
2.if I reduce the conv layer filter kernal number,it will coverage,for example,I change the third conv layer filter number from 384 to 20,this net will worked.also if I reduce the last two fc layer from 4096 node to 1000 node it also worked.
Steps to Reproduce
you can reproduce this problem very easily.copy the dnn_introduction_ex.cpp,and then change the net_type to
using net_type =
  loss_multiclass_log<fc<10,
       dropout<relu<fc<4096,
       dropout<relu<fc<4096,
       max_pool<3, 3, 2, 2, relu<con<256, 3, 3, 1, 1,
       relu<con<384, 3, 3, 1, 1,
       relu<con<384, 3, 3, 1, 1,
       max_pool<3, 3, 2, 2, l2normalize<relu<con<256, 5, 5, 1, 1,
       max_pool<3, 3, 2, 2, l2normalize<relu<con<96, 11, 11, 1, 1,
       input<matrix<unsigned char>>>>>>>>>>>>>>>>>>>>>>>>>;

and no dnn_introduction_ex.cpp other code need  to be changed.

Version: 1.19.19
Where did you get dlib: official source ,I get it from dlib.net
Platform: windows10 64bit
Compiler: using visual studio 2015

Maybe you need a smaller learning rate.

I have changed a lot of original learning rates such as 0.0001, 0.001, 0.01, 0.05, 0.1.the result are the same,the loss seems like never reducing

Those l2normalize layers don't really make any sense and are probably
messing this up.


Cannot POST /V1/embeddings

I'm running AutoGPT + gpt-llama.cpp with the latest version from gpt-llama.cpp and autoGPT version suggested in this guide, i can start communicating with the model but once it gets to the action phase, it crashes AutoGPT with a html response suggesting it can't post to /v1/embeddings. I'm not sure whether i should be raising this with AutoGPT or gpt-llama.cpp repo.
gpt-llama.cpp:
Server is listening on:
  - http://localhost:443
  - http://<IP_ADDRESS>:443 (for other devices on the same network)

See Docs
  - http://localhost:443/docs

Test your installation
  - double click the scripts/test-installation.ps1 (powershell) or scripts/test-installation.bat (cmd) file

See https://github.com/keldenl/gpt-llama.cpp#usage for more guidance.
> REQUEST RECEIVED
> PROCESSING NEXT REQUEST FOR /V1/chat/completions
> LLAMA.CPP DETECTED

=====  CHAT COMPLETION REQUEST  =====
> VICUNA MODEL DETECTED. LOADING VICUNA ENGINE...
{ '--n_predict': 1021 }

=====  LLAMA.CPP SPAWNED  =====
..\llama.cpp\main -m ..\llama.cpp\Models\Wizard-Vicuna-13B-Uncensored.ggmlv3.q4_1.bin --threads 12 --temp 0.7 --n_predict 1021 --top_p 0.1 --top_k 40 -c 2048 --seed -1 --repeat_penalty 1.1764705882352942 --reverse-prompt user: --reverse-prompt
user --reverse-prompt system: --reverse-prompt
system --reverse-prompt

 --reverse-prompt ## --reverse-prompt
## --reverse-prompt ### --reverse-prompt

 -i -p Complete the following chat conversation between the Human and the Assistant. System messages should be strictly followed as additional instructions.

### Human: How are you?
### Assistant: Hi, how may I help you today?
### System: You are Bob, An AI designed to assist on requests and research autonomously
Your decisions must always be made independently without seeking user assistance. Play to your strengths as an LLM and pursue simple strategies with no legal complications.

GOALS:

1. find from 1 to 10 tech products released last week on Amazon with a spike in ratings
2. check reddit and youtube for positive feedback

Constraints:
1. ~4000 word limit for short term memory. Your short term memory is short, so immediately save important information to files.
2. If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.
3. No user assistance
4. Exclusively use the commands listed in double quotes e.g. "command name"
5. Use subprocesses for commands that will not terminate within a few minutes

Commands:
1. Google Search: "google", args: "input": "<search>"
2. Browse Website: "browse_website", args: "url": "<url>", "question": "<what_you_want_to_find_on_website>"
3. Start GPT Agent: "start_agent", args: "name": "<name>", "task": "<short_task_desc>", "prompt": "<prompt>"
4. Message GPT Agent: "message_agent", args: "key": "<key>", "message": "<message>"
5. List GPT Agents: "list_agents", args:
6. Delete GPT Agent: "delete_agent", args: "key": "<key>"
7. Clone Repository: "clone_repository", args: "repository_url": "<url>", "clone_path": "<directory>"
8. Write to file: "write_to_file", args: "file": "<file>", "text": "<text>"
9. Read file: "read_file", args: "file": "<file>"
10. Append to file: "append_to_file", args: "file": "<file>", "text": "<text>"
11. Delete file: "delete_file", args: "file": "<file>"
### System: The current time and date is Tue May 30 19:00:41 2023
### System: This reminds you of these events from your past:

### Human: Determine which next command to use, and respond using the format specified above:
### Assistant:

=====  REQUEST  =====
### Human: Determine which next command to use, and respond using the format specified above:
=====  PROCESSING PROMPT...  =====
=====  PROCESSING PROMPT...  =====

=====  RESPONSE  =====
 Based on the given goals and constraints, I recommend starting with a search for tech products released last week on Amazon. Here's my response in JSON format:
{
 "command": {
 "name": "google",
 "args": {
 "input": "1 to 10 tech products released last week on Amazon with a spike in ratings"
 }
 },
 "thoughts": {
 "speak": "I will start by searching for the specified tech products.",
 "plan": "- Search for tech products released last week on Amazon with a spike in ratings",
 "reasoning": "This is an important task that needs to be completed quickly. I will use Google's search engine to find relevant information."
 }
}
user:Request DONE
> PROCESS COMPLETE
> REQUEST RECEIVED
> PROCESSING NEXT REQUEST FOR /V1/embeddings
> PROCESS COMPLETE

AutoGPT:
 THOUGHTS:  None
REASONING:  This is an important task that needs to be completed quickly. I will use Google's search engine to find relevant information.
PLAN:
-  Search for tech products released last week on Amazon with a spike in ratings
CRITICISM:  None
NEXT ACTION:  COMMAND = google ARGUMENTS = {'input': '1 to 10 tech products released last week on Amazon with a spike in ratings'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for ...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
D:\Programs Files\Python\Python311\Lib\site-packages\duckduckgo_search\compat.py:20: UserWarning: ddg is deprecated. Use DDGS().text() generator
  warnings.warn("ddg is deprecated. Use DDGS().text() generator")
D:\Programs Files\Python\Python311\Lib\site-packages\duckduckgo_search\compat.py:24: UserWarning: parameter page is deprecated, use DDGS().text() generator
  warnings.warn("parameter page is deprecated, use DDGS().text() generator")
D:\Programs Files\Python\Python311\Lib\site-packages\duckduckgo_search\compat.py:26: UserWarning: parameter max_results is deprecated, use DDGS().text()
  warnings.warn("parameter max_results is deprecated, use DDGS().text()")
rbody = <!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot POST /V1/embeddings

Traceback (most recent call last):
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 675, in _interpret_response_line
    data = json.loads(rbody)
           ^^^^^^^^^^^^^^^^^
  File "D:\Programs Files\Python\Python311\Lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Programs Files\Python\Python311\Lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Programs Files\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\projecto\Auto-GPT\autogpt\__main__.py", line 5, in <module>
    autogpt.cli.main()
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1635, in invoke
    rv = super().invoke(ctx)
         ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\click\decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\projecto\Auto-GPT\autogpt\cli.py", line 151, in main
    agent.start_interaction_loop()
  File "D:\projecto\Auto-GPT\autogpt\agent\agent.py", line 184, in start_interaction_loop
    self.memory.add(memory_to_add)
  File "D:\projecto\Auto-GPT\autogpt\memory\local.py", line 78, in add
    embedding = create_embedding_with_ada(text)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\projecto\Auto-GPT\autogpt\llm_utils.py", line 155, in create_embedding_with_ada
    return openai.Embedding.create(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\openai\api_resources\embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 621, in _interpret_response
    self._interpret_response_line(
  File "C:\Users\Terramoto\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 677, in _interpret_response_line
    raise error.APIError(
openai.error.APIError: HTTP code 404 from API (<!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot POST /V1/embeddings

)
Press any key to continue . . .

It's because it's not implemented. See https://github.com/Significant-Gravitas/Auto-GPT/pull/2473


suggestions for PSTHs and probe info

Calculating PSTHS: Raveling bin values for stimulus event need further review. Please see TODO in the showcase_notebook when aggregating PSTHs

Probe.py: Interface is complaining about not supporting 'circular' types. Falling back to 'rect' as the channel info doesn't seem to change. Also added python-neo to keep track of library versions

data_locator.py: I added a new method with a new folder structure as shown in the comments

See the changes in #18 that address the points here. I also included the new function.


Update scripts

@dfhahn edits to the analysis scripts including

cosmetic changes to plots

print out of new values (e.g. percentiles)

@vtlim Thanks a lot for all your comments and feedback. I think I addressed all of them in the recent commits.

@dfhahn Is this ready for merge? Should I go ahead?

@davidlmobley Yes from my side.

I will review it this weekend!


[feature] log the command being executed with --log debug

Is your feature request related to a problem? Please describe.
I would like to see the exact command being executed when using --log debug for a task. We have a situation in which it doesn't appear that moon is using the correct args and it looks like we've specified them correctly, but I have no way to confirm.
Describe the solution you'd like
Please see above
Describe alternatives you've considered
--log trace didn't seem to help either
Additional context
Here's the current output with debug:
moon run infra-core:deploy --log debug
[debug 2023-03-21 11:23:54] moon Running moon v0.26.4 (with /Users/user/code/workspace/node_modules/@moonrepo/cli/moon)
[debug 11:23:54] moon:workspace Creating workspace at ~/code/workspace (from working directory ~/code/workspace)
[debug 11:23:54] moon:cache Creating cache engine at ~/code/workspace/.moon/cache
[debug 11:23:54] moon:project-graph Creating project graph
[debug 11:23:54] moon:project-graph Finding projects with globs: apps/*, infra/*, packages/*, services/*, .
[debug 11:23:54] moon:node-platform Loading names (aliases) from project package.json's
[debug 11:23:54] moon:project-graph Generated hash d13f54d3df851185a75033512a69bc120d05970b59b12558d037a9ce55483d00 for project graph
[debug 11:23:54] moon:project-graph Loading project graph with 10 projects from cache
[debug 11:23:54] moon:query:touched-files Querying for touched files
[debug 11:23:54] moon:query:touched-files Filtering based on touched status "all"
[debug 11:23:54] moon:dep-graph Creating dependency graph
[debug 11:23:54] moon:action-pipeline Running 7 actions across 4 batches
[debug 11:23:54] moon:action:setup-tool Setting up Node.js global toolchain
[debug 11:23:54] proto:tool:pnpm Resolving a semantic version for "7.29.1"
[debug 11:23:54] proto:tool:pnpm Resolved to 7.29.1
[debug 11:23:54] proto:tool:pnpm Checking for tool in /Users/user/.proto/tools/pnpm/7.29.1
[debug 11:23:54] proto:tool:pnpm Tool has already been installed at /Users/user/.proto/tools/pnpm/7.29.1
[debug 11:23:54] proto:tool:pnpm pnpm has already been setup
[debug 11:23:54] moon:action:sync-project Syncing project core
[debug 11:23:54] moon:action:run-target Running target core:build
[debug 11:23:54] moon:action:install-deps Lockfile has not changed since last install, skipping install
[debug 11:23:54] moon:runner Generated hash fe741cd7515f1fcd9ead927eb71cbcc72e1f8918da74973212ef827c99c85fb3 for target core:build
[debug 11:23:54] moon:runner Cache hit for hash fe741cd7515f1fcd9ead927eb71cbcc72e1f8918da74973212ef827c99c85fb3, reusing previous build
▪▪▪▪ core:build (cached from previous run, fe741cd7)
I'm batman

[debug 11:23:54] moon:action:run-target Running target core:deploy
[debug 11:23:54] moon:runner Generated hash f90c52d8ea62fc48090625b71d398150d0e87e5c3866485ee2249b7f18234bf5 for target core:deploy
[debug 11:23:54] moon:runner Cache miss for hash f90c52d8ea62fc48090625b71d398150d0e87e5c3866485ee2249b7f18234bf5, continuing run
[debug 11:23:54] moon:runner Creating core:deploy command (in working directory ~/code/workspace/infra/core)
▪▪▪▪ core:deploy

--app is required either in command-line, in cdk.json or in ~/.cdk.json
▪▪▪▪ core:deploy (249ms, f90c52d8)

 ERROR  Process node failed with a 1 exit code.

Ah I wasn't expecting that. In the node-realm trace is associated with logging output containing stack traces, so that's on me. I think your docs here https://moonrepo.dev/docs/commands/overview#debugging make that clear enough so closing as complete.


[PropTypeDescription] Adds @returns type and descriptions for functio…

Hey, this PR is to help with finishing #3096
Some of the callback functions that need documentation have return values that should probably be documented.

When there's no @returns tag in the documentation, the function signature has a void return, exactly as it already works.  The description on the @returns tag is optional:

Wow that looks great :+1: :+1:
Is it possible to remove the default void return? I mean that will somehow clutter the docs. If it doesn't return anything ( or anything documented ) it shouldn't have to be included. besides a lot of functions won't need to return anything as they are mere callbacks. So I believe it's best be removed. Thanks :+1:

Thanks @alitaheri
Yeah I can remove the default void return, but as it works not it only shows the void return in the signature itself, not in the list of arguments/returns:

But if you want the void removed from the signature I can do that.

Oh... No no, it's perfect :+1: :+1: Thank you :sweat_smile: :sweat_smile:

Sorry for all the nitpicking :sweat_smile: Thank you so much for taking care of this :+1:

That's ok, I appreciate the help and feedback; I'll work on those changes.

Looks great :+1: :+1: Thanks a lot :grin: Squash down to 1 commit please :sweat_smile:
@callemall/material-ui Feel free to review and merge if it's alright. :+1:

Great, thanks for the help @alitaheri :)

@theosherry Thanks a lot, I'm loving this :heart_eyes:

Looks good to me, thanks @theosherry! :+1:

Thanks for this. :+1:  We need to make the wiki publicly writable, but in the meantime would you mind please adding a comment to this PR that has your examples from the images above in text form, and I'll add them to the wiki page: https://github.com/callemall/material-ui/wiki/Documentation

@mbrookes Is this ok?
Example for @returns with a description:
 /**
  * Callback function used to determine the filter of the auto complete.
  *
  * @param {string} searchText The text to search for within `dataSource`.
  * @param {string} key `dataSource` element, or `text` property on that element if it's not a string.
  * @returns {boolean} `true` indicates the auto complete list will include `key` when the input is `searchText`.
  */
 filter: React.PropTypes.func,

The description is optional:
 /**
  * Callback function used to determine the filter of the auto complete.
  *
  * @param {string} searchText The text to search for within `dataSource`.
  * @param {string} key `dataSource` element, or `text` property on that element if it's not a string.
  * @returns {boolean}
  */
 filter: React.PropTypes.func,

Perfect thanks!

Wiki updated. :+1: Thanks again.


display single image map

Hi,
how to display single map image and apply zoom in and zoom out to that map image and assign routing points to it, As now it is displaying in tiles format by using tileLayer function.can anybody please help me out on this one.Thanks in advance

You may want to check this out:
https://gis.stackexchange.com/questions/82950/add-simple-image-layers-to-mapbox-leaflet
You don't want to add it as a tile layer, cause there's only one image. Use an image overlay and align it properly. Something like:
import { Component } from '@angular/core';
import { icon, imageOverlay, latLng, Map, marker, point, polyline, tileLayer } from 'leaflet';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {

  googleMaps = tileLayer('http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}', {
    maxZoom: 20,
    subdomains: ['mt0', 'mt1', 'mt2', 'mt3'],
    detectRetina: true
  });

  // Use the image bounds to align the image properly
  imageBounds = [[0, 0], [0, 0]];
  imageOverlay = imageOverlay('**assets/maps/3.png', this.imageBounds);

  layersControl = {
    baseLayers: {
      'Google Maps': this.googleMaps
    },
    overlays: {
      'My Map': this.imageOverlay
    }
  };
  options = {
    layers: [ this.googleMaps, this.imageOverlay ],
    zoom: 20,
    center: latLng([ 0, 0 ])
  };

  onMapReady(map: Map) { }

}

Hi Ryan,
When I used your suggested code it is giving me below error
ERROR in C:/Users/vinayak.tanksali/Documents/ngx-leaflet-tutorial-ngcli-master/src/app/app.component.ts (36,52): Argument of type 'number[][]' is not assignable to parameter of type 'LatLngBoundsExpression'.
Type 'number[][]' is not assignable to type '[number, number][]'.
Type 'number[]' is not assignable to type '[number, number]'.
Property '0' is missing in type 'number[]'.

That's just a compiler error. You need to make sure you're correctly creating the latLngBounds.
I corrected the example to compile.

I'm going to close this since I think I've addressed your request for help. If you need more help, please use the ngx-leaflet tag on Stack Overflow (I watch that tag and prefer to answer requests for help there). If you find any bugs/issues with ngx-leaflet, feel free to continue to post them here. Thanks!


Fetching foreign schemas over HTTP

Hello,
I am a big fan of react-json-schema, and I would like to extend it by myself to support fetching foreign schemas over HTTP (you said you were not planning to do it any time soon in the doc)
I am planning to use fetch for this.
Do you have any advice for me ?
Poke @MoOx

You might want to have a look at how we did that in the formbuilder

Thanks for your answer Natim, but I don't want yet to build form with drag'n drop. My first issue is to build a form with JsonSchema. Maybe later :)

I wasn't talking about drag'n'drop but more about how to fetch the JsonSchema with HTTP.

ho ok, thx,
I should dig deeper :)

Actually are you planning on using a specific JavaScript framework yet?

I'm not sure about the status of your conversations, but it looks out of scope to me.

We do this. we use the RefParser library to pre-fetch and parse down the schema before we hand off to schema-form. Works like a charm.

I'm gonna close this as we don't currently have any near/long-term plans to support schema fetching for this lib.


[CytoCommunity] Using visium data

Dear authors,
Hi, all! Thank you so much sharing great tool to community.
I happen to come across you used DLPFC 10x visium data on CytoCommunity as well but can't find any toy example how you converted raw spaceranger output into current cytocommunity input files. Can you guide us with tutorial or explanation how one can do this?
many thanks in advance,
J

Hi Jun,
I'm very sorry for replying late. Yes, CytoCommunity can be used for spot-based spatial omics like 10x visium data, but needs an additional procedure, that is, cell-type deconvolution. First, you can apply cell-type deconvolution methods (e.g. CARD, by ) to 10x visium data (usually single-cell transcriptomics data as reference) to obtain cell type fractions for each spot. Then, you can construct a spot-spot proximity graph and use the cell type fraction as the attribute vector of each spot. So the Step1.py should be revised since there will be no CellTypeLabel.txt. If you need further assistance on how to revise the code in Step1.py, please contact me via email<EMAIL_ADDRESS>Best,
Yuxuan


Issues when doing a find/replace with \n

You will want to use $ instead of \n. I'm seeing some other strange things though:
If I do a similar search,

The error callstack is:
Cannot read property 'replace' of null: TypeError: Cannot read property 'replace' of null
    at Object.escape (file:////Users/roblou/code/vscode/out/vs/base/common/strings.js:59:20)
    at SearchRenderer.renderContents (file:////Users/roblou/code/vscode/out/vs/workbench/parts/search/browser/searchResultsView.js:158:43)
    at SearchRenderer.ActionsRenderer.render (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/actionsRenderer.js:62:42)
    at SearchRenderer.LegacyRenderer.renderElement (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeDefaults.js:36:51)
    at ViewItem.render (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeView.js:230:39)
    at TreeView.refreshViewItem (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeView.js:893:18)
    at TreeView.onRefreshItem (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeView.js:883:18)
    at TreeView.HeightMap.onRemoveItems (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeViewModel.js:100:22)
    at TreeView.onItemChildrenRefreshed (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeView.js:743:34)
    at TreeView.onModelEvents (file:////Users/roblou/code/vscode/out/vs/base/parts/tree/browser/treeView.js:534:30)
Cannot read property 'length' of null: TypeError: Cannot read property 'length' of null
    at SearchViewlet.getSelectionFrom (file:////Users/roblou/code/vscode/out/vs/workbench/parts/search/browser/searchViewlet.js:927:69)
    at SearchViewlet.open (file:////Users/roblou/code/vscode/out/vs/workbench/parts/search/browser/searchViewlet.js:889:34)
    at file:////Users/roblou/code/vscode/out/vs/workbench/parts/search/browser/searchActions.js:500:35
    at CompletePromise_ctor.CompletePromise_then [as then] (file:////Users/roblou/code/vscode/out/vs/base/common/winjs.base.raw.js:1566:49)
    at ReplaceAction.run (file:////Users/roblou/code/vscode/out/vs/workbench/parts/search/browser/searchActions.js:492:64)
    at ActionRunner.run (file:////Users/roblou/code/vscode/out/vs/base/common/actions.js:202:52)
    at ActionItem.BaseActionItem.onClick (file:////Users/roblou/code/vscode/out/vs/base/browser/ui/actionbar/actionbar.js:115:32)
    at file:////Users/roblou/code/vscode/out/vs/base/browser/ui/actionbar/actionbar.js:98:55

Firstly, multiline search is not supported yet for Search - See #13155. Issuse mentioned in the description needs multi line support.
Issue mentioned in first comment is also related to multi line search. But it should not break the way it is now and has to be fixed to the current support. I would move that into a separate issue #20311 and fix it.

Duplicates #13155


Support dynamic non-root user for alluxio fuse

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11309/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11311/
Test PASSed.

/ping @apc999

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11318/
Test PASSed.

Merged build finished. Test PASSed.

@jiacheliu3  can you take a look? thanks

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.3 please

alluxio-bot, cherry-pick this to branch-2.3-fuse please

@cheyang  I have manually cherry-picked this patch to branch-2.3 and branch-2.3-fuse, for your information


Implement game resources

This provides a way to access intershard / account-bound resources, which is currently just subscription tokens. https://docs.screeps.com/api/#Game.resources should no longer be missing!
I don't believe we had a tracking issue associated with this. I've tested keys, get and hashmap.

Not sure! I think I've avoided doing it for a while because the key type wasn't just String - and I don't think we had IntershardResourceType until #164. But with the change to make game::rooms have RoomName as a key, this seemed reasonable.


Prompt to reuse service principal during azd pipeline config instead of always creating a new one.

During azd pipeline config prompt the user to select from an existing list of service principals instead of always creating a new one.

Should be part of the bring your own infrastructure epic


Audits fixes

https://dequeuniversity.com/rules/axe/4.6/heading-order
Links must have discernible text
Buttons must have discernible text
Image elements do not have explicit width and height
Before an after.

Thanks for the PR @milliorn! LGTM! 🙌


Don't "Follow" when dumping test pod logs.

"Follow" is for watching for additional logs and printing them as they appear (e.g. tail -f), it only stops when the Pod itself goes away.  This is inappropriate for the type of post-mortem log dumping we are doing here.
I've seen a number of timeout_test.go stack traces still after my context.WithTimeout changes, which trace back to this line.  Things are deadlocked on this line until the test times out.
/kind bug
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices
[ ] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
NONE

/assign @vdemeester @afrittoli @ImJasonH


Pylibmc is missing dependancies for CentOS 6

I kept getting installation errors, while trying to install pylibmc on centos6

src/_pylibmcmodule.h:42:36: error: libmemcached/memcached.h: No such file or directory
Which means that we need libmemcached-devel

After installing libmemcached-devel, I the graduate to this error:
src/_pylibmcmodule.h:195: error: 'MEMCACHED_BEHAVIOR_TCP_KEEPALIVE' undeclared here (not in a function)

Which shows that our versions are not aligning properly.  I don't want to downgrade pylibmc back to 1.2.3
I found more details here -- http://stackoverflow.com/questions/24437325/pip-unable-to-install-pylibmc
So I needed a sudo yum install ius-release followed by
`sudo yum install libmemcached10 libmemcached10-devel
Now with the libmemcached in sync, I can finally install your package.
It took quite a bit of time to trace down these dependencies.  Please update your setup.cfg

I'm not sure what I should change, setup.cfg?

Ludvig

On 15 sep. 2015, at 01:13, Mark Riggins<EMAIL_ADDRESS>wrote:
I kept getting installation errors, while trying to install pylibmc on centos6

src/_pylibmcmodule.h:42:36: error: libmemcached/memcached.h: No such file or directory
Which means that we need libmemcached-devel

After installing libmemcached-devel, I the graduate to this error:
src/_pylibmcmodule.h:195: error: 'MEMCACHED_BEHAVIOR_TCP_KEEPALIVE' undeclared here (not in a function)

Which shows that our versions are not aligning properly. I don't want to downgrade pylibmc back to 1.2.3
I found more details here -- http://stackoverflow.com/questions/24437325/pip-unable-to-install-pylibmc
So I needed a sudo yum install ius-release followed by
`sudo yum install libmemcached10 libmemcached10-devel
Now with the libmemcached in sync, I can finally install your package.
It took quite a bit of time to trace down these dependencies. Please update your setup.cfg
—
Reply to this email directly or view it on GitHub.

It sounds like you have a very old version in your package manager, is it pre 1.0.0? It says pretty clearly in the documentation which version works.


fix that proxy env variables entry is not added to /etc/sudoers

In the OL7 kickstart file %post setion,  the proxy related environment variables are not properly added to /etc/sudoers, this patch fixes the shell syntax error.

centos has same issue.


bundle install not detecting git

On Windows 10, 64bit. When trying to install a gem via git I get the error documented below. git is installed and in path.
Part of gemfile:
gem 'activeadmin', github: 'activeadmin'
console output:

   C:\Users\user\rails_project>path
   PATH=C:\Entwicklung\Ruby22\bin;"C:\Entwicklung\PortableGit\cmd";

   C:\Users\user\rails_project>git version
   git version 2.7.2.windows.1

   C:\Users\user\rails_project>bundle install
   ...
   Errno::ENOENT No such file or directory - git clone ...
   Environment

    Bundler   1.11.2
    Rubygems  <IP_ADDRESS>
    Ruby      2.2.3p173 (2015-08-18 revision 51636) [i386-mingw32]
    GEM_HOME  C:/Entwicklung/Ruby22/lib/ruby/gems/2.2.0
    GEM_PATH  C:/Entwicklung/Ruby22/lib/ruby/gems/2.2.0;C:/Users/user/.gem/ruby/2.2.0
    Git       not installed

In a directory with an empty file, can you try doing bundle exec path, bundle exec git version, bundle exec which git and share the output thereof? Thanks!

Don't know what you mean with "directory with an empty file", but created a new rails project and did the commands there:
C:\Users\michael\empty>bundle exec path
PATH=C:/Entwicklung/Ruby22/lib/ruby/gems/2.2.0/bin;C:\Entwicklung\Ruby22\bin;"C:\Entwicklung\PortableGit\cmd"

C:\Users\michael\empty>bundle exec git version
bundler: command not found: git
Install missing gem executables with `bundle install`

C:\Users\michael\empty>bundle exec which git
bundler: command not found: which
Install missing gem executables with `bundle install`

Removed the quotation marks from git path and now it is running:
C:\Users\michael\empty>bundle exec path
PATH=C:/Entwicklung/Ruby22/lib/ruby/gems/2.2.0/bin;C:\Entwicklung\Ruby22\bin;C:\Entwicklung\PortableGit\cmd

C:\Users\michael\empty>bundle exec git version
git version 2.7.2.windows.1

Sorry, meant empty Gemfile. and yeah, I'm guessing the quotes were the issue

Sounds like this is a real big, and we need to account for quoted entries in PATH inside Bundler.which?

As far as I knew, quoting entries Wasn't allowed?

Quotation marks may not be allowed on UNIX, but they are absolutely allowed on Windows: https://blogs.msdn.microsoft.com/oldnewthing/20060929-06/?p=29533


Extract the engine from the WAR

Currently the statefulapp saves the state with default DS. The datastore should be configurable - separation of core "framework" and extensions is required for this purpose.

engine extracted from WAR and is embeddable


WIP Do not serialize deployment units

Do not merge labels either
depends on https://github.com/rancher/cattle/pull/1940

closing as the commit will be included to https://github.com/rancher/cattle/pull/1958


Logprob function

Hi all -- I separated out all of the logprob stuff from the mcmc stuff.  This PR adds a star and galaxy log prob function.  I refactored some of fsm-related code from the DeterministicVI module, but left appropriately typed wrappers in their place.

I used VariationalParams because the type was defined in Model.jl.  For the log_prob stuff, I think I just need to remove the dependency of load_bvn_mixtures on vp, and then I can directly operate on the fluxes (and jettison the variational_params_to_fluxes method I've been using).

I just added issue about moving VariationalParams to DeterministicVI. Sorry for not catching that sooner.

The load_bvn_mixtures function takes in vp, but I think it only needs the location + galaxy params.  Should I create a new Shape type that keeps track of [u1, u2, e_dev, e_axis, e_angle, e_scale] for each source?  Then a variational param could either just contain one of these Shape types, or we can convert between them when needed.

@jeff-regier, I think removing all of the references to variational parameters will take a little more work.  Can we merge this as is, and then I'll work on scrubbing that dependency?

Sure, sounds good.


operator: update csv yaml file

Signed-off-by: Hyeongju Johannes Lee<EMAIL_ADDRESS>

Codecov Report

Merging #1025 (2b23f43) into main (7a2e55d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 2b23f43 differs from pull request most recent head 9843156. Consider uploading reports for the commit 9843156 to get more accurate results

@@           Coverage Diff           @@
##             main    #1025   +/-   ##
=======================================
  Coverage   53.02%   53.02%
=======================================
  Files          40       40
  Lines        4351     4351
=======================================
  Hits         2307     2307
  Misses       1917     1917
  Partials      127      127

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


feat: add card component

Decathlon.design link

https://www.decathlon.design/726f8c765/p/88fc2b-card-beta

Design update: We want only a card container with its specifications but NO content templates.

Material.io link

https://material.io/components/cards

Waiting for documentation

design update : We want only a card container with its specifications but NO content templates.

For your information: https://github.com/Decathlon/vitamin-design/issues/129


[ E @ ConfigAssist.cpp:1236] Failed to load: /minimal.ini, sz: 0 B

Using a Nodemcu v2 and the example ConfigAssist-Minimal and getting this error:
[ E @ ConfigAssist.cpp:1236] Failed to load: /minimal.ini, sz: 0 B
Used the conf.deleteConfig() to reset everything and this is the serial output after starting it.
Installing log
`. Variables and constants in RAM (global, static), used 37996 / 80192 bytes (47%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     1612     initialized variables
╠══ RODATA   9816     constants
╚══ BSS      26568    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 62011 / 65536 bytes (94%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     29243    code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 392188 / 1048576 bytes (37%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     392188   code in flash
esptool.py v3.0
Serial port /dev/cu.usbserial-0001
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 08:f9:e0:75:e2:02
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 437008 bytes to 303226...
Writing at 0x00000000... (5 %)
Writing at 0x00004000... (10 %)
Writing at 0x00008000... (15 %)
Writing at 0x0000c000... (21 %)
Writing at 0x00010000... (26 %)
Writing at 0x00014000... (31 %)
Writing at 0x00018000... (36 %)
Writing at 0x0001c000... (42 %)
Writing at 0x00020000... (47 %)
Writing at 0x00024000... (52 %)
Writing at 0x00028000... (57 %)
Writing at 0x0002c000... (63 %)
Writing at 0x00030000... (68 %)
Writing at 0x00034000... (73 %)
Writing at 0x00038000... (78 %)
Writing at 0x0003c000... (84 %)
Writing at 0x00040000... (89 %)
Writing at 0x00044000... (94 %)
Writing at 0x00048000... (100 %)
Wrote 437008 bytes (303226 compressed) at 0x00000000 in 26.8 seconds (effective 130.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
`
Serial Monitor:
rll�r$�n�l�b|���rb�b�nnlnnbbp�$blrlp�n0�l�bn�n��b��nn'l�l�nnlnr���nbl�p�n�r�bbn�nb��nn'l�nnlnr���nb�r��nb���$bl��n���n�r��n|�l�lbbrl�nb�nl�rl�l�
SDK:2.2.2-dev(38a443e)/Core:3.1.2=30102000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
ESP8266
[ I @ ConfigAssist-Minimal.ino:25] Starting..
[ E @ ConfigAssist.cpp:578] File: /minimal.ini not exists!
[ I @ ConfigAssist.cpp:81] Config not found! Generating default..
fpm close 1
mode : sta(08:f9:e0:75:e2:02) + softAP(0a:f9:e0:75:e2:02)
add if0
add if1
dhcp server start:(ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>)
bcn 100
bcn 0
`

Hi
Actually this is a warning meaning that this file is not in spiffs and a new one will be generated..
As far as i can see from your log file an access point is enabled..
dhcp server start:(ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>)
Connect to the AP (configAssist_e075e202 to supply your SSID, PASS and everything will be ok.
Log messages from
fpm close 1
...
bcn 0
are displayed because you have enabled DCORE_DEBUG_LEVEL.
This is a log from my Nodemcu v2 ..
[ I @ ConfigAssist-Minimal.ino:23] Starting..
[ E @ ConfigAssist.cpp:578] File: /minimal.ini not exists!
[ I @ ConfigAssist.cpp:81] Config not found! Generating default..
[ I @ ConfigAssist.cpp:111] Wifi AP SSID: configAssist_7FE039 started, use 'http://<IP_ADDRESS>' to connect
[ E @ ConfigAssist-Minimal.ino:35] Connect failed.

Only happens on ESP8266, it works on ESP32.


How to add criteria to Selectable

Laravel Version: 9
PHP Version: 8
Laravel-admin: 1.8

Description:
I used selectable to allow users selection, but  some users status is inactive, how i can show only Active user in selectable.
`namespace App\Admin\Selectable;
use App\Models\User;
use App\Models\UserType;
use Encore\Admin\Grid\Filter;
use Encore\Admin\Grid\Selectable;
class Users extends Selectable
{
public $model = User::class;
public function make()
{
    $this->column('id');
    $this->column('name');
    $this->column('user_type_id','User Type')->display(function($id) {
    return ($id ? UserType::find($id)->title_en : null);
    });
    $this->column('email');
    $this->column('avatar','Avatar')->image();
    $this->column('created_at');

    $this->filter(function (Filter $filter) {
        $filter->like('name');
      $filter->equal('user_type_id')->select(UserType::where('status',1)->pluck('title_en', 'id'));
    });
}

}
`
i tried as changing
public $model = User::class;
to
public $model = User::where('status',1);
but it failed, as in grid/selectable
protected function initGrid() method
$model = new $this->model(); $this->grid = new Grid(new $model());
is conflicting with my change.
Any help is appreciated, without changing core admin files.

idk your table, idk I'm right.
If it's the same usage as the grid, this should work.
$this->model()->where('status', 1);

Thanks, this works in make() method
$this->model()->where('status', 1);


[Spring Grove] Fix -ci pipelines

API change check
API changes are not detected in this pull request.

closing in favour of #29986  #29989 #29988 #29987


[bug] 1.14.6 runtime error with intel-avx2 option

Hello!
Current behavior:
When launching either dogecoin-qt or dogecoind I get the following error:
    dogecoin-qt: chainparams.cpp:160: CMainParams::CMainParams():      Assertion consensus.hashGenesisBlock == uint256S("0x1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691")' failed. Aborted
I discovered this issue after installing Dogecoin Core 1.14.6 from Gentoo's Guru overlay which automatically detects and sets intel-avx2 option if avx2 CPU extension is available.  So I kept getting above noted error on my Dell system with avx2 support on BTRFS filesystem that I set up Gentoo-based system on.
Expected behavior
The application should start and run normally without this error with intel-avx2 selection.
Steps to reproduce:
This issue can likely be reproduced on BTRFS installation with CPU supporting avx2 extension and using with-intel-avx2 configure option.
Dogecoin Core version
1.14.6
Machine specs

OS: Calculate Linux (Gentoo-based)
CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
RAM: 6GB
Disk size: 450GB
Disk Type (HD/SDD): HD

Please note, the issue gets fixed if building Dogecoin Core without intel-avx2 option on my system so, naturally, this option is the most likely cause of the problem.
Thanks!

For avx2 support, you have to build core with depends as there's a patch for intel-ipsec-mb. We're investigating the possibility of removing the patch for 1.14.7. You can find more information about depends at: https://github.com/dogecoin/dogecoin/tree/master/depends

Sir my accounts heghe
CHANDARMA.CHAUHAN
On Sun, 24 Sept, 2023, 3:25 am Ed, @.***> wrote:

For avx2 support, you have to build core with depends as there's a patch
for intel-ipsec-mb. We're investigating the possibility of removing the
patch for 1.14.7. You can find more information about depends at:
https://github.com/dogecoin/dogecoin/tree/master/depends
—
Reply to this email directly, view it on GitHub
https://github.com/dogecoin/dogecoin/issues/3337#issuecomment-1732441238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWKXNXIBBOEEXBQOMKVJOALX354X3ANCNFSM6AAAAAA5ELQ6WQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Sir #avx2# full Farm
CHANDARMA.CHAUHAN
On Sun, 24 Sept, 2023, 3:25 am Ed, @.***> wrote:

For avx2 support, you have to build core with depends as there's a patch
for intel-ipsec-mb. We're investigating the possibility of removing the
patch for 1.14.7. You can find more information about depends at:
https://github.com/dogecoin/dogecoin/tree/master/depends
—
Reply to this email directly, view it on GitHub
https://github.com/dogecoin/dogecoin/issues/3337#issuecomment-1732441238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWKXNXIBBOEEXBQOMKVJOALX354X3ANCNFSM6AAAAAA5ELQ6WQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you @edtubbs for information.  Per @patricklodder  request, I'm attaching my config.log
I am also examining these logs and will check on the use of  depends, as advised.
P.S. My Mac recently went kaput so I won't be able to address Mac-related issues in #3260 for a while.  So I dug up my old Dell laptop instead 😎

Hi,
Thank you again for prompt responses.  The issue is fixed when applying suggested patch, which I was able to re-create for Gentoo system like so:
diff --git a/lib/include/sha_generic.h b/lib/include/sha_generic.h
index 9329da2..26d6d4e 100644
--- a/lib/include/sha_generic.h
+++ b/lib/include/sha_generic.h
@@ -323,7 +323,7 @@ void sha_generic_1block(const void *data, void *digest,
                 return;
         }
 #endif
-        sha_generic_init(digest, sha_type);
+        // sha_generic_init(digest, sha_type);
         sha_generic_one_block(data, digest, is_avx, sha_type);
 #ifdef SAFE_DATA
         clear_scratch_gps();

which, as I understand it, boils down to commenting out sha_generic_init() function.
I applied this patch to app-crypt/intel-ipsec-mb and was able to successfully launch and run Dogecoin Core with avx2 enabled.
Since intel-ipsec-mb is conveniently provided in Gentoo's Guru package, I have to find a way to automatically patch app-crypt/intel-ipsec-mb from my own ebuild and I am not yet sure if it's possible, so I am not out of the woods with this issue just yet.  However, since in a general sense a patch to this problem is available, I guess it may not be considered a bug in this sense then?

To me, the "bug" is simply a missing check during configuration, where we make sure that when someone custom compiles against a non-patched intel-ipsec-mb, we error out at that time, and not at runtime.

Hi,
I have recently implemented this process https://github.com/gentoo/guru/commit/5e67e9544d195f29a9507da146ea62f15f0bcc99
Thank you,
Victor.


Reword documentation for Service concept

Reword Service and the related glossary entry:
The Services v2 design document may be helpful when reviewing.

Extend the “what's next” section
Reword glossary entry for Service

New wording should be more suitable for inclusion via a glossary_definition shortcode.

Address the reader as “you”
Write Service in initial caps and not in backticks
Adopt glossary definitions and tooltips where appropriate
Wording improvements, eg switching to active voice
Use note shortcodes for notes
Use warning shortcodes for warnings
Use documentation IP address range for examples

Questions

Should some of the note shortcodes actually be caution blocks instead?
Is the new “motivation” section at the start of the page worded OK?

suggestions very welcome

Is this revised text OK from a technical accuracy standpoint?
What have I missed?

Changes set aside
The concept page about Service covers lots of topics. It has lots of details about exposing services using AWS cloud and about the internals of kube-proxy. Some of the page reads more like something that belongs in the Task section of docs.
To me those feel like good things to fix in one or more future PRs, after this lands. For example: a PR that migrates details of different operating modes for kube-proxy into the Reference section.
The diagrams in the page could use some care & maintenance. It's great to have them; they could be even greater.
I want to get this PR to the point where merging it represents a clear improvement over existing docs, get it merged, and leave room for future improvements (by me or anyone else).
Connected issues
Relevant to #3735.

great piece of work @sftim thanks for taking into account my feedback.
/lgtm

@zhangxiaoyu-zidif please help review and approve, thx


regtest: update volume mounting path to $HOME to work on MacOS

Closing PR since even with the files mounted on a different path, MacOS can't handle dialing the rpc socket files out of the box from the host machine.
Dockerizing the middleware is what needs to be done to move forward.


Garbage Collection throws

After attempting to figure out why my prototype was throwing, it looks like garbage collection is broken in Wasi.Sdk both when called by the runtime in the oridinary course of execution (what was happening my case) but also when explicitly called (as below code). Can you please fix this ASAP as it's kind of fundamentally important for any use-case?
Error
[wasm_trace_logger] * Assertion at /home/runner/work/dotnet-wasi-sdk/dotnet-wasi-sdk/modules/runtime/src/mono/mono/metadata/sgen-stw.c:77, condition `info->client_info.stack_start >= info->client_info.info.stack_start_limit && info->client_info.stack_start < info->client_info.info.stack_end' not met

Repo
https://github.com/HermanSchoenfeld/WasiSdkBug
Code
namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args) {
            GC.Collect();
        }
    }
}

Environment
.NET 8, .NET 7
Wasi.Sdk 0.1.4-preview.10020 and 0.1.1
wasmtime-cli 19.0.2 (040ec9209 2024-04-11)

I've added a repo to reproduce this bug. It's extremely basic and this should work. I think there's something wrong with the targets definition.
https://github.com/HermanSchoenfeld/WasiSdkBug

See #12. It seems this issue has been resolved with .NET 8.0 when using the wasi-wasm workload/RID, which obsoletes the Wasi.Sdk.


No images in "About"

I'd like to add some images in "About" page. I got it in default path: content/pages/about.md Below text I inserted:
![](images/image.webp)

Of course images directory is in content/pages/ and image.webp is inside. What should I check then?

You can apply the same layout for pages that is used for blog posts: group all resources for a page inside a directory. Instead of pages/about.md, you have the directory pages/about/. Inside it, you have pages/about/index.md (index.md should be the renamed about.md) and pages/about/image.webp.
As a consequence, it is easy to reference an image inside the about page (which is now the file pages/about/index.md): ![](image.webp).
This is not a Zolarwind specific thing, but is valid for Zola-based web sites in general.

Thank you very much for detailed explanation, I got it to work :) I still learn Zola after converting from Wordpress-like thinking...


Builder/tarsum unit tests

Adding builder/tarsum tests.
Part of resolving #20784
Signed-off-by: Tomasz Kopczynski<EMAIL_ADDRESS>

Looks like there's genuine failures;
22:16:15 ---> Making bundle: validate-vet (in bundles/1.11.0-dev/validate-vet)
22:16:15 builder/tarsum_test.go:60: wrong number of args for format in Fatalf call: 1 needed but 2 args
22:16:15 builder/tarsum_test.go:121: wrong number of args for format in Fatalf call: 1 needed but 2 args
22:16:15 builder/tarsum_test.go:160: wrong number of args for format in Fatalf call: 1 needed but 2 args
22:16:15 builder/tarsum_test.go:261: wrong number of args for format in Fatalf call: 1 needed but 2 args
22:16:15 builder/tarsum_test.go:302: wrong number of args for format in Fatalf call: 1 needed but 2 args
22:16:15 exit status 1

Hey @thaJeztah
I've fixed those errors and it seems to be passing CI now

LGTM

LGTM

LGTM

damn, too slow.


PWA-502 - snapshots update

Pull Request Test Coverage Report for Build 883

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 38.865%

Totals

Change from base Build 881:
0.0%

Covered Lines:
1478

Relevant Lines:
3768

💛  - Coveralls


yoda: provide python3Packages.yoda

Motivation for this change
To provide yoda bindings for use with python3
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python2Packages.yoda python3Packages.yoda


Enhance the ease of use of EdgeMesh

What would you like to be added/modified:

[x] Remove docker0, cni0 network interface dependency —— #123
[x] Remove the process of manually configuring the subNet by the user —— #126
[x] Unify the deployment form of edgemesh-agent —— #130
[x] Auto fetch the PublicIP for edgemesh-server —— #135
[x] helm one-step deployment —— #136
[x] Remove the restriction that service.Port.Name must be configured —— #175

Why is this needed:
The deployment of edgemesh is currently very inconvenient. In order to solve this problem, the ease-of-use modification is proposed.

/close


seem like syntax errors in decoder.cpp files?

root@dns-primary:/data/mydpdkdns/tools# ./start.sh
/data/mydpdkdns
-- RTE_SDK path：/data/f-stack/dpdk
-- RTE_TARGET path：config
-- RTE_SDK include path：/data/f-stack/dpdk/include
-- RTE_SDK library path：/data/f-stack/dpdk/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /data/mydpdkdns/build
Scanning dependencies of target dserver
[ 14%] Building CXX object CMakeFiles/dserver.dir/src/config.cpp.o
[ 28%] Building CXX object CMakeFiles/dserver.dir/src/decoder.cpp.o
/data/mydpdkdns/src/decoder.cpp: In member function ‘void Decoder::swap_addr(eth
/data/mydpdkdns/src/decoder.cpp:35:21: error: aggregate ‘ether_addr temp’ has ind
   35 |   struct ether_addr temp;
      |                     ^~~~
/data/mydpdkdns/src/decoder.cpp:37:3: error: invalid use of incomplete type ‘str
   37 |   *src = *dst;
      |   ^~~~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:32:32: note: forward declaration of ‘struct et
   32 |   inline void swap_addr(struct ether_addr *src, struct ether_addr *dst);
      |                                ^~~~~~~~~~
/data/mydpdkdns/src/decoder.cpp: In member function ‘unsigned int Decoder::proce
/data/mydpdkdns/src/decoder.cpp:63:11: error: invalid use of incomplete type ‘st
   63 |   if (ehdr->ether_type != rte_cpu_to_be_16(ETHER_TYPE_IPv4)) {
      |           ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:37:10: note: forward declaration of ‘struct et
   37 |   struct ether_hdr *ehdr;
      |          ^~~~~~~~~
In file included from /usr/local/include/rte_mbuf.h:42,
                 from /usr/local/include/rte_ether.h:23,
                 from /data/mydpdkdns/src/decoder.cpp:3:
/data/mydpdkdns/src/decoder.cpp:63:44: error: ‘ETHER_TYPE_IPv4’ was not declaredETHER_TYPE_IPV4’?
   63 |   if (ehdr->ether_type != rte_cpu_to_be_16(ETHER_TYPE_IPv4)) {
      |                                            ^~~~~~~~~~~~~~~
In file included from /usr/local/include/rte_mbuf.h:44,
                 from /usr/local/include/rte_ether.h:23,
                 from /data/mydpdkdns/src/decoder.cpp:3:
/data/mydpdkdns/src/decoder.cpp:67:83: error: invalid application of ‘sizeof’ to
   67 |   ip_hdr = rte_pktmbuf_mtod_offset(pkt, struct ipv4_hdr *, sizeof(struct
      |
/data/mydpdkdns/src/decoder.cpp:68:13: error: invalid use of incomplete type ‘st
   68 |   if (ip_hdr->dst_addr != localIP)
      |             ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:71:17: error: invalid use of incomplete type ‘st
   71 |   switch (ip_hdr->next_proto_id) {
      |                 ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:73:86: error: invalid application of ‘sizeof’ to
   73 |       udp_hdr = (struct udp_hdr *) ((unsigned char *) ip_hdr + sizeof(st
      |
In file included from /usr/local/include/rte_mbuf.h:42,
                 from /usr/local/include/rte_ether.h:23,
                 from /data/mydpdkdns/src/decoder.cpp:3:
/data/mydpdkdns/src/decoder.cpp:74:42: error: invalid use of incomplete type ‘st
   74 |       port_dst = rte_be_to_cpu_16(udp_hdr->dst_port);
      |                                          ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
In file included from /usr/local/include/rte_mbuf.h:42,
                 from /usr/local/include/rte_ether.h:23,
                 from /data/mydpdkdns/src/decoder.cpp:3:
/data/mydpdkdns/src/decoder.cpp:74:42: error: invalid use of incomplete type ‘st
   74 |       port_dst = rte_be_to_cpu_16(udp_hdr->dst_port);
      |                                          ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
In file included from /usr/local/include/rte_mbuf.h:42,
                 from /usr/local/include/rte_ether.h:23,
                 from /data/mydpdkdns/src/decoder.cpp:3:
/data/mydpdkdns/src/decoder.cpp:74:42: error: invalid use of incomplete type ‘st
   74 |       port_dst = rte_be_to_cpu_16(udp_hdr->dst_port);
      |                                          ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
/data/mydpdkdns/src/decoder.cpp:79:54: error: invalid application of ‘sizeof’ to
   79 |       buff = (char *) udp_hdr + sizeof(struct udp_hdr);
      |                                                      ^
/data/mydpdkdns/src/decoder.cpp:90:35: error: invalid use of incomplete type ‘st
   90 |         inet_ntop(AF_INET, &ip_hdr->src_addr, ip, 16);
      |                                   ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:103:22: error: invalid use of incomplete type ‘s
  103 |       swap_addr(&ehdr->s_addr, &ehdr->d_addr);
      |                      ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:37:10: note: forward declaration of ‘struct et
   37 |   struct ether_hdr *ehdr;
      |          ^~~~~~~~~
/data/mydpdkdns/src/decoder.cpp:103:37: error: invalid use of incomplete type ‘s
  103 |       swap_addr(&ehdr->s_addr, &ehdr->d_addr);
      |                                     ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:37:10: note: forward declaration of ‘struct et
   37 |   struct ether_hdr *ehdr;
      |          ^~~~~~~~~
/data/mydpdkdns/src/decoder.cpp:106:13: error: invalid use of incomplete type ‘s
  106 |       ip_hdr->hdr_checksum = 0;
      |             ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:107:26: error: invalid use of incomplete type ‘s
  107 |       swap_ipaddr(&ip_hdr->src_addr, &ip_hdr->dst_addr);
      |                          ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:107:45: error: invalid use of incomplete type ‘s
  107 |       swap_ipaddr(&ip_hdr->src_addr, &ip_hdr->dst_addr);
      |                                             ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:110:25: error: invalid use of incomplete type ‘s
  110 |       swap_port(&udp_hdr->src_port, &udp_hdr->dst_port);
      |                         ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
/data/mydpdkdns/src/decoder.cpp:110:45: error: invalid use of incomplete type ‘s
  110 |       swap_port(&udp_hdr->src_port, &udp_hdr->dst_port);
      |                                             ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
/data/mydpdkdns/src/decoder.cpp:111:14: error: invalid use of incomplete type ‘s
  111 |       udp_hdr->dgram_cksum = 0; /* No UDP checksum. */
      |              ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
/data/mydpdkdns/src/decoder.cpp:118:13: error: invalid use of incomplete type ‘s
  118 |       ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehd
      |             ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:118:74: error: invalid application of ‘sizeof’ t
  118 |       ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehd
      |
/data/mydpdkdns/src/decoder.cpp:12:20: note: in definition of macro ‘RTE_CPU_TO_
   12 |     (uint16_t) ((((cpu_16_v) & 0xFF) << 8) | ((cpu_16_v) >> 8))
      |                    ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:118:74: error: invalid application of ‘sizeof’ t
  118 |       ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehd
      |
/data/mydpdkdns/src/decoder.cpp:12:48: note: in definition of macro ‘RTE_CPU_TO_
   12 |     (uint16_t) ((((cpu_16_v) & 0xFF) << 8) | ((cpu_16_v) >> 8))
      |                                                ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:119:13: error: invalid use of incomplete type ‘s
  119 |       ip_hdr->hdr_checksum = ip_sum((unaligned_uint16_t *) ip_hdr, sizeo
      |             ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:38:10: note: forward declaration of ‘struct ip
   38 |   struct ipv4_hdr *ip_hdr;
      |          ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:119:82: error: invalid application of ‘sizeof’ t
  119 |       ip_hdr->hdr_checksum = ip_sum((unaligned_uint16_t *) ip_hdr, sizeo
      |
/data/mydpdkdns/src/decoder.cpp:120:14: error: invalid use of incomplete type ‘s
  120 |       udp_hdr->dgram_len = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehdr)
      |              ^~
In file included from /data/mydpdkdns/src/decoder.cpp:5:
/data/mydpdkdns/include/decoder.h:39:10: note: forward declaration of ‘struct ud
   39 |   struct udp_hdr *udp_hdr;
      |          ^~~~~~~
/data/mydpdkdns/src/decoder.cpp:120:72: error: invalid application of ‘sizeof’ t
  120 |       udp_hdr->dgram_len = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehdr)
      |                                                                        ^
/data/mydpdkdns/src/decoder.cpp:12:20: note: in definition of macro ‘RTE_CPU_TO_
   12 |     (uint16_t) ((((cpu_16_v) & 0xFF) << 8) | ((cpu_16_v) >> 8))
      |                    ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:120:90: error: invalid application of ‘sizeof’ t
  120 |       udp_hdr->dgram_len = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehdr)
      |
/data/mydpdkdns/src/decoder.cpp:12:20: note: in definition of macro ‘RTE_CPU_TO_
   12 |     (uint16_t) ((((cpu_16_v) & 0xFF) << 8) | ((cpu_16_v) >> 8))
      |                    ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:120:72: error: invalid application of ‘sizeof’ t
  120 |       udp_hdr->dgram_len = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehdr)
      |                                                                        ^
/data/mydpdkdns/src/decoder.cpp:12:48: note: in definition of macro ‘RTE_CPU_TO_
   12 |     (uint16_t) ((((cpu_16_v) & 0xFF) << 8) | ((cpu_16_v) >> 8))
      |                                                ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:120:90: error: invalid application of ‘sizeof’ t
  120 |       udp_hdr->dgram_len = RTE_CPU_TO_BE_16(pkt->pkt_len - sizeof(*ehdr)
      |
/data/mydpdkdns/src/decoder.cpp:12:48: note: in definition of macro ‘RTE_CPU_TO_
   12 |     (uint16_t) ((((cpu_16_v) & 0xFF) << 8) | ((cpu_16_v) >> 8))
      |                                                ^~~~~~~~
/data/mydpdkdns/src/decoder.cpp:60:8: warning: control reaches end of non-void f
   60 |   ehdr = rte_pktmbuf_mtod(pkt, struct ether_hdr*);
      |        ^
make[2]: *** [CMakeFiles/dserver.dir/build.make:76: CMakeFiles/dserver.dir/src/d
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/dserver.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
root@dns-primary:/data/mydpdkdns/tools# ./start.sh: line 27: ./bin/dserver: No s

All syntax errors are due to incompatibility with newer versions of dpdk

The environment of this project was dpdk 17.02 and the operating system was Ubuntu 16.04. The new version of dpdk should have compatibility problems


Update README.rst

Hah!  I'm surprised --o works as an alternative to --output.  Either way thanks for the fix, -o was clearly wrong!

=)


List view

What feature or improvement do you think would benefit Files?
A view (pane layout option) which corresponds to list view in File Explorer, so that it is possible to see many file names, in multiple columns within a single panel.  It now is possible to turn off all the columns except "Name" in detail view, but you are left with only a single column of names.  This requires a long scroll to find a file in a crowded folder.
Requirements
A new pane layout option, corresponding to list view in file explorer, will improve usability.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2283
Comments
No response

Thanks for the feedback, Merging with #2509. You can check there or click subscribe in the right sidebar for updates.

@cudBwrong thank you for your patience, I'm excited to share that a List View layout will be included in the next release.


Uploading firmware to Arduino micro

Hello!
We got the firmware and example sketch running for the Arduino Uno.
It works smoothly :)
Now we tried with the Arduino Micro, which we would be needing for our prototype, but cant upload the firmware to the micro. Have you heard of any issues before?
Error Message when uploading: http://codepad.org/NiDRZDIe
Any help would be much appreciated :)

"programmer is not responding"
It seems to be a connection or hardware problem, not related to Nanpy.

OK! I will try with a new micro. Thank you for you help!


riscv_csr_test fails because we don't model MCAUSE properly

Copying from https://github.com/lowRISC/ibex/issues/1658#issuecomment-1129412757 (a silly place for me to have put this text in the first place)
Running the riscv_csr_test with
make -j4 ITERATIONS=1 SEED=1 TEST=riscv_csr_test VERBOSE=1 SIMULATOR=xlm WAVES=1

fails. It turns out that this is in the self-checking part, where we're writing and then reading back the MCAUSE register. The problem is that we describe the mcause CSR to riscv-dv with the following hunk of YAML:
# MCAUSE
- csr: mcause
  description: >
    Indicates trap cause
  address: 0x342
  privilege_mode: M
  rv32:
    - field_name: Interrupt
      description: >
        Indicates if trap caused by interrupt
      type: WARL
      reset_val: 0
      msb: 31
      lsb: 31
    - field_name: Exception Code
      type: WLRL
      reset_val: 0
      msb: 4
      lsb: 0

This might have been right once, but is no longer correct since Greg implemented internal interrupts. I don't think that gen_csr_test.py supports the behaviour that we've got for our MCAUSE field, which boils down to this code in ibex_cs_registers.sv:
      // mcause: exception cause
      CSR_MCAUSE: csr_rdata_int = {mcause_q.irq_ext | mcause_q.irq_int,
                                   mcause_q.irq_int ? {26{1'b1}} : 26'b0,
                                   mcause_q.lower_cause[4:0]};

Here, we ostensibly have a 31-bit exception code field, but the top bits are all constrained to be equal.
@GregAC: What do you think we should do? A lame response might be to just use 6 bits and represent internal interrupts starting at 32, without the bit extension. Or we could split the field and just set the top bit? Or we could do some work to generalise the DV code to understand this sort of thing: for example, we could say that the field is 6 bits but the other 25 bits are some sort of mirror. But that means some DV work and (eek) getting a patch into riscv-dv.
My preference is probably to just set the top bit, so it ends up looking like this:
      // mcause: exception cause
      CSR_MCAUSE: csr_rdata_int = {mcause_q.irq_ext | mcause_q.irq_int,
                                   mcause_q.irq_int,
                                   25'b0,
                                   mcause_q.lower_cause[4:0]};

estimate 4
remaining 2022-07-22 3

@hcallahan-lowrisc: FYI, since I know you're triaging these tests too.

Sadly this does need a RISC-V DV change. The issue is even with @rswarbrick's suggested change the top two bits have an invalid value, namely 2'b01. We cannot express a field that allows some but not all values with the current CSR test generator. For this reason MSTATUS is also commented out of the CSR file (it has a field taking a privilege mode and for Ibex you can only set it to 2 of 4 possible values).
We could just remove MCAUSE from the CSR descriptions also but I think we're better off expanding the RISC-V DV functionality so we can include both MCAUSE and MSTATUS in this test.

See the RISC-V DV PR here: https://github.com/google/riscv-dv/pull/881
This enables us to flexibly specify WARL fields by using a python fragment in the CSR YAML that specifies how values get legalized. Once that is merged we use it here to allow MCAUSE and MSTATUS in the CSR test.

This is completed by #1779 which is undergoing review


Add readme to pypi page

Would it be possible to add readme to the PYPI page
https://pypi.org/project/perceiver-model/

Oh yeah, you can do with the long_description https://packaging.python.org/guides/making-a-pypi-friendly-readme/ can probably just copy in this readme for it.


In RecyclerView with glide first load does not come out

but Replaced by ImageView normal

This has been answered multiple times and is part of the readme. Have a look at #121.

@hdodenhof  ok,thank you!

#192
Found a fix to load Image using glide.
Glide.with(context)
                .load(imageLink)
                .asBitmap()
                .dontAnimate()
                .placeholder(R.drawable.user)
                .listener(new RequestListener<String, Bitmap>() {
           @Override
            public boolean onException(Exception e, String s, Target<Bitmap> target, boolean b) {
                return false;
            }
            @Override
            public boolean onResourceReady(Bitmap bitmap, String s, Target<Bitmap> target, boolean b, boolean b1) {
                userImage.setImageBitmap(bitmap);
                return false;
            }
        }).preload();

Load bitmap after you get it instead of using into(imageview) method of Glide.
Don't forget Magic line inside onResourceReady : circleImageView.setImageBitmap(bitmap);