[(LIVE.FREE)] Ipswich Town vs Leicester City Live Streams Free Premier league On Tv Channel 2 NOV 2024

The next Premier League gameweek is about to begin. All 20 teams will be in action and while the season is still young, every game matters at this stage, and there are plenty of big clashes this weekend including Man Utd vs Chelsea and Tottenham vs Aston Villa.
If you're raring to get stuck into the EPL action then you're in the right place because we're here to show you how to watch Premier League live streams of every single game. And don't worry if you're abroad right now — because you can watch it all from anywhere with a VPN.
We're rapidly approaching the 10-game mark of the 24/25 Premier League season, and the table is starting to take shape. While the relegation picture still looks a little fuzzy (surely Wolves are going to find some form very soon?), the title race is really starting to kick into gear with Man City leading the pack, but Liverpool just a single point behind, and Arsenal also still very much in the battle for the EPL trophy.
You won't want to miss any of the soccer action and the good news is that you can watch all the Premier League matches from anywhere — because every game is being live-streamed somewhere in the world. So read on to find out how and where to watch the Premier League 24/25 season, wherever you are.
How to watch every Premier League game
How to watch Premier League live streams of every game
Erling Haaland of Manchester City looks on during a game between Manchester City and AC Milan at Yankee Stadium on July 27, 2024 in New York City.
(Image credit: Stephen Nadler/ISI Photos/Getty Images)
Every Premier League 24/25 game will be streamed live online somewhere in the world. The trick is in finding out where.
Premier League fixtures: Week 10
• Newcastle vs Arsenal (Sat)
• Bournemouth vs Man City (Sat)
• Ipswich Town vs Leicester (Sat)
• Liverpool vs Brighton (Sat)
• Nottm Forest vs West Ham (Sat)
• Southampton vs Everton (Sat)
• Wolves vs Crystal Palace (Sat)
• Tottenham vs Aston Villa (Sun)
• Man Utd vs Chelsea (Sun)
• Fulham vs Brentford (Mon)
In the U.K., for example, only 200 of the 380 matches will be broadcast live — but in the U.S., Canada, Australia and New Zealand, soccer fans can watch every single one of them (sorry, Brits).
That's good news wherever you are, because a VPN — or virtual private network — will let you tune into U.S. coverage from anywhere on the planet. And the same goes for every other country. So, if you're an American on vacation in the U.K., you'll be able to use one of the best VPN services to watch the games live on your usual services.
Our favorite right now is NordVPN, thanks to its combination of superb speed, great customer service and excellent device support. It also offers a no-questions-asked 30-day money-back guarantee, so you could check it out without having to sign up long term.
How to watch Premier League live streams with a VPN
If you're not in your home country during the Premier League 24/25 season and are unable to live stream a game from wherever you are, you can still tune in via a virtual private network, or VPN. A VPN makes it appear that you're surfing the web from your home location — meaning that you can access the streaming services you already pay for. It's all totally legal and easy to do.
We've tested many different VPN services and our favorite is NordVPN; it offers superb speeds, excellent customer service and comprehensive security features, so you can use it with complete peace of mind. But you've got other VPN options too, so check out our full list of the best VPN services.
Image
Exclusive deal
There's a good reason you've heard of NordVPN. We specialize in testing and reviewing VPN services and NordVPN is the one we rate best. It's outstanding at unblocking streaming services, it's fast and it has top-level security features too. With over 5,000 servers, across 60 countries, and at a great price too, it's easy to recommend.
Save over 60% on NordVPN with this deal
Using a VPN is incredibly simple.

Install the VPN of your choice. As we've said, NordVPN is our favorite.

Choose the location you wish to connect to in the VPN app. For instance if you're away in the U.K. and want to view your usual U.S. service, you'd select U.S. from the list.

Sit back and enjoy the action. Head to NBC, Peacock or another service and watch the game.

Premier league live streams by country
How to watch Premier League live streams in the US
US flag
(Image credit: Shutterstock)
Soccer fans in the U.S. can watch all 380 games of the 2024/25 Premier League campaign via NBC Sports. The games will be spread between NBC, the NBC Sports Network (NBCSN), CNBC, USA and the Peacock streaming service, as well as being available on the NBCSports.com website. We'll include full details of which one you need for each game in our fixture listings below.
If you've cut the cord and don't have cable, you have plenty of options, too. Our pick of these would be Sling TV: the Sling Blue package starts from $40 per month and comes with more than 30 channels including NBC and NBCSN. But best of all, right now Sling is offering 50% off the first month, making it a great way to watch all the Premier League action.
Fubo.TV is another option. A Pro Plan costs $79.99 per month but gives you 121 channels, including NBC and NBCSN, plus lots more for sports fans to enjoy.
To watch the Premier League on Peacock, you'll need either a Peacock Premium subscription ($7.99/month) or an ad-free Premium Plus ($13.99/month) account
If you already use those services but aren't in the U.S. right now, you can watch Premier League live streams by using a VPN such as NordVPN.
Plus, right now, Sling is offering your first month for half price
Sling TV offers two packages, both of which start from $40 a month. The Sling Blue plan comes with 30-plus channels, including NBC, USA and NBCSN. Plus, right now, Sling is offering your first month for half price.
View Deal
Fubo7-day free trial
If you love sports, you might want to check out Fubo. It's got a 7-day free trial so you don't need to pay upfront and has dozens of sports channels, including NBC, USA and NBCSN via its $79.99 per month Pro Plan.
View Deal
Peacock
In addition to select Premier League live streams, Peacock packs a huge library of licensed content drawn from various brands. That includes shows like 30 Rock, The Voice, Battlestar Galactica, Law & Order: SVU and This Is Us.
View Deal
How to watch Premier League live streams in Canada
Canadian flag
(Image credit: Shutterstock)
Canadian soccer fans are extremely lucky as they can watch every single Premier League live stream in one place, Fubo.
A subscription starts at CAN$29.99 per month for the Sports Monthly plan, which gets you all Premier League matches, Serie A and Ligue 1 games alongside 57 channels including BeInSports and MLB Network.
If you're willing to fork out a larger sum all at once, a Sports Quarterly plan costs CAN$59.97, which means you'll pay $19.99 per month.


YANG model to Influx DB data type mappings

Hi,
I'm testing gNMI subscriptions to a Nokia SROS device in order to collect counter information and ultimately send this to Influx DB.
I've encounted a few issues with the gnmic Influx output data types and would be grateful for any feedback on the points below.

With gNMI JSON encoding, I observed 64-bit YANG numeric types are mapped to strings in the InfluxDB output. RFC7951 ("JSON Encoding of Data Modeled with YANG") states 64-bit numeric values should be represented as JSON strings and I assume this is why the corresponding InfluxDB output is also a string. I also assume there is nothing gnmic can do about this as it doesn't know the original YANG type and this is a limitation of JSON encoding.

With gNMI BYTES encoding, 64-bit YANG numeric values are mapped to numeric types in the Influx output as desired. However, I observed some errors in the gnmic Influx output logs and this appears to be due to the Nokia YANG model using "type union" for some counters. The Nokia documentation says the type sent for a particular counter depends on the value at that sample and in the example below you can see the "operational_pir" counter is first sent as an int64, which sets the data type for the counter on the Influx server, but the next sample is of type string and this results in an Influx error "field type conflict" because the data type has changed. Again, I assume there is nothing gnmic can do about this as it doesn't know the original YANG type is a union.

Example
gnmic Influx output for counter "operational_pir" (type int) - sample 1
> myport,path=/state/port/network/egress/queue/hardware-queue,port_id=1/x1/1/c18/1,queue_id=8,source=<IP_ADDRESS> <more fields>,network/egress/queue/hardware_queue/operational_pir=1000000i,<more fields><PHONE_NUMBER>998510780
gnmic Influx output -Influx output for counter "operational_pir" (type string) - sample 2
myport,path=/state/port/network/egress/queue/hardware-queue,port_id=1/x1/1/c18/2,queue_id=1,source=<IP_ADDRESS> <more fields>,network/egress/queue/hardware_queue/operational_pir="max",<more fields><PHONE_NUMBER>016682122
gnmic Influx output log
2023-02-13T07:39:48Z E! [outputs.influxdb_v2] Failed to write metric to sros (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field
Nokia YANG model type for the above counter
	typedef int-max {
		type union {
			type enumeration {
				enum "max"                          { value -1; }
			}
			type int64;
		}
		description "Maximum 64-bit value with max as -1";
	}

Lastly, I tried gNMI PROTO encoding and the Influx output appears to have all fields defined as strings. In theory, I assume gnmic has full access to YANG type information via the proto file but there is no existing gnmic functionality to set the Influx data types to anything other than string (or deal with the union type scenario described in item 2).

gnmic Influx output log
default-1676519390,source=<IP_ADDRESS>:57400 //state/port.0/portId/value="B/1",//state/port.0/statistics/inBroadcastPackets/value="3968555",//state/port.0/statistics/inOctets/value="304900821",//state/port.0/statistics/inPackets/value="4003444",//state/port.0/statistics/inUnicastPackets/value="34889",//state/port.0/statistics/outBroadcastPackets/value="20",//state/port.0/statistics/outOctets/value="6473925",//state/port.0/statistics/outPackets/value="46584",//state/port.0/statistics/outUnicastPackets/value="46564"<PHONE_NUMBER>779419247

In an ideal world, I would like the YANG model and Influx data types to be aligned as much as possible and it seems BTYES encoding is the best way to achieve this at the moment. To workaround the union quirk, I'm also looking at the OpenConfig YANG models rather than Nokia models as on the surface it appears they make less use of the problematic union types.
Thanks for any feedback.

Hi @bradsowden
yes, you are correct about 1); this is a limitation of JSON encoding. And yes, currently Bytes encoding seems to be a way to deal with int64 counters.
I am not an expert on SR OS gNMI implementation, but I suspect the reason you see both a counter and a string ("max") for a PIR value is that the value first stays in the boundaries where it can be reported as int64, but then it crosses the maximum threshold at which it is reported back as "max".
My suggestion is for you to have a look at gnmic processors, where you can massage incoming data and, for example, convert "max" to -1 (or max int64) to keep the integer type consistent.
You probably don't want to drop that counter entirely (it is possible with processors), since this might be a useful insight.

