NullPointerException in ActiveNotifier.completed()

Plugin version: 2.18.
[Slack Notifications] will send OnUnstableNotification because build matches and user preferences allow it
ERROR: Build step failed with exception
java.lang.NullPointerException
	at jenkins.plugins.slack.ActiveNotifier.completed(ActiveNotifier.java:139)
	at jenkins.plugins.slack.SlackNotifier.perform(SlackNotifier.java:445)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.cleanUp(Build.java:196)
	at hudson.model.Run.execute(Run.java:1857)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Build step 'Slack Notifications' marked build as failure

The line that fails is here:
if (notifier.getCommitInfoChoice().showAnything()) {

notifier isn't null, it's used in the previous line, so it looks like its .commitInfoChoice is null. And picking through the source code, I see that it gets initialized to null in some cases.
In particular, we're configuring Slack notifications via the Jenkins DSL, with some code that looks like this:
if (notificationRoom) {
    slackNotifier {
        room(notificationRoom)
        startNotification(startNotification)
        notifySuccess(notifySuccess)
        notifyAborted(notifyAborted)
        notifyNotBuilt(notifyNotBuilt)
        notifyUnstable(notifyUnstable)
        notifyFailure(notifyFailure)
        notifyBackToNormal(notifyBackToNormal)
    }
}

I think that slackNotifier somehow relates to the @Extension @Symbol("slackNotifier") here
But I have to admit, I'm not familiar with the inner workings of Jenkins plugins, so I'm not entirely sure how that DescriptorImpl ties back to the SlackNotifier parent class. But, it seems like, since we never explicitly pass in a commitInfoChoice, it's remaining null, which later raises an NPE.
Potential fix
Maybe should update the SlackNotifier to default to CommitInfoChoice.NONE.  Probably a good idea to update CommitInfoChoice.forDisplayName() to return NONE for the base case too, instead of null, to avoid causing other such NPEs.
Workaround?
In the meantime, if someone reading this knows of a workaround, we'd love to be able to work around the issue until there's a fix. But I'm not sure how to create a CommitInfoChoice from Jenkins DSL or pass it to the slackNotifier{ ... } code block.

Workaround
Aha, I found a code example at:
https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration#slack
Looks like we can add commitInfoChoice('NONE').
Is there somewhere that documents that other than the Migration page?
Either way, it's still probably a good idea to have a sane default value there. 😄

While a default could be set, I've avoided doing that as I've marked this as a mandatory field, and jobdsl should be picking up that there's a databoundconstructor and requiring all fields to be set.
I don't use job dsl for this but I'll take a PR to add an example to the README.
Or to set the default (😢)...

Closing this, working as intended.


Need solution that will allow updating always-on apps like Dropbox

Same solution as #3 I believe.


OverviewPage set up Redux overviewPageSlice and fetchOverviewPage API call

The OverviewPage at the moment lists two mocked SystemUsers.
We aim to use a list of SystemUsers from the Redux State.
Thus we need to set up the Redux overviewPageSlice,
and populate it with data from the API call to BFF endpoint
GET /systemuser/0
which returns a mock array of 3 SystemUserObjects.
Unfortunately, the mock data per now reflects the old SystemUserObject,
not the new one with attributes ownedBy and controlledBy
(see Repo Wiki update of 23.10.23).
### Tasks
- [x] Set up overviewPageSlice
- [x] Connect slice to Store
- [x] Set up fetchOverviewPage API call BFF endpoint /authfront/api/v1/systemuser/0
- [x] format data and store in Redux State (must be robust to resist outdated BFF SystemUserObject)
- [x] test using Chrome Redux DevTools
- [x] fixing outdated BFF/Swagger SystemUserObject returned by dialogue with Simen
- [x] re-test new SystemUserObject processing in Redux

The received SystemUserObject from BFF now contains 6 key:value pairs,
and all 6 are now represented in the systemUserArray in the overviewPage Redux State slice.


Commenter photo does not support png images

I tried to personalize my commenting presence on someone's blog using commentoplusplus by clicking on the settings (edit profile) link in the comments area.
I gave it a URL to a .png

that is valid and exists (https://micronetia.devtru.st/content/images/2021/01/micronetia-square.png )
It does not display in the comments. Instead there is a blank circle

and if I right click and view image I get a text message:
JPEG decode failed: invalid JPEG format: missing SOI marker
When I change the link to one that is a jpeg one (https://micronetia.devtru.st/content/images/micronetia.jpg )  it works.
The text surrounding the photo box does not mention that jpeg is the only supported format:
Photo
Use an external image hosting service such as Imgur and enter the direct link to the image here. Changes to your profile photo may take a few hours to reflect. Maximum file size allowed is 128 KiB.

Thank you for reporting this! This is definitely a bug.
I have now fixed it as of 0702fdc :)


chore(deps): update dependency webpack-merge to v5.2.0

This PR contains the following updates:

Package
Type
Update
Change

webpack-merge
devDependencies
minor
5.1.4 -> 5.2.0

Release Notes

survivejs/webpack-merge
v5.2.0
Compare Source

Feature - Support advanced merging cases through mergeWithRules #146 #149

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v6.1.1
GitHub release

Your semantic-release bot :package::rocket:


Improved error handler overriding monk's onOpen event

Latest robe's version is including monk's version ^0.9.1. Sadly, this version is ignoring all the database problems thrown by mongodb driver.
manager.js<EMAIL_ADDRESS>function Manager (uri, opts, fn) {
  ...
  this.driver.open(this.onOpen.bind(this));
 ...
}

...

Manager.prototype.onOpen = function () {
  this.emit('open');
};

This bug was solved in following versions, but they are not compatible due to refactors of internal properties checked by robe. For example:
oplog.js (robe@master)
class Oplog extends EventEmitter2 {
  ...
  _resolveServerDb() {
    ...
    // find out master server
    var serverConfig = _.get(self.robeDb.db, 'driver._native.serverConfig', {});
   ...
  }
  ...
}

At this moment, robe is detecting errors using an approach of timeouts, but it is not an elegant solution and it is hiding real errors. For example:
manager.js (robe@master)
class Manager {
  ...
  static connect (url, options = {}) {
    ...
    var connectionTimeout = setTimeout(function() {
      reject(new Error('Timed out connecting to db'));
    }, options.timeout);
    ...
    if (2 !== _.deepGet(db, 'driver._state')) {
      reject(new Error('Failed to connect to db'));
    }
    ...
  }
  ...
}

After some research, I found a solution to fix that callback error without modifying dependencies. You can check I am overriding the monk's prototype to throw the errors and catch them in robe's manager.
manager.js (robe@pullrequest)
monk.prototype.onOpen = function (err, db) {
  this.emit("open", err, db);
};
...
class Manager {
  static connect (url, options = {}) {
    ...
    var db = monk.call(null, url, monkOptions, function monkCallback(err, val) {
      ...
    });
    ...
  }
  ...
}

This change, beside avoid decoupled timeouts, provides the real error message thrown by mongodb and it facilitates debugging errors.

The original robe's timeout has been propagated to mongodb's timeout:
manager.js (robe@pull-request)
class Manager {
  static connect (url, options = {}) {
    ...
    var monkOptions = { connectTimeoutMS: options.timeout };
    ...
  }
  ...
}

It is the equivalent configuration param, as documented in MongoDB official documentation:

connectTimeoutMS=ms
How long a connection can take to be opened before timing out.

Nice. I originally used timeouts because older monk versions really weren't exposing errors - I didn't think of overriding Monk's own methods (generally because overriding a library's internal methods may break other parts of it) but that's a nice touch.

Nice. I originally used timeouts because older monk versions really weren't exposing errors - I didn't think of overriding Monk's own methods (generally because overriding a library's internal methods may break other parts of it) but that's a nice touch.

Seem to be getting build failures though.

Can you check unit tests are being executed properly? I realized URL was malformed in the test case, neverthe it is still failing in Travis despite I didn't modify the URL argument with my commit.
I created a simple PoC following the test case that is failing and it works properly for me.
Source code:
return co.wrap(function * (self) {

  var url = ['<IP_ADDRESS>:27017/robe-test', '<IP_ADDRESS>:17017/robe-test'];

  var conn = yield Robe.connect(url);

  var coll = conn.collection('test');

  var doc = yield coll.insert({'name': 'foo'});

  return doc;

})(this)
.then(function success(doc) {
  console.log('Success', {id: doc['_id'], name: doc.name});
})
.catch(function failure(err) {
  console.error('Failure', err);
});

Output:
Success { id: 57e25b93457200ccc97f49b9, name: 'foo' }

Currently working on v2 (updating to latest Monk, etc) here -> https://github.com/hiddentao/robe/tree/v2

Just published v2. Please try it out and let me know if things work now!

Sorry, I was very busy these weeks. I will try it today and let you know.

I have tested the new version and it is working properly connecting to a standalone server.
Nevertheless, if you try to connect to a replica set and all the servers fail, the callback receives an EventEmitter instead of an Error object. This is not compatible with the following line:
manager.js<EMAIL_ADDRESS>db = monk(url, opts, (err) => {
  if (err) {
    reject(new Error(`Failed to connect to db: ${err.message}`));
  } [...]
});

The EventEmitter instance does not contain the property message, so it returns this weird error:
Failure [Error: Failed to connect to db: undefined]

I think, as I commented in this pull request, the best option is directly return the error object to allow the caller access to the original Error object or, in this case, to the EventEmitter returned by MongoDB's driver.

If you prefer, we can close this pull request and continue the discussion in a new issue.

I think what I'll do is attach the returned error object to the created Error and then that way you'll be able to do whatever you want with it.

That sounds good too!

Done in 2.1.0

Problem resolved. Thank you so much!

You’re welcome :)
--
Ramesh Nair
Director
HiddenTao Ltd (UK company no. 6807289)
http://hiddentao.com
https://github.com/hiddentao
https://www.linkedin.com/in/hiddentao
On 15 October 2016 at 11:48:59, Sergio Regueira<EMAIL_ADDRESS>wrote:
Problem resolved. Thank you so much!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Foundation: correct misleading indentation

The conditions here were over indented.  This corrects the misleading
indentation.

