Seems to be rewriting regardless of the code change.

badge may not have latest code

actually, seems to be impacting current animation rather than the saved one?

id is not getting set properly

I think maybe something is getting truncated when it shouldn't

or maybe different sizes break things

I haven't been able to reproduce it today.


Built-in JSON serialization without reflection

Is your feature request related to a problem? Please describe.
Depending on a Json serialization library that requires a custom implementation, can lead to errors. In particular, when defining a custom serialization with system.text if we forget to do stream.Position = 0; the payload will not be serialized properly, leading to errors downstream.
Describe the solution you'd like
Serialization should be provided by the SDK, it's not something users should override, as there's only 1 correct way of serializing the payload. The downside is that the actual users, that are using a custom serializer might cause a crash at runtime.
Describe alternatives you've considered
None, but open to suggestions
Additional context
As a sample test, I wrote a test for System.text as serializer. It's currently not working because the test compares strings to strings and the only difference is the sort order of fields. So it's the test that needs to change. On top of that, the test is not covering serialization of metrics, so it's incomplete. But it's a good enough to prove the point that serialization is dangerous if left in the hands of users and it should be handled by the SDK without giving users the ability to override it:
https://github.com/Unleash/unleash-client-dotnet/compare/system-text-serialization-test?expand=1

We're making this issue visible after some issues caused by custom serializers, but it's not gonna be prioritized soon. We'd like to collect some feedback from the community (you), and why not some contribution.

Why not opting for System.Text.Json rather than still using the Newtonsoft implementation?
Did not glance too deeply in the code base but for the things I needed it wasn't such a hard thing, and by doing so you could tap into the power of source generated serialization as well for the newer .NET versions.
Not sure how backwards compatible this is though since it's been a long time now that I used .NET framework.

Why not opting for System.Text.Json rather than still using the Newtonsoft implementation? Did not glance too deeply in the code base but for the things I needed it wasn't such a hard thing, and by doing so you could tap into the power of source generated serialization as well for the newer .NET versions.
Not sure how backwards compatible this is though since it's been a long time now that I used .NET framework.

Yeah I think this makes sense

Handled by #249

This should be out in the next major release


recursive Cargo.toml search in git dependencies complains about missing Cargo.toml

This can be replicated by adding a
miri = { git = "https://github.com/solson/miri" }

dependency to any project. There's a Cargo.toml in the repository root, but the sources are under miri instead of src. Cargo complains about missing Cargo.toml in the miri directory of the checkout.

A great. I'll retry with the next cargo then.


[in_app_purchase_storekit] ☂ StoreKit2 Feature Tracker

Now that in_app_purchase has been migrated from StoreKit to StoreKit 2, incrementally add missing StoreKit 2 features:

[ ] https://github.com/flutter/flutter/issues/118960

This may or not be covered by restorePurchases in the StoreKit2 implementation.
https://developer.apple.com/documentation/storekit/transaction/3851204-currententitlements/

[ ] Subscription Management

[ ] https://github.com/flutter/flutter/issues/147698
[ ] https://github.com/flutter/flutter/issues/143514

[ ]  StoreKitTest

[ ] https://github.com/flutter/flutter/issues/65082

This may be able to be closed as is, but maybe documentation should be written about how to use StoreKitTest first

@LouiseHsu I think #147698 is asking for all platforms, not only iOS.

@feinstein The plugin works for both iOS and macOS, so if it were implemented in one it would be implemented in both (@LouiseHsu correct me if I'm wrong).  If you're referring to the team-ios GitHub label don't let that stress you out, it's just because the engineering work (for both platforms) is being tracked by engineers on the Flutter iOS team. 🙂

I meant that I think that issue is asking for Android and the other platforms too, not just the Apple App Store, so we could track subscriptions expiration dates in an abstract fashion from the main plugin.

Ah apologies, I understand now. 👍


Is There Any Ways To Watch Maple Leafs vs Canadiens Live Streams Free On TV Channel 9 NOV 2024

Saturday's NHL action will see the Toronto Maple Leafs (8-5-2) square off against the Montreal Canadiens (4-8-2), starting at 7:00 PM ET at Scotiabank Arena and broadcast on ESPN+. The Maple Leafs rank fifth and the Canadiens 16th in the Eastern Conference.
➤🔥CLICK HERE TO WATCH LIVE NOW🔴►►
➤🔥CLICK HERE TO WATCH LIVE NOW🔴►►
➤🔥CLICK HERE TO WATCH LIVE NOW🔴►►
Maple Leafs vs. Canadiens Insights
The Maple Leafs are ranked 11th in the league with 46 goals this season, an average of 3.1 per contest.
On defense, Toronto has been one of the best squads in NHL competition, giving up 40 total goals to rank ninth.
With a +6 goal differential, it is the 10th-best team in the league.
The Canadiens have the NHL's 21st-ranked scoring offense (38 total goals, 2.7 per game).
Montreal's 57 total goals allowed (4.1 per game) rank 31st in the league.
Its 31st-ranked goal differential is -19.
Watch 1,000+ out-of-market NHL games, ESPN+ Hockey Night & more streaming all season on ESPN+.
Maple Leafs Leaders
Mitchell Marner is one of Toronto's key contributors with 18 points, via three goals and 15 assists.
In 15 games, William Nylander has 10 goals and six assists.
John Tavares' 13 points this season are thanks to seven goals and six assists.
In 10 games, Anthony Stolarz is 6-2-2. He has conceded 20 goals (2 goals against average) and has racked up 266 saves.
Canadiens Leaders
Nicholas Suzuki has four goals (0.3 per game) and nine assists (0.6 per game), taking 2.1 shots per game and converting 13.3%. That makes him among the leaders for Montreal, with 13 total points (0.9 per game).
Montreal's Cole Caufield has 11 total points (0.8 per game), via 10 goals and one assist.
Michael Matheson has scored zero goals and picked up nine assists for Montreal, equaling nine points.
Samuel Montembeault has a 3-6-1 record this season, with an .893 save percentage (42nd in the league).


Abstract the throttling mechanism

I want to throttle off a different part of the request than the IP. I liked your implementation so I adapted it. As far as I can see, this preserves backwards compatibility. Are you okay with this kind of change?

@creichert Is this repo still maintained? Thoughts on this PR? I am happy to take it if you don't want it.

@dfithian this does look good, love it. I've previously wanted to rate-limit on auth headers and even a few other peices of information.
I do want to merge it. Since you changed a significant portion of it, I added you as a collaborator and we should definitely make sure it's a clean, performant middleware with a low dependency profile.
Thanks!

It would be cool to update the README with an example using this new functionality. We'll also need to upload a new version to Hackage.

Absolutely, I will update the README in a new PR.


Fix unit test and merge devel into hpp-devel

This PR fix a unit test and merge branch devel into hpp-devel. I prefer to merge branch devel to avoid diverging to much (there were some conflicts). It will be easier to merge later.

Shall I merge?

I added a commit one commit. From my side, it ready to be merged.


Return the middleware's result so that async error handling works.

By returning the result of the middleware, promise chaining can be done elsewhere. An example of why this is (very) useful is given by
https://github.com/N-McA/express-ws-async-error-fail-example
Which shows the lack of interoperability that occurs without the suggested change.

@N-McA On node 12.5.0 I'm getting error TypeError: middleware is not a function.
Adding return didn't help.


Random ideas

This is just some more or less organized random ideas just to put it down there:

[ ] Monitor all mining drills to see resources / minute
[ ] Monitor burners
[ ] Monitor assembling factories, see resources / minute, and what cost is mostly lacking, and how long it has been since it did anything.
[ ] Click on a resource to see the distribution of it, where it goes, and where it comes from
[ ] Later on add to see the full distribution chain of stuff, for example: Automation of Science Pack 2: transport belt INPUT_STATS, inserter INPUT_STATS. And check this recursively to find out the root cause, which might be that a Burner Miner Drill has no coal, or that a factory is not getting enough iron wheels.
[ ] Later on add support for isolated parts of transportation belts, inserters, logistic networks, etc.
Expected time left until something runs out (whether it is items from a chest, or from logistic network, or from a parent product, or from iron ore)

INPUT_STATS:
Items / Minute (or second)
Last item retrieved at, second to last received at
Store all occasions of items retrieved for statistics?
QUESTIONS:
What to do with items that are lying in chests?
How to handle requester chests?
Other stuffs: Oil Refinery, Chemical Plant, Lab, Beacon, Boiler, Steam Engine, Transport belts, Inserters
For the exact formula of drills, see https://wiki.factorio.com/index.php?title=Mining_drills#Mining_Speed_Formula

Apparently it is possible to press 'P' within the game, which shows some of these things. Mainly resources produced and consumed per minute.


Parallel postprocessing on Vorna

For some unknown reasons, Julia cannot launch more than 8 worker processes on Vorna which has 16 cores/node consisted of 2 CPUs. Weird.

Worker 16 terminated.
ERROR: LoadError: ProcessExitedException(16)
Stacktrace:
 [1] sync_end(c::Channel{Any})
   @ Base ./task.jl:369
 [2] macro expansion
   @ ./task.jl:388 [inlined]
 [3] _require_callback(mod::Base.PkgId)
   @ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/Distributed.jl:76
 [4] #invokelatest#2
   @ ./essentials.jl:708 [inlined]
 [5] invokelatest
   @ ./essentials.jl:706 [inlined]
 [6] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:920
 [7] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:901
 [8] top-level scope
   @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/macros.jl:204
in expression starting at /wrk/users/hongyang/result/demo_1d2d_parallel_pyplot.jl:6
      From worker 16:	OpenBLAS blas_thread_init: pthread_create failed for thread 5 of 8: Resource temporarily unavailable
      From worker 16:	OpenBLAS blas_thread_init: RLIMIT_NPROC 200 current, 257413 max
...

Another observation is that as time goes by, the time it takes to generate plots becomes longer on Vorna. Not sure if this is something related to the machine or if there's any memory leak.

After looking more into multiprocessing, I realized that my current implementation with broadcasting pattern like
const cmap = matplotlib.cm.turbo
@everywhere cmap = $cmap

is actually type-unstable. This can be verified by attempting to change the type of cmap on the remote process: Julia won't complain, which indicates that this is bad for performance.
I need to think of a better way to handle parameters.

Now we have learned

how to improve on memory usage by taking advantage of type-stability
how to run multi-node job with ClusterManagers

I would consider this done.


remove static lifetimes

I'm trying to use hyper, but it seems to require I put config data into 'static objects.
Is this a hard requirement?
Example:

read config data
do some init work
call start_http2(&config)
Server::http(handler) == FAIL?

The root cause seems to be this:
impl<'a, H: Handler + 'static> Server<'a, H, HttpListener>
Doesn't that force the handler to have a 'static lifetime?
pub fn start_http2(config: &BTreeMap<String, String>) {
let handler = move |req: Request, res: Response| {
    proxy2(&req, &res, &config);
};
let server = Server::http(handler);
let _guard = server.listen("<IP_ADDRESS>:1337").unwrap();

}
src/main.rs:261:19: 263:6 error: cannot infer an appropriate lifetime for capture of config by closure due to conflicting requirements
src/main.rs:261     let handler = |req: Request, res: Response| {
src/main.rs:262         proxy2(&req, &res, &config);
src/main.rs:263     };
src/main.rs:265:18: 265:24 note: first, the lifetime cannot outlive the expression at 265:17...
src/main.rs:265     let _guard = server.listen("<IP_ADDRESS>:1337").unwrap();
^~~~~~
src/main.rs:265:18: 265:24 note: ...so that captured variable config does not outlive the enclosing closure
src/main.rs:265     let _guard = server.listen("<IP_ADDRESS>:1337").unwrap();
^~~~~~
src/main.rs:265:18: 265:49 note: but, the lifetime must be valid for the method call at 265:17...
src/main.rs:265     let _guard = server.listen("<IP_ADDRESS>:1337").unwrap();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:265:18: 265:49 note: ...so that captured variable config does not outlive the enclosing closure
src/main.rs:265     let _guard = server.listen("<IP_ADDRESS>:1337").unwrap();

Well, the Handler needs to be Send and Sync. That includes any references it has. This is because the Handler is shared among multiple threads. Perhaps with the recent-ish Send changes, it doesn't have to be 'static, but it may need to be.

@reem you tend to know more about these kinds of things

When a new version of thread::scoped lands, we will be able to remove the 'static bound, but for now we need 'static to be able to use Handler within hyper's internal thread pool.
By the looks of the Leak/thread::scoped discussion and the time to 1.0, it seems unlikely that the new API will look like the old one, so we will also have to provide a different Server API for non-'static handlers.

This seems like it could be solved with the crossbeam crate.

Though, as reem said, it'll still likely need a new server API.

Handler on master does not require 'static.


Getting errors upon start

INFO[2024-04-11T17:11:21+01:00] Starting Albion Data Client, version: 0.1.35
INFO[2024-04-11T17:11:21+01:0ERROR systray: systray_windows.go:598 Unable to init instance: Unspecified error [error=Unable to init instance: %v error_location=github.com/getlantern/systray.nativeLoop (systray_windows.go:598) error_text=Unable to init instance: Unspecified error error_type=errors.Error]
ERROR systray: systray_windows.go:598   at github.com/getlantern/systray.nativeLoop (systray_windows.go:598)
ERROR systray: systray_windows.go:598   at github.com/getlantern/systray.Run (systray.go:81)
ERROR systray: systray_windows.go:598   at github.com/ao-data/albiondata-client/systray.Run (systray_win.go:51)
ERROR systray: systray_windows.go:598   at runtime.goexit (asm_amd64.s:1371)
ERROR systray: systray_windows.go:598 Caused by: Unspecified error
0] This is a third-party application and is in no way affiliated with Sandbox Interactive or Albion Online.
INFO[2024-04-11T17:11:21+01:00] Additional parameters can listed by calling this file with the -h parameter.
INFO[2024-04-11T17:11:21+01:00] Watching Albion

It's a known error. Doesn't seem to happen to everyone but it's how quickly the app starts up before the windows gui/shell is loaded. Just reload the data client for now.


fix test flaky

Fix test flaky in https://github.com/istio/istio/issues/10312

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: irisdingbj
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

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

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

Needs approval from an approver in each of these files:

pilot/OWNERS [rshriram]

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


Add basic GitHub Actions CI

This change adds a go mod file and basic GitHub Actions CI.

Ran CI in fork: see https://github.com/austinvazquez/go-events/pull/1

Reverted go.mod and applied technique similar to moby/moby. i.e. check-in vendor.mod and generate go.mod for CI. This is unrelated to CalVer but delaying module init decision.


[fr] clean up too old comments for v1.9 or before in examples

upd for this PR https://github.com/kubernetes/website/pull/26023

/assign @rekcah78

/assign @rekcah78

/lgtm
/approve

/lgtm
/approve


Adds three model regions: scaling, reduce and barrier

Fixes #926
Fixes #922
Fixes #863
Scaling region has an integration test.
Inspection of scaling region results looks reasonable.

I think this is now good to go.  Hopefully travis will finish soon.


Implement video command.

Starting to experiment with SGDK video encoding:
https://github.com/haroldo-ok/sgdk-video-player

Still a work in progress:
SGDK Video Player Test v0.0.1.bin.zip


vimPlugins.fidget-nvim: switch branch from legacy to main

Description of changes
The fidget.nvim plugin has been going through a substantial rewrite lately. Hence, the nixpkgs was set to target the legacy branch as recommended by the devs.
Now, the rewrite has been completed so we should go back and use the default branch.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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/)
23.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

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

