Add Support for 2FA for "Admin"

Easy to add support for "users"

Have used: robthree/twofactorauth  "We" have used it for Hestia for the last few years without any issues. It works extremely simple...

Why is there no way to recover access if user loses access to their 2FA? I've seen it a ton where a person will get a new phone and they don't remember to move their authentication over to the new one.

Sending via email means an extra weakness if access email to lost even worse if forgot password  is enabled then the attackers doesn't even need know the Fossbilling password.
Reset tokens are never saved how ever in this case they are saved in 2FA App.

Yes need to add disable 2FA account via admin it self for other users should be relative easy...

Why is there no way to recover access if user loses access to their 2FA? I've seen it a ton where a person will get a new phone and they don't remember to move their authentication over to the new one.

* Sending via email means an extra weakness if access email to lost even worse if forgot password  is enabled then the attackers doesn't even need know the Fossbilling password.

* Reset tokens are never saved how ever in this case they are saved in 2FA App.

Yes need to add disable 2FA account via admin it self for other users should be relative easy...

I agree on email recovery being a poor option, but I think not including the ability to use reset tokens simply because most people won't end up keeping them is kinda a lame excuse.
It's true a lot of people will never end up using that, but I think it's fair to say that a recovery token is the best available option that doesn't require someone else performing the account recovery / the use of the database, I think the ability to do so should be there for the individuals who are responsible enough to save the recovery key

I echo @BelleNottelling and @John-S4 - there needs to be a recovery method, regardless of whether some (most?) people choose not to use it correctly.
Recovery code(s) is a fairly well established method, so I can't see why this wouldn't work here.

Would love to see support for WebAuthn in FOSSBilling, where security and keeping client data safe is so important. It provides an API for authentication with security keys and passkeys. We use security keys for a lot of things, so this should definitely be one of them.


Added initializer that takes a string

I have released 0.2.0 which includes init(string:). Please check out.


Since 4.21.0, lock-improvements from PR #2190 are not effectively used anymore

Search first

[X] I searched and no similar issues were found

Description
In the PR #2190 very useful improvements to changeset locks have been made. With that, Locks are not meant to be created on each service start anymore, but instead only if changesets actually need to be executed. We've been long waiting for this and appreciate this improvement.
However, since version 4.21.0, these improvements are not effectively used anymore, because the codebase restructure of using CommandStep's does now include a LockServiceCommandStep which doesn't contain the improvements from above mentioned PR. I believe during this code restructure, those changes where lost again.
Steps To Reproduce
Run deprecated Liquibase.update() or directly execute a CommandScope. The following command steps will be executed in this order:

DbUrlConnectionCommandStep
ShowSummaryArgument
LockServiceCommandStep
DatabaseChangelogCommandStep
ChangeExecListenerCommandStep
UpdateCommandStep
LabelExpression

Step 3. will create a lock in any case. Step 6. does actually contain some logic to check if the changesets are up-to-date, but at this time the lock is already created by step 3.
Expected/Desired Behavior
LockServiceCommandStep should only create locks in case UpdateCommandStep actually runs any changeset,
Liquibase Version
4.21.0
Database Vendor & Version
Postgres 14
Liquibase Integration
Spring Boot
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

Thanks, @troligsownder . We've been refactoring some of the command code and perhaps the lock avoiding paths got lost in the new setup.

@MalloD12 - could you inspect the code to verify the above issue? If true, how difficult would it be to return the code to the original state and correct the issue as described?

@kevin-atx We have been pair-programming with Filipe who has been more involved in the command refactoring where thse changes got lost looking at how it was the best option to come back to have a similar behavior we had with #2190. We came up with a different way, but we think it would end up with the same result.
@troligsownder I'll push code changes in a bit. I would appreciate if you can pull these changes and test it in your project, before we move on with this issue.

Thanks @MalloD12, I have tested this PR and confirm that this issue is fixed for me with it. Thank you very much for the fast fixing!


Everything became undefined after updating Vue to 2.1.7

If you are the author of a plugin/component that ships a pre-compiled dist file:
It is recommended to re-compile the dist file using the latest versions of vue-template-compiler and vue-template-es2015-compiler. The new generated code is backwards-compatible, but code generated by older versions of the compilers may not work properly with the latest runtime.
Code generation changes that affect compatibility are very rare and we will avoid introducing similar changes in future patch releases.
Please Recompile the dist thank you :)

I tried to update the repo in a fork, however its not as simple as :
yarn upgrade<EMAIL_ADDRESS><EMAIL_ADDRESS>It works, however i do have some 'undefined' that appears  for few ms, enough to be noticeable, before the component gets fully rendered. Moreover when checking out the npm run dev, it seems the entry animations of the different components in the doc is bugged.

codepen repo: http://codepen.io/anon/pen/Ypbjqd

I will check that. The 2.1.7 is too new, but I will release a patch for this for the v0.5.2.


crtime: add Mono.ToUTC

Add a method to produce a UTC time using the current clock.

This change is

TFTR!


Change Splash Screen Color Programmatically

launch_background.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@color/orange" />
    <!-- You can insert your own image assets here -->
    <item>
        <bitmap
            android:gravity="center"
            android:src="@drawable/splash_icon" />
    </item> -->
</layer-list>

styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
        <!-- Show a splash screen on the activity. Automatically removed when
             Flutter draws its first frame -->
        <item name="android:windowBackground">@drawable/launch_background</item>
    </style>
    <color name="orange">#FF9800</color>
</resources>

I change the primary color value in the app dynamically and set theme colors for app. How can I send the primary color value here --> <color name="orange">#FF9800</color>
Also what should I do for IOS?

Hi @hkndzdr
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

it's like an issue that we can't change style.xml programmatically  in flutter

@chandeshwarkumar
the goal of this github repository is not to provide assistance to developers,
but to improve flutter with bug report and feature request.
For assistance on personal code
follow the link I want help writing my application in the new issue menu
On this specific topic there is an official procedure
an answered stackoverflow question  and a medium article
and (without this being an endorsement) a 3rd party plugin
if you believe that this case should be treated as a bug or a feature request
I recommend to open a separate issue providing the information requested in the template


docs(migration): adding docs to support migrating to version 2

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests (npm run test) for the changes have been added (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] PR title and git commit messages conform to the conventionalcommits specification

Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
N/A
What is the new behavior?
N/A
Does this introduce a breaking change?

[ ] Yes
[ ] No

Notes from running a upgrade from v1.x to v2.x test

include some default values in the upgrade guide
DYNAMIC_CONTENT_BASE_URL is optional (for different envs) - does it need a trailing slash?
Disable auto-publishing in Netlify before triggering a manual build, verify site, re-enable auto-publishing and publish site


[NWPS-1143] Blog comment clean-up [Iteration 1]

Blog comment (hee:blogComment) compound type has been removed from the Blog post (hee:blogPost) document type.
Blog Page (blog-page) prototype page has been removed.
Blog Comment Form (blog-comment-form) component has been removed from the catalog.
Comment-related logic has been removed from the Blog post component class uk.nhs.hee.web.components.BlogPostComponent.
Blog comment rendering logic has been removed from Blog post freemarker templates as well as they have been refactored.
Unused comment-related labels/messages from the /content/documents/administration/labels/blogpost resource bundle have been removed.
DeleteBlogComments updater script has been added to delete existing blog comments (hee:blogComment).
RefactorBlogPostPageMainComponent updater script has been added to refactor the main component of blog post pages to follow contentpage prototype main node structure which also gets rid of the comment container component.
Development blog post documents and pages have been tidied-up.
Outdated revisions from hcm-actions.yaml files have been removed (for housekeeping).

Note that the content team should be advised to use Content Page prototype page going forward (right after the release of the PR) to create blog post pages via the experience manager.

Closing the PR as this has been superseded by #547, thanks.


runtime:  a runtime.Goexit call will cancel a panic, which seems unexpected/incorrect

In go 1.13, but probably any version of go, a runtime.Goexit call can cancel a panic (example from @go101):
package main

import "runtime"

func main() {
	c := make(chan struct{})
	go func() {
		defer close(c)
		// The Goexit signal shadows the
		// "bye" panic, but it should not.
		defer runtime.Goexit()
		panic("bye")
	}()
	<-c
}

When you run this program, instead of getting a panic that terminates the program, you get a normal termination with no error.  And generally, when a goroutine is panicking, a call to runtime.Goexit will just end the goroutine, but will cancel the panic, so the whole program may continue running.
This is not a big deal, since it has been like this for a long time and people are unlikely to run into it, but seems unexpected/incorrect.
One solution would be just to say that runtime.Goexit() is a no-op if we are in the middle of a panicking sequence.  The slight downside to such a solution  is that turning runtime.Goexit() to a no-op might be surprising and violate some programmer assumptions (especially if the runtime.Goexit call is buried deep within some other function/module), maybe leading to a second panic.

Dupe of #35378.


SPF Checking error

Dear members
I contacted Gsuite support and they gave me an SPF record that combines my SMTP and Google spf records like this:
v=spf1 a mx include:spf.postal.MYDOMAIN.com include:_spf.google.com ~all
in Postal Domains checking it shows all correct as per follow

But using other SPF checking tools it shows error

Can you help me with that? does it affect my SMTP?

That error message implies that you haven't set up the base records that point at the server properly. Have a read of https://github.com/postalhq/postal/wiki/Domains-&-DNS-Configuration
Basically, postal expects you to have one "set" of subdomains referring to the server and postal itself and then another "set" of domains or subdomains that use the first "set" to refer to postal.

it's solved!! Thank you so much


Extended Pyrad/Py-ART course

This is definitely not the right place to open and issue for this but I could not find another place to open it.
I was asked by some organizations to prepare a course on Pyrad/ MeteoSwiss Py-ART. It would last one day (7h). I will do a purely theoretical part in the morning and some practical exercises in the afternoon (basically playing with Pyrad config files) so no notebooks.
I would like the slides and the example config files to be available to the open radar community and I think the best way to do so is by placing a repository in the openradar github. I have no rights to open a new repository on my own though.
@scollis , @mgrover1 @kmuehlbauer , @wolfidan, do you agree to let me open this repository?

happy to help here @jfigui !

Great @mgrover1! I am happy to see that you like the idea.
Could you create a repository for me called pyrad_course and grant me rights to accept the pull request? I will upload the material that I have so far so that everybody can have a look and suggest changes.

