"Cannot read invalid region of memory" when using image as resolve, then input attachment

Using an image as a resolve attachment in one subpass, then as an input attachment in the next subpass produces a validation error, even if a dependency is present. I think this is a valid use, but I might have missed something in the specification (apologies if I have).
Minimal example
the C program in this gist errors on line 376, with the following output:
vkCmdBeginRenderPass(): Cannot read invalid region of memory allocation 0x7 for bound image object 0x4, please fill the memory before using.
a.out: input_validation.c:376: main: Assertion `vkQueueSubmit(queue, 1, &submit_info, fence) == VK_SUCCESS' failed.
fish: “and ./a.out” terminated by signal SIGABRT (Abort)

Rendering directly to the input attachment (instead of via a resolve, see line 177) removes the validation error.
The relevant render pass definition is:
        VkAttachmentDescription attachments[] = {{
                .flags = 0,
                .format = VK_FORMAT_R8G8B8A8_UNORM,
                .samples = VK_SAMPLE_COUNT_8_BIT,
                .loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR,
                .storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE,
                .stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
                .stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE,
                .initialLayout = VK_IMAGE_LAYOUT_UNDEFINED,
                .finalLayout = VK_IMAGE_LAYOUT_UNDEFINED,
            }, { // Color-resolve
                .flags = 0,
                .format = VK_FORMAT_R8G8B8A8_UNORM,
                .samples = VK_SAMPLE_COUNT_1_BIT,
                .loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
                .storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE,
                .stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
                .stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE,
                .initialLayout = VK_IMAGE_LAYOUT_UNDEFINED,
                .finalLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
            }, { // Blend
                .flags = 0,
                .format = VK_FORMAT_R8G8B8A8_UNORM,
                .samples = VK_SAMPLE_COUNT_1_BIT,
                .loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
                .storeOp = VK_ATTACHMENT_STORE_OP_STORE,
                .stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
                .stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE,
                .initialLayout = VK_IMAGE_LAYOUT_UNDEFINED,
                .finalLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
            }};
        VkAttachmentReference attachment_refs[] = {{
                .attachment = 0,
                .layout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
            }, {
                .attachment = 1,
                .layout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
            }, {
                .attachment = 1,
                .layout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
            }, {
                .attachment = 2,
                .layout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
            }};
        VkSubpassDescription subpasses[2] = {{
                .flags = 0,
                .pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS,
                .inputAttachmentCount = 0,
                .pInputAttachments = NULL,
                .colorAttachmentCount = 1,
                .pColorAttachments = &attachment_refs[0],
                .pResolveAttachments = &attachment_refs[1],
                // This does not error
                // .pColorAttachments = &attachment_refs[1],
                // .pResolveAttachments = NULL,
                .pDepthStencilAttachment = NULL,
                .preserveAttachmentCount = 0,
                .pPreserveAttachments = NULL,
            }, {
                .flags = 0,
                .pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS,
                .inputAttachmentCount = 1,
                .pInputAttachments = &attachment_refs[2],
                .colorAttachmentCount = 1,
                .pColorAttachments = &attachment_refs[3],
                .pResolveAttachments = NULL,
                .pDepthStencilAttachment = NULL,
                .preserveAttachmentCount = 0,
                .pPreserveAttachments = NULL,
            }};
        VkSubpassDependency dependencies[] = {{
                .srcSubpass = 0,
                .dstSubpass = 1,
                .srcStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
                .dstStageMask = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,
                .srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,
                .dstAccessMask = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT,
                .dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT,
            }};
        VkRenderPassCreateInfo create_info = {
            .sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO,
            .pNext = NULL,
            .flags = 0,
            .attachmentCount = NELEMS(attachments),
            .pAttachments = attachments,
            .subpassCount = NELEMS(subpasses),
            .pSubpasses = subpasses,
            .dependencyCount = NELEMS(dependencies),
            .pDependencies = dependencies,
        };
        assert(vkCreateRenderPass(device, &create_info, NULL, &render_pass) == VK_SUCCESS);

Output test
In a slightly more complete example (here), when the validation error is ignored the output appears correct. Tested on Intel (mesa git with Haswell hardware).

There's a gap in the validation here -- we don't consider resolve attachments as having been written.

Working on this now.


go: Init submodules for lib/ and pkg/

Go submodule approach to solve https://github.com/kubernetes/release/pull/1619#discussion_r502631879.
Supersedes https://github.com/kubernetes-sigs/k8s-container-image-promoter/pull/260.
Now that we're attempting to integrate the manifest merging capabilities into k/release (https://github.com/kubernetes/release/pull/1619), we're running into the dreaded v2 semantic import versioning problem:
require sigs.k8s.io/k8s-container-image-promoter: version "v2.4.0" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

ref: https://blog.golang.org/v2-go-modules, https://donatstudios.com/Go-v2-Modules, https://peter.bourgon.org/blog/2020/09/14/siv-is-unsound.html
This PR establishes go submodules for lib/ and pkg/ so that consumers can import libraries in this repo.
Following this merging, we'd tag minor versions (v0.1.0) of the new submodules:

tag: lib/v0.1.0
tag: pkg/v0.1.0

Signed-off-by: Stephen Augustus<EMAIL_ADDRESS>

/kind feature
/assign @listx @dims
cc: @kubernetes-sigs/release-engineering @bytecook

/approve

/lgtm
/approve


PTR or SRV to check for Service Remove Detection

Hi there,
While testing jmDNS to use for our Android app, I noticed Service Removal took longer than an hour.
Upon further investigation, found that Service removal only checks for PTR records, which usually have lot longer TTL..
Following code points to earlier version using both PTR and SRV to detect service removal.
https://github.com/jmdns/jmdns/blob/master/src/main/java/javax/jmdns/impl/JmDNSImpl.java#L1257
Any idea - why this change was reversed?
Thanks,

Maybe you could try if the release https://github.com/jmdns/jmdns/releases/tag/jmdns-3.5.2 works for you.
If the issue is not reproducible anymore the issue could be closed then.

@kaikreuzer almost 8 years and no response from original poster i would say this is safe to close.


[Feature Request] Option to only load the UI when picking c00 and c01

Self-explanatory. I use other mods over c02-c06 so I just use c00 and c01 for skins. Also would it be possible to let people pick the same slots for Steve so for situations like mine more than one Steve and Alex skin could be used at a time in offline battles?

Excuse the question. What versions do you run the mod on?
I use smash 13.0.0 and ARCropolis 13.3.0 and I couldn't get it to work, do you know anything about it?

Bump on this request. Would love to see this done!


Add dev container settings

Add dev container settings, which are useful for local development.

@wankunde: Thanks for your interest in CacheLib. However, we would recommend just leaving the change locally instead of adding it to the CacheLib repo .


Best Practice for Including Reward-Bench with Local Modifications in Our Repo

Hi Nathan,
I’m currently preparing to release a new repository that contains the code used in my paper. As part of our experiments, we made some slight modifications to the reward-bench code (we're using the v0.1.0-dev version).
The changes include:

Updating the evaluation results to Weights & Biases (wandb).
Loading our model using float16, without load_in_8bit=True (since I'm not sure what load_in_8bit actually does, and I just want to load our RM in fp16).
Adding a system prompt to the message object passed to tokenizer.apply_chat_template.

I'm reaching out to ask about the best practice for including reward-bench with our changes into our repo. At the moment, we’ve removed the .git directory and committed the entire reward-bench codebase to our repository.
Is there a better approach to incorporate reward-bench while maintaining our local modifications? Any advice would be much appreciated!
Thank you for your time and help!
Best regards,
Tzu-Han

Having used the new setup recently, it's all somewhat in flux, but I am personally trying to avoid copying or depending on a fork.
My first thought would be:

(3) Contribute this as a feature.
(2) Nate will know the details of the flags better. Maybe not_quantized=True captures this?
(1) I'm doing something like call rewardbench(args), read the jsonl, process results. Possibly such a setup is sufficient for you as well?

Yeah I mostly agree with @sanderland, but I understand if it's a research project / lesson on using open source code.
Specifics:

I'd happily integrate integration with wandb into main (@vwxyzjn and I have discussed how I am rebuilding wandb with some recent features).
Honestly, I'm not 100% sure either. Pretty crazy to admit this, I need to look. This is what happens when you copy inference code around a ton of times. I need to double check this (I honestly bet a bunch of the args are deprecated). My understanding is that you tend to want to load in the right datatype, then load_in_8bit converts it to 8bit. This is nice for speed, but some models don't quantize well. TLDR: I'm very happy to have help on further improving the datatype handling.
System prompt also great! Most models don't have them, but its coming.

Operationally, it's not that easy to extract changes in a flattened repo. Normally, you want make a new fork and re-apply them. I don't really have much time to do that, but would love to see the additions. I'm sure claude/chatgpt can whip up some quick bash scripts for creating git diff's from a specific commit.
Let me know what you think @hank0316

Thank you guys @natolambert and @sanderland for the replies.
My thoughts:

wandb: Currently, I use wandb mainly to upload evaluation results for each subset. While integrating wandb might not be essential for releasing my code—since users can access evaluation results through stdout or the results folder—I'm open to assisting further if needed. Please let me know how I can contribute to enhancing this aspect.
model loading args: In my implementation, I specify torch_dtype=torch.float16 and set load_in_8bit=False when loading the RM, since I didn't use 8-bit quantization. After a quick review of the latest version of reward-bench, it seems we can continue with the existing loading logic without any modifications. However, I'm available to discuss potential refinements to ensure alignment with any new updates.
System prompt: I'm wiling to contribute to this great evaluation tool. Maybe I can issue a PR to add system prompt as an optional feature used for inference?

I appreciate your guidance on these modifications. Please let me know if there are specific procedures or additional insights required for integrating these changes.
Thanks again for your time and help!

Yup @hank0316 opening PR(s) is best. I'll provide feedback from there.


[FEAT]: Create Issue forms and make the issue options more visually appealing

Currently, there is no issue template for this repo, so I want to add it which will look like this 👇

Also I will add Issue Forms to the respective issues to make it easier for the contributor to raise it.

Here is an example of how a Bug Issue Form will look like 👇

I also saw that one PR was merged earlier related to this but there are no changes at all ( might be there will be bugs). So I am here to fix that.

I want to work on this issue. So, kindly assign this issue to me ( GSSOC'24 ).

Hi @TonyStark-47, the developement of this web app is almost done. So we don't require any issue template right now.Thanks for your issue.

Ok, Best of luck!

Ok, Best of luck!


Workaround for @cfunction closures on unsupported platforms

Fixes #88 by storing the BatchClosure object in the thread local storage of each task.
Architectures which do not support closures are detected in the same way as in this line, which should cover all affected platforms.
Tested on Nvidia Grace, not on Mac. Comparing this method with the @cfunction closure on x86, the overhead seems to be almost the same, but with additional allocations when using threadlocal.

I might have PR'ed too soon, as I see some #undefs with when using threadlocal for threads when using more than 65 threads, here on Nvidia Grace, with julia -t 72:
julia> using Polyester

julia> let
           @batch threadlocal=rand(10:99) for i in 0:Threads.nthreads()
               threadlocal += 1
           end
           findall(i -> !isassigned(threadlocal, i), 1:length(threadlocal))
       end
7-element Vector{Int64}:
 65
 66
 67
 68
 69
 70
 71

All threads after the 64-th are #undef, appart from the very last one. Always happens with more than 65 threads.

Well... I might have forgotten to commit a single line from my PR a year ago, sorry about that. Somehow I didn't stumble upon this sooner.
Now everything is working fine on my side. CI is failing but apparently it is only because of Aqua.jl, all multithreading tests are passing.

I found that while this works, it does allocate a bit more than what I would like (which is zero), and it seems to be proportional to the number of threads, which is too detrimental for performance. More info tomorrow.

Polyester is supposed to try and avoid closures closing over objects by identifying the objects that would be captured, and then passing them as function arguments instead.

But currently users are oblivious of this optimization on x86, even when it fails and falls back to a closure instead, as performance is only slightly altered. I think that having a working fallback on all platforms might be preferable over the current unhelpful error cfunction: closures are not supported on this platform.
Maybe adding a warning would help? Something such as some captured variables couldn't be turned into function arguments, consider changing how those variables are used by the @batch loop?

I found that while this works, it does allocate a bit more than what I would like

It seems that the allocation issue is unrelated to my changes, and only happen on ARM when using --check-bounds=no, because of a type-inference issue.


Use multi-core optimized pgzip package in tarball (de)compression

This PR is blocked on: https://github.com/cloudfoundry/bosh-utils/pull/100
For more context: https://github.com/cloudfoundry/bosh-utils/pull/98

Blocked on bosh-utils ci being broken


Add support for report printing/pdf

Project partners would like to be able to print hard copies of sketch reports or export digital hard copies of reports (PDF)
In its simplest form this could be:

A button available in the corner of the report window
Clicking the button will open up a new browser tab and load a full width report.
Relevant header information will be included up top - sketch name, last modified data/time, current date/time.
This could be as simple as loading reports in "masonry" layout, 2 wide
Learn more dropdowns could just be removed
Show by mpa would be displayed in long row form, instead of side scroll form.  It could even be split out into a separate report section so that no one report spans more than a page vertically.
Printing this browser tab could add some additional print css if needed, like adding the sketch name

Implementation

a new endpoint could be published with a separate react "PrintApp" just for this purpose

PDF support

Simplest implementation of this could be to use the Print to PDF feature of all modern browsers/operating systems.

Stretch goal

a visual representation of the mpa could be displayed using the geojson, coastline and eez. See d3-js.

In the past we've used phantomjs to take a screenshot of the browser viewport and export that to pdf. It would be nice if we had a similar pdf service that can be accessed with a link. phantomjs is out of date but SSN is taking map screenshots using puppeteer paired with a lambda layer:
https://github.com/seasketch/next/tree/master/packages/map-screenshotter

@twelch Thoughts on anything that needs to be resolved further before closing this issue? (i.e. the stretch goal)

@avmey The stretch goal sounds like fun if you want to go for it. Welcome to close as-is as well.

It does sound fun, I'll give it a go

@avmey deciding where/how to to get your hands on the spatial data might be the most challenging part.
The sketch geojson can be pretty large, so the report react app doesn't currently handle it at all I think, it passes the sketch geometryUri on to the lambdas to fetch it from seasketch directly via the geometryUri in GeoprocessingHandler, and the geometry is set to null in the geoprocessing function response.  We don't ship it back with the lambda response because it can quickly be larger than the maximum payload size that can be returned.
So a couple of options off the top of my head:
1 - If you want to generate the image on the client, one option is to have the browser client use the geometryUri and ProjectClient datasource URLs to fetch the data needed asynchronously, when the report is initialized, maybe in App.tsx, and have it stored.ready to use say in the report context.  d3could be invoked in your print widget to render the image.
2 - another option might be to use a web worker in the browser to fetch data and do as much work as possible, then ship the result back to the main browser thread to display the result.  Chad would probably be happy to talk about how this works as he has envisioned being able to run geoprocessing functions in web workers even at some point instead of using lambdas.  This could be a first test case.
3 - create a geoprocessing function that does most all of the work for you, and possibly gets all the way to returning an image (svg or base 64 encoded png), or possibly some very simplified geometries for display if it can keep the payload small enough.

d3 web worker example - https://gist.github.com/mbostock/01ab2e85e8727d6529d20391c0fd9a16

d3 server-side example with jsdom - https://github.com/gregjopa/d3-server-side-demo/blob/main/bar_chart_helper.js.
https://www.gregjopa.com/2020/05/render-d3-charts-server-side

Thanks for all the thoughts and links! I think I'll start with the geoprocessing function to get something worker and go from there.


Add custom build type, custom keystore path and adjust for custom generated applicationIDs

This one seems to be fine. Let's wait for the CI to run.
P.S.: I was lucky to find a proper backup on the reflog :)

This is the same you had before, only 7 new lines

Something is going wrong while rebasing from your upstream master. I have pushed my original version on the fork's master. Will need to check it again, in further detail. I am sorry for all this inconvenience but I literally can not understand what is going wrong.


⚠ Bofrost.at has degraded performance

In 2cc43c4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1157 ms

Resolved: Bofrost.at performance has improved in ab65b2a after 9 minutes.


Improve Pair-Programming by auto-following whoever starts to edit

We’re remote pair-programming 100% of the time on my team, and decided to try to upgrade our remote pairing stack from tmux/vim to vscode/liveshare.
It works quite well, which makes me happy (thanks for great work!).
Problem
There is one rough edge though during pair-programming. We don’t rigidly structure who drives and who navigates (because everybody is already very experienced with pairing on the team, so we just pair free-style). And that involves switching who is editing, sometimes, even every few seconds.
For example, Alice and Bob are pairing. Right now Bob is typing something in the currently active file. Then in a conversation, it just happens, that Alice is typing now (either to show some refactoring, or to switch between tests and implementation).
Now Bob, needs to press CMD+ALT+F to follow Alice again. Of course, Bob will be confused for a few seconds because they are not aware that Alice has jumped to another file (since Alice was following Bob just a moment ago, and Bob wasn't following Alice, because they were editing at the time).
Few seconds later, when a small change is done, and Bob wants to make yet another change, Alice ends up in the same confusing situation.
And this just keeps repeating the more the pairs switch, which is several times per minute.
Proposed solution
During our pairing, it seems like auto-following whoever was the last person to edit something would work perfectly.
Of course, it’s not the mode of collaboration that every team will have out there. So it’d be great if we could turn this Auto-Following as a mode with On/Off switch.
What do you think?

I'm going to close this for now since we haven't heard significant customer feedback for this. If this is something that folks would like to see us prioritize, please let us know by re-opening/commenting on this bug. Thanks!

This is something I'd like to see for sure. I've been trying to get this to work, but realized it's not supporeted at the moment.
I'd explicitly call this pairing mode or something equivalent.


Jesse: Watch digi[\W_]*+world

Jesse requests the watch of the watch_keyword digi[\W_]*+world. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

digi[\W_]*+world has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Fix vite hmr and FE docker build context path

Changes proposed ✍
What

🤖 Generated by Copilot at 8a71717
The pull request updates the context paths for the frontend services in scripts/services/frontend.yaml and upgrades the vite dependency in frontend/package.json. These changes are part of a repository reorganization and a frontend development environment improvement.

🤖 Generated by Copilot at 8a71717

We face the doom of the dev server
We need to update vite to survive
We reorganize the repo of the crowd
We change the context paths to thrive

Why
How

🤖 Generated by Copilot at 8a71717

Update vite dependency to fix dev server issues and improve frontend performance (link)
Change context paths for frontend and frontend-dev services to reflect new folder structure (link, link)

Checklist ✅

[x] Label appropriately with Feature, Improvement, or Bug.
[ ] Add screehshots to the PR description for relevant FE changes
[ ] New backend functionality has been unit-tested.
[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[x] Quality standards are met.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: yeganathan18:x: epipavYou have signed the CLA already but the status is still pending? Let us recheck it.

I think since Anil updated my fork branch with main, it asks for CLA. Hope that's not an issue, and I'm merging the PR. 😄


Create new InPynamo connection if loop is closed

Currently, in the _get_connection(), new connection is established if there isn't a cached instance of TableConnection. However, this means that even when a new event loop is generated, the Model instances refer to the old connection which may have closed and therefore unable to perform any actions.
A hotfix would be to change the logic in the _get_connection() method to account for this.
But I think this might really have to do with the "session" denoted by the session_cls keyword argument when creating TableConnection. Something more elaborate / smooth can be done with this.

In this time, I have doubt that session is successfully closing, since I can't assure __del__() is called appropriately. I should fix this first, and we have to see same error is still occurring.
The fix for that is still, complicated to implement.
I am considering to apply 'context manager' to dispatch or _make_api_call, and session closing will be done by aiobotocore's client, not our AsyncConnection class. I will let you know when implementation is done.

updated on https://github.com/MyMusicTaste/InPynamoDB/commit/1885e198294f2968d50a8c07a100c686e2f47b5d
need to check if it is working.

closed 8d21e1fc5085d2ee95a20317fcca7afca55c8b44


Fix e2e flow missing variables

Some variables were missing or given with the wrong names.
In addition, remove junit.xml reporting as we don't really use it right now (and it's causing some permission problems in prow)

/cc @AsherShoshan
let's test it with your PR in openshift/release

/lgtm


Update angular-validation-match.js

Not sure what the point of this is. If you don't want them to match, do not add the match attribute to the element and it will not trigger the match validation.
With this change, it is not watching for the match attribute value to change and do stuff when it changes, it simply acts as if the directive was never there... so I would simply instruct the developer to not add the directive.
Maybe you are dynamically populating the attribute in some server side code<EMAIL_ADDRESS>which will make it empty when Model.match is empty. This could be written to just not add the match attribute when Model.match is empty.
If anything, I would want to throw an error is nothing is provided to match. Try ng-model="" and see what happens.

Hi, thank you very much for accepting. And sorry for not explaining my use case in the first place.
You are right that I'm populating the attribute dynamically, though in Angular directive, let's call it wrapper for <input> element utilizing more custom directives. I wanted to simply pass match attribute from my directive to your one, but when the value was empty, I got this buggy behaviour.
Adding simple condition here seemed easier than adding logic to wrapper template, and somehow covered the case of empty value.


Getting rid of the home-page_hero div causes bomb?

Hey, a weird thing happened as I was sprucing up the saleor storefront.
The original code in the Page.tsx file started with the following home-page hero div:

  <div
    className="home-page__hero"
    style={
      backgroundImage
        ? { backgroundImage: `url(${backgroundImage.url})` }
        : null
    }
  >

Final reduction

Up to 70% off sale

I wanted to get rid of this sale notice and just begin with the shop by categories portion right after. When I did this however (removing the home-page hero ) the build bombed altogether:

  <ProductsFeatured />
  {categoriesExist() && (

Shop by category

          {categories.edges.map(({ node: category }) => (

              <Link
                to={generateCategoryUrl(category.id, category.name)}
                key={category.id}
              >
                <div
                  className={classNames(
                    "home-page__categories__list__image",
                    {
                      "home-page__categories__list__image--no-photo": !category.backgroundImage,
                    }
                  )}
                  style={{
                    backgroundImage: `url(${
                      category.backgroundImage
                        ? category.backgroundImage.url
                        : noPhotoImg
                           })`,
                  }}
                />

{category.name}

              </Link>

          ))}

  )}
</>

);
};
I ended up getting it to work using a CSS style display: none attribute on the home-page hero div, but (as I'm not a react person) why did the build bomb when I went to remove the home-page hero div?
Is there a requirement for the sale link which I had removed, but is specified elsewhere?

Problem solved: it was, primarily, too many warnings cause a build failure (one warning will evidently still allow for a build...)


Unclear fields

Reading the DNS schema it's unclear to me if EventResultDetails, EventResult and to some extend ResponseCodeName, is part of this schema or not.
EventResultDetails is listed in the Schema Overview and Common fields and is said to contain information about if the event was successfull or not.
Under Common fileds in the EventResultDetails section, EventResult is also mentionsl, but then never again.
If EventResultDetails should exist in the schma, please clearify if its optional, recommended or mandatory and how the content of it should look.
Its also mentions that EventResultDetails Aliases the ResponseCodeName field, but that field is listed as depricated and points to DnsResponseCodeName.
Finally the content of DnsResponseCodeName, does not seem to match the described content of fields that aliases to it.

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

ID: 77cb9200-7f7a-944e-b61d-ee56f8aea593
Version Independent ID: 53d62e8b-5737-2298-1a57-d4018f613de6
Content: Microsoft Sentinel DNS normalization schema reference
Content Source: articles/sentinel/dns-normalization-schema.md
Service: microsoft-sentinel
Sub-service: microsoft-sentinel
GitHub Login: @batamig
Microsoft Alias: bagol

@AzCii Thank you for your feedback . We will investigate and update the thread.

Tagging the content owner here - @oshezaf can you assist?

Thanks @oshezaf and thanks @AzCii for writing into docs.
I'm going to close this issue in the meantime, but please feel free to continue commenting as needed. We appreciate your input - thanks for your contributions to docs!
#please-close


Feat/update on keyring state change in accounts controller

Explanation
This PR refactors how the AccountsController handles the subscription to keyring state changes and removes the keyringApiEnabled flag
References

Changelog
@metamask/accounts-controller

REMOVED: keyringApiEnabled flag

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@metamaskbot publish-preview

Could we replace the ts-ignore directives in this PR with the following annotation?
-    // eslint-disable-next-line @typescript-eslint/ban-ts-comment
-    // @ts-ignore Type instantiation is excessively deep and possibly infinite.
+    // @ts-expect-error TODO: align BaseController state update callback type
     this.update((currentState: AccountsControllerState) => {

The @ts-ignore message is misleading and masks the underlying cause of the error. What needs fixing here is a misalignment between the state update method BaseControllerv2.update() and the callback being passed into it: (currentState: AccountsControllerState) => void. The "instantiation depth limit exceeded" error is just a side effect.

@ts-ignore also instills a false sense of security. Suppressing the type errors doesn't remove the issues. It just causes them to fail silently, making them more difficult to debug down the road. This is why @ts-ignore usage should be avoided entirely, as our eslint config already enforces.

Ideally, the type errors should be resolved before we move forward, but if the changes in this PR need to be merged urgently, leaving a clear indication of what needs to be fixed using @ts-expect-error TODO: annotations is an acceptable stopgap.

I made some typing fixes in this commit https://github.com/MetaMask/core/commit/deae9e74483c99234a14366153dbb312f86e5897 that resolves the errors being ts-ignored.

Aligned type for currentState as Draft<AccountsControllerState>
Resolved "excessive type instantiation depth" errors caused by comparing Draft<T> to T, by casting to T.

@metamaskbot publish-preview


V1.16.0 with game patch 1.3 no longer reporting keypresses.

The function:
Observe("PlayerPuppet", "OnAction", function(self, action)
is no longer reporting any keypresses/game actions other than "IconicCyberware" which is usually associated with the 'E' key.
'action' is not returning anything at all other than for 'IconicCyberware'.

Try with artifact from here
https://github.com/yamashi/CyberEngineTweaks/actions/runs/1149654349

But there were some script changes so it is possible signature changed...
A foreword. A lot of things broke on top cause of them changing scripts.

I gave that one a go.  The artifact didn't appear to make any difference though.  The only thing reported by action is still only 'IconicCyberware'.  Thanks for looking.

You have to manually register input events now, they made changes to the events they attach in scripts.
Observe('PlayerPuppet', 'OnGameAttached', function(self)
    self:RegisterInputListener(self, 'Forward')
    self:RegisterInputListener(self, 'Back')
    self:RegisterInputListener(self, 'Right')
    self:RegisterInputListener(self, 'Left')
    self:RegisterInputListener(self, 'ToggleSprint')
    self:RegisterInputListener(self, 'Jump')
    self:RegisterInputListener(self, 'ChoiceScrollUp')
    self:RegisterInputListener(self, 'ChoiceScrollDown')
end)


--force-install addition to compile.sh isn't supported by vmware-install.pl

Commit 3c8946b95cec12c0748722bc18796af9618030b4 introduced a --force-install parameter to the compile.sh which vmware-install.pl does not appear to support, causing it to emit a Usage: block indicating an error. The vmware-install.pl run fails.
...
 60400K .......... .......... .......... .......... .......... 99% 1.64M 0s
 60450K .......... .......... .......... .......... .......... 99% 1.64M 0s
 60500K .......... .......... .......... .......... .......... 99% 2.49M 0s
 60550K .......... .......... .......... ..........           100% 1.74M=35s

2015-12-22 16:43:17 (1.67 MB/s) - ‘com.vmware.fusion.tools.linux.zip-7.1.1.tar’ saved [62044160/62044160]

mount: block device /tmp/vmware-tools-patches/downloads/payload/linux.iso is write-protected, mounting read-only
initctl: Job failed while stopping
initctl: Unknown instance:
VMware Tools 9.9.2 build-2496486 for Linux installer
Usage: ./vmware-install.pl [[-][-]d[efault]]
default: Automatically answer questions with the proposed answer.
[[-][-]prefix=<path to install product: bin, lib, doc>]    Put the installation
at <path> instead of the default location.  This implies '--default'.
--clobber-kernel-modules=<module1,module2,...>    Forcefully removes any VMware
related modules installed by any other installer and installs the modules
provided by this installer.  This is a comma seperated list of modules.
...

Sorry to hear you're having problems @mikeputnam! As I wrote in #84, I tested this with multiple versions and everything worked okay.
I just ran a build of Debian targeting 7.1.1 and it was successful. What OS are you building? Are you targeting 7.1.1? (Which should produce tools VMwareTools-9.9.2-2496486.tar.gz).

@mafrosis I just hit this problem in a packer build of bosh-lite. I was using VMware Tools 9.9.4 build-3193940 as shipped with VMware Fusion 7.1.3 with Ubuntu 14.04.3.
If you crack open the 7.1.3 package that download-tools.sh points to, you'll see that the vmware-install.pl script on the disk image doesn't have any code in support of --force-install.

It might be advisable to run a test against the script with --force-install to see if it causes a non-zero exit code when trying to access it via help before making it part of the final command.


Is there any way to stream output for VLLM and Together ai?

Issue you'd like to raise.
I have checked the documentation, although both are supported in langchain, but I could not find a way for streaming output.
Suggestion:
No response

But does VLLM Support stream or astream?


font: replace Inter Tight with just Inter/Gitlab Sans/[[insert comfy font]]

Gitlab sans will be a nice option. Gitlab mono for monospace will be good too. Can you please post some screenshots comparing how the change will look like?

Another one - https://github.com/vercel/geist-font


App crashes on startup Oculus Quest

Hi,
Thanks for getting pocketsphinx running in the first place!
Everything works great on pc both editor and builds. I am currently trying to get it to work on an oculus quest, as you mentioned this should work.
However on startup the app crashes. This seems to be the culprit:
Error AndroidRuntime:       #00 (wrapper managed-to-native) Pocketsphinx.pocketsphinxPINVOKE:Decoder_StartUtt (System.Runtime.InteropServices.HandleRef)
However earlier in the crash log i find this log: Error Unity: Unable to find libpocketsphinxwrap .
Which seems like a problem.
I'm using unity version 2019.3.0f6.
I have attached the full crash log as well.
PocketSphinxCrashQuest.txt
Thanks in advance for any help!
Kind regards

Hey, So through further testing i found out that the problem was due to reading the text file with the keyphrases.
This is a known issue on Oculus quest!
https://stackoverflow.com/questions/58063459/unity-streaming-assets-content-not-being-read-in-oculus-quest-go
https://forum.unity.com/threads/reading-streamingassets-data-fromapk-on-oculusquest-go.749858/
Because of this i was looking for a new way to set multiple keyphrases. But I am not sure how the text file is read inside pocketsphinx as  everything file related happens in the function below.
//string keyphrasePath = Path.Combine(Application.streamingAssetsPath, "keywords.txt");
//c.SetString("-kws", keyphrasePath);
Any workaround for this?
Kind regards Rob

Hi there!
Yes, this is a known issue for any file you attempt to load on the Oculus Quest. I personally, haven't tried using multiple keyphrase spotting on the Quest. Usually I use language model spotting.
Have you tried loading the text file as the StackOverflow thread you linked mentioned?
Something like this could work: (Untested)
WWW reader = new WWW (keyphrasePath);
while (!reader.isDone)
{
    yield return null;
}
keyphrases = reader.text;

c.SetString("-kws", keyphrases);

Hi all, the sample scene worked great for me in the Unity Editor but now I am unable to deploy it successfully for Oculus Quest :( Similar to @RaoulRb , I also encountered a similar error Unable to find libpocketsphinxwrap.
The project is unable to open in the Oculus Quest after i loaded the apk in, but while i was running adb.exe logcat, some of the debug messages appear:

I've tried loading the text file mentioned in the StackOverflow thread as well as also tried downloading the "Better Streaming Assets" but none of those ways seem to solve the problem.
Another potential issue I could think of would be I am not building the project properly for Oculus Quest(?) Not really sure if what I tried is correct, but what I did was:

Imported Oculus Integration v17
Switch platform to Android
For player settings > XR settings : checked Virtual Reality Supported
For player settings > other settings

I also added a OVRPlayerController in my scene... (not sure if this is redundant?)

On that note, just curious how would one usually go in building a project to deploy to Oculus Quest?
(since there were no specific instructions given in the README.md file)
Greatly appreciate it if anyone knows how they managed to work around this problem.
Thanks in advance!
PS. I am using Unity 2019.3.15f1.


[Feat]: footer social medis icons

What feature?
when we hover on the social media icons the name of the icon will be displayed above like tooltip like

to make it more interactive
Show us the magic with screenshots
but now it is like this

Record

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

please assign me this issue @Vaishnavi-Patil2211


[bug]: last_update timestamp is in the future for a node

Background
I came across a last updated date in 2030 in my mempool.space and was doubled checking the data via lncli and found out that my lnd has a channel with last_updated at "last_update":<PHONE_NUMBER> for node2.
Your environment

lnd-0.16.0-beta
Linux 5.10.103-v8+ aarch64 GNU/Linux
bitcoin-24.0.1

Steps to reproduce
lnd lncli getchaninfo<PHONE_NUMBER>61984001
Expected behaviour
Return a last_update timestamp that is not in the future.
Actual behaviour
"last_update":<PHONE_NUMBER>

I can confirm that the update has a timestamp that lies in the future. Did you recently change your fees or do you use other tools with your node?

No, it's also not my channel

Can confirm that my node sees the same. But apparently also does 1ml.com: https://1ml.com/channel/770826920361984001/json
The spec isn't too specific on what valid values are. So it looks like this could've been set by the user of that node (by accident or for testing something). The timestamp is mostly used for ordering, according to https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#the-channel_update-message. So it could be that with this they made it impossible to ever update their channel, as all updates before that timestamp would be interpreted by every other node as "this update is before the most recent one I already have"...

Ah ok, we'll need to see what implication this has. Perhaps lnd would need to reject channel updates that lie too far in the future. I checked the graph and there are about 20 channels that have a timestamp far in the future. One can check that with lncli describegraph | jq '.edges |= map(select(.last_update >=<PHONE_NUMBER>)) | .edges'.

You can set it to pretty much any value. The only restriction is that the next timestamp be greater than the other one, so maybe someone is using custom values?


Problem with this.element

I wanted to use hasClass method this way:
expect(wrapper.hasClass('some-class')).to.be.true
but I've got error:
undefined is not an object (evaluating 'this.element.classList.contains')
while this one:
expect(wrapper.vm.$el.classList.contains('some-class')).to.be.true
works.
I've tried to debug it a bit, and added these lines into hasClass method:
console.log(this.element);
console.log(this.vm.$el);
and I've got output:
LOG:
LOG:
...

What do you think? It's ok that element and vm.$el are different?

Thanks for the bug report.
Can you post a minimal reproduction?

Yes, I think this test reproduce it very well.

I've pushed a fix, I'll release soon


Stopping countdown from scrolling down content of PS window

I have read these two to discussions
https://github.com/microsoft/terminal/pull/6062
https://github.com/microsoft/terminal/issues/15059
but as I am not a programmer, just a small time script tweaker, can anyone summarize / explain to me these two discussion in more layman terms?
I have this OK working test code
Write-Host "Line of text at the very top"
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host "Line of text in the middle"
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host
Write-Host "Last line of text"

Write-Host "Executing in:"
Write-Host

# Countdown:

$topRow = [System.Console]::CursorTop

10..0 | ForEach-Object {
    [System.Console]::SetCursorPosition(0, $topRow)

    if ($_ -eq 10) {
        Write-Host $_ -NoNewline
    } else {
        Write-Host " $_" -NoNewline
    }

    Start-Sleep -Seconds 1
    Write-Host " `b" -NoNewline
}

