Getting the Error on Debugging on windows

Discussed in https://github.com/vadimcn/vscode-lldb/discussions/511

Originally posted by vKarunakaran2551990 September 10, 2021
Hi,
When I try to run my program using the custom launch, am getting error for reading the variables as
"Unable to convert register kind=1 reg_num=29 to a native register number" , but the same setup is working on linux. only for windows OS this is happening .
I have added TargetCreateCommands  & processcreateCommands properly.
if anyone facing this issue, can you please guide us with the fix ?
regards,
Karunakaran

if anyone facing this issue

No I haven't seen anything like this.
I am going to need more information to help you.   Please provide the info I've requested in the bug template (esp. compiler name and version and what is your debugging target) .   Also, verbose log and the launch configuration would be helpful.


Create Redis key-value capability provider as a standalone executable

To make a first-party capability provider for end to end testing, we'll need more than just the HTTP server provider. This should cover the creation of a Rust-based key-value capability provider that supports wasmcloud:keyvalue against a Redis database.
This is required before @brooksmtownsend and I can create an end-to-end test that invokes the kvcounter.wasm actor, which serves as a kind of basic smoke test for the surrounding runtime.

This is currently under construction, and can be found here


Indicate required NPM Version for Downloading package.json files for RC1

Seems only the very latest or very recent version of NPM (3.8.9) works for downloading the files referenced in the package.json
Would be great to indicate that here.
https://angular.io/docs/ts/latest/guide/npm-packages.html
Otherwise then unsuspecting may fumble around a bit  with errors like:
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--verbose"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.3
npm ERR! Invalid name: "@angular/http"
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm verb exit [ 1, true

Npm 3.6.0 works fine for me.

According to npm website,
Scoped packages should work on anything greater than 2.7.0
https://docs.npmjs.com/getting-started/scoped-packages

Maybe this is an issue in that npm version on darwin


Update json structs to support reading non JSON encoded data

This updates the json struct fields to support reading non JSON
encoded data. This is being done to support deeply nested
json struct fields and to also simplify some of the read model
logic that builds fake data for json struct fields.
This updates the json struct fields to check if the data they
are being passed is a string and if it is it will try and
decode it. Otherwise they will assume the data doesn't need to
be decoded and try to build struct classes from it. Read model
structs require the data to respond to [] and json struct
lists require array like data so if the data doesn't match
either of these then it will error out. If a string is set as the
data which does respond to the [] method and many array methods
it won't work because the fields will try decoding it and raise an
invalid JSON error.
This also updates the read model factory to no longer JSON encode
the data. This avoids extra processing for the read model
factories and the read models that are built. This also allows
the read model factories to build fake data for deeply nested
json structs and it work as expected.
This also adds missing tests for the json struct field classes
that handle constantizing the struct class, decoding the JSON from
the read model data, and building the structs. These were always
intended to be tested but I forgot to add the tests in PR 265.
See #265
@kellyredding - Ready for review. I noticed this while updating the read model factories to use the new default args stuff.

@jcredding thanks for discussing this with me.  I'm cool with it.  I like that you caught and added those missing tests. 👎


Previously Backed-up Outgoing Messages Are Disappearing

I don't know how this is happening, but emails for messages on my end going back at least months have been disappearing from my SMS folder.
This was never an issue in all the years I have been using this. I want the messages back.
Android 8.0.0
LG V20
SMS Backup+ 1.5.11
Standard Messaging Application for Android

did you ever find your missing messages, and/or find out why they disappeared?

did you ever find your missing messages, and/or find out why they disappeared?

Nope! No one tried to help either

did you ever find your missing messages, and/or find out why they disappeared?

Nope! No one tried to help in all that time either

Broadly there are two possibilities:

The messages were backed up, but have been deleted since; or
The messages failed to be backed up, and this has only come to light recently.

If existing backups of messages have been disappearing, that's really nothing to do with SMS Backup+ because there isn't even any code in the app that could invoke 'delete message' in GMail. So the follow-up would be to check for action rules on your mailbox; or for someone or something using IMAP or POP to extract messages out of your GMail account; or possibly for retrospective spam filtering.
If the messages failed to be backed up originally, then there's not much that can be done to recover them now, unless they're still on your phone.
I'm going to close this ticket as there's little chance of finding out what happened or why, but feel free to reply and re-open the ticket if you do ever find something, or need further assistance with this issue.

I assumed you'd checked your "sent email" and/or searched for specific text that should occur in your list messages?
That is, you've checked that the messages are actually deleted rather than hidden?
If you turn off threaded message view in Gmail, by default it will hide all your outgoing messages. That happens even for outgoing messages sent from another email service using one of the "from" addresses linked to the Gmail account. And if you change your "from" addresses, it may recategorise existing messages from "sent" to "received" or vice versa.

I looked for the specific things I thought I said, but again even at the
time of your reply, it was almost 2 full years so I wouldn't have exact
quotes for most things.
Everything was backed up in the SMS folder and random outgoing messages
dating back even years before my initial post, started missing for one
reason or another and I have no logical explanation for any of it.
On Thu, Oct 1, 2020, 5:39 PM Martin Kealey @.***> wrote:

I assumed you'd checked your "sent email" and/or searched for specific
text that should occur in your list messages?
That is, you've checked that the messages are actually deleted rather than
hidden?
If you turn off threaded message view in Gmail, by default it will hide
all your outgoing messages. That happens even for outgoing messages sent
from another email service using one of the "from" addresses linked to the
Gmail account. And if you change your "from" addresses, it may recategorise
existing messages from "sent" to "received" or vice versa.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/923#issuecomment-702412332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKROVG5FRLO4VJM5UUYJPXLSITZIPANCNFSM4F4PBA3Q
.

It is doubtful that SMS Backup+ is responsible for any messages being removed, but I will continue to check for possible code paths where this might occur.
I assume you're using GMail rather than a custom mailserver, so I would start looking for other actors that might affect your mailbox.
Do you keep TakeOut snapshots of your Google account?
Do you have any filtering rules for your GMail?
Do you have any plug-ins or custom scripts for your GMail?
Do you have any other clients that connect to it?


Error when loading checkpoint on torch 2.0.1 + mps

PYTORCH_ENABLE_MPS_FALLBACK=1 python src/play.py on the csgo branch, m1 mac:
RuntimeError: don't know how to restore data location of torch.storage.UntypedStorage (tagged with mps:0)
Works after upgrading to torch==2.4.1

Good catch, thank you! We upgraded the requirements :)


Use Middle Mouse Button for Camera (Like Blender)

Reference:
https://blackflux.com/forums/viewtopic.php?f=9&t=48

I do find myself doing that a lot when switching between the two.

Yeah, same here :)

Done. Was a little bit more work than expected but should be working nicely now.


API documentation for io.sockets.clients

I may have missed it, but there doesn't seem to be documentation for things like io.sockets.clients

+1, you just have to guess everything by looking at the code...

Any documentation for server side usage?

+1

+1
Everything you find declared as "documentation" is just some ready-to-run code examples, but no real explanation or api reference.

+1
Everything you find declared as "documentation" is just some ready-to-run code examples, but no real explanation or api reference.

+1
Seconded, it feels like the whole libray is written for chat examples.

+1

+1

I'm working on the definite API docs for 1.0 at the moment. Please avoid .clients because it might change, and leverage the room features which are public API. If you need to reach a client, join him to a room, then emit to the room

@guille Thanx. Great product and I'm very excited about upcoming 1.0 release.

@guille  i think the ability to fetch a particular client is quite needed for instance what if somebody wants to send a message to a specific client in some other room ?


Consider adding unknown data to the SDSS dataset

Currently, we only include objects which fall into one of three categories (Stars, Quasars, and Galaxies). We might want to check to see if there are any outliers in this dataset and how the classifiers behave when we add unknown data.

SDSS has only unlabelled data. Since we have a lot of labelled data, defer this issue.


All the vim mapping(like C-F1、C-F2、C-F3) become useless.

When I in tmux and start vim, I can't using the mpping that Ctrl-F1 Ctrl-F11......, How can I solve it???

Such problems happen when TERM doesn't have the proper value.
Verify TERM is set to xterm-256color outside of tmux and is screen-256color or tmux-256color inside of tmux.
Then verify your .vimrc.


[SUPPORT] Best Practices for Setting Up DeltaStreamer Jobs for PostgreSQL Partitioned Tables with Debezium

Hi everyone,
I’m working with a PostgreSQL table that uses a hash-based partitioning strategy. Here is the setup:
-- Create the main sales table
CREATE TABLE public.sales
(
    salesid SERIAL,
    invoiceid integer,
    itemid integer,
    category text,
    price numeric(10,2),
    quantity integer,
    orderdate date,
    destinationstate text,
    shippingtype text,
    referral text,
    updated_at TIMESTAMP DEFAULT NOW(),
    PRIMARY KEY (salesid, invoiceid)  -- Include the partitioning column in the primary key
) PARTITION BY HASH (invoiceid);

-- Create partitions
CREATE TABLE public.sales_part_0 PARTITION OF public.sales FOR VALUES WITH (MODULUS 4, REMAINDER 0);
CREATE TABLE public.sales_part_1 PARTITION OF public.sales FOR VALUES WITH (MODULUS 4, REMAINDER 1);
CREATE TABLE public.sales_part_2 PARTITION OF public.sales FOR VALUES WITH (MODULUS 4, REMAINDER 2);
CREATE TABLE public.sales_part_3 PARTITION OF public.sales FOR VALUES WITH (MODULUS 4, REMAINDER 3);

-- Insert data
INSERT INTO public.sales (invoiceid, itemid, category, price, quantity, orderdate, destinationstate, shippingtype, referral)
VALUES
    (101, 1, 'Electronics', 599.99, 2, '2023-11-21', 'California', 'Express', 'Friend'),
    (102, 3, 'Clothing', 49.99, 5, '2023-11-22', 'New York', 'Standard', 'OnlineAd'),
    (103, 2, 'Home & Garden', 199.50, 1, '2023-11-23', 'Texas', 'Express', 'WordOfMouth'),
    (104, 4, 'Books', 15.75, 3, '2023-11-24', 'Florida', 'Standard', 'SocialMedia'),
    (105, 2, 'Home & Garden', 199.50, 1, '2023-11-23', 'Texas', 'Express', 'WordOfMouth');