1 package built:

vimPlugins.fidget-nvim

impossible not to merge after this great motivation message ;)
I've done the migration myself and it was pretty smooth, it just complained about an outdated setting and kept working.


Migration issue: menu order on newly created groupings

Hello! First of all, thanks A LOT for the quick pace on developing tooling around DatoCMS. Much appreciated, and I'm very eager to help with some PRs when I get the time. Until then, I'll post some issues with minor problems I find in the way.
Wrong creation order for nested menu items
Upon creating multiple menu items, the current order is set to the item's ID found on the source environment. This brings the following issue:
  log('Create menu item "Tags"')
  carry.newMenuItems['641313'] = await client.menuItems.create({
    label: 'Tags',
    item_type: carry.newItemTypes['1237046'],
    parent: carry.newMenuItems['697016'],
  })

  log('Create menu item "Articles"')
  carry.newMenuItems['641314'] = await client.menuItems.create({
    label: 'Articles',
    item_type: carry.newItemTypes['1237047'],
    parent: carry.newMenuItems['697016'],
  })

  log('Create menu item "Blog"')
  carry.newMenuItems['697016'] = await client.menuItems.create({ label: 'Blog' })

As you can see, item named "Blog" is the parent item for items "Tags" and "Articles" – but as it's being created last, the nesting doesn't happen as expected.
I suggest one of two solutions:

Proper: ensure the diff system recognizes dependencies, and sort them accordingly;
Easy: ensure "parent" field is always included when updating item's position, right after.

hey @lucasconstantino !
In your code example, it's difficult for us to do anything as you are passing references to objects that will change in the future, like the menu item "Blog".
When you are creating the first items there's no knowledge about the last one, so we cannot help there, or am I missing something?
One way to solve this would be to pass the full menu items tree so that we could build it all in one go, but this is not an existing feature. I guess you need to keep the tree structure in your end and reconstruct it by navigating the tree appropriately. Not sure if this helps :)

Sorry sorry @matjack1, I made it hard for you really: this code is slightly modified from a auto-generate migration script – and that is the actual problem. This is I believe the original:
  console.log('Create menu item "Tags"')
  newMenuItems['641313'] = await client.menuItems.create({
    label: 'Tags',
    item_type: newItemTypes['1237046'],
    parent: newMenuItems['697016'],
  })

  console.log('Create menu item "Articles"')
  newMenuItems['641314'] = await client.menuItems.create({
    label: 'Articles',
    item_type: newItemTypes['1237047'],
    parent: newMenuItems['697016'],
  })

  console.log('Create menu item "Blog"')
  newMenuItems['697016'] = await client.menuItems.create({ label: 'Blog' })

So, I definitely understand the problem you pointed with the code, my problem and the reason to report is that this was autogenerated by @datocms/cli. I did fix it myself for my case, so no need for support; I'm just reporting the problem with the migration generation script on these kind of nested menu cases :)

Thanks for clarifying @lucasconstantino! Fix shipped in v1.1.7
Before (v1.1.6):
module.exports = async function (client) {
  const newMenuItems = {};

  newMenuItems["874212"] = await client.menuItems.create({
    label: "Foo",
    parent: newMenuItems["874213"],
  });

  newMenuItems["874213"] = await client.menuItems.create({ label: "Bar" });

  newMenuItems["874214"] = await client.menuItems.create({
    label: "Qux",
    parent: newMenuItems["874213"],
  });
};

After (v1.1.7):
module.exports = async function (client) {
  const newMenuItems = {};

  newMenuItems["874213"] = await client.menuItems.create({ label: "Bar" });

  newMenuItems["874212"] = await client.menuItems.create({
    label: "Foo",
    parent: newMenuItems["874213"],
  });

  newMenuItems["874214"] = await client.menuItems.create({
    label: "Qux",
    parent: newMenuItems["874213"],
  });
};


How does keras compute loss and metrics?

Im training a model with output bounded between 0 and 1 using sigmoid activation. Since my target is also in the interval [0,1], I use mean_squared_error to be my loss, and I created a customized loss function to calculate RMSE.
def rmse(y_true, y_pred):
    return K.sqrt(mean_squared_error(y_true, y_pred))

However, when I trained the model, the rmse seems to be less than the loss even though it s taking the root of a value between 0 and 1 which is supposedly make it higher. Any idea what could cause this?

