Config problems: Dashboard tab not loading

Hi,
First of all, thanks for making this solution available!
I've deployed the solution,  tripple checked everything and as far as i can see haven't mixed up any app ids,clientid's , secrets etc.  App is configured to use the Delegated permissions, admin consent has been given.
The dashboard app loads in Teams and shows the Sign In message. Signing in however resulted in a warning (AADSTS90002: Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' not found. This may happen if there are no active subscriptions for the tenant. ) . The url it redirected to was https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/oauth2/authorize?response_type=id_token&client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx&redirect_uri=http%3A%2F%2Fhhs-qbot-questions-tab.azurewebsites.net%2Fapp-silent-end&state=fec80d89-ae0a-4cc5-bc4d-1dcfd7cef76b|xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx&client-request-id=eaebf59c-044d-475e-8058-547bbf746403&x-client-SKU=Js&x-client-Ver=1.0.17&prompt=none&nonce=36ccd3a5-2a6e-4d27-90e5-f683fea845bf&iframe-request-id=f224beaf-bde6-4b43-9c42-e01200224e00
Googling led me to a few posts that suggested ticking the checkbox for an implicit grant of ID Tokens under the authentication settings of the Qbot-api app registration.  I tried this, and got me one step further (or farther away). After signing in on the dashboard it now gives the following error: There was an error initializing the Bot serviceResponse with status: 0 for URL: null .
Any ideas or things that i should check?

Having a similar problem. no errors anymore, but after signing, nothing happens


[Request] A command to show the inferred/static field types

https://github.com/influxdb/influxdb/issues/5155  makes it clear that the field types are very strict (i.e., you cannot write a floating point number after writing an integer ... ).
I think we need a command to show the static inferred types on the fields within a series.  Can we add this information to an existing query command or create a new one?

Duplicate of https://github.com/influxdb/influxdb/issues/3451


[shared_preferences_linux] Add support for Linux

Description
Adds shared_preferences support for Linux.
Related Issues
Fixes https://github.com/flutter/flutter/issues/41720
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

I haven't worked out how to run test/shared_preferences_linux_test.dart - I tried flutter drive but couldn't work out how to get that work, either on this or path_provider_linux. All the different packages seem to have slightly different test layouts and I'm not sure what that "correct" method is.
The example program compiles and runs in Linux.

I haven't worked out how to run test/shared_preferences_linux_test.dart - I tried flutter drive but couldn't work out how to get that work, either on this or path_provider_linux.

Hm, https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md#integration-tests should work. That's what the CI scripts are doing.
But the Linux CI run passed, so it looks like it's in good shape.

Note I updated the example to use shared_preferences_linux directly instead of shared_preferences. I think that makes sense based on the ordering you've suggested!?

It's live and ready to be endorsed!


zebra server

first cut implementation of the zebra server that serves the apis from a
configured storage location.
Signed-off-by: Ravi Chamarthy<EMAIL_ADDRESS>Basic test:
❯ http :9999/api/v1/resources
HTTP/1.1 200 OK
Content-Length: 206
Content-Type: application/json
Date: Wed, 06 Jul 2022 00:09:44 GMT

{
    "VLANPool": [
        {
            "id": "0100000001",
            "labels": {
                "owner": "shravya"
            },
            "rangeEnd": 10,
            "rangeStart": 0,
            "type": "VLANPool"
        },
        {
            "id": "0100000002",
            "labels": {
                "owner": "nandyala"
            },
            "rangeEnd": 5,
            "rangeStart": 1,
            "type": "VLANPool"
        }
    ]
}

Codecov Report

Merging #29 (3925367) into main (86fc28e) will decrease coverage by 9.96%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
- Coverage   85.85%   75.89%   -9.97%
==========================================
  Files           9       11       +2
  Lines         495      560      +65
==========================================
  Hits          425      425
- Misses         37      102      +65
  Partials       33       33

Impacted Files
Coverage Δ

cmd/client/main.go
0.00% <0.00%> (ø)

cmd/server/main.go
0.00% <0.00%> (ø)

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 86fc28e...3925367. Read the comment docs.


Add check for Small Cap siblings

Observed behaviour
We should have a Small Cap (SC) generator checker that goes over all the fonts in the repo, finds ones with SMCP OT code, and generates SC sibling families, and checks if the SC fonts are the same as the generated ones, and if not, warns.
This is maybe not needed in the regular everyday check profile, but is something that is needed less frequently until it passes, and then needs to become a fail to stop regressions.
We should also have a check that all SC sibling families have a parent with SC included as SMCP glyphs + code...

This is a duplicate of #1568


DataFusion should support casting strings such as "4e7" to decimal

Is your feature request related to a problem or challenge?
DataFusion supports casting the string 4e7 to float but not to decimal. This is inconsistent with Postgres (and Apache Spark).
Postgres
postgres=# select cast('4e7' as float);
  float8
----------
 40000000
(1 row)

postgres=# select cast('4e7' as decimal(10,2));
   numeric
-------------
 40000000.00

Apache Spark
scala> spark.sql("select cast('4e7' as float)").show
+------------------+
|CAST(4e7 AS FLOAT)|
+------------------+
|             4.0E7|
+------------------+

scala> spark.sql("select cast('4e7' as decimal(10,2))").show
+--------------------------+
|CAST(4e7 AS DECIMAL(10,2))|
+--------------------------+
|               40000000.00|
+--------------------------+

DataFusion
DataFusion CLI v37.0.0
❯ select cast('4e7' as float);
+-------------+
| Utf8("4e7") |
+-------------+
| 40000000.0  |
+-------------+
1 row in set. Query took 0.010 seconds.

❯ select cast('4e7' as decimal(10,2));
Arrow error: Cast error: Cannot cast string '4e7' to value of Decimal128(38, 10) type

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

I suspect this issue is actually in arrow_cast - the error message seems to come from https://github.com/apache/arrow-rs/blob/ada986c7ec8f8fe4f94235c8aaeba4995392ee72/arrow-cast/src/cast.rs#L2753

I believe this will be supported in the next arrow release

I'm working on this issue and need help here -
I added test case to debug, at the moment string to decimal conversion is using parse_string_to_decimal_native, I did not find support for e notation in this, but there is a function  parse_decimal that does support e-notation.I changed the code to use parse_decimal and it works fine for cases with 4e+7 and looks like there is a bug in the parse_decimal  when i provide 4e7 without + or -, for example this test case -
#[test]
fn test_cast_with_options_utf8_to_decimal() {
    let array = StringArray::from(vec!["4e+7"]);
    let result = cast_with_options(
        &array,
        &DataType::Decimal128(10,2),
        &CastOptions {
            safe: false,
            format_options: FormatOptions::default(),
        },
    ).unwrap();
    let output_array = result.as_any().downcast_ref::<Decimal128Array>();
    assert_eq!(output_array.unwrap().value(0) , 4000000);
}
returns<PHONE_NUMBER>  so it expands till the precision value.

Can anyone clarify -  should we replace parse_string_to_decimal_native with parse_decimal and fix this bug there?

At first glance, parse_decimal looks more mature and more efficient than parse_string_to_decimal_native.
For example, parse_string_to_decimal_native has some expensive operations that are avoided in parse_decimal:
let value_str = value_str.trim();
let parts: Vec<&str> = value_str.split('.').collect();

It does seem to make sense to do what you suggest and use parse_decimal and fix the bug there.


workflows: add publishing of artefacts

This will need a few iterations to test.

Coverage increased (+8.5%) to 29.201%

That's a bit odd.

But will accept that increase in coverage :smile:.


ci: remove inconvenient convenience symlinks

Bazel creates "convenience" links in %workspace% pointing to the
location of several interesting directories. These links are wrong when
created inside a Docker container, which is the case for most of our
builds, better to not generate the links in the first place.

This change is

I do like the title but I also do unadorned bazel build and occasionally use the links...
would adding the flag here instead work?

I also do the bazel build and bazel test thing, and the symlinks are a problem for me in that case too. Turned off seems like a better default. However...

I do like the title but I also do unadorned bazel build

Which will continue to work.

and occasionally use the links...

Which won't.
Presumably you can use bazel build --experimental_convenience_symlinks=normal  and it overrides the value in the .bazelrc file?   And maybe set in in $HOME/.bazelrc.

would adding the flag here instead work?

Don't know, can you test and send a PR? Remember to add them to the macOS, and Windows scripts too.


Weak result when using my own video

Hello
I just downloaded a traffic video from YouTube :
https://www.youtube.com/watch?v=mrjqS5zd268&ab_channel=TaverNet
I gave these values as ground truth :
258.0000,698.0000,388.0000,201.0000
When I run the tracker it starts great but as soon as a very small occultation happens it will lose the target and keeps changing targets! if you try the sample you can see what I mean
Reading the paper I understood the process and it shouldn't be so weak against occultation and disappearances, I don't understand why something like this is happening here, maybe its a bug ?, I would really appreciate it if you could check it out and tell me what I can do to fix this, thank you.

I think this sequence is just extremely hard due to the high object density.
You can try to tweak the hyper-parameters, especially the weighting factors of the TDPA.

Hello
I just downloaded a traffic video from YouTube :
https://www.youtube.com/watch?v=mrjqS5zd268&ab_channel=TaverNet
I gave these values as ground truth :
258.0000,698.0000,388.0000,201.0000
When I run the tracker it starts great but as soon as a very small occultation happens it will lose the target and keeps changing targets! if you try the sample you can see what I mean
Reading the paper I understood the process and it shouldn't be so weak against occultation and disappearances, I don't understand why something like this is happening here, maybe its a bug ?, I would really appreciate it if you could check it out and tell me what I can do to fix this, thank you.

Hi,
How to run the tracker with own video?


Rdio synclet (only)

This pulls in all the data that seems to make sense for Rdio right now (there's an activity feed, but it shows albums and tracks added to a collection and stuff related to playlists, which it doesn't make sense to pull until we have a much better-defined idea of how we want to deal with music). Another pass will be necessary to tie these data into the contacts collection, as well as my still tbd music / tracks collection.
Also, there's no test code right now, although I've tested this against my own account. I'm still trying to wrap my head around how you test against something when you don't really know what you're expecting to get back until it's working. Test code will come later.

Again, super duper mega ultra diff (looks like imthemap got merged in), either clean out or resubmit against imthemap?

I'll resubmit this pull request against imthemap -- good idea.


require new feature, add debugger stub

In windows OS, install a debug program, when c++ program raise exception then windows show a diagbox, has debug/terminal button, click debug can open debugger attach to the process.
Does byebug has similar function, when a ruby script raise exception, auto load byebug and breaked at the exception line, enable change some variable and canbe continue run other code ?

Hi. Yes, there's a post mortem mode to do just that. Enable it with set post_mortem.


ASP.NET Core 3.0 Web API CORS always returning HTTP 500

In my ASP.NET Core 3.0 Web API project I have enabled CORS as follows:
public class Startup
 {
     public Startup(IConfiguration configuration)
     {
         Configuration = configuration;
     }

     public IConfiguration Configuration { get; }

     readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins";
     // This method gets called by the runtime. Use this method to add services to the container.
     public void ConfigureServices(IServiceCollection services)
     {
         services.RegisterDbContext(Configuration);
         services.AddCors(options =>
         {
             options.AddPolicy(MyAllowSpecificOrigins,
                 builder =>
                 {
                     builder.WithOrigins("https://localhost:44367",
                             "http://www.contoso.com")
                         .AllowAnyHeader()
                         .AllowAnyMethod();
                 });
         });
         services.AddControllers();

     }

     // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
     public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
     {
         if (env.IsDevelopment())
         {
             app.UseDeveloperExceptionPage();
         }

         app.UseHttpsRedirection();

         app.UseRouting();
         app.UseCors(MyAllowSpecificOrigins);

         app.UseAuthorization();

         app.UseEndpoints(endpoints =>
         {
             endpoints.MapControllers();
         });
     }
 }

But I am always  getting HTTP 500 without hitting controller method.
HTTP 500 if request to a CORS-enabled endpoint is requested without an origin header is a similar issue and it is marked as Closed Done!
Then why I am receiving this same error?

Could you look at the server logs and include the stack trace for the error?

@pranavkm Thank you for telling this. I have fixed the issue after inspecting the StackTrace and this was not related to ASP.NET Core 3.0 CORS Settings.


Add radius boost for depth clouds on outline

Normal point clouds:

Depth cloud point clouds:

(looks carefully - the outlines have almost the same color as the background)
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)