# Here will be the main script

Write-Host
Write-Host "Script has been executed"

# Wait for specific user input (ESC, ENTER, or SPACE) before closing the window:

Write-Host "To close this window press either:
Enter
Space
Esc"
Write-Host

do {
    $key = $Host.UI.RawUI.ReadKey('NoEcho, IncludeKeyDown').Character
} while ($key -notin @(' ', [char]13, [char]27))

which stops the PowerShell window at countdown - and after it ends it then proceeds with execution of the rest of the script
But the problem with it that I have is that every appearing digit makes the PS window scroll down its content to the very bottom - thus I can only see what is above this active counter for less than second afterl scrolling up. I can constantly scroll manually but it always goes back to the bottom to show a new digit. I could of course replace that with a silent countdown like this

$CountdownSeconds = 10
Write-Host "Executing in:"
Write-Host $CountdownSeconds
Write-Host "seconds"
Start-Sleep -Seconds $CountdownSeconds

but at a cost of not being informed then about how much time has left
So is there a way to eat a cake and have it - i.e. to see a digits of countdown at the bottom of window but also at any time to be able to scroll up not have the view thrown back down every second?

Ah, you're using the vintage console window, conhost.exe, aren't you/?
Here's a great solution! Go try the Windows Terminal instead. In the Terminal, we've updated this to only snap to the bottom on output, if you're already at the bottom. If you scroll up, then we won't snap to the bottom on output.

