Doesn't work with Vodafone/CallYa

Hi Benny,
first of all - thanks for the great work!
The widget doesn't work in both versions for me. I tested it with the initial version, but also the second version doesn't show the data usage.
The log (of the latest version):

2020-10-22 10:05:03: Get from API
2020-10-22 10:05:05: unbilled-usage loaded
2020-10-22 10:05:05: Try to find usageGroup 'Daten'
2020-10-22 10:05:05: Loading usage data failed
2020-10-22 10:05:05: Error: Can't find usageGroup 'Daten'
2020-10-22 10:05:05: Error: Can't find usageGroup 'Daten'
2020-10-22 10:05:05: No fallback to cache possible. Due to missing cache.

What I tried:

Yes, Wifi was deactivated during intial setup.
I also tried to lower the caching time and restart afterwards, with no effect.
The widget shows: "Es ist ein Fehler aufgetreten! Bitte prüfen Sie die Logs direkt in der App."

My contract:

Vodafone, but the Prepaid part ("CallYa")
To check my volume, I have to open "center.vodafone.de" which is redirected to the full URL: https://center.vodafone.de/vfcenter/index.html?browser=web
The UI looks like that: Screenshot
The source code (body tag) of that page is the following:

Vodafone Tipp

Dein Vodafone Tipp

Dein Guthaben beträgt: 1,99 €

												6973 MB von 10240 MB verfügbar

						<form id="OneoffOptionForm" name="OneoffOptionForm" method="post" action="/vfcenter/option-buchen.html">

Einmal-Optionen

												<input type="hidden" name="timeToken" value="1064536759164661628236120770159251563912517770397484531005">

														<input type="radio" name="radio0" value="40846" checked="checked">
														DayFlat 10 GB für nur 4,99 € / 24 Stunden EO1)

														<input type="radio" name="radio0" value="40814">
														Einmaloption 250 MB für nur 2,99 € / 7 Tage EO2)

														<input type="radio" name="radio0" value="40809">
														Einmaloption 600 MB für nur 5,99 € / 7 Tage EO3)

											<button type="submit" form="OneoffOptionForm" class="btn pull-left redbtn">Jetzt buchen</button>

						</form>

Guthaben aufladen

									Jetzt aufladen

 Jetzt weitersurfen

									Hilfe
									Tarifdetails
									AGB
									Info
									Impressum

Maybe the site looks / works different with CallYa?
Thanks for the investigation!

Hi @dwhh,
i assume that i have to use for CallYa another API. But ist should not a big deal to support also CallYa if you can support me.
First i need to know if the used API-Endpoint is total wrong. For this, i have added a new version with additional logging on the needed position. Please share the new log with me, but make sure that no private information are included in the log like Phonenumber. You can remove these information before sharing the log with me.
In case that this API-Endpoint doesn‘t provide the necessary information, we have to check which alternative API-Endpoint we can use. Do you have a MeinVodafone Account for your Prepaid? With this, you can open the MeinVodafone Portal on Web to check in the Browser Dev Tools. In the Dev Tools, you can see all outgoing API Calls of the portal. There we have to find the correct endpoint for prepaid.

Hi @ThisIsBenny,
I restarted the script and here is the log. Seems like it gets the relevant information. Everything in ((TAGS)) is "censored" by me.
2020-10-22 10:52:41: Get from API
2020-10-22 10:52:42: unbilled-usage loaded
2020-10-22 10:52:42: Try to find usageGroup 'Daten'
2020-10-22 10:52:42: {

 "serviceUsageVBO": {
   "type": "mobile",
   "usageAccounts": [
     {
       "details": {
         "amount": "1.99",
         "msisdn": "((MOBILE NUMBER))",
         "unitOfMeasure": "EUR",
         "marketCode": "MMO"
       },
       "usageGroup": [
         {
           "container": "D_EU_FLAT_ALLNET_UNITS",
           "usage": [
             {
               "description": "D_EU_FLAT_ALLNET_UNITS",
               "unitOfMeasure": "One",
               "offerInstCode": "((NUMBER))",
               "total": "-1",
               "type": "unlimited",
               "endDate": "2020-10-27",
               "used": "0",
               "remaining": "-1",
               "code": "((NUMBER))",
               "startDate": "2020-09-29",
               "measureType": "Number",
               "name": "D_EU_FLAT_ALLNET_UNITS",
               "lastUpdateDate": "2020-10-22T10:52:42.718+02:00"
             }
           ]
         },
         {
           "container": "D_EU_DATA",
           "usage": [
             {
               "description": "D_EU_DATA",
               "unitOfMeasure": "MB",
               "offerInstCode": "((NUMBER))",
               "total": "10240",
               "type": "limited",
               "endDate": "2020-10-27",
               "used": "3415",
               "remaining": "6825",
               "code": "((NUMBER))",
               "startDate": "2020-09-29",
               "measureType": "Dataflow",
               "name": "D_EU_DATA",
               "lastUpdateDate": "2020-10-22T10:52:42.718+02:00"
             }
           ]
         }
       ],
       "productSpecification": {
         "tariffDetails": {
           "code": "((NUMBER))",
           "recurringOffer": true,
           "name": "CallYa Digital",
           "description": "Open Market Offer",
           "type": "matrix-tariff"
         }
       }
     }
   ]
 }
 }

 2020-10-22 10:52:42: Loading usage data failed
 2020-10-22 10:52:42: Error: Can't find usageGroup 'Daten'
 2020-10-22 10:52:42: Error: Can't find usageGroup 'Daten'
 2020-10-22 10:52:42: No fallback to cache possible. Due to missing cache.

If that doesn't help I'm happy to check the Mein Vodafone Web API Calls. What scheme I have to look for?
Thanks so much!

Hi @dwhh this helps a lot!
this the needed part:
{
           "container": "D_EU_DATA",
           "usage": [
             {
               "description": "D_EU_DATA",
               "unitOfMeasure": "MB",
               "offerInstCode": "((NUMBER))",
               "total": "10240",
               "type": "limited",
               "endDate": "2020-10-27",
               "used": "3415",
               "remaining": "6825",
               "code": "((NUMBER))",
               "startDate": "2020-09-29",
               "measureType": "Dataflow",
               "name": "D_EU_DATA",
               "lastUpdateDate": "2020-10-22T10:52:42.718+02:00"
             }
           ]
         }

So it looks like that the name of the container is in case of CallYa „D_EU_DATA“ and not „Daten“ like on a Postpaid contract.
I will provide a update that supports also CallYa. But i have one question, it is possible to share the code with me:
"code": "((NUMBER))",
This should normally something like -1, -2, -3.... I need to know if this works the same like a postpaid contract.
There is only one object in the list why i normally didn‘t need the code, but i‘m not sure if there are CallYa Cards with more then one object on the list. Then this Code could be very useful to find out which object i have to use.

Hi @ThisIsBenny,
this is all three times (= in every block):
"code": "45500"
Thanks so much!
Let me know if you need anything else.

Hmm ok, i hope that this is for all CallYa Cards the same. But i will first check if only one object is in the list and then i will fallback on this code. Thanks.
I will inform you as soon the update is online.

Hi @dwhh die neue Version sollte jetzt bei dir funktionieren.

Thanks so much - works and looks perfectly now. 👍

@dwhh Which kind of CallYa tariff do you have?
Since I got different parameters back from the API.

Hi @ThisIsJohannes,
sorry for the late response.
I have CallYa Digital (https://www.vodafone.de/freikarten/callya-digital/).


Commit date

Hi, it would be nice to have an option to show commit date as well.
Most of the nontechnical people prefer to see date & time instead of version or hash.
I was thinking about using ember build date, but that's a bit different from git commit date. Sometimes we do rebuild or we can build out of a week old code so it's not accurate.
What do you think? I could eventually send you PR if that sounds interesting to you.
Thank you,
Ondrej

@taras should I take your 👍  as good to go? :)


Design prototype optimizations

Keep the prototype organized, consistent and beautiful
https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=772%3A5523&t=uPKXG0CbK0yJbZpy-0
Definition of done

[ ] Maintain the design screens in Figma
[ ] Maintain the prototype linking
[ ] add to the Design System if needed
[ ] Keep the frame names consistent
[ ] Keep a changelog document that developers can review to see what has changed

Review points at the end

I have two optimizations already:

In many places we have a loading bar (e.g. https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=2117%3A14540&t=uPKXG0CbK0yJbZpy-4) but this only works if we can calculate or estimate how long the operation will take. Better to use a spinner instead when we don't have a time bound.

User needs to opt-into having data analytics collected by the app for usability optimization. This should be when the user creates account around where they accept T&Cs and Privacy Policy.

https://docs.google.com/document/d/1NXds-zIiSuDSX0R4IY5XBifbt0R5D8xMrJYq39ryzW8/edit?usp=sharing

https://docs.google.com/spreadsheets/d/1Pr2yxJrdkBvcPUoh9IGMmgeRNXPipm64BkAigovCtBM/edit#gid=0


fix(helm): add annotations key to allow for annotations

Description
backport of https://github.com/dapr/dapr/pull/7920
Issue reference

Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

I've adding @ItalyPaleAle's suggestions. lgtm


bug: Fluentd configuration file is different for each reconciliation, even if no modification is done

Describe the issue
Create thousands of filter.fluentd.fluent.io and fluentdConfig.fluentd.fluent.io in the cluster.
Compare the configuration file each time it reconcile, it is different.
An infinite reconciliation loop is launched and Fluentd pods are infinitely  reloading configuration.
To Reproduce
Create thousands of filter.fluentd.fluent.io and fluentdConfig.fluentd.fluent.io in the cluster.
Compare the configuration file each time it reconcile, it is different
Expected behavior
The generated configuration file is the same each time it reconcile (when no modification is done)
Your Environment
- Fluent Operator version: kubesphere/fluent-operator:v2.7.0
- Container Runtime: containerd://1.6.15
- Operating system: Ubuntu 22.04.1 LTS
- Kernel version: 5.15.0-46-generic

