feat: LSDV-3023: Annotation Tab Carousel

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[ ] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[x] Frontend

Describe the reason for change
(link to issue, supportive screenshots etc.)
What does this fix?
(if this is a bug fix)
What is the new behavior?
(if this is a breaking or feature change)
What is the current behavior?
(if this is a breaking or feature change)
What libraries were added/updated?
(list all with version changes)
Does this change affect performance?
(if so describe the impacts positive or negative)
Does this change affect security?
(if so describe the impacts positive or negative)
What alternative approaches were there?
(briefly list any if applicable)
What feature flags were used to cover this change?
(briefly list any if applicable)
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[ ] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
(for bug fixes/features, be as precise as possible. ex. Authentication, Annotation History, Review Stream etc.)

Codecov Report
Base: 9.13% // Head: 9.14% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (807ad6b) compared to base (18fc2e5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #1188      +/-   ##
=========================================
+ Coverage    9.13%   9.14%   +0.01%
=========================================
  Files         107     107
  Lines        8110    8111       +1
  Branches     2013    2013
=========================================
+ Hits          741     742       +1
  Misses       6187    6187
  Partials     1182    1182

Impacted Files
Coverage Δ

src/src/utils/feature-flags.ts
98.18% <0.00%> (+0.03%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/git merge master


[Bug] select2_from_ajax_multiple not clearing searched string on select

Bug report
What I did
When you start typing "Ama" in input and then select "Amazon", search string "Ama" will remain.
What I expected to happen
The ‘Ama’ string should be cleared so that you can immediately start typing the next search string. Bug is also present in demo.

What I've already tried to fix it
Update.
Is it a bug in the latest version of Backpack?
Yes.
Backpack, Laravel, PHP, DB version
PHP VERSION:
8.3.11
PHP EXTENSIONS:
Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, FFI, fileinfo, filter, ftp, gd, gettext, gmp, json, iconv, intl, SPL, ldap, mbstring, session, standard, odbc, pcntl, exif, mysqlnd, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, random, readline, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, grpc, Zend OPcache
LARAVEL VERSION:
<IP_ADDRESS>
BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.3.6
backpack/crud: 6.7.38
backpack/generators: v4.0.6
backpack/logmanager: v5.0.2
backpack/permissionmanager: 7.2.1
backpack/pro: 2.2.17
backpack/revise-operation: 2.0.0
backpack/theme-coreuiv2: 1.2.5
backpack/theme-coreuiv4: 1.1.2
backpack/theme-tabler: 1.2.13

Hello @GregaUNK
From my point of view, I don't think it's a bug, because if I want to choose all the matches of "jump", it would be inconvenient to have to type every time I need a result.
Anyway, I'll check with the team to see what they think about it.
Cheers.

Hi,
this functionality was changed during Backpack Crud PRO upgrades.
In 2.1.7 it works as I would expect. When you select entry, it clears the search.
Please change it back or give us an option to decide.
Thanks!

Hello @GregaUNK
Can you try to add to field
'closeOnSelect' => true,

Let me know if that's work for you.
Cheers.

Hi @jcastroa87
Thats it. It worked 👍
Maybe this could have a better name because it sounds like it closes the dropdown rather than just clearing the search. I also couldn’t find it in the documentation, so it would be nice to have it added.
Thanks! 💯


allow equal stride and dimsize

The current assertion breaks if we want to get 1 sample per batch (where the input dims and output dims are identical). Changing < to <= to allow such cases.

@tcchiao - is this the fix to https://github.com/pangeo-data/xbatcher/issues/16?

yup i believe so!


CSS

CSS
User Story
As a bootcamp student
I want the pre-work notes structured on a webpage
So I can easily find and read the documentation
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

CSS successfully merged with HTML code.


Add Id to Configuration Subscription API

In what area(s)?
/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature
Add an Id to the Configuration Subscribe API request. This can provide two functionalities:

Easier Unsubscribe experience as you can name your own subscriptions.
Potential to resubscribe to an existing configuration.

I came across this while implementing the API in the .NET SDK. The experience of having to wait for a message from the stream before being able to unsubscribe feels off and seems like it opens us up to orphaning connections on Dapr's side.
It also does seem like there's the potential for a memory/connection leak if an app crashes as there's no way to clean up the subscription once the connection is lost. If we have the Id specifiable, it could be possible to reconnect to a stream or at least clean up any old resources.
Note that we can keep the Id optional and maintain the current behavior to maintain backwards compatibility, though this is an alpha API.
Release Note

RELEASE NOTE: UPDATE Configuration Subscribe API can specify the subscription Id.

Ping @yaron2 @artursouza

Can someone link me to the rationale on why subscribe/unsubscribe are a pair of operations instead of just subscribe?
I'm asking because It's pretty vexing to implement in the SDK with the separate unsubscribe operation. The actual streaming of updates is scoped to a single request/connection and so I'm not sure why we need a stateful out-of-band mechanism to hang up.
What I'm used to with this style of API is that the client hangs up when they are not interested in more updates. On the server side (sidecar), the server will find out that the connection is aborted and clean up. Given that the server already has to clean up when a client aborts/disconnects, what's the purpose of unsubscribe?
Think about two use cases:

The client app crashes or closes the connection. The sidecar cleans up any resources associated with the subscription. All is well 😁
The client app crashes or closes the connection. The sidecar does not clean up any resources and waits for an unsubscribe.

The client app has crashed and does not know to call unsubscribe when it restarts.
The sidecar has leaked resources. If the client crash-loops, this might happen many times.

Can someone share the rationale on why subscribe/unsubscribe are a pair of operations instead of just subscribe?
I'm asking because It's pretty vexing to implement in the SDK with the separate unsubscribe operation. For example we can't get the ID needed for unsubscribe in the degenerate cases.
The actual streaming of updates is scoped to a single request/connection and so I'm not sure why we need a stateful out-of-band mechanism to hang up.
What I'm used to with this style of API is that the client hangs up when they are not interested in more updates. On the server side (sidecar), the server will find out that the connection is aborted and clean up. Given that the server already has to clean up when a client aborts/disconnects, what's the purpose of unsubscribe?
Think about two use cases:

The client app crashes or closes the connection without calling unsubscribe. The sidecar cleans up any resources associated with the subscription. All is well 😁

The client app crashes or closes the connection without calling unsubscribe. The sidecar does not clean up any resources and waits for an unsubscribe.

The client app has crashed and does not know to call unsubscribe when it restarts.
The sidecar has leaked resources. If the client crash-loops, this might happen many times.

That makes sense.
I guess the only reason I can think of for unsubscribe is when an app wants to get updates multiple keys and at some point in time stop getting updates for a specific key.
Whether or not this case which might be considered an edge case justifies the complexity mentioned here, I don't know. I don't feel like I have a good grasp on that and would like to hear from @LaurenceLiZhixin, the original author.

Here is previous discussion about unsubscribe API
https://github.com/dapr/dapr/issues/3906
Explicit unsubscribe API  can have better control over subscription. We can't stop getting updates for a specific key as yaron mentioned. We also can't gracefully close an subscription after the subscription grpc stream is closed, as dapr sidecar 's related subscription goroutine would keep blocked, and only after one configuration update event comes, sidecar tries to write back this event and failed, it found the stream is closed, and release the blocking goroutine.
@rynowak

@LaurenceLiZhixin @yaron2 - Do you have any issue with me modifying the proto to include an optional Id in a Subscribe request?

I'm fine with that, but I want @LaurenceLiZhixin to approve this as well.

I thought about your plan, and I think what you say makes a lot of sense.
There were some problems in our previous design. I tested that the one-way flow mode gRPC server could get the disconnected singnal and execute the unsubscribe operation, which did not need to be actively triggered by users. And there is no go-routine keep blocking if we handle it properly.
So, I think the API can be modified as you said. As for whether the subscription ID and the unsubscribe api needs to be retained, I prefer to remove them.
@halspang

@LaurenceLiZhixin - Are you advocating for not including the ID in the request and fully removing the Unsubscribe side of the API so we can do it all via gRPC stream controls?

Yes, I agree with you. @halspang

There is a problem as to how we can stop a subscription without a ID for the HTTP API. I think we can consider subscribing only by gRPC, and  it's enough for restful only support Get API . @halspang @yaron2

ping @halspang

There is a problem as to how we can stop a subscription without a ID for the HTTP API. I think we can consider subscribing only by gRPC, and it's enough for restful only support Get API . @halspang @yaron2

Do you agree with this proposal, I'll record it to docs. @yaron2

@LaurenceLiZhixin - Chatting with Yaron, we agreed that the HTTP API should take the ID and that the gRPC API should be made to look more like the HTTP API once we have it. I think this would mean removing the gRPC streaming API and doing it in a more traditional sense for HTTP and gRPC for the sake of a consistent API.
I think that would put us into a more traditional event based solution or a callback solution. Though I don't think we've fully locked down what it would look like. Probably a good target for 1.9.
@yaron2 - Please correct me if I got anything wrong up there :)