I have set up a Debezium connector with the following configuration:
name=PostgresConnector
connector.class=io.debezium.connector.postgresql.PostgresConnector
tasks.max=1
database.user=hive
database.dbname=metastore
database.hostname=metastore_db
database.password=hive
database.server.name=hive
table.include.list=public.sales
database.port=5432
plugin.name=pgoutput
tombstones.on.delete=false

This configuration creates the following topics:

hive.public.sales
hive.public.sales_part_0
hive.public.sales_part_1
hive.public.sales_part_2
hive.public.sales_part_3
I am looking for recommendations on how to set up DeltaStreamer jobs for each partition. What is the best approach to handle this setup effectively?
Thank you!

@soumilshah1995 Using MultiTable Delta Streamer would be best available option for now.

wouldn't streamer aims to push in different target paths
what if you want to build a one table and each
hive.public.sales_part_0
hive.public.sales_part_1
hive.public.sales_part_2
hive.public.sales_part_3
becomes partitions
kind of like notion architecture
https://www.notion.so/blog/building-and-scaling-notions-data-lake

How do we achieve something like this ?

Any pointers | Suggestions

I got this question answered and I will be trying this out

I dont think approached mentioned on community sync will solve the issue I will attend next sync and ask my further question


When journald restarts, program should exit.

In #13, we just ignored SIGPIPE upon journald restarts.
As a consequence, programs using this framework will not fail
on journald restart but now they may stack when writing logs to
stdout/stderr pipes.
I don't know the exact reason but as systemd & journald is so flaky,
and SIGPIPE is treated as normal exit condition by systemd, we need
to catch SIGPIPE on stdout/stderr and exit abnormally, say, with
exit condition 2.

@yutannihilation @nojima
Is this ok?

I just noticed that systemd has an option IgnoreSIGPIPE. And it is true by default.
       IgnoreSIGPIPE=
           Takes a boolean argument. If true, causes SIGPIPE to be ignored in the executed process.
           Defaults to true because SIGPIPE generally is useful only in shell pipelines.

Therefore, it is possible that SIGPIPE is still ignored although we explicitly handle SIGPIPE to exit abnormally.
However, the existence of this option contradicts our experience ― our daemons under systemd were killed by SIGPIPE.  I suppose that this option does not work in some condition.

@nojima
Yes I know.  With that option, systemd installs a signal handler for SIGPIPE
before executing the service.  However, Go overrides that handler in order to
manually handle SIGPIPE for stdout and stderr.  What a misfortune.

The above description is wrong.  Go does not override the SIGPIPE handler.
Instead, it manually raise SIGPIPE if EPIPE error is returned from Write to fd 1 & 2.


merge with apoelstra/master

includes a bump to newer libsecp

Please test that parity tests pass with this version.

ok, will check it out.

they both look to have passed.


Rails 5

How about Rails 5 compatibility?
https://github.com/lowjoel/simple_form-bootstrap/blob/master/simple_form-bootstrap.gemspec#L26-L28

I haven't tested it. If you've tried it and it works, feel free to raise a PR to change it to >= 4.0, < 6

I have never used this gem before and was just looking around.


[Unity][Pass] Block-level static memory planning

This PR introduces the static memory planning pass on binding block level, as well as an analysis function that estimate the memory usage after the memory planning pass. It supports the following features: nested-tuples,  reuse memory of the input of reshape ops, an estimator that returns total memory size needed to be allocated before and after memory planning, as well as the number of tensors / memory blocks to be allocated before and after memory planning.
The estimation is static -- it does not consider control flows (such as “if” and cross-function calls). It simply accumulates the size of every alloc_tensor and alloc_storage.
We will produce “relax.memory.alloc_tensor/storage” as the results produced by memory planning.

the relevant tests pass, gpu ci outage, merging to save ci cycles.


Part-4: Remove Unnecessary TimeSeries Materialization + Minor Cleanups

We don't really need to build the TimeSeriesBuilders until we return from the LeafTimeSeriesOperator, since there are no time-series related operations under and including the TimeSeriesCombineOperator.
This PR changes the TimeSeriesResultsBlock so that instead of keeping a TimeSeriesBlock, it keeps a new TimeSeriesBuilderBlock, which keeps the un-built series in a map keyed by the series id.
This also enables queries with complex aggregations like Percentile, Rate, etc. (until we support Exchange/Shuffles).
Additionally:

I have also renamed the ScanFilterAndProjectNode to the more appropriate LeafTimeSeriesPlanNode, since that node technically also corresponds to an aggregation.
Changed TimeSeriesLogicalPlanner#init to take in PinotConfiguration
Fixed a log message in PinotClientRequest

Codecov Report
Attention: Patch coverage is 36.17021% with 30 lines in your changes missing coverage. Please review.

Project coverage is 63.99%. Comparing base (59551e4) to head (9513a54).
Report is 1094 commits behind head on master.

Files with missing lines
Patch %
Lines

...ombine/merger/TimeSeriesAggResultsBlockMerger.java
0.00%
8 Missing :warning:

...ore/operator/blocks/results/ResultsBlockUtils.java
0.00%
5 Missing and 1 partial :warning:

...ery/runtime/timeseries/LeafTimeSeriesOperator.java
0.00%
3 Missing :warning:

...pinot/tsdb/planner/TimeSeriesQueryEnvironment.java
0.00%
3 Missing :warning:

...e/pinot/tsdb/spi/series/BaseTimeSeriesBuilder.java
0.00%
3 Missing :warning:

...t/core/operator/blocks/TimeSeriesBuilderBlock.java
84.61%
2 Missing :warning:

...time/timeseries/PhysicalTimeSeriesPlanVisitor.java
0.00%
2 Missing :warning:

.../pinot/tsdb/planner/physical/TableScanVisitor.java
0.00%
2 Missing :warning:

...pinot/broker/api/resources/PinotClientRequest.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14092      +/-   ##
============================================
+ Coverage     61.75%   63.99%   +2.24%
- Complexity      207     1537    +1330
============================================
  Files          2436     2596     +160
  Lines        133233   143293   +10060
  Branches      20636    21948    +1312
============================================
+ Hits          82274    91703    +9429
+ Misses        44911    44838      -73
- Partials       6048     6752     +704

Flag
Coverage Δ

custom-integration1
100.00% <ø> (+99.99%)
:arrow_up:

integration
100.00% <ø> (+99.99%)
:arrow_up:

integration1
100.00% <ø> (+99.99%)
:arrow_up:

integration2
?

java-11
55.57% <34.78%> (-6.13%)
:arrow_down:

java-21
63.87% <36.17%> (+2.24%)
:arrow_up:

skip-bytebuffers-false
63.99% <36.17%> (+2.24%)
:arrow_up:

skip-bytebuffers-true
63.84% <36.17%> (+36.11%)
:arrow_up:

temurin
63.99% <36.17%> (+2.24%)
:arrow_up:

unittests
63.99% <36.17%> (+2.24%)
:arrow_up:

unittests1
55.60% <34.78%> (+8.71%)
:arrow_up:

unittests2
34.46% <2.12%> (+6.73%)
:arrow_up:

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

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


:ant: fix: expect eth addresses to be 42 chars

Fixes #21

Coverage decreased (-32.0%) to 22.0% when pulling baf81e7d579864203f33522f4eb953f86c011a2a on fix/contractAddress_hexstring into 519c60153f411dd06752f07b8865c07402f3def4 on develop.

Coverage remained the same at 54.0% when pulling 01488b819f3099bede9245864c56baa3a10b8db6 on fix/contractAddress_hexstring into 519c60153f411dd06752f07b8865c07402f3def4 on develop.

I suck at merging close does not mean merge

Coverage remained the same at 54.0% when pulling 01488b819f3099bede9245864c56baa3a10b8db6 on fix/contractAddress_hexstring into 519c60153f411dd06752f07b8865c07402f3def4 on develop.


Two vertices visible for same vertex (Spot edit mode.)

Describe the bug
Long press on a vertex of a polygon to edit it, move the highlighted vertex,
Press on a different spot and edit that spot, press back on the same vertex on the first polygon that we edited, observe that 2 vertices will be visible.
Screen shot :

Fix in commit #383a46a

383a46a4d2c5c953e5823d8620290d417ec1ff73

383a46a


Option to inhibit light turn on if room is too bright

If a light sensor is present in the room, it makes sense to use the combined value of the illumination sensor in order to disable automatic lights.
My previous setup was:

during night turn on all light at it's max brightness
measure illumination level
add in the automation, if the illumination level is greather than the maximum with the lights on, then don't turn on the lights.

What do you think?

You could achieve this by using a template binary-sensor which handels the illuminance level. In that way you could handle multiple scenarios like only turn on if illuminance level is under 30 lx, presence of people (e.g. no need to turn lights on by cats if nobody is at home)....
e.g.
binary_sensor:
  area_kuche_active:
        friendly_name: Area aktiviert
        value_template: >-
          {{ not ( is_state("input_boolean.area_kuche_auto_light","off") or
                   is_state("binary_sensor.people_home","off") or
                  (is_state("binary_sensor.people_home","on") and
                   ( states('sensor.ms_kuche_illuminance_lux')|int <  30)))  }}

simple use this as the disable_entity (in that case with disable_state: "off")

As @sti0 said, that's exactly the intended use of disable_entity using template sensors over lux values.
This feature isn't baked in to give more flexibility on what you want to use as a disable reference.

@sti0 I know that I can achive it, thank you in any case for providing the code.
@jseidl,Please let me rephrase,
I know that it is possible to use a template for disabling automatic lights.
from your blog post, you wanted to have all the things that you like in a single place. Therefore you added the possibility to join multiple sensors, and create area illuminance, area motion, area .... All this handled automatically.
Why am I now forced to create n binary sensors, one for each area, when it could be possible to have a single parameter in the configuration file?
I would love to have the addon integrated with the integration menu in the future. Without having to add anything to the configuration.yaml. Having the binary_sensor template directly handled by the addon would be a plus.
Could you please re-evaluate your decision?
thank you in advance

For the integration menu, there's an issue tracking this feature #16 .
I try to keep versatility in focus so I don't want to tie the disable_entity to anything as of right now. One possibility would be to add an area_min_lux and then create an area_XYZ_light but that would conflict with the aggregation sensors.
I believe this could be implemented more in the lieu of "Auto create area_XYZ_calculated_light" then add this light sensor to the area_XYZ_light and then you'd need to manually specify binary_sensor.area_XYZ_light in the disable_entity.