How did you install fluent operator?
kubectl create ns fluent
kubectl apply -f https://raw.githubusercontent.com/fluent/fluent-operator/release-2.0/manifests/setup/setup.yaml

Additional context
Proposed solution: create an ordered configuration file based on @id, name and tag

I will propose a PR to correct this behaviour

I will propose a PR to correct this behaviour

That's great!


Hungarian translation implementation

I don't really have a way to test it, but hearing from a hungarian riot beta user, the Hungarian Translation wasn't implemented yet. The language files are already translated, so if somebody has he time, please add it to the client.

@Kusaha
It is fixed on our develop branch


markdown plugin changes

Description (required)
Added an example of how the plugin works.

Confusing examples @ https://docs.astro.build/en/guides/markdown-content/#markdown-plugins
Sarah asked me to do a PR.

English
Related issues & labels (optional)

Closes #
Suggested label:

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/markdown-content.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


ERROR Unable to change chat channels

Hello, i'm trying to create a new channel from the CLI by using this following command :
keybase chat create-channel --topic-type "chat" <TEAM_NAME> <CHANNEL>
But i've got this error : ERROR Unable to change chat channels
It worked fine 1 month ago but actually I don't know why it doesn't work. I tried on GUI and on mobile but I've got the same error...
thank you for your help !

@kaayso could you do a log send if you're still experience this? you can do keybase log send from the CLI or settings > feedback in the app. thanks!

Done. 👍

Closed via https://github.com/keybase/client/pull/23056

Awsome !! Thank you ✌🏼


Invalid type for key location, expected geopoint

I'm trying to use the Gem's GeoType datatype like this:
def save
  if (!valid?)
    return false
  else
    parking = Parse::Object.new("Parking")

  data =
  {
    "longitude" => 40.0,
    "latitude" => -30.0
  }

  point = Parse::GeoPoint.new(data)

  parking["name"]             = name
  parking["address"]          = address
  parking["city"]             = city
  parking["location"]         = point
  parking["contributorName"]  = contributor_name
  parking["contributorEmail"] = contributor_email

  if (parking.save)
    return true
  end
end

end
and it returns me : " Invalid type for key location, expected geopoint"
I had to use:
parking["location"] = {"__type" => "GeoPoint", "latitude" => latitude.to_f, "longitude" => longitude.to_f}

in order to make this work.
Is this normal? What's the purpose of the GeoPoint class in the gem if we have submit an hash? At first I thought it was for fetching data only, but I still access the longitude/latitude using <%= parking["location"]["longitude"] %> ...
Thank you !

This is not normal :)
I will investigate, and fix.

I'm still a bit newby in Ruby, otherwise I would have fork it. I might try if you give me some hints haha :)

Hints:
GeoPoint is defined in lib/parse/datatypes.rb and is tested in test/test_datatypes.rb.
Perhaps try improving the test function to show that it really should be failing, as it currently passes. Also, write an integrating test similar to the error you posted above. Right now, most tests are unit tests, and that really needs to change.

I might be able to take a look at it tonight, but I think it would be wise if both of us take a look just in case haha :P

Hi,
Just ran your code here and the object was saved correctly. What version of Ruby are you using?

1.9.3
Sent from my iPhone
Envoyé de mon iPhone
On 2012-02-23, at 6:56 PM, "Leandro S."
<EMAIL_ADDRESS>wrote:

Hi,
Just ran your code here and the object was saved correctly. What version of Ruby are you using?

Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/issues/2#issuecomment-4148571

And what version of parse-ruby-client? It should be 0.0.3.
On Thursday, February 23, 2012, Mathieu Allaire wrote:

1.9.3
Sent from my iPhone
Envoy de mon iPhone
On 2012-02-23, at 6:56 PM, "Leandro S."
<EMAIL_ADDRESS><javascript:;>>
wrote:

Hi,
Just ran your code here and the object was saved correctly. What version
of Ruby are you using?

Reply to this email directly or view it on GitHub:

https://github.com/adelevie/parse-ruby-client/issues/2#issuecomment-4148571

Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/issues/2#issuecomment-4149171

The same I'm using. I tried with 1.9.2 and 1.8.7 and it worked too.
Here's the script I used:
require 'parse-ruby-client'

Parse.init :application_id => "<your_app_id>",
           :api_key        => "<your_api_key>"

parking_test = Parse::Object.new("ParkingTest")

data =
{
  "longitude" => 40.0,
  "latitude" => -30.0
}

point = Parse::GeoPoint.new(data)

parking_test["location"] = point

puts parking_test.to_json
parking_test.save

And the output:
{"location":{"__type":"GeoPoint","latitude":-30.0,"longitude":40.0}}

Thats weird, Im using it in a rails project, but that's not a problem
I think... Weirdos, I'll try only in ruby with what you pasted
Sent from my iPhone
Envoyé de mon iPhone
On 2012-02-23, at 7:55 PM, "Leandro S."
<EMAIL_ADDRESS>wrote:

The same I'm using. I tried with 1.9.2 and 1.8.7 and it worked too.
Here's the script I used:
require 'parse-ruby-client'

Parse.init :application_id => "<your_app_id>",
          :api_key        => "<your_api_key>"

parking_test = Parse::Object.new("ParkingTest")

data =
{
 "longitude" => 40.0,
 "latitude" => -30.0
}

point = Parse::GeoPoint.new(data)

parking_test["location"] = point

puts parking_test.to_json
parking_test.save

And the output:
{"location":{"__type":"GeoPoint","latitude":-30.0,"longitude":40.0}}

Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/issues/2#issuecomment-4149395

Ok, it works #1 only in Ruby, but in my Rails project, I get the same error. I don't get it
def save
  if (!valid?)
    return false
  else
  parking = Parse::Object.new("Parking")

  data =
  {
    "longitude" => 40.0,
    "latitude" => -30.0
  }

  point = Parse::GeoPoint.new(data)

  parking["location"] = point
  parking.save
end

end
and here's a screenshot of the rails error : http://d.pr/h7YA

I think I've found something, I did:
Parse.init :application_id => "app_id",
:api_key        => "api_key"
parking_test = Parse::Object.new("Parking")
data =
{
"longitude" => 40.0,
"latitude" => -30.0
}
point = Parse::GeoPoint.new(data)
parking_test["location"] = point
logger.debug parking_test.to_json
#parking_test.save
and in the log, it returns:
{"location":{"longitude":40.0,"latitude":-30.0}}
No "__type":"GeoPoint" is present

It seems to be a problem while converting the object to json. I can't see in your screenshot the correct representation for the parking object, there's nothing like "{"location":{"__type":"GeoPoint","latitude":-30.0,"longitude":40.0}}" in it.
Take a look at this SO question, it can help you: http://stackoverflow.com/questions/817287/ar-to-json-works-in-console-fails-in-browser

Yes, you're correct.

I've tried the working code in ruby console in another controller, still failed. I also tried it in another rails project, didnt work. I don't see anything like the answer in the SO thread :(
I'm out of idea now :/

Could you show me the gems you have installed? Do a "gem list"
I'm signing off now, but I'll try to reproduce the error using rails tomorrow :)
On Fri, Feb 24, 2012 at 1:43 AM, Mathieu Allaire
<EMAIL_ADDRESS>wrote:

I've tried the working code in ruby console in another controller, still failed. I also tried it in another rails project, didnt work. I don't see anything like the answer in the SO thread :(
I'm out of idea now :/

Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/issues/2#issuecomment-4151051

source 'https://rubygems.org'

gem 'rails', '3.2.1'

gem 'pg'
gem 'parse-ruby-client'
gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git'

group :production do
  gem 'unicorn'
  gem 'newrelic_rpm'
end

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer'

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

Thanks alot!

I think it might be a as_json to_json issue, but not sure... See:
http://jonathanjulian.com/2010/04/rails-to_json-or-as_json/
http://stackoverflow.com/a/3630186
http://stackoverflow.com/questions/2556468/override-as-json-or-to-json-model-class-name

Yes, you were right. Just added as_json method to all classes and the gem is working fine in a rails project.

Is this a 'bug' ? Is it the responsibility of the gem to use as_json
or we should overwrite something in the project? Perhaps could you
share what you modified?
Thank you!
Sent from my iPhone
Envoyé de mon iPhone
On 2012-02-25, at 1:30 AM, "Leandro S."
<EMAIL_ADDRESS>wrote:

Yes, you were right. Just added as_json method to all classes and the gem is working fine in a rails project.

Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/issues/2#issuecomment-4171114

Here's what I modified:
https://github.com/lsiqueira/parse-ruby-client/commit/bb4135fff94e35d086aff505706624f50f887411

Awesome! Nice work @lsiqueira !
Would you mind explaining a bit more in details what was the problem in this particular situation?
Also, I see you changed the previous method to as_json but kept a to_json method, that's simply to not break previous compatibility? Or we have to use as_json with rails and to_json for everything else?
Thank you!

@allaire, did this fix work for you?
In a perfect world, I'd like to have a test case that includes a Rails environment. However, if this did fix the issue, I'm inclined to just close it and not worry about it.

@allaire
When using the gem inside a Rails project the to_json method inside datatypes.rb was not being called, the as_json method was the one being used. I read this answer before realizing that:  http://stackoverflow.com/a/6880638/106637
@adelevie
I don't know how to create a test case that includes a Rails environment, do you? If not, this is something we should add to the project's todo list :)

Patch is fixing the issue, clever work @lsiqueira and thanks for the explanation!

