POST to send API returns 405

Describe the Bug
With Umami Cloud and my API key I can make a request to /v1/websites endpoint:
GET /v1/websites HTTP/1.1
x-umami-api-key: [key]
Accept: application/json
Host: api.umami.is
Connection: close
User-Agent: RapidAPI/4.2.0 (Macintosh; OS X/14.4.1) GCDHTTPRequest

However, with the same key and POSTing to /v1/send I'm getting a 405 error
POST /v1/send HTTP/1.1
x-umami-api-key: [key]
Accept: application/json
Content-Type: application/json
Host: api.umami.is
Connection: close
User-Agent: RapidAPI/4.2.0 (Macintosh; OS X/14.4.1) GCDHTTPRequest
Content-Length: 249

{"payload":{"hostname":"[redacted]","language":"en-US","referrer":"[redacted]","screen":"2560x1440","title":"","url":"[redacted]","website":"[redacted]","name":"[redacted]"},"type":"event"}

HTTP/1.1 405 Method Not Allowed
Cache-Control: public, max-age=0, must-revalidate
Content-Disposition: inline; filename="404"
Content-Type: text/html; charset=utf-8
Date: Sat, 04 May 2024 04:01:23 GMT
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Matched-Path: /404
X-Vercel-Cache: BYPASS
X-Vercel-Id: hnd1::6n2s2-1714795283496-273d303c2f16
Connection: close
Transfer-Encoding: chunked

The docs are not consistent about the API host so I've also tried /v1/send, /api/v1/send but all response with 405.
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
No response
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response

The API currently does not support sending data to it. You will need to send to whatever region your website is location. Either analytics.us.umami.is or analytics.eu.umami.is.

The API currently does not support sending data to it. You will need to send to whatever region your website is location. Either analytics.us.umami.is or analytics.eu.umami.is.

Thanks @mikecao , I changed the host to analytics.us.umami.is but I'm still getting a 405 error. What path/data should I post to the endpoint? I'm referring the docs here

Are you still having issues? Here's an example of the endpoint and test data with a 200 response.


Feat : Adding profile page

Describe the feature
We can add a profile page to which we can be redirected on clicking on your profile. Please provide with some information you would like to add on the profile page otherwise I can make a demo page with basic details which can be modified later.
Add ScreenShots

Record

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

Can u assign me this issue under gssoc 2024

can you assign me this


Builtin Banner++ Support

Banner++ seems to have not been updated for quite some time now, albeit there is a pull request to 1.18.2 by @byquanton (https://github.com/kvverti/banner-plus-plus/pull/13) who also maintains a fork of flagbric.
Then there is the flagbric port by @Sunconure11, including Banner++ functionality into flagbric.
I would love to add custom banner patterns into Spectrum and using Banner++/Flagbric seems like the perfect way to do so. Banner++ seems to not get an official update soon. So my question basically is: Will flagbric include the ability to create new banners via other mods at some time like Sunconures branch does, or am I out of luck?
(sorry for the pings everyone!)

If a mod wants to add custom banners they will not want to have to include flagbric with it. Banners++ should stay as its own library. I wouldn't mind taking over banners++, but I'm assuming their dev just hasn't had the time to check out the pr yet.

Byquantum's pr seems to have some checkstyle issues, so I've now made a fork over at https://github.com/TheEpicBlock/banner-plus-plus. I've also notified the banner++ dev of this but they're busy at the moment. For now you I've published my fork over at:
maven {
	url "https://maven.theepicblock.nl"
}

with the dependency string being
modImplementation "io.github.fablabsmc:bannerpp:2.0.6-teb.1+mc.1.18.2"

At some point the official banner++ will be updated and you can switch to that. I'll also push an update to Flagbric which will work with this (and which should also keep working once the official version is out)

Awesome! Time to design some banners, then.


Cleanup test classes

This PR cleans up the test classes. The proposed changes include:
Remove superfluous exceptions in throws clauses
Superfluous exceptions within throws clauses have negative effects on the readability and maintainability of the code.
Test classes and methods should have default package visibility
It is ecommended to use the default package visibility to improve readability:

Test classes, test methods, and lifecycle methods are not required to be public, but they must not be private.
It is generally recommended to omit the public modifier for test classes, test methods, and lifecycle methods unless there is a technical reason for doing so – for example, when a test class is extended by a test class in another package. Another technical reason for making classes and methods public is to simplify testing on the module path when using the Java Module System.
— JUnit5 User Guide

Fix assertion argument orders
To me it seems like some assertions where not correctly upgraded when JUnit5 was introduced, where the order of arguments for some Assertions methods was changed.
Remove duplicate tests
Some test methods were implemented twice (=identical) under different names in the same class.
Make sure tests have at least one assertion
A test case should at least have one assertion made.

Oh, that is a big one.

Make sure tests have at least one assertion

I am aware of this recommendation but I always felt it was not justified / too extreme.
Is there a chance you could split this PR into multiple commits? Can we start with   Test classes and methods should have default package visibility, Remove duplicate tests and Fix assertion argument orders?

I would not change public vs package visibility, but that's just me, and the convention we've been using.

Make sure tests have at least one assertion

I am aware of this recommendation but I always felt it was not justified / too extreme.

I myself am on the edge for this. I do agree that there may be some exceptions, where the goal of a test is given by its name and it does not ultimately need an assertion. However when looking at tests like these:
@Test
void testConstructor() {
   new MyObject();
}

I personally feel that this can be improved by something like this in order to make it clear to the reader what is intended to be tested:
@Test
void testConstructor() {
   Assertions.assertDoesNotThrow(() -> new MyObject());
}

This is a personal preference, however.

Is there a chance you could split this PR into multiple commits? Can we start with  Test classes and methods should have default package visibility, Remove duplicate tests and Fix assertion argument orders?

I can defintitly try it, I will force-push the changes once I'm done and ping you 👍🏼

I would not change public vs package visibility, but that's just me, and the convention we've been using.

The thing is that right now there is a mixture (at least for the methods) of public and package that would get resolved. As for the classes, I think it helps a lot in terms of readability and would make it consistent with the recommendation of the JUnit Team.

"Make sure tests have at least one assertion"
That's absurd IMO.

"Make sure tests have at least one assertion"
That's absurd IMO.
For example a test that fixes a bug for a thrown exception does not need to assert anything, the fact that the exception is not thrown is the "assertion".

As I said, I get your point and am myself doubting the usefulnes in certain cases. But Assertions.assertDoesNotThrow exists for that very reason and it can help to get a clearer understanding what the test is about and what is supposed to (not) happen in it.

Thank you @strangelookingnerd for this contribution. Would you be willing to do similar changes to HttpClient?

Thank you @strangelookingnerd for this contribution. Would you be willing to do similar changes to HttpClient?

Already working on it :)


Keyboard support G19

Device Name: Logitech G19
Device Website: (nonexisting anymore. don't know why they kill this product)  https://www.logitech.com/assets/47876/g19-gaming-keyboard-quick-start-guide.pdf
Nice would be, if the Display could also be used

i have the g19 too, will be so good if they add support to it!


Add Metadata gRPC API

In what area(s)?

/area runtime
Describe the proposal

Add Metadata gRPC API
Similar to the metadata HTTP API, add a metadata gRPC call also.

@mukundansundar i can help here, please assign this to me.

@jigargandhi are you going to add the implementation of the proto as well?

Yes, I am working on it. Am taking a vacation till Monday
On Wed, Dec 30, 2020, 05:56 Yaron Schneider<EMAIL_ADDRESS>wrote:

@jigargandhi https://github.com/jigargandhi are you going to add the
implementation of the proto as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dapr/dapr/issues/2527#issuecomment-752285204, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC46MOAJJVQ2HFXKWVBYGTSXJXS7ANCNFSM4UJ3E5MA
.

Yes, I am working on it. Am taking a vacation till Monday
…
On Wed, Dec 30, 2020, 05:56 Yaron Schneider @.***> wrote: @jigargandhi https://github.com/jigargandhi are you going to add the implementation of the proto as well? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2527 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC46MOAJJVQ2HFXKWVBYGTSXJXS7ANCNFSM4UJ3E5MA .

Ok no pressure


Add Tim Downey as a CLI reviewer

Hello, I would like to formally be a review for the CF CLI. Here are some of my past contributions:

Commits: https://github.com/cloudfoundry/cli/commits?author=tcdowney
PRs: https://github.com/cloudfoundry/cli/pulls?q=is%3Apr+author%3Atcdowney+is%3Aclosed

We need two thumps up or approvals from the CLI approvers for this pr before it can be merged because the CLI are has more than four approvers.

@cloudfoundry/wg-app-runtime-interfaces-cli-approvers

The Reviewer requirements are met. Welcome @tcdowney in CLI area of ARI WG.


Remove "Build comment file:" from the final comment content

When adding build comment file. Java code adding additional string as follows,
msg.append("Build comment file: \n--------------\n");
msg.append(content);
msg.append("\n--------------\n");

These extra lines break 100% customizations. Source code: https://github.com/jenkinsci/ghprb-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ghprb/extensions/comments/GhprbCommentFile.java#L63~L65
I would like to remove these extra lines. So that user can 100% space.
If you think this is ok to fix, It is my pleasure to send PR.

added PR #659 for this, I also found this comment is unuseful and sort of spamming the comment section.

It seems #659 was merged, so I guess this one could be closed as fixed.

I will close this.


2D or 3D scene flow estimation?

I checked the demo notebook and the MLP is used to predict a 2D flow, i.e. the Neural_Prior class is initialized with dim_x=2. However, the function optimize_neural_prior in the script optimization.py creates a class instance without providing the dim_x argument, i.e. the default of dim_x=3 is used, so 3D flow is predicted. Therefore, which setting should be used according to the authors?

Hi, @TedLentsch, scene flow describes the 3D motion field, therefore, our project targets 3D point cloud-based scene flow estimation.
The demo notebook is just a 2D example for better visualization and understanding.
Cheers.


Improve documentation for meta tags

Fix #550

Coverage remained the same at 0.0% when pulling 1c24c246d95762002d1a9c6adce601fe0c2020b4 on hotfix/issue-550-meta into a429e618477f6c3c968f47b14c43cb4fc37182d1 on develop.


[translation] Add a translation link

Hi:
Thanks the great repo. I like it very much and I translated it into Chinese so more Chinese developer can read it easier, here's the repo link, would you like to add the link somewhere so more people may see this great repo? And I'll update the translation due to your updating. 😆
Best regards.

whoaaaaa. Yes! that'd be awesome!


Add a //shell directive to use in chat to execute a command

When chatting about how to do something, we need a directive that allows us within the chat session to exec a command.
That could be //shell or //exec or maybe just //exe

v0.5.11 adds //include //shel and //ruby directives.  All directives can be used as a follow-up in a chat session.


calculate building tinting in vertex shader

@bcamper for review as I don't know much about shaders.
FYI: @sensescape as she owns this bit of code.

Looks right to me and checks out in Tangram Play too.
@blair1618 can you give a quick look too?

Makes sense to me!


bug

idk why he do that

This is not the place to ask for help on user related issues. Use discord, follow the proper support format and someone can take a look if all the information is provided


⚠ Bofrost.lu has degraded performance

In ade81cc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1060 ms

Resolved: Bofrost.lu performance has improved in 318e587.


Avoid hangs before exiting CLI

Summary
The resolver sometimes starts HTTP requests that end up not being necessary. When dropping the Tokio runtime before exiting we currently wait for those to complete. This can cause noticeable hangs in the CLI, particularly when the runtime is blocked on slow DNS resolution.
Resolves https://github.com/astral-sh/uv/issues/4599.
Test Plan
This change resolves any reproducible hangs for me locally.

Nice.


someone tell me how I can do this :) I know this is not mkdocs, but there's like too many third party things involved that I can't figure out where to go