Thank you for informing me
But because there are many prerequisites for running Windows Terminal on Windows 10 and my time and skills are limited [and I just know, based on my past experiences, that I will stumble on some issues with upgrading my system] thus I think I will just wait out for the time when I will build a new machine with Windows 11 installed on it - as Wikipedia says that  is by default replaced with Windows Terminal since Windows 11 22H2

Ah - those are the pre-reqs for building the Terminal locally. If you just want to install it, you can grab it from the Store, or straight off our Releases page.


TPM 2.0 is now the main recommendation

TPM 2.0 (especially for enterprises - and starting with 1607 the number of additional capabilities that requires this)
TPM 2.0 will help prevent (reduce) lockout attempts and provide more efficiencies with Windows Hello for Business.  THis should be the main requirement now moving forward especially with 1607 and later.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@computeronix,
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

Hey, it'll take us a few days to talk about this. I'll respond here ASAP.

Hi again, upon further discussions we've decided to keep it as it is. While TPM 2.0 is recommended , this is still official documentation and we have document all supported TPM version.


Handle shp2wpkh type correctly in createDescriptor

With the way the switch/case block is written in createDescriptor, the shp2wpkh and p2shp2wpkh cases result in a descriptor without a closing parenthesis e.g. sh(wpkh(...). This change is a refactoring of the switch case block to enable constructing descriptor for all cases correctly, and also improve maintainability and readability.

@shobitb Thanks for the PR. please rebase with master and I will merge.

Hi @BitcoinZavior I've resolved the conflicts.  I did it via github (browser) so I think it created a new merge commit (not rebase).  Is that okay?

Yes that should do. I am just waiting for @rsbkme to try main branch before merge anything new.


Road Building Automatically Melds card

When a player has cards of different colors in hand, Road Building may automatically select one to meld.  See
https://studio.boardgamearena.com/table?table=426228 and https://boardgamearena.com/table?table=321401915 (Move ~50)

Looking at the code, I think the only other card this bug would affect is Ice Skates.

Never mind, Ice States wouldn't be affected. I think it's just Road Building.


Asks users to activate TLC execution statistics

The Toolbox nudges users to activate execution statistics to guide TLC development (see screenshot below).  Please add similar functionality to the vscode TLA+ editor.  Technically, a file called esc.txt is dropped into ~/.tlaplus/ whose first line is either a random identifier, "RANDOM_IDENTIFIER", or "NO_STATISTICS" (see https://github.com/tlaplus/tlaplus/blob/master/tlatools/src/util/ExecutionStatisticsCollector.java).

The statistics are publicly available: https://exec-stats.tlapl.us/tlaplus.csv

Sure.

The "toolbox" field has been modeled as a boolean but maybe should change to indicate the actual IDE.

@lemmy, the implementation is in the v1.3 pre-release.
As for the TLC -tool option, I agree that it would be nice to distinguish various TLA+ IDE's by providing different values. But wouldn't a string value (like "toolbox", "vscode-tlaplus", or some kind of mnemonic, like "TB" or "VSC") be more convenient?

Would it be difficult for the extension to set a Java system property (e.g. -Dtlc2.TLC.tool=vscode)?

Not difficult at all.
Does TLC already handle this property?

No, but I have to think how to best migrate the current reporting.

Actually, I like "tlc2.TLC.ide" better.

Added with https://github.com/tlaplus/tlaplus/commit/fe636624af94a06f943d6d4cd759803b3cea90eb.  I suggest you include the  TLC nightly build in the final 1.3.0 extension release?
Metabase:

I suggest you include the TLC nightly build in the final 1.3.0 extension release?

Is it stable enough?

Yes, TLC development is very conservative.

Added to the latest v1.3 pre-release.

There is a typo "plublicly" in the settings label: Allows you to send the TLC usage statistics to the plublicly available database. You can find more details on what is shared here.
Do you want me to create an exec-stats.md file in the https://github.com/tlaplus/tlaplus repo that lists the shared information?

Should the drop-down in the settings show if a user has opted-in or not?? Here it shows "doNotShare" even though I have a ~/.tlaplus/esc.txt file with an identifier.

There is a typo

Thanks, fixed.

Do you want me to create an exec-stats.md?

Yeah, I think it would be more appropriate to have a page like this in the tlaplus/tlaplus repo, since it is the source of truth for such information. I'll change the link as soon as such page is available.

Should the drop-down in the settings show if a user has opted-in or not?

Actually, I thought I couldn't update configuration settings programmatically, but it looks like there's a method for that, so yes, I'll do that.

https://github.com/tlaplus/tlaplus/blob/master/tlatools/src/util/ExecutionStatisticsCollector.md

All fixes are available in the latest pre-release.

@lemmy, I think I'll stick to the stable tla2tools.jar bundled with the extension. Using nightlies will be possible after implementing #134.

Just released v1.3 with statistics sharing, so I'm closing the issue. Please, feel free to reopen it if sharing doesn't work as expected.
I'll put the -Dtlc2.TLC.ide=vscode option back when tla2tools 2.15 is released.

There is no harm in passing -Dtlc2.TLC.ide=vscode to older TLC releases because it is ignored.

Yeah, I noticed that, but still decided to remove the option because some people look at the full TLC command line and they may be confused by this previously unknown option that actually does nothing at the moment.

The link to the file explaining the content of the stats has changed to: https://github.com/tlaplus/tlaplus/blob/master/tlatools/org.lamport.tlatools/src/util/ExecutionStatisticsCollector.md


Bootstrap API down

https://api.jsdelivr.com/v1/bootstrap/libraries returns:
Cannot GET /v1/bootstrap/libraries

Thanks for the report, we're looking into a fix for this now.

@markcarver there was an error regarding rate-limiting on the service that refreshes the status of the jsdelivr api db for bootstrap, we've fixed that and are working to ensure the error is handled appropriately in the future.

Awesome :) Thanks for such an amazing API! I maintain the Drupal Bootstrap base-theme and, even though I have a fail-safe in place in case it goes down, I got a ping over in the #drupal-bootstrap IRC channel on freenode that it was down.
FWIW, this explains how the base-theme uses the API https://www.drupal.org/node/2452617

That's seriously cool! You'll be happy to learn that the fix we've just pushed includes significant enhancements to the stability of bootstrap library hosting, cheers - and thanks for using jsdelivr :)


Option to disable asconfig auto-creation for multiple folders

We have a huge project with multiple folders in VS Code. as3mxml requires every folder to have an asconfig.json file, but we don't need that (the biggest problem is that we have around 100 compiler definitions that change all the time, and it's hard to keep track of those around all folders).
Is there a way to disable "Import Existing ActionScript & MXML projects..." dialog that pops up every time the workspace is open? If I click "Import" then multiple asconfig.json are being created. And also if I click close on that dialog, then it's created too. But disabling this dialog altogether would be really nice, thank you!

