Incorrect "T.cast is useless" error on T.bind with rescue / ensure blocks

Input
→ View on sorbet.run
# typed: strict
module M
  extend T::Sig

  sig {void}
  def good
    T.bind(self, C)
  end

  sig {void}
  def bad
    T.bind(self, C)
  rescue => e
  end

end

class C
  include M
end

Observed output
editor.rb:12: T.cast is useless because C is already a subtype of C https://srb.help/7015
    12 |    T.bind(self, C)
            ^^^^^^^^^^^^^^^
  Got C originating from:
    editor.rb:12:
    12 |    T.bind(self, C)
            ^^^^^^^^^^^^^^^
  Autocorrect: Use `-a` to autocorrect
    editor.rb:12: Replace with self
    12 |    T.bind(self, C)
            ^^^^^^^^^^^^^^^
Errors: 1

Runtime behavior: this version exercises the methods and runs with no errors.
Here's an additional sorbet.run example covering a few more cases.
Expected behavior
No errors.

This usage of T.bind is strange. What would happen if I included the module in another class?
class D
  include M
end

I think what you're looking for here is requires_ancestor:
# typed: strict
module M
  extend T::Sig
  extend T::Helpers

  requires_ancestor { C }
end

class C
  include M
end

This also have the benefit of preventing M in something that is not a C.

Thanks!  I'd agree that requires_ancestor is the better solution for this use case in general, but it is still listed as experimental.
FWIW, I don't believe this bug is specific/related to M being a module.

This is a perfectly valid use of bind, and this error should probably not reported. Not sure at a glance what the best solution is, but there are two options:

silence the useless cast error for bind (not great, as that would cause sorbet to report some errors that it likely should)
figure out why this extra cast instruction is getting into the method body:

    <self>: C = cast(<castTemp>$6: C, C); in bb4
https://sorbet.run/?arg=--print=cfg-text#%23 typed%3A strict
module M
  extend T%3A%3ASig

  %23 sig {void}
  %23 def good
  %23   T.bind(self%2C C)
  %23 end

  sig {void}
  def bad
    T.bind(self%2C C)
  rescue %3D> e
  end
end

class C
  include M
end
method ::M#bad {

bb0[rubyRegionId=0, firstDead=-1]():
    <self>: M = cast(<self>: NilClass, M);
    <magic>$7: T.class_of(<Magic>) = alias <C <Magic>>
    <exceptionValue>$3: T.untyped = <get-current-exception>
    <self>: C = cast(<castTemp>$6: NilClass, C);
    <returnMethodTemp>$2: C = <self>
    <exceptionValue>$3 -> (T.untyped ? bb3 : bb4)

# backedges
# - bb6(rubyRegionId=3)
# - bb9(rubyRegionId=0)
bb1[rubyRegionId=0, firstDead=-1]():
    <unconditional> -> bb1

# backedges
# - bb0(rubyRegionId=0)
# - bb4(rubyRegionId=1)
bb3[rubyRegionId=2, firstDead=-1](<returnMethodTemp>$2: C, <exceptionValue>$3: T.untyped, <magic>$7: T.class_of(<Magic>)):
    e: T.untyped = <exceptionValue>$3
    <cfgAlias>$10: T.class_of(StandardError) = alias <C StandardError>
    <isaCheckTemp>$11: T.untyped = e: T.untyped.is_a?(<cfgAlias>$10: T.class_of(StandardError))
    <isaCheckTemp>$11 -> (T.untyped ? bb7 : bb8)

# backedges
# - bb0(rubyRegionId=0)
bb4[rubyRegionId=1, firstDead=-1](<self>: C, <magic>$7: T.class_of(<Magic>)):
    <cfgAlias>$5: T.class_of(C) = alias <C C>
    keep_for_ide$4: T.class_of(C) = <cfgAlias>$5
    keep_for_ide$4: T.untyped = <keep-alive> keep_for_ide$4
    <castTemp>$6: C = <self>
    <self>: C = cast(<castTemp>$6: C, C);
    <returnMethodTemp>$2: C = <self>
    <exceptionValue>$3: T.untyped = <get-current-exception>
    <exceptionValue>$3 -> (T.untyped ? bb3 : bb5)

# backedges
# - bb4(rubyRegionId=1)
bb5[rubyRegionId=4, firstDead=-1](<returnMethodTemp>$2: C):
    <unconditional> -> bb6

# backedges
# - bb5(rubyRegionId=4)
# - bb7(rubyRegionId=2)
# - bb8(rubyRegionId=2)
bb6[rubyRegionId=3, firstDead=-1](<returnMethodTemp>$2: C, <gotoDeadTemp>$12: T.nilable(TrueClass)):
    <gotoDeadTemp>$12 -> (T.nilable(TrueClass) ? bb1 : bb9)

# backedges
# - bb3(rubyRegionId=2)
bb7[rubyRegionId=2, firstDead=-1](<returnMethodTemp>$2: C, <magic>$7: T.class_of(<Magic>)):
    <exceptionValue>$3: NilClass = nil
    <keepForCfgTemp>$8: Sorbet::Private::Static::Void = <magic>$7: T.class_of(<Magic>).<keep-for-cfg>(<exceptionValue>$3: NilClass)
    <unconditional> -> bb6

# backedges
# - bb3(rubyRegionId=2)
bb8[rubyRegionId=2, firstDead=-1](<returnMethodTemp>$2: C):
    <gotoDeadTemp>$12: TrueClass = true
    <unconditional> -> bb6

# backedges
# - bb6(rubyRegionId=3)
bb9[rubyRegionId=0, firstDead=1](<returnMethodTemp>$2: C):
    <finalReturn>: T.noreturn = return <returnMethodTemp>$2: C
    <unconditional> -> bb1

}

Anyways, thanks for the report. I'm not sure when I'll have time to get to this.

(whoops wrong button 😅 sorry about the accidental close)


⚠ Samsung has degraded performance

In cd5c86c, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2545 ms

Resolved: Samsung performance has improved in e8df451.


Adds third-party auth support to the app.

This is intended to be reviewed and merged after https://github.com/mitodl/unified-ecommerce/pull/96 as that has the required infrastructure support. It's not strictly required for this, though.
What are the relevant tickets?
https://github.com/mitodl/hq/issues/3166
https://github.com/mitodl/hq/issues/3158
Description (What does it do?)
This adds:

Authentication backend pieces for retrieving Keycloak user data
Test routes for Keycloak integration
Pulls in some remaining necessary libraries (fsm, reversion, oauth)