I tried reading the docs, but I skipped everything that didn't contain markdown_extensions
I have no clue how this works, so let's say I wanna write an extension, and put it inside docs/extensions/myExtension.py
what do I type in markdown_extensions: to load it?
I do not know which repository is even right for this question because markdown_extensions is something from mkdocs, but mkdocs-material is more advanced and idk

https://github.com/mkdocs/mkdocs/discussions/3491#discussioncomment-7697518


explicitly give runtime dependency because clang isn't coming up as dependency

I am almost done with a new package and I need clang. My current opening function looks like:
{ stdenv, git, fetchFromGitHub, requireFile,
  openssl, xz, gnutar, automake, autoconf, libtool,
  clangStdenv, patchelf, which, clang_37 } :

and my builder gets clang and uses it with
  buildInputs =
  [ git xz gnutar openssl automake clang_37
    autoconf libtool ];

Unfortunately this isn't apparently enough to establish a dependency on clang, I think its because my program doesn't have an rpath of using clang, etc and so to actually use my code I need to also have clang installed with nix-env -i clang
I have thought of ways to use patchelf for this,
like so:
local libs=$(patchelf --print-rpath $(readlink -f $(which clang)))
patchelf --set-rpath ....

But this doesn't work because clang is apparently some kind of wrapper to here for which I 'll just post this insane shell history, utterly insane.
(Fri Feb-2 12:49:01pm)-(CPU 11.7%:1:Net 222)-(gar:/nix/store/i47yln3r5a89wp0gza9nv7zla5xim714-clang-wrapper-3.7.1/bin)-(60K:9)
> ls
./  ../  as@  c++@  cc@  clang*  clang++*  cpp*  ld*  ld.bfd*  ld.gold*
(Fri Feb-2 12:49:01pm)-(CPU 11.7%:1:Net 222)-(gar:/nix/store/i47yln3r5a89wp0gza9nv7zla5xim714-clang-wrapper-3.7.1/bin)-(60K:9)
> ./clang
clang-3.7: error: no input files
(ERROR)-(Exit Code 1)-(General error)
(Fri Feb-2 12:49:02pm)-(CPU 11.7%:1:Net 222)-(gar:/nix/store/i47yln3r5a89wp0gza9nv7zla5xim714-clang-wrapper-3.7.1/bin)-(60K:9)
> patchelf --print-rpath ./clang
not an ELF executable
(ERROR)-(Exit Code 1)-(General error)

So clang is clearly a binary but patchelf says its not? what.
I then tried also clang unwrapped, but then that crapped out because it was trying to link against the C runtime and that was considered unpure and hence the build crapped out.
So I am once again spending a lot of time to get nix to play nicely and getting super frustrated.

If your code itself use clang (execute binary or open .so) you need refer directly ${clang}/bin/clang in your code (via ./configure option, or patching source at build time)
Would be better if you give link to repo to your code which not workign

@avnik Okay, so that sort of worked but now made a new problem by giving me an incorrect linker. Once again I have to change my business logic because of the limits of nix.

Hi @fxfactorial,
Is you problem solved ? If not, are you willing to work with me to fix it ?
Nix adds will add a dependency on clang for your package if it detects that your package depends on clang. You cannot force it manually (well, you can... but you should not).
Now there are mostly two ways a package can use another. Either it has an executable linking agains clang libs, then you will get an automatic dependency against these libs and the clang-lib package, or it contains a (bash ?) script that call clang.
In the later case, you need to fixup the script to call ${clang}/bin/clang instead of plain clang.
It would be damn more easy to help you if we had the code, like avnik said.
This looks like a very easy bug to fix, but we are completely blind here.
Finally, NixOS is a libre project, working thanks to an amazing community of volunteers. I understand that being blocked on packaging something is annoying, but you cannot reasonably expect enterprise-grade support here :-).
I can assure you that you will get answers from me in this thread.
-- Layus.

@layus Truthfully I don't know and I've moved on from this issue and Nix itself.


Documentation still refers to older documentdb module

The azure-cosmos  library has been on PyPi since before this article was posted, it seems.
Also, the example does not show how to enumerate collections inside a database or do queries - a more complete use case that does more than just document insertions is in order here.

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

ID: c65beaf5-71c2-c071-5052-fed0e6441e46
Version Independent ID: b812fdec-4126-ab0c-e2f8-d351b24f662e
Content: Python Flask web application tutorial for Azure Cosmos DB
Content Source: articles/cosmos-db/sql-api-python-application.md
Service: cosmos-db
GitHub Login: @SnehaGunda
Microsoft Alias: sngun

@rcarmo Thank you for looking through this tutorial and providing useful feedback. This is going to be reviewed by the content owner and updated as appropriate.

@rcarmo apologies for the really long delay, It looks like this doc is out of date, we will retire it soon.
When you say to a complete use case, are you referring to this doc: https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-python. This doc uses the latest version of "azure-cosmos" package

@rcarmo I submitted a PR to delete this doc temporarily, referenced above. A new version of Python SDK will be released in a couple of months and we will publish a new doc when that's available.

#please-close


NIFI-9608 Disable system-tests workflow for pull requests

Description of PR
NIFI-9608 Disables the system-tests workflow for pull requests. The system-tests workflow retains the scheduled execution configuration to run every 24 hours to provide opportunity for additional troubleshooting. Disabling the system-tests workflow for pull requests avoids automated build failures due to unresolved issues with system tests running on GitHub.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

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

[X] 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.

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

[X] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

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?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] 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 GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

+1 please merge


database error on install

We are packaging a symfony application in a Docker container.
This bundle cannot install ckeditor during the build phase because of a database dependency.
So we have to install ckeditor at runtime. It works, but that's really ugly.
bin/console ckeditor:install should not depend on a database connection.

Fixed, was about cache dir creation, you have to run bin/console once to create the cache dir hierarchy, then ckeditor:install works.
RUN  sh -c "bin/console --env=prod 2>&1 > /dev/null || true" \
&& bin/console ckeditor:install --release=full --exclude=samples --exclude=adapters --clear=drop --tag=4.8.0 --env=prod --no-interaction --quiet


add drawable kerning

Hey, this is more a question than a PR so far.
We are adding text to an image using the following code:
image.draw(
    new DrawableGravity(Gravity.Center),
    new DrawableGravity(Gravity.South),
    new DrawableFont("OurCustomFont"),
    new DrawableFontPointSize(100),
    new DrawableFillColor(new MagickColor("white")),
    new DrawableText(0, 190, formatText(titleText))
);

However we have a need to set the text kerning which is not possible.
To work around this we implemented our own DrawableKerning as below, but we figured it might make more sense to get it into the library then keeping it to ourselves.
This is just a draft to give you an idea of what we were going for, we assume it might need tests and more work.
Please let us know if you think this might be a good addition to the lib! 🥳