@swift-ci please test


feat: add pymssql to allowed drivers

@cwegener Why go with pymssql over pyodbc out of curiosity ?

There is no ODBC SQL Server driver for non-x86 architectures and there also is no Open Source license available for ODBC SQL Server Driver.


Add class reference for File class

Also change get_as_text() so it returns the whole text properly.

There's a lot of weird reordering of constants in 16ea10c :/

Removed the sync commit.


💡 [Feature]: Allow to install/uninstall an app on a specified site collection using a action in the app catalog app list view

🎯 Aim of the feature
Currently we have a few actions available for each app in the app catalog list.
The idea/aim is to add two new actions which under the hood will use CLI for Microsoft 365 commands:

Install - this will install an app from the specified app catalog in the site. Under the hood it should use m365 spo app install. When clicking on this action we should add prompt for siteUrl which is needed so that we will know to which site we should install the selected app
Uninstall - this will uninstall an app from the specified site. Under the hood it should use m365 spo app uninstall. When clicking on this action we should add prompt for siteUrl which is needed so that we will know to from which site we should uninstall the selected app. We should also prompt for confirmation with a yes/no- notify if the user is sure to uninstall the app.

Tips how to go about it, which should be done similar like already available actions

we should define it as a new app action like this https://github.com/pnp/vscode-viva/blob/59190115e0c676068a3f1a3698e31f3500aee3f6/src/constants/Commands.ts#L56-L62
we should add a new option for it visible in the menu under the app like this https://github.com/pnp/vscode-viva/blob/59190115e0c676068a3f1a3698e31f3500aee3f6/src/panels/CommandPanel.ts#L210-L216
we should handle this new action like this https://github.com/pnp/vscode-viva/blob/59190115e0c676068a3f1a3698e31f3500aee3f6/src/services/actions/CliActions.ts#L54-L56 and add logic for the new method like this https://github.com/pnp/vscode-viva/blob/59190115e0c676068a3f1a3698e31f3500aee3f6/src/services/actions/CliActions.ts#L182
The yes/no prompt may be done similar to this https://github.com/pnp/vscode-viva/blob/59190115e0c676068a3f1a3698e31f3500aee3f6/src/services/actions/CliActions.ts#L539C5-L545C69
we should also update the readme

📷 Images (if possible) with expected result
current state of actions for each app in the app catalog list

🤔 Additional remarks or comments
parent issue #324

Can I work on it?

Can I work on it?

All yours 👍🤩


Add imperial and custom units

This PR has two parts: a .csv file containing common imperial measurements for length, weight, and volume; and changes to the unit and qty functions to accommodate switching between units.
SI and imperial units are automatically loaded from their appropriate .csv files. The unit and qty functions now have an optional units parameter. The units parameter takes a string equal to either "SI", "Imperial", or the name of a local .csv file containing custom units.
Since the default units parameter is "SI", this should not affect any existing code.
Possible problems with this implementation:

Any custom .csv files are loaded per function invocation. This means that for projects with dozens of calls to custom units, performance might significantly degrade
Custom .csv loading only works from the local unify repository, not the directory the main .typ file is in. While this solution means that users no longer have to manually edit the lib.typ file, I need to do more research to find out how to load files from the working directory.

Hi, thanks for your pull request!
It seems @SergeyGorchakov and yourself created two conflicting pull requests at the same time. That means I have to prioritize one of them.
Since the idea of this package is to be similar to LaTeX's siunitx, I'd generally prioritize metrics units over imperial (for now). Sorry.
If you want to adapt your PR to @SergeyGorchakov's mechanism after I merged it, we could talk about unifying the way of switching languages and units.

No problem, I understand! I'll take a look at Sergey's changes and see what I can do. Thanks for taking a look at this.


Laminograph mode default FOV  setting ?

@kylechampley As you can see below, your leapct shows  a circle type slice which looks different from left one. I used two different recon engines, one is leapct(right side) and the other one(left side), and it shows differrent FOV on slice image.
If we use laminography mode, then leapct makes a default circle FOV?  Is there any method to make leapct show full rectangle slice?

Ya, just use the following function: set_diameterFOV.
If you never want to see this circular mask, you can just set this to a really big number, like 1.0e16.

Thanks. it works.


Working with Optax

Seems like a really nice library!
Is it possible to work with optimizers defined via optax rather than from jax.eperimental?

Hey!
So everything should work with optax. In fact, it's probably recommended that you use optax because it removes a lot of the boilerplate code.

Demo PseudoCode
In principle, you shouldn't have to change much. In the regression example, you would first change where you define the optimizer. There are minimal changes here. Then you also have to change the training loop as well. Again, not many changes are needed.
Jax
opt_init, opt_update, get_params = optimizers.adam(step_size=0.01)
opt_state = opt_init(params)

def step(iteration, opt_state):
    params = get_params(opt_state)
    loss_val, grads = jax.value_and_grad(mll)(params, training)
    opt_state = opt_update(iteration, grads, opt_state)
    return opt_state, loss_val

Optax
optimizer = optax.adam(0.01)
opt_state = optimizer.init(params)

def step(opt_state):
    loss_val, grads = jax.value_and_grad(mll)(params, training)
    updates, opt_state = optimizer.update(grads, opt_state)  # transform & update stats.
    params = optax.apply_updates(params, updates)  # update the parameters.
    return opt_state, loss_val

This is pseudocode but I believe the above should work. Let me know if it doesn't!


rtl8723bs: Only include in enableAllFirmware if valid

Motivation for this change

Only include  rtl8723bs in enableAllFirmware if valid
Fix installer test

Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

/cc @aszlig
Marked as WIP until the installer test has run successfully for me

@aszlig The test still fails for me but I am unsure why... It can't mount something?!
machine# mke2fs 1.43.7 (16-Oct-2017)
machine: must succeed: mount LABEL=nixos /mnt
machine# [    7.406404] NET: Registered protocol family 17
machine# [    7.409768] dhcpcd[674]: eth0: soliciting a DHCP lease
machine# [    7.410760] dhcpcd[674]: eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
machine# '/nix/store/1hlam3dg6qkdlr1i44k09cmirfz5clf9-busybox-1.27.2/bin/ln' -> '/nix/store/rglbbv9ikd1afwk90jvgf90dkjhl23ic-extra-utils/bin/ln'
machine# [    1.577882] systemd[1]: Unnecessary job for /dev/disk/by-uuid/b021d3f8-c201-4bde-9747-c81eb18156e5 was removed.
machine# '/nix/store/1hlam3dg6qkdlr1i44k09cmirfz5clf9-busybox-1.27.2/bin/grep' -> '/nix/store/rglbbv9ikd1afwk90jvgf90dkjhl23ic-extra-utils/bin/grep'
machine# [    1.578905] systemd[1]: Reached target Remote File Systems.
machine# [    1.579561] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
machine# [    7.415325] dhcpcd[674]: eth0: leased <IP_ADDRESS> for 86400 seconds
machine# [    1.580389] systemd[1]: Created slice System Slice.
machine# [    1.581251] systemd[1]: Mounting Huge Pages File System...
machine# [    7.618466] EXT4-fs (vda3): mounting ext3 file system using the ext4 subsystem
machine# [    1.582263] systemd[1]: Mounting Kernel Debug File System...
builder for ‘/nix/store/cqhp3z5lsb5dcvzpq4jcsgbkmk1sdpp8-vm-test-run-installer-luksroot.drv’ failed with exit code 255
error: build of ‘/nix/store/cqhp3z5lsb5dcvzpq4jcsgbkmk1sdpp8-vm-test-run-installer-luksroot.drv’ failed

Ah, I think this is because of #31615

@NeQuissimus - Any progress on this?  I needed to include this patch while bootstrapping NixOS on a new platform, so it'd be nice if we could get it merged upstream here 😃

@GrahamcOfBorg test installer

Success on x86_64-linux (full log)
Partial log (click to expand)

Success on aarch64-linux (full log)
Partial log (click to expand)

@grahamc What's going on with the empty logs? :D

This should work just fine. ;)

@fpletz If you say so :D

This PR was accidentally undone. Now rtl8723bs-firmware is included twice: first unconditionally and then conditionally
https://github.com/NixOS/nixpkgs/blob/b1bda26ec09b2c3c57ca8a59b6359e62141e89d3/nixos/modules/hardware/all-firmware.nix#L50-L59


Support test.pypi.org

Sometimes I need do some test under https://test.pypi.org, is there anyway to do that?

Yes, you can do it by setting TWINE_REPOSITORY environment variable to testpypi. If not specified by default it will upload to main pypi repository. Here's the official documentation of twine for more information: https://twine.readthedocs.io/en/latest/

Okay, thanks a lot!


"Log for Attempt #x" takes me to irrelevant log page

Steps to Reproduce
I was looking at the devicelab cull_opacity_perf__timeline_summary test failure on Android today:

When I click on either Log for Attempt #1 or Log for Attempt #2 it takes me to this logs page. Unfortunately, nothing in the logs seems to have to do with the test in question (notice that the logs are from some iOS test, while I'm looking at an Android test):

/cc @CaseyHillers @godofredoc

Triage: we'd remove the stack driver logging.


Fails with some pdfs

Vortex is not working for some pdfs. Here is one error:
Error: Try { file: "/home/waweru/.cargo/git/checkouts/pdf-2fe412da58dbfdde/340b35c/pdf/src/file.rs", line: 427, column: 23, context: Context([]), source: FromPrimitive { typ: "RcRef < Catalog >", field: "root", source: Shared { source: Try { file: "/home/waweru/.cargo/git/checkouts/pdf-2fe412da58dbfdde/340b35c/pdf/src/file.rs", line: 149, column: 27, context: Context([]), source: UnspecifiedXRefEntry { id: 974737 } } } } }

This seems to be an issue with the pdf crate. Can you provide the pdf file if possible to reproduce the error ?

ooc.pdf
There it is.


[QUESTION] Would you be willing to separate out env.el as a separate package?

I was looking for alternatives to exec-path-from-shell as it was a bit slow and I stumbled over doom's own env.el. It would be a great alternative as a separate package for people that don't want to load doom but build their own configuration.
If not, what is the proper etiquette and procedure should I want to do this myself, at least as a learning experience?