Can you show your script? For now, while compiling the model, did you add loss as rmse?

Hi @jadevaibhav ,
My script is quite long, but below is the model definition part.
model = create_model(**params)

model.compile(optimizer=SGD(lr=0.0001),
              loss='mean_squared_error',
              metrics=[rmse])

model.fit_generator(generator=train,
                    epochs=epochs,
                    steps_per_epoch=steps_per_epoch,
                    validation_data=val,
                    validation_steps=validation_steps,
                    workers=0,
                    max_queue_size=max_queue_size,
                    callbacks=callbacks)

save_model(model, name='model.h5', model_dir=model_dir)

I use mean_squared_error as the main loss function.
List of callbacks (I doubt these would have any effects on my loss):
def get_keras_callbacks(model_dir, log_dir, val_gen, nb_steps=1000, histogram_freq=0,
                        batch_size=32, write_grads=False, write_images=False, embeddings_freq=0, embeddings_layer_names=None, embeddings_metadata=None,
                        embeddings_data=None):

    model_name = 'model_{epoch:03d}_{val_rmse:.3f}.h5'

    filepath = os.path.join(model_dir, model_name)

    checkpoint = ModelCheckpoint(filepath=filepath,
                                 monitor='val_rmse',
                                 verbose=1,
                                 save_best_only=True,
                                 save_weights_only=True,
                                 mode='min')

    lr_reducer = ReduceLROnPlateau(monitor="val_rmse",
                                   factor=np.sqrt(0.5),
                                   cooldown=0,
                                   patience=1,
                                   min_lr=0.5e-6,
                                   mode='min')

    csv_logger = CSVLogger(os.path.join(log_dir, "training_log.csv"))

    early_stopping = EarlyStopping(monitor='val_rmse',
                                   min_delta=0,
                                   patience=5,
                                   verbose=0,
                                   mode='min')

    lr_scheduler = LearningRateScheduler(scheduler)

    lr_tracker = LearningRateTracker()

    # tensorboard = TensorBoard(log_dir,
    #                           histogram_freq=histogram_freq,
    #                           batch_size=batch_size,
    #                           write_grads=write_grads,
    #                           write_images=write_images,
    #                           embeddings_freq=embeddings_freq,
    #                           embeddings_layer_names=embeddings_layer_names,
    #                           embeddings_metadata=embeddings_metadata,
    #                           embeddings_data=embeddings_data)

    tensorboard = TensorBoardWrapper(batch_gen=val_gen,
                                     nb_steps=nb_steps,
                                     log_dir=log_dir,
                                     histogram_freq=histogram_freq,
                                     batch_size=batch_size,
                                     write_grads=write_grads,
                                     write_images=write_images,
                                     embeddings_freq=embeddings_freq,
                                     embeddings_layer_names=embeddings_layer_names,
                                     embeddings_metadata=embeddings_metadata,
                                     embeddings_data=embeddings_data)

    callbacks = [checkpoint, lr_reducer, csv_logger, early_stopping, lr_scheduler, lr_tracker, tensorboard]

    return callbacks

You are right, I don't see why it should be lesser unless the calculation is done on the batch, in which case it should definitely be lesser as the cumulative cost would be more than one. Try batch size of 1.

Below are the logs of the training with batch size of 32.
epoch,loss,lr,rmse,val_loss,val_rmse
0,0.17613609271347522,1e-04,0.17040786737203598,0.17063588341474534,0.14131735576242208
1,0.17088977173864842,1e-04,0.16265125641208142,0.16907686630785465,0.14077091396152974
2,0.16987350876890123,1e-04,0.16200376382283865,0.16784883527755737,0.1427175907075405
3,0.16897630071528255,1e-04,0.1609579848624766,0.16647205330729484,0.13998188743442297
4,0.16842497369125486,1e-04,0.16085571061708034,0.16590696757733822,0.14194387470185757
5,0.16775066115036608,1e-04,0.16009323768876493,0.16592117716372012,0.14159304676800966
6,0.16736669797450304,1e-04,0.16015340986736118,0.16450290610790252,0.1419200500383973
7,0.16683438361026345,1e-04,0.15954565066546203,0.16476466418504715,0.1426806757763028
8,0.16659767069146036,1e-04,0.1597313535053283,0.16393736211061477,0.14259959346950055

I'm not sure if I understand what you mean by the calculation is done on the batch, but I believe mean_squared_error will always be less than 1 since the target is in the interval [0,1], thus taking the root should result in a higher value.

What I meant was in batch-wise computations, the loss is accumulated and updated at the end of the batch. I think metric value(here rmse) is calculated in the same manner, which would be normalized by batch size(dividing by batch size). As cumulative error would be greater than 1, it would result in lesser rmse. But, after normalizing, the values would be less than 1, which is displayed. Anyway, this is my guess at the implementation, but, I think it logically fits. Hope that answered it.

Please tell me if the issue is resolved. Just try the batch size of 1 and please post the results if the rmse is still lesser than the mse.

What I meant was in batch-wise computations, the loss is accumulated and updated at the end of the batch. I think metric value(here rmse) is calculated in the same manner, which would be normalized by batch size(dividing by batch size)

@jadevaibhav regarding your argument about the batch-wise computations, from my understanding, that's just how batch gradient descent works, i.e. for every step (batch of size n) you compute the loss for that step and update your weights accordingly. In addition to that, as you say, it is divided by the batch size since it is called mean_squared_error.
As cumulative error would be greater than 1, it would result in lesser rmse. But, after normalizing, the values would be less than 1, which is displayed.

Though the cumulative error before dividing it is greater than 1, the root in rmse is performed after dividing the cumulative error by the batch size which is why your reasoning does not seem to fit here.
I would very much like to try training with batch_size of 1, but it appears that training with just one sample every step is too noise for my model and thus I often end up with nan. However, when I observe the values during the training, still, the rmse doesn't reflect the way I think of how the metrics is calculated, i.e. using the same data for the loss, to calculate the metrics which should be just the sqrt of the loss. Even if the metrics is calculated after the weights update, it still does not make sense to me that  the rmse could be less than the loss.


RSA 4096 Supported?

I have a key with the format ssh-rsa AAA<snip> == foo@bob, an RSA 4096 bit public key to the target.  Alas, the shell on the container is rejecting the format
Load key "/root/.ssh/id": invalid format

Never mind.  Oy, private key and generated for the purpose just like other plugins.  I glossed right over the clear "---private key" in the example.
My apologies for the bad issue submission.


Add SCM info to the resteasy-bom

This adds the missing SCM info to the reasteasy-bom.

Thank you @aloubyansky


[Feature]: Cohort growth deviation added to Linf (or L2)

Describe the solution you would like.
Cohort growth deviation multiplier is only applied to von Bert k. I was hoping it could be applied to Linf or L2 to have a more consistent growth pattern. I think as a start it may be ok to have the same growth deviation applied to both parameters.
Describe alternatives you have considered
I have tried to estimate cohort growth deviations with a year-specific deviation on Linf. That sort of growth pattern has been difficult to justify given it is neither a cohort nor year-specific growth pattern.
Statistical validity, if applicable
No response
Describe if this is needed for a management application
No response
Additional context
No response

There already is code to do Lmin:
              Cohort_Lmin(gp, y + a, a) = Lmin(gp);
            } //  sets for future years so cohort remembers its size at birth; with Lmin(gp) being size at birth this year

It should be straightforward to create and use: Cohort_Lmax()


PlutusData and lossless Aeson decoding

Please check the JS part very carefully.

@adamczykm We have a separate issue to replace the existing stringified numbers JSON stuff (#151), so we can address that in a separate PR I think

What about the tests?

@adamczykm We can just re-use the tests from the Helpers module when #151 gets done. I don't think we should block this PR on doing that though


⚠ Samsung has degraded performance

In 193f038, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2610 ms

Resolved: Samsung performance has improved in e3cc08e.


Make padding/scale sliders smaller increments?

Firstly you're a god. thank you for this. This is a very minor request--sorry if it's a bit too particular...
Anyway, on DF the padding is whole numbers and the scale is 10% increments:

However with these values, it's possible to lineup a larger scale action bar start/end to smaller ones with matching padding (i.e. top row is larger but it still lines up):

On DFUI classic, these values don't have the same result (expected, I understand), but is it possible to make padding/scale smaller increments in order to more closely control them? E.g. scale @ 1% increment and padding to the .1?
Scale 1.20, padding 1

Sale 1.20, padding 2

With padding/scale values, it's impossible to line up the start/end of the top actionbar to the others like in first screenshot. E.g. padding 1.5 would do this.
<3<3

Hey,
If i dont find any issue with it, I will include it in the next version.
You could test yourself if its how you would like it:
go to: Modules/Actionbar.lua ,line 465-473
 padding = {
    type = 'range',
    name = 'Padding',
    desc = '' .. getDefaultStr('padding', barname),
    min = 0,
    max = 10,
    bigStep = 0.1,
    order = 11
},

You can play with the value "bigStep", e.g change '1' to '0.1'
You could also change line 438-446
 buttonScale = {
    ...
    bigStep = 0.1,
    ...
},

and use '0.05'
There might be rounding errors with too small values tough.
After wildly clicking around for two seconds I got this:

Seems close.

works like a charm. I made padding 1.5 and it's perfect :) thanks so much again for both the addon and now for your help


[ZEPPELIN-4977] Metrics and healthcheck

What is this PR for?
This PR includes:

two new metric endpoints (/metrics/json, /metrics/prometheus)
two new healthcheck endpoints (/health/readiness, /health/liveness)
some default metrics (jetty, jvm, interpreter)
a graphite metric exporter

What type of PR is it?

Feature

Todos

[ ] - Add Unit tests
[ ] - Add docu for InfluxDB reporter
[ ] - Add documentation for metric and healthcheck endpoints
[ ] - Check shiro protection for metric and healthcheck endpoints
[ ] - Add license informations for dropwizard metric library

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4977
https://issues.apache.org/jira/browse/ZEPPELIN-4976

How should this be tested?

https://travis-ci.com/github/Reamer/zeppelin/builds/198259695

Questions:

Does the licenses files need update? Yes
Is there breaking changes for older versions? No
Does this needs documentation? Yes

This is a first draft, feedback is very welcome.

I recently went through the effort to add Prometheus and Grafana based monitoring to a search stack for ecommerce applications, and what made the experience really great was that there was already a wonderful Solr template and Rails template dashboards available from Grafana.   Writing your own Grafana dashboard isn't for the faint of heart!
Would you be able to publish a template dashboard for Zeppelin as well?   That would move this from a "hey, we should monitor Zeppelin" to a "no excuses, its easy to monitor Zeppelin" ;-)
https://github.com/querqy/chorus/pull/23