Also, may I ask what's the best way to test a patch like that? Is it by modyfing the gem directly (in my case on Mac in the .rvm folder) ?

Nope, that would be a bad way to do it, imo.
Clone the repo somewhere. Run rake test as needed. To use your local gem in another app, point to it in that app's Gemfile:
gem "restivus", :path => "../path/to/local/gem"

Then google around for GitHub's procedure on pull requests if you made something you think should be in the main repo.

That make sense, thank you.
By the way, you can accept that pull request, it works flawlessly for my issue. So I'll close this, thank you.

I did merge the request.

Thank you guys!


Add title bar for code blocks in the Demo app CodeSyntaxHighlightView

Add examples to illustrate adding an information bar with a copy button above a code block.

This is a great PR @moophis. Can we merge this PR @gonzalezreal?

This is awesome, well done @moophis !

Seems quite useful feature @gonzalezreal? Any comments of how we can restructure the PR so it would fit your vision of swift-markdown-ui? Asking because the PR been for 9 months.

Thanks!


[BUG]: HuggingFace/Xenova blocking download from user IP

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
I'm using latest AnythingLLM Version 1.1.1 (1.1.1) on a M2 Mac Studio.
I tried to embed some PDF or TXT files with default LanceDB, fetch failed.
Then I get Chroma from github installed and ran locally with below command, NOT using Docker. Which is suggested by Chroma github.
pip install chromadb
chroma run --path /Volumes/Thunder_1T/chromaDB/

