3rd attempt: Convert supported Ubuntu templates from json to hcl #85

Summary
See details and discussion in https://github.com/EGI-Federation/fedcloud-vmi-templates/pull/84

Related issue : https://github.com/EGI-Federation/fedcloud-vmi-templates/issues/72

Any suggestions about this error?
https://github.com/EGI-Federation/fedcloud-vmi-templates/actions/runs/10525229402/job/29163585125?pr=87#step:8:46

Not sure what's causing this error in the build workflow:
jq: error (at <stdin>:10): Cannot index string with string "id"

Produced by:
https://github.com/EGI-Federation/fedcloud-vmi-templates/blob/e47134aae8acebfe0de1bdc16d9f8f4ed86c65c0/.github/workflows/build.yml#L66-L89
I just run the below locally and it works:
# configure access
export OIDC_AGENT_ACCOUNT=<my-account>
eval "$(fedcloud site env --site SCAI --vo vo.access.egi.eu)"
export OS_TOKEN=$(fedcloud openstack --site SCAI --vo vo.access.egi.eu token issue -c id -f value)

# deploy
DEPLOY_SITE="$(yq -r .clouds.deploy.site clouds.yaml)"
terraform apply -auto-approve -var-file="$DEPLOY_SITE.tfvars"

Can you try to add some set -x in the refresh.sh? Not sure of what's going on, but it looks like something wrong in the credentials management

One the other hand, currently I have pushed
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml

     steps:
       - name: checkout code
@@ -23,11 +24,12 @@ jobs:
         with:
           matrix: true
           files: |
-             **/*.json
+             **/*.{json,hcl}

But I think it should be the below instead?
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml

     steps:
       - name: checkout code
@@ -23,11 +24,12 @@ jobs:
         with:
           matrix: true
           files: |
-             **/*.json
+             **/*.hcl

What do you think?


"Block Update" works mostly

While "Block Updates" works at blocking the software, the TV is still phoning home to the update servers.
Every time I turn the TV on it prompts me (Yes/No) to update the latest firmware.
Any way to block this?

Try this
echo "mount --bind /bin/false /usr/sbin/update
pkill -9 -f /usr/sbin/update" > /var/lib/webosbrew/init.d/noupdate && chmod +x /var/lib/webosbrew/init.d/noupdate && /var/lib/webosbrew/init.d/noupdate