Sorry for the late response: I'd be happy to do so. I'll look into doing so within the next week or two. I'll keep you posted.


Feature request: add API for changing the URL

Hi,
I might have a bit of an unusual workflow. I need to first provide a url where the SPA resides, and then load that in th webview.
In order to let the user enter the url, I've a simple HTML form  with a text input. The problem arises afterwards, as there is no way to load the URL in the webview and still keep the external invoke callback.
I've tried a few things, which all failed to achieve the desired goal:

Setting the location with javascript.  This works fine until I tried calling back go with window.external. Problem is that the external object isn't injected in the new location.
This should itself be fixed, since the SPA has a redirect anyway, and the invoke function is never defined when I need it.

Loading the SPA via document.documentElement. That doesn't work since the SPA links are relative, and it can't find any of its resources.

Opening a second webview with the SPA when the user submits the URL form. That works, however it seems that neither Terminate nor Exit actually close the previous webview window.

Perhaps a 'setLocation' would be nice, with perhaps a channel/callback that can be used to Eval new JS code in the new location.

I discovered the same issue. The problem I found after some digging (and maybe you've since discovered) is that the API simplifies the javascript invocation call in the webview init function:
webkit_web_view_run_javascript(       WEBKIT_WEB_VIEW(w->priv.webview),       "window.external={invoke:function(x){"       "window.webkit.messageHandlers.external.postMessage(x);}}",       NULL, NULL, NULL);
So really if you just use the actual call or if you Eval the above javascript for each new page you load everything should work fine.
I did also add to the C/C++ api a function which Redirects the page and then does the Eval above if you're interested in that.

I have a feeling that using "webkit.messageHandlers..." isn't portable across all supported OSes.

Shoot. Good call. That looks to be correct. I should have thought about that, but was just too excited that I found the solution for Linux.
For MacOS:
"window.external = this; invoke = function(arg){ "                    "webkit.messageHandlers.invoke.postMessage(arg); };"
For Windows the native call seems to actually be window.external.invoke()
Implementing a redirect function as I have for Linux looks to be fairly trivial for MacOS, but not so much for Windows.
I may try to implement this if I get some time, but in the meantime the above information should at least be enough for a hack to get around the limitation

I include the following javascript in all my pages:
if (navigator.platform != "Win64" && navigator.plaform != "Win32") {
    window.external = this;
    if (navigator.platform == "MacIntel") {
        invoke = function(x) {
            webkit.messageHandlers.invoke.postMessage(x);
        };
    } else {
        invoke = function(x) {
            window.webkit.messageHandlers.external.postMessage(x);
        };
    }
}

and then clicking on links doesn't break window.external.invoke();


BadStatusLine

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17
[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

youtube-dl https://www.itv.com/watch/emmerdale/Ya0524/1a8694a9701 --verbose
C:\Users\User\Videos\youtube-dl Downloads>youtube-dl https://www.itv.com/watch/emmerdale/Ya0524/1a8694a9701 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.itv.com/watch/emmerdale/Ya0524/1a8694a9701', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-109856-gf8d6d0fbf1-20230213, ffprobe 2023-02-13-git-2296078397-full_build-www.gyan.dev
[debug] Proxy map: {}
[generic] 1a8694a9701: Requesting header
WARNING: Could not send HEAD request to https://www.itv.com/watch/emmerdale/Ya0524/1a8694a9701: ''
[generic] 1a8694a9701: Downloading webpage
ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); please report this issue on https://yt-dl.org/bug.
Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to
call youtube-dl with the --verbose flag and include its complete output.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\utils.py", line 2737, in https_open
File "C:\Python\Python34\lib\urllib\request.py", line 1186, in do_open
File "C:\Python\Python34\lib\http\client.py", line 1227, in getresponse
File "C:\Python\Python34\lib\http\client.py", line 386, in begin
File "C:\Python\Python34\lib\http\client.py", line 356, in _read_status
Description

WRITE DESCRIPTION HERE
Up to 30/06/2023 I was downloading the ITV News okay & Emmerdale as well as other programmes. I think it was from February 2023 that using a version on youtube-dl it was working again after it had stopped on or about 17/11/2022. So, as from the 30/06/2023 it stopped working & I'm getting 'BadStatusLine' error with the Emmerdale link as above. That link is valid until Monday 12th July 2023. Also, when entering the link on the command line (DOS Prompt) it says 'Requesting Header' for a very long time before eventually the error comes up. Just out of interest etc I can download the ITV News using the STV TV link and the Emmerdale link as well. I did do a search on the whole of the GitHub site & the only reported 'BadStatusLine' error was about 6years ago & it wasn't for the ITV TV.

This BadStatusLine typically means that the remote server, or some censorship gateway between you and it, sent an empty response. Although the symptom is different, #32410 is the new underlying problem that has to be solved before worrying about this. Please follow that issue and any resulting PR so that you can test any resulting update.
STV has a different video hoster and the extractor logic is entirely different.


Choose LWM2M version for Leshan Client

Currently Leshan v1.x support LWM2M v1.0 and Leshan v2.x support LWM2M v1.1.
And only servers have backward compatibility* with common major version.
More concretely that means that :

Leshan v1.x servers support only LWM2M v1.0 client.
Leshan v2.x servers should support LWM2M v1.0 and v1.1 client.
Leshan v1.x client only behave as LWM2M v1.0 client.
Leshan v2.x client only behave as LWM2M v1.1 client.

A possible enhancement would be to make possible to configure a Leshan v2.x client to make it behave as a LWM2M v1.0 client or a LWM2M v1.1 client.
This could make easier to write some compatibility tests.
See https://github.com/eclipse/leshan/issues/1241 discussion for more details.

This could be a great feature but also lot of more work to maintain it. We don't plan to work on this at short / mid term.
But let us know if you are interested or in you want to work on this.

For now, if you need a LWM2M v1.0 client for your tests you need to use Leshan v1.x.
This could be an issue if you want to write some junit tests with Leshan v2.x as server and Leshan v1.x as client because of package/class name conflicts.
With maven a solution could maybe be to use maven-shade-plugin to relocate leshan v1.x package name.
See : https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#relocations
(I didn't test it so not sure it works)


Bottom Navigation Bar

This will be done after all the activities are made. Bottom navigation bar has to be made and will feature all the main screens as tabs to switch to such as home, settings, favorites, history

all worked together on separate fragments and there respective layouts as well as making and tweaking the bottom navigation bar as needed


Add wordmark-less DigitalOcean icon

Name with link
DigitalOcean: https://www.digitalocean.com/
Description
I'm asking for a wordmark-less version, similar to how other logos come with both a full version and an icon only version (e.g. Google Domains).
Link to the vector file, preferably from an official source
https://github.com/gilbarbara/logos/blob/main/logos/digital-ocean.svg

Added in 5d365d6566feda9301b95dffa57825728410ce01


Set-User ignores -whatif (Exchange Online)

Apologies if this is not the appropriate venue, but I couldn't find another location to submit a bug report.
Issue:
Set-User<EMAIL_ADDRESS>-AuthenticationPolicy SuperStrictPolicy -whatif
The whatif is accepted as a parameter, but ignored, and the authentication policy gets updated.
Service: Exchange Online
Command: Set-User

https://github.com/MicrosoftDocs/office-docs-powershell/issues/3842

@officedocsbot assign @yogkumgit

@chrisda Please merge this PR #3927

@dariomws306  Thank you very much for the contribution and updating the documentation with PR. @lc9er Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


📝 Update includes for docs/de/docs/advanced/path-operation-advanced-configuration.md

📝 Update includes for docs/de/docs/advanced/path-operation-advanced-configuration.md

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


Fix resizing to max image size

This is an Android fix that fixes resizing to the max image size such as when the quality is set to 0.  I found having the debug logs were helpful in troubleshooting but can remove them if  preferable.
Let me know if you have any other suggestions or prefer any modifications as I didn't see any contributors guide.  Thanks.

@davidquon  Would you happen to ave the syntax to call this?  I need a camera plug that saves thumbs


feat(Publish): Detect diffs between a revision and published collection

Need
As a curator, I would like to know when I have made changes that are different from the original collection.
Approach
Solution 1: published_at
Add published_at to DbCollection. This field is a timestamp that says when the collection was published, or empty if the collection has never been published. A revision would have the same published_at value as the original collection. We can detect if the user has modified the collection or its datasets if the updated_at time stamp for the collection or any of its children are greater than published_at.
This does not have the ability to detect if the user has actually made changes or submitted the same information again. This could confuse the user who may think they made changes when there is no visible difference.
Solution 2: Compare
Retrieve both the revision and the published collection and compare the fields. If they diverge we can alert the user. Some fields will naturally differ because of the revision process and must be ignored when comparing. These fields are collection.visibility, dataset.collection_visibility, created_at, and update_at. dataset.original_uuid should be compared with the published dataset with the matching dataset.id
Definition of Done

[ ] Do solution 2 on the frontend.

Spike
Determine how difficult it would be to compare the private and publish collection information on the frontend or backend.

@seve to add additional details in the definition of done.

Already in prod!


[branch-2.0] enable hive view by default

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

run buildall


 Try decreasing size of the data you're generating (with e.g. max_size or max_leaves parameters).
E   See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test.

tests/test_angle.py:23: FailedHealthCheck

From this build

This can also be replicated with:
pytest tests/test_shape.py::TestShape --hypothesis-seed=334389414029864824516805282579769109245


Pin openssl ltr

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Try to fix #299

@conda-forge-admin, please rerender

@gillins not sure this is our best option. My Linux machine runs openssl 3.0.2 and has qgis installed any issues. Not sure what changed on our end.

@conda-forge-admin, please rerender

@h-vetinari Do we need it on build as well?
We should do this on QCA as well, right?

@h-vetinari Do we need it on build as well?
We should do this on QCA as well, right?

Host is fine (except occasionally in cases like cross-compilation)
And yes, you should link it to every output that needs to link to OpenSSL

@gillins Probably better to wait for the QCA merge, right? https://github.com/conda-forge/qca-feedstock/pull/30

Yes I think so

@conda-forge-admin, please rerender


Question: how to  get repomap from python?

Issue
Hi,
For my personnal RAG project I was thinking I might add a code parser and wanted to play with aider's repomap as strings by adding a Langchain document loader using aider.
But I couldn't find in the docs or intuitively how to get a repomap directly in python, can anyone shed some light here?
Thanks!
Version and model info
No response

Thanks for trying aider and filing this issue.
coder.get_repo_map()

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


Copilot Chat: Extend OcrOptions in Copilot sample app to include Cognitive Services / Form Recognizer

I've recently added in the ability to read in rasterized image formats as part of the document import functionality within the Copilot sample application using the Tesseract open source library.  I'd like to add Cognitive Services as another option and possibly some of the other major cloud provider OCR services since I occasionally work with those when building .NET backends.

Hi @davearlin, thanks for your contribution! Please submit your PR when it's ready.

Resolved with https://github.com/microsoft/chat-copilot/pull/26


Update input-tabular-input.md

Upper case title, as used in other pages

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues

Thanks.


How did you visualize the  similarity matching score maps in Figure 5 of your paper?

@suhwan-cho Thank you very much for your good work. How did you visualize the  similarity matching score maps in Figure 5 of your paper?Can you share the code to visualize similarity Matching Score Maps?Thank you. My email is<EMAIL_ADDRESS>Thank you very much.

Hi @longmalongma!
In BMVOS, the similarity matching scores are in the range of 0 to 1 theoretically, but the values are not evenly distributed in real cases. For a clear comparison, I linearly normalized the values in each score map to have the lowest value of 0 and the largest value of 1. Then, I visualized the normalized scores through heatmaps.

Hi @longmalongma!
In BMVOS, the similarity matching scores are in the range of 0 to 1 theoretically, but the values are not evenly distributed in real cases. For a clear comparison, I linearly normalized the values in each score map to have the lowest value of 0 and the largest value of 1. Then, I visualized the normalized scores through heatmaps.

@suhwan-cho Ok, thanks for your reply, Can you provide yourcode for this visualization?

After saving the normalized scores in PNG format, I generated the heatmaps using the code below.
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt

for k in [1, 2, 3, 4, 5, 6]:
    for i in [1, 4, 16, 'inf']:
        im = np.array(Image.open('../output/{}/{}.png'.format(k, i)))
        im = im[:, :, 0]
        im = np.flip(im, axis=0)

        fig = plt.pcolormesh(im, cmap='jet')
        plt.axis('off')
        fig.axes.get_xaxis().set_visible(False)
        fig.axes.get_yaxis().set_visible(False)
        plt.savefig('../output/{}/new_{}.png'.format(k, i), bbox_inches='tight', pad_inches=0)

After saving the normalized scores in PNG format, I generated the heatmaps using the code below.
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt

for k in [1, 2, 3, 4, 5, 6]:
    for i in [1, 4, 16, 'inf']:
        im = np.array(Image.open('../output/{}/{}.png'.format(k, i)))
        im = im[:, :, 0]
        im = np.flip(im, axis=0)

        fig = plt.pcolormesh(im, cmap='jet')
        plt.axis('off')
        fig.axes.get_xaxis().set_visible(False)
        fig.axes.get_yaxis().set_visible(False)
        plt.savefig('../output/{}/new_{}.png'.format(k, i), bbox_inches='tight', pad_inches=0)

@suhwan-cho Thank you very much! Similarity matching scores is a tensor, how to save similarity matching scores into PNG form.Can you provide all the codes for feature visualization?

I just saved it directly.
torchvision.utils.save_image(fg_sim, '../sim.png')

I just saved it directly.
torchvision.utils.save_image(fg_sim, '../sim.png')

@suhwan-cho Ok, how to linearly normalized the values? Do you use Softmax?

torchvision.utils.save_image(fg_sim, '../sim.png')

What are the dimensions of fg_sim?How to convert to the correct dimension?

Linear normalization literally means linearly normalizing the values like below.
A = A - min(A)
A = A / max(A)

The size of fg_sim is BxHWxHxW and Bx1xHxW before and after query-wise maximum operation, respectively. For a visualization, I used the latter.

Linear normalization literally means linearly normalizing the values like below.
A = A - min(A)
A = A / max(A)

The size of fg_sim is BxHWxHxW and Bx1xHxW before and after query-wise maximum operation, respectively. For a visualization, I used the latter.

@suhwan-cho What function do you use to reduce the HW pool to 1?

As I described, query-wise maximum operation.

Linear normalization literally means linearly normalizing the values like below.
A = A - min(A)
A = A / max(A)

The size of fg_sim is BxHWxHxW and Bx1xHxW before and after query-wise maximum operation, respectively. For a visualization, I used the latter.

@suhwan-cho What function do you use to reduce the HW pool to 1?
@suhwan-cho What is A here?H and W?

As I described, query-wise maximum operation.

@suhwan-cho         A = mem.max(dim=1, keepdim=True)[0]                  Is it ok?

As I described, query-wise maximum operation.

@suhwan-cho How many epochs will it take to save the image to have the effect as shown in Figure 5?

Visualization in training or visualization in testing?

As I described, query-wise maximum operation.

Why do I generate feature visualizations that are very bad?

You just need to load the pre-trained model and save fg_sim as I described above. Then it will produce the similarity score maps as in the paper.

You just need to load the pre-trained model and save fg_sim as I described above. Then it will produce the similarity score maps as in the paper.

@suhwan-cho I'm sorry that I can't achieve the effect in your paper by myself.
You can obtain a heatmap image using the code I attached before.
tv.utils.save_image((fg_sim - torch.min(fg_sim)) / torch.max(fg_sim - torch.min(fg_sim)), '../sim.png')


[BUG]

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The label matching of the alarm silence policy does not take effect
Expected Behavior
Label matching takes effect
Steps To Reproduce

Environment
HertzBeat version(s): v1.3.1

Debug logs
No response
Anything else?
No response

do you mean can search the alarm sk=lience policy by tag? @tomsun28

no, the bug is Tag Match is not take effect.
eg: we config Tag Match tag xxx-ttt, but the alert silence not effect the alert with tag xxx-ttt


Update tests to use qiskit_algorithms

This PR is a pre-requirement for the removal of qiskit.algorithms from qiskit (https://github.com/Qiskit/qiskit/pull/11086), but is currently blocked by the release of the latest version of qiskit_nature. As a temporary solution, this PR skips the nature test, which should be restored once the nature 0.7 release is out.

LGTM now, thanks for the update


Add restart button

Pull Request Test Coverage Report for Build 14

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 12:
0.0%

Covered Lines:
26

Relevant Lines:
26

💛  - Coveralls


[docs] Add accessibility tip for static Chips

Closes #20172

[x] I have followed (at least) the PR section of the contributing guide.

What about this demo https://material-ui.com/components/chips/#chip-array? Should we update it too? This effort makes me think of https://vuetifyjs.com/en/components/chip-groups/#chip-groups.

@oliviertassinari

What about this demo https://material-ui.com/components/chips/#chip-array? Should we update it too?

I don't think we need to update it because all Chips are read like buttons. We don't have a demo with only static Chips to add the role attribute.

This effort makes me think of https://vuetifyjs.com/en/components/chip-groups/#chip-groups.

Vuetify's Chip group takes another approach by using the tabindex attribute. Maybe we could follow this path in a new ChipGroup component.

@m4theushw What do you think of updating the pull request to match the direction @eps1lon has suggested? (ul > li)
Alternatively, I wonder if #20172 isn't outside of our focus, meaning: a generic concern 🤔.

@oliviertassinari Demo updated.

Alternatively, I wonder if #20172 isn't outside of our focus, meaning: a generic concern 🤔.

Maybe, in the future a container component for Chips could be created to abstract the ul.

@m4theushw Great work, thanks!


huge mess

Oh no
oh no oh no
AAAAAAAAA
well long story short you pushed your changes when I hadn’t commited but had changes and uh, I pulled and pushed and checked out and reverted and removed conflicts and created more and made a ginormous mess
yeesh, sorry

Wait I think I fixed it

I was about to test this but ok lol


[ Feature Request ] - clear model from vram

Hey hey!
I was working with the plugin today and ran into a hiccup where my video card ran out of memory.
Is there a way to add a button that clears the model from memory?
From there, one could restart the A-P-SD plugin and continue working

I'll look into it to see if it's possible to unload the model from the api. Though I'm not sure if it's even possible to do that from the webui.


 I copied all my images and texts into folder (image_name.[png/jpg], image_name.gt.txt).
Now i run this command:
make training MODEL_NAME=eng
START_MODEL=eng
MAX_ITERATIONS=100
PSM=7
TESSDATA=/path/to/tessdata
GROUND_TRUTH_DIR=/path/to/folder/with/images/and/texts
It produces .lstmf, .box and .txt file for every image in the folder with message:

tesseract /path/to/folder/with/images/and/texts/15_6_1617880355_1319177.png
/path/to/folder/with/images/and/texts/15_6_1617880355_1319177 --psm 7 lstm.train
Tesseract Open Source OCR Engine v4.1.0 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.

Then the training starts.
My problem: For some images second command does not produce .lstmf, .box, .txt files, but tesseract is still waiting for them, so training does not start.
Thanks for help.

Our problem: we don't know your images, but need one of those which don't work.

For example from this image Tesseract never generates .lstmf, .box, .txt.

Thanks, confirmed.

There is an (unrelated) bug in src/ccmain/pagesegmain.cpp: read_unlv_file is called with a buggy name argument.

I tried to run training with less images including image "Benesov" mentioned above. Lstmf file was not generator for the "Benesov" image, it was skipped and training started. if I run training with all my images, training never starts.

Tesseract does not find a text box in this image. It tries to find lines, finds none (why?) and also does not use --psm 7 as a fallback and accept the whole image as a line.
Call stack:
#0  tesseract::line_edges (x=0, y=87, xext=210, uppercolour=1 '\001', bwpos=0x611000006a80 "", prevline=0x61c000000080, free_cracks=0x7fffffff88c0, outline_it=0x7fffffff8ce0)
    at ../../../src/textord/scanedg.cpp:185
#1  0x0000000001ca7615 in tesseract::block_edges (t_pix=..., block=0x60f000000138, outline_it=0x7fffffff8ce0) at ../../../src/textord/scanedg.cpp:99
#2  0x0000000001c5c805 in tesseract::extract_edges (pix=..., block=0x60f000000130) at ../../../src/textord/edgblob.cpp:330
#3  0x0000000001ebf79b in tesseract::Textord::find_components (this=0x7ffff183e5f0, pix=..., blocks=0x6020000064d0, to_blocks=0x7fffffff9c80)
    at ../../../src/textord/tordmain.cpp:224
#4  0x0000000001e9b2ef in tesseract::Textord::TextordPage (this=0x7ffff183e5f0, pageseg_mode=tesseract::PSM_SINGLE_LINE, reskew=..., width=210, height=88, binary_pix=...,
    thresholds_pix=..., grey_pix=..., use_box_bottoms=false, diacritic_blobs=0x7fffffff9c60, blocks=0x6020000064d0, to_blocks=0x7fffffff9c80)
    at ../../../src/textord/textord.cpp:185
#5  0x0000000000b34cca in tesseract::Tesseract::SegmentPage (this=0x7ffff181a800, input_file=0x6060000033e0 "114025495-7830ed00-9875-11eb-8889-a9c9ea4003a7.png",
    blocks=0x6020000064d0, osd_tess=0x0, osr=0x7fffffffa3a0) at ../../../src/ccmain/pagesegmain.cpp:172
#6  0x000000000058fc0d in tesseract::TessBaseAPI::FindLines (this=0x7fffffffdb40) at ../../../src/api/baseapi.cpp:2187
#7  0x0000000000591ea9 in tesseract::TessBaseAPI::Recognize (this=0x7fffffffdb40, monitor=0x0) at ../../../src/api/baseapi.cpp:837
#8  0x00000000005a12f9 in tesseract::TessBaseAPI::ProcessPage (this=0x7fffffffdb40, pix=0x606000003380, page_index=0,
    filename=0x7fffffffe668 "114025495-7830ed00-9875-11eb-8889-a9c9ea4003a7.png", retry_config=0x0, timeout_millisec=0, renderer=0x0) at ../../../src/api/baseapi.cpp:1254
