release-please Release-As edits multiple releases in mono-repos

Issue
When working in a mono-repo with several releasable packages the Release-As commit feature will apply to multiple releases when it should not.
Example
A sub-package in google-cloud-go tried to change it's release version via a dummy commit. It did but it also changed the main packages release version as well.
Storage changing release version: https://github.com/googleapis/google-cloud-go/pull/3982
Storage release PR: https://github.com/googleapis/google-cloud-go/pull/3984
Root package release PR: https://github.com/googleapis/google-cloud-go/pull/3983

Could be fixed by #876 depending on the approach taken.


It has been reported to the web hoster, hopefully it will be taken down soon.


ISPN-14638 RPOP and LPOP commands

https://issues.redhat.com/browse/ISPN-14638

@wburns this is ready for review

Please add rows to the table in documentation/src/main/asciidoc/topics/ref_redis_commands.adoc

@jabolina this is ready for review

@jabolina rebased from main

@jabolina changes reported

Integrated into main, thanks @karesti!


chore: update contributing to mention db migration

The setup guide for YesBot didn't mention migrating or pushing the schema to the DB yet.
This PR includes an additional step in the contributing guide to mention that required command. It also fixes a small left-over phrase that wasn't accurate anymore.

When going through the installation doesn't it automatically generate the schema tables for the db? Never remember using db:push when installing the bot

When going through the installation doesn't it automatically generate the schema tables for the db? Never remember using db:push when installing the bot

It doesn't. I am not sure anymore when you joined but TypeORM did that automatically. yarn prisma db push is similar to yarn prisma migrate dev just that it ignores the migration column. Instead it just creates the tables and columns as defined in the schema which should be enough for getting started with the bot.


Proposal: provide shaded entity jars for clustering

With @anthonydahanne, we'd like to create some system tests and also tests manually the clustered ehcache kit with our project. We find the kitting hard to use for the server part at the moment because there are a lot of jars and we don't really know where to put them and how they will impact our own entities that are eventually using some same dependencies.
So we were wondering if it was possible to just provide 2 entity jars containing the needed dependencies shaded inside.

coordinator-entity.jar => would contain coordinator-entity-* + voltron-proxy
ehcache-entity.jar => would contain ehcache-* + annotations (?)
Also, we were able to remove the server api jars because they are provided by the server. I.e. our shaded jars only contain required application classes and it works fine.

The idea would be to only have 2 jars (sort of standalone independent plugins) that the users just need to drop into the server's lib folder.
Also, in our application, we provide 2 entity jars the same way, and both are using the voltron-proxy. Same for coordinator entity. So with the server plugin isolation, perhaps it would be better to have the dependencies shaded so that one entity could depend on voltron proxy 1.0.1 and for example another entity could depend on voltron-proxy 1.0.2 (i.e. it should work if there is no big changes and classpath is isolated). I take as an hypothesis that the server isolates each entity plugin independently based on the jar files.
Let me know what you think @chrisdennis @ljacomet : I could provided a PR if you need ? Otherwise if it is not possible, what are the reasons why we should keep these jars spread like this ?
Thanks :-)
├── plugins
│   ├── api
│   └── lib
│       ├── annotations-2.0.3.jar
│       ├── coordinator-entity-common-1.0-SNAPSHOT.jar
│       ├── coordinator-entity-server-1.0-SNAPSHOT.jar
│       ├── ehcache-common-3.0.0-SNAPSHOT.jar
│       ├── ehcache-server-3.0.0-SNAPSHOT.jar
│       ├── entity-server-api-1.0-SNAPSHOT.jar
│       └── voltron-proxy-1.0-SNAPSHOT.jar

:-)
Speaking with @anthonydahanne , he explained me that you prefer having all jars apart and dependencies declared in the manifest.
Ok!

Actually I proposed supporting a directory per logical classpath partition... i.e. plugins/api/ehcache, plugins/lib/ehcache, plugins/api/management, plugins/lib/management.  I think that should be a very minimal change in voltron, and provides much more obvious and flexible isolation for entity/service implementers.

If there's an issue here then its a terracotta-platform one.  @myronkscott what do you think to the idea in my last comment?


Add support to declare a Json Schema as Deprecated

Since Draft 2019-09 of JSON Schemas, it has been possible to declare a schema as deprecated. However, there is no visual representation in VSCode to indicate when a schema is deprecated.
For JSON Schema attributes, this functionality is already available due to #14260 (where deprecatedMessage was renamed to deprecationMessage in #16409).
Could you add a similar feature for deprecating an entire schema?
The deprecated Keyword is described in https://json-schema.org/understanding-json-schema/reference/annotations at the bottom.

We already support deprecated. Do you set it top level?
A small sample code that shows how you use it and what you li,e to see would be nice.


How to access the nested data from json data using json-server.

          How to access the nested data from json data using json-server.

This is my json data
{
"flightDetails": [
{
"id": 1,
"flight_name": "INDIGO",
"flight_departs": "8:00",
"flight_arrives": "9:00",
"flight_from": "New",
"flight_to": "Hyderabad",
"flight_date": "13/6/2023",
"flight_img": "/images/airindia.jpg",
"flight_classes": [
"Business",
"Premium economy",
"first",
"economy"
],
"services": [
{
"id": 2,
"service_name": "seat allocation",
"types": [
{
"Seat": "Extra Leg Room",
"cost": "rs/- 1500"
},
{
"Seat": "Front of Aircraft",
"cost": "rs/- 1000"
}
]
},
{
"id": 1,
"service_name": "Baggage",
"types": [
{
"Baggage_type": "Overweight",
"Baggage_limit": "0-3kgs",
"Baggage_cost_1kg": "rs/-200"
},
{
"Baggage_type": "Checked Bags ",
"Baggage_limit": "15kgs",
"Baggage_cost_1kg": "rs/-390"
}
]
},
{
"id": 3,
"service_name": "Baggage",
"types": [
{
"Baggage_type": "Overweight",
"Baggage_limit": "0-3kgs",
"Baggage_cost_1kg": "rs/-200"
},
{
"Baggage_type": "Checked Bags ",
"Baggage_limit": "15kgs",
"Baggage_cost_1kg": "rs/-390"
}
]
}
],
"passenger": [
{
"id": 1,
"passenger_seat_number": "20A",
"passenger_name": "RAGAM ARCHANA",
"passenger_address": "Hyd,Telangana",
"passenger_passport_details": {
"Citizen": "India",
"place": "Hyd,Telangana",
"date_of_birth": "03-08-2000",
"expire_date": "24/07",
"gender": "F"
}
}
]
}
]
}
Originally posted by @archana-ragam in https://github.com/typicode/json-server/issues/359#issuecomment-1590898936

I believe this is duplicate of https://github.com/typicode/json-server/issues/608 and https://github.com/typicode/json-server/issues/1261

@archana-ragam Accessing nested data in a JSON structure using json-server can be approached in several ways, depending on what specific data you want to retrieve.

Accessing Nested Objects
To access nested objects, you need to use the appropriate path. For example, to access the services for the first flight: http://localhost:3000/flightDetails/1/services

Filtering Nested Data
To filter nested data, you can use query parameters. However, json-server has limited capabilities in deeply nested filtering. For simple top-level filtering, such as getting all flights from a specific location: http://localhost:3000/flightDetails?flight_from=New

Accessing Deeply Nested Data
For deeply nested data, like accessing specific types within services, json-server's default functionality might not suffice. One workaround is to retrieve the entire object and then programmatically filter the data in your application.

For example, get all flight details, then in your application code, filter to the specific service_name or types:
fetch('http://localhost:3000/flightDetails')
.then(response => response.json())
.then(flightDetails => {
// Process and filter the flightDetails here as needed
});


Replace glob-match with globset

Replace glob-match with globset because https://github.com/devongovett/glob-match/issues/9 prevents some of the Ruby files from being included.
The performance is roughly the same. packs2 is the version with the patch.
$ hyperfine --runs 50 'packs check' 'packs2 check'
Benchmark 1: packs check
  Time (mean ± σ):     947.9 ms ±  21.3 ms    [User: 1440.1 ms, System: 2817.1 ms]
  Range (min … max):   910.4 ms … 1019.3 ms    50 runs

Benchmark 2: packs2 check
  Time (mean ± σ):     938.9 ms ±  21.9 ms    [User: 1426.8 ms, System: 2826.5 ms]
  Range (min … max):   907.1 ms … 1001.6 ms    50 runs

Summary
  packs2 check ran
    1.01 ± 0.03 times faster than packs check

Note on .literal_separator(true):

* matches zero or more characters. (If the literal_separator option is enabled, then * can never match a path separator.)

(From https://docs.rs/globset/latest/globset/)

Woo hoo, the first contribution to this repo, thank you!
It looks like clippy (lint) is failing. I'll just go ahead and merge and fix that on main.
hyperfine is really cool! Going to add it to dev/notes.md and start using it for benchmarking.
Thanks again for the contribution, I'm glad this should start working for you now!


Add DirectionalLight.autoCalcShadowZBounds property

The min/max X/Y best fit bounds are calculated when autoUpdateExtends is true but not the min/max Z.
When autoCalcShadowZBounds is set to true, min/max Z best fit will also be calculated (the values being set to shadowMinZ / shadowMaxZ).
Note I had to switch private to protected for the ShadowLight.shadowMin/MaxZ properties because calling their setter leads to the projection matrix being recomputed, something we don't want because we are already in the function that computes this matrix when we set those properties!
This auto calculation allows better fit in Z, so better precision in the shadow map:

Left: depth map with zmin/zmax values I set manually (that I thought were good...)
Right: depth map with auto-calculated zmin/zmax. You can see there's a better range of Z values
Also, maybe more importantly, it frees the user from setting the shadowMinZ / shadowMaxZ manually. Generally, those properties are left untouched, and so the camera near / far Z values are used instead (which is generally awful). When they are set, setting the best values can be difficult and will change when objects / light move.

You rock buddy!

This needs a doc update then :D

This needs a doc update then :D

Ah, yes! But I'm a bit short of time those days as I would like to finish my project (or at least reach a milestone) before christmas, so I will update the docs beginning of next year (I have never done it before, so I think it will take a little time to setup - even if I know there's a doc explaining how to do it).