Thanks for the feedback. I hadn't yet explored the gnimc processors but they look quite powerful.
I'll also spend some time assessing how many, and what specific counters, we are interested in collecting to see how scalable it is to use processors for our use case.
Thanks
Brad


I have some global public parameters need to set ,where and how to make it?

I have some global public parameters need to set ,where and how to make it? thanks

Hey @Goallying, you mean you want to add a parameter to every network request in your app? In that case you could use endpointClosure if you want to check/add based on the TargetType or requestClosure if you just want to add it to the URLRequest before firing.

@sunshinejr , I cant get parameters like"target. parameters" , how to add parameters?

@Goallying if you want to use endpointClosure you will need to switch by task, because e.g. in upload the parameters are only available in multipart body, or sometimes you have parameters only in url/body.
Please take a look at https://github.com/Moya/Moya/issues/1793#issuecomment-462242140, it should help!

@sunshinejr I tried to do as you wrote, but it seems not working:
`private var provider = MoyaProvider(endpointClosure: { (target: TargetType) -> Endpoint in
    switch target.task {

    case .requestParameters(var params, _):
        params["lng"] = "EN" // this parameter should be passed to every request

    default:
        break

    }

    let defaultEndpoint = MoyaProvider.defaultEndpointMapping(for: MultiTarget(target))

    return defaultEndpoint

},  callbackQueue: DispatchQueue.global(qos: .utility))`

I use above provider as following:
`provider.request(MultiTarget(someTarget)) { response in
    }`

Anyway, my default parameters is not sending. It seems I don't use endpointClosure properly. What can be the problem?