How can this be tested?
Building and running the app should work. At this point, you will absolutely need a Keycloak instance set up and a realm configured. See the README for details. (The README won't be right until the dependent PR is merged.)
There should be two new meta endpoints that you can use for testing: traefik_test_request and authed_traefik_test_request. These should be hit through Traefik and then you should be redirected through Keycloak for login, and then you should see keys and a user populate in the appropriate spots in the Django Admin.

@rhysyngsun fyi this should be ready for re-review now

An issue I've hit in trying to test is that the port assigned to traefik in this project is the same port (8080) as my local keycloak instance. So I'd need to reconfigure my local keycloak instance or temporarily hack the docker compose file. Can we expose this as a configuration variable with a default?
I'm also hitting this error on startup after modifying the settings to use port 8081:
traefik-1               | time="2024-03-25T12:40:14Z" level=info msg="Configuration loaded from flags."
traefik-1               | time="2024-03-25T12:40:14Z" level=error msg="middleware \"traefik-forward-auth@docker\" does not exist" routerName=ue@docker entryPointName=http

Should be fixed in https://github.com/mitodl/unified-ecommerce/pull/97/commits/fb7fb7da6729ec799243443a290efd29c8d43722 - you can now set TRAEFIK_ADMIN_PORT and TRAEFIK_PORT.
I didn't have any issues changing the port on my local instance - but the config did change somewhat and there are now some .env settings that need to be set for the forward auth service to start successfully. Is there anything interesting in the forward auth logs?


Have an API for introspection of daemon capabilities

As an initial use-case, this would allow docker images --help to show the user supported parameters for the --filter flag. Though this API could allow for other similar use-cases.
See some conversation on https://github.com/dotcloud/docker/pull/6162

@vbatts - is this still ongoing or outdated? I might give it a try

I have no idea if this is an ongoing effort.
On Fri, Feb 3, 2017, 07:53 krasi-georgiev<EMAIL_ADDRESS>wrote:

@vbatts https://github.com/vbatts - is this still ongoing or outdated?
I might give it a try
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docker/docker/issues/6889#issuecomment-277239850, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEF6Satk4jo-Ne_aDbq-ifONM93dcGPks5rYyMegaJpZM4CK5jT
.

@thaJeztah can you find out if it is ok to work on this ?
From what I understand we need to add all supported labels for the filter option

@krasi-georgiev #26331

@cpuguy83 isn't this different ?
@vbatts  is talking about [UX] adding all available filter the docker images --help
so the use know how to use the command
and #26331 is about getting info from inside a container at runtime.

Sorry, was on mobile when I answered this.
Indeed this would be nice.

it would be interesting to see if I can use the new swagger that generates the api for this as well
https://docs.docker.com/engine/api/v1.25/

@cpuguy83 - ok I will give it a try

Thanks!
If you could put together a proposal for the changes that way you don't spend a lot of time changing an implementation.

Given the activity level on this issue, I'm going to close it as it's either fixed, a duplicate or not a request anymore. If you think I'm mistaken, feel free to discuss it there 😉


python310Packages.watchdog: 2.1.7 -> 2.1.8

Description of changes
https://github.com/gorakhargosh/watchdog/releases/tag/v2.1.8

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

2.5 k...staging.

Result of nixpkgs-review pr 173898 run on aarch64-darwin 1

10 packages marked as broken and skipped:

chia
hydrus
paperless-ngx
python310Packages.Nikola
python310Packages.lektor
python310Packages.ndjson
python39Packages.Nikola
python39Packages.lektor
python39Packages.ndjson
streamlit

2 packages failed to build:

python310Packages.bpython
python39Packages.bpython

29 packages built:

ablog
aws-sam-cli
coconut (python39Packages.coconut)
hovercraft
markdown-pp
mkdocs (python39Packages.mkdocs)
netbox
octoprint
pympress
python310Packages.chalice
python310Packages.coconut
python310Packages.easywatch
python310Packages.mkdocs
python310Packages.mkdocs-material
python310Packages.mkdocs-minify
python310Packages.mkdocs-redirects
python310Packages.pytest-watch
python310Packages.staticjinja
python310Packages.watchdog
python39Packages.chalice
python39Packages.easywatch
python39Packages.mkdocs-material
python39Packages.mkdocs-minify
python39Packages.mkdocs-redirects
python39Packages.pytest-watch
staticjinja (python39Packages.staticjinja)
python39Packages.watchdog
skjold
topydo


Azure Sign-In goes to unreachable page in webpage

Azure Data Studio Version: master + webmode

Steps to Reproduce:

Sign-in to Azure using Account Manager

Expected: Works
Actual: Unreachable page.  We should default to devicecode auth in webmode to avoid this.

@aaomidi you'll need to port forward the local port you are using.

@anthonydresser Can I do that dynamically? I pick a random port at the moment. I could change it to something static but I guess we'd have to document that.

https://github.com/microsoft/azuredatastudio/blob/master/src/vs/vscode.proposed.d.ts#L207

Take a look at what vscode is doing for their auth. Last time I checked it works in web mode.

https://github.com/microsoft/azuredatastudio/blob/d810da9d87f3a875135f971de1fe89a1bd4dfb2a/extensions/vscode-account/src/AADHelper.ts#L314


Fix async functions that return a primitive

The current bindgen code did not exactly expect async functions to return non-complex values. This PR updates both the wasmer runtime generation and the typescript deno runtime generation code to correctly encode async functions that return a primitive value or don't return anything, as well as adds tests in the example projects for it. Fixes #178.
Notable commits:

Update wasmer runtime generation
Update wasmer host generated bindings
Update TS deno runtime generation
Update TS generated bindings

I recommend going over these. I have also included a few minor unrelated changes, like Unifying example response between wasmer and ts runtimes, which made developing easier for me, I hope that is not a problem.
One interesting choice in the examples is that the "async void" functions modify a global state (otherwise they are kind of hard to test). See here. Not sure if this is the correct direction, but simply calling the exported async function and saying that "if it doesn't crash, it's fine" didn't feel right. This way, it at least tests that the imported function is called from the plugin.

Thanks a ton! I'll take a bit to go over these, since I'm at a conference and I got a holiday coming up, but I will definitely get back to this!


[WIP] Use pyarrow csv reader for arrow code path

This is still work in progress and most likely needs https://issues.apache.org/jira/projects/ARROW/issues/ARROW-4912

Related issue number

[ ] passes flake8 modin
[ ] passes black --check modin
[ ] tests added and passing

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/609/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/610/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/611/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/612/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/615/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/633/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/634/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/635/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/636/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/637/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/639/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/640/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/641/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/644/
Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/645/
Test FAILed.


FASET Survey Form

Frontend for FASET
Static form to ask needed questions for member onboarding.
The form must:

Collect and validate a user's name (and submit as faset_name)
Collect and validate a user's email (and submit as faset_email)
Static representations of the 2 survey questions ( and submit as an array of responses [Schema TBD])

Where are we pulling question info?

Hard code it for now.
I've done a fair amount of thinking on this as well and would like further verbal discussion.

This is being converted to bootstrap

This has been completed


Module link is broken

The link to "sharepoint-pnp" leads to a "not found" page. This is the same for (as far as I can tell) all articles on PnP.

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

ID: 726aca9d-6df0-6691-bc00-f913ebee663f
Version Independent ID: 34f7d6c0-930b-c46a-f1e1-1b8719a38991
Content: Get-PnPConnection (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPConnection.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

@officedocsbot assign @yogkumgit

Hello @silmer Thanks for your feedback.
I created a Pull Request to add the required module article, it should be live in a couple of days.
Thank you!

Hello! Good news, the article has been created and does not give a 404 anymore.
We will close this issue. Thanks.

Closing as fixed.

Thank you for the work!


add more test for option

Codecov Report
Patch coverage has no change and project coverage change: +0.35% :tada:

Comparison is base (fca5077) 81.02% compared to head (1e32e12) 81.37%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1060      +/-   ##
==========================================
+ Coverage   81.02%   81.37%   +0.35%
==========================================
  Files         136      136
  Lines       15405    15402       -3
==========================================
+ Hits        12482    12534      +52
+ Misses       2336     2290      -46
+ Partials      587      578       -9

Files Changed
Coverage Δ

pkg/option/option.go
73.86% <ø> (+24.79%)
:arrow_up:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Optimised finding closest leaf

Rather than using a DFS approach, we can store a list of leaves as we are always searching from the same set of leaves and search distance from those leaves, instead of going through all the nodes everytime to search for leaves.

Why make this change? Was this becoming a performance issue? The number of leaves is within a factor of 2 of the number of nodes, and this way requires more bookkeeping. We may want to allow to find internal nodes as well in the future.


Wrong place for lightbulb

VSCode Version: 1.17.0
OS Version: Windows 7 Pro 64

Steps to Reproduce:

Open file with linting error that could be fixed with fix options
Put cursor on struggled line, and find the lightbulb

duplicate of #25174


Update using-xslt-to-transform-an-xml-tree.md

Refactored code to remove memory leaks caused by missing using statements.
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

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


ability to add suffix to model name that clashes with reserved word. …

…Fixes #86 Reserved word model name issues

Coverage decreased (-0.7%) to 99.346% when pulling 432341c6343ad296fde45770ae9c4c05722412f6 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Coverage remained the same at 100.0% when pulling cdc30c1aa56f63a761b40c7a606909416fa02b12 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Coverage remained the same at 100.0% when pulling cdc30c1aa56f63a761b40c7a606909416fa02b12 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Coverage remained the same at 100.0% when pulling cdc30c1aa56f63a761b40c7a606909416fa02b12 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

this now also closes #87 Add ability to API prefix

Coverage remained the same at 100.0% when pulling baca9e10a3ad76456274c2dbbe0e274669d585e3 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Coverage remained the same at 100.0% when pulling baca9e10a3ad76456274c2dbbe0e274669d585e3 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Coverage remained the same at 100.0% when pulling baca9e10a3ad76456274c2dbbe0e274669d585e3 on nickhingston:master into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.


Show Headset Battery in VR Overlay

Fixes #741

Commit looks really good, I'll test with my cable headset later today.

It does indeed skip the headset nice, will merge with next nightly update, lemme know if there is anything else you're interesting in doing and I'll help you find what you need.

I have some ideas, but I think those will take me a few days of experimentation.

Well feel free to message me on Discord "NatsumiDa" with any questions or if you'd like to know if something is viable with this code base.


Syntax error in Data Tables "Scrollable / Sticky Rows and Columns" & "Form Controls"

What RMWC Version are you using [major.minor.patch]:

Name your build system [Webpack, Rollup...]:

Describe the bug with as much detail as possible:

What happened, and what was supposed to happen:

Okay the fix is just removing type FormEvent<> from the evt in the readme.tsx files.

Solved by https://github.com/rmwc/rmwc/pull/1038. Closing.


chainstate: Add a storage layer that occasionally randomly fails to the test framework

The tests now fail, needs a fix too. Will put one up in a separate PR.

Changed to a draft because this will make tests fail without an accompanying fix.


Feature/error page confirmed mail

code looks ok; though I didn't test it manually.

lgtm, but I did not test the code....

tested locally and everything works as intented


Outdated EventFlow reference

MongoDb packages doesn't support the latest EventFlow packages due to some breaking changes in the read model stores.

Any plans to update this , cause we are planning on using it for our readmodels.

@warren-pieterse and @janfeyen are you planning to update this package?


No resource identifier zxing_framing_rect

Can someone help me out.
I have added zxing core library and zxing-android-embedded library to my application. My aim is to create an activity which enables continuous scanning using the component CompoundBarcodeView
Here is part of my gradle file:
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    //6.5.87'
    //compile 'com.android.support:appcompat-v7:21.0.2'
    compile project(':fab_library')
    compile project(':kigamba_libs')
    compile project(':lib_bootstrap2')
    compile project(':library_material_ripple_master')
    //compile 'com.afollestad:material-dialogs:<IP_ADDRESS>'
    compile 'com.google.android.gms:play-services:8.1.0'
    //compile 'com.android.support:appcompat-v7:22.1.1'
    compile 'com.android.support:appcompat-v7:21.0.2'
    compile 'com.google.android.gms:play-services-ads:8.1.0'
    compile 'com.google.android.gms:play-services-identity:8.1.0'
    compile 'com.google.android.gms:play-services-gcm:8.1.0'
    compile 'com.journeyapps:zxing-android-embedded:3.0.3@aar'
    compile 'com.google.zxing:core:3.2.0'
}

Here is the layout custom_barcode_scanner.xml
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
       xmlns:tools="http://schemas.android.com/tools"
       xmlns:app="http://schemas.android.com/apk/res-auto">

    <com.journeyapps.barcodescanner.BarcodeView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/zxing_barcode_surface"
        app:zxing_framing_rect_width="250dp"
        app:zxing_framing_rect_height="50dp"/>

    <com.journeyapps.barcodescanner.ViewfinderView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/zxing_viewfinder_view"/>

    <TextView
        android:id="@+id/zxing_status_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|center_horizontal"
        android:background="@color/zxing_transparent"
        android:text="@string/zxing_msg_default_status"
        android:textColor="@color/zxing_status_text"/>

</merge>

Here is layout file activity_scanning.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin">

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <com.journeyapps.barcodescanner.CompoundBarcodeView
            android:id="@+id/zxing_barcode_scanner"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:zxing_scanner_layout="@layout/custom_barcode_scanner">
        </com.journeyapps.barcodescanner.CompoundBarcodeView>

    </LinearLayout>

    <Button
        android:id="@+id/switch_flashlight"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="ON"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:onClick="switchFlashlight"/>
</RelativeLayout>

Whenever I try to run the application I get the error that the attribute zxing_framing_rect_width cannot be found.
Could someone help me out

Are you getting a compile error or runtime error? Can you post the complete details of the error?

Yea, It's a compile time error.
Let me rewrite the code and post it again

Is that fixed? I have the same problem. Thanks!

I found out that your "com.journeyapps:zxing-android-embedded:3.0.3@aar" doesn't contain framing rect size code. Please double check.

I actually found the framing_rect_size code myself since I tried both adding the aar dependency in my gradle file and adding the source code as a library but for some reason, it not found

Can you post a sample project where this happens, as well as the full error where this happens? It works in the sample app in this repo.

Ok.

There is the error. It is a compile-time error

Same problem here. I think it has to do with the schema definitions in the xml files, I have replaced the res-auto one with xmlns:app="http://schemas.android.com/apk/lib/com.journeyapps.barcodescanner" and it compiles fine now. I have other problem though, the custom activity styling does not seem to be applied, no matter what values I enter for the barcodeView width and height it stays square

@rkistner I created a demo project for you to show this error.
https://github.com/chenluke/barcode_demo

Thanks for all the info. I can reproduce it now with the demo from @chenluke, will look into this soon.

Thanks @ivankolev for the tip. Works like a charm now. Not yet tried the styling for the custom activity. Just started

Hi @rkistner i have same problem

I have the same problem. @rkistner did you already have a look at it? I'd like to include the scanner with a customized layout into an app soon. I could try to fix it if you point me in the right direction.

Hey Paschmid, ivan Kolev's solution works
On Mon, Dec 21, 2015, 4:20 PM Paschmid<EMAIL_ADDRESS>wrote:

I have the same problem. @rkistner https://github.com/rkistner did you
already have a look at it? I'd like to include the scanner with a
customized layout into an app soon. I could try to fix it if you point me
in the right direction.
—
Reply to this email directly or view it on GitHub
https://github.com/journeyapps/zxing-android-embedded/issues/103#issuecomment-166304243
.

Try it out
On Fri, Dec 25, 2015, 9:43 PM Ephraim Kigamba<EMAIL_ADDRESS>wrote:

Hey Paschmid, ivan Kolev's solution works
On Mon, Dec 21, 2015, 4:20 PM Paschmid<EMAIL_ADDRESS>wrote:

I have the same problem. @rkistner https://github.com/rkistner did you
already have a look at it? I'd like to include the scanner with a
customized layout into an app soon. I could try to fix it if you point me
in the right direction.
—
Reply to this email directly or view it on GitHub
https://github.com/journeyapps/zxing-android-embedded/issues/103#issuecomment-166304243
.

I did try it out and it compiles, yes. But as Ivan Kolev said, the customization of the barcodeView doesn't work anymore and this is important to me since I have small barcodes that I want to detect.

Fixed in 3.1.0.


Dashboard auth [FreeIPA, openldap and AD] Users shouldn't be logged out for incorrect auth credentials

Rancher | v2.5-2ec02e753d1c5c428b8eff9681ad3f72553829aa-head
User Interface | v2.5-dev
Helm | v2.16.8-rancher1
Machine | v0.15.0-rancher49
On dashboard, for LDAP auths [FreeIPA, openldap and AD]
From the auth providers, for freeIPA, openLDAP and AD provide all the details and for the "Test and Enable Authentication[username/password]", provide incorrect details and when we click on enable, users are logged out of session and made to reauthenticate.

Should have been a warning message as on ember UI:

https://github.com/rancher/dashboard/issues/2114

https://github.com/rancher/dashboard/issues/2114

Verified on
Rancher | v2.5-761c805d8190692f2a29744cbd373cf14fd1c0e5-head
User Interface | v2.5-dev
Helm | v2.16.8-rancher1
Machine | v0.15.0-rancher50
OpenLDAP, FreeIPA and AD: from dashboard auth providers, gave incorrect password for all the three providers.
Users are not logged out and a warning as follows is shown:


cannot swap Fn with ctrl

Description of the new feature / enhancement
cannot swap Fn with ctrl
Scenario when this would be used?
cannot swap Fn with ctrl
Supporting information
No response

Fn key is a hardware key, with how we do remapping, we cannot.  We directly call this out in documentation.
https://docs.microsoft.com/en-us/windows/powertoys/keyboard-manager


[BUG] Restart Dialog isn't showing

Describe the bug
The restart dialog doesn't show when changing something under preferences such as:

application frame
transparency effect

Environment Information

OS (e.g. Linux/Mac/Windows): Windows
Application Version (e.g. 2.5.0): 3.0.0

Additional context
I tried quitting the application after changing settings just in case it may apply, yet to no avail.
Have you followed the troubleshooting guide and checked for any outstanding/pinned issues that can help?
Troubleshooting guide can be found here.
Yes

Transparency affect is applied whenever you change is, so should app frame.

Doesn't show up for me either. And the applied settings reset back each time the app is restarted...

I found a workaround, just add the themes folder on app data and it will
work
On Sun, Nov 28, 2021 at 7:58 PM g. @.***> wrote:

Doesn't show up for me either. And the applied settings reset back each
time the app is restarted...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Apple-Music-Electron/Apple-Music-Electron/issues/371#issuecomment-981072455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWNBANFUGT3FW4XXDGTV2ODUOIKNBANCNFSM5IFS3KRQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Is this occurring on the latest release? As after 3.0.0 was released the files were updated with a fix for themes not installing.

Is this occurring on the latest release? As after 3.0.0 was released the files were updated with a fix for themes not installing.

downloaded the new UPDATED app nd works just fine... deleted the %appdata%/Apple Music and then re installed the updated software and everything's working perfectly!

Glad to hear it.


Can I use this project for marketing related data for customer segmentation

Hi
Can I use this project for the marketing related data for customer segmentation.
I needed it for live streaming as well as for the batch processing (for storage and use it for the later analysis).
OR
Point me to some other projects on github.
Any help will be appreciated
Regards
Akhil

This project is focused on IP Flow data analysis (network traffic related data). You can use its parts (e.g. Kafka-Spark-Elk) but we are not focused on such tasks like marketing data processing. Currently, you can find many existing solutions fot marketing data processing and we do not have a full overview about them.


bump markdownlint to 0.13.0

Bump markdownlint to 0.13.0. No extra fixes needed in MariaDB, and this should be cherry-picked to release branches to keep project-infra config simpler.
TODO: bump the image in project-infra when all bump PRs are merged.

/override test-ubuntu-integration-main
Not tested by integration tests.

/approve

/lgtm


Crunchyroll is broken

https://github.com/yt-dlp/yt-dlp/issues/10207
It looks like Crunchyroll is already applying DRM to Switch endpoints. Let's wait and see if the yt-dlp team finds a solution, but I think the dark ages are just beginning.

Thanks for your work, it does seem like the dark ages will begin 😭

Easy things are not forever, however I shed a little light, soon I will integrate another application that with the CDM keys allows you to decrypt crunchyroll's DRM. I will also post a guide here on how to obtain these keya.

I don't think it is legal in Spain what you intend to do, as ‘piracy’ as such is not allowed, and by integrating a functionality to get the L3 CDM keys you would be violating a lot of intellectual property. Many Crunchyroll downloader developers had to shelve their project because being from Europe they could not make a widevine decryption module due to the legal consequences.

I totally agree and appreciate your warning, but I will never do anything illegal because ytdl2strm will never be able to dump CDMs. What I can do is code the necessary functions that allow it to be integrated with tools that do allow the download of said content if the CDMs are indicated. Dumping CDMs is a parallel process that can be easily found. But I repeat, ytdlp2strm will never do that function, it will only be a launcher, when this is ready it will obviously come with its respective disclaimer and legal notes to avoid problems.


"at" with timezone parameter cause strange behavior

import time
import schedule
import threading

def job():
    print("I'm running on thread %s" % threading.current_thread())

def run_threaded(job_func, *args, **kwargs):
    job_thread = threading.Thread(target=job_func, args=args, kwargs=kwargs)
    job_thread.start()

# run once at 19:34:59 UTC
schedule.every().day.at("19:34:59").do(run_threaded, job)

# also run once at 03:34:59 UTC+8, but repeatly run job each "1 second"
schedule.every().day.at("03:34:59", 'Asia/Taipei').do(run_threaded, job)

# also has strange behavior
# schedule.every(1).minute.at(":10", 'Asia/Taipei').do(run_threaded, job)

# it works
# schedule.every(1).minute.at(":10", 'UTC').do(run_threaded, job)

while 1:
    schedule.run_pending()
    time.sleep(1)

mine too

You need to be more specific with "strange behavior".
I believe I encountered it as well, trying to run a script at 12:15am UTC and 12:15pm UTC. I can't find any reason for it, no errors or exceptions, the application seems to believe it is running as intended, however with the Timezone set, the application runs it every second (every refresh of the time.sleep in the run_pending loop). I can work around it by using an If statement to verify runtime, but at that point I may as well just run it in an infinite loop and do my own checks.

You need to be more specific with "strange behavior".
I believe I encountered it as well, trying to run a script at 12:15am UTC and 12:15pm UTC. I can't find any reason for it, no errors or exceptions, the application seems to believe it is running as intended, however with the Timezone set, the application runs it every second (every refresh of the time.sleep in the run_pending loop). I can work around it by using an If statement to verify runtime, but at that point I may as well just run it in an infinite loop and do my own checks.

Thanks for more specific description.
For now I just report this behavior and transform time zone from UTC to UTC+8 by myself.

honestly unless DST is a consideration, UTC time is probably the best option to use. Python's time.time() function returns seconds since epoch (Midnight Jan 1, 1970 UTC). Convert it to int (as it also reports microseconds for some reason) and just modulo it for the frequency you want.
For example, I needed something to run at 12:15am and 12:15pm UTC, so being 12:15am is 15 minutes past midnight, so I launched it in a separate thread and I did: if (int(time.time())-900) % 43200 = 0. the 900 is 15 minutes in seconds, modulo 43200 is 12 hours in seconds. Every time modulo reports 0 (a clean division of 12 hours), it runs. I then just set it in a loop that repeats every 0.9 seconds. There's a small chance it'll run twice in a second but honestly I'm just zeroing values so it's not a big deal for me.
It's unfortunate such an essential function also breaks essential functionality (.... running at all), but considering the last update appears to be 10 months ago, it seems a lost cause.

I am facing similar issue https://github.com/dbader/schedule/issues/592

This function is not good.
https://github.com/dbader/schedule/blob/a3c2074dcd8f39168525f0fc2b009bc7119f0796/schedule/__init__.py#L720

How is this
def _schedule_next_run(self) -> None:
    """
    Compute the instant when this job should run next.
    """
    if self.unit not in ("seconds", "minutes", "hours", "days", "weeks"):
        raise ScheduleValueError(
            "Invalid unit (valid units are `seconds`, `minutes`, `hours`, "
            "`days`, and `weeks`)"
        )

    if self.latest is not None:
        if not (self.latest >= self.interval):
            raise ScheduleError("`latest` is greater than `interval`")
        interval = random.randint(self.interval, self.latest)
    else:
        interval = self.interval

    self.period = datetime.timedelta(**{self.unit: interval})

    self.next_run = datetime.datetime.now() + self.period
    if self.start_day is not None:
        if self.unit != "weeks":
            raise ScheduleValueError("`unit` should be 'weeks'")
        weekdays = (
            "monday",
            "tuesday",
            "wednesday",
            "thursday",
            "friday",
            "saturday",
            "sunday",
        )
        if self.start_day not in weekdays:
            raise ScheduleValueError(
                "Invalid start day (valid start days are {})".format(weekdays)
            )
        weekday = weekdays.index(self.start_day)
        days_ahead = weekday - self.next_run.weekday()
        if days_ahead <= 0:  # Target day already happened this week
            days_ahead += 7
        self.next_run += datetime.timedelta(days_ahead) - self.period
    if self.at_time is not None:
        if self.unit not in ("days", "hours", "minutes") and self.start_day is None:
            raise ScheduleValueError("Invalid unit without specifying start day")
        kwargs = {"second": self.at_time.second, "microsecond": 0}
        if self.unit == "days" or self.start_day is not None:
            kwargs["hour"] = self.at_time.hour
        if self.unit in ["days", "hours"] or self.start_day is not None:
            kwargs["minute"] = self.at_time.minute

        if self.at_time_zone is None:
            self.next_run = self.next_run.replace(**kwargs)  # type: ignore
        else:
            self.next_run = self.next_run.astimezone(tz=self.at_time_zone)
            self.next_run = self.next_run.replace(**kwargs).astimezone().replace(tzinfo=None)

        # Make sure we run at the specified time *today* (or *this hour*)
        # as well. This accounts for when a job takes so long it finished
        # in the next period.
        if not self.last_run or (self.next_run - self.last_run) > self.period:
            if self.at_time_zone is None:
                now = datetime.datetime.now()
            else:
                now = datetime.datetime.now(tz=self.at_time_zone)

            if (
                self.unit == "days"
                and self.at_time > now.time()
                and self.interval == 1
            ):
                self.next_run = self.next_run - datetime.timedelta(days=1)
            elif self.unit == "hours" and (
                self.at_time.minute > now.minute
                or (
                    self.at_time.minute == now.minute
                    and self.at_time.second > now.second
                )
            ):
                self.next_run = self.next_run - datetime.timedelta(hours=1)
            elif self.unit == "minutes" and self.at_time.second > now.second:
                self.next_run = self.next_run - datetime.timedelta(minutes=1)
    if self.start_day is not None and self.at_time is not None:
        # Let's see if we will still make that time we specified today
        if (self.next_run - datetime.datetime.now()).days >= 7:
            self.next_run -= self.period

Thank you everyone for reporting and investigating. The timezone bug described here has now been resolved with #583 and released in 1.2.1.
Closing this for now. Feel free to reach out if you have any more issues or concerns. 😄


高级粘贴问题反馈

Microsoft PowerToys version
0.82.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
Advanced Paste
Steps to reproduce
高级粘贴的快捷键是Ctrl+Windows+alt+V。当使用了该组合键之后，似乎有粘连。比如说，操作完之后，再到浏览器滚动滑轮，会放大、缩小浏览器页面。而正常情况下，在浏览器内放大、缩小页面需要按住Ctrl再滚动鼠标滑轮。现在我使用完Ctrl+Windows+alt+V后，为了防止后续操作有异常。我都需要再同时按一遍Ctrl+Windows+alt键。我不确定是哪个键有粘连，但这样操作确实有效果。望优化，解决该问题。ᠪᠠᠨᡳᡥᠠ（巴尼哈/谢谢）
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Please review the issues in the bot to see if those are the same issue. /needinfo

請查看機器人中的問題，看看這些問題是否是同一個問題。/需要資訊

您好，与#30273、#29227、#33533是同一个问题。

I'm curious - why were older issues closed in favor of this new one?
I got excited when I saw that the issue I was tracking was "Closed as completed", then quite disappointed to see that the issue hasn't actually been fixed.


Revise ShapeStyle and add Gradients

This adds some small revisions to match SwiftUI in Xcode beta 4, as well as adding support for Gradient and related styles.
SwiftUI:

Tokamak:

This isn't properly rendering in Safari:

That looks to be a layout issue that's not specifically related to the changes in this PR, and could be fixed in a separate one if that seems appropriate.

Sure, but we should change the demo to avoid that issue for now, which can be done easily.
Also note: the material section being on the right side rather than centered is another similar issue.


Status Conditions Metrics should be per-object type

Status Conditions currently include the type of the object as a dimension of the metric. Metric aggregations are usually done on a metric name and aggregated based on the dimensions of the metric. If I wanted to say get the number of nodes for label team: app-a that have a MemoryPressure status condition, I can't do it with the given status conditions. I'd have to cross reference each of the status conditions, with a metric on the node for labels, and then aggregate them, which has odd aggregation behavior as there's not a 1-1 for each metric, having to do joins.
Ideally, we can just auto-gen metrics in the operator_status system and add a subsystem with the type of the object we're emitting for, and do the usual status condition metrics with specific labels we care about added in.

Closed by #98


Optional body parameters

The README describes how query parameters are optional and how default values can be set.
It might be up for debate, whether this is a good idea, but here it goes:
It would be nice, if it were possible to declare body parameters as optional, too, and provide default values.

If you don't like this idea, it would be nice on the other hand, if there were an error.
Currently, if one tries this, one only gets the default values in a dictionary; independent of what the request body contains.

To illustrate this situation, I have prepared a little script:
https://gist.github.com/crazyscientist/2358f59bed61273c82ef583abb64e2f9

I tried your little script,
typing.Optional[T] means T | None.
We cannot accept two possible type as body
The good way is:
@routes.post("/demo1")
class Demo1View(PydanticView):
    async def post(self, /, params: ParamModel) -> r201[ParamModel]:
        return web.json_response(data=params.model_dump(), status=201)

If you want aiohttp-pydantic returns a 400 if extra parameters is added. Use the pydantic feature:
from pydantic import BaseModel, Extra

class ParamModel(BaseModel):
    debug: bool = False
    verbose: bool = False
    force: bool = False

    class Config:
        extra = Extra.forbid

https://docs.pydantic.dev/latest/errors/validation_errors/#extra_forbidden

Contribution are welcome !


Update install and usage sections

Updates readme to include section on optional args and MacOS conda build. Includes some other opinionated changes, hence PR.

Fine with me. I really don't have a strong opinion on those changes.


Updated Reference Documentation

This ended up being a bit bigger than I expected, but the results are certainly worth it.
I'm still going through doing some reorganization of the sections, and some of the new "guides", but it's pretty much wrapped up at this point.
The big changes:

Custom homepage for documentation that isn't just a copy of the repo README.
Much prettier docs in general (thanks to the doxygen-awesome css template)
Lot's of customization of doxygen output to make for a better layout, and easier navigation
Fixed usage of ingroup defgroup and addtogroup in various places to actual include expected documentation with classes, etc. (previously many things were getting stripped out for some reason for example, the detailed description of the AbstractMenu class was just not present in the doxygen output, etc.).
Added local examples to libDaisy to serve as examples in documentation, as well as providing better coverage via CI
Added the local examples to the CI workflow
Moved the "detailed description" to the top
Added a number of getting started guides for ADCs, GPIO, Serial Printing, Audio, and more. These will continue to be refined, and more guides will be written soon as well.
Moved all of the predefined doxygen groups out of the daisy.h file, and into a doc specific index.h, and cleaned it up a bit.
Changed setting EXTRACT_ALL to true. This has a few repercussions:

All undocumented classes, functions, etc. are now included in the docs (although empty)
This in combination with a ton of the small edits throughout the files, resolved all but two warnings when generating the docs (reduced from several hundred 😄 )

The generated: daisy::GPIO page for the new C++ GPIO API is going to be the model for new documentation moving forward. This means fully documented functions, initialization information, and an actual example. We'll work through the rest of the library early in 2022 to bring everything up to this new standard.

Here's a tentative list of the few things left to do before I think this will be good to merge.

[ ] Fix examples build CI (currently doesn't have libdaisy.a from previous job)
[ ] Fix issue with footer / treeview getting blocked

This seems to be an incompatibility with some of the manual tweaks I made before introducing the custom css layout

[ ] Fill in Getting Started - MIDI doc
[ ] The horizontal rule in the side navbar, and the main body of the page are barely misaligned an it's an eyesore.

I'll probably do a bit more reorganization, or renaming of groups, but a lot of that can happen more atomically later

@TheSlowGrowth Thanks for the thorough review, and great suggestions on additional content! Very helpful!


Crashes...

...the new version crashes after adding or editing a new deck.
ChristiansiMac7:~ christian$ /Applications/HSTracker.app/Contents/MacOS/HSTracker |I|17:16:22.789| *** Starting HSTracker 0.16.900 *** |V|17:16:22.811| json file : /Applications/HSTracker.app/Contents/Resources/Resources/Cards/cardsDB.enUS.json |I|17:16:22.928| Loading decks |V|17:16:22.928| json file : /Users/christian/Library/Application Support/HSTracker/decks/decks.json |I|17:16:22.934| Loading menu |I|17:16:23.731| Opening trackers |V|17:16:24.232| Reseting Game |I|17:16:24.232| Cleared secrets |V|17:16:24.232| Game resetted |V|17:16:24.232| Check if /Users/christian/Library/Preferences/Blizzard/Hearthstone exists |V|17:16:24.232| Check if /Users/christian/Library/Preferences/Blizzard/Hearthstone/log.config exists |V|17:16:24.234| Zones found : [[Bob,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false], [Power,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false], [Asset,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false], [Rachelle,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false], [Arena,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false], [LoadingScreen,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false], [Net,LogLevel=1FilePrinting=trueConsolePrinting=falseScreenPrinting=false]] |V|17:16:24.234| Is Power valid ? true |V|17:16:24.234| Is Net valid ? true |V|17:16:24.234| Is Asset valid ? true |V|17:16:24.234| Is Bob valid ? true |V|17:16:24.234| Is Rachelle valid ? true |V|17:16:24.234| Is Arena valid ? true |V|17:16:24.234| Is LoadingScreen valid ? true |V|17:16:24.234| Missing zones : [] |I|17:16:24.234| Init reader for Power at path /Applications/Hearthstone/Logs/Power.log |I|17:16:24.244| Init reader for Power at path /Applications/Hearthstone/Logs/Power.log |I|17:16:24.244| Init reader for Bob at path /Applications/Hearthstone/Logs/Bob.log |I|17:16:24.244| Init reader for Rachelle at path /Applications/Hearthstone/Logs/Rachelle.log |I|17:16:24.244| Init reader for Asset at path /Applications/Hearthstone/Logs/Asset.log |I|17:16:24.244| Init reader for Arena at path /Applications/Hearthstone/Logs/Arena.log |I|17:16:24.244| Init reader for LoadingScreen at path /Applications/Hearthstone/Logs/LoadingScreen.log |I|17:16:24.244| Init reader for Net at path /Applications/Hearthstone/Logs/Net.log |I|17:16:24.245| HSTracker is now ready !

I think that I caused this bug with my resolution to issue #438. Unfortunately, I'm not completely sure why it's crashing, so please help @bmichotte!
Some additional info:
The console prints fatal error: unexpectedly found nil while unwrapping an Optional value

I think I got it, trying to correct right now


Memory usage warning

This method allows you to check if the memory usage exceeded a specific threshold.

Coverage decreased (-0.41%) to 97.24% when pulling e564adfab94d6419afa37099fa0186737b8368de on trapvincenzo:memory-check into f384f9521de065e9f29f7b5e6a2ae8f5594c1787 on brandonwamboldt:master.

Coverage decreased (-0.41%) to 97.24% when pulling 6435b2cbbf7725bb558751e9a5018199c80d1b14 on trapvincenzo:memory-check into f384f9521de065e9f29f7b5e6a2ae8f5594c1787 on brandonwamboldt:master.

Coverage decreased (-0.41%) to 97.24% when pulling 6435b2cbbf7725bb558751e9a5018199c80d1b14 on trapvincenzo:memory-check into f384f9521de065e9f29f7b5e6a2ae8f5594c1787 on brandonwamboldt:master.

Coverage decreased (-0.42%) to 97.24% when pulling 764bdc1d7b60ed3d1fdd626b2e3fdc42feba2ea1 on trapvincenzo:memory-check into f384f9521de065e9f29f7b5e6a2ae8f5594c1787 on brandonwamboldt:master.

Coverage decreased (-0.42%) to 97.24% when pulling 764bdc1d7b60ed3d1fdd626b2e3fdc42feba2ea1 on trapvincenzo:memory-check into f384f9521de065e9f29f7b5e6a2ae8f5594c1787 on brandonwamboldt:master.

Don't think this is useful enough to include


add a drop-in replacement for ioutil.WriteFile

Moving from Twitter at https://twitter.com/mvdan_/status/1057289983340544002.
https://golang.org/pkg/io/ioutil/#WriteFile suffices for quite a lot of simple cases where one wants to create or overwrite a file with some contents. That generally is four lines of code, including error handling.
Comparatively, the simplest TempFile example takes nine lines, and requires a defer. This makes it less suitable for these simpler use cases, and makes replacing ioutil.WriteFile with this package harder.
It shouldn't be necessary to strictly stick to ioutil.WriteFile's signature, but one advantage of doing that would be the simplicity of porting code over.

This is somewhat related to issue #2 in that maybe we could use the write.File name to be the WriteFile replacement.
In general, I like the idea. I’ll keep notes when switching projects to go-write to confirm where WriteFile would be usable.

More bikeshedding - if you make write.File be ioutil.WriteFile, then you could have the existing constructor be write.StartFile.

I’ve renamed the package to “renameio”. Now, adding a WriteFile method mirroring ioutil.WriteFile seems like a straight-forward thing to do :)


Too many vulnerabilities on fresh vue project

Version
4.5.13
Environment info
System:
    OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Binaries:
    Node: 14.17.5 - /usr/local/bin/node
    Yarn: 1.22.11 - /usr/local/bin/yarn
    npm: 7.23.0 - /usr/local/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 91.0.2
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1
    @vue/babel-helper-vue-transform-on:  1.0.2
    @vue/babel-plugin-jsx:  1.0.7
    @vue/babel-plugin-transform-vue-jsx:  1.2.1
    @vue/babel-preset-app:  4.5.13
    @vue/babel-preset-jsx:  1.2.4
    @vue/babel-sugar-composition-api-inject-h:  1.2.1
    @vue/babel-sugar-composition-api-render-instance:  1.2.4
    @vue/babel-sugar-functional-vue:  1.2.2
    @vue/babel-sugar-inject-h:  1.2.2
    @vue/babel-sugar-v-model:  1.2.3
    @vue/babel-sugar-v-on:  1.2.3
    @vue/cli-overlay:  4.5.13
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.13
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.13
    @vue/cli-plugin-router: ~4.5.0 => 4.5.13
    @vue/cli-plugin-vuex: ~4.5.0 => 4.5.13
    @vue/cli-service: ~4.5.0 => 4.5.13
    @vue/cli-shared-utils:  4.5.13
    @vue/component-compiler-utils:  3.2.2
    @vue/eslint-config-standard: ^5.1.2 => 5.1.2
    @vue/preload-webpack-plugin:  1.1.2
    @vue/web-component-wrapper:  1.3.0
    eslint-plugin-vue: ^6.2.2 => 6.2.2
    vue: ^2.6.11 => 2.6.14
    vue-eslint-parser:  7.11.0
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.9.8 (16.5.0)
    vue-router: ^3.2.0 => 3.5.2
    vue-style-loader:  4.1.3
    vue-template-compiler: ^2.6.11 => 2.6.14
    vue-template-es2015-compiler:  1.9.1
    vuex: ^3.4.0 => 3.6.2
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Create a new project with vue create project-name

Select "Manullay select features"

 ◉ Choose Vue version

 ◉ Babel

 ◯ TypeScript

 ◯ Progressive Web App (PWA) Support

 ◉ Router

 ◉ Vuex

 ◉   CSS Pre-processors

 ◉ Linter / Formatter

 ◯ Unit Testing

 ◯ E2E Testing

[ENTER]
❯ 2.x

  3.x

[ENTER]
? Use history mode for router? (Requires proper server setup for index fallback in production) (Y/n)  n

[ENTER]
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default):

  Sass/SCSS (with dart-sass)