Sure no rush..just keep it in mind


Get same URL on every execution, is it possible?

Hello, I'm a student creating one of my first selfmade projects, I'm making a telegram bot using quarkus and ngrok.
In order to process the messages I send to the bot via Telegram I have to use a class which has to extend TelegramWebhookBot, that class has some abstract methods which have to be overriden.
The method I'm having problems with is called "getBotPath", it basically returns the path of the bot a.k.a ngrok endpoint.
Everytime I execute the quarkus app a new endpoint is generated, I need it to be consistent, is there anyway possible you can help me with this problem?
Thanks.

I could be wrong but I think you have to pay NGrok for an account that gives you a dedicated URL. The free version automatically assigns you a different address every restart.

I'm no ngrok expert, but I think the same as @melloware

If it’s for testing, you can also give smee.io a try.
Also do you need the url to be stable or do you need it to be accessible so that you can return it?

Yes it's for testing, I will have a look on smee.io thanks.
I think both ways work, if it's accessible and I can return it on getBotPath method it will work, also if its consistent I can put it on application.properties and reference it from there.

@raul-and you will probably be interested by @maxandersen 's work here: https://github.com/quarkiverse/quarkus-ngrok/pull/98

@gsmet @melloware Thanks! That's very useful.

Correct. Ngrok does allow one free static domain for its free plan. Just needs the domain to be set once #98 is in.


fix: update json logic engine and schema

See https://github.com/TotalTechGeek/json-logic-engine/pull/32 and https://github.com/open-feature/flagd-schemas/pull/142

Force merging this, it's just updates.


Full refactor

Files split, docker cleaned up.
Working currently on time normalization cleanup. Using function in new time_processor.py to accomplish this as well as changing functions in normalizer.py to simplify. remove assoc objects and collapse the segregation of primary vs non primary time entries in the date dictionary.
Next step in refactor is to change the geo normalization code to be simplified.
Added 0 to 1 normalization code but it is not used in the normalizer. There is the potential to use this code separately from the regular data normalizer as a "last step" which is still undecided.

@Sorrento110 you should definitely update the zero_to_one_normalizer.py file to use this code since it is way, way faster.


add centos support in ci pipeline

Updated version of #45

If you're going to merge your own pull requests then it's best if you just push to master, @paulfantom :)
Otherwise please ping someone to review it for you.
Thanks for all the hard work. Keep it up!

I wanted to preserve clarity in github history. :)


Need code every time

Hi
Kindly I need the answer quickly. I want to show the code every time on tv and connect. I don't want to skip the pairing process in case if already connected. I want to pair and connect again and again. But In your code if I already connected then code not shown on smart tv screen
Thanks

I also tried your disconnect method to disconnect and reconnect but still if I already connected then code not shown on. Actually I am not understanding that which state shows that I am already connected and how to know that I need to connect if I am not already connected.

@Jacky154 you should modify the connect function in RemoteTVManager as follows:
queue.async {
            self.remoteManager.stateChanged = { [weak self] remoteState in
                self?.remoteStateChanged?(remoteState.toString())
            }

            self.pairingManager.stateChanged = { [weak self] pairingState in
                self?.pairingStateChanged?(pairingState.toString())

                if case .successPaired = pairingState {
                    self?.remoteManager.connect(host)
                }
            }

            self.pairingManager.connect(host, "client", "iPhone")
        }

Ok I am going to try it. Thanks for reply

Hey bro can you tell me the password of p12 certificate I am opening it in keychain access I am getting this error "TVController.AndroidTVRemoteControlError.noServerPublicCertificate"
code being shown everytime but not reaching at successpaird state "func connect(host: String) {
queue.async {
self.remoteManager.stateChanged = { [weak self] remoteState in
                self?.remoteStateChanged?(remoteState.toString())
                if case .connected = remoteState {
                    self?.pairingSuccess?()
                }
            }

            self.pairingManager.stateChanged = { [weak self] pairingState in
                print(pairingState)
                self?.pairingStateChanged?(pairingState.toString())

                if case .successPaired = pairingState {
                    self?.remoteManager.connect(host)
                    self?.pairingSuccess?()

//                        self?.pairedback?()
}
                if case .waitingCode = pairingState {
                    self?.codeSent?()
                }
            }

            self.pairingManager.connect(host, "client", "iPhone")
        }
    }"

Its urgent can you give any suggestions. Please I am not understanding anything. It generate code but Now after entering code it is not reaching at successpaired state

Bro I just want that code shown everytime when call connect method and in connect method I am calling .Pairingsuccess method to check whether pairedsuccess then when pairingsuccess callback function call then I am navigating to another screen. I can't navigate until pairingsuccess not call. And the error is that it is not being called. Kindly check the code and give some suggestions
func connect(host: String) {
queue.async {
self.remoteManager.stateChanged = { [weak self] remoteState in
self?.remoteStateChanged?(remoteState.toString()) if case .connected = remoteState { self?.pairingSuccess?() } } self.pairingManager.stateChanged = { [weak self] pairingState in print(pairingState) self?.pairingStateChanged?(pairingState.toString()) if case .successPaired = pairingState { self?.remoteManager.connect(host) self?.pairingSuccess?()
}
if case .waitingCode = pairingState { self?.codeSent?() } } self.pairingManager.connect(host, "client", "iPhone") }
}"

And If the above code not works then I am implementing logic in which I duplicate the certificates cert.p12 and cert.der then whenever user open app I duplicate the certificates and pair and connect. Does this work for each time for showing code on screen and pairing then connect.
Please I need your reply.
Thanks for your help

Hey bro can you tell me the password of p12 certificate I am opening it in keychain access I am getting this error "TVController.AndroidTVRemoteControlError.noServerPublicCertificate"

Password is empty, you can loot in source code.
In my opinion, you do not understand the working principles of this library. The README document describes in detail the process of pairing and sending commands; you need to familiarize yourself with it.


correct loc in sitemap

fix #597
I think should fix this.

Thanks a lot for taking the time to fix this here! :tada: :rocket: :cake:


[1.10.2-2.2c] Fusion core does not recognize fuel!

With version 2.2 it recognized the fuels and it maintained itself when it arrived in 8000 kK but it did not consume the fuels neither generated no energy.
In version 2.2c it does not recognize Lithium-7 nor Boron-11 and does not start at 8000 kK:
http://imgur.com/a/rWxkh

The fuel levels don't seem to be updating properly on the client side - on quitting the game and rejoining, the fuels are recognised - I think this should be a simple fix.

As far as I can tell, this has been fixed in 2.2d :)


fix: Select widget Value

Description
Fix selected option value when defaultValue changes
Fixes #9102
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

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

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/selectedOptionValue-from-Select-widget

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.13 (0.01)
36.99 (0.03)
33.94 (0.01)
55.66 (0.01)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

:green_circle:
app/client/src/widgets/DropdownWidget/widget/index.tsx
73.33 (0.41)
43.24 (19.71)
64.29 (0.65)
72.73 (0.64)

/ok-to-test sha=dfe87db

/ok-to-test sha=530e0d0

/ok-to-test sha=a75f601

/ok-to-test sha=0ffc953

@Tooluloope Verified this PR and it is working as expected

/ok-to-test sha=63e2c6c

/ok-to-test sha=768dee6

/ok-to-test sha=20d0f46


fix(build): target esm instead of cjs for build

Thank you for opening a Pull Request

Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open a GitHub issue as a bug/feature request before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

:tada: This PR is included in version 0.6.6 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Mopidy deps error in 0.5.2

Hi!
When I run mopidy deps or mopidy config  I get:
root@MusicBox:~# mopidy deps
Traceback (most recent call last):
  File "/usr/local/bin/mopidy", line 9, in <module>
    load_entry_point('Mopidy==0.19.4', 'console_scripts', 'mopidy')()
  File "/usr/local/lib/python2.7/dist-packages/mopidy/__main__.py", line 64, in main
    create_file_structures_and_config(args, installed_extensions)
  File "/usr/local/lib/python2.7/dist-packages/mopidy/__main__.py", line 149, in create_file_structures_and_config
    default = config_lib.format_initial(extensions)
  File "/usr/local/lib/python2.7/dist-packages/mopidy/config/__init__.py", line 101, in format_initial
    return description + '\n\n' + _format(config, {}, schemas, False, True)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4560: ordinal not in range(128)

What's causing that?

This looks like https://discuss.mopidy.com/t/mopidy-on-debian-pogolug-startup-fails-with-unicodedecodeerror-solved/428 which is fixed in Mopidy 0.19.5


TF Frame Init

Where are the tf frames (such as localization, novatel and velodyne64) initiated? I encountered this error when running perception module some times
E0202 14:29:44.976615  6543 transform_input.cc:55] Exception: "velodyne64" passed to lookupTransform argument source_frame does not exist.

Therefore, I would like to know the logic of how they are initiated and make sure they are initiated before the testing procedures. Thanks!

Some example code:
110   ros::Time query_stamp(query_time);
111   const auto& tf2_buffer = AdapterManager::Tf2Buffer();
112   const double kTf2BuffSize = 10 / 1000.0;  // buff size
113   std::string err_msg;
114   if (!tf2_buffer.canTransform(to_frame, from_frame, query_stamp,
115                                ros::Duration(kTf2BuffSize), &err_msg)) {
116     AERROR << "Cannot transform frame from " << from_frame << " to frame "
117            << to_frame << " , err: " << err_msg
118            << ". Frames: " << tf2_buffer.allFramesAsString();
119     return false;
120   }

@lianglia-apollo I found that piece of code where the exceptions were thrown. I was wondering where those frames were initiated so that I could avoid such "* frame not exists" error. Thanks!