This would of course be a good addition to the library. I am adding this step by step based on what I think people would need but I am always happy when a PR comes with something that someone needs. And this is the exact same implementation that I would do when I would add this myself. One tiny remark.... all methods are sorted alphabetically so could you please change that? And this of course needs a test. Maybe something where you check if a pixel has the background color or check if the pixel has the drawing color And do this with two tests, one where you don't set the kerning and one where you do but in both situations you check the same pixel.
p.s. You can run just your own test with npm run test kerning (this matches the filename drawable-kerning.spec.ts

Awesome, thanks for the feedback!
We sorted the methods and gave out best shot at adding a test. 🥳

Whoops 😁 You added a new new file so we should add this to the index. I keep forgetting this myself also so I made this part of the build. You can update the index with the following command: npm run update-index.

Hi! We have updated the index now. We are in no hurry to get a new release, we currently have a working workaround in our project with basically the same code that we added in the PR. We will extend our use of image magick in August, so we might come back with more ideas then. 😄


Fix system_test app path and adb failed issue

[Why]
App path is incorrected for Linux in system_path.
Fix system_test cannot find executable app on Linux. Fix adb command executed failed.
[How]
Set corrected app path for Linux when run system_test. Correct input arguments of subprocess.check_output.
Description
Please include a summary of the change, new sample or fixed issue. Please also include relevant motivation and context.
Please read the contribution guidelines
Fixes #
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

Note: The Samples CI runs a number of checks including:

[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[x] I have tested the sample on at least one compliant Vulkan implementation
[x] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[x] Any dependent assets have been merged and published in downstream modules
[x] For new samples, I have added a paragraph with a summary to the appropriate chapter in the samples readme
[x] For new samples, I have added a tutorial README.md file to guide users through what they need to know to implement code using this feature. For example, see conditional_rendering
[x] For new samples, I have added a link to the Antora navigation so that the sample will be listed at the Vulkan documentation site

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix check-valgrind target for integration tests

The integration test harness currently fails for this target. Not sure why.

resolved in #148


[NEW] Displays online and all users for each channel

https://user-images.githubusercontent.com/28918901/110030922-4c918300-7d5c-11eb-8a9b-e46112e9bc50.mp4
Online and all users of a channel can now be viewed by signed in users.
Closes #74

Closed in favor of #78

THIS PR IS YET TO BE REVIEWED. PLEASE DO NOT MERGE

Closed in favor of #90


[Rendering] MS Teams Images with selectAction have inconsistent behaviour across platforms

Target Platforms
Other
SDK Version
1.4 / 1.5
Application Name
Microsoft Teams
Problem Description
Inconsistent behaviour of selectAction on images in Teams. And image display on adaptive cards in general.
I raised an issue with the teams crew a few weeks ago about this inconsistent behaviour.
As with most of my bug reports they kinda ignored it and said it was by design.
The reason I opened that ticket was because I had a selectAction on a column that triggered Action.OpenUrl. The column contained an image. It worked on desktop / web. But on mobile (android, not tested with iOS), clicking on the image just opened the image (in my case a link icon) in a separate window instead of opening the url.
I fixed that by putting the selectAction on the image instead of the column, which opened the url on both platforms, and I forgot about it.
Now, it seems like with the last update teams implemented a catch-22.
Current Behaviours:

Desktop
Mobile

selectAction on column
opens url (correct)
displays image

selectAction on image
does nothing
opens url (correct)

Which means, that I can now either choose to break the app on mobile or desktop.
This is a bug and cannot be by design.
I understand that normal images sent in a teams chat have to be clickable on mobile, but images on adaptive cards shouldn't be clickable by default. My reasoning behind this is that adaptive cards has it's own way of dealing with images. Additionally, the "msTeams":{ "allowExpand":true } property exists to explicitly say when displaying the image should be possible. This works great on desktop! It just doesn't make sense. You can click every single icon, be it something like a checkmark for design. It then opens stretched and on a black background.
There was already an issue open about this, but I think this one might help understand the bigger problem.
For anyone needing a quick solution, you can just put the same selectAction on an element "behind" the image (in my case a column) AND on the image itself. Seems to work for now.
Screenshots
No response
Card JSON
{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.5",
  "body": [
    {
      "type": "TextBlock",
      "text": "This should display the image on both platforms - msTeams allowExpand is set to true.",
      "weight": "bolder",
      "size": "large"
    },
    {
      "type": "Image",
      "url": "https://adaptivecards.io/content/cats/1.png",
      "size": "medium",
      "msTeams": {
        "allowExpand": true
      }
    },
    {
      "type": "TextBlock",
      "text": "This should NOT display the image on both platforms. It's just an image",
      "weight": "bolder",
      "size": "large"
    },
    {
      "type": "Image",
      "url": "https://adaptivecards.io/content/cats/1.png",
      "size": "medium"
    },
    {
      "type": "ColumnSet",
      "columns": [
        {
          "type": "Column",
          "width": "100px",
          "selectAction": {
            "type": "Action.OpenUrl",
            "url": "https://google.com"
          },
          "items": [
            {
              "type": "Image",
              "height": "50px",
              "url": "https://upload.wikimedia.org/wikipedia/commons/e/ee/Chain_link_icon.png",
              "horizontalAlignment": "Center"
            }
          ]
        },
        {
          "type": "Column",
          "width": "stretch",
          "VerticalContentAlignment": "center",
          "items": [
            {
              "type": "TextBlock",
              "text": "This works on Desktop only",
              "wrap": true
            },
            {
              "type": "TextBlock",
              "text": "The selectAction is on the column",
              "wrap": true
            },
            {
              "type": "TextBlock",
              "text": "<- Click the icon to go to google.com",
              "wrap": true
            }
          ]
        }
      ]
    },
    {
      "type": "ColumnSet",
      "columns": [
        {
          "type": "Column",
          "width": "100px",
          "items": [
            {
              "type": "Image",
              "height": "50px",
              "url": "https://upload.wikimedia.org/wikipedia/commons/e/ee/Chain_link_icon.png",
              "horizontalAlignment": "Center",
              "selectAction": {
                "type": "Action.OpenUrl",
                "url": "https://google.com"
              }
            }
          ]
        },
        {
          "type": "Column",
          "width": "stretch",
          "VerticalContentAlignment": "center",
          "items": [
            {
              "type": "TextBlock",
              "text": "This works on Mobile only",
              "wrap": true
            },
            {
              "type": "TextBlock",
              "text": "The selectAction is on the image"
            },
            {
              "type": "TextBlock",
              "text": "<- Click the icon to go to google.com",
              "wrap": true
            }
          ]
        }
      ]
    },
    {
      "type": "ColumnSet",
      "columns": [
        {
          "type": "Column",
          "width": "100px",
          "items": [
            {
              "type": "Image",
              "height": "50px",
              "url": "https://upload.wikimedia.org/wikipedia/commons/e/ee/Chain_link_icon.png",
              "horizontalAlignment": "Center",
              "selectAction": {
                "type": "Action.OpenUrl",
                "url": "https://google.com"
              }
            }
          ],
          "selectAction": {
            "type": "Action.OpenUrl",
            "url": "https://google.com"
          }
        },
        {
          "type": "Column",
          "width": "stretch",
          "VerticalContentAlignment": "center",
          "items": [
            {
              "type": "TextBlock",
              "text": "This works on both but is a hack.",
              "wrap": true
            },
            {
              "type": "TextBlock",
              "text": "The selectAction is on both elements"
            },
            {
              "type": "TextBlock",
              "text": "<- Click the icon to go to google.com",
              "wrap": true
            }
          ]
        }
      ]
    }
  ]
}

Sample Code Language
No response
Sample Code
No response

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/5378

Thanks for reaching out and I understand the frustration here. These are Teams specific issues, not on Adaptive Cards. To help get some progress here, we'll reach out internally and reference the Team's issues and see how we can get some traction for you internally. Sorry for your pain you've had here, hopefully we can help resolve this!


check(labels): are pods in the same mesh

May be unnecessary, does similar work to the isMonitoredBy check. Would make sense to move into pkg/kubernetes/namespace
Signed-off-by: Sanya Kochhar<EMAIL_ADDRESS>

I'm for adding this check. It is indeed the same check as isMonitoredBy. However, when a user runs the tool, ArePodsInSameMesh explicitly points out that the two of the pods aren't in the same mesh hence connectivity fails. On the other hand. isMonitoredBy would lead the user to think "oh the pod isn't being monitored by the mesh" but the user wouldn't immediately think of the root cause of the issue as not being in the same mesh. cc @SanyaKochhar

@johnsonshi I agree! I think the isMonitoredBy check is useful perhaps as a subcommand to something else eg: osm-health control-plane...
Also something to think about: just because a ns is monitored doesn't mean it's pod is monitored, like if enableSidecarInjection is disabled


PORTALS-2878: followup

Unrelated test failure.
AccessSubmissionDashboard tests › Updates the passed props and URLSearchParams when updating reviewerId


[xgboost4j-spark] sparkXGBoostModel always returns 50 predictions regardless of input size

I have a libsvm which I am attempting to do distributed predictions against. It is 879227 rows long. I have succesfully done predictions with my XGBoost model using both the command line and scala (non-spark) versions of the API. However, every time I try to use the spark API to execute in a distributed fashion, I get exactly 50 results back. This definitely seems like a bug to me, but it is possible that I do not understand the API?
My code:
val evalLabeledPointsRdd = MLUtils.loadLibSVMFile(sc,"/s3sync//eval.libsvm")
val evalVectorsRdd:RDD[Vector] = evalLabeledPointsRdd.map{r:LabeledPoint => r.features}
evalVectorsRdd.count
val predRdd = sparkXGBoostModel.predict(evalVectorsRdd,true)
predRdd.count
Results:
evalLabeledPointsRdd: org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint] = MapPartitionsRDD[20] at map at MLUtils.scala:84
evalVectorsRdd: org.apache.spark.rdd.RDD[org.apache.spark.mllib.linalg.Vector] = MapPartitionsRDD[21] at map at :119
res11: Long = 879227
predRdd: org.apache.spark.rdd.RDD[Array[Array[Float]]] = MapPartitionsRDD[22] at mapPartitions at XGBoostModel.scala:104
res12: Long = 50
Any help appreciated

@OverclockedTim , here is the reason,
sparkXGBoostModel.predict() returns a RDD consisting of multiple partitions, each of which contains only one element. The type of this element is Array[Array[Float]] which means that the prediction result of each input entry is an Array[Float], and all inputs' results in the same partition are organized as an Array
so, 50 you see here is the number of partitions or say the number of tasks in your job....


No way to use these icons directly with frameworks like Django

Hi Tailwind team! In the documentation, it is stated:

The quickest way to use these icons is to simply copy the source

However, I need lots of icons and can't afford filling my HTML with too many SVG attributes, as it makes the HTML longer and harder to read. That's why I decided to download all icon SVG files to include them as templates in Django.
Now to display an icon, I can write : {% include 'heroicons/24/outline/archive-box-arrow-down.svg' %}.
However, this way, I have no way to modify svg attributes directly.
For the icon size, a workaround can be to wrap it in a div (but it's a little ugly):
<div class="w-6 h-6">
  {% include 'heroicons/24/outline/archive-box-arrow-down.svg' %}
</div>

But for other attributes like stroke-width, it seems there's no way to modify them at all, as they should be directly on the <svg> tag itself.
Is there any elegant solution to this problem?
For now, the only solution I can think of would be to rewrite every tailwind icon, to make them look like a real Django template with variables that can be filled. For example:
<svg xmlns="http://www.w3.org/2000/svg"
  class="{{class}}"
  fill="{{fill|default:'none'}}"
  stroke-width="{{strokeWidth|default:'2'}}"
  stroke="{{stroke|default:'currentColor'}}"
  viewBox="0 0 24 24"
  aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="..."/>
</svg>

And then using icons like this:
{% include 'heroicons/24/outline/archive-box-arrow-down.html' with class="w-10 h-10" strokeWidth="2" %}

I guess I would write such a script but I'd like to avoid useless work if there is another way.
Thanks.

For now, the only solution I can think of would be to rewrite every tailwind icon, to make them look like a real Django template with variables that can be filled.

Yeah I have never used Django but this seems like a reasonable way to handle it if that's how things usually work there. We can't provide libraries for every framework under the sun unfortunately (I regret even creating the React/Vue libraries honestly), at the end of the day we are just providing some SVG icons and how you integrate those into your project is up to you.

Ok, fair enough :)
I was just expecting some magic workaround I didn't think of.
I'll build a django-heroicons repo for that purpose.
Thanks.


Certification Icons not shown in metric popover select

Screenshot

Description
For the same search query, we show certification icons for the metrics in the dataset sidebar, but not in the metric popover select. I believe this is a regression from previous behavior where we showed the certification icons in both places: see original implementation here: https://github.com/apache-superset/superset-ui/pull/748

thanks for reporting! I believe we lost the certification icon for a while already sice AntD migration? We will bring it back soon.🙏

resolved by the above linked PR


hide text - partly not working

Uncaught TypeError: Cannot read property 'getAttribute' of null
at hideTranslationText (duoStrength.js:2268)
at MutationObserver.childListMutationHandle (duoStrength.js:2591)
sometimes button to hide text is not shown and text is not hidden

I have seen that line cause errors and determined that it was caused by the screens with encouraging messages from duo, e.g. getting 10 questions correct in a row. I my experience the error would have no impact on subsequent questions, so I have left it unpatched in the current releases.
The error has been prevented in fd286698f0d393b13d7234765eefcd1735136de6.
This fix checks to see if the question container element's first child exists. This check shows that there are no children of the question container element, i.e. no question box on the page at that time.
Here is a screenshot of the error happening where I intentionally failed a few questions in a row to trigger an encouragement message:

As above, as far as I know this error, doesn't prevent any further hiding of question texts, as the function is called asynchronously, when a new question appears. This may not be the case, and I may have simply have not noticed.
If you get this error, either not from an encouragement message, or if after an encouragement message a subsequent question is not hidden correctly, please let me know.

I should say that the fix is in the development branch, ready for v1.3

I am  waiting for v1.3 :) My experience with this bug is in the bonus skills En -> Es. I don't observe any difference after a motivational message appears.  I don't have many golden (L5 skills) so i can not say if such behavior is specific to bonus skills or to L5 practice.

