Reorganize the hierarchy on state documentation

Changes headings for brevity, moves the service architecture section, and reduces heading depth overall to put more items on the right hand navbar and break up the very large "Logging In" section into more navigable parts.

@AaronFriel we may want to check that no other pages were linking to the anchors on these pages? or if they are we should update them

this page links to the logging in section: https://www.pulumi.com/product/pulumi-service/ i know that for sure, but you might want to search for each anchor link you changed

@susanev could you give the page a final look over?
https://pulumi-hugo-origin-pr-2033-fa18120d.s3-website.us-west-2.amazonaws.com/docs/intro/concepts/state


Is WP Stateless generating PHP sessions?

Recently I noticed PHP was generating sessions and adding no-cache HTTP headers, thereby breaking downstream caching (Nginx, Varnish, Cloudflare, et al). I've reviewed all installed plugins for session_start code and noticed the following:
/var/www/wordpress/wp-content/plugins/wp-stateless/lib/Google/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php:148:            session_start();
/var/www/wordpress/wp-content/plugins/wp-stateless/lib/Google/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php:169:                session_start();

What's the purpose of these sessions? Are they affecting downstream caching?

After further testing, I've confirmed WP Stateless is not generating PHP sessions and breaking downstream caching. The culprit was actually the Pods framework.


pngload_buffer: libpng read error on partical png

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
using 0.29.3
What are the steps to reproduce?
await sharp(fs.readFileSync(`test.png`))       .png()       .toBuffer()
What is the expected behaviour?
hopefully to normalise it and draw half baked as it is
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
test.png.zip
attaching img as zip so github doesnt parse it
Are you able to provide a sample image that helps explain the problem?
yes
What is the output of running npx envinfo --binaries --system?
macos seem to preview it in half so i wonder if its possible to convert this half data to proper png with sharp

This image is corrupt. You might be able to parse some of it by setting failOnError to false.
https://sharp.pixelplumbing.com/api-constructor
sharp(input, { failOnError: false })...

it will output proper png guaranteed right ? regardless what it will parse ?

If it's possible to rescue some pixel values then the output will be valid, but what it looks like cannot be guaranteed, and it may not appear the same as macOS and/or other software.

If it's possible to rescue some pixel values then the output will be valid, but what it looks like cannot be guaranteed, and it may not appear the same as macOS and/or other software.

its ok as long as something is visible

seems to be solution thanks for quick response


bugsfix for render twig as a variable

bugs fix for view to add to variable like
$result = $this->load->render('view', $data, TRUE);

thanks alot @erwinrachim


Ctrl+O brings file open dialog, but after opening a file the window is no longer a terminal

Repro:

Open the terminal
Hit Ctrl+O
Browse to any text file
Hit  or  to open

Result:

Text file is rendered in the console

There seems no way to go back to the interactive console
The only way to recover seems to be to restart Visual Studio

Expected:

For my scenario it would be nice if Ctrl+O was not handled at all and the main VS shell would handle the open the file command.

This was a small issue that I knew about but I was waiting until there were reports to gauge the severity. Since I've got a report I'll start working on a fix.

Thanks! It's not a big deal, I know now to look for the difference in open dialog :)
From my perspective feel free to prioritize below any other work, this project is saving me so much time! If it really bothered me I would have created a pull request :)

fixed in master


Change Title from Text Based Adventure Game Engine to Text Adventure Game Engine

tbage is difficult to type. I frequently type out tabge instead. Changing the project to Text Adventure Game Engine would change the filenames to tage_*.
This could also be pronounced easier as "taje" or "Tage" or "T-Age"
As the engine advances and goes to a graphical engine, the T could be dropped and it would just be AGE

Corrected with Merge Request #12


[python-requirements] Pin setuptools version to < 66.0.0

Starting with setuptools version 66.0.0, legacy package version names such as 0.23ubuntu1 are no longer supported. Since some of our Python dependencies use this format, we pin the setuptools version to the last version before this change. This unblocks CI and gives us time to upgrade/rebase our dependencies.

For details, see also lowRISC/OpenTitan#17098 and lowRISC/OpenTitan#17099.


Proxy over WebRTC

I notice that the proxy feature proxies the connection through an intermediary server so latency is not the best. Using WebRTC would be better because WebRTC attempts to make a P2P connection between the client and the server whenever possible. AFAICT Chrome Remote Desktop uses WebRTC and it is decently smooth.

I'm not sure if WebRTC is a good fit for what we do at all - We don't actually use a "remote desktop" style setup for code-server; all rendering is done in the browser, and then editor/terminal commands are just sent over the wire, which is why typing in, say, the editor window should not have much latency.
Using something P2P may also defeat the point of a proxy in the first place in case you can't make a direct connection to the server.

I'm not sure if WebRTC is a good fit for what we do at all - We don't actually use a "remote desktop" style setup for code-server; all rendering is done in the browser, and then editor/terminal commands are just sent over the wire, which is why typing in, say, the editor window should not have much latency.
Using something P2P may also defeat the point of a proxy in the first place in case you can't make a direct connection to the server.

WebRTC can transmit arbitrary data. Visual Studio Live Share also uses WebRTC.

may also defeat the point of a proxy in the first place in case you can't make a direct connection to the server

WebRTC can circumvent NAT. Most devices are behind NAT and that makes direct connections difficult but not impossible. You can't connect to an arbitrary TCP port but if you use WebRTC both computers will attempt to do some "UDP hole punching" magic and establish a direct connection.

WebRTC can transmit arbitrary data. Visual Studio Live Share also uses WebRTC.

may also defeat the point of a proxy in the first place in case you can't make a direct connection to the server

WebRTC can circumvent NAT. Most devices are behind NAT and that makes direct connections difficult but not impossible. You can't connect to an arbitrary TCP port but if you use WebRTC both computers will attempt to do some "UDP hole punching" magic and establish a direct connection.

As for the latency part, code-server is orders of magnitude less responsive than both Chrome Remote Desktop and Live Share.

As for the latency part, code-server is orders of magnitude less responsive than both Chrome Remote Desktop and Live Share.

We debated this intensely internally! We actually implemented WebRTC at one point but the problem ended up being that only the persistent connection can go through WebRTC. All of code-server's HTTP requests would still need a proxy.
So we ended up distributing the coder cloud proxy instead and concluded the WebRTC complexity was probably not worth it. I'm surprised you find the code-server latency so bad. Most user actions should occur client side. What's the ping to your server? And how long does time curl -fsSL <coder-cloud-url>/healthz take?
cc @sreya @code-asher

We debated this intensely internally! We actually implemented WebRTC at one point but the problem ended up being that only the persistent connection can go through WebRTC. All of code-server's HTTP requests would still need a proxy.
So we ended up distributing the coder cloud proxy instead and concluded the WebRTC complexity was probably not worth it. I'm surprised you find the code-server latency so bad. Most user actions should occur client side. What's the ping to your server? And how long does time curl -fsSL <coder-cloud-url>/healthz take?
cc @sreya @code-asher

We also considered implementing a chromium extension or some CLI to allow passing all requests through WebRTC but with the global distribution of coder cloud, it didn't seem worth it but happy to reconsider based on your situation.

We also considered implementing a chromium extension or some CLI to allow passing all requests through WebRTC but with the global distribution of coder cloud, it didn't seem worth it but happy to reconsider based on your situation.

As for Latency, its wrong, that code-server Code Editor has Latency, I have a normal PC, I have bad Internet and a bad Server, but I didn't find any lag so far. The SSH Terminal is way worse.

As for Latency, its wrong, that code-server Code Editor has Latency, I have a normal PC, I have bad Internet and a bad Server, but I didn't find any lag so far. The SSH Terminal is way worse.

$ time curl -fsSl [redacted]/healthz
________________________________________________________
Executed in    2,01 secs   fish           external
   usr time   65,25 millis    0,00 micros   65,25 millis
   sys time   17,17 millis  859,00 micros   16,31 millis

$ ping [redacted]
64 bytes from [redacted] ([redacted]): icmp_seq=1 ttl=57 time=23.4 ms
64 bytes from [redacted] ([redacted]): icmp_seq=2 ttl=57 time=23.8 ms
64 bytes from [redacted] ([redacted]): icmp_seq=3 ttl=57 time=23.3 ms
64 bytes from [redacted] ([redacted]): icmp_seq=4 ttl=57 time=22.7 ms
64 bytes from [redacted] ([redacted]): icmp_seq=5 ttl=57 time=22.0 ms
64 bytes from [redacted] ([redacted]): icmp_seq=6 ttl=57 time=25.5 ms
64 bytes from [redacted] ([redacted]): icmp_seq=7 ttl=57 time=22.2 ms

$ time curl -fsSl [redacted]/healthz
________________________________________________________
Executed in    2,01 secs   fish           external
   usr time   65,25 millis    0,00 micros   65,25 millis
   sys time   17,17 millis  859,00 micros   16,31 millis

$ ping [redacted]
64 bytes from [redacted] ([redacted]): icmp_seq=1 ttl=57 time=23.4 ms
64 bytes from [redacted] ([redacted]): icmp_seq=2 ttl=57 time=23.8 ms
64 bytes from [redacted] ([redacted]): icmp_seq=3 ttl=57 time=23.3 ms
64 bytes from [redacted] ([redacted]): icmp_seq=4 ttl=57 time=22.7 ms
64 bytes from [redacted] ([redacted]): icmp_seq=5 ttl=57 time=22.0 ms
64 bytes from [redacted] ([redacted]): icmp_seq=6 ttl=57 time=25.5 ms
64 bytes from [redacted] ([redacted]): icmp_seq=7 ttl=57 time=22.2 ms


Jobs are not executed after a while

Issue: Jobs are executed if worker boots up and jobs are already waiting. As soon as the worker is started and new instances have been started some jobs are executed but at some point further jobs are not activated and instances are pending.
Environment: Cloud and locally
Steps to reproduce locally:

Start zeebe and operate locally, the easiest way is to use the docker-compose project: https://github.com/zeebe-io/zeebe-docker-compose. Change the operate port because the http worker uses 8080 as well.

cd operate
docker-compose up

Start worker: get latest jar from https://github.com/zeebe-io/zeebe-http-worker/releases, reproduced with version Zeebe HTTP Worker 0.21.0-alpha4

java -jar zeebe-http-worker.jar

Deploy a workflow including a service task with type http and start some instances until jobs are not executed anymore. I used https://github.com/camunda-cloud/camunda-cloud-examples for this - in the example the service task calls the github api and updates the labels

For the first time this works like a charme

Wait two minutes

Start a new instance again: job is not executed

Might be related https://github.com/zeebe-io/zeebe/issues/3585

I still cannot reproduce this with a simple http workflow locally. So it could be related with something else. I will try to figure out how to setup the cloud examples

