run model.model with error

root@1629d6059649:/workspace/neural-supersampling# python -m model.model
.E
ERROR: test_zero_upsampling (main.TestModel)
Traceback (most recent call last):
File "/workspace/neural-supersampling/model/model.py", line 202, in test_zero_upsampling
zu = ZeroUpsampling(3, 2)
File "/workspace/neural-supersampling/model/model.py", line 16, in init
kernel = torch.zeros((channels, 1, upsampling_factor[1], upsampling_factor[0]), dtype=torch.float32, requires_grad=False)
TypeError: 'int' object is not subscriptable

Ran 2 tests in 0.039s
FAILED (errors=1)

I try to change the code as below, it works fine.
From:
zu = ZeroUpsampling(3, 2)
To:
zu = ZeroUpsampling(3, (2,2))

Good catch, should be fixed now


added proper url

Description
i corrected the url in all the axios request you are making the http://localhost:5000 was missing from the url
http://localhost:5000 this is the address where your backend is running

Fixes #285

Type of change
Please delete options that are not relevant.

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

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes
[ ] I have maintained a clean commit history by using the necessary Git commands
[ ] I have checked that my code does not cause any merge conflicts

please add gssoc-ext and level2 before  merge @theashikagupta

resolve merge conflicts

resolve merge conflicts

Completed @theashikagupta


Shared test runner

Product and Version [VS/VSCode]: VS Code Insiders
OS Version [macOS/Windows]: Windows
Live Share Extension Version: Current
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:
Running debugger shares debug output, but test runner does not share test output. It would be nice if test runner could be shared as well, so both participants can view test results.

@jtleaming Thanks for the suggestion! Just to make sure we understand your current workflow, could you clarify how you’re currently running your tests? Are you running a command in the integrated terminal? Using an extension (e.g. the Java Test Runner)? Using a tasks.json task?

We were running the tests from within the IDE. So these were dotnet tests using the xunit runner. Co-running from the terminal would also be useful.

Just to confirm: are you running these tests in VS Code using the run test CodeLens that the C# extension contributes (like below)?

We've got a feature request tracking the ability to share a terminal session, which would allow the host to share a terminal, run a test command (dotnet test?) and then all participants would be able to see it.
Additionally, we've got a feature request tracking the ability for guests to run task.json tasks remotely, which could include a "test" task.
However, you bring up a great point that there are other arbitrary ways to automate actions/commands in VS Code, which in turn, generate output windows (e.g. test output). And so, we can use this issue to track that use case.

Thanks for the clarification, I wasn't sure what to call this. But yes, the run test CodeLens.

This has now been addressed in the latest Live Share release 🔥 Check out the release notes for more details. Thanks again for the feedback here 👍


[FIX] Mobile view close #21

Common module and css varibles, margin Y for alerts and specific switch
position in the various pages.

great job!!

Thank you!


[FEATURE] Add support for ingressClassName in locust helm chart

Is your feature request related to a problem? Please describe.
kubernetes.io/ingress.class annotation is progressively replaced with ingressClassName in the ingress as of v1.18. See this related blog post.
Describe the solution you'd like
Support for ingressClassName in helm chart
See related issue and merged code

Thanks, i am new to forking, i was just about to create the PR but it looks like someone beat me to it :)
https://github.com/deliveryhero/helm-charts/pull/259


AttributeError: 'AskFileResponse' object has no attribute 'content'

I tried to run the code. However, I get the error like:
AttributeError: 'AskFileResponse' object has no attribute 'content'
in the code
pdf_stream = BytesIO(file.content)
According to the source code at https://github.com/Chainlit/chainlit/blob/4c08c24c807ac5e075646845827c9826bbed888a/backend/chainlit/types.py#L88, AskFileResponse does not have the attribute of "content"
class AskFileResponse:
    id: str
    name: str
    path: str
    size: int
    type: str

How to resolve this issue?
Thanks

The updated version of chainlit "AskFileResponse" doesn't comes with a "content" attribute anymore, rather you can open "file.path" using this format:
for text and pdf files, you can use:
with open(text_file.path, "r", encoding="utf-8") as f:
content= f.read()
and for csv files:
import pandas as pd
content = pd.read_csv(file.path)

@liu-xiao-guo , the packages used will be constantly updating, but can you try this, it should work.

I use pdf_qa.py as an example. I got an error like:

I do not know what is the root cause of the problem.

@liu-xiao-guo Glad that you fixed it.


launch command: pass flags to main class

Is there a way to pass flags to the --main class that's started with the launch command? Example use case:
coursier launch com.geirsson:scalafmt-cli_2.11:0.2.3 --main org.scalafmt.cli.Cli  --flags "--file Foo.scala -i"

This would start the org.scalafmt.cli.Cli main with args --file Foo.scala -i.  I couldn't find any examples in the docs. I imagine this could be a simple way for linux/windows users to install scalafmt. It feels cleaner than my current "download scalafmt.jar" solution.

This:
coursier launch com.geirsson:scalafmt-cli_2.11:0.2.3 --main org.scalafmt.cli.Cli  -- --file Foo.scala -i

should work :-)

I had tried, it doesn't seem to work on in either bash or zsh on my OSX machine
$ coursier launch com.geirsson:scalafmt-cli_2.11:0.2.3 --main org.scalafmt.cli.Cli  -- --file Foo.scala -i
Cannot parse dependencies:
  Malformed coordinates: --file
  Malformed coordinates: Foo.scala
  Malformed coordinates: -i

Maybe you need to update your coursier launcher then (what does coursier --help says? this exact syntax should work since 1.0.0-M11 IIRC. -- -- should work for previous versions though).
Note that you can drop the --main argument here, as the main artifact seems to have a Main-Class in its manifest, like
./coursier launch com.geirsson:scalafmt-cli_2.11:0.2.3 -- --file Foo.scala -i

My bad, I was using 1.0.0-M10. It does work on 1.0.0-M11-1. Excellent, thank you for the prompt response! :)


Expose QueryScheduler from ServerInstance

Expose QueryScheduler from ServerInstance for custom implementation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (f7d704a).
Report is 1450 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (f7d704a). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (f7d704a)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14630       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Get balance without QBitNinja?

It seems QBitNinja is not supported in Unity. (.Net 3.5) Is there other way I can get balance? Is there an equivalent method to ListReceivedByAddress()?

You can use unity with 4.6 I think. Even if still a bit experimental, it should work.

@NicolasDorier Thanks for replying. We are trying to avoid experimental feature, so there is no such function in NBitcoin repo? even ListReceivedByAddress()?

Also, I noticed "On iOS, I have not implemented it and you will need to create your own IRandom implementation." Does that mean in IOS, if I want to generate new private key, I have to implement my own IRandom? Where should I implement it?

This is outdated, if you just reference NBitcoin (not NBitcoin.Mono), it will work. Ignore the comment on iOS.
QBitNinjaClient is kind of simple, just doing HTTP request to get and parse data from http://api.qbit.ninja/ , so you might dev a simple client. (Or replicate the code of QBitNinja and replace only what is giving you issues)
I advise you to try 4.6. For two reasons:

NBitcoin is up to date, while the unity version is an old fork
QBitNinjaClient will work

I am interested by any feedback you would have if going to 4.6 is harder than expected.

@NicolasDorier i am having no declaration error of GetPoWHash in network, is it because it is 4.6 only? To use do I jsut build using master branch instead of  unity35?