❯ Sass/SCSS (with node-sass)

  Less

  Stylus

[ENTER]
? Pick a linter / formatter config:

  ESLint with error prevention only

  ESLint + Airbnb config

❯ ESLint + Standard config

  ESLint + Prettier

[ENTER]
? Pick additional lint features: (Press \<space> to select, \<a> to toggle all, \<i> to invert selection)

❯◉ Lint on save

 ◯ Lint and fix on commit

[ENTER]
? Where do you prefer placing config for Babel, ESLint, etc.? (Use arrow keys)

❯ In dedicated config files

  In package.json

[ENTER]
At the end the result is:
16 vulnerabilities (11 moderate, 5 high)
What is expected?
Maybe less vulnerabilities?
What is actually happening?
To many deprecated dependencies

From my understanding, the fact is that these vulnerabilities don't really affect our business projects
In addition, the maintainers are actively working on these

Upgrade webpack-dev-server to resolve security vulnerability #6690

I hope you're right, because the more dependencies i add more warnings i get because the deprecated ones.

Just even installing Vue CLI with
npm install -g @vue/cli
Ends up with: 23 vulnerabilities (4 moderate, 19 high)

Just even installing Vue CLI with npm install -g @vue/cli
Ends up with: 23 vulnerabilities (4 moderate, 19 high)