Hmm, most of my testing is done on En->Es but I have not bought any bonus skills. I will test to see if I  notice any issues with the text hiding.
I think I'll leave this for the time being. As said I have patched the issue causing the error on encouragement messages. I will see if I can notice any time where the text hiding is not working after v1.3 is released.

As a note, v1.3 has now been released.

Still the same for bonus skills. Also for golden bonus skills  "practice" button is replaced with "practise". Just a visual thing. I guess since they are L1 and not L5 like normal skills.

Okay, I will look into this text hiding issue in bonus and golden skills. It seems strange that these lessons would be any different in terms of causing an error with this feature.
The practise button on bonus skills is something I missed, I'll fix that by making the practise button feature ignore bonus skills that are at L1 like it does from noraml skills that are L5.

Practise button has been removed from bonus skills in 9940dda. Bonus skills are either L0 and therefore unfinished so no practise button should be added or L1 and golden, in which case you can only practise it so the existing button does that.

Still the same for bonus skills.

I am testing this now on an En->Es tree, on the "Idioms and Proverbs"  bonus skill, which is at L1. As far as I can see the text hiding feature is working. The only issue was that it was hiding sentences that had a word highlighted in yellow to indicate that it is new. That was fixed in b01169b and affected all skills.
I tested after a duo encouragement message and the error message (that was fixed in v1.3.0 as mentioned above) doesn't appear. Subsequent questions seem to be working too.
Similarly I have tested L5 skills in a En->Sv tree and text hiding seems okay there too.
Are you still seeing this behaviour, if so can you provide any more information or another screenshot of any error messages you are getting after you notice it happen.
You said in your original post that:

sometimes button to hide text is not shown and text is not hidden

If it is still happening is it just sometimes, is there a concrete way to reproduce it?
Thanks,
Toran

Hi
So I tried it yesterday and it seems everything was working.. today - it is not ;(
Now i have ver 1.3.7. I am testing on En->Es Idioms skill  L1 (golden) too.
Yes it seems that it is not hiding sentences with yellow (new) words
There are no errors in the console

I think you can call it a feature.. it makes certain cense not to hide sentences with new words:)

Yes this has always been a feature I added. Imagine you are learning a new skill with new words you haven't seen before and need to learn it, it would be very unhelpful if they were blurred out.
It was actually a bug that must have been introduced after a recent duolingo change that was causing these sentences to be hidden, despite the new words.
It is a duolingo issue that even if you have completed the bonus skills, some of the words come up as new no matter how many times you have seen them before.
I hope that clarifies things a little.
Toran


Merge support

Could you please tell me is merge supported? Similar to this one:
tmp
**/coverage
!**/coverage

It was merged to:
tmp

If I'm understanding what you are asking for: ignore files are not optimized to remove kinda self-cancelling rules like that, but if you repeat those 2 lines 1 million times they won't slow down matching because they end up populating the same nodes internally, like they kinda overwrite each other, so I guess there is some kind of implicit merging.

I’m talking not about slowdown, but about overriding ignore. It useful when something was ignored by default and you want to stop ignoring it. How it will work right now for such case:
**/coverage
!**/coverage

coverage is ignored or not when it used by your library?

Coverage would be not ignored in that scenario with this library. Unless the library is buggy we try to parse ignore files like git would.

OK, I tried it, it works good:
**/coverage
!**/coverage

coverage ignored and:
!**/coverage
**/coverage

coverage not ignored. Is it possible to produce CommonJS? I need to use this library inside ESLint plugin which is sync CommonJS only.


prometheus rule validator: add full PrometheusRule unmarshal step

Fix prometheus rule validator admitting rules with invalid label types.
Fixes #2727,#2962

Failing test seems correctly failing, but otherwise happy with this. Thank you for working on this!

Investigating why this is failing in the travis ci environment.
make test-unit and go test -timeout 30s github.com/coreos/prometheus-operator/pkg/admission -run ^(TestAdmitBadRuleWithBooleanInAnnotations)$ are working locally. Suspect it may be differences between go 1.12 and 1.13

Confirmed that the tests pass when built with go1.13.8 in travis. Must be something to do with Unmarshal in 1.12.

Almost there, now just needs a  go mod tidy and go mod vendor (with go 1.13 as mods changed slightly).

Thanks for the feedback @brancz ! That seems to have done the trick.

Thanks a lot for taking care of this! Lgtm


Fix #255 - Add phone number validation to sign form

Fix #255
I added the django-phonenumber-field library in order to validate Signature's phone field.

Thanks for the review. I've applied requested changes !


missing MSVCP140.dll on Win7 x32

following article suggests the vistual studio c++ redistributable: https://answers.microsoft.com/en-us/windows/forum/all/download-msvcp140dll/806d712a-2cff-4593-b9ef-f80d0609a631
which is available here: https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022

article about including redistributable: https://nsis-dev.github.io/NSIS-Forums/html/t-367574.html
with the following examples:
!include x64.nsh

${If} ${RunningX64}
        ReadRegStr $1 HKLM "SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x64" "Installed"
        StrCmp $1 1 installed
${Else}
        ReadRegStr $1 HKLM "SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86" "Installed"
        StrCmp $1 1 installed
${EndIf}

;not installed, so run the installer
ExecWait 'MyPathWhereInstallerIs\vc++2010setup.exe'

installed:
;we are done

this would bloat the installer by ~40MB thought, need to think it through

using a VM, discovered on x86 that only the following two Visual C++ Redistributable dll's are required to make the game start

msvcp140.dll
vcruntime140.dll

files added in 5bc167dc2b22b684a4b61bae9780af03b1eab67d

looking at other solutions, they are including more .dlls in their bin/dll folders, list as follows:

concrt140.dll
msvcp140.dll
msvcp140_1.dll
msvcp140_2.dll
msvcp140_atomic_wait.dll
msvcp140_codecvt_ids.dll
vcruntime140.dll
vcruntime140_1.dll

dlls added in e3ea29dfdeedc8d6e2ba3725f6ad96321f2b214a (lfs used for dll in 197cb6d8cb5a1b3441f2e65c8a041577738e1481)
code fixed in 9d402e925831b399336addc5286664fd0959c2a5
windows 7 basic vm (with nothing else installed):


Forex Calendar data source

add a new data service that can provide economic release dates that influence other financial instruments f.e. foreign exchange.
Sample websites that are providing similar data via websites:

https://www.dailyfx.com/calendar
http://www.fxstreet.com/economic-calendar
http://www.forexfactory.com/calendar.php

Possible apis that could be used:
https://github.com/xuyuwei/Forex-Calendar-API
https://github.com/jinahadam/fiscal

Should we store this stuff locally or just re-download it whenever it's requested?

