Refine zorder plan

Why are the changes needed?

Change origin OptimizeZorderCommand to OptimizeZorderStatement which holds the parsed plan
Add OptimizeZorderCommand which delegate an another command(e.g. InsertIntoHive) to execute; the reason we should add a new command (not reuse InserIntoStatement) is we may need to implement read and overwrite same table in future. And also it's tricky to add InserIntoStatement during analyze.
Change ZorderBeforeWrite to ResolveZorder, so we can resolve OptimizeZorderStatement to OptimizeZorderCommand

So the code should look cleaner
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

cc @qphien @hzxiongyinke @cfmcgrady @yaooqinn @pan3793

Codecov Report

Merging #1055 (223f68e) into master (e3ba77c) will decrease coverage by 0.07%.
The diff coverage is 77.46%.

:exclamation: Current head 223f68e differs from pull request most recent head d252d35. Consider uploading reports for the commit d252d35 to get more accurate results

@@             Coverage Diff              @@
##             master    #1055      +/-   ##
============================================
- Coverage     78.70%   78.62%   -0.08%
- Complexity       61       73      +12
============================================
  Files           169      170       +1
  Lines          6249     6270      +21
  Branches        725      724       -1
============================================
+ Hits           4918     4930      +12
- Misses          907      914       +7
- Partials        424      426       +2

Impacted Files
Coverage Δ

...in/scala/org/apache/kyuubi/sql/zorder/Zorder.scala
15.00% <0.00%> (ø)

...rg/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala
41.66% <0.00%> (ø)

...he/kyuubi/sql/zorder/OptimizeZorderStatement.scala
60.00% <60.00%> (ø)

...a/org/apache/kyuubi/sql/zorder/ResolveZorder.scala
68.18% <68.18%> (ø)

...ache/kyuubi/sql/zorder/OptimizeZorderCommand.scala
84.21% <84.21%> (+2.39%)
:arrow_up:

...apache/kyuubi/sql/zorder/ZorderSqlAstBuilder.scala
33.57% <94.11%> (+0.49%)
:arrow_up:

...pache/kyuubi/sql/KyuubiSQLExtensionException.scala
100.00% <100.00%> (ø)

...rg/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala
88.88% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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

thanks for review, merged to master


update for GitLab v7.13.2

add locally compiling pkg because it didn't work anymore
add Node.js to dependencies
change git tag for GitLab to v7.13.2
update GitLab shell to v2.6.3
use system libraries for nokogiri because the bundle was missing header files

Thanks. I've since migrated to Gogs, would you be interested in picking this up for FreeNAS?
Do you have any experience with creating FreeNAS plugins, I think this would make a great plugin for most people rather than using the scripts.


Vickel: Watch homeaesthetichub.com

Vickel requests the watch of the watch_keyword homeaesthetichub\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

homeaesthetichub\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Body text is hardly readable in docs

I am trying to read the good doc on https://polymer.github.io/lit-html/, but on Windows 10/Chrome the body text is hardly readable.
Please increase the font-weight from 300 to at least 400.
Thanks!
Anders

cc @keanulee

I made some CSS changes and staged them at https://keanulee.github.io/lit-html/. Can't really tell the difference on my Windows 10 VM, but it does look more readable on my MacBook.

MUCH more readable on Windows 10 / Chrome 69 for me.

Before

Looks much better across browsers. I'd also recommend a responsive template for mobile. Not a high priority, but, you know. . . . 😁

Does this have something to do with antialiasing?


Schema id check#173

Goal
The goal of this PR is: As the network, we do not want messages to be able to be added to non-existent schemas.
Closes #173
Checklist

[x] Implement a generic SchemaProvider Trait and implement for schema pallet
[x] Add documents for newly implemented trait
[x] Add unit test testing the negative route
[x] Benchmarks added
[x] Weights updated

💯 nice work!

You can just ignore the response if err and return the dummy value
On Thu, Jul 7, 2022, 7:34 PM Puneet Saraswat @.***>
wrote:

@.**** commented on this pull request.
In pallets/schemas/src/lib.rs
https://github.com/LibertyDSNP/frequency/pull/223#discussion_r916415127:

+impl<T: Config> SchemaProvider for Pallet {

#[cfg(not(feature = "runtime-benchmarks"))]
fn get_schema_by_id(schema_id: SchemaId) -> Option {

Self::get_schema_by_id(schema_id)

}
/// Since benchmarks are using regular runtime, we can not use mocking for this loosely bounded
/// pallet trait implementation. To be able to run benchmarks successfully for any other pallet
/// that has dependencies on this one, we would need to define msa accounts on those pallets'
/// benchmarks, but this will introduce direct dependencies between these pallets, which we
/// would like to avoid.
/// To successfully run benchmarks without adding dependencies between pallets we re-defined
/// this method to return schema checks requested by the benchmark to also be some.
#[cfg(feature = "runtime-benchmarks")]
fn get_schema_by_id(schema_id: SchemaId) -> Option {

Some(SchemaResponse {

One way to do it is to have another function to do db write in setup ( not
sure that counts in calculating weights if so it's not going to work) then
this read will come through
But it's a hacky way if possible
—
Reply to this email directly, view it on GitHub
https://github.com/LibertyDSNP/frequency/pull/223#discussion_r916415127,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACF2P5ISJYSWUJI3QWWJ5ZLVS6HSLANCNFSM52YON5TQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Haha sometimes default mode of thinking is just too complex , good stuff


fix import error version.py for fedora 39 [SRE-7997]

Package build failure on fedora 39, seen below:
[2024-01-21T10:54:07.962Z] + python3 setup.py install --root=/srv/jenkins/workspace/aiven-deps-mb-f38-x86_64_main/rpmbuild/BUILDROOT/pglookout-2.0.2-11.fc39.x86_64
[2024-01-21T10:54:07.962Z] Traceback (most recent call last):
[2024-01-21T10:54:07.962Z]   File "/srv/jenkins/workspace/aiven-deps-mb-f38-x86_64_main/rpmbuild/BUILD/pglookout-028ba9e6002c8a50c6c7f8147ab02620e12f12f7/setup.py", line 4, in <module>
[2024-01-21T10:54:07.962Z]     import version
[2024-01-21T10:54:07.962Z]   File "/srv/jenkins/workspace/aiven-deps-mb-f38-x86_64_main/rpmbuild/BUILD/pglookout-028ba9e6002c8a50c6c7f8147ab02620e12f12f7/version.py", line 9, in <module>
[2024-01-21T10:54:07.962Z]     import imp
[2024-01-21T10:54:07.962Z] ModuleNotFoundError: No module named 'imp'

@alexole Looks good to me (and I double-checked by running it locally) but I don't have merge power on that repo.

@kmichel-aiven apparently I don't have too, will need to fix that and will merge.


encryption key boxes cant contain encryption keys

Description
this is part of the "no reason" fill failures

let me have a looksie


Automated daily update to rustc (to nightly-2024-07-07)

Automated update to Github CI workflow rust.yml by create-pull-request GitHub action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.936%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19495

Relevant Lines:
23506

💛  - Coveralls


[Package Issue]: Sigrok.Pulseview MSVCR100.dll missing error

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
After installing and running PulseView, I'm greeted with this DLL error:

I have both reinstalled the app and it does not fix the problem and followed the standard microsoft troubleshooting guide for this issue with no success so far.
Spawning Pulseview from WSL works flawlessly though (apt-get install pulseview && pulseview) 🤷🏻♂
Steps to reproduce

winget install pulseview
Run pulseview

Actual behavior
MSVCR100.dll missing error shows up and pulseview does not show up.
Expected behavior
The package should work right after winget installing it on Windows 11.
Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.963
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

### Screenshots and Logs

_No response_

My best guess is the package has a dependency on one of the Visual C runtimes.
Do you have any of the "Microsoft Visual C++" redistributables installed?
winget list visual should have one or more entries if you have it installed.
I have:
winget list visual
Name                                                               Id                                     Version        Available     Source
---------------------------------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.34.31823 Microsoft.VCRedist.2015+.x86           14.34.31823.3  14.34.31931.0 winget
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31823 Microsoft.VCRedist.2015+.x64           14.34.31823.3  14.34.31931.0 winget

Seems like I have a broad selection:
Name                                              Id                           Version        Available     Source
------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2019 Redistributable (… Microsoft.VCRedist.2015+.x64 14.29.30133.0  14.34.31931.0 winget
Microsoft Visual C++ 2015-2022 Redistributable (… Microsoft.VCRedist.2015+.x86 14.32.31326.0  14.34.31931.0 winget
Microsoft Visual C++ 2012 Redistributable (x64) … Microsoft.VCRedist.2012.x64  11.0.61030.0                 winget
Microsoft Visual C++ 2010  x86 Redistributable -… Microsoft.VCRedist.2010.x86  10.0.40219                   winget
Microsoft Visual C++ 2008 Redistributable - x64 … Microsoft.VCRedist.2008.x64  9.0.30729.6161               winget
Microsoft Visual C++ 2008 Redistributable - x86 … Microsoft.VCRedist.2008.x86  9.0.30729.6161               winget

... as other programs require different versions of them, I guess.

Installation of VC++ 2010 x64 Runtime fixed issues. It should be included into installer.
winget install --id=Microsoft.VCRedist.2010.x64  -e

Fantastic! Thanks @stoune, that worked for me.
Shall I close this issue or wait until this VCRedist is included into the installer (upstream or over here)?

Installation of VC++ 2010 x64 Runtime fixed issues. It should be included into installer. winget install --id=Microsoft.VCRedist.2010.x64 -e

I am getting this message when i try that command:
"Found an existing package already installed. Trying to upgrade the installed package...
No applicable upgrade found."
What else can i try to dp?
This is my winget list visual:
`C:\Users\edsteve>winget list visual
Name                                          Id                                     Version        Available    Source
-----------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2013 Redistributable (x… Microsoft.VCRedist.2013.x64            12.0.40664.0                winget
Microsoft Visual C++ 2015-2022 Redistributab… Microsoft.VCRedist.2015+.x86           14.34.31931.0               winget
Microsoft Visual C++ 2013 Redistributable (x… Microsoft.VCRedist.2013.x86            12.0.40664.0                winget
Microsoft Visual C++ 2015-2022 Redistributab… Microsoft.VCRedist.2015+.x64           14.34.31931.0               winget
Microsoft Visual C++ 2010  x86 Redistributab… Microsoft.VCRedist.2010.x86            10.0.40219                  winget
Visual Studio Build Tools 2019                Microsoft.VisualStudio.2019.BuildTools 16.11.23       16.11.25     winget
Microsoft Visual Studio Code (User)           Microsoft.VisualStudioCode             1.77.1                      winget
Microsoft Visual Studio Installer             {6F320B93-EE3C-4826-85E0-ADF79F8D4C61} <IP_ADDRESS>063
Microsoft Visual C++ 2013 Redistributable (x… Microsoft.VCRedist.2013.x64            12.0.30501.0   12.0.40664.0 winget
Microsoft Visual C++ 2013 Redistributable (x… Microsoft.VCRedist.2013.x86            12.0.30501.0   12.0.40664.0 winget
Winamp                                        Winamp.Winamp                          > <IP_ADDRESS>29              winget
`

@EDsteve That seems to be yet another bug in winget. See https://github.com/microsoft/winget-pkgs/issues/85478

still happening

Some enterprise users are receiving the notice that this 2010 package is obsolete and is going to be automatically unistalled from their PCs. Also, after an automatic update, PulseView stopped  working on my personal PC.
Is a good idea to install this old/unsecure package?
https://community.sap.com/t5/technology-q-a/obsolete-software-microsoft-visual-c-2010-redistributable-package-detected/qaq-p/12686371


add s1-etad prep module for testing S1-ETAD products

This PR adds s1_etad.py, which is a wrapper around the s1etad module from ESA. Given an s1reader.Sentinel1BurstSlc object, this sub-module will search, read the ETAD corrections, and/or resample into the full resolution, following the s1etad documentation (https://s1etad.readthedocs.io/en/latest/notebooks/S1-ETAD-Product_Quick_User_Guide.html).
Below is a simple example of usage.
import s1reader

orbit_dir = '~/data/aux/S1/aux_poeorb'
eta_dir = './ETAD'
slc_file = './SLC/S1A_IW_SLC__1SSV_20160922T230629_20160922T230656_013171_014F06_1463.zip'

# read SLC burst
orbit_file = s1reader.get_orbit_file_from_dir(slc_file, orbit_dir)
slc_burst = s1reader.load_bursts(slc_file, orbit_file, swath_num=1)[0]

# read ETA burst
eta_burst, eta = s1reader.s1_etad.get_eta_burst_from_slc_burst(slc_burst, eta_dir, verbose=True)

The title of this PR seems to tell that I should expect a notebook. Are you going to upload that in the branch?

Thank you @seongsujeong. I have a notebook, but will upload it to another independent repo, as notebooks can easily increase the code repo size. I modified the PR title to avoid this confusion.

@yunjunz how can I test this PR? Are the ETAD product already available and downloadable? Or do you have a Notebook with a workflow? Merci

@yunjunz how can I test this PR? Are the ETAD product already available and downloadable? Or do you have a Notebook with a workflow? Merci

@vbrancat with the link I sent offline, you should be able to download the S1ETAD products and test based on the note I wrote at the beginning of this PR.

Here is the notebook example: https://github.com/opera-adt/notebooks/pull/1

@seongsujeong do you have time to look at this PR? It might be interesting for the work you are doing for the azimuth FM-rate mismatch


Move Email Above Username in User.ascx #3305

For issue #3305
Summary

This will put email address field above username on the User.ascx form

https://github.com/dnnsoftware/Dnn.Platform/pull/3204
already approved here for development release,  redo PR for current version 9.

tabindex... interesting and done.
Would this be something the login form would have or should have as well?

Thank you!
Ok, so tabIndex can be omitted on inherently focusable elements like buttons and inputs which means that the tab order will follow the document declaration order. If it is assigned a value lower than 0 (like -1) it makes the element non-focusable by keyboard, when 0 it is the normal document flow behaviour and when higher than 0 then it will be in numerical order.
Most of the time the recommendation is to not specify it, this would be best practice in most situations. Here it is used I believe because people may re-style the form to let's say show the fields in 1 or two columns on mobile vs desktop... This would keep a logical tab order even though it looks different than the declaration order.
Ex: Mobile
FirstName(1)
LastName(2)
Email(3)
Password(4)

Could be presented on desktop as:
FirstName(1)     Email(3)
LastName(2)     Password(4)

This would ensure proper logical tab order to go from FirstName to LastName and so on. To be perfectly honest if this is styled with css, it does not change a thing since the declaration order stays the same, but let's suppose some theme would use javascript to change the order, then it would keep that logical entry order...


paket.local - cache invalidation

Description
When overriden package is copied to packages folder, it stays there until either it's version gets updated or restore is invoked with --force
Repro steps

Add override for a package to paket.local
Run paket restore
Remove the override from paket.local
Run paket restore once again

Actual behavior
Running paket restore for the second time after removing override from paket.local  doesn't bring back the original package - caching logic treats the overriden package as the correct one
Expected behavior
The question is whether actual behavior is justified?
If someone wants the original package back, she can always add --force to paket restore, however this might not be very convenient, and should be somehow mentioned in docs.
Other option is that she pulls newer version of the dependent package when it's released - but again in some cases this might not be possible.
If we however want to invalidate that overriden package - then how to do that? The only idea that comes to my mind is by leaving some kind of a trail in file-system, e.g. empty paket.overriden file inside packages/package directory. Then restore would search for those files and automatically set --force only for those packages that have that file.
What are your thoughts?

Yes please add a file into the packages folder that marks the packages as
local
On May 23, 2016 7:33 AM, "Tomasz Heimowski"<EMAIL_ADDRESS>wrote:

Description
When overriden package is copied to packages folder, it stays there until
either it's version gets updated or restore is invoked with --force
Repro steps

Add override for a package to paket.local
Run paket restore
Remove the override from paket.local
Run paket restore once again

Actual behavior
Running paket restore for the second time after removing override from
paket.local doesn't bring back the original package - caching logic
treats the overriden package as the correct one
Expected behavior
The question is whether actual behavior is justified?
If someone wants the original package back, she can always add --force to
paket restore, however this might not be very convenient, and should be
somehow mentioned in docs.
Other option is that she pulls newer version of the dependent package when
it's released - but again in some cases this might not be possible.
If we however want to invalidate that overriden package - then how to do
that? The only idea that comes to my mind is by leaving some kind of a
trail in file-system, e.g. empty paket.overriden file inside
packages/package directory. Then restore would search for those files and
automatically set --force only for those packages that have that file.
What are your thoughts?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1700

ok will do


Add npm auto-deploy via TravisCI

There was also another important change. The package name strest-cli is now deprecated. The new reference is @strest/cli

I get this error when trying to install with the new package name
$ npm install --save-dev '@strest/cli'
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! path<EMAIL_ADDRESS>npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

@philippevk Did you try to install the package globally?

Just tried and it gives the same result:
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
npm ERR! path<EMAIL_ADDRESS>npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-11-15T16_18_22_671Z-debug.log

I also have the same problem on my setup
$ npm install '@strest/cli'
npm ERR<EMAIL_ADDRESS>npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR!

Looks like this is an issue with npm 👎 . If you have yarn, install it globally with yarn until I figured out a solution to this

recreation:
# I don't know what this image has, but here's what happened:
docker run -it docker:latest sh
apk update
apk add npm
npm i @strest/cli

npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
/usr/bin/strest -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>postinstall /usr/lib/node_modules/@strest/cli/node_modules/jsonpath
> node lib/aesprim.js > generated/aesprim-browser.js

sh: can't create generated/aesprim-browser.js: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node lib/aesprim.js > generated/aesprim-browser.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-11-16T06_06_26_450Z-debug.log

Workaround:
npm install -g --save-dev @strest/cli --unsafe-perm=true --allow-root

So sorry to keep nagging you, but I still have an issue:

package installs correctly now :)
but<EMAIL_ADDRESS>is on an old version (before my windows pull request)
strest --version gives the correct version (1.18.2)
<EMAIL_ADDRESS>the code from my pull request

try removing all of them and reinstall

$ npm install --save-dev '@strest/cli'
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.

><EMAIL_ADDRESS>postinstall /home/funkymonk/dump/strest-test/node_modules/jsonpath
> node lib/aesprim.js > generated/aesprim-browser.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>added 77 packages from 95 contributors in 10.865s

$ grep 'removeFilename ='<EMAIL_ADDRESS>        const removeFilename = path.dirname(filePath) + path.sep;

$ grep 'removeFilename ='<EMAIL_ADDRESS>                var removeFilename = filePath.substring(0, filePath.lastIndexOf("/") + 1);

@eykrehbein is it possible that version 1.18.2 that was pushed to npm is not actually 1.18.2?

I'm sorry about this issue. I just forgot to compile the code before uploading. (tsc) It's fixed now in the latest release. If not, feel free to contact us again @philippevk

it's all good now :) thanks for fixing it


Subscribing / Unsubscribing using ko.postbox

rniemeyer,
I am currently using postbox to subscribe to events like this for specific reasons:
ko.postbox.subscribe("SomeTopic", function() {
foo()
}, {});
What I would like to know is, can a subscribed topic be unsubscribed? I dont want to call ko.postbox.reset() and lose all of my subscriptions, I just want to unsubscribe one specific topic, something like:
ko.postbox.unsubscribe("SomeTopic");
I didnt see anything in the documentation regarding anything closely similar, but that would be great if that could be added in. Unless, there is a better way to unsubscribe a specific topic?
Thanks,
Steve

Hi Steve-
The ko.postbox.subscribe API returns a subscription object that has a dispose method. This allows you to subscribe to the same topic multiple times (with different handlers) and unsubscribe specific handlers. So, it would look like:
var sub = ko.postbox.subscribe("myTopic", myHandler);

// sometime later
sub.dispose();

Hope that helps!

Hi Steve-
The ko.postbox.subscribe API returns a subscription object that has a dispose method. This allows you to subscribe to the same topic multiple times (with different handlers) and unsubscribe specific handlers. So, it would look like:
var sub = ko.postbox.subscribe("myTopic", myHandler);

// sometime later
sub.dispose();

Hope that helps!

Ahh...thanks! I appreciate the quick response!


feat: Allow the same resource scheme for multiple plugins

Pretty much what it says on the tin.
I moved on to using the same resource for all capabilities in the fission server, in anticipation of how the subject works in UCAN 1.0. (I'm basically using the resource field as the subject now.)
This means the only resource scheme that exists is did:..., but I still have separate abilities like all the account abilities account/read, account/manage, etc. and also capability/find, in a different plugin.
Them being different plugins, but having the same scheme means you need to test all plugins to find the first capability that parses.
This is the change this PR makes.

This makes sense, thanks! Do you think it should also be possible for multiple plugins to succeed?

Hmm. Good question :thinking:
So far, I haven't needed that.
It can be weird to see that ucan.capabilities() is an interator with more items than in the original UCAN, plus them encoding to the same data. That'd make me go "is that a bug?".
Perhaps if the API were different. Something like find_capabilities and you provide it with the resource, ability and caveat types you expect, and then it filters out the relevant ones. Then it'd be totally fine to have multiple plugins succeed (even desired), although effectively at that point you could also just provide the plugin you're expecting.


SimpleDirectoryReader subfolders

Unless I'm doing something wrong it doesn't seem that the SimpleDirectoryReader loads documents in subfolders. Would it be possible to add this?
Thank you! 🙏

ah have you tried setting recursive=True? e.g. reader = SimpleDirectoryReader('<directory>', recursive=True)

I have this documents = SimpleDirectoryReader(directory, recursive=True, required_exts=[".md"]).load_data() and it doesn't seem to read in the files within my test subfolder. Just the main folder.

Oh also you could set concatenate=False during load_data e.g. load_data(concatenate=False). It's currently True by default, which means everything is concatenated into one doc (i may just set it to False by default). Let me know if that actually loads all your files as separate documents

I've changed that part to this: documents = SimpleDirectoryReader(directory, recursive=True, required_exts=[".md"]).load_data(concatenate=False) and it still doesn't seem to be loading the docs in the subfolder.

oh you're right. sorry for the back and forth, i'll put out a fix soon

merged in a fix, will be out in pip tomorrow morning PT (if you want to use now you can just pip install -e . from the gpt_index repo clone


Fix display error in which checkout progress displayed starts from 0 instead of 1

Since we are displaying the number of the file in relation to the number of files to be checked out, the progress number should start at 1, instead of 0, because otherwise it gives the impression one more file than there actually are are set to be checked out.

Fixed!

@ryanmkurtz Thoughts on this?


XM1 CD Image is missing

Describe the bug
I am trying to provision XM1 CD in K8.
However the CD Image scr.sitecore.com/sxp/sitecore-xm1-cd:10.0-ltsc2019 is not available.
To Reproduce
Steps to reproduce the behavior:
docker pull scr.sitecore.com/sxp/sitecore-xm1-cd:10.0-ltsc2019
Error response from daemon: Get https://scr.sitecore.com/v2/: x509: certificate signed by unknown authority
Expected behavior
Docker is pulled down from the registry
Additional context
Here is the file that refers to the missing image.
https://github.com/Sitecore/container-deployment/blob/master/k8s/sxp/10.0/ltsc2019/xm1/cd.yaml#L32
All other XM1 images are available. Just the CD Image is missing.

I will open a support case about this as well.

I will open a support case about this as well.

This issue can be closed. I can download the CD image.

This issue can be closed. I can download the CD image.


Add support for torch.gather

What does this PR do?
This PR implements gather prim, adds support for torch.gather, and implements its grad transform.
Fixes #223.

Code owner review required @carmocca, @t-vi.


Add vendor extensions to the Contact class

According to the OpenAPI spec v2.0, Contact object should have vendor extensions.
However, io.swagger.models.Contact is missing the vendor extensions.

equals(Object) and hashCode() need to be updated once vendor extensions is added.

Since this is fixed in v3 (/io/swagger/models/info/Contact.java), I'll close this issue.


Admin Catalogue

"Admin might not approve your account if the provided Phone number nub does not matches the account address registered in admins catalogue."
Can you please share what is the admins catalogue? I am not able to register user

Currently, we do not have any verification methods for verifying registered users and the concept is that the admin will have some sort of list (i.e catalogue) with the details of all the people that are to take part in the election. The mentioned list could be a CSV file, spreadsheets or a hard copy ledger.

Ok, and can u please tell what is the database you are using?

There's isn't a "database" for the app, all the data are stored in the blockchain (see here). This is the whole point of the app, not to store data in a centralized database.


[opt](invert index) Empty strings do not write to the index in the case of TOKENIZED

… case of TOKENIZED
Proposed changes
Issue Number: close #xxx

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

run buildall

run buildall

run buildall


Solve context deadline exceeded error in Rusk Mock service

Describe the bug
Sporadically, Rusk mock does not respond on time. As a result, dusk node reports rpc error: code = DeadlineExceeded desc = context deadline exceeded on block accept.
438 occurrences of DeadlineExceeded error on a cluster of 100 nodes for around 32737 rounds.
To Reproduce
It was noticed on a cluster of 100 nodes (72 provisioners). See also the attached screenshot log.
Expected behaviour
Considering Rusk mock service does only mocking, we accept that it should
Logs/Screenshot
deadline-errors.log

The rusk-mock is obsoleted by the migration to testnet


Handle deleting a file from a largeImage item.

If you deleted a largeImage file from the item, the large image would still be displayed.  When the file is deleted, this appropriately removes the large image information.  On the web client, it will rerender the page to remove the viewer, too.

Thanks! I've seen some squirrelly behavior from that
.
On Fri, Nov 30, 2018, 11:24 AM David Manthey<EMAIL_ADDRESS>wrote:

If you deleted a largeImage file from the item, the large image would
still be displayed. When the file is deleted, this appropriately removes
the large image information. On the web client, it will rerender the page
to remove the viewer, too.
You can view, comment on, or merge this pull request online at:
https://github.com/girder/large_image/pull/323
Commit Summary

Handle deleting a file from a largeImage item.

File Changes

M plugin_tests/client/imageViewerSpec.js
https://github.com/girder/large_image/pull/323/files#diff-0 (65)
M server/base.py
https://github.com/girder/large_image/pull/323/files#diff-1 (13)
M server/models/image_item.py
https://github.com/girder/large_image/pull/323/files#diff-2 (6)
M web_client/views/fileList.js
https://github.com/girder/large_image/pull/323/files#diff-3 (6)

Patch Links:

https://github.com/girder/large_image/pull/323.patch
https://github.com/girder/large_image/pull/323.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/girder/large_image/pull/323, or mute the thread
https://github.com/notifications/unsubscribe-auth/AArhzhZHhVoGoohW1YwT1LXf_UD1O2U-ks5u0VulgaJpZM4Y7-eN
.


Is there a bug in making mask for loss？

Thank you for your elegant code!
Is this a bug?
https://github.com/MauritsBleeker/Bi-STET/blob/ab83a47ef2e107dd7160ea0ca1832fa0531926b7/src/Dataset.py#L138
I think maybe it should be return torch.from_numpy(mask[-1:, :]).
Let me know if I'm wrong please, think you again!

Hi,
It has been a while since I worked with codebase, but I don't think this is a mistake. Probably this line is needed to fix/align some dimensions?
Let me know if you have any questions!
Maurits


My bug report

Steps to reproduce

Expected behavior

Actual behavior

Environment data

My response

@salih27 I'm closing as you did not provide any details.


Force link behaves differently than on OS X

Node version
9.2.1
ShellJS version (the most recent version/Github branch you see the bug on):
0.8.1
Operating system:
OS X
Description of the bug:
On OS X, ln -sf .... works even if the existing link is invalid. With shelljs, which uses unlink under the hood, the ln -sf doesn't work if the existing link isn't valid.
I'd suggest replacing unlink with rm.

Thanks for reporting! Confirmed on Linux too. The relevant code is here:
https://github.com/shelljs/shelljs/blob/9035b27403c7e3c3dc801939d20dec8fe6143c06/src/ln.js#L38-L44
I think fs.unlinkSync() does the right thing (don't follow links), but fs.existsSync() is wrong (it does follow links). We can replace this with fs.lstatSync().


Screenshare not working simultaneously with background music

Describe the bug
I want to share screen (Zoom) and play audio from JW Library, the same time an image is opened on OnlyM. Before this was possible. However now music doesn't play from JW Library if onlyM is opened - either you can't hear it or the music just doesn't play.
To Reproduce

Open OnlyM and JW Library
Play OnlyM image on second screen.
Share second screen on Zoom, ensure optimise video and share sound screen ticked.
Start playing music from JW Library
Music doesn't play; should be able to play music same time screen is being shared on second screen

Expected behavior
These steps can be followed in different order, still doesn't work for me
Desktop (please complete the following information):

Windows 10

Not sure issue with Zoom. Thanks!!

Which version of Zoom are you using?

Zoom Version 5.7.4 (804)
On Wed, Aug 25, 2021 at 11:27 AM scottys94 @.***> wrote:

Which version of Zoom are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AntonyCorbett/OnlyM/issues/413#issuecomment-905107399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVKONPOD5TC5PN7GIQDKX33T6REWXANCNFSM5CWLXUTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

We have noticed this same type of issue in our congregation too. It happens even if Zoom is not running though, so I dont think it is Zoom related specifically (at least based on my testing)
OnlyM version: <IP_ADDRESS>
JW Library version: 12.4.152 (115081)
To reproduce on system with two screens:
Open JW Library with play video on second display option enabled
Open OnlyM with output on same screen as JW Library output and JW compatibility mode enabled
Start static image playing in OnlyM (ours is a message about breakout rooms, but could be any image)
Open media for given meeting and select opening song
Result:
Song does not start playing
To kick it along, stop OnlyM image playing and then start again.
Image disappears and re-appears, and JW Library media starts playing.
If playing audio only files in JW library before the meeting for example, same type of issue is evident, however, as there is no video playing, it's less obvious that the media has not started to play. So the media brother must either stop and start the image display in OnlyM at the end of each song or not have an image displayed and just show the JW Library year text.
I also noticed something strange when doing some training with a new media brother over Zoom. When this playback issue was occurring, it seemed like his computer audio was stopped, so he could not hear me on Zoom either. It was not until we stopped and started OnlyM image playback that he could hear me again. I'm sure it is related, but not sure exactly how.
If I can provide any logs or system information, please let me know, happy to help diagnose this if I can. I cant seeing anything related in any of the event logs.
I am on a Dell laptop with external screen over HDMI connection running Windows 10 fully updated.
Regards, Jonathan

As a follow up to this issue, I have discovered this issue occurs not just with OnlyM, but with PowerPoint as well, whereby if a PP slide is open in presenter mode and displayed on the same screen as the JW Library media window, the music will not start playing for a new song until the media window is activated. Once it is activated, the music starts and it is possible to switch back to the PP slide. So I am suspecting that the issue is actually with the JW Library media window on the second display rather than OnlyM

Yes, seems to be the case

Closing. This is a JW Library limitation


Update Generic Pages “training”

Automatically generated by Netlify CMS

👷 Deploy Preview for tech-works-for-us processing.

Name
Link

🔨 Latest commit
ec129cac984ea60a2b430912d4b774f231b78c99

🔍 Latest deploy log
https://app.netlify.com/sites/tech-works-for-us/deploys/64b000c7e98ef80008af7c04


RI-432 Add rocky branch updates

Changes SHA to point to head of stable/rocky. Also updates the README.
Issue: RI-432

recheck_xenial_no_artifacts_swift_deploy

recheck_release

recheck_xenial_no_artifacts_swift_deploy

recheck_all


Added log entries with table text and pattern

Added logger.debug entries to display the extracted table text and the regex pattern. Very useful when running a single template with numerous tables and want to check exactly what each was seeing.

Thanks! Merged.


JSON-RPC: record and export request latency as a Prometheus metric

This should be as simple as enhancing the with_methods! macro to measure the latency and record it under a Prometheus histogram.
Notes:

Don't forget to expose the Prometheus registry within the fendermint eth run command (it may already be exposed).
Add the histogram metric here: https://github.com/consensus-shipyard/ipc/blob/147180ce386c9d950d04dcbad2a6ca19e3a1ff60/fendermint/app/src/metrics/prometheus.rs#L46

Close - implemented here: https://github.com/consensus-shipyard/ipc/pull/1045


[UPDATE] 2.0/Space Age

Layer 8 Handler
Did you rerun the patcher after updating?
Yes.
Game Information:

Factorio Version: 2.0.9 (with Space Age DLC)

Program Output
Copy Paste the Program or Error Output

Output from patcher
[FAE] Initialized Logging.
[FAE] Provided path exits.
[FAE] Patching instructions to JNZ..
[FAE] Patching AchievementGui::AchievementGui with following data:
 pattern:	0x35b48380
 replacement pattern:	0x35b48330
 0 matches for the pattern.
[FAE]  -> FAILED!
[FAE] Patching SteamContext::onUserStatsReceived with following data:
 pattern:	0x35b48380
 replacement pattern:	0x35b486a0
 0 matches for the pattern.
[FAE]  -> FAILED!
[FAE] Patching instructions to JMP from JZ..
[FAE] Patching SteamContext::unlockAchievement with following data:
 pattern:	0x35b48380
 replacement pattern:	0x35b48330
 1 matches for the pattern.
[FAE]  -> SUCCESS!
[FAE] Patching SteamContext::setStat with following data:
 pattern:	0x35b486a0
 replacement pattern:	0x35b4b190
 1 matches for the pattern.
[FAE]  -> SUCCESS!
[FAE] Patching instructions to JMP from JNZ..
[FAE] Patching AchievementGui::allowed with following data:
 pattern:	0x35b486a0
 replacement pattern:	0x35b4b170
 0 matches for the pattern.
[FAE]  -> FAILED!
[FAE] Patching instructions to CMOVZ from CMOVNZ..
[FAE] Patching PlayerData::PlayerData with following data:
 pattern:	0x35b486a0
 replacement pattern:	0x35b4b190
 0 matches for the pattern.
[FAE]  -> FAILED!
[FAE] Marking Factorio as an executable..

Additional context
Would be great if you already have the new memory patterns :)
The Windows version has already been updated to 2.0.7 (and 2.0.8/2.0.9 seem to be minor updates). If I get some free time I'd be happy to make some attempts at finding the new memory patterns (although my experience with reverse engineering is pretty minimal.)

fixed with commit
feedback would be great, as im currently testing it myself.

Seems to work! I was able to get a Steam achievement with mods installed. I did get an error about local achievement data getting corrupted though, and when I disabled the patch, my modded achievement data seemed to be reset.

yes thats because your modded achievements are saved to a different save file.
achievement-modded.dat for modded archivements and achievement.dat for normal ones.
expected behaviour.


[hotfix] Fix wrong arguments order in assert

Fix wrong arguments order in assert

Thanks for the fix!
+1 to merge

Merging


Be more defensive about threadsafety

Some specs were randomly failing, this fixes it by being more defensive about Thread.current

is there some way to change a test to always fail and check it's fixed with this? maybe insert a sleep somewhere?

@jsvd I don't believe so. I think the issue was that that spec worked because previous speaks 'leaked' the info in Thread.current (which is why setting stuff there is dangerous). I suspect it should have failed every time if run without the other tests. I don't think its time-related.

OK, I added a spec for this behavior

LGTM

my bad as a reviewer I should have run the test.

  1) LogStash::Filters::GeoIP re-initializing thread current DB should initialize the DB on lookup, regardless of thread state
     Failure/Error: Thread.current.thread_variables.delete plugin.threadkey
     NoMethodError:
       undefined method `thread_variables' for #<Thread:0x5cbf9e9f run>
     # ./spec/filters/geoip_spec.rb:258:in `(root)'

Finished in 0.964 seconds (files took 1.96 seconds to load)


Mark spare parts in part list

Some parts are marked as spare parts. Check set 850-1 or 856-1 to see spare parts. Fixed isSpare property. Show partNum and not partId like on rebrickable homepage.

LGTM. Thanks again!

LGTM. Thanks again!


Step to Add Scope is not provided

Step 1: Register an application with Azure AD
After point number 8 following should be provided:
Select Add a scope
	for Scope name use user_impersonation
	Ensure the Admins and users option is selected for Who can consent
	in Admin consent display name type Access TodoListService as a user
	in Admin consent description type Accesses the TodoListService Web API as a user
	in User consent display name type Access TodoListService as a user
	in User consent description type Accesses the TodoListService Web API as a user
	Keep State as Enabled
	Select Add scope
Otherwise please let me know if I am missing something...

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

ID: 1d91e987-b3aa-d12b-6400-5f477e827202
Version Independent ID: e0efa72d-1e7c-b2d2-4ad9-ad51334e3da6
Content: Build a .NET web API that integrates with Azure AD for authentication and authorization
Content Source: articles/active-directory/develop/quickstart-v1-dotnet-webapi.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@sandeepsoni1234 Thanks for your comment. We are actively investigating and will get back to you shortly.

@rwike77 Could you please review the suggestions provided by the customer for this page ?

@sandeepsoni1234 Yes, we do need to add info on adding the scope.  Thanks for your suggestions, I'll try to get the article updated shortly.

@sandeepsoni1234 I've updated the article.  Changes have merged and should publish live this afternoon.  #please-close


Title formatting doesn't work on safari

Setting the title in quotation marks doesn't work on safari. The title with quotation marks are interpreted as a part of the link.

Thanks for your feedback! Let's try to use a pipe instead of the quotes! 😎


Add Boyer-Moore article to string algorithms section of guide

I created a new article describing the Boyer-Moore algorithm for finding strings in a text to add to the string algorithms section of the guide alongside the Knuth-Morris-Pratt algorithm, etc. It hasn't been tested on a local version of the site.

[ x ] I have read freeCodeCamp's contribution guidelines.
[ x ] My pull request has a descriptive title (not a vague title like Update index.md)
[ x ] My pull request targets the master branch of freeCodeCamp.
[ x ] None of my changes are plagiarized from another source without proper attribution.
[ x ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[ x ] My changes do not use shortened URLs or affiliate links.

Corrected front matter block on behalf of user.

Congrats @lauraste1 on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


why MIoU can not reach 77 in cityscapes val dataset?

Thanks for your great work;but when I use your pretrained model to validate,the MIoU is 70.19536 (hardnet70_cityscapes_model.pkl)and 71.179(hardnet70_cityscapes_model_2.pkl) respectively.So I want to ask is this the best model? Or do I need to do anything else? thanks!

Hello, thank you very much for the report. It seems like there is an accidentally deleted line for converting RGB->BGR in the last pull request. I have fixed it, please git pull and try again. Thanks!


Create bookmarks to files and keep the icons.

Right now I have something like this to have bookmarks to files:
    startify.section.bottom_buttons.val = {
        startify.button(
            "c",
            "~/.config/nvim/lua/config.lua",
            ":e ~/.config/nvim/lua/config.lua<CR>"
        ),
        startify.button("i", "~/.config/nvim/init.lua", ":e ~/.config/nvim/init.lua<CR>"),
        startify.button(
            "P",
            "~/.config/nvim/lua/modules/plugins/init.lua",
            ":e ~/.config/nvim/lua/modules/plugins/init.lua<CR>"
        ),

But, as you can see, it doesn't show up with icons.

This is just a nitpick and I'm happy with it not showing icons for those files, but I was wondering if it was possible to make it so I can create bookmarks to files and have it with icons.
Also, not related to this issue but how can I change and add titles ? I've looking through the docs and playing around with a few options but can't figure it out.
For example, I'd like to add "Bookmarks" above those files. and I'd like to change the MRU from this image:

To something else.

ok, icon and file_button are exported. you should be able to write your bookmarks like
startify.file_button( "c", "~/.config/nvim/lua/config.lua" ),

and get the icon + highlighting

Also, not related to this issue but how can I change and add titles ? I've looking through the docs and playing around with a few options but can't figure it out.
For example, I'd like to add "Bookmarks" above those files. and I'd like to change the MRU from this image:

this level of granularity in configuration is frankly annoying to support.. after a certain point it becomes easier to just define your own opts. the startify module should export everything you would need to make your own layout using startify widgets.

this isn't a "hard no", I just don't know where I need to draw the line in the sand when it comes to these themes that are meant to mimic the look and feel of other greeter plugins

ok, icon and file_button are now exported fb47b78. you should be able to write your bookmarks like
startify.file_button( "c", "~/.config/nvim/lua/config.lua" ),

and get the icon + highlighting

The order is inverted, it needs to be:
startify.file_button("~/.config/nvim/lua/config.lua" , "c"),

Otherwise it gives an error.

this level of granularity in configuration is frankly annoying to support.. after a certain point it becomes easier to just define your own opts. the startify module should export everything you would need to make your own layout using startify widgets.

That's a fair point.

my mistake. i'll think on this, there might be a solution that doesn't suck too bad

somehow i missed that with sections you can already pretty easily rearrange the layout with minimal effort.
example moving the header to the bottom:
    startify.opts.layout = {
        {type = "padding", val = 2},
        startify.section.top_buttons,
        startify.section.mru,
        startify.section.mru_cwd,
        {type = "padding", val = 1},
        startify.section.bottom_buttons,
        {type = "padding", val = 1},
        startify.section.header,
        startify.section.footer,
    }

:)

hi is it possible to still add this to our own configs? like if i have the line local startify = require("alpha.themes.startify") just use startify.opts.layout = {...} to reorder the layout?

yes


showPointerAreas is broken

showPointerAreas appears to be broken in master.
Discovered while I'm in the process of adjusting pointer areas for Geometric Optics.

Should be fixed with the above commit, can you verify?

Confirmed, thanks, closing.


Add space on leading and trailing equal

So the thing is that a rebased messed things up and closed my PR https://github.com/apple/swift-syntax/pull/1443 🫣

@swift-ci please test


Implement Dark and Light Mode Toggle

Our users desire the ability to switch between dark and light modes within our application for improved readability and reduced eye strain. Currently, this feature is absent, limiting user customization and potentially causing discomfort during extended usage.
Implementing a simple toggle switch allows users to seamlessly transition between dark and light modes. Dark mode, featuring darker color schemes, is particularly beneficial in low-light conditions. By integrating this feature, we enhance user satisfaction and comfort during usage.
Alternatively, we could offer a theme selector with predefined dark and light modes, but a toggle switch offers a more intuitive and user-friendly approach.
Adding this toggle aligns with current design trends and user expectations, providing a customizable experience. It can be easily accessed in the application settings or as a prominent button within the interface.
Considering the growing demand for customizable user experiences, this feature holds medium priority in our development roadmap.

Please assign this issue to me.


Option to provide namespace'name when posting layer

This adds an optional field "NamespaceName" to the json provided when posting a Layer.
If during the analyse, Clair can't find the namespace associated to the Layer, we use the namespace provided by the user (only if it exists in the database).
I use this option to resolve the http 422 error I had when uploading some of my base images.
I made the change on the release-2.0 branch because it's the one I use at work and I know you are working on supporting multiple namespaces on the master branch. If it is in stable state, I can adapt the changes to that branch.

I appreciate the foresight to target the stable branch with this change! Thanks again for that.
Is there a particular reason that the namespace detectors aren't able to determine the namespace without you explicitly declaring them in the API? I think being able to provide namespaces is valuable, but I just want to make sure we aren't overlooking any fixable issues with our namespace detectors.

The Http 422 error occured with layers containing "/var/lib/dpkg/status" (features detected) but no "/etc/apt/sources.list" (namespace can't be detected).
In our base image's Dockerfile we delete sources.list and replace it with one containing our repositories.
The problem is that I read manifests from multiples registries and after some extended research, it appears some have schemaVersion 1 and others have schemaVersion 2. Therefore the layers are not in the same order for each image.
I had the error only  because the layers were uploaded in the wrong order.
Don't know if the pull request is still relevant.


Add Azure Terraform modules

Initial version of the Azure modules for testing in staging.

I think it's better to make the documentation changes in another PR, because we should make the same changes in the AWS modules.

/merge


Hugging face simple support!

Supposed to support hugging face

This looks really cool, just beware that Groq support was already attempted by my PR #115 (and it works quite well).
Be careful about conflicts, and check that out first!
Hugging Face support is very promising, I fully support this.

I don't know how to undo a commit but I did remove groq related stuff from the PR


Debug id for custom identifiers

PR created to resolve https://github.com/vanilla-extract-css/vanilla-extract/issues/1228
Details:
I changed integrations transformer code to only skip "@vanilla-extract/babel-plugin-debug-ids" when the identOption !== 'short'.

As discussed in the discord thread linked in the issue, I don't think that the best solution is just enabling it for everything except short. This would force the debug ID babel transform on consumers that want a custom identifier, but don't want debug IDs (e.g. in production).
I think ideally the custom identifier function would be separate to the debug identifier option. There could be a bit of nuance here if we want to avoid a breaking change in every integration.


use linked list to store conn,impove the performance when put the conn to pool

if the put operation get the lock spend much time, the idlepool will be empty,then great number of connection will be created

Do you have any benchmarks to share? There are already some in internal/pool folder, but you may need to add something new to demonstrate the improvement.

only the size is big like 100000 the imporement is obviously, so just close the pr


Allow subject to be a literal for countQuads

Fixes breaking queries when comunica invokes countQuads() in generalized rdf mode with a literal subject

Oooops - nice catch! Thank you for this!

Oooops - nice catch! Thank you for this!

just released in<EMAIL_ADDRESS>

just released in<EMAIL_ADDRESS>


Mobile rendering: zoom level is inconsistent

On mobile (graphineOS, Vanadium) some pages render text wrapping in a nice way, along with the correct font/ UI element sizes, and others do not.
Renders great:
Runtime Primatives

Renders poorly:
Pallets

I suspect this has to do with the next steps section being present for the rendering to work correctly. Here is the right side bar on desktop:
Pallets:

Runtime Primitives:

Proposed solution: add the next steps to all documents?

https://github.com/substrate-developer-hub/substrate-docs/ lets us close this


GEODE-6861: separate static config object from runtime info in the Cl…

…usterManagementResult
Co-authored-by: Joris Melchior<EMAIL_ADDRESS>
use ConfigRealizer to retrieve the runtime information for configuration on each member
list result would return a List of Response object which has a configuration object and a list runtime objects

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@Petahhh @jackw26


NaN in bicgstabl when using preconditioners

In some cases, using a preconditioner results in NaNs in the bicgstabl function.
Tested with ilu preconditioner and DiagonalPreconditioner.
Here is an example:
using SparseArrays
using IncompleteLU
using IterativeSolvers

N = Int(1e5) #
d = 1e-4  # sparseness density
drop_tol = 0.1 # absolute drop tolerance for ilu
mat = sprand(N, N, d)
x = ones(N)  # solution vector
b = mat * x

prec = ilu(mat, τ=drop_tol)
@show nnz(prec)/nnz(mat)
sol, hist = bicgstabl(mat, b, Pl = prec, log = true, verbose = true)

So do mine!

I now think, it's actually due to the problem and not because of the algorithm itself.
There are many reasons why bicgstabl might fail. One of them is the structure of the problem, i.e. the properties of the matrix. In some cases I find that making the system diagonally dominant, for instance by doing a reverse-Cuthill-McKee reordering of indices, the solver converges when the initial problem does not converge. It could be interesting though to have such a feature of index reordering as a parameter to the solver which is known in the numerics community to work well on a large class of problems.


Update flyway dependency

We saw an issue where flyway did not perform as expected (3 service instances coming up at the same time, one threw a migration error, yet the other two started up fine.)  It looks related to several issues reported against flyway in the last year.  Let's try 4.1.2 and see if the problem happens again.

Fixed in 3.0.21


Non-US keyboard - pound / hash symbol (#)

I'm using a v3 Dial Toner connected to macOS Ventura.
When I hit the button in the default hex mode, I'm getting (for example) £E4512A <- generated directly from the key pad right now.
The £ symbol should be a # symbol 🙂
I'm not 100% sure how to fix this in the code.
On my keyboard, pressing the 3 key with Shift -> £ and with Alt -> #
Nevertheless I was kind of surprised that directly sending the string #E4512A (generated via config.py) is getting converted to £E4512A

looked into the KeyboardLayout for CircuitPython, but I'm not finding (for example) a British English option. It looks like (?) the KeyboardLayout assumes specific key locations? Should I add a UK English layout in
looked at ways to send a POUND keycode (considered removing # from hex_sequence in config.py and having the symbol inserted in dt_keyboard.py or, having dt_keyboard.py do some kind of filtering to replace # in str if it is passed in).
basically I've tried a number of things but seem to be struggling to figure out the "best" way to get the actual # character sent to the computer.

It might be nice if this could somehow be a config option on the 5th dial or something, but a code change for the end-user is also OK...

Hi Andy, thanks for reporting and looking into it! I can't believe I fell into this trap again, I had a similar issue on my T9 project when I went to intro multiple languages.
Did you have any luck with your second approach? Since there are really no other language-specific components to this project. Would be great if it could just be universal. From a product standpoint, that would be the best option in my opinion.
If not, then yeah - A British English KeyboardLayout would be the way to go. I can look into that if you haven't already gotten started. And I like the 5th dial config idea, though it doesn't scale particularly well. Probably not a problem given the scale of this operation. At the very least, I'll rewrite the code to autodetect a custom KeyboardLayout file on the CircuitPython drive so no code needs to be altered by the user.

Totally recognise that it's a niche/edge case related to internationalisation, so the settings doesn't scale brilliantly.
So I tried a few approaches, either POUND or something like
keyboard.press(Keycode.LEFT_ALT)
keyboard.press(Keycode.KEYPAD_THREE)
keyboard.press(Keycode.KEYPAD_FIVE)
keyboard.release_all()

... right before the keyboard_layout.send() but get nothing out at all from the button, until I revert to your code (and I don't see a way to see any error output - I'm typically more of a MicroPython person though). I might have another go at this at the weekend but not immediately able to play further.
Lovely little device, thanks! 👍🏻

Ok - I'm having luck with:
self.keyboard.press(Keycode.LEFT_ALT)
self.keyboard.press(Keycode.THREE) #Note - not the KEYPAD_THREE, apparently there's a difference
time.sleep(.02)
self.keyboard.release_all()

on a Mac, set to British input source.
I think I'm going to do the 5th dial config idea with 3 different modes:

US (as written now, just use the "#ffffff" string as-is)
UK (Keycode.LEFT_ALT + THREE, then string)
INTL (POUND, then string)

^ seems like a few other languages use POUND for #, so that'll be a catchall for now.

I'm conveniently readying a release right now as I prepare to release the "Ultra" version of the dial toner. There weren't going to be any new features for the v3 Dial Toner but this will make it's way in! I will post back here when I have a release candidate of the CircuitPython bundle.

@andypiper if you want to give the updated code a test, I would greatly appreciate it. The DT Basic Bundle for the latest is available here: https://github.com/dupontgu/dial_toner/actions/runs/3381251966
Quite a few internal changes, so I would just overwrite all the files you have.
The keyboard_mode parameter is on the 5th knob when you go into config mode.
0 -> US keyboard
1 -> UK
2 -> INTL (everybody else?)
else -> defaults to 0

merged in #2!


popup is not working in chrome

popup is not working in chrome browser thought its working fine in firefox

This is happening to me too. Popup works in IE and Firefox but not chrome


Laravel 5.6 crash when config package published

PHP Fatal error:  Uncaught ReflectionException: Class config does not exist in ...Illuminate\Container\Container.php:767

require this package.
publish files
run this
$ php artisan config:clear
$ php artisan config:cache

issue replicated

Issue Replicated....

@RachidLaasri I found the issue, you are using rule at line 70
Remove that and the issue is gone.

I am closing this because it seems inactive. If you still facing the same issue, feel free to reopen it.
Thank you.

please am having the issue . can we reopen it

same issue any other solution.

For those still facing the same problem, what I solved for me was: remove all contents of the bootstrap/cache folder, and run the composer dump command

this is not working for me

more than one week still facing that error

What I actually  found on mine was that it was an error 500 causing the issue in one of the middleware scripts (syntax error).

@umer1o9 @pythondev1 Can you share more details please? What errors you get?

Hi ..
Please commen in bootstrap/app.php file $app values
like
//$app->register(Bitnary\JsonPaginate\JsonPaginateServiceProvider:class); // Bitnary JsonPaginate for o Eloquent
/$app->register(Spatie\JsonApiPaginate\JsonApiPaginateServiceProvider::class);
$app->withFacades();
$app->withEloquent();
$app->configure('json-api-paginate');/
//$app->register(LaravelFCM\FCMServiceProvider::class);
and than save and run
php artisan config:clear
php artisan config:cache
composer dump-autoload

Who still get this error
Check out your .env file.
Most likely you have space somewhere in your configurations:
MAIL_FROM_NAME=James Smith
should be:
MAIL_FROM_NAME="James Smith"
just make sure you dont have a spaces on your configs values.

Tried everything mentioned here, No spaces anywhere in my .env file

Do
Delete all the files in bootstrap/cache folder.
try to load page again and it works.
Thanks again Smauelbie, I would never have figured this out without your comment saying what to do.

I had the same problem with DOMPDF for Laravel, commenting this line in bootstrap/app.php  solved the problem so far
//$app->register(\Barryvdh\DomPDF\ServiceProvider::class);

I had the same problem with DOMPDF for Laravel, commenting this line in bootstrap/app.php solved the problem so far
//$app->register(\Barryvdh\DomPDF\ServiceProvider::class);

yes, for me too, right, this


test subtracting SystemTime and Instant

@bors r+

:pushpin: Commit 62eaecd2aa16917e8ed02cb2ead6d23825347c29 has been approved by RalfJung

:hourglass: Testing commit 62eaecd2aa16917e8ed02cb2ead6d23825347c29 with merge 88217206a0eb5918ca9d36d8d9b9ff6595c4a40f...

@bors retry r+

:pushpin: Commit 26b5012368910fecdab844a5ee75dfdc65996654 has been approved by RalfJung

:hourglass: Testing commit 26b5012368910fecdab844a5ee75dfdc65996654 with merge 552775b5937577f7a127153227d5f0f924ab9eb2...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 552775b5937577f7a127153227d5f0f924ab9eb2 to master...


unify timing

There are two different time-controlled processes:

CSS animation
Javascript interval

It is necessary to unify them...

Solved with #20.


Delete extra space

before:
info: hello world
info:  foo=bar
info: hello world

after:
info: hello world
info: foo=bar
info: hello world

what about that?

Thank you for your contribution, but logging without a message is an edge case that we don't want to support in depth on the winston@2 development tree.


Incorrect behaviour for MockDatabase transaction log

Description
When using mockdatabase within transaction, observed two possible issues:

It will produce incorrect database backend in begin transaction log
unable to create identical statement by library

Check the example below:
  let db = MockDatabase::new(DatabaseBackend::MySql)
            .append_exec_results([
                MockExecResult{
                    last_insert_id: 1,
                    rows_affected: 1,
                }
            ]).into_connection();

        let datakey_repository = DataKeyRepository::new(&db);
        let mut tx = db.begin().await?;
       //some operation on tx
        tx.commit().await?;
       //print the tx transaction
       Transaction { stmts: [
       1. Statement { sql: "BEGIN", values: None, db_backend: Postgres },
       2. other statement according to the upper operation
       4. Statement { sql: "COMMIT", values: None, db_backend: MySql }] }]

question:

begin statement show it's configured with posgres backend
unable to create identical statement cause the values in transaction is "None" while self build statement will always have something like "Some(Values([]))"

Steps to Reproduce

Expected Behavior

Actual Behavior

Reproduces How Often

Workarounds

Reproducible Example

Versions

I don't really understand the issue, can you submit a reproducible example?

I don't really understand the issue, can you submit a reproducible example?

ok, first I think the begin and commit statement with my configuration should always show it's configured with mysql backend rather than the postgres sql, second I can not assert the begin and commit statement cause I failed to create the statement which will have value equal to None


Storage standard cards

Is your feature request related to a problem? Please describe.
Support storage standard methods, especially storage_deposit() and storage_withdraw(). PR #137 adds a Storage deposit card for FT tokens but we can generalize it.
Describe the solution you'd like
2 deliverables:

Storage standard TS class.
Cards for storage methods

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

implemented in #164
* added storage_withdraw card
* added storage_withdraw and storage_unregister
* fix: storage_deposit depo


Business Rulw

A customer can only reserve one seat per trip.

A customer can only reserve one seat per trip.


Creating service principal failed - When using this permission, the backing application of the service principal being created must in the local tenant

When creating a service principal in the Azure US Government Cloud (I did not face the issue with Azure Public Cloud) with Azure CLI, I see the error "When using this permission, the backing application of the service principal being created must in the local tenant". This appears intermittently and the operation succeeds in the next one or two attempts.
Command Name
az ad sp create-for-rbac
Errors:
Creating service principal failed for appid 'http://chethan1-sp'. Trace followed:
{'Cache-Control': 'no-cache', 'Pragma': 'no-cache', 'Content-Type': 'application/json; odata=minimalmetadata; streaming=true; charset=utf-8', 'Expires': '-1', 'ocp-aad-diagnostics-server-name': 'AX01WP8UrUZ+t1UfXh+CNVWXjkMVa+MRGWdcQJOSriA=', 'request-id': '8aa1f2d0-6f89-4c2c-81b8-aa9549229b9d', 'client-request-id': 'ce0ca1c0-dd44-11ea-80e4-00155d105809', 'x-ms-dirapi-data-contract-version': '1.6', 'ocp-aad-session-key': 'nOb19qb35xGesfB0mYy06u-CrMjhmNw8HNHKMTHy7icX2x2Rmiba_l-1z0xhZsPFTtnlkWTMpsRKrKUB7QDvx_GPr8A2SCrchMZsAJ3x6SXu7Mv_6E37q79Tb8WMCJOeiuGDMae6XqSqalb57jtujSnuOYnfkW-t6bHQQbGmK3v0oCK3gnHf3YmAAToCQ3EqYoqDYJb2hE0SbtPUOvKog.zODOfl-Y-xOarA46pFF-7YnuA3J-dCaM3TCle03YWAE', 'DataServiceVersion': '3.0;', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Access-Control-Allow-Origin': '*', 'Duration': '1374142, 13351672', 'X-AspNet-Version': '4.0.30319', 'X-Powered-By': 'ASP.NET', 'Date': 'Thu, 13 Aug 2020 09:10:23 GMT', 'Content-Length': '284'}
When using this permission, the backing application of the service principal being created must in the local tenant

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Run this command -
az ad sp create-for-rbac --name http://chethan1-sp --role Contributor --scopes /subscriptions/<subscription id>
The first attempt often resulted in the error shown above. The next attempt was mostly successful like below -
az ad sp create-for-rbac --name http://chethan1-sp --role Contributor --scopes /subscriptions/<subscription id>
Found an existing application instance of "1bb1c184-b9bc-4ecf-a96c-07f1637xxxxx". We will patch it
Creating a role assignment under the scope of "/subscriptions/<subscription id>"
{
  "appId": "<value>",
  "displayName": "chethan1-sp",
  "name": "http://chethan1-sp",
  "password": "<value>",
  "tenant": "<value>"
}

Expected Behavior
The service principal is created successfully.
Environment Summary
Linux-4.4.0-18362-Microsoft-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.10.1

Additional Context

add to S175

I'm facing this in Azure Public Cloud (North Europe). This appears intermittently and the operation succeeds in the next one or two attempts.

@gischethans, I previously commented at https://github.com/Azure/azure-cli/issues/14086#issuecomment-671685599 for this issue. It was also discussed at https://github.com/Azure/azure-cli/issues/7375#issuecomment-423410402.
This error message:

When using this permission, the backing application of the service principal being created must in the local tenant

is not the same as the public cloud's exception:

... does not reference ...
... does not exist ...

So it bypasses the retryable check:
https://github.com/Azure/azure-cli/blob/88a6056229413f3a8326a2fe295a10d1daceb09d/src/azure-cli/azure/cli/command_modules/role/custom.py#L1455-L1456
I am considering maybe we can loose the check and also decrease
https://github.com/Azure/azure-cli/blob/88a6056229413f3a8326a2fe295a10d1daceb09d/src/azure-cli/azure/cli/command_modules/role/custom.py#L1396
So that all kinds of exceptions can be retried. Just thinking...

@tejado, could you share the exception you are seeing? Is it the same as @gischethans's?

@ryanhofdotgov, it is expected that calling az ad sp create immediately after az ad app create may fail. Please see https://github.com/Azure/azure-cli/issues/14086#issuecomment-671685599 for an explanation and the retry logic.

Note, I'm seeing this on the public cloud.

today I experienced this issue on azure-cli 2.52.0
when calling az ad sp create right after az ad app create
is it realistic that _RETRY_TIMES  was exceeded?

This error message about tenant is a red herring.
The root cause is here: https://stackoverflow.com/questions/60004010/creating-service-principal-for-azure-cdn-is-failing-with-tenant-permission-error
In short, we need AAD Administrative Roles, not RBAC roles which are used for resources).

What if I'm using application permissions, how do I then fix the missing AAD administrative roles??


Completed the assignment -2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Adding codes to complete the assignment-2
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

A2: Complete
Please consider recalculating RMSE for Q4, as there is a minor mistake in your code.


.rake files

rake files to be created on running :arrow_forward: g :install

[x] mirror.rake

tasks:

new
install
reflect (scaffolds)

It is generating it files correctly but those actions are not working yet...
To this version and implemented
rake mirror:install
To this version, but not implemented
rake mirror:reflect
To the next version:
rake mirror:new

the rake file which contain the mirror commands is generated exactly it is necessary to be