After just installing cli globally, it's
15 vulnerabilities (8 moderate, 7 high)

Same here, I believe these are not "real" vulnerabilities. But still doesn't get well along security reports and log files...

This needs attention. We're looking at potentially adopting Vue for some of our projects, but security will not approve with this many vulnerabilities on a clean install. All attempts to rectify the dev dependency issues manually have resulted in even more errors. Please do a clean sweep of your official packages and clear your audits.

We're looking at potentially adopting Vue for some of our projects, but security will not approve with this many vulnerabilities on a clean install.

This is very dumb. npm audit is broken by design and is just useless noise. Spending so much time on this non-issue is just wasting everybody's time (especially maintainers).


Replace SQL with native CTFd file-import format

CTFd 1.0.2 introduced a file-based export/import feature:

CTFd now has the ability to export and import data. This lets you save your CTFs as zip files and redeploy them again and again.

Given its format is already stable, it would make sense to generate such a file instead of SQL statements.

Example export of a single dummy challenge, two hints and one solution key:
Juice Shop.2017-09-10.zip


the 'for' loop is not neccessary in roi_pooling operator

https://github.com/dmlc/mxnet/blob/master/src/operator/roi_pooling.cc#L187
            for (int ph = phstart; ph < phend; ++ph) {
              for (int pw = pwstart; pw < pwend; ++pw) {
                const int pooled_index = ph * pooled_width_ + pw;
                if (static_cast<int>(offset_argmax_data[pooled_index]) == h * width_ + w) {
                  gradient += offset_top_diff[pooled_index];
                }
              }
            }