Set the as3mxml.projectImport.prompt setting to false.
I see that this was undocumented, so I just added it to the documentation now.


Push oracle container to docker hub

Hi, I' d like to know if pushing to docker hub of an oracle XE DB image generated with a customized revision of the 19.3.0 Dockerfile provided in this repository is compliant with the terms of use.
Thank you
Carlo

We are not lawyers, so we can't answer license compliance questions on GitHub. I can however point you at the Oracle XE license terms for the Linux RPM release: https://docs.oracle.com/en/database/oracle/oracle-database/18/xelic/licensing-information.html
You will need to do your own assessment of the license terms to determine if what you're proposing meets those terms.


Upload Center Wellington District HS

@kevinfromelora Please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

the university official website URL, if different from the domain you are submitting

https://www.ugdsb.ca/cwdhs/

an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university

https://www.ugdsb.ca/cwdhs/wp-content/uploads/sites/66/2019/03/CW-Course-Grid-2019-2020-1.pdf - look for Software Engineering Technology

an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

https://www.ugdsb.ca/parents/bring-your-own-device-byod/learning-in-the-ugcloud/  - showing the association of  Upper Grand District School Board with UGCloud.ca

@kevinfromelora Thank you for the clarification. Pull request merged.


nvidia/cuda:7.5-cudnn4-devel + 0.9.0 fails after second epoch