Further testing indicated that the problem is that a request to github is hanging and does not finish, as the worker does not set a request timeout the worker hangs forever. As the worker is single threaded and blocking on the http request it would explain why no more jobs are executed.

OK - so a fix could be to have a request timeout.
Probably we should also think about making that worker multi-threaded?

Actually it has a timeout set of 1 Minute but it seems the http client is not triggering it https://github.com/zeebe-io/zeebe-http-worker/blob/86e4ddafe41335bf71291eb9bef2402a403d11db/src/main/java/io/zeebe/http/HttpJobHandler.java#L89
I was able to get it working by using sendAsync and to do timed get call on the response future. it then will explode after a while and handle the next request.

Probably we should also think about making that worker multi-threaded?
Yes that would be good, the zeebe job worker has a config option for it

@berndruecker my quick fix was something like this in HttpJobHandler#handle
response = client.sendAsync(request, HttpResponse.BodyHandlers.ofString()).get(30, TimeUnit.SECONDS);

but I'm still not sure why the timeout of java http client does not work.


support custom api port setting

This update introduces a new parameter api_port=8080, which replaces the fixed 8080 port of the serverAPI with the parameter.
https://github.com/luminousmining/miner/blob/79a4ad84ca73fca2948225dc40a102ba2e44f96c/sources/api/api.cpp#L42
The fixed api port 8080 perhaps is the default setting for HiveOS (I don't know well about HiveOS though). However, in general, the port 8080 is frequently occupied by other applications such as terminal nodes for linux systems. In this case, the system throws an error upon binding the api port, which then terminates the miner process.

Nice update !
Need 2 modifications about coding style and it's perfect !

Resolved the coding style issue. Thanks for the review.


Type -- Missing quotation mark

At the top of this document there's an XML sample with a  missing quotation mark:
<Value
Type = "Text"
IncludeTimeValue = "TRUE" | "FALSE>
</Value>
FALSE is missing a quotation mark at its right.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d0a37aea-a0eb-5ad1-8837-4a92e1d99219
Version Independent ID: 8c1c12ff-58c7-95e3-9da8-24434614895d
Content: Value element (Query)
Content Source: docs/schema/value-element-query.md
Product: office-online-server
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Fix.


Does the commercial version  have some benchmark ?

Does the commercial version(v3.x)  have some benchmark ? like LDBC-SNB

https://github.com/TuGraph-family/tugraph-snb-interactive
You can refer to this repo for the reproduction.


#9 configure dependabot auto-merge

What:

Why:

How:

Checklist:

[ ] PR small as possible
[ ] Codebase consistent
[ ] TypeScript definitions updated
[ ] Tests and linting
[ ] Ready to be merged

Branch and PR were originally created in a fork and should only test Dependabot and auto-merge changes in a copy of the project. There is no intention to implement the changes from the fork because of created test keys and other test settings.


Do we need Chinese translation of the document?

As the title says, if we need it
I can provide some help

A year has passed, do you need to add some translations? Users are growing. @juliangarnier


DS: Youtube link in Sources no longer functions

This link no longer functions: https://www.youtube.com/watch?v=\_6sh097Dk5k
(From the entry below in the CPU section of the sources)
Dave Jaggar, ARM microprocessor rise and fall. Talks at Google, Youtube. ↩

https://www.youtube.com/watch?v=_6sh097Dk5k seems to be the same talk, and could presumably serve as a replacement link.

Well spotted, it turned out to be bibtex breaking the urls. I've fixed that, thanks.


Use jMonkeyEngine to render models

Adopt jMonkeyEngine as the 3D scenegraph to avoid complexities involved in using OpenGL or other rendering APIs directly.  Using JavaFX's own 3D capabilities could be explored, however at first glance it seems too restrictive.

I have used jMonkeyEngine for several projects. It is great.

I don't think there's many alternatives outside of building our own renderer.  I'd rather not go down that rabbit hole and be able to create something for this pretty quickly, so JME will do.


New rule: "no-duplicate-dependent-keys"

this should warn for e.g.:
{
  foo: computed('model.foo', 'model.bar', 'model.baz', 'model.foo', function() {
    // ...
  }
}

Good idea @Turbo87
Do you also think about detecting things like:
{
  foo: computed('model.{foo,bar}', 'model.bar', function() {
    // ...
  }),
}

Or a simple check if any string is duplicated?

I think having that work too would be awesome although the case that I had in a client project was just the simple one described in my snippet above. It seems that implementing the one in you snippet should not be too hard either.

Picking this up.


Add Engineering Ownership to Principles & Practices

This is based on the "Engineering Ownership" document I shared a few weeks ago.
Feedback on that document has been positive and encouraging, but quite a few of you asked: what's the next step? how can we make sure everybody in the company lives this? I do not know, but I do think that having it in the handbook is a great next step. So here we are.
Some of the Google Docs comments you all left I tried to incorporate, at least where I thought it was possible. There's still more comments in that doc that should be recorded somewhere (i.e. about how to do cross-team collaboration, or how to find out who owns what), but I don't think they fit into this document here (as part of "Principles & Practices").

This stuff is gold, LGTM 🥇


OSX Arm64 Migration

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@erykoff, thanks for the help. @mxr-conda, @ndmaxar, @oblute, @rluria14 would you mind taking a look when you get a chance? I think this should be good to go.

@conda-forge-admin please rerender

@mxr-conda, @ndmaxar, @oblute, @rluria14 -- friendly bump on this PR 🙂


Enchant info stopped working

clicking on info causes this error everything else works
http://pastebin.com/DVfHVE3y

Pretty sure you typed an unknown/illegal colour code in the item names/colours, or left it blank? Cos there's a null pointer exception. Pastebin your enchantments.yml?

http://pastebin.com/9hzN2t6n

The error seems to be coming from this line in your Messages.yml.
https://github.com/kicjow/Crazy-Enchantments/blob/master/Messages.yml#L37

It works now my messages.yml was empty.


Vulkan GLSL to MSL, sharing sampler state for split-up combined samplers

Hey,
In my workflow the graphics API developer is entirely separate from the GLSL shader writer (who is usually an artist with limited GPU hardware knowledge). They don't want to have to think about hardware limits or sampler states, and so all their shaders just use combined sampler declarations (sampler2D, sampler3D etc). Indeed, the shaders they write are often agnostic to the sampler states, and different usage cases for the same shaders will want different sampler states for the inputs.
On Windows this is fine since modern GPUs have large limits for combined samplers.
However on MSL where the sampler limit is often much smaller than the texture limit, we'd be able to use more textures if we were able to re-use the samplers between multiple textures.
Is this possible right now with SPIRV-cross, or is it always just forced splitting a sampler2D into 1 sampler state and 1 texture, with no ability to share that sampler between other textures?
Thanks

Combined image samplers are forced to be split into separate image and sampler. There isn't anything we can do about that. If you want to deduplicate samplers, you need to emit separate image samplers in SPIR-V. It's possible to recombine them for GLSL.

Thanks yeah, that's what I was worried about. Since GLSL doesn't make dealing with separate sampler/textures easy (can't assign to variables), the goal would be to allow the shader writer to just use combined samplers, and manage how they are split at at the SPIR-V shader instead. That is if the SPIR-V has 32 combined samplers, have a way to make it generate with only 16 samplers and 32 textures (or even less samplers if desired)

I wonder if this might be addressable to some extent in MoltenVK (or other calling framework), by maintaining a lookup cache ofMTLSamplerStates that have the same content, and reuse them in VkSamplers that define that content...and then using some form of magic within MoltenVK to reuse the appropriate Metal resource indexes in a shader.
So...for example...in some use case...30 combined image-samplers might consume 30 MTLTextures, but only 12 unique sampler state configurations.
Obviously, this only works when the app is defining multiple VkSamplers with the same content (which may or may not be common).
The other mechanism to avoid this is to use argument buffers...which MoltenVK at least partially supports at present.

Wouldn't the MSL code need to have the samplers tied to the appropriate textures? The issue is somewhere the API developer needs to say: textures 0-5 use sampler 0, textures 6-15 use sampler 1. Feels like that needs to already be handled at the SPIR-V stage before we even get to MSL, at least point I assume MoltenVK will already handle the separate sampler/textures since the API developer will be filling those explicitly based on reflection from the SPIR-V

Possibly this is a request more for SPIR-V-Tools since it could be generally useful as way to post-process SPIR-V to handle various GPU hardware limitations.

Wouldn't the MSL code need to have the samplers tied to the appropriate textures? The issue is somewhere the API developer needs to say: textures 0-5 use sampler 0, textures 6-15 use sampler 1.

MoltenVK tells SPIRV-Cross what to set the [[texture(t)]] and [[sampler(s)]] index values to. So (in theory) if MoltenVK can determine that sampler 17 has exactly the same content as sampler 4, then it can substitute and use sampler 4 in both cases, and the MSL would not be aware of sampler 17 at all.
No doubt this would require modifications in SPIRV-Cross to alias the name of the substituted sampler, but since for a combines image sampler, this name is invented within SPIRV-Cross anyway, perhaps some kind of lookup based on the sampler index provided by MoltenVK might work.

Oh I see, the MSL is generated using the current descriptor sets as well, not just the SPIR-V. Ok then yeah that feels like the right way forward.

Oh I see, the MSL is generated using the current descriptor sets as well, not just the SPIR-V.

Actually, I thought of this, and then before I was about to say this, I realized that we only have the layouts when compiling pipelines. We don't know what the exact sampler states are until the descriptor sets are bound.

Doing heroics to rewrite code in SPIRV-Cross is a bad idea here. A driver should not try to rewrite code like this, imo. This really should be solved at engine level. Only the engine has enough information to understand which samplers are likely to be duplicated and can emit SPIR-V accordingly.

Doing heroics to rewrite code in SPIRV-Cross is a bad idea here. A driver should not try to rewrite code like this, imo. This really should be solved at engine level. Only the engine has enough information to understand which samplers are likely to be duplicated and can emit SPIR-V accordingly.

If by engine you mean GLSLang then ok, that is another avenue as well for sure. Doing it as a process to the SPIR-V felt like a good spot as well since it'll be useful for other high level languages that create SPIR-V that then need to target hardware with different capabilities than the high level language exposes.


⚠ Bofrost.es has degraded performance

In 2eb2379, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1759 ms

Resolved: Bofrost.es performance has improved in bb64466 after 9 minutes.


demo: LLM monitoring with weights and biases

deploy a sentiment classifier powered by OpenAI, wrap it into a flask API and monitor it with weights and biases
I briefly read weights and biases docs and it seems like the tool is meant for monitoring LLMs in production but we'll have to do more research
requirements

sample code
blog post

sample code: app.py.zip

This issue is a bit different from what the current monitoring with wandb is doing so will mention it here
Work in a similar direction #113

Blog associated
https://github.com/ploomber/ploomber.io/pull/132

closed by https://github.com/ploomber/doc/commit/0dd1c54abb8daea9a1fa7c2f75ef6ea423e13b27


Add a repeat node type

It is similar to the map node but does the steps in a sequential way.
The input parameter should be a limit: int
This will require just like map_variable, there should be counter_variable which keeps track of the iteration.
https://github.com/argoproj/argo-workflows/blob/master/examples/recursive-for-loop.yaml

Even conditional step could be something interesting. Local and local-containers should do this natively while depending on the transpilation for the other platforms.


[Enhancement] Option to stop the navbar and top bar from coming back automatically.

Is your feature request related to a problem? Please describe.
I really like the app, but it's really annoying to me that the navbar and top bar come back on their own.
Describe the solution you'd like
An option to have both bars only come back on a swipe up, and hide on swipe down (like in Google photos)
Describe alternatives you've considered
I would be okay with having the bars be permanently visible too.
Additional context
My biggest issue is that by hiding the bars you make some content visible that you cannot actually access, like if I see a picture I want to click on at the bottom of my screen and I stop scrolling, that picture is now unaccessible, I have to scroll down more so that the bars don't cover my picture when they inevitably come back.
Also I'm pretty sure it's bad design to have content that you think is clickable suddenly obstructed by something without input from the user.
I love everything else about the app though 👌

This is available in the latest release


Redundant typeable

@glaebhoerl asked what the Typeable constraints were for, I tried to delete a few so that the compiler errors would give me the answer, and was surprised to discover that most of the Typeable constraints are actually redundant!
I recommend adding -fwarn-redundant-constraints to your ghc-options, it reveals even more redundant constraints.

No way. What version of GHC are you on??

I use stack to build and test, so whichever version of ghc your stack.yaml specifies.

what. let me drink some coffee and ponder this deeply

This is fantastic, thanks! I'm not sure how I got so turned around in adding it in the first place!


[SPARK-14533] [MLLIB] RowMatrix.computeCovariance inaccurate when values are very large

What changes were proposed in this pull request?
For dense rows, compute covariance more accurately by centering in computeCovariance (sparse case remains untouched). Also compute column means more accurately with computeColumnSummaryStatistics
CC @mengxr -- am I missing anything here? seems OK for the dense case.
I'd like to back-port to 1.6 or even 1.5 if this looks OK.
How was this patch tested?
Jenkins test, including new test mentioned in the JIRA.

Test build #55521 has started for PR 12299 at commit 86313b5.

Test build #55521 has finished for PR 12299 at commit 86313b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/55521/
Test PASSed.

LGTM

@srowen Determining the sparsity by the first row is not very reliable. I checked out the stable online covariance computation (https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Covariance) and making it work for sparse data is not trivial. I wonder whether we should go with a possibly inaccurate sparse implementation or treating all vectors as dense and implement a "correct" version.

I figured that it would be rare to have mixed sparse/dense vectors, but maybe we should indeed address this for both cases to avoid surprises.
I'm inclined to fix it since the error is larger than I imagined. The covariances I see, for example, when running the test in this PR are like -496, which is way off. The error is significant for values orders of magnitude smaller.
I wonder if it's better to push down the centering to deeper in the calculation of the Gramian -- like optionally pass column means to subtract. This avoids a temp vector; it does mean effectively losing the benefit of sparsity. Maybe I can figure out a way to be clever about that.
Thoughts? or else I'll investigate along those lines.

I also assumed having mixed vectors would be a weird situation and unlikely in practice.
Hold on though, we specify that computeCovariance (and also computeGramianMatrix) only work with cols up to 65535. How much gain do we really get from handling the sparse case here?

If I remember correctly, I tested it with MNIST data (784 cols) and saw significant speed up. But if accuracy is an issue, I would lean towards fixing it too.
+1 on @srowen 's suggestion of pushing center shift down to Gramian. But it should be a private API since Gramian is already well defined.

It matters a fair bit for computing the Gramian, since computing a'a for each row is sped up by the square of the sparsity. For 20% sparse vectors, using the sparsity makes it go 25x faster. It's not a big deal to push down a value to subtract off the values for the sparse case, since BLAS.spr handles this explicitly. It is trickier to figure out how to efficiently  handle the dense case, since it's already using NativeBLAS.dspr directly and I don't think we can modify the array directly in place. That may be the best that can be done -- copy the array and subtract the mean -- but I'll look more into what BLAS provides for this.

@mengxr I implemented the suggestion. The sparse case is covered now too, but, as you say I don't know that there's a faster algorithm for this once the data is not sparse. I'll do some more thinking/reading. Let's see if this passes in the meantime.

Test build #55603 has started for PR 12299 at commit 9f8170d.

So if the input is vector A, then instead of computing A'A we're computing, for some mean vector M, (A-M)'(A-M) = A'A - A'M - M'A + M'M. A'A remains efficient to calculate and M'M can be precomputed by the caller and passed in. A'M and M'A are transposes and can be computed once, and that can be done somewhat efficiently since A is sparse. It's more complex for sure; I wasn't sure whether for the sizes we're contemplating, whether just pushing one dense vector to BLAS would still be faster.

Test build #55603 has finished for PR 12299 at commit 9f8170d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/55603/
Test PASSed.

@mengxr how do you feel about the current state of the change? definitely fixes the accuracy problem, but sparse vectors must now become dense (and can't be >65,536 elements anyway) in the covariance computation. On the bright side, then they can be processed with BLAS.

I actually implemented the idea above and it turns out to be slower at a scale of about 5000 features already. My quick test locally:
import org.apache.spark._
import org.apache.spark.mllib.random._
import org.apache.spark.mllib.linalg._
import org.apache.spark.mllib.linalg.distributed._
import scala.util.Random

def compute(rows: Int, cols: Int, sparsity: Double, sc: SparkContext): Unit = {
  val vectors = sc.parallelize(0 until rows, 8).mapPartitions { rowNums =>
    val random = new Random()
    rowNums.map { n =>
      val indices = (0 until cols).filter(c => random.nextDouble() < sparsity).toArray
      val values = indices.map(i => random.nextDouble())
      new SparseVector(cols, indices, values).asInstanceOf[Vector]
    }
  }
  new RowMatrix(vectors, rows, cols).computeCovariance
}

compute(10000, 5000, 0.01, sc)

Current implementation took about 1.9 minutes, whereas modifying it to compute as in https://github.com/apache/spark/pull/12299#issuecomment-208873482 took 2.8 minutes. (The original, less accurate version takes seconds). I presume that paying the cost of creating a dense centered vector ends up being overshadowed by the efficiency gain in pushing the computation down to BLAS then.
I don't have brighter ideas at this point.
At least, the following two changes are uncontroversial:

improve the computation of the mean using the standard stats class
improve the situation for dense vectors

The question is: take the performance hit and fix covariance for large sparse vectors? or leave it as-is as a known issue? any opinions?

I went ahead and pushed my last attempt for the record, but am not going to merge this. I'm going to instead propose just the changes that seem to have no downside.


DS2 - Manipulating and Cleaning Data

Add slides and notebook from Workshop DS2 - Part 1: Manipulating and Cleaning Data

Thank you @pedroolmo!


Handle MOJOSHADER_USAGE_NORMAL in Metal profile

This is required to compile Murder Miners shaders. Not specific to the effects system so I thought I'd submit it as a separate PR.

Merged in hg https://hg.icculus.org/icculus/mojoshader/rev/065dcf3eed9c


EverLong Spec

Tracking issue for discussion of the existing spec: https://hackmd.io/2fLgQbnNSSGnB9aoDxeY1w

can we consider implementing the yearn interface? that would give us plugin compatibility with gearbox


Pods can't reach pods on other nodes

I'm quite new to Kubernetes. I installed one master and two workers using this tool and it worked quite well.
Then I tried to install cert-manager, but had problems and found out that resolving dns does not work because containers on one node can't reach containers on other nodes.
My research pointed me to problems with the CNI but I can't even see any configured CNI.
How is this supposed to work?
The virtual hetzner network has <IP_ADDRESS>/16 configured and the pods are using 10.244.0.x, 10.244.1.x, 10.244.2.x
I think this needs a CNI to work? Should this work out of the box or do I need to configure a CNI?

The hetzner actual network range is unrelated to the pod/service ranges.
I assume you are using cert-manager with an ingress controller, right? In that case, did you by chance enable the proxy protocol for the load balancer? If yes you need an annotation to ensure that the load balancer is addressed by a DNS hostname pointing to its IP. You also need to configure proxy protocol in the ingress' configuration.
With these settings, when cert-manager attempts to make an HTTP01 challenge to issue a certificate, requests will go through the load balancer thanks to the hostname annotation. Without that annotation challenges will fail.
See https://github.com/vitobotta/hetzner-k3s#load-balancers for additional information.

Thanks for the detailed explanation!
Actually I am trying to install cert-manager with the DNS issuer. But my problem is that no pods are able to resolve anything because they can’t reach (and ping) the coredns service if they aren’t running on the same node as coredns.
I am wondering how it could even be possible for a container on one node to reach a container on another node.

If you try to query CoreDNS to resolve a hostname from a pod what do you get?

Closing due to the lack of updates. Feel free to reopen if you still have issues.


Custom Widgets in PlutoMenuItem

Is there a particular reason the API doesn't allow arbitrary widgets in PlutoMenuItems? Judging from a quick look through the source code, it doesn't look like it should be a problem, and it would increase the flexibility by a lot.
The reason for this ticket is that I need a text field and a slider in my menu.

There are no other reasons.
I'm making it as a hobby, so if there is a user's request, I add a function.
I will update to add other widgets.

Updated PlutoMenuBar 2.0.2.
https://pluto.weblaze.dev/plutomenuitemwidget

That was very fast! Thank you so much!
I just tried it, seems to work fine so far.


Want ecdsa key support

I do too! That would be great!

Hey @boenrobot,
There are only three places where ECDSA support needs to be added:

acme-v2.js
greenlock.js

I just redid acme-v2.js for Let's Encrypt v2 (ACME v2) support.
(greenlock-express uses greenlock directly - same with greenlock-hapi, etc)


Add Compatible Kubernetes to Version Printout

Description of the change:
Adding necessary fields to the verison, needs implementation on build side to populate.
The build implementation will involve passing along the required values in the ldflags field
Closes #2118

Fixes #2118
While we can't have a compatibility matrix without actually testing the matrix first in CI, this should at least specify compatibility for a single version.

@theishshah Can you also add a line to the CHANGELOG?


Garbage collection for inactive uploads

To regularly remove aborted (failed, in process forever, rejected) resource from the upload dir.

And maybe even any directories whose files are all untouched in > n days. (or from users whose sessions weren't active in as many days, but this may mess up admin edits)


how to create sourcemaps in prod build?

Is there a way to create external sourcemaps for app.js in prod build?

use sourcemaps debugging is in development

Source maps are not included in the prod build for performance concerns.
As @Shyam-Chen mentioned, you can debug in dev. In case you still want to generate them, you can override this task.


Fix for having additional themeable variable for form-select

Summary
Updated _Frame.module.scss to have theme-able variable for tag, search, combobox and multiple. This is to address #1727 issue.
Additional Details

Verified running locally.

Thanks for contributing to Terra.
@cerner/terra

Reading through the linked issue, it sounded like this is what UX wanted. cc/ @neilpfeiffer Though I'm open to proposed solution @StephenEsser shared https://github.com/cerner/terra-core/commit/b75b5bcf1807128dd05e298f32aafc2d96d3eefe

I interpreted the proposed solution by UX to be intended as just a possible solution to remove the duplicate theme variable with different values. Targeting specific variants of the Select creates a complicated / large theming API.

@m-samkc Let's move forward with the code change proposed in this commit: https://github.com/cerner/terra-core/commit/b75b5bcf1807128dd05e298f32aafc2d96d3eefe

Closing this pull request to pick up the work discussed above.


Jana Adarsha Multiple Campus

Jana Adarsha Multiple Campus

jamc.edu.np Jana Adarsha Multiple Campus

@Santosh-NPL First stage of verification passed, official domain is jamc.edu.np as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Santosh-NPL Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course. Thank you!

https://jamc.edu.np/computer-science

@Santosh-NPL Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Remove static dependencies on Netflix OSS components

Currently in the code there are a lot of static references to Netflix OSS components. Would be much better to inject them in order to allow use of other tools for some of the functionality if desired.

Possibly explore use of http://projects.spring.io/spring-cloud/


Color on changes (1.6.14)

Unless I'm misunderstanding the option and how it's meant to function, the option to color the file icon on changes doesn't appear to be working as intended.
Currently I have everything except Force Show enabled which gives me a colorless file list and colored tab icons. Unless something is broken, I'm guessing that the tab icons should be colorless as well unless the file has been modified. Or am I interpreting that incorrectly?

I believe this only works if you are using git.

Ahh, got it. I was using it on a few projects without a git repo and noticed that it's working when I was working with a project using git.


Update RBAC.sol

gas optimization, majority of your codes are not gas optimized
almost all your codes are not gas optimized

Hey @malik672, thanks for the feedback. You are correct about the optimization, we actually haven't yet dedicated the effort toward making the library top-notch optimized. We will do our best to find the equilibrium between optimization and code readability in the next releases.


Resolve package versions in appveyor.yml

There's a potential blocker for this issue - powershell scripts run in appveyor do not print their outputs to console, meaning it'd be more difficult to diagnose the issues. Also I'm not sure if error codes will be propagated and build will fail in case of error.


Jupyter notebooks after a while become very slow

Bug: Execution of code in Jupyter mode (when using '#%%' to start a cell) after a while becomes painfully slow and laggy and require vscode restart to get back to normal speed.
Steps to cause the bug to occur

Just use the editor for a while

Actual behavior
After running for a random amount of time, execution of commands is heavily lagged and require complete restart of the vscode editor
Expected behavior
Smooth operation of the editor without lag or slower than necessary execution of commands.
Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local
Extension version: 2020.3.71659
VS Code version: 1.43.2
Setting python.jediEnabled: false
Python version: 3.7.4
OS: Windows 10
Virtual environment: N/A/ sometimes venv.

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Hi, I am running a basic example of plotnine in jupyter notebook in VSC. The code runs perfectly in jupyter-browser, however, VSC is slow and generates very very large file of 112MB.
The example is from
https://datacarpentry.org/python-ecology-lesson/07-visualization-ggplot-python/index.html
What is happening?

@robertodawid This is a known issue. With our plot viewer support we create both png and svg versions of plot outputs, and the svg plot outputs of plotnine in particular can be very dense and large. The best way to avoid this right now would be to turn off the VS Code setting Juypter: Enable Plot Viewer. The clear the outputs from the notebook that you are working with. This should bring the file back to a more reasonable size.

May be I can add some more info for this issue:
ipynb format,
I use pandas and read a file about 1M rows(about 4 m in size) into a df,
df.describe()
# this will take very long time, about 10 seconds..

it works fine in jupyter lab web app

May be I can add some more info for this issue:
ipynb format,
I use pandas and read a file about 1M rows(about 4 m in size) into a df,
df.describe()
# this will take very long time, about 10 seconds..

it works fine in jupyter lab web app

Loading a large UTF-8 text file (~160 MB), makes the next operations very slow (seems to block), even if it's as simple as function dentition.
But it works great inside the web app.
Version: 1.53.2 (user setup)
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:04.245Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18363
Python: 3.7.9

I just installed Jupyter Notebook for VSCode on Mac 2020 M1, and tried to run this simple print command but it is running forever!!
If I try to interrupt it, it will show "Interrupting Kernel" endlessly, but it will not end. It will remain like that forever.

I had the same problem. In the settings, I specifically assigned a 'local' server for Jupyter. It solved the problem. It used to be on 'default'.

@ShadyAbuKalam @salmanea Please could you install VS Code insiders and give this a test now.
We've made a lot of changes that would significantly improve the perf across the board (loading & execution).
Do let us know how this goes.
FYI - you'll need vscode insiders, as the changes have been shipped yet (once you install vscode insiders, please ensure you have the latest jupyter extension installed as well)

Just tested the insider version.
Seems like that Jupyter extension works much faster and lighter.
The variables are also shown much faster. The stable build struggles to update the variable list. Much slower than for example if you use Spyder IDE. So I think great job guys 👍
A quick side question: why are the variables are now shown down with the terminal and other stuff instead of the top of the interactive window? I think it's a much better idea to have them on the top.

y are the variables are now shown down with the terminal and other stuff instead of the top of the

This is great feedback, please could you file a separate bug to discuss this.
This was done as part of the overall UI changes to the notebook.

hink it's a much better idea to have them on the top.

Agreed, but lets discuss this separately in a separate issue.
& thanks a lot for testing this & providing your feedback.

Closing this issue based on the comments from @salmanea
If anyone is still experiencing perf issues, please file a new issue or please feel free to re-open this issu.e
FYI - The latest version with the perf fixes will be made availabel today.


Fix inconsistent moment.min and moment.max results

Fixes #2362, includes updated tests for moment.min and moment.max.
Also includes tests to show that moment.isBefore and moment.isAfter correctly handle invalid moments.

While you're in the neighborhood, would it make sense to treat isSame in a similar manner, per #2354?

@cwohlman you said you'd filter out invalid moments in the issue but now you return invalid If any one of them is invalid. Also you can change isSame isAfter and isBefore to return false if they hit invalid.

Actually, as suggested above, I wrote the fix to match the Math.min and Math.max behavior. Also, I noticed that isBefore isAfter match the Math operations < and >.
Although in my original use case I would have preferred for the invalid moments to be filtered out, I think this implementation makes more sense on the general principle that math operations involving NaN typically return NaN.
—
Sent from Mailbox
On Sat, Jun 27, 2015 at 1:52 AM, Iskren Ivov Chernev
<EMAIL_ADDRESS>wrote:

@cwohlman you said you'd filter out invalid moments in the issue but now you return invalid If any one of them is invalid. Also you can change isSame isAfter and isBefore to return false if they hit invalid.
Reply to this email directly or view it on GitHub:
https://github.com/moment/moment/pull/2438#issuecomment-115975629

I think this implementation makes more sense on the general principle that math operations involving NaN typically return NaN.

I think that makes sense, the user can always filter out invalid moments before getting the min/max.

So you only added tests for before/after methods -- so they just worked? Also can you please add isSame to the bunch?
I agree that the filtering can be left out.

I'd be happy to add isSame to this pull request, don't have time right this minute, but I'll try to get it in sometime today.

Note that my latest changes modify the behavior of moment.valueOf in cases where an invalid moment is backed by a valid date.

@ichernev correct, the before and after methods already exhibited the correct behavior.

@cwohlman would this "edge" case (invalid moment backed by valid date) happen if you create an invalid moment, but then modify it, in the current code? If yes, I'd say a lot of people "depend" on this functionality, i.e. we'll break a lot of code if we start propagating invalid moments. Also if there is valid date attached, all of the moment methods will just work correctly, and it will be almost unnoticeable (that the moment is invalid).

@ichernev correct. Let's move further discussion of the issue to #2354, and I'll update my pull request without the edge-case.

@cwohlman thank you! Will merge in next release.

Merged in c410da4a101221c4a893ea685a449586a6d35aca


Better error messaging when Ember app is not installed.

Currently, if the user tries to go to a URL in the Rails app and the Ember app has not been installed, they see an error in their browser: EmberCLI Rails requires your Ember app to have an addon., even when the problem is actually that they haven't installed the app yet.
This PR adds a check before check_addons called check_dependencies that checks that the node_modules directory exists. If it doesn't, then the user sees a more-relevant error message:
EmberCLI app dependencies are not installed. From your Rails application root please run:

     $ bundle exec rake ember:install

 If you do not require Ember at this URL, you can restrict this check using the `enable`
 option in the EmberCLI initializer.

Merged in https://github.com/thoughtbot/ember-cli-rails/commit/cc53ec5cf71a55f4a1ec17fb21ece1a48261602d.
Thanks!


Setting Filter to a video with Preview

I went through your documentation, and was trying to find out whether we have the setting filters for video too. Right now all I found out was that it is suitable for bitmap images. I was trying for applying filters to the video where I can get a preview of this and if liked can save it to my file. In ffmpeg documentation we cannot have a preview functionality. I found your library useful. Please help me if you have any suggestions.

Did you check out the "video player demo" in the demo app? Isn't that exactly what you're looking for?

Thank you so much for the reply. But where can I find this video player demo, I've searched it in your code but couldn't found the demo app nor the video player demo. I'm afraid it is difficult to find it out. What I did was I downloaded your app but the app did not install and I found a java class VideoDemoSomething.java, is it the class you were talking about.

The precompiled apk is not updated for a long time. Please build the project to see the newest demo.

I have used your file and did it as per you guidance. You have used different filters on the surface view at the run time. I've achieved this already. But do you have any option of saving the same file with the selected filter is my quesiton. I have tried pressing the capture button in the Video Player Demo, it is not working saving file with the filter it is


[FEATURE] Added exception when product not active; cleanups

only return special prices of active products in findAllCurrent function

else ack


GraphiQL tweaks

Few suggestions I'd like to make:

Change the default tokenHeader from access-token to Authorization.  I believe the majority of use-cases will be using Authorization: Bearer {JWT}.

Remove the @Cache from the explorer controller.  Is this really needed for dev?

Change the route path to something that doesn't start with /graphql.  I have /graphql behind a firewall pattern, which then blocks the explorer too.  I've since changed the path to /_graphiql to match other dev related tools (eg. _profiler)

Make the explorer a dedicated bundle that can added to the AppKernel based on environment (eg. DebugBundle and WebProfilerBundle).

Hi @bjunc,
I would like to add some notes:

Let's make it as config parameter (of new budle).
Yes, you can easily remove it, it's not necessary  any more.
Yes too.
Absolutely yes. It would be great to add here else one extension for graphql Altair.

Sounds great!


Docs on how to use vue-router with vue 2.7 composition api

What problem does this feature solve?
I can't find anywhere info on how to use vue-router properly with the vue 2 version of composition api (especially now that 2.7 is out and people want to migrate slowly over). Which version of vue-router do I use - if I use 4.x the there is an unmet dependency on vue 3 - if I use 3.x then there are no composition api functions to use...
I know this might not be possible - but at the moment there is no info one way or the other, so really I'd just appreciate some clarification and suggest that maybe a comment in the docs would be helpful.
What does the proposed API look like?
Add some docs

Duplicate of #3760

Please, search existing issues and pull requests before opening issues, it saves maintainers a lot of time 🙏


Add deply now buttons to with-firebase, with-material-ui, with-socket.io

A few more additions since there are new examples.

🐇 ⚡


investigate and test: balancer.CalcTokenInShareAmountOut should be inverse of balancer.CalcJoinPoolShares

Background
JoinSwapShareAmountOut was attempted to be implemented in the following way https://github.com/osmosis-labs/osmosis/pull/1307#discussion_r857177513. Once we calculate tokenInAmount with CalcTokenInShareAmountOut, we should be able to call JoinPool (that in turn calls CalcJoinPoolShare). to update liquidity under the hood.
If we do so, sharesCreated by JoinPool should be equal to shareOutAmount received by JoinSwapShareAmountOut. However, they do not match.
test panicked: {824636220864} shares created is not equal to the requested amount of {824633847808}

On initial investigation, v7.x receives the same tokenInAmount as this implementation so CalcTokenInShareAmountOut is likely to be correct.
On the other hand, JoinPool is missing any unit tests. Thererefore, it is a more likely source of problems, if any.
We should add the inverse unit test for balancer.CalcTokenInShareAmountOut and balancer.CalcJoinPoolShares once #1307 is merged.
Referenced code:
func (k Keeper) JoinSwapShareAmountOut(
	ctx sdk.Context,
	sender sdk.AccAddress,
	poolId uint64,
	tokenInDenom string,
	shareOutAmount sdk.Int,
	tokenInMaxAmount sdk.Int,
) (tokenInAmount sdk.Int, err error) {
	pool, err := k.getPoolForSwap(ctx, poolId)
	if err != nil {
		return sdk.Int{}, err
	}

	extendedPool, ok := pool.(types.PoolAmountOutExtension)
	if !ok {
		return sdk.Int{}, fmt.Errorf("pool with id %d does not support this kind of join", poolId)
	}

	tokenInAmount, err = extendedPool.CalcTokenInShareAmountOut(ctx, tokenInDenom, shareOutAmount, pool.GetSwapFee(ctx))
	if err != nil {
		return sdk.Int{}, err
	}

	if tokenInAmount.GT(tokenInMaxAmount) {
		return sdk.Int{}, sdkerrors.Wrapf(types.ErrLimitMaxAmount, "%d resulted tokens is larger than the max amount of %d", tokenInAmount.Int64(), tokenInMaxAmount.Int64())
	}

	tokenIn := sdk.Coins{sdk.NewCoin(tokenInDenom, tokenInAmount)}

	sharesCreated, err := extendedPool.JoinPool(ctx, tokenIn, pool.GetSwapFee(ctx))
	if sharesCreated != shareOutAmount {
		panic(fmt.Sprintf("%d shares created is not equal to the requested amount of %d", sharesCreated, shareOutAmount))
	}

	err = k.applyJoinPoolStateChange(ctx, pool, sender, shareOutAmount, tokenIn)
	if err != nil {
		return sdk.ZeroInt(), err
	}
	return tokenInAmount, nil
}

Acceptance Criteria

inverse unit tests for balancer.CalcTokenInShareAmountOut and balancer.CalcJoinPoolShares
determine if this is an actual problem or a logical error
if error exists, it is fixed

I see the status of this is "Done. Can we close it?


Support older python 3 versions

Hi! Great lib.
Unfortunately my company is stuck with python 3.6. 😭
Could we maybe make tqdm as an optional dependencies and show the progress bar only if the import is successful?
This might increase the adoption of this package as well.

Hi, thanks!
Added support for python 3.6 using your suggestion. I have tried to verify that it works properly (my first and only time so far creating a pypi-package), please reopen if there are any issues.

Thanks a lot!


Display first slide divider on top

Trying to customise according to my need. first slide divider is being hidden by the last linear gradient. how to get first slide divider on top just like all other dividers ?

Hi Harish,
Whether you are planning to go ahead with "slideDividerType" as "Circle" or any other icon you are planning to use.

I am planning to go ahead with Circle

Then we need to fix fit. Give me some time. Will fix this issue.

For avoiding this issue only, I have used the line indicator at the start of the arc.

Thanks, Since you asked, will it work of i use icon instead of Circle as slide divider ?

Since the start point has the overlay issue. the icon will also have same issue. Please check and confirm also from ur end.

Yes, even icon has same issue

@IbrahimSulai  Any update ?

@harishsn - sorry for the delay.
I have held up on other tasks this week. Will solve this by this weekend without fail. Thanks in advance for understanding.

@IbrahimSulai No problem, Nice work on this repo btw.

@harishsn - Solved the issue as you needed for your requirement in the branch feature-divider-separation.
Please note this branch is dedicatedly created for you. Only for your reference and usage.
Please let me know if you need any other clarification/help required.
Please close this issue if your problem solved.

Facing an issue with minimumStopValue.

@harishsn - Will look into this and let you know the solution.

I did quick round of look into this issue.
"minimumStopValue" is mandatory if the slider value is more than 2.
In your case, it is 4 slider, so it will be having in-between sliders while crossing the limit. so it is not able to track and draw the slider.
It will work perfectly for the 2 sliders. I have attached the gif.

@IbrahimSulai Sorry, Had issue with my code initialisation. Fixed it. Thanks.


Update UBI_VERSION to 8.8

The image registry.access.redhat.com/ubi8/ubi-minimal:8.7 has several CVEs that are appearing in security scanner results:
ubi-8.7-cves.txt
Creating this issue to track updating UBI_VERSION from 8.7 to 8.8 to address these.

This will be fixed with https://github.com/projectcalico/calico/pull/7664

Thanks for reporting the CVEs @wedaly. We update our releases as much as possible. Generally, our latest n-1 release gets the CVE updates (currently it would be 3.25 and 3.26). Both versions are already using scratch-based images that use libraries from UBI 8.8. See 3.26: https://github.com/projectcalico/calico/blob/release-v3.26/metadata.mk#L18
3.25: https://github.com/projectcalico/calico/blob/release-v3.26/metadata.mk#L18
As @mgleung mentioned, the main branch will also be updated, but please note that there is no release based on the main branch.

Thanks again for reporting this @wedaly. The fix was merged and I just created a PR to update UBI to 8.9 (released yesterday; see https://github.com/projectcalico/calico/pull/8237 and backports). Please feel free to open other issues if you see any other issues.


Fix relationship in ORM for station to station connections

https://github.com/DartExplore/dart-explore-backend/blob/ddfac664e7d77603cf5b93a2634ebeb66379a618/src/main/java/com/dart/explore/entity/Station.java#L22 station2_id can't be resolved.

@Nightwing52 , can you look into this? I imagine that if IntelliJ can't resolve it, there's going to be an issue in our mapping.
I realize that before I try to implement cascading at the ORM level, I'll want to actually have a couple repositories created so that I can query and confirm that cascading is working. When I tried to work on that, I noticed this (as well as what's in #56) issue. I can't confirm it's causing any problems now, but I assume it will

I think this is because you're not connecting to the database through intellij. If you look at my first screenshot there are grey bars under all the other columns. This is intellij checking that it can map correctly a column in the database. Since you don't have the grey bar under the other columns, I don't think it's checking any of them.
Definitely a bit of an interesting error since I don't know what Intellij does under the hood to verify stuff like that.

This was closed with #70


ion-java-cli issue found from testing ion-test-driver

Description:
This branch is used for ion-test-driver's ion-java build logic. I'll use this PR for testing and add more issues once I found them from testing ion-test-driver.
Procedure:

[x] Testing/Finding issue
[x] Fixing the issues that in the list
[ ] Ready for Merging

Issues list

null container type value is not a SCALAR type, For example: null.list
BEFORE
{
   event_type: CONTAINER_START
   ion_type:..
   depth:..
}
{
   event_type: CONTAINER_END
   ion_type:..
   depth:..
}
EXPECT: something like below:
{
   event_type: SCALAR
   ion_type: list
   value_text: "null.list"
   ......
}
Empty annotation and null annotation should performance same in this project but was treated differently.
Embedded stream doesn't update index so it never jump out of the while loop.
Compare mode should skip all the symbol_table events but process mode should keep them.
Need to add an annotation $ion_user_value to all IVM like symbols.
Can't recognize the file starting with the null.symbol (because of the logic checking if the file is start with $ion_event_stream)
Able to print incomplete event stream for bad vector.
Added some edge case check/ null check/ index check.
compare mode should exit once it catches an exception.

Test case:
All test case from ion-tests
Question/specific area wants to check:

https://github.com/cheqianh/ion-java/pull/9#issuecomment-688576528

above 2 commits fix issue 1-4

above fixed issue 5

Above commit fixed issue 6

fixed issue 7

This commits just improved symbol_table check logic

Above 2 commits improved symbol_table and make sure embedded added annotation to CONTAINER_FIELD

Commit 74f82ca allows ion-java-cli print incomplete event stream when input file is invalid.
Steps I did for this commit:

Created a readContext class to store events that read from input. (line 1263)
Logic before is reading the whole input file then transfer the whole file to eventStream. Now is storing each event to readContext immediately after reading each entry. By this way, we will have an incomplete event stream in our readContext when we encounter errors. (start in 868, passes readContext to function ionStreamToEventStream)
Added an extra try...catch for reading input files to eventStream. Once we meet errors during the reading phase, we still can write the incomplete eventStream to output. (175 - 186)

Above 2 commits improved corner case checking. Wroked on issue 8.

Above 2 commits improved corner case checking and added some logic for error report type(READ/WRITE). Worked on issue 8.

Above 2 commits improved corner case checking and added some logic for error report type(READ/WRITE). Worked on issue 8.

Fixed issue 9


Is it possible to reOpen "Add ability for DragTargets to receive pointer position updates. #10450"

Use case
 I do need to place a draggable in the specific place it was dropped by the user.

Proposal
I found that a similar PR (Add ability for DragTargets to receive pointer position updates. #10450) was analysed and coded more than two years ago. Apparently it stopped due to the vacation period of the tester and never was delivered.
Is it possible to reopen it?

Hi @sgorbyo
Feel free to create a new PR and mention this PR in your PR
I feel safe to close this issue, if you disagree please write in the comments
and I will reopen it.
Thank you


You are not authorized! 🔐

Successfully setup using the instructions but i got You are not authorized! 🔐 when i log in using the seed username. Pls help

Hi @budi77

Successfully setup using the instructions but i got You are not authorized! 🔐 when i log in using the seed username. Pls help

The issue is fixed now. You can clone the repo again and follow the instructions in the README file.


Caption detection and Image color detection

Using Google's Vision API:

caption detection
image color detection

Amended tests accordingly.

From a text-media matching stand point it makes sense to not match images with captions - one downside to this is that unintended captions might be picked up from images and we might possibly lose out on a good text-media matching.
My suggestion here is to enforce a WORD_LIMIT on the caption/ocr text length so everything above the word limit can only be treated as captions. Any thoughts/opinions on this ?

From a text-media matching stand point it makes sense to not match images with captions - one downside to this is that unintended captions might be picked up from images and we might possibly lose out on a good text-media matching.
My suggestion here is to enforce a WORD_LIMIT on the caption/ocr text length so everything above the word limit can only be treated as captions. Any thoughts/opinions on this ?

May be we can still do text-media matching for images with ocr, but have separate stamp pages for text and media in such case. What do you think?


Documention is down?

In my case I need to check the docs, so I clone the repository, enter in app/docs and run the project in localhost

Sorry for the late response, doc is available at https://hope-ui.netlify.app

Another v0.67 docs that is built for old browsers (chrome80).
https://hope-ui-docs.pages.dev/


A panic occurred when used HTTP probe

I have used multiple HTTP probes with one cloudprober.
But, after some time, panic occurs. (about 30 minutes or 1 hour later)
Environment:
OS: CentOS 7.6.1810
Docker: 18.09.3
Cloudprober: v0.10.1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4ee41c]

goroutine 45 [running]:
bufio.(*Writer).Flush(0xc00012f680, 0xc000434100, 0x68)
        /home/travis/.gimme/versions/go1.11.linux.amd64/src/bufio/bufio.go:575 +0x5c
bufio.(*Writer).Write(0xc00012f680, 0xc000434100, 0x6a, 0x100, 0x1, 0x9, 0x3)
        /home/travis/.gimme/versions/go1.11.linux.amd64/src/bufio/bufio.go:611 +0xeb
net/http.(*response).write(0xc0004c2000, 0x6a, 0xc000434100, 0x6a, 0x100, 0x0, 0x0, 0x15eebc0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.11.linux.amd64/src/net/http/server.go:1551 +0x149
net/http.(*response).Write(0xc0004c2000, 0xc000434100, 0x6a, 0x100, 0x3, 0x3, 0x409813)
        /home/travis/.gimme/versions/go1.11.linux.amd64/src/net/http/server.go:1521 +0x56
fmt.Fprintf(0xf65da0, 0xc0004c2000, 0xea1527, 0x9, 0xc00069be00, 0x3, 0x3, 0x6a, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.11.linux.amd64/src/fmt/print.go:189 +0xa5
github.com/google/cloudprober/surfacers/prometheus.New.func1(0xf65da0, 0xc0004c2000, 0xc000246300, 0xc0002e8a20, 0x56)
        /home/travis/gopath/src/github.com/google/cloudprober/surfacers/prometheus/prometheus.go:131 +0x1bf
github.com/google/cloudprober/surfacers/prometheus.(*PromSurfacer).writeData(0xc0003ea120, 0xf65da0, 0xc0004c2000)
        /home/travis/gopath/src/github.com/google/cloudprober/surfacers/prometheus/prometheus.go:360 +0x24d
github.com/google/cloudprober/surfacers/prometheus.New.func3(0xc0003ea120, 0xc0003ea180)
        /home/travis/gopath/src/github.com/google/cloudprober/surfacers/prometheus/prometheus.go:150 +0x12c
created by github.com/google/cloudprober/surfacers/prometheus.New
        /home/travis/gopath/src/github.com/google/cloudprober/surfacers/prometheus/prometheus.go:144 +0x1d7

@mazing80 Thanks a lot of reporting the issue.
This panic is very strange though. goroutine that you pasted above is running the prometheus surfacer and is in bufio.Writer.Flush(). I can't imagine a reason for a panic in that function as the data is already prepared by the time that function is called (unless there is a bug in net/http or bufio -- extremely unlikely). I think there must be other goroutines in the stack trace. Can you please paste them too. Panic may occurring in some other goroutine.
Thanks once again.

@manugarg Thank you for the quick reply!
Sadly, the stack trace is that's all. I also think it is a strange issue.
Anyway, I also will debug it.
Thank you!

@mazing80 If you could share your config (privately if you'd prefer that), I can keep a cloudprober running with that config, or even look at the code for venues for possible panics. Also, if you have any other info, for example if adding of a specific probe or surfacer causes it, that will also help.

@manugarg Sorry for the late reply.
Here is my sample configuration:
probe {
        name: "api-staging"
        type: HTTP
        targets {
                host_names: "host1,host2,host3"
        }

        interval_msec: 5000             # 5s
        timeout_msec: 2000              # 2s

        latency_unit: "ms"
        latency_distribution {
                explicit_buckets: "2,4,8,16,32,64,128,256,512"
        }

        http_probe {
                relative_url: "/health"
                port: 8080
        }
}

probe {
        name: "api-release"
        type: HTTP
        targets {
                host_names: "host1-prod,host2-prod,host3-prod"
        }

        interval_msec: 5000             # 5s
        timeout_msec: 2000              # 2s

        latency_unit: "ms"
        latency_distribution {
                explicit_buckets: "2,4,8,16,32,64,128,256,512"
        }

        http_probe {
                relative_url: "/health"
                port: 8080
        }
}
...

But I found the cause.
Please see this code: https://github.com/google/cloudprober/blob/master/surfacers/prometheus/prometheus.go#L144-L159
If you look at the code, http.HandleFunc (ps.c.GetMetricsUrl (), ..) can be run multiple at the same time, and done will be passed to all currently running http.HandleFunc (ps.c.GetMetricsUrl (), ..). So maybe http.HandleFunc (ps.c.GetMetricsUrl (), ..) running ps.writeData(w) can receive done and be interrupted.
This causes the Writer to be reset internally and eventually panic occurs.

@mazing80 That's a great find. Excellent work :)
This bug is quite hard to reproduce because even if serving multiple requests in parallel, it depends a bit on chance -- which handler will read from the "done channel" first. Logic is clearly flawed though. I'll review your PR. Thank you!

Fixed by: https://github.com/google/cloudprober/commit/e086f8ef85cb1e7370cde07263bb314b8484cba2.

Prefect! I also encountered the same problem. I will verify if it can be solved effectively.

@MrDragon1122 Thanks for reporting. Please do let us know what you find :)


Import error with numpy.dot

After compiling the following example test_pythran.py
"""
import numpy as np
#pythran export mytest(float[],float[:,:])
def mytest(a,b):
res = np.dot(a,b)
return res
"""
with command :
pythran test_pythran.py
then, import test_pythran in python fails with the following error
"""

import test_pythran
Traceback (most recent call last):
File "", line 1, in
ImportError: ./test_pythran.so: undefined symbol: _Z11cblas_dgemv11CBLAS_ORDER15CBLAS_TRANSPOSEiidPKdiS2_idPdi
"""
Pythran version : 0.9.3
Python version : 2.7.16
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-5-amd64
Architecture: x86-64

numpy version : 1.16.2

Do you have  libatlas-base-dev installed?

(you should use python3 btw, python2 support ends at then end of 2019)

Yes libatlas-base-dev is installed (version 3.10.3-8).
(Sure we should go to python3 but this is some work to convert a big python2 project to python3 and test that all is ok...)

Can you try to install openblas and to add  this to your '~/.pythranrc` :
[compiler]
blas=openblas

Yes, this solves the issue.

Good to knwo. I'll still have a loo to the atlas issue later on, thus not closing the issue.


[YUNIKORN-1848] Report resource used by preempted pods in the app summary

What is this PR for?
YUNIKORN-1385 reports resource usage of application upon its completion. Given that preemption feature is added, we can also report resource used by pods being preempted, so we can have idea how much resource was used by both run-to-completion pods and pods being preempted.
What type of PR is it?

[ ] - Bug Fix
[x ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1848
How should this be tested?
Added checking in unit test
Screenshots (if appropriate)
In partition_test.go TestPreemption(t *testing.T) :
appSummary := app1.GetApplicationSummary("default")
appSummary.DoLogging()
assertPreemptedResource(t, appSummary, -1, 15000)

appSummary = app2.GetApplicationSummary("default")
appSummary.DoLogging()
assertPreemptedResource(t, appSummary, -1, 0)

Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Hi @pbacsko
Thanks again for your review. I just uploaded a new rev, that addressed the locking issue you pointed out. In addition, I changed the 3 seconds to 1 to minimize runtime as a mitigation. We can evaluate using "Tick()" separately as a framwork change?
Thanks.

Would you please help taking a look again and we can evaluate using "Tick()" separately as a testing framework change?

This is something that should be done in a separate JIRA. But I believe it's a worthwile undertaking.

Two minor nits

Hi @pbacsko thanks much for the review, I did a new rev to address both, really appreciate your further look. Best regards.
--Yongjun

+1


Option to add parameters to exe file when run

Hi,
Could there be an option add parameters after the exe has been chosen?
For example game.exe -xres=1920 -yres=1080

Hi @Blad3forc3, sure! I'll include this in the wizard & launcher.

Thanks Ruan, I have a few games that require parameters

One more thing, could you point me to a game & its required parameter so I can verify it works?

Diablo II. I'm trying to get the 3dfx mode to work (It does on the appimage version) with the gog version
nGlide needs to be installed within the flatimage too,
https://www.zeus-software.com/downloads/nglide
Install the game then launch with game.exe -3dfx

Could there also be an option to prefix an exe. I have a game that i need to reduce the cpu core amount before it runs. The command i need to prefix the wine command is "schedtool -a 0x1 -e"
so the command to run would be
schedtool -a 0x1 -e wine

Is there any file i can add a parameter to the exe in the flatimage setup?

Hi @Blad3forc3 , the boot file is a C++ generated binary, so that is not possible. There will be no need for that however:

You will also be able to change it in the launcher afterwards, it still needs a bit of testing however :smile:

Oh fantastic, Thanks Ruan

No problem. Feature released in v1.2.0

After trying the new gameimage the parameter is not being sent after the executable.  The field seems to register the parameters after you click out of it.

Fixed in v1.2.1, it should not update properly as you type.

Works great now Ruan thanks very much!
Just a question, if i wanted to prefix a command to the exe could that be added using the environment variables?
Could i just put into the fields schedtool -a 0x1 -e and that would be executed just as a WINEDLLOVERRIDE is?

Glad that it works! Currently I have plans to include a configuration tab to select which (or how many) CPU cores to use. Modifying the launch command directly is currently not supported.


pormo-term nitpicks

Nice program, saves me the trouble!
Stuff that would be cool:

a crate for porsmo-term, so I don't have to clone and cargo install --path . from the porsmo-term subfolder
in the --help:

document the abbreviations for the commands - p, s, t.
document allowed timer time formats.

if logging_config.yaml is missing the program dies with vague "file not found".

make that optional?
or remove it, I just commented that line out.

FWIW: for nix you can build with
$ cd porsmo-term
$ nix-shell -p cargo alsa-lib pkgconfig
$ cargo install --path .

There is a cargo install,
cargo install porsmo

about logging, I planned to learn about logging in this project, but got distracted, I agree deleting it would be better, I liked env_logger anyways.
In terms of porsmo-term, I have decided that, I liked the previous version of the project better, I think I will be reverting to that, and publish it. The previous version only contained the terminal version and no gui version.
Originally, I needed p, s, t commands for myself, but didn't think, other people would be interested in using those features. So I didn't document it.
For nix? Could you please elaborate further, I know about nix package manager and shell, what is it, that you're suggesting?

@bburdette Oh I hadn't used this program for a while, so I didn't quite remember what you were talking about, when you said document p, s, t. Now that I look at it, I misinterpreted something. I will be adding this to the to do list.

This is now implemented in version 0.3.0 specifically in 66d49e2. The way to specify time now documented in porsmo help through example


Overwrite the weights in load_from with new backbone weights

Prerequisite

[X] I have searched the existing and past issues but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

💬 Describe the reimplementation questions
Hello all,
I am currently trying to replace the backbone with a ResNeSt on one of the TOOD models.
Is there any way I can keep the weights of the original trained TOOD-Net with ResNet101 and just load in the weights of the new backbone (practically overwriting the weights of ResNet)?
tood_r101_fpn_dconv_c3-c5_mstrain_2x_custom.py:
_base_ = './tood_r101_fpn_mstrain_2x_coco.py'

model = dict(
    backbone=dict(
        dcn=dict(type='DCNv2', deformable_groups=1, fallback_on_stride=False),
        stage_with_dcn=(False, True, True, True),

        # RestNeSt 101
        stem_channels=128,
        depth=101,
        init_cfg=dict(type='Pretrained',
                      checkpoint='open-mmlab://resnest101')),
    bbox_head=dict(num_dcn=2))

load_from = 'https://download.openmmlab.com/mmdetection/v2.0/tood/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco_20211210_213728-4a824142.pth'

However, it seems that it is not the weights from the backbone that are initialized, but the ones from load_from. The output of the training with python train.py [config]:
2022-10-18 02:41:11,063 - mmdet - INFO - load checkpoint from http path: https://download.openmmlab.com/mmdetection/v2.0/tood/tood_r101_fpn_dconv_c3-c5_
mstrain_2x_coco/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco_20211210_213728-4a824142.pth
Downloading: "https://download.openmmlab.com/mmdetection/v2.0/tood/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco_$
0211210_213728-4a824142.pth" to /home/ies/nfriederich/.cache/torch/hub/checkpoints/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco_20211210_213728-4a824142.p$
h
100.0%
2022-10-18 02:41:28,498 - root - INFO - ModulatedDeformConvPack backbone.layer2.0.conv2 is upgraded to version 2.
2022-10-18 02:41:28,500 - root - INFO - ModulatedDeformConvPack backbone.layer2.1.conv2 is upgraded to version 2.
2022-10-18 02:41:28,502 - root - INFO - ModulatedDeformConvPack backbone.layer2.2.conv2 is upgraded to version 2.
2022-10-18 02:41:28,504 - root - INFO - ModulatedDeformConvPack backbone.layer2.3.conv2 is upgraded to version 2.
2022-10-18 02:41:28,506 - root - INFO - ModulatedDeformConvPack backbone.layer3.0.conv2 is upgraded to version 2.
2022-10-18 02:41:28,510 - root - INFO - ModulatedDeformConvPack backbone.layer3.1.conv2 is upgraded to version 2.
2022-10-18 02:41:28,512 - root - INFO - ModulatedDeformConvPack backbone.layer3.2.conv2 is upgraded to version 2.
2022-10-18 02:41:28,515 - root - INFO - ModulatedDeformConvPack backbone.layer3.3.conv2 is upgraded to version 2.
2022-10-18 02:41:28,517 - root - INFO - ModulatedDeformConvPack backbone.layer3.4.conv2 is upgraded to version 2.
2022-10-18 02:41:28,520 - root - INFO - ModulatedDeformConvPack backbone.layer3.5.conv2 is upgraded to version 2.
2022-10-18 02:41:28,522 - root - INFO - ModulatedDeformConvPack backbone.layer3.6.conv2 is upgraded to version 2.
2022-10-18 02:41:28,525 - root - INFO - ModulatedDeformConvPack backbone.layer3.7.conv2 is upgraded to version 2.
2022-10-18 02:41:28,527 - root - INFO - ModulatedDeformConvPack backbone.layer3.8.conv2 is upgraded to version 2.
2022-10-18 02:41:28,530 - root - INFO - ModulatedDeformConvPack backbone.layer3.9.conv2 is upgraded to version 2.
2022-10-18 02:41:28,532 - root - INFO - ModulatedDeformConvPack backbone.layer3.10.conv2 is upgraded to version 2.
2022-10-18 02:41:28,535 - root - INFO - ModulatedDeformConvPack backbone.layer3.11.conv2 is upgraded to version 2.
2022-10-18 02:41:28,537 - root - INFO - ModulatedDeformConvPack backbone.layer3.12.conv2 is upgraded to version 2.
2022-10-18 02:41:28,540 - root - INFO - ModulatedDeformConvPack backbone.layer3.13.conv2 is upgraded to version 2.
2022-10-18 02:41:28,542 - root - INFO - ModulatedDeformConvPack backbone.layer3.14.conv2 is upgraded to version 2.
2022-10-18 02:41:28,544 - root - INFO - ModulatedDeformConvPack backbone.layer3.15.conv2 is upgraded to version 2.
2022-10-18 02:41:28,547 - root - INFO - ModulatedDeformConvPack backbone.layer3.16.conv2 is upgraded to version 2.
2022-10-18 02:41:28,549 - root - INFO - ModulatedDeformConvPack backbone.layer3.17.conv2 is upgraded to version 2.
2022-10-18 02:41:28,552 - root - INFO - ModulatedDeformConvPack backbone.layer3.18.conv2 is upgraded to version 2.
2022-10-18 02:41:28,554 - root - INFO - ModulatedDeformConvPack backbone.layer3.19.conv2 is upgraded to version 2.
2022-10-18 02:41:28,557 - root - INFO - ModulatedDeformConvPack backbone.layer3.20.conv2 is upgraded to version 2.
2022-10-18 02:41:28,559 - root - INFO - ModulatedDeformConvPack backbone.layer3.21.conv2 is upgraded to version 2.
2022-10-18 02:41:28,562 - root - INFO - ModulatedDeformConvPack backbone.layer3.22.conv2 is upgraded to version 2.
2022-10-18 02:41:28,565 - root - INFO - ModulatedDeformConvPack backbone.layer4.0.conv2 is upgraded to version 2.
2022-10-18 02:41:28,570 - root - INFO - ModulatedDeformConvPack backbone.layer4.1.conv2 is upgraded to version 2.
2022-10-18 02:41:28,575 - root - INFO - ModulatedDeformConvPack backbone.layer4.2.conv2 is upgraded to version 2.
2022-10-18 02:41:28,584 - root - INFO - ModulatedDeformConvPack bbox_head.inter_convs.0.conv is upgraded to version 2.
2022-10-18 02:41:28,585 - root - INFO - ModulatedDeformConvPack bbox_head.inter_convs.1.conv is upgraded to version 2.
2022-10-18 02:41:28,595 - mmdet - WARNING - The model and loaded state dict do not match exactly

size mismatch for backbone.conv1.weight: copying a param with shape torch.Size([64, 3, 7, 7]) from checkpoint, the shape in current model is torch.Size(
[128, 3, 7, 7]).
size mismatch for backbone.bn1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
size mismatch for backbone.bn1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
size mismatch for backbone.bn1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]
).
size mismatch for backbone.bn1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128])
.
size mismatch for backbone.layer1.0.conv1.weight: copying a param with shape torch.Size([64, 64, 1, 1]) from checkpoint, the shape in current model is t
orch.Size([64, 128, 1, 1]).
size mismatch for backbone.layer1.0.downsample.0.weight: copying a param with shape torch.Size([256, 64, 1, 1]) from checkpoint, the shape in current mo
del is torch.Size([256, 128, 1, 1]).
size mismatch for bbox_head.tood_cls.weight: copying a param with shape torch.Size([80, 256, 3, 3]) from checkpoint, the shape in current model is torch
.Size([2, 256, 3, 3]).

Thx a lot :)
Environment
Using Pytorch 1.13 and conda
Expected results
No response
Additional information
Config see above

You can set init_cfg in bbox_head. For example:
    bbox_head=dict(
        num_dcn=2,
        init_cfg=dict(
            type='Pretrained',
            checkpoint='https://download.openmmlab.com/mmdetection/v2.0/tood/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco/tood_r101_fpn_dconv_c3-c5_mstrain_2x_coco_20211210_213728-4a824142.pth'))


Telemetry data for tools and example_pipeline is not collected in packaged Kedro projects

When a user creates a Kedro project using kedro new, packages it with kedro package, and subsequently installs and runs it using project_name, the pyproject.toml file, which serves as a source for telemetry data about tools and the example_pipeline, is not present. As a result, telemetry submissions to Heap include a singular event labeled "Kedro Project Statistics," devoid of details on tools and the example pipeline.
For further discussion, see here.
(Comes from @DimedS on https://github.com/kedro-org/kedro-plugins/issues/566)

Discussed in grooming that collecting information about tools and example for packaged project isn't a priority.


Add F5 in Service Management section

F5 has a number of Pinned repositories https://github.com/F5Networks on Github including our latest container integrations with Kubernetes and Mesos/Marathon that are available for download on Docker Hub https://hub.docker.com/r/f5networks/ and Docker Store https://store.docker.com/images/f5networks-asp.

Hi, @jonathan79 thanks for the request. We'll need a higher res version of the logo in order to include. Thanks

Shawn – here are some high res versions. Let me know if you need it in a different format than above.
Thanks,
Jonathan George | Sr Product Marketing Manager
(206) 272-6474 | f5.comhttps://f5.com/
From: Shawn Preissner <notifications<EMAIL_ADDRESS>Reply-To: cncf/landscape <reply<EMAIL_ADDRESS>Date: Thursday, June 15, 2017 at 9:42 AM
To: cncf/landscape <landscape<EMAIL_ADDRESS>Cc: Jonathan George <jonathan.george<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [cncf/landscape] Add F5 in Service Management section (#125)
Hi, @jonathan79https://github.com/jonathan79 thanks for the request. We'll need a higher res version of the logo in order to include. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/cncf/landscape/issues/125#issuecomment-308798360, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZopJ5DOQTpdprIa5vRjKN7GX6xJWSWmks5sEV7ZgaJpZM4N6hj9.

@jonathan79  I don't see the mentioned files, am I missing them somewhere? Thanks

I attached them in the email. If you don't see them attached to the previous email then I'll resend. I could upload them to dropbox if needed.
From: Shawn Preissner <notifications<EMAIL_ADDRESS>Reply-To: cncf/landscape <reply<EMAIL_ADDRESS>Date: Thursday, June 15, 2017 at 2:52 PM
To: cncf/landscape <landscape<EMAIL_ADDRESS>Cc: Jonathan George <jonathan.george<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [cncf/landscape] Add F5 in Service Management section (#125)
@jonathan79https://github.com/jonathan79 I don't see the mentioned files, am I missing them somewhere? Thanks

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/cncf/landscape/issues/125#issuecomment-308876076, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZopJ81QantOkSUvNTynUGCLQtOgxppOks5sEaergaJpZM4N6hj9.

@jonathan79 not seeing attached. Please just upload jpg or png on github...no need for an .ai file

f5-logo-solid-cmyk.pdf

Thanks @jonathan79 and stay tuned as we're releasing a new version shortly, and including F5.

Great, thanks @shawnpreissner

Thanks @jonathan79, closing as this update was included in the most recent version https://github.com/cncf/landscape#cloud-native-landscape-project


Controlmob an airlock then click spams exceptions for game states

Replicated, but... not in Client. Mine trips an assert elsewhere, soft-locking the game for the client that controlmob'd the door.
Traceback
[ERRO] PVS: Caught exception while generating mail.
Robust.Shared.Utility.DebugAssertException: Exception of type 'Robust.Shared.Utility.DebugAssertException' was thrown.
   at Robust.Shared.Utility.DebugTools.Assert(Boolean condition) in /home/steam/SS14/src/space-station-14/RobustToolbox/Robust.Shared/Utility/DebugTools.cs:line 31
   at Robust.Server.GameStates.EntityViewCulling.GenerateEntityStates(List`1 entityStates, ICommonSession session, GameTick fromTick, HashSet`1 currentSet, List`1 deletions) in /home/steam/SS14/src/space-station-14/RobustToolbox/Robust.Server/GameStates/EntityViewCulling.cs:line 445
   at Robust.Server.GameStates.EntityViewCulling.CalculateEntityStates(ICommonSession session, GameTick fromTick, GameTick toTick) in /home/steam/SS14/src/space-station-14/RobustToolbox/Robust.Server/GameStates/EntityViewCulling.cs:line 232
   at Robust.Server.GameStates.ServerGameStateManager.<>c__DisplayClass29_0.<SendGameStateUpdate>g__SendStateUpdate|0(IPlayerSession session) in /home/steam/SS14/src/space-station-14/RobustToolbox/Robust.Server/GameStates/ServerGameStateManager.cs:line 204
   at Robust.Server.GameStates.ServerGameStateManager.<>c__DisplayClass29_0.<SendGameStateUpdate>b__1(IPlayerSession session) in /home/steam/SS14/src/space-station-14/RobustToolbox/Robust.Server/GameStates/ServerGameStateManager.cs:line 241

It looks like
https://github.com/space-wizards/RobustToolbox/blob/8d0070b5c39c1c829f7d21b5ded28c9713923da6/Robust.Server/GameStates/EntityViewCulling.cs#L446
assumes that the player is never going to be anchored, which doors obviously are. I was also able to trigger the same behavior by anchoring the player's TransformComponent through VV.


Question: Is there any public CI server for this project?

I was wondering if there is any public CI server for this project available online, so we can check how the browser images are created with the available commands, tested (with which Selenoid version...) and published to the Docker hub.

@ruescar currently I'm building all this stuff manually with provided automation scripts on a dedicated server.

Ok


Feature/maggie

Successfully pulling from api and displaying options. Need to solve Token expire issue (expires every 30mins).

Using localstorage and json api: display items to cart, calculate user total


Apple Safari extension policy

Apparently I'll need to buy into the Apple Developer Program to continue publishing ng-inspector for Safari. Which means paying $100/year, pushing the cost to $118/year including the ng-inspector.org domain name.
Unfortunately, I simply can't afford that. I'll try to set up some sort of donation button on the site, but for now this means ng-inspector will no longer support Safari in OS X 10.11+ =/

I'll pay for the first year. You've worked hard on this extension, and it's helped me a ton.

Thanks a lot Drew, but I have to say I'm not super comfortable accepting the offer.

I understand. I'm sure all the Safari users will pitch in if you set something up.

Is this a recent project? Was wondering why it not submitted to Safari extensions gallery (that is the current one before the new one in the fall comes that requires the paid Apple Dev program). Just mentioned this as Chrome extension is the only one in an app store/gallery right now, at least from the links on the project page.

@daluu it's actually in their gallery: https://extensions.apple.com/details/?id=com.rev087.ng-inspector-76VT48N9LK
Their current gallery doesn't actually host the extensions or the auto-update metadata, hence we just link to the download directly in the project page. Each developer is supposed to handle both hosting the extension and the metadata, which means you need to trust the developer and represents a a big security risk, so it's understandable that they are changing this.
As for Firefox, it isn't yet listed on the Mozilla Add-on Gallery because it got rejected in the community-sourced review process (twice now), but we're in the process of adapting to meet their requirements.

@rev087 Did you ever get signed up for an Apple dev account?


implementation of modular serializer/deserializer

Refactored serializer/deserializers classes in order to be overridden and passed to the Whatsapp constructors, for instance:
        Serializers serializers = Serializers.builder()
                .serializer(new DefaultControllerSerializerProvider())
                .deserializer(new DefaultControllerDeserializerProvider())
                .build();
        var whatsapp = Whatsapp.lastConnection(options, serializers)
                .addLoggedInListener(api -> {
                    System.out.println("Connected: " + api.store().userCompanionJid());
                    api.sendMessage(ContactJid.of("393495089819"), "test");
                })

My java is a bit rusty and there are issues with the lombok generated classes, hopefully you can help to fix this (this issue is reproducible even without my changes).

Refactored serializer/deserializers classes in order to be overridden and passed to the Whatsapp constructors, for instance:
        Serializers serializers = Serializers.builder()
                .serializer(new DefaultControllerSerializerProvider())
                .deserializer(new DefaultControllerDeserializerProvider())
                .build();
        var whatsapp = Whatsapp.lastConnection(options, serializers)
                .addLoggedInListener(api -> {
                    System.out.println("Connected: " + api.store().userCompanionJid());
                    api.sendMessage(ContactJid.of("393495089819"), "test");
                })

My java is a bit rusty and there are issues with the lombok generated classes, hopefully you can help to fix this (this issue is reproducible even without my changes).

Hello, thanks for opening a PR!
Currently serializers and deserializers get registered through the SPI api. Is there any reason why you propose to pass it explicitly instead?
Also I would have personally put the serializer option in the WhatsappOptions class, is there any reason for not doing so in your opinion?

Hello,

I think is more flexible to specialize and pass the serializers, in this way you could cleanly use more than one kind of serializer specialization, for different data stores, on the same project.
right, my first though was as well of putting the serializers inside the WhatsappOptions and is probably the correct choice, I made the assumption you didn't want it there since you didn't put it there already :)
As said, I'm not proficient in java (I develop mainly in scala) and there is some issue with Lombok that I wasn't unable to solve.
Just a note, I tend to not use preview features, because they tend to change and tend to require additional work of refactoring. On the other side I understand that is nice sometime to avoid boilerplate code :)
The project is really good in any case! So compliments and thanks for your effort!

Hello,

I think is more flexible to specialize and pass the serializers, in this way you could cleanly use more than one kind of serializer specialization, for different data stores, on the same project.
right, my first though was as well of putting the serializers inside the WhatsappOptions and is probably the correct choice, I made the assumption you didn't want it there since you didn't put it there already :)
As said, I'm not proficient in java (I develop mainly in scala) and there is some issue with Lombok that I wasn't unable to solve.
Just a note, I tend to not use preview features, because they tend to change and tend to require additional work of refactoring. On the other side I understand that is nice sometime to avoid boilerplate code :)
The project is really good in any case! So compliments and thanks for your effort!

I understand. Can you check the latest commit I pushed to master?
It actually makes sense to have the serializer and deserializer in the options to avoid the whole isBest thing, I should have thought about it earlier.

@Auties00 looks good to me!

we can close this PR.


I have made a file called Drafts where all the draft codes have been …

…placed

Hey guys I've just placed all of the drafts into a new folder called drafts. so anyone feel free to merge my pull request.


Nvim process crash maybe?(or electron?)

Hello,
I'll update the title with something more meaningful as soon as I find out what's going wrong, but I was wondering if I could have your input on a particular issue.
When I try to open certain files in the component, I get a "Inspected target disconnected" popup in DevTools (see image below), and the whole electron window becomes unresponsive.
Do you have any idea where this could come from? I'm not sure where to start debuging. (I'm not sure either that this is a neovim-component issue.)
(The window right after executing :e sass/main.scss)

The 'Inspected target disconnected' message is generally shown when the render process ends before closing DevTools window.  (One DevTools corresponds to one render process (BrowserWindow or webview).

If render process is broken because of Electron bug, some error message may be shown in console.

Definitely not neovim-component, reproduced with electron & other processes.

Thank you for investigation :smile:


Run functional specs in CI

Currently, only unit specs are run. We need to be able to dynamically set up a Kafka cluster in order to get the specs to work.

Closed by #181.


Command entry mode needs to stretch the full width to allow for longer queries

Currently the command line window at the bottom only displays the first 80 characters or so.  In doing so it arbitrarily cuts off long queries.  This is especially annoying when trying to debug long redis graph queries for instance.  Please allow the text box to expand full width of the screen.  Even better would be a multi-line box which can be resized to allow for even longer blocks of text.

updated line width to available space. But its single line only. Have to do some deeper check for multi line input. And there is a related issue #367 to allow multi line inputs as well.
If its working for a single line better now i like to close this one in favor of the other issue to handle multi-line inputs...

Thank you that will help a lot.