phend is always equal to phstart+1 , so it can be replaced by:
            const int pooled_index = phstart * pooled_width_ + pwstart;
            if (static_cast<int>(offset_argmax_data[pooled_index]) == h * width_ + w) {
              gradient += offset_top_diff[pooled_index];
            }

@tqchen

Please review it.

the same thing should be done in .cu file.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Walls/Airlocks need damage visuals

similar to windows but more subtle

picture stolen from cm

damage examine too for windows
windoors have examine but windows dont :trollface:


Not adding the "Complete Relic Bonus" in player stats

Hi,
Apparently, TQVault is not adding the "Complete Relic Bonus". Below are prints with and without items.
Another thing I noticed is the wrong relic value compared to TQVault and the game.
Versions:
TQVault: 4.4
Titan Quest Anniversary Edition (steam): 2.10.21415 (Eternal Ember)

Hello!
Anything that has to do with the random number generator will only show base stats in the tool, as we haven't cracked how the seeds impact the RNG. See the first question under https://github.com/EtienneLamoureux/TQVaultAE?tab=readme-ov-file#troubleshooting-and-faq for details.


Use pylint for linting

See original issue on GitLab
In GitLab by [Gitlab user @tlater] on Feb 7, 2018, 18:05
We could really use a linter as part of the CI to catch the more stupid errors. I personally use pylint a lot, there is a plugin for pytest we could use here: https://pypi.python.org/pypi/pytest-pylint.

