Outdated Link

The link for the referenced knowledge base article 3047486 (https://launchpad.support.sap.com/#/notes/3047486) is not available anymore. It would be great if you could update the link.

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

ID: 56401d85-b771-94ed-5505-c0ba929ba27b
Version Independent ID: d7a38614-2897-1c94-5d24-120431cb018a
Content: Microsoft Entra ID and SAP SuccessFactors integration reference - Microsoft Entra ID
Content Source: docs/identity/app-provisioning/sap-successfactors-integration-reference.md
Service: entra-id
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@ines-lehmann
Thanks for your feedback! We will investigate and update as appropriate.

@ines-lehmann
Thank you for bringing this to our attention.
I've delegated this to content author @kenwith, who will review it and offer their insightful opinions.

Thank you for the catch and taking the time to open an issue. I have contacted the product team to get an updated link and am removing the dead link in the meantime.
#please-close


SyncBot: No longer escape HTML when passing to Front's MD endpoints

Remove escaping of HTML when creating a comment

Front seem to have fixed the parsing of comment text.
Tested with the literal strings:

A message with > in it
A message with > in it
bold
link
<test
quoite

this

code-block

Change-Type: patch
Connects-to: https://github.com/resin-io-modules/resin-procbots/issues/469

Contributor checklist

[x] Build output been rebuilt and tested
[ ] Introduces security considerations
[ ] Tests are included
[ ] Documentation is added or changed
[ ] Affects the development, build or deployment processes of the component

Reviewer Guidelines

When submitting a review, please pick:

'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

@sqweelygig PR description includes 'Change-type' twice, has no 'Connects-to:' and has fields that should be removed (HQ, See, etc).

^^ specifically comments, this change does not affect replies ^^

@sqweelygig Is it worth adding code to ensure that this is then tested so consistent output is achieved? Additionally, which Issue is this PR related to, I still can't see a Connects-to: in the commit (or the description).

Issue added for End to End testing, because it would not form a trivial unit of work.

@sqweelygig I think I was confusing. When I originally said to test for it, I meant in the Front translator code to ensure that the right operation was carried out depending on what it received back. :)
As an aside, can we have an issue number for every PR and branch please, to follow the Commit and PR guidelines (ie. this would have been 469-fix-html-quoting-breaking-metadata.


Unix fix

I got it working on my Linux box!  Very pleasant code to work with - thank you!

Thanks, nedbrek!


let  :include can recognize the key attribute of its children

What problem does this feature solve?
此提议允许 KeepAlive 根据组件的 key 主动地舍弃某些已经不需要被缓存的节点。
This proposal allows KeepAlive to actively discard some nodes that no longer need to be cached based on the component's `key'.
我有一个组件，在KeepAlive下将其 key 属性设置为 route.fullPath，就可以根据路由参数的不同显示出不同的页面，于此同时都可以被KeepAlive缓存，但是如果同时缓存的页面过多，会导致性能下降。所以我本来打算设置include属性来控制显示哪些key，这样就可以让 KeepAlive 选择性地丢弃某些已经被缓存的组件（通过动态修改 include数组的方式），但是 KeepAlive 好像并不支持对 key 属性的识别（根据文档的描述，默认使用 name 属性来识别组件）？
I have a component that sets its key property to route.fullPath under KeepAlive to show different pages depending on the different routing parameters, and can be cached at the same time, but if too many pages are cached at the same time, performance will be degraded. So I was going to set the include property to control which keys are displayed so that KeepAlive can selectively discard some cached components (by dynamically modifying the include array), but KeepAlive doesn't seem to support the identification of key properties (by default, the name property is used to identify components as described in the document)?
What does the proposed API look like?
<router-view v-slot="{ Component }">
    <keep-alive :include_key=["fullPathA", "fullPathB"]>
        <component :key="$route.fullPath" :is="Component" />
    </keep-alive>
</router-view>

Later, we can dynamically modify include_ key array to control which components need to be cached

I need this feature too, try finding way out but it turns out there is not.

如果 pruneCacheEntry 可以直接 expose 出来, 外部调用是不是更好?

You can achieve manual operation by wrapping the Component function, reading the corresponding type attribute, assembling the name based on the ID, and then using h to rebuild the vnode and cache it, combined with the include attribute

please implement something to remove cached components via key. In my scenario I open dashboards (example /dashboard/:id) in different tabs. The users need to be able to tab between the dashboards without having to reload them (dashboards keeping their state). Everything works great except being able to remove the component from the Keep-alive cache when a tab is closed.

Is it possible to use path instead of fullPath?


asunder: 2.9.3 -> 2.9.4

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/asunder/versions.
meta.description for asunder is: '"A graphical Audio CD ripper and encoder for Linux"'.
meta.homepage for asunder is: '"http://littlesvr.ca/asunder/index.php"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.9.4 with grep in /nix/store/zskdvd3xmg33w1hgzmj23fvmyjhimn1d-asunder-2.9.4

directory tree listing: https://gist.github.com/28b89274a34b5321efe40a5076ad9d2d

du listing: https://gist.github.com/cab34150bd2ba734e0eb99ea70a51704

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
asunder

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zskdvd3xmg33w1hgzmj23fvmyjhimn1d-asunder-2.9.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A asunder https://github.com/r-ryantm/nixpkgs/archive/252c71a35ec1fed44ea717cd36438ce7fe456ee5.tar.gz

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

cc @laMudri for testing.

I don't use asunder any more, but looking at the changelog, it seems unlikely that anything will go wrong with this.
29 Aug 2019 - 2.9.4
===================
- Updated Finnish and Swedish translations.
- Added support for joining artist and title in title field (thanks to Tom Bailey).


Suddenly not working

Greetings, I stumbled upon this doc late last week, and eagerly set about testing the new S Mode with one of my demo machines. It worked for me initially, but subsequent tests sometimes with the same device, and sometimes with a different device, end in a "There's something wrong" message at the end of the installer. It downloads, seemingly, the entire installer, verifies, says it's installing, and then ends with the error after about an hour of total time. I notice the installer's end result is a much lower build number of Windows than the current release. Has that suddenly become the issue? The devices I'm trying to use are running 1803 devices with either Home or Pro. Thanks

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

ID: 6ce6147b-57c3-b40d-2d1e-3aa04a3d5606
Version Independent ID: c453ea14-6842-4af7-42c0-6ef8e2336c6c
Content: Test Windows 10 in S mode on existing Windows 10 education devices
Content Source: education/windows/test-windows10s-for-edu.md
Product: w10
GitHub Login: @MikeBlodge
Microsoft Alias: MikeBlodge

Did you use the latest links on https://www.microsoft.com/en-us/software-download/windows10 (linked to from this topic)? If not, please do. If you did, please contact Support https://support.microsoft.com/en-us.

I don’t recall if the Windows 10 media itself came from that page, but the Windows10SInstaller5932.exe did. That’s what I’m running. I didn’t think the base OS origin mattered as long as it was one of the supported versions of Windows 10.
Sent from my iPhone

On Jun 25, 2018, at 6:33 PM, Andrea Bichsel<EMAIL_ADDRESS>wrote:
Did you use the latest links on https://www.microsoft.com/en-us/software-download/windows10 (linked to from this topic)? If not, please do. If you did, please contact Support https://support.microsoft.com/en-us.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Isolated support - Static Web Apps dependencies

This work item tracks related work to support .NET 7 for Static Web Apps :
•	Ensure StaticSiteClient and Content Dist can pass the metadata to Static Web Apps
•	Enable .NET 7 isolated function apps in Static Web Apps
•	End-to-end testing to make sure it's customer-ready
Related work :

.NET 7 support for Azure functions ( https://github.com/Azure/azure-functions-dotnet-worker/issues/823 )

@satvu this work is related to @kshyju 's changes in sprint 126 about targeting framework .NET 7 to unblock Oryx build with another item is tracking it,  so I am closing this one


⚠ Bofrost.lu has degraded performance

In 39bcc38, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 983 ms

Resolved: Bofrost.lu performance has improved in 5e88ff1 after 6 minutes.


Fold RenderData::copy() function back into RenderData copy constructor

Now code is written in C++ and not Java
Partially fixes #1582
As a bonus, I made Component type private member. I believe this is the intent.

GearVRf-DCO-1.0-Signed-off-by: Dmitriy Vasilev<EMAIL_ADDRESS>

Planning to merge on Tuesday


iOS Crash on FlutterViewController back to FlutterViewController

I access the FlutterViewController in the native application, jump to an instance of the FlutterViewController, and then push a new instance from that instance. When I hit the back button, it crashed.
crash
screenshot
; std::__1::__hash_table<std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned int>, flutter::RasterCache::Entry>, std::__1::__unordered_map_hasher<flutter::RasterCacheKey<unsigned int>, std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned int>, flutter::RasterCache::Entry>, flutter::RasterCacheKey<unsigned int>::Hash, true>, std::__1::__unordered_map_equal<flutter::RasterCacheKey<unsigned int>, std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned int>, flutter::RasterCache::Entry>, flutter::RasterCacheKey<unsigned int>::Equal, true>, std::__1::allocator<std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned int>, flutter::RasterCache::Entry> > >::clear()
    0x10c3b34ac <+224>: add    x0, x21, #0x48            ; =0x48
    0x10c3b34b0 <+228>: bl     0x10c361b64               ; std::__1::__hash_table<std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned long long>, flutter::RasterCache::Entry>, std::__1::__unordered_map_hasher<flutter::RasterCacheKey<unsigned long long>, std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned long long>, flutter::RasterCache::Entry>, flutter::RasterCacheKey<unsigned long long>::Hash, true>, std::__1::__unordered_map_equal<flutter::RasterCacheKey<unsigned long long>, std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned long long>, flutter::RasterCache::Entry>, flutter::RasterCacheKey<unsigned long long>::Equal, true>, std::__1::allocator<std::__1::__hash_value_type<flutter::RasterCacheKey<unsigned long long>, flutter::RasterCache::Entry> > >::clear()

check
compositor_context_->OnGrContextCreated();
It seems that rasterCache in the above method triggered the case. Every time
Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G95, locale zh-Hans-CN)
    • Flutter version 1.12.13+hotfix.5 at /Users/mubin/development/flutter
    • Framework revision 27321ebbad (2 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mubin/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.7.0

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.41.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1`

Hi @zw1924
can you please provide a minimal code sample to reproduce the problem.
Thank you

https://github.com/zw1924/FlutterCrashExample

Hi @zw1924
Can you please provide the module as well?
I tried to reproduce using the flutter module from flutter samples with your native app, it has no issues when popping flutter view
Preview

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-4.0.pre.82, on Mac OS X 10.15.7 19H2
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-4.0.pre.82 at /Users/tahatesser/Code/flutter_master
    • Framework revision e5814756a2 (5 hours ago), 2020-10-27 01:47:03 -0700
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.11.0 (build 2.11.0-260.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0.rc.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS
      14.1
    • macOS (desktop)        • macos                     • darwin-x64     • Mac
      OS X 10.15.7 19H2 darwin-x64
    • Web Server (web)       • web-server                • web-javascript •
      Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 86.0.4240.111

• No issues found!

Can you please provide your flutter doctor -vand a complete reproducible minimal code sample including module
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


rwfnestimate -- output  for each orbital

*Output  instead of P(2) and Q(2) at the end to make full use of the option with user supplied Z.
*P(2) and Q(2) are commented out and can be replaced if needed.

Great @Yanting126 ! And sorry that this took some time for me to get to, now is the time!


Exec tachikoma update<PHONE_NUMBER>4708

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 67.647% when pulling c4e25adfd6c21c309a511cf9ddd2da6e22e3c8ac on pazjacket:tachikoma/update-20180807214708 into ec251e61adc687ae0589e5283f1773ece07521c0 on sanemat:master.


Display more precise time for transactions

It could be great to display the hour and minutes of the transaction.

Added full datetime in a tooltype when hovering mouse cursor on date column.
In 9338c2582065cc12e4120922694bf4d9214ebed7


[BIT-224] Add QuadraticVotingPower to SubnetInfo

[BIT-224] Add QuadraticVotingPower to SubnetInfo

Updated to https://github.com/opentensor/bittensor/pull/1350


No way to convert a go image to to cairo surface

Hello,
I can't find a way to convert a go image.RGBA to a cairo surface without saving a png to disk. I have found this function in cario https://cairographics.org/manual/cairo-Image-Surfaces.html#cairo-image-surface-create-for-data but there are no bindings for it. I can even try to do a pull request if there is no other method than this.

This could be a duplicate of https://github.com/gotk3/gotk3/issues/197
ImageSurface seems to be unusable in this binding, as there is no way to create it from a Pixbuf or gdk.Image. Would be cool to either improve or complete the implementation of this part, or document what is missing.
I'd create a PR, but i just started learning gtk, gdk, glib and cairo, and feel still quite inexperienced with them.

add missing binding!
see:
cairo_surface_t * cairo_image_surface_create_for_data (unsigned char *data,                                      cairo_format_t format,                                      int width,                                      int height,                                      int stride);


nbsphinx fails on stripped notebooks

jupyter nbconvert --execute (which is run by nbsphinx) fails on our notebooks with:
Notebook error:
TypeError in Introducing_gensim.ipynb:
Undefined is not JSON serializable

The problem seems to go away when disabling the lines generating bokeh output. If this can be verified, disable #12 until we got rid of bokeh?

I reproducably succeeded in running jupyter nbconvert --to html --execute --allow-errors --ExecutePreprocessor.timeout=-1 on the notebooks which have been stripped of their output, while running the nbsphinx conversion on the clean notebooks fails with the error mentioned above.
There doesn't seem to be an nbsphinx option for more verbosity, probably need to run this under a debugger

Bokeh will be replaced anyway wihtin the next week by mpld3.

nbsphinx seems to run fine on a Introducing_MALLET.ipynb after it has been opened in the browser, Run all, and saved.
nbsphinx fails with the above-mentioned error both on stripped notebooks and on stripped notebooks that have added output information using jupyter nbconvert --to notebook --execute.

So, something happens in the browser that does not happen on headless execution.

Here's the detailed exception
Notebook error:
TypeError in Introducing_MALLET.ipynb:
Traceback (most recent call last):
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbsphinx.py", line 634, in parse
    rststring, resources = exporter.from_notebook_node(nb, resources)
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbsphinx.py", line 582, in from_notebook_node
    nb, resources, **kw)
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/templateexporter.py", line 295, in from_notebook_node
    output = self.template.render(nb=nb_copy, resources=resources)
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "<template>", line 119, in top-level template code
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/rst.tpl", line 1, in top-level template code
    {%- extends 'display_priority.tpl' -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/display_priority.tpl", line 1, in top-level template code
    {%- extends 'null.tpl' -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 26, in top-level template code
    {%- block body -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 28, in block "body"
    {%- block any_cell scoped -%}
  File "<template>", line 18, in block "any_cell"
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 31, in block "any_cell"
    {%- block codecell scoped -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 41, in block "codecell"
    {%- block output_group -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 45, in block "output_group"
    {%- block outputs scoped -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 47, in block "outputs"
    {%- block output scoped -%}
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/nbconvert/exporters/../templates/skeleton/null.tpl", line 61, in block "output"
    {%- block display_data scoped -%}
  File "<template>", line 140, in block "display_data"
  File "<template>", line 134, in block "nboutput"
  File "/home/vitt/.virtualenvs/Topics/lib/python3.5/site-packages/jinja2/runtime.py", line 553, in _invoke
    rv = self._func(*arguments)
  File "<template>", line 96, in template
  File "/usr/lib/python3.5/json/__init__.py", line 230, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python3.5/json/encoder.py", line 179, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: Undefined is not JSON serializable

Debugging shows that "Undefined" is actually jinja2.runtime.Undefined with the following slots:

_undefined_name: {str} 'application/javascript, application/vnd.bokehjs_load.v0+json'
_undefined_obj: {NotebookNode} {'application/javascript': '\n(function(root) {\n  function now() …

Jinja Undefined represents The default undefined type.  This undefined type can be printed and
iterated over, but every other access will raise an :exc:jinja2.exceptions.UndefinedError.

There's https://github.com/spatialaudio/nbsphinx/issues/61 for bokeh + nbsphinx which is fixed in the nbsphinx version we use

Possible next steps:

prepare a minimal notebook that has a bokeh graph and run a stripped version through nbsphinx. Check if the problem exists. If it does, check whether our stripping does too much, and maybe ask nbsphinx or bokeh community for help. Otherwise, check what we do differently.
check whether it really reproducably works with the non-stripped notebook (i.e. one that has been run through a browser once, not only using jupyter nbconvert --execute). If so, diff failing notebook with working version.

Problem seems to occur with notebooks that have been running through the notebook GUI, as well :(


aa fds fAutomatic error report

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

Closing because this is empty. Please open a new issue with some information so that we know what's happening.


How to configure "grid" in dashboard

Hi,
I want to use the grid lines to my dashboard.
I read in the documentation"https://github.com/dynatrace-oss/DynatraceDashboardPowerups#Grid" that i use this
!PU(grid):hor=0,9,18;ver=0,9,18,27,35;color=#454646
But where i put this command in my Dashboard?
Thank you a lot
Elisa Gaiti

Add a markdown tile to your dashboard and include something like this:
!PU(grid):hor=0,9,18;ver=0,9,18,27,35;color=#454646;margin=2
Move the tile to a spot below the page fold so it's not visible. This will "hide" it.

I'll close this, but if you still need help, open another issue. Thanks.


GET /api/3.x/servers?dsId=99 where ds has a topology is not filtering servers correctly

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Ops

Current behavior:
GET /api/3.x/servers?dsId=99 where 99 has a topology is returning servers outside of the ds's topology.
Expected behavior:
When a delivery service utilizes a topology, the servers returned from GET /api/3.x/servers?dsId=99 should include all edge/mid servers in the topology's cache groups:

minus those not in the cdn of the ds
minus those that do not have the required capabilities of the ds

it should also include any servers of type ORG that are directly assigned to the delivery service.
Minimal reproduction of the problem with instructions:

Assign a topology to a ds
Navigate to the ds servers page in TP and ensure the proper servers are displayed: https://tp.domain.tld/#!/delivery-services/5/servers?type=DNS

When a MID_LOC Cache Group is assigned as a parent of an EDGE_LOC Cache Group that is used in a Topology, GET /servers?dsId=# where # is the ID of a Delivery Service that that Topology is assigned to will result in the MID Servers in that MID_LOC Cache Group being included.

When a MID_LOC Cache Group is assigned as a parent of an EDGE_LOC Cache Group that is used in a Topology, GET /servers?dsId=# where # is the ID of a Delivery Service that that Topology is assigned to will result in the MID Servers in that MID_LOC Cache Group being included.


move zoutput/slurm_logs into zoutput/benchmarks/[name of benchmark]/

currently the log file is specified here https://github.com/marrlab/DomainLab/blob/ca493e576c509932ed36bde18b4f749b84238b88/examples/yaml/slurm/config.yaml#L13

fixed in https://github.com/marrlab/DomainLab/pull/849/files

smilesun
smilesun
Merge pull request https://github.com/marrlab/DomainLab/pull/849 from marrlab/benchmark_slurm_log
344936b
·
now
History


No checkmarks showing in merge editor

Testing #150389
In the current insiders (15253f1528573fc8f84e956b21af4bad57f38c07), I no longer see any checkmarks in the merge editor:

This is for a new merge and I have not manually edited any of the files

You mean the checkbox is checked, but without the checkmark?

Yes the box is checked but I don't see a checkmark in it. I believe this only started happening in the latest insiders for me

Does this still happen? Never happened for me.

Not recently that I can recall


OIDC PHPUnit Tests Run Slow

Each check runs at over a second.
Slows OidcIdTokenTest and OidcTest classes.
Assume this is a security-minded forced time delay, but something to check and potentially reduce in tests to significantly cut down testing time.

Just needed gmp extension to speed up large numbers for phpseclib. Added to workflows in 1c2ae7bff6b00fbbba826a413a658978f87c8285.


Discriminated union not narrowing when mixing finite and infinite domain types in a single field

Bug Report

🔎 Search Terms
discriminated union narrowing infinite finite domain
🕗 Version & Regression Information

This is the behavior in every version I tried (3.3.3, 4.9.4, and nightly), and I reviewed the FAQ for entries about narrowing and unions

⏯ Playground Link

Playground link with relevant code
💻 Code

export interface NoneMetric {
  readonly unit: "None";
  readonly value: number;
}

export type DurationMetric = {
  readonly unit: "Seconds";
};

export type ErrorMetric = {
  readonly unit: "Error";

  // Below types are finite; they prevent the `unit` field from discriminating the union in the `spec` object
  readonly value: 'fatal' | 'error' | 'warning';
  // readonly value: 0 | 1;
  // readonly value: boolean;
  // readonly value: null | undefined;

  // Below types are infinitely sized; these will give you the discriminating behavior you expect
  // readonly value: string;
  // readonly value: number;
  // readonly value: any;
  // readonly value: Array<0>;
};

export type MetricEvent = NoneMetric | DurationMetric | ErrorMetric;

const spec: MetricEvent = {
  unit: "Seconds",
  value: 10, // Expected an error here since `unit` should always narrow to `DurationMetric`
};

🙁 Actual behavior
When ErrorMetric.value is a finite domain type:
The spec object fully satisfies MetricValue (with no error) despite not satisfying any constituent members of that union. There is no error on spec.value being present despite unit being Seconds.
When ErrorMetric.value is an infinite domain type:
The spec object narrows to DurationMetric. There is an error on spec.valueindicating thatvaluedoes not exist onDurationMetric`.
🙂 Expected behavior
The spec object should always narrow to DurationMetric based on the discriminant unit field. The narrowing should not be impacted by the value field on other types since unit uniquely defines the discriminated union members.

Duplicate #51873

There's logic for trying to figure out what the "intended" target type of a union assignment target is, and it's unfortunately not 100% unified with the excess property checking logic. The example fails to act as desired because the logic effectively goes like this:

Is the object literal a subtype of any of the constituents?

Yes, it is (yes) a legal DurationMetric
Notably at this point we can't use this result without breaking other code, because people write subtype-reducible unions as targets and expect the subtyped-properties to still be legal to appear

Are any of the properties excess?

unit clearly is not, since it's omnipresent and also a discriminant
value "can't be" excess because it's a discriminant too (!) since it's a union between primitives involving literals
The fact that those properties refer to different types isn't really under consideration, again for the same reasons as described above

Someone can try to put up a fix if they want but this is difficult code to change without making some other scenario worse. I would probably advise writing value?: never in DurationMetric.

Thanks for the suggestion on value?: never, that is at least giving the pass/fail behavior I expect.
I think the key confusion for me is that value is being used as a discriminant here.

Is it a discriminant because of the fact that there are literals in the union? As in, the behavior I thought I was seeing of "finite vs. infinite" is actually "literals vs. no literals"? (In my mind, those two seem possibly equivalent?)
I'm also surprised that it's a discriminant since value is not present on DurationMetric. Is it implicitly being used as undefined in the union?

I don't really want to dive into what is vs isn't a discriminant. It's a pile of heuristics used to make excess property checking "do the right thing" (including in cases where the user code is kinda wonky/unsound) and we need to tweak them from time to time to make the correct behavior appear (evidence: this bug!) in various scenarios.
Things like template literal types can be simultaneously "literal" and "inifinite". Finite/infinite isn't a distinction we really use.

Got it, appreciate the information and super quick responses.


Selection of "default" certificate for non-SNI clients

Currently, we use txsni, which allows for a DEFAULT.pem, but txacme will try to issue a certificate for DEFAULT when it tries to renew this, which will fail. We should have a better way for specifying which certificate to use for this.
Possibly related to #37 as both of these will require slightly more information than we are fitting into hostnames currently.

One workaround at the moment is to make DEFAULT.pem be a symlink to actualhostname.com.pem; this will result in an error when the certificate is expiring (~every two months), but this can just be ignored.


Do not allow component names to shadow any bluesky interface attrs

👍  Sweet!

The logic needs to be reworked a bit. The metaclass is seeing the actual read method and rejecting it.

Current coverage is 84.41% (diff: 80.00%)

Merging #361 into master will decrease coverage by 0.01%

@@             master       #361   diff @@
==========================================
  Files            30         30
  Lines          4554       4557     +3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3845       3847     +2
- Misses          709        710     +1
  Partials          0          0

Powered by Codecov. Last update c1a5774...52224d5

@hhslepicka This works now and I added a test. Ready for review.


Handle memory ownership

If the NodeWidget is the parent of the QObjects or QAbstractItemModel, then delete them when they're removed. This also adds signals and getters elsewhere to make the code cleaner.
It's all packed into small atomic commits, so it should be trivial to review (no more 6.5k line PRs)

It's all packed into small atomic commits, so it should be trivial to review (no more 6.5k line PRs)
Hehe. Will review as fast as possible, meaning during the next 12-24h.

No, problem, I just said that because I know you have little time.
I just rebased the PR on top of master. However Travis CI didn't start. You may have to enable that somewhere in the github plugin config?

Everything fine! I will check travis next.


[5.0] Removes a hardcoded url in ApplicationTrait

In the trait Illuminate\Foundation\Testing\ApplicationTrait the method callSecure() has a hardcoded URL in it (https://localhost/) when in reality the framework can handle the calls to a secure URI using the secure() method from the class Illuminate\Routing\UrlGenerator.
This PR fixes that issue.

This should be sent to master.

@taylorotwell made the PR to the master branch https://github.com/laravel/framework/pull/8389


suggestion: define all (parametric) mixins in mixins.less

I'm finding a number of cases in which I'd like to use a mixin defined in, e.g., .formFieldState in forms.less but do not want to import that file (and all of the resultant output) unnecessarily.

Moved it to mixins.less in 2.0.1-wip. As a principle, I do try to keep them all there but at times I'll miss some. Thanks!

excellent!  thank you!


Fasta does not type variables introduced by auxiliary let-nodes in strong mode

When I compile the code below with Fasta and --strong-mode:
main() {
   var foo = [1, 2, 3];
   print(--foo[0]);
}

$ ./pkg/front_end/tool/fasta compile -o t/t.dart.dill --strong-mode --platform=./out/ReleaseX64/patched_sdk/platform.dill t/t.dart

I get the following Kernel out:
     core::List<core::int> foo = <core::int>[1, 2, 3];
     core::print(let final dynamic #t1 = foo in
                 let final dynamic #t2 = 0   in
                 let final dynamic #t3 = #t1.{core::List::[]}(#t2).{core::num::-}(1) in
                 let final dynamic #t4 = #t1.{core::List::[]=}(#t2, #t3) in
                 #t3);

Notice that foo got inferred correctly, but all other artificial variables like #t1 are completely untyped. This seems suboptimal - especially because #t1.[] has a resolved interface target.
This also breaks Expression.getStaticTypeAsInstanceOf method - if you invoke it on #t1.{core::List::[]}(#t2).{core::num::-}(1) node it will report an error that  'dynamic is not a subtype of List'
I think this demonstrates that

Kernel needs to have a specification describing what does it mean for Kernel to be in strong mode;
Kernel needs a visitor that would verify that Kernel AST is consistently typed;
Fasta needs to assign types to these auxiliary variables just like it assigns them to user declared variables;

/cc @kmillikin @stereotype441 @sigmundch

Agreed, this is a bad situation.  I'll assign the bug to myself, and fix the front end to assign types properly in this particular use case.  And I'll try to find and fix other places where front_end fails to assign a type to auxiliary let-variables.
In the long run it would be very nice indeed to have a kernel visitor that verifies consistent typing, because there's always a risk that we'll miss something.  I believe @kmillikin has a task he's working on that should do this ("kernel type verification")--is that correct, Kevin?


⚠ AsianCinema has degraded performance

In a8e858f, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 525
Response time: 20717 ms

Resolved: AsianCinema performance has improved in 365c09c after 13 minutes.


[DevEx]: Define new hasGameId policy and apply it to the endpoints where req.body is expected to have a gameId

Improvement Summary
Policies allow us to validate requests before they reach controller logic, to ensure they're valid at a surface level before the controller code runs.
Detailed Description
To define the policy, create a new file api/policies/hasGameId.js which follows the format of the other policies by throwing an error if req.body.gameId doesn't exist or isn't a number or isn't an integer and otherwise returns next() to proceed to the next policy/endpoint.
Then map this policy to any of the ones that need to specify a gameId in config/policies.js and update the endpoints where appropriate to remove any validation they do to confirm that the gameId exists

Closed by #527


Fixed error when adding two LEDs with the same number; also specified…

Fixed error when adding two LEDs with the same number
also specified the IO direction

please merge this, this is causing build errors for the EP4CGX150 board

Would be glad if this could be merged :) Just stumbled over this one again when trying to build the adat-audio-interface.


[Select] Add labelId to implement proper labelling

How to properly label a Select:
<InputLabel id="label">Age</InputLabel>
<Select labelId="label" id="select" value="20" />

will create a proper Age 20 accessible name following
or a complete solution
<TextField id="select" label="Age" value="20" />

Closes #16409
Follows https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html
The previous solution did properly label the hidden input which doesn't make much sense and was partially motivated by lighthouse complaining. Either it removed this behavior or now properly recognizes the combobox.
I also simplified the demos to use a single value type. This gets rid of structures like
{ ...rest, [key]: value } or curried functions which is pretty advanced JS syntax and not appropriate for demos.
Argos failure is expected. A reviewer should accept these changes.

We have a couple of errors/warnings in validator.w3.org/nu/?doc=https%3A%2F%2Fdeploy-preview-17892--material-ui.netlify.com%2Fcomponents%2Fselects%2F

I'll check again. I was under the assumption that this doesn't matter i.e. if the attribute is empty nothing bad happens. Conditional string concatenation is always so unwieldy so I tried to take as much shortcuts as possible

@eps1lon The wave chrome browser extension reports 4 issues:

Do they signal the same issue than the W3C validator?

I don't know these tools. What issues are they reporting and what is the rationale for these rules?

The tool is https://wave.webaim.org/, it's the one used in #17931.

The tool is wave.webaim.org, it's the one used in #17931.

Ok I looked at the rationale and it does not apply

ARIA labels and descriptions will not be presented if the element referenced does not exist in the page.

This was/is the point of the demo (which explicitly reads "without a label"). The issue is expected. Same for the placeholder.
For accessible name computation empty attributes or incorrect references will not block other alternatives. Only valid IDREFs are considered. I can add special logic but then a legitimate issue is less obvious.
One issue was a true positive though.

@eps1lon What do you think of the following incentive to fix false positive?
Developers use accessibility automation tools to assist them in authoring accessible interfaces. These tools have flaws and can report false positives. However, each false positive adds noise and needs to be verified. If we know that it's a false positive, we have an opportunity to solve it and void it to bug the "customer" of the components.

If we know that it's a false positive, we have an opportunity to solve it and void it to bug a developer that uses the component.

I just don't have the time and fix every issue upstream, sorry. This demo was there before and it never bothered you which is why I guess this is still a low priority.

@eps1lon Sound good 👍

@eps1lon I have recently started seeing the below issue in my code, and am trying to track down the cause. Could it be related to this patch?
A Select field written as follows:
<TextField select id="my_select"> ...options ...</TextField>
Previously when the user interacts with this field, a menu dropdown was rendered with <div id='menu-my_select' ...>.
After updating material-ui, this menu is no longer attributed with the correct id: div id='menu-' ....>
As we use the id in several of our tests, this change has caused some breakages.
Grateful for guidance on these questions:

Is the incorrect menu ID a result of this patch?
If so, is it intentional?
If so, what is the new recommended way of assigning an ID to the menu div?

Thanks!

If so, what is the new recommended way of assigning an ID to the menu div?

If you need an id for testing I recommend using some data-* attribute e.g. data-testid which is commonly used in @testing-library/react. My question would be what you needed it for? The container is purely for visuals not behavior.


[in_app_purchase] add consume by token method

If I do a refund for a certain transaction, it works ok. but in my app, i cannot do a purchase again since it says Error, you already bought this item.
In Android, you can consume the purchase token. but there is no option in the flutter lib.
Clearing cache and data in Play Store does not work. This is needed and does not even require clearing Play Store data.
Sure, the remove entitlement is the solution. but say, i forgot to click on it and proceeded to refund. there is no way to manually do that anymore.

Hi @chitgoks
Your description of the issue is not clear and it is not always good to go for a proposal without understanding the actual issue, looks like you're experiencing this issue https://github.com/flutter/flutter/issues/85529 on Android
Can you please provide your flutter doctor -v, a complete reproducible minimal code sample, and complete flutter run --verbose logs running the minimal code sample?
Thank you

I do not think it is the same. The situation is i have successfully purchased an in app item. I refunded it in play console so that ads would show up again in my app and i can purchase the in app item again (to remove the ads).
Problem is, once i select the product, it shows a dialog with label Error, you already bought this item.
People have said to clear the play store cache and data (as well as the app in case you added something to identify it as bought). Articles mentioned about checking the checkbox regarding entitlement when refunding. IN my case, i forgot to select the checkbox so I am stuck with that error message.
In Android, there is a way to consume by token (and without even having the need to do those clear cache/storage). But here, there is no way to do so. so, I cannot simulate another purchase because i get the error , you already bought the item.

Hi @chitgoks

I do not think it is the same. The situation is i have successfully purchased an in app item. I refunded it in play console so that ads would show up again in my app and i can purchase the in app item again (to remove the ads).

You getting this message from Google Play but the subscription is still active.
In order for the user to buy it again, you need to update the product status in your backend and manage receipts. So when the next time the user tries to buy, it won't show as already purchased.
See https://codelabs.developers.google.com/codelabs/flutter-in-app-purchases#9 for more details

consume by token method

Can you please link documentation for this?

hi @TahaTesser
ahhh, ill close this then. and base it on that. thank you.
for now i created a new sample project in android to address my issue using the billing api in java.
https://tech.chitgoks.com/2021/08/02/how-to-reset-non-consumable-in-app-item-in-play-store/


[TIC-45] Doorlist overhaul

Description
Overhauled doorlist page

Separated event & date/time dropdown
Fixed routes and API calls
Added export table ability
Added ability to view inactive events
Formatted Accommodations column to support strings
Added event API call for all events (instead of just active events)
Fixed doorlist API call

The check in guest function is still not fully functional. need to link 'Arrived' cell to the check in guest API
Risks
Minor update to doorlist API call could affect other pages. I dont think its used anywhere else right now.
Validation
Manual testing and console logging

Issue
Link to corresponding issue
Operating System
Windows

Could we display the seating accommodation instead of a T/F?  If so, may need for me to merge my branch TIC-42 first.

Besides this everything else looks good to me.

Could we display the seating accommodation instead of a T/F? If so, may need for me to merge my branch TIC-42 first.
Besides this everything else looks good to me.

This might now be fixed since we changed the seed data for contacts to actual accommodations?

Should we have a submit button when checking in customers? How are we updating the list?

At the moment, we have backlogged the ability to check users in using the doorlist


Starting from the base environment creates problems with the omnicomplete.

Changing sys.path as done before makes omnicomplete (<c-x><c-o>) to crash, in-spite everything seems to be ok.
Perhaps is a problem connected to Vim sys.path but it should be investigated.
Temporary solution is to avoid starting Vim from the base environment.

Is this plug-in, as its name suggests, more about activating or switching an environment?
Since an environment has to be activated before Vim is entered, I wonder what :CondaActivate achieves?
Is it?

The internal sys.path used by Vim is also set.

This seems from a user's point of view important for omni-completion using the libraries of the current environment.
Could the environment on entering Vim be auto-detected to adapt the (missing) Vim settings?

Is this plug-in, as its name suggests, more about activating or switching an environment?
Since an environment has to be activated before Vim is entered, I wonder what :CondaActivate achieves?
Is it?

The internal sys.path used by Vim is also set.

Yes, exactly. It change the runtime. When you conda activate you don't just change the internal Vim, sys.path but you also change the shell $PATH and a number of other environment variables.

Could the environment on entering Vim be auto-detected to adapt the (missing) Vim settings?

In reality the setting is not missing, it is set to a certain value.
I wanted to auto-detect the environment, but for some reason it does not work. But it is also true that when I wrote this plugin my Vim scripting skills were very lower compared to now.
What I have observed is that some plugins don't seem to like when the runtime is changed dynamically, (see e.g. https://github.com/yegappan/lsp/issues/338).
Anyways, PR:S are welcome :)

Thank you very much!

In reality the setting is not missing, it is set to a certain value.

I hesitated writing (missing), but it was meant that all the shell environment variables, such as $PATH, should already have been taken care of by the conda activate command in the shell before starting Vim, which is required to make :CondaActivate work; so the question was rather ifsys.path is the only missing setting that :CondaActivate must handle since the shell command cannot?

I wanted to auto-detect the environment, but for some reason it does not work.

Could you just quickly tell which command you expected to show it, but didn't?

Btw, by looking at conda info --json one can see what is changed when a virtual environment is changed.

In this discussion I didn't grasp why the counterpart for conda needed to be inside the environment before. It seems that the (https://github.com/Coacher/vim-virtualenv/) plug-in solved a similar problem without that need. Maybe @Coacher could give a hint if this is really necessary.

Oh that is interesting! Thanks for pointing it out!
I think that conda is more complex than virtualenv, and perhaps there are some nuances that I failed to grasp. Consider, for example, that When you install conda a bunch of things are also added to e.g. .bashrc.
This was one of my first plugins, and as said there is room for refactoring. PRs that include that or any other improvements are welcome! :D


remove observing token timeouts

Token timeouts are no longer relevant for the kube-apiserver as
the authenticator moved to oauth-apiserver in 4.8
/assign @deads2k
/cc @s-urbaniak

/lgtm

/approve


Fixed: load apim instances when expanding an Azure subscription

Closes #323

I am getting this again with the latest codebase


Lines not workingin viewport

I have two draggable divs. I am connecting them using LIne. Within the viewport if I drag the divs the line stretches  accordingly and it works completely fine

. But when I drag the divs out of viewport(scroll bar comes up automatically) the lines don't work. They stay within the viewport.

Hey @gate2017aloy, it's an issue with the mouse handlers you have set, not related to react-line itself (it deals only with the drawing part). I don't know if there is a way to "catch" the mouse-move outside of the viewport.

Hi @sderosiaux the issue is resolved. Thanks for the reply. Only had to add the pageOffsetX and pageOffsetY


Unable to generalize a type variable. It is not unranked.

This has been reported by a few folks now. Here are the examples:

[x] https://github.com/elm-lang/error-message-catalog/issues/185 - very simple one!
[x] https://github.com/elm-lang/error-message-catalog/issues/184 - pretty simple one
[x] #1600 - problem with comparable in type annotations
[x] #1609 - problem with type alias A = {} and type annotations
[x] #1582 - problem with type alias T = Int and type annotations
[x] #1638 - problem with type alias T = Int and type annotations
[x] #1569 - type alias + comparable + annotation
[x] #1657 - number of args does not match type annotation
[x] #1607 - problem with nested type annotations
[x] #1633 - problem with person vs Person
[x] #1504 - problem with type annotation in let
[x] #1579 - three type annotations clashing
[x] #1595 - bigger examples in one file
[x] #1592 - bigger example in many files
[ ] #1639 - unannotated definition with a in sub-annotation

Almost everything was fixed by 4b25980d93ada12236c794f35570e197be82f787! Whoo!
There was one that seems to be different, so I reopened that one to track it there.


missing benchmark results for sqlite

repo has this:

Where are the results of sqlite?

Not relevant anymore

How so? Why not update with more updated device?

the sqlite is so different that implementing such comparison test is difficult and since no one made it so far, I don't think it's going to happen anytime soon anyway :)

So maybe it's time for new benchmark, which will include it and maybe other libraries.
It says Nexus 4...


Gentoo Linux logo is not present, like Arch Linux logo is on Arch.

Expected outcome: logo for Linux distribution used should appear, like in this screenshot from hyprwm on X.

However, I have this screenshot which shows no logo on Gentoo Linux.

Environment:
Gentoo Linux with default/linux/amd64/23.0/desktop/gnome/systemd (stable) profile
Hyprland 43.0
GCC
Latest hyprsysteminfo version
Steps to reproduce:
Install Gentoo Linux
Use GCC, cmake, and make to make and install hyprsysteminfo
Run hyprsysteminfo in Hyprland
Observe lack of Gentoo Linux logo

what's the output of cat /etc/os-release?

NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.15"

well that's your answer. Logo depends on this having a logo:

maybe it's possible to fall back on id, gimme sec

hm. I am looking at my icons and I can't find a gentoo icon within my theme. Dunno how that should be obtained.

It might not be what you want for the project but one possible solution would be to have system that automatically downloads the correct logo if it's not present after detecting what distro it is. For example, it would download https://www.gentoo.org/assets/img/logo/gentoo-signet.svg if the detected distro is gentoo and there isn't a logo already.

No, allowing a utility to connect to the internet is not what I want it to do. Embedding icons would be passable, but idk what the policies of the gentoo logo are

I'm not a lawyer, but I'm pretty sure you'd be able to embed the icon for Gentoo. Here's the source: https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html. I'm not sure about any other distros specifically, but most distros are OK with non commercial use as long as it's clearly not affiliated with their distro as far as I know.

I guess you could also fall back to using nerd fonts for distros that don't provide logos
Or just embed it I guess, would make the whole thing a bit heavier but who cares, it's just 20 KB or so

hm. I am looking at my icons and I can't find a gentoo icon within my theme. Dunno how that should be obtained.

are you sure its not a special icon provided per distro? I wouldnt expect to have archlinux-logo on nix or nix-snowflake on arch.


Support for setting maxPSS in specified tasks (Merge tasks)

Impact of the new feature
WMAgent
Is your feature request related to a problem? Please describe.
Express Merge jobs require more than the default 2.3 GiB defined in addRuntimeMonitors. The current memory setting functions ignore "Merge" tasks, which prevents them to ever have more than 2.3 GiB maxPSS.

setJobResourceInformation
setMaxPSS

Describe the solution you'd like
We want to be able to set an arbitrary value of maxPSS only for Express Merge tasks, or for that matter, any specified task. Currently, a workload goes through all its tasks and if its not "Merge", "Cleanup" or "LogCollect", it will set it with the same maxPSS value. We want to discriminate among tasks so that we can have "Merge" tasks with a maxPSS value of our choice without affecting the maxPSS value of other tasks within the workload.
Describe alternatives you've considered
I have considered giving flexibility to the current memory setting functions so that if a task is specified then there is no need to ignore it if it happens to be type "Merge". Also, adding a "TaskMemory" parameter support in company of the current "Memory" parameter in updateArguments. This is explicitly visible in modified updateArguments
Such changes can be seen in the patch: https://github.com/dmwm/WMCore/pull/12085
Additional context
None

@LinaresToine before you dive too much with this development, I wanted to say that this is a delicate and intrusive change in Request Manager.
Having the ability to update a Merge task resource requirement would ideally require knowledge of the task name (e.g. DataProcessingMergeNANOEDMAODoutput, which means knowledge of the parent task name and the output module), which is not kept at the request JSON description. So it's a complex issue to solve and easy to make mistakes and inject new bugs. If we decide to follow this route, then we need to be well covered with unit tests as well.
About the TaskMemory new parameter that you propose, that would be very confusing, as Memory is already a task-level parameter. I'd rather explore other options here.

Thank you @amaltaro for your illustration. I agree that this development is quite intrusive. Perhaps its better to include new functions, rather than modifying existing ones for the time being. For example, the task types that are being ignored could have their own setMaxPSS function. In any case, Ill think of a way to make it as less intrusive as possible. One idea that comes to mind is finding a way to define the Memory parameter as a dictionary with taskNames from the T0 side, as this is already supported by the agent. Ill follow up on this. Thanks again


docs: update example for MySqlConnectionOptions

removed the .connect().await? from the construction of MySqlConnectionOptions as this is not a valid parameter for the constructor
Does your PR solve an issue?
Delete this text and add "fixes #(issue number)"

The example is already correct because it's showing how to use MySqlConnectOptions to obtain a connection.

I misread my LSP output. I am sorry for the useless pullrequest.


feat: add reinvocationPolicy option

Add a value in the Helm chart to set reinvocationPolicy of MutatingWebhookConfiguration
Description
It should be possible to set reinvocationPolicy (https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#reinvocation-policy) for the MutatingWebhookConfiguration resource.
My use case is:

I want to make sure that only images from my private registry (which are signed) are used in my cluster
Thus, for public images, I pull them, sign and then push them to my private registry
I use kyverno to mutate all public images to my private images (e.g. bitnami/bitnami-shell:10-debian-10-r99 become my.private.registry/bitnami/bitnami-shell:10-debian-10-r99
So, I need reinvocationPolicy: IfNeeded to let Connaisseur reevaluate the request after it was mutated by kyverno.

Checklist

[x] PR is rebased to/aimed at branch develop
[ ] PR follows Contributing Guide
[ ] Added tests (if necessary)
[ ] Extended README/Documentation (if necessary)
[ ] Adjusted versions of image and Helm chart in values.yaml and Chart.yaml (if necessary)

@Starkteetje @phbelitz : I updated the PR following your recommendations. Is there anything else I need to do to get the PR approved?

Codecov Report

Merging #518 (1b70016) into develop (6845fe7) will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #518      +/-   ##
===========================================
+ Coverage    94.32%   94.40%   +0.07%
===========================================
  Files           22       22
  Lines         1111     1125      +14
===========================================
+ Hits          1048     1062      +14
  Misses          63       63

Impacted Files
Coverage Δ

connaisseur/workload_object.py
98.24% <0.00%> (ø)

connaisseur/flask_application.py
92.63% <0.00%> (+1.27%)
: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 6845fe7...1b70016. Read the comment docs.

@caiconkhicon generally looks good to me. Before merging, think it makes sense to make a small note on this in the docs here just below the comment on the failurePolicy. Please keep it in a similar form and link to the external documentation of reinvocationPolicy.
Very nice contribution. I like it!

@caiconkhicon generally looks good to me. Before merging, think it makes sense to make a small note on this in the docs here just below the comment on the failurePolicy. Please keep it in a similar form and link to the external documentation of reinvocationPolicy.
Very nice contribution. I like it!

Hi, done :)


Migrate from walletlink to @coinbase/wallet-sdk

The npm package has been moved to here:
https://github.com/coinbase/coinbase-wallet-sdk
In our app we use it here:
https://github.com/KlimaDAO/klimadao/blob/990873c5734f10d53ee6b43306e7e22df457f24d/app/components/views/Home/index.tsx#L74
And here:
https://github.com/KlimaDAO/klimadao/blob/e783cd6ee3e1201e88b26cd39bd16daaedfb4bcf/site/hooks/useWeb3/index.tsx#L30

@Atmosfearful I think we can close this one


Log elastic reload duration consistently as milliseconds

Checklist

[ ] tests added
[ ] commits conform to the Commit message format
[ ] documentation updated

Squash commit message
Log elastic reload duration consistently as milliseconds to make it easier to parse by analyzer.

LGTM, but what could yield an error with ReloadTime parsing?

string not formatted as time.Duration parsable, which it should be according to reload team (that or empty). So should never happen, but we all know about "should"...


Clarify what the location of webroot means

Originally submitted by @visualstuart in https://github.com/aspnet/Docs/pull/395
In the conceptual overview:

The Web root of your application is the root location in your project from which HTTP requests are handled

This section would be improved with some further clarification. What is the meaning of "the root location", especially the term 'location'? Is this referring to a concept in the Solution Explorer in Visual Studio, a folder in the file system during development or when hosted? If this is the 'root' node, what would the children be? What would it mean or achieve to change the "webroot" property in the project.json file? What else would I have to do if I made that change?

Make sure the language is consistent in the static file middleware topic.

@TomArcher can you fix this?

Per fowler on content root: Any non code files that need to be read from the project. Config files, data files (like a database file), etc. it's also the base path for the webroot folder

Current descriptions are found in Fundamentals and the Web Root string section of Hosting.

@Rick-Anderson Is this still a prob? I can't find the OP topic mentioned (i.e., an "overview" with webroot language), and I can't find the string in the OP in any of the topics. The Fundamentals description seems quite respectable, and I'll double-check that the Hosting topic has good content on this in the morning (the PR for the Hosting topic updates is almost ready).

fixed via:

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/index?tabs=aspnetcore2x#content-root
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/index?tabs=aspnetcore2x#web-root


Add yarn support for debugger

Usage:
require('jester').debug({ yarn = true, path_to_jest = 'jest' })

Todo:

[x] Fix formatting

Fixes #3

I think after getting it working is that modifying the runtimeArgs and adding support for passing in passing in runtimeExecutable will be adequate.


how to Set webhook response

when i call the wehook , I am getting this response [
{
"name": "John",
"age": 30,
"city": "New York",
"elapsed_time_ms": 158
}
]
Now i want to show only name and city for answer for that intent ???
How to do that .....????

@eluru-rajesh-hubino maybe this blog post will help.
You can use handlebars to include them in a response. Something like {{webhook.response.name}} is {{webhook.response.age}} and from {{webhook.response.city}}

Is this a continuation of your other issue or is this one resolved @eluru-rajesh-hubino


The starting column of the range is too small. (line 333, file "Code") error

Hello Dave,
I am less than a newbie to scripting.
Found your auto sync script and am trying to implement it for a cash flow sheet with columns titled (from left to right).
Title, Start Time, End Time(leaving blank for all day) are my columns.
I copy pasted your script and set my sheet and calendar time to Canada Eastern although the sheet sheet setting and calendar setting time zone for Toronto differs by an hour.
my Title column is a formula (=IF(ISBLANK(E2),D2&TEXT(F2," $####.##")&" Balance is "&TEXT(G2,"$#####.##"),D2&TEXT(E2," $####.##")&" Balance is "&TEXT(G2,"$#####.##")).
Start time is date only and no time.
End date is blank to make it an all day event.
But I keep getting this error and am not able to debug.
error 1 - The starting column of the range is too small (When I run 'update to cal' from the sheet)
error 2 -    The starting column of the range is too small. (line 333, file "Code") (when i run the script from the script page.

Any help and would be greatly appreciated.
Thanks
Jack

I have similar problem. Same error message pops up for me when I try to edit in a different sheet than the one with Start time - end time headers. The first sheet makes things happen in the second.
Any idea why?

Can anyone help with the above? Thanks

Hi Emilnorde,
I found out that you cannot run the syncToCalendar script while in a different sheet. I make my edits in my "data" sheet and return to the "sync" sheet with start time,,end time ...headers and run it from there.  I also created a button and assigned the syncToCalendar script to the button. That way , I just click the button to run the sync. The reason I did this was to avoid accidentally running the SyncToSheet script. Running the SyncToSheet script will wipe out all my formulas that I have to draw data from  the "data"  sheet.
Essentially, I use Dave's script to only sync to Calendar and not from Calendar.
Dave,
Thank you Thank you Thank you. gccalendarsync is awesome.

I am running this add on in a shared file. It was working smoothly for few days, and then suddenly it gives me this error " Exception: The starting column of the range is too small." I tried to run it with the template file and I still get the same error. Do you have any clue about what could be happening?
Thanks!

You're probably using an older version of the script. I recently made a change so that each tab within a spreadsheet can sync to a different calendar. You can either get the latest version now from the GSuite Marketplace or try deleting the first row that has the calendar ID and put it in the settings dialog instead.

Actually, I did find a small issue. If the "ID" column is missing, you'll get this error. I updated the script to give a more friendly message when that field is missing.


Cannot ./configure Tensorflow on Ubuntu 18.04 LTS with CUDA 11.1

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04 LTS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Source
TensorFlow version: latest
Python version: 3.6
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source): 3.7.1
GCC/Compiler version (if compiling from source): 9.3.0
CUDA/cuDNN version: 11.1/8
GPU model and memory: RTX TITAN (DUAL) 24 GB

Describe the problem
Attempting to configure tensorflow for using the ./compile script.
CUDA is not found
Provide the exact sequence of commands / steps that you executed before running into the problem
./configure
You have bazel 3.1.0 installed.
Please specify the location of python. [Default is /usr/bin/python3]:
Found possible Python library paths:
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
Please input the desired Python library path to use.  Default is [/usr/local/lib/python3.6/dist-packages]
Do you wish to build TensorFlow with ROCm support? [y/N]: y
ROCm support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.
Do you wish to build TensorFlow with TensorRT support? [y/N]: y
TensorRT support will be enabled for TensorFlow.
Could not find any NvInferVersion.h matching version '' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'/lib'
'/lib/i386-linux-gnu'
'/lib/x86_64-linux-gnu'
'/lib32'
'/opt/ont/guppy/lib'
'/usr'
'/usr/lib'
'/usr/lib/i386-linux-gnu'
'/usr/lib/x86_64-linux-gnu'
'/usr/lib/x86_64-linux-gnu/libfakeroot'
'/usr/lib32'
'/usr/local/cuda'
'/usr/local/cuda-11.1/targets/x86_64-linux/lib'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: 11.1
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 8
Please specify the TensorRT version you want to use. [Leave empty to default to TensorRT 6]: 7
Please specify the locally installed NCCL version you want to use. [Leave empty to use http://github.com/nvidia/nccl]:
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: /usr/local/cuda-11.1/targets/x86_64-linux/lib,/usr/local/cuda-11.1/targets/x86_64-linux/include,/usr/lib/x86_64-linux-gnu,/usr/include,/usr/local/cuda-11.1/bin/,/usr/local/cuda-11.1/nvvm/libdevice/
Could not find any libdevice*.10.bc in any subdirectory:
'nvvm/libdevice'
'share/cuda'
'lib/nvidia-cuda-toolkit/libdevice'
'local/cuda/nvvm/libdevice'
of:
'/usr/include'
'/usr/lib/x86_64-linux-gnu'
'/usr/local/cuda-11.1/bin/'
'/usr/local/cuda-11.1/nvvm/libdevice/'
'/usr/local/cuda-11.1/targets/x86_64-linux/include'
'/usr/local/cuda-11.1/targets/x86_64-linux/lib'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]:
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@cement-head
Can you please try with CUDA 11.0? TF 2.4 (and nightly) is built and tested against CUDA 11.0, not 11.1.
Please refer to this issue and let us know : #43629

Okay - this will take some time.

Okay - same error with CUDA 11.0 and TensorFlow 2.5 (pulled from GitHub):
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: /usr/local/cuda-11.0/targets/x86_64-linux/lib,/usr/local/cuda-11.0/targets/x86_64-linux/include,/usr/lib/x86_64-linux-gnu,/usr/include,/usr/local/cuda-11.0/bin/,/usr/local/cuda-11.0/nvvm/libdevice/
Could not find any libdevice*.10.bc in any subdirectory:
'nvvm/libdevice'
'share/cuda'
'lib/nvidia-cuda-toolkit/libdevice'
'local/cuda/nvvm/libdevice'
of:
'/usr/include'
'/usr/lib/x86_64-linux-gnu'
'/usr/local/cuda-11.0/bin/'
'/usr/local/cuda-11.0/nvvm/libdevice/'
'/usr/local/cuda-11.0/targets/x86_64-linux/include'
'/usr/local/cuda-11.0/targets/x86_64-linux/lib'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]:

BTW; Tensorflow is not finding the install CUDA, nor the cuDNN install automagically, which is in the path on this machine - all other CUDA functions are okay (on Ubuntu 18.04).
This does not appear to be a CUDA 11.0 vs 11.1 error/issue.

I cannot reproduce this issue. Running Ubuntu 18.04 with CUDA 11.0 or 11.1, and they are detected just fine during .configure. It seems there is an issue with the submitter setup of CUDA.
Is CUDA recognized using TF 2.4?

Okay, turns out that TensorRT is already pre-built in the repos; I just installed that!


notifySectionFooterRemoved wrong index logic

At the end of the method  notifySectionFooterRemoved  you have such piece of code:
notifyItemRemoved(section.adapterPosition + section.length - 1);
Suppose i have 24 items in my section, one header and one footer (total item count -27),. I want to remove my footer So after my call  notifySectionFooterRemoved buildSectionIndex() will assign to section.length = 26 (24 (items)+ 2(header and ghost header)).
So notifyItemRemoved(25) called - and thats wrong, should be notifyItemRemoved(26)

https://github.com/ShamylZakariya/StickyHeaders/pull/40

Thanks for catching this.


Eval-34 Upgrade Dependency Versions

Fixes #34 .
Please, @raulraja could you review? Thanks!

LGTM!


Another error that causes multicast to crash often

Recently I've begun getting this error after starting Multicast.  The whole service halts.  The Chromecasts continue to show the last content sent to them but I can't alter the content as I can't interact with the web environment.
`events.js:112
throw er; // Unhandled 'error' event
^
Error: dns service error: unknown
at MDNSService.on_resolver_done (/usr/lib/node_modules/multicast/node_modules/mdns/lib/resolver_sequence_tasks.js:19:30)
at SocketWatcher.MDNSService.self.watcher.callback (/usr/lib/node_modules/multicast/node_modules/mdns/lib/mdns_service.js:18:40)`
Any way I can just get multicast to ignore the error (whatever it is) and continue without halting?

Nevermind, self inflicted injury.    :)

Turns out it's back again.
events.js:112
throw er; // Unhandled 'error' event
^
Error: dns service error: unknown
at MDNSService.on_resolver_done (/usr/lib/node_modules/multicast/node_modules/mdns/lib/resolver_sequence_tasks.js:19:30)
at SocketWatcher.MDNSService.self.watcher.callback (/usr/lib/node_modules/multicast/node_modules/mdns/lib/mdns_service.js:18:40)
When this occurs Multicast just falls over.  Relaunching it means it runs again for a few moments then dies once more.

This might be the result of Avahi caching, adding this to the Avahi conf file seems to help
cache-entries-max=0

@plitewaikato has disabling Avahi caching solved the issue or just caused it to occur less often? What are your OS/system specs?

Its been some help, but the crashes persist.  I'm running Debian on an
elderly laptop as the pilot, and if I can get it stable I'll roll it into
our VM infrastructure..
On Thu, May 3, 2018 at 2:45 AM Aaron Ross<EMAIL_ADDRESS>wrote:

@plitewaikato https://github.com/plitewaikato has disabling Avahi
caching solved the issue or just caused it to occur less often? What are
your OS/system specs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/superhawk610/multicast/issues/42#issuecomment-386002911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQJEYfaFeeX1CZABpT7dW-IH_PeZ_wiks5tucZ0gaJpZM4TXnlJ
.

Any update on this? I'm not very well versed in Debian, so I may not be of much help here.
Out of curiosity, what version of Node and Multicast are you running?

Closing due to inactivity.


gen_mini_batches.py error

FileNotFoundError: Dataset path does not exist:/root/Kitti/object
Where can I  set dataset dir ?   I'm not skilful python

hello, do u solve this problem? your help will be very appreciate

I'm having the same issue. Any solution? Thanks!

I put the ‘Kitti’ directory in my home path, It's like /home/'user_name'/Kitti/
the Kitti dir is organized as the author described

Thanks @ChengYiBin !
I figured out that you can also put the Kitti directory anywhere you want, but you must edit kitti_dataset.py (avod/datasets/kitti).
Change the line : self.dataset_dir = os.path.expanduser(self.config.dataset_dir) to the path where your Kitti Directory is.
e.g self.dataset_dir ="/avod/Kitti/object"


Attempt to build on macos arm64

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

This recipe is using a compiler, which now requires adding a build dependence on {{ stdlib("c") }} as well. Note that this rule applies to each output of the recipe using a compiler. For further details, please see https://github.com/conda-forge/conda-forge.github.io/issues/2102.

For recipe/meta.yaml:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

In conda-forge.yml: $.test_on_native_only = True.

'Test On Native Only' is deprecated.
This was used for disabling testing for cross-compiling.

This has been deprecated in favor of the top-level `test` field.
It is now mapped to `test: native_and_emulated`.

Schema
{
  "anyOf": [
    {
      "type": "boolean"
    },
    {
      "type": "null"
    }
  ],
  "default": false,
  "deprecated": true,
  "title": "Test On Native Only"
}

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

In conda-forge.yml: $.test_on_native_only = True.

'Test On Native Only' is deprecated.
This was used for disabling testing for cross-compiling.

This has been deprecated in favor of the top-level `test` field.
It is now mapped to `test: native_and_emulated`.

Schema
{
  "anyOf": [
    {
      "type": "boolean"
    },
    {
      "type": "null"
    }
  ],
  "default": false,
  "deprecated": true,
  "title": "Test On Native Only"
}

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


Default byron address network_id to testnet if magic not matched

Fixes Byron(UnknownNetwork(ProtocolMagic(1))) when trying to serialize Byron address from preprod testnet.

when trying to serialize Byron address from preprod testnet.

When does this happen? I'm looking at the serialization code and we don't read the network id since it's fixed and just defers to the byron address impl which has no access to the outer Address struct:
Self::Byron(byron) => {
    use cml_core::serialization::ToBytes;
    buf.extend(byron.to_bytes())
}

and Address::header()
Self::Byron(_) => 0b1000 << 4, // note: no network ID for Byron

Or maybe we need to modify Address::Byron variant to remember bits 3-0 in the header byte? The cddl spec doesn't mention anything about them at all.
; byron addresses:
; bits 7-4: 1000

Shelley introduces network IDs in the addresses from 0-15. Byron, on the other hand, does not explicitly have a network ID inside it for mainnet - only for testnet (since Cardano didn't have a testnet at launch an that only came later). IDs for Byron are different though - instead of Network ID, it uses the protocol magic (stuffed in as part of AddrAttributes). These are separate values that serve separate roles
The fact these are separate is a little awkward because for the network_id function on an address it's not clear what should be returned in the Byron address case. The best we can do is look at the protocol magic and then (using a hard-coded lookup table) find the network ID for that protocol magic.
The problem is that the lookup we're doing right now isn't aware of preprod of preview, so it throws an UnknownNetwork error.
There are three ways to tackle this:

We can add preview & preprod to this lookup table
preprod and preview both magic ID and protocol magic were made to be equal to the same value for simplicity. We can assume this will always be the case for future networks (this is what this PR does)
We can choose not to change the code, and instead keep the error and tell recommend not to use this function on Byron addresses and get the network ID some other way (not ideal, but partially unavoidable for things not in the lookup table)

Shelley introduces network IDs in the addresses from 0-15. Byron, on the other hand, does not explicitly have a network ID inside it for mainnet - only for testnet (since Cardano didn't have a testnet at launch an that only came later). IDs for Byron are different though - instead of Network ID, it uses the protocol magic (stuffed in as part of AddrAttributes). These are separate values that serve separate roles
The fact these are separate is a little awkward because for the network_id function on an address it's not clear what should be returned in the Byron address case. The best we can do is look at the protocol magic and then (using a hard-coded lookup table) find the network ID for that protocol magic.
The problem is that the lookup we're doing right now isn't aware of preprod of preview, so it throws an UnknownNetwork error.
There are three ways to tackle this:

We can add preview & preprod to this lookup table
preprod and preview both magic ID and protocol magic were made to be equal to the same value for simplicity. We can assume this will always be the case for future networks (this is what this PR does)
We can choose not to change the code, and instead keep the error and tell recommend not to use this function on Byron addresses and get the network ID some other way (not ideal, but partially unavoidable for things not in the lookup table)

I'd do it in 2nd way (as done in the PR), since:

so far all the networks are 0 / 1 and if new testnet is added according to these rules we're fine. if we use another option the code still would need a change anyway
the issue with byron is this line https://github.com/dcSpark/cardano-multiplatform-lib/blob/2edabcacafed6af2150dfd82fa3246d1cab0446e/core/rust/src/network.rs#L8, either CML won't work on preprod / preview, or we add new networks, or we just ignore the check

Keep in mind we should be added known networks to NetworkInfo anyway (it doesn't contain preview/preprod/sanchonet, but probably it should)

We instead implemented #309 which I think is the right approach


Prepare release for EventGrid July 2024

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


Long string values probably should not be inlined

It might be more reasonable to use something like ... to truncate the display here; otherwise, the design could become non-orthogonal.


Metabase Initialization FAILED PSQLException: ERROR: relation "databasechangelog" does not exist

Hi Team,
We have deployed metabase in Openshift environment and it is connecting to postgres db public schema. Now we are trying to connect to a different schema but the metabase deployment is failing with below error. Can someone please help.
2024-08-06 15:06:43,868 INFO db.setup :: Verifying postgres Database Connection ...
2024-08-06 15:06:44,745 INFO db.setup :: Successfully verified PostgreSQL 13.11 application database connection. ✅
2024-08-06 15:06:44,745 INFO db.setup :: Checking if a database downgrade is required...
2024-08-06 15:06:44,819 ERROR metabase.core :: Metabase Initialization FAILED
org.postgresql.util.PSQLException: ERROR: relation "databasechangelog" does not exist

apiVersion: v1
description:
The easy, open source way for everyone in your company to ask questions
and learn from data.
name: metabase
version: 2.14.3
appVersion: v0.49.7


Documentation for kubeadm config for creating audit logs in $ARITFACT/ => GCS

Request: (Put request here. One liner.)
Short description:

Current state:

We depend on upstream audit log generation for GCS only

Desired state:

Anyone can create a prow job that copies the $ARTIFACTS into GCS for processing via APISnoop for their non-google cloud

Tasks:

[ ] Setup Prow Job that builds, deploys, and runs conformance test on GCS
[ ] Update and document the creation of the kubeadm configs that generate audit-logs
[ ] Update and document the copying of $ARTIFACTS into GCS

@zachmandeville: There are no sig labels on this issue. Please add a sig label.

A sig label can be added by either:

mentioning a sig: @kubernetes/sig-<group-name>-<group-suffix>
e.g., @kubernetes/sig-contributor-experience-<group-suffix> to notify the contributor experience sig, OR

specifying the label manually: /sig <group-name>
e.g., /sig scalability to apply the sig/scalability label

Note: Method 1 will trigger an email to the group. See the group list.
The <group-suffix> in method 1 has to be replaced with one of these: bugs, feature-requests, pr-reviews, test-failures, proposals
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hh, can you elaborate on this request?

Elaborations added.
/cc @zachmandeville

Issue Closed: Stale / Clean-up


Incorrect margins are returned

public void getCombinedMarginCalculation() throws IOException, KiteException{
List params = new ArrayList<>();
    MarginCalculationParams param = new MarginCalculationParams();
    param.exchange = "NFO";
    param.tradingSymbol = "NIFTY21MAY15400PE";
    param.orderType = "MARKET";
    param.quantity = 75;
    param.product = "MIS";
    param.variety = "regular";
    param.transactionType = "SELL";
  // param.price = 141819;

    MarginCalculationParams param2 = new MarginCalculationParams();
    param2.exchange = "NFO";
    param2.tradingSymbol = "NIFTY21MAY14450PE";
    param2.orderType = "MARKET";
    param2.quantity = (int)(75*ImportantPosition.HEDGED_QTY_MULTIPLIER);
    param2.product = "MIS";
    param2.variety = "regular";
    param.transactionType = "BUY";
  //  param2.price = 300;

    params.add(param2);
    params.add(param);

    CombinedMarginData combinedMarginData = getKiteConnect().getCombinedMarginCalculation(params, true, false);
    System.out.println(combinedMarginData.initialMargin.total);
    System.out.println(combinedMarginData.finalMargin.total);
}

I tried gettting margins using above function. It seems SELL  margins are wrongly computed. Kindly check.

You can use this for javakiteconnect client-related issues.
For API-related issues, you can write on Kite Connect forum.

Please elaborate on the issue with a response from Kite Connect. It would save a lot of time if all the information is provided properly while posting the query.

The attached screenshot from kite basket shows final margin of
approximately 35090 Rs but api returns Rs 17103 . It seems api is returning
only total of premiums.
On Mon, 24 May 2021 at 10:21, sujith @.***> wrote:

Please elaborate on the issue with a response from Kite Connect. It would
save a lot of time if all the information is provided properly while
posting the query.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zerodha/javakiteconnect/issues/23#issuecomment-846730972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFII7WJKJKX7SMJOAWN6JYTTPHLOJANCNFSM45MOJBHQ
.

Please write on Kite Connect forum, we will check and get back to you.

@anudeepsharma82
Can you please check your code again once, seems like you are overwriting the param object "transactionType" , while you are creating the param2 object (second object)
param.transactionType = "BUY";

Thanks @puneetshanbhag !


Disregard, I had a spark of thought and tried this out without running Zmessages.
It appears to be an issue with zmessages.


Feature/urlhandler

Summary of the Pull Request
Tries to resolve the query string as a url and if it is able to parse it as a url will show the url in the searchresultlist.
References
PR Checklist

[x] Applies to #4542
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments
Validation Steps Performed

Added the unit tests for the search results
Searched for "google.com" and saw "http://google.com/" show up in the results and upon clicking it opens my default browser (Firefox) with the correct url

@royvou

You have missed to change the plugin description.

Can we use as plugin icon the icon # EB41 of the font Segeo MDL2 Asset?
See icon list here.

I know this PR is in draft.

@royvou

You have missed to change the plugin description.
Can we use as plugin icon the icon EB41 of the font Segeo MDL2 Asset?
See icon list here.

I know this PR is in draft.

I agree, with #4149 we have aligned all plug-in icons by using the Segoe MDL2 Assets icon.
I have created a version using icon EB41 that uses the right margins and icon size, so you can easily replace the current one :).

Great suggestions yes! I will work on these two small improvements and update PR status.

Thanks @niels9001 for the icons, the PR is ready now (I used an icon from the Microsoft Fluent Icon set originally,  (#openInBrowser24Filled at https://github.com/microsoft/fluentui-system-icons/blob/master/icons.md) but now they are from the same icon set!
If anyone reviews this, can they double check if i've done everything right with the wix project (Layout seems correct / installer works correctly but it's my first wix change))

moved this for .21, i'll test this right now.

@royvou
Can you please add an image how the result is look like? For those (including me) who aren't to build and run your code? Thank you.

I made the image but did not attach it, here is a sample (Where it is the only result) in Dark mode.

I think we should add an description under the uri. Something like "Open in default browser" or as I suggest in the issue to show name and icon of default browser.

Does the URL-Parser support URLs like bing.com/search?q=gmx?
Didn't find something similar within the tests.

Nice work, @royvou ! Looking forward to try this out!
Yeah, we either need to have some sort of subtitle (like @htcfreek suggested) or we could update the DataTemplate so that the title is vertically aligned because this looks a bit off. That would be a good thing to do anyways, I'll open a seperate issue for that.
Question: can we easily detect what the default browser is and show its app icon instead of the MDL2 icon?

Question: can we easily detect what the default browser is and show its app icon instead of the MDL2 icon?

Setting is saved here:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice

Bottom line should be like "Website" and yeah, if we could pull default browser's icon, that would be baller
looking at the reg value however, any ideas how we backtrack that to an actual app?

Not sure if it works at all, but: https://stackoverflow.com/questions/16863287/how-to-get-icon-of-default-browser-in-c

Tried that but pulls IE when my default is Edge Dev branch.  neat code however

Thanks for the suggestions!

Subtitle -> Will be added, didn't even notice it was missing until you said it.

Icon for default browser is a great idea! What @Niels suggests seems to retrieve icon for XP, the path @htcfreek mentions is the Vista onwards one (and current).
Seems like HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http contains the Id of the app which then can be retreived via HKEY_CLASSES_ROOT<>\DefaultIcon (atleast it shows the Path of the .Exe), not sure how to get it for UWP apps yet though (As it contains a ms-resource:// url). Need to investigate a bit for that one.

regarding urls with querystrings etc those all work as expected, will add a seperate test for that though.

Icon for default browser is a great idea! What @niels suggests seems to retrieve icon for XP, the path @htcfreek mentions is the Vista onwards one (and current).
Seems like HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http contains the Id of the app which then can be retreived via HKEY_CLASSES_ROOT<>\DefaultIcon (atleast it shows the Path of the .Exe), not sure how to get it for UWP apps yet though (As it contains a ms-resource:// url). Need to investigate a bit for that one.

@royvou
I have found this: https://stackoverrun.com/de/q/10315156#37432489. Don't know if this works.

SHLoadIndirectString is indeed the solution, but does not take in account the "Theme" of the icon (Looks weird with the "Old" edge), but the Programs plugin contains some logic to retrieve an themed icon.
Will implement these and update the PR.

I've updated it with the following logic.
Screenshot of it using the new Edge & Firefox Nightly (in Dark mode)

GIF of using it (With copy-paste a url inside it) on light/dark mode with the Old Edge.

I really like having the icon! Its an option in code to  disable it though, as it is possible it will fall back to the icon if it does not exist.
I've got two items that might need improvement though.

Should the Browser: Say something browser: Open in Default? Feels a little odd now.
Currently the default browser icon only changes when the Theme is changed / on startup, so if someone changes it mid-runtime it will still keep the old one (Don't think this is a big issue, so i think this should be acceptable?) But if you are testing you will notice it.

@royvou Oooh, that looks great :)!!!
I'd go for a static "Open in browser". I don't really see the need for mentioning the browser name since we have the browser icon there.

First, looks awesome and thanks for helping take the refinements.
Why it is pulling old edge if you have new edge?

Well not sure about that one but at set default programs you can still select the old egde (or at least I can?)
It opens the new edge in both cases though! (and you can also select the new edge). Might be a bug.
(unless people decided to do a side by side install, then it could be either)
Testing the icon out with the old edge icon (when it qa set as the default browser)  was a great way to test UWP programs which were set as defeat browser.

@royvou
Nice work. I like it. 👍😍

Should the Browser: Say something browser: Open in Default? Feels a little odd now.

I think a text like "open in browser" is enough because we have the icon.

Currently the default browser icon only changes when the Theme is changed / on startup, so if someone changes it mid-runtime it will still keep the old one (Don't think this is a big issue, so i think this should be acceptable?) But if you are testing you will notice it.

I think this is something we should fix. Maybe in a second PR.

I've updated the title of the PR to more reflect the change(s) done. This PR is getting along !
I've changed the text to "Open in browser", which makes feels a lot better.
.

so awesome.  Love the icon integration.

this happens on http and https

@ryanbodrug-microsoft i ran it and looks good, can you give it a once over as well?

Http is a valid hostname (will probably not resolve to an ip) so yea... This is expected behaviour.

Http is a valid hostname (will probably not resolve to an ip) so yea... This is expected behaviour.

Sure. But he didn't type http as host name. He is typing the protocol.

@htcfreek list makes sense, will add test cases for these and update parser.

@royvou, when do you want to try this again?

Can't wait to see this on an upcoming release 🎊

All comments are resolved.
Project reference makes sense, but currently no Plugins are direct projectreferences of the powerlauncher project? @somil55

so awesome.  Love the icon integration.
this happens on http and https
@ryanbodrug-microsoft i ran it and looks good, can you give it a once over as well?

Sorry for the delay.  Taking a look now.

All comments are resolved.
Project reference makes sense, but currently no Plugins are direct projectreferences of the powerlauncher project? @somil55

I think @somil55 is refering to a build dependency so that a developer can simply hit F5 and all dependent projects will build.  You can implement this by right clicking on the project file and selecting the following.