I think at least - in the long run - we should store it. When you wanna do some backtesting f.e. to create your own forex EA, you will need the data right away to get the best backtesting performance.
Actually I don't know when I will implement it. It's today just an idea. I wanna focus now to get version 1.0 to RTM. When someone else can take over, its ok for me.
It has something similar with #11:

this issue is focused for the forex market
issue #11 is focused for the stock market

I took a swing at it, take a look at the data structure & broker here: bb862784600db257a4c55414c4e46ac30e5f6098
Also added a client for FXStreet: fc789e5dcf12725c9e64a8eb2b37a7f571e64f66 (trying my hand at F#, pretty fun)
Some questions: does it make sense for the broker to use multiple different sources (i.e. FXStreet and forexfactory) at the same time? I think it could lead to a lot of duplication, since they probably just have the same data, right? So I was thinking that it might be better if the user would pick one source and only that one would be used for all requests.
I haven't done anything on the networking side, this seems like the sort of thing that we'd send over HTTP rather than zmq. So it's best to wait for that.
Also: add a calendar to the UI to display this stuff?

Tour swing look at the beginning good. I would prefer to usw ISO Codes for Country (2 chars) and Currency (3 chars).
Your client looks nice. I Mike the idea to use F# - you can express mathematic logic easier as with C#. I think we should discuss a style guide for "when using F# and when using C#". I would prefer it in indicator and trading signal calculation Both will be dotNet Core compatible ... without a style guide we could end up in spaghetti code...
Yes, it might make sense to get forex data from different sources. As I know, the prices are created by the brokers in some way, and there are not all the same. Stocks work not equaly here, i think. Look here for example: https://www.mql5.com/en/signals/165324
This is a public trading signal from a user that can be cloned... In the tab " Slipperage" you can see that different brokers have pipe differences.
Personally I don't think we need it in the server UI. Would be nice but not necessary. Actually every user I guess would use the client api at the end ... maybe for a backtesting scenario with forex.

I merged the pull request and close this issue.


Support for asyncio

hello.
As the title suggests, function test code generation using the async / await syntax doesn't seem to work.
This is just an async of the documentation code:
async def triangle(x: int, y: int, z: int) -> str:
    if x == y == z:
        return "Equilateral triangle"
    elif x == y or y == z or x == z:
        return "Isosceles triangle"
    else:
        return "Scalene triangle"

The result of executing this code is as follows. (It's too long, so I'll omit it.)
export PYNGUIN_DANGER_AWARE=ANY && \
	poetry run pynguin \
		--project-path ./ \
		--output-path ./pynguin-results \
		-v \
		--module-name python_playground.pynguin_example_3 && \
	export -n PYNGUIN_DANGER_AWARE
[10:53:34] INFO     Start Pynguin Test Generation…                                                                                generator.py:97
           INFO     No seed given. Using<PHONE_NUMBER>212106000                                                                                generator.py:173
           INFO     Collecting constants from SUT.                                                                                generator.py:182
           INFO     Using strategy: Algorithm.DYNAMOSA                                                                                generationalgorithmfactory.py:235
           INFO     Instantiated 11 fitness functions                                                                                generationalgorithmfactory.py:311
[10:53:35] INFO     Using CoverageArchive                                                                                generationalgorithmfactory.py:279
           INFO     Using selection function: Selection.TOURNAMENT_SELECTION                                                                                generationalgorithmfactory.py:254
           INFO     Using stopping condition: StoppingCondition.MAX_TIME                                                                                generationalgorithmfactory.py:90
           INFO     Using crossover function: SinglePointRelativeCrossOver                                                                                generationalgorithmfactory.py:267
           INFO     Using ranking function: RankBasedPreferenceSorting                                                                                generationalgorithmfactory.py:287
           INFO     Start generating test cases                                                                                generator.py:265
           INFO     Iteration:     0, Coverage: 0.090909                                                                                searchobserver.py:66
           INFO     Iteration:     1, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:     2, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:     3, Coverage: 0.090909                                                                                searchobserver.py:72
[10:53:36] INFO     Iteration:     4, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:     5, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:     6, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:     7, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:     8, Coverage: 0.090909                                                                                searchobserver.py:72
[10:53:37] INFO     Iteration:     9, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    10, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    11, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    12, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    13, Coverage: 0.090909                                                                                searchobserver.py:72
[10:53:38] INFO     Iteration:    14, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    15, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    16, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    17, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    18, Coverage: 0.090909                                                                                searchobserver.py:72
[10:53:39] INFO     Iteration:    19, Coverage: 0.090909                                                                                searchobserver.py:72
           INFO     Iteration:    20, Coverage: 0.090909                                                                                searchobserver.py:72
...

Is there a way or implementation to avoid this?

Dear @satodaiki ,
Thank you for your interest in Pynguin and for reporting the async/await issue. We have encountered this issue quite some time ago. Unfortunately, we were not able to come up with a stable working solution to fix this. The problem is caused by how Pynguin executes the generated test cases, which does currently not support coroutines as they need a different call statement.
If time allows for it, we might come back to this and maybe also come up with some reliable fix. Up to this undefined point in the future, I am sorry to say that Pynguin does not support generating tests for coroutines. Of couse, if you want to work on this, we are happy to accept patches :wink:
Best,
Stephan


No file events for undo operations from finder/explorer

Does this issue occur when all extensions are disabled?: No (An extension is needed to create a file watcher and monitor it)

Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631
Steps to Reproduce:

Write a simple extension that sets up a fileWatcher at the root of the workspace, with workspace.createFileSystemWatcher, and registers for onDidCreate (or use the C/C++ Extension with "C_Cpp.loggingLevel": "Debug" set, and monitor the C/C++ output channel for log messages that refer to fileCreate.
Open the workspace and create a subdirectory within it, and a file in that subdirectory (i.e. test.h).
In the File Explorer (on Windows, or Finder on macOS) delete that subdirectory. (If using the C/C++ Extension, you should see a delete for just the directory, which is fine, since delete of a directory implies its contents are deleted).
Then, also in the File Explorer (on Windows, or Finder on macOS), "Undo" that deletion.

Seeing: An onDidCreate is generated for the restored directory but NOT for any of it's contents.
Expected: We should get a file creation notification for all newly discovered files, including those in a directory restored by an undo operation.
We're seeing the same issue on both Windows and macOS.  The expectation is that the fileWatcher should inform us when any files or folders are created/deleted/changed under the tree we're monitoring, and not require us to recursively scan the contents of newly added directories ourselves (and only in this odd scenario).
Note that this does not happen when copying a directory full of files into the workspace.  In that case, we get notifications for all contents.
https://github.com/user-attachments/assets/56ad4e94-d77e-479f-bbbc-c5907ae7f70e

Reported as upstream, its likely that the OS watchers are not even providing this information so its hard to workaround this: https://github.com/parcel-bundler/watcher/issues/185

I am closing this issue, given the reported upstream. As we stay with parcel watcher, fixes have to go there and we are actively contributing.


Cardputer web server crashes with SD card inserted

Loving it so far!
With an SD card inserted, I start up the webserver. As soon as I try to connect with PC, the cardputer starts running whatever OTA program is installed and the web server is not available. It doesn't make it as far as the login screen.
With no SD card inserted, it works as expected.

+1 here. The web UI works fine without my SD card, but if it is insert, the Cardputer just reboots as soon as i try to load the webpage in a browser.

You are using in "AP mode" or in "my network"?

You are using in "AP mode" or in "my network"?

I'm using "My Network", I haven't managed to get AP mode to work, but I'm probably doing something wrong.

other thing, are you starting the webUI plugged on USB and the power switch turned off?

I initially tried it running on battery power only, but I did try it with USB and power switch off at your suggestion, and there was no change in the behavior.

Can you try again, but logging the Serial Monitor, and send me the results?

[FROM M5Burner] COM5 opened.
E (50119) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (50119) task_wdt:  - async_tcp (CPU 0/1)
E (50119) task_wdt: Tasks currently running:
E (50119) task_wdt: CPU 0: IDLE
E (50119) task_wdt: CPU 1: async_tcp
E (50119) task_wdt: Aborting.

abort() was called at PC 0x420310a0 on core 0

Backtrace: 0x40377342:0x3fc95bd0 0x4037cda1:0x3fc95bf0 0x40382c6d:0x3fc95c10 0x420310a0:0x3fc95c90 0x403789c1:0x3fc95cb0 0x420ea40f:0x3fcf4b80 0x42031905:0x3fcf4ba0 0x4037e348:0x3fcf4bc0

ELF file SHA256: bd595f1b2c910f84

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376f50
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1024
load:0x403c9700,len:0xb7c
load:0x403cc700,len:0x2dd4
entry 0x403c98a4
[boot] Turned on because (1= POWERON_RESET) (Other= Probably forced by launcher)--> 12

Few more questions:
SdCard size:
Formatted in:
Are there files, in your sd card, with some sort of special characters?

SD Card size is 32gb, formatted as FAT32. It was a fresh SD card used straight from the packaging into the Cardputer. The only files on it are those placed there by M5Launcher via the OTA download.
$ > find .
.
./M5Launcher.txt
./downloads
./downloads/Bruce for Cardputer.bin
./downloads/Car Dashboard for Cardputer.bin
./downloads/CardSkimmerDetector-M5Cardputer.bin
./downloads/CrowOs.bin
./downloads/Evil Portal for Cardputer.bin
./downloads/Interactive SSH client and VPN.bin
./downloads/M5Cardputer_WebRadio.bin
./downloads/NEMO For Cardputer.bin
./downloads/Palnagotchi.bin
./downloads/M5Launcher Cardputer.bin
./downloads/M5 Cardputer User Demo Plus.bin
./downloads/M5Cardputer User Demo Original Firmware 2024.04.23.bin
./System Volume Information
./System Volume Information/WPSettings.dat
./System Volume Information/IndexerVolumeGuid

Likewise here. "My Network" and a 32GB FAT32 card. I do have a mix of filenames with dashes and spaces as well as multiple dots. But nothing that isn't ASCII. I do however have plenty of files starting with a dot.

@l0k1 @AssetBurned
Can you please test this version for me?
Launcher_V3_Cardputer.zip
The OTA Function is pointing to a test repo, so it won't have all firmwares and wont be updated, but the goal here is undersatand what's going on with your devices.. so I Ask you to use http://web.esphome.io to install this .bin and keep the LOG opened while you try to start the WebUI.
My hunch is that your SDCard is taking too long do deliver all data to the webUI, and the watchdog is stopping the AsyncTCP Service, leading to a crash (at least is what is written in here)
E (50119) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (50119) task_wdt:  - async_tcp (CPU 0/1)
E (50119) task_wdt: Tasks currently running:
E (50119) task_wdt: CPU 0: IDLE
E (50119) task_wdt: CPU 1: async_tcp
E (50119) task_wdt: Aborting.

I included some this code soon after starting the server and fixed the fail on creating folders, so if you can test it, would be very nice..
  disableCore0WDT(); // disable WDT
  disableCore1WDT(); // disable WDT
  disableLoopWDT();  // disable WDT

I Hope it works.. fingers crossed

That worked successfully! I installed per your instructions using http://web.esphome.io/. I was able to launch the webserver, upload/download files to the SD card, and install a .bin. Here's the log from that website in case you wanted it.
[17:32:28]ESP-ROM:esp32s3-20210327
[17:32:28]Build:Mar 27 2021
[17:32:28]rst:0x15 (USB_UART_CHIP_RESET),boot:0x2b (SPI_FAST_FLASH_BOOT)
[17:32:28]Saved PC:0x420ea7e2
[17:32:28]SPIWP:0xee
[17:32:28]mode:DIO, clock div:1
[17:32:28]load:0x3fce3810,len:0x1024
[17:32:28]load:0x403c9700,len:0xb7c
[17:32:28]load:0x403cc700,len:0x2dd4
[17:32:28]entry 0x403c98a4
[17:32:28][boot] Turned on because (1= POWERON_RESET) (Other= Probably forced by launcher)--> 21
[17:33:05][ 36456][E][esp32-hal-misc.c:143] disableCore1WDT(): Failed to remove Core 1 IDLE task from WDT
[17:38:07][338737][E][esp32-hal-misc.c:121] enableCore0WDT(): Failed to add Core 0 IDLE task to WDT

Great!!!
This is great news!!
Will polish some extra bytes here with the other issues, next week I'll release the fixed version


No model file

Unable to open file (unable to open file: name = 'e:\CellSeg-master\src\modelFiles\final_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

are you planning to upload the model file @michaellee1?


Specialized parameters for systems

Systems should be able to request specialized variables:

Entity
*World (?) not sure I want to give this footgun

world can be supplied with some specialized type wrapper to ensure safe operations on the world state i.e deferring operations to the end of the dispatch

~Custom user data~ #12 solves this usecase
~Delta time~ #12 solves this usecase

Related issue: #12

Closing this in favor of #74 and #68


net: ipv4: Add support for conflict detection (RFC 5227)

This PR implements (optional) IPv4 conflict detection, as specified in RFC 5227.
The implementation is based on the solution we had in IPv4 autoconf module, implementing RFC 3927, which was just a more specialized case of a conflict detection described in RFC 5227.
IPv4 autoconf and DHCP has been integrated with the conflict detection events, so that new address can be generated/requested when a conflict is reported.

Just a rebase, hopefully CI issues should be resolved now.


How to get the output embedding values in unsupervised graphsage?

I want to get the output embedding vectors as features for the nodes, is there a method to get that?

Hi @jc-moon thanks for your question!
I think this section from the unsupervised GraphSAGE demo may be relevant for you: https://stellargraph.readthedocs.io/en/stable/demos/embeddings/graphsage-unsupervised-sampler-embeddings.html#Extracting-node-embeddings
The idea is that you initially train the model with an additional layer on top of the embeddings
# `x_out` has the embedding vectors
x_inp, x_out = graphsage.in_out_tensors()

# additional layer for unsupervised learning task
prediction = link_classification(
    output_dim=1, output_act="sigmoid", edge_embedding_method="ip"
)(x_out)

# rest of training code
model = keras.Model(inputs=x_inp, outputs=prediction)
model.compile(...)
model.fit(...)

Then when you need to extract the node embeddings, you need to create a new keras model which has x_out as the output embeddings:
x_inp_src = x_inp[0::2]
x_out_src = x_out[0]
embedding_model = keras.Model(inputs=x_inp_src, outputs=x_out_src)
embedding_model.predict(node_gen)

The reason for using x_inp[0::2] and x_out[0] instead of just x_inp and x_out is because the original unsupervised GraphSAGE model actually takes a pair of nodes as input and output (hence why it is used with a GraphSAGELinkGenerator), whereas for our node embedding model, each row of input/output correspond to a single node.
Hope that makes sense! Reading the rest of the notebook that I've linked above may give you some additional context too, but let us know how it goes.

@kjun9 Why is the need to create an additional embedding model. Can't we simply use the existing trained model to extract the embeddings?


Error when moving a site to normal in resource control

Before I forget, when setting a site status from "down" to "normal", I get this error:
[cmsdataops@cmssrv214 current]$ $manage execute-agent wmagent-resource-control --site-name=T3_US_NERSC --normal
Executing wmagent-resource-control --site-name=T3_US_NERSC --normal ...
Configuration Warning "/etc/condor/condor_config", Line 1291: obsolete use of ':' for parameter assignment at RunBenchmarks : (LastBenchmark == 0 ) || ($(BenchmarkTimer) >= (4 * $(HOUR)))
ERROR:root:Not able to find WMAgent jobs
[cmsdataops@cmssrv214 current]$

But actually the site status is changed in resource-control. There are several other issues related to resource control as well.
Please, don't get mad at me, I promise to create more patches/fixes than issues in 2015 :-)

"Please, don't get mad at me, I promise to create more patches/fixes than issues in 2015 :-)"
How do you think that's going? :-)

Just gave it a try in 1.0.9.pre9 and it still complains, though it's different now:
cmst1@vocms0224:/data/srv/wmagent/current $ $manage execute-agent wmagent-resource-control --site-name=T2_PL_Warsaw --down
Executing wmagent-resource-control --site-name=T2_PL_Warsaw --down ...
Exception AttributeError: "'NoneType' object has no attribute 'error'" in <bound method CondorPlugin.__del__ of <WMCore.BossAir.Plugins.CondorPlugin.CondorPlugin instance at 0x14e4290>> ignored
cmst1@vocms0224:/data/srv/wmagent/current $

I was hoping it would fix itself :-) I think I know more or less where it breaks. Feel free to assign it to me

"Please, don't get mad at me, I promise to create more patches/fixes than issues in 2015 :-)"
How do you think that's going? :-)

Alan closed more issues than what I closed past five years. :-)

Yeah Alan, I wasn't asking about this issue, just came across it while searching.
Sent from a mobile device. Please excuse my brevity or transcription errors.
On Sep 3, 2015, at 16:38, ticoann <notifications<EMAIL_ADDRESS>wrote:
"Please, don't get mad at me, I promise to create more patches/fixes than issues in 2015 :-)"
How do you think that's going? :-)
Alan closed more issues than what I closed past five years. :-)
—
Reply to this email directly or view it on GitHubhttps://github.com/dmwm/WMCore/issues/5518#issuecomment-137581487.