Environment info
Operating System:
 Ubuntu 14.04

Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
nvidia/cuda:7.5-cudnn4-devel
nvidia/cuda:7.5-cudnn5-devel

Driver version: 361.42 (AWS)

If installed from binary pip package, provide:

Which pip package you installed.
 export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl

The output from python -c "import tensorflow; print(tensorflow.__version__)".
 0.9.0

If installed from sources, provide the commit hash:
N/A

Steps to reproduce

Train simple convnet for one epoch
Fails on second epoch? (no new operations or changes between epochs)

What have you tried?

Tried various CUDA/cuDNN nvidia-docker versions.

Logs or other output that would be helpful
(If logs are large, please upload as attachment).
F tensorflow/stream_executor/cuda/cuda_dnn.cc:422] could not set cudnn tensor descriptor: CUDNN_STATUS_BAD_PARAM
Failed to run user code: signal: aborted (core dumped)

The docker container reports the expected CUDA/CUDNN version (7.5 and 4 respectively).

Found the problem. Apparently, the dataset was np.float64—the input placeholder was tf.float32. This difference would cause the error above on GPU only (still not sure why after the first epoch).
Regardless a more helpful error message would be awesome since finding this issue took half a day... :)

Closing as user error.


4.x: Config driven and pico @Named fixes

The config driven should work as follows
configuration yaml:
server:
  port: 8080
ft:
  asyncs:
   first:
    executor: "exec"
   second:
    executor: "service"
  bulkheads:
    - queue: 10

configuration beans:
@ConfigBean("ft.asyncs") // read it from ft.asyncs node, repeatable
AsyncConfig {..}

@ConfigBean("ft.bulheads") // read it from ft.bulkheads node, repeatable
BulkheadConfig {..}

@ConfigBean(value = "server", repeatable = false) // read it from server, not repeatable
ServerConfig {...}