With Unity 46 you can just use master branch. (Or more easily, just download the dll of the nuget website, and use that in your project, so you don't even need to recompile)
Same things with QBitNinjaClient.

Closing due to inactivity, reopen if my response did not helped.


JIRA-1 Adds additional testing to source tables

Added NOT NULL & LENGTH tests to the geo_id column of raw cases data

LGTM!

This was a sample PR raised for a demo.


Unhandled Promise  - why is this happening?

I have what is essentially boilerplate code from the node-js-buy example that works on one site (store.bubbies.com) but not another (store.cookspantry.com) The only differences are the views and the storefrontAccessToken / domain in js-buy-sdk.js On the cook's store, when I try to add an item to the cart, PM2 throws UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'id' of undefined.

This was happening because Title was not being submitted.


Update for the removal of Pod::SourcesManager

Compatibility with https://github.com/CocoaPods/CocoaPods/pull/5106.

(Only failures are rubocop)

Cool, looks good


Enable retina detection functionality from Leaflet

Enabling detectRetina does not cause tiles of 2x the size to be requested from the IIIF endpoint, and does not seem to affect any other aspect of tile loading (zoom, for instance, is the same regardless of whether or not it is enabled).


certificate not saved to wallet sometimes

I think there is a strange edge case where certificates are not saved to the wallet file. Niko has run into this and Sean recently did as well. I'll try to get the logs from Sean's recent mishap, but I confirmed the channel exists, it's in his wallet, but the certificate does not. He had successfully saved a channel a few minutes earlier.

Looks like it's because of this exception:
19-07-24 14:21:43,858 INFO     torba.client.baseledger:134: lbc_mainnet: added BlockHeightEvent(height=605613, change=1) header blocks, final height 605613
2019-07-24 14:22:38,891 INFO     torba.client.baseledger:134: lbc_mainnet: added BlockHeightEvent(height=605614, change=1) header blocks, final height 605614
2019-07-24 14:30:04,370 WARNING  torba.client.basenetwork:239: Timeout connecting to spv2.lbry.com:50001
2019-07-24 14:30:04,370 WARNING  torba.client.basenetwork:239: Timeout connecting to spv4.lbry.com:50001
2019-07-24 14:30:04,371 WARNING  torba.client.basenetwork:239: Timeout connecting to spv8.lbry.com:50001
2019-07-24 14:30:54,043 ERROR    lbry.extras.daemon.Daemon:586: error handling api request
Traceback (most recent call last):
  File "lbry/extras/daemon/Daemon.py", line 580, in _process_rpc_call
  File "lbry/extras/daemon/Daemon.py", line 1949, in jsonrpc_channel_create
  File "lbry/extras/daemon/Daemon.py", line 3502, in broadcast_or_release
  File "torba/client/basenetwork.py", line 31, in send_request
  File "asyncio/tasks.py", line 449, in wait_for
concurrent.futures._base.TimeoutError
2019-07-24 14:30:54,211 INFO     torba.client.basenetwork:101: Successfully connected to SPV wallet server: spv1.lbry.com:50001
2019-07-24 14:30:54,212 INFO     torba.client.baseledger:265: Subscribing and updating accounts.
2019-07-24 14:30:54,260 INFO     torba.client.baseledger:134: lbc_mainnet: added BlockHeightEvent(height=605617, change=3) header blocks, final height 605617
2019-07-24 14:30:55,576 INFO     torba.client.baseledger:119: (lbc_mainnet) on_transaction: address=bTwDbEY9Ar4F61PuMhK9a3H8PB5wAXXZbt, height=0, is_verified=False, tx.id=bc747d8cb82c432a2eb9219ea0f1e36ae6c01a17b458ab9726fe02ac823655aa
2019-07-24 14:30:55,578 INFO     torba.client.baseledger:119: (lbc_mainnet) on_transaction: address=bRYnmhyk2rH9H2kqofbZ4iVmaFbmb5ZGGX, height=0, is_verified=False, tx.id=bc747d8cb82c432a2eb9219ea0f1e36ae6c01a17b458ab9726fe02ac823655aa
2019-07-24 14:30:55,579 INFO     torba.client.baseledger:119: (lbc_mainnet) on_transaction: address=bHKxQsj4sDZbnxgNMfREJ6g2PkN72F6k9H, height=0, is_verified=False, tx.id=bc747d8cb82c432a2eb9219ea0f1e36ae6c01a17b458ab9726fe02ac823655aa

fixed in https://github.com/lbryio/lbry-sdk/pull/2347


Preserve Order of Projections in GROUP BY Query

Preserve Order of Projections in GROUP BY Query
Description
Preserve Order of Projections in GROUP BY Query.
Type of change
Please delete options that are not relevant.

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

    private sealed class EagerCosmosObject : CosmosObject

please merge w/ the OrderedCosmosObject class

Refers to: Microsoft.Azure.Cosmos/src/CosmosElements/CosmosObject.EagerCosmosObject.cs:20 in 41c836b. [](commit_id = 41c836b2d541414a89ccac1f2c30253352053899, deletion_comment = False)


Fixed errors with query user profile

Removed fields last_ad_referral and is_payment_enabled
Changed Facebook Graph API version from v2.11 to v3.2

Facebook added some changes to their API and they deprecated fields last_ad_referral and is_payment_enabled.
Thus when we try get user profile with user API url which exists in library
https://graph.facebook.com/v2.1/%s?fields=first_name,last_name,profile_pic,locale,timezone,gender&access_token=%s

We receive an error:
{"error":{"message":"(#100) The last_ad_referral and is_payment_enabled fields are now deprecated. Please refer to our Developer Document for more info.","type":"OAuthException","code":100,"error_subcode":2018254,"fbtrace_id":"C70C1WPQQxV"}}

For fix this I removed deprecated fields.
Facebook Profile API description
Thanks,
Vitaliy

Hello,
So what is with my PR?
May be need some changes for merge?
Thanks,
Vitaliy

Close PR, because there is no feedback

Hi
I tried this new change in my project and its working fine. It would be
better if we add this to the official release.
On Wed 6 Mar, 2019, 6:36 PM Vitaliy Gonchar<EMAIL_ADDRESS>wrote:

Closed #114 https://github.com/messenger4j/messenger4j/pull/114.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/messenger4j/messenger4j/pull/114#event-2184060968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATbzOXzz-fvm4IZsbiPpFBUSZWPuk6elks5vT704gaJpZM4ak5K3
.

Coverage decreased (-0.3%) to 80.632% when pulling 443378bfdbaf43268212bf6cf5c553efc81093d8 on WeaxMe:develop into 1f7ae3de8330286bbd011df6b15d15ac6c415b28 on messenger4j:develop.

Thanks Vitaliy for your contribution. Appreciate it!


URL encoded password doesn't work with Microsoft SQL Server

Bug description
Given a password with special characters (eg. =) the docs state they should be url-encoded. Unfortunately this doesn't work with Microsoft SQL Server.
How to reproduce

password: yourStrong(!)Password=
.env: DATABASE_URL="sqlserver://localhost:1433;database=test;user=sa;password=yourStrong(!)Password%3D;trustServerCertificate=true;"

Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": SQL Server database

Error: Migration engine error:
Performing a TLS handshake
Trusting the server certificate without validation.
TLS handshake successful
Turning TLS off after a login. All traffic from here on is not encrypted.
Login failed for user 'sa'.
Login failed for user 'sa'.

Expected behavior
No response
Prisma information
datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL")
}

Environment & setup

OS: Windows
Database: SQL Server
Node.js version: v19.8.1

