[computer use] Adjusting 'Only send N most recent images' does not seem to work

When I set "Only send N most recent images" to 1, the requests continue to include all previous images.
Simple example is "open terminal":

First request sends the user instruction and receives the computer instructions to take a screenshot.  All good here.
Second request returns the screenshot data, the response to this says to move to the terminal icon and click.  All good here.
The third request has the problem.  Here is the request object:

{
  "max_tokens": 4096,
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "open terminal",
          "cache_control": { "type": "ephemeral" }
        }
      ]
    },
    {
      "role": "assistant",
      "content": [
        {
          "type": "text",
          "text": "I'll help you open a terminal. Since we're in a GUI environment, we need to find and click on the terminal icon. Let me take a screenshot first to locate it."
        },
        {
          "id": "toolu_01UVk5YSDhjm2QWqjDZ1PLiB",
          "input": { "action": "screenshot" },
          "name": "computer",
          "type": "tool_use"
        }
      ]
    },
    {
      "content": [
        {
          "type": "tool_result",
          "content": [
            {
              "type": "image",
              "source": {
                "type": "base64",
                "media_type": "image/png",
                "data": "iVWnqNX <snip> zAwOjAw/oHREAAAAABJRU5ErkJggg=="
              }
            }
          ],
          "tool_use_id": "toolu_01UVk5YSDhjm2QWqjDZ1PLiB",
          "is_error": false,
          "cache_control": { "type": "ephemeral" }
        }
      ],
      "role": "user"
    },
    {
      "role": "assistant",
      "content": [
        {
          "type": "text",
          "text": "I can see the terminal icon in the taskbar (it looks like a black box with \">_\" in it). I'll move the cursor to it and click:"
        },
        {
          "id": "toolu_01KUHFhE4vc63WdYkx9ixb81",
          "input": { "action": "mouse_move", "coordinate": [750, 738] },
          "name": "computer",
          "type": "tool_use"
        },
        {
          "id": "toolu_018kAVgzSun9izofvrWozHmS",
          "input": { "action": "left_click" },
          "name": "computer",
          "type": "tool_use"
        }
      ]
    },
    {
      "content": [
        {
          "type": "tool_result",
          "content": [
            {
              "type": "image",
              "source": {
                "type": "base64",
                "media_type": "image/png",
                "data": "iVBORf <snip> RU5ErkJggg=="
              }
            }
          ],
          "tool_use_id": "toolu_01KUHFhE4vc63WdYkx9ixb81",
          "is_error": false
        },
        {
          "type": "tool_result",
          "content": [
            {
              "type": "image",
              "source": {
                "type": "base64",
                "media_type": "image/png",
                "data": "iVBORw0hdGU6bW9 <snip> A6MDBB5sxuAAAAAElFTkSuQmCC"
              }
            }
          ],
          "tool_use_id": "toolu_018kAVgzSun9izofvrWozHmS",
          "is_error": false,
          "cache_control": { "type": "ephemeral" }
        }
      ],
      "role": "user"
    }
  ],
  "model": "claude-3-5-sonnet-20241022",
  "system": [
    {
      "type": "text",
      "text": "<snipped-for-size>",
      "cache_control": { "type": "ephemeral" }
    }
  ],
  "tools": [
    {
      "name": "computer",
      "type": "computer_20241022",
      "display_width_px": 1024,
      "display_height_px": 768,
      "display_number": 1
    },
    { "type": "bash_20241022", "name": "bash" },
    { "name": "str_replace_editor", "type": "text_editor_20241022" }
  ]
}

The issue is in the three data values.
The three data values are for:

The initial screenshot.
The screenshot after the mouse move.
The screenshot after the terminal click.

The expectation is that only the last will be included, while the others will be redacted in some way.
Short video:
https://github.com/user-attachments/assets/cc47139e-7bc4-450a-817f-4f74cf1161f8

it seems to be thatmin_removal_threshold is causing this:
https://github.com/anthropics/anthropic-quickstarts/blob/8f734fd08c425c6ec91ddd613af04ff87d70c5a0/computer-use-demo/computer_use_demo/loop.py#L215
It is only the case where the images_to_remove > min_removal_threshold that images will be removed.  So there is no use to setting this value lower than min_removal_threshold, unless my logic is misguided.
For example, in the case of "open terminal", the third request will have 3 total images (screenshot, move cursor, and click).  If i set images_to_keep to 2, then images_to_remove would be 1.  so images_to_remove % min_removal_threshold would be 1 % 10, which would be 1, so it would be 1 -= 1, thus images_to_remove would be 0.
A few options for routes to resolution:

Drop the min_removal_threshold altogether.  What is its intended purpose?  What does the comment "for better cache behavior, we want to remove in chunks" intend to mean?
Set min_removal_threshold to 1.  Probably the same result of dropping it altogether, but it would change 1 character instead of a few lines of code.
Don't let the user set a value < 10 if it won't have an effect.  Images get expensive quickly, especially for just-poking-around developers.  Also, at least for simple Open terminal kind of operations, 1 image seems to be sufficient.

I'd vote for option 2.

Testing by setting image_truncation_threshold = 1 and send N most recent images to 2 indeed worked.  The first of the 3 images was purged:

What does the comment "for better cache behavior, we want to remove in chunks" intend to mean?

I think I can hazard an answer at this one. If the new HTTP json payload (convo) it's just the previous one with a message added to the end, Claude can cache the previous one, load that into the LLM-state, and just run the diff-tokens thru.

So removing images invalidates the cache, ergo you gotta strike a balance.

@p-i- not sure I understand...
In my (admittedly limited/mvp-level) usages, I really only need to send the latest image.  I certainly don't need to send the first image (the same generic screen everyone sends on their first request) more than the first request.  I imagine I only ever would need to send the latest image, or maybe two if the request is checking for a change.

@bmacer hmm now that's an interesting idea. Calculate the diff between the current and last image. And send the diff together with the new image. intrrdastingk.


Support for ChatGLM

hi
is there any plan to support https://github.com/THUDM/ChatGLM-6B
thanks

Hi, there are no immediate plans, but we can add it to our list. Do you know if there are any existing GGML implementations of ChatGLM?

Any progress with this model?

Hi, there are no immediate plans, but we can add it to our list. Do you know if there are any existing GGML implementations of ChatGLM?

maybe this repo can help the "GGML" https://github.com/li-plus/chatglm.cpp


Failed to configurate v1.1.0

Something broke when I installed the latest update of Nysse integration v1.1.0. The integration got "failed to unload" -status. After rebooting the integration started working again but failed to unload again in the middle of night. I tried to reinstall the integration but now I cannot configure it. I have no logs of the failed to unload error but the here's the configuration error and its log.
Error
Config flow could not be loaded: 400: Bad Request
Logger: custom_components.nysse.fetch_api
Source: custom_components/nysse/fetch_api.py:37
Integration: Nysse ([documentation](https://github.com/warrior25/HA-Nysse), [issues](https://github.com/warrior25/HA-Nysse/issues))
First occurred: 10:27:46 (1 occurrences)
Last logged: 10:27:46

Failed to fetch stops: 'body'

I will have a look into this

Integration unloading should be fixed in v.1.1.1. The API providing stops seems to be having some issues, which causes the integration to not work properly right now. There's probably also a need to improve error logging, so that it is clear when errors are caused by Nysse API instead of the integration.


Ghosting/foggy objects in the scene

For sure this is a great, wonderful work, but I do see lots of ghosting/foggy objects in the scene. Could you explain why this happens and how this can be improved/eliminated? Thanks.

This is due to the splat itself. It can get the depth of things (often the sky or walls) wrong. Usually I have run into this by not having enough variety in my source images. Make sure you take photos from a variety of angles and, if your using video, reduce the motion blur as much as possible. Also using a higher quality camera seems to help. Even an iPhone 15 will get much better results than an iPhone X.


Add supporting OR-operator in 'where' condition

Proposal for implementation
Simple condition
SQL:
a = 1 AND b = 2

Erlang:
#{
    a => 1,
    b => 2
}

New operator OR
SQL:
a = 1 AND (b = 2 OR c = 3)

Erlang:
#{
    a => 1,
    {or} => #{
        b => 2
        c => 3
    }
}

Complex examle
(a = 1 AND b = 2) OR (c = 3 AND d=4)

#{
    {or} => #{
        {and} => #{
            a => 1
            b => 2
        },
        {and} => #{
            c => 3,
            d => 4
        }
    }
}

or equivalent with using list
#{
    {or} => [
        #{
            a => 1
            b => 2
        },
        #{
            c => 3,
            d => 4
        }
    ]
}


jti?

Hello,
Can I use jti to revoke tokens? If yes, can I set it and read it in your module?
Thank you

Just add a jti claim in the payload. From what I've understood, jti is just a standard claim name for a unique identifier (I guess you could have id, _id, uid, etc...).
About revocation, I guess you'll have to implement that logic server-side, and I don't think it should be the responsibility of a jwt module.

Hi @izanagi1995 Can I close this issue ?

Yes!

Thank you !


Backport fix entropy src edn req

Manual backport of #22579 due to a minor conflict in the BUILD file.

Since we now have the defines in the es_sival branch, we might as well keep it. What do you think?

Sure, I guess that's fine. I could see it being useful and it doesn't really add any code.

I believed I have addressed all comments


selfhost/parser: Add support for parsing is not expressions

Hello!
One or more of the commit messages in this PR do not match the Jakt code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.


Made changes to pass all test cases

@Raxerz For one, it's a cheeky warping of the challenge; and for second, it's not even Pythonic!


Bump lower bound of base package: GHC 7.0 is not supported