I may be "neutral" at this point, but that just because some issues I'm registering in my mind only :P


RSRMID-1806-response-refactoring-multi-ctor-calls

:tada: This PR is included in version 9.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Search weighting

add a print line for debugging in production

Codecov Report

Merging #1100 (d6822a0) into main (e3e2d8e) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1100      +/-   ##
==========================================
+ Coverage   77.46%   77.48%   +0.02%
==========================================
  Files         154      154
  Lines        5702     5703       +1
  Branches      921      921
==========================================
+ Hits         4417     4419       +2
  Misses       1144     1144
+ Partials      141      140       -1

Impacted Files
Coverage Δ

src/CreeDictionary/API/search/glossary_count.py
96.15% <100.00%> (+0.15%)
:arrow_up:

src/CreeDictionary/CreeDictionary/views.py
62.71% <0.00%> (+0.56%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3e2d8e...d6822a0. Read the comment docs.


Can I hide the signal icon of card 2 separately

Can I hide the card 2 signal icon separately? The locked cell phone esim has no signal. It will look better if hidden

I’ll look into this, it may be possible.

I’ll look into this, it may be possible.

Thank you. Looking forward to your good news.

I’ll look into this, it may be possible.

Or it is also a good choice to fill in the esim signal icon.

cowabunga just released a new version that has the ability to show/hide second carrier


Loader

Loaders-Squares.mp4.zip

This component is also moving over to calcite-components: loader. Closing this out.


Examine adding more off-heap vector scoring

This issue has been filed to give consideration to the possibility of adding more off-heap vector scorers.
We recently added a MemorySegment Vector scorer for scoring byte vectors without copying on-heap - scorer loads values directly from the backing memory segment when available. Benchmarks show an approx 2x performance improvement by avoiding copying the vector data on-heap.
Floats
Loading vector data from float[] (the fallback), is only supported in JDK 22 - which might be fine.  See https://bugs.openjdk.org/browse/JDK-8318678
Scalar quantized
Each of the possible quantized vector element sizes can be evaluated separately.

int7
int4
1 bit ?

relates #13339

This relates to: https://github.com/apache/lucene/pull/13497


Cannot update flipY after load texture with NgtTextureLoader

So I created a cube and texture with Blender and used ngt-primitive to render it.
portalModel$ = this._textureLoader.load('assets/baked-cube.jpg').pipe(
        switchMap((texture) => {
            const bakedTexture = texture;
            bakedTexture.flipY = false; // --> not working
            return this._gltfLoader.load('assets/cube.glb').pipe(
                map((gltf) => {
                    const bakedMesh = gltf.scene.children[0];
                    if (bakedMesh) {
                        (bakedMesh as any).material =
                            new THREE.MeshBasicMaterial({
                                map: bakedTexture,
                            });
                    }
                    return gltf;
                })
            );
        })
    );

After reading the code, I think we have to update flipY = false before call the initTexture function.
// texture-loader.ts
tap((textures: THREE.Texture | THREE.Texture[]) => {
                const renderer = this.canvasStore.get((s) => s.renderer);
                if (renderer) {
                    (Array.isArray(textures) ? textures : [textures])
                        .map((texture) => {
                            texture.flipY = false; // update flipY = false here
                            return texture;
                        })
                        .forEach(renderer.initTexture.bind(renderer));
                }
            }),

Do we have any solutions for this issue?

I have a simple component that loads a texture into a plane.
import { NgtLoader, NgtVector3 } from "@angular-three/core";
import { Input } from "@angular/core";
import { Component } from "@angular/core";
import { DoubleSide, FrontSide,  MeshBasicMaterialParameters, Texture, TextureLoader } from "three";

@Component({
  selector: 'simple-texture',
  template: `
<ngt-mesh [name]="name" [position]="position" [scale]="scale">
  <ngt-plane-geometry></ngt-plane-geometry>
  <ngt-mesh-basic-material [parameters]="parameters"></ngt-mesh-basic-material>
  <ngt-arrow-helper></ngt-arrow-helper>
</ngt-mesh>`
})
export class SimpleTextureComponent {
  @Input() name = 'simple-texture'
  @Input() position = [0, 0, 0] as NgtVector3;
  @Input() scale = [1, 1, 1] as NgtVector3;
  @Input() color = 'white';
  @Input() doublesided = false;

  @Input() set url(newvalue: string) {
    const s = this.loader.use(TextureLoader, newvalue).subscribe(next => {
      //next.flipY = false;
      this.texture = next;
    },
      () => { },
      () => { s.unsubscribe(); }
    );
  }

  texture!: Texture;

  get parameters(): MeshBasicMaterialParameters {
    const p: MeshBasicMaterialParameters = {
      color: this.color,
      side: this.doublesided ? DoubleSide : FrontSide
    }
    // to avoid THREE warning if map is undefined
    if (this.texture) {
      p.map = this.texture;
    }
    return p;
  }

  constructor(private loader: NgtLoader) { }
}

If I remove the comment, the image if flipped as you would expect

Here's the code to render the picture frame
  <ngt-canvas [camera]="{ position: [0, 0, 2], fov: 45 }"
              [scene]="{ background: 'lightblue' | color }">
    <ngt-ambient-light></ngt-ambient-light>

    <!--picture frame-->
    <simple-texture [position]="[0, 0.5, -1]" [scale]="[1.28*2.1, 2.1,2]" [doublesided]="true" [color]="'black'" ></simple-texture>
    <simple-texture [position]="[0, 0.5, -0.99]" [scale]="[1.28*2,2,2]" [url]="'assets/Canestra_di_frutta.jpg'" ></simple-texture>

    <ngt-soba-orbit-controls></ngt-soba-orbit-controls>
  </ngt-canvas>

I have used the same workaround, but I think the TextureLoaderService should support this issue, right?

flipY is true by default and results in an image that looks good.  I think that's the right default.

flipY is true by default and results in an image that looks good. I think that's the right default.

It's better if we have a way to modify the texture before executing renderer.initTexutre


DNN-8588 Rotate the images on upload if required

We check if there is a metadata property present for orientation. If present then we apply the rotation and remove the property

changes looks good and merged.


Allow KQueueServerSocketChannel construction with ProtocolFamily

Motivation:
The current implementation limits KQueueServerSocketChannel construction to SocketProtocolFamily,
the rest of the ServerSocketChannel and SocketChannel implementations use ProtocolFamily.
Modification:

Allow KQueueServerSocketChannel construction with ProtocolFamily

Result:
Allow KQueueServerSocketChannel construction with ProtocolFamily

Nice catch!

@normanmaurer Thanks


Three dead links

NodeTogether will be traveling the world with Node Live, Node Interactive EU, and Node Interactive US.

All three of these don't go anywhere.

closed https://github.com/ashleygwilliams/nodetogether.org/commit/fa235e0ddc7eae479aaf14b1b825b30e99bd7922


update instagram app version

Added a new Android Device
Edited App Version
Added a setter for BroadcastMessage (default it was "test")

The user agents and android-id also need to be updated. There need many changes to the authentication system but the library is not active anymore. So your PR will be hardly merged.
PS : If you really will to contribute, you can contribute here : https://github.com/Taz03/JIA
It's another instagram4j but a lot better then this


Updates the default layout and TheFooter so that footer color will be…

Completes #193

Updates the default layout and TheFooter so that footer color will be different in All Events and All Resources pages
Updates the background color for All Events and All Resources pages

Oh shoot, I should have been more clear in the issue. I think you are right, changing the footer based on the page seems weird. I thinking making it blue accoss all pages is the way to go

The footer looks great on the community events and resources page though

Oh shoot, I should have been more clear in the issue. I think you are right, changing the footer based on the page seems weird. I thinking making it blue accross all pages is the way to go

@MandyMeindersma: Alright. I will revert the code that makes footer theme dynamic, and make the footer light blue all across the app later in the evening. Thanks

Sorry! Thank you!

Sorry! Thank you!

No worries. That was a quick fix, and I also learned something while implementing it :).