#9  0x00000000005a71fe in tesseract::TessBaseAPI::ProcessPagesInternal (this=0x7fffffffdb40, filename=0x7fffffffe668 "114025495-7830ed00-9875-11eb-8889-a9c9ea4003a7.png",
    retry_config=0x0, timeout_millisec=0, renderer=0x0) at ../../../src/api/baseapi.cpp:1217
#10 0x00000000005a3102 in tesseract::TessBaseAPI::ProcessPages (this=0x7fffffffdb40, filename=0x7fffffffe668 "114025495-7830ed00-9875-11eb-8889-a9c9ea4003a7.png",
    retry_config=0x0, timeout_millisec=0, renderer=0x0) at ../../../src/api/baseapi.cpp:1070
#11 0x00000000004e635a in main (argc=6, argv=0x7fffffffe398) at ../../../src/api/tesseractmain.cpp:782

@DavidHribek, you could try removing the left black border from the image. The image can also be cropped below the text. Maybe one of those modifications might fix the problem.

Tesseract in non training mode will also fail.
This is a know issue.
Try this command (ImageMagick):
convert  img.png  -bordercolor White -border 10x10 img.png


INVALID_CLIENT: Invalid redirect URI

Describe the bug
I get an error after added Spotify Client Id and Spotify Client Secret to the Audio Source Settings.
I used the latest version audio-band. Could you check about his issue?