I didn't do other initializations beyond these. Are you playing a rosbag with both velodyne and localization outputs?

Yes, I was planning to remove the publishing logic in localization module. Is that the reason of the failures?

I guess we need the ROS transform messages.
Here is some code in adapter:
static tf2_ros::Buffer &Tf2Buffer() {
200     static tf2_ros::Buffer tf2_buffer;
201     static TransformListener tf2Listener(&tf2_buffer,
202                                          instance()->node_handle_.get());
203     return tf2_buffer;
204   }

It seems to be due to low speed of initiation, though I still have not found the code initiate those tf frames.


Several controls on one page

Hello!
I tried to do smth with several controls, that's what I get.
It works correctly as far as I tested it, but:
1 - I'm not sure that tests will pass, because I changed id to class
2 - I couldn't manage to use your tip to update existing gallery by only appending last image - it somehow fires second submit of form and I get two identical images
3 - I don't like very much that after create GET on /images goes twice (or more if there are more controls), but I didn't find an obvious way to solve this problem

Any update on adding multiple bootsy forms to the same page?

@Bodacious it should be working since 2.0.0 according to the Changelog.


Enable PullApprove (or remove .pullapprove.yml)?

I see Travis running CI tests on open pull requests, but don't see PullApprove doing anything.  @caniszczyk, is there a bit you need to flip somewhere?

@wking should be enabled now, thanks for the catch: https://pullapprove.com/opencontainers/distribution-spec/


Typo Allele depth

##INFO=<ID=AD,Number=1,Type=Integer,Description="Allel depth">

-> Allele depth  or Alternate allele depth ?

It was updated to "Alternate allele depth." Thank you!


The folder has an error in spelling

remvoe old passport file, looks like it was intended to be "remove old passport file".

Can you point me to the folder in question?

I think he's referring to the commit message being misspelled.

That is the last commit message that touched that folder. It was probably me, I often switch letters around when I'm typing in a hurry.
Happy Coding!


API Calls don't support slice parameters which have []string as the underlying type

This is blocking proper support for Cognitive Support


Does the MSI installation work for Visual Studio 2019 Community?

Is Ironpython supported by Visual Studio 2019? I install my MSI and have setup environmental variables, but cannot see ironpython within my visual studio project templates.

I believe Visual Studio removed the templates. See https://github.com/microsoft/PTVS/issues/6466


Cart token is not refreshed even when invalid

Current behavior

There are some certain situation where the current shopping cart (stored in the localStorage shop/carts/current-cart-token) is no longer valid. For example, the quote has been closed server side.
In this case the shipping-methods and payment-methods, totals all subsequent calls return an issue like {"code":500,"result":"No such entity with cartId = null"}
In this situation the solution is to clear the local storage - as after that the new shopping cart id will be retrieved.
We should re-create shopping cart (to get new token/id automatically).
An example on how can we recreate the cart:
https://github.com/pkarw/vue-storefront/blob/f90f64de9cb3ce02e0f5c92d6ceba51014a066ca/core/modules/cart/store/actions.ts#L662
Expected behavior

Steps to reproduce the issue
This issue is not occurring all the time - to be honest, it's pretty hard to recreate it. I used to have when I've logged in as a user after 5-6months of inactivity. The user account has some quote id assigned (like 5561) which has been no longer valid.
We can probably reproduce this issue by manually setting the localStorage key  shop/carts/current-cart-token to random value and testing the subsequent cart synchronization logic

Moreover we need to fix cart/actions.ts:411 to better handle the issue (as on screenshot)

Hi Piotr
I found the way to recreate this issue:
just remake order > clear cart > remake order again for a few times
it also leads to shipping method and payment method loading errors.

I found out the way to fix it:
in core/modules/cart/store/action.ts,
in the function "clear (context)"
remove the line
context.commit(types.CART_LOAD_CART_SERVER_TOKEN, null)
add this line instead
context.commit(types.CART_SAVE, [])
this basically avoid the token error (originally it turn the cart token to null, and 'remake order' won't generate the new token for the cart, leads to the error 'no such entity with cartID = null');
and the added line will remove all the cart items in server side instead of just cart (
without this added line, after 'remove cart' and if you click 'back' from the browser, the cart will load again as the server didn't know you have removed the cart items.

@michhy with the proposed fix it might happen that we'll clear the server side cart BEFORE order was being transferred to Magento and being placed -> Risky.
Shouldn't we instead call cart/serverCreate in here to make sure cart token isn't empty? Probably we need

@pkarw  Yea, you are right.
now I edit the function code like this:
`clear (context) {
context.commit(types.CART_LOAD_CART, [])
// context.commit(types.CART_SAVE, [])
context.commit(types.CART_LOAD_CART_SERVER_TOKEN, null)
if (rootStore.state.config.cart.synchronize && !rootStore.state.config.orders.directBackendSync) {
rootStore.dispatch('cart/serverCreate', { guestCart: !rootStore.state.config.orders.directBackendSync }, {root: true}) // guest cart when not using directBackendSync because when the order hasn't been passed to magento yet it will repopulate your cart
} else {
  rootStore.dispatch('cart/serverCreate', { guestCart: true }, { root: true })
}

},`
and it seems fine, fixed the cartID token issue and also clear the cart item from server.

OK, cool - could You propose a PR with this fix please?

@pkarw  it might sounds ridiculous, this is my first time working on github projects, I even donno how to fork my project and merge the updates, I did it all by copy and paste (compare my old code and embed the updates)....  :'(
Do you have any github tutorial that I can follow the steps?
Thanks :P

I think this one could be helpfull: https://help.github.com/en/articles/creating-a-pull-request


[TIR] lower_warp_memory not working

src/tir/transforms/lower_warp_memory.cc transforms memory accesses in "warp" scope to "local" scope, and generates warp shuffle primitives. I found it indeed transformed the scope to "local", but it failed to generate the shuffle primitives for me.
To reproduce:
import tvm
import topi
import numpy as np

from topi.util import get_const_tuple

dtype = "float32"
target = "cuda"
n = m = 32

a = tvm.te.placeholder((m,), name="a", dtype=dtype)
b = tvm.te.compute((n,), lambda i: a[(i + 1) % m])
with tvm.target.cuda():
    s = tvm.te.create_schedule(b.op)
    th_x = tvm.te.thread_axis("threadIdx.x")
    blk_x = tvm.te.thread_axis("blockIdx.x")
    i, = b.op.axis
    blk, th = s[b].split(i, nparts=1)
    s[b].bind(blk, blk_x)
    s[b].bind(th, th_x)
    a_cache = s.cache_read(a, "warp", b)
    a_axis, = a_cache.op.axis
    s[a_cache].bind(a_axis, th_x)
    s[a_cache].compute_at(s[b], blk)

print(tvm.lower(s, [a, b], target, simple_mode=True))
compute = tvm.build(s, [a, b], target, name="run")
print(compute.imported_modules[0].get_source())

The output was:
produce compute {
  // attr [iter_var(blockIdx.x, , blockIdx.x)] thread_extent = 1
  // attr [a.warp] storage_scope = "warp"
  allocate a.warp[float32 * 32]
  produce a.warp {
    // attr [iter_var(threadIdx.x, , threadIdx.x)] thread_extent = 32
    a.warp[threadIdx.x] = a[threadIdx.x]
  }
  // attr [iter_var(threadIdx.x, , threadIdx.x)] thread_extent = 32
  compute[threadIdx.x] = a.warp[floormod((threadIdx.x + 1), 32)]
}

extern "C" __global__ void run_kernel0(void* __restrict__ a, void* __restrict__ compute) {
   float a_warp[1];
  a_warp[(0)] = (( float*)a)[(((int)threadIdx.x))];
  (( float*)compute)[(((int)threadIdx.x))] = a_warp[(((((int)threadIdx.x) + 1) & 31))];
}

You will find that the shuffle primitive is missing. Instead, it directly stores the  unshuffled data.
In this case, I find the PrimExpr Mutate_(const LoadNode* op) function in src/tir/transforms/lower_warp_memory.cc:241 is not executed at all.
There is a unit test for this pass in tests/python/unittest/test_tir_transform_lower_warp_memory.py, in which it only asserts the "local" scope, but it does not check the overall correctness. So the test is too weak to discover the problem.

Well, %s/Mutate_/VisitExpr_ solves the problem. I will make a PR.

Closed by #5247, thanks @roastduck


Support .vue file? or add a extension option

Thanks your work. It seems this package not support .vue file, it is by design?
if (["js", "jsx", "ts", "tsx", "vue"].indexOf(ext) > -1) {
    code = await transform_default(code, importOptions);
  }

Or we can add a extensions option to enable customize

@justforuse yeah, this feature will be supported in next version.


[mini.files] Failed to switch to window 1001, not working well with tabfind

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.files
Description
Setting the mini.files as default explorer, got errors when using with tabfind command.
Neovim version
0.9.1
Steps to reproduce
init.lua:
vim.g.mapleader = ' '

local root = vim.fn.fnamemodify('./.repro', ':p')

-- set stdpaths to use .repro
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
  vim.env[('XDG_%s_HOME'):format(name:upper())] = root .. '/' .. name
end

-- bootstrap lazy
local lazypath = root .. '/plugins/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    'git',
    'clone',
    '--filter=blob:none',
    '--single-branch',
    'https://github.com/folke/lazy.nvim.git',
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  { 'nvim-lua/plenary.nvim' },
  { 'stevearc/dressing.nvim', opts = {} },
  {
    "echasnovski/mini.files",
    enabled = true,
    opts = {
      options = {
        -- Whether to use for editing directories
        -- Disabled by default in LazyVim because neo-tree is used for that
        use_as_default_explorer = true,
      },
    },
  },
  {
    enabled = true,
    'echasnovski/mini.bufremove',
    keys = {
      {
        '<S-q>',
        function()
          require('mini.bufremove').wipeout(0)
          vim.cmd('q')
        end,
        desc = 'Close',
      }
    },
  }
  -- add any other pugins here
}

require('lazy').setup({
  spec = plugins,
  root = root .. '/plugins',
  defaults = {
    lazy = false,
  },
  state = root .. '/lazy/state.json',
  performance = {
    cache = {
      enabled = false,
    }
  }
})

-- add anything else here
vim.opt.termguicolors = true
vim.cmd([[colorscheme default]])

Steps to reproduce

nvim -u init.lua
wait for the plugins to be installed and ready.
quit and run nvim -u init.lua again.
run :tabfind ., it will create a new tab with directory . as cwd, and mini.files is opened because have set it as default.
presss q to trying to quit mini.files.

Expected behavior
Should work as the same as run nvim -u init.lua . which has no errors when quitting mini.files.
Actual behavior
error happened.

Thanks for the issue!
I can reproduce. Seems to be because in this case during execution of MiniFiles.close() doesn't properly verify that target window is valid.
I'll look into the best way of fixing this.

Should be fixed on latest main branch.
Didn't find a better solution than just using pcall() to not throw an error in this case.


add utf-8 while reading README

It was causing tests to fail in Windows (see #2416). In Windows, the default encoding is CP1252 which is unable to decode the character byte 0x9d

Can you please add encoding to this line as well to fix the issue (and maybe replace path.open(...) with open(path, ...))?
https://github.com/huggingface/datasets/blob/7bee4be44706a59b084b9b69c4cd00f73ee72f76/src/datasets/utils/metadata.py#L58

Sure, in fact even I was thinking of adding this in order to maintain the consistency!


Ray/Trendline/Linear Regression of two points

Say I have two points on the Dataframe (price and UNIX timestamp) and I want to draw a Ray (endless) that goes through these two points. Does Pandas TA or Pandas has a function for this? Is there an easy way to draw a Linear Regression ray, I just have the two points and I want to draw a Ray through them and get all the Datapoints (price and timestamp of each) say 1 week into the future to be predicted. Any example of how to use "linear_regression" ?

Hello, @hadialaddin. With a help of scikit-learn, I think it's possible to make simple function:
from sklearn.linear_model import LinearRegression

def linear_regression(desired_period: list['start_date', 'end_date']):
    original_df = pd.read_csv('data.csv')

    X = original_df .iloc[:, 0].values.reshape(-1, 1) # Assuming first column contains UNIX timestamps
    X = X.astype(float) # Convert to nanoseconds since Jan 1, 1970.
    Y = original_df .iloc[:, 1].values.reshape(-1, 1) # Price column

    linear_regressor = LinearRegression()
    linear_regressor.fit(X, Y)  # perform linear regression

    time_period = pd.date_range(start=desired_period[0], end=desired_period[1])
    new_x = time_period.values.astype(float).reshape(-1, 1)

    return linear_regressor.predict(new_x)

Hi @hadialaddin and @doxg,
Check out: help(ta.tos_stdevall) as developed in Issue #268.
If you want a only the linear regression line for that indicator, set stds=[]. And length is measured from the end of the DataFrame, otherwise it uses all the bars/rows. Currently, there is no early termination if you want to terminate before the last bar.
Also I have locally implemented a low level wrapper of sklearn's linear_regression (if it's in your local environment) or by default numpy's version. More info, see: help(ta.linear_regression). Though you will need to be explicit in how you want it to work.
Hope this helps!
KJ

Hello @hadialaddin,
I assume by no response that the solutions provided by @doxg and I were sufficient enough to achieve your goals. Thus I will be closing this issue in a few days.
Kind Regards,
KJ


Antlr Grammar

Create an Antlr Grammar like ebnf

Thanks for the suggestion! Though this is a duplicate of #6


Radix sort changes

Should also add a link in the readme to this directory, currently it is listed but not as a link.

I still need to make these changes. I will updated to Swift 3 and resolve conflicts and open a new PR soon.


ECONNREFUSED on connecting to <IP_ADDRESS>:2020, but using a dummy WS client works

Hello.
I was trying to make this thing work but it didn't. The problem is I always get (after connecting to API and clicking "connect to backend") ECONNREFUSED on <IP_ADDRESS>:2020.
My first thought was that the python server wasn't working, so I separated the processes (launched them in multiple PowerShells 6) and looked for any logs, but nothing other than the normal "running on port..." and the ECONNREFUSED showed.
I also tried connecting to the Python WS server using browser console and it successfully made connection (and python console also showed a connection was made).
The problem is then with the node.js implementation.
Maybe in /index.js:37?
Running windows 10 build 19025 (Slow ring Insider preview).
Running node index.js as administrator didn't solve the problem.

same error here

@rodrigolmacedo That's not the same error - my error is in connection to Python backend (but the Node webserver works) while your's about missing module SimpleWebSocketServer. Try installing all deps. (SimpleWebSocketServer is found in my setup)

@danbulant yes thanks, now im getting the SSL_ERROR hahahaha

I have got the same message and was searching for a solution.

Could it be the firewall from our computers?

It isn't firewall, as firewall blocks connection from outside.Also, if it was firewall, the connection from another ws client wouldn't work. On Dec 31, 2019 12:09 PM, LithiumNL<EMAIL_ADDRESS>wrote:I have got the same message and was searching for a solution.
Could it be the firewall from our computers?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
Sent via Migadu.com, world's easiest email hosting>

It isn't firewall, as firewall blocks connection from outside.Also, if it was firewall, the connection from another ws client wouldn't work. On Dec 31, 2019 12:09 PM, LithiumNL<EMAIL_ADDRESS>wrote:I have got the same message and was searching for a solution. Could it be the firewall from our computers? —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. Sent via Migadu.com, world's easiest email hosting>

True true, forgot that. Happy new year!
I just tried it on a Ubuntu system and it works perfect. No problems at all. There are some differences between Ubuntu and Windows i guess.

Oh ok, will try on my linux too then

Hi,
I got the same message
You find problem?
Windows 10

I was having the same issue, using Windows 10, running the python backend with WSL2,
Changing the websocket url to IPv6 localhost (::1) made it work for me

Passing the String "<IP_ADDRESS>" to the first parameter of SimpleWebSocketServer() method at the end of "whatsapp_web_backend.py" file, allowed me to workaround it.


Fix camera/Aiming mode

I pulled your branch into my local machine and tested the fix, the cursor is now hidden when playing the game and the camera now follows the character correctly. Approved for merge :)