@abayken you updated the params, but these are a value type and so it only changed on your side, it didn't propagate to the defaultEndpoint. You need to return the newly formed endpoint after you change it, e.g.:
private var provider = MoyaProvider<MultiTarget>(endpointClosure: { (target: TargetType) -> Endpoint in

    let defaultEndpoint = MoyaProvider.defaultEndpointMapping(for: MultiTarget(target))

    switch defaultEndpoint.task {

    case .requestParameters(var params, let encoding):
        params["lng"] = "EN" // this parameter should be passed to every request
        return .requestParameters(params, encoding) // <- this is important
    default:
        break

    }

    return defaultEndpoint

},  callbackQueue: DispatchQueue.global(qos: .utility))`

@sunshinejr Thanks, it was stupid mistake. endpointClosure should return Endpoint, but in above example you also return Task in return .requestParameters(params, encoding) line. How is that possible?

@abayken yeah sorry! you’re correct and you need to return a proper Endpoint, not just a task, but great that you figured it out!
And yeah for now it’s how you have to approach this, it might be better in the future but right now it is what it is.

great！thanks

no problem at all, glad you all were able to resolve the issue - in that case I'm closing it but please don't hesitate to reopen in case there is still something that we could help you with!


python310Packages.types-dateutil: 2.8.16 -> 2.8.17

Description of changes
Update to latest upstream release 2.8.17

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 175006 run on x86_64-linux 1

2 packages built:

python310Packages.types-dateutil
python39Packages.types-dateutil


produce better error message when vecty.Class fails

While I was updating my repos to fix vecty breaking changes, I forgot to separate some spaced-classes in vecty.Class and the error message that I got was super confusing. I can imagine newcomers to be terrified and/or turned off by confusing dom error messages (picture below).
This pr produces a better error message with instructions on how to fix their code.
before

after

What are the performance implications of doing such validation?
Is it going to be worth it to consider a "production mode", after you know the code is correct, it'd skip unnecessary error checks at run-time? OpenGL/Vulkan has something like this.
It's very likely it's way too soon to worry about something like that, but I wanted to throw the thought out there.

@shurcooL this computation happens before vecty renders/rerenders so everything is still in the javascript process world. However, this does mean that the render functions have to do a bunch of loops inside the javascript world so you have a point there. I don't think that's a performance cost given that vecty does far more than just looping in the javascript runtime -- i.e. dom-diffing.
The idea of having a production mode build is, however, pretty interesting because there are numerous optimizations vecty and gopherjs can make. I'm open to suggestions :)

My scope of the production mode I had in mind was no more than to disable unneeded extra validation code that runs in order to give better error messages, nothing more. And I only think it's worthwhile if said validation code adds a very significant performance penalty. Otherwise, the simplicity of not having modes is a better tradeoff.

Thanks for taking the time to write & contribute this @marwan-at-work ! Please note I may not have time to re-review this soon, and if so, I apologize ahead of time.

I highly agree you should've never gotten that DOM error / should've gotten a more clear/concise vecty panic.
I do not think that we need a production mode, until someone can say for sure there is a significant perf penalty to their code. The check here is just a strings.Contains(name, " ") for valid code, which I highly doubt adds any significant performance overhead. The overhead of adding a dependency such as strings may be one valid argument for a production mode, however.

Thanks @marwan-at-work for taking the time to fix this! :)
Feel free to send a PR to add yourself to https://github.com/gopherjs/vecty/blob/master/CONTRIBUTORS if you'd like :)


Introduce EditorConfig

To help contributors.
More on the topic: https://github.com/szepeviktor/github-repository-inspection

@overclokk Friendly ping 🏓

Thank you @szepeviktor
I'm working on a tool to scaffold files in projects (and it will also correct new line bugs and similar), so, before merging any new file I want to have that tool ready, I'll take this PR on hold for now.

All right.


pronto-circleci gem announcement

Just want to tell you we created the pronto-circleci gem for automate connection with circleci. Hopefully it get added to the list in the README (if you want prefer i can create a PR to do it).
Github: https://github.com/comparaonline/pronto-circleci
Rubygems: https://rubygems.org/gems/pronto-circleci

@joaquinrulin I'd love to have it in the README!
It's not obvious to me of the best place to mention it. We have a list of gems, but that's meant only for runners. And we don't have a dedicated section for CI. I think that it should be a separate section under Usage. What do you think? Would you write it?


net::ERR_INCOMPLETE_CHUNKED_ENCODING in node v8.0 + chrome 58.0.3029.110

Seeing this error http://localhost:4000/__webpack_hmr net::ERR_INCOMPLETE_CHUNKED_ENCODING in browser console after upgrading to node v8. As a result, code injection fails for certain updates.
UPDATE:
Here's what I've tried and known to work

About 15 seconds after launching application, this error pops up in the console
About 30 ~ 45 seconds later, hmr works again
And then, it randomly breaks. Haven't been able to determine the criteria upon which it fails
hmr was stable in node v7

reference: https://github.com/egoist/poi/issues/179

Here's a minimal repro:
https://gist.github.com/egoist/55fed736c70eeb74a238a738f9f5ed13

From what I can tell, Node is killing the request due to a timeout. Disabling this timeout on the socket with res.socket.setTimeout(0); fixes this.

Is there anything we can do per-request?
Requiring server changes for a middleware is a bit annoying.
Maybe we should just make the default heartbeat 4 seconds instead?

Yeah, perhaps a lower default and a print a warning if the heartbeat is lower than keepAliveTimeout?

I just started encountering the same issue after upgrading to Node 8.
@brudil thanks for the fix, setting the server's keepAliveTimeout to 0 resolved the issue for me.

Seems to work fine on node 8.1.1

I can confirm it's working with node 8.1.1 as well

Also confirmed! 💃

Anyone know what changed in core to fix this for us?

Anyone know what changed in core to fix this for us?

@glenjamin it's both https://github.com/nodejs/node/issues/13435 and the one @brudil pointed out in his reply its https://github.com/nodejs/node/pull/2534

Cheers for the link, read through those and it looks like https://github.com/nodejs/node/pull/13549 was the fix.
Gonna call this issue closed

upgrade node to latest version(9.0.0):
node -v
sudo npm cache clean -f
sudo n stable
node -v

also fixed for me.

The problem has been solved. thx


Add support channel & Remove GDK_BACKEND=x11

We recently added a new support channel for Linux, so users should be redirected there instead.
Since we merged https://github.com/Ryujinx/Ryujinx/pull/3516, we can remove the GDK_BACKEND=x11 env var now.
I also added the magic value for XCI and edited the others to include the complete magic value.

Since we merged Ryujinx/Ryujinx#3516, we can remove the GDK_BACKEND=x11 env var now.

I don't think this is a good idea. As whilst yes, ryujinx does now open the menu on wayland for me, I still can't get into any sort of game which still makes it less than ideal. Unless this is somehow a bug for just me that needs reporting, merging this change doesn't seem like a good idea

Will look into that this evening, I was sure it wouldn't crash anymore. Maybe I overlooked something.

Yup, you are right. I think I simply forgot to test if starting a game works as well.
Since I don't think this is a 2min fix, I'll revert the removal of GDK_BACKEND=x11 here instead.


⚠ Bofrost.at has degraded performance

In 94ff215, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1100 ms

Resolved: Bofrost.at performance has improved in bec7c83.


Update project for Xcode 7 and update CocoaPods version

@chrismaddern can you have a quick look here

Merging since this is just project changes/pod updates. It's currently difficult to work on this project until these are merged.


/tmp/git-blob-abc is shown in git diffs

CLI arguments passed:
 2022-08-16T16:15:33.067Z INFO  difft::options > CLI arguments: ["/tmp/git-blob-orGpmC/Cargo.lock", "Cargo.lock"]

This looks like a consequence of always taking the longest path for display.

See style::header and preferring the LHS path.

Broken in 0.31.


Try to finetune NLLB but got an error: "Can't instantiate abstract class TrainModule with abstract methods requirements"

🐛 Bug

Try to finetune NLLB but got an error
Can't instantiate abstract class TrainModule with abstract methods requirements

CMD
python /fairseq-nllb/examples/nllb/modeling/train/train_script.py \
    cfg=bilingual \
    cfg/dataset=$DATA_CONFIG \
    cfg.dataset.lang_pairs="$SRC-$TGT" \
    cfg.fairseq_root=$FAIRSEQ_ROOT \
    cfg.output_dir=$OUTPUT_DIR \
    cfg.dropout=$DROP \
    cfg.warmup=10 \
    cfg.finetune_from_model=$MODEL_FOLDER/checkpoint.pt

Complete Error
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
  @hydra.main(config_path="conf", config_name="base_config")
/usr/local/lib/python3.8/site-packages/hydra/_internal/hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
  ret = run_job(
Error executing job with overrides: ['cfg=bilingual', 'cfg/dataset=fbseed_bilingual.yaml', 'cfg.fairseq_root=/fairseq-nllb', 'cfg.output_dir=/output_nllb', 'cfg.dropout=0.1', 'cfg.warmup=10', 'cfg.finetune_from_model=/output_nllb/nllb_model/checkpoint.pt']
Traceback (most recent call last):
  File "/fairseq-nllb/examples/nllb/modeling/train/train_script.py", line 289, in main
    train_module = TrainModule(config)
TypeError: Can't instantiate abstract class TrainModule with abstract methods requirements

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Environment

fairseq Version (e.g., 1.0 or main): nllb latest
PyTorch Version (e.g., 1.0): 1.8.1+cu101
OS (e.g., Linux): Ubuntu 20.04
How you installed fairseq (pip, source): pip+source
Build command you used (if compiling from source): pip install --editable .
Python version: 3.8
CUDA/cuDNN version: 10.1
GPU models and configuration: Tesla V100
Any other relevant information:

Additional context

@robotsp hey, I got this error when I reinstalled Stopes with the new version. I think Fairseq is not compatible with the new version of Stopes. I solved this problem by using the old version.

@ibtiRaj , Thanks!

Thanks @ibtiRaj

@robotsp hey, I got this error when I reinstalled Stopes with the new version. I think Fairseq is not compatible with the new version of Stopes. I solved this problem by using the old version.

@ibtiRaj But it seems a new error when you downgraded stopes to the old version, right? And @kauterry mentioned you (https://github.com/facebookresearch/stopes/issues/24) to install the new version of stopes to solve the error. I confused if there is an end to end solution :)
Best,

@robotsp  I'm confused too, I don't know what to do.

@robotsp Can you tell me what your system configuration is, i.e. number of GPUs, GPU memory and system memory (RAM)?

@robotsp Can you tell me what your system configuration is, i.e. number of GPUs, GPU memory and system memory (RAM)?

8 GPUs, 480GB CPU @ibtiRaj .
btw, would you please provide your running scripts and config files? Thanks!

hi @robotsp, to fine tune NLLB model I use this command:
srun python /home/admin/khadija/fairseq/examples/nllb/modeling/train/train_script.py  cfg=nllb200_dense3.3B_finetune_on_fbseed cfg/dataset=bilingual cfg.dataset.lang_pairs=ary_Arab-eng_Latn cfg.fairseq_root=/home/admin/khadija/fairseq cfg.output_dir=/home/admin/khadija/storagenas/fine_tune_nllb_output/model_fine_tuned cfg.dropout=0.1 cfg.warmup=10 cfg.finetune_from_model=/home/admin/khadija/storagenas/projects/NLLB_modeles/checkpoint.pt
and this is my config files:

Is that what you meant?

Hello, I have the same problem as you.
I found that the problem might be on the stopes.
Like error report, abstract method requirements are not implemented in TrainModule.
Perhaps because the nllb and stopes versions do not correspond, there may be no requirements in the previous versions, so I deleted the requirements method in stopes.stopes.core.stopes_module. The program can run normally. I hope it will help you.

Hello, I have implemented the abstract method by my own infairseq/examples/nllb/modeling/train/train_script.py (pretty simple).

It worked for me. However, when I try to load the model, I get errors. I am also trying to fine tune it, it seems that it is trying to initialise the model with my vocabulary instead of doing it with the vocabulary it has been trained on. Anyone have a solution to this problem?


How to use with Win 10 Universal App

Using VS 2015 I have created a C# Win 10 Windows Universal App
I installed the nugget package V 1.5.0
I copied the sample code from the main page and am getting some errors:
            writeableBmp = BitmapFactory.New(1, 1).FromResource("Data/flower2.png");

FromResource does not exist
            int[] pixels = writeableBmp.Pixels;

Pixels does not exist
            WriteableBitmapExtensions.DrawLine(pixels, w, h, 1, 2, 30, 40, myIntColor);

DrawLine does not have a version which takes an int array
            writeableBmp.DrawCurve(pts, 0.5, Colors.Yellow);

Had to cast 0.5 to (float)0.5 as compiler can't convert double to float automatically

This is not an issue. It works different with WinRT/UWP.
Please see the sample code to get started. Open the Solution\WriteableBitmapEx_All.sln and check the WinRT folders for samples in that space.

Damn, can't see directly how it is done. You need to install Windows Phone 8.1 SDK first. 😢


Update cja-aa.md

@MicaPete - possible to accept these changes for me?

Trevor - the short answer is, yes, I can make this change in the file.
The long answer: However, I cannot merge this PR, since it will land in the public repo, which is a mirror of the corporate repo (aka the "real and published repo".) If I merge this PR into master, this will get overwritten by the first update on git.corp.adobe.com. This is intended to put a wall between the actual content repo and what customers can change. The way docs.adobe.com is set up, if you try to improve a page, this will land you on your public GIT profile, not your corporate GIT.
So next time, after you click "Edit this page", you change the the github.com URL (public repo) to git.corp.adobe.com (corp repo) and do the edit there. Then I can merge it directly.
Hope that makes sense.

I have made the changes in the corp repo and it is currently being published.


Set-SecretStoreConfiguration PasswordRequired unintuitive

In order to set PasswordRequired to false requires using the unintuitive syntax for switch parameters of -PasswordRequired:$false. Can this parameter type be changed from switch to bool?

Performing the operation "Changes local store configuration" on target "SecretStore module local store".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?]
Performing the operation "Changes local store configuration" on target "SecretStore module local store".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y
Vault Microsoft.PowerShell.SecretStore requires a password.
Enter password:
****
A password is no longer required for the local store configuration.
To complete the change please provide the current password.
Enter password:
****

      Scope PasswordRequired PasswordTimeout DoNotPrompt
      ----- ---------------- --------------- -----------
CurrentUser            False             900       False

This is done on purpose.  Removing password required lowers security, so we want to make it a little bit difficult.  Default is to always require a password.

Making it difficult through a bad syntax is not more secure, its just bad user experience...

Hmm, good point.  Using boolean parameters is against PowerShell best practices.  So I think the switch should be '-NoPasswordRequired'.  Default is to require a password, so the switch is only used to turn it off.  That seems like a better user experience.

In #20 @rkeithhill had the suggestion of having two switch parameters, one to enable and the other to disable. There should be a way to turn it on and off without having to set all the settings back to default.

Having two switches seems like an overkill to me.  I think -NoPasswordRequired works since default behavior is always password required.

If a user disables passwords and then decides that's a bad idea. How do they turn it back on without resetting the timeout or other settings?

-NoPasswordRequired:$false  This feels like nit picking to me.  But I'll mark this for committee review so it can get resolved.

Also '-NoPasswordRequired' feels consistent with the existing '-DoNotPrompt'.  Default is password and prompting, and we have switches to change default behavior.  But will committee decided.

My intention is not to nitpick but to give my perspective. I'll expand my reasoning for yourself and the committee so they can better understand where I'm coming from. I also cc'd some other community members to hear their opinion since this is a brand new repo and they probably haven't seen it yet.
In my experience, with built-in cmdlets and community modules, a switch parameter is an opt-in way to change a specific default behavior on a cmdlet for a single execution. The switch parameter behaves the same way if not passed or set to false. This is because the switch parameter is designed to only change the one default behavior in the opposite way. The proposed design has the switch parameter behave differently when passed/true or false. Please correct me if I'm wrong, but I'm not aware of any other built-in cmdlets that behave this way other than with preference variables. But that is more of a side effect of an issue rather than a standard use case: https://github.com/PowerShell/PowerShell/issues/4568.
Switch parameters usually only modify the current execution of the cmdlet with no impact to future executions. Since this switch parameter sets a persistent configuration item, it changes the syntax and difficulty of reverting the behavior. For example, Set-SecretStoreConfiguration -NoPasswordRequired is the intended way to use the switch parameter, but if the user wants to make passwords required the syntax is more complex Set-SecretStoreConfiguration -NoPasswordRequired:$false not to mention a double negative is confusing. To enable or disable the feature, the user experience should be the same level of syntax difficulty. Since setting false to a switch parameter is such an uncommon practice, most beginner and intermediate PowerShell users may not even know it exists. The help system command syntax also does not indicate that passing false to a switch is a valid option further reducing visibility.
So that's my $0.02 😄 I welcome any thoughts or ideas you may have.
cc: @vexx32, @mklement0, @iSazonov, @rkeithhill

Some thoughts:

If we have to have a unique parameter for every configurable option that inevitably leads to parameter bloat. IMO this is not a good pattern to continue. An alternative would be to have the cmdlet take a -Name value to target a specific setting and a -Value parameter to set that. If one wants to set multiple configuration values at once, the cmdlet should take a hashtable of names and values and apply each named setting, writing errors for those that don't exist. The corresponding Get-* cmdlet can just take a -Name as well to retrieve specific named setting(s) if needed.

If this is a sufficiently distinct option that can in itself be considered a bit of a security hazard to enable, I would move this particular configuration option to a completely separate cmdlet, and explicitly prevent setting it with the standard cmdlet. So, create two small cmdlets for Enable/Disable-SecretStoreRequirePassword that by default prompt via ShouldProcess() (ConfirmImpact set to High). This lets users know "hey you DO need to think twice about this" and also allows them to override it with -Confirm:$false or -Force (that's if you choose to implement a separate -Force switch; I have other opinions about this and think this is an inconsistent and fundamentally unclear pattern, but that's another topic).

Thanks for everyone's thoughts after more consideration @ThomasNieto you make a great point that since this is a Set cmdlet it makes more sense to have as a boolean parameter

I agree.  It makes sense for this 'set' cmdlet for individual properties.  I'll leave this marked for committee review in case they want to veto, but otherwise will move forward with the changes.

Boolean parameters are the one thing that if they're ever mentioned, the design needs a rethink.
Please don't.

See Enabled switch in Set-ADUser
I mean the UX is popular.
My thoughts:

we should have good/right default
we should have good help.
Today users work with dozens of modules and hundreds of cmdlets - it is not possible to remember all the names and parameters. So the user will most likely do help Set-SecretStoreConfiguration -Examples, and if he/she sees examples of how to turn it on and off the feature, then this will be good UX and what we need.

"In use" is not the same as popular. They're universally confusing at best.

This has been discussed internally with just as many differing opinions.  There were some ideas that I feel were pretty good and am inclined to go with:

Set-SecretStoreConfiguration should be changed to Update-SecretStoreConfiguration since it really updates existing individual properties.

Since this cmdlet updates existing configuration values, it makes sense to remove the existing (-DoNotPrompt, -PasswordRequired) switch parameters and make them enum Parameters:

-Authentication  (Passsword | None)
-Interaction (Prompt | NoPrompt)
What do you think?

Those sound good, and leave room in the future for other auth types (2FA / smart cards making a comeback at some point? 😉 ).
Unsure about -Interaction as a name, but I have nothing better to offer myself, so I think it'll do the job well enough, unless some others have ideas on that one. 🙂

Using enumeration values makes sense, and avoids both the awkwardness of a Boolean parameter / having to use a switch parameter with an invariably optional, :-attached argument.
As for  the name: Update-SecretStoreConfiguration:
Among the built-in cmdlets we have no *-*Configuration cmdlets, but be have two *-*Option cmdlets, Set-MarkdownOption and Set-PSReadLineOption
Therefore, my vote is for Set-SecretStoreOption.

-Authentication (Passsword | None)

Since intention is "to protect":
-Protection (Passsword | None)

Really appreciate all the input on this issue! Agree that enumeration values are the right call and leave the design adaptable to changes in auth practices.
Set makes the most sense to me, similar to Set-PSRepository but I also recognize this may be a bias of spending so much time on the PowerShellGet project recently. Looking at more examples of Set vs Update now--but welcome more thoughts on this 😄

We can consult the official definition of the Update verb:

Brings a resource up-to-date to maintain its state, accuracy, conformance, or compliance

We are not talking about bringing something up-to-date here, so Update isn't appropriate.
Contrast with Set:

Replaces data on an existing resource or creates a resource that contains some data

This is appropriate: we're replacing or initially setting one or more configuration values, aka options.
By switching from *Configuration to *Option - i.e., Set-SecretStoreOption:

we align with existing cmdlets (Set-PSReadLineOption, Set-MarkdownOption)

we avoid potential confusing around setting all configuration values vs. only the specified  ones.

As for @iSazonov's suggestion to change -Authentication to -Protection. The parameter name should be left as -Authentication. The setting is to determine what type of authentication is required to access the vault. Also, all the built-in cmdlets use Authentication.

Connect-PSSession
Enter-PSSession
Get-PSSession
Invoke-Command
Invoke-RestMethod
Invoke-WebRequest
New-PSSession
Receive-PSSession
Start-Job

Changed for preview2.  Note that this changes the config file schema and so preview2 is incompatible to preview1.  Be sure and save/copy your secrets before installing.


Can't discard untracked directories with showUntrackedFiles=normal

Description
Trying to discard an untracked directory displays no notification but the folder stays there. This works on magit.
Neovim version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382
Operating system and version
macOS 14.6.1 (23G93)
Steps to reproduce

nvim -nu minimal.lua
:Neogit
Press x on an untracked directory

Expected behavior
Folder gets deleted. Also, it would be good if we had a confirmation before exclusion.
Actual behavior
Nothing happens
Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

T'da :)


Rework the Prometheus base check

What does this PR do?
With the current design GenericPrometheusCheck creates one PrometheusCheck instance for each desired Prometheus endpoint in order to implement a configuration-driven Prometheus check.
Both GenericPrometheusCheck and PrometheusCheck derive from AgentCheck thus GenericPrometheusCheck is-a check but also has-a list of checks. While this is not wrong per-se, in this context it sounds weird to me.
Proof of the potential code smell is this hack overwriting the aggregator reference for all the PrometheusCheck instances held by GenericPrometheusCheck.
Solution proposed
I detached all the scraping logic along with the scraper state into a separate mixin, PrometheusScraper. This mixin is used to add prometheus scraping functionalities to 2 different classes:

PrometheusCheck which is an AgentCheck
Scraper which is a regular Python class

While nothing changes for PrometheusCheck, GenericPrometheusCheck aggregates several instances of Scraper, one per endpoint configured. Scraper aggregates a reference to GenericPrometheusCheck (which is still an AgentCheck) so it can use its methods to send the scraped metrics.
Additional Notes
Scraper doesn't provide the "magic method" functionality so all the desired metrics have to be listed in the config file, while PrometheusCheck will still parse a metric if it finds a class method with the same name.
I fixed the tests for the kube_dns check to see if this works but the same has to be done for the prometheus check if we want to go down this path. Also some cosmetics around module and class names along with docs would be nice to add.

Thanks @masci for the refactoring work! 🙇
Having a single check and multiple scrappers sound indeed much better than managing multiple checks.
I'll cherry-pick the refactoring commit, close this PR, and continue the work on #1006

I think this looks great! I did not like that hack, so thanks for putting in the work on this! :)


⚠ Bofrost.at has degraded performance

In 80140f2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1590 ms

Resolved: Bofrost.at performance has improved in 4653dae.


Sleet

Hello,
where do I find the view (sleet) documentation to find out which filters / functions?
Do they have the same features as VOlt / Twig?

Unfortunately they are not documented yet. They have similar features to volt/twig.
Functions:
View: content, partial, load,
General: dump, version,
Tag: text_field, password_field, hidden_field, submit_button, button, check_field, radio_field, input, form, end_form, text_area, image, img, link_to, a, link, script, style, select, tag_html, end_tag, friendly_title, get_doc_type
Filters:
capitalize, camelize, uncamelize, human, lower, upper, alnum, alpha, email, float, int, string, strip_repeats, e, escape, strip_special, unescape, unstrip_special
https://github.com/ice/framework/blob/dev/ice/mvc/view/engine/sleet/parser.zep

Thank you Mariusz.
Will Ice continue to be maintained and as an extension? I currently use phalcon in several projects, but it will be discontinued as an extension, so I intend to migrate to ICE.

Yes, no plan to drop it and I hope we will add support for php8 soon https://github.com/phalcon/zephir/issues/2111.
I need to improve our documentation, for now you can check our api.


Allow for configurable helper of eloquent namespace

sometimes we will need post-packaging of eloquent to use it easyer,but in this case,the ide-helper cannot cue us，so i think we can make the eloquent namespace  configurable

@whFelice is this PR still relevant for you?

post-packaging of eloquent to use it easyer

Can you describe in more detail what you're doing and why you need this?

@whFelice is this PR still relevant for you?

post-packaging of eloquent to use it easyer

Can you describe in more detail what you're doing and why you need this?

yes it is.we extend some method with eloquent(eg:make cache for your query) ,but this repository can only supply methods for original repository .in this case we need to configure the eloquent namespace.best regards.

yes it is.we extend some method with eloquent(eg:make cache for your query) ,but this repository can only supply methods for original repository .in this case we need to configure the eloquent namespace.best regards.

Sorry I re-read this sentence and I'm still not entirely sure what the use case is :|
I'm trying with the original again:

post-packaging of eloquent

What does that mean, exactly?
Are you creating PHAR packages or something which moves everything into custom namespace to avoid clashes and are people then supposed to use this and have ide-helper complete or something?

this is my problem:
i pack a composer package which helps me t o use '\Illuminate\Database\Eloquent' easier .
and when i use  the package ,the  ide-help cannot notice the methods i do.

yes it is.we extend some method with eloquent(eg:make cache for your query) ,but this repository can only supply methods for original repository .in this case we need to configure the eloquent namespace.best regards.

Sorry I re-read this sentence and I'm still not entirely sure what the use case is :|
I'm trying with the original again:

post-packaging of eloquent

What does that mean, exactly?
Are you creating PHAR packages or something which moves everything into custom namespace to avoid clashes and are people then supposed to use this and have ide-helper complete or something?

this is my problem:
i pack a composer package which helps me t o use '\Illuminate\Database\Eloquent' easier .
and when i use the package ,the ide-help cannot notice the methods i do.

Configurable eloquent namespace. IDK, sounds really esoteric to me.
I suggest to make a copy of resources/views/helper.php in your project and make ide-helper use that, would that work?

@whFelice I've to be honest, I still do not get the use-case you are trying to fix


feat: Add statistical card to extensibility

Description
Changes proposed in this pull request:

Add Statistical Card to extensibility

How to test it
On example of HPA, put it in body section:
      - name: Metrics
        source: status.currentMetrics.resource.current
        widget: StatisticalCard
        mainValue:
          name: Average Value
          source: $item.averageValue
        children:
          - name: AvgUtilization
            source: status.currentMetrics.resource.current.averageUtilizationN  #intentional typo
          - name: Average Utilization
            source: $item.averageUtilization
        targets:
          - location: HorizontalPodAutoscaler
            slot: cards
      - name: Replicas
        source: status
        widget: StatisticalCard
        allNamespaceURL: false
        resourceURL: pods
        mainValue:
          name: Current replicas
          source: $item.currentReplicas
        children:
          - name: Desired replicas
            source: $item.desiredReplicas

Related issue(s)
https://github.com/kyma-project/busola/issues/2763

/retest

/retest

/retest

/retest


Add User-Agent header

This should add a user-agent header to every request that it makes. I have tested this with wireshark and the compiled installer jar, and the requests that I inspected included a User-Agent: Quilt-Installer/0.5.0 header, as desired. Let me know if there's changes you'd like.

Thanks! When are we looking at a release for those changes?


WIP - Babel 6 upgrade

This works but Babel is really slow.
Also, I think there are some problems with the latest babel-plugin-transform-runtime that required me to pin back a minor release.
https://github.com/babel/babel/issues/2954

Babel 6 has crazy long bootup.
#148 and #182 are going to become really important.

Babel 6 has crazy long bootup.

Oh, that sucks... You might want to open an issue on Babel about it. You can use time-require to see what's slowing it down.

~850ms: https://github.com/jamestalmage/__time-require-babel-5
~3.6 seconds: https://github.com/jamestalmage/__time-require-babel-6

Never Mind:
npm dedupe improves babel 6 times drastically.
I still had npm@2 lying around in my node 4.1.2 install
So it seems you trade a longer npm install, for faster requires.  Worth it, it seems to me.

Cool, I guess it's fine then :)


Is there an option to lose shadow inside bounding box ?

I want to just use perimeter of bounding box, so that image inside is clearly visible.

Hey @ajitStephen, I don't think there's a box shadow in the latest version.

May wrong use of word shadow by me. I mean inside area in the bounding box, gets filled by a light shade of color, want to lose that.
Check screenshot:


Module Imports inconsistent on re-building via ng build --watch

🐞 Bug report
Command (mark with an x)

[ ] new
[X] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
No.
Description
 A clear and concise description of the problem...
🔬 Minimal Reproduction

Create a blank project
Import and Add CommonModule to the imports of the module:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { CommonModule } from '@angular/common';
import { FormsModule } from "@angular/forms";

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    CommonModule
  ],
  providers: [
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

Use *ngIf in a component:

    <div class="alert alert-secondary" *ngIf="message">
      {{ message}}
    </div>

Run ng build --watch=true --prod=false

See it work.

make any change to the project

Watch it fail with:

ERROR Error: "Template error: Can't bind to 'ngIf' since it isn't a known property of 'div'."

Stop the build and re-run it with identical parameters (ng build --watch=true --prod=false
Watch it work again (no code changes)

🔥 Exception or Error

ERROR Error: "Template error: Can't bind to 'ngIf' since it isn't a known property of 'div'."
    Angular 3
    AppComponent_Template app.component.html:4
    Angular 32
    ts main.ts:11
    Webpack 6
core.js:6014:19
    Angular 29
    ts main.ts:11
    Webpack 6

🌍 Your Environment

Angular CLI: 8.3.22
Node: 13.0.1
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.22
@angular-devkit/build-angular     0.803.22
@angular-devkit/build-optimizer   0.803.22
@angular-devkit/build-webpack     0.803.22
@angular-devkit/core              8.3.22
@angular-devkit/schematics        8.3.22
@angular/cli                      8.3.22
@ngtools/webpack                  8.3.22
@schematics/angular               8.3.22
@schematics/update                0.803.22
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.39.2

Anything else relevant?

Are you using ivy? Ie: when creating a new project are you using —-enableIvy?

Also there is no need for CommonModule when using BrowserModule as the latter re-exports CommonModule.

I don't think we're using Ivy. How could I tell, I don't recall when we created it whether we would have enabled it. I doubt it.
I'll try to remove CommonModule, but I added it when I it complained about missing *ngIf and *ngFor

Looks like It might be an issue with using a subst drive on Win10. I'll continue to investigate but I'll close this for now.


Let default imports skip non-public types

This PR changes the Java source metadata visitor used for the Groovy DSL reference, default imports and api mappings to skip non public members.
This is a stepstone towards supporting K2 for Kotlin DSL scripts.

Fixes https://github.com/gradle/gradle/issues/25018

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Lock down interface between Finclusive and cLabs

Figure out the specific details for each API call that Valora will make to Finclusive and Finclusive to Valora + Celo.

Closing in favor of: https://github.com/celo-org/wallet/issues/645


 This should make it easier to match on them and stuff.

just wanted to say thank you


check transaction before broadcasting / accepting

Motivation
Check if the transaction is valid before broadcasting. Prevents users accidentally generating invalid transactions then wonder where did they go after it got rejected by other nodes.
This check was there before Sep 2022. Not sure why it was removed.
Test Plan
(If you changed any code, please provide clear instructions on how you verified your changes work.)
My invalid tx could be rejected.
⚠  ❌ Failed to broadcast execution 'credits.aleo/transfer_private' to https://explorer.hamp.app/testnet3/transaction/broadcast: (status code 500: "Something went wrong: Invalid transaction: The input ID '7798950585313772830287778856136311499267216010577198944948157594845486864875field' already exists in the ledger")

Related PRs
(Link any related PRs here)

Oops, edited the code but forgot to git add, will change later

There is the concern that it is possible the user broadcasts 2 or more transactions, whereby the first transaction makes the second (and later) transactions valid. But the verifier will not know this without speculative execution in advance.

This check is also present in the inbound method for UnconfirmedTransaction, so unless the user is broadcasting directly to a validator, they won't succeed as their later transactions won't be accepted by other nodes anyway.

Great point, we did add that check in as a preemptive safeguard. I agree it wouldn't be a significant feature change to include this one too.
Do you know if there are any major performance implications we should be aware of with this PR?

Actually I did think about if one can just spam invalid transactions, but didn't actually try to profile the check function. It does seems a little expensive as the "basic" check did try to thoroughly verify many things included in the transaction.
Without the check though, the spammer will be spamming all connected nodes instead. But admittedly losing a public API endpoint would be worse.
Probably I need to generate some fake data to test if this could have severe performance implications.

I just realized we have https://github.com/AleoHQ/snarkOS/pull/2942 so we don't need to specifically worry about attacks as you can still DDoS other endpoints, especially /blocks.
I did test the check function and it took 50~100ms on my server to verify a valid transaction and similar transactions with a bad execution proofs. The timing variation seems to come from storage accesses to verify duplicated IDs. I currently don't have resources to actually test if flooding would take down a node, but from the time above, heuristically it's indeed possible even with legitimate traffic (think a large amount of valid transactions during a event of some project).
That said, that amount of traffic could disable other nodes processing UnconfirmedTransaction messages as well if we don't add this check here.


Adding introductory explanation in readme and doc

I know this is not an emergency but eventually, at some point it would be nice to add the main introductory explanation in both readme and doc websites regarding

what the tool is about,
why to use it
who are the targeted users
and how to contribute (a.k.a contribution guidelines as in niprep or as in Mozilla's
and a Code of Conduct

https://github.com/courtois-neuromod/cneuromax/pull/64 -> https://courtois-neuromod.github.io/cneuromax/index.html


PopperLite PoC

PoC of lite version of popper lib. Without enableEventListeners and disableEventListeners logic (window scroll and resize events) and  offset, keepTogether, arrow, inner, and hide modifiers.
Useful for apps that don't depend on window scroll and resize events and need minimum position logic.
You can try it using package @bodia_uz/popper.js:
import * as Popper from<EMAIL_ADDRESS>
Regular popper still available and all tests are passed:
import * as Popper from<EMAIL_ADDRESS>

You'll be happy to know that the next branch right now weights 2.68 kB gzipped 😄 (with computeStyle and applyStyle modifiers included).
The core now is way more reliable so the modifiers should be able to be much more lightweight than before.

Ou. Cool. Good job!
Thanks for that!


build: change GitHub to community maintained repository health file

Description:
This PR changes the current requirements bot for a community-supported health file. We're also changing this job in an attempt to fix the current bot errors: https://github.com/openedx/openedx-events/actions/workflows/upgrade-python-requirements.yml
Dependencies:
None
Merge deadline:
ASAP
Installation instructions:
None
Testing instructions:
None
Reviewers:

[x] @felipemontoya

Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Thanks for the pull request, @mariajgrimaldi!
As a core committer in this repo, you can merge this once the pull request is approved per the core committer reviewer requirements and according to the agreement with your edX Champion.

@mariajgrimaldi 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


[Enhancement] Working with kill activities

Se optimiza para funcionar con Kill Activities

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.0.0@7925d22). Click here to learn what that means.
The diff coverage is 22.61%.

@@               Coverage Diff               @@
##             release/3.0.0    #434   +/-   ##
===============================================
  Coverage                 ?   9.07%
===============================================
  Files                    ?     188
  Lines                    ?   12722
  Branches                 ?    1128
===============================================
  Hits                     ?    1155
  Misses                   ?   11428
  Partials                 ?     139

Impacted Files
Coverage Δ

...cadopago/presenters/ReviewAndConfirmPresenter.java
76% <ø> (ø)

...ain/java/com/mercadopago/PaymentVaultActivity.java
0% <ø> (ø)

...java/com/mercadopago/ReviewAndConfirmActivity.java
0% <ø> (ø)

...k/src/main/java/com/mercadopago/util/JsonUtil.java
100% <100%> (ø)

...rc/main/java/com/mercadopago/CheckoutActivity.java
8.77% <29.41%> (ø)

.../mercadopago/presenters/PaymentVaultPresenter.java
55.9% <50%> (ø)

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 7925d22...48d3f17. Read the comment docs.


Case insensitive wildacard range

Beware that wildcard ranges are not behaving same as expanded range even in simple cases with collate use. The page notes that 'In range searches, the characters included in the range may vary depending on the sorting rules of the collation.', but it doesn't work properly even for a simple case:
-- db collation Czech_CI_AS
create table People (Id int identity, GivenName nvarchar(100));
insert into People (GivenName) values ('Adam'), ('Bob'), ('cecilia');
select * from People person where person.GivenName collate SQL_Latin1_General_CP1_CS_AS like '[A-C]%'; -- result: Adam, Bob, cecilia
select * from People person where person.GivenName collate SQL_Latin1_General_CP1_CS_AS like '[ABC]%'; -- result: Adam, Bob

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

ID: b5353a04-2e20-ae05-2004-6fd8a19c440a
Version Independent ID: 382b0acd-1e14-c7fd-bf92-c3e09ccdf4fa
Content: LIKE (Transact-SQL) - SQL Server
Content Source: docs/t-sql/language-elements/like-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @julieMSFT
Microsoft Alias: jrasnick

Hello @jahav . Actually, this is behaving correctly. The issue is simply a misunderstanding of how it should work, and an incomplete test that doesn't show the complete behavior. To be clear, the pattern [ABC] is just a multi-character wildcard, it is not a "range". It works similar to an IN list in that it will try to match against 'A' OR 'B' OR 'C'.
The [A-C] pattern is a range that will try to match against anything between 'A' AND 'C' (inclusive). So the question is: what characters are between A and C? Well, due to using a case-sensitive collation, the order of the character is:

a
A
b
B
c
C

As you can see, lowercase "a" is outside of that range, and lowercase "c" is inside of that range. Your test included "c", but not "a". If we add sample data for "a" and "C", then we will see this in action (the following example is based on your code at the top of this issue):
-- DROP TABLE dbo.People;
CREATE TABLE dbo.People (Id INT IDENTITY, GivenName NVARCHAR(100));
INSERT INTO dbo.People (GivenName) VALUES (N'Adam'), (N'Bob'), (N'cecilia'), (N'aaron'),
      (N'Charles');

SELECT *
FROM   dbo.People
ORDER BY [GivenName] COLLATE Latin1_General_100_CS_AS_SC;
-- result: aaron, Adam, Bob, cecilia, Charles

SELECT *
FROM   dbo.People person
WHERE  person.GivenName COLLATE Latin1_General_100_CS_AS_SC LIKE N'[A-C]%'
ORDER BY [GivenName] COLLATE Latin1_General_100_CS_AS_SC;
-- result: Adam, Bob, cecilia, Charles

SELECT *
FROM   dbo.People person
WHERE  person.GivenName COLLATE Latin1_General_100_CS_AS_SC LIKE N'[A-c]%'
ORDER BY [GivenName] COLLATE Latin1_General_100_CS_AS_SC;
-- result: Adam, Bob, cecilia

SELECT *
FROM   dbo.People person
WHERE  person.GivenName COLLATE Latin1_General_100_CS_AS_SC LIKE N'[a-c]%'
ORDER BY [GivenName] COLLATE Latin1_General_100_CS_AS_SC;
-- result: aaron, Adam, Bob, cecilia

Please note that:

When using NVARCHAR data, it is best to always prefix string literals with an uppercase "N", even if all characters are standard ASCII.
It's best to always specify a schema name--it cuts down on errors and increases performance.
It's best to use the newest collation possible for the culture you need. The SQL_* collations are very out of date and are missing sort weights for many thousands of characters and hundreds of uppercase/lowercase mappings)

Thank you very much for a thorough answer. I get it now.

@jahav You are quite welcome. Please keep in mind that when using case-sensitive collations, ordering is not guaranteed to be lowercase first. Some collations, at least most of the SQL_* collations (and only when using VARCHAR data), sort uppercase first:
SELECT tmp.col
FROM (VALUES ('a'), ('A'), ('b'), ('B')) tmp(col)
WHERE tmp.col > 'a' COLLATE SQL_Latin1_General_CP1_CS_AS
ORDER BY tmp.col COLLATE SQL_Latin1_General_CP1_CS_AS;
-- B, b

SELECT tmp.col
FROM (VALUES (N'a'), (N'A'), (N'b'), (N'B')) tmp(col)
WHERE tmp.col > N'a' COLLATE SQL_Latin1_General_CP1_CS_AS
ORDER BY tmp.col COLLATE SQL_Latin1_General_CP1_CS_AS;
-- A, b, B


HeliumLift stopped working on YouTube

When opening a YouTube video URL, all I'm getting is this:

After a couple of seconds, HeliumLift is redirected to the YouTube homepage.
Also not working with the "Open With" browser extension in Firefox: https://addons.mozilla.org/en-US/firefox/addon/open-with/

@JayBrown YouTube JUST recently discontinued their "TV" interface that HeliumLift used. I'll patch the app and update ASAP.

Any update?

@JayBrown should have an update live very soon. Working on some overall polish and fixes to make it a bigger update. Sorry for the delay.

I just installed the update from the MAS, and YouTube isn't supported. When I send a YT URL to HeliumLift using the OpenWith Firefox addon, I'm just getting a blank page in the HeliumLift window:

Though it does seem to load it (100%). (Also tested with system-wide AdGuard adblocker disabled.)
When I manually input a YouTube URL in HeliumLift, the YT video page gets loaded, playback works, but fullscreen is not available.

Full screen is probably never going to work but I'm still looking into it (limitation of what full screen means to a browser window)
The Chrome Extension sending should be fixed now

OpenWith now works with HeliumLift. Thank you!
As for running YT videos in full screen in the HeliumLift window, yeah, YouTube tells me that fullscreen is not supported for this browser… so maybe HeliumLift can just spoof the user-agent?


Missing regtest variant in BitcoinNetwork type

I am trying to replicate the repo at https://github.com/dfinity/examples/tree/0f0ca7df352a1b7953d80ac8ec19767deea359db/motoko/basic_bitcoin but using mops packages to make things simpler. I noticed that in this line: https://github.com/ZenVoich/ic/blob/e93e2d9931dd0637c49a761c91f7a3b84fa88fd0/src/lib.mo#L3, the regtest variant is missing.

Released in 2.0.0


How to get sku's prices?

Hi.
How to get sku's price from Google Play?
And after purchase, how to get order id and purchase token?
How to start subscription? Like this?; billingConnector.purchase(this, "skuId");
I hope you'll answer it soon.

Hello,
Currently, the only way to do this is to add the dependency implementation "com.android.billingclient:billing:4.0.0" again in your app's build.gradle file and then you can get every information returned by the Google Billing API.
There are multiple ways to achieve what you've asked and you can get that information in every callback of the BillingEventListener (onProductsFetched, onPurchasedProductsFetched, onProductsPurchased, onPurchaseAcknowledged, onPurchaseConsumed)
I'll show you an example for every callback.
1 -onProductsFetched, provides a list of type SkuInfo, which means we can get every information provided by SkuDetails object, including the price (check here the list to see what details you can get besides the price: https://developer.android.com/reference/com/android/billingclient/api/SkuDetails)
String price;

for (SkuInfo skuInfo : skuDetails) {
      price = skuInfo.getSkuDetails().getPrice(); //or .getTitle();, getFreeTrialPeriod() etc
      Log.d("BillingConnector", price);
}

2 -onPurchasedProductsFetched, here we have a list of type PurchaseInfo, which means we can get either SkuDetails (like before) or Purchase object, that returns the purchase token or the order id (check here the list to see what this object provides besides the purchase token: https://developer.android.com/reference/com/android/billingclient/api/Purchase)
String token;
String price;

for (PurchaseInfo purchaseInfo : purchases) {
      token = purchaseInfo.getPurchase().getPurchaseToken();
      price = purchaseInfo.getSkuInfo().getSkuDetails().getPrice();
      Log.d("BillingConnector", token + " " + price);
}

3 -onProductsPurchased here the implementation is identical with step 2.
4 -onPurchaseAcknowledged, provides a PurchaseInfo object, similar to step 2. The only difference is that we don't have a list anymore but an object.
String token = purchase.getPurchase().getPurchaseToken();
String price = purchase.getSkuInfo().getSkuDetails().getPrice();

Log.d("BillingConnector", token + " " + price);

5 -onPurchaseConsumed here the implementation is identical with step 4.
To your last question, yes billingConnector.purchase(this, "skuId"); handles everything including subscriptions.
If you don't have any questions regarding this topic, don't forget to close the issue.
Thanks!

Thanks a lot. I'll use it ^_^

Starting from version 1.0.3 all wrappers around Google Billing API have been added, so it's no longer necessary to add implementation "com.android.billingclient:billing:4.0.0" again in your app's build.gradle file.

To get the price or any other details provided by SkuDetails object, simply call:

String price = skuInfo.getPrice();

To get the purchase token or any other details provided by Purchase object, simply call:

String purchaseToken = purchaseInfo.getPurchaseToken();


Php tests failing right after cloning fresh

I cloned the repository, did "docker-compose up" in one terminal (waited for all images to build and it to start listening), and then ran "docker-compose run phpunit env ADAPTER=redis vendor/bin/phpunit tests/Test/" in another terminal.
However, many tests failed giving
Fatal error:  Uncaught exception 'RedisException' with message 'Redis server went away' in /var/www/html/src/Prometheus/Storage/Redis.php:103
When I open another terminal, run redis-cli, followed by PING, I get PONG as a reply suggesting that redis server is running on local host, and thus I do not understand why tests are failing.
Operating system: OSX 10.13.4
Thanks in advance!

Nevermind. Solved. Just had to increase redis timeout in Prometheus\Storage\Redis.php.

Also, BlackBoxPushGatewayTest uses APC, but that may not be installed. Replace that with Redis to make all tests pass.


High resolution map tiles

Provide high resolution map tiles depending on the DPI of the device. Supported scales are 1.3, 1.5, 2, 2.6, 3
Documentation: https://www.mediawiki.org/wiki/Wikimedia_Maps/2015-2017/Technical_Implementation

my idea is:

automatically determine scale factor to use by the device's screen density
make this configurable with a setting "Map quality" with the options "High resolution" and "Normal" description "High resolution looks better but uses more data"

implemented in #299


t.timestamp('createdAt') not working as expected, renamed to created_at

Environment
Knex version: 0.21.16
Database + version: Postgres 12
OS: MacOx 10.15.6
Select applicable template from below.
If issue is about oracledb support, tag @ atiertant. For MSSql tag @ smorey2.
Rest of dialects don't need tags.
If issue is about TypeScript definitions, tag @ lorefnon.
Bug
t.timestamp('createdAt').defaultTo(knex.fn.now()); in a migration creates a datetime column as expected but is renamed to created_at.
Using another name works, I can do t.timestamp('test').defaultTo(knex.fn.now()); and the column will be named test.
My migration file:
const TABLE_NAME = 'events';

exports.up = async (knex) => {
  return knex.schema.createTable(TABLE_NAME, (t) => {
    t.increments('id').primary();
    t.string('key').notNullable();
    t.jsonb('data');
    t.timestamp('createdAt').defaultTo(knex.fn.now());
  });
};

exports.down = async (knex) => {
  return knex.schema.dropTable(TABLE_NAME);
};

The DB result:

Further investigating the issue, it seems that knex converts anything from camelCase to snake_case
Or maybe this is a PG thing

Further investigating the issue, it seems that knex converts anything from camelCase to snake_case
Or maybe this is a PG thing

I'm an idiot, I boilerplated my project with a boilerplate I made a while back. I had this in my knexfile:
const { knexSnakeCaseMappers } = require('objection');

const config = require('./src/config');

// In terminal open psql and create a new database. Then include the name of the database and your username and password in the development details below
// Run the following terminal command
// $ psql
// # CREATE DATABASE nameofyourdatabase;
// Note: remember the semicolon syntax
// # \q

// To check if database was created run psql and \l to see full list of databases

module.exports = {
  client: config.DB_CLIENT,
  connection: config.DB_CONNECTION,
  migrations: {
    directory: __dirname + '/src/db/migrations',
  },
  seeds: {
    directory: __dirname + '/src/db/seeds',
  },
  ...knexSnakeCaseMappers(),
};

Closing.

 I had this in my knexfile:
const { knexSnakeCaseMappers } = require('objection');

const config = require('./src/config');

// In terminal open psql and create a new database. Then include the name of the database and your username and password in the development details below
// Run the following terminal command
// $ psql
// # CREATE DATABASE nameofyourdatabase;
// Note: remember the semicolon syntax
// # \q

// To check if database was created run psql and \l to see full list of databases

module.exports = {
  client: config.DB_CLIENT,
  connection: config.DB_CONNECTION,
  migrations: {
    directory: __dirname + '/src/db/migrations',
  },
  seeds: {
    directory: __dirname + '/src/db/seeds',
  },
  ...knexSnakeCaseMappers(),
};

Closing.


Increment versions for costmanagement releases

Increment package versions for costmanagement releases

API change check
API changes are not detected in this pull request.


added first names

that's great, Please create an assets folder inside the same directory(in which the txt file you added) and move the txt file in it.

I will do it right now

@codePerfectPlus i did it + added bigger list of last names

@devshaki Please also solve the review changes, adding for loop will increase the execution time

@codePerfectPlus i sorry i dont understand, do you mean the loop of reading it?

because if yes i can fix it rq

@devshaki I fixed it


Uncaught TypeError: mx.containers.beads.DividedBoxLayout is not a constructor

This issue is occured randomly.sometime when i open any setup the screen of setup is blank and this exception is thrown.

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to Sales from Select in Menu
Go to product-> Product Loc Wise S.TaxR from Setups in Menu
File : com/dbz/modules/Common/dbzLocWiseSTaxWHTR.mxml
but perhaps this issue doesn't reproduce on VDI..So Please Solve this issue without depending on setups

I was able to produce on the VDI using product-> Product Loc Wise S.TaxR from Setups in Menu.
The Setup that was loaded appears to be:
com/dbz/modules/Common/dbzProductLocWiseSTaxRMaster.mxml
The output for that module is dated 11/22/2019, so it hasn't been compiled in a while and its list of dependencies may be out of date.
I am closing this issue.  You can reopen it if you can reproduce this on a freshly compiled module.


Refactor the usage of batch catfile

When opening a repository,  it will call ensureValidRepository and also CatFileBatch. But sometimes these will not be used until repository closed. So it's a waste of CPU to invoke 3 times git command for every open repository.
This PR removed all of these from OpenRepository but only kept checking whether the folder exists. When a batch is necessary, the necessary functions will be invoked.

I think it is better to adjust the newly added logs, they are copy and paste, same logs from different places are not good for debug.

I will try to merge the two functions in following PRs


get_true_anomaly when mean anomaly is pi

I've been using exoplanet quite a bit the past few days and noticed some weird behaviour in exoplanet.orbits.get_true_anomaly.  When the mean anomaly is exactly pi, get_true_anomaly returns 0, whereas my implementation (and some others I've tried) return pi. You can see this in action below.
from exoplanet.utils import eval_in_model
from exoplanet.orbits import get_true_anomaly
import pymc3 as pm
import theano.tensor as tt

period = 10.
eccen = 0.5
asini = 100.
varpi = 1.

# TESS time sampling
time = np.arange(0, 27, 1.0 / (24 * 30))

with pm.Model() as model:
    M = tt.zeros_like(tt.constant(time)) + 2.0 * np.pi * (tt.constant(time)) / period
    f = get_true_anomaly(M, eccen + tt.zeros_like(M))
    tau_tens = (- (1 - tt.square(eccen)) * tt.sin(f+varpi) / (1 + eccen*tt.cos(f))) * (asini / 86400.)

    tau_val = eval_in_model(tau_tens)
    true_anom_val = eval_in_model(f)

mean_anom = np.zeros_like(time) + 2.0 * np.pi * (time) / period
# kepler() is a basic Newton's method solver I implemented
ecc_anom = kepler(mean_anom, eccen + np.zeros_like(mean_anom))
true_anom_python = 2.0 * np.arctan2(np.sqrt(1.0+eccen)*np.tan(0.5*ecc_anom),np.sqrt(1.0-eccen) + np.zeros_like(time))
tau_python = -(asini/86400) * (1.0 - np.square(eccen)) * np.sin(true_anom_python + varpi) / (1.0 + eccen*np.cos(true_anom_python))

This flips the sign on the cos term in the tau variable, and makes the plot look a bit funky:

Is this with the GitHub master? I fixed this bug and added a test a few days ago.

I didn't think of that, thanks Dan!


WIP - Bug 1897075: Overwriting previous value for a key

Instead of deleting the old key and schedule the key again in what may be a different bucket we now just overwrite the value in the same bucket.
Prior to this patch, in some situations, a key could jump from one bucket to another before, causing us to never process the event for the key.
This snippet below is a capture of openshift-controller manager, there we can see that the event was scheduled to bucket 2 and when it was about to be processed it got rescheduled to bucket 1:
I0512 08:42:57.546007       1 scheduler.go:123] Image controller scheduler: add openshift/cli-artifacts to bucket 2
I0512 08:42:57.639322       1 scheduler.go:79] Image controller scheduler: queue (0):
I0512 08:42:57.639442       1 scheduler.go:90] Image controller scheduler: bucket was empty, advance to 1 of 5 buckets
I0512 08:42:57.639450       1 scheduler.go:61] Image controller scheduler: waiting for limit
I0512 08:42:57.639468       1 scheduler.go:79] Image controller scheduler: queue (1):
I0512 08:42:57.639504       1 scheduler.go:90] Image controller scheduler: bucket was empty, advance to 2 of 5 buckets
I0512 08:42:57.639511       1 scheduler.go:61] Image controller scheduler: waiting for limit
I0512 08:44:16.499153       1 scheduler.go:123] Image controller scheduler: add openshift/cli-artifacts to bucket 1

We are going to use a different approach to solve this issue. Closing this one.
/close


Add tool to disable CFG lock

This PR adds a .efi tool to disable CFG lock and instructions on how to use it and verify it works.
Closes #8

Working fine here as well. And Hibernate mode still works reliably. We can merge this as well. Thanks @lazd!


chore: add jest-extended to allow more specific matchers

This pull request adds jest-extended to the project to allow more specific matchers in the tests.
jest-extended is already used in the MC monorepo

@ragafus I pushes a commit to remove the typeRoots overwrite. My editor recognizes the matchers via the global.d.ts file, there should be no need to explicitly import it.

Can you give it a try?
Note: overwriting types or typeRoots is tricky and most of the time is not necessary, so I would prefer to avoid doing that.

@ragafus I pushes a commit to remove the typeRoots overwrite. My editor recognizes the matchers via the global.d.ts file, there should be no need to explicitly import it.

Can you give it a try?
Note: overwriting types or typeRoots is tricky and most of the time is not necessary, so I would prefer to avoid doing that.

You are right. It worked.


Fix name prefix for host builds

Problem
build-examples.py fails to copy host output binaries because the name of the app is chip-all-clusters-app (code is missing the chip- prefix)
Change overview
Add the prefix
Testing
Manual test with --copy-artifacts-to argument passed in

Mark as hotfix to fix cloudbuild CI.


subtract and add a bit confusing

//In chrome
now = moment();
now.subtract(1, 'day').toDate() === now.add(-1, 'day').toDate(); //true
now.subtract(-1, 'day').toDate() === now.add(-1, 'day').toDate(); //true
now.subtract(-1, 'day').toDate() === now.subtract(1, 'day').toDate(); //true!!!
now.subtract(1, 'day').toDate() === now.add(1, 'day').toDate(); //true!!!
now.add(1, 'day').toDate() === now.add(-1, 'day').toDate(); //true!!!
Shouldn't it be false at one point?!

add, subtract, and many other functions mutate the moment object.  Moments are not immutable.
Also, you can't compare Date objects directly.  Consider new Date(0) !== new Date(0).   With Date objects, you can call either .valueOf() or .getTime(), which both return the same result as calling .valueOf() on a moment object.

Small clarification, you can compare date objects using >, <, >=, and <=.  You just can't equate them with ==, !=, ===, or !===.
Javascript is weird.


[RIP-9] Add the Configuration_System in RocketMQ

What is the purpose of the change
]Add the Configuration_System in RocketMQ
Brief changelog
Add  English documentation  of  Configuration_System in RocketMQ
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.09%) to 47.668% when pulling cc5fc49710aa3dcff8fd1b41e5758d73d34a98ac on lyjLovezxn:develop into 580037fc43d4ffb55bd59b60cfa6e8a9b57e8ca1 on apache:develop.


Feature test and additional options for the container

I am trying to use feature test in order to, well, test features.
My problem is that in order to access the web (to install features), we need to have a proxy set in all containers.
We have modified the docker client config so that each container started with Docker has set the http/https proxy to http://host.docker.internal:8888. And then we usually just add --add-host=host.docker.internal:host-gateway when starting containers so that the container can connect to the docker host on port 8888 (where a local forwarding proxy is running).
For dev-containers when running them, this is done via
	"runArgs": [
		"--add-host=host.docker.internal:host-gateway"
	],

and if we need that during build-time, this is done with the options flag:
	"build": {
		"dockerfile": "Dockerfile",
		"options": [
			"--add-host=host.docker.internal:host-gateway"
		]
	},

Now I am missing a way for the test to also set this. One way would be, to add an options flag to the devcontainer features test cli command. I also tried without autogenerated tests and just use a scenario like this:
{
    "my_scenario": {
        "image": "debian:11",
        "build": {
            "options": [
                "--add-host=host.docker.internal:host-gateway"
            ]
        },
        "runArgs": [
            "--add-host=host.docker.internal:host-gateway"
        ],
        "features": {
            "my-feature": {}
        }
    }
}

But that fails with lookup host.docker.internal: no such host which shows that the http proxies are correctly set but the --add-host was not applied according to the scenario definition.
Would be great if this could be fixed to get that working behind corporate proxies.

I analyzed the issue further. It seems to be a problem with image and build (and the options inside).
When an image is defined, the build keyword is not allowed and therefore not used, hence the additional arguments are not used. I think this is not even related to feature tests but in general in devcontainer-cli. The workaround there is that instead of using an Image, just create a Dockerfile. This is a bit tedious as each scenario then needs a folder with the same Dockerfile inside. In general, having image work with build.options when building would be awesome.
Maybe a separate issue should be created for that?

As this is not only an issue for feature tests but for building in general, I added a new issue: https://github.com/devcontainers/cli/issues/922


update libgit2 to 1.4.3

Fixes CVE 2022-24765
@justinsteven has a writeup of this issue (see also starship/starship#3974)
I think this also fixes #795.
I needed to make some changes to the libgit2-sys build.rs to get this to build and the owner validation needed to be disabled for  the tests on Windows, I've not investigated the cause in detail.
Furthermore, I've increased the minor version and treated this as a breaking change, since this change could prevent opening a repository if it is not owned by the current user.
I am disclosing this security issue publicly because this class of vulnerability has already been reported publicly in several other similar projects.

@justinsteven has a writeup of this issue (see also https://github.com/starship/starship/issues/3974)

For absolute clarity, the writeup linked to does not discuss CVE-2022-24765. The writeup is regarding similar but separate problems.

Thanks for the PR!  I should have opened an issue about this, as we have been working on it.
There are some issues here:

It looks like this updated to the branch.  However, we have moved on to the main branch in #822.  This reverts all those changes, so I think it should stay on main.
I'd like to delay updating until https://github.com/libgit2/libgit2/issues/6279 is fixed.
GIT_EOWNER should be added
There are some tricky sha changes added recently, I had a partial fix at: https://github.com/ehuss/git2-rs/commit/54435556dce47db19036287699148744b9cf366d
It looks like you defined GIT_OPT_GET_OWNER_VALIDATION twice

@ehuss So should I rather close this for now, if you're already working on this? It looks like https://github.com/libgit2/libgit2/issues/6279 is the cause of the ownership issue in the tests on Windows I fixed.

It looks like you defined GIT_OPT_GET_OWNER_VALIDATION twice.

It has GET and SET variants.

No, it's fine to keep this open, if you're willing to make the updates mentioned above.

Okay, I am fine with updating this a bit more. What exactly is missing in https://github.com/ehuss/git2-rs/commit/54435556dce47db19036287699148744b9cf366d? It seems to mostly match what's in the libgit2 cmake files. Having to include sha256-support, despite it not having a stable release, is a bit unfortunate.

I think the only things missing on my branch were GIT_EOWNER and GIT_OPT_GET_OWNER_VALIDATION and GIT_OPT_SET_OWNER_VALIDATION.

@ehuss libgit2 v1.4.4 was just released, which is supposed to fix the Windows behavior. Updated to latest main libgit2.


guide prop required for IE11 when using with react

When using MaskedInput in a react project I am seeing some issues when using the input in IE11.
Specifically, onChange events do not bubble to the form that wraps the input when a guide prop is not included on the Masked Input component. I have tested a MaskedInput using the guide prop and also without the guide prop. When the guide prop is not included, no events bubble to the form. It might be worth making guide a required prop if the component breaks in IE11 without it.
This is not an issue in any other browser I have tested. Thanks!

Thanks for reporting this @evbots. I'll test it.
What framework are you using text-mask with?

No problem! I'd imagine the easy solution would be to be make guide a required prop, which would at least give developers a hint as to the problem in IE11, but it that wouldn't fix the underlying issue.

@evbots Is this still an issue? I've tested several masks on IE11 on Windows 10 and they appear to be working fine.


Running docker rans out of memory

Trying to start docker emulator with the command from the documentation. However, I get the following:
Starting Emulator
Exception of type 'System.OutOfMemoryException' was thrown.
Master Key: C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==
Exporting SSL Certificate
You can import the SSL certificate from an administrator command prompt on the host by running:
cd /d %LOCALAPPDATA%\DocumentDBEmulatorCert
powershell .\importcert.ps1
--------------------------------------------------------------------------------------------------

When I do docker ps it says it's running but can't access it with :8081.
C:\WINDOWS\system32>docker ps
CONTAINER ID        IMAGE                         COMMAND                   CREATED             STATUS              PORTS                                                                                NAMES
d97c0d859226        mominag/documentdb_emulator   "c:\\DocumentDBEmul..."   2 minutes ago       Up About a minute   <IP_ADDRESS>:44967->8081/tcp, <IP_ADDRESS>:21875->10250/tcp, <IP_ADDRESS>:37499->10251/tcp, <IP_ADDRESS>:41243->10252/tcp, <IP_ADDRESS>:36666->10253/tcp, <IP_ADDRESS>:50041->10254/tcp   keen_goldwasser

I meet the minimum requirements. I am running Windows 10 with Docker for Windows (17.031.1-ce-win5 (10743).

Same to me, but it's a known issue of Docker on Windows 10, see Windows image build Docker runs out of memory on Windows 10.


Make reqwest client clonable

To be able to use this library together with Axum, I had to add the Clone derive to PostmarkClient.
Seems to still build and works with my repo, so not sure if I need to do anything else here?
Thanks! 🙏🏻

Sorry about the long wait time, this is great. I'll release a new version with this patch added in

@bittermandel this was released in 0.6.0
enjoy :)


Missing code snippet on NRT doc

https://docs.microsoft.com/en-us/ef/core/miscellaneous/nullable-reference-types#navigating-and-including-nullable-relationships

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

ID: 93c3721a-da23-d9ea-a054-9d786d2ff4d2
Version Independent ID: 6d3b0f96-6642-75e5-93c8-02c23f142ac4
Content: Working with nullable reference types - EF Core
Content Source: entity-framework/core/miscellaneous/nullable-reference-types.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @roji
Microsoft Alias: avickers

@smitpatel looks like the doc system stopped handled code snippet links of the form:
[!code-csharp[Main](../../../samples/core/Miscellaneous/NullableReferenceTypes/Program.cs?range=46)]

Curiously, ?range=36-39&highlight=2 (just below) does work - maybe it's the fact that it's a single line (?start=46&end=46 also didn't work). I've converted to named regions for the collations page (#3050) but maybe we should reach out to the docs team...

@smitpatel looks like the doc system stopped handled code snippet links of the form:
[!code-csharp[Main](../../../samples/core/Miscellaneous/NullableReferenceTypes/Program.cs?range=46)]

Curiously, ?range=36-39&highlight=2 (just below) does work - maybe it's the fact that it's a single line (?start=46&end=46 also didn't work). I've converted to named regions for the collations page (#3050) but maybe we should reach out to the docs team...


Adds WeightedL1Norm to Functions

Describe your changes
Added WeightedL1Norm co-developed with @tommiheik.
Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
Added unittest checking the new class against the L1Norm
Link relevant issues
closes #1617
Checklist when you are ready to request a review

[x] I have performed a self-review of my code
[x] I have added docstrings in line with the guidance in the developer guide
[x] I have implemented unit tests that cover any new or modified functionality
[x] CHANGELOG.md has been updated with any functionality change
[x] Request review from all relevant developers
[x] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License.
[x] I confirm that the contribution does not violate any intellectual property rights of third parties

Jenkins's happy

@MargaretDuff @jakobsj @epapoutsellis I'm assuming the Lipschitz constant of the L1Norm is 1?

@MargaretDuff @jakobsj @epapoutsellis I'm assuming the Lipschitz constant of the L1Norm is 1?

It is None.


[Purge] : How to purge specific tenant ?

Hello,
I want to know if i edit « connection.py » to edit tag « Netbox-synced » and « NetBox-Orphanned ».
Do you think when I purge one tenant it’s will no have impact on the other tenant ?!
I have more than 20 tenant and I don’t wanna purge all. It’s possible ?
Thank you.

I don't really know what you want to do here.
It is not possible to purge specific tenants.
What is your scenario? Maybe we can come up with a different solution.


Minify css when built?

Hi there, I noticed that the css isn't minified in the build. Is there a vite setting I can use to enable that?
Thank you.

I noticed this as well. Any updates?

I’m not well-versed in rollup or vite configs, but if someone gives me a starting point on how to target things (specific template literals in this case) to include in minification, I’d be happy to poke around.


Fix a few README.md typos

Fixes the corretly typo and slightly improves the known issue description.

Thanks!