I recently went through the effort to add Prometheus and Grafana based monitoring to a search stack for ecommerce applications, and what made the experience really great was that there was already a wonderful Solr template and Rails template dashboards available from Grafana. Writing your own Grafana dashboard isn't for the faint of heart!
Would you be able to publish a template dashboard for Zeppelin as well? That would move this from a "hey, we should monitor Zeppelin" to a "no excuses, its easy to monitor Zeppelin" ;-)
querqy/chorus#23

Thank you very much for your feedback. I have created https://issues.apache.org/jira/browse/ZEPPELIN-5123 to track this.

Closing this PR in favor of #3971
Reason: Dropwizard does not support metric tags, which are quite powerful.


Project related

Add new files to project and add a new Readme section.

Done! Should be better now.

Added files to versioning and modified Readme.


rename master to main

There is a discussion on the web to rename the master branch to main, for diversity reasons.
Somebody from GitHub (was it the CEO?) said something about potentially a GitHub-wide implementation. I'm not sure if it's best to wait for that rather than to push for the switch immediately.

IMHO, immediately

We renamed the master branch on cobrapy to stable. I agree, the sooner you do it the less hassle for everyone.

Please note that you should also adjust the standard document description:

:red_square: Git branches
The GEM repository must have at least two branches: master and develop.

Thanks for the notice @Midnighter. As of the current version, it's still master.
This change will be implemented for the next release, unless we find reasons not to.

Please note that GitHub officially says to wait for its new updates which will seamlessly provide support for changing master branch to main branch.
Guidelines by GitHub on renaming branch name: https://github.com/github/renaming. At the moment, renaming it can cause problems when using GitHub pages.

I was not aware of that, thanks for sharing that link @draeger!
Consequently, this issue is in the Backlog for now, to be dealt with after GitHub implements the changes. It sounds like a better idea to ask people to rename the branches only after that.

Since January 2021, GitHub no longer advises to wait with changing master to main, so this can be implemented.

This issue has been resolved via #32. Please open a new issue if any follow-up is required.


[No Ticket] When version is None default to latest version

Purpose
This addresses an issue @sloria  brought up when commenting on this PR. https://github.com/CenterForOpenScience/osf.io/pull/8496#pullrequestreview-165349553
Changes
Grabs highest version number representing most recent verison when no version is provided.

@Johnetordoff, if we want this behavior to always be the case whenever we call update_analytics,  would it be simpler to instead deal with the lack of version in update_analytics directly? We know that version information passed from waterbutler is always going to be inconsistent, and putting it there would ensure that we have consistent behavior whenever we use it. Not a blocker, just a thought!

@erinspace I feel like it makes it more modular if we build update_analytics to expect the correct integer as a version number. Also consider this is just going to be replaced by the ES imapct .record method pretty soon so we can tailor the set up to that.

For impact, I'm relying on the file version getting computed in get_auth: https://github.com/sloria/osf.io/blob/c54f27d09e66863c9cc3549f90baac40a23de42c/addons/base/views.py#L341
@erinspace @Johnetordoff How about taking a similar approach for your features? Compute the file version once, then use it for both marking the version as seen and for updating analytics.


Release 2022.09.15

@Luyao-Zhang-1 this will require an update to https://docs.mendix.com/developerportal/#my-apps, I can work on that tomorrow

@Luyao-Zhang-1 this will require an update to https://docs.mendix.com/developerportal/#my-apps, I can work on that tomorrow

The update is already covered: https://github.com/mendix/docs/pull/5040


WARNING:root:Lossy conversion from float32 to uint8.

WARNING:root:Lossy conversion from float32 to uint8. Range [0.0, 255.0]. Convert image to uint8 prior to saving to suppress this warning.

This was fixed in the new version. Thank you.

I am still getting this warning on the latest version, 2.5.0. Is that expected?


Unable to build when extending pages with remote layer

Environment

Operating System: Linux
Node Version:     v18.12.1
Nuxt Version:     3.2.3
Nitro Version:    2.2.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      extends
Runtime Modules:  -
Build Modules:    -