This plus blocking su.lge.com, snu.lge.com and su-ssl.lge.com removed my update notification (and somewhat borked the "version information" section of my "About this TV" menu.
Version information can now only be retrieved using 1111 on the Programmes menu.

@nurikk @pannal
Thank you for your suggestions. Unfortunately while I was in HB and playing with the block update, inbetween changes I forgot to reboot and my wife accidentally updated.
I am still rooted (I think) but from what I read I'm screwed if I ever factory reset at this point.

Try this

echo "mount --bind /bin/false /usr/sbin/update

pkill -9 -f /usr/sbin/update" > /var/lib/webosbrew/init.d/noupdate && chmod +x /var/lib/webosbrew/init.d/noupdate && /var/lib/webosbrew/init.d/noupdate

I can confirm this solution is needed to make sure the prompt doesn't appear on boot.
Shouldn't we add it to the startup.sh on the repo?

Closing as this no longer applies to me


Release 1 0 1

Looks like to run mvn install you need certain packages installed first. Is there a way to make that simpler by using testcontainers?

That's very surprising.. This should have been done with https://github.com/folio-org/mod-copycat/pull/39 .


Imgui Input with Entry

Can someone help me? I need to enable Entry keyboard with Imgui, I have no idea how, any help/idea??? ty :D

It's out of scope of bgfx library... You could ask here: https://gitter.im/bkaradzic/bgfx

If anyone has the same question:
Add "asciiKey to the imguiBeginFrame function
const uint8_t* utf8 = inputGetChar();
char asciiKey = (nullptr != utf8) ? utf8[0] : 0;
        imguiBeginFrame(m_mouseState.m_mx       , m_mouseState.m_my       , (m_mouseState.m_buttons[entry::MouseButton::Left] ? IMGUI_MBUT_LEFT : 0)       | (m_mouseState.m_buttons[entry::MouseButton::Right] ? IMGUI_MBUT_RIGHT : 0)       | (m_mouseState.m_buttons[entry::MouseButton::Middle] ? IMGUI_MBUT_MIDDLE : 0)       , m_mouseState.m_mz       , uint16_t(m_window_state.m_width)       , uint16_t(m_window_state.m_height)       , asciiKey     );


Authentication problem if not running on localhost

Hi, it would be great if we could use/develop NetlifyCMS sites on some Web IDE (Cloud 9, Codenvy, etc),
Currently, it is possible to use NetlifyCMS admin only on localhost, but it would be nice to show some love for Chromebook/Tablet/Convertible/etc. users...
The main problem is authentication.
I personally run NetlifyCMS on Cloud 9 with GitLab backend like described in docs, but can't access admin - there is always the same message in the popup: Failed to load settings from /.netlify/identity, and 404 error in console: GET http://my-site.c9users.io:8080/.netlify/identity/settings 404 (Not Found).
I use latest NetlifyCMS (1.9.2), latest Chrome on Windows.
If somebody knows for a working workarround I would be grateful for any info.

@kosirm Have you tried using GitLab implicit grant for login? You can see our docs here: https://www.netlifycms.org/docs/authentication-backends/#gitlab-backend.

Thanks, @tech4him1 that's exactly the document I was following, maybe I'm doing something wrong, I don't know. I tried this and that...

Do you have the identity widget script left on your CMS page? It needs to be removed if you use implicit grant.

I don't know how to do this. Any detailed information highly appreciated.

What is the output of your admin HTML?

Thanks, @tech4him1 for an intelligent answer 😄 I commented¸out Netlify identity widget in site/static/admin/index.html. Now I get a login screen (username, password, login). If I try to log in with my Gitlab username/password, I get an error response in the console: POST http://my-site.c9users.io:8080/.netlify/identity/token 404 (Not Found). It's a step forward, but I still don't have idea, what to do.

Alright, what is the backend section in your config.yml?

According to documentation, I added this to my site/config.toml:
[backend]
name = "gitlab"
repo = "kosirm/rehobot-hugo-cms"
auth_type = "implicit"
app_id = "asdfadsfasdfasdfasdfasdfdsafaf3424522452352345234523452345324532"
Should I do something else?

@kosirm Your Hugo config.toml is completly seperate from your CMS admin. They are seperate files in separate locations:
+--- archetypes/
+--- content/
+--- static/
|      +--- admin/
|       |      +--- index.html <======== This is the CMS admin page.
|       |      +--- config.yml <======== This is the CMS config.
+--- layouts/
+--- themes/
+--- config.toml <============== This is your Hugo config.toml.

 The GitLab authentication is part of the CMS, not Hugo, so it goes in your CMS configuration file.
Does that make sense? 😄

Thank you so much for your time @tech4him1 !!!  Ok, I found config.yml 😄 Finally I get gitlab login screen, I get gitlab login redirect, I login, but I don't get redirect back. Instead, I finish on Gitlab User settings page with error message:
An error has occurred
Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.
This can be seen also in address bar: https://gitlab.com/oauth/authorize?client_id=undefined&redirect_uri=https%3A%2F%2Frehofly-infocube.c9users.io%3A8080%2Fadmin%2F&response_type=token&scope=api&state=5a80344a81a2d794eb37abacb94ee2554d2282ef03c095e3c50844ee521acf02
According to documentation I created Gitlab application with my cloud 9 address as redirect address.

@kosirm have you set the app_id referenced here: https://www.netlifycms.org/docs/authentication-backends/#client-side-implicit-grant? It's undefined in the URL you pasted.

Thanks @Benaiah, yes I referenced it like described. So client_id for Gitlab is the same as app_id? If so, I don't know...
This is on the beginning of my site/static/admin/config.yml:
backend:
name: gitlab
repo: kosirm/rehobot-hugo-cms
auth_type: implicit
app_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx....
App id is what I get from Gitlab when I created application:
Application Id | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx....
Secret: | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy....
Callback url | https://rehofly-infocube.c9users.io:8080
Scopes | api (Access the authenticated user's API)

@kosrim The app_id setting is correct. However, it looks like you are running Netlify CMS v1.8.0 -- it will need updated to at least v1.9.1 to work with GitLab.

Thank you much for help again @tech4him1
You are right... I just used one-click installation assumed that it is the latest build. In my package json I changed "netlify-cms": "netlify/netlify-cms#gitlab-build" to "netlify-cms": "1.9.3"
Now I get Gitlab error The redirect URI included is not valid.
My Gitlab redirect URI is https://rehofly-infocube.c9users.io:8080/admin
Is this outside of netlifycms scope?

I believe I've had that problem before -- the Callback URL in GitLab must be the exact admin URL. It should include the /admin part at the end.

I tried both (with and without /admin), it doesn't make difference for me. Maybe port number in the address is a problem for Gitlab.

Hey @kosirm, don't you get access to the NetlifyCMS admin when you deploy your site to Netlify? Or is that something different than the admin you get on local? Or are you not deploying to Netlify? Am I missing something? Thanks.

I have the same issue with GitHub backend.
backend:
  name: github
  repo: hunhejj/my_cms_project

I can access the content manager just normal when running on localhost, but not when accessing through github with baseurl (e.g. username.github.io/my_cms_project/admin).
I get the following message when clicking on "Login with GitHub":

No Auth Provider Found
Make sure you've configured the API credentials for Github from the Access part of your Netlify site dashboard.

Hey guys, I am getting the same error message like @pandeybk.
I am running with the following backend settings:
backend:
  name: github
  repo: Shogoki/myRepo # Path to your GitHub repository

I already have my own authentication server running (as is required and statet out by @tech4him1). If i server my site locally i can navigate to /admin and click on "Login with GitHub" and it´s logging me in. But when i deploy the whole site to GH pages I am getting the "No Auth Provider Found" message.
Anybody has an idea about that?

Okay, just forget about my last post. It was all my fault:
When using my own oauth server, I have to specify it in the config of course:
backend:
  name: github
  repo: Shogoki/myRepo # Path to your GitHub repository
  base_url: https://my-oauth.example.org/

After adding this, it is working :-)
I´m just curious how it worked without that setting, when serving on localhost

When running Netlify CMS on localhost, a freebie auth server provided by Netlify (cms.netlify.com) is used by default:
https://github.com/netlify/netlify-cms/blob/bb84c793f59f9e8ef6ad141d86a3304fe215b349/packages/netlify-cms-lib-auth/src/netlify-auth.js#L84

I am seeing the same "No Auth Provider Found" message when trying to login via Github while being hosted on Netlify... Works when on localhost.
backend:
name: github
repo: xxx/yyy
Isn't this supposed to work from Netlify? I am running 2.3.3 version of Netlify CMS.

This issue seems to have become a "meta-issue" for a bunch of unrelated things that give very similar error messages. Let's try to classify these a bit so we can move forward:

Using Netlify Identity + Git Gateway:

When used on localhost, Identity will open a message box asking for your live domain URL so that you can authenticate. Some users will be using alternative URLs for development, so they need some way to specify their live Netlify URL. There may be more depth to this problem. (https://github.com/netlify/netlify-cms/issues/1474#issue-337130897)

Using GitLab w/ implicit auth

Weird issues connecting from some domains: (https://github.com/netlify/netlify-cms/issues/1474#issuecomment-403227927)

Using GitHub

Having the Netlify auth server work magically on localhost but not anywhere else is confusing. We either need to document this really well or find some way to make it not appear so magic. (pretty much the entire rest of discussion).

@bskrypnyk Looks like you missed one of the steps in our GitHub backend setup docs:

Follow the authentication provider setup steps in the Netlify docs.

@tech4him1 - Thank you, that worked! I did miss that.

Sorry to come in here, but it's still unclear in the documentation.... may it's me.
netlifycms config:
backend:
  name: github
  repo: Berndinox/klausonl
  branch: master
  site_domain: klaus.onl
  base_url: https://api.netlify.com
  auth_endpoint: auth
  api_root: https://api.github.com

@tech4him1
the 2nd link:

When you complete the registration, you'll be given a Client ID and a Client Secret for the app. You'll need to add these to your Netlify site:
From your site dashboard, go to Settings > Access control > OAuth.
Under Authentication Providers, click Install Provider.
Select GitHub and enter the Client ID and Client Secret, then save.

Well i have no side on netlify, thats why i choose the github provider.
Where i have to insert my tokens from github?
thanks!

@Berndinox, these are the docs to follow:
https://www.netlifycms.org/docs/github-backend/
If not hosting on Netlify you'll need to set up an external OAuth client:
https://www.netlifycms.org/docs/external-oauth-clients/

Solved by following this (not clearly linked in docs):
https://docs.netlify.com/visitor-access/oauth-provider-tokens/#setup-and-settings

(not clearly linked in docs)

Indeed! I've read the docs and a lot of issues and was only able to solve it by following the step you've referenced. Thank you a lot


change delegate to assign to avoid retain cycles

@property (nonatomic, assign) id  delegate;

Thank you!


Back-up high resolution images

Backup for logos for presentations, talks, grants, etc.

Coverage remained the same at 8.631% when pulling 70cec11435f45c8b4985eed4b2a9e82a7837e5da on feature/high-res-backup into 37a12a635a3e685f72e45230c078df59341ac1fb on develop.


thread panic with interact subcommand

To reproduce:
cd freepass/cli
cargo build --release
strip target/release/freepass
mv target/release/freepass /usr/local/bin
RUST_BACKTRACE=1 freepass interact

Expected output: interactive repl displayed
Actual output:
thread 'main' panicked at 'Option file not found', src/main.rs:139:16
stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: __libc_start_main
  11: <unknown>

Notes: help subcommand works though, so that's helpful.

file not found

Well, you didn't specify the -f flag or the FREEPASS_FILE environment variable, so it doesn't know which file to use.
I'll make error messages more user-friendly at some point in the future :)

Ah right, silly me. It does work, thanks. For those who don't know, the command has to be in the format:
freepass -n "_name_" -f "_vaultlocation_" interact

You don't have to type "interact", it's the default command


Settings: prevent the server saving shippingAddresses as null or []

If you submit an array with an empty object (i.e. [{}]) to the server for shippingAddresses, it automatically corrects the structure to:
[
  {
      "addressLineOne": "",
      "addressLineTwo": "",
      "addressNotes": "",
      "city": "",
      "company": "",
      "country": "",
      "name": "",
      "postalCode": "",
      "state": ""
  }
]

It would be really great if this also applied to attempts to save shippingAddresses as null or an empty array []

To me the current and proposed behaviors are both broken. Since a shipping address is not required, the default should be an empty list [], in which case it should allow the empty list to be provided. If you pass in null, it should either error that that is an invalid value or should save it as an empty list.
If you pass in an empty object (i.e. [{}]), it should error since at least two of the fields (name and one more (I can't remember the second one) are required).
This current behavior of 'automatically corrects the structure to' I think will indirectly break the v2 client. If that data makes it in, the user will not be able to save their settings because Shipping Addresses section will fail validation because of the missing required fields.
The server should never allow data in that fails validation.

That makes sense @rmisio, as long the server will consistent respond with an empty list or some data, it will make client development more predictable... less checking.

I think @cpacia fixed this, so I'm gonna close this.


Linting and formatting on Jupyter Notebooks

It would be interesting if Jupyter Notebooks cells could be auto-formatted as Python scripts can be (with eg. "black" or something).
My suggestion: black can format code passed in as string. This could be used to format cells.
Having the possibility of linting would also add into the experience nicely.

I believe this is a dupe of : https://github.com/microsoft/vscode-python/issues/7781


Update devel version to work with Drupal 9

The current Devel version only works with Drupal 8 and results in an error when building a new instance of Drupal VM using all the defaults. This happened after fixing https://github.com/geerlingguy/drupal-vm/issues/2062.
Issue Type

Bug Report

Full console output
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Conclusion: remove drupal/core-recommended 9.1.x-dev
- Conclusion: don't install drupal/core-recommended 9.1.x-dev
- Conclusion: don't install drupal/devel 1.2.0

Summary
See above.

Testing a fix using:
drupal_composer_dependencies:
  - "drupal/devel:^4.0"


fix: username-flag alignment fixed

Issue
https://github.com/subeshb1/developer-community-stats/issues/240
Description

Checklist

[x] Added contributor object in ascending order in contributors.json
[x] Github action build passing
[x] No merge conflicts

It looks like adding ant-design has overridden the styles of the website.
Before:

After:

The alignments have also broken in navbar and font size changes in the footer
Do you know a way to prevent ant-design to override global styles?

@Abhikumar98
It looks like adding ant-design has overridden the styles of the website.
Before:

After:

The alignments have also broken in navbar and font size changes in the footer
Do you know a way to prevent ant-design to override global styles?

Not sure about how to prevent the styles from being overridden, but fixed the styling by overriding with custom CSS.

I don't think it will be feasible to add CSS everywhere. Ant-design has overridden a lot of styles. We will have to look into alternatives. Plus it adds in a lot of sizes to CSS bunfle

I don't think it will be feasible to add CSS everywhere. Ant-design has overridden a lot of styles. We will have to look into alternatives. Plus it adds in a lot of sizes to CSS bunfle

Yes, makes sense

Closing this


Enhanced Header Text #23

Description
I have worked on Issue #23 "Design of header changes". I have enhanced the main page header title "Git Set Go" and text " A Personalised Github Resume" by adding CSS effects. The files that have been modified for this issue are in the /src folder and they are as follows, Header.js, animate.css, style.css
Fixes # (23)
enhancement
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware: Windows
Toolchain:
SDK:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Should I make this PR to hakincodes branch?

Attach a screenshot also.

Sure, I have added a GIF of output in the description.


fix(webRTC): Renabling webRTC & circuit relays

:tada: This PR is included in version 5.4.9 :tada:
Your semantic-release bot :package::rocket:


wallabag: init at 2.1.1

Motivation for this change
Added the wallabag read it later PHP web app.

To use, set $WALLABAG_DATA to for example to /var/lib/wallabag/app. Inside that directory, put the configuration files in config/. Data will be written to $WALLABAG_DATA/../var/ (/var/lib/wallabag/var/).
So the directory structure is
/var/lib/wallabag
 - /app (<- $WALLABAG_DATA)
 - - /config
 - - - *.yml
 - /var
 - - /cache/*
 - - /logs/*
 - - /sessions/*

Due to hard-coded relative paths in the Symfony framework there is no simpler solution.
Tested:

[x] existing installation with MySQL database
[ ] fresh install
[ ] file import

Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@schneefux, could you provide an example NixOS configuration here? That'd make it much easier for someone / me to test this out and get it merged.

Updated to 2.1.2.
@grahamc Here is a gist with a simple configuration.nix and installation instructions.
The configuration files are changed every update, so one needs to copy /app/config/*.yml to $WALLABAG_DATA.

Built locally, thanks.


Rename variables

Renames some variables to improve code legibility

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.63%. Comparing base (e89d38a) to head (1fdd8dc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #595   +/-   ##
=======================================
  Coverage   88.63%   88.63%
=======================================
  Files         109      109
  Lines       34905    34905
=======================================
  Hits        30938    30938
  Misses       3967     3967

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


Provide the loader with created elements

Your loader decorators are very straight forward and can be overridden for custom purpose.
But I miss the possibility to get access to the elements created by buildElement.
It would be great if you could accept this request with my little change.

Sure, could you change it in the sources instead of the dist folder please ?

Shame on me :)

If you add a commit to the same branch, it will be added to the PR.

So already done!
If you merge, when will be a new npm package created?

I'll try to make a new release this week end.

Great! Thanks!

Hi Olivier, could you create a new npm package?

Hello @msak . If it's okay, could you remove the changes on /dist files?

they will be overwritten when you rebuild them anyway @djKooks

Oh, okay. Just want to make sure.

@ocombe It looks fine to merge this. How do you think?

Yes :)

I just released 1.1.0 with this, I think I did it right, I haven't published a new version on this repo for ages, let me know if it works


Could you please add App open ads?

App open ads is very friendly for my users, so could you please support it?
Use case

Proposal

Hi. App Open Ads is already supported. You can check out the sample code at https://github.com/googleads/googleads-mobile-flutter/tree/main/samples/app_open_example. Closing as it's not a bug or feature request.


Add TimescaleDB to the Database category

Pre-submission checklist:
Please check each of these after submitting your pull request:

[X] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[X] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[X] Have you picked the single best (existing) category for your project?
[X] Does it follow the other guidelines from the new entries section?
[X] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[X] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[X] Does your project/product name match the text on the logo?
[X] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[X] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit b8e8a05acb224823f424b8c594a9ac31291d4e77
https://deploy-preview-1992--landscape.netlify.app

Thanks, good to see you here @CoolAssPuppy


C# - No article on labeled statements

There appears to be no equivalent C# article covering labeled statements? There is an article for C, C++, and VB.
There is a brief mention at Statements (C# Programming Guide).
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8bf407fc-4210-de79-9afb-f06452244844
Version Independent ID: 72412cad-7448-a3da-15e9-313504553c08
Content: Labeled Statements
Content Source: docs/cpp/labeled-statements.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @mikeblome
Microsoft Alias: mblome

@EugeneKramer can you please file this issue in the https://github.com/microsoft/dotnet repo?


Dashing - change widget background color using CURL command

never mind.
Thanks.

Want to close this, @sansepic ?


Track start and end column numbers and filenames in Token

Not the column numbers and file locations for tokens was fine when things were only located in single (small) files, but the inputs to brs can now be much more substantial!  To make the parser (or interpreter)'s output more meaningful to users with multiple long files, we need to report with more granularity where errors occurred.

@TwitchBronBron found a bug in the WIP branch for column numbers:
var brs = require('brs');
let lexResult = brs.lexer.Lexer.scan(`
    function DoSomething() as string
    end function
`);
let parseResult = brs.parser.Parser.parse(lexResult.tokens);
let func = parseResult.statements[0];
console.log(parseResult.statements[0]);
if (
    func.name.location.start.column !== 14 ||
    func.name.location.end.column !== 25
) {
    throw new Error('Incorrectly computed location for "DoSomething"');
}

The end column of the function names are 1 number higher than they should be.

I was afraid of that :/

Another from @TwitchBronBron:

Found another location bug (using your latest commits). This time, the end column of the callee location of a function call is 1 char LOWER than it should be.
let lexResult = brs.lexer.Lexer.scan(`
sub init()
    ShowRectangle()
end sub
`);
let parseResult = brs.parser.Parser.parse(lexResult.tokens);
let calleeLocation = parseResult.statements[0].func.body.statements[0].expression.callee.location
console.log(calleeLocation);
if (
    calleeLocation.start.column !== 5 ||
    calleeLocation.end.column !== 18
) {
    throw new Error('Incorrectly computed location for "ShowRectangle"');
}

Your latest code seems to have fixed the func.name.location and expression.callee.location issues.


[Question]: How to insert/delete document to/from VectorStoreIndex when using IngestionPipeline?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I am confused on how does insertion and deletion work with VectorStoreIndex along with qdrant vector db @logan-markewich
Method definitions used in the code
# Vector Store Init
self.vector_store = QdrantVectorStore(
    collection_name=collection_name,
    # client=self._client,
    aclient=self._aclient,
    enable_hybrid=True,
    batch_size=self.vectordb_config.batch_size,
    hybrid_fusion_fn=self.relative_score_fusion
)

# Index Init
self.index = VectorStoreIndex.from_vector_store(
    self.vector_store,
    Settings.embed_model,
    store_nodes_override = True
 )

# Function to insert nodes in a index
async def add_nodes_to_index_async(self, nodes):
   await self.index._async_add_nodes_to_index(
       self.index.index_struct,
       nodes,
       show_progress = True
)

 # Function to init ingestion pipeline
    docstore = RedisDocumentStore.from_host_and_port(
        host=config.redis_config.host,
        port=config.redis_config.port,
        namespace="llamasearch"
    )
    parser = SentenceSplitter()
    print(f"Creating new ingestion pipeline")
    ingestion = IngestionPipeline(
        transformations=[parser],
        docstore=docstore,
        vector_store=qdrant_search.vector_store,
        cache=IngestionCache(
            cache=RedisCache.from_host_and_port(
                host=config.redis_config.host,
                port=config.redis_config.port
            ),
            collection="redis_cache",
        ),
        docstore_strategy=DocstoreStrategy.UPSERTS,
    )

# Snippet to load a document from file path and insert into index
   documents = SimpleDirectoryReader(input_files=[file_path], filename_as_id=True).load_data()
   for doc in documents:
       print(f"Processing Document ID: {doc.id_}")
       docs.append(doc.id_)
   nodes = await ingestion.arun(documents=documents)
   print(f"Ingesting {len(nodes)} nodes for {len(ingestion.docstore.docs)} chunks")
   await self.add_nodes_to_index_async(nodes)
   ----

This code works but I am unsure if it creates proper parent child relationships with document id and is in sync with vector db (qdrant)
Also, how to delete the document.
self.index.delete_ref_doc(doc_id, delete_from_docstore=True)
Query: This command deletes from vector db but does not delete from docstore even though I am passing True in the argument, what could be the reason?
Query: The doc_id passed is the document_id (in my case I am using filename_as_id) or is it doc chunk id? Does it delete a given doc chunk (related nodes) or all nodes associated to that document?
Query: Which is standard way of maintaining CRUD updates for documents that is consistent across docstore and vector db?

Deletion is not very intuitive from the documentation. I want to use native methods from llamaindex API to consistently delete document using ref_doc_id from docstore and vector db. The other doubt is how do I now the ref_doc_id
Can I fetch the mapping using a defined property or do I need to maintain the mapping on my own?
@dosu


Fix windows 10 mobile issue and add debug mode

Hey, @Nightapes thanks for the PR!
I don't know if you have seen it, but we're in the last steps of releasing a stable 1.0.0 version (see develop-branch). I really appreciate the PR but I'd like to wait until we have finished the work there b/c I think that most of the stuff will become obsolete then.

The changes looks interesting, but I think them all are solved in v1.x. Otherwise, we should take a look at the peerDependencies config.

@werthdavid  thanks for your answer. I will have a look when 1.0.0 is out and make a new PR

@Nightapes 1.0.0 is out, if there is anything to complain about, contribution is greatly appreciated :wink:


added tooltip and popover to styleguide

Added tooltip and popover styles & scripts from Bootstrap
Added tooltip and popover sections to styleguide page
Added styles needed to safely render buttons with tooltips and popovers
Added scripts to automatically initialize popover and tooltip

Ah! Glad that there is already a known solution for this! I will add that
option. thanks!!!
On Jun 15, 2017 2:03 PM, "Lou Huang"<EMAIL_ADDRESS>wrote:

@louh requested changes on this pull request.
The style changes to buttons inside of a button-group for
popovers/tooltips are too intrusive. Even as implemented, this makes
buttons that are next to another button lose the margins it's supposed to
have.
This is a known problem to Bootstrap
http://getbootstrap.com/javascript/#popovers, but they also propose the
solution:
you'll have to specify the option container: 'body' (documented below) to
avoid unwanted side effects
Can we add the {container: 'body'} option when we initialize popovers and
tooltips so that this happens automatically?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapzen/styleguide/pull/501#pullrequestreview-44373705,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEXxfh0TG9WHYdkE0pQYB72mGlINAE1oks5sEXHpgaJpZM4N6eul
.


Update GitHub corners

Fixes

Fixes #118 by @annatuma
Description
Following changes have been implemented:

[x] Remove the Branded and Colored options.
[x] Update Invertible to have two knobs: Black on white, or White on black.
[x] Remove Positions.

Type of PR
This PR is a refactor.
Technicalities

Tests

Screenshots

Checklist:

[x] My pull request has a descriptive title (not a vague title like "Update index.md").
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Legal
By submitting this PR, I agree to abide by the terms of the Developer
Certificate of Origin.

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

@jshreyans you not only need to remove these stories but also these features from the component as well. So the GitHubCorner component would only have two colour variants and two directions.

@dhruvkb Ok got it. But I can't see the GithubCorner component in the Vocabulary repo.

@dhruvkb I've made changes to the component. Also, in order to remove positions, do I remove these configuration instructions too:
https://github.com/creativecommons/vue-vocabulary/blob/96fa34c3d18c5d339fab79556db2b1454e4ee0f0/src/elements/GitHubCorner/GitHubCorner.vue#L81-L85

I figured out we do need to remove that configuration code. I've pushed some changes. Although, I do want to ask if we will be keeping the shades option now that we are working with only 2 colors.

No we'll just use Invertible to switch the black to white.


Move packages from /internal to /pkg

Allows external repositories to import func-e packages so that developers can leverage func-e to offload envoy binary arch type, version, download repository etc.
This allows the developer to import this go package to mimic func-e run w/o downloading
envoy or func-e for quick prototyping and end to end testing.
More reuse, less code duplication :)
Signed-off-by: Arko Dasgupta<EMAIL_ADDRESS>

if we had an api, it would basically only expose the features the CLI can do and no more, and with the minimal types needed to do that.
ex. an interface FuncE with functions defined for Run, Use, etc with the same allowed arguments as the CLI. This would then also be consumed by the CLI and be available for embedding. I'm not sure the package named pkg is modern nowadays, and it is certainly vague. This interface could be in its own package like api.

thanks for the advice, will take another pass at only moving the minimum packages needed to call the func-e CLI in a programmatic way

I presume any change would be a different PR so I'll go ahead and close this to keep the queue clean. Take care!


Refactor build_language_container_fixture.py to use the language container deployer

build_language_container_fixture.py to use the language container deployer

The ticket has been completed in the scope of #120


install: use huggingface_hub to download the Stable Diffusion model

Streamlines the installation process a bit.
I updated INSTALL_LINUX. The other platforms should tested and updated as well.

@keturn; Do you happen to know if Path.resolve.link_to() does anything useful on Windows?

No clue about Windows. The docs don't say anything about Windows one way or the other, although the related os.link function does mention Windows support.

hard link:

will fail if the cache directory is on another filesystem.

soft link:

will fail if the huggingface cache manager decides to clean up this file (which it might do if you only run this preload script once and then never use its API to access the file again. I don't know what its cache expiration policy is.)

* will fail if the huggingface cache manager decides to clean up this file

Which is a very good reason to d/l the model manually IMO 😁

No clue about Windows. The docs don't say anything about Windows one way or the other, although the related os.link function does mention Windows support.

Gads it's confusing:
 Path.symlink_to(target, target_is_directory=False)

    Make this path a symbolic link to target. Under Windows, target_is_directory... etc.

but
 Path.link_to(target)

    Make target a hard link to this path.

not only doesn't mention Windows at all - the docstring and the big red note directly contradict each other... "Make target a hard link" vs. "This function does not make this path a hard link"
Curse you normally-very-well-written-if-sometimes-cryptic Python docs! <shakes fist at cloud>

Python 3.10 realized that link_to has problems and they've deprecated it, but I'm assuming you need to keep Python 3.8 support because conda?

I'm leary of relying on the hugging face cache system. I run behind a firewall and cannot download model files in a just-in-time fashion the way HF expects. But I do like making it simpler for people, and maybe what we should do is to add a switch that selects which, if any, of the weights files to download. Something like: preload_models.py --download_weights 1.4,1.5

Python 3.10 realized that link_to has problems and they've deprecated it, but I'm assuming you need to keep Python 3.8 support because conda?

This shouldn't be necessary. All the testing I've done (as well as some other brave souls on Lin/Mac) indicates that 3.10 is perfectly fine. Conda itself says that it's Python 3.8 or whatever, but it can install any (released) version you ask for.

I guess the advantage of letting the files stay in the default cache directory, instead of moving them to an InvokeAI-specific cache directory, is that potentially you might have other apps using the HF cached models too. Especially some of the more common transformers.

Agreed

Sorry for the delay. I'll complete my review tomorrow (Sunday).

Just another question. The script requires huggingface-hub, but this requirement isn't explicitly listed in environment.yml. Does it come in as a dependency on another package?
I'm lazy and don't want to rebuild my environment in order to test this!

Does it come in as a dependency on another package?

Looks like it's 'transformers'

Heads up that I reorganized the preload_models.py script within PR #1229 to be a series of functions rather than a big stream of consciousness thing. If you don't mind, could you rebase against add-safety-checker and adapt your changes to the reorganized script?
Thanks!

Can we put a warning somewhere about the amount of data that is expected to be downloaded?

Merged this into PR #1290 and credited you.


Compilation problems with clang-11 and clang-14

Hello.
Would it be possible to add the supported compiler versions (or a list of tested builds)? In Ubuntu 22.04, the default and minimum clang version in the default repos is clang-14 and clang-11, respectively, while current instructions suggest clang-9.
Clang-14 and clang-11 compile OpenFHE, but result in errors when compiling the examples (if I didn't mess up any step).
With gcc-9 and g++-9 everything works fine -- all tests passed.
Thank you

@rscmendes I have linked OpenFHE with clang-11 and clang-14 on Ubuntu 22.04 and successfully run unit tests. No any error. Could you be more specific and tell what you did exactly, step by step, so I can replicate this problem?

I am now on holidays, so I can't recreate -- I wonder if I did something wrong. But I remember not being able to compile the example simple-real-numbers.cpp. The error was something related with the use of a template and the error message mentioned C++ 17. Would you mind trying to compile and run this example? I will try it again with a fresh install when I come back. Thank you


[$500] Unexpected Redirection to DM with Concierge Instead of #admins Chat When Selecting Setup Specialist Option

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.3-11
Reproducible in staging?: No
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @davidcardoza
Slack conversation: https://expensify.slack.com/archives/C03U7DCU4/p1700167866247689
Action Performed:

Created an Account<EMAIL_ADDRESS>Created a workspace
Selected the 'Setup Specialist' option in the LHN under Support.
Closed the NewDot application.
Navigated back to Expensify.com
Selected the 'Setup Specialist' option in the LHN under Support.
Redirected to a NewDot DM with Concierge.

Expected Result:
Expectation to be redirected to the #admins chat when selecting the option to chat with a Setup Specialist.
Actual Result:
Instead of being directed to the #admins chat, was placed into a Direct Message with Concierge.
Workaround:
Currently, no workaround is identified. The user's expectation to enter the #admins chat when selecting the Setup Specialist option is not met.
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012157b2ec7d06ca6e
Upwork Job ID:<PHONE_NUMBER>477643776
Last Price Increase: 2023-11-28

Is there a way to create fake Expensify card transactions so I can try to reproduce this bug?

No worries, @junsupark94! I've done that many many times 😅

Waiting for proposals.

@davidcardoza @johncschuster
could you please explain how to select 'Setup Specialist' option in the LHN under Support. please?
There is no video attached to the issue. Could you please add some so we could see exact steps to reproduce?

I think the implication that the first steps are in newDot might be incorrect, as there isn't any Setup Specialist option or a Support menu in the LHN on newDot.
Though I can't reproduce this specific issue of being redirected to concierge, I do get redirected to a not found page. Here's what I'm doing:

You need an account that has access to oldDot and that has at least one workspace created in newDot
Login to oldDot
Switch to a workspace that was created on newDot
Select the 'Setup Specialist' option in the LHN under Support

https://github.com/Expensify/App/assets/27287420/1890800d-cc9b-4f0d-bd6d-f35861aceb90

@jjcoffee I think this bug is not related to new dot. We should add internal label

Agreed, there's an exitTo param in the link that oldDot generates, that for me points to a report that I don't have access to. I guess the redirecting to concierge has a similar root cause. Let's make this internal @johncschuster.

@davidcardoza It looks like this might be an issue with OldDot. I'm OOO Monday, December 18 (today) through Tuesday, January 2, so I won't be able to push to advocate for this bug. Would you mind raising this up internally so we can get it fixed?
If this issue is open when I'm back from OOO, I'll take it back over. Thank you!

Issue not reproducible during KI retests. (First week)

Happily moving to be internal, not working on this for now since last tests were not reproducible

Same as ^

I can't seem to reproduce this again. I am going to go ahead and close.


docs: Readme updated

Issue #, if available:
Description of changes: Edited and updated the Readme - https://sim.amazon.com/issues/GALI-767
Checklist:

[ ] Have you successfully deployed to an AWS account with your changes?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully tested with your changes locally?
[ ] Have you updated openapi.yaml if you made updates to API definition (including add, delete or update parameter and request data schema)?
[ ] If you had to run manual tests, have you considered automating those tests by adding them to end-to-end tests?

AS review ticket id:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Yogesh, thank you for these updates. They look good to me.

Hi Stephen, thanks. I just noticed that the architecture diagram is not appearing in the preview. I am looking into this and will commit the changes very soon once again. Thanks

SWB readme updated.


Missing rest of CRUD operations for calendar

I noticed that this library lacks methods to handle calendar resource. It provides create, but nothing else. I added rudimentary update, get, and delete methods for calendar resource.
Currently the implementation lacks tests. I also think the library needs error handling for authorization (access to particular calendar resource or event resource), since authorization is critical for update and delete operations.

Addressed in #99


the method 'ConditionalRouteWidget' isn't defined

I am using the new version 1.0.0 but there is no ConditionalRouteWidget.

i think this working fine with me
onGenerateRoute: (RouteSettings settings) {
// A custom fadeThrough route transition animation.
return Routes.fadeThrough(settings,  (context) => MaxWidthBox(
// A widget that limits the maximum width.
// This is used to create a gutter area on either side of the content.
maxWidth: 1200,
background: Container(color: const Color(0xFFF5F5F5)),
child: ResponsiveScaledBox(
// ResponsiveScaledBox renders its child with a FittedBox set to the width value.
// Set the fixed width value based on the active breakpoint.
width: ResponsiveValue(context,
conditionalValues: [
const Condition.equals(name: MOBILE, value: 450),
const Condition.between(
start: 800, end: 1100, value: 800),
const Condition.between(
start: 1000, end: 1200, value: 1000),
// There are no conditions for width over 1200
// because the maxWidth is set to 1200 via the MaxWidthBox.
]).value,
child:   BouncingScrollWrapper.builder(
context, buildPage(settings.name ?? ''),
dragWithMouse: true))
// child: child!),
));
// child: BouncingScrollWrapper.builder(
//     context, buildPage(settings.name ?? ''),
//     dragWithMouse: true));
//});
},

I'm having the same issue. In the responsive_framework.dart I only see these files exported:
library responsive_framework;

export 'breakpoint.dart';
export 'max_width_box.dart';
export 'responsive_breakpoints.dart';
export 'responsive_grid.dart';
export 'responsive_row_column.dart';
export 'responsive_scaled_box.dart';
export 'responsive_value.dart';
export 'utils/scroll_behavior.dart';

The minimal web site sample code is showing that the ConditionalRouteWidget is undefined when you get all the dependencies.

I am using the new version 1.0.0 but there is no ConditionalRouteWidget.

Check here, https://github.com/rayliverified/NavigationUtils/blob/178cd72c934d39e1c6dd703de99e77b22334c455/lib/src/helpers/conditional_route_widget.dart

Apologies for the confusion. ConditionalRouteWidget is from my other NavigationUtils package.
I'll remove it from the example in the next release to avoid confusion.
Learning moment for me :heart: :book:


add an example jekyll site

Add files for making an example Jekyll site with rules_ruby. Also adds a CI job for testing that it builds.

There are some failures on CI, I think macOS would be trivial to fix, while Windows looks more complicated. WOuld you mind taking a look?

There are some failures on CI, I think macOS would be trivial to fix, while Windows looks more complicated. WOuld you mind taking a look?

I believe I fixed up the Mac build. Do you mind if I remove Windows support for this example? I didn't find anything useful when searching for the error and have no Windows development experience.

I believe I fixed up the Mac build. Do you mind if I remove Windows support for this example? I didn't find anything useful when searching for the error and have no Windows development experience.

Yes, let's remove for now.


Implement userService.getUser()

Description

Implement a service function to retrieve one user from the db using an auth_id. Only the service function is needed (not an endpoint).
Acceptance Criteria

[x] Create a function called getUser() for the user.service.ts file

Implementation details

Testing notes

LGTM


BLANK window after running get_cookie.py even after the discord advice

I ran it after closing it
I put in my email
I put in my username
I did everything
and it STILL GIVES ME THE BLANK WINDOW

Any traceback?

It directs me to the same “trace back, no cookies detected in cookies.json” file.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Andrew Higgins @.>
Sent: Friday, April 26, 2024 10:33:52 PM
To: speckly/sucorn @.>
Cc: Jacob Bender @.>; Author @.>
Subject: Re: [speckly/sucorn] BLANK window after running get_cookie.py even after the discord advice (Issue #14)
Any traceback?
—
Reply to this email directly, view it on GitHubhttps://github.com/speckly/sucorn/issues/14#issuecomment-2080327607, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHVUTATG7UOF4573H6X7MDTY7MFBBAVCNFSM6AAAAABGXFGTB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGMZDONRQG4.
You are receiving this because you authored the thread.Message ID: @.***>
CAUTION: This email was sent from someone outside of the university. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Piping TLS.Config through

Depends on https://github.com/vapor/tls/pull/15, related to https://github.com/vapor/vapor/issues/541
You can see here that SecurityLayer being an enum makes it slightly difficult to work with. I suggest we add functions to easily create a .tls(...) case, something like
static func defaultTLS() -> SecurityLayer {
    return .tls(TLSConfig())
}

for extra convenience.
/cc @tannernelson @LoganWright

This should be good to go once CI passes.
This is a good example of what it looks like to send with certificate verification disabled.
    func testSend() throws {
        let config = try Config(
            context: try Context(mode: .client),
            verifyCertificates: false
        )

        do {
            let clientStream = try TCPClientStream(host: "api.spotify.com", port: 443, securityLayer: .tls(config)).connect()
            let uri = "/v1/search?type=artist&q=hannah%20diamond"
            try clientStream.send("GET \(uri) HTTP/1.1\r\nHost: api.spotify.com\r\n\r\n".bytes)
            let response = try clientStream.receive(max: 2048).string

            XCTAssert(response.contains("spotify:artist:3sXErEOw7EmO6Sj7EgjHdU"))
        } catch {
            XCTFail("Could not send: \(error)")
        }

@LoganWright should we include Mozilla's certs in Engine or Vapor?

@LoganWright I did remove equatable, I think @tannernelson added it again.

Yeah I did. And removed it again haha.


Update build scripts on the 1.X branch

This makes the build scripts match the master branch so the two Jenkins configs can be in sync.

@resin-jenkins retest this please


ls: Implements extension sorting

Added implementation (and small test) for extension sorting with ls.
Fixes #1880
There is some difference to the behavior of my ls on ubuntu, especially when it comes to the behavior of hidden directories and files, this implementation does not treat hidden files (with a leading .) as extensions, whereas my system's /usr/bin/ls does.
Not sure on the pro's and con's about that and would like to discuss.

@tertsdiepraam WDYT? thanks

The difference with GNU is interesting. I would say that this is more "correct" is a sense, but there are probably some scripts out there that somehow rely on this behaviour, so maybe going for full compatibility would be best for now. However, the way that the current behaviour is implemented is very nice!

Thanks for the positive feedback!
The current implementation already shows this behavior, I tested it on Debian:
alessandro@omv1:~/code/coreutils$ uname -a
Linux omv1.local 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) x86_64 GNU/Linux
alessandro@omv1:~/code/coreutils$ which ls
/usr/bin/ls
alessandro@omv1:~/code/coreutils$ /usr/bin/ls --version
ls (GNU coreutils) 8.30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard M. Stallman and David MacKenzie.
alessandro@omv1:~/code/coreutils$ /usr/bin/ls -1a
.
..
.cargo-lock
coreutils
coreutils.d
dir
echo
echo.d
.hidden-1
.hidden1
.hidden.2
.hiddendir
libuu_echo.d
libuu_echo.rlib
libuu_ls.d
libuu_ls.rlib
ls
ls.d
alessandro@omv1:~/code/coreutils$ ./ls -1a
.
..
.cargo-lock
.hidden-1
.hidden.2
.hidden1
.hiddendir
coreutils
coreutils.d
dir
echo
echo.d
libuu_echo.d
libuu_echo.rlib
libuu_ls.d
libuu_ls.rlib
ls
ls.d

At the moment I do not have another architecture to test on, maybe you can check if you can reproduce. If we want to mimic the /usr/bin/ls behavior we might need to implement further changes.

Wow, their implementation is really weird then, especially their handling of .  and .., which goes against all the other sort options. I'm starting to like your version more and more :) I'd like it if this project would start using some feature flag at some point specifying whether we go for a logical implementation or for full GNU compatibility. Although maybe that's something for when we've already reached close to 100% compatibility.

@tertsdiepraam are you ok with that change?

@sylvestre I would personally prefer this over GNU, so I'm ok with this, but, of course, it's not 100% compatible.

I tried to rebase it but failed. Could you please do it for me?
sorry

Sure, np.


Fix a typo

What is the purpose of this change? What does it change?
Fix a documentation typo in the Azure Blob Storage section.
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's an entry in the CHANGELOG.md file that describe the changes for our users
[ ] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Nice, thanks for taking the time!

Codecov Report

Merging #1461 into master will decrease coverage by 5.49%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1461     +/-   ##
=========================================
- Coverage   52.74%   47.25%   -5.5%
=========================================
  Files         136      136
  Lines       10859    10859
=========================================
- Hits         5728     5131    -597
- Misses       4257     4914    +657
+ Partials      874      814     -60

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-78.84%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-76.71%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-75.89%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-71%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/checker/checker.go
67.55% <0%> (-3.78%)
:arrow_down:

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 5d4110d...81e6a9d. Read the comment docs.

No problem. Thanks for the promising piece of software, I just discovered it! Especially for supporting also Windows.


Add carbon .deb support for ansible-opendaylight

Ansible-opendaylight made use of OpenSUSE Build Service (OBS) to
install .deb packages. This patch removes support for OBS and
instead adds carbon .deb support for Ubuntu 16.04 using Launchpad
PPA, ppa:odl-team/carbon.
This patch temporarily removes support for Debian OS.
Signed-off-by: Akshita Jha<EMAIL_ADDRESS>

I'll add support for Debian soon.


Add contributors on README

This PR adds a Contributors section at the end of the project readme file.
The contributors section follows the all-contributors specification.
You can see a preview on my fork here.
Why?
From the all-contributors overview:

This is a specification for recognizing contributors to an open source project in a way that rewards each and every contribution, not just code. The basic idea is this:

Use the project README (or another prominent public documentation page in the project) to recognize the contributions of members of the project community.

People are giving themselves and their free time to contribute to open source projects in so many ways, so we believe everyone should be praised for their contributions (code or not).

How?
You can use the @all-contributors bot 🤖 to automate acknowledging contributors, by commenting on an issue or a pull request. Check out how to use the bot right here.

@all-contributors please add @anthonykhoa for contributor

@all-contributors please add @anthonykhoa for code


[FIX] Removed useless chat message in CmdManager

Sorry, I found that I forgot to remove this line for debugging.
My bad!

Thanks!


Stager maven plugin

Fixes #124
Fixes #165 (partially, requires integration in helidon-site)

See https://github.com/oracle/helidon-site/pull/70


PulseAudio volume change via scoll is super slow

As mentioned here, the change value doesn't seem to be the same for everyone.
And since PulseAudio doesn't seem to provide min & max values the easiest would be to let the user set a step size.
This could be done by replacing line 78
https://github.com/Alexays/Waybar/blob/2d2fb8804068770c604293e9128fc59b6b962e43/src/modules/pulseaudio.cpp#L77-L78
with something like this:
uint16_t change = config_["scroll-resolution"].isUInt() ? config_["scroll-resolution"].asUInt() : 100;

I can open a PR for this, but wanated to open an issue fist, in case there are better ideas how to haandle this.

Yeah, maybe we can call it "scroll-step" and so multiply the value by 100?

I like scroll-step, it's short and I think pretty self-explanatory.
Also the Idea to multiply by 100 is cool :)


Adding an open source or free learning web page

Is your feature request related to a problem? Please describe.
“Eduhub Community” is a community for learners by learners but if any beginner student wants to learn something new example Java so there is no particular section that can guide and provide free resources or initial learning sources.
Describe the solution you'd like
Our community aims to create an inclusive space for collaborative learning and growth. I propose creating a webpage that offers a comprehensive list of free resources for acquiring specific skills, along with corresponding learning paths. For instance, for java, we could compile links to websites, YouTube channels, Medium articles, and GeeksforGeeks resources for learning Java.
Describe alternatives you've considered
No response
Additional context
I discovered this page through an article that listed beginner-friendly and free sources to learn a tech stack.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I want to work on this issue. Please assign this issues to me to me


Vk.com Not working anymore

Checklist

[ x] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[x ] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', 'v01.mp4', '--cookies', 'cookies.txt', 'https://vk.com/video/tourisme?z=video-98811431_456239905%2Fpl_cat_trends', '--ffmpeg-location', 'C:\\Users\\ffmpeg.exe']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Proxy map: {}
[vk] -98811431_456239905: Downloading JSON metadata
ERROR: -98811431_456239905: Failed to parse JSON  (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 906, in _parse_json
  File "C:\Python\Python34\lib\json\__init__.py", line 318, in loads
  File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
  File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 906, in _parse_json
  File "C:\Python\Python34\lib\json\__init__.py", line 318, in loads
  File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
  File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\vk.py", line 325, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\vk.py", line 70, in _download_payload
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 899, in _download_json
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 883, in _download_json_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 910, in _parse_json
youtube_dl.utils.ExtractorError: -210693141_456239793: Failed to parse JSON  (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Lost support for vk.vom
Issue with  _download_payload in vk.py
Vk.com must have changed something with their log in because its pulling html as the payload.

VK has been converting to a 'blob' steaming system.
less and less content is being streamed as an mpeg : (

WFM:
$ python -m youtube_dl -v -F 'https://vk.com/video/tourisme?z=video-98811431_456239905%2Fpl_cat_trends'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://vk.com/video/tourisme?z=video-98811431_456239905%2Fpl_cat_trends']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 73771cd76
[debug] Python version 2.7.17 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[vk] -98811431_456239905: Downloading JSON metadata
[vk] -98811431_456239905: Downloading m3u8 information
[info] Available formats for -98811431_456239905:
format code  extension      resolution note
url240       unknown_video  240p
url360       unknown_video  360p
url480       unknown_video  480p
url720       unknown_video  720p
hls-220      mp4            256x144     220k , 30.0fps
hls-459      mp4            426x240     459k , 30.0fps
hls-921      mp4            640x360     921k , 30.0fps
hls-1535     mp4            852x480    1535k , 30.0fps
hls-2729     mp4            1280x720   2729k , 30.0fps (best)
$

(and downloads with eg -f url240).

Thanks. This appears to be working now. Not sure what changed though.

Feel free to close the issue before I do, then. I'm leaving it for a while in case of re-occurrence.

Working now


Add step to generate constraints in Python SDK release process

I have been manually generating constraints when I release - https://github.com/astronomer/astro-sdk/releases/tag/constraints-1.3.3
so that Cloud IDE can use it for installation. Example https://github.com/astronomer/astro/pull/7339
We should document this process

fyi @pankajastro @utkarsharma2 @phanikumv @sunank200


email == ""

If the email is equal to an empty string or is not a valid email address, we get no avatar back. Is that the expected behavior? Should we use the default image if the email address is invalid???

We are relying on Gravatar to return a default avatar image if the email address is not valid or the string is empty. If you check the gravatar api, we specify a default image if none is found. However, if you wanted to use one of your own instead. You could easily make a change to inject an image url if nothing comes back.


IT_FISCAL_CODE

Title:
Detection and Protection of IT Fiscal Code as Personally Identifiable Information (PII)
Description:
The IT Fiscal Code (Codice Fiscale) is a unique identification code used in Italy for tax purposes and is considered a form of Personally Identifiable Information (PII). It is crucial to detect and protect this data due to its sensitive nature, which can be exploited for identity theft or fraudulent activities. Organizations must ensure that the IT Fiscal Code is handled with care and that appropriate measures are in place to prevent unauthorized access and data leaks.
Importance:
Identity Theft: The IT Fiscal Code can be used to impersonate individuals and access their financial and personal information.
Compliance: Organizations handling PII must comply with data protection regulations, such as GDPR, which mandate the protection of such sensitive information.
Trust: Safeguarding personal data helps maintain customer trust and upholds the organization's reputation.
Detection Steps:
Data Source Identification: Identify all data sources where the IT Fiscal Code may be stored or processed, including databases, application logs, and user inputs.
Pattern Recognition: Implement regex patterns specifically tailored to match the format of the IT Fiscal Code, which consists of 16 characters (letters and numbers).
Automated Scanning: Utilize automated tools to scan data repositories and logs for instances of the IT Fiscal Code based on the identified patterns.
Manual Review: Conduct periodic manual reviews of data handling processes and stored information to ensure compliance with data protection policies.
Logging and Monitoring: Set up logging mechanisms to monitor access to areas where the IT Fiscal Code is stored, ensuring that any unauthorized access attempts are flagged for review.

Looks OK to me


[Enhancement]Add an initial dummy value to HTTPResponseStatus

I have been working with SwiftNIO over the last couple of days. In the previous networking framework that we used, there was support to initialise vars tracking the HTTP status code with a dummy value like unknown = -1.
The only way to do something similar with HTTPResponseStatus is by using the custom value. However, IMO, simple checks tend to become bigger because .custom has associated values.
var statusCode: HTTPResponseStatus = .custom(code: 0, reasonPhrase: "Unknown")
...
if case .custom(let value, _) = x, value == 0 {
}

If a dummy value were added to the HTTPResponseStatus enum, things may be easier to express!
var statusCode: HTTPResponseStatus = .unknown
...
if statusCode == .unknown {
}

If there are alternate ways to achieve this without an addition to the enum, I'll be happy to know what they are!

The way you would do this in Swift is by using an Optional, no?

Yes, I agree that using an Optional is another way. But won't that further increase the checks?

No. In fact, using an Optional enum is exactly isomorphic to what you've asked for: the Swift compiler will synthesize an extra enum case to be the "not present" value in any situation where you're using the Optional.

Thanks for the suggestion!


Don't raise and exception when trying to parse date without microseconds

I wasn't sure where a good place would be to add utility functions like this, so i added it inline in user.php and as a function in zone.php -- suggestions welcome!
(and yes: we actually hit this bug in production ;) )
commit message:
When SELECTing a date from the postgres database, and that date's
microsecond part is exactly zero, it will be omitted from the string
representation. This causes DateTime::createFromFormat to return false
instead of the date.
To reproduce this bug, create and then edit a zone (so a changeset entry
exists), then set its change_date like so:
update changeset set change_date = '2021-11-23 10:37:38.000000' where id = 1;

note that when issuing a SELECT, the '.000000' will be automatically
stripped.
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: Error: Call to a member function format() on bool in /var/www/dns-ui/templates/zone.php:687
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: Stack trace:
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #0 /var/www/dns-ui/pagesection.php(69): include()
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #1 /var/www/dns-ui/pagesection.php(57): PageSection->generate()
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #2 /var/www/dns-ui/templates/base.php(81): PageSection->get()
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #3 /var/www/dns-ui/pagesection.php(69): include('/var/www/dns-ui...')
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #4 /var/www/dns-ui/views/zone.php(321): PageSection->generate()
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #5 /var/www/dns-ui/requesthandler.php(62): require('/var/www/dns-ui...')
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #6 /var/www/dns-ui/public_html/init.php(18): require('/var/www/dns-ui...')
[23-Nov-2021 09:40:03 UTC]<PHONE_NUMBER>: #7 {main}

I'm curious which PHP version you are encountering this in. At least running this code manually in PHP 8.0 gives the expected result:
$ php -r 'var_dump(DateTime::createFromFormat("Y-m-d H:i:s.u", "2021-11-23 10:37:38.000000"));'
object(DateTime)#1 (3) {
  ["date"]=>
  string(26) "2021-11-23 10:37:38.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(3) "UTC"
}

Ah, I see, it's because the database layer is stripping the .000000. I should learn to read better :)

I see that the popular Doctrine database abstraction library has also had to make mention of this problem: https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/known-vendor-issues.html

Ah, I see, it's because the database layer is stripping the .000000. I should learn to read better :)

No worries; I didn't explain it well either.
Moved the function to core.php; used it in model/user.php.

Thank you very much for finding and fixing this bug!


Czech localization updates

Just trivial fixes, typos etc.

Can we please merge this and propagate the changes to the production server? We will be presenting the first release of the Czech localization to public tomorrow (Thursday).


Explore YouTube Trending Videos

Here you will explore the trending section of the YouTube section of your country
Is your feature request related to a problem? Please describe.
Not exactly, but this list can be starters for Data Analysis and further merged as a Data Extraction method.
Describe the solution you'd like
Come up with a script that stores the title of the video, youtube channel name, number of likes, dislikes, views, no of comments, date of publishing, description of the video (if possible) in a CSV file. Make sure to create a separate folder for this and include code file and CSV too.
Additional context
You can make use of the official Google API for this purpose or create your own script from scratch.
Languages

[x] Python
[ ] Java
[ ] C
[ ] C++

I'd love to work on it with Python.

@aditsawant okay assigned to you! Make sure to look at the pinned issue "Important Announcements to check guidelines"

@aditsawant  are you working on this?

@kaustubhgupta  can u assign it to me ,if no ones working on this

If @aditsawant doesn't make PR in two days then I will assign this to you (@Obnoxious-coder )

Hey @kaustubhgupta, I have made a PR right now.
The code can extract the video's title, views, likes, and dislikes.
Maybe you can merge my PR and let @Obnoxious-coder add the functionality for getting the video description. It's up to you though :)


VS Code  malfunction Close itself

When i opened the vs code  after few seconds it close itself  i am facing this issue from last 15 days

/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Feature/lit 3139 identify private methods in litnodeclient

Description
This PR aims to privatise, protect and remove unused methods from lit-node-client and lit-core, standardise to use #methodFoo over _methodFoo for privatised methods, and protected _methodBar over _methodBar for protected methods.
NOTE: Even though we are implementing these method visibility changes using # for private methods and protected _ for protected methods, it is important to note that these changes will only be fully effective with TypeScript and modern JavaScript (ES2022 and later). Core JavaScript prior to ES2022 does not natively support the # syntax for private methods, and JS does not have a native protected keyword; this is a TypeScript feature that allows for better control over method visibility.
Method Visibility Changes
Privatised Methods
The following methods have been changed to private (prefixed with #):
1.	setCustomBootstrapUrls -> #setCustomBootstrapUrls
2.	_listenForNewEpoch -> #listenForNewEpoch
3.	_scheduleNetworkSync -> #scheduleNetworkSync
4.	handshakeWithNode -> #handshakeWithNode
5.	sendCommandToNode -> #sendCommandToNode
6.	getRequestId -> #getRequestId
7.	overrideConfigsFromLocalStorage -> #overrideConfigsFromLocalStorage

Protected Methods
The following methods have been changed to protected (prefixed with _):
1.	getNodePromises -> _getNodePromises
2.	handleNodePromises -> _handleNodePromises
3.	getSessionSigByUrl -> _getSessionSigByUrl
4.	_throwNodeError -> _throwNodeError
5.	_stopNetworkPolling -> _stopNetworkPolling
6.	_stopListeningForNewEpoch -> _stopListeningForNewEpoch

Removed Methods and Endpoints
1.	Removed getIpAddress method from packages/misc/src/lib/misc.ts and related test cases in packages/misc/src/lib/misc.spec.ts.
2.	Removed unused endpoints from packages/constants/src/lib/constants/endpoints.ts.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
NETWORK=localchain DEBUG=false yarn test:local

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Reverting merge of this PR as it was found to cause runtime errors related to tslib bundling issues.


angular xeditable not working for the elements which are nested in form tag

I have added

<form name="Myform">
{{name || 'empty' }}
</form>

Not working

Did you try calling a function that returns the correct value?

Just updated issue . please check

What exactly are you trying to do with {{name || 'empty' }}?
Are you trying to print "empty" if name is empty?
If so, take a look at this fiddle

Fiddle is broken as xeditable script has incorrect mime type and will not execute.

It's the same problem of issue #6
in the replies you can find some workarounds but nothing that will work as expected

Yeah exactly same issue. form validation already there in xeditable plugin. But form with xeditable is not working !!

Workaround add the following into your input elements
class="editable-click" ng-click="$form.$show()" e-ng-blur="$form.$hide()"

Yes fixed issue!


[posix] it's good practice to make base class destructor virtual

get rid of compiler warning

@rxwen , the docker builds seem to be failing:
#9 65.05   CXX      ot_ctl-client.o
#9 65.05   CC       ot_daemon-main.o
#9 65.15   CCLD     ot-daemon
#9 65.20   CXXLD    ot-ctl
#9 66.43 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-udp.o): In function `ot::Posix::Udp::Get()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/udp.cpp:611: undefined reference to `__cxa_guard_acquire'
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/udp.cpp:611: undefined reference to `__cxa_guard_release'
#9 66.44 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-udp.o): In function `ot::Posix::Udp::~Udp()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/udp.hpp:37: undefined reference to `operator delete(void*)'
#9 66.44 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-daemon.o): In function `ot::Posix::Daemon::Get()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/daemon.cpp:364: undefined reference to `__cxa_guard_acquire'
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/daemon.cpp:364: undefined reference to `__cxa_guard_release'
#9 66.44 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-daemon.o): In function `ot::Posix::Daemon::~Daemon()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/daemon.hpp:39: undefined reference to `operator delete(void*)'
#9 66.44 collect2: error: ld returned 1 exit status
#9 66.44 Makefile:666: recipe for target 'ot-daemon' failed
#9 66.44 make[5]: *** [ot-daemon] Error 1
#9 66.44 Makefile:812: recipe for target 'all-recursive' failed
#9 66.44 make[4]: *** [all-recursive] Error 1
#9 66.44 Makefile:434: recipe for target 'all-recursive' failed
#9 66.44 make[3]: *** [all-recursive] Error 1
#9 66.45 Makefile:587: recipe for target 'all-recursive' failed
#9 66.45 make[2]: *** [all-recursive] Error 1
#9 66.45 Makefile:513: recipe for target 'all' failed
#9 66.45 make[1]: *** [all] Error 2
#9 66.45 src/posix/Makefile-posix:326: recipe for target 'do-build-posix' failed
#9 66.45 make: *** [do-build-posix] Error 2
#9 ERROR: process "/bin/sh -c cd ~/src/openthread && make -f src/posix/Makefile-posix DAEMON=1" did not complete successfully: exit code: 2

https://github.com/openthread/openthread/runs/4434509000?check_suite_focus=true

@rxwen , the docker builds seem to be failing:
#9 65.05   CXX      ot_ctl-client.o
#9 65.05   CC       ot_daemon-main.o
#9 65.15   CCLD     ot-daemon
#9 65.20   CXXLD    ot-ctl
#9 66.43 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-udp.o): In function `ot::Posix::Udp::Get()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/udp.cpp:611: undefined reference to `__cxa_guard_acquire'
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/udp.cpp:611: undefined reference to `__cxa_guard_release'
#9 66.44 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-udp.o): In function `ot::Posix::Udp::~Udp()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/udp.hpp:37: undefined reference to `operator delete(void*)'
#9 66.44 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-daemon.o): In function `ot::Posix::Daemon::Get()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/daemon.cpp:364: undefined reference to `__cxa_guard_acquire'
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/daemon.cpp:364: undefined reference to `__cxa_guard_release'
#9 66.44 ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-daemon.o): In function `ot::Posix::Daemon::~Daemon()':
#9 66.44 /root/src/openthread/src/posix/../../src/posix/platform/daemon.hpp:39: undefined reference to `operator delete(void*)'
#9 66.44 collect2: error: ld returned 1 exit status
#9 66.44 Makefile:666: recipe for target 'ot-daemon' failed
#9 66.44 make[5]: *** [ot-daemon] Error 1
#9 66.44 Makefile:812: recipe for target 'all-recursive' failed
#9 66.44 make[4]: *** [all-recursive] Error 1
#9 66.44 Makefile:434: recipe for target 'all-recursive' failed
#9 66.44 make[3]: *** [all-recursive] Error 1
#9 66.45 Makefile:587: recipe for target 'all-recursive' failed
#9 66.45 make[2]: *** [all-recursive] Error 1
#9 66.45 Makefile:513: recipe for target 'all' failed
#9 66.45 make[1]: *** [all] Error 2
#9 66.45 src/posix/Makefile-posix:326: recipe for target 'do-build-posix' failed
#9 66.45 make: *** [do-build-posix] Error 2
#9 ERROR: process "/bin/sh -c cd ~/src/openthread && make -f src/posix/Makefile-posix DAEMON=1" did not complete successfully: exit code: 2

https://github.com/openthread/openthread/runs/4434509000?check_suite_focus=true

@jwhui Thanks. i noticed it and was trying to figure out the root cause.
Looks like I have to link against linstdc++ after I added the default destructor.

@superwhd @simonlingoogle Sorry to bother. I merged the master branch in to my PR. It looks like the workflows requires approval to run and to complete the CI process. Would you take a look see if you may approve?

@superwhd @simonlingoogle Sorry to bother. I merged the master branch in to my PR. It looks like the workflows requires approval to run and to complete the CI process. Would you take a look see if you may approve?

@rxwen , I just approved the CI checks. Thanks.

Thanks.
The ci failed in this step (https://github.com/openthread/openthread/runs/6988618609?check_suite_focus=true). The error seems not related to the PR I submitted. It's an error in the python code of commission test. Can you shed some lights on how to deal with this failure?

@rxwen , any plan to move this PR forward?

@rxwen , any plan to move this PR forward?

Hi Jonathan,
I've merged the latest upstream code and tried again. Will checking the CI status closely.

@jwhui Hi Jonathan, all the CI has passed. May I know how would it be get approved?

@rxwen,
On this commit ID, I am getting same error which you have mentioned and added LIBS=-lstdc++.
I see later you removed this again as no longer needed. May I know what is the reason for it? I am unable to compile without lstdc++ linking on this commit.

HI @rxwen,
We are building for i.MX platform using cross-tool chain from U20 machine.
Error logs are:
/opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-backbone.o): in function ot::Posix::MulticastRoutingManager::~MulticastRoutingManager()': /home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/multicast_routing.hpp:51: undefined reference to operator delete(void*)'
/opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-udp.o): in function ot::Posix::Udp::Get()': /home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/udp.cpp:611: undefined reference to __cxa_guard_acquire'
/opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/udp.cpp:611: undefined reference to __cxa_guard_release' /opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-udp.o): in function ot::Posix::Udp::~Udp()':
/home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/udp.hpp:37: undefined reference to operator delete(void*)' /opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-daemon.o): in function ot::Posix::Daemon::Get()':
/home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/daemon.cpp:364: undefined reference to __cxa_guard_acquire' /opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/daemon.cpp:364: undefined reference to __cxa_guard_release'
/opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: ../../src/posix/platform/libopenthread-posix.a(libopenthread_posix_a-daemon.o): in function ot::Posix::Daemon::~Daemon()': /home/development/openthread/ashish/bdb93829763_ot/openthread/src/posix/../../src/posix/platform/daemon.hpp:39: undefined reference to operator delete(void*)'
collect2: error: ld returned 1 exit status
Makefile:678: recipe for target 'ot-daemon' failed
make[5]: *** [ot-daemon] Error 1
Makefile:830: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:441: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:595: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:521: recipe for target 'all' failed
make[1]: *** [all] Error 2

Is it a cross compilation toolchain based on GCC?
Can you also show the commit id of openthread that you'd building?


tf.math.l2_normalize support for complex dtypes

System information

TensorFlow version (you are using): 2.1.0
Are you willing to contribute it (Yes/No): yes

Describe the feature and the current behavior/state.
tf.math.l2_normalize currently does not appear to support complex datatypes:
tf.math.l2_normalize(1j)

---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
<ipython-input-22-148da328f68d> in <module>
----> 1 tf.math.l2_normalize(1j)

~/anaconda3/envs/*/lib/python3.7/site-packages/tensorflow_core/python/ops/nn_impl.py in l2_normalize_v2(x, axis, epsilon, name)
    641     x = ops.convert_to_tensor(x, name="x")
    642     square_sum = math_ops.reduce_sum(math_ops.square(x), axis, keepdims=True)
--> 643     x_inv_norm = math_ops.rsqrt(math_ops.maximum(square_sum, epsilon))
    644     return math_ops.multiply(x, x_inv_norm, name=name)
    645

~/anaconda3/envs/*/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_math_ops.py in maximum(x, y, name)
   5770         raise
   5771     except _core._NotOkStatusException as e:
-> 5772       _ops.raise_from_not_ok_status(e, name)
   5773   # Add nodes to the TensorFlow graph.
   5774   try:

~/anaconda3/envs/*/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py in raise_from_not_ok_status(e, name)
   6604   message = e.message + (" name: " + name if name is not None else "")
   6605   # pylint: disable=protected-access
-> 6606   six.raise_from(core._status_to_exception(e.code, message), None)
   6607   # pylint: enable=protected-access
   6608

~/anaconda3/envs/*/lib/python3.7/site-packages/six.py in raise_from(value, from_value)

NotFoundError: Could not find valid device for node.
Node:{{node Maximum}}
All kernels registered for op Maximum :
  device='XLA_GPU'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
  device='XLA_CPU'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
  device='XLA_CPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
  device='XLA_GPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
  device='CPU'; T in [DT_INT64]
  device='CPU'; T in [DT_INT32]
  device='CPU'; T in [DT_DOUBLE]
  device='CPU'; T in [DT_BFLOAT16]
  device='CPU'; T in [DT_HALF]
  device='CPU'; T in [DT_FLOAT]
  device='GPU'; T in [DT_INT32]
  device='GPU'; T in [DT_INT64]
  device='GPU'; T in [DT_DOUBLE]
  device='GPU'; T in [DT_HALF]
  device='GPU'; T in [DT_FLOAT]
 [Op:Maximum]

This is surprising / unexpected given that the basic computational blocks, like squaring, summing, square root, and dividing, all support complex datatypes. The issue appears to be that math_ops.maximum requires a real tensor as epsilon is assumed to be a real-valued lower-bound on square_sum. I'm not sure of the most natural solution at the moment.
Will this change the current api? How?
No.
Who will benefit with this feature?
Anyone trying to do something like normalize a complex tensor. As a use case, consider trying to use a CosineSimilarity loss on a network with a complex output.
Any Other info.
N/A

Added a PR #39529 to add complex64/complex128 support for tf.math.l2_normalize


merge for v2.4.1

⚙ updates

add a lot of new tests

ALL examples from the doc are run during the unittests

examples now exist as explicit python files (in tests subfolder)
the files are directly used as source-code for the tests and the examples in the doc

added tests for WebMap services
added tests for interactive capabilities (scalebar, draggable axes, etc.)

🔧 fixes

fix nested copying of Maps objects with "connect=True"
fix EEA_DiscoMap WMS service
fix toolbar-action check if no toolbar exists
... fix some warnings, remove obsolete functions and print-statements

Codecov Report

Merging #44 (a4f5fab) into master (be1da73) will increase coverage by 17.45%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##           master      #44       +/-   ##
===========================================
+ Coverage   63.04%   80.49%   +17.45%
===========================================
  Files           9        9
  Lines        3550     3507       -43
===========================================
+ Hits         2238     2823      +585
+ Misses       1312      684      -628

Impacted Files
Coverage Δ

eomaps/_cb_container.py
80.37% <ø> (+16.97%)
:arrow_up:

eomaps/_containers.py
75.83% <0.00%> (+13.75%)
:arrow_up:

eomaps/_shapes.py
88.08% <ø> (ø)

eomaps/_webmap.py
80.36% <ø> (+60.52%)
:arrow_up:

eomaps/helpers.py
78.29% <ø> (+34.17%)
:arrow_up:

eomaps/scalebar.py
89.42% <ø> (+14.50%)
:arrow_up:

eomaps/eomaps.py
83.50% <100.00%> (+7.02%)
:arrow_up:

... and 3 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 be1da73...a4f5fab. Read the comment docs.


[Bug]Fixed multiple aggregation on same dimesion column issue

Fixed multiple aggregation on same dimension column issue in query plan we were adding list for each aggregation type

retest this please


TypeScript support confused about which properties are required: "options" and "label"

The example from this repo's readme, using properties data, value, onChangeText and flatListProps appears to be out-of-sync with the values in the npm library beneath dist/types.  In particular, my IDE complains that options and label are required properties for the component.

this was user error!  I was grabbing a different library.


create per hour indices

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6bbe8dc). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?    165
  Lines             ?   7539
  Branches          ?      0
=======================================
  Hits              ?   7539
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

plugin/storage/es/spanstore/index_utils.go
100% <100%> (ø)

plugin/storage/es/spanstore/reader.go
100% <100%> (ø)

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 6bbe8dc...71275d4. Read the comment docs.


Add ability to change search engine

Some people (like me) don't want to use google.com as the default search engine, especially privacy-minded people.

PRs are welcome

Can a setting be added so we could add our own search engine of choice like duckduckgo or perplexity even?

PRs are welcome

I am not tech proficient enough to add the function myself :( hope someone can do it one day. Thanks....

I've added duckduckgo and bing as alternatives

@ospfranco Amazing, thanks a lot!

Thank you @ospfranco! Happy holidays 🎉


Remove Zeroing from StringMarshaller

Can I have some generated output please. Seems like it should be good but wanna make sure that the inliner isn't mixing in or whatever.

Sorry, forgot this.
A sample using out string:
public partial void GetnPolygonStipple(uint bufSize, out string pattern)
{
	unsafe
	{
		byte* n2;
		; // BEGIN RESOLVE 0 | READCOUNT: 1 | ALLOW_INLINE: True | FORCE_INLINE: False | CACHED: False
		// RESOLVED 0 INLINED
		// END RESOLVE 0
		// BEGIN RESOLVE 2 | READCOUNT: 3 | ALLOW_INLINE: True | FORCE_INLINE: False | CACHED: False
		// RESOLVED 2 TO VARIABLE n2
		n2 = (byte*)Silk.NET.Core.Native.SilkMarshal.AllocateString((int)bufSize, (Silk.NET.Core.Native.NativeStringEncoding)20); // END RESOLVE 2
		((delegate *unmanaged[Cdecl]<uint, byte*, void>)(CurrentVTable as GeneratedVTable).Load(263, "glGetnPolygonStipple"))((/* VAR 0 */
		bufSize), (/* VAR 2 */
		n2)); // ALREADY RESOLVED 2
		pattern = Silk.NET.Core.Native.SilkMarshal.PtrToString((global::System.IntPtr)/* VAR 2 */
		n2, (Silk.NET.Core.Native.NativeStringEncoding)20); // ALREADY RESOLVED 2
		Silk.NET.Core.Native.SilkMarshal.FreeString((global::System.IntPtr)/* VAR 2 */
		n2, (Silk.NET.Core.Native.NativeStringEncoding)20);
	}
}

GL.41048269.gen.txt
GL.50586119.gen.txt
GL.13276029.gen.txt
GL.36184176.gen.txt

Can you merge 2.0 into this branch so we can have CI run it through?


XRE-14362: Adding methods and events to DisplayInfo & PlayerInfo

Reason for change: Adding APIs to VAP plugins to provide
device properties for premium apps.
Plugins updated: DisplayInfo, PlayerInfo & HdcpProfile
Test Procedure: check ticket
Risks: Low

Will raise a new pull request, Addressing the comments