Add tag delete API

fixes https://github.com/distribution/distribution/issues/2317
fixes https://github.com/distribution/distribution/issues/3015
fixes https://github.com/distribution/distribution/issues/3021

The tag delete API operation has finally made it to the OCI Distribution spec, in v1.0.0 (source). This PR makes the required changes to incorporate such functionality.
Signed-off-by: João Pereira<EMAIL_ADDRESS>

Codecov Report

Merging #3427 (22053f5) into main (d80a63f) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3427      +/-   ##
==========================================
+ Coverage   56.16%   56.18%   +0.01%
==========================================
  Files         102      102
  Lines        7303     7324      +21
==========================================
+ Hits         4102     4115      +13
- Misses       2553     2557       +4
- Partials      648      652       +4

Impacted Files
Coverage Δ

...ibution/distribution/registry/client/repository.go
56.79% <0.00%> (-0.12%)
:arrow_down:

...ribution/distribution/registry/storage/tagstore.go
75.47% <0.00%> (+0.47%)
:arrow_up:

...bution/distribution/registry/handlers/manifests.go
52.33% <0.00%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

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

After this v2/_catalog is extremely slow :(

Hi, hem it does not seems to me that this merge is included in 2.8.0.beta1? I looked at the changelog and can't find it. Even https://docs.docker.com/registry/spec/api/#detail does not include the doc modification. ping @milosgajdos  maybe? Thank you.

@antoinetran no, it isn't in 2.x. We made a decision to not include anything new in the last 2.x release. You'll have to build of main or pull :edge tag, I'm afraid.

@milosgajdos @wy65701436 Where can i see documentation about, Delete image by tag. in V2.
Thanks

@chethankumar4046 this PR diff will show you where the docs are. It pays off looking into diffs.

@milosgajdos this fix doesn't seem to be released currently in any of the released versions (at least according to the release notes). Is there a plan of releasing it in version 2.x or 3.x at some point? If yes, I was wondering if there's any optimistic timeline for this

@milosgajdos this fix doesn't seem to be released currently in any of the 2.x released versions

Correct. 2.x is basically in a maintenance mode at this point.

Or if there's a milestone for releasing a stable 3.x version

The original plan was by the end of this year but as you may have noticed we have 10+ maintainers on this repo and I'm the only one active. Or I was until I gave up on chasing the others, so no ETA.

@milosgajdos this fix doesn't seem to be released currently in any of the 2.x released versions

Correct. 2.x is basically in a maintenance mode at this point.

Or if there's a milestone for releasing a stable 3.x version

The original plan was by the end of this year but as you may have noticed we have 10+ maintainers on this repo and I'm the only one active. Or I was until I gave up on chasing the others, so no ETA.

I see. Thanks for the update!


Adding async fake redis implementation to the list of the exported symbols

Hello!
Firstly, thanks for creating such an amazing library, it definitely eases writing unit tests!
What I found I'm missing is a support for faking async redis client. I can see the implementation but I can't import it because it's not present in the __all__ list.
So this PR is just adding all fake async redis client implementation to the __all__ list.
If I'm missing anything and it's possible to achieve my goal without changing the library I'm more than happy to use the approach and update the documentation with the new findings!

Check how to use the async redis client in the tests:
https://github.com/cunla/fakeredis-py/blob/master/test/test_redis_asyncio.py

@flulemon can we close this PR?


Add examples to JavaDocs

It would be worth identifying potentially complex API methods and types and adding examples to their JavaDocs.

Should mostly be covered now. Will fix anything else as needed.


Update to use a recent version of Nova

There were a lot of bugfixes and other in improvements in Nova, it would make sense to update.
Also I tried to understand a small part of the code, didn't understand how it could work at all (in particular, this line: https://github.com/nalinbhardwaj/Nova-Scotia/blob/54f2bdbb78aad841d8714f7e2d0344bcc593a922/src/lib.rs#L299), tried to look at the Nova function it calls, and that argument is not even there anymore...

+1


Allow transactions with 0 amounts for inputs/outputs

FAT Standards PR:
https://github.com/Factom-Asset-Tokens/FAT/pull/29


Rule: VSTHRD200 Use Async suffix for async methods

Rule summary

Value

Title
VSTHRD200 Use Async suffix for async methods

CheckId
VSTHRD200

Category
Naming Rules

Link
https://github.com/Microsoft/vs-threading/blob/master/doc/analyzers/VSTHRD200.md

What is the problem
The .NET Guidelines for async methods includes that such methods should have names that include an "Async" suffix.
Methods that return awaitable types such as Task or ValueTask should have an Async suffix. Methods that do not return awaitable types should not use the Async suffix.
This should not be necessary for test projects - since a test methods name is describing the intended functionality and not async structure.
Suggestion
disable this rule in test / .editorconfig with dotnet_diagnostic.VSTHRD200.severity = none

In addition to that, I dont think it always makes sense in non libraries as well. So I vote to make this a suggestion rather than a warning in non-test projects.

I agree, this rule should be disabled for tests projects, but put a great value in having it in the codebase as it makes code-review easy and the caller is not in doubt that this is indeed an async method call.
Bottom-line having this rule on, enhances readability for developers on any levels.

I agree, this rule should be disabled for tests projects, but put a great value in having it in the codebase as it makes code-review easy and the caller is not in doubt that this is indeed an async method call.
Bottom-line having this rule on, enhances readability for developers on any levels.

Definitely don't disable for non-test projects, I will even vote for not disabling it at all as I like to have the same rules everywhere.

Actually dont Think this is relevant anymore since we removed this analyzer.

not relevant anymore since we removed this analyzer.


This command is not enabled for your group (Default)

Please tick all applicable boxes.

[Y] I am using Python 3.5 or higher (run python --version on the command line)
[Y] I have followed the official guides to install the bot for my system
[Y] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[Y] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[ ] Feature request
[Y] Question

Description of issue
You don't have permission to use that command.
Reason: This command is not enabled for your group (Default).
before the bot did not have this issue where it would listen to everyone but now it will only listen to me, the server owner.

You most likely messed up somewhere in the permissions file.

Please post your permissions.ini file here as an attachment

Non reproducible issue left open for nearly a week, reopen if you continue to experience a problem or join the support server for more help http://discord.gg/bots


Cherrypick 4.4 Change(s) to Master

This PR must be cherrypicked to master:
https://github.com/microsoft/botbuilder-dotnet/pull/2005
https://github.com/microsoft/botbuilder-dotnet/pull/2010

and #1979

fixed


fix #7

please review and merge, can you release minor version?

thanks @bashu
i just released your changes with v0.0.4


LibLog

Is this project inspired by LibLog? :)
https://github.com/damianh/LibLog