Version comparison: '<' not supported between instances of 'str' and 'int'

Hi maintainer,
Thanks for the role. I've been using it for some time.
Last time, running Ansible 2.9.9 and timorunge/ansible-freeipa-client (version 0.2.2) I got:
TASK [timorunge.freeipa_client : Install FreeIPA client packages] *******************************************************************************
fatal: [my-hostname]: FAILED! => {"msg": "Version comparison: '<' not supported between instances of 'str' and 'int'"}

I'll send you soon a PR.

I've messed up the PR creation, but here it is: #2


NPO.nl plugin does not support python 3.

This plugin breaks massively because of bytes-objects and stuff that got turned into iterators in python 3 (eg. filter).

#1192


docs Correct typos in kyuubi doc

Proposed changes
as the follwup for https://github.com/apache/doris/pull/17481
Problem summary

fix typo typos in Kyuubi doc
fix the wrong error path in examples

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

cc @luzhijing

run buildall

run p0


Watching deep changes in Vuex causes: [Vue warn]: Error in nextTick: "RangeError: Maximum call stack size exceeded"

Version
2.6.11
Reproduction link
https://jsfiddle.net/chrisvfritz/50wL7mdz/
Steps to reproduce

Create a deep watch of a store state (In my case, a array of objects) and set options deep: true (Error does not show when deep: false, however it is need for my application)
Make some sort of change to that state.
Error appears:

[Vue warn]: Error in nextTick: "RangeError: Maximum call stack size exceeded"

RangeError: Maximum call stack size exceeded
    at Function.keys (<anonymous>)
    at _traverse (vue.runtime.esm.js?2b0e:2121)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)
    at _traverse (vue.runtime.esm.js?2b0e:2123)

What is expected?
Error should not be appearing.
What is actually happening?
Error is showing as well as the freezing of my entire Vue app.

This error was able to be fixed adding an addition conditional to a conditional in the _traverse method of vue.runtime.esm.js.
if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode || val._isVue)

(val._isVue was added)

That's not a valid reproduction.

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂


Output of anon_key and service_role key on supabase start is incorrect on Windows Terminal

Bug report
Describe the bug
Ran supabase start and got the following output locally:
Started local development setup.
API URL: http://localhost:54321
DB URL: postgresql://postgres:postgres@localhost:54322/postgres
Studio URL: http://localhost:54323
anon key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiJ9.ZopqoUt20nEV9cklpv9e3yw3PVyZLmKs5
service_role key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIn0.M2d2z4SFn5C7Hl