Done! 😄 https://github.com/openradar/pyrad_course

Closing this since the repo was created


⚠ SceneTime has degraded performance

In 5025ef8, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2141 ms

Resolved: SceneTime performance has improved in 5b88865 after 9 minutes.


Not able to display game output in full resolution and without panel tabs and settings

Hello,
I am trying to send the "Game" panel view to a Spout receiver, in 4K.
I have set the Spout Sender component on the main camera.
I am receiving video in the right resolution but It seems I receive Unity tabs and a smaller resolution as can be seen in this screencap :

Would someone help me understand what I am doing wrong?
I tried looking at all the issues on github, tried the "camera" and "game view" mode.
The project I am using to test this is https://github.com/samhogan/Minecraft-Unity3D
Thanks in advance

Anybody has an idea of what I am doing wrong?
Is this unity extension actually capable of just sending the game view to a Spout receiver?
Or is it meant to do something else?
Thanks!


build failing

I'm seeing the abrmd build fail on tpm2-tools:
https://travis-ci.org/01org/tpm2-tools/jobs/261096332
tpm2-abrmd travis badge also shows the build failing:
https://travis-ci.org/01org/tpm2-abrmd/builds/261084080
I'm seeing the same errors between the two builds.
src/tcti-tabrmd.c: In function ‘tss2_tcti_tabrmd_cancel’:
src/tcti-tabrmd.c:310:23: error: ‘FALSE’ undeclared (first use in this function)
     if (cancel_ret == FALSE) {
                       ^
src/tcti-tabrmd.c:310:23: note: each undeclared identifier is reported only once for each function it appears in
src/tcti-tabrmd.c: In function ‘tss2_tcti_tabrmd_set_locality’:
src/tcti-tabrmd.c:365:19: error: ‘FALSE’ undeclared (first use in this function)
     if (status == FALSE) {
                   ^
src/tcti-tabrmd.c: In function ‘tss2_tcti_tabrmd_init_full’:
src/tcti-tabrmd.c:474:21: error: ‘FALSE’ undeclared (first use in this function)
     if (call_ret == FALSE) {
                     ^
src/tabrmd.c: In function ‘get_pid_from_dbus_invocation’:
src/tabrmd.c:145:16: error: ‘FALSE’ undeclared (first use in this function)
         return FALSE;
                ^
src/tabrmd.c:145:16: note: each undeclared identifier is reported only once for each function it appears in
src/tabrmd.c:163:16: error: ‘TRUE’ undeclared (first use in this function)
         return TRUE;
                ^
src/tabrmd.c: In function ‘generate_id_pid_mix_from_invocation’:
src/tabrmd.c:182:24: error: ‘FALSE’ undeclared (first use in this function)
     gboolean pid_ret = FALSE;

Fix for this is coming in via the TSS.

Fixed in 17e27c846aeee9988bf0b0af29c8e00d0d1b5ef7 from the TSS / https://github.com/01org/tpm2-tss/pull/493. I manually re-ran the last travis-ci build for the tabrmd and it now passes.

Thanks!


Fix issue with current_cover_tilt_position for other then BLIND covers

Fixed the problem. Just tested.
Thanks @lukaskroczek and @JoDehli


Stock Models

I think it will be nice if some models are included in voxelshop. I may be able to help in this aspect.

Very much agreed. If you can contribute some sample models that would be awesome!
This is a duplicate. I'm closing this issue, please continue discussion here: of https://github.com/simlu/voxelshop/issues/79


Access Condition should display on archived item public page

On an item public page, if a file is under an temporary restriction or embargo, it is not possible for the user to know when this restriction/embargo will be waive.
At the bitstream level, it is possible to set 4 different access options:  openaccess, administrator, embargo, lease (source : DSpace Rest contract SubmissionAccessOptions Endpoints
Improvement suggested
The improvment deal only with temporary restriction (embargo) and is not taking into account the lease option or the administrator option for restricted items.
The embargo end date is provided at the bitstream level either by the submitter or during the worklow. When an embargo is set during submission or workflow, the end date appears in the bitstream section as illustrated below :

The end date can be displayed the same way on the item page as show below:

Additional context
May be similar to #1651

Agreed, this would be nice to have.  Needs a volunteer to implement.  Also needs analysis to determine if the embargo date is currently shared to the UI (it may not be).  If not, we may need to find a way to share it via the REST API.

This would be very useful for our institution too. Just to clarify that the label needs to remain associated with each bitstream, to account for cases where an item has multiple bitstreams with different access levels. For examples of our use cases, we have:

items with a bitstream which is embargoed and will become Anon READ
items with a bitstream which is embargoed and will only become available to a restricted group
items with one bitstream which is embargoed and another which is open access
items with one bitstream which is embargoed and another which is only available to a restricted group (in some cases these are our patrons, in other cases it's our Admin group)

...and so forth. We want it to be clear to users which files they have access to currently and/or may be able to access in future.


The input method is abnormal, macos TextField

The following assertion was thrown during a platform message callback:
Attempted to send a key down event when no keys are in keysPressed. This state can occur if the key event being sent doesn't properly set its modifier flags. This was the event: RawKeyDownEvent#1b559(logicalKey: LogicalKeyboardKey#70039(keyId: "0x100070039", keyLabel: "Caps Lock", debugName: "Caps Lock"), physicalKey: PhysicalKeyboardKey#70039(usbHidUsage: "0x00070039", debugName: "Caps Lock")) and its data: RawKeyEventDataMacOs(keyLabel: , keyCode: 57, characters: , unmodifiedCharacters: , modifiers: 256, modifiers down: {})
'package:flutter/src/services/raw_keyboard.dart':
Failed assertion: line 666 pos 7: 'event is! RawKeyDownEvent || _keysPressed.isNotEmpty'

[✓] Flutter (Channel beta, 2.2.0-10.1.pre, on Mac OS X 10.15.5 19F101 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.2.0-10.1.pre at /Users/xff/android/flutter
    • Framework revision<PHONE_NUMBER> (7 天前), 2021-04-15 12:01:02 -0700
    • Engine revision d2a2e93510
    • Dart version 2.13.0 (build 2.13.0-211.6.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/xff/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/xff/Library/Android/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-6915495)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] 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-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.5 19F101 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 81.0.4044.138

! Doctor found issues in 1 category.

@chongbo2013
Is this for desktop macOS ?
When do you get this error ? Can you provide a minimal reproducible code sample which shows this issue ?
Thanks.

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.


Enable on-disk database

Now that we have the trie-db in, we can enable on-disk. Needs to be done for -

Trie/state
Blockdb (expanded with stateRoot? If not already available)

From Node worker_threads docs -
Native addons are not supported yet.
Tracking -
https://github.com/nodejs/node/issues/21481
https://github.com/nodejs/node/issues/21783

Closed in favour of #137 , db has been implemented in #135


question: does somebody uses this project in production/release code?

i searched oss projects too, but lens makes it hard to search

thanks reporting~
I don't think anyone has used it yet, and it's not suitable for use in a production environment at the moment.
I am waiting for https://doc.rust-lang.org/beta/unstable-book/language-features/adt-const-params.html to be improved before I perform a refactoring, which will at least reduce the amount of code generated.
As for the issue of code search, I don't have any good ideas at the moment.

@TOETOE55 thank you, so examples look very production oriented.
my current search is:

https://crates.io/crates/lens-rs/reverse_dependencies
https://github.com/search?q=lens_rs++language%3ARust&type=repositories&l=Rust

Interesting exploration could be how lens/prism can be combined with Clone on Write.


Calculate transaction fee

Add a function to calculate transaction fee, return zero if failed.

Thank you, I have changed the c function to use uint64_t and remove to_integral.

Thanks, I'll merge it as soon as it is green on the CI.


ConjureEvalCurrentForm fails in presence of Clojure metadata reader

hi there, I recently noticed troubles trying to evaluate clojure forms with metadata reader data using conjure:
^{:some-meta true}
{:a 1} ;; <-- no result when I set cursor here and call :ConjureEvalCurrentForm

{:a 1} ;; <-- works fine I set cursor here and call :ConjureEvalCurrentForm

;; note that :ConjureEvalRootForm works fine

I tried to reproduce the issue in test and wasn't able to, the test I expected to fail passes!:
(module conjure.extract-test ...)

(deftest metadata-before-form
  (buffer.with-buf
    ["(ns foo)"
     ""
     "{:1 2} (inc 2)"
     "^{:boom true} {:1 2} (inc 2)"]
    (fn [at]
      (at [3 5])
      (t.pr= {:range {:start [3 0]
                      :end [3 5]}
              :content "{:1 2}"}
             (extract.form {})
             "extract a form that doesn't have metadata")

      ;; expected this one to fail but it succeeds:
      (at [4 19])
      (t.pr= {:range {:start [4 14]
                      :end [4 19]}
              :content "{:1 2}"}
             (extract.form {})
             "extract a form with metadata"))))

Have others noticed this issue and/or have any idea what might be responsible?
Thanks!

Possibly to do with tree sitter or lack thereof?
On Thu, 8 Dec 2022 at 15:21, Phillip Mates @.***> wrote:

hi there, I recently noticed troubles trying to evaluate clojure forms
with metadata reader data using conjure:
^{:some-meta true}
{:a 1} ;; <-- no result when I set cursor here and call :ConjureEvalCurrentForm
{:a 1} ;; <-- works fine I set cursor here and call :ConjureEvalCurrentForm
;; note that :ConjureEvalRootForm works fine
I tried to reproduce the issue in test and wasn't able to, the test I
expected to fail passes!:
(module conjure.extract-test ...)
(deftest metadata-before-form
(buffer.with-buf
["(ns foo)"
""
"{:1 2} (inc 2)"
"^{:boom true} {:1 2} (inc 2)"]
(fn [at]
(at [3 5])
(t.pr= {:range {:start [3 0]
:end [3 5]}
:content "{:1 2}"}
(extract.form {})
"extract a form that doesn't have metadata")
  ;; expected this one to fail but it succeeds:
  (at [4 19])
  (t.pr= {:range {:start [4 14]
                  :end [4 19]}
          :content "{:1 2}"}
         (extract.form {})
         "extract a form with metadata"))))

Have others noticed this issue and/or have any idea what might be
responsible?
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/Olical/conjure/issues/444, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACM6XIVORAFFQCLPXHGFYTWMH4GRANCNFSM6AAAAAASYIOMBU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

oh, didn't realize it was used for form extraction when present.
Yes, disabling it resolves the issue. So shall I close this issue and look to open one on the tree-sitter-clojure repo? Or maybe it already exists with https://github.com/sogaiu/tree-sitter-clojure/issues/21 ?

Pushed a change to develop that allows the tree sitter one to take ^{...} meta syntax into account with the eval. It won't work with all prefixes like ^String etc right now because that opens the floodgates for some other issues, but I think this is an improvement.
So your specific example works with tree sitter now for me. As does @foo derefing, part of the same solution. Solved it for a colleague so I thought I'd expand the config to your issue too.

Okay, ignore the ^String, that's a different syntax and would never work! But I've made ^{ and ^: prefixes work, so that's neat!

It looks like this doesn't work with certain ns forms. I found this through clojure.test, I can't eval the buffer or the namespace form while it has the ^{:author "..." :doc "..."} form. If I delete the metadata, then it can be evaled.
I was able to narrow the failing case down to this form:
(ns ^{:doc "

"} cool-ns)

It seems that it fails after 8 newlines in a metadata docstring, regardless of the other contents.

Good catch, thank you! I'll get a test added and fix this as quickly as
possible. I thought I'd already dealt with this a long time ago, but maybe
there's something different about this one I never accounted for.
What makes it a liiiitle tricky to fix quickly is that we're deep in
refactor land on the nfnl-migration branch which will conflict heavily with
any main line branch changes. So I might have to write a patch for both
branches or we just fix it on the migration branch and move you over there
for a little bit while we finish it off.
I'll have a think! (we're kind of modernising all of the Fennel code in the
Conjure codebase to make maintenance a lot easier, so it's a rough time for
bugfixes because they have to be done in two fairly different branches)
On Mon, 26 Aug 2024 at 16:53, Noah @.***> wrote:

It looks like this doesn't work with certain ns forms. I found this
through clojure.test, I can't eval the buffer or the namespace form while
it has the ^{:author "..." :doc "..."} form. If I delete the metadata,
then it can be evaled.
I was able to narrow the failing case down to this form:
(ns ^{:doc ""} cool-ns)
It seems that it fails after 8 newlines in a metadata docstring,
regardless of the other contents.
I wasn't sure if I should open a new issue about this or not.
—
Reply to this email directly, view it on GitHub
https://github.com/Olical/conjure/issues/444#issuecomment-2310534326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACM6XIW3PYTODMBIBGQWS3ZTNFP5AVCNFSM6AAAAABNEJFWHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGUZTIMZSGY
.
You are receiving this because you commented.Message ID:
@.***>

There's no rush, I ran into this 2 years ago and keep forgetting to open a new issue about it lmao.


Orbs Tool Orb 9.0.0 Update

Orbs Tool Orb 9.0.0 Update
What's new?

Updated to Orbs Tool Orb 9.0
Added home_url and source_url
Dynamically add advanced options via an interactive menu.
No longer requires GitHub Token (optional)
No longer Requires SSH Keys
Cleans up repository prior to committing changes. (Keeping commit history cleaner).
Readme Overhaul

Video Demo:
(CircleCI link): https://drive.google.com/open?id=1UsmVv7s8XLHmVGrSoexPlYewsAza4_ZB

Ignore the checks. Those are not actually for this repo. This repo should not be followed on CircleCI.

Thank you @lokst
Just sent through a few updates including the readme generator and fixing that API call. Would you mind taking another look?


[BUG] No call-back when using Number component in HA

Describe the bug
Preface: not 100% this is a bug. Could potentially involve some PEBKAC :-). I have been using Switch and Sensor components quite nicely with ha-mqtt-discoverable (thanks for the excellent work BTW!). But I have been unable to get any callbacks on Number components.
I am not sure if the Number component https://www.home-assistant.io/integrations/number.mqtt/ behaves the same as the Switch in regards to callback.
Has anyone had experience with callbacks on NUMBER? Reading the value from Number object is also quite different.
To Reproduce
The Number components show up in HA (currently as sliders) and work fine. However, there has been no feedback from the Python daemon via MQTT. So any changes in HA are not reflected back to the device.
Expected behavior
The changes on the Number object in HA should be reflected back to the device via the MQTT state?
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Various Ubuntu, RaspiOS (shouldn't matter really
Mosquitto:latest (Docker container)
Python 3.12

I just realised that these seems to be related to: https://github.com/unixorn/ha-mqtt-discoverable/issues/194
Might close this one as it appears to be due to multiple components, rather than the Number entity.


Express server example - Error: Cannot find module 'horizon-server'

When I try to run the express example, it can't seem to find the server module.

@deontologician could you please provide the exact code to npm link the server directory?


bug: config.entrypoint is conflicted with runtime.deamon and runtime.init

Description
Currently the entrypoint has to be horust. Rewriting it by config.entrypoint will cause problem. We should consider remove this function. @gaocegege @kemingy WDYT

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

I think entrypoint is only for customized images.

I agree.

I think entrypoint is only for customized images.

SGTM

Raise error for non-custom base image and improve docs


Enable float pixel format on windows for HDR and/or WCG

This feature request enables to switch from WGL_TYPE_RGBA_ARB to WGL_TYPE_RGBA_FLOAT_ARB (On Windows 10) in order to use higher color bit depths than 10 as well as HDR rendering in non-exclusive mode. This also enables wide color gamut rendering (WCG). Usage for the patch located at the end of this issue:
glfwWindowHint(GLFW_FLOAT_PIXEL_TYPE, GLFW_TRUE);
glfwWindowHint(GLFW_RED_BITS, 16);
glfwWindowHint(GLFW_GREEN_BITS, 16);
glfwWindowHint(GLFW_BLUE_BITS, 16);
glfwWindowHint(GLFW_ALPHA_BITS, 16);

Values in the range 0.0f - 1.0f will be in low-dynamic-range while values above 1.0f are in high-dynamic range. The color space is Windows' scRGB where 1.0f corresponds to a brightness of 80 nits, 12.5f corresponds to 1000 nits on a linear scale. More info here: https://docs.microsoft.com/en-us/windows/win32/direct3darticles/high-dynamic-range
For sending color space and HDR metadata to the display, each vendor's API must be used. More info from Nvidia here:

https://developer.nvidia.com/high-dynamic-range-display-development
https://on-demand.gputechconf.com/gtc/2017/presentation/s7394-tom-true-programming-for-high-dynamic-range.pdf

Patch:
From bda446768eacf07a4f49dee1b037561e7ebcb369 Mon Sep 17 00:00:00 2001
From: Miro<EMAIL_ADDRESS>Date: Fri, 26 Mar 2021 12:15:02 +0100
Subject: [PATCH] Added GLFW_FLOAT_PIXEL_TYPE window creation hint for WGL
 inorder to create float16 pixel-format for HDR and WCG rendering in windows.

---
 include/GLFW/glfw3.h | 5 +++++
 src/context.c        | 6 ++++++
 src/internal.h       | 1 +
 src/wgl_context.c    | 5 ++++-
 src/wgl_context.h    | 1 +
 src/window.c         | 3 +++
 6 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h
index 7d9dee02..f9caa366 100644
--- a/include/GLFW/glfw3.h
+++ b/include/GLFW/glfw3.h
@@ -982,6 +982,11 @@ extern "C" {
  *  Framebuffer double buffering [hint](@ref GLFW_DOUBLEBUFFER).
  */
 #define GLFW_DOUBLEBUFFER           0x00021010
+ /*! @brief Framebuffer pixel format float type hint.
+  *
+  *  Framebuffer pixel format float type [hint](@ref GLFW_FLOAT_PIXEL_TYPE).
+  */
+#define GLFW_FLOAT_PIXEL_TYPE       0x00021011

 /*! @brief Context client API hint and attribute.
  *
diff --git a/src/context.c b/src/context.c
index 48311e5f..b8bf5dce 100644
--- a/src/context.c
+++ b/src/context.c
@@ -202,6 +202,12 @@ const _GLFWfbconfig* _glfwChooseFBConfig(const _GLFWfbconfig* desired,
             continue;
         }

+        if (desired->floatPixelType != current->floatPixelType)
+        {
+            // Float pixel type is a hard constraint
+            continue;
+        }
+
         // Count number of missing buffers
         {
             missing = 0;
diff --git a/src/internal.h b/src/internal.h
index f87c2f93..083228f4 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -335,6 +335,7 @@ struct _GLFWfbconfig
     GLFWbool    sRGB;
     GLFWbool    doublebuffer;
     GLFWbool    transparent;
+    GLFWbool    floatPixelType;
     uintptr_t   handle;
 };

diff --git a/src/wgl_context.c b/src/wgl_context.c
index 4f9a6ffe..952a9343 100644
--- a/src/wgl_context.c
+++ b/src/wgl_context.c
@@ -159,7 +159,8 @@ static int choosePixelFormat(_GLFWwindow* window,
                 continue;
             }

-            if (findAttribValue(WGL_PIXEL_TYPE_ARB) != WGL_TYPE_RGBA_ARB)
+            if (findAttribValue(WGL_PIXEL_TYPE_ARB) != WGL_TYPE_RGBA_ARB &&
+                findAttribValue(WGL_PIXEL_TYPE_ARB) != WGL_TYPE_RGBA_FLOAT_ARB)
                 continue;

             if (findAttribValue(WGL_ACCELERATION_ARB) == WGL_NO_ACCELERATION_ARB)
@@ -184,6 +185,8 @@ static int choosePixelFormat(_GLFWwindow* window,
                 u->stereo = GLFW_TRUE;
             if (findAttribValue(WGL_DOUBLE_BUFFER_ARB))
                 u->doublebuffer = GLFW_TRUE;
+            if (findAttribValue(WGL_PIXEL_TYPE_ARB) == WGL_TYPE_RGBA_FLOAT_ARB)
+                u->floatPixelType = GLFW_TRUE;

             if (_glfw.wgl.ARB_multisample)
                 u->samples = findAttribValue(WGL_SAMPLES_ARB);
diff --git a/src/wgl_context.h b/src/wgl_context.h
index 2cf7e4e5..05e70cd8 100644
--- a/src/wgl_context.h
+++ b/src/wgl_context.h
@@ -30,6 +30,7 @@
 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
 #define WGL_PIXEL_TYPE_ARB 0x2013
 #define WGL_TYPE_RGBA_ARB 0x202b
+#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
 #define WGL_ACCELERATION_ARB 0x2003
 #define WGL_NO_ACCELERATION_ARB 0x2025
 #define WGL_RED_BITS_ARB 0x2015
diff --git a/src/window.c b/src/window.c
index d2196e2f..982472a9 100644
--- a/src/window.c
+++ b/src/window.c
@@ -343,6 +343,9 @@ GLFWAPI void glfwWindowHint(int hint, int value)
         case GLFW_SRGB_CAPABLE:
             _glfw.hints.framebuffer.sRGB = value ? GLFW_TRUE : GLFW_FALSE;
             return;
+        case GLFW_FLOAT_PIXEL_TYPE:
+            _glfw.hints.framebuffer.floatPixelType = value ? GLFW_TRUE : GLFW_FALSE;
+            return;
         case GLFW_RESIZABLE:
             _glfw.hints.window.resizable = value ? GLFW_TRUE : GLFW_FALSE;
             return;
--
2.31.1.windows.1

Thanks for this! Is there any reason this hasn't been opened as a PR and included in GLFW?

I can have a look on how to make a PR out of it. It probably needs rebasing to master. Also half-float buffer works only on Windows at the moment as I understand it. There might need to be some error handling when trying to use GLFW_FLOAT_PIXEL_TYPE on other OS:es/windowing systems.
I'm also a but unsure about if there are any rules when creating new defines. I simply set a value that wasn't used.
However, this code has been used successfully on both Nvidia GPUs, Intel GPUs, and hybrid versions between those. It probably works on AMD too but hasn't been tested. Windows is handling the static HDR meta data but it's possible to override with Nvidias API for example.

OK, yea I was just testing it yesterday. I'm on AMD. It worked, but strangely, I could only get a BGRA buffer. I thought to add some code to check the bit shifts, but they were actually all BGRA.

I'd like to get fp16 and other extended formats on macOS as well ~ grepping around in the code I think float pixel formats haven't been implemented since this issue was posted? Just want to double check that I haven't overlooked something.

Values in the range 0.0f - 1.0f will be in low-dynamic-range while values above 1.0f are in high-dynamic range

That's technically incorrect. When using an sRGB render target, 1.0f is the user defined preferred white point when targeting an HDR display (that behaves like LDR content, and that 1.0f is usually far off from 80 nits). But when using scRGB render target, 1.0f is reduced to 80 nits, and you have to query the native system APIs to get the preferred brightness of "reference white" as a multiplier just in order to get LDR content to show as expected again.
So you can't just switch the default behavior and expect applications to "just work".

For sending color space and HDR metadata to the display

Forget about that part for now. That's the least of your concerns. Not to mention that most displays ignore this information anyway, as it can be trivially reconstructed from the image content. Plus you are clashing with Windows here, which has already opted to take control, and has (for very good reasons) stated towards to the display that it will produce content which exactly fits the native capabilities of the display.
More important is the part where you query the effective color gamut and brightness range. Everything in that range is safe to use, and will behave somewhat as expected. This is what the final applications tone mapping needs to yield.
Everything outside that range is subject to "smart optimizations" the display vendor may have applied. Do not go this route, you will encounter highly unexpected effects such as the display randomly adjusting the brightness, deviating from the previously absolute scale, just in order to still fit the highlights into it's own range.  You won't notice this specific issue if your reference system is a 10bit wide gamut display with a color profile, in that case Windows had already taken care of properly clipping.
TLDR: Make sure the content is clipped to the displays capabilities, or UB occurs.

We got some new OpenGL HDR implementations (GLFW fork for KDE6 HDR, and Oolite who directly output OpenGL HDR in windows without DXGI, also using a float pixel format), referenced from here: https://github.com/glfw/glfw/issues/890#issuecomment-2154960317

Is the problem OpenGL doesn't support HDR SwapChain on Windows and doesn't support HDR content on Linux?
Or just that GLFW is being used by Blender and that doesn't support HDR correctly on these Win/Lin?

@zezba9000, In Windows OpenGL doesn't really know about HDR. In WGL instead of creating an integer pixelformat (WGL_TYPE_RGBA_ARB) a floating point pixel format can be created instead (WGL_TYPE_RGBA_FLOAT_ARB). This doesn't clamp the values from the fragment shader to [0.0, 1.0]. If HDR is enabled on that monitor in windows then the pixel data is interpreted as scRGB with a range of [0.0, 125.0] by the desktop manager when compositing the buffer to the screen. Then it's up to the desktop manager to tonemap, clip or whatever based on the HDR metadata from the monitor.
To get the values in nits (or cd/m^2) you can scale the values by 80 resulting in that a value of 1.0 in the buffer maps to 80 nits, while 12.5 maps to 1000 nits and the max value maps to 10000 nits which is the limit for Rec. 2100 using the PQ OETF.
To get HDR in a GLWF app if GLFW supports a floating point buffer is to be able to render values above 1.0 using a linear mapping instead of sRGB or gamma 2.2.

If you can just use WGL format, then whats this bit about using DXGI to create the texture? Are the HDR ranges different / correct using DXGI to create the texture buffer?

If you can just use WGL format, then whats this bit about using DXGI to create the texture? Are the HDR ranges different / correct using DXGI to create the texture buffer?

It's doing the same thing. At least it's supposed to, except that it's the driver doing it for you behind the scenes with WGL. And there is/was the catch that the Nvidia driver is doing something wrong, which results in stability issues when trying to do it via WGL. Which is why the explicit invocation of the interop on the application side is preferred.
In both cases, you absolutely must use the SDR white level query to correctly map SDR / sRGB content to the scRGB buffer. That is never plug&play.

Yeah, presumably it's the drivers doing the magic under the hood, not the desktop manager .
According to https://github.com/IrisShaders/Iris/issues/2282 this preceded the official introduction of DXGI presentation (in fact, that was probably just exposing an internal knob they had already built exactly for this HDR scenario).
But it's a bit of a mystery just how far back in time that's supported (or, say, if Intel gpus would work without the explicit interop).

Any progress on this?


Failing to load the .dll

I have followed the instructions in the readme.md, but the only available target is win32.  Building this solution and pointing logic to the directory where the .dll is generated fails to load with the following error:

Saleae Logic 1.2.29 Beta
Win 10 64 bit
Visual Studio 2017 Professional
cmake version 3.17.0
commit 445a62f958b3247cae0a50d0faaea2c71630c77a

I have found the solution.  The problem is that the logic software was expecting an x64 .dll, but the instructions on the readme default to win32.  To have cmake configure the VS solution correctly, you need to indicate the x64 architecture.  I also show how to specify the desired VS version in the command line:
mkdir build
cd build
cmake -G "Visual Studio 15 2017" -A x64 ..


⚠ Bofrost.be has degraded performance

In d37dcbb, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 832 ms

Resolved: Bofrost.be performance has improved in d53f9b3.


Pass KO_FLAGS variable when executing ko resolve in test scripts

Describe the bug
We use those scripts for the release, so we need to use such flags.
Expected behavior
Use KO_FLAGS when executing ko resolve in test scripts
Knative release version
<= devel

/assign


How can I get the result in the Activity where I scan the qrCode?

The sample shows that we could get the result via method onActivityResult() in MainActivity, but I want get the result directly, how can I do that? Thanks ^^

@Immortelle0411
Your problem seems like #147
Hope this will work for you.


Js initialization in OnAfterRender stopped working with 0.7.0

After I upgraded to Blazor 0.7.0 I noticed that initialization scripts of 3rd party JavaScript libraries which I usually call in OnAfterRender stopped working.
E.g. I use select2 (https://github.com/select2/select2) to apply a custom style for my select fields. But it seems like something has changed with Blazor 0.7.0, because the following code (which used to work in 0.6.0) dosn't work anymore:
protected override void OnAfterRender()
{
  base.OnAfterRender();
  JsInterop.InitializeSelect2();
}

My JavaScript function:
window.JsFunctions = {
  initializeSelect2: function() {
    $('select').select2();
  }
}

The control style will get applied when I call StateHasChanged() after JsInterop.InitializeSelect2(), but this will end up in an endless loop. Is there a better place to call InitializeSelect2() than OnAfterRender?
Edit:
I found the following statement about lifecycle methods in the official documentation:

OnAfterRenderAsync and OnAfterRender are called each time after a component has finished rendering. Element and component references are populated at this point. Use this stage to perform additional initialization steps using the rendered content, such as activating third-party JavaScript libraries that operate on the rendered DOM elements.

After doing a bit of research I can say that the corresponding field is not accessible in OnAfterRender.

I am not sure this will be workaround for this case, but you can try.
Please follow timer2 in code
Idea here is to delay some method call.
In my case I used this trick because calling my method inside OnAfterRender was doing nothing, but from timer callback it is working as expected.
Hope it helps.

Closing this as this is definitely working now. Please check out a recent release and if you would experience the same issue feel free to file a new issue.


Ocean status options

Closes #172
The user's ocean status table sort-order is based the experiment's settings.
A few questions/issues:

Some text goes onto a new line but shrinking the 'Bot behaviour' column squishes the text, so is two lines acceptable or does that entire row need a re-work?
I noticed the admin side doesn't have localization strings, is that something we want to do? (should probably be a separate issue)
I'm unsure what behaviour we want for the radio buttons once the session is active. Should they still be changeable like other fields or disabled?

Thanks James! First, an answer to your questions, and then comments on the commit:

I like the idea of keeping the new radio buttons where they are—they are an information display parameter. Maybe with a bit of copy editing it would look better; see below.
We've never asked to do localization for the researcher side. I've just added #187 in any case to keep track of that.
Disabled, but I've just noticed other stuff that should be disabled as well is not. #186.

As for the pull request itself, great work! A couple of suggestions:

Ocean Status Table Order -> Status Table Behaviour?
Break into two dropdown boxes: Static/Dynamic, and then dynamically change the contents of the second (for example, if Static: Current user on top / Current user on middle, etc.)
Perhaps bring the Status Table header to a regular font format style?

I should've realized before that the list of options on its own is kind of cluttered--sorry.

I updated this branch with master and implemented the changes you suggested as far as I understood them.
There's a dropdown to select between static and dynamic that reveals the proper options.
I had initially set the header to an h3 tag since I felt it was a sub-category of the "Information Display" section, but the h4 looks really nice too. I assume that's what you meant by the 3rd bullet point?
Screenshot of changes:

Thanks--I'll take a look tomorrow.

Nice work, thanks!


How large is the signal range?

I cannot find a proper antenna or any matching circuit in the schematics and/or picture at all so was wondering how good the range on these devices will be (both the C3 and the C3T)?

While this hasn't been answered in a year, I still would like to add to the question. I have seen others using ESP-NOW that enable long range mode with esp_wifi_set_protocol(WIFI_IF_STA , WIFI_PROTOCOL_LR) but you do not use this in your example code. have you tried it and rejected it or not tried it? Is it perhaps more power consuming?


Fix script tags returning null on render

Hello
Script tags were skipped on the enzyme render() method as their type is script and not tag.
Fixes #133

I'm not sure what's wrong with travis, I don't think that's related to my PR

@adrienWeiss Yeah it's not

Thank you for mergin this PR @VincentLanglet
Just to know how to prepare my project right now, do you plan on releasing a new version soon ?
cheers

@adrienWeiss I can do it in the week if I don't forget

Sorry I forgot, It's done now


unsigned extensions are disabled in firefox 41+ (canary)

This presents a problem for our Docker testing. Hopefully just a command-line flag needed.
Screenshot attached.

More info:
https://wiki.mozilla.org/Addons/Extension_Signing

Moving this to beta since we have no advance warning for Firefox 41 which will soon become stable.

Sometimes you get lucky. Turns out jpm does "the signing thing" and that converting to jpm is pretty easy. I almost have pull requests for uproxy-lib and uproxy-docker ready.


Can't save/serialize any models except GPT2

I am trying to save the Neuron model and deploy it to SageMaker as an endpoint. I noticed in the documentation, under serialization support, it is stated that all models can be loaded or saved except GPTJ and GPTNeoX model classes.
However, I tried several models, including Llama2-13b, OPT-30B, OPT-66B, and Llama2-70B, and none of these models can be saved using several methods.

I tried <neuron_model>.save, which doesn't exist. It only appears to exist for GPT2 models.
I tried <neuron_model>.state_dict(), which fails on all LazyModules.
I tried torch.save or via torchscript using  torch.jit.save and then trying to use the state_dict().

Below is an example using OPT-66B.

Traceback (most recent call last):                                                                                File "opt.py", line 63, in  print(f"\ndecoder: {neuron_model.chkpt_model.model.decoder.state_dict()}")                                                                                File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1448, in state_dict                                                                                module.state_dict(destination=destination, prefix=prefix + name + '.', keep_vars=keep_vars)                                                                                File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1448, in state_dict                                                                                module.state_dict(destination=destination, prefix=prefix + name + '.', keep_vars=keep_vars)                                                                                File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1448, in state_dict                                                                                module.state_dict(destination=destination, prefix=prefix + name + '.', keep_vars=keep_vars)                                                                                File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1445, in state_dict                                                                                self._save_to_state_dict(destination, prefix, keep_vars)                                                                                File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1356, in _save_to_state_dict                                                                                destination[prefix + name] = param if keep_vars else param.detach()                                                                                File "/home/ubuntu/aws_neuron_venv_pytorch/lib/python3.8/site-packages/torch/nn/parameter.py", line 144, in torch_function raise ValueError(                                                                                ValueError: Attempted to use an uninitialized parameter in <method 'detach' of 'torch._C._TensorBase' objects>. This error happens when you are using a LazyModule or explicitly manipulating torch.nn.parameter.UninitializedParameter objects. When using LazyModules Call forward with a dummy batch to initialize the parameters before calling torch functions

Is there anything that can be done to fix this? I've tried the last five versions of transformers-neuronx see here. Please advise. Thanks!

Thank you, we are taking a look and will get back to you shortly.

Hi @awskila,
Can you share some test code?  I ran some test code using the current (2.15) production wheels and I was not able to reproduce your problem.

Hi @awskila Llama2-13B sample is made available with 2.16. Can you please try to see if that works or a specific code snippet to reproduce will help move this issue forward. Thanks!
https://github.com/aws-neuron/aws-neuron-samples/blob/master/torch-neuronx/transformers-neuronx/inference/meta-llama-2-13b-sampling.ipynb

Closing the ticket. Please re-open if the issue persists


Is the output only grayscale?

i found that the program only generate grayscale images.

+1 @Ikc3093
The output of synthesis.m is in grayscale. @vamsi3  please review this.


Test/preview test

Docs Build status updates of commit e9dd88c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryInformationNotFound] Cannot find repository information for d5daabd9-692c-390f-9ec4-c516193c91fc. Please make sure the repository is correctly provisioned. If it is not this case, please open a ticket on https://aka.ms/SiteHelp.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Where I can download .nes file and get the binary address that I want to develop an new nes game env

Where I can download .nes file and get the binary address that I want to develop an new nes game env,please tell me thanks a lot

you'll have to find .nes files on your own. the guide for creating environments is here.


chore: Remove /api prefix from api

Description

Removes the /api prefix for all routes
moves extra routes out of app.ts

Is this on latest staging commit? Looks like carbonmark is failing from the api change, but I thought we fixed the version to v1.1...


DepthwiseConv3D

Hi,
There is still not DepthwiseConv3D in Keras. When are we going to be able to reach the DepthwiseConv3D?

Yeap :) I dont know how you gonna do . But it's okey

@SerdarHelli,
In Keras, you can do depthwise separable convolution (i.e. what a DepthwiseConv3D layer would do, if implemented), by using the Conv3D layer with groups=filters, where filters is the number of channels in your input tensor (which equals the number of channels in your output tensor, too). The only thing that's slightly annoying is that you need to know your number of input channels when you create the layer, rather than when the model is built.
To achieve SeparableConv3D, you then just have to put a pointwise convolution layer after this depthwise separable convolution, for example Conv3D with a kernel size of (1, 1, 1) (though it might be more performant to wrap a Conv2D layer with kernel size (1, 1) in a TimeDistributed layer; both approaches do exactly the same thing).
In pure tensorflow can do depthwise separable convolution with tf.nn.convolution. Just pass a kernel that has 1 for the input channel dimension size. This is what Conv3D with groups=filters does under the hood.
Also please take a look at this link for the reference. Thank you!

@tilakrayal
Thanks :D . But after one year, I got your response so I forgot my issue .


Should show move cursor at unanchored (unlocked) StoryItems

Version: 0.5.4
Should show move cursor at unanchored (unlocked) StoryItems
Probably in both edit and non-edit mode
should consider what to do when the item also has ActionURL

Cursor set to crDrag when item is unanchored (URLAction has priority though, setting crHand cursor). Else cursor is set to crDefault


Added Google clone with dark, light mode and search functionality

Title and Issue number
Google clone #768
Close #768

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented on my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy-to-understand README.md

@pranjay-poddar please merge my pr


⚠ Nextcloud has degraded performance

In 54e2473, Nextcloud ($SERVER_BASE/nextcloud/) experienced degraded performance:

HTTP code: 200
Response time: 13587 ms

Resolved: Nextcloud performance has improved in 66f1e7f after 34 minutes.


source:convert  source:push sfdx source command "Path" variable not a string :: Misleading error message

Summary
_If we miss out a static resource file and have resource meta xml then we get this error  _.
Steps To Reproduce:

check for any meta-xml references and delete the actual file and continue to have resource meta xml.
try source:convert or source:push or any command you will land in error "Path" variable not a string

Expected result
Probably a a better error message is expected.

@krishnas2  can you run with --debug and provide us with the output?

@clairebianchi here is how this issue can be reproduced.

cloned a sample repo and added a simple randomimage as static resource and able to source:convert

Now,  if i remove the actual file and continue to have meta-xml file. i hit the path error .

Didn't understand what you meant by run with --debug .tried these

This got fixed as part of the new source plugin.  There error now says,
ERROR running force:source:convert:  /Users/shane.mclaughlin/eng/repros/171/force-app/main/default/staticresources/sample_data_brokers.resource-meta.xml: Expected source files for type 'StaticResource'

so you can see which static resource you're missing files for.


Fix #747, Update CFE_SB_TimeStampMsg to save the message pointer argument

… UT_Stub_CopyFromLocal so that unit tests can check it
Describe the contribution
A clear and concise description of what the contribution is.
Fixes #747
Testing performed
Wrote test that failed when using original version of SB stub CFE_SB_TimeStampMsg.
[ FAIL] 01.001 cf_app_tests.c:90 - CFE_SB_TimeStampMsg received 0xc8230eadc0 and should be 0x61b180
Changed to have stub UT_Stub_CopyFromLocal passed in argument.
[ PASS] 01.001 cf_app_tests.c:90 - CFE_SB_TimeStampMsg received 0x61b180 and should be 0x61b180
Expected behavior changes
Passed in argument value is now available to a test that uses UT_SetDataBuffer for CFE_SB_TimeStampMsg.
System(s) tested on

Hardware: PC
OS: RHEL7 3.10.0-1062.1.2.el7.x86_64
Versions: cFE 6.7

Additional context
None.
Third party code
None.
Contributor Info - All information REQUIRED for consideration of pull request
Alan Gibson, GSFC-0587

CCB-20200624: Approved


Allow defining custom crossreference types

Currently we support a number of standard cross-reference types like figure, eq, doc, etc. However there may be cases where people which to define their own internal cross reference types. This would allow them to group these references and treat subsets of them differently.
For example, consider an organization's documentation. You may want to define a collection of teams and roles. To reference these, you could use a generic term like {term}`My team`, but it would be more semantic and structured if you could instead do {team}`My team` and {role}`My role`  (I know the "new style" markdown syntax would be different but you get the idea.
You could then use these labels for things like type-specific glossaries, e.g. the following could list a glossary of all team entries.
```{glossary}
:type: team
```

Design idea
Could we reserve a special syntax for the "label anything" syntax? E.g.:
A normal label:
(foo)=
## My header

A label that attaches to a group:
(groupname::foo)=
## My header

Interesting, I think I am mostly following. Currently we have implemented the link syntax which allows you to target/reference any node. That is described in this PR.
As a silly example:
(my-paragraph)=
This is a paragraph that will recursively show a link to [](#my-paragraph)

If you can label anything, the additions that I see coming from this are the ability to count (e.g. "Team 1") or refer to these in a glossary (which doesn't yet exist in mystjs!). Am I missing other benefits?
From a task perspective, I need to (re-)familiarize myself with how sphinx does terms/glossaries, probably implement that and then come back to thinking how to extend to new roles/terms as you describe?!

It's a good point that if you can label anything, you could always just come up with your own labeling structure to hint at collections. E.g., (team:teamname)= and then [](#team:team-name). Maybe that's enough to de-prioritize this as a feature unless we can come up with other reasons that somebody would want to be able to quickly generate lists of the labels that fall under a particular group.
Also a meta note: don't treat these issues as a suggestion that we must prioritize them over everything else, I'm just opening up the ideas for discussion to see if they resonate with others!


--downl-play playing local videos

Is --downl-play even supposed to play local videos? If so I can't really get it to work.
If it isn't can this functionality even be achieved? Seems a bit counterintuitive to download a video then have it still play in streaming mode.
For actually playing the video I use mpv.

I'm not able to test this functionality right now, but it should work in combination with the -d flag.
Basically, when -d and --downl-play options are both specified, youtube-viewer will download a selected video locally, then will play it with the selected video player.

I've tried that already and it seems to not work (I checked the network traffic and also the mpv title doesn't show a local file). I did -d --downl-play (and it downloads the video) but it doesn't actuall play the local file.

Thanks. There was indeed a bug in the --downl-play option, which should be fixed now.


fix: broken fast refresh [future friday]

Description
This PR comes in to bring back some changes we made here https://github.com/artsy/eigen/pull/8697 and here https://github.com/artsy/eigen/pull/8761 . We had the impression that our changes broke the queries but I believe that 's only because we were manually trying to create an environment that doesn't exist by users.
I tested the following flow:

Running app with query map available
Running app without query map available
Running app with missing queries on the query map

In case we are missing a query in the query map in MP, we do retry the query again as part of catch statement.

PR Checklist

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

To the reviewers 👀

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

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

fix: broken fast refresh - mounir

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

This PR contains the following changes:

Dev changes (fix: broken fast refresh - mounir)

  Generated by :no_entry_sign: dangerJS against 6e04c7caeea7fab00ee37868bf52c2ac5eee70f4


Cannot subclass nn.Module

It looks like I am getting an error when I pass in a model that is a subsclass of nn.Module.
I am using the following model:
class FeedForward(nn.Module):
    def __init__(self, in_dim, hiddens, out_dim, dropout=0.0):
        super(FeedForward, self).__init__()
        dims = [in_dim] + hiddens + [out_dim]
        layers = []
        for i in range(len(hiddens)):
            start = dims[i]
            end = dims[i+1]
            p = dropout if i < len(dims) - 2 else 0.0
            layer = nn.Linear(start, end)
            if p != 0:
                layers.append(nn.Sequential(layer, nn.ReLU(), nn.Dropout(p=p)))
            else:
                layers.append(nn.Sequential(layer, nn.ReLU()))
        layers.append(nn.Linear(hiddens[-1], out_dim))
        self.layers = nn.Sequential(*layers)

Then I train it:
model = FeedForward(1, [100, 100], 1, dropout=0.0)
lr = 1e-3
optim = torch.optim.Adam([{'params': model.parameters(), 'weight_decay': 1e-4}],
                         lr=lr)
...

Then I get the following error:
la = Laplace(model, 'regression')
la.fit(train_dl)

Truncated Traceback (Use C-c C-$ to view full TB):
/anaconda3/envs/pytorch_hunter/lib/python3.9/site-packages/backpack/extensions/backprop_extension.py in __get_module_extension(self, module)
     97             if self._fail_mode is FAIL_ERROR:
     98                 # PyTorch converts this Error into a RuntimeError for torch<1.7.0
---> 99                 raise NotImplementedError(
    100                     f"Extension saving to {self.savefield} "
    101                     "does not have an extension for "

NotImplementedError: Extension saving to kflr does not have an extension for Module <class 'funcprior.models.FeedForward'>

The problem is unfortunately with the BackPack backend that unfortunately does not deal well with non-sequential models (see their docs). However, from your code it seems like you could just make it sequential by doing something like this:
def create_sequential_model(in_dim, hiddens, out_dim, dropout=0.0):
    # your code that creates the `layers` list
    return nn.Sequential(*layers)

I am not entirely sure but it might also be necessary for BackPack to split up the Sequential submodules so that instead of
layers.append(nn.Sequential(layer, nn.ReLU(), nn.Dropout(p=p)))

you just further extend the list:
layers.extend([layer, nn.ReLU(), nn.Dropout(p=p)])

Please let me know if this helps/works. In the future, we will have regression support also with asdl which natively supports more flexible architectures. But currently only BackPack can handle regression.

This makes sense, thanks! I'd love to test these ideas out on more flexible architectures so having asdl support would be great. In the meantime though, I can adapt to using Sequential.


Problem with contains()

See screenshot:

I know the code works. I tested it.
And the syntax is documented here: https://docs.github.com/en/actions/learn-github-actions/expressions#example-using-an-array

Sorry. My bad! I misread the error.

Actually, I think it is a "bug". When we change from
${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'automated-block-deploy') }}

to
github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'automated-block-deploy')

the linting error went away.


Fix gulp ios / android

Could you tell me the latest version with a working ios / android -setup? That comment might be useful to tag. The last release (0.2) is quite old and I'm trying to find some baseline to get a project going.

It should work now at least for iIOS. Not sure about Android.

Works now, thanks!


Is there some event or flag, that cell editing has started

Hello
I need to know when some cell is being edited eg. by double click.
Thx for any advice
Jiri

no.
but the cell editors are created when editing starts. you could create your own editor. OR you could extend one of the built in editors and just add a little to the init() method (the init method gets called when it starts).
eg:
import {TextCellEditor} from 'ag-grid';

class MyEditor extends TextCellEditor {
  public init(params) {
    super.init(params);
    console.log('editing started');
  }
}

example is in TypeScript, if using JavaScript, the do similar with prototypes (i don't use JavaScript, so you will have to figure that one out yourself!!)


Comment __QA_SLATE_MAP

Goal
Add comments to temporary QA code that maps slates to duplicates of those slates, and serves those only to a QA user. Followup from https://github.com/Pocket/recommendation-api/pull/317.
Reference
Slack thread:

https://pocket.slack.com/archives/C03QVL4SU/p1627577387342600?thread_ts=1627576490.339900&cid=C03QVL4SU

@mmiermans are we holding merge on this for something or should we move forward on merge?

This was cherry-picked in https://github.com/Pocket/recommendation-api/pull/326


Asyncio event loop

Python 3 should be able to use asyncio as the default event loop.

It uses tornado, which uses asyncio


Allow custom labels

I was thinking about this custom labels definition. For example on DigitalOcean we have node pool name in nodes label as:

Now, this can be used as node pool in dashboard directly.
Is there any way todo this ?
Thx, great work!!

I like the idea. I'll look into it :-).

Apparently (https://github.com/kubernetes/kops/issues/5767), right now kops (or kubernetes itself) does not allow custom node names. My current workflow with grafana dashboard now looks like this: I run kubectl get nodes -l kops.k8s.io/instancegroup=spot-nodes, and then manually limit results to given nodes, one at a time. As you can imagine, it gets painful rather fast  (╯°□°）╯︵ ┻━┻
Is there anything one could do to help make this a reality?

This feature is still at the top of my todo list for this project, but unfortunately I haven't had enough time to work on it yet. Pull requests for this however are welcome.
Other than that I am still eager to implement this on my own as well - my usecases would benefit by this feature as well :).

Could you please briefly describe how one would go about implementing this?

What I finally came up with is this:

This would make it much more useful on AWS EKS as well. Node names do not include any useful information.

Any updates?


fix(Breadcrumb): show extra separator

Types of changes

[ ] New feature
[x] Bug fix
[ ] Enhancement
[ ] Documentation change
[ ] Coding style change
[ ] Component style change
[ ] Refactoring
[ ] Test cases
[ ] Continuous integration
[ ] Typescript definition change
[ ] Breaking change
[ ] Others

Background and context
#2126

When Breadcrumb's first Item is conditionally rendered, the unmet condition also shows an additional separator

Breadcrumb 第一个 Item 采用条件渲染时，未满足条件也展示了额外的分隔符

Solution
Filter the children attribute of the Breadcrumb component to avoid redundant rendering of separators
对Breadcrumb组件的children属性进行过滤，避免分隔符的多余渲染

How is the change tested?

Changelog

Component
Changelog(CN)
Changelog(EN)
Related issues

Breadcrumb
对Breadcrumb组件的children属性进行过滤，避免分隔符的多余渲染
Filter the children attribute of the Breadcrumb component to avoid redundant rendering of separators
#2126

Checklist:

[x] Test suite passes (npm run test)
[x] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[x] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others should be submitted to main branch)

Other information

https://github.com/arco-design/arco-design/pull/2477


Dyalect

https://github.com/vorov2/dyalect

Virustotal 1/60 on the latest portable, 1 could be false positive.


Silex Webprofiler

https://github.com/silexphp/Silex-WebProfiler
Allow to use the wonderful Symfony web debug toolbar and the Symfony profiler

Closing for now, not enough time


CLICKHOUSE-3547 streaming histogram aggregation

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Simple test for performance and precision:
SELECT arrayJoin(histogram(10)(number)) AS res, res.3 / (res.2 - res.1) AS density, bar(density * 1000, 0, 1000, 80) AS bar FROM numbers(1000000000)

it's about 8.5 million rows/sec per single core.
The bottleneck is compress function and, consequently, priority_queue.

SELECT
    CounterID,
    count(),
    histogramIf(10)(SendTiming, SendTiming != -1)
FROM hits_1000m_single
GROUP BY CounterID
ORDER BY count() DESC
LIMIT 20

Looks like the results are wrong:
232261 │ 12148031 │ [(0,2.2250738585072014e-308,12148031)]

The values doesn't look real on this query:
┌─CounterID─┬──count()─┬─quantilesTimingIf(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1)(SendTiming, greater(SendTiming, 0))─┬─histogramIf(10)(SendTiming, greater(SendTiming, 0))──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    114208 │ 56057344 │ [1,78,112,149,193,248,322,433,621,1072,30000]                                                            │ [(1,20215729.61420258,14308657.75),(20215729.61420258,52954898.79166667,2044103.125),(52954898.79166667,82019633.16666667,3.875),(82019633.16666667,111713231.25,1.375),(111713231.25,150951663.75,1.75),(150951663.75,239427425,1.125),(239427425,326503053,1),(326503053,472743336.5,1),(472743336.5,2076058731.5,1),(2076058731.5,2227775,1)]

TODO: allocate all state inplace, get rid of WeightedValue * pointer.
Look for uniqUpTo aggregate function as an example.

The type of parameter is not checked:
SELECT CounterID, count(), histogramIf(-1)(SendTiming, SendTiming > 0) FROM hits_1000m_single GROUP BY CounterID ORDER BY count() DESC LIMIT 20

Memory limit (for query) exceeded: would use 128.02 GiB

As we preallocate memory for maximum size of histogram, better to limit its size by 256 (or maybe 1000).

Incorrect error message:
:) SELECT histogram(0.5)(1)

SELECT histogram(0.5)(1)

Received exception from server (version 1.1.54388):
Code: 36. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Bin count should be positive.

This should throw an exception:
SELECT histogram(1.5)(1)

SELECT topK(0.2)(number) FROM (SELECT * FROM system.numbers LIMIT 50)
Received exception from server (version 1.1.54387):
Code: 69. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Parameter 0 is illegal for aggregate function topK.
¯_(ツ)_/¯

Ok, I've fixed limits. But I don't understand what do you expect to see in histogram for one value?

I am confused, how to use it for following scenerio
I have table of route name and response time as duration.  I want to see the histogram of response time with maximum duration of 5 second with 10 buckets.
is this possible?
histogram(5, 10)(duration)

histogramIf(10)(duration, duration <= 5)

Here we apply -If combinator.
Read more: https://clickhouse.yandex/docs/en/query_language/agg_functions/combinators/

@alexey-milovidov Awesome. That make sense.
Let's say If don't use the -If combinator, then how the behaviour will be
histogram(10)(duration)

Here I can understand that 10 ranges will come, but what is the ceiling limit?

Histogram will span between actual minimum and maximum of data value.

@alexey-milovidov Great. Thanks

Hi,
is it possible to histogram return fixed size ranges within the number of buckets specified for example 0-5,5-10,10-15,... that would be very helpful
Thanks

@alexey-milovidov We have the following table
count  UInt64
avg      Float32

We could like something like
select sum(count), histogramIf(40)(avg, avg <= 200) from summingtable

Is this possible?


Don't automatically save generated file to clipboard

This pull request makes two three changes:

Don't copy security.txt files to the clipboard, instead output them to a visible read-only textbox with a button that allows copying to the clipboard
Once the form is submitted, scroll that textbox into view
Make all the tabs consistent (four, not two, since I think it was originally four - spaces)

I looked at the level of support for scrollIntoView. Most browsers support it when the first argument is a Boolean. However, I'm passing an object so that the scrolling is smooth. I think it is very likely (but am not certain) that these older browsers will still scroll the element into view, even if they don't scroll smoothly.
I haven't added anything to handle browsers which don't support scrollIntoView. Should I? (I'd be happy to do so) https://github.com/securitytxt/securitytxt.org/pull/28/commits/8eb8d28579e0961285989773c0d20275738ce85f will use the hash component of URLs to scroll to the relevant location as a fallback.

Alright, I've added changes in https://github.com/securitytxt/securitytxt.org/pull/28/commits/8eb8d28579e0961285989773c0d20275738ce85f which should keep the website compatible with very old browsers.

Thank you, @joker314.


How do I get prerelease packages?

Tried to use paket update --pre to get FSharp.Data 2.1.0-beta, but still stayed at 2.0.15

I think it would be good to have --prerelease flag in update command. As far as I know there isn't any/

Please define this in the dependencies file. We have a gazillion options for that

Okay...
It's just checking cli help is the first thing I usually do when I don't know how do something instead of reading docs (I didn't know about prerelease keyword in dependencies).

The problem with doing it in cli is that this is not reflected in the dependencies file. And then next time you have to do it again.
Think about the deps file as source code.

Okay, it makes sense now to omit this in cli.


MudTable does not scroll if height set to a percentage, and overflows container.

Bug type
Component
Component name
MudTable
What happened?
Usually I page tables, but for smaller data sets, scrolling is easier. However, users change browser sizes, so the height of the table has to be dynamic (either in the table itself or an enclosing div). Setting the table "Height" value or a "style/Style" with height as a percentage results in the table overflowing it's bounds, and not scrolling (the entire div may or may scroll, but FixedHeader becomes in effective.)
The doc and example state that a height is needed for FixedHeader and scrolling, but it did not make it clear that this only works with a fixed (px) Height. If that is by design it renders the scrolling feature to be nearly useless. :(
Expected behavior
Table should accept height as a percentage and it should not overflow it's container.
Reproduction link
https://try.mudblazor.com/snippet/wEGHkPaCdTJeRUTt
Reproduction steps

Specify the Height parameter as a percentage.

<PackageReference Include="MudBlazor" Version="6.1.6" />
<MudTable Items="_items" Height="100%" Breakpoint="Breakpoint.Sm" Virtualize="true" FixedHeader="true">
    <HeaderContent>
        <MudTh>Column1</MudTh>
        <MudTh>Column2</MudTh>
        <MudTh>Column3</MudTh>
        <MudTh>Column4</MudTh>
        <MudTh>Column5</MudTh>
    </HeaderContent>
    <RowTemplate>
        <MudTd<EMAIL_ADDRESS>        <MudTd<EMAIL_ADDRESS>        <MudTd<EMAIL_ADDRESS>        <MudTd<EMAIL_ADDRESS>        <MudTd<EMAIL_ADDRESS>    </RowTemplate>
</MudTable>
</div>

Relevant log output
No response
Version (bug)
6.1.6
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[x] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I would like to do a PR, but I don't know that I have the skill to do so. If someone wishes to point me to what to change, I'll give it a shot.

Don't know if it may help your situation but we have discovered a workaround using css class overrides, shown here:
https://try.mudblazor.com/snippet/mawxkPvQpAeUXLbz

Don't know if it may help your situation but we have discovered a workaround using css class overrides, shown here: https://try.mudblazor.com/snippet/mawxkPvQpAeUXLbz

Thank you! I thought I could probably work around it by manipulating the css, but having the exact selectors and steps will save me a great deal of work! (I am not a CSS guy by any stretch.)
I do think this is still a bug in the component, but this is an excellent work-around.

Yeah, the difficulty is we have to “guess” or parametrize what else is on the screen. She have several tables in reusable components.
Message ID: @.***>
We have used 100vh - (pixels of all the other stuff)

I think it is the same issue as this: https://github.com/MudBlazor/MudBlazor/issues/1553
I never found a good solution, but with some css/style trickery it can be forced to work...


[10.x] Add typehints to app and resolve helpers for better resolution from container

This PR adds typehints for app and resolve helpers.
Before
$repository = resolve(MyRepository::class); // returns mixed

After
$repository = resolve(MyRepository::class); // returns MyRepository|mixed

Please see previous attempts.


Proposal: Developing Kaia Zombie Hunter Game to redefine gaming on Kaia Chain

Description

Title: Kaia Zombie Hunter Game
Type: Blockchain-integrated action game
Blockchain: Kaia Chain
Currency: $KLAY for in-game purchases
Wallet Support: MetaMask integration
Core Features: Zombie hunting, skill upgrades, NFT utilization
Purpose: Deliver an immersive gaming experience on Kaia Chain

Bounty track

NFT, GameFi, Other

Play Game: https://thkien85.itch.io/zombie-hunter-game-on-kaia
Video: https://www.youtube.com/watch?v=noS_6m0w2xA
Github: https://github.com/KelvinTrinhSG/Zombie-Hunter-Game-On-Kaia-Chain
Images:

Dear @zxstim
I have submitted my build on the DoraHacks website.
Below is the link to my build.
Thanks and have a nice day.
https://dorahacks.io/buidl/20676

Approved for 1120 KAIA with a 50% penalty = 560 KAIA
Note: https://x.com/KaiaDevIntern/status/1866841240433725729

closing


kpod version

Pulled in the changes from https://github.com/kubernetes-incubator/cri-o/pull/861 and updated the version for kpod.

Let us use a different KPOD_VERSION file here.

okay, what should the version be in the KPOD_VERSION file?

I think kpod is still alpha quality. @mrunalp @rhatdan Thoughts?

We could start at 0.1

@mheon PTAL.

LGTM pending tests

Code LGTM, but Travis isn't happy.

Rebased

[retest]

Definitely alpha, we need RUN/EXEC/CREATE before we can consider this beta.

LGTM

Travis is failing on not ok 26 run ctr with image with Config.Volumes. Any reason why?

Could be a flake?  Retrying.

Passes now.

@umohnani8 Needs rebase.

Rebased

[retest]

Merging.


Layout missing when using status_tag in partial

I'm rendering a partial template on :index for each user in my User resource:
  index :as => :block do |user|
    div :for => user, :class => "user" do
      render :partial => "admin/users/block", :locals => {:user => user}
    end
  end

In the partial, I'm using the status_tag helper: status_tag(user.account.state). However, when I try to render "/admin/users", the only HTML rendered is what the status_tag helper outputs: Quizzed (not even an  tag).
When I remove any instances of status_tag in the partial, :index is rendered properly, including the template, sidebar, index :as => :block, and my partial for each User.
I also use the partial once in the show method, where I have the same problem:
  show do
    render :partial => "admin/users/block"
  end

Interesting.
I assume "admin/users/block" is an erb or haml template right?
status_tag returns an Arbre tree which must overwrite the Document root somehow.
Could you try to do status_tag('In Progress').to_html in your partial and see if this changes anything?

It's a HAML template, correct.
I've tried adding the to_html method and even wrapping that portion of the HAML in a debug and the presence of a status_tag still preempts the entire layout.


[PDI-19177] - Web Service Lookup fails in 9.1 with Connection pool shut down error

@ssamora
@smmribeiro
@moraesvc

:warning: Build finished in 32m 18s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 1 test(s) failed:
org.pentaho.di.core.HTTPProtocolTest.httpClientGetsClosed (click to expand)

Wanted but not invoked:
closeableHttpClient.close();
-> at org.pentaho.di.core.HTTPProtocolTest.httpClientGetsClosed(HTTPProtocolTest.java:92)

However, there were other interactions with this mock:
closeableHttpClient.execute(
    GET http://url/path HTTP/1.1
);
-> at org.pentaho.di.core.HTTPProtocol.get(HTTPProtocol.java:81)

Tests run: 3905, Failures: 1, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 33m 38s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine

:ok_hand: All tests passed!
Tests run: 5097, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


Not building on raspberry pi 2 (arm)

I've tried to build kubernetes on  raspberrypi 2. I copied the current source from github and did a make release. I got the following
$ make release
build/release.sh
+++ [0411 19:38:30] Verifying Prerequisites....
+++ [0411 19:38:31] Building Docker image kube-build:cross.
+++ Docker build command failed for kube-build:cross

Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM golang:1.4
 ---> 121a93c90463
Step 1 : MAINTAINER Joe Beda<EMAIL_ADDRESS> ---> Using cache
 ---> 2dc6d945cac2
Step 2 : ENV KUBE_CROSSPLATFORMS linux/386 linux/arm   darwin/amd64 darwin/386   windows/amd64 windows/386
 ---> Running in 78becbb99a4b
 ---> 0ffb8c0e394f
Removing intermediate container 78becbb99a4b
Step 3 : RUN cd /usr/src/go/src && for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${platform##*/} ./make.bash --no-clean; done
 ---> Running in 85428e3d9f57
time="2015-04-11T19:38:58+02:00" level="info" msg="exec format error"

To retry manually, run:

docker build -t kube-build:cross /root/kubernetes/_output/images/kube-build:build-b9cb2/cross

!!! Error in build/../build/common.sh:369
  'return 1' exited with status 1
Call stack:
  1: build/../build/common.sh:369 kube::build::build_image_cross(...)
  2: build/../build/common.sh:326 kube::build::build_image(...)
  3: build/release.sh:31 main(...)
Exiting with status 1
make: *** [release] Error 1

Obviously this isn't critical as I was only trying to build it on a toy system, but I have eight of these raspberrypi 2's and would like to, if possible, have a working kubernetes system running on arm.

If you just run 'make' does it complete?  The error is "exec format error"
suggesting we don't have a build for the platform or something similar
On Sat, Apr 11, 2015 at 10:45 AM, ajazam<EMAIL_ADDRESS>wrote:

I've tried to build kubernetes on raspberrypi 2. I copied the current
source from github and did a make release. I got the following
$ make release
build/release.sh
+++ [0411 19:38:30] Verifying Prerequisites....
+++ [0411 19:38:31] Building Docker image kube-build:cross.
+++ Docker build command failed for kube-build:cross
Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM golang:1.4
---> 121a93c90463
Step 1 : MAINTAINER Joe Beda<EMAIL_ADDRESS>---> Using cache
---> 2dc6d945cac2
Step 2 : ENV KUBE_CROSSPLATFORMS linux/386 linux/arm   darwin/amd64 darwin/386   windows/amd64 windows/386
---> Running in 78becbb99a4b
---> 0ffb8c0e394f
Removing intermediate container 78becbb99a4b
Step 3 : RUN cd /usr/src/go/src && for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/} GOARCH=${platform##/} ./make.bash --no-clean; done
---> Running in 85428e3d9f57time="2015-04-11T19:38:58+02:00" level="info" msg="exec format error"
To retry manually, run:
docker build -t kube-build:cross /root/kubernetes/_output/images/kube-build:build-b9cb2/cross
!!! Error in build/../build/common.sh:369
'return 1' exited with status 1
Call stack:
1: build/../build/common.sh:369 kube::build::build_image_cross(...)
2: build/../build/common.sh:326 kube::build::build_image(...)
3: build/release.sh:31 main(...)
Exiting with status 1
make: *** [release] Error 1
Obviously this isn't critical as I was only trying to build it on a toy
system, but I have eight of these raspberrypi 2's and would like to, if
possible, have a working kubernetes system running on arm.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6730.

On the first attempt running make crashed the raspberrypi. It stopped responding to pings. On the second attempt I got
$ make
hack/build-go.sh
+++ [0412 21:23:43] Building go targets for linux/arm:
cmd/kube-proxy
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kubelet
cmd/hyperkube
cmd/kubernetes
plugin/cmd/kube-scheduler
cmd/kubectl
cmd/e2e
cmd/integration
cmd/gendocs
cmd/genman
examples/k8petstore/web-server
github.com/GoogleCloudPlatform/kubernetes/cmd/kubelet
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
github.com/GoogleCloudPlatform/kubernetes/cmd/kubernetes
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
github.com/GoogleCloudPlatform/kubernetes/cmd/hyperkube
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
github.com/GoogleCloudPlatform/kubernetes/cmd/e2e
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
!!! Error in /root/kubernetes/hack/lib/golang.sh:316
'go install "${goflags[@]:+${goflags[@]}}" -ldflags "${version_ldflags}" "${nonstatics[@]:+${nonstatics[@]}}"' exited with status 2
Call stack:
1: /root/kubernetes/hack/lib/golang.sh:316 kube::golang::build_binaries_for_platform(...)
2: /root/kubernetes/hack/lib/golang.sh:441 kube::golang::build_binaries(...)
3: hack/build-go.sh:26 main(...)
Exiting with status 1
!!! Error in /root/kubernetes/hack/lib/golang.sh:359
'kube::golang::build_binaries "$@"' exited with status 1
Call stack:
1: /root/kubernetes/hack/lib/golang.sh:359 kube::golang::build_binaries(...)
2: hack/build-go.sh:26 main(...)
Exiting with status 1
make: *** [all] Error 1
Current free memory is 749MB

It sounds like Go itself is failing.  Not sure what to do about that.
On Sun, Apr 12, 2015 at 12:35 PM, ajazam<EMAIL_ADDRESS>wrote:

On the first attempt running make crashed the raspberrypi. It stopped
responding to pings. On the second attempt I got
$ make
hack/build-go.sh
+++ [0412 21:23:43] Building go targets for linux/arm:
cmd/kube-proxy
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kubelet
cmd/hyperkube
cmd/kubernetes
plugin/cmd/kube-scheduler
cmd/kubectl
cmd/e2e
cmd/integration
cmd/gendocs
cmd/genman
examples/k8petstore/web-server
github.com/GoogleCloudPlatform/kubernetes/cmd/kubelet
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
github.com/GoogleCloudPlatform/kubernetes/cmd/kubernetes
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
github.com/GoogleCloudPlatform/kubernetes/cmd/hyperkube
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
github.com/GoogleCloudPlatform/kubernetes/cmd/e2e
/root/go/pkg/tool/linux_arm/5l: running gcc failed: Cannot allocate memory
!!! Error in /root/kubernetes/hack/lib/golang.sh:316
'go install "${goflags[@]:+${goflags[@]}}" -ldflags "${version_ldflags}"
"${nonstatics[@]:+${nonstatics[@]}}"' exited with status 2
Call stack:
1: /root/kubernetes/hack/lib/golang.sh:316
kube::golang::build_binaries_for_platform(...)
2: /root/kubernetes/hack/lib/golang.sh:441
kube::golang::build_binaries(...)
3: hack/build-go.sh:26 main(...)
Exiting with status 1
!!! Error in /root/kubernetes/hack/lib/golang.sh:359
'kube::golang::build_binaries "$@"' exited with status 1
Call stack:
1: /root/kubernetes/hack/lib/golang.sh:359
kube::golang::build_binaries(...)
2: hack/build-go.sh:26 main(...)
Exiting with status 1
make: *** [all] Error 1
Current free memory is 749MB
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6730#issuecomment-92106722
.

Ive done following
$ taskset 3 make
hack/build-go.sh
+++ [0413 00:41:42] Building go targets for linux/arm:
cmd/kube-proxy
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kubelet
cmd/hyperkube
cmd/kubernetes
plugin/cmd/kube-scheduler
cmd/kubectl
cmd/e2e
cmd/integration
cmd/gendocs
cmd/genman
examples/k8petstore/web-server
+++ [0413 00:44:47] Placing binaries
So make works.
but make release with tasket 3 does
$ taskset 3 make release
build/release.sh
+++ [0413 00:45:57] Verifying Prerequisites....
+++ [0413 00:45:58] Building Docker image kube-build:cross.
+++ Docker build command failed for kube-build:cross
Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM golang:1.4
---> 121a93c90463
Step 1 : MAINTAINER Joe Beda<EMAIL_ADDRESS>---> Using cache
---> 2dc6d945cac2
Step 2 : ENV KUBE_CROSSPLATFORMS linux/386 linux/arm   darwin/amd64 darwin/386   windows/amd64 windows/386
---> Using cache
---> 0ffb8c0e394f
Step 3 : RUN cd /usr/src/go/src && for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/} GOARCH=${platform##/} ./make.bash --no-clean; done
---> Running in 341b7843d2d8
time="2015-04-13T00:45:59+02:00" level="info" msg="exec format error"
To retry manually, run:
docker build -t kube-build:cross /root/kubernetes/_output/images/kube-build:build-b9cb2/cross
!!! Error in build/../build/common.sh:369
'return 1' exited with status 1
Call stack:
1: build/../build/common.sh:369 kube::build::build_image_cross(...)
2: build/../build/common.sh:326 kube::build::build_image(...)
3: build/release.sh:31 main(...)
Exiting with status 1
make: *** [release] Error 1
Ive also upgraded gcc to 4.8.4 to build the go binaries.
Not sure what else todo.

Innnnnnteresting..

AFAIK none of the core team has these machines around, so this might be a while before we can get a chance to look into it...

No problem

Can't help myself ;)
I've just done a git update of my copy of kubernetes from github and
taskset 2 make
and I have no errors. So I've made progress. The most recent commit I have is eb1ea269954da2ce557f3305fa88d42e3ade7975

Well that's good... Bug closed?
On Apr 18, 2015 12:50 AM, "ajazam"<EMAIL_ADDRESS>wrote:

Can't help myself ;)
I've just done a git update of my copy of kubernetes from github and
taskset 2 make
and I have no errors. So I've made progress. The most recent commit I have
is eb1ea26
https://github.com/GoogleCloudPlatform/kubernetes/commit/eb1ea269954da2ce557f3305fa88d42e3ade7975
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6730#issuecomment-94141015
.

yes, thanks