Inside your Spotify Dashboard, open up your application, click edit settings and add http://localhost:80 to your redirect urls
(see image for guidance)

For sure. I already completed this step as your guide!
https://i.imgur.com/mH3hykr.png

Oh I think I made a mistake setting up something, for now you also have to add http://localhost to it, I'll patch it in a bit

After adding two other lines. It's work well now!


Question: Spring data Pageable still not working

I tried to create a feign client for my REST service controller in Spring.
@PostMapping("/search")
public Page<MeasureDto> searchMeasures(@RequestBody MeasureDto example, Pageable pageable) {
    ...
}

The client looks like this:
@PostMapping("/search")
public Page<MeasureDto> searchMeasures(@RequestHeader("apiKey") String apiKey, @RequestBody MeasureDto example, Pageable pageable);

Following exception is thrown when running a test:

Caused by: java.lang.IllegalStateException: Method has too many Body parameters: public abstract org.springframework.data.domain.Page com.foo.bar.jobservice.client.MeasureServiceClient.searchMeasures(java.lang.String,com.example.foo.jobservice.client.dto.MeasureDto,org.springframework.data.domain.Pageable)

What I already know/tried:
There is a closed issue on github: https://github.com/spring-cloud/spring-cloud-netflix/issues/556
The issue with the commit that should have resolved the problem:
https://github.com/spring-cloud/spring-cloud-openfeign/issues/26
The commit:
https://github.com/spring-cloud/spring-cloud-openfeign/commit/6e0e63644ba34193f03c2cd74391cac73b9bfdb4
What i configured:
import feign.codec.Encoder;
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.support.PageJacksonModule;
import org.springframework.cloud.openfeign.support.PageableSpringEncoder;
import org.springframework.cloud.openfeign.support.SpringEncoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@EnableFeignClients
@Configuration
public class FeignConfig {

    @Bean
    public PageJacksonModule pageJacksonModule() {
        return new PageJacksonModule();
    }

    @Autowired
    private ObjectFactory<HttpMessageConverters> messageConverters;

    @Bean
    public Encoder feignEncoder() {
        return new PageableSpringEncoder(new SpringEncoder(messageConverters));
    }
}

Still not working.
What I am using:
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.1.RELEASE</version>

<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.2.3.RELEASE</version>

What am I doing wrong?

Stackoverflow link: https://stackoverflow.com/questions/63115610/spring-data-pageable-does-not-work-with-feign-client

oops I m

sorry might be wrong here...


open file +typo fix manga-cli

corrected the file opening section with the fix proposed @eduardomdc . And corrected the typo in the flags section from "download_manga" to "search_manga"

fixed with 71ad3a52babb6a56c6562a21eb44a059c0bb8222

fixed with 71ad3a52babb6a56c6562a21eb44a059c0bb8222


Possible error in the example

The site has this example:
// trust all hosts for SSL connections, don't validate keys
currentMailerBuilder.trustingAllSSLHosts(true);

However I don't found this method in API, only trustingAllHosts. So the example has a problem?

Yep, you're right, the documentation is behind! Thanks for the heads up, I'll have it fixed with the next release...

In fact, aside from the type, there was a wrong example where withSMTPPort (withSMTPServerPort) was used instead of withProxyPort.

As 6.0.0-rc1 was released, the new website is now live!


Links information

Hello! I wanted to report about outdated info on some links in Engines and Frameworks section.