In GitLab by [Gitlab user @tlater] on Feb 8, 2018, 14:34
created branch 239-use-pylint-for-linting

In GitLab by [Gitlab user @jennis] on Feb 20, 2018, 16:32
mentioned in merge request !283

In GitLab by [Gitlab user @juergbi] on Mar 14, 2018, 17:54
closed via merge request !283


Fix "bad json" being returned instead of valid HTTP Error Code

See Commit status, Fixed incorrect override that was causing an exception to be thrown instead of returning a valid HTTP code when status was not 200/204

@claytonv,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Fix options override issue

https://github.com/indeedeng/iwf/blob/756efa29a41352bfb22d6b5761e6feb5e4e37c56/service/interpreter/workflowImpl.go#L399

https://github.com/indeedeng/iwf/pull/102


Performance: clean up debug console

Performance got lower and a good candidate is we are seeing a lot of debug messages on the console.

Duplicate


Maintain exclusion list for provider versions with no required assets

Problem
Historical releases of some providers don't include required assets, but we keep attempting to bump their versions. It causes wasted throughput.
For example:

https://github.com/jaczkal/terraform-provider-linux/releases/tag/0.7.1 is missing assets

{"time":"2023-11-28T21:22:51.131338327Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"jaczkal","name":"linux"},"github":{"url":"https://github.com/jaczkal/terraform-provider-linux/releases/download/0.7.1/terraform-provider-linux_0.7.1_SHA256SUMS"}}
{"time":"2023-11-28T21:22:51.131378842Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"jaczkal","name":"linux"},"release":"0.7.1"}

3lvia/confluent-schema-registry is missing required assets for several tags

{"time":"2023-11-28T21:21:44.573684971Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.4.0/terraform-provider-confluent-schema-registry_0.4.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.573770479Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.4.0"}
{"time":"2023-11-28T21:21:44.596027617Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.5.0/terraform-provider-confluent-schema-registry_0.5.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.596083Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.5.0"}
{"time":"2023-11-28T21:21:44.6579[22](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:23)635Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.6.1/terraform-provider-confluent-schema-registry_0.6.1_SHA256SUMS"}}
{"time":"20[23](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:24)-11-28T21:21:44.658007562Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.6.1"}
{"time":"2023-11-28T21:21:44.698064282Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.2.0/terraform-provider-confluent-schema-registry_0.2.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.698111851Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.2.0"}
{"time":"2023-11-28T21:21:44.712340356Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.6.0/terraform-provider-confluent-schema-registry_0.6.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.71[24](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:25)12861Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.6.0"}
{"time":"2023-11-28T21:21:44.718326067Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/0.3.0/terraform-provider-confluent-schema-registry_0.3.0_SHA[25](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:26)6SUMS"}}
{"time":"2023-11-28T21:21:44.718373175Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"0.3.0"}
{"time":"2023-11-28T21:21:44.777948074Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.1.0/terraform-provider-confluent-schema-registry_0.1.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.777991084Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.1.0"}
{"time":"2023-11-28T21:21:44.807403206Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.7.0/terraform-provider-confluent-schema-registry_0.7.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.807443Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.7.0"}
{"time":"2023-11-28T21:21:44.8396[27](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:28)776Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.3.2/terraform-provider-confluent-schema-registry_0.3.2_SHA256SUMS"}}
{"time":"2023-11-[28](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:29)T21:21:44.839680694Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.3.2"}
{"time":"2023-11-28T21:21:44.874419639Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.8.1/terraform-provider-confluent-schema-registry_0.8.1_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.874456878Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.8.1"}
{"time":"2023-11-28T21:21:44.912244969Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.8.0/terraform-provider-confluent-schema-registry_0.8.0_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.912[29](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:30)0673Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.8.0"}
{"time":"2023-11-28T21:21:44.9[31](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:32)776664Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.3.1/terraform-provider-confluent-schema-registry_0.3.1_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.931861792Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.3.1"}
{"time":"2023-11-28T21:21:44.9429050[41](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:42)Z","level":"WARN","msg":"asset not found","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"github":{"url":"https://github.com/3lvia/terraform-provider-confluent-schema-registry/releases/download/v0.3.3/terraform-provider-confluent-schema-registry_0.3.3_SHA256SUMS"}}
{"time":"2023-11-28T21:21:44.9[42](https://github.com/opentofu/registry-stable/actions/runs/7024681594/job/19113935619#step:4:43)941018Z","level":"WARN","msg":"checksums not found in release, skipping...","type":"provider","provider":{"namespace":"3lvia","name":"confluent-schema-registry"},"release":"v0.3.3"}

Proposed Solution

Update the provider version json files by removing tags with missing assets;
Maintain a separate exclusion list which will be used to skip tags w/o assets.

Rationale
Assets are missing in 14% cases, hence addressing it will give a non-marginal throughput/execution time improvement:

providers total
versions total
versions w/o assets

3584
34492
4884

We do need to be careful as a release could be created for a tag hours or days after the tag is initially pushed.  We would either want to re-check every day or only exclude tags older than a week (for example).


 Only displays major and first minor version, e.g. 1.10 but not 1.10.1.
Before:

After:

Please see #264

Thx


Set up deep learning environment on Comet or Roger

The following extractors are looking for a gpu based deep learning environment. It's a good time to build a docker container or Singularity Image file for this.
All the dependencies I am using now are:

Normal python lib: pyyaml, sympy, h5py, cython, numpy, scipy

Some particular lib: opencv3, easydict, pytorch

Some other dependencies might need to be added as project ongoing.

@ZongyangLi  Sorry for the delay getting started on this.  I'm working on an image now and have opened a ticket with SDSC support. From their response, they are testing an official Pytorch image now.  I'll still try to get mine running in the short term

Yes, that's the right definition file. However, I think Marty's working on a pytorch image (that is in testing) and we should have it ready soon so I will assign the ticket to him and he can follow up with details

I'm working with a collaborator on creating a  Singularity image to leverage Pytorch on Comet.
I see that there is an image with torch dependencies on the system under /share/apps/gpu/singularity/.  Are the image definition files for these available as well?
I've also come across some definitions on Github that may be related: https://github.com/mkandes/naked-singularity/tree/master/definition- files/us/ucsd/sdsc/comet/torch
My current plan is to extend the torch image to add pytorch, unless  there's a better approach.

Just for tracking purposes:
http://www.sdsc.edu/support/user_guides/comet.html talks a bit about the official images on Comet
https://github.com/mkandes/naked-singularity/tree/master/definition-files/us/ucsd/sdsc/comet contains  Martin's definition files

From Comet/XSEDE support:

We've successfully completed the single-node job tests for our new PyTorch Singularity containers [1] [2]. We're still checking if the multinode options are working properly, but I thought I'd let you know where to find the images in case you only have single-node jobs to run.
Let me know if you have any questions.
[1] /oasis/scratch/comet/mkandes/temp_project/singularity/images/pytorch-cpu.img
[2] /oasis/scratch/comet/mkandes/temp_project/singularity/images/pytorch-gpu.img

@ZongyangLi  Will this work?

@ZongyangLi Have you had the chance to look at the images provided by SDSC?

@craig-willis Sorry about the delay, I will have a try next.

Removing milestone.  Zongyang, please update this issue when you've had the chance to review.

I am currently working on this.
Since we don't have a gpu resource right now, I need to convert the code from gpu to cpu first. And the result seems unexpected now. So I have not try the Singularity image yet.

Thanks, Zongyang. Just to confirm -- you don't have access to GPUs via your Comet allocation?

No I did not apply for a gpu resource.

Closing this issue. @ZongyangLi  please open a new issue if you need anything further.


Improve Buttons/src/processing_button.html

Need to improve this component on Buttons/src/processing_button.html
Improvements required :
make it in three different size and blue
Any reference image?

Any external reference?
You can checkout this one for better understanding.

@nik132-eng  go ahead


Clean up extraneous print() statements

Some tests have stray print() statements that might have been left over from local debugging sessions?
I'll gladly submit a PR, but will first post some clarification questions below.  It would be helpful to receive feedback before proceeding.

zipfile module has a lot of print() statements.  Could these be moved to logging?

zipfile module has a lot of print() statements. Could these be moved to logging?

https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L1412
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L1425C13-L1425C19
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L1440C17-L1440C23
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L1498C17-L1498C23
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L1509-L1514
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2106C13-L2108C23
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2119-L2123
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2139-L2140
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2143-L2144
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2149-L2150
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2155-L2156
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2159-L2160
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2166-L2167
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2181-L2187
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/_zipfile_py39.py#L2558-L2560

Tests
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/scripts/json_indexes.py#L33
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/_tests/test_array.py#L111-L112
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/_tests/test_hdf5.py#L35

Not tests
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/authenticators.py#L289-L295
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/adapters/tiff.py#L147

Could/should this one move to a logger?
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/_tests/conftest.py#L86-L89

Thanks for this pass through the codebase. Quick comments for context:
_zipfile_py39 is a copy of the zipfile module from CPython itself, as of version 3.9. I think it's best to leave "vendored" code as is rather than diverge. Context is here:
https://github.com/bluesky/tiled/blob/7c122f9307b52c24cfba4c3b7e23d2ebe720a694/tiled/serialization/awkward.py#L9-L15
I'm inclined to leave this one alone, just a dev-oriented script where logging feels too heavy.
tiled/scripts/json_indexes.py
This is also vendored code (from the JupyterHub SAML authenticator) so I'd tend toward leaving it.
tiled/tiled/authenticators.py
The rest can be deleted or converting to logging as you wish!

Thanks for providing this context.  I'll go with your suggestions.
I was cleaning up some temporary changes on my fork and thought that I might as well do some thorough housekeeping. :)