Reproduction
Unfortunately using remote sources in stackblitz doesn't seem to work, so it will need to be checked locally, reproduction here https://github.com/BobbieGoede/nuxt-layers-build
Describe the bug
It seems like it isn't possible to build a project that uses a remotely sourced layer to extend pages (nuxt config seems to work, haven't tested other features).
Run npm run build:remote to see that the build fails throwing the following error:
[vite]: Rollup failed to resolve import "vue/server-renderer" from "/home/bobbie/.cache/c12/github_BobbieGoede_nuxt-layers-build/pages/page-regular.vue".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`

Run npm run build:local to see the build succeed using the same layer, except referenced locally.
Additional context
It sounds similar to #18448 but this issue happens without any other dependencies, a comment later in that thread does run into the same issue https://github.com/nuxt/nuxt/issues/18448#issuecomment-1413447912
Logs
No response

Let's track in https://github.com/nuxt/nuxt/issues/12347. (I think it's the same issue.)


Errors when starting simple and advanced RAG examples

Running RAG examples, both simple_rag/langchain and advanced_rag/multi_turn_rag throws an error when trying to start them as instructed with docker compose up -d --build.
Running GenerativeAIExamples/RAG/examples/basic_rag/langchain yields this error:
imported compose file [/data/Projects/GenerativeAIExamples/RAG/examples/local_deploy/docker-compose-vectordb.yaml /data/Projects/GenerativeAIExamples/RAG/examples/local_deploy/docker-compose-nim-ms.yaml] defines conflicting network default

Running GenerativeAIExamples/RAG/examples/advanced_rag/multi_turn_rag yields the same error:
imported compose file [/data/Projects/GenerativeAIExamples/RAG/examples/local_deploy/docker-compose-vectordb.yaml /data/Projects/GenerativeAIExamples/RAG/examples/local_deploy/docker-compose-nim-ms.yaml] defines conflicting network default

I haven't tried the other examples yet, but they may throw similar errors.
The main reason is that all 3 yaml files define their default network identically as:
networks:
  default:
    name: nvidia-rag

I tried defining the networks as external in all 3 yaml files as such:
networks:
  default:
    external: true
    name: nvidia-rag

and creating that network manually & externally in CLI via docker network create nvidia-rag, but that didn't help.
Is there an easy workaround?

Check your docker compose version. I tried with 2.20.0 version but it wasn't working for me but when I upgraded the docker compose version to 2.29.2, it started working

Check your docker compose version. I tried with 2.20.0 version but it wasn't working for me but when I upgraded the docker compose version to 2.29.2, it started working

Thanks. We have added this instruction explicitly in the prerequisites page as part of this PR. Let us know if you face further issues after upgrading the compose version!


Differences between convection integrators

Hi All,
I'm implementing the incompressible Navier Stokes equations using the IDA solver from Sundials (see PR #3690) and am confused about which convection integrator I should be using in MFEM. There are 3 options - 2 nonlinear form integrators (VectorConvectionNLFIntegrator and ConvectiveVectorConvectionNLFIntegrator) and the bilinear form ConvectionIntegrator. Applying the bilinear form version using:
	k = new BilinearForm(spaces[2]);
	k->AddDomainIntegrator(new ConvectionIntegrator(w_coeff, rho));
	k->Assemble();
	k->Finalize();
	K = k->LoseMat();
	Kmat = new BlockMatrix(componentOffsets);
	Kmat->SetBlock(0, 0, K);
	Kmat->SetBlock(1, 1, K);
	Kmonolithic = Kmat->CreateMonolithic();

gives me similar results to applying the nonlinear form using:
	N = new NonlinearForm(spaces[0]);
	N->AddDomainIntegrator(new VectorConvectionNLFIntegrator(rho_coeff));
	//N->AddDomainIntegrator(new ConvectiveVectorConvectionNLFIntegrator(rho_coeff));
        gradN = dynamic_cast<SparseMatrix*>(&N->GetGradient(u));

where Kmonolithic and gradN are the gradient matrices of the bilinear and nonlinear forms, respectively. Here, spaces[0] is a 2D vector space whereas spaces[2] is a 2D scalar space. However, applying the ConvectiveVectorConvectionNLFIntegrator in the nonlinear form (commented line above) gives me very different results from the ConvectionIntegrator and VectorConvectionNLFIntegrator.
What are the differences between these approaches? What approach is most appropriate for IDA? IDA uses a modified Newton iteration where the Jacobian is fixed and usually out of date (and only updated as frequently as necessary) throughout the nonlinear iterations.
Thank you for your help.
-Scott

I can only vouch for the VectorConvectionNLFIntegrator and its capabilities to compute the gradient for a Newton method as I have not used ConvectiveVectorConvectionNLFIntegrator.
ConvectionIntegrator is not the right integrator to use for Navier-Stokes as it won't capture cross terms. Depending on your velocity field this may line up with VectorConvectionNLFIntegrator.
Using IDA for Navier-Stokes can work but the hard part is not the time integration itself but the solution of the linear system. Specifically the linearization of VectorConvectionNLFIntegrator which appears in A(1,1) of your linearization during a Newton iteration in combination with Reynolds numbers > 100.
Keep us posted.

Thanks @jandrej. Just to clarify, the action of the ConvectionIntegrator and VectorConvectionNLFIntegrator obtained by Mult should be the same, while the gradient matrices produced by the integrators differs, is this correct? I.e. there should be no difference in the residual evaluation, just the Jacobian? Also, if the convection term is linearized by lagging the convection coefficient (e.g. with the Oseen iteration), then would the ConvectionIntegrator be appropriate?

Using IDA for Navier-Stokes can work but the hard part is not the time integration itself but the solution of the linear system.

Totally agree. I manage to get reasonable iteration number solving the linear system using the Pressure-Convection-Diffusion block preconditioner which is relatively independent of mesh and Reynolds number when I use direct solves on the momentum and pressure-Poisson blocks, but I've been having some issues with convergence solving the momentum block using GMRES with BoomerAMG preconditioner. Part of it may be that I was using the ConvectiveVectorConvectionNLFIntegrator rather than the VectorConvectionNLFIntegrator. But I also suspect stability issues with convection dominated flow may be to blame and am working on implementing SUPG stabilization to see if this helps.
I'll definitely keep you posted. Implementing the stabilization doesn't seem to be as straightforward as I was hoping, so I expect I'll need to reach out to you for help again as I work through this.
Thanks,
Scott

the action of the ConvectionIntegrator and VectorConvectionNLFIntegrator obtained by Mult should be the same, while the gradient matrices produced by the integrators differs, is this correct?

Yes. Making it work involves more work though. You need component wise operations.

Also, if the convection term is linearized by lagging the convection coefficient (e.g. with the Oseen iteration), then would the ConvectionIntegrator be appropriate?

Yes, but see above.

but I've been having some issues with convergence solving the momentum block using GMRES with BoomerAMG preconditioner

This is expected. The larger the Reynolds number, the more the operator drives into convective regime.

Implementing the stabilization doesn't seem to be as straightforward as I was hoping

If you're looking into SUPG/PSPG, you have to dive into the integrators and implement the terms right there.

@jandrej Thanks for the hints. I've been exploring SUPG/PSPG with stabilization parameters computed from element matrices (see [https://doi.org/10.1016/S0045-7825(00)00211-5]). In that reference, an element-level Reynolds number is calculated which requires the L2 norm of the element-level velocity. I am not sure that I am calculating this correctly - could you give any guidance how I can calculate the L2 norm of velocity over an element?
Thanks,
Scott


Virtual directories not shown anymore

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.32.1 (96)
Regression From
1.31.2
Architecture
x64
Storage Explorer Build Number
20231114.10
Platform
Windows
OS Version
Windows 10
Bug Description
Opening a container doesn't show any virtual directories anymore. Although this bug doesn't always show up, some container listings works as expected.
Steps to Reproduce

Open a container wich includes a couple of virtual directories and some blobs.
The blobs will be shown, the virtual directories not.
Click the "Load more" button in the lower right corner. Now the virtual directories will be shown.
Enter a virtual directory and leave it. Now the virtual directories are missing again.

Actual Experience
No virtual directories are shown when opening a container. Clicking "Load more" reloads the view and lists all virtual directories. Refreshing the view with the "Refresh" button doesn't list the virtual directories neither. This bug does not occur with all containers. Actually affected is a container with a larger number of blobs, for containers with a smaller number of blobs everthing is working as expected.
Expected Experience
No response
Additional Context
No response

Hi @gibimani , depending on what the server returns, this behavior is possible. However, the servers shouldn't return things differently to different versions of Storage Explorer, so I would be surprised if the behavior for the same container would be different for two versions of Storage Explorer (assuming there isn't a bug in 1.32 haha).
For this issue, I think it would be best if we could get a Fiddler trace from you.
You can download Fiddler here: https://www.telerik.com/fiddler/fiddler-classic
Instructions on how to collect the trace are here: https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/storage-explorer-troubleshooting?tabs=Windows#network-logs
Please send your trace to sehelp at-sign microsoft dot com (hopefully you can parse out that email address, I'm trying to avoid it getting picked up by spam bots).


Memory issue when adding multiple kernels

Greeting!
I found the memory usage of GPy is extraordinary high when I added multiple kernels (10-20). The memory usage seems to have a linear relationship with the number of combined kernels. Is there anyway to reduce the usage of memory in this case?
Thanks!

I think that's because each kernel caches its computations separately. It's
true that there are applications where you want many kernels. @mzwiessele
is there an option for turning the caching off and would it help in
yiyang's case?
On Thu, Apr 21, 2016 at 2:06 PM, yiyang-gt<EMAIL_ADDRESS>wrote:

Greeting!
I found the memory usage of GPy is extraordinary high when I added
multiple kernels (10-20). The memory usage seems to have a linear
relationship with the number of combined kernels. Is there anyway to reduce
the usage of memory in this case?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/377

Yes there is! @alansaul can explain it better, as he is working with it.

On 21 Apr 2016, at 19:46, Neil Lawrence<EMAIL_ADDRESS>wrote:
I think that's because each kernel caches its computations separately. It's
true that there are applications where you want many kernels. @mzwiessele
is there an option for turning the caching off and would it help in
yiyang's case?
On Thu, Apr 21, 2016 at 2:06 PM, yiyang-gt<EMAIL_ADDRESS>wrote:

Greeting!
I found the memory usage of GPy is extraordinary high when I added
multiple kernels (10-20). The memory usage seems to have a linear
relationship with the number of combined kernels. Is there anyway to reduce
the usage of memory in this case?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/377

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Ok the gist is as follows. You create your model by handing in initialize=False as argument. Then you create your model as you would normaly. When the model is created as say m you disable the caching on the model: m.disable_caching(). Be aware, that the model is not initialized yet and you have to initialize it by calling initialize_parameter() on it before optimizing.
Here a working example:
"""python
k = GPy.kern.Matern32(1)
k += GPy.kern.Linear(1)
X = np.random.normal(0, 1, (100,1))
Y = np.random.multivariate_normal(np.zeros(X.shape[0]), k.K(X), 1).T
m = GPy.models.GPRegression(X, Y, kernel=k, initialize=False)
m.disable_caching()
m.initialize_parameter()
m.cache.caching_enabled #>> False
m.kern.cache.caching_enabled #>> False
print(m)
m.optimize()
m.plot()
"""

Thanks for the reply! But I got the following errors ...
TypeError: init() got an unexpected keyword argument 'initialize'
AttributeError: 'GPRegression' object has no attribute 'disable_caching'

Which version of GPy are you running?

On 23 Apr 2016, at 01:26, yiyang-gt<EMAIL_ADDRESS>wrote:
Thanks for the reply! But I got the following errors ...
TypeError: init() got an unexpected keyword argument 'initialize'
AttributeError: 'GPRegression' object has no attribute 'disable_caching'
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

0.8.8
I think the code on github does not support the operations as well...
Thanks!

that is the problem. just upgrade to 1.0. and it'll work.

On 23 Apr 2016, at 02:33, yiyang-gt<EMAIL_ADDRESS>wrote:
0.8.8
I think the code on github does not support the operations as well...
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub


Feature: Managing Quiz edits for associated Attempts

As a user (that is editing a quiz after having attempted it one or more times)
So that I can clearly contextualize  information in my past attempts in relation to the most-up-to-date version of the quiz
I want my attempt show page to use visual indicators to flag any  question or quiz attributes that have been edited after this attempt, and give me the option to compare the two versions of each (see lofi UI below)

Closed with #44


Better layout/editing: Use jekyll data sources and post layouts

Knowing jekyll's features just a bit I know we could leverage either data sources or posts to make navigation of the page and the layout a bit more user friendly. This would allow to link to "episodes" directly instead of one big list.

This is mainly to not forget about the idea for an improvement.

I've done this over the weekend.
This is a slight spoiler and I'll send a proper PR soon.

👀 @ligi @vog

looks nice

Good work!


Proc Macro not expanded, Unsupported Metadata Version 7 - Rustc v1.70.0

Looks like proc-macros are having some issuse with the latest downloaded browser build of Lapce / Rust-Analyzer

In windows doesn't work.

A work around is to, instead of typing the full path to the executable on windows (~/.cargo/bin/rust-analyzer) (the tilde of course replaced with C:/Users/{you}), just fill in rust-analyzer.exe. For some reason, to resolve the server path, it first passes it to the cmd "where" command, which does not resolve full paths, apparently. I'm not sure why this is done or why it would be necessary--it may have to do with wasm and such. I assume *nix behaves differently

Because it necessary to add .exe to the command

I got the same problem, just the version is 8. I'm on macos, can't find where rust-anaylzer is


[Feature Request] Provide Docker images

Is your feature request related to a problem? Please describe.
Not a problem per se, but just a thought for lowering the barrier to entry.
Describe the solution you'd like
It'd be convenient to publish a docker image for Odin that can be used for easy deployments and quick installation. Perhaps even a docker-compose.yml could be added to the repository to facilitate setting up Odin + the communication with Mongo and later on for other databases that are supported.
Describe alternatives you've considered
Not much at this time
Additional context
Not much at this time

I had a whirl at spinning things up with Docker..but I believe the issue comes from the makefile being tied to systemd which is not available within the docker images for ubuntu as Docker is about process isolation and not OS virtualization.
The specific error is
System has not been booted with systemd as init system (PID 1). Can't operate.

Here's the Dockerfile I was attempting to create
FROM ubuntu:18.04

WORKDIR /odin
COPY . /odin

# Get some prerequisites
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata wget build-essential sudo apt-utils systemd

# Install Go
RUN wget -c https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
ENV PATH=$PATH:/usr/local/go/bin
RUN go version

# Build Odin
ENV ODIN_EXEC_ENV True
ENV ODIN_MONGODB "mongodb://localhost:27017"
RUN make

# Make sure odin's running
CMD systemctl status odin

Originally working on this project I aimed to provide Docker images, I also ran into the issue of systemd.

After some googling and tinkering with the build file in this thread I was able to get the container to build however I have yet to launch it
I came across this website which I changed systemctl status  odin to /etc/init.d/odin status.
After building the image after a countless amount of times I was greeted with:
Step 15/15 : CMD ["/etc/init.d/odin", "status"]---> Running in 64903e04830c
Removing intermediate container 64903e04830c ---> 7e7c90c5d81d
Successfully built 7e7c90c5d81d

Dockerfile as follows:
FROM ubuntu:18.04
LABEL author="Kyle McCann<EMAIL_ADDRESS>
WORKDIR /home/kyle/testing
COPY . /odin-testing

# Get some prerequisites
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata wget build-essential sudo apt-utils systemd

# Install Go
RUN wget -c https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
ENV PATH=$PATH:/usr/local/go/bin
RUN go version

# Build Odin
ENV ODIN_EXEC_ENV True
ENV ODIN_MONGODB "mongodb://localhost:27017"
RUN ls /odin-testing
RUN sudo make /odin-testing

VOLUME ["/home/kyle/testing/"]
CMD ["/etc/init.d/odin", "status"]

(Sorry if my formatting is awful, first time commenting on an issue.)

No worries on the formatting. I can take some time to run this, if it's building I think you're good to open a PR on this and reference this issue. Once you've done that I can take time to test it out 💯


aur-sync: making it installed-package-aware

Aurutils should first check if the queried package is already added to one or more databases and be smart about it:

When updating an existant package without specifying the repo: aur sync pkgname

Find the repository associated to the package
Update the package using its actual repository

When installing an existing package in a different repository:   aur sync pkgname --repo=repo1 && aur sync pkgname --repo=repo2

Compare the repositor(y/ies) associated to the package with the specified repository

A match is found: ask to confirm you want to add the package to this repository
No match is found: this is a new package; do not ask anything; fetch the package

I'm not sure your first point makes sense. It sounds like it assumes that the repository is always actually in use by pacman on the same host on which it is hosted.

@djmattyg007 how do you do when when the host is different?

"smart" sounds like it would be complex and be prone to edge cases. In the first bullet you could have:

packages specified on the command line that are in a single, none, or multiple different repositories
packages specified on the command line that are in a remote repository, for example any of the Arch Linux repositories
the implication that the repository database as it is on disk and as seen by pacman are the same, which is often not the case (e.g., for container builds)

The second bullet implies adding interaction which, apart from the inspection step with vifm, I'd like to avoid. Since this appears independent from aur-sync, you could likely implement it in some separate script which queries local repositories and runs aur-sync afterwards.

@AladW what approach would you take? I clearly see it will be very complicated to handle all possible cases so it should limit to things worth doing to improve usability.

I'd leave out the first bullet for the above reasons and because IMO these things should be left to the user. The second could be implemented with aur-rfilter, compare #165.

In practice:
candidate=$(aur rfilter -d "$repo" "$pkg")
if [[ $candidate ]]; then
  msg "$pkg is already satisfied in [$repo]"
  # additional steps here
  exit
fi

So I think this is another one for the big list in #20.

Added to #217.


Updating control-plane to controlplane

Sorry for multiple failures,
I hope this fixes everything.
Changes made - no change in readme.md
Updated three files as mentioned in #32

Looking good, just one more thing: @RudranshGoel could you please sign your commits?

Looking good, just one more thing: @RudranshGoel could you please sign your commits?

Should work now


Missing minified stinson.css in v0.1.12

Looks like all the css files have minified version but only stinson.css has not.

Thanks for filing! This is resolved in the next version!

+1


IE FIX

This update will make IE touch events to work.

👍
Thanks for the PR! I'll update the gh-pages branch and publish a new package tonight.


allow only registered voters to vote.

I am reluctant to accept code without tests at this point... but we haven't refactored the shell script to facilitate testing and from a quick glance it looks that this change makes things worse, so I'll just merge it.


Add support for InProc Com invocation

Change
Added a shim dll to support in-proc Com activation of winget Com apis.
Validation
Validated by writing a sample caller consuming winget Com apis through in-proc activation. Codes run fine with in-proc activation.
Next

State separation and better support for System caller
Add Com e2e tests and remove previous workarounds(i.e. Microsoft.Management.Deployment.Client and Microsoft.Management.Deployment.Server.Test)

Microsoft Reviewers: Open in CodeFlow

Hey, @yao-msft @denelon @Trenly I have been trying to use In-Proc Winget COM APIs directly onto my c# app (.net 8) using CsWinRT to eventually install/search applications but the initial PackageManger object creation itself fails with below message
System.TypeInitializationException: 'The type initializer for 'WinRT.ActivationFactory`1' threw an exception.'
Inner Exception
COMException: Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))