Well now... I do remember that logging discussion I was involved in on one of the katana calls where this was discussed (LibLog was previously known as DH.Logging)
Suffice to say, they have a (weak) shared ancestry :wink:


it doesn't work

terrible

Can you explain why? And what is not working? There are over 300 shops running uWebshop.
Maybe we can help you with something?


[CT-559] [Bug] Partial parser does not recognize default values in envvars

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The partial parser does not support default values for envvars. As a result, it will consider all sources deleted since the current value is None even if the default value and previous value are the same and unchanged.
https://github.com/dbt-labs/dbt-core/blob/220d8b888c44d43fe54539684f397a05dacf0f02/core/dbt/parser/partial.py#L959
Expected Behavior
Since nothing has been changed in the files, I would expect the partial parser to detect the default value matches the previous value and not reparse all the files.
Steps To Reproduce
Include an envvar like this in a source YAML file:
schema: '{{ env_var("OUR_SCHEMA_ENV_VAR", "default_value") }}'

Relevant log output
No response
Environment
- OS: Ubuntu 20.04
- Python: 3.9.12
- dbt: 1.0.4

What database are you using dbt with?
No response
Additional Context
No response

@ajbosco Thanks for opening! Original thread with dbt parse output: https://github.com/dbt-labs/dbt-core/issues/3164#issuecomment-1109787404. It sounds like this might save your team up to 2 min on each re-parse.
I'll let someone from the Language team offer their sense of what a fix here might require.

The code that stores the env_var value will actually use the default value if one is provided. So I'm not exactly sure why this wouldn't be working. I'll have to do some investigation.

Is it possible that you're using the same env_var in a different place without a default?

Maybe instead of saving the default value in the env_var, we could save something like "DEFAULT" and then not compare those env_vars, since presumably if the default changed, the file itself would be marked as changed.


Non-op player cant place block while the eggwars game is running

In server.properties change spawn area to -1


Fix #50.

Add socket closing code if read/write error is detected on sync
operations.

This PR fixes #50 via 2nd approach.

2nd approach means auto close. I found a good point to close, so I don't need to catch and re-throw exception.
I think that appveyor failure is not caused by the PR.
See https://ci.appveyor.com/project/nekipelov/redisclient/branch/master

See https://github.com/nekipelov/redisclient/issues/50#issuecomment-364625554


Fix typos whilst I read the docs

Change 'where' to 'were'

Great, thanks! :pencil2: :mag: :cake:

Thanks for great docs and a great library. Can't wait to start using it.


chore(main): release 0.0.1

:robot: I have created a release beep boop
0.0.1 (2024-10-12)
Features

add basic ci/cd with a test (a62f5b9)
downloading works (c011918)
example downloading for es, gc, cl (0c2913d)
setup trunk (32baefc)

Bug Fixes

linting (6f2b666)

Miscellaneous Chores

release 0.0.1 (5c09216)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.1
:sunflower:


Appcompat dependency

How is appcompat used in this library? If its not required then maybe it should be removed.

Thanks @marcoRS it´ll be removed in next update to master. :)


WinMerge configuration

The issue
WinMerge is used by CompMan to display the code modifications about to be updated in a used Common Component when a Workbook is opened. It remains a manual task after installation of WinMerge to configure it so that empty code lines and case differences are not displayed as differences. This configuration makes the installation of WinMerge consistent with CompMan's way to handle those differences.
A maybe possible solution
I've saved a WinMerge ini file with the appropriate comparison options. The best possible solution would be to start WinMerge to display a code difference with this saved ini file - having the actual used one saved temporarily and restoring it after the display. This would allow to use WinMerge 'outside of CompMan' with different configured options. Not a big deal but requires some effort.

Job done!
I found the two responsible registry entries. Now they are saved and set to my preferences before calling WinMerge and restored afterwards.

I apparently was a bit too optimistic. It turned out that the temporary modification of the corresponding registry entries did not have the desired effect. Further investigation is due.


When i minimize and restore terminal window while running apt upgrade in wsl  last line duplicates.

Windows Terminal version
1.15.2875.0
Windows build number
10.0.22621.819
Other Software
apt upgrade (inside wsl)
loda-rust
https://github.com/loda-lang/loda-rust
Steps to reproduce
1.Install WSL
2. Run sudo apt update
3. run sudo apt upgrade
4. when green progress bar shows at the bottom of the screen minimize and restore window.
Expected Behavior
No response
Actual Behavior
https://user-images.githubusercontent.com/8822292/201452085-21a323c0-07e2-4d56-b4f5-b1d291a0c4fe.mp4

This harkens back to #3088. Maybe this is just a variation on that?

Marking this as a duplicate of #3088 then. Sounds like it's the same (if not similar), so the work needed to fix it should be tracked over there.
/dup #3088


refactor!: functions in the config to be used through hooks

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[x] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

As a step towards stability, the module would also aim for stable code generation and handling that occurs to interact successfully with Nuxt. It's realised that passing functions through the module configuration may not be ideal, and hence this PR aims to use runtime hooks provided by Nuxt for such purposes.
📝 Checklist

[ ] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

Hi @kazupon
I realised that this hook would be runtime instead of build time like i18n:extend-messages, so I've made changes accordingly, but will require your expertise at this point to thoroughly review and test! (I tried to change callbacks.spec.ts but I believe I'm unable to get the other snapshots passing)

And these exports on options.d.ts should be removed too.
https://github.com/nuxt-modules/i18n/blob/next/src/options.d.ts#L40-L42

What do you think about the logic of the change - any underlying implementation that may have been overlooked?

I think that your logic is sound.
The callbacks.spec.ts needs to be changed to nuxt hooks, but what you are testing should be the same.

One more request 🙏
Changing to nuxt hooks is breaking change for nuxt2 apps using v7.
So, we need to explain it in the migration docs.
https://v8.i18n.nuxtjs.org/guide/migrating

Just working on the changes and making sure the tests are passing.
What is your opinion on beforeLocaleSwitch not being able to return string anymore?
This is a kind of workaround:
import { defineNuxtPlugin } from '#imports'

export default defineNuxtPlugin(nuxtApp => {
  nuxtApp.hook('i18n:beforeLocaleSwitch', async ({ oldLocale, newLocale, initialSetup }) => {
    console.log('onBeforeLanguageSwitch', oldLocale, newLocale, initialSetup)

    if (newLocale === 'en') {
      await nuxtApp.$i18n.setLocale('fr')
    }
  })
})

However, the function is async, and callHook is also async so we need to await it somehow in the composer.

@ineshbose
Thanks for all your hard work!
I'll merge this PR!


Adding Line(circle) to InstructionGroup causes segfault

Versions

Python: 2.7.15+, 3.6.8
OS: Ubuntu
Kivy: 1.11.1
Kivy installation method: pip install kivy, pip3 install kivy