opening for this comment https://github.com/dapr/dapr/issues/4546#issuecomment-1161996237

Is this still relavent? @pravinpushkar @shivamkm07

Is this still relavent? @pravinpushkar @shivamkm07

Subscription id is present now..so issue is not relevant now.

If we found a solution to include subscription ID and keep the streaming API, we should not change it to a callback type.


host method returned empty response

I try to usign method name 'host' with no argument. After method called I've got this response.
...
 client.host(params.ip, LICENSE_KEY, params)...
...

The point is "data" attr has empty response.
When I using the shodan with PHP library I've got the some data in the "data" attr.
So I try to axios with const url.
axios.get('https://api.shodan.io/shodan/host/ip.....?key=....

...

And I got the some data with "data" attr.
I wondering why "data" attr got the empty response?
I was using same ip and same parameters.

Hi :), this example is working for me (with returned "data"), can you check please? are you using the last version of the library?
const util  = require('util');
const client = require('shodan-client');

client
  .host('<IP_ADDRESS>', 'MY_TOKEN')
  .then(res => {
    console.log('Result:');
    console.log(util.inspect(res, { depth: 6 }));
  })
  .catch(err => {
    console.log('Error:');
    console.log(err);
  });

my version is
...
"name": "shodan-client",
  "version": "3.1.0",
...

I called api with diffrent params.
I think 'minify' params get the only "True" or "False".
{history: true, minify: false, ip: "<IP_ADDRESS>"}
"data" empty

{history: true, minify: true, ip: "<IP_ADDRESS>"}
"data" empty

{history: true, minify:"True", ip: "<IP_ADDRESS>"}
"data" empty

{history: true, minify:"False", ip: "<IP_ADDRESS>"}
"data" get

//remove minify
{history: true, ip: "<IP_ADDRESS>"}
"data" get

Thanks for the catch, it's solved in the today release :). Could you please try?


Rating API: server response does not match API definition

a) I needed to add TransactionIdentifier to
diff --git a/ups-rest-webservices/src/main/resources/Rating.json b/ups-rest-webservices/src/main/resources/Rating.json
index 2ea9ccd..dc49320 100644
--- a/ups-rest-webservices/src/main/resources/Rating.json
+++ b/ups-rest-webservices/src/main/resources/Rating.json
@@ -3597,6 +3597,13 @@
             "minLength": 1,
             "maxLength": 512,
             "maximum": 1
+          },
+          "TransactionIdentifier": {
+            "description": "The transaction identifier echoed during response.",
+            "type": "string",
+            "minLength": 0,
+            "maxLength": 32,
+            "maximum": 1
           }
         },
         "xml": {

b) I needed to patch the server result:
IS
"RatedPackage": {
          "ItemizedCharges": {
            "Code": "400",
            "CurrencyCode": "EUR",
            "MonetaryValue": "0.00",
            "SubType": "EVS"
          },
          "Weight": "10.0"
        }

RatedPackage is not a list here
ItemizedCharges is not a list here
perhaps this applies for other list types as well, I do not have a proper example

should be (according to spec)
"RatedPackage": [ {
          "ItemizedCharges": [ {
            "Code": "400",
            "CurrencyCode": "EUR",
            "MonetaryValue": "0.00",
            "SubType": "EVS"
          } ],
          "Weight": "10.0"
        } ]

c) I needed to patch the server result:
IS
        "Disclaimer": {
          "Code": "05",
          "Description": "Rate excludes VAT. Rate includes a fuel surcharge, but excludes taxes, duties and other charges that may apply to the shipment."
        },

Disclaimer is not a list type. Should be, according to specs:
        "Disclaimer": [ {
          "Code": "05",
          "Description": "Rate excludes VAT. Rate includes a fuel surcharge, but excludes taxes, duties and other charges that may apply to the shipment."
        } ],

Hi, thank you for your comment. These issues were addressed in the recent updates and have been linked.


On_site function stops iteration

When an agent enters a site after collision it will iterate for some frames  checking( if on_site) and after that happens the function doesn't executes even though an agent is inside a site and just executes when the agent leaves because of collision with the border.

Could you perhaps include a code example which I could use to reproduce this issue? The details you provided are a bit too vague for me to try and come up with a reproduction myself 😅

''' Basic template which prints True when an agent is on_site and prints False when no on_site
However if you run the code you will see that it will return False when the agent is moving inside the sprite of the site image
now on_site only returns True when there is border collision between the two sprites until the agent passed the border to the inside of the site.
'''
from vi import Agent, Simulation
from vi.config import Config
class Bee(Agent):
def change_position(self):
    self.there_is_no_escape()
    self.pos += self.move
    if self.on_site():
        print("True")
    else:
        print('False')

(
Simulation(
Config(
image_rotation=True,
movement_speed=1.5,
radius=40,
seed=1,
fps_limit=60,
)
)
.spawn_site("bubble-small.png", 400, 375)
.batch_spawn_agents(1, Bee, images=["bees.png"])
.run()
)

Ah right, this is indeed intended behaviour as we want to support sites of various shapes. If you add a site with an opaque image (such as site.png), then you'll see that True is printed as long as the pixels collide.


Siemens Dishwasher not connecting since one week

Describe the bug
Siemens Dishwasher not connecting since a few days.
Last connected state was last week.
Adapter status is green, no other issues in ioBroker.
Expected behavior
Connection established and syncing the current states.
Versions:

Adapter version: 1.4.1
JS-Controller version: 5.0.19
Node version: 18.20.4
Operating system: Raspberry OS Lite 64 Bit

Additional context
No Errors shown in log.
Dishwasher is connected to WiFi and online in the Home Connect app.
I can control the device without problems thru the official Home Connect app.

Please add a debug log.

That's what I am getting now...

homeconnect.0
2024-07-26 08:09:54.910
error
{"error":{"description":"HomeAppliance is offline","key":"SDK.Error.HomeAppliance.Connection.Initialization.Failed"}}

homeconnect.0
2024-07-26 08:09:54.909
error
AxiosError: Request failed with status code 409

homeconnect.0
2024-07-26 08:09:47.986
error
{"error":{"description":"HomeAppliance is offline","key":"SDK.Error.HomeAppliance.Connection.Initialization.Failed"}}

homeconnect.0
2024-07-26 08:09:47.983
error
AxiosError: Request failed with status code 409

This looks like a problem at Home Connect Services.
The adapter received error 409 and the message "HomeAppliance is offline". So the adapter can obviously communicate with the home connect webservice. Why the supplier api retunr offline is oiut of control for the adapter.
But please attach a log with level DEBUG - eventually some more info is visible there,

Hmm that is with debug enabled and log copypaste...
2024-07-25 19:22:22.567 - error: homeconnect.0 (2136) AxiosError: Request failed with status code 409
2024-07-25 19:22:22.575 - error: homeconnect.0 (2136) {"error":{"description":"HomeAppliance is offline","key":"SDK.Error.HomeAppliance.Connection.Initialization.Failed"}}
2024-07-25 19:22:26.900 - error: homeconnect.0 (2136) AxiosError: Request failed with status code 409
2024-07-25 19:22:26.901 - error: homeconnect.0 (2136) {"error":{"description":"HomeAppliance is offline","key":"SDK.Error.HomeAppliance.Connection.Initialization.Failed"}}

Hmm - would have expected more info...
But thanks for attaching the log