@ picture: you could have clicked them to make it more obvious 😄. But they are way too subtle now in too many cases (or is our background "wrong" ;)) :/. We need to find a better compromise


Cannot deploy after switching from mup to mupx on Digital Ocean droplet

I've been running an app at alpha stage on a Digital Ocean droplet for a long time, and deploying with mup.  I hadn't worked on it in some time and I read that mup is no longer maintained, so I tried to use mupx.
On this server I run several small sites, with nginx.  I had been using the nginx proxy method for my meteor app with mup to deploy.
I really do not want to purchase and maintain a whole new droplet just for this app.
Do I understand correctly that mupx is trying to install its own nginx in a docker container?  I'm new to docker.
I googled and found some similar problems but no solutions.  A lot of threads I read were discussing SSL, which I'm not even attempting for this app (yet).
In mup.json (with mup) I had port set to 3000.  with the mupx and the new mup.json, I tried both port 80 (as in the default file).  I'm trying 3000 now and I get this:
-----------------------------------STDERR-----------------------------------
Failed to remove container (myappname-frontend): Error response from daemon: No such container: myappname-frontend
docker: Error response from daemon: failed to create endpoint myappname on network bridge: Error starting userland proxy: listen tcp <IP_ADDRESS>:3000: bind: address already in use.
-----------------------------------STDOUT-----------------------------------
m-staging-etfinvest-com
base: Pulling from meteorhacks/meteord
518dc1482465: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
537c534356b6: Already exists
b65a0e1e554b: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
Digest: sha256:b5a4f6efa98e4070792ed36d33b14385a28e6ceda691a492ee5b9f2431b1515a
Status: Image is up to date for meteorhacks/meteord:base
3496c08ad6a7d90d480857882bd7f230643da4292133a901152641a063022172
----------------------------------------------------------------------------

Ya  it's pretty comprehensive so anything already running could cause conflicts.
Sounds like maybe that's what's happened there.
There is a migration guide (see bottom of mupx readme) to mupx from mup try following that with a fresh Ubuntu 14+ get a basic proof of function and then try adjusting to your existing proxy etc.
Some still have a need for mup but it's worth rebuilding things with a container way of thinking lIke mupx does.
Also note there's a new version of mupx being ported over to kadirahq so if you want support that's the route/version as that one will eventually depreciate mupx here.

Thanks for your response.  I may end up trying a fresh ubuntu droplet as a test case.  But actually I was posting in a rush yesterday and I really did mean to post on the mupx repo and not here, so maybe I'll give that a try first.

I just got things working, I think.  Verifying deployment is still FAILED, but the site is there.
I believe these were all the things that were required (maybe not all):

Blow away the old app deployed with mup
Kill the upstart / node listening on port 3000
rm -rf all /fibers everywhere I could find (hit the node-fibers is missing stuff)
mupx setup && mupx deploy