Change Wazuh logo and titles

Description
The following list of changes have been applied:

Replace OpenSearch login default configuration title with Wazuh login title text.
Replace OpenSearch login logo with Wazuh login logo.
Replace OpenSearch login title with Wazuh login title.
Replace OpenSearch login subtitle with Wazuh login subtitle.
Disable first time pop-up tenant selector.
Replace home logo.

Issues Resolved

#10

Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pending rebase to #7


buffer error (Zlib::BufError) when installing puppetlabs-apache

An error occurs when installing puppetlabs-apache 1.11.0. I've installed librarian-puppet using the latest version from master.
My Puppetfile looks like this:
forge "https://forgeapi.puppetlabs.com"

mod 'puppetlabs-apache', '1.11.0'

Running librarian-puppet install --verbose gives the following output/error:
[Librarian] Ruby Version: 2.0.0
[Librarian] Ruby Platform: x86_64-linux
[Librarian] Rubygems Version: <IP_ADDRESS>
[Librarian] Librarian Version: 0.6.3
[Librarian] Librarian Adapter: puppet
[Librarian] Librarian Adapter Version: 2.2.3
[Librarian] Project: /home/vagrant
[Librarian] Specfile: Puppetfile
[Librarian] Lockfile: Puppetfile.lock
[Librarian] Git: /usr/bin/git
[Librarian] Git Version: <IP_ADDRESS>
[Librarian] Git Environment Variables:
[Librarian]   (empty)
[Librarian] Pre-Cached Sources:
[Librarian] Post-Cached Sources:
[Librarian]   [:forge, "https://forgeapi.puppetlabs.com", {}]
[Librarian] Resolving puppetlabs-apache (= 1.11.0) <https://forgeapi.puppetlabs.com>
[Librarian]   Checking manifests
/usr/share/ruby/net/http/response.rb:357:in `finish': buffer error (Zlib::BufError)
        from /usr/share/ruby/net/http/response.rb:357:in `finish'
        from /usr/share/ruby/net/http/response.rb:262:in `ensure in inflater'
        from /usr/share/ruby/net/http/response.rb:262:in `inflater'
        from /usr/share/ruby/net/http/response.rb:274:in `read_body_0'
        from /usr/share/ruby/net/http/response.rb:201:in `read_body'
        from /usr/share/ruby/net/http.rb:1132:in `block in get'
        from /usr/share/ruby/net/http.rb:1419:in `block (2 levels) in transport_request'
        from /usr/share/ruby/net/http/response.rb:162:in `reading_body'
        from /usr/share/ruby/net/http.rb:1418:in `block in transport_request'
        from /usr/share/ruby/net/http.rb:1409:in `catch'
        from /usr/share/ruby/net/http.rb:1409:in `transport_request'
        from /usr/share/ruby/net/http.rb:1382:in `request'
        from /usr/share/ruby/net/http.rb:1375:in `block in request'
        from /usr/share/ruby/net/http.rb:852:in `start'
        from /usr/share/ruby/net/http.rb:1373:in `request'
        from /usr/share/ruby/net/http.rb:1131:in `get'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:80:in `perform_request'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `block in call'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call'
        from /usr/local/share/gems/gems/puppet_forge-2.2.3/lib/puppet_forge/connection/connection_failure.rb:9:in `call'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
        from /usr/local/share/gems/gems/faraday_middleware-0.10.1/lib/faraday_middleware/response_middleware.rb:30:in `call'
        from /usr/local/share/gems/gems/puppet_forge-2.2.3/lib/puppet_forge/middleware/symbolify_json.rb:64:in `call'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
        from /usr/local/share/gems/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
        from /usr/local/share/gems/gems/puppet_forge-2.2.3/lib/puppet_forge/v3/base.rb:69:in `request'
        from /usr/local/share/gems/gems/puppet_forge-2.2.3/lib/puppet_forge/v3/base.rb:76:in `find_request'
        from /usr/local/share/gems/gems/puppet_forge-2.2.3/lib/puppet_forge/v3/base.rb:82:in `find'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/source/forge/repo_v3.rb:42:in `get_module'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/source/forge/repo_v3.rb:19:in `get_versions'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/source/forge/repo.rb:15:in `versions'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/source/forge/repo.rb:42:in `manifests'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/source/forge.rb:152:in `manifests'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/dependency.rb:155:in `cache_manifests!'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/dependency.rb:151:in `manifests'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:159:in `block in resolving_dependency_map_find_manifests'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:172:in `block (2 levels) in scope_resolving_dependency'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:186:in `block in scope_checking_manifests'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:230:in `scope'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:185:in `scope_checking_manifests'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:171:in `block in scope_resolving_dependency'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:230:in `scope'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:170:in `scope_resolving_dependency'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:158:in `resolving_dependency_map_find_manifests'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:65:in `do_resolve'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver/implementation.rb:50:in `resolve'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/resolver.rb:23:in `resolve'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/action/resolve.rb:31:in `run'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/action/resolve.rb:10:in `run'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/cli.rb:104:in `resolve!'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/lib/librarian/puppet/cli.rb:68:in `install'
        from /usr/local/share/gems/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
        from /usr/local/share/gems/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
        from /usr/local/share/gems/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
        from /usr/local/share/gems/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/cli.rb:26:in `block (2 levels) in bin!'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/cli.rb:31:in `returning_status'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/cli.rb:26:in `block in bin!'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/cli.rb:47:in `with_environment'
        from /usr/local/share/gems/gems/librarianp-0.6.3/lib/librarian/cli.rb:26:in `bin!'
        from /usr/local/share/gems/gems/librarian-puppet-2.2.3/bin/librarian-puppet:7:in `<top (required)>'
        from /usr/local/bin/librarian-puppet:23:in `load'
        from /usr/local/bin/librarian-puppet:23:in `<main>'