Can someone point me the right direction on how to achieve this maybe a straightforward example code snippet or documentation. Analysing the powershell (as it uses In-Proc) was getting a bit complicated and did not see any registrations before hand in the code instead the class objects (PackageManager etc) were directly being created in the
winget-cli\src\PowerShell\Microsoft.WinGet.Client.Engine\Helpers*ManagementDeploymentFactory.cs* file
P.S : The reason for going with this approach was because we wanted to execute the commands in the SYSTEM context and using direct powershell modules was not approved.


Remove swf support in banner and blog

Description
Please describe your pull request:

Why is it necessary?
Everyone hates adobe flash player see: https://www.golem.de/news/browser-chrome-beginnt-mit-dem-ende-von-flash-1612-125010.html
What does it improve?
Removed swf support in blog and banner element
Does it have side effects?
Nope when use html5 pls..

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?

How to test?

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-18082.
Please use this issue to track the state of your pull request.


Keep null values in serialized body when indexing

Hi,
We're considering switching from deprecated elastic/app-search-php to elastic/enterprise-search-php.
However, I found a strange behavioural choice that I don't understand and you might be able to help me figure it out.
When indexing documents, we must use an IndexDocuments request, requiring as second argument an array of Document.
It works well, except with nullable fields. If the field as no value, we can't index this field as it is automatically removed from request at serialization time: https://github.com/elastic/enterprise-search-php/blob/master/src/Request/Request.php#L90.
We can't bypass that as serializers are not configurable, and body in IndexDocuments could not accept anything other than an array.
Why would you remove prevent nullable fields from indexing ?
Let's imagine that you have order data to index, that has multiple fields, including creationDate and deliveryDate.
deliveryDate is nullable when the order is not yet delivered.
As you can't index deliveryDate field, it is not present in the document response, and you could not filter results having null deliveryDate, right ?
Is it a bad practice to index nullable fields having null value ? If not, would it be possible to allow indexing of null values ?
Thank you.

Hi @gignonje we removed the null value in request object because we are using typed properties and we need to serialize an object into a JSON. Sending a null value to App Search is not possible. Elasticsearch, that is the engine used by App Search, does not to index or search a null value, you need to use a special null_value parameter.
We do not recommend to store field without a value.It's better to remove the empty field when you index your data so you can leverage the exists query matches of Elasticsearch.

@gignonje I'm closing this issue. Let mw know if you want to reopen it, thanks.


Add documentation for setting up Oaken as a replacement for fixtures

Similar to: https://github.com/thoughtbot/factory_bot_rails#generators

Relevant links:

https://github.com/search?q=repo%3Arails%2Frails fixture_replacement&type=code
https://github.com/search?q=repo%3Athoughtbot%2Ffactory_bot_rails fixture_replacement&type=code


Allow full inline fragments

This allows for:
{
  query: {
    Posts: {
      __on: "Fragment"
    }
  }
}

To transform to:
query {
  Posts {
    ... Fragment
  }
}

Hi, is it possible to merge it @dupski ?

Yep, I was going to do it at the weekend then work stuff came up, sorry. Will be in the next few days, promise! :)

Hey man, just published v2.0.0 which includes support for full fragments. Changed the API slightly to __all_on: ["Fragment1", "Fragment2"] to allow for multiple full fragments :)


Viterbi Calculation Reusability + Comment Fixes

In viterbi_segment, the calculation P[w] * best[i - len(w)] is used twice in a row, so I stored it into a variable (curr_score) and used that instead.
Also made quotation and spacing fixes to the comments.

Branch was deleted, will make a new PR.


Allow pass a ::class to second parameter of Model::belongsToMany

Currently, I can only pass the class name to first parameter. To second parameter, I need use with(new UserPermission)->getTable() (to avoid code the table name). I just think that it is a workaround. I solved this problem in my code, but I think that Laravel can do it natively.
So I thinked in two possibilities. One is accept a class name as argument (::class) or accept a new instance (what I think that is a workaround too, on really). So we have some cons and pros:
Current method: accept only the table name.

Parameter: use with(new SomeModel)->getTable()
Pro: anyone?
Cons: to verbose and is clearly a workaround.

First possibility: accept a class name.

Parameter: use SomeModel::class.
Pros: very beautiful; Laravel will fill table name based on Model::$table property.
Cons: Laravel will do it by use class_exists(). But only if table is specified. In falsy cases will cost more than normal.

Second possibility: accept a class instance.

Parameter: use new SomeModel
Pros: Laravel will not use class_exists(), just check if is instanceof Model
Cons: not too clear and not default.

// File:   Illuminate\Database\Eloquent\Model.php
// Method: Model::belongsToMany

// Appended to:
if (is_null($table)) {
    /* ... */
}

// First possibility:
else if(class_exists($table)) {
    $table = with(new $table)->getTable();
}

// Second possibility:
else if($table instanceof self) {
    $table = $table->getTable();
}

I suggest create a Model static method to do it on other possible places on Model -- where we could accept the class name instead of table name.

You realize that Laravel already determines the table automatically if you don't pass anything?

Yes. But in my case, I have: users, permissions and user_permissions. And:
public function permissions()
{
    return $this->belongsToMany(Permission::class);
}

Laravel will try permission_user table instead of users_permissions. Maybe some setting can tweak it?
Thanks.

I see... However I don't think this is a very common use case. I personally think you should just pass the table name $this->belongsToMany(Permission::class, 'users_permissions');

Laravel is using a convention for this, in order to avoid these kind of problems. That is the reason we love framework, because these kind of problems are solved by someone else who already had this problem ;)