I won't close yet as the verification failure still seems to be a problem to me.  Here is what the last deployment gives:
x Verifying deployment: FAILED
    -----------------------------------STDERR-----------------------------------
    inished
      COPY Release/fibers.node
    make: Leaving directory `/bundle/bundle/programs/server/node_modules/fibers/build'
    Installed in `/bundle/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node`
<EMAIL_ADDRESS>node_modules/ansi-regex

<EMAIL_ADDRESS>node_modules/ansi-styles

<EMAIL_ADDRESS>node_modules/escape-string-regexp

<EMAIL_ADDRESS>node_modules/chalk

<EMAIL_ADDRESS>node_modules/strip-ansi

<EMAIL_ADDRESS>node_modules/supports-color

<EMAIL_ADDRESS>node_modules/has-ansi

<EMAIL_ADDRESS>node_modules/eachline

<EMAIL_ADDRESS>node_modules/type-of

<EMAIL_ADDRESS>node_modules/amdefine

<EMAIL_ADDRESS>node_modules/asap

<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/meteor-promise

<EMAIL_ADDRESS>node_modules/promise

<EMAIL_ADDRESS>node_modules/source-map-support

<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/source-map

<EMAIL_ADDRESS>node_modules/fibers
    => Starting meteor app on port:80

I followed the guide and ran into some issues, but suggestion by @chrisco23 to blow away the old app helped me get to this point (many thanks!). My staging instance is at least back up and running, but I'd like to see this error be resolved, so I'll continue to follow this.

As an update, I was able to get it to Verify deployment successfully by updating mup.json with "deployCheckWaitTime": 30. Hope that helps.


Fix documentation typo

I should have added [ci skip].

Have you also looked at the Korean docs? /sarcasm
No it looks good, do you still want to weed through more of the documentation?

For this a backport variant could be created as well.

That is very true, and reminds me of a question about the documentation.

You can leave this one open for a little bit longer. I'm working on a different bug and have been fixing little typos as I find them. I'll backport this when it comes time to close it.

@johnktims This looks good to me. Shall I merge it, or do you still want to push something?

I think this is good to go.

Are there any changes that still need to be made here?

Do we have entries on the AntMetadataExporter in the reference documentation?
If there is a table with the configuration options, it is good to see if they match the Javadoc.

Wow, this covers quite a lot. It looks good to me.
@Shredder121 The AndMetadataExporter config entries are the same as for the Maven plugin http://www.querydsl.com/static/querydsl/3.6.2/reference/html/ch02s03.html#d0e961

That's good, only one table to maintain.
Then I suppose the content of said table matches the Javadoc.
So in my opinion there are no further changes that need to be made here.

I put the reminder for the backport into the main comment.


Show 'Source' info in geneset details page

Curated genesets have a field called 'source' (different from 'author' in user genesets). We could display this info instead of the blank Author field. @vincerubinetti up to you whether you want to rename the field label 'Author / Source', keep both fields, or change the text based on context.

If you're asking about whether it's a good idea to keep the two fields separate in the backend, it seems like it would be a good idea because that could be a convenient way to tell if a geneset is curated or not.
As for the frontend Ill display the source instead of the author when its available.


compile 'com.github.lsjwzh.RecyclerViewPager:lib:v1.1.1' not work !

Error:(32, 13) Failed to resolve: com.github.lsjwzh.RecyclerViewPager:lib:v1.1.1
Show in FileShow in Project Structure dialog

same here, used 1.0.8 instead until this is fixed


Video Post-processing

Post-process videos and upload to YouTube or Vimeo. Please upload the link in devpost submission

Uploaded by @khattakdev at 🎥 https://youtu.be/1UcU2Ws8cSU


Graduate NavigationList from github.com to primer/view_components

We've been using NavigationList for settings pages on github.com for a while now and are ready to graduate the component into primer/view_components.

Oh shoot I forgot about the javascript! Coming soon.


[Agent] nutrition analyzer

systemRole
You are Nutri Info , an AI assistant specialized in analyzing food images and nutrition labels, while also providing comprehensive nutrition information and dietary advice. Your primary function is to interpret visual data related to food and nutrition, offering detailed yet simple insights to help users make informed decisions about their diet.
Primary Function:
Analyze images of meals and nutrition labels, providing detailed nutritional breakdowns and insights in simple language. This includes:

Identifying food items in meal images.
Requesting and considering brief descriptions from users about the food shown in images.
Estimating portion sizes and nutritional content of photographed meals.
Interpreting nutrition fact labels from food packaging.
Explaining the nutritional implications of the analyzed foods or labels in simple, accessible language.
Clearly outlining the benefits and potential downsides of the nutritional content.
Offering suggestions for improving the nutritional profile of meals based on the images.

Guidelines for Image Analysis and Explanation:

Always prioritize image analysis when provided with food-related images.
Ask users to provide a brief description of the food shown in the image to improve accuracy.
When analyzing nutrition labels, explain each component in simple terms:
What the nutrient is
Its role in the body
Potential benefits of consuming it
Any downsides or risks of overconsumption
How the amount in the food compares to daily recommended values
Use everyday analogies or comparisons to make nutritional information more relatable.
Break down complex nutritional concepts into easily digestible pieces of information.
If an image is unclear or ambiguous, state your uncertainty and ask for clarification.
Encourage users to provide images whenever possible to make use of your primary function..

Additional Responsibilities:
While image analysis is your primary function, you should also be prepared to:

Provide detailed nutritional information for foods and ingredients when asked.
Offer meal planning suggestions based on user preferences and nutritional goals.
Analyze user-provided meal plans or food diaries, highlighting strengths and areas for improvement.
Explain various dietary approaches (e.g., vegetarian, vegan, keto, paleo) and their potential health impacts.
Discuss nutrient interactions and how they affect absorption in the body.
Offer food safety information, including proper handling, storage, and preparation practices.
Provide objective information on common dietary supplements, their uses, and potential interactions.
Suggest healthier alternatives or modifications to recipes to align with specific nutritional goals.
Answer nutrition-related questions, drawing from scientific literature and reputable health organizations.
Provide information on common food allergies and intolerances, including alternative food choices.

General Guidelines:

Use simple, accessible language in all explanations and advice.
Be as accurate as possible in identifying foods and estimating nutritional content from images.
Use metric units (grams, milliliters) as the primary measure, but provide imperial units (ounces, cups) in parentheses when relevant.
For non-image queries, provide accurate, science-based information while maintaining a friendly and supportive tone.
When discussing controversial topics or conflicting studies, present a balanced view and explain the current state of research in simple terms.
Encourage a holistic view of nutrition that considers cultural, ethical, and personal preferences alongside health considerations.
If users express signs of disordered eating or unhealthy obsessions with food, gently suggest seeking professional help.

Ethical Considerations:

Do not provide medical diagnoses or treatment recommendations.
Avoid promoting extreme or potentially harmful diets.
Respect user privacy and do not ask for or store personal health information.
Be transparent about the limitations of AI-based nutrition advice and image analysis.
Promote a positive relationship with food and body image.
Encourage users to consult with healthcare professionals for personalized medical or dietary advice, especially for specific health conditions or concerns.

Remember, your primary function is image analysis with simple, clear explanations. Your overall role is to inform and educate about nutrition in an accessible way. Always encourage users to verify information with credentialed nutrition professionals when necessary.
identifier
nutrition analyzer
avatar
🍏
title
Your Nutrition Analyzer
description
NutriInfo is an AI-powered nutrition assistant that analyzes food images and nutrition labels, providing simple explanations of nutritional content, benefits, and potential downsides. It offers personalized dietary advice and answers nutrition-related questions.
tags
nutrition,image-analysis,diet,food,health-assistant,meal-planning,calorie-counting
locale
en-US

I didn't get why the check failed can you elaborate on it


[On Release] Reenable Context Menus for Loaded Captures if Still Connected

Recent changes (#1252 and #1208) disabled some context menus on
loaded captures based on function/module pointers taken from
capture data.
However, if we just save a capture and load it again (without
switching to another process), these actions are possible with
1.52.
Bug: http://b/169305792
Test: 1. Take capture, load it directly -> context menus are there
2. Take capture, switch process, load capture -> no context menu
3. Load a capture -> no context menus

As discussed offline. We are aiming for a proper fix on a conceptual level.


fix(member): add member to body

Needs to be deployed with https://github.com/AEGEE/core/pull/249

:tada: This PR is included in version 1.27.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Swap memory is memory!

Currently, the app only shows physical memory. I only have 8GB physical memory, but I have a 16GB swap file on my SSD. I would like the app to show this too.

In Memory resource tab, the used swap space is shown in form of /.
Is it like you are suggesting that a separate tab used be used to show the swap like the physical memory?

No, I would just like to have swap memory as a part of the memory graph.

I think thats not a good idea. SWAP is much slower than RAM, and should not be confused with RAM


Best way is by checking directly the resolution of the image, so that we don't resize images with a low resolution by means of a threshold.
Soemthing like this:
import cv2

im = cv2.imread('data/src/lena.jpg')

print(type(im))
> <class 'numpy.ndarray'>

print(im.shape)
print(type(im.shape))
> (225, 400, 3)
> <class 'tuple'>

Best way is by checking directly the resolution of the image, so that we don't resize images with a low resolution.
Soemthing like this:
import cv2

im = cv2.imread('data/src/lena.jpg')

print(type(im))
> <class 'numpy.ndarray'>

print(im.shape)
print(type(im.shape))
> (225, 400, 3)
> <class 'tuple'>

Although this is also very usefull to implement, it is not exactly what I meant.
The scripting now looks at the files in the raw images folder and resizes them one by one. This poses no problem with a small sample but when you reach thousands of images this can take a long time. Therefor I think it will be usefull to implement a check to see if a given image has allready been resized (ea is present in resized images folder) or not prior to resizing the image (or not).

Maybe we could use something like Snakemake: https://snakemake.readthedocs.io/en/stable/
This would allow us to connect the different steps and it automatically looks for changes in the input data and only evaluates new data

This seems a nice idea. I checked online documentation, and these very interesting slides integrating the tutorial: if you still didn't read them, please do it!
https://slides.com/johanneskoester/snakemake-tutorial
Learning curve is obviously steep at the beginning, but there is a lot of online material about and it is in a mature stage of developement as it has been used intensively especially in genomic research, I see.


Vanilla-VMamba-B模型的ckpt文件失效

Thank you for your reminding.
Is that broken and can not be loaded? Or does the performance not match with the log?

please check what's wrong, maybe the link is down

I changed to tag in README but failed to change the tag in release page.
Does it works now?


Action tags don't work on web

Reproducible with the example. Upon selection the document node does not change type, instead new line is inserted.

Cc @matthew-carroll

This is likely related to the IME and selector work. We should check this again after https://github.com/superlistapp/super_editor/pull/1469 is merged.

After spending some time on this I believe this needs to be fixed in Flutter. The problem is that both raw keyboard and IME are handling the DOM event, separately. The IME event subscription fires first and it invokes the text field input action regardless of whether the keyboard event has been handled by Flutter. Actually, because the event handler is registered on the text field DOM elementitself and not the window, it fires the input action even before the normal keyboard handling had chance to look at event, let alone mark it as handled.
I'll try to put together a test case and report this. I'm wondering why the window keydown handler is not registered in capturing mode the prevent the event reaching the textfield if handled.

https://github.com/flutter/flutter/issues/136460

@knopp do you know if this issue is now resolved, given the flutter issue was marked resolved?

It is resolved.


Incorrect directory name processing with non-ascii characters

I processe some directory with cyrillic name "!А. Дворжак - Квинтет для фортепиано, двух скрипок, альта и виолончели соч 81 [A 10-00067-001] [1984]".
file_system callback returns:
15:34:57.358 [debug] inotify: dir .../!ÐÐ²Ð¾ÑÐ¶Ð°Ðº - Ð²Ð¸Ð½ÑÐµÑ Ð´Ð»Ñ Ñ
                                                                                Ð¾ÑÑÐµÐ¿Ð¸Ð°Ð½Ð¾, Ð´Ð²ÑÑ
 ÑÐºÑÐ¸Ð¿Ð¾Ðº, Ð°Ð»ÑÑÐ° Ð¸ Ð²Ð¸Ð¾Ð»Ð¾Ð½ÑÐµÐ»Ð¸ ÑÐ¾Ñ 81 [A 10-00067-001] [1984] created

After that my directory is not found with File.ls/1.
String.to_charlist/1 conversion is a bad suggestion, because I have error {:error, :enametoolong} with directory listing.
:file.native_name_encoding

:utf8

:io.printable_range

:latin1

shell locale command output:
locale
LANG=ru_RU.UTF-8
...
LC_ALL=ru_RU.UTF-8

Hi @gtyrin
I tried this several locally, but I'm not able to reproduce it.
could you please show me such informations:

uname -a
how you create this dir

uname -a
Linux debian 4.19.0-8-rt-686-pae #1 SMP PREEMPT RT Debian 4.19.98-1 (2020-01-26) i686 GNU/Linux
My callback catched changes (about new dir) when a directory move from some source directory to listened one into the same disc volume (for example, into /home).

Hi @gtyrin
I tried debian in a virtual machine, still not able to reproduce.
if you get the error enametoolong, maybe it's related to the filesystem type, like ext4, btrfs
could you try:

whether a longe file name in purge english work? the currently file name is 159 bytes.
whether a shoter Russian file name work? make a less than 8 bytes.

My PC's HDD partitioned with LVM and Ext4 file system.
Long file name is the smallest problem for me, because file system doesn't recognize existing file without right codepage.

Hi @gtyrin
It's still hard for me to produce, could you please try inotify directly?
this project is a wrapper of inotify for linux platform

I have found the input text encoding. That is ISO-8859-1.
The problem is solved using the code below:
{:ok, msg} = Codepagex.from_string(path, :"ISO8859/8859-1")


feat(cli): add frontend for crux encryption-key generation

Added command so that it could be called as:
docker run --rm ghcr.io/dyrector-io/dyrectorio/cli/dyo:latest generate crux encryption-key

This could be used to generate commands, also this could be extended for other similar variables.

Codecov Report
Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (f647aa4) 17.98% compared to head (1b99281) 25.64%.

Files
Patch %
Lines

golang/pkg/cli/generate.go
0.00%
19 Missing :warning:

golang/pkg/cli/cli.go
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #913      +/-   ##
===========================================
+ Coverage    17.98%   25.64%   +7.65%
===========================================
  Files          345       72     -273
  Lines        17406     7722    -9684
  Branches      1020        0    -1020
===========================================
- Hits          3130     1980    -1150
+ Misses       14087     5578    -8509
+ Partials       189      164      -25

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Spread tab and calculations

Ensure SPREAD tab is enabled and shows the correct calculations.

Fixed in #38


Is there a way to redirect koa-route to use existing express-route?

I want to use json-server as a light weight DB.
json-sever already comes with a route which is an express route.
For my application i want to use koa stack as my server. In koa the route goes like this
var koa = require('koa');
var app = koa();

// Here i define route to be an existing express route.
var route = require('json-server').router('db.json');

app.use('/api', route);

The above won't work. Because app.use() is expecting a generator function.
Is there a technique to define an generator function routing to embed the existing json-server express route.

Hi this problem is fix :)
refer to this https://github.com/typicode/json-server/issues/210


Morning Session: Code Review

Review

Kindly fix issues with the style loader.

Thank you issue is resolved, we were inspecting the incorrect file. The HTML file that is in the src directory won't show any changes however I inspect the HTML that in the dist folder the styles are effective.


the component can't support multi date select

i like the datepicker very much, but i have a need to select several date or a phrase of time, it can not support, i read the source code just found it difficult to change to realize my need. any good idea to it?tks a lot
my idea: create a open and close method that i can use to show or hide the calendar table by self not just trigger by input focus.

Unfortunately this is outside of the scope of this project


Bad character replacement in config/routes.rb file

Hi,
When rubocop is executed on our file config/routes.rb it replaces '%{' by '%<' and '}' by '>s'
Rubocop changes a route from  :
get 'datas/:slug/documents/lines/:registration_number/:document_type',
        to: redirect('/api/v1/datas/%{slug}/lines/%{registration_number}/documents/%{document_type}')

to :
      get 'datas/:slug/documents/lines/:registration_number/:document_type',
          to: redirect('/api/v1/datas/%<slug>s/lines/%<registration_number>s/documents/%<document_type>s')

I don't find which cop does this transformation but I think for this file it's not the behaviour expected.
Best regards
Luc Donnet

This issue has been resolved by https://github.com/rubocop/rubocop-rails/pull/902. Can you upgrade RuboCop Rails to the latest version 2.19.1? Thank you.


Flag to disable touch panner in fusion sensor mode

I'm using the head tracking functionality and it works great. On the same project I'm also implementing my own touch controls and the builtin touch panner conflicts with them. I would like to have a flag to disable them.

Thanks!


Use flake8 or other lint tool to check the code quality.

RT

Hello @dongfengweixiao this is something that can be really helpful I am going to add it in a next commit

Hello @dongfengweixiao in this commit I have added flake8 and black please check it
https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/commit/a781f55098619b65d9be47e54502e29aa5f80829

That sounds great, I have not used flutter before instead React Native. We use https://nativebase.io/ for apps and https://mui.com/ for web apps. These UI libraries make creating views, pages, and new components easier using flex maybe on flutter there should be a similar lib.


Document input user research findings

What is the context of this PR?
Added "research on this component" to Input component
How to review
Check docs

 Input


force a pm function to be used with _pm=_function cpm & shellcheck QA fixes

@6gk review this please thanks

Now that I look at my commit I think I worded it wrongly, just to clarify: with the latest commit it will be possible to force a specific pm function to be used with passing a _pm env var, ie.: _pm=_guix cpm list.
Of course it would be better to do pm=guix cpm list or cmp -p guix list but it would be spaghetti code w/o renaming pm functions.

Of course it would be better to do pm=guix cpm list or cmp -p guix list but it would be spaghetti code w/o renaming pm functions.

No, it wouldn't.
It would be possible to do
pm=guix cpm by using
if [ "$pm" ] && has "_$pm"; then
  "_$pm" "$@"

update

Actually, it's the told standard that printf shouldn't have operands.
But bash, of course feels the need to be special.
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

(also cd || return; printf is functionally identical to cd && printf but longer)

(also cd || return; printf is functionally identical to cd && printf but longer)

yea, thought you would want

there you wanted it on separate lines

:shrug: Both are possible, it's just a stylistic choice.
command1 &&
command2

command1 && command2

are both valid.

Hey: while we're here, the line at 327 overflows the 80 character limit that Will set in CONTRIBUTING.md.

Hey: while we're here, the line at 327 overflows the 80 character limit that Will set in CONTRIBUTING.md.

In this case I will let it slide, I might update it in the future but I dislike breaking strings. It's okay to go over 80 here unless you can stay under 80 and make it look decent.

Once @6gk and @xgqt have finished up with the review and gk gives me the thumbs up, I'll merge.

@willeccles Yeah I think it's good now.


Unable to bold some symbols?

Hi, I am having a hard time to "bold" some symbols (represented as vector, rather than scalar), such as \mathbf{\mu}, etc.
Do you think it's an unknown issue? Thanks.

This is up to LaTeX. You'll need to use boldsymbol rather than mathbf since the latter only works for latin characters.
If it doesn't just work, you might need to include the amsmath package. Google around for how to include custom LaTeX packages in matplotlib because I can't actually remember how to do it... it's been a while!

Awesome! It works like a charm! Thanks Dan.
Let me attach the solution just in case other folks are looking for this.

Include amsmath package in matplotlib:

import matplotlib.pyplot as plt
params = {'text.latex.preamble' : [r'\usepackage{amsmath}']}
plt.rcParams.update(params)

Use \boldsymbol{}.

On Fri, Dec 11, 2015 at 2:27 PM, Dan Foreman-Mackey <
<EMAIL_ADDRESS>wrote:

This is up to LaTeX. You'll need to use boldsymbol rather than mathbf
since the latter only works for latin characters.
If it doesn't just work, you might need to include the amsmath package.
Google around for how to include custom LaTeX packages in matplotlib
because I can't actually remember how to do it... it's been a while!
—
Reply to this email directly or view it on GitHub
https://github.com/dfm/daft/issues/83#issuecomment-164026524.

--
Best,
Hao Zhong
Ph.D. Student in Management (Information Technology)
Rutgers Business School

Awesome! It works like a charm! Thanks Dan.
Let me attach the solution just in case other folks are looking for this.

Include amsmath package in matplotlib:

import matplotlib.pyplot as plt
params = {'text.latex.preamble' : [r'\usepackage{amsmath}']}
plt.rcParams.update(params)

Use \boldsymbol{}.


Release 1.0.0 checklist

[x] Complete 1.0.0 milestone
[x] Check that all rules work and are correctly implemented
[x] Add CHANGELOG
[x] Add project README
[x] Add list of rules (rules.md, https://github.com/stylelint/stylelint/blob/master/docs/user-guide/rules.md)
[x] Create plugin/configuration that exposes rules (index.js that imports rules)
[x] Wait for https://github.com/stylelint/stylelint/issues/1174 to be solved/implemented
[x] Add missing configuration to build/release stylelint-scss to npm (no need, everything was already there)

I there anything here that could use some help? If so, please point on the items you'd like to assign to me, will be glad to contribute. I have several rule ideas I'd like to propose, but seems it would be better to get the release version up and running and all the way polished.

I there anything here that could use some help?

Yes, that would be great! You could create a proper README file that briefly describes the project or you could add missing configuration that allows rules to be used as a stylelint plugin. Just let me know what you want to work on.

We still need to decide if we want to prefix the rules or not. There is ongoing discussion about it here:
https://github.com/kristerkari/stylelint-scss/issues/12#issuecomment-215483315

I'll be glad to take writing a README (though it would probably be the last thing to be done), and plugin interface.
At the moment exposing the rules seems unconvenient - multiple plugin, one for each rule, are required. If the stylelint team likes the idea of "one plugin = multiple rules", it will become much simpler.

Thanks @dryoma! Your help is really appreciated. I really want to get the first version out of the door as fast as possible.

I added a couple of items to the checklist based on what stylelint has in their repo.

@kristerkari @dryoma You are well done! if you need help, I'm willing to help.

@evilebottnawi Thanks, there's always something that needs to be done. Right now v1.0 is almost done.

Quick message (as I'm on my phone and aboard) to say the first release is looking great! I'll be able to look  more closely at things next week, but in the meantime two things stoodout that I thought were worth mentioning now, in case your plan to release soon.
I think extend-require-placeholder should be called at-extend-no-missing-placeholder - Disallow at-extends with missing placeholders. As the convention is that only -no- rules accept true as their primary option.
And selector-no-redundant-parent  should be called selector-no-redundant-nesting - Disallow redundant nesting selectors.
There will likely be core rules in the future that use this name to target the nesting selector (https://tabatkins.github.io/specs/css-nesting/).
What do you think?
Good luck with the release! It's looking excellent :)

Thanks for the feedback! Naming rules is for me the hardest part when creating new rules.

at-extend-no-missing-placeholder the word "missing" sounds a bit weird for this rule, but if that is the naming convention, then I guess we'll have to use that. I don't know how I missed the at- prefix with that rule, but it definitely needs to be added 🔨 .
selector-no-redundant-nesting I don't really agree with this one, because the rule is not really checking for nesting. It tries to prevent the use of parent selector as part of your nested selector when it's not needed (e.g. a single & { ... } or something like  & > a { ... }).

Than how about selector-no-redundant-nesting-selector? Since "nesting selector" is the name proposed for & in the document linked above. Anyway, I think adding a -selector part at the end is quite crucial, since the rule not exactly prohibits parents - it is about the &.
at-extend-no-missing-placeholder - double negation seems a bit odd to me too, but yeah, since that is the convention then there is little choice here.

Then how about selector-no-redundant-nesting-selector? Since "nesting selector" is the name proposed for & in the document linked above. Anyway, I think adding a -selector part at the end is quite crucial, since the rule not exactly prohibits parents - it is about the &.

Yeah, -nesting-selector sounds much better looking at the draft.

selector-no-redundant-nesting-selector - that works. I was going to suggest that originally, but then omitted the selector at the end for brevity. I can more see how that makes the rule's purpose ambiguous though.
It's a good rule btw! As in the spec the nesting selector is always required, even for "direct nesting", and so it makes sense that this rule belongs here as the nesting selector is optional in scss (or when using postcss-nested).

at-extend-no-missing-placeholder, selector-no-redundant-nesting — named these accordingly.


CHANGE event on custom field component removes focus from input

Hi everyone! :)
I just recently started the migration from v4 to v6 of redux-form (v6.2.0), and I'm really loving the improvements so far. I noticed a quirk, though, with using a custom component for the Field.
Once I type the first character into a previously empty text field, the component loses focus and I have to click on it again to continue typing. The problem goes away once I use the default Field component <Field component="input" type="text" name="input" /> rather than a custom component, e.g.:
<Field name="username" component={username =>

		<input type="text" {...username.input} />
		<ErrorMessage message={ username.meta.touched && username.meta.error } background={false} />

}/>

I'm not sure if I'm doing something wrong, or if it's a bug?
To reproduce:

Have a Field with a custom input component.
Start typing into input field. After the CHANGE event is fired, now I'm no longer focused on the input field and will have to click on the field again in order to continue typing, after which there are no issues.

My entire form component:
import React, { Component } from 'react'
import is from 'simply-is'
import _ from 'lodash'
import Promise from 'bluebird'

import { Field, reduxForm } from 'redux-form'
import { FormGroup } from '../ui/forms'
import { ErrorMessage } from '../ui/messages'
import { LoadingDots } from '../ui/loading'

class LoginForm extends Component {
  render() {
	const { error, handleSubmit, pristine, reset, submitting, syncErrors } = this.props
	return (
	  <form onSubmit={handleSubmit} className="loginform l-top-labels">
		<FormGroup className="username">
			Username
			<Field name="username" component={username =>

					<input type="text" {...username.input} />
					<ErrorMessage message={ username.meta.touched && username.meta.error } background={false} />

			}/>
		</FormGroup>
		<FormGroup className="password">
			Password
			<Field name="password" component={password =>

					<input type="password" {...password.input} />
					<ErrorMessage message={ password.meta.touched && password.meta.error } background={false} />

			}/>
		</FormGroup>
		<FormGroup className="remember">
			<Field name="remember" component="input" type="checkbox"/>
			Remember me for 30 days
		</FormGroup>
		<button type="submit" className="btn blue submit">
			{ submitting ? (Logging in <LoadingDots />) : "Submit" }
		</button>
		<ErrorMessage message={error} background={false} />
	  </form>
	)
  }
}

export default reduxForm({
	form: 'login',
	initialValues: {
		'remember': true
	},
	validate: (values) => {
		let errors = {}
		if(!values.username){
			errors.username = 'Username required'
		}
		if(!values.password){
			errors.password = 'Password required'
		}
		return errors
	}
})(LoginForm)

I originally suspected it had to do with the synchronous validation (e.g. the UPDATE_SYNC_ERRORS event), but the issue happens even when I remove validation entirely and disappears when using the default Field component.

Gah! Sorry, just found out what was going wrong. This issue is the same as #1323, and the problem had to do with inline fat arrows for the custom component. Instead of:
<Field name="username" component={username =>

		<input type="text" {...username.input} />
		<ErrorMessage message={ username.meta.touched && username.meta.error } background={false} />

}/>

The fat-arrow input component declaration should be declared separately, not inline:
const FormInput = (field) =>{
	return (

			<input type="text" {...field.input} />
			<ErrorMessage message={ field.meta.touched && field.meta.error } background={false} />

	)
}

and then, for the input itself:
<Field name="username" component={FormInput}/>

I have no idea why, but I was looking at the 6.0.0 version docs, hence the confusion... 😅 Thanks for the great work on the library, and sorry again for opening this duplicate issue.

For anyone coming from Google, this is also the problem when a on a checkbox click redux-form dispatches the FOCUS actions but not the CHANGE one.


MQTT error error=I/O: Connection refused (os error 111)

I am getting the following error when trying to connect my ChirpStack gateway to my MQTT broker:
ERROR chirpstack::gateway::backend::mqtt: MQTT error error=I/O: Connection refused (os error 111)
Server detail
ChirpStack version: 4.7
OS: Ubuntu 22.04
MQTT broker: Mosquitto

Getting the same

Just tested with mosquitto and it worked for me (version: 2.0.18-1)
For Rabbit MQ I get this error message:
[error] <0.15152.2> Unparseable MQTT packet received from connection A.B.C.D:38718 -> X.Y.Z.W:1883

You're getting a TCP RST (Reset). By definition, the connection is unable to be established and is refused.
https://www.google.com/search?q=tcp+connection+reset

It is being kicked out because it sends (according to rabbit-mq) unparseable mqtt data. So the error is not related to firewall or network its related to being quickly shut down by the broker.

We are mixing different issues. The original context of this issue is:

MQTT error error=I/O: Connection refused (os error 111)
MQTT broker: Mosquitto

That is what I replied to.
@stefandxm I think your issue has to do with MQTT5 support in RabbitMQ, which is available in v3.13: https://www.rabbitmq.com/blog/2024/03/11/rabbitmq-3.13.0-announcement.

That page is a bit funny, at first glance i read they have Shared subscriptions but then they clarify and say it will be available in a future release, however when looking in their github thread about it it seems they don't really know how to accomplish it, but maybe its being solved behind "closed doors".
I am not sure how much of the code in chirpstack relies on the function, i guess just disabling the $shared topic and replace it with an empty string or so would be easy with a setting, but I lack understanding of the code to say if it will break any logic.

Yes! I also received the same error prompt!
I am using Docker mode.
But for mqtt, I have modified the connection TCP address and used an external mqtt server
But similar errors are still reported in the log.
I am using EMQX for the MQTT server
[ https://www.emqx.io/ ]（ https://www.emqx.io/ ）
Version 5.6.0

chirpstack-1                              | 2024-04-24T11:31:35.310069Z  INFO chirpstack::integration::mqtt: Connecting to MQTT broker server_uri=tcp://<IP_ADDRESS>:1883 client_id=aad39a5afc93228b clean_session=false
chirpstack-1                              | 2024-04-24T11:31:35.310276Z  INFO chirpstack::gateway::backend: Setting up gateway backends for the different regions
chirpstack-1                              | 2024-04-24T11:31:35.310298Z  INFO chirpstack::gateway::backend: Setting up gateway backend for region region_id=as923 region_common_name=AS923
chirpstack-1                              | 2024-04-24T11:31:35.311243Z  INFO chirpstack::integration::mqtt: Starting MQTT event loop
chirpstack-1                              | 2024-04-24T11:31:35.315842Z  INFO chirpstack::gateway::backend::mqtt: Connecting to MQTT broker region_id=as923 server_uri=tcp://mosquitto:1883 clean_session=false client_id=69a0997123e79026
chirpstack-1                              | 2024-04-24T11:31:35.315952Z  INFO chirpstack::gateway::backend: Setting up gateway backend for region region_id=as923_2 region_common_name=AS923_2
chirpstack-1                              | 2024-04-24T11:31:35.315951Z  INFO chirpstack::gateway::backend::mqtt: Starting MQTT event loop
chirpstack-1                              | 2024-04-24T11:31:35.317347Z ERROR chirpstack::gateway::backend::mqtt: MQTT error error=I/O: Connection refused (os error 111)
chirpstack-1                              | 2024-04-24T11:31:35.322256Z  INFO chirpstack::gateway::backend::mqtt: Connecting to MQTT broker region_id=as923_2 server_uri=tcp://mosquitto:1883 clean_session=false client_id=4070659f01c2fe8c
chirpstack-1                              | 2024-04-24T11:31:35.322329Z  INFO chirpstack::gateway::backend: Setting up gateway backend for region region_id=as923_3 region_common_name=AS923_3
chirpstack-1                              | 2024-04-24T11:31:35.322790Z  INFO chirpstack::gateway::backend::mqtt: Starting MQTT event loop
chirpstack-1                              | 2024-04-24T11:31:35.323537Z ERROR chirpstack::gateway::backend::mqtt: MQTT error error=I/O: Connection refused (os error 111)
chirpstack-1                              | 2024-04-24T11:31:35.328091Z  INFO chirpstack::gateway::backend::mqtt: Connecting to MQTT broker region_id=as923_3 server_uri=tcp://mosquitto:1883 clean_session=false client_id=aa85022ecd7cc9ad

I'm not sure why it still needs to connect to server_uri= tcp://mosquitto:1883
I have modified the mqtt connection in the following configuration file
chirpstack-docker/configuration/chirpstack/chirpstack.toml
chirpstack-docker/configuration/chirpstack/region_cn470_10.toml

chirpstack-docker/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
chirpstack-docker/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-cn470_10.toml

servers=["tcp://<IP_ADDRESS>:1883"]
username="emqx"
password="public

I've got it fixed. I'm using version 4, a faulty setup caused mqtt to crash.
I set it like this
[logging]
  level="debug"
[postgresql]
  dsn="postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
  max_open_connections=10
  min_idle_connections=0
[redis]
  servers=["redis://localhost:xxxx"]
  cluster=false

[network]
  net_id="000000"
  enabled_regions=[
    "as923",
    "as923_2",
    "as923_3",
    "as923_4",
  ]
[api]
  bind="<IP_ADDRESS>:8135"
  secret="xxxxxxxxxxxxxxxxxx"
[integration]
  enabled=["mqtt"]
  [integration.mqtt]
    server="tcp://localhost:xxxx"
    json=true
    username="xxxx"
    password="xxxx"
    qos=2
    clean_session=false
    client_id="xxxxx"
    keep_alive_interval="30s

And I fixed it. region_as923_2.toml region_as923_3.toml region_as923_4.toml region_as923.toml
[regions.gateway.backend]
      enabled="mqtt"
      [regions.gateway.backend.mqtt]
        topic_prefix="as923_2"
        share_name="chirpstack"
        server="tcp://localhost:xxxx"
        username="system"
        password="xxxxx"
        qos=0
        clean_session=false

After that, go and fix it. chirpstack-gateway-bridge.toml
[backend]
type="semtech_udp"
  [backend.semtech_udp]
  udp_bind = "<IP_ADDRESS>:1700"
[integration]
marshaler="json"
  [integration.mqtt]
  event_topic_template="as923/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
  command_topic_template="as923/gateway/{{ .GatewayID }}/command/#"
  [integration.mqtt.auth]
  type="generic"
    [integration.mqtt.auth.generic]
    server="tcp://localhost:xxxx"
    username="xxxx"
    password="xxxx!"
    qos=2
    clean_session=false
    client_id="chirpstackBridge"
    keep_alive_interval="30s"

Hope it helps you guys.


feat: build and run from Docker Support

Build and run the generator from docker image support added.
The main aim and motivation behind doing this is, because
of a no. of different jhipster blueprints are there,
which are compatible and works with the different version of jhipster
and also might be incompatible with other blueprints or versions of jhipster.
Signed-off-by: Pratik Raj<EMAIL_ADDRESS>

Can you also share the docker image size ?

@Rajpratik71, can you incorporate comments to proceed ahead with this PR?

For now, the Image size is 728 MB because we have to install and use git for the installation of the sub-generator. But Once when the package will be available in the npm registry, we can remove the git and git way of installation, Then the image size will around 500MB

@Rajpratik71, can you incorporate comments to proceed ahead with this PR?

Done, all required changes


Issue that does not change the score of "SUCCESS", "SPL" in objectnav task

Habitat-Lab: v0.2.5
Habitat-Sim: v0.2.5
We are training to get the desired scor[success, spl] by executing code ddppo_objectnav_hm3d.yaml.
train command: ddppo_objectnav_hm3d.yaml
python -u -m habitat_baselines.run
--config-name=objectnav/ddppo_objectnav.yaml
habitat_baselines.trainer_name=ver
The composition of the data is,
./data/datasets/objectnav/hm3d/v2
./datat/scene_datasets/hm3d_v0.2/train
However, there is no change in the score at all, as shown in the figure below.

When the captured image is checked, the scores do not change even if the training step increases.
What is wrong with training?
However, when performing code ppo_pointnav_example.yaml, it was confirmed that it was properly trained.
train command: ppo_pointnav_example.yaml
python -u -m habitat_baselines.run
--config-name=pointnav/ppo_pointnav_example.yaml
habitat_baselines.trainer_name=ver

i met the same problem, objectnav task on hm3d training by ddppo_objectnav_hm3d.yaml get results thart spl and suceesss always remain 0.000. i have trained more than 50000 updates.
have you found the reason?
expecting your reply!


Example for TACS oneway-coupled Structural Optimization

Prototype for oneway-coupled structural optimization with TacsOnewayDriver and fixed aero loads. Since the FUN3D aerodynamic solver is not public and the SU2 aerodynamic solver isn't working yet in funtofem, I use fixed aero loads from TACS and a NullAerodynamicSolver class as a prototype.
Fixed the FuntofemComponent for OpenMDAO
The above example also includes adjacency constraints which are composite functions generated from funtofem Variable objects alone for nonlinear constraints of the design variables.

Optimization results for the naca_wing/1_tacs_sizing_opt.py NACA 2412 example. It performs optimization of panel thickness structural design variables in TACS with constant loads with the TacsOnewayDriver, a NullAerodynamicSolver and the OpenMDAO FuntofemComponent. The NullAerodynamicSolver could be replaced with Fun3dInterface or Su2Interface and the two-way coupled driver FuntofemNlbgs used instead. This is why this example is a template.
The optimization results after 91 iterations were a final mass 1114.5332940586934, ksfailure 0.2669999996375462 near the constraint ksfailure = 0.267 which comes from 2.5 g pull up maneuever and 1.5 safety factor. The panel thickness distribution decreases towards the tip as the highest bending moment occurs at the root. Buckling of panels is not considered, but we would like to consider that in the future as that is a critical aspect of sizing.

Still need to finish demo-ing the shape optimization example naca_wing/2_tacs_sizing_and_shape_opt.py then this will be ready.

TACS sizing and shape optimization result where the shape variables rib_a1, rib_a2 are used for rib motion and spar_a1 plus spar_a2 are used for spar motion which correspond to ESP/CAPS design parameters. The optimizer moved the ribs closer to the root to better support the loads with a lower stress. The final design with the optimal internal structure shape had 23.8% lower mass than when the internal structure shape was fixed at the initial design (previous optimal result from comment above).


freerdp connect fail through gateway

I don't know if it's a bug，here are some of my problems and solutions .

1.I can't connect through gateway with the latest code(e45ebd871e23152661babfacddd0fb4179a767d3)

2.but connect through gateway with old code is ok(3b332e7829c165aae59ee026a53dece723cccee9)

3.When I raised the question, no one helped me.so find some old code, start testing

4.Through the test I compare the code[73f0153bb6363428de8ffe1e915bc2f91e476134] of the code[1b6ef84b5f9f6960c5e6a25164998821edac2a8e],as follows

5.[73f0153bb6363428de8ffe1e915bc2f91e476134]is the last can work and [1b6ef84b5f9f6960c5e6a25164998821edac2a8e] the first one broken

6.I tried to restore the [1b6ef84b5f9f6960c5e6a25164998821edac2a8e] submission in the latest code .after the re compile, test success

7.I don't know whether it's a bug or I take a mistake again,and my English is very poor, have any questions please help me to point out, thank you

@Hopedream Thx for the detailed analysis, but this 'fix' was introduced to prevent possible endless loops when SSL errors occur. Looks like this needs some more brainpower to resolve for gateway connectivity. So, if this fix works for you please use the patched version for the time being until a proper fix can be introduced.

Ok,thank you very much !


bump aws-lb-s3-bucket version

what

change version of terraform-aws-lb-s3-bucket module

why

version 0.4.0 doesn't work with terraform 0.13.0

+1. This module is not Terraform 0.13 compatible until this change is made.

/test all


Multiples config

Hello,
It's possible to have a file to config the sub slots at boot time like we have in some OCM machines? Or at least use one of the buttons on Tang to disable all?
Tks

the FPGA cannot read a file from the SD there is no active CPU/OS running there.


Changes to support inline certificate, key and CA certificate for calicoctl.

This pull request is to support inline certificate, key and CA certificate for calicoctl.

 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.Tathagata Chowdhury seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I apologize if it's a bit late to be suggesting a design change at this point but hoping I could get some opinions on this:
Instead of adding new environment variables for the in-line certs, what do you think about reusing ETCD_*_FILE? Initially parse them as filenames and if that fails, attempt to parse them as in-line certs and if that fails, return the error. As long as we clearly document the behavior, it seems like a good opportunity to avoid adding more environment variables to Calico configuration as well as avoiding the current error case where both files and in-line certs are provided.
cc @fasaxc

@briansan Part of the spec for this was to not have env vars because we were concerned about accidental logging of key material.


feat: Add BASE_URL support

Implementation #146

[X] Tests pass
[X] Appropriate changes to README are included in PR

its me roschelle

@puskuruk let's close this one as we now have custom extensions that can be provided via command line?

AFAIK, we don't support step manipulation with an Extension. You can't reassign a step from beforeEachStep. How can I approach this problem? I use custom runners on most of the projects I work on to solve this problem.

I think it should be possible to override the runStep function and rewrite the step before invoking the parent impl.

Oh! Yes! Thank you for the suggestion 🤘


update(cmake): bump libs to 0.17.1

What type of PR is this?
/kind release
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Libs 0.17.1 was just released and it contains 2 fixes: https://github.com/falcosecurity/libs/releases/tag/0.17.1
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

update(cmake): bump libs to 0.17.1

/milestone 0.38.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Customize generated R.generated.swift file path

Currently rswift will generate R.generated.swift in root of the project directory.
However, I may want to organize this file into a Utilities directory. I wonder can we add a parameter for specifying generated file path?
Thx.

You can specify the destination directory of the generated file in the build phase.
For your example (assuming you're using CocoaPods):
"$PODS_ROOT/R.swift/rswift" "$SRCROOT/Utilities"


bug in getWebviewNpmPath

https://github.com/tomjs/vite-plugin-vscode/blob/c49025cb246e8f339686927359d8d38e4ab0e8d8/src/utils.ts#L145-L147
this snippet should move outside the scope of if (!fs.existsSync(npmPath))

@subframe7536
I also discovered this problem at noon and planned to solve it in the evening. 😄
Try the latest version.


watch for with_toc_data redcarpet option getting available

When it happens:

[ ] remove href exceptions from script/cibuild
[ ] observe hrefs working
[ ] be happy

Not relevant any more with 2.0


How can we execute code on .horizontal pagination scroll event? [Question]

While browsing the code and searching through issues on GitHub, I haven't found a way to execute some arbitrary code on Scroll event in a .horizontal paginated calendar. Is this even possible?
Why would I need that? - When the user swipes to see a new month, I need to query the database for data for that month only.
P.S. I guess my temporary solution would be to disable scrolling, create "next" and "previous" buttons, and add my code there.
P.P.S. Thanks again for this amazing library!

Did you ever figure this out or just settle for the work around with the buttons?


Schema Registry implementation for Protobuf desired

Due to gRPC's popularity in auto and other embedded system, Schema Registry for Protobuf is highly desired, which is also already claimed by Hortonworks as an advantage over other choice (http://registry-project.readthedocs.io/en/latest/competition.html)

@xufuture protobuf encoded messages contain information about schema and it may not require for users to pass schema version ids etc with the payload. IMHO, SchemaRegistry is still useful for protobuf in schema discovery and respective serializer/deserializer. (disclaimer: I am not an expert in protobuf and its APIs)
What are your usecases for protobuf support in SchemaRegistry?

@satishd protobuf does not contain schema in its encoded message, you require generated class from IDL to decode it. although it requires code generation(compilation of IDL) before its use, If hortonworks schema registry can provide support to store and check backward/forward compatibility it would be very useful as @xufuture mentioned.

@satishd  @raju-saravanan @arunmahadevan we are planning to add protobuf support. created #721  can u guys pls provide comments and support or direct to right engineers who can help us review? Thanks

I think using the json representation of the schema e.g. the proto variant would be better. As like done with avro. The protobuf json schema is more workable when doing bits in ui etc.

Need to ensure the confluent sr compatibility api works with protobuf in same was confluents sr does to maintain compatibility.

Regarding JSON, yes, that would an easy way, but it changes the schema language. we can probaly have both. would start with JSON for now. Thanks for the suggestion.

Dont forget about compatibility layer we have with confluent which supports proto now. As they provide many kafka clients for other languages such as .net c++ etc and thus makes ability to use those with this registry.

Sure, I may have to take some iterative way of adding all these, as I am only adding the basic protobuf support first. but I will make sure we dont break any exisiting feature like the one u just mentioned - compatibility with confluent api.

The reason i flag that is that its important from the outset is incase the way the confluent api and proto clients handle it differ to the way you do then you will have big compatibility issues later. Which unless designed in at first ill be problematic


Possible bug: inc of a global variable that should be frozen on load

I'm not familiar with all the immutability rules of Starlark yet...but perhaps this a bug??
mod.star
x = 5
y = 10

app.star
load("mod.star",  "x",  "y")

# Errors out due to being frozen (as expected)
x = x + 1

# Does not error out, and succeeds
y+=1

print(x) # 5 since program errors out and therefore immutability is preserved.
print(y) # 11 since immutability was not preserved.

Side question: will there ever be the concept of loading all identifiers from a module?
Obviously this isn't always ideal and pollutes global namespace.
# brings in all identifiers, evaluates and freezes in one shot.
load("mod.star")

Thanks for taking the time to explain this.  Makes sense. 👍


created a bower package of SprintJS

@bendc can you check this out? I made a bower package of sprint.js, perhaps you want to see if its suitable for merge or if there is anything needed to be changed.

:+1:

I recommend doing a rebase to squash the commits that rename the README file.


[Bug] Panic from CreateAuthCodeURL if passed an invalid Authority URL

MSAL repo HEAD as of today (where do I find the version number?)
Where is the issue?

Public client

[ X] Authorization code flow

Is this a new or an existing app?

 Btw, "https://login.microsoftonline.com/[invalid-tenant-id]/" is properly checked for.
Expected behavior
Should return an error, instead of panic.
Actual behavior
panics with this trace

INFO[0003] Resolving authority endpoints. No cached value.  Performing lookup.

 panic: runtime error: invalid memory address or nil pointer dereference

 -> github.com/AzureAD/microsoft-authentication-library-for-go/internal/requests.(*AadInstanceDiscovery).doInstanceDiscoveryAndCache
 ->   /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/internal/requests/aad_instance_discovery.go:23

    github.com/AzureAD/microsoft-authentication-library-for-go/internal/requests.(*AadInstanceDiscovery).GetMetadataEntry
      /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/internal/requests/aad_instance_discovery.go:44
    github.com/AzureAD/microsoft-authentication-library-for-go/internal/requests.(*aadOpenIDConfigurationEndpointManager).getOpenIDConfigurationEndpoint
      /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/internal/requests/oidc_endpoint_manager.go:46
    github.com/AzureAD/microsoft-authentication-library-for-go/internal/requests.(*AuthorityEndpointResolutionManager).ResolveEndpoints
      /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/internal/requests/authority_endpoint_resolution_manager.go:98
    github.com/AzureAD/microsoft-authentication-library-for-go/msal.AuthorizationCodeURLParameters.createURL
      /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/msal/authorization_code_url_parameters.go:46
    github.com/AzureAD/microsoft-authentication-library-for-go/msal.(*clientApplication).createAuthCodeURL
      /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/msal/client_application.go:43
    github.com/AzureAD/microsoft-authentication-library-for-go/msal.(*PublicClientApplication).CreateAuthCodeURL
      /Users/harikb/dev/code/pkg/mod/github.com/!azure!a!d/microsoft-authentication-library-for-go@v0.0.0-20201202214456-df1404537070/msal/public_client_application.go:62

All of this code is mostly gone.  It is unlikely that this problem has survived. We are now in the process of adding integration tests for all flows. Let me know if you find any problems related to the new version of this package.

All of this code is mostly gone.  It is unlikely that this problem has survived. We are now in the process of adding integration tests for all flows. Let me know if you find any problems related to the new version of this package.


Unbuffer reads after handshake

Motivation
We missed unbuffering reads after the handshake completed. This could result in reads that were buffered while the handshake was in progress to not unbuffer.
Modification
This PR unbuffers any reads after the handshake is completed.
Result
We are now unbuffering reads correctly.

@weissi Yes this test fails without the fix


connlib: make dns request in a new task without blocking peers

This required making allow_access async which is ugly, but we can fix it later like we did it with set_peer_connection_request, but doing this ASAP otherwise this would block the peers_by_ip struct and also block the executor a bunch of times and slow everything down.

Will merge main into this when #3365 gets merged so that status checks are updated


#121: Additional config files (not dropins) require manual copy.

Introduce a new parameter, configDirectory to the create-server goal. Configuration files and folder structure will be copied to target server. configDirectory files will take precedence over  other common server parameters.

Are you going to add some testcase for this issue?

Yes, this requires testcase. I will cancel this request for now and request again once testcase is ready.


Re-enable "final loop assignment" feature and fix opt_clean warnings

Second attempt at fixing #968.

This passes all of my current tests.  Sorry for the late review.


"PowerShell" item template categories is missing when adding new item to C++ and few other projects

This is TFS bug1185547 for Dev14 RTM.
Steps to reproduce:

Create a C++ Windows Store 8.1 Blank application project
Add new item
Check the new item template categories number in the "Add New Item" window

Expected:
New item template categories number: 11
VisualCpp
Xaml
Code
HLSL
Data
Resource
Web
Utility
PropertySheets
Graphics
PowerShell
Actual:
The "PowerShell" item templates categories is missing.
New item template categories number: 10.
VisualCpp
Xaml
Code
HLSL
Data
Resource
Web
Utility
PropertySheets
Graphics
PS: This issue also exists in the following projects:
a) Native project
b) Managed project
c) Phone 8.1 project
d) Windows Shared project
e) Windows Store UAP project
f) Android project
This should be fixed for July release.

Fixed in PR #622


Add program

@jaydipoo7 contribute here https://github.com/Ishaan28malik/Get-Dev-Resources

Ya i submitted plz merge my PR
On Sat, 17 Oct, 2020, 8:41 PM Championrunner<EMAIL_ADDRESS>wrote:

@jaydipoo7 https://github.com/jaydipoo7 contribute here
https://github.com/Ishaan28malik/Get-Dev-Resources
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Ishaan28malik/Hacktoberfest-2020/pull/1363#issuecomment-711027221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOHKV36WWZJOLD3RP2T4X4DSLGX2FANCNFSM4STUGJ3A
.


allow regex for --exclude

Does this work from the config file ? I tried with this line:
exclude = ['.+.png', '.+.ogg', '.+.pdf', '.+.cue', '.+.log']
But it still copied everything.

woops, the config file example was wrong.
the wrapping single quotes ' should only be used for opusenc_args. try
exclude = [.+.png, .+.ogg, .+.pdf, .+.cue', .+.log]

Thanks !

It's copying all the .png files still. Any idea what it could be ?

Can you make sure you've got the latest version?
$ python3 to_opus.py -c cfg -s tests/source -t out
...

$ cat cfg
exclude = [.+\.txt]

$ la tests/source/nested/text.txt
-rwxrwxrwx 1 root root 0 Mar 29 19:44 tests/source/nested/text.txt

$ la out/nested/text.txt
ls: cannot access 'out/nested/text.txt': No such file or directory

It's copying all the .png files still. Any idea what it could be ?

just png or also all the other types you're trying to exclude?

My bad, I must have messed something up. I started fresh with a clean repo and config and it's all good now :) Thanks !


fix(assets): fix sigla in textcritics and svg-link-boxes for M 212

Codecov Report

Merging #831 (45830db) into develop (44c86de) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff            @@
##           develop     #831   +/-   ##
========================================
  Coverage    61.87%   61.87%
========================================
  Files          236      236
  Lines         3785     3785
  Branches       578      578
========================================
  Hits          2342     2342
  Misses        1412     1412
  Partials        31       31

Flag
Coverage Δ

unittests
61.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 44c86de...45830db. Read the comment docs.


Update release notes generation to use static text

Auto generated release notes should now use static text linking to the H&T SFDO release notes. This change updates how the release notes are generated for each production release to instead use that static text.
See: TD-0127818
Critical Changes
Changes
Issues Closed
W-12659914
New Metadata
Unpackaged Metadata
Deleted Metadata
Testing Notes

@jstvz When will MetaCI be updated to 3.74?

@jstvz When will MetaCI be updated to 3.74?

Next day or so. (SFDO-Tooling/MetaCI#2843)

@jstvz , I see MetaCI has been updated. And I've updated the min cci version to 3.74.0. This is ready for your re-review. Thanks!


move fall detection library out of ambianic-edge into independent pypi package

Pull fall detection code out of ambianic-edge into this standalone repo as an independent python library.
The goal is to allow data scientists to use, collaborate and improve people the fall detection ML model independently of ambianic deployments.

The repo should follow best practices for standalone ML repos and include:

Python source code and wheel package published on PyPi
Jupyter notebook for live demo and interaction with the model.
CI & test suite
Training and testing data sets
Third party ML models used as building blocks

Several references for ML github repos:

https://github.com/tensorflow/tfjs-models/tree/master/posenet
https://github.com/xingyizhou/CenterNet

A best practice blog post:

How to Create a Professional Github Data Science Repository

Yes...sure @ivelin, will do this.

Yes...sure @ivelin, will do this.


Layer of Newly Created Places

I think a necessary feature for users with editing rights is a log of newly created places. This could be just a map layer of places that are flagged as "not-verified". This allows editors to review new places to determine if they need further editing.
I am seeing a lot of places being incorrectly categorized as "overnight" when they should be "campground". I also see a lot of people create free campgrounds when they should be pay campgrounds, simply because the user failed to enter a price, or perhaps left the price field blank because they didn't remember how much they paid.
I have also seen a number of places for people's houses. It appears some people are using FreeRoam as a platform for a do-it-yourself Harvest Host or Boondocker's Welcome.  I don't know if you consider this appropriate use of FreeRoam. So far I have only seen places offering free stay, but I could also imagine someone offering their driveway for a fee. I have also seen people create similar places where they don't mention anything about inviting others; they simply write something like, "This is my house". I've deleted those. Here is an example of someone inviting other motorcycle riders to stay overnight.... https://freeroam.app/overnight/me-and-my-royal-enfield
I could make many more corrections if I knew which places to look at.
When users create new places, these places should still be made viewable by other users, and still open for reviews and photos. Whenever an existing place is being edited, display a button labeled, "verify" if this place still has a "not verified" status, and display that only to users with editing credentials. Tapping the button changes the status to verified.

Note: if you do create this feature as I have described above, pre-populate all places as "verified" so that they don't all show up as a new place on the map.


Vimeo's New Privacy Hash Just Broke Plyr (Today)

Expected behaviour
Plyr can be used to play Vimeo videos automatically by providing data-plyr-provider and data-plyr-embed-id attributes to a div.
Actual behaviour
New videos uploaded to Vimeo now must include a privacy hash which is appended to the video id. For example:
Old Vimeo Id: 823098123
New Vimeo Id w/ Privacy Hash: 823098123?h=96ffdf03e6
The addition of a question mark in the new Vimeo Id w/ privacy hash breaks Plyr since Plyr automatically adds a question mark before appending parameters to the URL.
This is pretty easy to fix by manually changing the Plyr source code to use an ampersand instead of a question mark. However, things get messy when you are trying to stream old videos and new videos with the privacy hash.
Steps to reproduce
Try adding a newly uploaded video id with privacy hash to the data-plyr-embed-id attribute. You will get a Vimeo error.
Environment
All
Bottom Line
I realize that Plyr is merging with Vidstack and development may have stopped for Plyr, but this is about to break a lot of sites that use Plyr and Vimeo. And since the fix may be rather simple, I thought I would let you know.
Thanks for everything you've done with this project!

Workaround
https://github.com/sampotts/plyr/issues/2321#issuecomment-921088437

same issue...

This just in... after 3 days Vimeo announced the latest privacy update had "unforeseen issues" and they rolled back the update.
Wonder if they'll pay for my heart meds after all that?


fix: CS8350

What does the pull request do?

fix error:
Error	CS8350	This combination of arguments to 'PathMarkupParser.ReadArgument(ref ReadOnlySpan<char>, out ReadOnlySpan<char>)' is disallowed because it may expose variables referenced by parameter 'remaining' outside of their declaration scope	Avalonia.Base (net6.0), Avalonia.Base (netstandard2.0)	C:\GitHub\Avalonia\src\Avalonia.Base\Media\PathMarkupParser.cs	195	Active

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes #9182

You can test this PR using the following package version. 11.0.999-cibuild0025136-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0025220-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


bugfix(region): fix list by srever type normal

这个 PR 实现什么功能/修复什么问题:
server list by normal shouldn't contains gpu and backup servers

是否需要 backport 到之前的 release 分支:
cherrypick: release/3.4
/cc @zexi
/area region

Codecov Report

Merging #9163 (23e4a48) into master (456a232) will increase coverage by 1.90%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #9163      +/-   ##
=========================================
+ Coverage    5.84%   7.75%   +1.90%
=========================================
  Files         836     258     -578
  Lines      130036   34002   -96034
=========================================
- Hits         7602    2636    -4966
+ Misses     121753   31096   -90657
+ Partials      681     270     -411

Flag
Coverage Δ

aFlag
7.75% <ø> (+1.90%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/util/fileutils2/fileutils.go

pkg/compute/models/elasticcache_backups.go

pkg/hostman/guestfs/fsdriver/nicteaming.go

pkg/compute/models/snapshots.go

pkg/util/stringutils2/ignorecase.go

pkg/compute/models/storageschedtags.go

pkg/compute/guestdrivers/esxi.go

pkg/mcclient/options/secgroup.go

pkg/compute/models/hosts.go

...kg/compute/models/networks_used_addresses_query.go

... and 567 more

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 456a232...23e4a48. Read the comment docs.


How to remove Teams app top tab refresh, open in new window, open in browser

I would like to remove the icon in the part marked by the blue line. I searched to edit the manifest, but could not find it

There is no open new browser button in the teams sample app. I would like to change it to something like that.

@yoohyojun - There isn't any way to remove the tab refresh/open in browser/open in new window icons from Teams app.
To achieve your requirements, we recommend you give your feedback in Teams Feedback Portal.

However, in the second picture, open in new window icons do not exist. Is there a way to remove this?

@yoohyojun - There isn't any way to remove the tab refresh/open in browser/open in new window icons from Teams app. To achieve your requirements, we recommend you give your feedback in Teams Feedback Portal.

However, in the second picture, open in new window icons do not exist. Is there a way to remove this?

@Prasad-MSFT
However, in the second picture, open in new window icons do not exist. Is there a way to remove this?

'Open tab in new window' only shows in Teams Desktop client. It is not available in Teams Web client. That is by design.
Teams Desktop:

Teams Web:

We are closing this issue for now. Please feel free to reopen if required. Thanks!


Drag and Drop bug

Experiencing it using Google Chrome 104.xx on Linux (Arch Linux / Ubuntu 22.04 / Debian), but on Windows 10 or 11 all seems to work as usual, the white box when dragging items from the editor.
Possible just a browser bug or new UI implementation needs to adjust in the code/plugin?

unable to replicate it in GIF record

The recorder GIF doesn't capture the white box, here's a video format:
https://user-images.githubusercontent.com/1472421/184067069-e886aee3-428d-4e3e-a27c-ba2045c09cfa.mp4


viber -- wrong sha256

Describe the bug
When installing viber, the download step won't complete because the package has an incorrect sha256. My nixos version is 19.03.173335.5e5a51f7868 (Koi)
To Reproduce
Steps to reproduce the behavior:
Ensure that you can install non-free packages:
a) For nixos-rebuild you can set
{ nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.
b) For nix-env, nix-build, nix-shell or any other Nix command you can add
{ allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.
then:
nix-env -iA nixos.viber
Expected behavior
Viber should install
Screenshots
building '/nix/store/rpz3rsrgy1kmqn65ajws3msvx1s9lkhc-viber.deb.drv'...

trying https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 80.0M  100 80.0M    0     0  49.4M      0  0:00:01  0:00:01 --:--:-- 49.3M
hash mismatch in fixed-output derivation '/nix/store/d8fa5z2rl1sf5v29ixyz6vh26rfrgp7c-viber.deb':
  wanted: sha256:06mp2wvqx4y6rd5gs2mh442qcykjrrvwnkhlpx0lara331i2p0lj
  got:    sha256:0z7ykrhj3iq4y319c614yh2whkwwfaj54c9rs51nc64czjddkmx5

Additional context
Add any other context about the problem here.
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

This is still reproducible. Is there an archive of Viber versions anywhere so we can pin Viber versions or do we have to constantly play catch-up with them?

I have the same issue, but in my case the SHA got is different:
trying https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 95.0M  100 95.0M    0     0  10.7M      0  0:00:08  0:00:08 --:--:-- 11.0M
hash mismatch in fixed-output derivation '/nix/store/gb3nafqslnmmrz3853wxll4k4vdjj68b-viber.deb':
  wanted: sha256:06mp2wvqx4y6rd5gs2mh442qcykjrrvwnkhlpx0lara331i2p0lj
  got:    sha256:0rs26x0lycavybn6k1hbb5kzms0zzcmxlrmi4g8k7vyafj6s8dqh


alacritty: Use TOML template for recent versions

Since version 0.13.0 alacritty has switched to TOML config file format. For backwards compatibility this patch implements conditional template format depending on the package version.
Closes #214

That was my initial thought, but that would make it impossible for stylix to be used against 23.11 atm.
I opted to include this workaround for now since there's no nixos-23.11 channel. There's an issue open https://github.com/danth/stylix/issues/217, which should probably get some love. I do agree that this needs to be dropped at master

I opted to include this workaround for now since there's no nixos-23.11 channel.

Does the nixos-*.* channel matter considering that the nixpkgs input follows nixpkgs-unstable:
https://github.com/danth/stylix/blob/a9e3ce064a778b386fb88fb152c02ae95aa2cbd2/flake.nix#L3

Well, even if stylix uses unstable for it's own instance of nixpkgs that does not mean it's unreasonable for the user to use the latest stable. In that case stylix should produce valid configs. The optimal solution is to just take a resonable commit and fork a stable branch that should be used in such cases.
I think my original point is kind of moot right now since there's a 23.11 branch, so this should be addressed there. Feel free to remove this W/A on master

Anyway, I've found an instance in home-manager where the exact thing happened to zellij: c03d1e75a1e5e10384e2836cdd6537a4e94be89a. So on the second thought maybe this is fine as is

Perhaps we should have a general policy written down somewhere for which versions need to be backwards compatible.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 973 ms

Resolved: Bofrost.lu performance has improved in 61f40ec after 6 minutes.


Prevent chruby-exec and chruby.sh from overwriting RUBIES if set

chruby-exec always sources chruby.sh, which nukes RUBIES with RUBIES=()
This PR only sets RUBIES in chruby.sh only if it's unset, so that custom RUBIES will work in scripts.
(Tested, works.)

Squashed intermediate commits.


New version: Stheno v0.3.0

Registering package: Stheno
Repository: https://github.com/willtebbutt/Stheno.jl
Created by: @willtebbutt
Version: v0.3.0
Commit: 5013e7c0ed4c6ead1d85e0c9af602a988c07fe9e
Reviewed by: @willtebbutt
Reference: https://github.com/willtebbutt/Stheno.jl/commit/5013e7c0ed4c6ead1d85e0c9af602a988c07fe9e#commitcomment-34851331

I believe that I already do here. Are you maybe looking at the Project.toml for the docs? Or do I need to provide a julia compat entry there as well?


Viewport doesn't resize with XFCE when using maximize button or using docking feature

Godot version:
3.2.beta6
and 3.1.2.stable
OS/device including version:
Manjaro stable with XFCE
Kernel: 5.4.2-1-MANJARO
Issue description:
I have a Viewport in a ViewportContainer (set to full_rect) and set the size of the Viewport in the process function to the rect_size of the ViewportContainer.
This works fine when manually dragging the window size, but doesn NOT work when using the maximize button, or using the docking features of my window manager. Using wmctrl also leads to the same problem.
Printing the viewport.size prints the correct size, but it seems the viewport somehow simply ignores the change when using any other resizing method as dragging the window border.
(Off topic: It would be awesome if the ViewportContainer itself would support automatically updating the viewport size)
Steps to reproduce:

Create a ViewportContainer and set to FullRect
Add a Viewport as child
Add a control (to demonstarte the problem) as child to the viewport and give it a background color via customStyle
In the _process function do:

	var size = viewport_container.rect_size
	viewport.size = size
	viewport_background.rect_size = size
	print("Viewport size: ", viewport.size)
	print("Background size: ", viewport_background.rect_size)

Double click the window or use the maximize button

Minimal reproduction project:
Demo.zip

Think I can reproduce issue on Godot 3.2.2.stable on linux mint 18.3 Cinnamon. The red rectangle always seems to be lagging one resize behind, whether drag-resizing the window or un/maximizing.
Can confirm viewport_container.update() works around issue.
It looks like the solution is already there, though:

ViewportContainer6: turn stretch on;
Background: set right and bottom anchors to 1. This makes it follow the size of Viewport, though it is slightly bigger for some reason (eg. viewport size: 1024x600, background size: 1038x614) Set margins to zero for correct size.

Now you no longer require updating or polling in _function.
When you do that in XFCE, does the issue still occur?

Can confirm with v4.2.dev.custom_build [57919beb0] on Debian Linux X11 Xfce


Make HTTP client timeout configurable

Chargify's API has been taking more than 10 seconds to respond to some of my requests. This change makes the timeout user configurable.

Hi. Thank you for your interest in the project and for your contribution. This looks good, but could you please re-target the changes to the develop branch?
I'm going to close this for now, but if you can re-submit this to the develop branch I'll make sure it gets merged and tagged.