set background destroys additional highlighting

What steps will reproduce the problem?
1. Use a plug-in that does highlighting but not by filetype. Ex `vim-bling` or
`vim-css-color`
2. set background=light
3. Voila. Filetype highlighting remains, but other types of highlighting is
destroyed

I expect that `set background` is non-obtrusive. That it only loads the
highlighting-scheme
of choice.

I'm on:
VIM - Vi IMproved 7.4 (20
MacOS X (unix) version 10.9.5
Included patches: 1-444
Compiled by Homebrew
Huge version without GUI.

There's a great plug-in called vim-holylight that I'd like to use, but this
`set background`-bug
is too annoying. Hope this can be resolved.
If I knew the vim-source I'd give it a shot myself.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Oct 2014 at 6:56

I do not understand correctly what the problem is. Could you please describe
in more detail, what you expect and what changes? I am not sure, I understand
what you mean by "destroys" background. Please be more precise and also mention
what colorscheme you use and perhapse provide a sample file that shows the
behaviour. (BTW: It is always good to start from vim -u NONE -N)

I agree.  I have no clue what the bug is.  There is no minimal example.  No explicit url pointing to the plugin repositories.  No explanation of what "Filetype highlighting" and "other types of highlighting" are.  No info about the color scheme used.
According to :h 'bg', when the 'background' option is set, Vim adjusts the default color groups for the new value.  That is the groups listed at :h highlight-groups.  Also, the color scheme is reloaded.  Maybe the color scheme used by the OP doesn't reset the default highlight groups, which would explain why they perceive some color change when their plugin reset 'background'.  But since the OP didn't mention which color scheme they used, and after more than 5 years they didn't find the time to answer the questions they were asked:

I do not understand correctly what the problem is. Could you please describe
in more detail, what you expect and what changes? I am not sure, I understand
what you mean by "destroys" background. Please be more precise and also mention
what colorscheme you use and perhapse provide a sample file that shows the
behaviour. (BTW: It is always good to start from vim -u NONE -N)

we'll probably never know.

after more than 5 years they didn't find the time to answer the questions they were asked

s/more than 5 years/more than 6 years/
At least, there are no more answers on the original google discussion.

so let's close it down.


GDALDataFinder no longer finds data path in fiona 1.8.9 with GDAL 3

In a new test environment with latest fiona:
(test-fiona-189) $ gdal-config --datadir
/home/joris/miniconda3/envs/test-fiona-189/share/gdal
(test-fiona-189) $ ipython
Python 3.7.3 | packaged by conda-forge | (default, Jul  1 2019, 21:52:21)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import fiona

In [2]: fiona.env.GDALDataFinder().search()

In [3]: fiona.__version__
Out[3]: '1.8.9.post2'

while with previous versions (using GDAL 2):
In [22]: import fiona

In [23]: fiona.__version__
Out[23]: '1.8.6'

In [24]: fiona.env.GDALDataFinder().search()
Out[24]: '/home/joris/miniconda3/envs/dev/share/gdal'

From a quick look, I think this is due to
https://github.com/Toblerity/Fiona/blob/d6ec15f1c2e7a860bc57d35a51e36aeb48377a1a/fiona/_env.pyx#L303
where there is an explicit check that the pcs.csv exists, but this file is removed in GDAL 3 (https://github.com/OSGeo/gdal/pull/1185/files?file-filters[]=.csv)

What I don't fully understand is that this doesn't fail any tests, so is this data path not that important? Or it doesn't get tested in a way to trigger this (eg from installed wheel or conda package)

@jorisvandenbossche there is indeed some unfinished work here. Fiona 1.8.9 will work with GDAL 3 and PROJ 6 if you install fiona from a source distribution. For conda (and PyPI wheels), there are several things yet to do. We need to change the GDAL data file we're looking for as in rasterio: https://github.com/mapbox/rasterio/blob/master/rasterio/_env.pyx#L350. We also need to switch over to GDAL's new API for finding PROJ data. I'll take care of these right away. Testing this is awkward: to do it properly we need to add different build configurations to our already large matrix.

Testing this is awkward: to do it properly we need to add different build configurations to our already large matrix.

Yeah, I don't think writing the script the have a build entry that builds and installs a wheel and runs the tests for that installed version should be very hard, but fitting it into the current travis configuration seems more tricky.

This will be fixed by a4de49b.


[ui] Kube resource based charts

Epinio view - show graphs if we have access to metrics server

~metrics.k8s.io.podmetrics~ this info is already shown via info from epinio api
metrics.k8s.io.nodemetrics

need to consider if we can do the same for other epinio resources (service instances, configurations, etc)

QA team - This can either be tested now, or closed and added to https://github.com/epinio/ui/issues/265. Just let us know

QA team - This can either be tested now, or closed and added to #265. Just let us know

@richard-cox I am not sure about the context of this issue.
Please close it and add it to https://github.com/epinio/ui/issues/265
Thanks.

@richard-cox , @torchiaf  I am closing this and adding it #265 to clear up our dashboard.
I am still unsure what the expectation is, so we need to clarify when #265 is to be checked.
I have seen the pr attached (https://github.com/epinio/ui/pull/290) but I am not sure about the expected behavior. Things such:

If this is a feature solely for Rancher /  Rancher extension as currently I don't see it in the standalone version
Are the sole values CPU and memory?
Are they supposed to be the used amount of what is shown in the screenshot?

@mmartin24 quick updates:

Yes, the info banner will be visible only in extension mode.
Yes, the information are only about available cpu and memory in the Epinio node.
Resource's values between Epinio and Rancher should be consistent. Needs further investigations on how those values are  calculated both sides. I would say this is a bug ATM

The values match if you compare the metrics on the node where epinio is running - but the link Show Metrics in Cluster Explorer is pointing to general Cluster Dashboard (maybe not so accurate or showing different values?) and not to a specific node.


Translating values in templates

This is a question seeking support. Hopefully, I'm posting in an acceptable place. If not, please tell me where it belongs and accept my apologies. :-)
I'm a Hex editor and Tcl noob, but I've been trying my hand at creating a template for HexFiend to decipher Microsoft Access MDB files (a.k.a. Jet databases).
I've made a line in the template that returns the version of one of these files: uint32 "Jet Version". It will return a value of either 0, 1, 2, or 0x103.
I'd like to know if I can translate one of those values into an alternative value that is more meaningful to me. For example:

Name Column
Current Value
Alternative Value

Jet Version
1
Access 2000, 2002/2003 (Jet 4)

OR

Is this possible?

Don't think there is any builtin function to do it. This is what i've done https://github.com/ridiculousfish/HexFiend/blob/master/templates/Audio/FLAC.tcl#L62 create a dict for mapping value to string.

You'll need to use the "entry" command to add an artificial item. The dictionary is a nice way to do it. You can also throw together an if statement, something like:
set version [uint32]
move -4
set altname "Unknown"
if {$version == 0} {
    set altname "Access 2000, 2002/2003 (Jet 4)"
} elseif {$version == 1} {
    set altname "One"
}
entry "Jet Version" $altname

I got close with the if statement, but having issues with how text is selected. Can you describe the dictionary option a bit more, but for a beginner? I had difficulty understanding the linked example.

That should work :
proc getaltvalue {jetversion} {
	switch $jetversion {
		0 {return "Access 2000"}
		1 {return "Other version"}
		default {return "Unknow Version"}
	}
}
[...]
set jetversion uint32
entry "Jet Version" [getaltvalue $jetversion]
[...]


Reorder the profiles in the profile fragment

The profiles in the fragment are not in the order of last added. Reorder this as per the latest added.

Closed by #189


Change ElementProps acquisition to a prepared statement query

This changes how we fetch ElementProps from the nativeDB. It allows bypassing the creation of a DgnElement on the native side and various json mapping adapters, which should result in both more accurate DB data representation, as well as considerably better Elements API performance.
To support this, a mapping function has been drafted that would allow all consuming applications to use the following dollar syntax query without the need to match the JSON representation to the accurate ElementProps extending interface.

/azp run iTwin.js

Have you actually determined that this is faster? Is that the only motivation for this change?

Can you please explain the motivation behind this change?

Can you please explain the motivation behind this change?

Sorry, didn't expect much input on a draft PR yet, so didn't notice the question.
To my knowledge, the motivation is not only it being faster. We already have an interface how we can get data as a stringified JSON without some intermittent layers using the dollar syntax. This is why the expected outcome is that it should be faster, though some testing is soon to be carried out comparing with the current benchmark.
This change would result in a more accurate representation of actual data stored in DB. To illustrate, previously in some cases it seemed to not portray null struct information correctly #itwinjs-backlog/1057; even though code value is unset, previously it was always returned as an empty string. The output is using EC instance JSON adapters and it seems like it's not really that well extendable and we've had some discussions that ideally we would like to move away from it.
Applications seldom had their own reasons to do the mappings themselves (e.g. iTwin/imodel-transformer in the past). This would streamline mapping by delivering a new mapping function.
I might be missing something, but these are some of the key points. If anything else raises any concerns, please let me know.

To my knowledge, the motivation is not only it being faster.

I am very skeptical that this change will result in appreciable performance difference - and it's not clear to me which way will be faster. The DgnEelement "cost" you endeavor to eliminate adds caching, which for editing applications (where the same set of elements is read repeatedly) helps tremendously. I'm not sure eliminating it is a good idea at all.

This change would result in a more accurate representation of actual data stored in DB.

If there are bugs in the native code, we should fix them.

Applications seldom had their own reasons to do the mappings themselves (e.g. iTwin/imodel-transformer in the past). This would streamline mapping by delivering a new mapping function.

My strong suggestion is that this change should be implemented in native code, not here.

/azp run iTwin.js

more accurate DB data representation

Can you be more specific?

considerably better Elements API performance

Have you measured this?

Waiting for imodel-native#782 to be completed before advancing further.

Currently blocked by iTwin/itwinjs-backlog#1162

more accurate DB data representation

Can you be more specific?

We would be returning data as stored in our database without layers of further mapping on imodel-native side. This would move the business/itwinjs-core logic from imodel-native to itwinjs-core itself and get the data straight from the DB without all of those adaptors.
This would only be the first part of similar efforts, with insert/update to follow thereafter, ultimately aiming to use the imodel-native data objects as the DTOs without the need to always map all of the data stored in the database to an itwinjs-core interface on imodel-native side already.

considerably better Elements API performance

Have you measured this?

iTwin/imodel-native#782 has measured it with the improvement in big actually used datasets varying between -8% and +91%.

It allows bypassing the creation of a DgnElement on the native side and various json mapping adapters, which should result in both more accurate DB data representation

Have you verified the "more accurate representation" claim? Are you taking into account data fix-up/normalization that occurs during element loading such as https://github.com/iTwin/imodel-native/pull/820 or this?

It allows bypassing the creation of a DgnElement on the native side and various json mapping adapters, which should result in both more accurate DB data representation

Have you verified the "more accurate representation" claim? Are you taking into account data fix-up/normalization that occurs during element loading such as iTwin/imodel-native#820 or this?

We are taking that into account. This just changes the mapping place from C++ backend, to an itwinjs-core/common function, as per the second link, that's needed in a restricted format only in frontend.


Uncomment postbank sponsor

Uncommneted the line conntaing the postbank logo

Did you build the frontend? Does it display the postbank logo without breaking anything?

Did you build the frontend? Does it display the postbank logo without breaking anything? I'm approving this PR, merge if there are no errors!


checkstyle: 10.17.0 -> 10.18.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/checkstyle/checkstyle/releases.
meta.description for checkstyle is: Checks Java source against a coding standard
meta.homepage for checkstyle is: https://checkstyle.org/
meta.changelog for checkstyle is: https://checkstyle.org/releasenotes.html#Release_10.18.0
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.18.0 in filename of file in /nix/store/r33yvihpbzy30akz2vgp90rlnyi7pgxs-checkstyle-10.18.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

checkstyle

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r33yvihpbzy30akz2vgp90rlnyi7pgxs-checkstyle-10.18.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A checkstyle https://github.com/r-ryantm/nixpkgs/archive/8fe298a770342979c2ae3b27f40aec7cc928125c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/8fe298a770342979c2ae3b27f40aec7cc928125c#checkstyle

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/r33yvihpbzy30akz2vgp90rlnyi7pgxs-checkstyle-10.18.0
ls -la /nix/store/r33yvihpbzy30akz2vgp90rlnyi7pgxs-checkstyle-10.18.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

checkstyle

Maintainer pings
cc @pSub for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/checkstyle/checkstyle/releases.
meta.description for checkstyle is: Checks Java source against a coding standard
meta.homepage for checkstyle is: https://checkstyle.org/
meta.changelog for checkstyle is: https://checkstyle.org/releasenotes.html#Release_10.18.1
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.18.1 in filename of file in /nix/store/9k7l4kyzmj3q9jyym5a7qsnjzps219jm-checkstyle-10.18.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

checkstyle

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9k7l4kyzmj3q9jyym5a7qsnjzps219jm-checkstyle-10.18.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A checkstyle https://github.com/r-ryantm/nixpkgs/archive/e347ebb778b8cff8d4ce0474340ce97c08014d59.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e347ebb778b8cff8d4ce0474340ce97c08014d59#checkstyle

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9k7l4kyzmj3q9jyym5a7qsnjzps219jm-checkstyle-10.18.1
ls -la /nix/store/9k7l4kyzmj3q9jyym5a7qsnjzps219jm-checkstyle-10.18.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

checkstyle

Maintainer pings
cc @pSub for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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


Drill-down filtering across year, denomination family, and specific denominations

To make the filtering more user friendly and more manageable, the current dropdown filters will be adjusted so that users can select the year, a denomination family, and individual denominations.

[x] The filter selections should support just choosing a Year and a Denomination Family, with an "All" option available for the individual Denomination dropdown. This will enable us to view denominations as a whole across time and spaces, as well as offer the ability to drill deeper into the data.
[x] The filter selections should support choosing just a Year, and an All option for both Denomination Family and individual Denominations.
[x] The filter selections should support choosing a count type of Churches or Members.

Resolved in f5f6b478cd6583eaf43667f570326d0d2971bb95.


更改非法请求的log级别从ERROR到Warn

Issue: https://github.com/ctripcorp/apollo/issues/1209

Codecov Report

Merging #1215 into master will increase coverage by 0.07%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1215      +/-   ##
============================================
+ Coverage     48.98%   49.06%   +0.07%
- Complexity     1699     1701       +2
============================================
  Files           366      366
  Lines         10266    10267       +1
  Branches       1043     1044       +1
============================================
+ Hits           5029     5037       +8
+ Misses         4866     4858       -8
- Partials        371      372       +1

Impacted Files
Coverage Δ
Complexity Δ

...mmon/controller/GlobalDefaultExceptionHandler.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...work/apollo/biz/message/DatabaseMessageSender.java
66.66% <0%> (+16.66%)
8% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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

Coverage increased (+0.08%) to 52.683% when pulling 9f9c258b43277e5cc38c42f41198e92861d21ede on nianjiang:patch-1 into 4e0a78951686cea3945efcd791585533909c1126 on ctripcorp:master.

请review
修改isWarn为 logLevel,
logLevel为日志级别,  取值范围为: ERROR/WARN/DEBUG/INFO/TRACE

@nianjiang
非常感谢！，麻烦更新一下代码，然后把change squash为一个commit提交吧。
比如，可以使用 git rebase -i master

@nobodyiam
多谢, 我新建了一个pull request: https://github.com/ctripcorp/apollo/pull/1229

Thanks, will take a look soon!

#1229 merged.


[radicale] Use Debian 12 Service Unit instead of the self written

Yeah, I failed to create an Issue... nice.
Well, I would like to discuss whether the installation instructions for Radicale should use the radicale.service unit built into Debian 12 instead of the one currently described on the website.
I can think of the following arguments in favor:

Service file managed by Debian maintainers, thus updatable.
Higher security mechanisms (special user instead of root, restriction of permissions)
Shorter installation instructions, therefore less error-prone. The heading Run as a service can simply be condensed to systemctl enable --now radicale.


Facing issues with camera in Flutter 0.9.0

I am facing issues with camera 0.2.0 with flutter 0.9.0
`E/flutter (12582): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (12582): NoSuchMethodError: Attempted to use type 'CameraDescription' as a function. Since types do not define a method 'call', this is not possible. Did you intend to call the CameraDescription constructor and forget the 'new' operator?
E/flutter (12582): Receiver: CameraDescription
E/flutter (12582): Tried calling: CameraDescription(lensDirection: Instance of 'CameraLensDirection', name: "0")
E/flutter (12582): #0      Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46)
E/flutter (12582): #1      availableCameras. (package:camera/camera.dart:55)
E/flutter (12582): #2      MappedListIterable.elementAt (dart:_internal/iterable.dart:414)
E/flutter (12582): #3      ListIterable.toList (dart:_internal/iterable.dart:219)
E/flutter (12582): #4      availableCameras (package:camera/camera.dart:59)
E/flutter (12582):
E/flutter (12582): #5      main (file:///home/nishant/alert_on_crises/lib/main.dart:13)
E/flutter (12582):
E/flutter (12582): #6      _startIsolate. (dart:isolate-patch/dart:isolate/isolate_patch.dart:279)
E/flutter (12582): #7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
Syncing files to device vivo 1723...                         5.8s
🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on vivo 1723 is available at: http://<IP_ADDRESS>:8101/
For a more detailed help message, press "h". To quit, press "q".`

Are you able to share the minimum code required to recreate this? Is there also a reason you haven't upgraded your Flutter to a later version?

As there was no reply I close this here.


This is incredible

I just switched to fuse, I'm basically speechless at how good it is. That's all.

Thank you for such kind words! And welcome to the community!

@danielearwicker we love it too, and hope you will help us with suggestions and ideas :)


Add correction for multiple contrasts within a study in Stouffer's IBMA

Closes None.

Changes proposed in this pull request:

Add the correction for multiple contrasts within a study in Stouffer's IBMA, implemented in https://github.com/neurostuff/PyMARE/pull/117

if you merge in main, that should fix the codecov errors you are seeing!

That's a good point. I tried to pass a 1D array since the groups and weights are the same across voxels, but PyMARE didn't allow that.
In the end, we only use the information from one voxel: https://github.com/neurostuff/PyMARE/blob/master/pymare/estimators/combination.py#L145-L146


Documentation

Currently everything is listed inside the README.md this is better split into multiple files, for example other md files in a file structure which reference back and forth to eachother.
Also include more examples that use real-world objects for better understanding of the behaviour.
Also include documentation about how the classes are defined to assist with development.

Work for this issue is not completely done with #25 , but it is a good start.


Link is broken

The link takes me the wrong page

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

ID: cc064e49-5f24-ff80-d511-7f1947fc39da
Version Independent ID: b8ad47c2-8264-c232-167f-b9ee69d6dce1
Content: Xbox One Developer Mode activation - UWP app developer
Content Source: windows-apps-src/xbox-apps/devkit-activation.md
Product: windows
GitHub Login: @mtoepke
Microsoft Alias: scotmi

Hi @ghostcaptain18 ,
You'll need to first sign into Dev Center with your Windows Dev Center account, then you should be able to follow that link.
See https://docs.microsoft.com/en-us/windows/uwp/publish/using-the-windows-dev-center-dashboard
for information on Dev Center and creating an account.

@mtoepke partner.microsoft.com/xboxactivate aka.ms/activatexbox both of those do not work for me.

@ghostcaptain18
Can you try in a new InPrivate or Incognito window?  Or after flushing your cache?
And make sure you are signed into Dev Center / Partner Center with your developer account.  It should show your studio name in the upper left, something like "Partner Center | mystudioname", for example, when you navigate to https://partner.microsoft.com/en-us/dashboard/windows/overview.

@ghostcaptain18
Can you try in a new InPrivate or Incognito window? Or after flushing your cache?
And make sure you are signed into Dev Center / Partner Center with your developer account. It should show your studio name in the upper left, something like "Partner Center | mystudioname", for example, when you navigate to https://partner.microsoft.com/en-us/dashboard/windows/overview.

Still doesn't work and I agree in that the link seems to be broken. Any ideas? Has Microsoft cancelled the program?

I am having the same problem. Please help me fix this.

Thanks for your report.
The https://partner.microsoft.com/en-us/xboxconfig/devices link is the correct link and should be working. Make sure you are logged into Partner Center with a valid, registered app developer account.
Here are some more detailed steps we've added to the docs (particularly Step 6, to verify you are logged in with the correct account type):

Register an app developer account in Partner Center.  This is also the first step towards publishing your game.

Sign in to Partner Center with your valid, current Partner Center app developer account.  If you don't see multiple options in the left hand navigation pane, or don't see the Create a new app option in the Overview section, the following steps and activation links will not work; make sure you fully registered your app developer account from the previous step.

Go to partner.microsoft.com/xboxconfig/devices.

If these steps don't work for you, please let us know.

It's not working, it gives me a loop when I try to go to the next page of
registration.
On Tue, Feb 19, 2019 at 9:46 PM Michael<EMAIL_ADDRESS>wrote:

Thanks for your report.
The https://partner.microsoft.com/en-us/xboxconfig/devices link is the
correct link and should be working. Make sure you are logged into Partner
Center with a valid, registered app developer account.
Here are some more detailed steps we've added to the docs (particularly
Step 6, to verify you are logged in with the correct account type):

Register an app developer account in Partner Center
https://developer.microsoft.com/store/register. This is also the
first step towards publishing your game.
2.
Sign in to Partner Center https://partner.microsoft.com/dashboard
with your valid, current Partner Center app developer account. If you don't
see multiple options in the left hand navigation pane, or don't see the Create
a new app option in the Overview section, the following steps and
activation links will not work; make sure you fully registered your
app developer account from the previous step.
3.
Go to partner.microsoft.com/xboxconfig/devices.
If these steps don't work for you, please let us know.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-uwp/issues/1089#issuecomment-465398264,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ar4NNLNaG091uvm7FFJH-G_TmZwvlrjkks5vPLb8gaJpZM4Xvf6R
.

Thank you for taking the time to let us know about this issue. It seems that it is resolved in regard to proper documentation so I am closing.
If you believe your feedback still requires an update to the documentation, please let us know either directly in this thread, by filing a new issue, or by filing a Pull Request  with your recommended updates.
Though the Issue will be marked as closed, we will still receive replies and are able to reopen the issue if necessary.
Thanks again for taking the time to contribute.


bgpv2: Fix the wrong termination condition of cleanup-peer-config-status

bgpv2: Fix the wrong termination condition of cleanup-peer-config-status

/test

(rebased as the PR was hitting a permanent CI failure fixed in the meantime)


kernel-memory in relationship with semantic-kernal

I would like to better understand the relationship between kernel-memory and semantic-kernal.
I understand this project targets the specific requirement of "talk to my data" and, from my exploration, provides greater functionality compared to SK's Memory skills. It also works great as a standalone project, with capabilities to index, query, and provide natural language summarisation etc.
The README says:

Designed for seamless integration as a Plugin with Semantic Kernel

However, I cannot see how this is intended to work from an implementation perspective. All the samples use kernel-memory directly, without the need for SK. Are there any samples for this scenario?

For the sake of understanding
let's say you're using Qdrant as a backend
import a pdf about the use of nginx
and then ask what nginx is, it works like this:
When you import file:
pdf file after tokenize, will be split into multiple partition
each partition will be sent to the LLM for embedding
and then each partition data with its corresponding embedding data will be saved into the Qdrant
When you ask:
your question will be sent to LLM for embedding
the embedding data of the question will be used to query in Qdrant to find out the partitions related to the question
and then the partitions will be written as facts in the prompt
like this
Facts:
{{$facts}}
======
Given only the facts above, provide a comprehensive/detailed answer.
You don't know where the knowledge comes from, just answer.
If you don't have sufficient information, reply with 'INFO NOT FOUND'.
Question: {{$input}}
Answer:

and finally the prompt will be sent to LLM to get the answer.
The bold parts are done by kernel-memory, other parts are done by Semantic Kernel

Thank you for this question.
Chat-Copilot (https://github.com/microsoft/chat-copilot) is an example of an aplication that utilizes kernel-memory in conjunction with semantic-kernel.
For advanced application case, you may have the need to talk your data along with other prompt, planner, plug-in, or agent based activities.

hi @liammoat I suggest looking at Kernel Memory as a Plugin that can be used with Semantic Kernel and SK planners. SK includes a very basic Memory plugin that needs to be maintained in 3 languages and misses some important features like importing files, automatic chunking, RAG, asynchronous data ingestion, etc.
The plugin for C# is almost ready, see here, there's also one example: https://github.com/microsoft/kernel-memory/pull/146

// ...

var memory = new MemoryWebClient("http://<IP_ADDRESS>:9001/");

await memory.ImportDocumentAsync("mydocs-NASA-news.pdf");

kernel.ImportFunctions(new MemoryPlugin(memory), "memory");

var skPrompt = """
Question to Kernel Memory: {{$input}}

Kernel Memory Answer: {{memory.ask $input}}

If the answer is empty say 'I don't know' otherwise reply with a preview of the answer, truncated to 15 words.
""";

var oracle = kernel.CreateSemanticFunction(skPrompt);

KernelResult answer = await kernel.RunAsync("any news about Orion?", oracle);

// Answer: Yes, NASA has invited media to see the new test version of the Orion spacecraft...

answer = await kernel.RunAsync("any news about Hubble telescope?", oracle);

// Answer: I don't know.

Thanks @dluc - that is exactly what I was looking for. 😊


[Bug][Unity] TVMError when using relax to load model with Trilu operator

The error message suggests that there is an issue with converting the second argument for the trill operation. The error message is as follows: TVMError: In function relax.op.tril(0: RelayExpr, 1: int) -> RelayExpr: error while converting argument 1: [06:33:20] /workplace/software/tvm/tvm/include/tvm/runtime/packed_func.h:562: InternalError: Check failed: type_code_ == kDLInt (8 vs. 0) : expected int but got Object
It is worth noting that when running the model using the relay module, no error occurs. The error only occurs when attempting to load the model using the relax module.
The model structure is as below:

Actual behavior
Traceback (most recent call last):
  File "test.py", line 8, in <module>
    tvm_model = from_onnx(model, opset=18, keep_params_in_input=True)
  File "/workplace/software/tvm/tvm/python/tvm/relax/frontend/onnx/onnx_frontend.py", line 2287, in from_onnx
    return g.from_onnx(graph, opset)
  File "/workplace/software/tvm/tvm/python/tvm/relax/frontend/onnx/onnx_frontend.py", line 1932, in from_onnx
    self._construct_nodes(graph)
  File "/workplace/software/tvm/tvm/python/tvm/relax/frontend/onnx/onnx_frontend.py", line 2095, in _construct_nodes
    op = self._convert_operator(op_name, inputs, attr, self.opset)
  File "/workplace/software/tvm/tvm/python/tvm/relax/frontend/onnx/onnx_frontend.py", line 2191, in _convert_operator
    sym = op_function(self.bb, inputs, attrs, [self._nodes, self._params])
  File "/workplace/software/tvm/tvm/python/tvm/relax/frontend/onnx/onnx_frontend.py", line 621, in _impl_v14
    return relax.op.tril(x, k)
  File "/workplace/software/tvm/tvm/python/tvm/relax/op/create.py", line 238, in tril
    return _ffi_api.tril(x, k)  # type: ignore
  File "/workplace/software/tvm/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 238, in __call__
    raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
  4: TVMFuncCall
  3: _ZN3tvm7runtime13Pac
  2: tvm::runtime::TypedPackedFunc<tvm::RelayExpr (tvm::RelayExpr, int)>::AssignTypedLambda<tvm::RelayExpr (*)(tvm::RelayExpr, int)>(tvm::RelayExpr (*)(tvm::RelayExpr, int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*) const
  1: tvm::runtime::TVMMovableArgValueWithContext_::operator int<int>() const
  0: _ZN3tvm7runtime6detail
  5: TVMFuncCall
  4: _ZN3tvm7runtime13Pac
  3: tvm::runtime::TypedPackedFunc<tvm::RelayExpr (tvm::RelayExpr, int)>::AssignTypedLambda<tvm::RelayExpr (*)(tvm::RelayExpr, int)>(tvm::RelayExpr (*)(tvm::RelayExpr, int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*) const
  2: tvm::runtime::TVMMovableArgValueWithContext_::operator int<int>() const
  1: tvm::runtime::TVMPODValue_::operator int() const
  0: _ZN3tvm7runtime6detail
  File "/workplace/software/tvm/tvm/include/tvm/runtime/packed_func.h", line 777
TVMError: In function relax.op.tril(0: RelayExpr, 1: int) -> RelayExpr: error while converting argument 1: [06:33:20] /workplace/software/tvm/tvm/include/tvm/runtime/packed_func.h:562: InternalError: Check failed: type_code_ == kDLInt (8 vs. 0) : expected int but got Object

Environment

branch: unity
tvm: v0.14.dev0-595-gfa0d35b
onnx: 1.14.0

Steps to reproduce

Download the ONNX model
Run the script below

import onnx
import tvm
from tvm import relax
from tvm.relax.frontend.onnx import from_onnx

onnx_model_path = "Trilu.onnx"
model = onnx.load(onnx_model_path)
tvm_model = from_onnx(model, opset=18, keep_params_in_input=True)

Triage

needs-triage

cc @quic-sanirudh

@Thrsu This bug has been fixed in #15924, please recheck it and close the issue.


Enforce case for well known methods

https://datatracker.ietf.org/doc/html/rfc2616#section-5.1.1 Says “The method is case-sensitive.”

RFC 7230 3.1.1.  Request Line
The method token indicates the request method to be performed on the
target resource.  The request method is case-sensitive.
method         = token
The request methods defined by this specification can be found in
Section 4 of [RFC7231], along with information regarding the HTTP
method registry and considerations for defining new methods.
...
Recipients of an invalid request-line SHOULD respond with either a
400 (Bad Request) error or a 301 (Moved Permanently) redirect with
the request-target properly encoded.

If we think the lower-case or mixed-case method is "invalid request-line", we should send 400 or 301.

RFC 7231 4.  Request Methods
4.1.  Overview
...
By convention, standardized methods are defined in all-uppercase
US-ASCII letters.
...
The set of methods allowed by a target resource can be listed in an
Allow header field (Section 7.4.1).  However, the set of allowed
methods can change dynamically. When a request method is received
that is unrecognized or not implemented by an origin server, the
origin server SHOULD respond with the 501 (Not Implemented) status
code.  When a request method is received that is known by an origin
server but not allowed for the target resource, the origin server
SHOULD respond with the 405 (Method Not Allowed) status code.

If we think it's "unrecognized" or "not implemented" method, we SHOULD send 501.

I vote for "not recognized" (501) for mixed case versions of methods that ATS does interact with.
You could make a case either way though, and I would change the PR if others feel strongly about using the other status code.

[approve ci autest]

@shinrich In hdrtoken_method_tokenize(), why does it have to call hdrtoken_is_wks(string) first, when hdtoken_tokenize() does exactly the same thing when you call that ?

You are right it looks like the separate hdrtoken_is_wks is unnecessary.  Does save a string compare, but likely pretty short string and not worth the added complexity.  Should probably to the comparison in any case.  I'll put up another PR to simplify tomorrow.

Cherry-picked to v9.1.x branch.


Add label descriptions

This PR does not implement API changes as that requires SDK changes that will be done in other PR
Screenshots:

Codecov Report

Merging #3662 into master will decrease coverage by <.01%.
The diff coverage is 35.71%.

@@            Coverage Diff             @@
##           master    #3662      +/-   ##
==========================================
- Coverage    35.9%   35.89%   -0.01%
==========================================
  Files         286      287       +1
  Lines       41312    41323      +11
==========================================
+ Hits        14832    14834       +2
- Misses      24298    24307       +9
  Partials     2182     2182

Impacted Files
Coverage Δ

modules/auth/repo_form.go
33.76% <ø> (ø)
:arrow_up:

models/issue_label.go
61.25% <ø> (ø)
:arrow_up:

models/migrations/migrations.go
2.58% <ø> (ø)
:arrow_up:

models/migrations/v58.go
0% <0%> (ø)

routers/repo/issue_label.go
46.71% <100%> (+0.78%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Cant see SQL Automated backup in azure portal

I have an sql server which I had deleted then recreated using the managed disk, the option of automated backup was showing inside the portal, but now I cant see the automated backup when I recreated the virtual machine using the managed disk. How can this be enabled, I tried installing the SQL IaaS extension but I was still not able to see the backups. How can this be possible?
Is there anything that I had missed out doing this?
Any feedback will be helpful on this

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

ID: 32a2398f-5cde-2895-8b40-d16bd7069fae
Version Independent ID: 4b68e93e-b878-1aab-fc67-104d1912eab5
Content: Automated Backup v2 for SQL Server 2016/2017 Azure VMs
Content Source: articles/virtual-machines/windows/sql/virtual-machines-windows-sql-automated-backup-v2.md
Service: virtual-machines-sql
GitHub Login: @rothja
Microsoft Alias: jroth

Thanks for reaching out @Anmolgan81. Unfortunately this is a type of issue that should rather be handled either via Support Request or in the forums as it does not directly relate to an issue with the document.
Few things I would suggest:

Try stopping and starting the VM to see if it helps
Ensure the Extension installed properly
Open a support request to the SQL team to get the backup portion working again
Reach out to MSDN for further assistance on getting the backup portion working again

The best option would likely be the support request as it would give an engineer access to your VMs information so they can see if something is configured incorrectly.

The documentation does not cover virtual machines that were created and SQL Server installed post-creation. It only covers VMs created with Marketplace SQL images. The scenario described by Anmolgan81 is what happens in that case. The documentation does not explain that the portal SQL Configuration GUI will not be available in that case and PowerShell is the only option.

@Kaaikaula Can you suggest me some option that explain how to manage the SQL configuration backups using the powershell option?? Please point me in the right direction?

@Kaaikaula Thanks for pointing that out. You are right. We state this in the article here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-server-agent-extension#installation, but it could probably be more easily discovered.
@Anmolgan81 The documentation for automated backup provides steps to use PowerShell to manage your automated backups. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-automated-backup-v2. If you still can't get it working with PowerShell, you might need to open a support case to investigate. Thanks, and sorry you're running into these problems!

So basically I cannot manage my automated sql backups from the azure portal just because I migrated my sql vm to csp subscription?
Is there any other user interface that helps to manage the sql configuration backups more easily then the powershell?
Regards
Annol Ganju

From: Jason Roth<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 12:37:30 AM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
@Kaaikaulahttps://github.com/Kaaikaula Thanks for pointing that out. You are right. We state this in the article here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-server-agent-extension#installation, but it could probably be more easily discovered.
@Anmolgan81https://github.com/Anmolgan81 The documentation for automated backup provides steps to use PowerShell to manage your automated backups. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-automated-backup-v2. If you still can't get it working with PowerShell, you might need to open a support case to investigate. Thanks, and sorry you're running into these problems!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398511013, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp87wkn2KikM6Z309Lg0RV-zPmvm9ks5t-UvygaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

We do have opened the support ticket for this, and they are referring to.exzct same documents that you guys have posted here, support is not really helping me out here.
They took 12 days to understand my issue neither they respond well in time. Today they respond and now they are giving me the same links which are posted here. Didn't expect that from Microsoft.
Regards
Anmol Ganju

From: Jason Roth<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 12:37:30 AM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
@Kaaikaulahttps://github.com/Kaaikaula Thanks for pointing that out. You are right. We state this in the article here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-server-agent-extension#installation, but it could probably be more easily discovered.
@Anmolgan81https://github.com/Anmolgan81 The documentation for automated backup provides steps to use PowerShell to manage your automated backups. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-automated-backup-v2. If you still can't get it working with PowerShell, you might need to open a support case to investigate. Thanks, and sorry you're running into these problems!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398511013, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp87wkn2KikM6Z309Lg0RV-zPmvm9ks5t-UvygaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

The option should be present in the portal. However in your case this seems to be the underlying problem. This is where support should focus their effort. You can of course manage it via PowerShell but seems like more work than just using the portal.
Some suggestions to try, try recerating the SQL machine and installing the backup service via extension again. This will help to determine if it is just an issue with that specific machine or as a whole. You do not have to delete your current instance. I would just clone the disk or use another manged disk to see if that works.
Can you also provide me with the ticket number so I can follow up?

By backup extension you mean??
I have tried installing the sql iaas extension but was unsuccessful when doing this.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Micah<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 2:53:01 AM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
The option should be present in the portal. However in your case this seems to be the underlying problem. This is where support should focus their effort. You can of course manage it via PowerShell but seems like more work than just using the portal.
Some suggestions to try, try recerating the SQL machine and installing the backup service via extension again. This will help to determine if it is just an issue with that specific machine or as a whole. You do not have to delete your current instance. I would just clone the disk or use another manged disk to see if that works.
Can you also provide me with the ticket number so I can follow up?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398550616, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp4QLlYHRp18TIV_4kHLEeZv-KCZiks5t-Wu1gaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

@Anmolgan81 I agree with @MicahMcKittrick-MSFT. If possible, just start with a fresh SQL Server Virtual Machine in the portal. Start it up and verify that you get the portal experience described in the article for Automated Backup. Then migrate your data. You could use a backup created by Automated Backup on the other machine, OR you could just manually create a backup file locally and transfer it through any internet/cloud technique of sharing files to the other machine. Restore your database and stop and deallocate the other SQL VM. Only you know if other steps are involved, such as updating client connections or users/logins or related software on the existing VM. Just make sure before you delete the original VM that you have verified that all of your data has migrated successfully. (Actually, I would recommend just stopping the other VM...if you do this you are not charged but you can always start it later to retrieve something you forgot, and then you can delete it completely much later if you're sure you're good).
I apologize that this suggestion is inconvenient, but based on your goals it is probably faster than trying to find a way to correct the portal experience of your current VM.
Also, I just want to make sure that one thing is clear. You only get the portal experience if you create the SQL VM from the portal and allow it to setup your VM with SQL on it. If you install an OS-only VM and then install SQL Server on it, you will not be able to get the portal experience and PowerShell management is all that is available in that scenario. Thanks!

Hi pleas find the support request below which I have raised particularly for thos issue but am not getting a good solution from the support person who is handling this case please do let me know if you can help me with this.
Support ticket:[REG:118060718341159]
Get Outlook for iOShttps://aka.ms/o0ukef

From: Jason Roth<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 8:59:07 PM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
@Anmolgan81https://github.com/Anmolgan81 I agree with @MicahMcKittrick-MSFThttps://github.com/MicahMcKittrick-MSFT. If possible, just start with a fresh SQL Server Virtual Machine in the portal. Start it up and verify that you get the portal experience described in the article for Automated Backup. Then migrate your data. You could use a backup created by Automated Backup on the other machine, OR you could just manually create a backup file locally and transfer it through any internet/cloud technique of sharing files to the other machine. Restore your database and stop and deallocate the other SQL VM. Only you know if other steps are involved, such as updating client connections or users/logins or related software on the existing VM. Just make sure before you delete the original VM that you have verified that all of your data has migrated successfully. (Actually, I would recommend just stopping the other VM...if you do this you are not charged but you can always start it later to retrieve something you forgot, and then you can delete it completely much later if you're sure you're good).
I apologize that this suggestion is inconvenient, but based on your goals it is probably faster than trying to find a way to correct the portal experience of your current VM.
Also, I just want to make sure that one thing is clear. You only get the portal experience if you create the SQL VM from the portal and allow it to setup your VM with SQL on it. If you install an OS-only VM and then install SQL Server on it, you will not be able to get the portal experience and PowerShell management is all that is available in that scenario. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398793094, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp3RVUjkMdLTTRfhyt8WoGHLd-65bks5t-mpDgaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

@Anmolgan81 I do not have access to our support system to find this, but I can try to ask some support engineers if they could help me. In the meantime, what do you think of our idea to transition to a new SQL VM where the portal experience works? Thanks!

@rothja I will look into the ticket :) And thanks for the explanation! So seems the main issue here is that when he created the VM from existing disk this removes the SQL management from the portal.
@Anmolgan81 So the reason you cannot manage your SQL backups from the portal is because you recreated your VMs from an existing disks and not directly from the portal.  If you do not want to use PowerShell to manage those backups then you would want to go about the suggestion to create a new SQL server from the portal and migrate the data over.

@Anmolgan81 in addition, I would suggest leaving your feedback on
UserVoice so the SQL team can get insights into the issue and understand that even though you created your VM from an existing managed disk you still want to be able to use the portal to manage your backups and not just PowerShell.

Hi @micah,
So basically I will try to use @json’s idea but I need some help with this from a support person.
If you can help me with this using any other meeting tool ex(skype for bussiness etc) it will be highly appreciated or you can provide any support person who can help with this.
Is there no other idea of managing thr sql automated backup using the portal.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Micah<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 9:38:31 PM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
@Anmolgan81https://github.com/Anmolgan81 in addition, I would suggest leaving your feedback on
UserVoicehttps://feedback.azure.com/forums/34192--general-feedback so the SQL team can get insights into the issue and understand that even though you created your VM from an existing managed disk you still want to be able to use the portal to manage your backups and not just PowerShell.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398806667, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp0YbT9ocisRJpSy0bZyfPOZChYkbks5t-nN_gaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

not the right @micah

Hi @Micah
So basically I will try to use @Json idea but I need some help with this from a support person.
If you can help me with this using any other meeting tool ex(skype for bussiness etc) it will be highly appreciated or you can provide any support person who can help with this.
Is there no other idea of managing thr sql automated backup using the portal.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Anmol Ganju
Sent: Wednesday, June 20, 2018 9:54:32 PM
To: MicrosoftDocs/azure-docs; MicrosoftDocs/azure-docs
Cc: Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
Hi @micah,
So basically I will try to use @json’s idea but I need some help with this from a support person.
If you can help me with this using any other meeting tool ex(skype for bussiness etc) it will be highly appreciated or you can provide any support person who can help with this.
Is there no other idea of managing thr sql automated backup using the portal.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Micah<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 9:38:31 PM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
@Anmolgan81https://github.com/Anmolgan81 in addition, I would suggest leaving your feedback on
UserVoicehttps://feedback.azure.com/forums/34192--general-feedback so the SQL team can get insights into the issue and understand that even though you created your VM from an existing managed disk you still want to be able to use the portal to manage your backups and not just PowerShell.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398806667, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp0YbT9ocisRJpSy0bZyfPOZChYkbks5t-nN_gaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

Sorry my bad
Get Outlook for iOShttps://aka.ms/o0ukef

From: micah<EMAIL_ADDRESS>Sent: Wednesday, June 20, 2018 9:57:06 PM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
not the right @micahhttps://github.com/micah
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-398812486, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp0lY0hw3TNI7HZ4gFxSaD7zf09GDks5t-nfagaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

Hi @MicahMcKittrick-MSFT
So basically I will try to use @Json idea but I need some help with this from a support person.
If you can help me with this using any other meeting tool ex(skype for bussiness etc) it will be highly appreciated or you can provide any support person who can help with this.
Is there no other idea of managing thr sql automated backup using the portal.

Hi, @rothja
I like the idea, so basically we created the SQL Server from the marketplace images that are present there, we are not installing SQL Server onto a particular Windows VM.
Your Idea is ideally good, thats what we did in order to get the SQL Configuration option. But its too lengthy and it requires a lot of effort in order to achieve the right configurations.
There are lot of customers that are going through this and we cant provide this solution to each one of them. There has to be some differnet approach or something else, or the Microsoft SQL Server product group has to come up with something in order to save the customers from these hazards bacisally, if the managed disks support is enabled then we wont have to delete the vm and just move the vm across subscriptions but god knows when that will be enabled.
I have launched a UserVoice feedback onto the microsoft page below is the link for that: https://feedback.azure.com/forums/34192--general-feedback/suggestions/34615402-enable-sql-server-configuration-option-after-migra
Thanks for the suggestion @MicahMcKittrick-MSFT.
There has to be some other user interface that can help our customers to setup the backups from the portal, The powershell option is good for someone who has knowledge and information. But this is not applicable for all of our customers.
I urge all of you who are linked to this thread please share some details of the product group team, or just get someone who can get us some clarity over this, you all have my support ticket information (REG:118060718341159).
Thank you for all of your support and quick responses, this github communication is a good think started by microsoft where we get a quick response from a good microsoft representative, but the microsoft's support ticket are not a good way to go about unless we raise a ticket in SEV A.

@Anmolgan81 thanks for sharing the feedback link you made. I have voted for that suggestion as well :)
Have you looked into Azure Backup for the VMs that were rebuilt from managed disks? This might provide you with some backup options that can be done via the portal if the SQL backup manager is not available.

Can you provide me some links on this.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Micah<EMAIL_ADDRESS>Sent: Friday, June 22, 2018 12:51:21 AM
To: MicrosoftDocs/azure-docs
Cc: Anmol Ganju; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Cant see SQL Automated backup in azure portal (#9814)
@Anmolgan81https://github.com/Anmolgan81 thanks for sharing the feedback link you made. I have voted for that suggestion as well :)
Have you looked into Azure Backup for the VMs that were rebuilt from managed disks? This might provide you with some backup options that can be done via the portal if the SQL backup manager is not available.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/9814#issuecomment-399214655, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp6zKW1856NlA4IMWjYOpXsFVcylwks5t-_IxgaJpZM4UdOyE.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Technologies: www.ifi.tech

I believe these should get you started:
https://docs.microsoft.com/en-us/azure/backup/backup-introduction-to-azure-backup
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-backup-recovery#azbackup
https://docs.microsoft.com/en-us/azure/backup/backup-azure-sql-database
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm
Take a look and if you need more I am happy to keep digging :)

Hi @MicahMcKittrick-MSFT any updates on the support requrest which I have shared with you??

Hi @MicahMcKittrick-MSFT I an interested on taking SQL Server backups and storing them inside the recovery services vault, can you tell me more about this, as to how it is better then the SQL Server Configuration option?
What kind of backups does it takes, here am talking about log backups, database backups, differential backups etc. Does it takes backup of each and everything or does this also support taking separate backups which I have talked above??
Are there any links which you can share with me or any training videos that can help me out on this.
I see that this option is still in preview and our clients would not like to store there production databases backups inside the preview azure services, would know or have an idea as to when this item is going to be coming in General Availability???

I do not have any update on the support ticket. From what we understand now the SQL configuration manager in the portal will only show up if you create the VM from the portal. Otherwise, in your case since the VMs are created from an existing disk you need to manage the backups via PowerShell if you want to use the SQL backup manager. So there is nothing to be done in that aspect until the product team develops this feature to allow the manager to be visible via the portal when creating from existing disks.
Azure backup will take a full snapshot of everything associated with the VM. This includes all the attached disk and the OS disk. You do not have the ability to take backups of specific disks or just the database. Rather the entire VM is grouped together as a whole. I suppose this would be the difference between the SQL backup we were originally discussing and Azure Backup. In both cases you are still getting a full backup of your machine however with Azure backup it is the entire environment and not just the disks. So when you go to restore from backup it will restore the entire VM and all associated disks.
This list should give you a good understand of the different types of backups:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-backup-recovery#decision-matrix
As per when the SQL backup is out of preview I do not have an ETA on that.

@gmoed yes the issue is when creating a VM from an existing disk and not from a Marketplace image. Even though your disk is from a marketplace image the fact that you are now creating a VM from a disk and not directly from marketplace is where this issue comes about.

I will close this for now. If anyone has additional questions please just let me know.


NvimError: Cursor position outside buffer

Installed via Plug 'ripxorip/bolt.nvim', { 'do': ':UpdateRemotePlugins' }
NVIM v0.4.2
Getting the following error upon typing :Bolt:

Error detected while processing function remote#define#request:
line    2:
Error invoking '~/.local/share/nvim/plugged/bolt.nvim/rplugin/python3/vim_tc_explorer:autocmd:TextChangedI:TC_Input' on
 channel 3 (python3-rplugin-host):
error caught in request handler '~/.local/share/nvim/plugged/bolt.nvim/rplugin/python3/vim_tc_explorer:autocmd:TextChan
gedI:TC_Input []':
Traceback (most recent call last):
  File "~/.local/share/nvim/plugged/bolt.nvim/rplugin/python3/vim_tc_explorer/__init__.py", line 128, in insert_changed

    self.TcExplorer.handle_input()
  File "~/.local/share/nvim/plugged/bolt.nvim/rplugin/python3/vim_tc_explorer/vim_tc_explorer.py", line 554, in handle_
input
    exp.window.cursor = (exp.selected + exp.headerLength, 0)
  File "/usr/lib/python3.7/site-packages/pynvim/api/window.py", line 27, in cursor
    return self.request('nvim_win_set_cursor', pos)
  File "/usr/lib/python3.7/site-packages/pynvim/api/common.py", line 51, in request
    return self._session.request(name, self, *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
    raise self.error_wrapper(err)
pynvim.api.nvim.NvimError: b'Cursor position outside buffer'
Press ENTER or type command to continue

Hi thanks for the bug report. I have not seen this behavior before. Is this report from a vanilla NeoVim or with other plugins running as well?

Hey,
Sorry for the late response.
I could reproduce this issue with no other plugins installed.

Hi, I just found out about this plugin, and I find it very cool. However, I am having the same problem. Has anyone found a solution?

Are you still on the same version? I cant reproduce it no matter what I try. Are you running the latest version?

Error detected while processing function remote#define#request:
line    2:
Error invoking '/home/anuvyklack/.local/share/nvim/site/pack/packer/start/bolt.nvim/rplugin/python3/vim_tc_explorer:autocmd:TextChangedI:TC_Input' on channel 3 (python3-rplugin-hos
t):
error caught in request handler '/home/anuvyklack/.local/share/nvim/site/pack/packer/start/bolt.nvim/rplugin/python3/vim_tc_explorer:autocmd:TextChangedI:TC_Input []':
Traceback (most recent call last):
  File "/home/anuvyklack/.local/share/nvim/site/pack/packer/start/bolt.nvim/rplugin/python3/vim_tc_explorer/__init__.py", line 128, in insert_changed
    self.TcExplorer.handle_input()
  File "/home/anuvyklack/.local/share/nvim/site/pack/packer/start/bolt.nvim/rplugin/python3/vim_tc_explorer/vim_tc_explorer.py", line 556, in handle_input
    exp.window.cursor = (exp.selected + exp.headerLength, 0)
  File "/usr/lib/python3/dist-packages/pynvim/api/window.py", line 27, in cursor
    return self.request('nvim_win_set_cursor', pos)
  File "/usr/lib/python3/dist-packages/pynvim/api/common.py", line 58, in request
    return self._session.request(name, self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pynvim/msgpack_rpc/session.py", line 104, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Cursor position outside buffer

Seem like I have the same problem. I am running the latest nightly build of Neovim, with pynvim version: 0.4.1

Hmm.. can you try to reproduce in a docker environment? Or can I? What system are you on?

I don't know how to work with docker. I can, if you explain how.
I am using Pop!_OS 20.10 which is Ubuntu 20.10 with a different gnome-shell. I'm using neovim nightly with python3-pynvim package version 0.4.1-2 from Ubuntu apt repo.


fix: detect positioning for leftmost values

New Pull Request
This is related to #3798. The problem here is that we add a new control points that will always be closest to user's cursor position that first ones.
Fixes #3798
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

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

Hey, after merging the PR, I tested other samples and it broke tooltip for all other charts.
Hence, I reverted this PR


Warmwasser Push select should use white space to separate value and dimension

Describe the bug
Warmwasser Push select should use white space to separate value and dimension (cosmetic issue)
Screenshots

Desktop (please complete the following information):

OS: Windows 11 Pro 24H2 (26100.2314)
edge V130.0.2849.80

Smartphone (please complete the following information):

Device: iPhone12
OS: iOS17.7.1
HA app
Version 2024.9.4

Additional context
n.a.

Thanks for the hint, will be fixed in next update.

Maybe, we should use the minute constant from HA Const..

This is always a good idea.

Fixed in 1.0.1


publish debians only on stable pipelines

As part of grand debian repo improvment plan:
https://www.notion.so/o1labs/Enterprise-debian-repository-118e79b1f91080cc98cddb337347413a
We wanted to skip publishing debian packages if there are not needed. Currently we are not using any debs packages from debian repository (but from gcloud bucket) on Pull request. Packages at debian repository are used purely as release artifacts for community. This means, that we can limit publishing jobs to only stable pipelines (nightly and release).
However, it won't solve every issue, since publish debian jobs are ran per mina build (focal,bullseye, devnet, mainnet, instrumentation, lightnet) therefore they can fight for lock even in single buildkite build. Solution is to push debian publish to tear down phase of pipeline and have only one job which push everything into debian repo. It is possible, since debian packages at gcloud bucket are stored in very easy structure:
{build_id}\debs\{codename}\*.deb

!ci-build-me

!ci-build-me

!ci-build-me

coverage: 0.0% (-60.9%) from 60.936%
when pulling 24fd85997c5b8d45664ba42235e79ef3d632266c on dkijania/remove_publish_job_from_pr
into 095c96bf2cd0b0bf565d3703a0db4fbe32e1d0ce on master.

I tested nightly pipeline in newly created test nightly pipeline:
https://buildkite.com/o-1-labs-2/test-nightly-pipeline/builds/7#019329b3-bd43-4761-8416-5baab5051eb1
I had to modify it a bit to allow to run publishing even if some job failed. In this case failing jobs are merges cleanly, which will be fixed after we create porting branches

!ci-build-me

!approved-for-mainnet

!ci-nightly-me


On 'case' adds 'callback.required' and 'callback.requiredAt'

Part of #CCSL-1731

@BriocheBerlin  check Json Schema for the syntax you need to use, this pR has wrong syntax

👍


ADD:java jump thrift

Quickly jump to the corresponding .thrift code from the Iface interface implementation class generated by thrift

Hi, thanks for your contribution.
Let me check it on this week
PS
Also will fix github actions to make them possible to run for fork PRs

Thank you for your contribution!
I will publish plugin with this changes, it will take few days before new version would be available for download


Supports wildcard(*) in exclude method or fetchplan.

I'm running v2.1.0. I'm using HTTP APIs, and also Studio to run SQLs.
Here's my setup:
create class A extends V
create class B extends V
create class C extends V
create class Called extends E

let A = create vertex A set name="A";
let B = create vertex B set name="B";
create edge Called from $A to $B;
// ... repeat several times to show heavy relationship between A and B ...
create edge Called from $A to $B;
let C = create vertex C set aLink=$A, name="C";

Assume the $A is #12:0, and $C is #20:0.
I want to select all $C with linked $A but exclude $A's heavy edges. I could archive that with this command:
select *, aLink.exclude('out_Called') from #20:0 fetchplan in_*:-2 out_*:-2 aLink:0

The result looks like this:
{
  "result": [
    {
      "@type": "d",
      "@rid": "#20:0",
      "@version": 2,
      "@class": "C",
      "aLink": {
        "@type": "d",
        "@rid": "#12:0",
        "@version": 7,
        "@class": "A",
        "name": "A"
      },
      "name": "C"
    }
  ]
}

But, what if vertex $A had many kind of in/out edges? I need to exclude all those edges explicitly. Like aLink.exclude('out_A', 'out_B', 'out_C', ...). This is not a good practice, definitely.
It would be happier if I could do like aLink.exclude('out_*', 'in_*').
Wait, it looks like fetchplan, Why didn't I make same thing with fetchplan? Because I couldn't make it via fetchplan. I tried several commands but none of these were worked for me.
select from #20:0 fetchplan in_*:-2 out_*:-2 aLink:0 aLink.out_*:-2
select from #20:0 fetchplan in_*:-2 out_*:-2 aLink:0 aLink.out_Called:-2
select from #20:0 fetchplan in_*:-2 out_*:-2 aLink:0 aLink.out_*:-2 aLink.out_Called:-2
// all these do NOT exclude aLink.out_Called in result.

I think fetchplan is too tricky to make it right.
It would be easier, also happier if I could do like fetchplan *.in_*:-2 *.out_* so that all edges within all levels could be excluded in the result.
How do you guys think? Is there better way to manage nested properties in the result?

Supporting in the exclude/include functions makes totally sense to me, I'd like to port this on 2.2.x too.


OAK-10595 : explicit invalidation journal entry after collsion rollback

Added a description on the suggested fix in this comment

still planning on generalizing for any DocumentStore as [discussed here|https://issues.apache.org/jira/browse/OAK-10595?focusedCommentId=17810916&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17810916]

@reschke RDB test added here

toggle introduced in this commit


Make top cell shrink or move as the other is expanding

Is there a way to have the topmost cell shrink as the second one is expanding?
As it is now the expanding one is moving on top of the other; I would like to have the cells never overlap; I was looking at - (void)prepareLayout in RPSlidingMenuLayout.m

@alessandrostone  & @dharabavishi  are you able to do animation like UV by modify - (void)prepareLayout in RPSlidingMenuLayout.m ?
I am trying to do the same.. If you did it It will save my time.
Thanks in Advance


Cannot paste more than 10,240 characters.

Describe the bug
I cannot paste over 10,240 characters.
To Reproduce
Run the app and try to paste something large.
Expected behaviour
WEB_MAX_BODY_SIZE or --web-max-body-size properly controls the maximum paste size.
Screenshots
I cloned, ran make build (because make failed), then ran the app:
go-pb$ GOPB_DEBUG=true WEB_MAX_BODY_SIZE=6000000 build/go-pb --web-max-body-size=6000000
go-pb v0.0.9-alpha
2022/01/08 01:58:43.756 [INFO]  {cmd/main.go:84 main.main} Options: {Timeouts:{Shutdown:10s HTTPRead:15s HTTPWrite:15s HTTPIdle:1m0s} Web:{Proto:http Host:localhost Port:8080 LogFile: LogMode:production BrandName:Go PB BrandTagline:A nice and simple pastebin alternative that you can host yourself. Assets:./assets Templates:./templates BootstrapTheme:original Logo:bighead.svg MaxBodySize:6000000} DB:{Type:memory Connection:} Auth:{Secret: TokenDuration:5m0s CookieDuration:24h0m0s Issuer:go-pb URL:http://localhost:8080 GitHubCID: GitHubCSEC: GoogleCID: GoogleCSEC: TwitterCID: TwitterCSEC:} Debug:true LogFile:}

Desktop (please complete the following information):

OS: macOS 10.15.7
Browser Safari
Version 15.2 (old)

Not sure what else to try.

Never mind, I found this. https://github.com/iliafrenkel/go-pb/blob/main/templates/form.html#L9

Okay, sorry I'm back. I bumped the limit (in both places) to 6000000 then attempted to paste a 5 MB (5242870 characters) log file.
2022/01/08 02:14:22.093 [INFO]  {lgr@v0.10.4/adaptor.go:16 lgr.(*Writer).Write} <IP_ADDRESS> - - [08/Jan/2022:02:14:22 -0800] "GET / HTTP/1.1" 200 30491 "http://<IP_ADDRESS>:8080/p/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15"
2022/01/08 02:14:28.770 [WARN]  {web/routes.go:143 web.(*Server).handlePostPaste} parsing form failed: http: request body too large
2022/01/08 02:14:28.771 [INFO]  {lgr@v0.10.4/adaptor.go:16 lgr.(*Writer).Write} <IP_ADDRESS> - - [08/Jan/2022:02:14:28 -0800] "POST /p/ HTTP/1.1" 400 8198 "http://<IP_ADDRESS>:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15"

Something between the form limit and the go limit it's mismatching the size, and truncating the POST body here. I don't really think this is something you need to fix, just providing more data in case anyone else wants to deal with large files. I bumped the go limit to 100000000 (100Mb), and the paste worked.
So far, I'm quite impressed with the large-file-performance. Most apps suck. Well done on that!

Thank you @davidnewhall! The 10k limit was intentional. I've never thought of making another file sharing service.
But I agree, it should be configurable. And it will be, some time in the future. And the large volume testing will be done around the same time 😄. Thanks for your help, btw!  I came back from a vacation a few days ago. I am trying to get back into the groove.

Thanks for your help, btw!

No worries, take your time. If you're up for it, I have plenty more help to send your way.


Service cannot depend on other mutable service

This might belong in #13 but it seemed like a different thing.
I've recreated a minimal example of something I ran into when trying out this crate.
use di::*;

#[injectable]
struct Foo;

#[injectable]
struct Bar {
    foo: RefMut<Foo>,
}

fn error_build() {
    ServiceCollection::new()
        .add(Foo::singleton().as_mut())
        .add(Bar::singleton())
        .build_provider()
        .unwrap();
    // ValidationError: "Service 'more_di_error::Bar' requires dependent service 'more_di_error::Foo', which has not be registered"
}

fn error_get() {
    let service_provider = ServiceCollection::new()
        .add(Foo::singleton())
        .add(Bar::singleton())
        .build_provider()
        .unwrap();

    service_provider.get_required::<Bar>();
    // No service for type 'std::sync::rwlock::RwLock<more_di_error::Foo>' has been registered.
}

fn main() {
    error_build();
    error_get();
}

It doesn't seem to matter if async is used. I just started with that because I was using it in my proper project.
It might just be an issue of the injectable macro not using the mutable version in the dependency list.

This is indeed a bug. I can't believe I missed this case. As you suspected, it is in the macro generation. The construction part is correct, but the validation part isn't using the correct types. This should be a pretty simple fix. I'll work on getting it out ASAP. Thanks for trying it out and reporting the issue.
The issue can be verified using cargo expand (if you have it installed). Here is the macro expansion:
impl di::Injectable for Bar {
    fn inject(lifetime: di::ServiceLifetime) -> di::InjectBuilder {
        di::InjectBuilder::new(
                di::Activator::new::<
                    Self,
                    Self,
                >(
                    |sp: &di::ServiceProvider| di::Ref::new(Self {
                        foo: sp.get_required_mut::<Foo>(),
                    }),
                    |sp: &di::ServiceProvider| di::RefMut::new(
                        Self {
                            foo: sp.get_required_mut::<Foo>(),
                        }
                            .into(),
                    ),
                ),
                lifetime,
            )
            .depends_on(
                di::ServiceDependency::new(
                    di::Type::of::<Foo>(),
                    di::ServiceCardinality::ExactlyOne,
                ),
            )
    }
}

The dependency should be either di::Type::of::<RefCell<Foo>> for sync or di::Type::of::<RwLock<Foo>> for async. That is why the validation fails. You can see that the resolution method is actually correct.

Doh! 🤦🏽 I figured out how this happened. I had everything in place to verify code gen, but no test actually exercised what was generated. The code was valid, but not the right code. Determining what should be generated for a mutable service is a little tricky since you can use RefMut or any of its compatible variants. It looks like I'm stuck making the Mut alias public for code generation purposes due to the variance between RefCell and RwLock, but I intend to the hide the documentation for it because you really shouldn't ever need to directly use it. It's likely confusing to use in all but the most advanced of scenarios.
I have something working with additional test coverage to prevent regression. I'll have the fix out later today.

3.1.0 has been published and contains the necessary fix. Thanks for trying things out and reporting the issue.

Works as expected now. Thanks!


Making different versions of emacs cohabitate

(Follow-up to https://github.com/raxod502/straight.el/pull/482)
It turns out that having a different "build" directory for each target version is not enough, because the file build-cache.el also depends on the emacs version.
An easy fix would be to replace the definition of straight--build-cache-file with
(defun straight--build-cache-file ()
  "Get the file containing straight.el's build cache."
  (straight--build-file "build-cache.el"))

so that the cache itself is in the "build" directory.
But changing it like that would make all installations recompile all their packages when updating straight, is it acceptable?
Otherwise, what would be the best course of action? Making it a setting with the current behavior the default? Or adding some code copying the current cache if it exists?

the cache itself is in the "build" directory.

That sounds reasonable; however, I'd prefer to avoid placing the build cache directly in the build directory, because it will then be very hard to find among all the package directories (and, in an edge case, could even conflict with a package called cache.el).
What about simply adding a user option analogous to straight-build-dir, called straight-build-cache-file? Then if you wish to enable version isolation, you can set both of those variables. We can later add a feature to straight.el to do this automatically if it proves a popular use case.

changing it like that would make all installations recompile all their packages when updating straight, is it acceptable?

With my proposed course of action above, there wouldn't be any migration necessary. However, since you asked, my general policy is to not worry about migration code, as it quickly gets very complicated for a relatively high-velocity project such as straight.el. There are many reasons the build cache might need to get rebuilt (check straight--load-build-cache), and in all of them we just chuck it out and start over, even if the case could be handled by a migration.

That sounds reasonable; however, I'd prefer to avoid placing the build cache directly in the build directory, because it will then be very hard to find among all the package directories (and, in an edge case, could even conflict with a package called cache.el).

That's a very good point.

What about simply adding a user option analogous to straight-build-dir, called straight-build-cache-file? Then if you wish to enable version isolation, you can set both of those variables. We can later add a feature to straight.el to do this automatically if it proves a popular use case.

Another possibility, without placing the cache file in the build directory, would be to create the name of the cache file based on the name of the build directory.
I understand that there are very good reasons not to place the cache file in the build directory, but the cache file is still intrinsically connected to the results of the build, right?
But it would make the straight--build-dir variable more obscure.

With my proposed course of action above, there wouldn't be any migration necessary.

Yes, that's quite clearly the easiest way.

However, since you asked, my general policy is to not worry about migration code, as it quickly gets very complicated for a relatively high-velocity project such as straight.el. There are many reasons the build cache might need to get rebuilt (check straight--load-build-cache), and in all of them we just chuck it out and start over, even if the case could be handled by a migration.

I suspected so, otherwise I wouldn't even have asked.
Should I make a pull request, or is it more work for you than adding the 3 necessary lines?

the cache file is still intrinsically connected to the results of the build, right?

Right.

Another possibility

How about the following middle ground: we make the build-cache-file variable default to build-cache.el, and in straight--build-cache-file, we expand it relative to the parent of straight--build-dir. This way it is possible for the user to specify their own path if necessary, but it works as expected by default.

Should I make a pull request

I would prefer this, thanks for asking.

I'm not sure if I understand... isn't the parent of straight--build-dir always (straight--base-dir)/straight?

No, not necessarily if the user has customized straight-build-dir.

Okay. Now that I thought about it again, my proposal doesn't actually solve the problem that you pointed out. So we shouldn't do like I suggested. I think the best option would be what you proposed, which is to make the default value of straight-build-cache-file nil, and then at runtime if it's nil then expand it to (straight--build-file) concatenated with -cache.el. Otherwise expand it as (straight--file straight-build-cache-file).

It appears that this setting (and the previous one for the build directory) is not applied when bootstrapping straight.
The variables are passed to the bootstrapping process in the /tmp/straight.el~... file alright, but the rest of the code is pulled from the install/alpha branch which does not use them.
I don't pretend to be understanding everything from the boostrapping process, and in particular the design choice between all those versions, but wouldn't it make sense to shortcut the whole thing and use "develop" during bootstrapping  if straight-repository-branch is set "develop" itself?

It appears that this setting (and the previous one for the build directory) is not applied when bootstrapping straight.

Oops, yes.

Do you merge both master and install/alpha every time you do a release?

No. I would suggest reading the comments at the top of install.el to understand what's going on here. What you need to know is that every time some functionality is changed that would affect the bootstrapping process, the keyword written by straight-freeze-versions must be updated, and a new branch must be created called install/%s. I forgot to do this, hence the changes not propagating.

In any case, is it possible to short-circuit the whole thing and use "develop" during bootstrapping if straight-repository-branch is set to "develop" itself?

It would be possible but it would be a bad idea. The reason for this whole system is that I want to support full reproducibility. That means that if you have an old version of straight.el in your lockfile, then straight.el will be bootstrapped using that version, and not the latest one. Even if you're tracking the develop branch. (Otherwise, you'd have no way of properly trying out an old version of your config.) The other issue is stability. I don't want to break the bootstrap for everyone just because I push a bug to develop. It should only break for the people who upgrade to the broken commmit.

I see, sorry for making you write that explanation.
It still sounds to me like it's duplicating something that would be doable with standard git features (maybe having the bootstrapper pull from a given commit?), but you definitely put more thought into it than I did, and I am a firm believer in not fixing what's not broken.
Following the instructions in those comments, when I find the time (weirdly enough, I find myself with less time now that I'm locked home), I will make a PR making sure the new variables are safeguarded with bound-and-true-p.

It still sounds to me like it's duplicating something that would be doable with standard git features (maybe having the bootstrapper pull from a given commit?)

This does seem like a possibility. I spent a few minutes thinking about it, and one issue that would arise is that different versions of straight.el may have different ways of interpreting a recipe that would lead to different names for the local repository used for straight.el. That would make the commit show up in a different place in the lockfile. There may indeed be a way to make a simplifying assumption or two, and get rid of all of this...

I am a firm believer in not fixing what's not broken.

... but, yeah -- at least, for now. The main issue when I (or others) forget to update the lockfile version schema, and therefore new bootstraps don't get to take advantage of added features. It would be worth putting in some work to solving that problem, but probably not today.

I will make a PR making sure the new variables are safeguarded

I don't think this should be necessary, unless there is a pretty bad bug. Where are you looking in the code?

@ThibautVerron: Any interest in working on this feature?

I must confess that I had forgotten about this thread. I opted for symlinking the build folder out of the "shared between computers" folder a while back, but on my current computer, I recently installed the development branch of emacs in addition to the official emacs27 package, and I didn't have to think about straight.
Do you have specific problems?
In case it's helpful, here is the relevant code in my init.el:
(defconst tv/system-type (replace-regexp-in-string "/" "-" (format "%s" system-type)))
(defconst tv/system-string (concat tv/system-type "-" emacs-version))

(setq straight-use-package-by-default t
      straight-recipes-gnu-elpa-use-mirror t
      straight-build-dir (expand-file-name
			  (concat "build" "-" tv/system-string)
			  tv/user-local-emacs-directory)
      straight-repository-branch "develop")

(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el"
	       user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

Do you have specific problems?

No. I was just curious if you were still interested in this feature.
Seeing as it hasn't been requested by anyone else, I think we'll opt to close this issue for now.


Admin UI for shield

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 53.781%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4687

Relevant Lines:
8715

💛  - Coveralls


fix: change oakGreen to oakGrey2

Description

Changes the background colour of expired unit list items

How to test

Go to https://deploy-preview-2015--oak-web-application.netlify.thenational.academy/teachers/programmes/art-secondary-ks3-l/units
You should see the expired units have a grey background

Screenshots
How it used to look (delete if n/a):

How it should now look:

:tada: This PR is included in version 1.280.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update AirGradient-DIY.ino

Fix for setting Hostname to a Null Variable if deviceID is null, reverts to board default

Thank you!


Vulnerability roundup 92: postgresql-12.2: 2 advisories [8.8]

search, files

[ ] CVE-2020-14349 CVSSv3=8.8 (nixos-20.03)
[ ] CVE-2020-14350 CVSSv3=7.3 (nixos-20.03)

Scanned versions: nixos-20.03: 925ae0dee63.
Cc @danbst
Cc @globin
Cc @ocharles
Cc @thoughtpolice

20.03 is Frozen and EOL.
As such, issue is closed.