Description
I am writing a program that draws some lines and circles to the screen by creating individual InstructionGroup objects, adding Line instructions to each group object, then adding those group objects to self.canvas. Calling self.groups[0].add( Line(circle=(self.p1[0], self.p1[1], 10)) ) in my class Lines(FloatLayout) (line 97) causes a segfault. I'm assuming the crash is caused by me using the API incorrectly, but am posting this error here since the kivy documentation (v 1.11.0.dev0, section 5.4, pg. 28) requests users to submit a bug report when encountering a segfault.
Code and Logs
https://gist.github.com/abstractdonut/5598da22f54f574af1f61036bb728004
There is only main.py, and the addition of a trivial lines.kv file does not alter the outcome or prevent the crash. main.py imports print from future in order to run on python2 and 3. The code crashes python in both cases.

It's because you're missing super().__init__(**kwargs) in __init__.
You need to have a window before you do any canvas operations, and calling super for any widget ensures there's a window present. If you want to do canvas stuff before that, you'd need to call EventLoop.ensure_window() from kivy.base.
(also you have a division by zero issue in the extend function)

Oh wow, how did I forget to call super?
Thank you.


rtabmap: unstable-2022-02-07 -> unstable-2022-09-24

rtabmap: unstable-2022-02-07 -> unstable-2022-09-24
Fixes error:

linux-x86_64:

logs: https://termbin.com/ui5e

linux-aarch64:

logs: https://termbin.com/90g0

Maintainers: @ckie

It's already fixed upstream, update or patch?

It's already fixed upstream, update or patch?

Updated. Please review.

Thanks ckiee.


double-beep: Watch Systematic\WQuality\WManagement\W*Systems

double-beep requests the watch of the watch_keyword Systematic\W*Quality\W*Management\W*Systems. See the MS search here and the Stack Exchange search here.

Systematic\W*Quality\W*Management\W*Systems has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


[Map][Leaflet] Provide example to load via AJAX

I'd like to load my map point from JSON (specifically,  api-platform), can you provide an example of how to do that in the custom controller please?  I'm sure it's easy once you get the Leaflet object, but I'm not sure where to get it from.
If there are other events to listen for, like the map moving or being zoomed, can you provide a stub with a console.log to the event data?

I see how to do it now, though it can probably be improved.
async _onConnect(event) {
    // The map, markers and infoWindows are created
    // The instances depend on the renderer you are using
    const map = event.detail.map;
    const url = "/api/members.json";
      const response = await fetch(url);
      if (!response.ok) {
        throw new Error(`Response status: ${response.status}`);
      }

    try {
      await response.json().then(
        data => {
          data.data.forEach(obj => {
            console.log(obj);
            L.marker([obj.mailingLatitude, obj.mailingLongitude], {
              title: obj.displayName
            }).addTo(map);
          })
        }
      );
    } catch (error) {
      console.error(error.message);
    }

    // console.log(event.detail.map);
    // console.log(event.detail.markers);
    // console.log(event.detail.infoWindows);
  }

ok, thanks!  The code I wrote in the comment above works, though the marker is the default and needs to be cleaned up.
I ran into some conflict with Turbo/Live Components when they were still in beta, but need to return to using them.  Is there an example of this map using Live Components?

Is there an example of this map using Live Components?

Not yet, it is not fully compatible


Support for version comments?

Please describe the enhancement
First of all, thanks for this tool! I've been looking for something exactly like this.
frizbee overlaps nicely with CI-side workflow updaters, like Dependabot. Dependabot supports version comments next to each hash-pinned workflow per https://github.com/dependabot/dependabot-core/issues/4691, like so:
uses: example/example@longhash # v1.2.3

When Dependabot bumps longhash, it also rewrites the version comment to match the git tag for the new hash:
uses: example/example@newhash # v1.2.4

It would be awesome if frizbee could generate these version comments, so that Dependabot (et al.) could use them.
Solution Proposal
My proposal: frizbee actions ... should support generating a version comment next to each workflow reference that it transformed into a fully hashed reference.
Example input:
uses<EMAIL_ADDRESS>
Example output, with this new feature:
uses: example/example@longhash # v1.2.3

This would be a behavioral change from the current default, so it might make sense to keep it behind a --add-version-comments (or similar) option.
Describe alternatives you've considered
The main alternative is to do nothing 🙂 -- Dependabot and other tools work fine without the comment; it's mostly there for human comprehension.
Additional context
As mentioned above, https://github.com/dependabot/dependabot-core/issues/4691 is the original Dependabot tracker for this feature.
This version comment idiom also appears in OpenSSF's Scorecard and elsewhere.
Acceptance Criteria
frizbee actions adds version comments while hash-pinning workflows!

NB: This requires editing YAML comments, which is a significant pain. So I understand not wanting to undertake implementing this, especially since it constrains the tool's ability to round-trip through a normal YAML parser 🙂

hey @woodruffw, thanks for reaching out and happy to hear you find frizbee useful! 🚀 😃
Can you share more details about which version of Frizbee you are using and if possible an example workflow file which we can use to reproduce this?
Asking this because frizbee should already support it (link to the unit test - replacer_test.go), but it's possible that you have hit some bug 😃

Whoops, I somehow completely missed this. I just tried frizbee actions again and it did indeed insert the comments I expected.
Sorry for the noise here, and thanks again for the fantastic tool!


Add hive-shims dependency.

It is required for supporting kerberos protected hive servers

I'll get this merged and released.
The commit message title is too long, please limit to ~50 characters. See this great guide: http://chris.beams.io/posts/git-commit/

Great article. Thanks for pointing me out on this.

Merged, thanks!

Released 0.13.1-3


HCX-120:Setting expiry while inserting records in redis

@tarento-dharmateja Please take care of code smells.


Rename and add backcompat requires for ChefFS dirs

Policies, ACLs, and Client Keys directories are renamed to match the
other directories, and backwards compatible requires are added.
Ensure that they all properly inherit from Repository::Directory, too

@chef/client-core

:+1:

👍


Bugzilla: Do not create comment for attached patches

Currently attached patches also count as a comment, see https://bugzilla.mozilla.org/show_bug.cgi?id=1769086#c2 for example. This possibly should not count, as we would track this through phabricator. However we possibly only want to exclude patches, as other attachment arguably are comments.

Closing this as wontfix, as this is useful for older contributions. For Phabricator this leads to duplicate entries once implemented, but I think that's fine.


Change order of arguments in soundfile.write()