Then I tested heartbeat, working.
Then I tried to embed same docs again, still failed. Since I tried with LanceDB getting same error from AnythingLLM, I guess I should report the bug here instead of Chroma. If it's a bug on Chroma, please excuse me. Not a tech guy.
Below finds running logs when error pops.
            (((((((((    (((((####
         ((((((((((((((((((((((#########
       ((((((((((((((((((((((((###########
     ((((((((((((((((((((((((((############
    (((((((((((((((((((((((((((#############
    (((((((((((((((((((((((((((#############
     (((((((((((((((((((((((((##############
     ((((((((((((((((((((((((##############
       (((((((((((((((((((((#############
         ((((((((((((((((##############
            (((((((((    #########

Running Chroma
Saving data to: /Volumes/Thunder_1T/chromaDB/
Connect to chroma at: http://localhost:8000
Getting started guide: https://docs.trychroma.com/getting-started
INFO:     [27-02-2024 21:37:24] Set chroma_server_nofile to 65535
INFO:     [27-02-2024 21:37:24] Anonymized telemetry enabled. See                     https://docs.trychroma.com/telemetry for more information.
DEBUG:    [27-02-2024 21:37:24] Starting component System
DEBUG:    [27-02-2024 21:37:24] Starting component OpenTelemetryClient
DEBUG:    [27-02-2024 21:37:24] Starting component SimpleAssignmentPolicy
DEBUG:    [27-02-2024 21:37:24] Starting component SqliteDB
DEBUG:    [27-02-2024 21:37:24] Starting component QuotaEnforcer
DEBUG:    [27-02-2024 21:37:24] Starting component Posthog
DEBUG:    [27-02-2024 21:37:24] Starting component LocalSegmentManager
DEBUG:    [27-02-2024 21:37:24] Starting component SegmentAPI
INFO:     [27-02-2024 21:37:24] Started server process [3055]
INFO:     [27-02-2024 21:37:24] Waiting for application startup.
INFO:     [27-02-2024 21:37:24] Application startup complete.
INFO:     [27-02-2024 21:37:24] Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO:     [27-02-2024 21:37:48] ::1:54252 - "GET /api/v1/heartbeat HTTP/1.1" 200
ERROR:    [27-02-2024 21:37:48] Collection test does not exist.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/anyio/streams/memory.py", line 97, in receive
return self.receive_nowait()
^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
raise WouldBlock
anyio.WouldBlock
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 159, in call_next
message = await recv_stream.receive()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/anyio/streams/memory.py", line 112, in receive
raise EndOfStream
anyio.EndOfStream
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/server/fastapi/init.py", line 82, in catch_exceptions_middleware
return await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in call
with collapse_excgroups():
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py", line 155, in exit
self.gen.throw(value)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
raise exc
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in call
response = await self.dispatch_func(request, call_next)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/server/fastapi/init.py", line 96, in check_http_version_middleware
return await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/routing.py", line 758, in call
await self.middleware_stack(scope, receive, send)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/routing.py", line 778, in app
await route.handle(scope, receive, send)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/routing.py", line 299, in handle
await self.app(scope, receive, send)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/routing.py", line 79, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/routing.py", line 74, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/fastapi/routing.py", line 278, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/fastapi/routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/auth/fastapi.py", line 242, in wrapped
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/server/fastapi/init.py", line 440, in get_collection
return self._api.get_collection(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/chromadb/api/segment.py", line 261, in get_collection
raise ValueError(f"Collection {name} does not exist.")
ValueError: Collection test does not exist.
INFO:     [27-02-2024 21:37:48] ::1:54254 - "GET /api/v1/collections/test?tenant=default_tenant&database=default_database HTTP/1.1" 500
Are there known steps to reproduce?
Launch Chroma locally
Launch AnythingLLM
Set Vector DB to Chroma
Try to embed any docs in a workspace in AnythingLLM

Oddly enough, this is just because we are querying the vectors for a collection which does not exist. This should not exit the Chroma process though. Will look into it. Could be a bug with Chroma

Thanks a lot, it also appeared when I use LanceDB.

Did you get the fetch error when using LanceDB? That is local so there is no fetching at all. Did you get a different message?

I got same fetch failed error popup when using LanceDB.
Which happened at "save and embed" step

](url)

When you swapped your Vectordatabase you also clicked "save changes"? Can you screenshot that page as well? There are no external fetch requests when embedding documents with LanceDB

When you swapped your Vectordatabase you also clicked "save changes"? Can you screenshot that page as well? There are no external fetch requests when embedding documents with LanceDB to the DB. The only possible failure would be downloading the embedding model.
Yes, saving VectorDB preferences was successful. Attached Screenshot

Can you additionally check ~/Library/Application Support/anythingllm-desktop/storage/models There should be a folder called Xenova with a subfolder called all-MiniLM-L6-v2.
If it does not exist, that is the fetch failure and could be permissions or firewall related.

I checked, there is even NO anythingllm-desktop folder, wierd.
What should I do for next to fix this possible permissions issue?

hm, TLDR; you need to get this repo closed into the models/Xenova/all-MiniLM-L6-v2 folder https://huggingface.co/Xenova/all-MiniLM-L6-v2/tree/main
In the past we have encountered this when HF is IP-blocking the user's IP either due to sanctions, abuse, VPN blocking or otherwise.
Looks like the primary way to avoid this is to pre-bundle the embedder with the app, which is not ideal. But that is the core issue. Alternatively, you can swap to another embedder like a local Ollama embedder, OpenAI, or otherwise.
That is the core issue though. Thank you for your help tracing this.

hm, TLDR; you need to get this repo closed into the models/Xenova/all-MiniLM-L6-v2 folder https://huggingface.co/Xenova/all-MiniLM-L6-v2/tree/main
In the past we have encountered this when HF is IP-blocking the user's IP either due to sanctions, abuse, VPN blocking or otherwise.
Looks like the primary way to avoid this is to pre-bundle the embedder with the app, which is not ideal. But that is the core issue. Alternatively, you can swap to another embedder like a local Ollama embedder, OpenAI, or otherwise.
That is the core issue though. Thank you for your help tracing this.

Fixed, thanks! Altough embedding all-MiniLM-L6-v2 model into the app bundle is not that ideal. But to be honest, comparing to other solutions such like privateGPT which needs users to know install from github/homebrew etc, I do feel AnythingLLM is much more smoother for regular users.
This is great for on-boarding, so maybe pre-bundle with the embedder is not a bad way. And all-MiniLM-L6-v2 is not so big at all.

Thanks a lot for swift reaction and help!

@gabrie If anything, we will at least host that model on our own CDN so that this critical piece is not missing. Really want to do everything we can to prevent bloating the app or adding models someone may not ever even use.
Closing as fixed. This issue has popped up some other places so I'm glad we got a fix. If you would like to comment how you downloaded and copy/pasted the folder from HF that would be appreciated as they do not have a "Download repo" button on their UI.

Steps to fix
1/ Go HF
2/ Download everything manually

3/ Copy all downloaded file into ~/Library/Application Support/anythingllm-desktop/storage/models
After you finished, the folder should looks like below

4/ Go AnythingLLM, try embed a PDF, it should work.

@timothycarambat -- thanks for the help! I am in China, and while my browser works as it uses my VPN, probably the app bypasses the system proxy (I know LM Studio also doesn't have proxy support and I download models manually there, while GPT4All does use proxy and connects to HF without issue).
I removed the ATLLM app, then reinstalled it (now V1.2.0) and manually downloaded the model - In ~/Library/Application Support I hope no typos:

Then restarted the app, but I get the same error. Starting from the console I see this error:
Adding new vectorized document into namespace brain
[INFO] Using Native Embedder
Chunks created from document: 147
[INFO] Using Native Embedder
[INFO] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB)

Failed to load the native embedding model: TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processImmediate (node:internal/timers:447:9)
    at async getModelFile (file:///Applications/AnythingLLM.app/Contents/Resources/backend/node_modules/@xenova/transformers/src/utils/hub.js:471:24)
    at async getModelJSON (file:///Applications/AnythingLLM.app/Contents/Resources/backend/node_modules/@xenova/transformers/src/utils/hub.js:575:18)
    at async Promise.all (index 0)
    at async loadTokenizer (file:///Applications/AnythingLLM.app/Contents/Resources/backend/node_modules/@xenova/transformers/src/tokenizers.js:61:18)
    at async AutoTokenizer.from_pretrained (file:///Applications/AnythingLLM.app/Contents/Resources/backend/node_modules/@xenova/transformers/src/tokenizers.js:4348:50)
    at async Promise.all (index 0) {
  cause: ConnectTimeoutError: Connect Timeout Error
      at onConnectTimeout (node:internal/deps/undici/undici:8422:28)
      at node:internal/deps/undici/undici:8380:50
      at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13)
      at process.processImmediate (node:internal/timers:476:21) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
}
addDocumentToNamespace fetch failed
Failed to vectorize An integrative, multiscale view on neural theories of consciousness
[TELEMETRY SENT] {
  event: 'documents_embedded_in_workspace',
  distinctId: 'ec9b4015-bd21-4c0c-98dc-6c52323fa87a',
  properties: {
    LLMSelection: 'lmstudio',
    VectorDbSelection: 'lancedb',
    runtime: 'desktop'
  }
}
[Event Logged] - workspace_documents_added

For some reason it didn't use the manually downloaded model and still tries to download.

Steps to fix 1/ Go HF 2/ Download everything manually
3/ Copy all downloaded file into ~/Library/Application Support/anythingllm-desktop/storage/models After you finished, the folder should looks like below
4/ Go AnythingLLM, try embed a PDF, it should work.

same as @iandol, download and save there. still not working

The ... in my previous ss was just from my file manager, the name itself is the same as on HF.

🤔 , are the permissions on the file able to be accessed by the docker-container/user profile? they may be a different privilege level and that is why they are not found

Permissions were 644. macOS can sometimes have annoying security restrictions, so I added the desktop app to "Full disk access" and removed all download metadata. Restart the app and this is now working for me. Thanks @timothycarambat for your patience... Let's hope proxy support in a future release will make this more robust.

https://github.com/Mintplex-Labs/anything-llm/issues/966

@gabrie Didn't find ~/Library/Application Support/anythingllm-desktop/storage/models

@CheatingOP there is a storage folder in that image. Open that, create models folder if it does not exist, then follow the thread above

I got same fetch failed error popup when using LanceDB. Which happened at "save and embed" step
  ](url)
me to

Hi, i'm having the same error,
but i'm running anythingllm as windows desktop application,
and i'm using ollama with llama3.1
I don't get how to solve it,
i have even trying on running ollama with a finetuned gguf model
{"level":"error","message":"Failed to vectorize fileDescription.txt","service":"backend"}
{"level":"info","message":"\u001b[32m[TELEMETRY SENT]\u001b[0m {"event":"documents_embedded_in_workspace","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"LLMSelection":"ollama","Embedder":"native","VectorDbSelection":"lancedb","TTSSelection":"native","runtime":"desktop"}}","service":"backend"}
{"level":"info","message":"\u001b[32m[Event Logged]\u001b[0m - workspace_documents_added","service":"backend"}


Run Asim tests and KQL to arm template on forked repos

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hi @sivanguetta, could you please respond on above comments. Thanks

Hi @sivanguetta, please respond on above comments. Thanks

@v-atulyadav : this project is on hold at the moment due to a change in priorities.

Tagging @TomerAligaev .


gh #74 Add back Deprecated APIs to resolve DS related build failures

The removal of deprecated APIs causes DS related errors.
When latest tag is updated in [devicesettings-hal-headers2_git.bb],  the below error is seen:
17:14:27  | dsAudio.c:3553:15: error: 'dsGetAudioEncoding' was not declared in this scope; did you mean 'dsAudioEncoding_t'?
17:14:27  |  3553 |         ret = dsGetAudioEncoding(param->handle, &_encoding)
This error is from ds/rpc/srv:
https://gerrit.teamccp.com/plugins/gitiles/rdk/components/generic/devicesettings/generic/+/24Q3_sprint/rpc/srv/dsAudio.c#3553
Previously DS rpc/srv was using the headers from interface. The removal from this header causes issues in above layers
So as a workaround, adding back the deprecated APIs.
These APIs can be removed from interface after doing a complete clean up on all layers
DS Audio:
dsResetBassEnhancer
dsResetSurroundVirtualizer
dsResetVolumeLeveller
dsResetDialogEnhancement
dsSetAudioDucking
dsGetHDMIARCPortId
dsIsAudioLoopThru
dsEnableLoopThru
dsGetAudioDB
dsSetAudioDB
dsGetAudioMaxDB
dsGetAudioMinDB
dsGetAudioOptimalLevel
dsSetAudioEncoding
dsGetAudioEncoding
dsGetAudioDelayOffset
dsSetAudioDelayOffset
DS Video Port:
dsSetActiveSource
dsEnableDTCP
dsIsDTCPEnabled

@krishna-1809 , can you describe more on what error is seen due to these API's.

@krishna-1809 , can you describe more on what error is seen due to these API's.

Hi @srinivasgtl ,
Updated description

your using versioning incorrectly if your doing this.
There's no going back, depricated API's are gone, use the older version of the HEADER FILE & TESTING SUITE if you want to continue to use them.

This PR is not required anymore as all corresponding dependencies have been added in HAL .The HAL changes are in sync with latest header tag version


It does not contain validation for Data Service Name

Description:
When you create a new Data Service inside a Data Service Project, it does not have any validation for names that allowed where special characters are allowed.
As an example we can create something like below.
DataService(4@!#$)
<@#$%>

Fixed in - https://github.com/wso2/devstudio-tooling-dss/pull/164


Trouble reading legacy PKCS#12 files produced with OpenSSL 1.1.1

tested with 86522324d2a398ad3ed2f648a66b62b0a6176258 :
../openssl pkcs12 -in store.p12 -info

results in:

Enter Import Password:
MAC: sha1, Iteration 2048
MAC length: 20, salt length: 8
PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
Error outputting keys and certificates
80323002737F0000:error:0308010C:digital envelope > routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:330:Global default library context, Algorithm (RC2-40-CBC : 62), Properties ()

If store.p12 was written with version 1.1.1f
The man page for the pkcs12 command recommends the   -legacy option for such problems.
But
../openssl pkcs12 -legacy -in store.p12 -info

results in

openssl pkcs12: unable to load provider legacy

The legacy provider is not loaded by default.

The error message is confusing. It need some additional reading to understand it.

In other words, user guidance on loading legacy PKCS12 stores is poor.

A related issue reported to me by @Akretsch is:
After successfully producing a PKCS#12 file that can be handled directly by OpenSSL 3.0-alpha (using AES etc. instead of RC2) cannot be loaded with Java 8 because the algorithms are too new for that -
So with PKCS#12 there is both a backward and a forward compatibility issue :frowning_face:

Then use -legacy. I do not think we should be changing the defaults back.

I think his point was that guidance how to properly use -legacy for such cases is weak.

OK, any PR improving the guidance is certainly welcome.

openssl-pkcs12.pod.in reads as if using -legacy is sufficient, e.g.,
apps/openssl pkcs12 -in test/certs/v3-certs-RC2.p12 -passin pass:v3-certs -info -legacy

but this gives me
pkcs12: unable to load provider legacy
00E15AA10C7F0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/usr/local/lib64/ossl-modules/legacy.so): /usr/local/lib64/ossl-modules/legacy.so: cannot open shared object file: No such file or directory
00E15AA10C7F0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:162:
00E15AA10C7F0000:error:078C0105:common libcrypto routines:provider_init:init fail:crypto/provider_core.c:580:name=legacy

It turns out that in addition -provider-path providers
or OPENSSL_MODULES=providers
is needed in case OpenSSL 3.0(-alpha) is not installed system-wide.

Doc fix is in #14891.

In C, the function PKCS12_parse now fails since upgrading to OpenSSL 3.0.5.   I executed the command
export NODE_OPTIONS=--openssl-legacy-provider
but it did not help.  I am running under Redhat linux 8.6-x86_64.  How do I get this to work again???

Found the solution, added the call
OSSL_PROVIDER_load(NULL, "legacy");
before the pkcs12_parse function call and now everything works.

Hi @stone14z,
Can you please provide your full command how it looks? When I try to execute the same I'm getting the below error
My command looks like: openssl OSSL_PROVIDER_load(NULL, "legacy"); pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key
Output: Invalid command 'OSSL_PROVIDER_load(NULL,'; type "help" for a list.
My actual command is openssl pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key, and since you mentioned use OSSL_PROVIDER_load(NULL, "legacy"); before pkcs12, I had added accordingly. Appreciate your response.

I was running openssl 3.0 configure to allow the openssl 1.1.1 API.  The
pkcs12 file had been built using RC2.  In my C code, I could get it to work
by including the line OSSL_PROVIDER_load(NULL, "legacy") otherwise I would
get a failure.  I ended up removing the OSSL line, extracted the
certificates from the pkcs12 file and repackaged them into a new pkcs12
file using AES.  I then had the tech writers add a notification to the end
user that deprecated ciphers are no longer supported.
Have you verified that you can extract the certificates from the pkcs12
file from the command line?  That is the first step in figuring out what is
going on.
On Wed, Dec 27, 2023 at 6:13 AM nareshganugu @.***>
wrote:

Hi @stone14z https://github.com/stone14z,
Can you please provide your full command how it looks? When I try to
execute the same I'm getting the below error
My command looks like: openssl OSSL_PROVIDER_load(NULL, "legacy"); pkcs12
-in converted.pfx -nocerts -out deploy.certname.new.key
Output: Invalid command 'OSSL_PROVIDER_load(NULL,'; type "help" for a list.
My actual command is openssl pkcs12 -in converted.pfx -nocerts -out
deploy.certname.new.key, and since you mentioned use
OSSL_PROVIDER_load(NULL, "legacy"); before pkcs12, I had added accordingly.
Appreciate your response.
—
Reply to this email directly, view it on GitHub
https://github.com/openssl/openssl/issues/14790#issuecomment-1869815455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWTSVUIK76OZHLLKM3RPFDYLNK2PAVCNFSM42QMARDKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWHE4DCNJUGU2Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

@nareshganugu you tried combining the API-level C function call OSSL_PROVIDER_load(NULL, "legacy")
with the CLI-level command invocation openssl pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key, which makes little sense.
Instead, you need to add to your command the -legacy option
(and possibly a hint where the legacy provider lib can be found, such as -provider-path path/to/providers).

As I responded, I used the -legacy option on the pkcs12  cli to dump the
certificates in the pkcs12 file.  I then repackaged the certificates using
the cli so that the file no longer used deprecated ciphers.  After that,
the OSSL C API was no longer needed.
Tom
"It is insane to me that cryptocurrencies are still a thing."

-- Bruce Schneier  20 April 2022*

On Wed, 27 Dec 2023 at 13:44 David von Oheimb @.***>
wrote:

@nareshganugu https://github.com/nareshganugu you tried combining the
API-level C function call OSSL_PROVIDER_load(NULL, "legacy")
with the CLI-level command invocation openssl pkcs12 -in converted.pfx
-nocerts -out deploy.certname.new.key, which makes little sense.
Instead, you need to add to your command the -legacy option
(and possibly a hint where the legacy provider lib can be found, such as -provider-path
path/to/providers).
—
Reply to this email directly, view it on GitHub
https://github.com/openssl/openssl/issues/14790#issuecomment-1870001363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWTSVVEXKHWMCRXOZYD6PLYLO7VRAVCNFSM42QMARDKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGAYDAMJTGYZQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I already tried running command by adding -legacy at the end of the command and I get below error.
Command: openssl pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key - legacy
Error: pkcs12: unable to load provider legacy
Hint: use -provider-path option or OPENSSL_MODULES environment variable.
If my command is openssl pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key -legacy, what should I tweak to successfully extract certificate. The same command worked few months before and now its not working.

@DDvO @stone14z I already tried running command by adding -legacy at the end of the command and I get below error. Command: openssl pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key - legacy Error: pkcs12: unable to load provider legacy Hint: use -provider-path option or OPENSSL_MODULES environment variable.
If my command is openssl pkcs12 -in converted.pfx -nocerts -out deploy.certname.new.key -legacy, what should I tweak to successfully extract certificate. The same command worked few months before and now its not working.

It is reported straight in the error message - apparently the legacy provider cannot be loaded because it is not installed at the place the openssl library expects it to be installed.

I have installed Openssl Version: OpenSSL 1.1.1w  11 Sep 2023 and using version my same old commands worked without using -legacy at the end of the command.

Using the -legacy option should only be required when using OpenSSL 3.x.
Glad you got it working though.
Tom
"It is insane to me that cryptocurrencies are still a thing."

-- Bruce Schneier  20 April 2022*

On Sat, 30 Dec 2023 at 02:14 nareshganugu @.***> wrote:

I have installed Openssl Version: OpenSSL 1.1.1w 11 Sep 2023 and using
version my same old commands worked without using -legacy at the end of the
command.
—
Reply to this email directly, view it on GitHub
https://github.com/openssl/openssl/issues/14790#issuecomment-1872286333,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWTSVVRZNQJYPNDQJE6AODYL4JC3AVCNFSM42QMARDKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGIZDQNRTGMZQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


fix(neo-tree): correctly set up cwd

After taking another look at #3088 and #3090, I remembered another issue about Neo-tree, which used an autocommand to lazy-load it instead of directly requiring it at startup (see this comment).
I then tested again with the initial LazyVim implementation in init function and saw that when you do nvim some_directory/, then it opens 2 buffers (neo-tree on the left and an empty unnamed buffer on the right). I did verbose pwd on both buffers and I saw different results. neo-tree buffer had [tabpage] some_directory (the same as the file argument passed when invoking nvim with a directory), but the empty unnamed buffer had window current_working_directory (the directory where Neovim was invoked from). Consequentially, if you close neo-tree and open it again it will open in the current working directory where Neovim was invoked from as opposed to where it was initially opened (the directory name of the file argument passed to Neovim).
After that I tried to lazy-load neo-tree in LazyVim with an autocommand as suggested in the comment that I linked to and another issue at neo-tree repo for correctly hijacking netrw behavior without disabling netrw and saw that the results were different. With lazy-loading neo-tree both neo-tree buffer and the unnamed empty buffer show the same result when doing verbose pwd, namely [tabpage] some_directory (which is the name of the directory that was passed as file argument while invoking nvim).
I also saw in Astronvim repo, which was mentioned as working correctly in one of the issues, and saw that instead of deleting the augroup of the autocommand it just uses return true as seen here, but I left the initial deletion of augroup the traditional way, because I honestly don't understand how return true accomplishes self-deletion of the augroup.
I also added BufEnter to clear the root.cache, because for some reason it was not being cleared when doing set_root from neo-tree (which i presumed that it should based on DirChanged event) and now when doing set_root you get the correct directory after closing and opening neo-tree again. Maybe BufEnter is triggered too often for this and this could be done differently? Unfortunately, I can't think of a better approach for this with my limited programming knowledge.
I'd appreciate further input from @folke, as I don't understand why directly requiring neo-tree in the init function shows 2 different cwd in the 2 buffers as opposed to lazy-loading it in an autocommand.
Edit: the above tests were made with vim.g.root_spec = { "cwd" } and filesystem.bind_to_cwd = true, as that was what the OPs of the aforementioned issues wanted, I presume.
Edit 2: feel free to remove the comments. I just left them for clarity.

That’s great. I sometimes get a quirky behavior from neotree and cwd but never found out the problem. I’ll try this!

@georgeguimaraes Please do so and provide any necessary feedback as I might have missed something.

LGTM!
fyi, returning true from an autocmd callback deletes the autocmd.
But in this case, it's better to just use once=true

I tested with a clean lazyvim repo and tried opening two buffers side by side, each buffer has a file in a separate directory. When I tried switching buffer then cwd doesn't change accordingly.

That's because default LazyVim installation uses https://github.com/LazyVim/LazyVim/blob/91fe7ef56815263b6a0f4a5c23c4bd1134c77849/lua/lazyvim/config/options.lua#L13
so the LSP root_dir is used. What are you trying to achieve?

I'm trying to get the nvim-spectre plugin to work per-buffer, but somehow when I trigger nvim-spectre on the 2nd buffer it only search from within the 1st buffer, which is undesirable. I suppose it could be bc of some cwd problem.

In spectre you have to define the path yourself.


Map colors update

Updated color scale used in choropleth visualization
Updated method of selecting colors from scale by way of d3 color & scale
Updated tangent function for normalizing data for color scales

@lazd applied your suggestions and updated the name of my colorscale.


Make checks for missing answers more strict

Previously only presence of one section in the answerfile
has been verified, which led to false-positive preupgrade
reports when some other key has been present in the
dialog section instead of the required one.
OAMG-7521

Can one of the admins verify this patch?

/rerun

@pirat89 This should be it.


Documentation Request: Full SSR Example

It would be nice if there was a full, runnable example showing how to work with SSR. For example, in a minimal example such as
import 'isomorphic-fetch'
import 'regenerator-runtime/runtime'
import { Environment, RecordSource, Store } from 'relay-runtime'

// NOTE:
// This import currently doesn't work out of the box, as the source is not transpiled and
// `import` statements still exist in output, which Node 8 does not support.
const RRNL = require('react-relay-network-modern/node8')

const network = new RRNL.RelayNetworkLayer([
  urlMiddleware({ url: "https://metaphysics-staging.artsy.net" }),
])

const source = new RecordSource()
const store = new Store(source)

const relayEnvironment = new Environment({
  network,
  store
})

How does one then wire up SSR? Any links / examples / guides would be appreciated.

It very complicated task with<EMAIL_ADDRESS>with many hacks. Really cannot find time to write an article.
Shortly, about main hacks...
Just render app two times:

first time for spinning up queries
await while network layer executes queries
render second time with modified queryRenderer which takes data from store.

Thanks for the gist! 👍 Will investigate further.

For those who are curious, I was able to combine a few approaches and swap react-relay-network-modern in here and then mount like so to achieve SSR.
(Thanks @robrichard for the approach.)

@damassi I just published a new middleware for SSR https://github.com/nodkz/react-relay-network-modern-ssr
Take a look.

@Blackening999 sorry I do not have the public end-to-end example but
https://github.com/nodkz/react-relay-network-modern
with plugin
https://github.com/nodkz/react-relay-network-modern-ssr
we are using in production.
It's really complex task to describe all nuances and provide simple and ready to use boilerplate. We have a quite difficult setup (babel, webpack, hot-schema-rebuild, hot-server-restrart, hot-reload, splitting with react-loadable, express with a bunch of routes, proxied RelayStore and much more).
You may start a public simple demo repo with server/client setup. Where it can be easily started via yarn start. And I'll help you to realize SSR on your simple demo app.
Somebody should create a simple isomorphic app in one repo. But I have no time for this.

@nodkz thank you!
@damassi this is made my day!
looks great!


✏ Fix typo "might me" -> "might be" in docs/en/docs/tutorial/schema-extra-example.md

Oops, good catch, thanks @dbrakman! :mag:


Remove version: Pidgin.Pidgin version 2.14.13

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Add 'No items' field when use ng-repeat in tbody

I use ng-repeat in tbody (becouse my table have many nested layers), and when add ts-repeat, my rows show correct and sorting correct, but in top add row with 'No items' content.

you have to add the css file


Location of DataFactoryExpression to support Data Factory Expression

Clear and concise description of the problem
To be able to support dfe-string, dfe-int, dfe-key-value-pairs and dfe-list-generic, we decided to have a common type like below
model DataFactoryExpression {
	type: "Expression";
	value: string;
}

model MyModel {
  myProp : int32 | DataFactoryExpression
}

We need to finalize the location of the common model DataFactoryExpression.
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

@markcowl schedule for dpg discussion


LWM2M 1.1 registration

This updates the registration procedure for LWM2M 1.1. Several changes were needed to make this happen.
First, the build needed to be updated to supply which version of the LWM2M spec to build for.
The new data types for LWM2M 1.1 (Unsigned Integer and Corelnk) are added. This wasn't made specific to the LWM2M 1.1 build because it is only internal and not exposed through the protocol.
Transaction callbacks were changed to pass the context. It is only used here for the registration procedure, but may have additional uses.
The tests were updated to actually run all the tests and to test unsigned integer conversions. Existing number conversion tests were expanded and made to test conversion of the same numbers both ways.
The example client and bootstrap server had some of the new optional Server object resources added to facilitate testing.
Several minor bugs were fixed and minor changes made to reduce compiler warnings and improve logging output.

Thank you for all this work. I'm still reviewing it.

I'm having second thoughts about adding the Corelnk type. I don't think it would actually be used as a type for a resource. What do you think, should I revert cc55289?
I realize this is a large chunk of changes, but some of it didn't make sense unless put in context. I'll try to keep future changes smaller and more focused. I should have more ready to go in the next day or so, but they build on some of this so I'll wait for this pull request to complete before creating additional pull requests.

Hi,
Why having second thoughts ? CoreLnk type is a possibility in 1.1 so it is better to be able to handle it in wakaama.
It looks fine for me.


add Sentinel fallback process

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #529 (ce42205) into master (8be3033) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #529      +/-   ##
============================================
- Coverage     15.51%   15.51%   -0.01%
  Complexity      312      312
============================================
  Files           251      251
  Lines          5175     5176       +1
  Branches        489      489
============================================
  Hits            803      803
- Misses         4280     4281       +1
  Partials         92       92

Impacted Files
Coverage Δ
Complexity Δ

...romara/soul/common/dto/convert/SentinelHandle.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

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


How to play?

do I need to download something?

There is a extensive help document https://planesoftlessa.com/information/home

Do I have to download the code as a zip, or does it have to be on windows, or...?

Hahahahaha
Never mind, I found it :D


Create custom image for tls cassandra

Cuts off ~2mins from cassandra_int_tests total runtime. (cuts ~1 min off of 2 integration tests)
also cuts 2min off the total runtime for CI benchmarks (1 TLS bench and every bench is run twice in CI)
Needed to create a separate image as we need to modify the config file to set TLS.
I also noticed the regular image cassandra.yaml had some experimental features enabled so I disabled those.

I thought we just needed to provide the keystore to enable TLS?

We also need to set client_encryption_options to true


Need to blacklist Earlgrey_Verilator_01_05_21 on msys2

@hs-apotell, you have a list of blacklisted designs, but that list does not seem to work on msys2.
Yet, there is a "Lowmem option is ignored on this platform" warning on this platform.
Please blacklist this design. I'm not sure of the logic in your blacklist script in regard to platforms.
========================================================================================================================
diff C:\Surelog\third_party\tests\Earlgrey_Verilator_01_05_21\sim-icarus\Earlgrey_Verilator_01_05_21.log C:\Surelog\build\regression\Earlgrey_Verilator_01_05_21\Earlgrey_Verilator_01_05_21.log
--- C:\Surelog\third_party\tests\Earlgrey_Verilator_01_05_21\sim-icarus\Earlgrey_Verilator_01_05_21.log
+++ C:\Surelog\build\regression\Earlgrey_Verilator_01_05_21\Earlgrey_Verilator_01_05_21.log
@@ -1 +1,2 @@
-[INF:CM0023] Creating log file ../../../../build/tests/Earlgrey_Verilator_01_05_21/slpp_all/surelog.log.
+Lowmem option is ignored on this platform

Fixed by #2632


Issue with Manifest with Hubitat Package Manager

Hi, I just loaded up Hubitat Package Manager and I noticed that your manifest threw an error. It doesn't effect me but I thought you might like to know.
app:1632022-01-24 05:16:42.648 pm errorFound a bad manifest https://raw.githubusercontent.com/scruffy-sjb/Hubitat_HPM/main/Heiman/ZWave_Smoke/packageManifest.json. Please notify the package developer.
app:1632022-01-24 05:16:42.459 pm infoRetrieving list of installed drivers
app:1632022-01-24 05:16:42.305 pm infoRetrieving list of installed apps
app:1632022-01-24 05:16:42.288 pm errorError downloading https://raw.githubusercontent.com/scruffy-sjb/Hubitat_HPM/main/Heiman/ZWave_Smoke/packageManifest.json: Received response 404
app:1632022-01-24 05:16:29.307 pm infoDownloading package manifests

Thanks

Thanks for letting me know.
I’ll try work out what’s wrong….
Simon
From: JoshFink @.>
Sent: Monday, January 24, 2022 16:23
To: scruffy-sjb/Hubitat_HPM @.>
Cc: Subscribed @.***>
Subject: [scruffy-sjb/Hubitat_HPM] Issue with Manifest with Hubitat Package Manager (Issue #1)
Hi, I just loaded up Hubitat Package Manager and I noticed that your manifest threw an error. It doesn't effect me but I thought you might like to know.
app:1632022-01-24 05:16:42.648 pm errorFound a bad manifest https://raw.githubusercontent.com/scruffy-sjb/Hubitat_HPM/main/Heiman/ZWave_Smoke/packageManifest.json. Please notify the package developer.
app:1632022-01-24 05:16:42.459 pm infoRetrieving list of installed drivers
app:1632022-01-24 05:16:42.305 pm infoRetrieving list of installed apps
app:1632022-01-24 05:16:42.288 pm errorError downloading https://raw.githubusercontent.com/scruffy-sjb/Hubitat_HPM/main/Heiman/ZWave_Smoke/packageManifest.json: Received response 404
app:1632022-01-24 05:16:29.307 pm infoDownloading package manifests
Thanks
—
Reply to this email directly, view it on GitHubhttps://github.com/scruffy-sjb/Hubitat_HPM/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEXVRWTT2BMLCYFJ544R5C3UXXGNRANCNFSM5MWTYDOQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>


Algolia Dashboard still warns about outdated client

We were previously using version 2.9.0 of your client and so we updated to 2.10.0. However the Algolia Dashboard is still warning us that we are using an outdated client and simply says under Operations -> API Client tab: "Critical update (2.10.0)".

We also occasionally see the following on the Dashboard:

Do you mind continuing this issue on support. Could you sent an e-mail to<EMAIL_ADDRESS>with a link to this issue?
I'll handle it directly in support.
Thanks


automated visualisation

Add some kind of visualisation.
@marusazerjal  what do you want to see? :)

Components in XY, XU etc., together with the background to see if we missed anything.
While photometry is not an input, it would be useful to add an option to pair the two datasets and plot a CMD to see if members of a component are coeval.

Do you want to prioritise plotting the final result, or plotting intermediate stages?
Do you want an interactive dashboard using plot.ly or something?
@mikeireland Any particular wishes?

In order to have plots of intermediate stages, it would be useful to have parameter dumps of those intermediate stages (i.e. weights and components of each converged mixture fit).
Having intermediate parameter dumps is inherently important - lets you check in on "slow" runs, potentially provides restart points for crashed runs, lets you compare final few runs whose BICs only differ slightly.
The question then arises of how to store these parameter dumps. Especially since this will introduce a strong coupling between the directory structure of parameter dumps and any plotting script hoping to plot each dump.
I'll explore this further in a separate issue.

I'll put off plotting intermediate stages until #36 is completed.
For the current milestone I'll plot final results:
-[ ] Plot all stars, coloured by membership, sized by inverse of component weight, on each feature plane of interest
-[ ] Plot CMD based on Gaia photometry, stars coloured by membership


compute resource nickname

Representing each compute resource with a random string of characters does not feel that user friendly. This seems like the right approach for the backend, but would it be possible to get the user to name each compute resource with a nickname unique to the project and display that here?
This is true in general- I don't really like seeing these random strings of characters in the UI and I think in each case there is probably a more user-friendly way to display this information

Yeah the compute resources, projects and workspaces all have names. I'll keep this open until this is fixed.
Jobs and batches on the other hand don't have names. We can think about that.

@bendichter This has been fixed for compute resource display throughout. Let me know if you see any other instances of this, or have ideas on how to reduce the amount of random text.


Implement ImageHandler Class

Create an ImageHandler class in the framework to handle image conversion to WebP, manage alt attributes, and generate <picture> elements for responsive image rendering.

[x] #32
[x] #33
[x] #34
[x] #35
[x] #36

Done.
PR: #39


Add "Create new conversation" button/feature

Each conversation has a memory (history) which should be used in the window context

done


Add bpfman downstream container to build bpfman

Down stream container to build bpfman and used by konflux pipeline

In general, this looks good to me, I'm just wondering what versions of rust and cargo we're getting and whether there could be any compatibility issues.

In general, this looks good to me, I'm just wondering what versions of rust and cargo we're getting and whether there could be any compatibility issues.

this what we have in rhel9.4 it seems rhel9.5 will have rust 1.79 but this isn't something we have control over

Looks like currently stable has 1.80.1 and nightly is on 1.82.0. So there will probably be issues at some point.


Updating e2e tests

Coverage remained the same at 97.753% when pulling 8c932c0705e0a2ec0f565c1550b46a0660a51a95 on roberttapia:master into 3a2fabc029cbd20f041819d5a9a236de7e72a1bb on unosquare:master.


Spotube isn't openning

Hello,
This the first issue I open ever (and my English is perfectible), so, sorry if I don't do it the right way !
So first well done ! The extension is very good, it so helpful, I almost stopped listening to music because the new songs I discover,
was not in my Spotify playlist, so thanks for the extension !
My ISSUE :
After a time the extension stop working, I just reinstalled it, and it work perfectly fine, but it append two times, and I guess it will append more in the future, I don't know what info's I can send you to help solve this but,
I use it on Firefox, version 106.0.2 on Garuda Linux (Arch Based)
Thanks for the extension, if I can help you to solve it, I will be more than happy !

More info :
It append also on my Mac, Ventura 13.0, with Firefox version 106.0.3

Thank you very much Luke, if I can help you more, I will be very happy !


Deprecated Api keys?

Can you add in documentation how this can be used with API tokens?

Just use it same way than user token.

I am trying to use from jitpack the below version.
	<dependency>
		<groupId>com.github.Sybit-Education</groupId>
		<artifactId>airtable.java</artifactId>
		<version>0.2.2</version>
	</dependency>

I am passing my API token instead of API Key like below
airtable = new Airtable().configure("MyUserToken");
I double checked and passing the correct BaseID
Base base = airtable.base("MyBaseID");
However it fails always with NOT_FOUND
So do we need to do anything else to make it work with user token instead of API KEY?

Hi @jaydengregit,
it should normally be enough if you pass the API key instead of user key. Probably you have a typo in the table name? My fault often is to forget the case sensitivity: If your Table has the name "TestTable" within Airtable you have to refer also in the API using "TestTable".

With release 0.3.0 the api key is marked deprecated an personal access token is added.


"w3 token balance" not working

Hi,
Thanks for great project.
"w3 token balance" not working or my understand might have some issue.
USDC token address
eth: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
matic: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174
gnosis: 0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83
w3 token balance USDC 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c eth
Web3CliError > Contract 'USDC' on chain 'eth' does not exist
w3 token balance 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c eth
Web3CliError > Contract '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' on chain 'eth' does not exist
w3 token balance 0x2791bca1f2de4661ed88a30c99a7a9449aa84174 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c matic
Web3CliError > Contract '0x2791bca1f2de4661ed88a30c99a7a9449aa84174' on chain 'matic' does not exist
w3 token balance USDC 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c matic
Web3CliError > Contract 'USDC' on chain 'matic' does not exist
w3 token balance USDC 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c polygon
Web3CliError > Chain 'polygon' does not exist
w3 token balance 0x4ECaBa5870353805a9F068101A40E0f32ed605C6 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F
Web3CliError > Contract '0x4ECaBa5870353805a9F068101A40E0f32ed605C6' on chain 'gnosis' does not exist
w3 token balance 0x4ECaBa5870353805a9F068101A40E0f32ed605C6
usage: web3cli token balance [-h] [-c CHAIN] [--rpc RPC] token address
web3cli token balance: error: the following arguments are required: address
w3 token balance USDC
usage: web3cli token balance [-h] [-c CHAIN] [--rpc RPC] token address
web3cli token balance: error: the following arguments are required: address
w3 token balance USDC 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F
Web3CliError > Contract 'USDC' on chain 'gnosis' does not exist
w3 token balance 0xddafbb505ad214d7b80b1f830fccc89b60fb7a83 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F
Web3CliError > Contract '0xddafbb505ad214d7b80b1f830fccc89b60fb7a83' on chain 'gnosis' does not exist
w3 token balance 0xDD9185DB084f5C4fFf3b4f70E7bA62123b812226 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F
Web3CliError > Contract '0xDD9185DB084f5C4fFf3b4f70E7bA62123b812226' on chain 'gnosis' does not exist
w3 token balance 0xddafbb505ad214d7b80b1f830fccc89b60fb7a83 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F
Web3CliError > Contract '0xddafbb505ad214d7b80b1f830fccc89b60fb7a83' on chain 'gnosis' does not exist

Ciao @amitkarpe, and thank you for your feedback!
Have you tried using lower-case for the contract name?   This works fine for me:
w3 token balance usdc 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c eth

Cheers,
Cocco

I think I know what the problem is: you need to add the contract first:
w3 contract add usdc 0xddafbb505ad214d7b80b1f830fccc89b60fb7a83 -c gno

And then you can check balance:
w3 token balance usdc 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F -c gnosis

In alternative, I have just pushed version 1.0.2 which supports gnosis chain by default, so if you update (and delete db) then you can just run:
w3gno token balance usdc 0x6f5c9993c98C7a0171BD3EF0E6EeEB9d64DCB39F

Hello @amitkarpe, did you eventually solve your issue?


Can I use Chinese editor?

Submissions and readme file can use Chinese?

Sorry, I cannot understand it ...
In this repository, You need to use the English.


[Request for External] Codeunit 12 "Gen. Jnl.-Post Line", function PostGenJnlLine

Hello,
we need to post additional G/L entries within a RunWithCheck call.
Therefore, please change function PostGenJnlLine to global.
local procedure PostGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; Balancing: Boolean)

Thank you!

You already have this
procedure RunWithCheck(var GenJnlLine2: Record "Gen. Journal Line"): Integer

We tried that function, it does not work, it seems to reset internal values.
THe requirement is to post additional G/L entries within an existing RunWithCheck call.


where is convknrm.config, i cannot find it

Thank you for your attention, If you have any queries, please feel free to contact us


[cxx-interop] Avoid crashing when importing decltype(f<T>())* function parameters

Importing type_traits from libstdc++ currently causes a crash on Linux:
swift-ide-test: tools/clang/include/clang/AST/TypeNodes.inc:33: clang::TypeInfo clang::ASTContext::getTypeInfoImpl(const clang::Type *) const: Assertion `!T->isDependentType() && "should not see dependent types here"' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/egorzh/Builds/swift/swift/bin/swift-ide-test -print-module -module-to-print=std -source-filename=x -enable-cxx-interop
1.	/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/type_traits:1110:10: importing 'std::__do_is_implicitly_default_constructible_impl'
2.	/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/type_traits:1116:22: importing 'std::__do_is_implicitly_default_constructible_impl::__test'

This change fixes the crash by bailing on such functions.

@swift-ci please smoke test

Can your test check that takesDeclTypePointer isn't present in the Swift AST to verify that we bailed?

Can your test check that takesDeclTypePointer isn't present in the Swift AST to verify that we bailed?

Yeap, done.

This is fine, because it's important to make sure we don't crash. But let's track it in an issue. It should work out of the box if we move the check into the if-statment below where we check the alignment.
We always import dependent types as Any so the question is just if the thunk works (which I think it will). We don't care about alignment because it's never going to even make it to the SIL level (we will specialize it during type checking).
You can fix that here and add some tests if you want or just put a comment to that effect in the bug that tracks enabling pointer to dependent support.

Discussed offline, unfortunately the thunks are not being added properly right now. Let's make sure it doesn't crash for now, and will make the importing logic work correctly later.

@swift-ci please smoke test


Is support for index-sensitive computations present or planned?

Some types of computations on arrays are sensitive to the index of the active element to some extent, or are most elegantly expressed in terms of indices. Examples include image generation algorithms which use the position of the active pixel, and some stencil computations (in 1D you can still somewhat live with par_windows(), but in 2D indices have a clear expressivity advantage).
At the moment, the best way of doing this that I am aware of is for people to build their own index-preserving data-splitting operations using iter::split(). But I am surprised that people don't ask for it more often. Is there existing support for this use case in Rayon that I missed, or is it planned someday?

A-ha, just saw that there is an enumerate() method on IndexedParallelIterator. Sounds like it could make this easier. Perhaps I missed it the first time because it was not on ParallelIterator and I did not know about it at the time.


drivers: can: mcux: Persuade the driver to send in chronological order

The mcux CAN controller uses frame ID and position to calculate the
priority, but the driver expects chronological ordering.
This PR mimics this behavior by only using the last free message box.

@alexanderwachter I think the added code could benefit from a couple of comments explaining why this is needed?

@henrikbrixandersen That's true. It looks insane without knowing the reason why it is like it is now.
I'll add some comments.


consider setting default market to None instead of 'from_token'

Thanks again for the hunting!
This was in consideration when I wrote the client. I think the most common use-case is retrieving songs and albums for an actual Spotify user to see. If there is no market specified, unplayable tracks could be returned. If someone wants to search for all possible tracks, they can specify "no market". I think the default should be from_token. If you have any concerns regarding that decision, please do voice them. I'm open to changing it for a good reason.

default should work all cases. for example only with application token
default should return what user asked and not something else.
(for example: s.track('322oaXi0bLkuaNMcZMh52r').id returns '4Tq2fWpX1nLCkMSOPkYb1Y' )

I'm convinced, mainly because of the application token thing, that's a good point!
You have been so helpful and generous filing all these issues, thank you! I'd love to have you in the contributors section. Would you mind sending a pull request on this one? I know it's a minor fix, tests wouldn't even need to be changed as they are explicit about the market.
I'm thinking each market/country argument should be market: str = None instead of market: Union[str, None] = 'from_token' and the docstring should be An ISO 3166-1 alpha-2 country code or 'from_token', removing the None that there is currently.
Let me know if you are available, otherwise I'll fix it right away.

search() still has 'from_token' default


All Functions

Fahad Zaheer

hey I'm Urooj Fatima. Excited for this project

Hello, Its Syed Umer Tariq !!

Hi, I am the new Operations Manager Steve from Vancouver Team.

Hi,
Jawad Ali here
Excited!

Hi! I am Waleed, excited to work on this project


Add dependency version and SemVer badges to README

Would you be up for adding a badge that shows how SemVer compliant / bug free new releases are? I was looking through the data we gather at Dependabot and realised we could put one together, so threw together the below. I've also added a gem version badge, as I always look for that when figuring out what version to use in my Gemfile.

If you click through then there's a description of how it's calculated - basically it takes all of the relevant updates Dependabot has done for projects that use devise and checks what percentage of the time specs pass on the upgrade PR.
The score isn't 100% because the 4.4.2 release broke a few people's tests, but it should steadily climb back up, assuming you're following SemVer.
In future, I'm also planning to build a tool that lets you view the Dependabot data for pre-release updates, so you'd be able to see whether they break anyone's tests before releasing a full release.

Hello @greysteil, thanks for your pull request.
I'm ok with the gem version badge, but I'm not sure about the SemVer one. Your app seems interesting, but there are tough questions to answer when SemVer is the subject. For example, a bugfix that changes an API, or a private API change that people are using - which would break some application's tests.

I'm closing this because it had no recent activity.
If you find that this can still be relevant, feel free to open a new pull request with a similar implementation.
Thank you!

Oh man, sorry, I don't know how I missed this!
I think those are valid points - Dependabot does a lot of Devise updates, so has quite a bit of data to work with, but there are absolutely cases where someone is tapping into private APIs and will be broken by a patch release. It's very hard for Dependabot to understand those cases, although we do now link to failing pull requests (if they're on public repos), so users can figure out what went wrong for themselves (see, for example, the 4.4.1 -> 4.4.2 upgrade). I've been encouraging as many open source apps as possible to use it so that we get good data there.
On the badge, I've also put together this version:

The idea with the above is that any breaks from previous versions are excluded (so in this case, it isn't affected by the CI failures that 4.4.2 saw, since those "breaks" have since been fixed). The folks at webpack are the ones who recommended that version of the badge, and I think it's an improvement - what do you reckon?


Before scroll callback?

This plugin works great. I use it together with Tabby. I trigger Tabby on click and then Smooth Scoll runs to that open tab.
I use DOMtastic and it looks like this:
$('.circles a').on('click', function(){
	$('[data-tab="' + $(this).attr('href') + '"]').trigger('click');
});

Now the page scrolls at the same time as it opens one of the tabs. It works but it would probably be better if there was a "before scroll callback" so it could open the tabs fully before starting the scoll. Now it feels like it does both at the same time. It feels a little jerkily, not so smooth.
What do you think?

If it were me, I'd use tabby's callback function to run Smooth Scroll's animateScroll() method instead of triggering another click event.


Error of making plots an safe results while using simple_hot_water_storage

I simulate a system with heatpump, simple hot water storage and heat distribution sytem.
The simulation itself ends fine. But in the post processing while making plots an saving in folders, there will be always an error in some functions:

Hello, thanks for your comment. Can you say which example you ran and which simulation parameters you chose in your exmaple? We will have a look.

Hi I reproduced it using the hisim example "basic_household_with_new_hp_hds_hws_and_pv.py" . I set the simulation parameters to "one_day_only_with_all_options" instead of "full_year" so that the example does not simulate for so long and the error still occurs when creating plots. Attached is a screenshot of the parameters that I have adjusted. Otherwise I have not changed anything in the example.

Thanks for your support!

Hey,
I just pushed a recent version of this example in the branch "kr-fix-basic_household_with_new_hp_hds_hws_and_pv" and normally it should work now. Maybe before you can pull the main HiSim branch again because we made some changes lately. It is a rather old example that we do not use that often anymore, that is why we did not come across this error. Thanks for noticing and commenting! Let us know if you have any more issues :)

Hi, thanks for working on it.
I update my whole HiSim but still have this error while running the example. Do i have to update some specific files for post processing?

In addition: I tried to run the example "household_with_advanced_hp_hws_hds_pv.py" and get the same error there.

Hey, that is misterious. That error has not appeared so far. I am sorry that I do not have a good answer for you.
Have you checked if your file name is too long?


changing line length limit to <130

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

Proposed rule maturity level

Uncomment one (or more) /area <> lines (only for PRs that add or modify rules):

/area maturity-stable

/area maturity-incubating

/area maturity-sandbox

/area maturity-deprecated

What this PR does / why we need it:
This changes line-length limit to 130
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: h4l0gen
Once this PR has been reviewed and has the lgtm label, please assign andreagit97 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@leogr @FedeDP Please review and merge this.

LGTM label has been added.  Git tree hash: 7f98ee8578fe60e8c051e556a400a1022b78bbe9

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

Needs approval from an approver in each of these files:

OWNERS [leogr]

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


Cannot debug C

Control Panel->Clock and Region->Administrative->change system locale->Beta:Use Unicode UTF-8 for windows language support
After checked this option, I cannot debug C. But if I don't check this, Chinese characters cannot display properly in cmd or powershell.
My compiler is MinGW 8.1.0.
The following person has the same problem as me.
https://segmentfault.com/a/1190000020236211

You just say it is caused by an extension. But I did not install any other extension except Microsoft official extension.


calendar

To plan a new sprint I get tasks from different sources. Two of them are placed on the monthly page of my calendar in bujo:

actions planned to a specific date
projects of month

Probable solutions:

add a separate list for calendar planned tasks
migrate go calendar app and use it in Task List
add projects of the month to new sprint template

The research results are here #55.

For projects of the month, I decided to add them to new sprint template - #57.


Error compiling boost-locale:x64-linux with centos7.6

Additional packages (*) will be modified to complete this operation.
Starting package 1/73: boost-locale:x64-linux
Building package boost-locale[core]:x64-linux...
-- Using cached /smb/third/vcpkg/downloads/boostorg-locale-boost-1.70.0.tar.gz
-- Using source at /smb/third/vcpkg/buildtrees/boost-locale/src/ost-1.70.0-64535d0e00
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
CMake Error at installed/x64-linux/share/boost-build/boost-modular-build.cmake:93 (message):
No libraries were produced.  This indicates a failure while building the
boost library.
Call Stack (most recent call first):
ports/boost-locale/portfile.cmake:20 (boost_modular_build)
scripts/ports.cmake:74 (include)
Error: Building package boost-locale:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-locale:x64-linux
Vcpkg version: 2019.07.18-unknownhash
Additionally, attach any relevant sections from the log files above.

i had git pull ,but still have this problem

I have the same issue. it does not seem to be possible to get the boost libraries compiled on linux using vcpkg right now.

@ywj11407  @YgabrielsY, I can't repro this issue on Ubuntu 18.04, I'm not if it's an issue on centos7.6
-- Downloading https://github.com/boostorg/locale/archive/boost-1.71.0.tar.gz...
-- Extracting source /home/linux001/Phobe/vcpkg/downloads/boostorg-locale-boost-1.71.0.tar.gz
-- Using source at /home/linux001/Phobe/vcpkg/buildtrees/boost-locale/src/ost-1.71.0-ce04fa497f
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Packaging headers
-- Packaging headers done
-- Using cached /home/linux001/Phobe/vcpkg/downloads/boost_LICENSE_1_0.txt
-- Installing: /home/linux001/Phobe/vcpkg/packages/boost-locale_x64-linux/share/boost-locale/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package boost-locale[core]:x64-linux... done
Installing package boost-locale[core]:x64-linux...
Installing package boost-locale[core]:x64-linux... done
Elapsed time for package boost-locale:x64-linux: 53.53 s
Total elapsed time: 53.53 s

@ywj11407, boost currently upgrade to 1_73, please try lastest source and reopen this PR if it still be a problem for you.


Issue#4415 Code Added and README.md updated

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Given two Binary Trees, Check whether they are structurally identical or not in CPP.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#4415

Please make an issue here and raise a PR, for an article as part of our Docs repository: https://github.com/TesseractCoding/NeoAlgo-Docs
It would be much appreciated. Thanks!


How to monkey patch

done when: guideline is added (or rejected) that describes an acceptable pattern for monkey patching, specifically using alias_method_chain

sniffle

alias_method_chain is deprecated in rails 5. It's not a good pattern.

OK, thanks!

@jcoyne @jeremyf So... we're wondering which of the following is better?...

Guidelines that try to prevent gross monkey patching.
Guidelines that say "don't monkey patch"
Nothing

thoughts?

Don't monkey patch.  If you think you need to, then you ought to refactor the host application to provide a configuration point.


fix: upgrade ingress to networking/v1

What type of PR is this?

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
Upgrades ingress resource from extensions/v1beta1 to networking.k8s.io/v1 in order to make it compatible with k8s v1.22
Have you updated the necessary documentation?

[x] Documentation update is required by this PR.
[x] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #420 #390
How to test changes / Special notes to the reviewer:
Run make test for unit tests, for e2e tests, have 2 separate terminals running. Execute  ARGOCD_CLUSTER_CONFIG_NAMESPACES=argocd-e2e-cluster-config make install run in 1, followed by hack/test.sh in the other

cc @iam-veeramalla @jopit @jannfis

cc @iam-veeramalla @jopit @jannfis @wtam2018

@jaideepr97  Please let me know when this is ready for review. I would like to run some ingress tests to verify the changes.

Verified the basic work flow with ingress SSL offloading and it works fine.
LGTM !!

Please take a look at this before merging
https://github.com/argoproj-labs/argocd-operator/pull/428#discussion_r704519289

LGTM


Remove unneded comments, add pipeThrough to StreamInterface + tests

The comments are inherited already from the interface I forgot to remove them in the lat PR
I added pipeThrough as well

I added a couple of notes as TODO in the code


Missing .gcloudignore file

The docs refers to a .gcloudignore file which does not exist in the repo.

The .gcloudignore file should be automatically generated when your run gcloud app deploy for the first time, so you don't actually need to create it.

@ZakSingh I uploaded a gcloudignore that manually targeted the extra stuff but the regular .gcloudignore should also work fine