Add textureLoader.crossOrigin

Somewhere around here:
https://github.com/toxicFork/react-three-renderer/blob/136ff25e6992f200aafa41324b070a7a04768b67/src/descriptors/Material/TextureDescriptor.js#L12
The textureLoader has a crossOrigin prop:
http://threejs.org/docs/#Reference/Loaders/TextureLoader.crossOrigin
It's not on the texture itself. Setting it to empty string "" allows you to load images from a different domain. See http://stackoverflow.com/questions/24087757/three-js-and-loading-a-cross-domain-image

I will add this, thanks :)


CsvOutputFormatter only works for IEnumerable objects

Looks like there is a check for if a result is IEnumerable while determining if the formatter applies. Is there a reason to require this? Can it just output an item in a single list?

This might be related to my pull request, which allows non-IEnumerable results to still produce a header row.  See https://github.com/WebApiContrib/WebAPIContrib.Core/pull/204


Consider using beacon to send data more reliably on unload

See https://w3c.github.io/beacon/

This is an interesting API however it seems to have poor browser support. We could try using it for FF and Chrome only.

Changing the title of this issue, so we track the generic way to address this problem - today we are losing about 10% of all telemetry documents that customers are sending, mostly due to navigating away. One way to address it is to store unsent telemetry items in session or local storage and attempt resending on page transition.

We discussed that this item should include supporting
persisting in session or local storage
P1. retrying in case user navigates away before sending and comes back
P2. retrying in case of error from DC endpoint
P3. retrying in case of lost connection

Beacon definitely looks promising.
http://status.modern.ie/beacon

Thanks @oising for mentioning the Beacon API. We will consider using it, but it may not be possible because Beacon API does not provide a response callback.

This shouldn't be closed. Beacon API is living standard and it was designed for this behavior.

@AlexBulankou repurposed this issue for another investigation. @AlexBulankou , @kamilszostak - should we open another one specifically for beacon API?


Dependabot seems to be unable to create PRs for vulnerable dependencies

Issue edited (original content below)
What happened?
Our GH dependabot seem to be unable to open PRs to fix vulnerable dependencies:
https://github.com/kumahq/kuma-website/security/dependabot
This might be due to dependencies having exact version requirement.
Need to investigate and fix this.

Our GH security advisories / dependabot updates seem to be not working.
When going to https://github.com/kumahq/kuma-website/security/advisories we don't see any security advisories listed, but running yarn audit shows vulnerabilities:
yarn audit

...
99 vulnerabilities found - Packages audited: 1544
Severity: 2 Low | 33 Moderate | 56 High | 8 Critical

We need to fix this and have an automatic update mechanism just like in Kuma.

https://github.com/kumahq/kuma-website/security/dependabot

Security advisories are thing that are manually written and released by us

I don't have access (404 not found). Even if it's listed there should be a dependabot update PR for each of this.

Potentially, but dependabot can't update every dependency if it's not compatible with the constraints we have.

Buggy behavior from dependabot here? Looking at https://github.com/kumahq/kuma-website/security/dependabot/47 we see that 4.1.0 is vulnerable, which is in yarn.lock. But we see "No security update is needed as ansi-regex is no longer vulnerable." However, in the logs:
updater | INFO <job_433101476> Checking if ansi-regex 2.1.1 needs updating
  proxy | 2022/08/03 10:03:37 [016] GET https://registry.npmjs.org:443/ansi-regex
  proxy | 2022/08/03 10:03:38 [016] 200 https://registry.npmjs.org:443/ansi-regex
  proxy | 2022/08/03 10:03:38 [018] GET https://registry.npmjs.org:443/ansi-regex/6.0.1
  proxy | 2022/08/03 10:03:38 [018] 200 https://registry.npmjs.org:443/ansi-regex/6.0.1
updater | INFO <job_433101476> Latest version is 6.0.1
updater | INFO <job_433101476> no security update needed as ansi-regex is no longer vulnerable
updater | INFO <job_433101476> Finished job processing
updater | INFO Results:
updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.
updater | time="2022-08-03T10:03:38Z" level=info msg="task complete" container_id=job-433101476-updater exit_code=0

But we're apparently nevertheless using 4.1.0, so this doesn't seem right.

Triage: there is a problem with dependabot configuration https://github.com/kumahq/kuma-website/network/updates
We think that current dependabot PRs are security updates from Github.

Should we use our security update github action for this repo as well? I'm putting this back to triage to discuss with the team.

Triage: still the case. Let's try this with dependabot. Our security update tool may not work with Ruby


Add CodeSponsor.io badge

CodeSponsor.io is a platform that connects sponsorship to open-source projects. Projects earn money from sponsors and this badge would indicate the amount earned per project.
The API to be hit is a simple GET request to
https://app.codesponsor.io/shields/[token]/[username]/[repo_name]
For example: https://app.codesponsor.io/shield/YOURTOKEN/hopsoft/bg
Example Results:
{
  "distribution_cents": 13625,
  "ts":<PHONE_NUMBER>
}

neat, how do you get your token? :D


Fix Table.bulkGet return typing to include undefined