We had some discussions in the past about argument ordering (#54, #78), but I don't think we really talked about the order of the filename and the array argument in soundfile.write().
I always thought it would make sense to write the array first and the filename later.
I would ask "What?" first, before I want to know "Where?".
It also makes some kind of sense if you think about the array as an "input" argument and the filename as an "output" argument. I'd normally mention the input arguments before the output arguments.
However, while I'm using the function, I come to think more and more that the order actually seems strange.
What bugged me in the beginning, is that the array and its sample rate (which belong together), are actually separated in the call (and the sample rate is obligatory!):
sf.write(data, 'my_audio_file.wav', fs)

Then I looked around and found that it's actually quite common to mention the file name first, e.g.:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.savetxt.html
http://docs.scipy.org/doc/numpy/reference/generated/numpy.save.html
http://docs.scipy.org/doc/scipy/reference/generated/scipy.io.wavfile.write.html#scipy.io.wavfile.write
http://docs.scipy.org/doc/scipy/reference/generated/scipy.io.savemat.html
http://docs.scipy.org/doc/scipy/reference/generated/scipy.io.mmwrite.html#scipy.io.mmwrite
I hereby suggest that we change the order to:
sf.write('my_audio_file.wav', data, fs)

Apart from it being the way NumPy and SciPy do it, it would also be more consistent to (and compatible to) soundfile.read(), where the array and the sample rate are returned right next to each other.
Are there any counter-examples that mention the data to be saved before the file name?
Are there any other arguments?

I noticed that, too, and agree with your assessment.

OK, then I suggest that we release 0.7.1 first (and probably 0.7.2?) and implement the current issue afterwards, for realease of 0.8.0.

Alternatively, we can just skip 0.7.1 and go directly to 0.8.0 ...?

We have a bunch of changes again. Let's skip 0.7.1 and go straight to 0.8.0

In the past, I came up with breaking changes right after a release (e.g. #102) ...
I think it would be good to release 0.7.1 very soon, then we should think very hard if there is anything that can be improved by a breaking change, and afterwards release 0.8.0 with all breaking changes.
If we're lucky, this might become the last release with breaking changes in a long time (but I wouldn't guarantee it ...).

Let's do this!

I've added a commit (883839011ce870dd0357e347279b467f87ac7c60) that switches the two arguments.

Looks innocuous enough.


upsert_search_attribute does not insert new attributes

Describe the bug
Adding new SearchAttribute using workflow.upsert_search_attribute fails with the StopIteration error here since this list contains only previously set attributes.
Adding new SearchAttribute via new typed API raises the same error here.
Minimal Reproduction
Start this workflow without SomeKey in the initial SearchAttributes set.
@workflow.defn
class TestWorkflow:
    @workflow.run
    async def run(self):
        workflow.upsert_search_attributes({
            "SomeKey": [True],
        })

Environment/Versions
Works fine in SDK 1.3.0 but fails in 1.4.0

Fixed in https://github.com/temporalio/sdk-python/pull/440


docker-compose up localhost:9000

Forbidden (403)
CSRF verification failed. Request aborted.

我也遇到了同样的问题

You can take a look at these issues first to see if you can solve the problem.
https://github.com/WongSaang/chatgpt-ui/issues?q=is%3Aissue+CSRF


Option to list all available templates, not only schemes

Hi,
First of all, thank you so much for this wonderful tool. It's made my life a lot easier and its design is fantastic!
I'm not sure if I'm just not seeing it, but is there a way to easily list available templates? Listing schemes is not an issue of course, but when I want to check which apps are supported I find myself having to look in ~/.local/share/flavours/templates/. Is there a way of listing templates directly in flavours, and if not, would you consider it for future versions?
Thank you again!

Thanks a lot for your kind words!
As of now, there's not a command implemented for listing templates, but i for sure can implement one soon(ish).

Fixed by #67. Feel free to reopen if needed!

Thanks again, @Misterio77 and @probably-neb, this is awesome, can't wait for it to land in nixpkgs. :smile:


This shouldn't use logname to determine ZUSER

logname tells you the user who originally opened the terminal, not the actual current user.
For example, the following user is a user named "fred" I "su'd" to under "sean". I also specified the user with the -u flag.  But it still creates a vmdk in /home/sean.
fred@debian:~$ sudo vzvol -s 10m -t virtualbox -v virttest5 -u fred
creating a vzol of size
10m
Testing to ensure zvol was created
/dev/zd928
DIE
Creating /home/sean/VBoxdisks/virttest5.vmdk
RAW host disk access VMDK file /home/sean/VBoxdisks/virttest5.vmdk created successfully.
Please use /home/sean/VBoxdisks/virttest5.vmdk as your VM Disk
fred@debian:~$ logname
sean

$logname was the best way I could come up with to resolve the matter for most use case scenarios.
However, -u SHOULD be overwriting it regardless.
Can you run the command again after adding
set -x under the shebang, and paste the output here?

 /dev/zd928
DIE

This is indicative of a further issue, so the output will also help me resolve another bug.

Under X11 (Plasma started from SDDM) on 11.2-STABLE, logname prints root when run from xterm or konsole. ssh'ing to localhost gets me the expected (not-root) username. So my vmdk's get created in /root instead of my own home dir. (Maybe running vzvol from a graphical environment on FreeBSD isn't one of your common use-cases, though)

@adriaandegroot Definitely not a common use-case.
Under 11.2-RELEASE, in an LXDE environment, however, this issue isn't present.


Query: Select-Collection-FirstOrDefault doesn't track entity coming out

public class Blog
{
    public int Id { get; set; }
    public List<Post> Posts { get; } = new List<Post>();
}

public class Post
{
    public int Id { get; set; }
    public Blog Blog { get; set; }
}

public static void Main(string[] args)
{
    using (var db = new MyContext())
    {
        // Recreate database
        db.Database.EnsureDeleted();
        db.Database.EnsureCreated();

        // Seed database
        db.Add(new Blog
        {
            Posts =
            {
                new Post(),
                new Post(),
                new Post(),
            }
        });

        db.SaveChanges();
    }

    using (var db = new MyContext())
    {
        // Run queries
        var query = db.Blogs.OrderBy(x => x.Id);
        var posts = query.Select(x => x.Posts.OrderBy(m =>
                                           m.Id).FirstOrDefault())
                                  .ToArray();

        //foreach (var message in messages)
        //{ Work-around
            //db.Attach(message);
        //}

        var blogs = query.ToArray();

        Console.WriteLine(db.ChangeTracker.Entries().Count());
    }

    Console.WriteLine("Program finished.");
}

Trying to retrieve, blogs and their first posts. We track blogs but we don't track entities coming out of posts

The work around for this should be.
query.SelectMany(x => x.Posts.OrderByDescending(p => p.id).Take(1)).Load()

        [ConditionalFact]
        public virtual void Take_Select_Navigation()
        {
            AssertQuery<Customer>(
                cs => cs.OrderBy(c => c.CustomerID).Take(2)
                    .Select(c => c.Orders.OrderBy(o => o.OrderID).FirstOrDefault()));
        }

        [ConditionalFact]
        public virtual void Skip_Select_Navigation()
        {
            AssertQuery<Customer>(
                cs => cs.OrderBy(c => c.CustomerID)
                    .Skip(20)
                    .Select(c => c.Orders.OrderBy(o => o.OrderID).FirstOrDefault()),
                assertOrder: true);
        }

        [ConditionalFact]
        public virtual void Select_collection_FirstOrDefault_project_entity()
        {
            AssertQuery<Customer>(
                cs => cs.OrderBy(c => c.CustomerID).Take(2).Select(c => c.Orders.OrderBy(o => o.OrderID).FirstOrDefault()));
        }

@ajcvickers - Making this general issue for tacking with single element result operator.

It appears this is similar to this scenario. Adding it here for completeness sake and to add another testing scenario. If trying to use a table that doesn't have a primary key and thus someone has accidentally created multiple records with the same "Id". To allow the dictionary creation without duplicate ID's, I did the following:
var  custs = dc.Customers                 .GroupBy(c => c.SID)                 .Select(c => c.First())                 .ToDictionary(c => c.SID);
However when trying to check the dc.ChangeTracker.Entities for EntityState.Modified, none of the changes were identified. Fixed by adding a .ToList before the .GroupBy.
(I recognizing the perf penalty that takes and the fact that not having the proper unique constraints on my underlying data, but I'm tracking that change for later.)

Dependent on #10001


BUG - exception when Mockserver getParentEntityInterface handler is called

Description
Exception 'Cannot read properties of undefined (reading 'entitySet')' is thrown in FEMockserver.js when the mentioned handler is called. This is a regression as this was working before.
Steps to Reproduce
Steps to reproduce the behavior:

Go to https://ui5.sap.com/test-resources/sap/fe/core/fpmExplorer/index.html#/advancedFeatures/guidance/guidanceSideEffects
Open dev console and open file /sap/fe/core/fpmExplorer/mockdata/ChildEntity.ts
Set a break-point in line 10
const parent: MockDataContributor | undefined = await this.base?.getParentEntityInterface();
In the Sample, expand Side Effect sample 4 (side effect on a source entity)
Change a value in the table column 'Price' and press 'tab'
Exception is thrown in FEMockserver gunction getParentEntitySetName as the path is empty

Screenshots

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

Tested successfully with fe-mock-server-core 1.1.74 containing fix


Bastion and usage with non-root user for installation

Hello team,
During some tests we found some issues in situations, where customers doesn't allow direct root access to the bastion host. These customers having a normal user, which has the sudo permission to execute all commands as root (e.g. sudo systemctl restart service).
I'm not sure, if what we have discovered is a feature request, or a problem.
Here the summary what we have discovered:
In the var.tfvars we configured the rhel_user to customers non-root user for installation.
Most/all of the system related commands in your TF modules are already using sudo, but we also had to ensure, that the Ansible playbooks of ocp4-helpernode and ocp4-playbook are executed as root. So, we configured the ansible_extra_options      = "-v --become" to ensure this.
Now comes the trouble we run into:
All file uploads from the TF modules are placed in the HOME of the specified RHEL user, but the Ansible playbooks are placing files in the HOME of root (because of the --become parameter). This ends in the situation, that the Ansible playbooks are failing at different stages because of the mix where files are placed into etc.
To fully support installations without direct root access and with sudo, we would need an option in the var.tfvars, where we are able to define a common work directory for TF modules, and all the Ansible playbooks.
We also discovered that some Ansible playbooks using workdir variables and sometimes they have a hard-coded ~ instead. I guess that this needs to be reported against the different Ansible playbook projects, instead of here?

Thanks for reporting this.
This is an important requirement and I will say got less importance as we kept adding new features to the code. I agree that most of our installations were managed by root user on bastion but having a sudo user is a valid usecase that we need to work on with helpernode & install playbooks.
I will take some time and analyse the areas where the updates are needed to fix this.

I'm happy to provide you a diff with what we needed to change in all the different files to get it running. I think this should give you an idea of what is affected.

I did this kind of change for a customer and faced some additional parts, which are affected by having a non-root access option for the bastion node:

Ansible playbooks are need to run with the --become option
I think this one is clear, why it is needed.
Because Ansible playbooks have to run with --become, the usage of the $HOME directory is creating a mess. Terraform will upload the playbooks to the $HOME of the non-root user, but the playbooks generated files are placed in the $HOME of the root user. This required an option to define a central working directory. At the customer I solved it by adding a new var.tfvars variable. I changed the tf files, but also had to pass that to both Ansible playbooks ocp4-helpernode and ocp4-playbooks. If I remember well, ocp4-helpernode did not needed a code change, but ocp4-playbooks.
There is an issue with the SSH public key. During the deployment of the bastion node, the public key gets added to the authorised_keys file of the root user. But we would try to login with non-root, which will fail because the key is not in this users authorised_key file. At the mentioned customer implementation I solved it by having an install SSH key in the image, which gets exchanged as soon as TF can reach the bastion by SSH. For me it is more a workaround, then a solution. I would like to see, that I can pass this somehow as config-parameter to cloud-init. An approach would be to use the "users" part of cloud-init https://cloudinit.readthedocs.io/en/latest/topics/examples.html. Just have to find a way to pass this as cloud-init config parameters during deployment request (any idea is highly appreciated). The rest of the code changes is already available and in use by a customer.

This was fixed by https://github.com/ocp-power-automation/ocp4-upi-powervm/pull/233 but was not linked.


Document the utils module and reference it in the randomization docs

Adds a Reference > jsPsych.utils documentation page. To do: Reference deepCopy in the randomization docs to resolve #2808. I'm not quite sure where. @ChristopheBossens @jspsych/core Any suggestions?

@jadeddelta this might be a good one to tackle?


Quickplay and private servers die

Made sure everyone had both Beat Together and the core mod and the servers just die with every error possible, time out, server closed, ect. does it during games and at random points in the lobby too. It's very frequent which makes multiplayer almost impossible to play.

This is server related issues. We're working on fixing this.
Thank you for your report.


[Bug] [WorkFlow] The failed retry configuration does not take effect

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
The configuration takes effect
How to reproduce
1.Create a shell workflow
2.Configure the failure policy
3.Run the workflow and wait for it to fail
4.Observe if it retries
Anything else
No response
Version
[dev](dev: ds3.1.0-prepare)
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Duplicated with #11790


可否开发一个在移动端，调用照相机和相册两种方式上传的

excuse me ,may i ask whether your problem has been resoleved ? I am develop a image upload component , and i want to use both take photoes from camera and choose from album , any helps please ? thank u very much.

if you want to run on IOS ,you can use webuploader and nothing need you develop , but on Android ,first you must rewrite the webview function to  support input type=file . otherwise , you can not call the function.second , you need to modify webuploader init input ,add capture="camera" like this .

if you want to run on IOS ,you can use webuploader and nothing need to develop , but on Android ,first you must rewrite the webview function to support input type=file . otherwise , you can not call the function.second , you need to modify webuploader init input ,add capture="camera" like this .

thank u very much,i will have a try.

other two questions you must take caution  add webuploader.custom-min.js support ,and set the webuploader param "sendAsBinary:true" to transform the  photoes by Binary,otherwise you may not  accept the photoes on server


Error Failed to resolve module specifier @vitejs/plugin-legacy

Describe the bug

When I use these settings, it gives an error below - I noticed a problem with polyfills, it gives an error when it is set to correct, but it is set to incorrect.
import { defineConfig } from 'laravel-vite';
import vue from '@vitejs/plugin-vue';
// @ts-ignore
import legacy from '@vitejs/plugin-legacy';
import path from 'path';

export default defineConfig({
  build: {
    manifest: true,
    minify: true,
    sourcemap: true,
    rollupOptions: {
      input: './resources/scripts/main.ts',
    },
  },
  server: {
    open: false,
    https: true,
    cors: true,
    hmr: {
      host: 'localhost',
    },
  },
  resolve: {
    alias: [
      { find: '~', replacement: './resources' },
      { find: '@css', replacement: './resources/css' },
      { find: '@scss', replacement: './resources/scss' },
      { find: 'js', replacement: './resources/js' },
      { find: '@images', replacement: './resources/images' },
      { find: '@scripts', replacement: './resources/scripts' },
      { find: '@components', replacement: './resources/views/components' },
      { find: 'ziggy', replacement: path.resolve('./vendor/tightenco/ziggy/src/js') },
    ],
  },
  plugins: [
    vue(),
    legacy({
      targets: ['defaults'],
      polyfills: true,
      modernPolyfills: true,
      renderLegacyChunks: true,
    }),
  ],
  optimizeDeps: {
    include: ['@inertiajs/inertia', '@inertiajs/inertia-vue3'],
  },
});

This just gives an error in the browser.
Uncaught TypeError: Failed to resolve module specifier "core-js/modules/es.object.get-prototype-of.js". Relative references must start with either "/", "./", or "../".

Reproduction

System Info
Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers:
  System:
    OS: Windows 10 10.0.19042
    CPU: (3) x64 AMD A6-3500 APU with Radeon(tm) HD Graphics
    Memory: 5.10 GB / 11.99 GB
  Binaries:
    Node: 14.16.0 - C:\~\Node-JS\node.EXE
    Yarn: 1.22.5 - C:\~\Yarn\bin\yarn.CMD
    npm: 6.14.11 - C:\~\Node-JS\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.906.0), Chromium (89.0.774.77)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    @vitejs/plugin-vue: ^1.2.1 => 1.2.1
    vite: ^2.1.5 => 2.1.5

Used package manager:
Logs

It only gives an error in the terminal.
[dotenv][DEBUG] did not match key and value when parsing line 6:
[dotenv][DEBUG] did not match key and value when parsing line 9:
[dotenv][DEBUG] did not match key and value when parsing line 16:
[dotenv][DEBUG] did not match key and value when parsing line 22:
[dotenv][DEBUG] did not match key and value when parsing line 24:
[dotenv][DEBUG] did not match key and value when parsing line 28:
[dotenv][DEBUG] did not match key and value when parsing line 37:
[dotenv][DEBUG] did not match key and value when parsing line 42:
[dotenv][DEBUG] did not match key and value when parsing line 47:
[dotenv][DEBUG] did not match key and value when parsing line 50:

Before submitting the issue, please make sure you do the following

[x] Read the Contributing Guidelines.
[ ] Read the docs.
[ ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[ ] Provide a description in this issue that describes the bug.
[ ] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[ ] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Hello @Rasool-deldar. Please provide a online reproduction by codesandbox or a minimal GitHub repository. Issues labeled by need reproduction will be closed if no activities in 3 days.

https://github.com/Rasool-deldar/laravel-vite

I have the same but with a react project with react/jsx-runtime
Uncaught TypeError: Failed to resolve module specifier "react/jsx-runtime". Relative references must start with either "/", "./", or "../".
Could you solve this issie ?

Please provide a minimal repro with Vite. The repo given includes a full Laravel/php setup, and the issue could as well be within laravel-vite. @vitejs/plugin-legacy has had issues working with meta-frameworks like SvelteKit too, and mostly it's because it wasn't built with that it mind. Since this issue has been open for almost a year, and a lot of changes has got into @vitejs/plugin-legacy, I'll close this for now. If the issue still persists, I'd suggest opening an issue in laravel-vite first.


Update akka-http, akka-http-testkit to 10.2.2

Updates

com.typesafe.akka:akka-http
com.typesafe.akka:akka-http-testkit

from 10.2.1 to 10.2.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, semver-patch

Superseded by #20.

Superseded by #20.


Parameters problem

Hi,
I'm experiencing this issue:
I have seen on documentation that parameters must be used such as
command.CommandText = "SELECT * FROM person WHERE starts_with(name, $name_start_letter) AND age >= $minimum_age;";
command.Parameters.Add(new DuckDBParameter("minimum_age", 40));
command.Parameters.Add(new DuckDBParameter("name_start_letter", "B"));

The problem is that if parameter names are used somewhere in the query, there are unexpected results. For example:
command.CommandText = "SELECT * FROM person WHERE starts_with(name, $name_start_letter) AND age >= $age;";
command.Parameters.Add(new DuckDBParameter("age", 40));
command.Parameters.Add(new DuckDBParameter("name_start_letter", "B"));

That's why command.Parameters are required in other ado.net libraries (I have tried with oracle, sqlserver, postgres) to be added with a prefix, like:
command.Parameters.Add(new DuckDBParameter("@age", 40));
command.Parameters.Add(new DuckDBParameter("@name_start_letter", "B"));

In this case there are no ambiguities.
Is it possible to have the same behaviour?
Thanks

Can you format code fragments as code with markdown? It's hard to read otherwise.

What unexpected results do you get? Can you share a repro with some sample data to make it easier for me to investigate?

I'm sorry, it was an sql bug of an old version of duckdb.dll, which has been solved.


SSH: Support FIDO-based Login

Some users have requested to be able to use their FIDO/YUBI key ssh key.
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Info is here (not sure if we need to enable/change the sshd config):
https://cryptsus.com/blog/how-to-configure-openssh-with-yubikey-security-keys-u2f-otp-authentication-ed25519-sk-ecdsa-sk-on-ubuntu-18.04.html

Thanks adam! I think this regex would also need to be changed (because of the @openssh.com that's part of the protocol). https://github.com/pwncollege/dojo/blob/628f9eb36131ae6e100983e9d2d5e7026eaec66d/dojo_plugin/api/v1/ssh_key.py#L26


bug: Cannot read property 'length' of undefined

Hi @codebytesfl, great work, I love the premise of this extension.
I tried to use it on VS Code 1.48.2 and I had the following error:

Hi @codebytesfl, great work, I love the premise of this extension.
I tried to use it on VS Code 1.48.2 and I had the following error:

Thank you! I will take a look at this,
Is there any other type of information you can share as to what led to this? Some things that could help find this bug faster!

Language selected
Was the document empty
Were you at the beginning of the line, end of the line
Does this happen all the time in your document, or only when you try to use the command at a specific spot in the document.

Thank you for reporting this :)

I tried with an empty document;
The document was empty;
I was at the beginning of the line;
All the time;


Support overridding the default LiteFS Cloud endpoint

This PR adds support for redirecting the LiteFS Cloud backup client to another api-compatible endpoint.

@stephen, are you working on an alternative to LiteFS Cloud?

@gc-victor - yes, shipped here today: https://github.com/stephen/litefs-backup

@benbjohnson Having a new patch or minor release version from this commit would be great.


Select Button should relabel (or skip) "Create XXXX"

The "Create [my option]" dropdown item is a bit problematic:

When there are no options,  is there a way we could skip the "create xxxx"  menu, and just have the enter/focus loss cause the pending value to be automatically created?

Should we default the "Create" prefix to something that doesn't imply saving data?  Skip the prefix?

We wanted to explore this -- probably only want to do if is low-hanging fruit, and doesn't add a lot of complexity to this already complex component.

Took a look at this - unfortunately, it seems there's no way to the skip the Create "xxxx" menu option. You can prevent it from showing by setting formatCreateLabel to a no-op function, but without the option in the list, the user can't actually add the option. The user needs to pick the option from the list for the new item to actually be created.
If we want to change the prefix, I would vote for Add "xxxx" or simply + "xxxx". I'm not sure about skipping the prefix entirely - without any prefix at all, its too easy to confuse the new option you're adding with being an existing item. There are certainly use cases where such a distinction doesn't seem important, but then there are other cases (e.g. groups in the config admin) where it's important.

Got it tom -- appreciate you taking the look and happy to drop this ticket now!
Given that we actually have a well-documented createMessageFn() prop,  I think no need to change the defaults.


refactor: fix object/provider.go:316:2: unreachable code

@wrongch stop making spam PRs in the repo again. Or you will be banned and reported to GitHub


Incorrect default value for flexShrink

Report

[X] I have searched existing issues and this is not a duplicate

Issues and Steps to Reproduce
On iOS, construct a UIView and inspect its view.yoga.flexShrink value.
Expected Behavior
Expect the default value for flexShrink to be 1 (as per web standards and Yoga Layout documentation)
Actual Behavior
Default value for flexShrink is 0.

It seems that Yoga diverges on purpose from web standards unless useWebDefaults is specified. In this case it would make sense to update the documentation with the correct default value.

cc @priteshrnandgaonkar

FYI Doc was updated: https://github.com/facebook/react-native-website/pull/2451

Now documented at https://www.yogalayout.dev/docs/styling/#default-styles