Prisma Version
prisma                  : 4.12.0
@prisma/client          : 4.12.0
Current platform        : windows
Query Engine (Node-API) : libquery-engine 659ef412370fa3b41cd7bf6e94587c1dfb7f67e7 (at .yarn\unplugged\<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 659ef412370fa3b41cd7bf6e94587c1dfb7f67e7 (at .yarn\unplugged\<EMAIL_ADDRESS>Format Wasm             : @prisma/prisma-fmt-wasm 4.12.0-67.659ef412370fa3b41cd7bf6e94587c1dfb7f67e7
Default Engines Hash    : 659ef412370fa3b41cd7bf6e94587c1dfb7f67e7
Studio                  : 0.483.0

Nevermind, should have read the Microsoft documentation: https://learn.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver16#escaping-values-in-the-connection-url
Both of these work
DATABASE_URL="sqlserver://localhost:1433;database=test;user=sa;password={yourStrong(!)Password=};trustServerCertificate=true;"

DATABASE_URL="sqlserver://localhost:1433;database=test;user=sa;password=yourStrong(!)Password{=};trustServerCertificate=true;"


[Feature Request] conda-forge-hosted Anaconda package

Hi, @tusharsadhwani! I'm baaaaaaaack. It's like a horror movie – only less unsettling and more awkward.
I have a new feature request, which you are (of course) welcome to ignore or refuse. I just realized, though... an Anaconda package for pytest-beartype would be the chef's kiss. Do you have any experience with conda-forge? If not, wonderful! This is your lucky Thursday. @beartype offers many novel experiences, including joining conda-forge and submitting your first conda-forge package. Excitement! Thrills! Code!
Let me know if you'd like any assistance here. I currently maintain @beartype's official conda-forge feedstack. This is a bureaucratic workflow I know all too much about. If this is your first time around the bend, here's my tl;dr:

Follow the official instructions at the conda-forge/staged-recipes repo. Pretty simple stuff, really. Fork the repo blah blah. Boring!
Create a new conda-forge recipe for pytest-beartype in your staged-recipes fork. The easiest ways are probably to either:

Copy-and-paste @beartype's official conda-forge recipe into your staged-recipes fork. Hack on it a lot little bit. Viola! Recipe hopefully works.
Use Greyskull to auto-generate a pytest-beartype recipe from your existing PyPI package. Never tried this, honestly – but it's bound to magically work great, right? Devtooling is fun. :yum:

Oh – and thanks again for all your sumptuous efforts here. You are the hero of QA.

Sounds legit. I'll hack on this, perhaps on the weekend, since I'm traveling back home as of now.

Legit. Gods, how I've missed hearing that word. Sounds great! Take your time. No rush whatsoever. It's all fun and hacking, here. Oh – and have a great trip, especially if you're travelling by train!
Gods, how I miss trains. Riding the Shinkansen (bullet train) in Japan was a peak experience I shall always treasure. :bullettrain_front: :train: :dash:

Oh yes, Shinkansen is nuts. I hear they're making an even faster one to go between Tokyo and Osaka in about an hour.

Oh. Oh. Oh. As if Japan couldn't get any more peak. Someday, Canada may catch up to where Japan was in the 60's. I cry while laughing. :rofl:
Hope you had a great trip! Bengaluru looks so gorgeous. I had no idea. I'm genuinely shocked. I'm a huge sucker for botanical gardens. They're literally everywhere in that city. It's like one big giant sprawling garden where people incidentally live. Props for choosing Teh Coolest City Evah.

Bangalore would be pretty cool if most of the lakes were kept clean (they often reek especially during rain season) and they was better public transport (it has the 2nd worst traffic times, just next to London).
I'm sure Indian megacities will get there in a decade or so. Gardens always greener on the other side kinda thing.

I'll probably be going the smithy route, pixi seems much more to be a very helpful conda installation tool than a very helpful conda publishing tool

Gah! I feel sorrow for not replying sooner. This summer has been a Canadian hothouse madhouse. Our fridge broke in a heatwave and now the freezer-burned scallops are all rotting in buckets. Uhm... I've said too much. What I meant to say was:

"I recall conda being super easy. Just go the conda-forge route unless you hate yourself, in which case please carry on with Smithy. Actually, learning Smithy could be super-fun. No idea! Never bothered. But perhaps bothering is worthwhile if you're deep into the tooling side? Frankly, conda-forge is the only reason I published @beartype to conda. Without conda-forge automation (...which I only barely and dimly comprehend), conda would be too utterly painful to support.

conda-forge. conda-forge is what I'm saying while I sweat in this heatwave to the smell of rotting scallops. :joy:
Specifically, either:

Consider following this 4-Step Plan to manually generate a new conda-forge hosted package. This is what I did. I don't need yet another automation toolchain like Grayskull in my open-source life. I've already got so many of those toolchains in my dev kit already that I can barely pick my dev kit up.
Install Grayskull if you live dangerous, wild, and carefree.

Hope you're having an awesome summer in Bengaluru. Rotting smelly lakes sounds... not so great, admittedly. But it could be worse! Like, Bengaluru could be out of water entirely. Wait. Didn't that happen? Wait. How could Bengaluru be out of water when it's surrounded by rotting smelly lakes? Hmmmmmm. Ok. I get it. I wouldn't want to drink from a rotting smelly lake, either. :sweat:

Thanks for this lovely package!
I've started https://github.com/conda-forge/staged-recipes/pull/28068.
Hopefully it will be reviewed, (maybe fixed, pass again, etc.) and then should be available on conda-forge shortly thereafter.
Upstream maintainers are certainly welcome to participate as maintainers: add a comment on that PR (or on an issue in the future conda-forge/pytest-beartype-feedstock to that effect) and you, too, can Press The Button when the bot makes PRs after new PyPI releases (usually in a few hours).
Of note: it would be lovely if the tests were shipped along with the .tar.gz on PyPI. This would be either a single line in MANIFEST.in, or a general pyproject.toml overhaul, either of which I'd be happy to PR, if desired.
Having (or even running) isn't a blocker to getting on conda-forge, as the recipe can pull the GitHub tarball (provided it continues to be tagged). However, having just one file/SHA does reduce packaging entropy: GitHub tarballs have change their SHAs, while PyPI packages generally can't.

I'll happily accept the changes, whatever is cleaner, to pyproject or manifest. Thanks for wrapping up the work on my behalf :D I'm truly grateful

Can you clarify how I can posess the powers of The Button? what kind of comnent on that PR do I need to drop?

posess the powers of The Button

Make a comment on that PR to the effect of:
I, @tusharsadhwani, as the upstream maintainer of `pytest-beartype`, do solemnly swear
to share in the duties of conda-forge maintainership of this package.

or, more simply, Please add me as a maintainer
Then I'll add you to the meta.yaml#about/maintainers key, and lots of magic stuff will happen after the merge, resulting in an invitation to the conda-forge org. You'll start getting emails, and can make any needed non-bot PRs from a fork... just don't generally do anything directly on the future pytest-beartype-feedstock repo, as pretty much any commit will result in the machine trying to ship.

I've released a patch release: v0.1.1 to reflect the sdist changes.

Now up, might be a few minutes before it's on all the CDN nodes:
https://anaconda.org/conda-forge/pytest-beartype/files?version=0.1.1

(here's the new repo: https://github.com/conda-forge/pytest-beartype-feedstock)

Awesome work!
I plan on releasing v0.2 soon enough with #9, hopefully the conda release will just go through, but if it doesn't I'll tag you here.
Thanks again 😄

Yep. Good packaging metadata makes the bot happy, good luck on #9!

You may see some emails about https://github.com/conda-forge/pytest-beartype-feedstock/pull/1 : this will just give us some better future PR messages when 0.2 lands. Feel free to review (and/or Press The Button), but will likely self-merge. As we have robust tests in place, we could let that autoupdate and automerge, but I don't mind putting at least one set of human eyeballs in the loop.

Wow, cool. :tada:
The bot takes a while, but you can juice it with an issue with the title @conda-forge-admin please update version. It'll start a draft, grab the versions, etc... but won't complain about dep changes (if any).
Feel free to go for it, or i can hit it later!

WOAH. This issue went light-speed faster than a greased weasel through a jar of peanut-butter. Thanks so much to:

@bollwyvl for forging this magical conduit between pytest-beartype and @conda-forge.
@tusharsadhwani for graciously maintaining this mad package for nearly... wait. Has it really almost been a year?!? :face_holding_back_tears:

Team Bear: Let's gooooo!


Bug Incorrect Cell updated with SetValue via numeric IDs

With the update from V2 to V3 there does not appear to be a way to reliably update cells based on column + row numerical IDs anymore.
While setValue seems to work well enough with single-digit updates (I.E updating col 2 with row 5 will update the correct cell), as soon as you get to double-digit ID's it splits the value wrong and updates the wrong cell, (I.E updating col 2 row 15 will update col 2 in row 1).
As far as I can tell this seems to stem from the new system relying on Excel formatted cell IDs (I.E C15) instead of both like V2.
If this is intended, perhaps a setValue equivalent of getValueFromCoords is required?

Sorry, I have tested now. It seems to be working fine. I was not able to see any problem. Can you create a jsfiddle so it will be easy to replicate any possible problem, please?

Just in case, setValueFromCoords seems a good and simple idea. So, it has been done.

Thank you very much for implementing setValueFromCoords, I've just had a chance to implement it and its done exactly the trick
I get a feeling I was/am using setValue wrong if you are unable to replicate it, regardless I have included a JSFiddle example of my previous implementation as requested just in case:
https://jsfiddle.net/qyz0fpah/

This will not work since 016 does not exist. Please use more excel like column names.
function Numeric() {
  table.setValue('016', 'update')
}


Version 2 source code

Hi, I was redirected from the website to use tomoscan v2 but haven't seen any source code about tomoscan v2. Is tomoscan v2 close source?

Yes, it is close source


encountered an error when running this workflow using ComfyUI on Colab

Hi,I am using ComfyUI on Colab, and I encountered a problem when running this workflow; it seems that the DynamiCrafter model I downloaded was not recognized. I have saved the DynamiCrafter model at the location /content/ComfyUI/models/checkpoints/dynamicrafter_models.

Failed to validate prompt for output 49:

RescaleCFG 52:

Return type mismatch between linked nodes: model, DynamiCrafter != MODEL

VAELoader 53:

Value not in list: vae_name: '1.5\vae-ft-mse-840000-ema-pruned.safetensors' not in ['Anime.vae.pt', 'AnythingmodelVAEv4.0.pt', 'VAE84.vae.pt', 'orangemix.vae.pt', 'sdxl_vae.safetensors']

DynamiCrafterProcessor 40:

Exception when validating inner node: tuple index out of range
Output will be ignored

There should be four files in this directory.

Thank you very much! I'll try it right away!!


doc is formatted incorrectly on phone

This will be fixed by #467

great - -the menu is also different.


need the algorithm to be set to HS512

I need set the signature algorithm to HS512, I don't know how to do.
Then I modify the source, and add a function:
public void setAlgorithmName(String algorithm) {
JWSAlgorithm alg = null;
alg = JWSAlgorithm.parse(algorithm);
if (alg != null)
super.setAlgorithm(alg);
}
and modify the shiro.ini as this (using buji)
signingConfig.algorithmName=HS512
or any configuration item I can set .

This is not a support channel. Please discuss support questions on lists.


dbeaver/dbeaver-ee#1563 Shortcut for exporting the ERD diagram

A separate command was introduces for this action, so it now can be bound to a shortcut.
An Export diagram (as ERD) action was replaced with Export diagram in external format action.

verified


Component/robot

Please review the code , and help with Testing

Update this with the new SVG files from Figma.
https://www.figma.com/file/gGwSe7ilZCUmAIaJyUc4iY/Bristol-Tech-Fair-Design-System?node-id=311%3A52

Update this with the new SVG files from Figma.
https://www.figma.com/file/gGwSe7ilZCUmAIaJyUc4iY/Bristol-Tech-Fair-Design-System?node-id=311%3A52


Issue for Windows developers: usage of ':' character in folders

Following this issue from a new contributor, it appears that setting up a development environement in Windows is impossible because of the usage of the character : inside folder names (which is impossible in a Windows filesystem).
There are at least 2 such folders

caip/src/adapters/coingecko/generated/bip122:000000000019d6689c085ae165831e93
caip/src/adapters/coingecko/generated/eip155:1

We should try to make theses folders Windows compatbile to allow contributors using this OS.

An acceptable workaround is to use Windows Subsystem for Linux (WSL).


What is the upscale option for when we have Hires fix?

Im confused

Well, in the old days before hires.fix is refactored to separate the two steps of super-resolution and img2img, so that you can run upscaling without img2img processing, sonar added the upscale options as #3 requests.
Now it's ok to ignore it...

Thank you!


Procedure Entry Point Error

I built this correctly just now, but I'm not sure what this error means. How can I fix this?

I don't think anybody else has had this problem before.
Could you post the specific steps you followed to build this tool?

Sure thing! I installed MYSYS2 and had MINGNU installed. Then ran the following:
git clone https://github.com/N64Recomp/N64Recomp.git
cd N64Recomp
git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .

Running Windows 11 23H2

Then clicked N64Recomp.exe to verify it loads (if it were working, the program would exit immediately)

just ran it in the console - no errors. why could this be?
also, how do i load a rom into this? do i specify the path?

Sure thing! I installed MYSYS2 and had MINGNU installed. Then ran the following:

None of the recomp-related stuff (the recompiler itself, building recompiled games, etc) have been tested on msys, mingw and similar toolchains. There are no plans on supporting them either.
The recommended way to build this on Windows is to use clang and cmake installed from the Visual Studio Installer. The Zelda64Recomp repo has some instructions on installing those.

also, how do i load a rom into this? do i specify the path?

If you want to start a recomp for an N64 game I suggest looking at other already existing recomp projects, like the Zelda64Recomp repo. Currently there's no guide on how to setup a recompilation of a game, there are plans to make a minimal example in the future, but there it is low priority compared to other stuff that's being worked on.
Sorry for not responding earlier.

The recommended way to build this on Windows is to use clang and cmake installed from the Visual Studio Installer. The Zelda64Recomp repo has some instructions on installing those.

Got it! Is there anything else I should know or any resources?

If you want to start a recomp for an N64 game I suggest looking at other already existing recomp projects, like the Zelda64Recomp repo. Currently there's no guide on how to setup a recompilation of a game, there are plans to make a minimal example in the future, but there it is low priority compared to other stuff that's being worked on.

This one seems interesting. Once I figure out a way to make this all work, I could probably set up a sample repo for this with automatic building.
Many thanks!


Panicked when processing: assertion failed: (left == right)

Error message/log
Panicked when processing: assertion failed: `(left == right)`
  left: `Timestamp`,
 right: `Float64`: Type mismatch when substituting $1 with $4.
This is a bug. We would appreciate a bug report at https://github.com/risingwavelabs/risingwave/issues/new?labels=type%2Fbug&template=bug_report.yml
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

To Reproduce
CREATE TABLE test1 (c_0 TIMESTAMP, c_1 INT, c_2 FLOAT);
CREATE TABLE test2 (c_0 TIMESTAMP, c_1 INT, c_2 FLOAT);
SELECT max(T1.c_0) OVER(PARTITION BY T2.c_0<>T1.c_0) FROM test1 AS T1 INNER JOIN test2 AS T2 ON T1.c_0>T2.c_0 group by T1.c_0,T2.c_0,T1.c_1,T2.c_1,T1.c_2,T2.c_2;

How did you deploy RisingWave?
Docker
The version of RisingWave
PostgreSQL 9.5-RisingWave-1.2.0 (f27f085e4433eb4b3b9e8df61b3f94406f654d89)

Would you please help to take a look? cc @stdrc

duplicate with #10666, already fixed in main


WinUI Live Visual Tree exception thrown

When using Live Visual Tree to debug the visual tree of a WinUI 3 for Desktop application an exception is thrown when clicking any item in the tree

Exception thrown at 0x7BAB8221 (Microsoft.VisualStudio.DesignTools.WinUITap.dll) in CalendarExplorer.exe: 0xC0000005: Access violation reading location 0x0000001C.

Microsoft Visual Studio Enterprise 2019 Preview
Version 16.10.0 Preview 2.0
Project Reunion 0.5.5 extension

Duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/4854#issue-861074276.

@RealTommyKlein FYI

Closing as a dupe of #4854 - this will be fixed in 16.10 Preview 3, and a workaround is available in this comment.  Thanks!


[packaging] Exclude Aitt related files when aitt_support is not set.

Exclude Aitt related files when aitt_support is not set.
Remove unused variable and change test name.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #92. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


&speed command "Invalid file object"

Command that caused the error
&speed 2
Image that caused the error
https://cdn.discordapp.com/attachments/825455881796845618/939416814390243329/aa.mp4
Steps to reproduce
call the command with the attached file (using link doesn't work)
Self-hosted instance?
No
Error file
Message: {
  message: 'Invalid file object',
  name: 'Error',
  stack: 'Error: Invalid file object\n' +
    '    at actualCall (/home/esmBot/esmBot/node_modules/eris/lib/rest/RequestHandler.js:139:35)\n' +
    '    at SequentialBucket.check (/home/esmBot/esmBot/node_modules/eris/lib/util/SequentialBucket.js:56:28)\n' +
    '    at SequentialBucket.queue (/home/esmBot/esmBot/node_modules/eris/lib/util/SequentialBucket.js:75:14)\n' +
    '    at /home/esmBot/esmBot/node_modules/eris/lib/rest/RequestHandler.js:391:40\n' +
    '    at new Promise (<anonymous>)\n' +
    '    at RequestHandler.request (/home/esmBot/esmBot/node_modules/eris/lib/rest/RequestHandler.js:77:16)\n' +
    '    at Admiral.centralApiRequest (/home/esmBot/esmBot/node_modules/eris-fleet/dist/sharding/Admiral.js:1300:34)\n' +
    '    at EventEmitter.<anonymous> (/home/esmBot/esmBot/node_modules/eris-fleet/dist/sharding/Admiral.js:430:34)\n' +
    '    at EventEmitter.emit (node:events:520:28)\n' +
    '    at Worker.<anonymous> (node:internal/cluster/primary:186:13)'
}

Stack Trace: Error: Invalid file object
    at actualCall (/home/esmBot/esmBot/node_modules/eris/lib/rest/RequestHandler.js:139:35)
    at SequentialBucket.check (/home/esmBot/esmBot/node_modules/eris/lib/util/SequentialBucket.js:56:28)
    at SequentialBucket.queue (/home/esmBot/esmBot/node_modules/eris/lib/util/SequentialBucket.js:75:14)
    at /home/esmBot/esmBot/node_modules/eris/lib/rest/RequestHandler.js:391:40
    at new Promise (<anonymous>)
    at RequestHandler.request (/home/esmBot/esmBot/node_modules/eris/lib/rest/RequestHandler.js:77:16)
    at Admiral.centralApiRequest (/home/esmBot/esmBot/node_modules/eris-fleet/dist/sharding/Admiral.js:1300:34)
    at EventEmitter.<anonymous> (/home/esmBot/esmBot/node_modules/eris-fleet/dist/sharding/Admiral.js:430:34)
    at EventEmitter.emit (node:events:520:28)
    at Worker.<anonymous> (node:internal/cluster/primary:186:13)

Additional context
No response

The bot does not support video files at the moment, so the bot probably used a different image.
What was the last file sent in the channel before the video?

Closing until OP responds.


A question on the nonlinear layers

Hi there,
Thanks a lot for releasing the code.
I have a question regarding the nonlinear layers such as GELU, softmax or even LayerNorm (as it has RSQRT). If I understand your code correctly, you are using the floating-point versions of their implementations in the QAT model. Does this mean that we are not actually simulating the quantized behaviours of these layers in the QAT model accurately? Maybe these layers are implemented as look-up tables or they have full int implementations on hardware devices, and not simulating these in QAT has minimal impact on quantized model performance? Can you clarify on this a bit more?
Thanks a lot.

I am also wondering about this. Can anyone from the authors/developers can clarify?

Yes, it looks like QDQ is used here:
https://github.com/Qualcomm-AI-research/transformer-quantization/blob/18ae42c3f6a38b501e328e53427085734777a5ee/models/quantized_bert.py#L197
https://github.com/Qualcomm-AI-research/transformer-quantization/blob/18ae42c3f6a38b501e328e53427085734777a5ee/quantization/autoquant_utils.py#L55
https://github.com/Qualcomm-AI-research/transformer-quantization/blob/18ae42c3f6a38b501e328e53427085734777a5ee/models/quantized_bert.py#L291


Use Axios's toJSON method to make shorter errors (#632)

Accidentally merged #632 into releases/v4 instead of v4 (the PR pre-dated v4 as the default branch), so this process is backwards; but here's  the changes cherry-picked from releases/v4.

Use Axios's toJSON method to make shorter errors

On an example erroring docassemble server (for example, this server returning a 502 to a delete project), the entire axios error will print, which is that case in 1.8k lines, most of it being garbage.
Axios has a toJSON() method on errors that should reduce length of the errors being shown, as it will not print the most annoying parts of the long errors, like the internal Axios socket objects
Still need to test, as it's difficult to get a server to 502 on demand.
Fix #605.

Actually fail when we log the errors
Move toJSON() calls to docassemble_api_REST
Add better comment to process.exitCode

Also, do you think this also handles #550 sufficiently?

TBH, I don't think it addresses #550, at least not the first part. I'll mark the second part as being done there.


delete exit action when IP error in PingIPAddr function - [closed]

In GitLab by @sokril on Jul 17, 2019, 02:05
Merges exit -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:47
closed


Service Worker seems to interfere with Authentication

Describe the bug
Users that are automatically logged out of my Blazor WASM PWA are still able to access the web pages, even though they are not allowed to as configured in staticwebapp.config.json. I investigated and it seems that the Service Worker is interfering as it returns a cached view of the page despite being connected to the Internet.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://orange-island-0901fe000-59.eastasia.azurestaticapps.net/login' and log in with an Azure AD account
Remove the Cookie in 'Cookies' (i.e. leave 'Cache Storage', 'Indexed databases' and 'Service Workers' untouched).
Refresh the webpage. Observe that page loads successfully.
Force refresh the webpage. Observe that you have been redirected to 401 page.

Expected behavior
Step 3 should have already resulted in a 401 response.
Screenshots
Page returned by service worker when accessing web page or refreshing web page.

Page returned by server on force refresh.

The service worker is part of Blazor. Perhaps they can help you in the aspnet repo.


Updated createAccount and Login and routed pages from login

index.js: Fixed issues with routing not working from login to page2.html in both createAccount and login cases
index.js: Added popup window to alert user that account already exists
setup_db.mjs: Fixed issues with db creation

Reinstalled node modules in appropriate subdirectory to fix issues with imports


Add light to EntertainmentGroup en re-activate streaming

Hi Mark,
Today i created a function where a user can add or remove a light to a Entertainmentgroup using UpdateGroupAsync . After the call i noticed than the bridge stops streaming. So i think that we have to setup the Entertainment again? Or is there a simple call like UpdateStreamingGroup ?

There's no special call to update a streaming group while it's streaming. If the bridge stops streaming while you update the group, it's best to restart streaming manually.

hi @michielpost thanks for your swift reply. Alright if the bridge stops streaming what would be the "correct" way to recover this? Is that by doing the same steps as noted here: https://github.com/Q42/Q42.HueApi/blob/master/EntertainmentApi.md#connect-to-an-entertainment-group or is there an simpler way?

Yes, safest thing is to follow these steps to setup a new fresh connection.
Calling var entGroup = new StreamingGroup(group.Locations); needs all light locations. So it's important to have up to date group info when you just added a new light to the group.
Normally, if the connection is lost you might be able to reconnect with this:
client.Close()
await client.Connect(group.Id);
client.AutoUpdate(entGroup, 50);

But creating a new client is safer, that way you're sure all internal state is reset.

Alright i will do some testing to see what the best result is in our case.
Another question, if a light is added to an entertainment group should a location be also set? Or is it just add, re-init streaming and done?

A location is needed for effects that use it. For location aware effects, like a moving light from left to right.
If it's not set, the location is probably 0,0, so that might not be what you want.

Today i had some times to dive into this and it seems i'm stuck in a loop. Let me explain:
I setup Entertainment with the code:
//Initialize streaming client
StreamingHueClient client = new StreamingHueClient(ip, key, entertainmentKey);

//Get the entertainment group
var all = await client.LocalHueClient.GetEntertainmentGroups();
var group = all.FirstOrDefault();

//Create a streaming group
var entGroup = new StreamingGroup(group.Locations);

//Connect to the streaming group
await client.Connect(group.Id);

//Start auto updating this entertainment group
client.AutoUpdate(entGroup, 50);

Then if you open the Hue app on your Phone you will see that streaming is active. So far so good.
In the background i have a Task that polls every X seconds to check if HueBridgeConfig.IsStreamingActive is still active. If not it will try an restore the streaming. For that i tried several options but let's start with this:
//Get the entertainment group
var all = await client.LocalHueClient.GetEntertainmentGroups();
var group = all.FirstOrDefault();

//Create a streaming group
var entGroup = new StreamingGroup(group.Locations);

//Connect to the streaming group
await client.Connect(group.Id);

//Start auto updating this entertainment group
client.AutoUpdate(entGroup, 50);

Now in the Hue app on your Phone click "STOP streaming", the poll task will kick in and fires above code. This results in Streaming Mode being activated again(Yeah!) but after a short time Streaming stops again and i don't know why. Resulting in the poll task kicking in and reconnect, etc.. etc..
I also tried only this single line, with the same result.
 var enableResult = await _localHueClient.SetStreamingAsync(groupId);

The only thing i haven't tried yet is also creating a new instance of New StreamingHueClient but it seams a bit unnecessary to re-active a stopped StreamingGroup...
Any tips?

It seems that i have got this working now, and this is the code for it:
Class MainWindow

    Private entLayer As EntertainmentLayer

    Private Async Sub Button_Click(sender As Object, e As RoutedEventArgs)

        'Register app with the bridge
        Dim streamClientKey As RegisterEntertainmentResult = Await New LocalHueClient("<IP_ADDRESS>").RegisterAsync("MyApp", "MyDevice", True)

        'Initialize streaming client
        Dim client As New StreamingHueClient(streamClientKey.Ip, streamClientKey.Username, streamClientKey.StreamingClientKey)

        'Get the entertainment group
        Dim all As IReadOnlyList(Of Group) = Await client.LocalHueClient.GetEntertainmentGroups()
        Dim group As Group = all.FirstOrDefault()

        'Create a streaming group
        Dim entGroup As New StreamingGroup(group.Locations)

        'Connect to the streaming group
        Await client.Connect(group.Id)

        'Start auto updating this entertainment group
        Dim SetAndForgetTask As Task = client.AutoUpdate(entGroup, CancellationToken.None, 50)

        'Create new base layer
        entLayer = entGroup.GetNewLayer(True)
        entLayer.SetBrightness(CancellationToken.None, 1)

        'Setup Watchdog for streaming with auto recovery
        Await Task.Run(Async Function()

                           Do While True

                               Dim LocalHueBridge As Bridge = Await client.LocalHueClient.GetBridgeAsync

                               If LocalHueBridge.IsStreamingActive Then
                                   Console.WriteLine("Streaming is still active....")

                                   'Loop through RGB to show it works
                                   entLayer.SetColor(CancellationToken.None, New RGBColor("FF0000")) 'Set Red
                                   Await Task.Delay(500)
                                   entLayer.SetColor(CancellationToken.None, New RGBColor("00FF00")) 'Set Green
                                   Await Task.Delay(500)
                                   entLayer.SetColor(CancellationToken.None, New RGBColor("0000FF")) 'Set Blue

                               Else
                                   Console.WriteLine("Streaming stopped, Re-enable Streaming ...")

                                   'First we have to close the current socket and setup a new one:
                                   client.Close()

                                   'Now create new StreamingClient
                                   client = New StreamingHueClient(streamClientKey.Ip, streamClientKey.Username, streamClientKey.StreamingClientKey)

                                   'Connect to the streaming group
                                   Await client.Connect(group.Id)

                                   'Start auto updating this entertainment group
                                   SetAndForgetTask = client.AutoUpdate(entGroup, CancellationToken.None, 50)
                               End If

                               Await Task.Delay(2500)
                           Loop

                           Return True
                       End Function)
    End Sub
End Class


Fixes concepts_indexes typo

What kind of change does this PR introduce?
This PR updates the docs.
Bug fix, feature, docs update, ...
What is the current behavior?
Before:
See this issue on supabase: Supabase issue
Please link any relevant issues here.
What is the new behavior?
After:

Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

@olirice  please review this

thank you, closed via #85
I reviewed them out of order, sorry about that


Install Error(-10): The app is not owned by any user on this device.

Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED)
Error: sp-react-native-in-app-updates checkNeedsUpdate error: Error: com.google.android.play.core.install.InstallException: Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED)

Not sure how to help with this one, but it's sounds like a google play error relative to your implementation and not related to the in-app-updates wrapper.
Stack overflow sounds like a better place to post that.


[v2] initial page not load in app

I'm creating an app using framework7 v2. Previously I've worked with v1 and its good. v2 seems to be a major change from v1.
so I'm facing some problem in routing.. could u please help me.
currently, I'm using this version :
Framework7 Version: 2.0.7.
Framework7-Vue Version: 2.0.7.
InitApp using
routes: Routes,
view: {
pushState: true
},

and my route is
{
    path: '/',
    component: Home
},
{
   path: '/test-view/:Id',
   component: Test
},

app.vue code for view like

<f7-view id="main-view" url="/" main></f7-view>

when I run in the web browser it works fine and shows home page.
but after build and create an APK and IPA using PhoneGap.
Expected Behavior
It shows homepage initially.
Actual Behavior
but currently, happen is the main view not render the home page, it shows the 404 page, means the route is not matched.

I read this document also https://blog.framework7.io/mastering-v2-router-958ea2dbd24f
but not found any solution
Please Help
Thanks In Advance.

You need to configure pushStateRoot view's parameter correctly. Check forum there were plenty of similar topics

Hi @nolimits4web
please suggest any solution for this

can you please suggest what should be the value of pushStateRoot parameter

I believe it must be /app/ when you run app on "http://my-webapp.com/app/"

Thanks, It resolved 👍


ci: add codecov.yml

Codecov Report

Merging #5 (2f712f1) into main (2d3b93e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   82.45%   82.45%
=======================================
  Files          14       14
  Lines          57       57
=======================================
  Hits           47       47
  Misses         10       10

Flag
Coverage Δ

server
82.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


ValueError: not enough values to unpack (expected 2, got 1) on Robot > 3.2.2

While running the following keywords:
Headless Chrome
    ${chrome_options} =     Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys, selenium.webdriver
    Call Method    ${chrome_options}    add_argument    headless
    Call Method    ${chrome_options}    add_argument    disable-gpu
    [Return]       ${chrome_options}

On version 4.0.1 with the latest selenium library, I get the following:
Submit Form                                                           | FAIL |
Parent suite setup failed:
ValueError: not enough values to unpack (expected 2, got 1)

It is thrown when running:
   ${chrome_options} =     Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys, selenium.webdriver
This is working correctly on Robot framework version 3.2.2

Could you run tests with --loglevel debug and include traceback you get in log.html here?

I found it happens when I accept custom  capabilities like so:
desired_capabilities: Union[str, dict, None] = None
If I change it to
desired_capabilities=None
It works fine.
Note it does not happen on older versions of Robot.

Cannot help with this information only. Please provide the traceback. If you use something else than Evaluate, show the whole code.

Closing due to lack of information.


Not working with Fedora Server

I don't know if you have tested https://github.com/matriphe/larinfo by running it on a fedora server, but it doesn't seem to be working for me. Rather the page continue loading forever. And the sad part, the code isn't producing any kind of error for me to even debug.

What version Fedora or PHP do you use?

Fedora Server 26 and php 7.1
On 8 Nov 2017 12:56, "Muhammad Zamroni"<EMAIL_ADDRESS>wrote:

What version Fedora or PHP do you use?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matriphe/larinfo/issues/3#issuecomment-342782910, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfTL1N4ecnh8r8c1c49m3CRuLQ6iIhSks5s0Yj2gaJpZM4QWL0l
.

There's a unresolved (yet) bug in the linfo library on PHP 7.1. Please refer to this issue: https://github.com/jrgp/linfo/issues/53

Then that is strange because it runs fine in fedora 26 desktop edition
running the same version of php 7.1
On 8 Nov 2017 13:04, "Muhammad Zamroni"<EMAIL_ADDRESS>wrote:

There's a unresolved (yet) bug in the linfo library on PHP 7.1. Please
refer to this issue: jrgp/linfo#53
https://github.com/jrgp/linfo/issues/53
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matriphe/larinfo/issues/3#issuecomment-342784626, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfTLxx7hQgzP-nFAXIjxjj_ZAQ5EO0Eks5s0YqkgaJpZM4QWL0l
.

The problem is in the opcache extension on PHP 7.1. Do you use it (loaded) in the Fedora Server? If it's so, try to disable it via php.ini and see if that's work.

I will give that a try. Thanks for the help.
Best Regards,
Drew B. Dennis
The quieter you become, the more you can hear. - Ram Dass
On Wed, Nov 8, 2017 at 1:52 PM, Muhammad Zamroni<EMAIL_ADDRESS>wrote:

The problem is in the opcache extension on PHP 7.1. Do you use it (loaded)
in the Fedora Server? If it's so, try to disable it via php.ini and see
if that's work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matriphe/larinfo/issues/3#issuecomment-342795444, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfTL66cpD5GX-SXYjlaLr9YyOXWYLPPks5s0ZYYgaJpZM4QWL0l
.

Sure, no problem! Let me know if that's working.

Hi,
Thanks for the help. I managed to disable it from this location
/etc/php.d/10-opcache.ini
Best Regards,
Drew B. Dennis
The quieter you become, the more you can hear. - Ram Dass
On Wed, Nov 8, 2017 at 1:52 PM, Muhammad Zamroni<EMAIL_ADDRESS>wrote:

The problem is in the opcache extension on PHP 7.1. Do you use it (loaded)
in the Fedora Server? If it's so, try to disable it via php.ini and see
if that's work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matriphe/larinfo/issues/3#issuecomment-342795444, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfTL66cpD5GX-SXYjlaLr9YyOXWYLPPks5s0ZYYgaJpZM4QWL0l
.

To solve the problem in Fedora Server 26, I disable opcache which was located at this location /etc/php.d/10-opcache.ini

FYI this was caused by https://bugs.php.net/bug.php?id=75255 which newer versions of php7.1 fixed (and fedora has included the newer versions of php in fedora26, so updating packages should fix)


ci: enable commitlinter with conventional rules

please find conventional commit rules https://www.conventionalcommits.org/en/v1.0.0/

@artek-koltun can we put .commitlintrc.json inside .github folder ?

.commitlintrc.json is a config file like .golangci.yml which resides in the root. I assume for the purpose to run it locally. If we are not going to support a case when commitlint is run locally, then we can move it into .github...

.commitlintrc.json is a config file like .golangci.yml which resides in the root.

I understand. for example renovate.json can eaither be in root or in .github folder. both locations are supported
So I'm asking if .commitlintrc.json is supported in .github folder ?

I understand. for example renovate.json can eaither be in root or in .github folder. both locations are supported see https://docs.renovatebot.com/configuration-options/
So I'm asking if .commitlintrc.json is supported in .github folder as well?

Checked it and the answer is no, it is not supported. It supports different config file formats, but they should be in the root location.
Probably yml format is preferable for us for consistency, since we already have .golangci.yml in the root...

Checked it and the answer is no, it is not supported. It supports different config file formats, but they should be in the root location. Probably yml format is preferable for us for consistency, since we already have .golangci.yml in the root...

thanks for checking

@artek-koltun missed a problem in this PR, I fixed it here https://github.com/opiproject/opi-smbios-bridge/commit/95ce6d781c2200de813c5c2eebe38aa61aaf96fe

See new PR https://github.com/opiproject/opi-smbios-bridge/pull/139

@artek-koltun missed a problem in this PR, I fixed it here 95ce6d7

if we just use
  push:
    branches: [ "main" ]

It will check all the commits from the very first one in the history and will always report fail status. But maybe with ahmadnassri/action-commit-lint it is going to be ok.

@artek-koltun new problem:
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2.

For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default

Where did you see that warning? Looks like we use 20.x version...


Getting a phone number

Is there a way to get a phone number during authentication? For example, to receive an email, you need to specify scope: ['email']:
app.get('/auth/vkontakte', passport.authenticate('vkontakte', { scope: ['email'] }));

What you need to do to get a phone number?

There's a only one way to get a phone number is add to scope 'phone' parameter, but it available only for services and trusted IFrame apps, so you can contact VK Support for any additional information.


Migrate todo to github

Description
migrate from private trello to this github issue
Related links

https://qiita.com/itkr/items/0d4c0015da28827b2bb7

Created.
https://github.com/yurake/k8s-3tier-webapp/projects/1


Fixes #3968 But we may already be a Beta Tester

Adds a qualifying clause to the "Become a Beta Tester" text in Settings > Feedback page.
Fixes #3968
Previous text might confuse a user who signed up for the Beta.
Tested BetaDebug and ProdDebug on emulated Pixel 4 XL with API level 30.
Screenshot on ProdDebug:

Codecov Report

Merging #3984 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3984   +/-   ##
=========================================
  Coverage     10.51%   10.52%
  Complexity      466      466
=========================================
  Files           335      335
  Lines         12636    12639    +3
  Branches        989      989
=========================================
+ Hits           1329     1330    +1
- Misses        11240    11242    +2
  Partials         67       67

Impacted Files
Coverage Δ
Complexity Δ

...n/java/fr/free/nrw/commons/CommonsApplication.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...r/free/nrw/commons/contributions/MainActivity.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...ree/nrw/commons/contributions/ContributionDao.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...commons/nearby/fragments/NearbyParentFragment.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...earby/presenter/NearbyParentFragmentPresenter.java
59.53% <0.00%> (+0.23%)
36.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

Thanks for the PR! Looks like you've taken up an issue without getting it assigned. Not a problem now as it's not been assigned to anyone else. Next time, make sure to ask before starting to work on an issue.
Coming to the PR, I'm just a little worried it's making the title of the setting rather too long than necessary. Refer attached screenshot of the setting on a small screen device:

Rather than adding the clause to the title of the setting. I think it would be better to add it to the description.

@madisoncfallin Would you like to make the requested changes?

This PR seems like sleeping, closing for now. Please feel free to reopen if needed :)


Removing inactive icons from the bottom panel in nearby

Summary:
As per the discussion in #2425, the plan is to remove inactive icons from bottom panel of nearby instead of greying them out
Steps to reproduce:

Go to Nearby
Tap on any place on the map
Observe the grey icons in the panel

Would you like to work on the issue?
Yes

@nicolas-raoul How should the UI Be after removing the inactive icons should it be like expansion of remaining icons due to removal of an icon or you have any other opinion in mind?


Provide path for input value errors

When executing a query with a non-nullable input field the error result looks like this:
{
    "errors": [
        {
            "message": "The input value of type `String!` must not be null.",
            "locations": [
                {
                    "line": 1,
                    "column": 24
                }
            ]
        }
    ]
}

In order to have more context will be nice to include also the path like errors on the result types:
e.g:
{
    "errors": [
        {
            "message": "The input value of type `String!` must not be null.",
            "locations": [
                {
                    "line": 1,
                    "column": 24
                }
            ],
            "path": [
                 "customer",
                 "id"
            ]
        }
    ]
}

This one is fixed with preview 24


Update key-vault-developers-guide.md

Add a link to Adam Hurwitz article

Hi @BrucePerlerMS, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


tests:net:lib:coap: Added new changes to improve code coverage

Signed-off-by: Tarun Kumar Agarwal<EMAIL_ADDRESS>

Codecov Report

Merging #9267 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9267   +/-   ##
=======================================
  Coverage   52.46%   52.46%
=======================================
  Files         201      201
  Lines       25290    25290
  Branches     5286     5286
=======================================
  Hits        13268    13268
+ Misses       9938     9937    -1
- Partials     2084     2085    +1

Impacted Files
Coverage Δ

subsys/net/lib/coap/coap.c
61.42% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@rveerama1 Please review the new changes.

@tarunkum I have to double check with observer and well-known test cases. Give me some time.

New CoAP Socket based library, samples and tests are merged. Closing this PR.


OSSM-1956: a temp. fix for antlr4 crash on s390x

2.3: https://issues.redhat.com/browse/OSSM-1956
2.2: https://issues.redhat.com/browse/OSSM-1526
https://github.com/antlr/antlr4/issues/3728
a permanent fix should replace this one in the future

Apparently this change was missed during 2.3 rebase?

Correct, this fix is a part of 2.2 and it needs to be added into 2.3

@knm3000 should the title be updated to OSSM-1956?

Updated to OSSM-1956


Rel: make progress checking in head_matches_delta stricter

Fixes a regression in DICE* reported by @aseemr. I think this may have popped up when we did the fv_delta change (#3272), but the offending code is there since before.
I am running a local everest build before merging.

Everest came back green, merging.


Improvement in BMI Calculator

Is your feature request related to a problem? Please describe.
BMI Calculator
Describe the solution you'd like

Alignment of text to the center, change in size and font of the text.
Change in shape of button and addition of hover effect.
Change in the background color.
Alignment of BMI Calculator to the Center.

I want to work on this issue, can you please assign this issue to me as a part of Gssoc'21.

I want to work on this issue, can you please assign this issue to me as a part of Gssoc'21.

i want to work on this issue

I would like to work on this issue as well.

@harshgupta20 Hello, I have created a new issue can u please review and assigned it to me issue no. #511

These are the improvements that I have done , also updated GIF in script.js.

Is it okay? Can I make a PR?

@yashikabhargava @urvashi-code1255 That looks like my design.


Undefined Symbols When Compiling User Op for GPU

Summary
I can compile, but not load, a user-defined TF shared library using CUDA. The library is based off of the TF zero_out example. I've modified the example to support CPU and GPU devices. Upon loading the shared library I get the following error: tensorflow.python.framework.errors.NotFoundError: zero_out.so: undefined symbol: _ZN10tensorflow7functor14ZeroOutFunctorIN5Eigen9GpuDeviceEEclERKS3_NS2_9TensorMapINS2_6TensorIKfLi1ELi1ElEELi16EEENS7_INS8_IfLi1ELi1ElEELi16EEEi.
I suspect that the problem has something to do with my particular combination of compiler and OS environment. However after trying many ideas I've hit a wall.
Similar Issues
https://github.com/tensorflow/tensorflow/issues/2097: My problem looks similat to this one.
https://github.com/tensorflow/tensorflow/issues/1569: There are two suggestions made in this issue:

Try a gcc-4.* compiler
Use the compiler variable D_GLIBCXX_USE_CXX11_ABI=0

Neither of these suggestions are working for me.
Detailed Explanation
I give details below about my environment, the source code, the steps I've taken to compile, and the error.
Environment
OS: Ubuntu 16.04 LTS
Kernel : 4.4.0-34-generic
Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
Cuda: 7.5
Cudnn:  5.1.3
My problem exists whether I use a TF binary or compile my own version from source. Note that in order to successfully compile TF from source I must add the following three lines to CROSSTOOL.tpl:
cxx_flag: "-D_MWAITXINTRIN_H_INCLUDED"
cxx_flag: "-D_FORCE_INLINES"
cxx_builtin_include_directory: "/usr/local/cuda-7.5/include"

Source Code
I have three source files and a Makefile:
zero_out.h
#ifndef TENSORFLOW_KERNELS_ZERO_OUT_OP_H_
#define TENSORFLOW_KERNELS_ZERO_OUT_OP_H_

namespace tensorflow {

namespace functor {

// Generic helper functor for the ZeroOut Op.
template <typename Device>
struct ZeroOutFunctor;

}  // namespace functor
}  // namespace tensorflow

#endif  // TENSORFLOW_KERNELS_ZERO_OUT_OP_H_

zero_out.cc
#define EIGEN_USE_THREADS
#include "zero_out.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/tensor.h"

namespace tensorflow {

REGISTER_OP("ZeroOut")
.Input("to_zero: float")
.Output("zeroed: float")
.Doc(R"doc(
Zeros all elements of the tensor except the first.
zeroed: A Tensor.
  output[0] = input[0]
  output[1:N] = 0
)doc");;

typedef Eigen::ThreadPoolDevice CPUDevice;
typedef Eigen::GpuDevice GPUDevice;

namespace functor {

template <typename Device>
struct ZeroOutFunctor {
  void operator()(const Device& d,
          typename TTypes<float>::ConstFlat input,
          typename TTypes<float>::Flat output,
          const int N);
};

template <>
struct ZeroOutFunctor<CPUDevice> {
  void operator()(const CPUDevice& d,
          typename TTypes<float>::ConstFlat input,
          typename TTypes<float>::Flat output,
          const int N) {
    for (int i = 1; i < N; i++) {
      output(i) = 0;
    }

    // Preserve the first input value if possible.
    if (N > 0) output(0) = input(0);
  }
};
} // namespace functor

template <typename Device>
class ZeroOutOp : public OpKernel {
public:
  explicit ZeroOutOp(OpKernelConstruction* context) : OpKernel(context) {}

  void Compute(OpKernelContext* context) override {
    // Grab the input tensor
    const Tensor& input_tensor = context->input(0);
    auto input = input_tensor.flat<float>();

    // Create an output tensor
    Tensor* output_tensor = NULL;
    OP_REQUIRES_OK(context, context->allocate_output(0, input_tensor.shape(),
                             &output_tensor));

    auto output = output_tensor->template flat<float>();
    const int N = input.size();
    functor::ZeroOutFunctor<Device>()(context->eigen_device<Device>(),
                      input, output, N);
  }
};

REGISTER_KERNEL_BUILDER(Name("ZeroOut")                 \
            .Device(DEVICE_CPU),        \
            ZeroOutOp<CPUDevice>);

#if GOOGLE_CUDA
REGISTER_KERNEL_BUILDER(Name("ZeroOut")                 \
            .Device(DEVICE_GPU),        \
            ZeroOutOp<GPUDevice>);
#endif // GOOGLE_CUDA
} // namespace tensoroflow

zero_out_gpu.cu.cc
#if GOOGLE_CUDA

#define EIGEN_USE_GPU

#include "zero_out.h"

#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/core/framework/tensor.h"
#include "tensorflow/core/framework/tensor_types.h"

namespace tensorflow {

namespace functor {

using GPUDevice = Eigen::GpuDevice;

__global__ void ZeroOutKernel(const float* in, float* out, const int N) {
  for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < N;
       i += blockDim.x * gridDim.x) {
    if (i == 0) {
      out[i] = in[i];
    } else {
      out[i] = 0;
    }
  }
}

template <>
struct ZeroOutFunctor<GPUDevice> {
  void operator()(const GPUDevice& d,
          typename TTypes<float>::ConstFlat input,
          typename TTypes<float>::Flat output,
          const int N) {
    // How to compute the optimal block count and threads per block?
    // tensorflow/core/util/cuda_kernel_helper.h isn;t included in the binary
    // distribution
    ZeroOutKernel<<<32, 256, 0, d.stream()>>>(input.data(), output.data(), N);
  }
};

template struct ZeroOutFunctor<GPUDevice>;
} // namespace functor
} // namespace tensorflow
#endif // GOOGLE_CUDA

Makefile
INCLUDE += -I /usr/local/cuda-7.5/include
INCLUDE += -I $(shell python -c \
    'import tensorflow as tf; print(tf.sysconfig.get_include())')

CXX = gcc -std=c++11
CXXFLAGS =                          \
    -D_MWAITXINTRIN_H_INCLUDED  \
    -D_FORCE_INLINES            \
    $(INCLUDE) -fPIC -lcudart   \

NVCC = nvcc -std=c++11 -c
NVCCFLAGS =                         \
    -D_MWAITXINTRIN_H_INCLUDED  \
    -D_FORCE_INLINES            \
    $(INCLUDE) -x cu -Xcompiler -fPIC

LDFLAGS = -shared
CUDA_SRCS = zero_out_gpu.cu.cc
SRCS = zero_out.cc
RM = rm -f
TARGET_LIB = zero_out.so
CUDA_OBJ = zero_out.cu.o

all: $(TARGET_LIB)

# This target (CPU and GPU) does not find the right symbols
$(TARGET_LIB): $(SRCS) $(CUDA_OBJ)
    $(CXX) $(LDFLAGS) -o $@ $^ $(CXXFLAGS) -DGOOGLE_CUDA=1

# This target (CPU only) is fine
# $(TARGET_LIB): $(SRCS)
#   $(CXX) $(LDFLAGS) -o $@ $^ $(CXXFLAGS) -DGOOGLE_CUDA=0

$(CUDA_OBJ): $(CUDA_SRCS)
    $(NVCC) -o $@ $^ $(NVCCFLAGS) -DGOOGLE_CUDA=1

.PHONY: clean
clean:
    -$(RM) $(TARGET_LIB)
    -$(RM) *~
    -$(RM) *.o

Compilation
Compilation runs without errors:
$ make
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcurand.so locally
nvcc -std=c++11 -c -o zero_out.cu.o zero_out_gpu.cu.cc -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -I /usr/local/cuda-7.5/include -I /home/sarroff/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/include -x cu -Xcompiler -fPIC -DGOOGLE_CUDA=1
/home/sarroff/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h(155): warning: missing return statement at end of non-void function "tensorflow::Allocator::RequestedSize"

/home/sarroff/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h(155): warning: missing return statement at end of non-void function "tensorflow::Allocator::RequestedSize"

I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcurand.so locally
gcc -std=c++11 -shared -o zero_out.so zero_out.cc zero_out.cu.o -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -I /usr/local/cuda-7.5/include -I /home/sarroff/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/include -fPIC -lcudart  -DGOOGLE_CUDA=1

Error When Loading the Library:
$ python -c "import tensorflow as tf; tf.load_op_library('zero_out.so')t.so')"
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/sarroff/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 75, in load_op_library
    raise errors._make_specific_exception(None, None, error_msg, error_code)
tensorflow.python.framework.errors.NotFoundError: zero_out.so: undefined symbol: _ZN10tensorflow7functor14ZeroOutFunctorIN5Eigen9GpuDeviceEEclERKS3_NS2_9TensorMapINS2_6TensorIKfLi1ELi1ElEELi16EEENS7_INS8_IfLi1ELi1ElEELi16EEEi

Notes and Some Things I've Tried

I have no difficulties compiling and loading a shared library for CPU-only. (See the commented target in the Makefile.)
My problem persists whether using a TF bleeding-edge source (with bazel) or TF binary installation (with make)
I've tried compiling the shared library with g++, as well as using some earlier gcc-4.* compilers
I've tried mimicking the nvcc and gcc options provided in CROSSTOOL.tpl
I don't have immediate access to an earlier Linux distro, otherwise I would have tried it

Any help is greatly appreciated!

I believe you have to forward declare the template specialization of the functor in the .cc file (not the .cu.cc file).
Example: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/adjust_contrast_op.cc#L178
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/adjust_contrast_op_gpu.cu.cc#L28
So basically forward declare the functor you have in the .cu.cc file, and I think you'll have more luck.
In the future, these types of 'requests for help' are better asked on StackOverflow.  It's better to determine if it's a real bug there, and then file the specific bug on GitHub later.  Good luck!

Thanks for your help and quick response. Unfortunately the forward declaration doesn't appear to fix the problem. I've tried putting it in the .cc file and the .h file without success. I don't have complete confidence that this isn't an issue with my configuration. However if you think this problem is better suited for SO, I'll be happy to investigate there.

@woodshop Do you figure out what's wrong now, as i'm facing the similar problem.

Hello @songmeixu,
I don't remember my exact solution. Using a forward declaration was definitely the first step to solving the problem. However the declaration exposed other linking problems that needed a resolution. Sorry I can't be more specific.

Any suggestions to fix this issue @woodshop  @songmeixu


Deprecate then remove bevy_render shapes in favor of bevy_math shapes

          The plan is to remove the render shapes in a follow up. We are temporally copying rather than replacing to make the patch smaller and more manageable.

Originally posted by @NthTensor in https://github.com/bevyengine/bevy/issues/11688#issuecomment-1930606460

Currently being worked on by @Jondolf. Would be nice to see in 0.13, ping me if you need help.

Yep, working on it right now! 250 deprecation warnings left in the examples...

Resolved by https://github.com/bevyengine/bevy/pull/11773.


[Android] Security check for shared mode

Before the app loading Crosswalk library on device, it is necessary
to make sure the library APK is not tampered and is exactly the one
we published.
The officially released library APK is signed with the signing key
from codesign.intel.com. The foundation of this approach is that the
package manager is trustworthy and the fingerprinting algorithm is
not broken.
The verification process are:

Get signatures of Crosswalk library via package manager
Generate SHA1 fingerprint by the signature
Check against the fingerprint from codesign.intel.com

BUG=XWALK-3804

@rakuco @baleboy @terri @halton

Ping @terriko. I'm not sure if the actual code to check the fingerprint is OK (e.g. if the comparisons there are constant-time or if it does not matter in this context, or whether we should test all signatures instead of breaking when finding a match etc).

from codesign.intel.com. The foundation of this approach is that the

As I mentioned in an inline comment, I don't see much point in mentioning this website in the commit message as it is an internal domain.

I confirmed that the fingerprint of Android signing key in codesign.intel.com is generated by SHA1. If I generate the digest of the signature of Crosswalk package by SHA256, the fingerprint doesn't match.

Yes, it is expected that the SHA256 version not match.  You should regenerate and use the new signature, and replace all the code using the sha1 signature so that it is updated to use the better one.

If we agree with the approach of checking fingerprint and the related code, I think we could merge this patch first. If it's necessary to switch from SHA1 to SHA256, I can submit another patch to fix it once the new signing key is ready.

Overall the code looks fine to me, though I'd like @terriko to sign off the algorithm check part before landing.
As for the SHA1 vs SHA256 thing: I'm fine with keeping SHA1 for now, but we must change the algorithm before shipping the support stuff in beta or stable.

@terriko is there any problem with the fingerprint checking part? If it's ok, we will merge this patch first.

@rakuco Does the update_scripts error matter? Other tests are all okay.

@rakuco Does the update_scripts error matter? Other tests are all okay.

No, it doesn't, it looks unrelated to the PR.

@terriko we need your blessing of the code before we can merge. Can you check and judge, please.

Updated verifyPackageInfo() using SHA-256 instead of SHA-1

Confirmed off-line that this is OK, the security team is unable to comment for the time being. LGTM by proxy.


Upgrade govuk-lint from v2.1.0 to v3.1.0

And thus upgrade rubocop from v0.43.0 -> v0.49.1.
I've had to fix a number of rubocop violations which have been introduced by this change. See the individual commit notes for details.
It's worth noting that I've chosen to exclude all specs from the Metrics/BlockLength rubocop rule by adding a .rubocop.yml file. The default restriction of 25 lines per block doesn't play well with the
DSL style of RSpec as noted here.
Initially I investigated adding rubocop-rspec to the govuk-lint gem, but this then introduced a whole load more violations. The change in this PR is a stop-gap solution. I plan to open an issue on the govuk-lint repo to highlight the problem.

@chrisroos: Thanks for reviewing.
Rebasing against master, resolving conflicts and force-pushing in preparation for merging.


moving redis form preview to stable

Preview version was moved to stable.

/azp run automation - sdk

Automation for azure-sdk-for-python

/azp run automation - sdk

/azp run automation - sdk

avocado errors seem to be unrelated to this pr

Can one of the admins verify this patch?


Local BTC node

Closes #5
Closes #6
This PR introduces a local BTC node and ElectrumX server and provides automatic deposit transactions making end-to-end test fully automatic.

All comments addressed. Anyway, we should wait for Dmitry to finish:

https://github.com/keep-network/keep-ecdsa/pull/493
the same change for TBTC

Then we should bump up keep-ecdsa and tbtc submodules to prevent eth-json-rpc-filters errors while executing install.sh.

All comments addressed and all submodules have been updated to the recent versions.


Titan Compiler doesn't run (titan-compiler.location module not found)

Problem
I installed Titan with luarocks for Lua 5.3
But everytime I want to tun compiler, with any file or without a file, appear a error message saying that:
Error
/usr/bin/lua5.3: /usr/local/share/lua/5.3/titan-compiler/checker.lua:3: module 'titan-compiler.location' not found:No LuaRocks module found for titan-compiler.location
no field package.preload['titan-compiler.location']
no file '/usr/local/share/lua/5.3/titan-compiler/location.lua'
no file '/usr/local/share/lua/5.3/titan-compiler/location/init.lua'
no file '/usr/local/lib/lua/5.3/titan-compiler/location.lua'
no file '/usr/local/lib/lua/5.3/titan-compiler/location/init.lua'
no file '/usr/share/lua/5.3/titan-compiler/location.lua'
no file '/usr/share/lua/5.3/titan-compiler/location/init.lua'
no file './titan-compiler/location.lua'
no file './titan-compiler/location/init.lua'
no file '/home/jictyvoo/.luarocks/share/lua/5.3/titan-compiler/location.lua'
no file '/home/jictyvoo/.luarocks/share/lua/5.3/titan-compiler/location/init.lua'
no file '/usr/local/lib/lua/5.3/titan-compiler/location.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.3/titan-compiler/location.so'
no file '/usr/lib/lua/5.3/titan-compiler/location.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './titan-compiler/location.so'
no file '/home/jictyvoo/.luarocks/lib/lua/5.3/titan-compiler/location.so'
no file '/usr/local/lib/lua/5.3/titan-compiler.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.3/titan-compiler.so'
no file '/usr/lib/lua/5.3/titan-compiler.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './titan-compiler.so'
no file '/home/jictyvoo/.luarocks/lib/lua/5.3/titan-compiler.so'
stack traceback:
[C]: in function 'require'
/usr/local/share/lua/5.3/titan-compiler/checker.lua:3: in main chunk
[C]: in function 'require'
/usr/local/lib/luarocks/rocks-5.3/titan/dev-1/bin/titanc:5: in main chunk
[C]: in ?
Ask
So, how can I make titanc work?

Sorry, the rockspec was missing that file, I am merging a hotfix for that.

While the PR with the fix does not get reviewed and merged you can see the changes at https://github.com/titan-lang/titan/pull/246 and apply them to your local copy

Hi, thanks for fixing that, but now have other problem. I tried to compile a file containing that
 function divmod(a: integer, b: integer): (integer, integer)
    return a // b, a % b
end

local x, y = divmod(13, 2) -- ok
local x, _ = divmod(13, 2) -- ok

function just_div(a: integer, b: integer): integer
    return (divmod(a, b)) -- ok, arity of divmod is adjusted to 1
end
but when I execute titanc test.titan in same directory that saved the file, titan prints many errors, so I tried to do the same thing that you when make the hotfix. And now doesn't show more require errors, I have pulled here https://github.com/titan-lang/titan/pull/247
but, when I tried to run titanc examples.sdl_demo -lSDL2
I get this error:

/usr/bin/lua5.3: /usr/local/share/lua/5.3/titan-compiler/coder.lua:2512: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
	[C]: in function 'ipairs'
	/usr/local/share/lua/5.3/titan-compiler/coder.lua:2512: in upvalue 'import_module'
	/usr/local/share/lua/5.3/titan-compiler/coder.lua:2802: in function 'titan-compiler.coder.generate'
	/usr/local/share/lua/5.3/titan-compiler/driver.lua:154: in function 'titan-compiler.driver.compile'
	/usr/local/share/lua/5.3/titan-compiler/driver.lua:133: in function 'titan-compiler.driver.compile_module'
	/usr/local/lib/luarocks/rocks-5.3/titan/dev-1/bin/titanc:57: in main chunk
	[C]: in ?

Obviously it should fail in that way because of that, and I will look into fixing the error message, but there is a sdl_quit.titan module missing in the examples folder that sdl_example.titan is trying to import. @hishamhm, could you check that in?

Sure! the file is here: https://github.com/titan-lang/titan/pull/249


  Status: Running.  Status: Running. Init Elapsed 3666.4680280000002ms" app_id=yatp-mine instance=yatp-mine-58d449c9bd-mbqxd scope=dapr.runtime type=log ver=1.6.0-msft-1
5/10/2022, 2:16:24.134 AM
stdout
time="2022-05-10T02:16:24.134045822Z" level=info msg="application configuration loaded" app_id=yatp-mine instance=yatp-mine-58d449c9bd-mbqxd scope=dapr.runtime type=log ver=1.6.0-msft-1

2:16:28, Application log shows actor deactivation, even though the actor was last called just one second earlier.

[02:16:28 INF] Executed endpoint 'Dapr Actors Deactivation'
[02:16:28 INF] Request finished HTTP/1.1 DELETE http://<IP_ADDRESS>:80/actors/MineActor/ESM2_Index application/json 0 - 200 0 - 74.1390ms
[02:16:28 INF] Bloomberg b-pipe event received SUBSCRIPTION_STATUS
[02:16:28 INF] Request starting HTTP/1.1 DELETE http://<IP_ADDRESS>:80/actors/MineActor/ESM2_Index application/json 0
[02:16:28 INF] Executing endpoint 'Dapr Actors Deactivation'
[02:16:27 INF] Executed endpoint 'Dapr Actors Invoke'
[02:16:27 INF] Executing endpoint 'Dapr Actors Invoke'
[02:16:27 INF] Request finished HTTP/1.1 PUT http://<IP_ADDRESS>:80/actors/MineActor/ESM2_Index/method/NewRealtimeFeed application/octet-stream +charset=utf-8 188 - 200 - - 0.3328ms
[02:16:27 INF] Request starting HTTP/1.1 PUT http://<IP_ADDRESS>:80/actors/MineActor/ESM2_Index/method/NewRealtimeFeed application/octet-stream +charset=utf-8 188
Conclusion
Based on documentation, actors should not be deactivated when actively called. How can this deactivation be explained?

I removed the HPA and deployed a single replica of the application with more resource so to never reach 100% CPU. While everything was running I manually scaled the deployment to 2 replicas (kubectl scale deployment..). Just after the second pos has been created, the app actors in the first pod were deactivated. Is this expected?

Yes, placement will rebalance Actors as new app instances become available.

@artursouza  Is there a way to avoid this? I mean, I am ok with the Garbage collection on timeout, but can I tell the system to deactivate an actor ONLY as usual and not when a deployment scale up occurs?

It's expected that in some cases actors will get rebalanced, but actually the algorithm we're using should optimize to not reshuffle actor IDs if not needed. we should look into distribution algorithm.
cc @artursouza


Translated 1-intro-to-programming-languages into Dutch

Quizzes and assignments are not translated yet.
@FloorD do you want to review?

@jlooper could you merge?

sorry, @FloorD and @marcduiker JUST now saw this was ready, merging! thank you!


Get response of $bot->reply call

Hi,
I'm wondering if it's possible to have access to the response object of the $bot->reply call. Internally, it will make a $this->http->post that returns a Symfony\Component\HttpFoundation\Response.
Is this possible?
Thank you.

Not right now. It will be possible in the next version though.

came here to post this, is there anything we can do in the meantime to determine if the reply failed for whatever reason?

@amitailanciano Sorry, it's currently not possible to access the value. It will be possible in the next version.


[115] Search form snagging

Context
Tweaks to search form following product review.
Changes proposed in this pull request

Move the error summary above h1

In error summary:  'There is a problem' -> 'There's a problem'

Make the year input focusable when the error is specifically about the year

On the 'Record found' page: pull the data from the record found in the database, not the user’s search input

Guidance to review
Check the above points have been addressed.

Link to Trello card
https://trello.com/c/gOS9kgmQ/115-snagging-search-form-and-record-page
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Snagging - search form and record page


Actual calculix in 2022 is Version 2.19. Is pycalculix here full compatible?

Actual calculix is 2.19.
Is pycalculix here in good shape to version 2.19?
Is version 2.19 actual base in installation of pycalculix?
i read about version 2.10 in some issues is here basic or good running.
what is here base?

Just looked this up for packaging the new version and noticed, that at the end of July, calculix-2.20 has been released.

Thank you, do not look some days and the guys from Munich done it.

Development status on this project is inactive.
Some challenges on keeping this project up to date are:

the calculix file format changes as the solver evolves
there are installation scripts that are included that are dependent on upstream broken installations in mac and othe operating systems

If you want to submit a PR getting it working feel free.
Or feel free to fork it

What is the last compatible version of calculix for pycalculix in your installation?
Others can also answer with know-how.

What is the last basic version of your development 2.11 or other?
With an error in code or example all calculix versions are not working.

I am no longer maintaining this repo and will archive it


Update Icons.ts with Farcaster Purple for SocialIcons

Description
This PR adds farcaster.xyz to the options in the SocialIcons menu.
SVG for the icon can be found here https://github.com/vrypan/farcaster-brand/blob/main/icons/icon-transparent/transparent-purple.svg

Hello! Thank you for opening your first PR to Starlight! ✨
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any issues you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🤩

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Hi @SamuelLHuber — thanks for the PR. Could you double check the SVG path you provided? I don’t see the icon showing up in the preview of the docs:

thank you for replying this quickly, appreciated.
this is the original SVG from the github source
<svg width="16" height="16" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M257.778 155.556H742.222V844.445H671.111V528.889H670.414C662.554 441.677 589.258 373.333 500 373.333C410.742 373.333 337.446 441.677 329.586 528.889H328.889V844.445H257.778V155.556Z" fill="#855DCD"/>
<path d="M128.889 253.333L157.778 351.111H182.222V746.667C169.949 746.667 160 756.616 160 768.889V795.556H155.556C143.283 795.556 133.333 805.505 133.333 817.778V844.445H382.222V817.778C382.222 805.505 372.273 795.556 360 795.556H355.556V768.889C355.556 756.616 345.606 746.667 333.333 746.667H306.667V253.333H128.889Z" fill="#855DCD"/>
<path d="M675.556 746.667C663.283 746.667 653.333 756.616 653.333 768.889V795.556H648.889C636.616 795.556 626.667 805.505 626.667 817.778V844.445H875.556V817.778C875.556 805.505 865.606 795.556 853.333 795.556H848.889V768.889C848.889 756.616 838.94 746.667 826.667 746.667V351.111H851.111L880 253.333H702.222V746.667H675.556Z" fill="#855DCD"/>
</svg>

which matches the one in the commit, unsure if that helps.
it is working with that exact svg on a overriden SocialIcons Header i have deployed

check thank you resized using svgviewer.dev and commiting the resized svg now
full svg for reference
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.187 3.733h11.627v16.533h-1.707V12.693h-0.017c-0.189 -2.093 -1.948 -3.733 -4.09 -3.733s-3.901 1.64 -4.09 3.733h-0.017v7.573h-1.707z" fill="#855DCD"/><path d="m3.093 6.08 0.693 2.347h0.587v9.493c-0.295 0 -0.533 0.239 -0.533 0.533v0.64h-0.107c-0.295 0 -0.533 0.239 -0.533 0.533v0.64h5.973v-0.64c0 -0.295 -0.239 -0.533 -0.533 -0.533h-0.107v-0.64c0 -0.295 -0.239 -0.533 -0.533 -0.533h-0.64V6.08z" fill="#855DCD"/><path d="M16.213 17.92c-0.295 0 -0.533 0.239 -0.533 0.533v0.64h-0.107c-0.295 0 -0.533 0.239 -0.533 0.533v0.64h5.973v-0.64c0 -0.295 -0.239 -0.533 -0.533 -0.533h-0.107v-0.64c0 -0.295 -0.239 -0.533 -0.533 -0.533V8.427h0.587L21.12 6.08H16.853v11.84z" fill="#855DCD"/></svg>

shows up perfectly in preview now


which numba version is used?

Hi, I was trying to play with npbench and tried quickstart.py and got a plot. However, I do see that for every benchmark there exists multiple numba versions, I was wondering which implementation does framework numba refers to, when we do frameworks = ["numpy", "numba"]? I assume it's xxx_numba_npr.py? since it's nopython mode and uses parallel range, and should run faster than other numba versions? However, not all benchmarks have a numba_npr version though.
Or perhaps the best of all implementations is reported as framework numba?
Thanks!

Hello!
All available versions of numba are tested. There can be up to 6 versions (combinations of nopython/object mode, parallel True/False, and explicitly using numba.prange or not). We do not include versions that are redundant or consistently fail to run or deadlock. For example, if a sample runs with numba in nopython mode without any code changes, then there is no point in having an object mode (compatibility) version.
When plotting the results, the version used is the one having the best median runtime out of those that were successfully validated.

Ah I see, thank you very much for the explanation!


How to use the static resource path after npm publish in readme.md

example
step1:config:package.json
             "files": [
                "dist",
                "public"
             ]

step2:resource path
             -dist
                  -index.js
             -public
                  -images
                       -preview.png
             -README.md
             -package.json

step3:cmd:npm publish
step4:config:README.md
  ## Preview
  ![images path](public/images/preview.png)  -----> (question:how to write static resource??? thank you)

step5:web:server
<EMAIL_ADDRESS>is not find static resource

Hi @lovewinders,
Unfortunately this is not possible, by default when you publish a package, yarn | npm will compress the
entire project and publish it to the registry.
The only file registries access from your package is README.md
If you want to set an image on your own README, you'll need to host the image on a separate domain.
Take a look at verdaccio own's README for an example

I agree with @lgaitan . Closing this one.

thank you！