As witnessed by Hackage Matrix Builder (https://matrix.hackage.haskell.org/#/package/unbounded-delays) unbounded-delays-<IP_ADDRESS> and unbounded-delays-<IP_ADDRESS> no longer support GHC 7.0. I checked that GHC 7.2 is fine.
I'd appreciate Hackage revisions for both versions, because it poses certain difficulties for bytestring testing.

@basvandijk ping

Thank you for the pull request @Bodigrim. We'll release an updated version on Hackage.

As a Hackage trustee, I made the discussed revisions for  <IP_ADDRESS> and <IP_ADDRESS> to exclude invalid build plans:
https://hackage.haskell.org/package/unbounded-delays-<IP_ADDRESS>/revisions/
https://hackage.haskell.org/package/unbounded-delays-<IP_ADDRESS>/revisions/


⚠ Telly has degraded performance

In 210ce64, Telly ($TLY) experienced degraded performance:

HTTP code: 200
Response time: 1312 ms

Resolved: Telly performance has improved in 245acec.


About Normalized MultiWoz Dataset,

Hi,
Thank you for sharing your code.
I wondered how did you normalize MultiWoz dataset.
For example, class "NormMultiWozCorpus" in latent_dialog/corpora.py,
bs_size = 94,
db_size = 30,
db_types = ['b', 'c']
Could you explain how 'bs_size' is 94, 'db_size' is 30, and what 'b' and 'c' means?
and could you share the overall process of normalizing?
(If you can share your pre-process code, It's very helpful.)

I use the same script from the original repo of MWoz 2.0.  https://github.com/budzianowski/multiwoz

@snakeztc  Thank you for your quick reply!
I can check repo of MWoz 2.0. https://github.com/budzianowski/multiwoz


[Linux] No text in terminal, tiny fonts in browser

I can navigate with mouse clicks, but arrow keys don't seem to work.
This is in Development mode

Currently node-mc is heavily related on Courier font family for proper font measurements. Can you check 'Courier', 'Courier New' font availability on your system?

Tried to address this issue with web font (https://cdn.rawgit.com/giuliandrimba/labs/master/public/fonts/courier-webfont.woff2), but looks like it has wrong metrics, so some symbols are wider then expected.


Status Logging

I have a pretty simple Requester/Responder setup running on a single dev machine at the moment. There is a set of main app instances with a requester and a set of workers with a responder.

Is it expected behavior for the Requesters/Responders to go online/offline every few seconds?
If you set statusLogsEnabled: false for the options it only disables logging for offline status; online status is still logged (repeatedly).

Hello! It's certainly not expected. They should be up as long as they are running. One possible culprit is this: online / offline messages don't depend on actual mutual communication being open; but rather depend on health checks and status updates. So every 2 or 3 seconds, components fire hello messages, saying that they are online. And if a component didn't receive a hello message from another component, it marks the latter as "offline". When they receive it; they mark them as "online".
So it might be that you changed these defaults, or your network has problems with multicast / broadcast (unlikely). One other problem is, if you have very high CPU load, or if you have a lot of synchronous operations, you may prevent the occurance of these hello messages. If you have a synchronous loop that runs for 4 seconds, for example, you will certainly miss a hello message. So it's natural for other components to mark this component as offline.
For the second point, I didn't know it was a case. I shall look into it and fix it.

Interesting. Thanks for the info. Maybe it has something to do with the way the requesters are being initialized in the app (it's built on Loopback - the requester is set up when a mixin is applied to a model. The responder is launched by PM2 separately). I'll try refactoring some stuff and see if it changes anything. Regardless, the messaging still works, a responder will still pick up a request, even though the statuses are flapping. Maybe that's just luck though.

Well, cote is built exactly for this specific purpose; high-availability. As long as the requester doesn't die; you won't lose any messages, even if you have unstable responders.


Updated tests so the PR that fixes Test-IsLocalAccount pass.

Fixed issue when Set-TargetResource would falsely error when Ensure=Absent

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

Codecov Report

Merging #50 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@        Coverage Diff         @@
##           dev   #50    +/-   ##
==================================
+ Coverage   80%   81%   +<1%
==================================
  Files        4     4
  Lines      315   316     +1
==================================
+ Hits       254   257     +3
+ Misses      61    59     -2


Language packs version

Added upstream field for language pack metadata. This fields telling which version of upstream language pack (en.json language pack is set as upstream for us) is implemented in this pack.
Closes #22.

I'm not sure that you need to create an additional field of the inherited en.json pack. It seems to me that this can cause confusion.
Most likely, custom packs should have the version whose pack they inherit.

upstream fields telling us which version of default (en.json) pack is implemented in this child pack.
Example:

en.json updated to 1.4.12
ru.json updated to 1.3.1 with upstream field equals to 1.4.12.
en.json updated to 1.5.3

So now ru.json implements old version of en.json pack and must be updated ASAP.

@koloml I suggest that the version field will indicate the version of the base pack, as the upstream field does now.

I think that isn't correct. We can make some minor fixes for some different pack but make no changes in basic pack.

In other words, the version field will ensure that the current pack contains a clear translation of the specified version of the base pack.

I think that isn't correct. We can make some minor fixes for some different pack but make no changes in basic pack.

Didn’t think about it. However, it seems to me that there is no need to change the version for minor changes to the inherited package.


No depth test on SpatialMaterial not working like before?

Godot version:
fa35a73f0
OS/device including version:
GNU/Linux x64
Issue description:
I had this setup to show an object behind walls in 3.1

but now it looks like this

is this intentional?
MRP:
ShowObjectBehindWalls.zip

Can you upload an MRP?

@clayjohn MRP uploaded, though everything was in the first screenshot.

Thanks. MRPs are always helpful because users often don't realize that they have particular settings set that impact the bug.
Technically this isn't a bug it is expected behaviour. Originally (and in 3.1.1) objects with "No Depth Test" would be drawn as part of the opaque pass. However, the sky is drawn after the opaque pass for performance reasons. So if any object with "No Depth Test" was drawn within nothing between it and the sky, it would disappear behind the sky (this bug). Further, you had to carefully tweak render_priority in order for it to appear in front of other stuff.
Accordingly, "No Depth Test" objects need to be a part of the alpha pass so they could be properly sorted before being drawn. I implemented that behaviour in https://github.com/godotengine/godot/pull/29132.
This way "No Depth Test" objects are always drawn appropriately. But the drawback is they are not mixed into the opaque pass, they are always drawn after opaque objects in the alpha pass. In order to fix this, you need to set your base object to be mixed into the transparent pass as will with the "Transparent" flag.

@clayjohn  Thank you very much for the detailed answer, turning on the transparent flag on both materials and changing the first one's depth draw mode to opaque prepass or always fixed my problem.


[FEATURE] Add a variable related with fromBackup to helm chart of longhorn.

Is your feature request related to a problem? Please describe (👍 if you like this request)
Add a variable related with fromBackup to helm chart of longhorn.

Describe the solution you'd like
It would be nice to add a value to Helm chart values that can modify the "fromBackup" of the longhorn storage class.

Describe alternatives you've considered

Additional context

@bkkoli

It would be nice to add a value to Helm chart values that can modify the "fromBackup" of the longhorn storage class.

Do you mean newly created stroage classes or the default longhorn storage class?

@derekbit
Why don't you add it to the Default Storage Class and set the default to "" like Helm Chart's Storage Class Template now?

@derekbit

You are right.
We currently always set fromBackup to "". What you want is to add fromBackup in values.yaml, correct?

Yes, Exactly right.
Thank you for considering my opinion.

@derekbit, if we agree to do anything, let's first add it to the backlog milestone to ensure it won't be missed.


[Downloads Manager] Wrong file order

Extension
https://www.raycast.com/thomas/downloads-manager
Raycast Version
1.88.4
macOS Version
15.0.1
Description
When I download a new file, I expect it to appear first on the list in “Manage Downloads,” sorted the same way as in Finder by “Date added.” Instead, it ends up somewhere in the middle because it is sorted by “Date created.”

Steps To Reproduce

download some file (for me Ice.app)
open Manage Downloads in Raycast
Ice.app is not in the list at first position, as expected

Current Behaviour
latest downloaded file will be always at first posistion in Manage Dowloads list (files ordered by "date added")
Expected Behaviour
files in Manage Downloads are organized by "Created" or maybe "Modified" date/time

@raycastbot assign me


decrease binary size

check the binary size on https://github.com/tnyo43/i18n-locale-lint/commit/6d5053a23601007d32479e87e3ce1877c99ab44d

title
command
size

release build
RELEASE=t sh build.sh
3,655,911

release build + wasm snip
RELEASE=t sh build.sh + wasm-snip i18n-locale-lint-cli.wasm -o i18n-locale-lint-cli.snip.wasm
1,584,083

opt-level="z" + release build
RELEASE=t sh build.sh
3,655,911


Support limiting MetaProtoExtendedSession cookies to context path

This PR add support for limiting the extended sessions provided by MetaProtoExtendedSession to the current context path instead of /.  To use this, add with ContextPathExtendedCookie to your MetaProtoExtendedSession.
Closes #1758.

If I don't hear any further feedback by Monday afternoon, I'll go ahead and merge this.


Completion of std library breaks with nickel dependency

Using a cargo-created project dir, if I add a dependency on the nickel library and execute cargo build, I can no longer get completions for the std namespace. i.e. Typing use std:: and pressing Ctrl-Space doesn't popup modules in the std namespace. Completions for modules within the project still work, as well as completions for the nickel library.
Cargo.toml:
[package]
name = "cah-server"
version = "0.1.0"
authors = ["Gordon Tyler<EMAIL_ADDRESS>
[dependencies]
nickel = "0.8.1"

main.rs:
#[macro_use]
extern crate nickel;

use nickel::Nickel;

fn main() {
    let mut server = Nickel::new();

    server.utilize(router! {
        get "**" => |_req, _res| {
            "Hello world!"
        }
    });

    server.listen("<IP_ADDRESS>:6767");
}

This only occurs if the Cargo.lock file exists. If I delete it, I can immediately switch back to VSCode and get completions for the std namespace.
I do not have this problem with another project which has different (not nickel) dependencies declared in Cargo.toml.

Can you try getting completion information through the racer command line interface? If you are not able to, this is a racer issue.

I'm actually experiencing this issue with a different set of dependencies as well:
[dependencies]
rustless = "*"
iron = "*"
rustc-serialize = "*"
valico = "0.8.2"
hyper = "0.8.1"

Executing racer complete std:: in the project directory produces 54 matches.
If I try racer complete 12 10 src/main.rs where line 12 (1-based) contains the text use std::, I get the follow output:
PREFIX 9,9,
END

If I delete that incomplete line and try race complete 10 10 src/main.rs where line 10  contains the text use std::collections::HashMap;, I get the following output:
PREFIX 9,10,c
ERROR:racer::cargo: ERROR!: Error { repr: Os { code: 2, message: "No such file or directory" } } registry/src/github.com-88ac128001ac3a9a/racer-1.2.9/src/racer/cargo.rs 435
^^^ repeated many times ^^^
MATCH core,1,0,/usr/local/src/rust/src/libcore/lib.rs,Module,/usr/local/src/rust/src/libcore/lib.rs
MATCH core_collections,1,0,/usr/local/src/rust/src/libcollections/lib.rs,Module,/usr/local/src/rust/src/libcollections/lib.rs
MATCH core_rand,1,0,/usr/local/src/rust/src/librand/lib.rs,Module,/usr/local/src/rust/src/librand/lib.rs
MATCH cell,1,0,/usr/local/src/rust/src/libcore/cell.rs,Module,/usr/local/src/rust/src/libcore/cell.rs
MATCH clone,1,0,/usr/local/src/rust/src/libcore/clone.rs,Module,/usr/local/src/rust/src/libcore/clone.rs
MATCH cmp,1,0,/usr/local/src/rust/src/libcore/cmp.rs,Module,/usr/local/src/rust/src/libcore/cmp.rs
MATCH convert,1,0,/usr/local/src/rust/src/libcore/convert.rs,Module,/usr/local/src/rust/src/libcore/convert.rs
MATCH char,1,0,/usr/local/src/rust/src/librustc_unicode/char.rs,Module,/usr/local/src/rust/src/librustc_unicode/char.rs
MATCH collections,1,0,/usr/local/src/rust/src/libstd/collections/mod.rs,Module,/usr/local/src/rust/src/libstd/collections/mod.rs
END

If I delete the Cargo.lock file, I get fewer of those ERROR lines -- 5 instead of ~80.

I also just noticed that the source in /usr/local/src/rust was from v1.1.0. I replaced it with v1.8.0 but I'm still getting the same problem and same output fro racer (with exception that the core module is now __core).

If I remove all the dependencies from Cargo.toml, delete Cargo.lock and execute cargo build to re-generate the lock file, the same racer complete execution no longer includes any ERROR lines in its output.

Same problem here .-(


Moving Tornado with balls colliding

its just the tornado as a prefab, and hitting the right cauldron could spawn the tornado maybe ?
DraugorTornado.zip

Added to project.


FSlowTask support

This PR adds support for FSlowTask, allowing for progress bars to be created inside the editor when a slow task is being performed.
This PR also includes an example for how to use it.

I did do one thing in this PR that I'm not sure if you'll be okay with.
Most of the methods are direct calls through to FSlowTask method, but I also added in received_user_cancel on the UEP FSlowTask, even through this is actually calling through to FFeedbackContext. It made more sense to me to keep it with FSlowTask rather than implement a UPE wrapper of FFeedbackContext just for this.

Thanks, well i think we can ignore for now the FFeedbackContext. We can eventually include it if required later,

Hey there !
I've just tried to build UEP on MAC and it always gives me an error with this specific commit. Removing FSlowTask fixed the issue.


Review usage of NGFF vs OME-NGFF

Raised post-standup today, this aligns with the semantics used in https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8648559/ where NGFF is used to characterize the cloud-optimized formats like Zarr and typically balanced versus TIFF or HDF5 while OME-NGFF is used to talk about the format and the set of specifications built by OME and partners allowing to use NGFFs for storing, acessing and exchanging bioimaging data.
This implicitly proposes to rename the blog post URL to https://www.openmicroscopy.org/2021/12/16/ome-ngff.html (with a redirection from the former URL). For build reasons, the new URL will need to exist live to pass the linkchecker so
541e386 first introduces a redirect from ome-ngff.html to ngff.html. Once deployed, a second change can swap the pages so that ngff.html redirects to ome-ngff.html
Staged at https://snoopycrimecop.github.io/www.openmicroscopy.org/2021/12/16/ngff.html for review

:+1: As I mentioned this morning, this seems to match my usage of OME-NGFF vs NGFF(s)


Bump CAPV to v1.3.1

Bumping CAPV to the latest release.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Are there cluster spec changes we need to make on the cli side as well? We also using try and check the versions of the components capv requires and see if we need to update to match

Are there cluster spec changes we need to make on the cli side as well? We also using try and check the versions of the components capv requires and see if we need to update to match

There is only one change that they did, which was to separate out the VSphereMachineTemplate for CP and worker nodes into separate resources, and changed the approprirate refs. But we were already doing that by having a separate template for MachineDeployments so we don't need to change specs on the CLI side.

sounds good, lets merge once e2e tests are stably again.
/hold

/unhold

/approve


springboot 2.X已经停更了 目前已经出现了很多CVE问题 希望可以将server服务升级到boot3.X版本并支持一下虚拟线程 这样性能肯定会提高一些 安全性也有保障

Why you need it?
Is your feature request related to a problem? Please describe in details
How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

我们已经在计划中，并且会将spring-web相关依赖全部移除，改为spring-core+netty-http来实现。
We are currently planning to remove all spring-web related dependencies and transition to using spring-core along with netty-http for implementation.

We are currently planning to remove all spring-web related dependencies and transition to using spring-core along with netty-http for implementation.

Perhaps completely removing the use of spring-core is a more reasonable direction. In https://github.com/apache/shardingsphere/pull/33179, I observed that org.apache.seata:seata-all:2.1.0 is passing a lower version of org.springframework:spring-jcl:5.3.27, which results in the need for additional org.springframework:spring-jcl:5.3.27 GraalVM Reachability Metadata when the downstream compiles the seata client to GraalVM Native Image. Spring's support for GraalVM Native Image always depends on org.springframework.boot:spring-boot-maven-plugin:3.0.0 and higher versions, which is hard to say is a real way forward - GraalVM has never been truly tied to a web framework.

org.graalvm.nativeimage.MissingReflectionRegistrationError: The program tried to reflectively access class

   org.apache.logging.log4j.spi.ExtendedLogger

 without it being registered for runtime reflection. Add org.apache.logging.log4j.spi.ExtendedLogger to the reflection metadata to solve this problem. See https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection for help.
  java.base@22.0.2/java.lang.Class.forName(DynamicHub.java:1377)
  org.apache.commons.logging.LogAdapter.isPresent(LogAdapter.java:107)
  org.apache.commons.logging.LogAdapter.<clinit>(LogAdapter.java:51)
  org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)


chore: update prettier-plugin-svelte from v2.6.0 to v2.7.0

Thanks!

@adamwathan @bradlc Could you please publish a new release with this PR included when you get a chance? Version 2.7 of the plugin is necessary to properly deal with the new svelte:element syntax.
Thanks! (and apologies for bugging you if you were already planning to do this soon)

@dimfeld Published as v0.1.11 👍


Wild cards are not allowed while copying objects to buckets

Environment info

NooBaa Version: VERSION : 5.15
Platform: Linux

Actual behavior

Wild cards are not allowed while copying the object to buckets. For eg: user wants to copy entire contents to buckets, he needs to copy it one by one as of now.

Expected behavior
Copy operation should support wild cards
Steps to reproduce

Create a bucket bucket2
list the contents of source directory with 2 files

[root@anan2node-x-worker1 test_dir]# ls a/b/c/d/
anan1.txt  anan2.txt

[root@anan2node-x-worker1 test_dir]# pwd
/mnt/fs1/test_dir

Copy the entire contents using Wildcard (*) . "aws-s3-an-accnt1-api" is an alias

[root@anan2node-x-worker1 test_dir]# aws-s3-an-accnt1-api put-object --bucket bucket2 --key a/b/c/d/*

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help

Unknown options: a/b/c/d/anan2.txt

[root@anan2node-x-worker1 test_dir]# aws-s3-an-accnt1-api put-object --bucket bucket2 --key a/b/c/d/*.*

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help

Unknown options: a/b/c/d/anan2.txt

Copy is successful when tried to copy individual files.
[root@anan2node-x-worker1 test_dir]# aws-s3-an-accnt1-api put-object --bucket bucket2 --key a/b/c/d/anan2.txt
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
{
    "ETag": "\"mtime-cwxk28mysfls-ino-1fd9\""
}

More information - Screenshots / Logs / Other output

@anandhu-karattu What is the bug? aws-cli is not NooBaa...

This is invalid option I tried. Recursive option is working fine. Closing this ticket.
[root@anan2node-x-worker1 logs]# aws-s3-an-accnt1 cp /root/logs s3://bucket2/ --recursive
.
upload: ./2.txt to s3://bucket2/2.txt
upload: ./1.txt to s3://bucket2/1.txt

[root@anan2node-x-worker1 logs]# aws-s3-an-accnt1 ls s3://bucket2

2023-11-16 22:02:24          0 1.txt
2023-11-16 22:02:24          0 2.txt


QConv1d: no valid convolution algorithms available in CuDNN

In  https://github.com/ucbrise/actnn/blob/main/tests/test_conv_layer.py line 52-56
I just got this message when trying to run test_conv_layer.py, getting the following stacktrace:
~/code/actnn/tests$ CUDA_VISIBLE_DEVICES=1 python test_conv_layer.py
Conv1d(100, 4, kernel_size=(3,), stride=(2,), groups=2)
QConv1d(100, 4, kernel_size=(3,), stride=(2,), groups=2)
torch.Size([4, 50, 3])
torch.Size([10, 100, 2000]) tensor([2, 0, 3, 0, 0, 2, 3, 0, 2, 1], device='cuda:0')
Traceback (most recent call last):
  File "test_conv_layer.py", line 60, in <module>
    test(layer, qlayer, x, y)
  File "test_conv_layer.py", line 33, in test
    grads.append(get_grad(qlayer))
  File "test_conv_layer.py", line 27, in get_grad
    loss.backward()
  File "/data/users/root/anaconda3/envs/jukebox/lib/python3.7/site-packages/torch/tensor.py", line 245, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/data/users/root/anaconda3/envs/jukebox/lib/python3.7/site-packages/torch/autograd/__init__.py", line 147, in backward
    allow_unreachable=True, accumulate_grad=True)  # allow_unreachable flag
  File "/data/users/root/anaconda3/envs/jukebox/lib/python3.7/site-packages/torch/autograd/function.py", line 89, in apply
    return self._forward_cls.backward(self, *args)  # type: ignore
  File "/data/users/root/code/actnn/actnn/actnn/ops.py", line 244, in backward
    return convnd.run_backward(1, ctx, grad_output, [0, 2], _single)
  File "/data/users/root/code/actnn/actnn/actnn/ops.py", line 225, in run_backward
    [ctx.needs_input_grad[0], ctx.needs_input_grad[1]])
RuntimeError: no valid convolution algorithms available in CuDNN

Is anybody there？

conv1d has bugs. We forget to delete the code.
Please do not use conv1d. You have to manually rewrite your models with Conv2D.
You can think of conv1d as a special case of conv2d and rewrite your model.
PyTorch also internally did this.

Thx a lot~


Spring Security with GCP IAP on GAE Flex fails with "Project expected not to be null"

Deploying to GAE Flex with spring-cloud-gcp-starter-security-iap fails to automatically determine the GCP project.

ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audienceValidator' defined in class path resource [org/springframework/cloud/gcp/autoconfigure/security/IapAuthenticationAutoConfiguration.class]:
Invocation of init method failed; nested exception is java.lang.IllegalArgumentException:
Project expected not to be null.

Few lines earlier the log states:

o.s.c.g.a.c.GcpContextAutoConfiguration  : The default project ID is MY_CORRECT_GCP_PROJECT_ID

The configuration is unset, meaning none of properties for spring.cloud.gcp.security.iap.* have been specified in the application.properties (registry, algorithm, header, issuer, audience). According to the docs, this should work since the defaults are used and audience is not required in GAE.
Related env vars are set properly by GAE and available to the application: GOOGLE_CLOUD_PROJECT, GCLOUD_PROJECT. Not sure if they are used, though.
Am I missing something?
Do you require more information?

Most likely, the account does not have GCP's resourcemanager.projects.get IAM permission, so IAP is unable to retrieve project details.
Could you check what permissions are available to the account being used?

Thanks for the quick reply.
I've checked the permissions. We've not configured any additional service accounts, so the default service accounts should be used to run our services.:

The "App Engine default service account"<EMAIL_ADDRESS>has the "Editor" role assigned, which includes resourcemanager.projects.get permissions.
The "App Engine Flexible Environment Service Agent"<EMAIL_ADDRESS>had only "App Engine flexible environment Service Agent" assigned, which is not listed in IAM->Roles so I can not check what permissions it actually has (most likely because it's a Google managed SA). I've added the "Editor" role and redeployed the service, but unfrot. without any change, the error persists.

Could you check that Cloud Resource Manager API is enabled?

It was not enabled indeed. I enabled it and after redeploying the application was able to access the required information. 👍 Would be nice if this was hinted in the docs, though.
Thank you! Very helpful. :)

I'll update the docs; I definitely missed the important setup bits!


Debug messages

I don't know why all debug messages are left in the code, but it's quite annoying to see them every time you interact with the element. What's the reason for them being there and is it possible to have them removed?

There was no true reason to have all the debug messages in code, besides that I used the elements in some projects with my students and it seemed clearer to have the messages... I have put them besides a debug attribute, so you get o messages by default.

Awesome! Thanks for the quick response! 😄


Supporting String and Enum Concatenation ?

This is a nice to have a feature. Eg.
enum state {
    foo,
    bar
}

function main(string[] arg) {
    state x = state.bar;
    string s = "string " + x;
    print(s);
}

We no longer have enums


Display error in jupyter console

While errors and traceback are displayed in the notebook, it's not the case in Jupyter console.

Outputs should always be sent as mimetype text/plain. If more mimetypes are possible, they should also be sent and the frontend will pick the one he wants.

Fixed with the BeakerX base kernel.


tsdb/head: wlog exemplars after samples

When samples are committed in the head, they are also written to the WAL.
The order of WAL records should be sample then exemplar, but this was
not the case for native histogram samples. This PR fixes that.
The problem with the wrong order is that remote write reads the WAL and
sends the recorded timeseries in the WAL order, which means exemplars
arrived before histogram samples. If the receiving side is Prometheus
TSDB and the series has not existed before then the exemplar does not
currently create the series. Which means the exemplar is rejected and lost.

@krajorama can you add a PR description please :)

@krajorama can you add a PR description please :)

@cstyan done and added unit test.


Update smartrader style

Changelog

Updated the style as per design.
Updated the icons as per design.

Please update your styles to use CSS vars from theme.scss.


Do i need to modify the learning rate when several gpus exploited?

hi:
In caffe, loss will be averaged by iter_size (like batch training).  Will the loss be averaged in multigpu training? (e.g. averaged by the number of gpu used for training). If not, learning rate should keep the same as the lr used in single gpu. Am i right?
bests
jemmy li

you need to increase learning rate when you increase number of gpus

thx.  More concrete situation, if i use 8gpus, lr should be 8x compared with 1gpu (same iter_size) ?

that worked for me, but may not always be true

got it.  In your coco branch, it seems that lr is still set to 1e-3 for training,  while  the stepsize have been set to 90000. I mean the settings in models/coco/ResNet-101/rfcn_end2end/solver_ohem.prototxt.

I just created this repo for multi-gpu training and meant for 2 GPUs with 1 iter_size. But I suppose, step down would be too early for coco for that. Probably I did not optimize parameters for coco when I created this repo.
The soft-nms repo contains the training schedule for ms-coco which gets 35.1 mAP, where lr is set to 0.008. But again, its dataset specific and specific to 8 GPUs.

I'll update this repo also in a month or so, so that master has all the features.

awesome soft-nms repo.  R-FCN in this repo got  30.8%, while soft-nms repo got 33.9%. i see that one difference between them is test set. COCO 2014 vs 2015 minival (but i think 2015 minival  is same as 2014minival).   and another difference is psroipooling.  soft-nms use align psroipooling(proposed in mask-rcnn).  does align pspooling improve 2.1%?  i would like to reproduce the results given in soft-nms.

It is not completely due to mask-rcnn's roi align. I implemented what I could understand from the paper and I was seeing around 1% improvement by fixing the alignment issue. I also reduced the RPN min size from 32 to 16. Training was done till 160k iterations. Probably training longer would help more. In my experience, test-dev gives 0.2% more for R-FCN, so you should get 35.3 on test-dev.

thanks a lot.

I will try to reproduce soft-nms experiments.

@bharatsingh430
@zengarden
I also reduced the RPN min size from 32 to 16,
does this refer to the parameters __C.TRAIN.RPN_MIN_SIZE and __C.TEST.RPN_MIN_SIZE ?
It looks like it went from 16 to 8, not from 32 to 16.
Am i right?

yes


Support Automatic Initialization and Updating for TIMESTAMP and DATETIME

https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html

Alternative is to just do an insert on the row using primary key with the new current time.


Auto modes (fan & heat-cool)

Is there a way to support auto cooling & heating? along with auto fan speed mode.
Currently I can only access heat, cool & off + adjusting the fan speeds off, 33% etc but no auto function.
The only way I can use auto fan speed is my adjusting it via the airbase app or on the controller itself manually.
if I manually send the command to the airbase unit using "f_rate=0" it sets the fan to auto speed with cooling
(http://<IP_ADDRESS>/skyfi/aircon/set_control_info?lpw=&mode=2&f_airside=0&dt2=24.0&f_rate=0&shum=0&pow=1&stemp=21.0&f_dir=0&f_auto=0)
I can set auto cool/heat mode by using "mode=3" my example below doesn't include the auto range temperature
(http://<IP_ADDRESS>/skyfi/aircon/set_control_info?lpw=&mode=3&f_airside=0&dt2=24.0&f_rate=0&shum=0&pow=1&stemp=21.0&f_dir=0&f_auto=0)

this is the occasional error within homebridge
"This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics"

Hi there @herbi3 👋
Regarding the auto fan mode, the Daikin Airbase supports it but a fan accessory cannot be set as auto in the Home app, there is no option for that state in HomeKit and thus in the Home app UI. So this is a case where I had to not support it because it couldn't be mapped to the HomeKit API (or at least not in a way that I found acceptable).
Regarding the support of auto climate mode, this is already supported by the plug-in but only if I receive the flag that says it is supported. The Daikin Airbase returns that support flag as false for my aircon despite the wall controller supporting auto mode just fine. I contacted Daikin support about it and they just told me that the Daikin Airbase is not compatible with controlling auto mode for my aircon model 🤷
I tried to do what you suggest and send the value for auto mode either way, but that puts the aircon in a strange mode where next commands are not executed properly (I don't remember the details but I remember that it was broken enough to not support).
Hope that answers your questions.

@yenoiwesa I have no idea how to implement the override values within the config, just for testing I tried to disable dry mode  but it still shows as active in the logs etc.
the device itself may not have an auto function completely (between all settings), however they may have a keep between value for heat & cool.
Is it possible to have this push to HomeKit regardless of response from "en_auto" ?
if (accessory.context.airbase.autoModeSupported) {
validTargetHeaterCoolerStates.push(
Characteristic.TargetHeaterCoolerState.AUTO
);
    }

I will close this issue as I do not intend to implement an override for the auto mode support.


Add License

Can you add a license to show whether or not this code is useable in derivative works?  It's a great example and I'd like to use it in a project, but won't be able to unless there is some sort of open source license like Apache 2.  If you'd like I can open a PR from my fork that would add a license to the project.

Ofc you can use this! I added a readme (that points to the blogpost I wrote), and a license.

Awesome!  Thank you!


Implement ToTokens for proc_macro::TokenStream

I only sort of vaguely recall why we couldn't do this earlier, but it
seems like it's possible to do now!
Closes #42

@alexcrichton it looks like this doesn't build on rust 1.15, meaning this change would increase the minimum rustc version to some version 1.15 < ? <= 1.30.1. @dtolnay is supporting all the way back to the original proc macro introduction a primary goal of this crate?
If so, what would be your preferred route here be?
Add this behind a feature flag? Issue a breaking semver change?

@jamesmunns oh if this is gonna land we can do build script detection trickery to figure out when to enable this (and just auto-disable it on older compilers), no need for a breaking change!
@dtolnay I don't personally feel too strongly one way or another on this, but I feel like we've generally had bad luck holding off features which run the risk of causing bad idioms. This feature (plus the #{...} idea) seem like natural extensions of the quote crate and can both be validly used as well as misused. I've found it difficult, at least for Cargo, to walk a line of avoiding adding features that cause confusion vs enabling users to write nice/idiomatic APIs.
FWIW I definitely agree about the Into/From of proc_macro::TokenStream change, although we may still yet want this implementation even with that!
I'm personally fine deferring this though to a later date to see if more desire crops up, it at least has a good reason to not "just land" now!

Let's defer until there is a use case not met by converting everything to proc-macro2 types.

It's painful to include both proc_macro::TokenStream and proc_macro2::TokenStream in the same code, and my code was working fine including only the former, until I discovered that ToTokens isn't implemented for it. :(

It also means I need to explicitly depend on proc_macro2, while so far my code was perfectly fine just relying on the quote crate.

Hello @dtolnay, I have a use case where converting everything to proc_macro2 is not suitable. I'm writing macros for nostd environment. If I'm using proc_macro crate, as far as I understand, it's referring to the code in the rust toolkit and no dependencies are added to my crate. If I use proc_macro2 dependency, this will bring in std dependencies thus breaking my nostd build.
I think nostd support is an important use case to reopen this discussion and I hope you agree.
But why do I need ToTokens for proc_macro::TokenStream ? Well in my port of https://github.com/Keats/validator to nostd I've resolved almost every std dependency, except that now I have problems with interpolating proc_macro::TokenStream into quote! and I'm getting the following compilation error:
error[E0277]: the trait boundproc_macro::TokenStream: ToTokensis not satisfied   --> validator_derive/src/quoting.rs:83:20    | 83 |               return quote!(    |  ____________________^ 84 | |                 if let Some(#optional_pattern_matched) = self.#field_ident { 85 | |                     #tokens 86 | |                 } 87 | |             ).into();    | |_____________^ the traitToTokensis not implemented forproc_macro::TokenStream   |    = note: this error originates in the macro$crate::quote_token_with_context` (in Nightly builds, run with -Z macro-backtrace for more info)
`
this may not be the last issue I face in the project, and I'm not sure to be able to complete it, but it's definitely stopping me at this time.


Postgres: I can create a user,but that users password never gets set properly

In my case I'm speaking of a regular user and not the "postgres" user. That gets set properly.
Here is my code... I've no idea what the password is but if I login and change it to a known value I can authenticate so I know my pg_hba.conf is setup properly. Tks.
create zabbix database and user
postgresql_connection_info = {:host => "<IP_ADDRESS>",
:port => '5432',
:username => 'postgres',
:password => pgsql_postgres_password
}
postgresql_database_user 'zabbix' do
connection postgresql_connection_info
password pgsql_zabbix_password
action :create
end
postgresql_database 'zabbix' do
connection(
:host     => '<IP_ADDRESS>',
:port     => 5432,
:username => 'postgres',
:password => pgsql_postgres_password
)
template 'DEFAULT'
encoding 'DEFAULT'
tablespace 'DEFAULT'
connection_limit '-1'
owner 'zabbix'
action :create
end
postgresql_database_user 'zabbix' do
connection postgresql_connection_info
password pgsql_zabbix_password
database_name 'zabbix'
privileges [:all]
action :grant
end

This was a total non issue. The problem is , is that when you install an ubuntu zabbix package it creates the zabbix database and user automatically. So this cookbook won't change it after the fact of course.


Play button on sidebar not working

Is it just me, or does clicking the play button in the UTM toolbar not work with the 3.2.1 beta?Created using UTMbotQuestioner: ktprograms#2418Moderator: osy#9440

@ktprograms Are you referring to the play button on the sidebar? The toolbar button still works for me.

Yes


Sentry integration

@kalwabed If the deployment keeps failing due to @netlify/plugin-lighthouse plugin failure, you can decrease the threshold into the actual number temporarily.
It's configured in the netlify.toml file.


Nameservers not returned for .dk domains

Describe the bug
Nameservers not returned for .dk domains. The domain is returned.
Steampipe version
Example:  0.7.3
Plugin version)
Example: 0.2.0
To reproduce
Run:
> select name_servers
from
  whois_domain
where
  domain in ('emilstahl.dk');
+------------------+
| name_servers     |
+------------------+
| ["emilstahl.dk"] |
+------------------+

Expected behavior
As a normal whois query returns:
Hostname:             ns1.simply.com
Hostname:             ns2.simply.com
Hostname:             ns3.simply.com
Hostname:             ns4.simply.com

The output should be:
 ["ns1.simply.com","ns2.simply.com","ns3.simply.com","ns4.simply.com"]

Thanks @emilstahl for using Steampipe and reporting this issue 🙂
interesting that it seems to return the domain as it’s own name server. I suspect this is actually an issue with the Whois parser library we are using, but will need to do more testing to see why.
WHOIS data tends to vary a lot by TLD so perhaps there is something different about the .dk data.

Yeah, the DK whois format/server is custom. 👍

@e-gineer  Can you remove the stale label?

Hey @emilstahl , sorry for the radio silence on this, we'll be taking a look at this issue in the next week or so, and will post any updates here.

@emilstahl Sorry for the long wait on this issue. I ran some tests against emilstahl.dk using the latest version of the whois and whois-parser packages (these changes are in the update-whois-packages branch), and it seems like the way the WHOIS data is being returned is unexpected in the whois-parser package, so it incorrectly pulls out the nameservers as @e-gineer had suspected.
I've opened https://github.com/likexian/whois-parser/issues/52 as a feature request for better parsing. If you have any other information, feel free to add comments to that issue as well, thanks!

Awesome. Thanks 👍


should we drop mass_erase on programing hex list with stlink on nrf51

https://github.com/adafruit/Adafruit_Adalink/blob/master/adalink/cores/nrf51822.py#L68 force an mass erase on any hex program. Mass erase is indeed required for flashing Softdevice, however it is often in development that we only need to flash Application + signature. Maybe user should explicitly enter --wipe option when wanting to flash Softdevice.
I am not sure which is better, free fee to close this if this is not appropriate.

I think this might have been a problem with OpenOCD and the STLink ... from memory it only worked if you erased the chip first, but I could be mistaken since Tony did most of the work here.  The JLink definitely doesn't have this requirement to erase first.

Yeah I did run into some trouble with OpenOCD refusing the program unless the chip was erased.  One thing I don't remember trying but found a little later is that the 'flash write_image' command has an optional erase parameter that will erase the memory before programming (can see description here http://openocd.org/doc/html/Flash-Commands.html).  I haven't tried it but it might work here--let me try to take a look later this week to see if it works.  Agreed that mass erase is kinda heavy handed to always require--if we can remove it and just erase what will be programmed then that would probably be best.

Oh yeah I remember being a little scared by this part of the erase option in write_image:
"Warning: Be careful using the erase flag when the flash is holding data you want to preserve. Portions of the flash outside those described in the image’s sections might be erased with no notice.

When a section of the image being written does not fill out all the sectors it uses, the unwritten parts of those sectors are necessarily also erased, because sectors can’t be partially erased.

Data stored in sector "holes" between image sections are also affected. For example, "flash write_image erase ..." of an image with one byte at the beginning of a flash bank and one byte at the end erases the entire bank – not just the two sectors being written."

I think that's ok though assuming the sections we're programming are all contiguous and don't have important holes that we don't want to wipe too.

I am not sure if this helps, openocd has an helper (commnand ) script to ease the flash programming http://openocd.org/doc/html/Flash-Commands.html#program
Command: program filename [verify] [reset] [exit] [offset]
    This is a helper script that simplifies using OpenOCD as a standalone programmer. The only required parameter is filename, the others are optional.

It use flash write_image and can also verify image as well.

Yeah that wrapper works great for programming one file and exiting, but from what I saw programming multiple files at a time was a little faster with explicit flash write_image commands and then an exit.
If neither of you guys see issues any concern if I swap over the logic for the nRF51822 to use flash write_image's erase command instead of using mass erase?  I'll give it a test to see if I can update just the app code for example and leave the SD, etc. untouched.  If it works then I can merge it in and drop the mass erase.

There are a number of use cases for the nRF51 and STM32F2 where we'll need to keep existing sections of flash intact, so I think trading off speed for flexibility is the right thing to do here.


AI raids bug with 'AIs attack nearest castle'

Played a game as a human player on Last Stand map at the top left corner with two allies at the bottom right and the rest of the players were enemy AIs (including the player in the centre). I enclosed all my industries and the two AIs opposite me at the top right of the map who were attacking me didn't send raids to any enemy building at all, (and this was a particular problem as one of those two AIs was the best AI raider in the game, Marshall), even to my southern allies' farms, mines and quarries which were outside their castles. Did another match with Emir being one of my closest enemies and he also didn't raid any of my southern allies industries either with his Arabian swordsmen. Only sent his raid towards me when there was a breach in my castle wall.
It seems that on 'AI's attack nearest enemy' mode, even their raids only seem to attack the nearest enemy too, and if their nearest enemy is a human players' castle which is completely enclosed they won't raid anyone at all. It would be good if this bug with 'AIs attack nearest castle mode' was fixed so that the AI could still raid other enemy AIs if the enemy opposite is an unraidable human player who has enclosed all their industries.

@PitchNeeded from what you described so far, I doubt this is an actual bug with the "nearest target" patch option: The AI generally only raids their current attack target.
The AI can also send defensive patrols to defend their workers, and those can possibly fight other opponents, but conscious raiding and attacking always is done exclusively to the attack target, and if the attack target does not change (most gold or least troops is rather volatile, nearest opponent only changes when someone dies), nor does the raiding target.
Of course, it might be cool (at least in theory) to have raiders attack e.g. walls and other defenses instead when there are no unprotected / attackable buildings available outside the walls. In practice, of course this could be potentially exploited by human players (e.g. put moat around your walls, with one separate blob of walls in front of your actual wall in one place, in range of fire throwers or crosbowmen, to lure in and destroy raiding troops who try to attack the "bait wall").
Making the AI switch raiding target (to differ from the general attack target) when the current attack target has no "raidable" buildings might also be an option, but that arises the question of what criteria to use for picking a new raiding target, and also possibly changes overall game balance more than intended.
 Just retreating their raiding units instead of letting them stand there to die would be quite helpful.

Yes, and I do think it is good that AIs generally raid the same castle they are attacking (as with good raiders such as Phillip, Marshall or Emir they can send raids in at the same time as their siege to destroy buildings of the same enemy).
I would also like to see Emir's raiding Arabian swordsmen be able to finish off weak enemies directly, as they can often be strong enough to do, and so it makes sense if they were passing by an enemy AI that had an enclosed wall to their castle but were militarily weak (and had sent their 'panicking' message about the enemy outside their walls), that they would switch from destroying outside buildings to trying to breach the castle wall and then going directly for the enemy lord.

redundancy with #157, you can discuss further details there


Change prefixes to something more familiar

Change the prefixes to "-a " "-t " etc causes a few problems because of the ending space.
Because the user command gets trimmed when parsing,  commands at the end of the input gets trimmed as well and doesn't count as a command, so for example:
"edit 1 -n blah -p 123 -e<EMAIL_ADDRESS>-a address -t "
will change the 1st person's address to "address -t",
whereas the original "edit 1 n/blah p/123 e/email a/address t/" sets address as "address" and removes the tags of the person


feat(web): use default container list on deployment screen

From now, on the deployment's log screen you can always see your containers (even if they are deleted). Previously when you started a deplyoment the container's list were uploaded continuously. Now only their status are updated. Also the prefix has been removed from the container's name in case of docker.

Codecov Report
Base: 7.66% // Head: 7.64% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (25e5032) compared to base (06652cb).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop    #211      +/-   ##
==========================================
- Coverage     7.66%   7.64%   -0.03%
==========================================
  Files           44      44
  Lines         3664    3675      +11
==========================================
  Hits           281     281
- Misses        3379    3390      +11
  Partials         4       4

Impacted Files
Coverage Δ

agent/internal/config/secret.go
0.00% <0.00%> (ø)

agent/internal/mapper/grpc.go
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix udf op

This PR fixes issues with the UDF op outlined here https://github.com/NVIDIA-Merlin/systems/issues/360. This issue occurs when the user defined function is created with a targeted framework. However if the function is setup with a specific framework, the output would end up as the framework specified. This causes issues with the expected output (which should be the same as the input). The fix added here uses a dictionary instead of an input type collection. After the collection is complete we create a dataframe to ensure continued support for downstream operators. This is necessary to be able to all the different types of inputs possible (i.e. TensorTable, Cudf Dataframe, Pandas Dataframe). If using tensortable, it will be converted before the next operator in the executor.

It's probably worth adding a test for this situation where we pass a pandas data frame but the user defined function returns a cudf series and/or the other way around

It's probably worth adding a test for this situation where we pass a pandas data frame but the user defined function returns a cudf series and/or the other way around

Test added.


fix the stock lost bug

remove the stock null data like this:var hq_str_sz000003=""，for fix the grep_detail_with_prefix bugs.

Hello @fanwz! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file easyquotation/sina.py:

Line 23:6: W291 trailing whitespace
Line 32:72: W291 trailing whitespace


A one-way track in which trains travel in the opposite direction(Unofficial 13)

A one-way track in which trains travel in the opposite direction.
The version I'm using：MTR 1.16.5 Unofficial 14

Oh,Sorry,I write it wrongly,it should be 13.

How did you get Unofficial 14?

You can with GitHub though

And yes, this big does seem strange. Are you on discord? Or if not could you maybe upload the world zip here?

And yes, this big does seem strange. Are you on discord? Or if not could you maybe upload the world zip here?

Would you mind telling my email address？

Is this with diagonal rail nodes? I might have broken something, not sure.

Is this with diagonal rail nodes? I might have broken something, not sure.

I originally wanted to upload the map to github or discord, but the map is too large, and I can't find other ways to upload it, unless I send it to you by mail.

Don't worry I'm on it

@sde111 @kettle-7 Has this been resolved?

@sde111 @kettle-7 Has this been resolved?

@sde111 @kettle-7 Has this been resolved?

I solved it myself. Add another section of the one-way rail and it will return to normal


[PowerToys Run] Unit conversion - change example in Settings

Description of the new feature / enhancement
The current example of the unit conversion PowerToy in 0.57.2 is 10 ft in m as seen here:

Would it be possible to: change the example unit selection? It took me a little Google searching before I clued in that in meant in, not an abbreviation for inches, which is actually meaningful in the context of the example. (You can see it's confusing in my sentence too. :-) ) I believe 10 kg in lbs may be an easier example for first-timers to understand than 10 ft in m.
Scenario when this would be used?
The current example requires careful reading and recognizing the operator in is only coincidentally the same as the abbreviation of the Imperial unit inches. (This also may not be immediately obvious to people outside North America who are first going to see unit examples from an SI/Metric perspective.)
Supporting information
No response

Maybe we should use "... to ..."

Actually, that's pretty good. It has the same meaning, fits better with the implied verb of converting, same number of chars to type, and removes ambiguity.

This was released wit v0.82.0.


updated

#include <stdio.h>
int
main ()
{
int i = 1, x;
printf (" enter your number\t:");
scanf ("%d", &x);
while (i <= x)
{
if (i % 2 == 0)
{
printf ("%d is even\n", i);
}
else
{
printf ("%d is odd\n", i);
}
i++;
}

return 0;
}

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Please revise this PR. Your markdown syntax is incorrect. Also, please put all code in codeblocks.


[AutoRelease] t2-edgeorder-2023-02-13-09007(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/3768
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=2938

issue link:https://github.com/Azure/sdk-release-request/issues/3768


Print This Page Feature

Hi All,
In proposing my booklet-generator project to @joshreisner, he mentioned integrating it in this react project as a print this page feature. I really like that idea and would like to make it happen as I think that would be a really useful feature for some users. I can't imagine utilizing LaTeX and texlive.js like in the booklet-generator project would be necessary though and I'd like to avoid it since texlive.js is a really big dependency. I am wondering by what means the PDF of meetings (on the backend, settings page) in the 12-step-meeting-list WordPress plugin is created? Do you all know of any other lighter-weight means of producing PDFs with Javascript in the browser? I haven't started researching yet myself, but thought I'd see if you all have any ideas and also just formally submit that I'm working on this issue/feature.
Thanks,
Jacob

Hey @mathteacher the plugin uses TCPDF which is not ideal, but does that to keep the footprint inside WordPress. I suggest we create this as a new service, separate from this project. We could locate it at print.meetingguide.org, for example, and pass it parameters like this:
https://print.meetingguide.org/?src=https://aasanjose.org/wp-admin/admin-ajax.php?action=meetings&day=any&region=mountain-view
I'll create a new repo for print and invite you. We can start by using my Linode VPS hosting but let's not be constrained by cost. If there's a service you know of that would make this easier I'll handle the funding.

Actually we could also locate this inside this repo, but have it be on the backend. I just don't want to add it as a dependency inside our app.js if that makes sense. The route could be:
https://react.meetingguide.org/print?src=https://aasanjose.org/wp-admin/admin-ajax.php?action=meetings&day=any&region=mountain-view

I think we want to be able to print from other vectors as well, like the WP plugin, so architecturally I think this should be located at print.meetingguide.org like in my original response. I'll start the repo and invite you.

That all sounds good. I do like the idea of keeping it separate so as you said other vectors could use the feature. It's pretty cool that a little ecosystem of tools are being built around the Meeting Guide JSON format.
I had imagined PDF creation all being in the frontend, but I think that's just because I run all my personal projects for free through GitHub Pages and thus am always avoiding doing any processing in the backend. I will do some research in regards to the best method to do PDF creation, but certainly since a server is available there are likely a lot more options.

Frontend or backend would be fine with me. Open to languages like Python and other frameworks like Node. Although not all this will be in the 1.0, I think it should be able to support:
- [ ] Non-sequential page numbering for easy folding
- [ ] Optional index at the end
- [ ] Be able to set starting page number
- [ ] Different page sizing options
- [ ] Be able to specify parameters like day, region, type, time, search, etc.
- [ ] Nice widow-orphan flow control
- [ ] Use of bold and more spacing
- [ ] UTF-8 font with wheelchair symbol

I was imagining just a simple print this page button that would take the meetings currently displayed and create a PDF of those meetings that a user could print for personal use (which is simple enough I thought using LaTeX was probably overkill). You're definitely thinking bigger and I don't see why we couldn't have this project accomplish both my smaller goal and also your more customizable goal. With the features you're suggesting, using LaTeX again becomes an attractive tool as most (if not all) of those capabilities are baked into it. I will research and let you know what I come up with.


fix: untraced only works with parent-based sampler

The untraced helper currently only works when a parent-based sampler is installed. As an example, it will not suppress spans if the ALWAYS_ON sampler is installed.
This fixes untraced to work regardless of the sampler. It does this by communicating via a private Context key. An additional helper untraced? is introduced to query the state of the key from the Context. The SDK Tracer#start_span implementation is updated to check for untraced? before delegating either to the API Tracer#start_span method or to TracerProvider#internal_start_span.
The OpenTelemetry JS implementation offers the same functionality implemented in the same way, and serves as inspiration for the implementation in this PR.

Assuming linter errors are addressed.

I blame Copilot.

We'll have to be careful with the version bumps when releasing this. We've added a method to the -common gem that the -sdk now depends on, but we haven't changed the -sdk interface.

Shouldn't we add a dependency on -common to the sdk gemspec?

It's already there.

Shouldn't we add a dependency on -common to the sdk gemspec?
It's already there.

🤦 Wow - it is indeed, I must have skipped over it when I was hunting for it. 🤦


volumetric imaging example

@droumis I made a few changes in https://github.com/holoviz-topics/examples/pull/454/commits/6b8e6c77c0d3fac6f11e66b64535d61e70f1170a:

Realized that we should use remove-{} instead of hide-{}, hide puts the hidden thing in a details element (see https://myst-nb.readthedocs.io/en/latest/render/hiding.html), it turns out we tweak the CSS in nbsite to entirely hide hide-input cells (https://github.com/holoviz-dev/nbsite/blob/c8f6e244d8b4718f463f53c1530a4fef70d2b0a0/nbsite/_shared_static/notebook.css#L53-L55), I'm not sure why.
Removed the comment to avoid showing the app (twice), this is to test as much as possible the notebook code on the CI. WIth remove-output, the website doesn't show the outputs (with the somewhat broken neuroglancer apps)
Used the Panel dashboard builder (preview in JupyterLab) to remove a couple of useless cells. FYI I opened https://github.com/holoviz/panel/issues/7546, definitely not a blocker for this PR.

Thanks for this great example!


tiny int map to boolean

laravel typescript version : dev-master
mysql column type is tiny int generated moduled.d.ts maped to boolean

If you add it to your $casts as boolean it will work as expected


Right click on a date/week to access the note's context menu

Maybe right clicking on a day/week could behave the same as right clicking in the note on the file tree, and have at least the following options:

delete
copy obsidian url
show in system explorer

and maybe "make a copy" too? the "rename" does not make that much sense to be honest.
What drove this feature request is that I have found myself clicking on a day, creating a note by mistake and then trying to right click it to delete it.

What drove this feature request is that I have found myself clicking on a day, creating a note by mistake and then trying to right click it to delete it.

You could enable "Confirm before creating new note" to avoid this.
But having a context menu still makes sense to me! Especially if you're using it as an alternative navigation to the file explorer.

You could enable "Confirm before creating new note" to avoid this.

Aaand, done! :+1:

This was added in v1.4.13

This was added in v1.4.13

Works perfectly :+1:

Works perfectly :+1:


Backend configuration validator

Having Trident (tridentctl?) validate a backend configuration prior to deployment would be helpful for speeding up the deployment and management of storage resources.  In particular this functionality could include:

Valid JSON with valid options
Storage connectivity
Storage system permissions are adequate
Storage system configuration is adequate, e.g. aggregates assigned, export policy exists, etc.

Andrew

Much of this is already present in the 18.04 installer.  If the installer (now part of tridentctl) must provision a new PV for itself, it loads the backend.json config file and starts the corresponding storage driver; if that doesn't succeed then the installation is aborted.  With that in mind, can you restate the request for anything you feel might be missing?

Can that logic be applied when adding a backend after Trident installation? Think along the lines of a "dry run" for adding a backend.

@acsulli We could do that as an option, but I wouldn't do it all the time since the host running tridentctl may not have connectivity to the storage control plane.

Understood : )

The installer changes in 18.04 were substantial and addressed many of these issues, and we haven't seen  requests for things like this since then. If there's still a specific need, please open another issue.


@Link with Type.EXTERNAL does not allow for @Config statements to be executed

Issue Details
Using @Link with Type.EXTERNAL does not allow for @Config statements to be executed.
Type of Issue  (check one with "X")
[ ] Bug Report => Please search GitHub for a similar issue or PR before submitting
[X] Feature Request => Please ensure feature is not already in progress
[ ] Support Request => Please do not submit support requests here, instead see: https://discourse.oss.antheminc.com/

Current Behavior
In 1.1.12, it is not possible use the existing @Link(value = Type.EXTERNAL) to do external navigation and execute attached configs. @Link simply renders an <a> tag and adds the external URL.
Expected Behavior
As an engineer
I need to be able to configure a @Link component to navigate to an external URL via a @Config execution
So that other @Config statements can also be executed.
How to Reproduce the Issue
Steps to Reproduce

Add the configuration code to a @Section
Load the application
Click the rendered link
Observe, @Config statements are not executed.

Code Snippet
@Label(value = "Navigate Externally")
@Link(value = Type.EXTERNAL, target = "_blank", url = "https://mywebsite.com")
@Config(url = "...")
private String navExternally;

Environment Details

Nimbus Version:
1.1.12

Browser:
All

Opened from: https://discourse.oss.antheminc.com/t/can-link-and-config-be-used-on-a-linkmenu/492


oem-ibm: User password file types support

This commit adds the new file types for user password authentication and user password change.
If host passes the username and password credentials to the BMC, it should support below requirements through any password validation mechanism (Ex: PAM module)

Password authentication
Password change if the password has been expired

Change-Id: I2daa1e6388d1a2abf8193453728ef8a80b3b24b7

Jay, it looks like you have appended a linter change as part of this commit, could you separate it out? maybe merge the linter changes first before pushing changes for adding file support? just to keep this PR only related to  "User password file types support"


New PR to test SignCLA at 2017-11-08 12:03:26.35409486 -0800 PST m=+52.212348469

Body of PR

indiv-pass-fork-staging: test succeeded


How to get Property Change update when IsOffScreen changes

Hello,
Is there a way to Register to something in an AutomationElement, that then notifies me when the IsOffscreen Property changes?
I tried
element.RegisterPropertyChangedEvent(FlaUI.Core.Definitions.TreeScope.None, OnPropertyChanged,                                  new PropertyId[] { new UIA3AutomationElementPropertyIds().IsOffscreen });
but it did not work. Cannot find anything else that works. Any suggestions?
Thank you.

That should be the correct way, but you might want to use TreeScope.Element and automation.PropertyLibrary.Element.IsOffscreen instead of a new UIA3AutomationElementPropertyIds object.

Hello,
In the mean time, I tried this also:
 element.RegisterPropertyChangedEvent(FlaUI.Core.Definitions.TreeScope.Element,                                 OnNewPropChangedEvent, _automation.PropertyLibrary.Element.IsOffscreen);
But to no success either.

Did you check that it changes in FlaUInspect?

And make sure that your automation element is not garbage collected as that clears the events I think.

Should it be changing automatically? For me, FlaUInspect does not change even if I change the entire page. I have to retarget the Window to see changes.
In the same code, I am using with success
 _window.RegisterStructureChangedEvent(FlaUI.Core.Definitions.TreeScope.Descendants, OnChangedChilren);
And I have no proble with this. I will try to see if I can keep references of the objects. Maybe that is the problem.

Seems it did not help either. This is the code portion:
 .... private Dictionary<AutomationElement, PropertyChangedEventHandlerBase> _elements = new Dictionary<AutomationElement, PropertyChangedEventHandlerBase>(); .... if (element.IsOffscreen == true)                         {                             var eventGenerated = element.RegisterPropertyChangedEvent(FlaUI.Core.Definitions.TreeScope.Element,                                 OnNewPropChangedEvent, _automation.PropertyLibrary.Element.IsOffscreen);                             _elements.Add(element, eventGenerated);                         }
I have a breakpoint there inside the IF, and I can confirm that it reaches it. So you say it should have worked.

Strange, I just tried it with notepad and minimizing the window but it does not fire, although other properties like BoundingRecangle work flawlessly. This is probably because when an item is "offscreen", it maybe does not fire uia events. You might want to create a background task that checks for that property and some wait handlers. Also make sure that the "offscreen" really is that what you want as it is not set to false if an element is just outside of the windows bounds. Check with Inspect that offscreen really works or if you need something else (see for example #357).

Hello,
Maybe it has to do with the fact that I am doing this on Chrome?
What I am trying to do, is update the search list of items automatically, when the Structure changes (which works), or when the scroll list moves the items into view or out of screen. The seconds part does not work. I am using UIA3, so I do not get any scroll element, just the buttons.
The buttons that are off screen have BoundingRectangle Emplty, and IsOffScreen=true. I tried attacking to both properties, but neither of thm worked.
With FlaUInspector, I inspect a page, I see the same buttons with the same offscreen properties, and when I scroll, FlaUInspector does not change anything. I have to create a new instance to see any changes. But on the new instance, the buttons become IsOffScreen=false, and have a Bounding Rectangle.

I discarded trying to use global events.
What I did is a Weapper over the AutomationElement, and on a thread, I check if any of the Properties I am interested in, change. If they change, I fire an event from there.
I will post the wrapper:
`
class ClickableElementWrapper : IDisposable
{
#region Members
private AutomationElement _element;
#endregion Members
    #region Properties

    public System.Drawing.Rectangle ScreenArea { get; private set; }

    public Boolean IsOffScreen { get; private set; }

    #endregion Properties

    #region Constructor

    public ClickableElementWrapper(AutomationElement element)
    {
        _element = element;

        IsOffScreen = _element.FrameworkAutomationElement.IsOffscreen.ValueOrDefault;
        ScreenArea = _element.FrameworkAutomationElement.BoundingRectangle.ValueOrDefault;
    }

    #endregion Constructor

    #region IDisposable

    public void Dispose()
    {
        try
        {
            _element = null;
        }
        catch (Exception ex)
        {
        }
    }

    #endregion IDisposable

    #region Methods

    public bool HasChanges()
    {
        try
        {
            if (_element == null)
                return false;

            var handledElement = _element.FrameworkAutomationElement;
            bool isOffScreenChanged = handledElement.IsOffscreen.ValueOrDefault != IsOffScreen;
            bool positionChanged =
                ScreenArea.X != handledElement.BoundingRectangle.ValueOrDefault.X
                || ScreenArea.Y != handledElement.BoundingRectangle.ValueOrDefault.Y;

            if (isOffScreenChanged == true || positionChanged == true)
            {
                IsOffScreen = _element.FrameworkAutomationElement.IsOffscreen.ValueOrDefault;
                ScreenArea = _element.FrameworkAutomationElement.BoundingRectangle.ValueOrDefault;
                return true;
            }
        }
        catch { }

        return false;
    }
    #endregion Methods
}

and this is the code that runs on the list of wrapper elements, that runs on a different thread:while (_token.IsCancellationRequested == false)
{
Thread.Sleep(50);
bool anyChanges = false;
                lock (_lockList)
                {
                    foreach (ClickableElementWrapper item in _elements)
                    {
                        if (item.HasChanges() == true)
                            anyChanges = true;
                    }
                }
                if (anyChanges == true)
                    _onElementChangedCallback?.Invoke();
            }`


RemixAudioComposer incorrect encoding

The RemixAudioComposer does not correctly encode the audio for some videos.
Try the next sample:
http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4

Please try v0.3.9


Native component for "RCTPDFViewAndroid" does not exist

I'm getting this error when including the library, any clue on why this happens?

never mind, I think my dependencies were messed up while using rnpm. Tested with a fresh repo and things worked fine.


Possibility to add same tag multiple times

Hi,
i would like to have setting to enable possibility to add one tag more times

@halali that is going to be really difficult since this is based on a select element that doesn't allow same values multiple times
if I decouple the script for the select tag, then it becomes possible

maybe there should be small hack... on select item it will add same item to select element and remove one on clear
is that solution possible ?

@lekoala damn you are fast, thanks work as expected...
Will do more test next week...
just an question... will be possible add custom event for select tag and clear tag so i can run function when tag is selected and another when tag is cleared from select.

@halali indeed, should be fixed on master now

@lekoala i can confirm. work now
what about event for select, remove tag ?
should i open another FR or is not planed ?
of course i can handle it by change event, but i need to compare arrays what was added or removed.

@halali there is already a onSelectItem(item) callback
I just added the onClearItem(value) as well on master
if you see anything else let me know

Thank you.
I will close this as resolved.

Hello again, onClearItem event dont work if you use backspace to clear item and not X

Fixed in https://github.com/lekoala/bootstrap5-tags/releases/tag/1.5.4

Thanks, work perfectly


KeyCredentialManager sample exception

When trying to use the KeyCredentialManager sample, the code throws,

System.AccessViolationException was unhandled by user code
HResult=-2147467261
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Windows
StackTrace:
at Windows.Security.Credentials.KeyCredential.GetAttestationAsync()
at SDKTemplate.SignIn.d__16.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(Object stateMachine)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
InnerException:

Line 340 in SignIn.xaml.cs
KeyCredentialAttestationResult keyAttestationResult = await userKey.GetAttestationAsync();

suprak, sounds like you will need the new Windows 10 UAP SDK included with Visual Studio Update 1 (the new SDK version is 10586 while the old one is 10240).
You can find the update details here: http://blogs.msdn.com/b/visualstudio/archive/2015/11/30/visual-studio-update-1-rtm.aspx and you can download the update using the first link with the text "Visual Studio Update 1".
After you do that you will need to change the version of UAP the sample is targeting to be 10586 instead of 10240 by going into the project properties. After that the sample will work!


[Fix #12793] Fix false positives for Style/RedundantLineContinuation

Fixes #12793.
This PR fixes false positives for Style/RedundantLineContinuation when multi-line continuations with operators.
In #12678, the use of RuboCop::Cop::Base#parse method was avoided due to errors in Prism. Now, the error in Prism have been fixed:
https://github.com/rubocop/rubocop/pull/12677#issuecomment-1932189221
And given redundant line continuation patterns is too varied, this PR have reverted to a simpler implementation using the parse method.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Great improvement!


Can you add eclipse user_library support in the next version?

Suggestion
Can you add eclipse user_library support in the next version?
Use Cases
Every time I add a lot of jars into my project, it will be very troublesome,
So I need an easier way to add jars.
Examples
Like this
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/7.0sp3"/>

But in the current version it doesn't work.

Thanks for asking. This seems like a nice enhancement for the Java Dependency Viewer.

@testforstephen could you take a look?

Start from Language Support for<EMAIL_ADDRESS>we added a new setting java.project.referencedLibraries to config the project classpaths. Please see this link for usage guide.
Meanwhile, in order to improve the UX, we had this PR to let the users be able to config this setting from the Dependency Explorer, which will be available in the next version of Java Dependency Viewer:

Close this issue for now, but please feel free to let us know if you have any thoughts on this.
Thanks.


Deprecate IE8 related settings and tools

We'll be removing IE8 support in v5.0. Following our guidance for deprecating and removing features, deprecate the Sass settings and mixins used for building IE8 specific stylesheets:

the $govuk-is-ie8 setting
the $govuk-ie8-breakpoint setting
the govuk-if-ie8 mixin
the govuk-not-ie8 mixin

Update references to the mixins within GOV.UK Frontend so that they do not generate warnings – we only want warnings to be generated where service teams are using the govuk-if-ie8 and govuk-not-ie8 mixins in their own code.
Suppress IE8 related warnings when generating the IE8 stylesheets for the review app or for the dist version of GOV.UK Frontend.
Deprecating these features communicates this intent to service teams and allows them to make changes ahead of time, reducing the effort involved in upgrading to the next major version.
Closes #3163

Looks brill. Noticed a fair few of them in:

https://github.com/alphagov/govuk-design-system/pull/2642

Just mentioning https://github.com/alphagov/govuk-frontend/pull/3164 too as it'll need the new ie8.test.js test adjusting
Note: Not necessarily related, but all the Sass "tooling" tests spin up the Review app as they're named to match the "JavaScript behaviour tests" project. Annoying you could use ~ie8.test.js~ ie8.unit.test.js but that sets up JSDOM 🤷♂

@claireashworth I've added a changelog entry for this, but it feels a little clunky (especially the title) – would you like to take a look now or happy to take a look when we come to do the release?

I'll take a look now
On Tue, 28 Feb 2023 at 14:35, Oliver Byford @.***>
wrote:

@claireashworth https://github.com/claireashworth I've added a
changelog entry for this, but it feels a little clunky (especially the
title) – would you like to take a look now or happy to take a look when we
come to do the release?
—
Reply to this email directly, view it on GitHub
https://github.com/alphagov/govuk-frontend/pull/3343#issuecomment-1448293002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMXUGHFZDBNAWWZMZVFKTY3WZYELBANCNFSM6AAAAAAVJUOTI4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Claire Ashworth (she/her)
Content Lead/Technical Writer
07793206027


Translating from an array of values

Hi,
I'm still learning all the ropes of using angular-translate, and I found a particular case in which i'm not sure what the best solution is.
I have an array values type = [ 'DEFAULT', 'SIMPLE', 'REPORT'];
which are shown as a list through ng-repeat
I was thinking of having translations like: TYPE_DEFAULT: 'default'
and maybe something like that to show it: {{ 'TYPE_{{myvalue}}' | translate}}
however this is not working.
Would the best way be to make a rendering function that use the translate service like this?
$scope.showType = function (type) {
    $translate(‘TYPE_’ + type).then(function (text) {
      return(text);
    });
  };

Thank you,

If you use the filter, do it this way:

    {{ 'TYPE_' + myvalue | translate }}


added additional callbacks

Just updated the list of callbacks as per the ones listed at https://stripe.com/docs/api?lang=ruby#event_types

Hi @lloydpick thanks for the Pull Request! I've got some comments and will be happy to merge this once they have been addressed. Thanks!

@lloydpick Would you be able to make these changes? I'd love to contribute too, but you've already started on it! :)

I just made some revisions to it and submitted a PR to you @lloydpick too: https://github.com/lloydpick/stripe-rails/pull/1

@tansengming Can you please merge if this looks good to you?

@tansengming just following up here - looks like we've fixed those items. :)

Thanks for the fix! I'll have a look at it once I get back from vacation next week.

apologies for the delay folks, but this looks good! Thanks for the contribution.


Not able to download resume

The app is currently under maintenance, running into server load issues. It'll be back shortly.

Thankyou for your revert.
On Wed, 12 Jun, 2024, 12:39 pm Amruth Pillai, @.***>
wrote:

The app is currently under maintenance, running into server load issues.
It'll be back shortly.
—
Reply to this email directly, view it on GitHub
https://github.com/AmruthPillai/Reactive-Resume/issues/1947#issuecomment-2162271721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHDFN3XYEWI6NI3BQOBRTP3ZG7X3ZAVCNFSM6AAAAABJFV7CR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGI3TCNZSGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

A work around I have found is disconnecting the wifi and connecting back then hard reloading.

A work around I have found is disconnecting the wifi and connecting back then hard reloading.

That's nice, it's works for me as well, thanks for sharing


Errors from the tool after running it.

I got this new error this morning, no idea why.
Regards.

Can you post the full command line used and make sure that the MFT parsed output file you are providing (as input to this script) has data in it as that error can occur if you passed to it an empty file.

Closing for lack of response.


MKL DNN Direct

does MKL-DNN invoke GEMM as defined in BLAS level 3? Does it perform convolution using SGEMM?

Intel MKL-DNN uses direct algorithm or Winograd algorithm to compute most of the convolutions. There are certain scenarios (for example when the number of output channels is not a multiple of SIMD width) where the library will use explicit GEMM-based algorithm. In these cases MKL-DNN has two options depending on how the library was built

Use internal  JIT GEMM implementation.
Use SGEMM function from Intel MKL through BLAS level 3 API. This will happen only if you built MKL-DNN with Intel MKL or a binary blob provided in this repository.

Here's a pro tip. You can see what algorithm (or algorithms) were used in your application if you run it with MKLDNN_VERBOSE=1. See verbose mode documentation for the details.


suggestion: cargo new --template :

Rationale:

Generating project code from templates is a basic and common task, and I think it should be provided by default rather than be shipped as external tool
It could be even easier for newcomers to get started with specific templates, since there will be less steps to do and less specific things to remember
It could be easier to provide project templates, since that assumes well defined place for them inside of crate (e.g. templates folder), and that will not require additional git setup ceremony
This will be more convenient, since cargo new already acts like code generator and features like --name and --vcs might be effectively combined and reused here
Examples are already handled by cargo, as well as tests, docs, benchmarks and other things that belongs to project, so it's expected to handle templates in the same way

this is our longterm intention! we'd like to start independent tho, so that we have the opportunity to churn and experiment more- we do completely agree tho that eventually merging with cargo is the way to go :)


CI: Add 2.7 to matrix

This PR adds 2.7 to the matrix.
Remove unused sudo: false Travis directive
This PR removes the no-longer-used Travis setting sudo: false. See more at the Travis blog.

Thanks! I wonder why it's failing?

$ ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]

$ bundle exec rspec
...

Finished in 0.96271 seconds (files took 0.12195 seconds to load)
3 examples, 0 failures

Ah yes, deprecation warnings my old friend:

Good solution, and got to green, thanks @sj26!


[Bug] Pulsar Helm Charts are missing: https://pulsar.apache.org/charts/ returns 404

Search before asking

[X] I searched in the issues and found nothing similar.

Version
Any
Minimal reproduce step
❯ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "apache" chart repository (https://pulsar.apache.org/charts):
	failed to fetch https://pulsar.apache.org/charts/index.yaml : 404 Not Found
Update Complete. ⎈Happy Helming!⎈

What did you expect to see?
https://pulsar.apache.org/charts should contain Pulsar Helm Charts
What did you see instead?
A 404 was returned
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

@tisonkun can you help in resolving this? thanks

@lhotari root cause located. Will push commits for this issue. Although, shall the helm chart be self-contained? Said depend on artifacts under its code repo.

@lhotari root cause located. Will push commits for this issue. Although, shall the helm chart be self-contained? Said depend on artifacts under its code repo.

Thanks @tisonkun . I guess the location is where it is because of some legacy reasons: that's where it was published initially...

@lhotari sure...
In any aspect we should keep the original file, but it would be reasonable to be self-contained.

Perhaps change logics under https://github.com/apache/pulsar-helm-chart/blob/master/.ci/release.sh.

Supposed the Helm Chart is part of the Apache release, perhaps upload the index.yaml to https://dist.apache.org/repos/dist/release/pulsar/.

The issue reported here should be fixed now. Please confirm and close if it works.

Supposed the Helm Chart is part of the Apache release. Perhaps upload the index.yaml file to https://dist.apache.org/repos/dist/release/pulsar/.

I started a thread on this back in June, but I wasn't able to find the time to update the release process. Here is a link to the thread: https://lists.apache.org/thread/2xmks3zzkh5cm4ghrqt4ys6zwh4c3gbj.
I agree that we should fix the release process. Updating where the index.yaml is stored will probably take a little time to change unless we can respond with an appropriate "moved" error to the helm client.