Add NFT preview to bridge

Describe the feature request
I think having NFT preview when selecting NFT to bridge will be very beneficial for user experience. That way, one is very sure of the NFT they are bridging.
Here's what the current thumbnail looks like:

While we can scan the NFT we want to bridge to crosscheck and confirm, the user experience is 10x smoother if one can just see a preview of the NFTs while choosing.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

If the NFT follows the standard and their metadata aligns with OpenSea standard, we display it. If the contract creator chose to customize away from it, there is not much we can do.
Reach out to the creator and ask for their implementation.

Okay that makes sense. I thought it was just set to default thumbnail since all the NFTs I have (16 of them) didn't preview.
All good then, thanks.


Error after attempting to add a custom template set

Environment

FAST RPM Version: 1.6.1
BIG-IP Version: 15.1.0 Build 0.0.31 Final

Summary
I cloned the bigip-fast-templates set, created a new template and zipped into a new custom template set.
I attempted to add my custom.zip template set via the "iApps  ››  Application Services : Applications LX >> F5 Application Services Templates/Templates" page, but received an error and can no loger use any FAST templates. I get the following error message:
Template errors were found:
stdout maxBuffer exceeded
Steps To Reproduce
List the steps to reproduce the behavior:
Login as admin and browse to "iApps  ››  Application Services : Applications LX >> F5 Application Services Templates/Templates".
Expected Behavior
A clear and concise description of what you expected to happen.
The list of installed templates should appear.
Actual Behavior
A clear and concise description of what actually happens.
Please include any applicable error output.
None of the installed templates are listed. Instead, I get the following error message:
Template errors were found:
stdout maxBuffer exceeded

I haven't been able to find a way to recover from the error. Reinstalling the RPM packages and rebooting the BIG-IP appliance does not allow me to use FAST.
I deployed a new BIG-IP VE and was able to successfully install my custom template set after manually deleting the pre-installed "bigip-fast-templates".

Closing.
This issue has been resolved with Release 1.8.


Implement RemoveTx RPC method

New Tendermint release introduced RemoveTx method. It needs to be implemented.
https://github.com/celestiaorg/optimint/blob/tzdybal/latest-cosmos/rpc/client/client.go#L554
Blocked by: #350

Hi tzdybal, I am interested in implementing solutions for these RPC issues. Is it still blocked by #350?

Hey @allanperlee! Currently we can't merge #350, because of dependencies. But you can work on this, just start by branching from tzdybal/latest-cosmos, and create PR with this branch as a target. This way your changes will find a way into main eventually.

Excellent, thanks for assigning this to me. This RPC method should invoke a c.type method correct? I referred to the import for ctypes "github.com/tendermint/tendermint/rpc/coretypes" but it is nonexistent. Is there another go file with this type that can be used for reference?

This method should probably invoke RemoveTxByKey on mempool.

This method does not exist in 37+ anymore.


Recommended install method doesn't work behind firewall

I received reports that the recommended install method doesn't work behind a firewall. I started https://github.com/nicklauslittle/airpwr/tree/alt-install to come up with an alternate install method which modifies README.md, but haven't been able to test it yet.
I believe this issue exists because raw.githubusercontent.com is blocked by the firewall. If anyone thinks of a better solution besides modifying README.md, let me know.

Closed by #75.


Remove un-named callbacks and raw integers from Darwin framework API.

Switches to typedefs for all the callbacks and using NSNumber for numbers, except in MTRDeviceController (and the XPC version), which will need some more complicated changes.
Addresses part of https://github.com/project-chip/connectedhomeip/issues/22420
Review notes:

MTRClustersObjc_internal.h was unused, and was not actually being generated, in spite of living in zap-generated.
The removal of the "this file generated by ZAP" comments is also part of #22420 and is included here on purpose, since I was touching some of those files anyway.

Issue Being Resolved

Fixes #18020

Change overview
See above.

Fast tracking platform fix with owner approval.


run scan and build at the same time

Good idea. To do this we would need to split the phase where we can perform modifications out into a separate handler, so that any modifications are guaranteed to be built.

Fixed


Handle missing repodata.json

conda build purge-all removes various folders, including conda-bld/noarch which leads to this error in conda mambabuild:
Traceback (most recent call last):
  File "/home/peter/miniconda3/bin/conda-mambabuild", line 8, in <module>
    sys.exit(main())
  File "/home/peter/miniconda3/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 278, in main
    solver.replace_channels()
  File "/home/peter/miniconda3/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 149, in replace_channels
    self.local_index = get_index(("local",), platform=self.platform, prepend=False)
  File "/home/peter/miniconda3/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 111, in get_index
    is_downloaded = dlist.download(True)