Today I again had this in the log...
2024-07-30 14:29:34.694 - error: homeconnect.0 (28224) AxiosError: Request
failed with status code 409
2024-07-30 14:29:34.697 - error: homeconnect.0 (28224)
{"error":{"description":"HomeAppliance is
offline","key":"SDK.Error.HomeAppliance.Connection.Initialization.Failed"}}
2024-07-30 14:30:09.501 - error: homeconnect.0 (28224) AxiosError: Request
failed with status code 409
2024-07-30 14:30:09.502 - error: homeconnect.0 (28224)
{"error":{"description":"HomeAppliance is
offline","key":"SDK.Error.HomeAppliance.Connection.Initialization.Failed"}}
Am Mo., 29. Juli 2024 um 23:46 Uhr schrieb Martin M. <
@.***>:

Hmm - would have expected more info...
But thanks for attaching the log
—
Reply to this email directly, view it on GitHub
https://github.com/iobroker-community-adapters/ioBroker.homeconnect/issues/173#issuecomment-2257065154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXKW3WH7SYCKMLLWFBPTHLZO2Z23AVCNFSM6AAAAABLP34LXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGA3DKMJVGQ
.
You are receiving this because you authored the thread.Message ID:
<iobroker-community-adapters/ioBroker.homeconnect/issues/173/2257065154@
github.com>

Today the adapter received data again. I assume it was some server side bug.

Thanks for Info.
Ithink we can close here. Please comment or open a new issue if you feel that a Bug at the adapter exists


Create dropdown for conversation options

This task will have following dependencies....

We need two custom hook top of the firebase, those will allow us to read and write chat related data from any context, because components will be in diff contexts.
Hooks:

useUpdateChat
useGetChat

both hook will takes the id of chat and returns the relevent logic.

useUpdateHook
Params: id
Returns: {updateChat(data), isUpdating, error}
Note:

updateChat function shoud be able update single or multiple fields in firestore.
isUpdating help us to run spinner while making change in DB so meanwhile user can wait.
error if any error (I hope we always get it as null)

useGetChat
Params: id
Returns: {data, isLoading, error}
Note:

data A firestore document that represent a single chat thread, can have following fields..

chat title
model name (last model name used by user)
chat array

isLoading help us to run spinner while loading the chat.

From dropdown component it will update the data into firestore and same moment it will fetch the data from it in chat thread where we do query using LLM. (this type of realtime update is built in with firebase.)


samples: boards: stm32 Rename README.md to README.rst

Updated the README file extension from .md to the expected extension .rst
Signed-off-by: Peeyush Kumar<EMAIL_ADDRESS>

@henrikbrixandersen The earlier PR was not signed off by me properly.

@henrikbrixandersen The earlier PR was not signed off by me properly.

In the future just do a force push updating the commit instead of closing the PR and opening a new.

@henrikbrixandersen Sure, I was not aware of that option, will keep it in mind next time.
Thanks.

@henrikbrixandersen Can you please add appropriate labels and reviewers?
Let me know if anything from my end is needed.

@kpyush please fix compliance issues reported

Hi @erwango,
I have updated the commit and the compliance check went through.


Issues for Listener IPs section in Service Create

[x] Cluster IP placeholder in service create should be 10.43.xxx.xxx

[ ] Remove Warning

On 2.5-head commit id: b0944b91

Cluster IP placeholder in service create

No warning is seen


LCS will start returning HTTP 429 Too Many Requests

Hello 2LCS team,
I am with the Microsoft LCS team and wanted to let you know about changes we are making soon. In an effort to ensure all clients gain fair access to LCS, we will start rate limiting endpoints on a per endpoint basis by several levels including User, Project, and User Organization. We will start rejecting requests with HTTP 429 (Too Many Requests) if we see a request that crosses the threshold for any of the previous defined scopes. These limits will be set with high limits but in cases where thousands of requests come in within a minute, the client should expected to be throttled and see HTTP 429 from LCS. As time goes on, we plan on adding rate limiting to all major endpoints in LCS.
When LCS rejects a request with Too Many Requests, we will also return a "retry-after" header which will denote the length of time in seconds the client should wait before trying the operation again. In many cases, adding a wait with this number will correctly handle the rate limiting.
Example response code and common headers
HTTP 429
retry-after: 5
activity-id: xxxxxx-xxxxx-xxxxx
My suggestion for your team is to ensure 2LCS can handle 429 responses from LCS and at least show a proper error message to the user before we start rolling this out to more endpoints. If you see fit, you could add a retry that retries the request after the "retry-after" header time which could gracefully handle the 429s.
Please let me know if you have any questions. We could setup a test endpoint in LCS for you to validate the logic in 2LCS to validate it handles the 429s correctly.
This isn't an urgent priority but know that in the future, LCS will return 429s more often which could affect 2LCS.
Regards,
Billy Richardson
LCS team
EDIT: Clarified that "Retry-After" header will be lowercase like "retry-after"

Great writeup @richardsondev thanks for the heads up. Would be great to have more documentation around how to access the apis, I guess this is also coming up, exciting!

@TomekMelissa I believe we could close this issue?

@fraga  Thanks for the hint.
@TomekMelissa Closed the issue, feel free to reopen it.


Documentation of model using current_user from context hash

It is likely that people won't understand how to use the context hash as I didn't understand it at first.  It would be good to have an example so I've written one for the README.
class PeopleResource < JSONAPI::Resource
  before_save do
    @model.user_id = context[:current_user].id if @model.new_record?
  end
end

@danielpclark Thanks!


RPM depedencies for f5-openstack-agent 9.1.0

Agent Version
9.1.0
Operating System
Centos 7
OpenStack Release
Mitaka
Description
Following the RPM install directions the RPM do not have the correct dependencies for the f5-sdk RPM (references 1.0.9 instead of 1.1.0).
% rpm -qpR  f5-sdk-1.5.0-1.el7.noarch.rpm
f5-icontrol-rest = 1.0.9

Fixed documentation.


Check for cloudmesh rc files

Check for the presence of cloudmesh rc files under ~/.cloudmesh.
In particular:

~/.cloudmesh/clouds/india/havana
~/.cloudmesh/clouds/india/juno

Example output on my system:
$ ./bin/openstack-setup-test  -h
Usage: ./bin/openstack-setup-test [-h] -c
  -c    Run check
  -h    Print this help

This script tests for the presence of cloudmesh RC files:
    /home/badi/.cloudmesh/clouds/india/havana
    /home/badi/.cloudmesh/clouds/india/juno

$ ./bin/openstack-setup-test  -c
Checking for /home/badi/.cloudmesh/clouds/india/havana...FAIL
Checking for /home/badi/.cloudmesh/clouds/india/juno...FAIL
ERROR Cloud not find the needed cloudmesh files.
Please send an email to<EMAIL_ADDRESS>
@laszewsk Is this what you had in mind?
CC @lee212

right!

On Feb 20, 2015, at 9:58 AM, badi<EMAIL_ADDRESS>wrote:
Check for the presence of cloudmesh rc files under ~/.cloudmesh.
In particular:
~/.cloudmesh/clouds/india/havana
~/.cloudmesh/clouds/india/juno
Example output on my system:
$ ./bin/openstack-setup-test  -h
Usage: ./bin/openstack-setup-test [-h] -c
-c    Run check
-h    Print this help
This script tests for the presence of cloudmesh RC files:
/home/badi/.cloudmesh/clouds/india/havana
/home/badi/.cloudmesh/clouds/india/juno
$ ./bin/openstack-setup-test  -c
Checking for /home/badi/.cloudmesh/clouds/india/havana...FAIL
Checking for /home/badi/.cloudmesh/clouds/india/juno...FAIL
ERROR Cloud not find the needed cloudmesh files.
Please send an email to<EMAIL_ADDRESS>@laszewsk https://github.com/laszewsk Is this what you had in mind?
CC @lee212 https://github.com/lee212
You can view, comment on, or merge this pull request online at:
https://github.com/cloudmesh/cloudmesh/pull/191 https://github.com/cloudmesh/cloudmesh/pull/191
Commit Summary
Check for cloudmesh rc files
File Changes
A bin/openstack-setup-test https://github.com/cloudmesh/cloudmesh/pull/191/files#diff-0 (69)
Patch Links:
https://github.com/cloudmesh/cloudmesh/pull/191.patch https://github.com/cloudmesh/cloudmesh/pull/191.patch
https://github.com/cloudmesh/cloudmesh/pull/191.diff https://github.com/cloudmesh/cloudmesh/pull/191.diff
—
Reply to this email directly or view it on GitHub https://github.com/cloudmesh/cloudmesh/pull/191.

You need to check the existence of a novarc or openrc.sh file in the followng paths:

~/.cloudmesh/clouds/india/havana/novarc
~/.cloudmesh/clouds/india/juno/openrc.sh

From Juno release, it seems novarc filename has changed to openrc.sh.

badi has created some script. Assign this to him in github and explain how we use git issue.
I will create label for him

On Feb 20, 2015, at 10:32 AM, Hyungro Lee<EMAIL_ADDRESS>wrote:
You need to check the existence of a novarc or openrc.sh file in the followng paths:
~/.cloudmesh/clouds/india/havana/novarc
~/.cloudmesh/clouds/india/juno/openrc.sh
From Juno release, it seems novarc filename has changed to openrc.sh.
—
Reply to this email directly or view it on GitHub https://github.com/cloudmesh/cloudmesh/pull/191#issuecomment-75256825.


Manifest is a mandatory argument  to subscribe the installation to a new channel

It should be able to subscript to a channel without specifying a manifest, at the moment I'm getting the following error when I try to do it:
prospero.sh channel add --dir=/tmp/wildfly-prospero --channel-name=test --repositories=/something
Missing required option: '--manifest=<gavUrlOrPath>'

I think for the CLI usage it's OK to expect the manifest present. The manifest would not be used only in open channels which are more advanced feature IMO

In such a case, I'll add the same restriction at the Mgmt Operation level


shelf_io shouldn't gzip by default

Shelf shouldn't require its adapters to implement gzipping by default. Given that, in the interest of consistency and providing a good example, shelf_io shouldn't implement gzipping by default either.

This issue has been moved to dart-lang/shelf#30.


(v6) Closing the electron window after starting via start does not end the process

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
When starting the application via npm start the electron window closes, but the process does not end after clicking the close button.
I'm using Linux in this case. I can't say whether the behavior is different on other OS.
What command line arguments are you passing?
none
What does your config.forge data in package.json look like?
"forge": {
      "packagerConfig": {},
      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {
            "name": "my_app"
          }
        },
        {
          "name": "@electron-forge/maker-zip",
          "platforms": [
            "darwin"
          ]
        },
        {
          "name": "@electron-forge/maker-deb",
          "config": {}
        },
        {
          "name": "@electron-forge/maker-rpm",
          "config": {}
        }
      ]
    }

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.

Run npx @electron-forge/cli init my-app
Run npm start
Close the window
See that the process is not ended.

When i comment out the if statement here: https://github.com/electron-userland/electron-forge/blob/master/packages/api/cli/src/electron-forge-start.ts#L69  then it does exit properly.

Happens for Windows as well.

@MarshallOfSound I took a stab at trying to fix this the other week, but I don't know why resolve() isn't advancing the Promise chain. I'd rather not use process.exit(0) if I can help it.

My guess is theres something hanging on the event loop somewhere.  I'll look this week

I had a theory what this was, we have a listener on process.stdin which won't go away, we need to call process.stdin.pause() or something similar when the child is exited and not restarted.
https://github.com/electron-userland/electron-forge/blob/master/packages/api/core/src/api/start.ts#L117

@jeremy-coleman That is an OK workaround if you're using the standalone Forge CLI, but it's not good if you're using something that uses Forge as a library and needs to clean up something when Electron exits.


SQLite: Deserialize/serialize with in-memory buffers

I am creating a project that reads data from an sqlite database. I am simply using sqlite as a storage medium for a large amount of static, readonly data that my application needs to query.
For this type of use-case, it can be advantageous to embed the database file directly into the executable with the include_bytes! macro. Then the byte buffer can be deserialized into a :memory: sqlite database. This approach means the program can be distributed more easily as a single executable.
This PR adds support for doing that, using the "sqlite_deserialize" function from the sqlite C library. It also adds support for the reverse, serializing to an in-memory buffer.

Closing due to inactivity. Feel free to reopen, but please address the review comments.


roundtripping mixed html and text results in html

Subject of the issue
any text

more text

is stringified as:
any text

more text

which changes the structure
Your environment

OS: Ubuntu
Packages: mdast-util-to-markdown 0.6.2
Env: node v15.5.1, npm 7.3.0

Steps to reproduce
parse
any text

more text

which has the structure
{
    "type": "root",
    "children": [
        {
            "type": "paragraph",
            "children": [
                {
                    "type": "text"
                },
                {
                    "type": "html"
                },
                {
                    "type": "text"
                }
            ]
        }
    ]
}

and stringify it:
any text

more text

the resulting markdown has a different structure than the original
{
    "type": "root",
    "children": [
        {
            "type": "paragraph",
            "children": [
                {
                    "type": "text"
                }
            ]
        },
        {
            "type": "html"
        }
    ]
}

:notebook: comparing how the two pieces of markdown text are being parsed with https://spec.commonmark.org/dingus it appears in both cases it is parsed as expected.
Expected behavior
structure is the same
Actual behavior
structure is different

A similar case would probably be:
a
    ```b
    ```

a
```b
```

(as in, the overlap between things that could turn into blocks, and have a different meaning when found inline).
Escaping wouldn’t solve this, but perhaps the eol can be swapped for a space

the code case seems to be prevented by https://github.com/syntax-tree/mdast-util-to-markdown/commit/cf7cf8f1fbe0b54332a6708e9bd956e14c2fafda though, so I’m guessing this only happens to code

Here are some more examples for all HTML cases (https://spec.commonmark.org/0.29/#html-blocks) that should have these problems:
c1

c1

c2

c2

c3
    <??>

c3
<??>

c4
    <!A b>

c4
<!A b>

c5
    <![CDATA[]]>

c5
<![CDATA[]]>

c6

c6

c7 (cannot interrupt a paragraph)


Cannot install on Windows with Python 3.12.1

I get the following error message when running pip install pyllamacpp or pip install git+https://github.com/abdeladim-s/pyllamacpp.git:
pip install git+https://github.com/abdeladim-s/pyllamacpp.git
Collecting git+https://github.com/abdeladim-s/pyllamacpp.git
Cloning https://github.com/abdeladim-s/pyllamacpp.git to h:\users\raphael\appdata\local\temp\pip-req-build-glz0imed
Running command git clone --filter=blob:none --quiet https://github.com/abdeladim-s/pyllamacpp.git 'H:\Users\Raphael\AppData\Local\Temp\pip-req-build-glz0imed'
Resolved https://github.com/abdeladim-s/pyllamacpp.git to commit 40ae3baf6c70d7cb8c5cebb9ea58bd26fc454549
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [161 lines of output]
H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config_apply_pyprojecttoml.py:76: _MissingDynamic: description defined outside of pyproject.toml is ignored.
!!
          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:

          `description = 'Python bindings for llama.cpp'`

          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `description` is listed as `dynamic`.

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

          To prevent this problem, you can list `description` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************

  !!
    _handle_missing_dynamic(dist, project_table)
  H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:76: _MissingDynamic: `requires-python` defined outside of `pyproject.toml` is ignored.
  !!

          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:

          `requires-python = '>=3.8'`

          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `requires-python` is listed as `dynamic`.

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

          To prevent this problem, you can list `requires-python` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************

  !!
    _handle_missing_dynamic(dist, project_table)
  H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:76: _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
  !!

          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:

          `license = 'MIT'`

          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `license` is listed as `dynamic`.

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

          To prevent this problem, you can list `license` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************

  !!
    _handle_missing_dynamic(dist, project_table)
  H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:76: _MissingDynamic: `authors` defined outside of `pyproject.toml` is ignored.
  !!

          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:

          `authors = 'Abdeladim Sadiki'`

          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `authors` is listed as `dynamic`.

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

          To prevent this problem, you can list `authors` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************

  !!
    _handle_missing_dynamic(dist, project_table)
  H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:76: _MissingDynamic: `urls` defined outside of `pyproject.toml` is ignored.
  !!

          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:

          `urls = {'Documentation': 'https://abdeladim-s.github.io/pyllamacpp', 'Source': 'https://github.com/abdeladim-s/pyllamacpp', 'Tracker': 'https://github.com/abdeladim-s/pyllamacpp/issues'}`

          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `urls` is listed as `dynamic`.

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

          To prevent this problem, you can list `urls` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************

  !!
    _handle_missing_dynamic(dist, project_table)
  H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:76: _MissingDynamic: `scripts` defined outside of `pyproject.toml` is ignored.
  !!

          ********************************************************************************
          The following seems to be defined outside of `pyproject.toml`:

          `scripts = ['pyllamacpp=pyllamacpp.cli:main']`

          According to the spec (see the link below), however, setuptools CANNOT
          consider this value unless `scripts` is listed as `dynamic`.

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

          To prevent this problem, you can list `scripts` under `dynamic` or alternatively
          remove the `[project]` table from your file and rely entirely on other means of
          configuration.
          ********************************************************************************

  !!
    _handle_missing_dynamic(dist, project_table)
  Traceback (most recent call last):
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 132, in <module>
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 159, in setup
      dist.parse_config_files()
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\_virtualenv.py", line 23, in parse_config_files
      result = old_parse_config_files(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\dist.py", line 627, in parse_config_files
      pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\pyprojecttoml.py", line 68, in apply_configuration
      return _apply(dist, config, filepath)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py", line 57, in apply
      _apply_project_table(dist, config, root_dir)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py", line 83, in _apply_project_table
      corresp(dist, value, root_dir)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py", line 212, in _python_requires
      _set_config(dist, "python_requires", SpecifierSet(val))
                                           ^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-a25gkb1p\overlay\Lib\site-packages\setuptools\_vendor\packaging\specifiers.py", line 708, irs.pyrs.py", line 708, in __init__
      split_specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
                                             ^^^^^^^^^^^^^^^^
  AttributeError: 'NoneType' object has no attribute 'split'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Thanks @rlondner for reporting the issue.
Apparently there is something happening with setuptools in python 3.12.
Please give it a try now
pip install git+https://github.com/abdeladim-s/pyllamacpp.git

If you are using Windows, please consider using WSL as well.

Thank you @abdeladim-s !
I got a bit further, but I still run into an error:
pip install git+https://github.com/abdeladim-s/pyllamacpp.git
Collecting git+https://github.com/abdeladim-s/pyllamacpp.git
Cloning https://github.com/abdeladim-s/pyllamacpp.git to h:\users\raphael\appdata\local\temp\pip-req-build-g87jc7sn
Running command git clone --filter=blob:none --quiet https://github.com/abdeladim-s/pyllamacpp.git 'H:\Users\Raphael\AppData\Local\Temp\pip-req-build-g87jc7sn'
Resolved https://github.com/abdeladim-s/pyllamacpp.git to commit 8a8078be363229318abcdb0d71830ba5d158a029
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyllamacpp
Building wheel for pyllamacpp (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyllamacpp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [90 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp\cli.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp\constants.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp\langchain_llm.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp\model.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp\utils.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp\webui.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp_logger.py -> build\lib.win-amd64-cpython-312\pyllamacpp
copying .\pyllamacpp_init_.py -> build\lib.win-amd64-cpython-312\pyllamacpp
running build_ext
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:8 (project):
Generator
      NMake Makefiles

    does not support platform specification, but platform

      x64

    was specified.

  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\OneDrive\Perso\Technical\AI\Training\GenAI\Activeloop\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\build_meta.py", line 410, in build_wheel
      return self._build_with_temp_dir(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\build_meta.py", line 395, in _build_with_temp_dir
      self.run_setup()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 132, in <module>
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
      super().run_command(command)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run
      self.run_command("build")
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
      super().run_command(command)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
      self.run_command(cmd_name)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
      super().run_command(command)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 89, in run
      _build_ext.run(self)
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
      self.build_extensions()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "H:\Users\Raphael\AppData\Local\Temp\pip-build-env-23lglpo6\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "<string>", line 118, in build_extension
    File "H:\Users\Raphael\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 571, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['cmake', 'H:\\Users\\Raphael\\AppData\\Local\\Temp\\pip-req-build-g87jc7sn', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=H:\\Users\\Raphael\\AppData\\Local\\Temp\\pip-req-build-g87jc7sn\\build\\lib.win-amd64-cpython-312\\', '-DPYTHON_EXECUTABLE=H:\\Users\\Raphael\\OneDrive\\Perso\\Technical\\AI\\Training\\GenAI\\Activeloop\\venv\\Scripts\\python.exe', '-DCMAKE_BUILD_TYPE=Release', '-DEXAMPLE_VERSION_INFO=2.4.2', '-A', 'x64', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=H:\\Users\\Raphael\\AppData\\Local\\Temp\\pip-req-build-g87jc7sn\\build\\lib.win-amd64-cpython-312']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyllamacpp
Failed to build pyllamacpp
ERROR: Could not build wheels for pyllamacpp, which is required to install pyproject.toml-based projects

@rlondner, what machine are you using ?
Please make sure that you can compile llama.cpp  before trying to build the project.
In any case, I've updated the github action and pushed a new version to PyPI, pre-built wheels for Python 3.12 should be available now. You can install it as usual:
pip install pyllamacpp==2.4.3


Layouts with window navigation using incorrect color map for borders.

Problem Description
When the layout hook includes WindowNavigation (eg configurableNavigation noNavigateBorders) borders are sometimes shown as transparent.
Bellow is a recording of it.
Note I am using archlinux with the -git aur pages.
The white terminal is termite, which shows the bug.
Other windows are gnome-terminal.

Configuration File
import XMonad
import XMonad.Config.Desktop
import XMonad.Layout.Spacing
import XMonad.Layout.ResizableTile
import XMonad.Layout.WindowNavigation

main :: IO ()
main = xmonad $ desktopConfig
    { terminal    = "gnome-terminal"
    , modMask     = mod4Mask
    , borderWidth = 30
    , layoutHook  = configurableNavigation noNavigateBorders $ spacing 12 $ ResizableTall 1 0.03 0.5 []
    }

Checklist

[X] I've read CONTRIBUTING.md

[ ] I tested my configuration with xmonad-testing

This is fixed in the current development version of XMonad. The fix will be included in the next release. See https://github.com/xmonad/xmonad/pull/59

No, it is not. The border management in the core was fixed; X.L.WindowNavigation does its own border management, and that still uses the wrong colormap and completely ignores the alpha component (probably losing it completely, based on a quick read of the source) when computing border dimming.

There may be a similar bug in X.L.Decoration, although de facto its border settings get overwritten immediately by X.O.windows.

Ouch. Sorry for the misinformation on my part.

@geekosaur How do you feel about XMonad Core exporting a function for setting the border color of a window?  It will use the new logic we have in place and then we can update all -contrib modules that set the border.

I've actually been sitting on a combinator to simplify using X11 stuff directly from the X monad that needs some more thought, in part because of stuff like this --- but, arguably, things like border color and possibly border width probably ought to be exported from core for this reason.

@nicholma Would you please test #142.  That PR should fix your issue.

Fixed in 0.13


Uncaught exception - load.c(181) : Module not found : run.n

Hi guys,
I'm trying to install opnefl for the first time. I'm following instructions from http://www.openfl.org/documentation/setup/install-lime/. I downloaded Haxe for windows (v 3.1.3). Next I tried to install lime using command "haxelib install lime". It started downloading, but after a while, it gave me connection timeout error. So I went ahead and did a manual install as described in the above link. But after installing lime, when I try to do "haxelib run lime setup", It give me the following error,
Uncaught exception - load.c(181) : Module not found : run.n
I can't seem to figure out what the problem is. I'm attaching this image in case it helps.

I'm really excited about openfl and can't wait to start working on this. Any help is appreciated.
Thank you.

Hah, I just ran into this too - Windows 10 changes the cmd path to /windows/system32/ by default, so I changed it and got the same error. You might get a lot more people having this problem soon.

Is there anything we can do on our end to work around this issue or to detect the problem and provide a better error?

Hmm, well, it's reproducible - follow this guide to change your start folder: http://www.sevenforums.com/customization/77997-change-command-prompt-default-directory.html
... and you should get the same error message!


Pedigree representation

(Copied from !2)
We probably want to change our representation of a pedigree to:

Members: Immutable.Map<String, Immutable.Map>
Nests: Immutable.Map<Immutable.List<String>, Immutable.Map>

So a map of members indexed by ID, and a map of nests indexed by a list of IDs (father and mother).
This will make for fast and easy lookups in both collections.

mentioned in issue #2

mentioned in merge request !2

Ok, considering our previous === versus .equals in Immutable.js enlightenment, I did the test:
> I = require('immutable');
> m = I.Map();
Map {}
> R = I.Record({f: undefined, m: undefined});
[Function: Record]
> x = R({f: 'f', m: 'm'})
Record { f: "f", m: "m" }
> y = R({f: 'f', m: 'm'})
Record { f: "f", m: "m" }
> m = m.set(x, 55);
Map { Record { f: "f", m: "m" }: 55 }
> x === y
false
> x.equals(y)
true
> m.get(x)
55
> m.get(y)
55

Same works for List instead instead of Record instances. So that's good.

And of course also for Set which is what we should actually use as nest identifier.

Done.


Ability to set a country, both in server and user settings, to have the correct streaming provider (but doesn't affect language)

I felt like this feature was needed, and I also found issues #452 and #117 mentioning it!
I'm very inexperienced and this is one of my first PRs in general, so I know what I did works but it might be stupid, have a wrong style or who knows what, so I'm sorry in advance and feel free to reject this or make any necessary changes.
Changes made
You can choose the default country new users will be onboarded in

Users can choose the country for the streaming providers

Hey @stignarnia, I apologize for it taking so long before I could look at this PR. I really appreciate your great work!
I did make a few modifications (some I've had planned in my head for a while), hopefully that's ok! I thought it would be a little easier than asking for a million changes from you.
So that you understand my reasoning, I'll add a note on each change I've made (hopefully they make sense and can help).
Thank you again!

Thank you so much for taking a look at it! Ofc changes are welcomed, they all make sense except there may be a problem with the auto scroll one. Thank you for merging as well!


manuallyAddFile not working

Hello there,
I tried to implement vue-dropzone like it is described in the manual, but when I want to add files manually I got following error message:

vue2Dropzone.js:1 Uncaught TypeError: Cannot read property 'match' of undefined
at VueComponent.manuallyAddFile (vue2Dropzone.js:1)
at VueComponent.onAddImages (TripReportItem.vue:115)
at invoker (vue.esm.js:2027)
at HTMLDivElement.fn._withTask.fn._withTask (vue.esm.js:1826)

Do you have any idea what went wrong? I have implemented the component as follows:
template;
          <vue-dropzone ref="myVueDropzone" id="vueDropzone" :options="dropzoneOptions">               </vue-dropzone>
and in the methods
onAddImages:function(){                 var file = { size: 555, name: "1.jpg"};                 var url = "http://www.gstatic.com/webp/gallery/2.jpg";                 this.$refs.myVueDropzone.manuallyAddFile(file, url)             },
this function would be bound via click handler to a button (just for testing purposes)
Thank you in advance

This is an upstream exception, see PR for a fix you can apply yourself

The saves my weekend !! Thank you very much, now it works.

Thank you @eljefedelrodeodeljefe !

Try to add type in file object!
var file = { size: 123, name: "Icon" }; var file = { size: 123, name: "Icon", type: "image/png" }; var url = "https://myvizo.com/img/logo_sm.png"; this.$refs.myVueDropzone.manuallyAddFile(file, url);

its not working in loop.
this.staticForm.attaches = res.data.aircraft.attaches
                    // console.log(this.staticForm.attaches)
                    let attaches = res.data.aircraft.attaches

                    if(attaches.length>0){
                        for (let i=0; i<attaches.length;i++){
                            let file = {name: attaches[i].original_file_name, contentId:attaches[i].id, size:123}
                            this.$refs.viewDropZone.manuallyAddFile(file,'/storage/'+attaches[i].path+'/'+attaches[i].original_file_name)
                        }
                    }

@MicroDreamIT I had the same issue with loop I added type: "image/jpg" to the mock

Hope this video will help you. The video is short and to the point. https://www.youtube.com/watch?v=zoA5tizAa2w


POI layer

Requests to show Points Of Interest (POI) on the map for tour planning:

youth hostels (Hostel overlay (Groups))
Historic objects (#105)

It would be nice to have a general Overpass API POI layer with some UI to select/filter for specific POIs/categories. Not aware of any plugin for the UI part though.
Maybe utilizing tag hierarchies, icons and translations for selection and popup content from POI apps or editor presets?
Overpass layers

leaflet-nectarivore
overpass-layer + overpass-frontend
leaflet-overpass-layer

POI apps

OpenStreetBrowser
osm24 - http://osmapa.pl/osm24
Unterkunftskarte - no repository
openpoimap - http://openpoimap.org/, OpenLayers

Router with POIs examples

Openrouteservice Maps - pin button on the right, own DB
Komoot - click in search bar, closed source
Naviki - button top right, closed source

When I prepare a mountain bike ride with brouter-web, I always look for drinking water on my way with overpass turbo. It would be awesome to have it and other requests into brouter-web
This are my four request :
[man_made=water_tap]   [amenity=drinking_water]   [amenity=toilets][drinking_water!=no]   [drinking_water=yes]

Hej, just wanted to let you know that I've started working on this.
So far you can enable an extra overpass layer + either enter a custom overpass query (updated on textarea blur) or choose from the (yet little) template list. The marker popup definitely needs more content, ... and generally early feedback is welcome :-)
Currently the build fails on the branch since gulp-uglify stumples over let variables used in overpass-layer. As a first time contributor to the project I'm still wondering which language level this project is actually targeting. So this might also need some work.

Great, thanks for the announcement, looking forward to it!
I will see if I can have a look at your branch, but got a bit of a backlog right now.
We're still not using ES6 yet, see #249 and discussion in #250. Already was planning to have another look at our user agents and to decide if we should either just drop IE11 and other legacy browser support or simply use standalone Babel with the full polyfill package as an intermediate step to using a bundler.

Some thoughts that came to mind:

just saw that plepe/overpass-layer seems to be GPL licensed, which would be incompatible with our MIT license
before you start formatting OSM tags for popup output (sanitizing, links, address formatting, translation, images, ...): don't know if those tools already support that or if there is a library, but we should do some research or borrow from some license-compatible POI maps
a nice addition might be not only to query the viewport bbox, but alternatively offering to query POIs along the route with Overpass API around feature that can also take a list of lat/lon pairs.

Ouch, ... I haven't checked the license but just followed the list in the initial post and noticed that plepe/overpass-layer looks better maintained. Both other options have their last commit in 2018 and there also are no better maintained forks.
So thanks for your fast response to keep me from going further that route :)
Towards popup formatting my first idea was to just list the key/value pairs of the node/area and maybe go fancier over time. I just had a brief look into the leaflet-overpass-layer alternative, which BTW does just that :)
I like the idea with the around feature, I'll have a closer look into the aforementioned alternative and whether it's possible to do so. But looks promising so far. I'll also have a look if it'd be feasible to have a "execute query" button instead of querying implicitly (which is likely to cause unneeded/unwanted overpass api queries)

Regarding the license issue, it might be worth asking about it on @plepe project - maybe it can be changed to some compatible MIT license instead?

Regarding the license issue, it might be worth asking about it on @plepe project - maybe it can be changed to some compatible MIT license instead?

Done in overpass-layer#1.

Ouch, ... I haven't checked the license but just followed the list in the initial post

Sorry, my bad, I should have checked before listing them.
I also think that plepe/overpass-layer is the most advanced and probably the only one that takes Overpass rate limiting into account, e.g. by query delays and explicitly handling 429 responses.

I'll also have a look if it'd be feasible to have a "execute query" button instead of querying implicitly (which is likely to cause unneeded/unwanted overpass api queries)

Sounds like a good idea to me.

I also think that it's rather advanced (actually overpass-frontend) with caching, splitting of queries, retries, arbitrary geojson boundary for queries, .... You can even load a .osm file and run your overpass queries on this.
There's a drawback though, it can handle only rather basic queries, as it parses the query to load results from the cache. No sets or distance. But it should be okay for most cases.


Fix Bug : #54, #69

The problem is in 'await PerformHandshakeAsync(ipc)'.
The ipc.Once("components:init") is never called.
Finally, I found a solution to the problem,
The problem was coming from WebWindow.Native.dll.

@vavadevds this PR dosn't work for me; @ScottKane PR works with earlier versions of blazor and addressed the issues without including breaking changes that current blazor has; longer term IMHO these breaking changes in blazor needs to have some coordination with WedWindow given the dependencies; until the WebWindow can be fully updated.  fixes should be done on a seperate PR to MAJOR version updates where breaking changes are introduced.

Hi @3GDXC Please can you give some detail about error you get when you try to run my PR,
Thank you.


test: output of grep command is capital letter and AZURE_ACR_NAME should be unique

changed to False from false.
can make a unique AZURE_ACR_NAME

Fixes #
Description
'az group exists' printed true/false as capital letter.
So i added the ignore-case option(-i).
Also AZURE_ACR_NAME should be unique. but if the codespace is not using, only set karpenter as the AZURE_ACR_NAME
How was this change tested?
make az-all

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

Release Note
NONE

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.716%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
35591

Relevant Lines:
36423

💛  - Coveralls

@jacobbaek, thank you for the contribution!

I am curios which environment produced capitalized True/False? (Which I suspect is not valid JSON ...)
You can (and could) set AZURE_ACR_NAME prior to running make (it uses conditional assignment)

Hi @tallaxes ,
In my case, the core.output setting was table. so the result of grep was printed "True".
It is not problem If use the json default setting.
To clarify, I also opened PR for updating document. there is 'az config set core.output=json'.
https://github.com/Azure/karpenter-provider-azure/pull/225
Thanks for your advice.

In my case, the core.output setting was table. so the result of grep was printed "True".

Ok, that explains it. A better fix for that command would be to not rely on the default setting and have explicit -o json or -o tsv.
And thank you for helping document non-codespace dev environment!


Add redirectUri to sc2.sign()

redirectUri has been added to sc2.sign() but the update has not been applied to README.

@bonustrack Thank you for your prompt action!


Auth client that wraps authn and authz

Extract all the common things (kinds, types, relations, permissions, gRPC client...) in a lib.  The library could encapsulate gRPC call directly to the SpiceDB (no auth svc before) in some cases (things, where you don't need to process token; but you need access to Redis).

This is related to #2264. In #2264 the idea is to create separate gRPC APIs for policy CRUD, AuthN, and AuthZ, and in this one, the idea is to have the abstraction for those clients so that we can either call Auth service gRPC APIs or SpiceDB directly.
@arvindh123 Please doublecheck if we need all 3, or if we can have only CRUD and Auth APIs.

After this PR https://github.com/absmach/magistrala/pull/2392 merged
We need to have kind of client on top AuthService and PolicyService gRPC Client
And I'm think of like having Authorization in single place, i.e in AuthService for both users and things.
here AuthService will communicate with users and things via gRPC to verify password or thing key

@dborovcanin's idea , Services like Users, Things, Bootstrap, etc.. will import the "Policy Service" and "Auth service" as library in their code.  Service don't know about how these libraries are connected to "Policy Service" or "Auth Service".
If we want to achieve this, one of the way is , we need add wrap above the existing gRPC client.
But I'm not sure about approach for "Policy Service" , Because the Policy Service library can either directly connect to SpiceDB or it can connect to Auth Service , where auth service act like proxy to SpiceDB

Create wrapper for PolicyCURD along ,at present wrapper can communicate to Auth service.
In next PR replace Auth service in wrapper to SpiceDB.
Same way we need wrap for  Authn/Authz  and then Move Auth to middleware, It should impalement service by service , (Individual service in one PR )
Then wrap Authn/Authz wrapper can use  JWT for users Authn and for things Authn ,it can verify with things service via gRPC.

This is the absolute priority for the following sprint. It is blocking development related to constraints, PAT, but also restructuring the whole svc layer. @arvindh123 Please create follow-up tickets and use this as an umbrella task for this initiative.

This is an umbrella issue for a couple of tasks. Only the JWT part is reamining and there is a corresponding issue, so I'm closing this one.


Remove dead code in StopJob.cs (line 164)

Jason found this through code inspection.  This code will never run because of the previous if statement and in fact the code is duplicated in the HandleStopJobCompleted() where it is correct.  So we can simply remove the code at line 164.
var parentJob = job as ContainerParentJob;
if (parentJob != null && parentJob.ExecutionError.Count > 0)
{
    foreach (
        var e in
            parentJob.ExecutionError.Where(
                e => e.FullyQualifiedErrorId == "ContainerParentJobStopError"))
    {
        WriteError(e);
    }
}

If we have a "code cleanup" label at some point, this would fall under it.

Hi @powershell, I just submit a PR (#5091) for this issue.

Hmm, I seem to be missing something with this issue and the associated PR.  HandleStopJobCompleted appears to be only used for Job2 instances and not Job instances. While the code is duplicated, removing it for Job instances doesn't appear to be correct.


Weird incompatibility with Nature's Compass mod

I've also submitted this issue to the GitHub for Nature's Compass.
When using both mods together in 1.12, upon making the Nature's Compass, it was a gray wearable backpack, and not the compass. It's such a bizarre conflict of mods that I'm not sure why the hell it would do this, so I figure perhaps there's something going on with one of the mods that should be looked into.

There was an issue with item models that should have been fixed in the latest release.
Are you using 3.0.3 or 3.0.4?

Linking to other issue: MattCzyr/NaturesCompass#5

As far as I can tell, this is just an issue on my end. Will be fixed with a new Nature's Compass release in the next couple days.

@MattCzyr: Cool. Feel free to look into the issue I mentioned above in case you made the same mistake as me. PaleoCrafter has described the problem pretty well.

Closing since it's an issue with Nature's Compass and being fixed anyway.


docs: start databricks page

Part of #4724

Overall databricks highlights the lack of python api in dvc, because there is no classic terminal like in sagemaker.

Thanks @efiop!
Not a blocker, but what about the kind of workflow in https://iterativeai.slack.com/archives/CB41NAL8H/p1690427011744419? Are you waiting on being able to do this in a less hacky way?

@dberenbaum That particular one has a few problems:

noscm, I'm not happy with a hack and wondering if maybe it is a sign that we should not work with the project that is provided by databricks, but instead do something different (e.g. suggest a separate clone or something).
the whole scenario seems like a bit too much for this doc, as it just uses dvc as normal, which seems to be enough to mention in the doc.

Discussed with @dberenbaum that we should probably just embrace the noscm hack and document it here for now.

Also discussed with @dberenbaum that we could put a disclaimer/note into every integration page to ask people for ideas/scenarios that are not covered. And also we should put a request for info about other integrations into the integrations cover page in our docs (which is currently missing).

Also discussed with @dberenbaum that we could put a disclaimer/note into every integration page to ask people for ideas/scenarios that are not covered. And also we should put a request for info about other integrations into the integrations cover page in our docs (which is currently missing).

Out of scope here, so will do it separately.


Add a "default-username" setting

Most websites use the user's email as their username these days, so it might be nice to have a setting like this:
[commands.new]
default-username =<EMAIL_ADDRESS>
When set, this should have the same behavior as kbs2 new with a generator: if the user doesn't enter a username, then the default one is substituted.

This is slightly annoying to do with how I've designed the current kbs2::input module. That should probably be refactored first.

This will be much easier to implement once #306 lands.


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/8807a89a-96cc-485c-8816-36fe4709d154/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Closing in favor of https://github.com/googleapis/java-storage-nio/pull/696


[bonus guide update] TunnelSats: updated nftables ruleset & links

What & Why
We updated and enhanced the nftable ruleset in TunnelSats scripts, so this should be reflected in RaspiBolt guide as well.
Also TunnelSats repo moved to an organizational github account. Links were corrected.
Scope

[ ] significant change to core configuration
[x] independent bonus guide update
[ ] simple bug fix

@kristapsk would you please approve these required changes? It's been tested on TG with a customer.