When processing, the code to create the beans should be similar to this pseudo:
Config config; // located at the node of the config bean, such as `ft.asyncs`
if (configBeanAnnotation.repeatable()) {
  if (config.isList()) {
    - each node in the list is a config bean instance, named by the index (config.key().name()), we may want to introduce some custom config key to explicitly define a name, such as __name
  } else {
    - each child node is a config bean instance, named by the config node name (e.g. "first" and "second" for async)
    config.asNodeList().ifPresent(it -> it.forEach(configBeanCfg -> {
      String name = configBeanCfg.key().name(); // to be used with @Named
      String fullyQualifiedKey = configBeanCfg.key().toString(); // can also create a Named instance
  }
} else {
  // this is a non-repeatable config bean, just create a single instance from this place, not named (e.g. cannot be injected using @Named, as conceptually we cannot give it a name, we may support @default name + no name if we want to
}

To get instaces in Pico:
@Inject //config driven by ServerConfig
Server server;

@Inject //config driven by AsyncConfig
@Named("first")
Async firstAsync;

@Inject
@Named("0") // index based naming - not much usable, but maybe somebody is just interested in the whole list and does not want to inject by name
Bulkhead bulkhead;

After #6680 is merged, there will be this todo item:
    @Disabled("Will be addressed in #6674")
    @Test
    void namedConfiguredServices() {
        ConfigBeanRegistry cbr = (ConfigBeanRegistry) ConfigBeanRegistryHolder.configBeanRegistry().orElseThrow();
        Map<String, Collection<GeneratedConfigBean>> all = cbr.allConfigBeans();

//        System.out.println(all);
    }

In NamedConfiguredByTest.


Runtime dependencies

Is it safe to exclude the byte-buddy dependency, or is it required at runtime?

The byte-buddy library is used to provide live object service, so it is required at runtime.

@jackygurui so it should be safe to exclude if I am not using live objects?

In theory yes, although I have not tried that myself. I am curious though, what makes you trying hard to avoid having this library?

The size of it.

Ah, I see.

I think it should work well without byte-buddy

Thanks!

@jackygurui did you consider transforming the classes at compile time instead of runtime?

As far as I am aware, the byte-buddy library is only a runtime code generation library.

Aha so it is, thanks again.


Improve insight collector

Thanks @sanposhiho for his great job to bring the Insight feature to reality.
In the next phase, we want to improve this feature before releasing it.
Current logic

Get the list of all applications from the database
Loop the applications

load chunk data from filestore
determine the accumulatedTo from the chunk data
retrieve all deployments created (or completed for FAILURE_RATE) from the the accumulatedTo to now
update the chunk data and store it back to filestore

New logic
Add an InsightMilestone model to datastore to save a singleaccumulatedTo value for all projects. e.g.
type InsightMilestone struct {
    DeploymentCreatedAtMilestone int64   // Mark that our collector has handled all deployment that was created before this value
    DeploymentCompletedAtMilestone int64 // Mark that our collector has handled all deployment that was completed before this value. This will be used while calculating FAILURE_RATE.
}

Load the InsightMilestone to know the milestone value
Retrieve all deployments created (or completed for FAILURE_RATE) after that milestone
Grouping the deployments by project, application, etc...
Load the needed chunk from filestore
Update the chunk data and store it back to filestore
Update the InsightMark and save it back to datastore

Comparison
Pros

Don't have to list all projects
Don't have to list all applications
Don't have to loop/retrieve all chunk of all applications in filestore (new logic only touches the applications that have at least one deployment triggered from the last calculation)
Reduce the DB calls on deployment

Cons

I think cons is that since the accumulatedTo is unified for the whole insight chunks, it is difficult to handle the case where even one chunk file fails to be saved for some reason.
In the current logic, there is an accumulatedTo for each file, so even if one file fails to be saved and is not updated, it will be updated next time.
However, with the new logic, we'll have to come up with something clever.

You are right. To be honest I was thinking about those cons. And I am thinking about these 2 solutions to remove those cons:

the saving data should be idempotent. It means it is ok to re-apply (readd) the old data in case of error.
using the accumulatedTo in each chunk to reject the already applied data

I see.
Then the detailed flow in your idea is the following?
- Load the InsightMilestone to know the milestone value
- Retrieve all deployments created (or completed for FAILURE_RATE) after that milestone
- Grouping the deployments by project, application, etc...
- Load the needed chunk from filestore
- Update the chunk data

If chunk's accumulatedTo is not equal to InsightMark's DeploymentCreatedAtMilestone(or anothor), get deployments from DB after chunk's accumulatedTo. And Update the chunk data.
store  the chunk data back to filestore
- Update the InsightMark and save it back to datastore


When logging in getting error im not linked to trade.opskins.com

It wont work when logged in

I have linked steamid and this is on my site

A normal opskins API key won't work, You'll need to create a new user using this endpoint IUser/CreateVCaseUser to get a vcase user api key

Thank you!

Yo gabenthegamer can you contact me please?
https://twitter.com/ErionG_
skype: live:ebgamingbusiness
discord: EBGaming#0970

https://api-trade.opskins.com/IUser/CreateVCaseUser/v1/?site_url=https://vcase-zjccfeoiqx.now.sh&display_name=vcase
{
"status": 400,
"time":<PHONE_NUMBER>,
"message": "site_url input is required."
}
what am I doing wrong  ?

Help my pls.
I received an API on this request(https://api-trade.opskins.com/IUser/CreateVCaseUser/v1/) but I still get an error...
{
"status": 1,
"time":<PHONE_NUMBER>,
"response": {
"api_key": "******************************",
"user": {
"id": -244,
"steam_id": "",
"display_name": "localhost",
"avatar": null,
"twofactor_enabled": false,
"api_key_exists": true,
"sms_phone": null,
"contact_email": null,
"allow_twofactor_code_reuse": false,
"inventory_is_private": true,
"vcase_restricted": true
}
}
}
On request, I received such an answer, I suspect that I am not receiving the correct answer, please help

Help my pls.
I received an API on this request(https://api-trade.opskins.com/IUser/CreateVCaseUser/v1/) but I still get

{
"status": 1,
"time":<PHONE_NUMBER>,
"response": {
"api_key": "******************************",
"user": {
"id": -244,
"steam_id": "",
"display_name": "localhost",
"avatar": null,
"twofactor_enabled": false,
"api_key_exists": true,
"sms_phone": null,
"contact_email": null,
"allow_twofactor_code_reuse": false,
"inventory_is_private": true,
"vcase_restricted": true
}
}
}
On request, I received such an answer, I suspect that I am not receiving the correct answer, please help

same here


Adds tracing with Playwright

The goal is to have a quicker feedback loop for failed playwright tests.
This PR enables us to get a visual interactive trace for failed tests.
WIP:

[ ] Use the testInfo to check if we should start tracing/store the trace or not.
[ ] Create links for generated artifacts to download/open in https://trace.playwright.dev/?trace=${generated_artifact-url}

do we have an example of on such URL?  that, and, could you document somewhere how to make one.  or (better?) maybe we can figure out some way to include it somewhere automatically?  Maybe as an "annotation" here?

@gatzjames feel free to re-request review if you add anything related to the WIP points.
I would suggest one alternative, so we don't hammer right away a trace.
We could for now just add a note to the readme (and maybe the smoke-test log in the end) that folks can run the trace viewer locally by downloading the file and running npx playwright show-trace trace.zip
Or, we use something like what's mentioned in the docs about viewing remote traces
Not sure how we would work out a download link for the build artifact though, as @dimitropoulos mentioned above, if we just use something like:
https://github.com/Kong/insomnia/suites/5163984636/artifacts/156371121

It won't work right away, it gets resolved into a link like:
https://pipelines.actions.githubusercontent.com/<REPLACE>/_apis/pipelines/1/runs/7413/signedartifactscontent?artifactName=windows-latest-smoke-test-screenshots-5801&urlExpires=2022-02-04T12%3A50%3A51.9180508Z&urlSigningMethod=HMACV2&urlSignature=SOMESIGNATURE%3D

Which is dependant on our login. Both these don't work on the local traceviewer.
Another alternative is if we use the github api, something like:
curl \
  -H "Accept: application/vnd.github.v3+json" \
  https://api.github.com/repos/Kong/insomnia/actions/artifacts/156371121/zip

We would need to give it a token that has actions scope permissions though (probably also would need to add it to the repo secrets, otherwise we get:
{
  "message": "You must have the actions scope to download artifacts.",
  "documentation_url": "https://docs.github.com/rest/reference/actions#download-an-artifact"
}

This would generate a url we could use for download, but

Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for Location: in the response header to find the URL for the download. The :archive_format must be zip. Anyone with read access to the repository can use this endpoint.

Only thing close to this I found as alternative that maybe we could use / adapt was https://github.com/defcronyke/github-artifact 🤷


Added Nevergreen Appsource

Added Nevergreen Projekt (https://github.com/DanGough/Nevergreen) as AppSource. It's working like Evergreen and you can add Applications with the Syntax like Evergreen.
For example: Applist.json
"Apps": [
        {
            "IntuneAppName": "7-Zip",
            "IntuneAppNamingConvention": "AppName",
            "AppPublisher": "Igor Pavlov",
            "AppSource": "Nevergreen",
            "AppID": "7zip",
            "AppFolderName": "7zip",
            "FilterOptions": [
                {
                    "Architecture": "x64",
                    "Type": "msi"
                }
            ]
        }
  ]
}

@AScott-WWF here is my pull request for your request #29  . You can easily add the changes to your project as long the maintainer does not implement my request.

Thank You Christian, That is most helpful,
I will integrate those code changes into our dev setup and see how it goes.
It also helps me understand the possible changes I will need to make to integrate the VCRedist Powershell module too as this will hopefully be used to download, package and deploy the latest Microsoft Visual C++ Redistributables
N.B. VCRedist info: https://vcredist.com/ (also written by Aaron Parker of Evergreen fame)
Thanks again,
Adrian


[Bug] Static methods as realizations of axioms

Reported by pgrigorenko on 2011-01-21 14:22 UTC
According to the definition of metaclasses, local semantics of components should be defined only in terms of their own specification variables and realizations of functional dependencies (axioms) should be Java methods defined in the same metaclass of corresponding superclasses.
However, specifications do not restrict users to define realizations that appear to be in some other classes. I.e. it is syntactically possible in metaclass Foo to write an axiom "x -> y { Bar.meth }" where Bar.meth is a static method defined in a class not related to Foo in any way. This approach could work, but to a certain point. Code generator takes a name of realization as is and if an object is instantiated, prepends the name of an instance to the name of a method. In the case of a static method from some other class this leads to a compilation error:
Foo foo1 = new Foo();
foo1.Bar.meth(args); //<----- problem
On the other hand, if Foo is marked as scheme's superclass, the generated method call is just Bar.meth(...) an everything works fine.
Some ideas:
1. Probably this is not a bug, but a feature, which should be at least well documented.
2. Having the appropriate documentation, leave the code as is.
3. The possible workaround is for the class Foo to extend Bar and then in axioms specify method names without "Bar." prefix
4. Implement a possibility of explicitly specifying static methods in axioms as a hint for the code generator not to touch the declaration, e.g. "x -> y { $Bar.meth };"
5. Or forbid the usage of anything that is outside of the scope of metaclasses and their superclasses.
The last point is a serious limitation that also requires parsing and analysis of what is specified in the realization part of axioms, on the other hand, second point is a hack, third is not always possible (in case there is already one superclass specified), fourth is ugly...RFC!

Updated by pgrigorenko on 2011-01-21 14:24 UTC

labels: 1030477 --> Specification language

What if we consider any realization as a static method if a dot symbol is present?


Create lightsail domain conditionally

what
As described in #12 domain management is restricted only to certain regions.
Also domains and records can be handled by different DNS provider.
why
The code was failing in my case as described in #12.
references
Closes #12 .

why is it closed when not solved ?


Incorrect results for some problems when using cupy in CholeskySolverF

Thanks for publishing this project! I want to see if I can use it for solving least squares problems directly with A.T.dot(A.dot(x)) = A.T.dot(b). To see if this works I played around with some simple test with some made up values
A = array(
    [[1., 2., 3.],
     [4., 5., 6.],
     [7., 8., 9.],
     [7., 8., 9.]]
)
b = array([0.1, 0.5, -0.2, -0.1])

I then pass the details from a sparse COO representation of A.T.dot(A) to instantiate the CholeskySolverF:
solver = CholeskySolverF(
   3,
   array([0, 0, 0, 1, 1, 1, 2, 2, 2], dtype=int32),
   array([0, 1, 2, 0, 1, 2, 0, 1, 2], dtype=int32),
   array([115., 134., 153., 134., 157., 180., 153., 180., 207.]),
   MatrixType.COO,
)
x = zeros_like(b)
# b = A.T.dot(b)
solver.solve(array([-8.32667268e-17,  3.00000000e-01,  6.00000000e-01]), x)

When I use numpy for this entire procedure it seems to work fine and the test passes. The answer I get is [-0.29087737,  0.11811837,  0.11518325]. For cupy I get a clearly incorrect answer which looks a lot like some overflow issue is going on: [  65558.29 , -131117.05 ,   65558.695]. By using CholeskySolverD both numpy and cupy give me a reasonable answer.
I thought I would report this here. Perhaps if there runaway numerical errors occurring the code could give a warning/error?

Your linear system is extremely ill-conditioned:
>>> np.linalg.cond(A.T @ A)
4.786320491726312e+17

In other words, this is not a reasonable input for Cholespy. You can read more on conditioning of linear systems here: https://en.wikipedia.org/wiki/Condition_number#Matrices


Not updating after comments

Yeah I'm still gonna try and work on this even though I have a broken arm

This makes no sense: https://scratch.mit.edu/studios/5110853/comments/#comments-43179653


Updated (GPT) optimized for search model doesn't have links to sources.

@miurla The GPT model you just updated has more sources, but doesn't have the links to sources that it had before. E.g. there's  sentences that comes from a source and says next to it, 1 or 2, etc. to show which source it came from.

@miurla don't worry, I did another search and it gave links to sources. 🙂


Plan for Performance Support

https://docs.sentry.io/product/performance/getting-started/
Do you have any plan to support performance? We are using another product for tracking performance.

Thanks for opening an issue! It's on the roadmap, and I've got some prototypes going, but it's a significant overhaul of the library, so I don't have a timeline yet.
I'm tracking Performance/APM in https://github.com/getsentry/sentry-elixir/issues/426 though, so I'm closing this issue as a duplicate for now 🙂


compile error 编译失败

请问我为啥编译失败啊 Why am I couldn't compile it
(base) liable@liable-G3:~/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/build$ cmake -DCMAKE_TOOLCHAIN_FILE=/home/liable/Documents/RKNN/rk3588_dev_rootfs/toolchain-aarch64.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/liable/Documents/RKNN/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/liable/Documents/RKNN/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenCV: /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr (found version "4.5.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/build
(base) liable@liable-G3:~/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/build$ make
[  7%] Building CXX object utils/CMakeFiles/yolov8-kaylordut.dir/camera.cpp.o
In file included from /home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/camera.cpp:5:0:
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/include/camera.h: In constructor ‘Camera::Camera(uint16_t, cv::Size, double)’:
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/include/camera.h:16:20: warning: ‘Camera::capture_’ will be initialized after [-Wreorder]
cv::VideoCapture capture_;
^~~~~~~~
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/include/camera.h:15:12: warning:   ‘cv::Size Camera::size_’ [-Wreorder]
cv::Size size_;
^~~~~
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/camera.cpp:10:1: warning:   when initialized here [-Wreorder]
Camera::Camera(uint16_t index, cv::Size size, double framerate)
^~~~~~
[ 15%] Building CXX object utils/CMakeFiles/yolov8-kaylordut.dir/image_process.cpp.o
In file included from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/Core:162:0,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/dataType.h:6,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/kalmanFilter.h:3,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/STrack.h:4,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/BYTETracker.h:3,
from /home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/include/image_process.h:6,
from /home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/image_process.cpp:5:
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:504:25: error: ‘invoke_result’ in namespace ‘std’ does not name a template type
typedef typename std::invoke_result<F, ArgTypes...>::type type1;
^~~~~~~~~~~~~
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:504:38: error: expected unqualified-id before ‘<’ token
typedef typename std::invoke_result<F, ArgTypes...>::type type1;
^
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:505:31: error: ‘type1’ was not declared in this scope
typedef typename remove_all::type type;
^~~~~
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:505:36: error: template argument 1 is invalid
typedef typename remove_all::type type;
^
In file included from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/Core:162:0,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/dataType.h:6,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/kalmanFilter.h:3,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/STrack.h:4,
from /home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/BYTETracker.h:3,
from /home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/include/image_process.h:6,
from /home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/image_process.cpp:5:
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:616:25: error: ‘invoke_result’ in namespace ‘std’ does not name a template type
typedef typename std::invoke_result<F, ArgTypes...>::type type1;
^~~~~~~~~~~~~
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:616:38: error: expected unqualified-id before ‘<’ token
typedef typename std::invoke_result<F, ArgTypes...>::type type1;
^
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:617:31: error: ‘type1’ was not declared in this scope
typedef typename remove_all::type type;
^~~~~
/home/liable/Documents/RKNN/rk3588_dev_rootfs/rootfs/usr/include/eigen3/Eigen/src/Core/util/Meta.h:617:36: error: template argument 1 is invalid
typedef typename remove_all::type type;
^
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/image_process.cpp: In member function ‘std::unique_ptrcv::Mat ImageProcess::Convert(const cv::Mat&)’:
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/image_process.cpp:51:12: warning: the compiler can assume that the address of ‘src’ will never be NULL [-Waddress]
if (&src == nullptr) {
~^~~~~~
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/image_process.cpp: In member function ‘void ImageProcess::ImagePostProcess(cv::Mat&, object_detect_result_list&)’:
/home/liable/Documents/YoloV8Pose/rk3588-yolo-demo/src/yolov8/utils/image_process.cpp:73:9: warning: unused variable ‘cls_id’ [-Wunused-variable]
int cls_id = od_results.results[0].cls_id;
^~~~~~
make[2]: *** [utils/CMakeFiles/yolov8-kaylordut.dir/build.make:90: utils/CMakeFiles/yolov8-kaylordut.dir/image_process.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: utils/CMakeFiles/yolov8-kaylordut.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

我电脑里倒是有两个 交叉编译工具 当前用的是rknn给的工具链  https://releases.linaro.org/components/toolchain/binaries/6.3
2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz
然后还有一个是 apt 安装的 工具链
我应该用后者吗 还是 其他版本的工具链呢

用apt的


[stable/spinnaker] use the /health endpoint instead of /env

/env is a protected endpoint in later versions of spring boot and using this will cause authentication issues.
given that health will also surface issues like redis connectivity, it should be preferred over credentials and env actuator endpoints

@viglesiasce FYI

/ok-to-test

/retest

/retest

Thanks @tomaslin!!


Support Django 1.10

Coverage remained the same at 96.172% when pulling c9134d8f74b1837ee3fa86fc63fc13ab62f797b7 on support-110 into 1d8d563cb36ef45cf3fa5d04a7dc31c0b039228c on master.

Coverage remained the same at 96.172% when pulling c9134d8f74b1837ee3fa86fc63fc13ab62f797b7 on support-110 into 1d8d563cb36ef45cf3fa5d04a7dc31c0b039228c on master.

:-)


assertion failed: self.remaining_mut() >= src.len()

Prisma2 / photon version: 2.0.0-preview017.2
Node version: 12.2.0
DB: Postgres 11.4
Usually everything works fine, but sometimes I get this error and after that I cannot query anything anymore.
Restarting postrgres + my node server fixes this (not sure what exactly fixes it, maybe resetting connection to db?).
Error in Photonselect,bankAccounts:
Error: undefined target="exit" timestamp="2019-12-05T12:10:34.315Z" fields={"message":"null"}
    at /home/node/app/packages/server/node_modules/@prisma/photon/runtime/index.js:5633:27
    at processTicksAndRejections (internal/process/task_queues.js:89:5)

Reason: assertion failed: self.remaining_mut() >= src.len() in /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.12/src/bytes.rs:1542:9

Might be related to https://github.com/prisma/photonjs/issues/305.
If you somehow able to provide with a reproduction, that would be helpful as I unable to reproduce after many attempts.

I can confirm that a similar error still occurs with 2.0.0-preview018.2:
PhotonError: undefined target="exit" timestamp="2019-12-18T19:27:42.033Z" fields={"message":"1"}
    at NodeEngine.engineReady (examples/prisma/client/runtime/index.js:3533:23)
    at examples/prisma/client/runtime/index.js:3456:21

I've narrowed it down to the fact that when defining datasource urls using env() and it's not available in the engine it'll throw that.
I've narrowed that above specifically down to when using env() in schema definitions and the environment variables not being inherited from NodeJS into the child process, then it'll throw that.
// ...
this.child = child_process_1.spawn(prismaPath, [], {
  // Environment variables gets inherited here.
  env: Object.assign(Object.assign({}, process.env), env),
  cwd: this.cwd,
  stdio: ['pipe', 'pipe', 'pipe'],
});

I think the biggest issue here is that the engine provides zero useful errors at all.

Oh yes, we are aware of this. Error is getting swallowed in the engine.
We are investigating and fixing this via https://github.com/prisma/photonjs/issues/357

@dodas Since #357 is fixed, can you please try this again and see what the actual error is? Thanks.

@divyenduz I think you mean https://github.com/prisma/photonjs/issues/357


self signed server certificate error

I am not able to make my home server work with self-signed certs. I get these errors:

This is how my jks looks like:

Hi Csaba,
Attached is latest build attempt using MFC as a static library.  Increases
the size of the .dll a bit but will hopefully remove any dependencies you
have with the prior build  Please install and let me know if you see the
initialization message when HTTP loads.
thanks
-Mark
On Sat, Oct 29, 2016 at 1:40 PM, Csaba Kiss<EMAIL_ADDRESS>wrote:

I am not able to make my home server work with self-signed certs. I get
these errors:
[image: image]
https://cloud.githubusercontent.com/assets/2583367/19831621/eab00d9c-9dcb-11e6-8ae0-c582d8a7119a.png
[image: image]
https://cloud.githubusercontent.com/assets/2583367/19831624/fcb3a788-9dcb-11e6-9957-0b2b9fd42029.png
This is how my jks looks like:
[image: image]
https://cloud.githubusercontent.com/assets/2583367/19831634/37e0a0f4-9dcc-11e6-96a8-b6550e7e6386.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/29, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEI46Y3JRzrvPl8LQTwiN1IV8uHh4fFrks5q44UOgaJpZM4KkK-I
.

--
Mark Ambler

Here is a link to the download for the VCRedist:
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Install it then try the .dll...
thanks
-Mark
On Sun, Oct 30, 2016 at 10:24 AM, Mark Ambler<EMAIL_ADDRESS>wrote:

Hi Csaba,
Attached is latest build attempt using MFC as a static library.  Increases
the size of the .dll a bit but will hopefully remove any dependencies you
have with the prior build  Please install and let me know if you see the
initialization message when HTTP loads.
thanks
-Mark
On Sat, Oct 29, 2016 at 1:40 PM, Csaba Kiss<EMAIL_ADDRESS>wrote:

I am not able to make my home server work with self-signed certs. I get
these errors:
[image: image]
https://cloud.githubusercontent.com/assets/2583367/19831621/eab00d9c-9dcb-11e6-8ae0-c582d8a7119a.png
[image: image]
https://cloud.githubusercontent.com/assets/2583367/19831624/fcb3a788-9dcb-11e6-9957-0b2b9fd42029.png
This is how my jks looks like:
[image: image]
https://cloud.githubusercontent.com/assets/2583367/19831634/37e0a0f4-9dcc-11e6-96a8-b6550e7e6386.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/29, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEI46Y3JRzrvPl8LQTwiN1IV8uHh4fFrks5q44UOgaJpZM4KkK-I
.

--
Mark Ambler

--
Mark Ambler


Add missing space around links

Add missing space characters before and after links as well as a bunch of metadata and formatting changes.

@Rageking8 Thanks for fixing the spacing issue. Can you revert the changes that removed the ms.assetid metadata. Sometimes (rarely!) this information is useful because it allows us to map the page back to our old content system.

@Rageking8 Thanks for fixing the spacing issue. Can you revert the changes that removed the ms.assetid metadata. Sometimes (rarely!) this information is useful because it allows us to map the page back to our old content system.

Done!

@Rageking8 No, it looks like I just missed those. Please leave that metadata in place in all Windows docs. Thanks!


NIFI-3430 adds support for date format property to parse incoming date strings

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Nick, thank you for the contribution. would you mind squashing the commits?

@trixpan squashed and added details about the change in the processor description.

LGTM, I'll take care of merging @trixpan ;)
Thanks @nickcarenza


Update supervisor to v5.1.0

(builds will fail until I actually build this tag, coming soon)

@resin-jenkins test this please


snap guvcview won't run, deb pkg runs just fine

I've got an ancient om511 webcam, trying to get it to work on 64bit Ubuntu 19.10
Installed the snap, then trying to run, it crashes on exit with:
/snap/bin/guvcview
USB Camera (05a9:0511) (usb-0000:00:1d.0-1.5):
/dev/video0
libv4lcontrol: error creating shm segment failed: Permission denied
libv4lcontrol: falling back to malloc-ed memory for controls
GUVCVIEW: version 2.0.6
GUVCVIEW: couldn't open /home/ajft/snap/guvcview/81/.config/guvcview2/video0 for read: No such file or directory
libv4lcontrol: error creating shm segment failed: Permission denied
libv4lcontrol: falling back to malloc-ed memory for controls
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: failed to subscribe events for control 0x0098090c: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980910: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980914: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980915: Invalid argument
V4L2_CORE: V4L2_CAP_TIMEPERFRAME not supported
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error:  BadValue
Request Major code 153 (GLX)
Request Minor code 3 ()
Value 0x0
Error Serial #109
Current Serial #110
Installing the package version with "sudo apt install guvcview" installs a number of dependencies and guvcview.deb
Running /usr/bin/gucview works and can display my camera
Running /snap/bin/guvcview still crashes immediately.

Project appears abandoned, closing this issue so I don't have it appearing in a list of open issues I've lodged


Simplify http extensions with adjustable Context signature

Each Javalin project I know, that does slightly more than regular hello world app, reaches a point where it needs some extra utility methods on Context. As long as it's not an issue for Kotlin users, due to extension methods, it's pretty painful in regular Java projects. Atm Javalin doesn't really address this area and imo that's pretty sad as it affects daily experience & code that is forced to use XXXUtils classes / random methods in a domain that shouldn't really care about the http access api.
My proposal to resolve this issue is to enhance Handler's signature (and any associated api) with <C : Context> type, so users are allowed to provide extra type-safe API for their apps that fits the general flow of execution & does not require monkey-like patching to cover that hole.
How it could look like? Custom context type should be declared at config level to declare consistent C across entire instance:
Javalin
    .create<CustomContext>(config -> {
        // [...] cfg
        // return/builder-like config/config.customContextFactory, but it'd be nice to somehow enforce it on type level
        return (req, res) -> CustomContext(req, res)
    })
    .get("/*", customContext -> customContext.monke())
    .start()

The custom context may look like this:
class CustomAsContext extends JavalinServletContext {
  // [...] custom methods
  public void monke() { System.out.println("🐒"); }
}

Such feature would also help with issues like that:

#1849

So we could always recommend it as a fallback solution without a need to constantly increase amount of methods provided by the base Context.

I understand. I really like the change!

Previously brought up in https://github.com/javalin/javalin/issues/1020

I'd like to remove this from 6.x wishlist. I think that this is a relatively big change, and 6.x already has several quite huge improvements over 5.x + new routing API already allows it at some point.
I'd keep it open, so we can still gather some extra feedback & link issues that could be addressed by that.

Sounds good, I agree!

In production I have a backend based on Javalin where I have been working on it for a year and a half.
Meanwhile, congratulations to the framework.
For various reasons I/we chose to use Java instead of Kotlin :/.
Basically I created a framework with simple annotations for http handlers.
Needing additional methods I had to create a class by wrapping the Context, the framework then instantiates this class at each call, which will then be used in the annotated methods.
(I want to specify, I don't use reflection but I create a class at startup using javax.tools.JavaCompiler, simpler to maintain than ASM., therefore without performance overhead from this point of view).
I read that you moved it later, can I contribute to this proposal? @dzikoysk @tipsy

Extensible context would be quite a huge change, because we'd need to propagate context as a generic type across all signatures that are currently using it. We have quite a lot of changes in 6.x, so we've decided to reconsider it for 7.x
Speaking about the alternative solution, lately I've proposed another enhancement called component system, that partly addressed this problem:

#2054

As long as team decided to not implement it in the requested way for now, context related part of this request is refined in these 2 new PRs:

https://github.com/javalin/javalin/issues/2054
https://github.com/javalin/javalin/pull/2068

There's also an ongoing discussion on our Discord server. If you think you add some valuable input to the discussion, feel free to comment & suggest some improvements :)

@unldenis there is a tangentially related PR live right now: https://github.com/javalin/javalin/pull/2068
This PR allows you to extend a ContextPlugin class, which (as the name implies) has access to the Context.
It would be used like this:
// creating a plugin
class MyPlugin extends ContextPlugin<MyPluginConfig> {
    public MyPlugin(Consumer<MyPluginConfig> userConfig) { // can be skipped
        super(userConfig, new MyPluginConfig());
    }

    public void render(String path) {
        context().html(pluginConfig.directory + path); // access context through `context()`
    }
}

// having a config class is optional
class MyPluginConfig {
    String directory = "...";
}

// registering the plugin
Javalin.create(config -> {
    config.registerPlugin(new MyPlugin(it -> it.directory = "src/test/resources"));
});
// using the plugin
app.get("/", ctx -> ctx.with(MyPlugin.class).render("/template.tpl"));

It would be great with some feedback. Would this approach help solve your issue?
As long as team decided to not implement it in the requested way for now, context related part of this request is refined in these 2 new PRs:
*

After all, if I didn't misunderstand, you wrap the context and so we both do the same thing in the end.
The thing is, I'd like to avoid doing this twice for request.
I'm trying to figure out how to do it.

Could this be the only example where perhaps inheritance is the only solution?
Have the functionality of JavalinServletContext but add more. And to instantiate it just call example.
fun main() {
    val app : Javalin<MyCustomContext> = Javalin.withContext<MyCustomContext>({ (cfg, req, res) -> MyCustomContext(cfg, req, res}).create().start(7000)
    app.get("/") { ctx -> ctx.result("Hello World") }
}

class MyCustomConfig : JavalinServletContext ...

That's definitely a possibility, but won't be included in 6x. We have released a change similar to what was described above, you can read about it here: https://javalin.io/plugins/how-to#creating-a-plugin-with-config-and-extension
You can try it out in 6.0.0-beta.4: https://central.sonatype.com/artifact/io.javalin/javalin/6.0.0-beta.4


Problem with Laravel and PHP

Laravel Version: #.#.# //How do I find this?
PHP Version: 7.1.23
Database Driver & Version: //Not sure on this as well

Description:
I'm trying to run Laravel, but I am getting some errors.
Steps To Reproduce:
First, I run: "create-project laravel/laravel –-prefer-dist" and all is fine.
Second, I run: "composer create-project laravel/laravel test dev-develop" and I get the following error: "[InvalidArgumentException]Could not find package laravel/laravel with version dev-develop in a version installable using your PHP version 7.1.23."
Sorry, I am new to Laravel and have tried looking around already on various forums and have been unable to find a solution so far. Please let me know if you have any suggestions. Thanks!

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.