RuntimeError: Download error (37) Couldn't read a file:// file [file:///home/peter/miniconda3/conda-bld/noarch/repodata.json]

Just writing a {} to repodata.json seems to be a workaround for me.

I'm having the same issue on 0.3.0 if I use the --output-folder option.
Running conda mambabuild conda --no-test --output-folder build raises the mentioned exception.
running without --output-folder works fine, and subsequent calls works also with it.


Tapping up arrow just after sending a message will edit the previous message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to a conversation
Send a message
Immediately press the up arrow

Expected Result:
Describe what you think should've happened
Actual Result:
Describe what actually happened
Workaround:
If the user wait a bit after sending the message, pressing the up arrow will edit the correct one.
Platform:
Where is this issue occurring?
Web ✔
iOS
Android
Desktop App ✔
Mobile Web
Version Number: 1.0.69-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/44479856/122287196-973ca280-cee8-11eb-9bbf-d3773c345d5b.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork

From @mallenexpensify https://expensify.slack.com/archives/C01GTK53T8Q/p1623794486366900

Clicking the up arrow to edit the last text is opening the previous text, not the most recent. Desktop Version 1.0.68-4. Vid in

Triggered auto assignment to @jasperhuangg (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Writeup looks good, gonna throw this back into the pool 👍

Hello, I am the developer that implemented the feature originally. The messages become editable only after client receives the reportActionID from BE. This didn't seem like an issue because the context menu you see when you hover over the message doesn't allow edit until it has a reportActionID too. In fact, we have even abstracted the check into a canEditReportAction function that is I believe used for both cases now.
I believe it is justified because as of now, with the way editReportComment and the storage of draft messages in onyx is implemented, they require reportActionID to both open the message draft box and send the update to BE. This whole flow needs to be rethinked, if we are to allow editing of unsent messages.
If you decide to make this one external I will try to find a solution, but at moment I sadly do not have any idea about even the exact scope of required changes.

@jasperhuangg can you confirm that a Contributor can work on this? And, if so, add the External label? Thanks.

Triggered auto assignment to @arielgreen (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Closing per this discussion, we can reopen later if we change our minds.

Did I just bring this up in a chat this week? I thought so but not seeing here nor in Slack.  This issue happens to me many times a day and is annoying.


AddContent Suggestion: Bitcoin ATM's to Get Bitcoin

Link to Content: https://coinatmradar.com/
Briefly Describe Content: Provides locations of Bitcoin ATM's in users area to buy Bitcoin
Suggested Section: Suggest checking verification information of ATM before visiting due to differences in verification/KYC requirements to ensure more private purchasing of BTC. There are often other coins offered at ATM's, but the privacy enhancing feature of being able to buy <$900 of BTC using only SMS verification (burner) and Name (any name) is too much to overlook imo.

This site is not bitcoin only. They provide info to look specifically for atms that sell altcoins.
Example: https://coinatmradar.com/ether-atm-map/

Thanks Pardus


Added support for the new compression argument in netCDF4 > 1.6.0

[x] Closes #6929
[x] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst

I think this is ready, unfortunately it does not make sense to merge it yet, and one test is failing, because netcdf-c 4.9.0 is not yet available in conda-forge (see https://github.com/conda-forge/libnetcdf-feedstock/pull/140). So I would put it on hold.

I think this is ready, unfortunately it does not make sense to merge it yet, and one test is failing, because netcdf-c 4.9.0 is not yet available in conda-forge (see https://github.com/conda-forge/libnetcdf-feedstock/pull/140). So I would put it on hold.

Should exist now.

Thanks @markelg!

Sorry for the delay, I completed all the remaining tasks. I hope is ready now. There are some error in the tests but look unrelated to this. There seems to be an assert equal failing because of a nan and nan !=nan.


More detailed options screen

Description
Major Hitlist for this includes:

[ ] Volume
[ ] PvP Toggles

Okay, so looking through how to do this. After a bit of experimenting, it is looking like options screen might have to be broken down a bit.
So here are my subtasks:

[ ] Move Character Selection & Keybinds to independent nodes
[ ] Create tab container for options holding each
[ ] Have the ability to create an instance of that node from the main menu & the esc menu
[ ] Add Sound tab
[ ] Add PvP toggle to probably same area as character creation, maybe Gameplay?

What about putting the PvP toggle right beside the host button before the server is created? That way, it's very visible and quick to toggle. I'm not sure if you want to be able to toggle between it during gameplay as well, that may have to be part of the ESC menu or something.

What about putting the PvP toggle right beside the host button before the server is created? That way, it's very visible and quick to toggle. I'm not sure if you want to be able to toggle between it during gameplay as well, that may have to be part of the ESC menu or something.

Is that something only configurable on the server?

Okay, so for the PvP toggle, my thought is that if it's a server-wide thing (like PvP & PvE servers), we'll have to build out a server config system. (Like a global dictionary of data that is server authoritative that syncs with clients) so that data can be handled.
If it's a player to player thing, we could just add it to the globals and if the incoming damage is detected to be from a player, it will just ignore it.
Pick your poison.

I think server configuration would be great, but how long would that take? If too long we can push that to down the line/with the rewrite.


Persist options of plugin

Hi,
I spent some time adding some warnings I want to exclude for Clang. Whenever I restart VS 2017, these configurations are reset. Is there a specific "save action" I need to run or does the pluing not persist the settings for clang + clang-tidy?
Thanks

Hi,
I'm not sure what exactly is the issue on your machine, but the configuration properties for Clang Power Tools should be automatically saved between sessions.
Visual Studio handles this functionality automatically; there's nothing you should do explicitly.
(this is not something we handle in our extension code)
Maybe you should try repair for Visual Studio...

Weird. I just tested it again:

I open VS 2017
I paste my set of Clang warnings into "Compile Flags"
I close VS and reopen
I see the original set of options.

Is there anything wrong here? I can try Repair as well.

Is seems we were finally able to reproduce the issue.
So weird... there seems to have been some regression there.
We're working on a fix right now.
We'll let you know when it's done.
Thanks for the feedback.

Well, thanks for taking the time to investigate. Great work on the plugin.
On Thu 16. Nov 2017 at 17:43, Victor<EMAIL_ADDRESS>wrote:

Is seems we were finally able to reproduce the issue.
So weird... there seems to have been some regression there.
We're working on a fix right now.
We'll let you know when it's done.
Thanks for the feedback.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Caphyon/clang-power-tools/issues/113#issuecomment-344983006,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCSUNcJOFTWmSKqmjOQpE3oU9nbCgj6ks5s3GYngaJpZM4QgOPv
.

--
Thanks,
Robert
Sent from my mobile device. Please excuse brevity and typos.

This issue was fixed in the new version 1.7.0 just released : https://marketplace.visualstudio.com/items?itemName=vs-publisher-690586.ClangPowerTools


Added Dockerfile

Added Dockerfile
Added install.sh

Condition it works on

Container already built and running
Container is not running
Container is not built

Command

sh install.sh (mac)
./install.sh (ubuntu)

@tnorimat  Would you like this feature? Or its of not importance at moment? . I have tested your application it runs fine with this setup

@hypermine-bc Thank you. I would like to run it on my environment afterwards.


Catalyst Support

I just tried Timelane in my iOS app, it's real nice.
It worked fine in the Simulator, tho it did not seem to work in Mac Catalyst.
p.s. @icanzilb epic talk on UIKonf!

Thanks! I don't I've tried Catalyst support so far - that's only Catalina though right?

Indeed, it's only Catalina.

Thanks, hopefully someone creates a PR for that 👍🏼


spirv-fuzz: Relax type checking in TransformationRecordSynonymousConstants when dealing with integers

Signed and unsigned integers will have different type ids. It would make sense, though, to consider them equivalent in TransformationRecordSynonymousConstants.
Related to PR #3537

This should be the behaviour:

a signed integer of some value can be considered equivalent to an unsigned integer of the same value
if these integers are in some composite constants, these constants should not be considered equivalent

What about vectors?  I think we should consider integer vectors that have equivalent components as being equivalent even if they have different sign.

Also for matrices?
I have seen that you can give any type of integers to an integer vector, regardless of the type of the vector.
However, you can't interchange two vectors of different types (e.g. vector of signed integers with vector of unsigned integers).
So we should probably consider vectors that have equivalent components as being equivalent even if the components have different sign, however the types of the vectors must match exactly.
Do you agree or are there any situations in which it would be useful to consider vectors of different signs synonyms (e.g. some operations where they can be interchanged)?

Looking in the spec, I have seen that most arithmetic and bitwise logic operations operate both on integer scalars and vectors and don't care about their signedness, so I agree that it actually does make sense to consider two integer vector constants equivalent if their components are equivalent, regardless of whether their type is equivalent (and update the checks in the ReplaceIdWithSynonyms IsApplicable method to ensure that swapping the ids is only allowed for some operations if the types don't match exactly).


check extension

check extension

Score of Midnight_dev vs Midnight_master: 367 - 286 - 349  [0.540] 1002
...      Midnight_dev playing White: 239 - 94 - 168  [0.645] 501
...      Midnight_dev playing Black: 128 - 192 - 181  [0.436] 501
...      White vs Black: 431 - 222 - 349  [0.604] 1002
Elo difference: 28.1 +/- 17.4, LOS: 99.9 %, DrawRatio: 34.8 %
SPRT: llr 2.95 (100.3%), lbound -2.94, ubound 2.94 - H1 was accepted