Agen (http://2dengine.com/): I don't see any engine named Agen on their site. There are some tutorials in Development section, but other than that there isn't any engine.
AndEngine (http://www.andengine.org/): site returns "Forbidden" error.
Bacon2D (http://bacon2d.com/): turned into some Swedish site about online gambling.
Cerberus X (https://www.cerberus-x.com/wordpress/): link returns "Not found" error, but there is a forum at https://www.cerberus-x.com/community/index.php when going to https://www.cerberus-x.com/, so it's probably better to link there.
Cocos Creator (http://cocos2d-x.org/docs/editors_and_tools/creator/index.html): page leads to some docs, while it has its own page at https://www.cocos.com/en/creator.
Construct 2 (https://www.scirra.com/): it's Construct 3 now. Also consider changing emoji from 💸 to 💰, since free version is trial one.
CopperCube3D (http://www.ambiera.com/coppercube/): it's called just CopperCube on their site. Also emoji should be changed from 💰 to 💸, since there free version.
Defold (http://www.defold.com/): emoji should be changed from 🆓 to 🎉, since it's open-source (https://github.com/defold/defold).
Gorgon (https://www.tape-worm.net/): site returns "Forbidden" error.
Havok Vision (http://www.havok.com/vision-engine/): site returns "Not found" error, and there is no Vision in their projects.
Hive3D (http://www.eyelead.com/hive/): site returns "Not found" error. But there is a working link about Hive3D at https://www.eyelead.com/sites/hive/.
Loom SDK (http://loomsdk.com/): probably should be mentioned that its development has stopped, but sources still avaliable at https://github.com/LoomSDK/LoomSDK.
Lumberyard (https://aws.amazon.com/pt/lumberyard/): better to use English link instead of Portuguese (https://aws.amazon.com/lumberyard/).
MOAI (http://getmoai.com/): can't connect to server.
Monkey2 (http://monkeycoder.co.nz/): can't connect to server.
nuklear (https://github.com/vurtun/nuklear): development moved to https://github.com/Immediate-Mode-UI/Nuklear.
OpenXRay (https://github.com/OpenXRay/xray-16): emoji should be changed from 💸 to 🎉, since it's open-source and only paid option is Open Collective page for donations.
Origamijs (http://origamijs.com/docs): redirect to some Slovenian site about online gambling.
PandaJS (http://www.pandajs.net/): doesn't load properly.
Pixel Vision 8 (https://twitter.com/PixelVision8): probably it's better to link at https://pixelvision8.github.io/PixelVision8Website/, since it's their site with landing. Also emoji should be changed from 💸 to 🎉, since it's open-source (https://github.com/PixelVision8/PixelVision8) and only paid option is the paid mailing list.
QICI (http://www.qiciengine.com/): can't connect to server.
Xenko (http://xenko.com/): it's called Stride now.

Also I'm suggesting to add DungeonScript (http://dungeonscript.farbs.org/) to Engines and Frameworks section.

hey @RadRussianRus thanks for the updates! about the missing links, i have an outaded script to check that and theres already an issue to fix that. I will fix the others.

Also it seems that Corona SDK (https://coronalabs.com/) is now Solar2D (https://solar2d.com/), and it's open-source (https://github.com/coronalabs/corona).


Update scala3-library_3 to 3.2.0

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

Files still referring to the old version number
The following files still refer to the old version number (3.1.3).
You might want to review and update them manually.
.github/workflows/ci.yml
docs/website/package-lock.json

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala3-library_3" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala3-library_3" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #1008.


Improve parameter support & support mixins w/ registerRoute

registerRoute now takes an optional param array on its configuration object; this array can contain strings that will trigger existing mixins (like filter to be applied to the generated handler:)
site.handler = site.registerRoute( 'myplugin/v1', 'collection/(?P<id>)', {
    // Listing any of these parameters will assign the built-in
    // chaining method that handles the parameter:
    params: [ 'filter', 'before', 'after', 'author', 'parent', 'post' ]
});
// yields
site.handler().forPost( 8 ).author( 92 ).filter( 'etc', 'etera' )...

but if the params array contains a parameter name string that does not map to an existing parameter setter, a basic setter for that parameter will be auto-generated:
site.books = site.registerRoute( 'myplugin/v1', 'books/(?P<id>)', {
    params: [ 'genre' ]
});
// yields "myplugin/v1/books?genre[]=19&genre[]=2000"
site.books().genre([ 19, 2000 ]).toString()

Full changes:

Add support for all the most common first-party query parameters (where commonality is a function of number of routes on which the parameter can be used successfully):

_embed, context, exclude, include, offset, order, orderby, page, perPage, search, and slug are supported wherever WPRequests are sold (closes #178)

Add ability to apply existing mixins to registerRoute-registered
handler methods by referencing the parameter name (fixes #203)
Add ability to auto-generate a basic .param() convenience wrapper
for any given query parameter when using registerRoute
Document .param method & its derivatives (fixes #226)
Pork-Barrel the addition of a 404 page to the docs site
Remove skipped test blocks for deprecated methods
Clean up and standardize several test files
Resolve some general docs issues

Lots of moving parts in this, but not as many as it seems:

Add more query parameters to WPRequest itself

M       lib/constructors/wp-request.js
M       lib/endpoint-request.js
M       lib/mixins/index.js
M       lib/mixins/parameters.js
M       tests/unit/lib/constructors/wp-request.js
M       tests/unit/lib/mixins/parameters.js

Add better support for mixins and custom parameters to registerRoute

M       lib/wp-register-route.js
M       tests/unit/lib/wp-register-route.js

Expand, Correct & Improve docs generally, and add docs for new functionality:

M       CONTRIBUTING.md
M       README.md
M       documentation/_sass/_base.scss
M       documentation/_sass/_layout.scss
M       documentation/index.html.combyne

Added 404 page

A       documentation/404.html
A       documentation/404.html.combyne
M       build/scripts/generate-docs-markdown.js

Refactor out utility methods to create & apply parameter setters:

A       lib/util/apply-mixin.js
A       lib/util/parameter-setter.js
A       tests/unit/lib/util/apply-mixin.js
A       tests/unit/lib/util/parameter-setter.js

Remove dead tests & standardize test naming

M       tests/unit/route-handlers/media.js
M       tests/unit/route-handlers/pages.js
M       tests/unit/route-handlers/posts.js
M       tests/unit/route-handlers/users.js
M       tests/integration/taxonomies.js
M       package.json

Add integration tests for /types endpoint

A       tests/integration/types.js

Awesome - thanks!


Fix #58532: fix terminal scroll position when opened

Fixes #58532

@DBjelovuk did you gain any insights into the root cause of this while investigating? I suspect a change in xterm.js would be the best fix for this.

@Tyriar I've tried approaches like calling the xterm's scrollToBottom() and directly calling syncScrollArea() from the _core object with no success. Definitely seems to be an xterm issue needing further investigation, but figure this could serve as a temporary patch job in the interim.

@Tyriar I've made an adjustment to xterm  that should allow this to be refactored with a simple this._xterm.syncScrollArea(true).
Problem was the viewport's underlying _refresh() wasn't being invoked as buffer didn't change.

Fixed in https://github.com/xtermjs/xterm.js/pull/1698


Driver status / release plans

Hi,
What is the current status of the driver? Is a proper release planned anytime soon for Melodic / Noetic? According to https://github.com/PepperlFuchs/ROS_driver/issues/12 it was planned to be finished two months ago.
Is there a way we can help?

Thanks for your interest. There are still some minor bugs being fixed but the state of the driver has improved considerably since the issue you mentioned. We are currently targeting Melodic, but porting to Noetic shouldn't be much of an effort. Once it is ready for Melodic, I can create a new issue with TODOs to move to Noetic where you could chip in.

Sorry for re-opening this issue but could you give more clarity about the release plan?

ping @ipa-hsd

Once https://github.com/PepperlFuchs/ROS_driver/pull/26 is merged, the current development will come to an end for now. Then it would be ready for release.

Thanks for your reply :)

Hi @ipa-hsd , I see that the PR is merged. How far are we from an official release? Can we help in some way?

@ipa-hsd ping

@ipa-hsd, could you please provide some timeline or point in a direction where we can help? If not, we will start our own fork (which is ofcourse not the goal of any open source project).

The PRs have been merged. The Pepperl-Fuchs team (of which I am not part of) is taking a decision about the release. It would be great if you could test the driver on Noetic until then and make a new issue with the errors you come across. Thanks!


feat: completed itegration of bedrock provider

Screencast from 25-12-24 07:33:49 PM IST.webm
fix #20
/claim #20

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


Fix setup for old SSL library versions

Currently the macro guard for manually setting up the OpenSSL library for multi-threaded use is confusing.
First, openssl/opensslv.h has to be included to use OPENSSL_VERSION_NUMBER. Otherwise OPENSSL_VERSION_NUMBER (= 0) < 0x01010000fL always holds. There is no bug here, this just creates unnecessary complexity imo.
Second, the correct unsigned long for version 1.1.0 is 0x10100000L, not 0x(0)1010000fL. The format is 0xMNN00PP0L where M := major, N := minor and P := patch version.
I also added a macro guard for manually setting up locking procedures for GnuTLS. This has been discouraged since version 2.11.0 and deprecated since 3.7.3.
See changelog: https://gitlab.com/gnutls/gnutls/-/blob/master/NEWS?ref_type=heads#L4521
and commit: https://gitlab.com/gnutls/gnutls/-/commit/fe1b3846c8c34a103da138e375f435f72fa042a6
and deprecation: https://gnutls.org/reference/gnutls-gnutls.html#gnutls-global-set-mutex
Finally, I removed the call to initialize GnuTLS since curl handles it ever since version 7.32.0, if the CURL_GLOBAL_SSL flag is set upon initialization (which it is).

coverage: 60.016% (+0.002%) from 60.014%
when pulling eaf88f166028dcd2bca6664191c0067ca1fbaf77 on antecrescent:master
into 3bf65d9fb9d23bcda8cf184ede3fa223b65edd95 on newsboat:master.


A highlighting for unused variables for javascript

Make a built-in highlighting for unused variables for javascript. Sometimes I have some unused variables but VSCode doesn't highligh them and this is not convenient

Duplicate of #15710


Correct links in "getting-started-guides/mesos"

FOUND IN VERSION (Details about the version, e.g. 0.7. Please list the other versions which this bug exist.)
[ master ]
PLATFORMS e.g. 'uname -a':
[ web ]
COMMANDS OR DAEMONS: -- list all related components
[ n/a ]
DESCRIPTION: -- symptom of the problem a customer would see
[ Several links in http://kubernetes.io/docs/getting-started-guides/mesos/ actually do not work now, such as known issues. ]

Has any progress been made in resolving this issue? I'm having a lot of trouble figuring out how to deploy Kubernetes to my Mesos cluster without the vital information provided in the guides.


Bully scholarship Edition

Describe the bug
Game crashes on boot up
Remix 0.2.0
RTX 3070ti
Latest GPU driver
Steam
Attach logs!
NvRemixBridge.log
D3D9.log
Bully_d3d9.log
To Reproduce
Steps to reproduce the behavior:
click on exe
Expected behavior
the game should boot to the menu
Screenshots
If applicable, add screenshots to help explain your problem.

Hi, I do confirm that still crashes with and without latest SilentPatch instaled.
Version: remix-0.5.0+dac740ce
Freezes on intro video (logos), no frame update untill crashes, can hear video but all you see is splash image with RTX Remix popup that dissapears after 10 seconds reminding alt+x shortcut.
Clean installation:
d3d9.log
Bully_d3d9.log
NvRemixBridge.log
And then

(Updated DirectX Installation from redistributables and window is now blank)
SilentPatch: (Tried with dinput8.dll and dinput.dll ASI Loader)
d3d9.log
NvRemixBridge.log

Thank you for confirming! This looks to be the same issue as reported in #461, which is tracked as REMIX-3036. We'll close this as a duplicate to keep our issue list clean, and I'll add this info to our internal ticket. You can subscribe to #461 for updates, and to provide us any further info if you have it. Thanks!

Dupe of #461


fixed(improvement): megadraft lighthouse score page

Related Issue
Update library react-scroll for latest version
Adjustment lighthouse score with improvement html for best pratices PR - 389 (https://github.com/globocom/megadraft/pull/389)
Proposed Changes

Update react-scroll and adjustment score lighthouse with href with #MenuBar in linkScroll for scroll
Add meta tag <meta name="viewport"> not only optimizes your app for mobile screen sizes, but also prevents a 300 millisecond delay to user input.
Add display swap in font family from google recomendation with this article css tricks and controlling font performance

Please, could you remove the package-lock.json?


I've noticed that OSMnx now depends on this behaviour and tests fail when run against GeoPandas main. This PR issues a patch.

Thank you.


Docker+Netbox on Debian

Im working with Debian 8.0 on a virtual machine. Is there a way for me to install Netbox without using an image, which come with a limited functionality?

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.


A version of select() with a compile-time mask would be nice

At least on x86, the fastest intrinsics for shuffling the contents of a vector or blending data from two vectors take an immediate operand, which must be a compile-time constant. So there would be a use case for a compile-time version of xsimd::select(), as it could use these faster instructions.
An example of prior art for this is the shuffle() instruction family in bSIMD:

https://developer.numscale.com/bsimd/documentation/v<IP_ADDRESS>/group__group-swar_gac4dd4f45009924713f58bf5c40a62c3f.html#gac4dd4f45009924713f58bf5c40a62c3f
https://developer.numscale.com/bsimd/documentation/v<IP_ADDRESS>/group__group-swar_gab1f32ee4b2a364d8307d1552cf1969d1.html#gab1f32ee4b2a364d8307d1552cf1969d1
https://developer.numscale.com/bsimd/documentation/v<IP_ADDRESS>/group__group-swar_ga5bfddb50bf40fbc420825e9fa531af54.html#ga5bfddb50bf40fbc420825e9fa531af54
https://developer.numscale.com/bsimd/documentation/v<IP_ADDRESS>/group__group-swar_ga968d1ee51e3c5beaf0d59a3ebb22892f.html#ga968d1ee51e3c5beaf0d59a3ebb22892f

After some experimenting, I realized that this would also require a sizeable fraction of batch_bool to be constexpr, which is not straightforward to do in the current design (which e.g. calls SIMD intrinsics in constructors).
Maybe a dedicated type would be needed for compile-time flags, in addition to batch_bool for run-time flags. How nasty...

template <uint64_t P, class T, size_t N, size_t... I>
auto get_bool_from_bits(std::index_sequence<I...>)
{
	return batch_bool<T, N>((P & 1 << I)...);
}

template <uint64_t P, int B, class T, size_t N>
struct select_impl
{
	batch<T, N> operator()(batch<T, N>& a, batch<T, N>& b)
	{
		return select(get_bool_from_bits<P, T, N>(std::make_index_sequence<N>()), a, b);
	}
};

template <class T, size_t N>
struct select_impl<0b01010101, 64, T, N>
{
	batch<T, N> operator()(batch<T, N>& a, batch<T, N>& b)
	{
		std::cout  << "64bitz";
		return _mm256_unpacklo_epi64(a, b);
	}
};

template <class T, size_t N>
struct select_impl<0b01010101, 32, T, N>
{
	batch<T, N> operator()(batch<T, N>& a, batch<T, N>& b)
	{
		return _mm256_unpacklo_epi32(a, b);
	}
};

template <class T, size_t N>
struct select_impl<0b00110011, 32, T, N>
	: select_impl<0b01010101, 64, T, N>
{
	using select_impl<0b01010101, 64, T, N>::operator();
};

template <uint64_t P, int B = -1, class T, size_t N>
auto select(batch<T, N>& a, batch<T, N>& b)
{
	constexpr int BC = B == -1 ? sizeof(T) * 8 : B;
	return select_impl<P, BC, T, N>{}(a, b);
}

this is my initial draft of what this could look like.
Good thing is that there is an automatic fallback to the "slower" select.

Here is a version annotated with my reading notes:
// === IMPLEMENTATION ===

// Generates a batch_bool bitmask for the run-time version of select()
template <uint64_t P, class T, size_t N, size_t... I>
auto get_bool_from_bits(std::index_sequence<I...>)
{
    // You may want to parenthesize (1 << I) to clarify what is happening here
    return batch_bool<T, N>((P & 1 << I)...);
}

// Default implementation of select with a compile-time mask...
template <uint64_t P, int B, class T, size_t N>
struct select_impl
{
    batch<T, N> operator()(batch<T, N>& a, batch<T, N>& b)
    {
        // ...which forwards to the run-time select impl if no compile-time overload is available
        return select(get_bool_from_bits<P, T, N>(std::make_index_sequence<N>()), a, b);
    }
};

// ...then we define optimized select impls with a compile-time mask, when available

// On SSE 4.1 or later, you should use the "blend" intrinsic family (not to be
// confused with "blendv", which is about run-time selection) to perform
// efficient selects on compile time operands.
//
// Quick comparison:
//  - Latency of blend is always 1 clock cycle, blendv was 2 cycles on HSW/BDW
//  - CPI throughput of blend is 0.33 cycles on recent CPUs, was 0.5 on IVB.
//              For blendv it is 1    cycle  on recent CPUs, was 2 cycles on HSW/BDW

// Unpacklo does not do what you think it does! It collects all its data from
// the lower half of _both_ inputs, not reading from the higher half!
//
// Given [A1, A2, A3, A4] and [B1, B2, B3, B4], unpacklo will give you
// [A3, B3, A4, B4], which makes it useless for implementing select.
//
// OTOH, the fact that unpacklo mixes together the actions of picking data
// from two vectors and moving data around in a vector is the most likely
// reason why Boost.SIMD mixes together shuffling and blending/selecting.
//
template <class T, size_t N>
struct select_impl<0b01010101, 64, T, N>
{
    batch<T, N> operator()(batch<T, N>& a, batch<T, N>& b)
    {
        std::cout  << "64bitz";
        return _mm256_unpacklo_epi64(a, b);
    }
};

// Same remark applies here.
template <class T, size_t N>
struct select_impl<0b01010101, 32, T, N>
{
    batch<T, N> operator()(batch<T, N>& a, batch<T, N>& b)
    {
        return _mm256_unpacklo_epi32(a, b);
    }
};

// Same remark applies here
template <class T, size_t N>
struct select_impl<0b00110011, 32, T, N>
    : select_impl<0b01010101, 64, T, N>
{
    using select_impl<0b01010101, 64, T, N>::operator();
};

// From a quick read through the Intel intrinsics, my understanding is that
// there is no way to leverage compile-time knowledge of the selection mask
// on Intel processors with SSE < 4.1

// === PUBLIC INTERFACE ===

// T, N = Parameters to batch<T, N>
// P = Select mask
//     -> Integer type should depend on N and T (think e.g. ARM SVE)
// B = Size of the element type in bits (-1 to use T)
//     -> Can be used to e.g. shuffle pairs of int32_t as int64_t
template <uint64_t P, int B = -1, class T, size_t N>
auto select(batch<T, N>& a, batch<T, N>& b)
{
    // Decodes B, then forwards to select_impl
    constexpr int BC = B == -1 ? sizeof(T) * 8 : B;
    return select_impl<P, BC, T, N>{}(a, b);
}

TL;DR I like your fallback to run-time select, but your overloads of compile-time select are incorrect. On SSE 4.1+ and AVX, you can use the "blend" family of intrinsics to implement the operation, and on older processors, there does not seem to be a way to leverage compile-time knowledge of the mask so you should let the run-time select fallback do its job.

Ok, here is the second proposal ;)
template <class B>
struct selector_immediate;

template <class T, std::size_t N>
struct selector_immediate<batch<T, N>>
{
	using type = int32_t;
};

template <typename selector_immediate<batch<float, 8>>::type P, class T>
batch<T, 8> select(batch<T, 8>& a, batch<T, 8>& b)
{
	auto res = _mm256_blend_ps(bitwise_cast<batch<float, 8>>(a),
						       bitwise_cast<batch<float, 8>>(b),
						       P);
	return bitwise_cast<batch<T, 8>>(res);
}

template <typename selector_immediate<batch<double, 4>>::type P, class T>
batch<T, 4> select(batch<T, 4>& a, batch<T, 4>& b)
{
	auto res = _mm256_blend_pd(bitwise_cast<batch<double, 4>>(a),
						       bitwise_cast<batch<double, 4>>(b),
						       P);
	return bitwise_cast<batch<T, 4>>(res);
}

int main()
{
	batch<int32_t, 8> a(1, 2, 3, 4, 5, 6, 7, 8);
	batch<int32_t, 8> b(10, 20, 30, 40, 50, 60, 70, 80);
	batch<int64_t, 4> x(10, 20, 30, 40);
	batch<int64_t, 4> y(1, 2, 3, 4);
	std::cout << select<0b1100>(x, y) << std::endl;
	std::cout << select({1, 1, 0, 0}, x, y) << std::endl;
	auto c = select<0b11001100>(a, b);
	auto d = select<0b11001100>(b, c);
	auto f = select<0b11001100>(c, c);
}

optionally we could also use/support this syntax: select<1, 1, 1, 1, 0, 0, 0, 0>(a, b) to make us "immune" against streaming vector extensions ...

That looks pretty nice!
One question which I would have is, why do Intel propose multiple versions of the blend intrinsic for different data types (_ps, _pd, _epi32)? Is it just for programmer convenience, or can it have an impact on the generated code?
In the former case, your bitwise_cast solution is the right one, as it avoids more code duplication between int32/float and int64/double than we already have (and the intrinsic backing bitwise_cast is guaranteed by Intel to have no run-time effect). In the later case, we may need to keep one overload per CPU-supported data type.

Another question, considering the construction of immediates. The current design is quite specialized for blend/select use cases. Do we expect to have other use for boolean mask immediates in the future?
If not, it is best to keep a specialized design, which is easier to understand. If yes, we may want to devise a more general construct for building boolean immediates. Besides the two approach that you mention (unsigned integer as a pack of bits and boolean parameter pack), another possible interface design that we could steal from boost.simd is to pass a constexpr function from index to bool.

it's been part of xsimd API for a long time now, see  the doc


Use of incomplete or partially invalid messages in sessions

Context and Problem Statement
Currently, it is possible to access fields of an incomplete or even partially invalid message, as only the validity of a single field is checked before the access. This might be an unexpected behavior.
Example
   type M is
      message
         A : T;
         B : T;
         C : T;
      end message;

      In_Msg : Messages::M;
   begin
      state Start is
      begin
         I'Read (In_Msg);
      transition
         goto Copy
            if In_Msg'Has_Data
         goto Terminated
      end Start;

      state Copy is
      begin
         Out_Msg := Messages::O'(A => In_Msg.A, B => In_Msg.B);
      transition
         goto Reply
      exception
         goto Terminated
      end Copy;

Copy will be reached and Out_Msg will be created without exception, even if In_Msg.C was missing or invalid during parsing.
Considered Options
O1 No implicit check for completeness of validity of message (current behavior)
+ Full flexibility
− Potential unintentional use of an incomplete or partially invalid message
O2 Check completeness and validity of message implicitly after Read and transition to exception state in case of error
+ Prevents unintentional use of an incomplete or partially invalid message
− Adds requirement for exception transition in all IO states containing Read
Decision Outcome
TBD

I think the implicit checking of completeness and validity of a message should be preferred (O2). I'm not aware of a use case where the current behavior would be required (O1).

I think this can be closed as the problem was addressed in https://github.com/Componolit/RecordFlux/issues/1067.

I think this can be closed as the problem was addressed in #1067.

I don't see how #1067 addresses the problem of this design ticket. With the implementation of #1067 we enabled the creation of incomplete messages. But while #1067 is about creating messages, this issue is about the validity of received messages. We have to decide if we want to allow using potentially incomplete or invalid messages after 'Read (O1) or if we want to add implicit validity checks after 'Read (O2).

I see. I initially thought this ticket was a result of the discussion if we wanted to allow the creation and usage of incomplete messages (e.g. to be used for signing).


friends_sessions.dart: _DecisionDialogState.initState. -> _CastError: Null check operator used on a null value

Issue on sentry

Fixed by #165


Automate all-contributors things (via the bot) or remove it completely

It's a bit tedious to maintain and to track how did what.
I don't want to spend time on this kind of activities as my time is limited and that currently not a lot of people contribute to this bindings.
We can try to setup the bot https://github.com/all-contributors/all-contributors-bot

I think this is not relevant since now we have splitter in many repo.
Also GitHub have proper views for this (eg: https://github.com/reason-react-native/reason-react-native/graphs/contributors)


Updated extract.py to fix KeyError issue

Some videos have only adaptiveFormats, or only normal formats. This prevents keyErrors from happening when attempting to access such a video. This is a slight adjustment of https://github.com/nficano/pytube/pull/607 to be more robust.
cc: @RONNCC

Coverage increased (+0.02%) to 94.202% when pulling 5bd8185d05614d5f8a3c2a7e12dd05a1f78e19d2 on tfdahlin:fix/key-error-formats into d68bda847356bdc69f3aae8cca2668e7a36c9a21 on nficano:master.

Coverage increased (+0.02%) to 94.202% when pulling 5bd8185d05614d5f8a3c2a7e12dd05a1f78e19d2 on tfdahlin:fix/key-error-formats into d68bda847356bdc69f3aae8cca2668e7a36c9a21 on nficano:master.


RFC: Tuple for drain_messages

PR summary
I just updated the ghost_actor crate for now... If we're liking how this is working, I can update the rest of our monorepo.
Review checklist

[ ] The story has unit or integration tests
[ ] No new bugs, and any tech-debt is identified and justified
[ ] There is enough API documentation (how to use)
[ ] There is enough code documentation (how the code works)

I don't like this as it adds yet another concept and don't see the value gain.
Maybe rename take_message() to take_payload() because I find msg.take_message() a bit confusing.


yubikey-manager{,-qt}: update

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build yubikey-manager yubikey-manager-qt

Whoops, I accidentally hit "squash and merge" instead of letting it do a normal merge; sorry for messing up your nice commit messages.


Release Google.Cloud.TelcoAutomation.V1 version 1.0.0-beta02

Changes in this release:
New features

Support for the STATUS_NOT_APPLICABLE entity status (commit 3ed0d6e)
Support for the WORKLOAD_CLUSTER_DEPLOYMENT blueprint deployment level (commit 3ed0d6e)

Documentation improvements

Clarified Deployment.workload_cluster field description (commit 3ed0d6e)

Created release for Google.Cloud.TelcoAutomation.V1-1.0.0-beta02


Add randomStartCell boolean to particle sprite animations

Feature request
For an animated sprite sheet on a particle, we set particleSystem.startSpriteCellID and particleSystem.endSpriteCellID currently. Lets say I have a 4 x 4 sprite sheet, I would set:
particleSystem.startSpriteCellID = 0;
particleSystem.endSpriteCellID = 15;
But what I want to add is a boolean that says:
particleSystem.randomStartCell = true;
This would allow me to start the animation at a random cell between 0 and 15. The reasoning for this is if I am doing a smoke system, for example, and have an animated smoke sprite, I don't want particles emitted at the same time to mirror each other's animation. Having a random offset from the first frame and then looping will hide the fact that they are all using the same animation without close scrutiny.

The property will be spriteRandomStartCell  = true


Update Octicons

Related to #36053 #10455 #8017
This issue is to track the progress of updating our version of Octicons (3.1.0) to the latest version (8.2.0). We'll need to create the work to convert the latest versions (svg) back into an icon font. Below are the requirements for this work:

[x] Convert svgs into icon font
[x] Include backward compatibility
[x] Map old unicodes to new icons
[ ] Remove unnecessary font files
[ ] Add/update proper licenses

Working branch can be found under misolori/octicon-update. Below is a list of the new additions:

arrow-both
bold
eye-closed
fold-down
fold-up
grabber
italic
kebab-horizontal
kebab-vertical
logo-gist
note
plus-small
project
screen-full
screen-normal
smiley
tasklist
text-size
unverified
verified

Please refer to Octicon's Changelog for a full list of updates.
:octocat: :heart:

@misolori Is this also going to address https://github.com/Microsoft/vscode/issues/57237 ?

@NavyAdmiral this is only for addressing Octicons, which are only used in the status bar.
#57237 will be likely be address when we get to #8017, which I'm hoping to start on this iteration.


[Enhancement] Let's Fix Snackbar

Summary
First of all, I am not sure if this should be issued as a Bug or Feature Request, but I think since the original Spec of Snckbar designed it this way, it's not really a bug and since there is no better issue template like "Refine feature" or so, I'm going with the Feature Request issue Template.
I did use the search and couldn't find any issue on this Topic, so I started this one.
IMHO the Snackbar is broken, because it requires the page to be called and especially for MVVM flows this won't allow the user to Display a Snackbar or Toast.
While thinking about it, I couldn't come up with a reason, why the page is needed for it. A Snackbar or Toast is going to always be displayed on the CurrentPage. I can't think of a reason why one would like to display a Snackbar on any other page than the current.
Sure, when we talk about Multi-Window Application, or even a TwoPaneView, but neither for a Multi-Windows Application nor for a TwoPaneView  a Page will be sufficient to decide where to display the Snackbar or Toast.
But may be I am totally wrong about this, in this case I am looking forward to have a nice discussion about this :)
API Changes
Therefor I suggest to change the Snackbar to always display on the CurrentPage so it'll be accessible from everywhere and can be part of the Dependency-System or just as a static class. In the Renderer we should have access to the current page and this feature should be quite easy to implement.
Intended Use Case
Display Snackbars and Toast from everywhere in your App
Who Will Do The Work?

[ ] I am willing to take this on myself
[x] Just putting this out there for someone to pick up

Hi @dersia thanks for the proposal, could you please read https://github.com/xamarin/XamarinCommunityToolkit/issues/504 and check whether it is the same as this or no ?

@Cfun1 thanks! Yeah, looks like a duplicate. Will close this one and put my thoughts into the other issue, becuase I think we should be discussing Multi-Window and TwoPaneView as part of this


Fix/db reuse connection mark pending

Codecov Report

Merging #964 (83d4e04) into main (1660b9d) will decrease coverage by 1.12%.
The diff coverage is 60.00%.

:exclamation: Current head 83d4e04 differs from pull request most recent head 9d0c6db. Consider uploading reports for the commit 9d0c6db to get more accurate results

@@            Coverage Diff             @@
##             main     #964      +/-   ##
==========================================
- Coverage   43.18%   42.06%   -1.13%
==========================================
  Files         244      244
  Lines       13545    13546       +1
==========================================
- Hits         5850     5698     -152
- Misses       7695     7848     +153

Impacted Files
Coverage Δ

lnbits/tasks.py
36.84% <0.00%> (ø)

lnbits/core/models.py
65.57% <75.00%> (+0.28%)
:arrow_up:

lnbits/extensions/boltz/mempool.py
60.34% <0.00%> (-32.76%)
:arrow_down:

lnbits/wallets/cln.py
19.00% <0.00%> (-29.76%)
:arrow_down:

lnbits/wallets/lndrest.py
17.09% <0.00%> (-29.06%)
:arrow_down:

lnbits/extensions/boltz/boltz.py
49.75% <0.00%> (-18.91%)
:arrow_down:

lnbits/db.py
80.80% <0.00%> (-9.61%)
:arrow_down:

lnbits/wallets/macaroon/macaroon.py
27.53% <0.00%> (-5.80%)
:arrow_down:

lnbits/extensions/boltz/crud.py
81.53% <0.00%> (-3.08%)
:arrow_down:

lnbits/bolt11.py
78.57% <0.00%> (-2.39%)
:arrow_down:

... and 2 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


how getting fingerprint device id in java ?

i tried to follow the documentation
// Initialization
Fingerprinter fingerprinter = FingerprinterFactory
				.getInstance(getApplicationContext(), new Configuration(4));

// Usage
fingerprinter.getFingerprint(new Function1<FingerprintResult, Unit>() {
        @Override
        public Unit invoke(FingerprintResult fingerprintResult) {
        	String fingerprint = fingerprintResult.getFingerprint();
        	    return null;
            }
        });

but what is function1 and unit ? unit refer to kotlin unit and i try to test in java

Hello!
Make sure you added kotlin-stdlib as a dependency to the module where you plan to use the library.  kotlin-stdlib is a small library that  has great backward and forward compatibility, so it won't cause troubles for your java application.
dependencies {
  // Add this line!!!
  implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.31"

  implementation "com.github.fingerprintjs:fingerprint-android:1.2"
}

After you did it – Android Studio will suggest you corresponding imports.

Thank you for replay but i still cant figure what is function1

Function1 is an analog for lambda function for Java 6.
Kotlin initially was supporting lambdas while Java 6 does not. Due to have interoperability with Java 6 this class appeared. If Java in your project has version which supports lambdas, Android Studio will suggest you simplify this to:
fingerprinter.getFingerprint(fingerprintResult -> {
    String fingerprint = fingerprintResult.getFingerprint();
    return null;
});

fingerprinter.getDeviceId(deviceIdResult -> {
    String deviceId = deviceIdResult.getDeviceId();
    return null;
});