In case somebody else encounters this problem, altering the forge URL to "https://forge.puppet.com" fixes the issue for now.


dead Links

Hi,
This project is great with many useful examples. I use it very often when i want a piece of code.
But the Github links to the demos and the scenes are dead maybe because you moved the entire project. It could be great to "revive" them.
Thanks in advance,
Boris

@bvaisman-GitHub Thanks for pointing that out. I fixed the links for the demos and scenes. Hope you find it useful.


New school added "Institution Jeanne D'arc"

@MattiaPARRINELLO Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


restart grafana when datasource changed

https://issues.redhat.com/browse/ACM-7489

I remember @elgnay has shown a playback that a pod can reload the credential without restarting the pod on ACM. Can we leverage that?

It's a feature of k8s client-go. I'm not sure if it is applicable for your case.

/unhold

I remember @elgnay has shown a playback that a pod can reload the credential without restarting the pod on ACM. Can we leverage that?

Thanks, we need to reload the secret in grafana, it may not applicable

can we call the reload api to reload the datasource? refer to https://grafana.com/docs/grafana/latest/developers/http_api/admin/#reload-provisioning-configurations

/assign @clyang82 @yanmxa

/cc @clyang82 @yanmxa

refer to https://raw.githubusercontent.com/stolostron/multicluster-observability-operator/main/tools/switch-to-grafana-admin.sh how to access the grafana api.

refer to https://raw.githubusercontent.com/stolostron/multicluster-observability-operator/main/tools/switch-to-grafana-admin.sh how to access the grafana api.

It's difficult to watch the changed secret reloaded to grafana pod. And the secret will be changed low-frequency. So I suggest restart the grafana pod.


support sahi in mmdetection [From Wechat Group]

What is the problem this feature will solve?
object detection for ultra-large resolution images
What is the feature you are proposing to solve the problem?
sahi
What alternatives have you considered?
No response

duplicates https://github.com/open-mmlab/mmdetection/issues/8903


Added docker

Added a Dockerfile to build a docker image.
Not sure, if my explanation in the README is clear for people which are not experienced docker users.

Does it make sense to have this in the same repository? What are the pros/cons of including this vs having a separate repo for docker?

As a first approach I had two additional repostiories:

one for the DOCKERFILE: https://github.com/Cyber1000/Docker-Images-Tuya
and one for the docker-compose part of running the container: https://github.com/Cyber1000/Docker-Services-Tuya

For my own projects I normally keep the DOCKERFILE within the project, for (github-)projects from other users I normally use a separate gitrepo for the DOCKERFILE (and addtional helperfiles), since I can't change the original repo (besides forks). As far as I could see many projects keep the DOCKERFILE within the project.
The only difference would be here: https://github.com/Cyber1000/Docker-Images-Tuya/blob/master/Dockerfile
See the line with "RUN cd /usr/bin/ && git clone"? Therefore I need git within the container , I would also always checkout a defined commit (or tag), here it is b17a54fd33929e356eab8d0a230b36eb5e2a7785. If you don't do this you never know which version is in your container and every new docker-build would result into another image.
So this won't be a real disadvantage (ok you have to install git inside, so you have an extra dependency), but no advantage either.
disadvantages of one repo: your main repo may clutter, if you have also docker-files in it (in this PR: docker-dir, docker-compose.sample.yml, DOCKERFILE)
disdvantage of two repos: you would need to update the checkout-tag in your docker-repo regulary, you have to maintain two repos.
I would say there are not really strong arguments against the one or the other, it's just fine either way.

Made smaller adjustements:

tested packages

git -> if DOCKERFILE is within this repo, we don't need this -> removed
sudo -> needed
iptables -> not needed anymore -> removed
iproute2 -> needed for command ss
iputils-ping -> needed for ping

Packages marked as needed are installed in "normal" linuxes (I've tested in ubuntu 18.04 and a minimal raspbian on rpi3), but they may be missing in most of the docker-images, since you only have packages in there you really need for running. It may be fine to move these packages to install_prereq.sh since they should be installed anyway on non-docker-environments.
Made docker-compose.sample.yml easier to use (without variables). If your wifi-adapter is wlan0 you may use it without adjustments.
Adjusted README.
Conclusion:

As said we may move 3 packages to install_prereq.sh
It would also be fine to move the docker-part into another repo to separate from this repo.

Just came across this as i also started a docker version ;)
https://gitlab.com/morph027/tuya-convert-docker
Will be adding multiarch builds for Raspberry Pi too.

Just tested with a Merkury bulb, it's working pretty well ! Thanks

Thanks for testing @titilambert. We can go ahead and merge if everyone is satisfied. Thanks again @Cyber1000 for all your hard work here!


Documentation references removed module curtsies.terminal

Input.rst says:

To see what a given keypress is called (what unicode string is returned by Terminal.next()), try python -m curtsies.terminal and play around.

The problem is that curtsies.terminal was removed in 039832c9a99c415b9c8c91ba7274cca3c3416a28. I guess the mentioned command can be replaced with either python -m curtsies.input or python -m curtsies.events.

@dputtick I know you were looking at some docfixes

On it :)


Firefox not focusing correctly on validation error

When there are validation errors after submitting a form using Firefox (version 31), the focus does not work properly. It will focus the page slightly below where it should. Can't replicate the issue on Chrome or Safari.

We are using jQuery's focus, so I doubt there's anything we can do. Please provide a fiddle illustrating the issue if you think there is :smile:


Fix jake lint

...by partially reverting d0ab1642fe7327f486b41d97e6c6f81e082403e0, which seems to have prevented jake from waiting for the output of linting.
Mitigate the issue that that change was trying to mitigate (warning that scripts/generateLocalizedDiagnosticMessages.ts does not exist) by introducing a superfluous wildcard into the filter.
TODO: follow up with tslint to figure out why an existing file is reported as not existing.

FYI @travcav

Recalling in favor of deeper fix.


METRON-1053 Relocate Metron Docker

Having metron-docker at the top-level of the project seems to catch the attention of new users. Some then start using metron-docker to explore/try-out/demo Metron.  The metron-docker code that we have is not well-suited for this purpose. It is only really useful for development. It is not regularly tested and maintained like our Vagrant environment.
Changes

Moved metron-docker to metron-contrib/metron-docker.  I based the top-level name on a popular suggestion from the mailing list along with matching the existing top-level naming convention (metron-*).

Fixed an issue with untar'ing the Kafka, HBase, and Hadoop tarballs.  It seems that the behavior of Docker's ADD now is to automatically untar.   That is at least in Docker for Mac version 17.06.0-ce-mac19.  I assume on older versions this was not the case,  I changed this logic to avoid using ADD so that it would work for older and newer versions of Docker.

Updated the documentation to make it clear that metron-docker is for development purposes only.

Also renamed the installation location of the core components.  For example instead of /opt/hadoop-2.7.3 I changed it to /opt/hadoop.  This makes it so we don't have the specific version number for these components duplicated in a few different files.

Testing
I launched metron-docker based on the instructions in the README.  The entire Docker compose application launched successfully and I validated that I was able to hit all of the web interfaces outlined in the README.

+1 by inspection. Thanks for taking care of this, and I think the readme updates will help clear up a lot of confusion.

@ottobackwards @JonZeolla @kylerichardson  You guys all chimed in on the original email chain.  I'd like to get your eyes on this. Does this PR work for you?

I took a high level look when it first came out - no concerns.  I'm mobile only until Thursday so don't hold this up based on me.

Going to run this up now. I'll get my feedback in today.
On Mon, Jul 24, 2017 at 10:02 AM, JonZeolla<EMAIL_ADDRESS>wrote:

I took a high level look when it first came out - no concerns. I'm mobile
only until Thursday so don't hold this up based on me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/metron/pull/659#issuecomment-317432077, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ6R3VNjA3oLfQnrBkLKm6idoMnLVRDSks5sRKPrgaJpZM4OdCOL
.

Found a couple of issues when running from a clean source tree. A few quick mods to the pom and one Dockerfile. I'll submit a PR on your branch in the morning.

Merged in @kylerichardson 's changes.  Thanks!

+1, I think this will help cut down what we are seeing on the user list.  Thanks!

+1, thanks for taking this on


Tinyllama configs

Adds configuration files for TinyLlama

Bear with me, currently trying to change the base branch to WIP and getting errors. Will give it some time and try again

I think we currently can't test QLoRA because we are running on CPUs right? I.e.,

RuntimeError: Bitsandbytes is only supported on CUDA GPUs.


extend header for 'roles' detailed list under Config List

extend header for 'roles' detailed list under Config List

done