But when I used the anon_key to send a request via Invoke-WebRequest in PowerShell:
curl 'http://localhost:54321/rest/v1/' -H @{
>> "apikey" = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiJ9.ZopqoUt20nEV9cklpv9e3yw3PVyZ
>> "Authorization" = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiJ9.ZopqoUt20nEV9cklpv9e3yw3PVyZLmKs5"
>> }
curl : {
  "message":"Invalid authentication credentials"
}
At line:1 char:1
+ curl 'http://localhost:54321/rest/v1/' -H @{
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-
   WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWeb
   RequestCommand

Dug into the kong container and found the kong.yml where the credentials are stored:
consumers:
  - username: anon
    keyauth_credentials:
      - key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiJ9.ZopqoUt20nEV9cklpv9e3yw3PVyZLmKs5qLD6nGL1SI
  - username: service_role
    keyauth_credentials:
      - key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIn0.M2d2z4SFn5C7HlJlaSLfrzuYim9nbY_XI40uWFN3hEE

Turns out the output from supabase start was cut off.  Could be considered a terminal issue, but I havent had this kind of issue with any othr CLI program, so figured I'd raise it here.
To Reproduce
I outlined it in the description.
Expected behavior
I expected to get an http status code 200 for my Invoke-WebRequest command.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: Windows
Version of Node.js: 16.6.2

Should be fixed with the PR - do reopen if it isn't though 🙏


login with key

Version: <IP_ADDRESS>4
OS/Distro: Ubuntu desktop 16.04 - no desktop
is it possible to save my key in AD and use sshd to use it instead of /root/.ssh/authorized_keys ?

In Open there is not. In Enterprise we have a Group Policy Object that allows you to push down any file you like via a computer policy or user policy(user limited to files in their home dir).
You could try k5login with open:
http://web.mit.edu/kerberos/krb5-1.13/doc/user/user_config/k5login.html


AMA support for Microsoft Sentinel

I notice Microsoft Sentinel is not among service supported by AMA, think it should be

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

ID: 1e57fdf8-ece5-2bf1-200e-f089691de53f
Version Independent ID: cd84fac1-b179-6158-e61d-d85d797efdf3
Content: Overview of the Azure monitoring agents - Azure Monitor
Content Source: articles/azure-monitor/agents/agents-overview.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @bwren
Microsoft Alias: bwren

Thanks for bringing this to our attention. We will investigate it further and update you shortly.

@iwafula025 - Thanks for bringing this to our attention.
But it is mentioned in that docs that Microsoft Sentinel is supported.


TMKP MVP1 CQS Template

Hi all,
This PR contains a provisional MVP1 CQS Template for the TMKP targeted assertion KG. I've modeled the template after the Service Provider / BTE AEOLUS template.
This template should be considered a work-in-progress as there are some caveats:

The Workflow Runner cannot query the TMKP KG directly (as I understand it) because it is hosted by Service Provider, so this provisional workflow is set up to access the Service Provider end point. I had hoped to use the primary knowledge source edge attribute to constrain results to be from TMKP, however, I have been unable to successfully run a query with attribute constraints against the Service Provider end point. There is a thread in the BTE Slack channel inquiring about this issue.

I have been unable to get results back from the Workflow Runner using the template as input and the test curies that are provided in the README. I have validated that the test curies are in the KG, and do return in results when querying the Service Provider end point directly (as long as there are no attribute constraints). The same query run through the Workflow Runner does not seem to return results, and I am unsure how to diagnose the issue. Any suggestions/help with debugging queries when run through the Workflow Runner would be greatly appreciated. Thanks!

Note that at the time of this comment infores:service-provider-trapi is no longer listed as an available Workflow Runner service for the lookup operation, so the proposed TMKP CQS template in its current form is essentially invalid.


MEN-3756: Document why _INCONSISTENT is appended to software name.

Signed-off-by: Kristian Amlie<EMAIL_ADDRESS>

Cherry-picked to 2.3.x and 2.4.x as well.


Negative value

When the input and labels have only one feature and the values for both of them are between 0 and 1, the loss will be negative values.

Yes this is expected and was discussed previously in #10.


[Unit Testing] Implement Missing Tests for Miscellaneous Cases - Missing

Several tests are currently missing and need to be implemented as soon as possible.

feature_engineering: sessionize, case_when, eval, add_copy, copy.
correlation: chaid, pivot_table_chi2.
descriptive_statistics: nlargest, nsmallest, numh.
xgb_classifier: to_json_multiclass.
randomforest_classifier, decision_tree_classifier, xgb_classifier: multi-class classification tests.
all models: overwrite_model parameter.
correct model management tests

@oualib - VerticaPy/verticapy/tests/vDataFrame/test_vDF_correlation.py can be deleted now.  chaid, pivot_table_chi2 functions are now covered under new_test VerticaPy/verticapy/tests_new/core/vdataframe/test_machine_learning.py

@vikash018 I've added check boxes, please check them when the task is done.

Closing this issue as we created another one with missing items.


Long subtitle text is getting cut

Seems like this plugin currently only renders up to two lines, making it's impossible to show longer subtitle.

Hi @brainwo, thanks a lot for giving a try! It's been a while I did not update a repo, I'll give it a shot. I think here what happens is that the subtitle you are using has two lines.
I did not implement line wrapping but it would be nice indeed, some subbers unfortunately do not add enough line splits, especially for small screens :-(

You are right about that:
251
00:14:30,536 --> 00:14:35,541
観自在菩薩(かんじざいぼーさー)
行深般若波羅蜜多時(ぎょうじんはんにゃはらみーたーじ) 照見五(しょうけーご)


How can I download version 4?

Currently,  I want to use this plugin with mcreator that's 2022.2

You can't


parse error in FOR JSON PATH

Discussed in https://github.com/lovasoa/SQLpage/discussions/126

Originally posted by Pieter3033 November  8, 2023
Hi,
The newest form component is really cool 🔥.
I am currently struggling to populate the options of a select type in the form component.
I am using MSSQL.
I have attempted the following:
(SELECT Column1 AS label, Column2 AS value FROM MyTable FOR JSON PATH) AS options
Error:

Note, I have tested this SQL statement inside of MSSQL and the output is as expected.
Maybe I am struggling with the syntax?
Regards

I reported the issue upstream to the sql parser library.
In the meantime, you have two options:

format the json string manually using string manipulation functions
define a custom function that returns your json string, and just call that function from your SQL page (SELECT create_options_json() AS options)

I wrote a fix for the parser, waiting for it to get merged: https://github.com/sqlparser-rs/sqlparser-rs/pull/1043

Hi @lovasoa, hope you are well.
Love the new update 🔥
I see that the sqlparser has been merged, has it been pushed in SQLPage 0.16.0 ?

Hi ! I'm fine, thank you :)
My pull request has been merged, but the new sqlparser still hasn't been released. I'll publish a SQLPage release after the sqlparser releaser, which @alamb should do beginning of next week.

Perfect.
Thank you for the feedback.

Good news for you !
Just merged the upstream change, we have FOR JSON in the latest development version of SQLPage.
You can try it now on docker with lovasoa/sqlpage:main, or wait for the big release which is coming in the next few days.

Perfect thank you for the update, looking forward to the next SQLPage update.

It's going to be a big one, with some long awaited features :)


[BUG] QR Code link paragraf width

Description
When trying to share your profile link , the input that has the URL and the "Copy" button is not well designed as it doesn't show full content, as in the screenshot below :
Screenshots
BUG :

SOLUTION :
increase the with of the parent , and set the width of the  tag to at least 50% and make it look like this :

Additional information
I can work on this issue and fix it , or if there's anyone wants to get started with Open Source by this issue he/she can take it :)

@yassineatik Can I work on this issue, I am just starting to do contributions

@Shiraz-2022 this has been assigned to @yassineatik so please look at other issues marked with the label status: ready for dev.

@SaraJaoude Sure


Remove resize observer from button

Purpose
We are currently using a ResizeObserver to force button's icon to be square. Yet this is possible (but tricky) to have this will pur CSS
Proposal
Tricks the CSS

The images are not center, can you see if you can do better ? I tested on brave and firefox on ubuntu.

@lunika probably not perfect yet but should be better now, we can play with svg transform pretty easily

In your commit message, explain more what you did please. This sentence is not enough:

Use CSS instead of JS to have a square SVG icon in live action buttons.

@lunika I have updated the comment
btw, we just saw with @carofun that this refacto also fix a bug on safari 14.0.3 where SVG were not visible


Image and brief bio

I just added my headshot and a brief bio

Hey @gwaybio , just a review reminder. Thanks!

Hey @gwaybio , just sent a pr re-review request

Just finished making the changes @gwaybio


Error: TooManyRequestsException

Operating system: Ubuntu
Apex Version: v0.16.0

We have a large project that we are trying to deploy and keep getting the error TooManyRequestsException.  AWS has told us to do a retry with exponential back off but the issue is we are trying to deploy the whole project.  Could this be something apex does when deploying a project on a per function basis?

You're hitting this limit on deploy? How many functions are your trying to push?
I only API limit I know of for sure on Lambda is the concurrent execution safety limit.

We have around 100 functions per stage.  When we rolled out an infrastructure change (upgrading a package for each function) it would require a deployment of all the functions
It's an AWS SDK API Limit.  We contacted AWS Support and essentially they limit the number of API calls you can make.  We fixed this by versioning each function and deploying only the functions that changed.  In the case of deploying all the functions, we would just retry the deployment each time until it was successfully deployed.
We have since then moved to serverless for less of a homegrown system but this is something that would be pretty beneficial for apex if you want to deploy 100+ functions

Yeah it would be helpful to handle this better. Probably with retry/backoff since that's pretty easy.
Out of curiosity, did you have the default execution limit on your account? I feel like we would have seen this too but ours is well over the default 1000.

Execution limit for Lambda?  We are 3000 for our limit.
This isn’t that. The limit for the AWS SDK API is something else. I can try and get a copy of the support ticket from Amazon if that would help.

I would appreciate that. I can't really find any docs for this limit.
Seems like we'll either need to make some kind of backoff (like you said) or add throttling on api calls. I'm willing to bet we repeat some work unnecessarily and could cache call results to help this.
I just noticed apex has a concurrency field in project.json that's basically undocumented (and I can't see how it's actually used). I wonder if it would help here?

Concurrency is probably the new implemented concurrency limit you can apply to each function.
Here is the response I received
“Hello,
Thank you for contacting AWS Premium Support. I am ——- and will be assisting you with your issue today.
I understand that your deployment pipeline is getting "TooManyRequestsException" when deploying your functions.
There are specific throttles set on certain Lambda API calls and if you perform too many of these API calls at a time, you may hit this error. May I ask what API call you are performing that leads to this exception? The limits on these API calls vary by region and based on the specific API call. These service limits are set in place to ensure the quality of AWS Services for customers.
Please take a look at [1] which talks about EC2 API limits. The API behavior is common for most AWS services.
AWS API actions are divided into action types such as:
->   Describe actions, such as ListAliases, ListFunctions etc - these functions simply retrieve cached data, so they have the highest retry limits
->   Modify actions, such as CreateFunction, CreateAlias, etc - these functions create or modify resources so they have a lower request limit than describe actions
To prevent these errors from occurring, I would request you to implement retries with exponential back off. The exponential back off approach implements retry logic which uses progressively longer waits between retries for consecutive error responses. When using this response you can specify a maximum delay interval as well as a maximum number of retries.
The pseudo-code for this approach looks something like this:
Do some asynchronous operation.
retries = 0
DO
wait for (2^retries * 100) milliseconds
status = Get the result of the asynchronous operation.

IF status = SUCCESS
    retry = false
ELSE IF status = NOT_READY
    retry = true
ELSE IF status = THROTTLED
    retry = true
ELSE
    Some other error occurred, so stop calling the API.
    retry = false
END IF

retries = retries + 1

WHILE (retry AND (retries < MAX_RETRIES))
Please see [2] to know more about API retries.
I would request you to implement retries with exponential back off for your API calls to see if you are able to overcome the problem. However if you still face issues, please provide the full error trace and the API call that results in this exception along with your use case.
Also feel free to get back to us if you have any other questions.
[1] : https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#api-request-rate
[2] : https://docs.aws.amazon.com/general/latest/gr/api-retries.html”


[SPARK-18376][SQL] Skip subexpression elimination for conditional expressions

What changes were proposed in this pull request?
As per discussion at #15807, we should disallow subexpression elimination for expressions wrapped in conditional expressions such as If.
How was this patch tested?
Jenkins tests.
Please review https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before opening a pull request.

cc @cloud-fan @kiszk

Test build #68389 has started for PR 15824 at commit 548e45f.

Test build #68389 has finished for PR 15824 at commit 548e45f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68389/
Test FAILed.

retest this please.

Test build #68393 has started for PR 15824 at commit 548e45f.

Test build #68393 has finished for PR 15824 at commit 548e45f.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68393/
Test FAILed.

Merged build finished. Test FAILed.

retest this please.

Test build #68394 has finished for PR 15824 at commit 548e45f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68394/
Test PASSed.

Close this for now because we might prefer other solution.


the name 'unsafe' does not exist in current context

The package is not working even after following the installation instructions from the openUPM:
https://openupm.com/packages/com.netpyoung.webp/#modal-manualinstallation
Here's what I get in the console after installing the package:
Library\PackageCache\com.netpyoung.webp@0.3.9\Runtime\NativeLibwebpdemux.cs(112,17): error CS0103: The name 'Unsafe' does not exist in the current context
Library\PackageCache\com.netpyoung.webp@0.3.9\Runtime\NativeLibwebpdemux.cs(141,17): error CS0103: The name 'Unsafe' does not exist in the current context
How can I fix this?

hi @imineti
For package install needs System.Runtime.CompilerServices.Unsafe.dll.
But rather than use .package to install unity.webp, I recommand to use upm
You can find manifest.json from {gameproject}/Packages/manifest.json. than modify to add
{
  "dependencies": {
    "com.netpyoung.webp": "https://github.com/netpyoung/unity.webp.git?path=unity_project/Assets/unity.webp#0.3.9",
    "org.nuget.system.runtime.compilerservices.unsafe": "6.0.0"
  },
  "scopedRegistries": [
    {
      "name": "Unity NuGet",
      "url": "https://unitynuget-registry.azurewebsites.net",
      "scopes": [
        "org.nuget"
      ]
    }
  ]
}

https://github.com/netpyoung/unity.webp#using-upm


Continue expt token setup

@Jovells After this PR is merged, there will be 3 test files available for the 3 Smart Contract files.
I want you to handle all the Smart Contract tests with me stepping in whenever I have some recommendations on the test for these reasons.

for you to vet and make recommendations for the solidity code while you test it.
of course, you know how to test and achieve 100% coverage way better than myself.

@od41 I created my PR #2 as a DRAFT but you moved it to Ready for review and MERGED it prematurely. That is why I had to create this one to complete what I wasn't able to.
Going forward, when you see DRAFT PRs, please leave them ALONE because they are not ready to be merged.
Once the Contributor is ready (@mickeymond @Jovells) they are supposed to now make it Ready for review  before you can then merge it.
Sometimes a DRAFT PR can actually be closed without getting MERGED.

@Jovells After this PR is merged, there will be 3 test files available for the 3 Smart Contract files. I want you to handle all the Smart Contract tests with me stepping in whenever I have some recommendations on the test for these reasons.

for you to vet and make recommendations for the solidity code while you test it.
of course, you know how to test and achieve 100% coverage way better than myself.

Alright. Understood. wanted to set up the test network before I start testing. Done that now so I'll get to it.

@mickeymond You know what, I assumed it was ready for merge because it was a PR.
Can we use emojis
📝 for a draft PR
⚠ PR that has something we need to pay attention to
✅ for an all good and ready to merge PR
It'll make it easier to identify what i'm working with.


Replace current highlight with a highlight on entire message

This is an alternative attempt at #1846.
So far I prefer the other result, but that's a personal preference. Also it seems like there will be more color-related issues with this way of doing so, which does not bode well with accessibility.

Browser
Mobile

At the moment the fading-out gradient for long nick is broken with this. I'll try to fix it if that's what we go with.

As talked about on IRC, the contrast in colours is a bit much in the example above. Using the colour of the background in a different shade, would in my opinion look very good! (as shown below, where a different shade of grey colour is used)

Using the colour of the background in a different shade, would in my opinion look very good!

That would be some kind of light gray on example theme, what do you think?
Also, that would require fixing some contrasts like the one on time.

It would yes. Not tested how it would look like.
Including some examples below.
IRCCloud white background:

Discord white background:

Looking at the first screenshot, it's very attention grabbing, I still prefer the way I did it in Solarized theme where only time and nick parts are colored.

Looking at the first screenshot, it's very attention grabbing

I agree, and that's why I prefer #1846, and even more so when we have a way to navigate through the highlights with an element of the UI. That would be sweet.
I'm really not a fan of the Solarized version though. I get the goal, but I don't think it looks really good, and I think we can do something a bit nicer, but not just with CSS tweaks (i.e. said UI element to navigate).
I'll see if I can come up with something, at least a prototype to validate the idea or trash it.

Yeah, I'm not a fan of this one. I think if forced to choose between the status quo, this one and #1846 , I'd go for #1846. I definitely prefer the way @xPaw did it in solarized, but if people don't want that in master, I'm totally fine with it just being in the theme. For default, I can see the reasons for doing #1846 instead, and it's much nicer than what we have. This one is ... a bit hash.

I would rather keep the current solution than #1846. #1846 is just not visible enough when scrolling through the chat to see where you was highlighted.

Alright, I think I've changed my mind on this.
I think if I were to choose between this one, status quo and #1846, I'd go for this one now.
I still prefer the one on the solarized theme, but this might be better for the default these. It's definitely more obvious, and that's the point of a highlight.

I'm experimenting further with highlights in Solarized, and find that this approach works quite well:

Change background color to be lighter
Small border on the left of the message that is high contrast

I think this approach works quite well for number of reasons:

Light background color change isn't always visible: low contrast, bad displays
Changing background color to something substantial: very annoying, hurts text readability
Using a simple dot/border (like in the other PR) makes it harder to scan messages

I do like it, I think it gives the advantages of all the approaches we've come to, while trying to deal with a couple of the disadvantages of them as well.
The key point is that the side line (or whatever it ends up being, whether it's a dot in default or whatever) needs to be very visible, but the background colour needs to be not too different so that everything is still readable.
I notice that you change the colour of the time as well. Is that deliberate?

I notice that you change the colour of the time as well. Is that deliberate?

Currently, yes. As I said, experimenting with different approaches.

Just to come back to this: I am still using the same style as shown in my screenshot above. I very much enjoy this approach.

@xPaw, I like your approach too. I gave it a shot in the bundled themes, using colors given by https://color.adobe.com/ to match our main color, in my branch at #2315 to match it with our actual "new" blue:

What do you think?

@astorije, that looks great!

Superseded by https://github.com/thelounge/thelounge/pull/2526.


Using for _id with mongodb v4 library in TypeScript

In case someone else runs into this...I was using uuid-mongodb successfully with v3 of the mongodb library, using a UUID as the document _id. Had to upgrade to mongodb v4 and things broke.
Finally found the clue here: https://jira.mongodb.org/browse/NODE-3532?focusedCommentId=3989765&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-3989765
Here's some sample code, if you don't want to register. The key is using an interface ("IdDocument" below) as the generic when accessing client.db.collection.
Need an interface:
import { MUUID } from 'uuid-mongodb';

export interface IdDocument {
  _id: MUUID;
  [keys: string]: any;
}

and then:
import { v4, from, MUUID } from 'uuid-mongodb';

const id = v4();
const data = { _id: id,  someValue: 'heres a thing' };

const coll = client.db('test').collection<IdDocument>('testids');

await coll.insertOne(data);
const output = await coll.findOne({_id: id }) as IdDocument;

console.log(id.toString(), from(output?._id).toString());

Good find, but something is definately still wrong.  This would essentially make the document a typeless object - antipattern to Typescript and pointless .collection<T> generic in the first place.
Can you also just make your interface as normal and extends IdDocument to get it working as well?


Remote access from a no ip domain, is it possible?

So I've got Rutorrent installed through your script in a Linux Server machine.
That Linux Server machine is in my LAN with a 192.168.X.X address, and that was the address I confirmed in the script installation. I acess the script in my LAN trough the 192.168.X.X/rutorrent address.
The script worked amazingly and has been working at 100 percent since then.
Now I need to access Rutorrent Web UI from a remote location.
In my LAN I also have a deluge running in a windows machine, I just needed to port forward webui address. And now I can use it easily through no IP.
What can I do to make the same happen to rutorrent running in the Linux server?
Is it possible?
Is it simple?
P.S Love your script!

Today I have been looking at this and I tried to access port 443ssl (internal_ip:443), but it opened nginx and not rutorrent.
I think this happens cause the rutorrent is accessed through internal_ip/rutorrent
So I looked into default.conf inside /etc/nginx/site-available and it was pointing to var/www/ and not to var/www/rutorrent, I changed it,and I can enter a rutorrent webui that has this errors "JS error: [https://<IP_ADDRESS>/js/stable.js : 1770] Uncaught Type Error" and this ", Bad response from server: (200 [parsererror,getplugins]) SyntaxError: Unexpected token <"

Ok I got it working, it's indeed really easy, we only need to change the ssl server port in etc/nginx/default and then forward this port on your router to the internal ip of rutorrent machine.
Do not change anything else!


[QUESTION] Understand file retrieving long duration

Expect
I need the filePath of the AssetEntity to be able to upload it.
So i have tested :

assetEntity.file
assetEntity.originFile
assetEntity.loadFile()

I am also trying to display very quickly a preview of the file (thanks to its path) in a VideoPlayer Widget.
However, my beta test users told me that videos were not playing locally for a very long time and after it's always working.
So i have set a PMProgressHandler to listen to the progress as written in the docs, and it's working.
However i am surprised to see the progress like this :
flutter: Event : PMRequestState.prepare, progress : 0.0 & time : 47
flutter: Event : PMRequestState.loading, progress : 0.01 & time : 49
flutter: Event : PMRequestState.loading, progress : 0.02 & time : 49
flutter: Event : PMRequestState.loading, progress : 0.03 & time : 50
flutter: Event : PMRequestState.loading, progress : 0.04 & time : 50
flutter: Event : PMRequestState.loading, progress : 0.05 & time : 51
flutter: Event : PMRequestState.loading, progress : 0.06 & time : 51
flutter: Event : PMRequestState.loading, progress : 0.07 & time : 52
flutter: Event : PMRequestState.loading, progress : 0.08 & time : 52
flutter: Event : PMRequestState.loading, progress : 0.09 & time : 52
flutter: Event : PMRequestState.loading, progress : 0.1 & time : 53
flutter: Event : PMRequestState.loading, progress : 0.11 & time : 53
flutter: Event : PMRequestState.loading, progress : 0.12 & time : 54
flutter: Event : PMRequestState.loading, progress : 0.13 & time : 54
flutter: Event : PMRequestState.loading, progress : 0.14 & time : 55
flutter: Event : PMRequestState.loading, progress : 0.15 & time : 55
flutter: Event : PMRequestState.loading, progress : 0.16 & time : 55
flutter: Event : PMRequestState.loading, progress : 0.17 & time : 56
flutter: Event : PMRequestState.loading, progress : 0.18 & time : 56
flutter: Event : PMRequestState.loading, progress : 0.19 & time : 57
flutter: Event : PMRequestState.loading, progress : 0.2 & time : 57
flutter: Event : PMRequestState.loading, progress : 0.21 & time : 58
flutter: Event : PMRequestState.loading, progress : 0.22 & time : 58
flutter: Event : PMRequestState.loading, progress : 0.23 & time : 59
flutter: Event : PMRequestState.loading, progress : 0.24 & time : 59
flutter: buffer video false
flutter: Event : PMRequestState.loading, progress : 0.25 & time : 0
flutter: Event : PMRequestState.loading, progress : 0.26 & time : 1
flutter: Event : PMRequestState.loading, progress : 0.27 & time : 1
flutter: Event : PMRequestState.loading, progress : 0.28 & time : 1
flutter: Event : PMRequestState.loading, progress : 0.3 & time : 2
flutter: Event : PMRequestState.loading, progress : 0.31 & time : 3
flutter: buffer video false
flutter: Event : PMRequestState.loading, progress : 0.32 & time : 4
flutter: Event : PMRequestState.loading, progress : 0.33 & time : 4
flutter: Event : PMRequestState.loading, progress : 0.34 & time : 5
flutter: Event : PMRequestState.loading, progress : 0.35 & time : 5
flutter: Event : PMRequestState.loading, progress : 0.36 & time : 6
flutter: Event : PMRequestState.loading, progress : 0.37 & time : 7
flutter: Event : PMRequestState.loading, progress : 0.38 & time : 8
flutter: Event : PMRequestState.loading, progress : 0.39 & time : 8
flutter: Event : PMRequestState.loading, progress : 0.4 & time : 9
flutter: Event : PMRequestState.loading, progress : 0.41 & time : 9
flutter: buffer video false
flutter: Event : PMRequestState.loading, progress : 0.42 & time : 10
flutter: buffer video false
flutter: Event : PMRequestState.loading, progress : 0.43 & time : 10
flutter: Event : PMRequestState.loading, progress : 0.44 & time : 11
flutter: buffer video false
flutter: Event : PMRequestState.loading, progress : 0.45 & time : 11
flutter: Event : PMRequestState.loading, progress : 0.46 & time : 12
flutter: Event : PMRequestState.loading, progress : 0.47 & time : 12
flutter: Event : PMRequestState.loading, progress : 0.48 & time : 13
flutter: Event : PMRequestState.loading, progress : 0.49 & time : 13
flutter: Event : PMRequestState.loading, progress : 0.5 & time : 14
flutter: Event : PMRequestState.loading, progress : 0.51 & time : 14
flutter: Event : PMRequestState.loading, progress : 0.52 & time : 15
flutter: Event : PMRequestState.loading, progress : 0.53 & time : 16
flutter: Event : PMRequestState.loading, progress : 0.54 & time : 16
flutter: Event : PMRequestState.loading, progress : 0.55 & time : 17
flutter: Event : PMRequestState.loading, progress : 0.56 & time : 17
flutter: Event : PMRequestState.loading, progress : 0.57 & time : 18
flutter: Event : PMRequestState.loading, progress : 0.59 & time : 19
flutter: Event : PMRequestState.loading, progress : 0.6 & time : 19
flutter: Event : PMRequestState.loading, progress : 0.61 & time : 20
flutter: Event : PMRequestState.loading, progress : 0.62 & time : 21
flutter: Event : PMRequestState.loading, progress : 0.63 & time : 21
flutter: Event : PMRequestState.loading, progress : 0.64 & time : 22
flutter: Event : PMRequestState.loading, progress : 0.65 & time : 22
flutter: Event : PMRequestState.loading, progress : 0.66 & time : 23
flutter: Event : PMRequestState.loading, progress : 0.68 & time : 23
flutter: Event : PMRequestState.loading, progress : 0.69 & time : 23
flutter: Event : PMRequestState.loading, progress : 0.7 & time : 24
flutter: Event : PMRequestState.loading, progress : 0.72 & time : 24
flutter: Event : PMRequestState.loading, progress : 0.73 & time : 24
flutter: Event : PMRequestState.loading, progress : 0.74 & time : 25
flutter: Event : PMRequestState.loading, progress : 0.75 & time : 25
flutter: Event : PMRequestState.loading, progress : 0.76 & time : 25
flutter: Event : PMRequestState.loading, progress : 0.78 & time : 25
flutter: Event : PMRequestState.loading, progress : 0.79 & time : 26
flutter: Event : PMRequestState.loading, progress : 0.8 & time : 26
flutter: Event : PMRequestState.loading, progress : 0.81 & time : 26
flutter: Event : PMRequestState.loading, progress : 0.82 & time : 27
flutter: Event : PMRequestState.loading, progress : 0.84 & time : 27
flutter: Event : PMRequestState.loading, progress : 0.85 & time : 27
flutter: Event : PMRequestState.loading, progress : 0.86 & time : 28
flutter: Event : PMRequestState.loading, progress : 0.87 & time : 28
flutter: Event : PMRequestState.loading, progress : 0.88 & time : 28
flutter: Event : PMRequestState.loading, progress : 0.9 & time : 29
flutter: Event : PMRequestState.loading, progress : 0.91 & time : 29
flutter: Event : PMRequestState.loading, progress : 0.92 & time : 30
flutter: Event : PMRequestState.loading, progress : 0.93 & time : 30
flutter: Event : PMRequestState.loading, progress : 0.94 & time : 30
flutter: Event : PMRequestState.loading, progress : 0.95 & time : 31
flutter: Event : PMRequestState.loading, progress : 0.96 & time : 31
flutter: Event : PMRequestState.loading, progress : 0.97 & time : 32
flutter: Event : PMRequestState.loading, progress : 0.98 & time : 32
flutter: Event : PMRequestState.loading, progress : 0.99 & time : 33
flutter: Event : PMRequestState.success, progress : 1.0 & time : 33
flutter: Displayed loaded file is : File: '/private/var/mobile/Containers/Data/Application/C92417AB-642F-4FA2-825B-1F380C2E59C7/tmp/.video/IMG_8696.MOV'

Where time is in seconds. The above logs are given by the below code :
 PMProgressHandler handler = PMProgressHandler();
 handler.stream.listen((event) {
      print("Event : ${event.state}, progress : ${event.progress} & time : ${DateTime.now().second}");
 });
 File? displayedFile = await assetEntity.loadFile(isOrigin: true, progressHandler: handler);

So as you can see, it tooks 33 + (60-47) = 46 seconds to load a 19sec video file.
I would like to understand why is it so long to retrieve a path ? This is almost x5 times the time it takes to actually upload the video  :/
The only explanation i have came up with is that the path actually doesn't exist and you save the origin file to a temp file path and that takes a huge amount of time even for a powerful device... Which is also weird because i am also saving temp files in my app (1min videos that are edited) and it usually takes maximum 5seconds for the biggest video.
I need this filePath to "exists" as fast as possible, is there any way to do that ?
Thanks a lot in advance for any guidance !

This is actually more a bug than a question because i can't upload files because of this reason, even on very performant smartphones it takes too long to retrieve...
Is there any way to make it available instantly like getting a File in Flutter ?

If await entity.isLocallyAvailable equals false, which typically means your entity is only saved on iCloud storage rather than your device. Then the speed of retrieving the file depends on the speed of download.
This is by design and must be implemented accordingly. If you want to know more about how to implement this, we've implemented a more user-friendly interaction at here: https://github.com/fluttercandies/flutter_wechat_assets_picker/blob/973fdcbb469cb2b2c7fc9750f0adf199f69a64d5/lib/src/widget/builder/locally_available_builder.dart

Is there any way to make it available instantly like getting a File in Flutter ?

The answer is NO in most of the time on iOS. This system has a Sandbox mechanism, which will copy newly retrieving files into the sandbox that the app is holding.
Closing as it's by design and has a valid workaround/solution.

Thanks for the detailed answer !

So it is possible that the asset comes from even if we have not enable iCloud (i have never put photos / videos in iCloud and i have this loading on some files), i had no idea about it.
How can the thumbnail be retrieved instantly with entity.thumbDataWithOption() and when calling entity.file on the same entity it downloads it ?
In other words, how can we get a thumbnail from a file that is not locallyAvailable ? Unless all thumbnails are stored on the device and can be retrieved without the original file.
I would guess that Apple make them available for any apps to avoid using too much disk space per app for caching always the same assets but i don't know...

So it is possible that the asset comes from even if we have not enable iCloud (i have never put photos / videos in iCloud and i have this loading on some files), i had no idea about it.

Is it a real question? As you can think this again, it's impossible for us to retrieve any files that are not available locally.

How can the thumbnail be retrieved instantly with entity.thumbDataWithOption() and when calling entity.file on the same entity it downloads it ? In other words, how can we get a thumbnail from a file that is not locallyAvailable ? Unless all thumbnails are stored on the device and can be retrieved without the original file.

Yes, thumbnails can be retrieved locally, since the OS may have a cache manager holding all thumbnails.

I would guess that Apple make them available for any apps to avoid using too much disk space per app for caching always the same assets but i don't know...

That's not related to a photo manage plugin.


localcluster-deployment.md - KFP platform-agnostic-pns env hasn't been released

/assign @alfsuse
Follow up of https://github.com/kubeflow/website/pull/2056

/lgtm
/approve
Thanks look great to me!

/approve


clientconfig: Missing Support for Default Domain

The clientconfig package is missing support for default domain:

https://github.com/openstack/osc-lib/blob/master/osc_lib/shell.py#L45
https://github.com/openstack/osc-lib/blob/master/osc_lib/shell.py#L237-L246
https://github.com/openstack/osc-lib/blob/86129e6f88289ef14bfaa3f7c9cdfbea8d9fc944/osc_lib/cli/client_config.py#L117-L146

I'm not going to hard-code default into the clientconfig package -- I'll leave that up to the application for now.

Implemented in #39


v4.2.0 may have broken sqlite support

Describe the bug
I attempted upgrading our project from 4.1.1 to 4.2 and our test suite running on sqlite is all broken. It looks like the schema generator omits some columns when creating the db. Omitted columns are all tagged @ManyToOne, but not all @ManyToOne columns get omitted. 🙃
Is there any breaking changes I should have applied in the configuration?
Stack trace
SQLITE_ERROR: table <some_table> has no column named <ref_table>_id

To Reproduce
I tried my best isolating the issue to provide easy reproduction steps but I couldn't manage to get anything. My little tests with small dummy entities worked fine. Our production DB has 45 tables and references all across, the schema generator seems to be missing about 5 to 10 columns spread in different tables.
There is also no obvious difference between a @ManyToOne column that gets created, and another that doesn't. I just can't put my finger on what's going on, all I can tell is that toggling between 4.1 and 4.2 makes it or breaks it.
Additional context
Let me know if there'a any relevant log or data I could provide without flooding you with a pile of entities and configuration.

Well, without a reproduction I dont really have a way to help. My tests are working just fine and you are the only one with such issue so far.
So please provide something I can try, otherwise will close it.

Any updates? This should be extremely easy to replicate, as it is just about entity definition.

I'll try the last dev version tomorrow.
After that I'll try to reduce the scope to isolate the issue but as I mention we have a lot of entities and a lot of relationships that make it hard to trim down. Worst case I might have to grant you a temporary read access to the repo. I'll update you tomorrow or Tuesday.

@B4nan I ended up creating a separate repo where it's easy to replicate, and added you as a collaborator. I added instructions in the readme but it's pretty straightforward. Let me know if you have any questions.
I can also do some slack or discord if ever you need some more direct messaging.
Thanks

I can't even install the native dependencies. Please turn that into a reproduction, I am not interested in your app :] It is issue with schema generation, so include only entity definitions and script that prints the dump, literally no 3rd party modules are needed for this. And don't forget to remove all entities that are working fine.

All right this is as small as I can make it: https://gist.github.com/maphe/33e6bc2a59aedbc4afa79b8cf75498ae
Also worth noting this one fails with both 4.1 and 4.2 so it might not be specific to 4.2.

Perfect, thanks, will look into this probably later today!

Please test it via 4.2.4-dev.96

I tried with the following in package.json:
    "@mikro-orm/core": "4.2.4-dev.97",
    "@mikro-orm/mysql": "4.2.4-dev.97",
    "@mikro-orm/nestjs": "4.2.0",
    "@mikro-orm/sqlite": "4.2.4-dev.97",
    "@mikro-orm/knex": "4.2.4-dev.97",

Still seeing the same issue: insert into brand_site_restrictions (site_id) values (1) - SQLITE_ERROR: table brand_site_restrictions has no column named site_id

Your test case is included in the CI now and is passing, so if this does not work for you, adjust the reproduction. Also double check the changes are really pulled in your project, maybe you have some dependency resolution issue (like multiple versions or the orm installed), so try wiping node_modules too.

I finally have it working but I had to force the following:
  "resolutions": {
    "@mikro-orm/knex": "4.2.4-dev.97"
  },

I think there's an issue somewhere in your dependencies where ^4.2.4-dev.97 actually loads 4.2.4-dev.499 which is older. I don't know if it's specific to yarn or if npm would do the same.
Anyway I think that should clean up when you release a final version.

I think there's an issue somewhere in your dependencies where ^4.2.4-dev.97 actually loads 4.2.4-dev.499 which is older. I don't know if it's specific to yarn or if npm would do the same.

That's just how semver works

Fair enough. Might be a good idea to clean up the .499 from the list then.

That is unfortunately no longer possible (and when I had this issue before, unpublishing actually did not help anyway). Just NPM things... 🤷
➜  mikro-orm git:(master) ✗ npm unpublish<EMAIL_ADDRESS>npm ERR! code E405
npm ERR! 405 Method Not Allowed - PUT https://registry.npmjs.org/@mikro-orm%2fcore/-rev/46-0ce22c767df87b6da96c0626ba6b2e76 - You can no longer unpublish this package.
npm ERR! Failed criteria:
npm ERR! has dependent packages in the registry, has too many downloads
npm ERR!
npm ERR! Please deprecate it instead:
npm ERR! npm deprecate -f '<EMAIL_ADDRESS>"this package has been deprecated"
npm ERR! To learn more about our unpublish policies, see https://www.npmjs.com/policies/unpublish

npm ERR!      /Users/adamek/.npm/_logs/2020-11-05T07_19_36_870Z-debug.log

(I did mark it as deprecated, guess what, it. makes no difference)
It was caused by lerne --canary that was quite unpredictable for me (especially in the CI) and the lerna docs are in general not very verbose when it comes to advanced stuff :/ But this will go away when 4.3 is out, so within few days.

All right, thanks for the details, and thanks for the fix 👍 I can wait until last stable version.


Lots of new mappings

Cool stuff

Thanks @liach for the review!

Are these backported from newer versions? or are they new to 1.14?

New.  I would make these against master but my mod targets these versions.  I'm fine with others forward-porting these.

@modmuss50 can we get this merged?

Just a ding to remind people to review/merge :)


add additional resources in ips.md

Description of the change: add additional resources to the page
Reason for the change: as mentioned in the issue
Link to original source: https://sendgrid.com/docs/User_Guide/Settings/ips.html
Closes #3124

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

Hello @plemomay,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


(pup-7021) establish central string encoding conversion

This commit creates puppet/util/character_encoding, a single location to house
logic related to the management character encoding conversion logic in puppet.
Prior to this commit, conversion logic was just beginning to fan out and
duplicate throughout puppet - with all the associated risk and maintenance
burden. We will leverage this code in a separate effort adding a
character-encoding-aware wrapper for ruby's Etc module and rewiring our
providers to use that instead.
This commit actually only adds a single public method -
'Puppet::Util::CharacterEncoding::convert_to_utf8'.
This method applies a standard heuristic to attempt to convert a (copy of a)
passed in string to UTF-8. That heuristic is summarized and justified as
follows (much of this is left as code-comments in the commit as well):
Given a supplied string:

If the string has UTF-8 encoding, return it as-is. We have no need to do
anything.

otherwise, if the string is not UTF-8 already:

Check if its bytes represent valid UTF-8 as currently constitued (in its
non-UTF-8 encoding) and if so, limit ourselves to setting the external
encoding of the string to UTF-8 rather than actually transcoding it. We do
this to handle a couple scenarios:

The first scenario is that the string was originally valid UTF-8 but the
current puppet run is not in a UTF-8 environment. In this case, the string will
likely have invalid byte sequences (i.e., string.valid_encoding? == false), and
attempting to transcode will fail with Encoding::InvalidByteSequenceError,
referencing the invalid byte sequence in the original, pre-transcode, string.
We might have gotten here, for example, if puppet is run first in a user
context with UTF-8 encoding (setting the "is" value to UTF-8) and then later
run via cron without UTF-8 specified, resulting in running in POSIX or some
other default encoding on many systems. In this scenario we're effectively
best-guessing this string originated as UTF-8 and only set external encoding to
UTF-8 - transcoding would have failed anyway.
The second scenario (more rare/unlikely, I expect) is that this string does NOT
have invalid byte sequences (string.valid_encoding? == true), but would
transcode cleanly into different, also valid unicode.
Our example case is "\u16A0" - "RUNIC LETTER FEHU FEOH FE"
http://www.fileformat.info/info/unicode/char/16A0/index.htm
0xE1 0x9A 0xA0 / 225 154 160
These bytes are valid in ISO-8859-1 but the character they represent transcodes
(incorrectly, but cleanly) in ruby to different characters in UTF-8. That's
not what we want if the user intended the original string as UTF-8.  Since
we're effectively moving towards a universal UTF-8 standard, if the string is
valid UTF-8 as currently constituted, we default to assuming the string
originated in UTF-8 and do not transcode it - we only set external encoding.
Otherwise, if the string is neither currently considered UTF-8 nor would be
valid UTF-8 bytes:

Check if the string is even transcodable, as best we can. We know at least
one way to determine it is not transcodable, which is if
string.valid_encoding == false, which will always result in
InvalidByteSequenceError. We may augment this check in the future if we have
better ways. If it is transcodable, go ahead and attempt to transcode (byte
changing conversion) to UTF-8.

If none of our conditions have been met thus far:

the string has been confirmed to not be UTF-8, nor would be valid UTF-8 with
its current bytes, nor can be transcoded to UTF-8. In this scenario, we fail,
as this string cannot be converted to UTF-8.

looks like a couple spec failures on ruby 1.9.3 - investigating

CLA signed by all contributors.

@branan  @Iristyle you had some feedback on the original PR for this, https://github.com/puppetlabs/puppet/pull/5520. That feedback is incorporated in this PR.

Follow on PR is at #5799


Upgraded 39+ gems in Gemfile.lock file.

Upgraded 39+ gems in Gemfile.lock file.

Verified everything was a- 👌  locally. 💥  thanks again @jasnow 👍


Incorrect results when attribute is placed both to RHS and LHS

The correct behaviour is to place the corresponding items to the "both" arules attribute.

Fixed in the bitbucket version.


import RKE cluster and be editable

It would be nice to be able to import an existing RKE cluster and be able to fully manage and edit the cluster using rancher as it would have been created by rancher.
This makes it more attractive to migrate to rancher if you already have an RKE cluster and now want to have all the additional features that rancher provides such as node pools and adding nodes by a single command on the host.

See https://github.com/rancher/rancher/issues/22763


ICM patch release r0.2.1

What type of PR is this?

subproject management

What this PR does / why we need it:
This PR is to update the README and CHANGELOG files for the r0.2.1 patch release. This patch release fixes broken W3C Data Privacy Vocabulary (DPV) reference links in the ICM documentation.
The original idea was to create a maintenance release (and maintenance branch) where this needed fix would be applied. However, there are still some pending discussions about maintenance releases in the Release Management Working Group, and as a short-term solution it was suggested by @hdamker (https://github.com/camaraproject/IdentityAndConsentManagement/pull/196#issuecomment-2343801035) to create a patch release in the main branch.
Which issue(s) this PR fixes:
N/A (It is related to Issue #195 and the fix applied in PR #196)
Special notes for reviewers:
See #196 for further context.
Changelog input
 ICM patch release r0.2.1

Additional documentation
https://github.com/camaraproject/ReleaseManagement/issues/93

as I put here as well (https://github.com/camaraproject/IdentityAndConsentManagement/pull/196#issuecomment-2377510247):
For maintenance releases of APIs, the process is described here: https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14559630/API+Release+Process#PATCH-update.
We could add something similar to the Comm/ICM process part (with the exception that it would use the version number iso the release nr for Fall24 patches.).
So the process would mean to have a branch called "maintenance-020" of the 0.2.0 release in which the above changes will be applied.
On that branch you would then have the patch releases of 0.2.1, 0.2.2, or r1.3 if we consider the current release did r1.1 (RC) and r1.2 (currrent public) applying the release numbering to Comm/ICM as well. In that case the patch should include the version file in the main directory VERSION.MD with inside the text "icm-version: 0.2.1" for this first patch.
for me these changes can either

go in and later changes could be done a additional maintenance-releases on this branch as needed,
or be released later

but as this fixed broken links etc, I would consider option 1 is best.
Each patch that is released, if no impact on API implementation can also be merged into main immediately IMHO.
/LGTM from Release Management

@tanjadegroot

For maintenance releases of APIs, the process is described here: https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14559630/API+Release+Process#PATCH-update.

I'm not sure that this part of the release management processes was already reviewed in detail. I have added some comments there. Especially I don't see why we need to create already a maintenance branch if there were no other changes in main since the Meta-release public release.

We could add something similar to the Comm/ICM process part (with the exception that it would use the version number iso the release nr for Fall24 patches.).

So the process would mean to have a branch called "maintenance-020" of the 0.2.0 release in which the above changes will be applied. On that branch you would then have the patch releases of 0.2.1, 0.2.2, or r1.3 if we consider the current release did r1.1 (RC) and r1.2 (currrent public) applying the release numbering to Comm/ICM as well. In that case the patch should include the version file in the main directory VERSION.MD with inside the text "icm-version: 0.2.1" for this first patch.

I wouldn't do the change of release numbering now in context of the Fall24 release ... we can't change the existing releases, so I would propose to start the new numbering only with the Spring25

...

/LGTM from Release Management

For this Patch and the PR same from my perspective: /LGTM

@tanjadegroot @hdamker If you don't mind, I will merge this PR and generate the new patch release as suggested as a short-term solution. And then for future changes (hopefully not needed for this release) we can follow whatever procedure we end up agreeing on in the Release Management WG.
CC @AxelNennker @sebdewet

@jpengar OK for the short terms solution LGTM

@hdamker

For maintenance releases of APIs, the process is described here: https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14559630/API+Release+Process#PATCH-update.

I'm not sure that this part of the release management processes was already reviewed in detail. I have added some comments there.

true, not actively, we are improving the text as we learn.

Especially I don't see why we need to create already a maintenance branch if there were no other changes in main since the Meta-release public release.

IMHO the maintenance release branch approach should be the standard process, but if you want to skip it this first time, it is OK but as an exception.

We could add something similar to the Comm/ICM process part (with the exception that it would use the version number iso the release nr for Fall24 patches.).

So the process would mean to have a branch called "maintenance-020" of the 0.2.0 release in which the above changes will be applied. On that branch you would then have the patch releases of 0.2.1, 0.2.2, or r1.3 if we consider the current release did r1.1 (RC) and r1.2 (currrent public) applying the release numbering to Comm/ICM as well. In that case the patch should include the version file in the main directory VERSION.MD with inside the text "icm-version: 0.2.1" for this first patch.

Following one of your comments the name of the maintenance branch should exclude the partch number ("z" in "x.y.z") do maintenance-02.

I wouldn't do the change of release numbering now in context of the Fall24 release ... we can't change the existing releases, so I would propose to start the new numbering only with the Spring25

OK, agree

@AxelNennker @sebdewet, as Jesús is on holiday, can you proceed with merge? And then create the release and release tag and update the RM confluence Fall24 page with the new patch release info.? Thanks!


Update the readme with the latest details

Is your feature request related to a problem? Please describe.
The readme requires updating since it has unclear steps to onboarding a new user to the code
Describe the solution you'd like
Update the readme with true details of the current codebase
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@thewahome and @bettirosengugi also when adding this feature, I would suggest that you can do a fix for the typo in the readme.

The varaible should end up looking like this: REACT_APP_CLIENT_ID=guid-client-id-value.

I think it should be

The variable should end up looking like this: REACT_APP_CLIENT_ID=guid-client-id-value.

Thank you.

Also,
in the section Enabling authentication with your own credentials, when I follow step for creating an app, the following error is shown:

Application registrations portal is no longer available to register and manage converged applications. We recommend that you manage your existing applications and register new applications by using the App registrations (now Generally Available) experience in the Azure portal.

Thus, I think as mentioned above, readme might need an update to help onboard new users.
Thank you.


Modules not transpiled outside the NextJS app

What version of Turborepo are you using?
1.1.1
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
I have a package under packages/server written in TypeScript. I'm trying to import that package in apps/web but getting the following error on runtime:
web:dev: Module parse failed: The keyword 'interface' is reserved (7:0)
web:dev: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
web:dev: | import * as types from './types'
web:dev: |
web:dev: > interface ResolvedSchema {
web:dev: |   typeDefs: DocumentNode[]
web:dev: |   resolvers: Record<string, any>

This implies that NextJS can't import a TS module outside of its directory (those are not transpiled per https://github.com/vercel/next.js/issues/5666).
Expected Behavior
I expect that TS modules can be freely imported across the monorepo, since that's the main point of introducing one.
To Reproduce

npx create-turbo@latest.
mkdir packages/server
touch packages/server/index.ts
Fill in the module contents:

// packages/server/index.ts
interface Foo {
  username: string
}

export const value: Foo = {
  username: 'john'
}

mkdir apps/web/api
touch appsp/web/api/foo.ts
Fill in the module contents:

// appsp/web/api/foo.ts
import { username } from 'server'

export default (req, res) => {
  res.send(username)

Run the monorepo via yarn dev (alias for turbo run dev --parallel).
Navigate to http://localhost:3000/api/foo.
See the exception I've mentioned.

Interesting that I can import TS modules from packages/ui without issues. This makes me thing I'm not setting up the TS correctly with a newly added repo server. This is what I have in packages/server/tsconfig.json:
{
  "extends": "tsconfig/base.json",
  "include": ["."],
  "exclude": ["node_modules"]
}

Should I add something else here?

Does your new package contains a package.json? If so, did you add a main entrypoint or a files array (https://docs.npmjs.com/cli/v8/configuring-npm/package-json#main)?
Also, make sure to add your new package to both your app/web package.json and next.config.js (see the require('next-transpile-modules') array).

Hey! This is a Next.js / TypeScript problem and not directly related to turbo. See the documentation on https://www.npmjs.com/package/next-transpile-modules. You might also find it necessary to transpile your packages independently like in the design system example here https://github.com/vercel/turborepo/blob/main/examples/design-system/packages/acme-core/package.json

Thanks, @jaredpalmer.

@jaredpalmer
I am not sure if this is related but having the error - Failed to load parser './parser.js' declared in '.eslintrc.json » eslint-config-next/core-web-vitals » /Users/simon.colman/Documents/GitHub/oroton-turbo-repo/node_modules/eslint-config-next/index.js': Cannot find module 'next/dist/compiled/babel/eslint-parser'
This is a linting error - the next node modules folder is not hoisting up to the root node modules directory

@jaredpalmer I am not sure if this is related but having the error - Failed to load parser './parser.js' declared in '.eslintrc.json » eslint-config-next/core-web-vitals » /Users/simon.colman/Documents/GitHub/oroton-turbo-repo/node_modules/eslint-config-next/index.js': Cannot find module 'next/dist/compiled/babel/eslint-parser'
This is a linting error - the next node modules folder is not hoisting up to the root node modules directory

This happens when your nextjs and eslint-config-next dependencies are not in sync i.e. you updated next but forgot to update eslint-config-next.

@jaredpalmer:

Hey! This is a Next.js / TypeScript problem and not directly related to turbo. See the documentation on https://www.npmjs.com/package/next-transpile-modules. You might also find it necessary to transpile your packages independently like in the design system example here https://github.com/vercel/turborepo/blob/main/examples/design-system/packages/acme-core/package.json

This solution has the drawback that you have to build a package after every change to the package before any other package will recognize the change. That's not the case with Next.js-transpiled packages.
If I have to live with this drawback, I would restructure my repo to have fewer packages. I'm presently being prolific with packages to flatten the source tree and make code easier to locate.

This solution has the drawback that you have to build a package after every change to the package before any other package will recognize the change. That's not the case with Next.js-transpiled packages.

I solved this problem by using the following package.json configuration:
"types": "src/index.ts"
instead of this, which appears in many of the example repos:
"types": "dist/index.d.ts"
I do wonder if I have to use the latter in publishable repos, though.

Faced a similar problem , and solved it by adding  transpilePackages: ["@repos/ui"] to next.config.js at workspace level :)


Updated snippets to use new Messages v1 objects

Description

Adds in the new Messages v1 objects to the Messages snippets
Motivation and Context

Messages v1 was released, so this updates the code to reflect those changes
Testing Details

Tested manually
Example Output(if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING.md document.
[x] All new and existing tests passed.

@superchilled Can you check the WhatsApp stuff especially, as those used custom templates that don't really match the API. I'm not 100% sure if those are even supported now, or should we drop those back to using fully custom objects?

@superchilled Can you check the WhatsApp stuff especially, as those used custom templates that don't really match the API. I'm not 100% sure if those are even supported now, or should we drop those back to using fully custom objects?

As far as I can tell, the WhatsApp custom and template messages look ok. I've never really tested any of these examples in live code, but when we updated the curl examples for Messages v1 a few months back, I got them ok'd by the Messages PM. I'll make a note to follow up post-live and do some double-checking/ testing on these message types specifically (tbh, I think we could improve the documentation around WhatsApp template and custom messages generally, so I'll roll this in to a larger piece of work to audit/ improve the docs in that area -- we can always amend/ remove any snippets as necessary as part of that).

Awesome, thanks. Those typos fixes are corrected, so once approved I'll get that merged then try and remember how to update the docs site :P

Awesome, thanks. Those typos fixes are corrected, so once approved I'll get that merged then try and remember how to update the docs site :P

Thanks Chris. FYI -- we just need to create the snippets, we don't need to add the snippets to the docs, (Nick/ Edmond on the ADP team are tasked with doing that).


Postman API - 4xx expose errors

Improve the Portman output for 4xx Postman API errors.

Solved in #378


invite IssueLab to co-present on OPN monthly call to discuss foundation open policy work with CC

for May 2015

move to august 2015


[ADD]Deeplink support when scanning VULT QR codes with normal camara

Please add the feature that when scanning Vultisig QRs with the normal android camera it is possible to open Vultisig and follow with the respective action of QR code

QA done.


TPRUN-4138 Supporting camel-google-pubsub and camel-grpc OSGi deployment

Fix for https://jira.talendforge.org/browse/TPRUN-4138
Motivation
There is no camel-google-pubsub and camel-grpc karaf features available anymore with Camel 3. It would be nice to have OSGi-ready features back for this version.
It has been fixed in Apache Camel/Camel Karaf in 3.18.2 (cf https://issues.apache.org/jira/browse/CAMEL-18344) but we would need a backport in our internal branch.
Modifications

Add the missing features
Ensure that the versions used are only scoped to those specific components

Close it in favor of #22


Enable dynamically selecting class components in CLI calls with flags

Currently you need to pybm config set builder/runner/reporter names before each CLI call to select these class components. This should be doable in the CLI calls themselves, preferably with a --runner/builder/reporter switch.

Closed by #52 .


Image only loads after window is resize once in Edge 13/14

Browser: IE10, IE11, Edge 13, Edge 14
Using Picture-Element
Image is only visible after the window is resized once.

This is caused because I used the picture as an absolute element, the script changes the picture element to relative

I am having the same issue even with relative elements ...how did u solve the issue ?

I think I just wrapped the image-wrapper with another absolute element so the inner element doesn't  care if it's relative.


resource-usage-monitoring.md Modified

Fix: #31483
The following changes have been made looking at @sftim comment to the following issue.
In the section "Full metrics pipeline" it says:
Prometheus, a CNCF project, can natively monitor Kubernetes, nodes, and Prometheus itself. Full metrics pipeline projects that are not part of the CNCF are outside the scope of Kubernetes documentation.
The following paragraph was not appealing much to the reader especially mentioning Prometheus. The purpose of this PR is to ensure the reader that the Kubernetes Project is designed to work with OpenMetrics which is a CNCF Project but K8s doesn't provide any recommendations of other Projects to work upon.

Hi @NitishKumar06
Would you be willing to set a different PR title and PR description?
The PR description should explain what's being fixed / added, and why. The title should try to summarize that description.

I'm closing this PR since there's no traction and there are sentences proposed in this PR that are not clear.
/close


add: new disclosureFrame definition to allow array in arrays

DisclosureFrame is now
{
  _sd: [ <property key> | <array item index> ],
  [<property key> | <array item index>]: DisclosureFrame
}

@ragnika this is an interesting thead to read. Depends on what do we consider object in this context - different approach can be taken.

Also, I see that you use quite a lot of checks typeof variable === 'object'.
Just to make sure you know that typeof [] === 'object' will return true as well?

@linasi yes, those are intentional, I'm checking for either object or array. I need to refactor the DisclosureFrame check since the new version can no longer be an array.

that disclosure frame structure is very confusing to me

@linasi Yea, it gets kind of confusing if you're going too many levels deep, but I think it's fairly manageable with simpler docs
Will definitely need to add a bit more examples or better examples in the readme to explain how it works.
for flat structures it's simply
const DisclosureFrame = { _sd: ['key1', 'key2'] }
which translates to the resulting sd-jwt
const packedClaims = {
  _sd: [
     <hash>, // hash for key1
     <hash>  // hash for key2
   ]
}


RuntimeError: max_pool2d_with_indices_out_cuda_frame failed

Thanks first for the excellent work!
I have run the polar network and it works well. But when I run the traditional network for comparison, there comes a RuntimeError:
  File "train.py", line 195, in <module>
    main(args)
  File "train.py", line 164, in main
    outputs = my_model(train_pt_fea_ten,train_grid_ten)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/shuangjie/Projects/dev/Rand-LA/ref/PolarSeg/network/ptBEV.py", line 139, in forward
    net_return_data = self.BEV_model(out_data)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/shuangjie/Projects/dev/Rand-LA/ref/PolarSeg/network/BEV_Unet.py", line 19, in forward
    x = self.network(x)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/shuangjie/Projects/dev/Rand-LA/ref/PolarSeg/network/BEV_Unet.py", line 46, in forward
    x4 = self.down3(x3)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/shuangjie/Projects/dev/Rand-LA/ref/PolarSeg/network/BEV_Unet.py", line 159, in forward
    x = self.mpconv(x)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/container.py", line 100, in forward
    input = module(input)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/modules/pooling.py", line 141, in forward
    self.return_indices)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/_jit_internal.py", line 181, in fn
    return if_false(*args, **kwargs)
  File "/home/shuangjie/.virtualenvs/polar-seg/lib/python3.6/site-packages/torch/nn/functional.py", line 488, in _max_pool2d
    input, kernel_size, stride, padding, dilation, ceil_mode)
RuntimeError: max_pool2d_with_indices_out_cuda_frame failed with error code 0

Looking forward for your reply.

Seem to be a Pytorch bug, add x = x.contiguous() in the down module in BEV_Unet.py fix the problem. Still curious about why.


fix multiple asterisk issues

Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Could anyone confirm this change? I'm not a content owner so I can't decide how the content should be.
@v-makoud

@richlander and @BillWagner , I've updated the files you mentioned before.

Thanks for making these updates @Saisang, along with updating after the comments.
I'll :shipit: now.