This improves the typing for Table.bulkGet() to indicate
the returned array may include undefined items.
(Per the bulkGet docs, "For those keys that do not
exist in the database, undefined will be returned in their
place.")

(Not really sure how to test this, short of pulling in dtslint or tsd. But I did add a bulkGet to test-typings.ts, with a commented out line that should cause an error since it doesn't handle undefined.)

(Build passed; not sure why GH checks aren't updating: https://travis-ci.org/github/dfahlander/Dexie.js/builds/715647161)

Thanks a lot!


The default c++ standard is still -std=c++14  of clang 16.0.5 in vs 17.7.4

Since v16.0.0, Clang compiles C++ using the -std=c++17 by default, It should be same.

This doesn't seem like a doc issue. Perhaps this is something for Developer Community


Update rubocop-govuk to 4.0.0.pre.1

Trello: https://trello.com/c/pqXbKZiC/215-test-rubocop-govuk-400pre1-prior-to-400-release
This bumps to the 4.0.0 pre release of rubocop-govuk which is part of trialling the new rubocop-govuk release. It seems to have gone into this app without too many problems which is good news.
All changes here are to resolve linter issues, the pin to 4.0.0.pre.1 is intended to be removed once the final release of rubocop-govuk 4.0.0 is out.
This ruby-version for this repo is changed to be the minimum this gem supports (2.6) to reflect both best practice for Ruby gem development and a cop that expects the minimum ruby version to be set and linted against.

LGTM - though I wonder what downsides the last commit has 🤔 we've explained that we usually set a more modern version than the minimum, but not why that's the case.

I think the only reason we set a more modern version in the .ruby-version is because it gets caught up in initiatives to upgrade all GOV.UK versions of Ruby (I think we even have a script to apply it). Aside from that scenario it's a relatively unusual approach for general work as it provides a lot more risks than working with the minimum version does.

Would it be better to set the minimum version in the Gemfile with ruby "~> 2.6.6", and leave the .ruby-version as the recommended 'developer' version of Ruby?

If you have a required_ruby_version and .ruby-version mismatch, rubocop will complain:

Gemspec/RequiredRubyVersion: required_ruby_version (2.6, declared in govuk_publishing_components.gemspec) and TargetRubyVersion (2.7, which may be specified in .rubocop.yml) should be equal.

which seems reasonable given you want the linting rules applied based on the version of Ruby you support. You can, if needed, tell rubocop which Ruby version to lint for in .rubocop.yml but this seems just another thing to maintain and I'm not convinced there is a good argument to do so.
I'm assuming your suggested constraint was meant to be ~> 2.6, as ~> 2.6.6 would actually only allow you to install >= 2.6.6, < 2.7. ~> 2.6 is basically just a pessimistic version of what we have now as it means >= 2.6, < 3 and it seems unnecessary to be pessimistic.
I'd imagine most of the arguments that we want a newer minimum Ruby version for gems should be justified by the gem dropping support for that Ruby version.

Thanks @kevindew , that all sounds good to me 👍


Unified Lanczos interface

Add linalg::Lanczos() with argument method='Gnd' or 'ER', and it should be able to take Tin as either Tensor or UniTensor.
This PR depends on #102.

redo in dev-master


Displaying category name in the posts listing page in the admin side

I need to add a column containing the name of the post category in the posts listing table.
I need to accomplish this in the following screen:

I've overridden the posts browse template but I'm trying to get the user record that in relationship with that post record, I can't accomplish this with the use of the $data variable.
The only way I know is to query the other model in the template but I think this is a bad way.
Thanks.

#715

This seems to have been solved


Regen needs?

Clear ground entities (crops seeds floating, mushrooms floating)
Clear rocks / sticks / small ores
Clear grass? (are we just redecorating the entire chunk)?
Plant crops, mushrooms, berry bushes, rocks, sticks, small ores, saplings?

Redone in 12.2.48


PR's failing on travis-ci

The cause is that the test_reporter class needs to be updated to remove account fields deprecated by:
https://github.com/Netflix/security_monkey/commit/c666a012ec65a4ffcb878d148e2af33022c42afd
When I change line 104+ to this:
    account = Account(identifier="012345678910", name="TEST_ACCOUNT",
                      account_type_id=account_type_result.id, notes="TEST_ACCOUNT",
                      third_party=False, active=True)

the tests work.

Should be fixed by #552.  I'll reopen this issue if not.


Could you please release the processed pretraining data?

You can download them at the link: https://huggingface.co/RUCAIBox. Since some datasets have license limitations, we cannot merge them into one dataset. You can merge them by your own.

Thanks. One more question, where can I find the code about a temperature-scaled mixing strategy (Raffel et al., 2020) with a rate of T = 2 to mitigate the disparity in tasks and datasets ? I have not found it in https://github.com/RUCAIBox/TextBox.

The general code of pre-training is still under developping. For pre-training MVP, we just conducted the temperature-scaled mixing strategy by copying instances. You can also use it as a simple alternative.
For example, A dataset has 2 instances and B dataset has 8 instances. We merge them into a unified datasest with the temperature-scaled mixing strategy by doubling the instances in A dataset.


I  don't understand this part of code in diagonaled_mm_tvm.py

algorithm = lambda l, i, q, j: tvm.sum(
tvm.if_then_else(
t3d3 == m,  # if output dimension == m, then t1 is diagonaled (FIXME: This breaks if t3d3 == m == t1d3)
tvm.if_then_else(
transpose_t1 == 0,
tvm.if_then_else(
tvm.all(
i + D[q] * (k - w) >= 0,
i + D[q] * (k - w) < n,
),
X[l, i, q, k] * Y[l, i + D[q] * (k - w), q, j],  # t1 is diagonaled
padding
),
tvm.if_then_else(
tvm.all(
i + D[q] * (k - w_upper) >= 0,  # w_upper to handle the case autoregressive=True
i + D[q] * (k - w_upper) < n,
),
X[l, i + D[q] * (k - w_upper), q, (w_upper + w) - k] * Y[l, i + D[q] * (k - w_upper), q, j],  # # t1 is diagonaled and should be transposed
padding
),
),
tvm.if_then_else(
tvm.all(
i + D[q] * (j - w) >= 0,
i + D[q] * (j - w) < n,
),
X[l, i, q, k] * Y[l, i + D[q] * (j - w), q, k],  # t1 is not diagonaled, but the output tensor is going to be
padding
)
), axis=k)
I got confused by the code above. especially  X[l, i, q, k] * Y[l, i + D[q] * (j - w), q, k]
should't this be a matmul operation ?  but the last two dimension of Y is not transposed.
I only know the basic of TVM,is this some kind of  trick in here ?

This is TVM syntax to describe the computation of the kernel, which TVM compiles to c++.

X[l, i, q, k] * Y[l, i + D[q] * (j - w), q, k],

Good question. Let's simplify this by removing the batch dimension and the heads dimension, and assume dilation = 1, we get
Z[i, j] = X[i, k] * Y[i + (j - w), k]

The dimension of these tensors are:
X: seqlen * hidden_size
Y: seqlen * hidden_size
Z: seqlen * (2w+1) where each column is a "diagonal" of the result matrix if you where to do matmul(X, Y). Basically, each column of Z is a diagonal of the attention matrix (this figure in the paper
 )
This is how we save memory; we don't store the full matmul(X, Y). Instead, we only compute and store its diagonals.

Thanks so much for the answer. I think i figure it out. You guys are doing a great job on this model, learned a lot.


Feature(frontend): error boundary for react

To catch errors, and stop the page from freezing/going white, we should add a top level ErrorBoundary

@soofstad this sounds like a bug? Do you have screenshots or steps to reproduce?


🐛 set hosting cluster context preference in kflex init

Summary

set hosting cluster context preference in kflex init
use "hosting cluster context" instead of "initial context" to make more clear the role of such context

Related issue(s)
Fixes #255

Need to merge #265 first

@pdettori:

and the current context is the hosting cluster context

which can be tested by looking to see if the controlplanes resource exists.

@MikeSpreitzer let me see if I understand your proposal - the idea is not to add a new command to set the hosting cluster context preference (in case is not set or wrong) but rather use kflex ctx to do that, by testing if indeed the current context has the controlplanes API resource and if yes, set the hosting cluster context preference to the current context, if not, the error message should guide the user to use kubectl config use-context to first set the context to the hosting cluster context and then run kflex ctx again.

@pdettori: yes

I think what I am saying is the natural confluence of two things that we already are telling users to expect: (A) kflex ctx sets the kubeconfig current context to the hosting cluster context and (B) if the kubeconfig extension is not present but the current context IS the hosting context then the kubeconfig extension will be written (this was already the case for kflex ctx $my_non_host_cp_name).

@MikeSpreitzer point 2 in #255 has been addressed

Thank you, fixed the type, will go ahead and merge now.


I get game stutter while using this plugin

A fresh install of bakkesmod runs the game without any issues. As soon as this plugin is added though, I get random game and frame stutters. I watched the in-game performance graphs and only saw spikes in those two categories. What should I do/disable to make this run smoothly again?

Have you tried with other plugins or just with RS ?

I've tried with other plugins and no stutter until this plugin is installed. If that wasn't the case though what would be recommended? To cover all my bases here I'd like to try all my options. This plugin is too good for me to give up on using it just because I get game stutter, so I want to try getting this to work properly.

The stutters appear in a match or everywhere ?

I haven't noticed them in the main menu, but in training and matches, I notice them.

In that case, try hiding the menu while in game (it's in the config menu)

I'll give that a shot.

Although the overlay is hidden while in game, the stutter continues.

Can you send me your build ?
(CPU, RAM, GPU, HDD / SSD, ethernet / WiFi)

CPU: AMD Ryzen 9 5950x
RAM: 32 GB DDR4
GPU: GTX 1080
SSD: 4TB
Ethernet: 500+ Down, ~23 Up

Are you using the v1 or v2 overlay ?

V2 I think. Whichever one is default is the one I use.

The one in the README.md file?

Yes.

Can you try with the v1 to see if stutters come from the images?

I'll give it a shot.

In training, still get a stutter.

I have bakkesmod console open during training, I see a stutter in the performance graph, but nothing in the console. so I don't know.

Well I really don't understand because my PC is way worse than yours and it runs fine with ultra video settings.

The joys of custom rigs and windows I guess.

How many plugins do you have loaded ?

Only default, no extras

Try deactivating "Shader Cache" for Rocket League in the NVIDIA Control Panel:
Manage 3D settings > Program settings > Rocket League > Shader Cache > Off
Restart Rocket League and tell me if it changed anything.

👌🏻

Nope, that didn't work either.

Well, I've looked in the source but I can't find code that can be optimized unfortunately.

Damn, alright.


Duplicate labels for documentation-related changes

We currently have type: doc and group: documentation to annotate documentation-related issues and pull requests.
The type: doc is the only other tag with type: service, which I believe
would be better suited in another group, allowing us to standardize on group: documentation, as it (together with the other tags for Ansible and Kubernetes)
is more in line with our current project structure.

This has been fixed, and the component: pydis label (which is documented as being for Python Discord services) has been renamed to properly describe that something concerns the services.


Unable to search the audio or video version of songs.

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.02.10
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

I am unable to search the songs by song name  by bot.


Regenerate GroupsMigration client

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir16 scripts/generate_client.sh GroupsMigration
synthtool > Wrote metadata to clients/groups_migration/synth.metadata.

Closing this one and letting it regenerate with the otp_app fix.


fix(releases): fix promoting old android releases

This PR resolves PHIRE-916
Description

Fixes our android promotion allowing older releases to be promoted.
Our previous attempts have had a few problems:

the google play api doesn't return historical releases only latest release in a track
we tried to work around this by saving builds to s3 and then uploading to promotion but failed with Google Api Error: Invalid request - Version code<PHONE_NUMBER> has already been used because well the version code had already been used
fastlane itself checks if the release you try to promote is returned by the api, if it isn't the latest this will fail

...but you can promote historical releases if you know the version code!
So a not very pretty but working solution:

get the version code from s3 of the historical release, don't bother downloading
monkey patch fastlane to skip verifying a release exists when promoting

There is a pr from another dev in fastlane repo to support similar: https://github.com/fastlane/fastlane/pull/22025
if accepted we can clean this up
PR Checklist

[ ] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

fix android promotion - brian

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (fix android promotion - brian)

  Generated by :no_entry_sign: dangerJS against 28fd1aa367265ca407743888d06ee9b24c9b28b5

any idea when this fix will be release?

any idea when this fix will be release?

Hey there, this is just a workaround to support this for our repo, we are not affiliated with fastlane. there is a pr in fastlane around a similar use case: https://github.com/fastlane/fastlane/pull/22025 so if you are looking for it to get into main I would bump that one!
You are of course welcome to take a look at the approach here if you need a workaround in the meantime.


Failed to create WebView Control Error

Environment
Windows build number: [run "ver" at a command prompt]
Microsoft Windows [Version 10.0.18363.693]
PowerToys version:
0.15.2
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce
When opening PowerToys settings, I receive a Failed to create WebView Control error.

Expected behavior

Actual behavior

Screenshots

#243 is the tracking issue. Thanks for reporting!


Rename 'Select a text' placeholder to 'Select a value' in Filter analysis

Related to: #11861

Tested locally, it just works ✨

retest please

retest this please


visible:false is not work for the fnStateLoadCallback.

i am using a datatable and save the setting into the database for future set same view for the user.
is there any dependancy of the time:1477136846997 ????
Here is my setting which is save into the databse:
{"time":"1477136846997","start":"0","length":"25","order":[["1","asc"]],"search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"},"columns":[{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"false","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"false","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"false","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}},{"visible":"true","search":{"search":"","smart":"true","regex":"false","caseInsensitive":"true"}}]}
and here is the code using which my setting is bind again to the datatable.
fnStateLoadCallback: function(settings) {
            debugger;
            jQuery("#divLoading").show();
            if (user_id != '' && user_id != undefined) {
                var o;
                jQuery.ajax({
                    url: "api/v1/dtsetting/" + orgmethod + '/' + user_id,
                    async: false,
                }).done(function(result) {
                    debugger;
                    result = result['data'];
                    if (result == null) {
                        sett_id = '';

                    } else {
                        sett_id = result.id;
                        o = result;
                    }
                });
                if (sett_id != '') {
                    debugger;
                    var my_data = JSON.parse(o.settings);
                   // var new_return = set_data(my_data);
                    return my_data;
                } else {
                    return false;
                }

            }
        }

but it is display all the column in to the view .
Please help me to solve this issue.

Just need to update the time into the setting and it's work.
if (sett_id != '') {
debugger;
var my_data = JSON.parse(o.settings);
my_data.time = +new Date();
return my_data;
} else {
return false;
}

Thanks for the update, good to hear you have it working now.
In future, please post support requests in the DataTables forums, as requested in the "New issue" template.