fix: don't bind ports when running the cli

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:mint_public): 250 (+336%)
avm_simulation_time_ms (Token:_increase_public_balance): 18.3 (-79%)
protocol_circuit_proving_time_in_ms (base-parity): 2,023 (+49%)
protocol_circuit_proving_time_in_ms (public-kernel-setup): 18,378 (+17%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,748 (+1%)
1,550 (+1%)
714 (+2%)
762
772

proof_construction_time_sha256_30_ms
11,811 (+1%)
3,161
1,398
1,456 (+2%)
1,474

proof_construction_time_sha256_100_ms
43,966 (+1%)
11,976
5,404 (-1%)
5,427
5,357

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
60.0 (+3%)
87.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,528 (+1%)
419 (+1%)
199
231 (+4%)
269 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,635
1,520
673 (-1%)
735
744 (-1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
708
708
708

l1_rollup_calldata_gas
6,552 (-1%)
6,596
6,576

l1_rollup_execution_gas
583,014
583,209
583,340

l2_block_processing_time_in_ms
757 (-1%)
1,442
2,707 (-1%)

l2_block_building_time_in_ms
10,276
19,937 (-1%)
39,581 (-1%)

l2_block_rollup_simulation_time_in_ms
10,276
19,937 (-1%)
39,580 (-1%)

l2_block_public_tx_process_time_in_ms
8,604
18,051 (-1%)
37,610 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,109 (-1%)
10,135 (+1%)

node_database_size_in_bytes
12,734,544
16,871,504

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
96.7 (-1%)
13,790

GasToken:set_portal
14.2 (+28%)
3,339

Token:constructor
122 (-1%)
23,692

FPC:constructor
93.7
13,592

GasToken:mint_public
86.2 (+5%)
10,158

Token:mint_public
:warning: 250 (+336%)
19,034

Token:assert_minter_and_mint
84.3 (-10%)
12,925

AuthRegistry:set_authorized
45.6 (+2%)
7,812

FPC:prepare_fee
248 (-10%)
11,068

Token:transfer_public
56.5 (+18%)
44,012

FPC:pay_refund
77.4
15,961

Benchmarking:increment_balance
988 (-1%)
11,281

Token:_increase_public_balance
:warning: 18.3 (-79%)
15,006

FPC:pay_refund_with_shielded_rebate
133 (+1%)
17,056

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.154 (-1%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.3 (-1%)
16.7 (-2%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.598 (-1%)
0.512 (-2%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.1 (-1%)
75.9 (-1%)
131 (-1%)
250
469 (-2%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.491 (-1%)
0.466 (-1%)
0.451
0.452 (+1%)
0.438 (-2%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.5 (-1%)
111 (-1%)
183
356 (-1%)
692 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.503 (-1%)
0.499 (-1%)
0.483
0.481 (-1%)
0.477 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.9 (-1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.519 (-1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
77,362
668,542

Transaction size based on fee payment method
| Metric |  |
| - |  |


BUG: NameError: name 'querycoin' is not defined

After the upgrade to poetry.
liquidity profile:
Traceback (most recent call last):
  File "/Users/taariqlewis/Projects/VolumeFi_Projects/trading-bots/MomentumScanner_intraday.py", line 357, in <module>
    findbestreturn(dex=str(sys.argv[1]), stoploss=0.05, profittaking=0.05, lag=lag)
  File "/Users/taariqlewis/Projects/VolumeFi_Projects/trading-bots/MomentumScanner_intraday.py", line 344, in findbestreturn
    findliquidity(hottoken, dex)
  File "/Users/taariqlewis/Projects/VolumeFi_Projects/trading-bots/MomentumScanner_intraday.py", line 253, in findliquidity
    re = querycoin(coin)
NameError: name 'querycoin' is not defined

I got this error too but apparently the issue starts even before that line. Some of the queries' urls are incorrect and the number of queries also increased significantly, presumable due to the incorrect urls. The error log contains a lot these failed queries:
$ python MomentumScanner_intraday.py uniswap_v2 6
Failed to fetch https://pro-api.coingecko.com/api/v3/coins/0?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/0?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/-?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/t?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/t?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/c?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/a?x_cg_pro_api_key=CG-tqNmJikUwRSqWbPkasz89dqj: <class 'asyncio.exceptions.TimeoutError'> Failed to fetch https://pro-api.coingecko.com/api/v3/coins/r?x_cg_pro_ap

@measure-fi

Fixed.


Support nested transaction for MySQL driver

MySQL supports SAVEPOINT, so fix to makeSavePoint method allow to enabled save point feature for MySQL driver.
ref. https://dev.mysql.com/doc/refman/5.6/en/savepoint.html

Thanks a lot for this change!
And apologies for the delay before merging


Will there be trouble compiling spatial_graph on some architectures?

spatial_graph uses witty to compile the C/C++ parts during runtime and load them as a module. witty, in turn, uses cython.
My take is that in environments that can successfully install cython packages that are build at install time, spatial_graph should also compile without issues. The underlying mechanism is the same. It's possible that if someone runs spatial_graph from within an IDE there could be interference with their PATH or other environment variables, which could affect compilation (hi @tlambert03!).
For windows users, that seems to mean that they have to install a compiler (MSVC or MinGW). I'm not familiar with those. Would it be enough to include msvc-runtime in the dependencies?

My take is that in environments that can successfully install cython packages that are build at install time, spatial_graph should also compile without issues

yeah, this is definitely true.  but i would bet that we'll run into a fair degree of end-user variability here.  I would wager that most cython packages now are no longer build-at-install-time.  Most of them do (and all definitely should) ship wheels for every platform that they intend to target, precisely because it's a bit too risky to expect that all users will be set up to build a cython package, and if you look around image.sc or stack overflow, you'll see a bunch of people with errors like error: command 'gcc' failed with exit status 1 or error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools" when they just try to pip install something for which a wheel wasn't available for their platform.  Pretty much everyone ships wheels now (honestly, even for pure python packages where it isn't even necessary).
It's not necessarily a deal breaker, and the simpler you go with regards to the assumptions you make in your source code about system level C/C++ headers or other compile-time dependencies, the more likely it is to work.  I just think we'll need to kind of expect there to be occasional issues, and perhaps wait and see just how occasional they are.

Would it be enough to include msvc-runtime in the dependencies?

while that might work, I think it's probably inadvisable, and may well break other packages in the environment.  (Python itself is built against specific MSVC versions and bundling a conflicting version could cause conflicts). The main tool that people use to build relocatable wheels on CI (cibuildwheel) itself encourages you to just tell users to download Visual C++ Redistributable themselves.  In any case, I think we get input from someone who is actually an expert in python/msvc/windows considerations before doing including a package like that


Language server error when pyls-mypy is installed

Hi -
when I use pyls and pyls-mypy on a python file in Emacs everything works fine for a while. Documentation pops up, function signatures are shown inline, etc. Then, after perhaps a few dozen interactions I get the following (repeatable) error:

Error from the Language Server: jedi.api.environment.InvalidPythonEnvironment: Could not get version information for ’/Users/dkatz/.local/share/virtualenvs/lsp_example_project-cOuqdw3J/bin/python3.7’: OSError(24, ’Too many open files’) (Invalid Parameters) [16 times]

Once that error is raised, I see it every time the cursor hits any interesting piece of code.
If I uninstall pyls-mypy from my python environment, the problem goes away.
I can trigger this behavior even with a completely trivial file like this:
import sys

by just moving the cursor on and off of sys several times (which I assume triggers communication with the server each time as it pops up the module information).
If I watch the number of python processes as a function of how I interact with the server I see something like this (taken from moving the cursor on and off of sys in the trivial file mentioned above):

event
effect
python processes

Open python file in Emacs

5

Put cursor on sys
pop up module info
13

Move cursor off sys
module info popup goes away
13

Put cursor back on sys
pop up module info
18

Move cursor off sys
module info goes away
19

Put cursor back on sys
pop up module info
23

Move cursor off sys
module info goes away
24

Put cursor back on sys
pop up module info
28

Move cursor off sys
module info goes away
29

Put cursor back on sys
pop up module info
34

Move cursor off sys
module info goes away
35

Put cursor back on sys
pop up module info
39

Move cursor off sys
module info goes away
40

Put cursor back on sys
pop up module info
44

Move cursor off sys
module info goes away
45

Put cursor back on sys
pop up module info
49

Move cursor off sys
module info goes away
50

and so on until I got the error with 81 python processes running. The number 81 seems to be pretty consistent for me - I get that number of processes with different files and different interactions (e.g. module info, function info, displaying function signatures, etc.)
Any ideas?
Thanks.
Dan

\
Setup:
OS: macOS 10.13.6
Python: 3.7.0
Python package installer: pipenv
Python packages:

python-language-server 0.21.2 [all]
pyls-mypy 0.1.3

Actually, it looks like this is really an issue in pyls that is just exacerbated by pyls-mypy.  The relevant issue for pyls is palantir/python-language-server#431.
Closing this since the issue is elsewhere.

Thanks for updating this issue, I'll keep an eye on your report to the language server!


⚠ Bofrost.de has degraded performance

In daa2d9e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1615 ms

Resolved: Bofrost.de performance has improved in 0f4d119.


opencv::contrib

I'm trying to include the contrib module of opencv <IP_ADDRESS>.
So I added this snippet to the build.rs:
("contrib", vec!["contrib/contrib.hpp" ]),
Then I run into a problem that a method is already defined:
contrib.cpp:1289:31: error: redefinition of 'cv_contrib_cv_SpinImageModel_getMesh
contrib.cpp:1265:31: note: previous definition is here
So I added this line of code to the Python script (gen_rust.py):
"cv_contrib_cv_SpinImageModel_getMesh": "getMesh",
However I still get the same error.
How can I solve this?

You can now build crate against opencv with contrib and some contrib modules are being generated


Rewrite docs for authenticated feeds

Fixes: https://github.com/NuGet/docs.microsoft.com-nuget/issues/3185
This started off wanting to just add docs about the NuGetPackageSourceCredentials_ environment variable.
But reading the docs, and trying to pretend I'm in inexperienced .NET developer, I thought the doc wasn't very clear. So, I tried rewriting the whole thing.  I hope my change is an improvement! 🤷

nugetexe

Warning: complaints on https://learn.microsoft.com/nuget/reference/extensibility/nuget-exe-credential-providers include a link to the document that is modified in this PR https://learn.microsoft.com/en-us/nuget/consume-packages/consuming-packages-authenticated-feeds#nugetexe, but the #nugetexe bookmark cannot be found. The bookmark is not present in the current version either. Perhaps we should remove the bookmark from the link to ensure the build status turns green.

Learn Build status updates of commit 722686d:
⚠ Validation status: warnings
File	Status	Preview URL	Details
docs/reference/extensibility/nuget-exe-Credential-Providers.md	⚠Warning	View Details
docs/consume-packages/consuming-packages-authenticated-feeds.md	✅Succeeded	View
docs/reference/extensibility/nuget-exe-Credential-Providers.md

Line 14, Column 5: [Warning: bookmark-not-found] Cannot find bookmark '#nugetexe' in 'consume-packages/consuming-packages-authenticated-feeds.md'.

For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:

Try searching the learn.microsoft.com contributor guides
Post your question in the Learn support channel

Warning: complaints on https://learn.microsoft.com/nuget/reference/extensibility/nuget-exe-credential-providers include a link to the document that is modified in this PR https://learn.microsoft.com/en-us/nuget/consume-packages/consuming-packages-authenticated-feeds#nugetexe, but the #nugetexe bookmark cannot be found. The bookmark is not present in the current version either. Perhaps we should remove the bookmark from the link to ensure the build status turns green.

Looks good. There's a few formatting and other small things to fix. If you need further help, ask Mike Jones to do a quick pass on editing/formatting/etc.


FreeBSD is not linux

Why's FreeBSD listed as a linux distro on the README?

The README has grown pretty organically over time. I'm sure that when it was added, the section just wasn't renamed appropriately.
By the way, the tone in your issue comes across as confrontational. A simple "you might want to update the section header.." in the README would've sufficed.
Anyway, thanks for the heads up.

Sorry, I originally intended this as a sort of joke issue.
It's kind of a meme to say FreeBSD is a linux distro - the "not linux" distro. Sorry for sounding confrontational.


Recognize type definitions in ctor-like functions

You will encounter the pattern below very often in the wild. Despite TypeScript having classes as a valid replacement, this should be support IMO, especially when migration a code base or when looking at plain JS code.
function X() {
       this.foo = "123";
};

var y = new X();
y.foo; //should be known

There're definitely a couple other bugs that cover this suggestion already. @RyanCavanaugh and I have talked about this recently as far as exactly what supporting it would look like. Even in a class context we will potentially want to recognize this pattern as JS users will be migrating code like above as well as classes with actual constructors but no type information. A set of assignments to this. (they need not be contiguous) could be understood to define an inferred shape for the type as long as there are no instance fields defined (since at that point you'd have already opted into TypeScript syntax and should finish the job by describing the fields that will be assigned via this. in the constructor).

//CC: @RyanCavanaugh

This is done for JavaScript. I'm not sure this is something we want to entertain for TypeScript however. @ahejlsberg ? If not, we should close this.

We have discussed this in a previous design meeting, and the conclusion was not to introduce another way of defining properties, specially since the committee is looking into property declarations.


modules: hal_nordic: Add multi-instance DPPI and PPIB drivers

Added multi-instance DPPI driver and a new PPIB driver.

can you switch to https://github.com/zephyrproject-rtos/hal_nordic/pull/232 ?

@e-rk https://github.com/zephyrproject-rtos/hal_nordic/pull/232 merged, please update SHA


class Decolorize(DecomposablePhysics):

By trying to solve an issue with pansharpening, we finally ended up with issues on decolorize.
This is a DecomposablePhysics, so we are supposed to give U, S, V, but the way it is implemented is weird to us :
https://github.com/deepinv/deepinv/blob/42e198c27a42bc3b1d5423adf2f3b88e3aa621a6/deepinv/physics/range.py#L5
V_adjoint(self, x):
         y = x[:, 0, :, :] * 0.2989 + x[:, 1, :, :] * 0.5870 + x[:, 2, :, :] * 0.1140
         return y.unsqueeze(1)

For us this should not be V_adjoint, but A. Same for V. We tried making it inherit from LinearPhysics, but this doesn't solve the pseudo-inverse test issue with PanSharpening (on github).
It seems that this function is not tested in the pytests...

The test has been added in #212 (and also the operator has been updated such that V is orthonormal)
@minh-hai-nguyen-712 is your doubt solved? Please let me know so I can close this issue

Thank for your investigation. It seems good for me! Bravo!!


MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.10.16

Checklist

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

Precursor to #3, just to get linux builds working with newer version of R.

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

Could I get a rebuild on the linux r-base 3.4.1? Looks like a http error.

triggered. Thanks @ivirshup!

Thanks @bgruening!
... but I might need another one ... for the long queue.
conda.CondaMultiError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/win-64/vs2015_runtime-14.0.25420-0.tar.bz2>

Done.


First release

initial registration on the julia registry, https://github.com/JuliaComputing/Registrator.jl?tab=readme-ov-file#how-to-use

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


Add poweron architecture ppc64le to travis build

This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing, For more info please tag @gerrith3.

kindly review and merge this

any update on this pls

Sorry for the slow response, haven't been very active on github lately!


Burning bootloader

Are there steps available anywhere to burn this bootloader onto an OpenEarable device that we built ourselves? The webpage mentions briefly about flashing the bootloader and then uploading the latest firmware via Arduino, but we were wondering if there's a more detailed README available!

Hi, you‘ll need a J-Link Programmer. Then connect the Jlink to the 4 pads on the back of the main pcb and power OpenEarable via USB (make sure it‘s switched on). Then you can flash the bootloader using JFlash-Light from your computer.

Just to confirm, does it matter if we specifically use a J-Link programmer to do this? This tutorial  mentions that we can use an AVR-ISP (in-system programmer), USBtinyISP or build a ParallelProgrammer. We also have an ST-Link programmer available so were wondering if there's a specific reason that the J-Link programmer is recommended?

The ST-Link works as it supports SWD. You can also use something like this: https://www.waveshare.com/arm-debugger.htm

Using an ST-Link programmer to program the chip is not well documented (see this).
Secondly, what is the software to be used with the ARM debugger? I can't seem to get it to work with J-Flash or the Keil IDE.

We recommend using J-Link, we do not support the other options, sorry.

yep — it worked, thank you! just another question though — how does the microphone interface work? i can't seem to find any recordings on my SD card (it's exFAT formatted and the recommended one). is there a way via arduino/the dashboard i can just record audio?

Have you tried using the record audio feature of the dashboard? https://openearable.github.io/dashboard/

The recorder section on the bottom right? Yes, I tried turning that on multiple times but all but once it just gave me an empty CSV file. I haven't gotten audio through that though, just some sensor readings (which were all constant for some reason).

Hi, Sorry for the confusion:

The recorder in the bottom right is just to record pressure and temperature data in the browser.
For the microphone, just set the sampling rate and it will automatically start recording that to the sd card. Make sure to disabled the mic after you have recorded to avoid corrupted files.

Thank you — seems like it worked!

oops, really sorry for the constant questions but i just had a few more. i was trying to get audio data over BLE through the dashboard. however, when i start recording through the dashboard, i don't seem to collect any data (pressure/accelerometer) via BLE.
my plan was to just save the PDM mic data in the subscribeOnSensorDataReceived in RecordingManager.js but it seems like it's not being executed. any tips to debug? is there a better way to collect audio data through BLE or an example i can try to verify that it works?

The current version of OpenEarable does not have wireless audio streaming.

got it, i'll try and see how far i get. in the meanwhile, could you give some pointers on how to debug the blank recording issue? like the pressure etc sensors also don't return any data?


Add keyboard mode

Same as HayBox. Code for the TinyUSB keyboard implementation is already in Hay, not sure if Crane's uses TUSB.
They take the approach of registering a composite device that supports both KB and gamepad usage.
Button mapping in webconfig.

Hi, I'm interested in this, and may implement this recently.
Did anyone already do it?


Adding the Final gist to each ch

Chris and I discussed that there are many WDL pieces now... so just putting the final versions and final json files per chapter in gists.
So these are just the *-final-workflow.wdl and *-metadata.json files.

Can merge the spelling/url fixes into here once we get confirmation about proof website.
I added a gist version for the final WDL for each ch. The json files in the resources dir look to be the hutch version (which is in the collapsed section). I assume we actually want the general version? or maybe we dont add gists for json files?

Let's try out gists WDLs before gist JSONs! Going to approve and merge and see what it looks like.


List formatting appears to be mangled.

See, for instance, the first comment of https://gitlab.staging.haskell.org/ghc/ghc/issues/15592.

I suspect it's not the formatting, but the Trac parser choking on nested lists.

Specifically, the parser chokes on list items that contain flat text
followed by a sublist. I'll see what I can do about this, though from
previous experience I suspect it's not going to be pretty.
On Wed, Dec 5, 2018, 15:32 Ben Gamari<EMAIL_ADDRESS>wrote:

See, for instance, the first comment of
https://gitlab.staging.haskell.org/ghc/ghc/issues/15592.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bgamari/trac-to-remarkup/issues/17, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABXjx2Sbe_q2Tv3JM3PRb0Dj419-V0MBks5u19kDgaJpZM4ZC2U5
.

I wouldn't bother trying to fix this.

I think we have consensus here, so closing.


Only redrawing on Location change of Map

I was wondering, wether there is a reason the map is only updated on location changes, and not on changes to markers?

I only needed it to update on location changes originally, but i'll add it as it make send to be able to update the information within the annotation.


Twisted Web WebSocket resource broken

Maybe (again) fallout from tx/H2:
May 15 11:04:22 cb-eu1 crossbar[19943]: 2017-05-15T11:04:22+0000 [Router      19958] Unhandled Error
May 15 11:04:22 cb-eu1 crossbar[19943]: Traceback (most recent call last):
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/twisted/web/_http2.py", line 170, in dataReceived
May 15 11:04:22 cb-eu1 crossbar[19943]:     self._requestEnded(event)
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/twisted/web/_http2.py", line 446, in _requestEnded
May 15 11:04:22 cb-eu1 crossbar[19943]:     stream.requestComplete()
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/twisted/web/_http2.py", line 941, in requestComplete
May 15 11:04:22 cb-eu1 crossbar[19943]:     self._request.requestReceived(self.command, self.path, b'HTTP/2')
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/twisted/web/http.py", line 771, in requestReceived
May 15 11:04:22 cb-eu1 crossbar[19943]:     self.process()
May 15 11:04:22 cb-eu1 crossbar[19943]: --- <exception caught here> ---
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/twisted/web/server.py", line 190, in process
May 15 11:04:22 cb-eu1 crossbar[19943]:     self.render(resrc)
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/twisted/web/server.py", line 241, in render
May 15 11:04:22 cb-eu1 crossbar[19943]:     body = resrc.render(self)
May 15 11:04:22 cb-eu1 crossbar[19943]:   File "/home/ubuntu/crossbar-pypy2-1/site-packages/autobahn/twisted/resource.py", line 121, in render
May 15 11:04:22 cb-eu1 crossbar[19943]:     protocol = self._factory.buildProtocol(request.transport.getPeer())
May 15 11:04:22 cb-eu1 crossbar[19943]: exceptions.AttributeError: 'NoneType' object has no attribute 'getPeer'

This is Twisted 17.1.0 btw

You get this on all requests? Or "plain Web" requests incorrectly destined for the websocket endpoints?

I've tried tls and non-tls endpoints in explicit and universal transports and can't repeat this with CPython. I confirmed I was doing HTTP/2 requests (at least on the TLS endpoints).

I also can't repeat on PyPy 5.8.0

strange .. assume it was just me doing something wrong.

Same Issue, not sure why...

Mine is in reactor


How to stop WinAFL properly?

In the source code, I have seen the following lines that affect the stop_soon flag:

if (!dumb_mode && cycles_wo_finds > 50 && !pending_not_fuzzed &&  getenv("AFL_EXIT_WHEN_DONE"))
      stop_soon = 2;

(commented out)

/* Handle stop signal (Ctrl-C, etc). */

/*
static void handle_stop_sig(int sig) {
  stop_soon = 1;  // Set the flag to stop the fuzzer soon
  if (child_pid > 0) kill(child_pid, SIGKILL); // If there's a child process, kill it
  if (forksrv_pid > 0) kill(forksrv_pid, SIGKILL); // If there's a fork server process, kill it
}
*/

So, I do not see directly that something sets the flag e.g. to 1. Every time I press "Ctrl+C" I get an assertion failure from the line 707 in winafl.c: "unrecodnized command received over pipe". So to be sure, these are the lines:
if (!options.debug_mode)
    {
        WriteCommandToPipe('P');

        command = ReadCommandFromPipe();

        if (command != 'F')
        {
            if (command == 'Q')
            {
                dr_exit_process(0);
            }
            else
            {
                DR_ASSERT_MSG(false, "unrecognized command received over pipe");
            }
        }
    }

I am wondering of how to terminate the program correctly. I've tried to add the following lines:
BOOL WINAPI ConsoleHandler(DWORD dwType) {
    if (dwType == CTRL_C_EVENT) {
        stop_soon++;
        return TRUE;
    }
    return FALSE;
}

But this did not help. Then I observed that Ctrl+C leads to a P char to be sent over pipe and this results into the assert failure.
I would be glad to know how to terminate WinAFL softly. Is it "bad" that the program does not terminate normally? Does it corrupt virgins_bits, a coverage map or something else?

I'm not aware of any negative effects of terminating a WinAFL process using Ctrl+C. At that point, the WinAFL process terminates while the target process may continue running and assert on the pipe being in a broken state. The target process may still write bits in the shared memory, but at this point there is nothing that reads this shared memory anymore.


ReSharper 2017.1 Support

... we're already at EAP ~5~ 6 ... 😉

If just update wave version, it will partially works (but no for all classes it could found tests).
Also i see that suffix was changed from Tests to Test

In gallery now.

@smad2005 I added both suffixes now... Test and Tests as well as Spec and Specs... In case of, unlikely, memory issues, it's advisable to change that to the actually used suffixes.


Pyramid has a config.route_prefix to prefix all routes

Currently route paths are manually prefixed through the path()/service_path() function. See example here:
https://github.com/getsenic/senic-hub/blob/231a900a2245619a46be82f61cd7dabd1c606a87/senic_hub/backend/views/nuimos.py#L22
The path() method prefixes all route paths with /-/:
https://github.com/getsenic/senic-hub/blob/231a900a2245619a46be82f61cd7dabd1c606a87/senic_hub/backend/config.py#L17
Pyramid has a configuration setting that can implicitly prefix all route paths that would would make the use of the path() method unnecessary:
config = ...
config.route_prefix = '/-/'

Implemented in #390


Extra test & flag checks

Add an extra test for the auth package
Simplify the server flag validation a bit
Check timeout flag value (timeouts can't be zero)

Coverage increased (+0.2%) to 90.657% when pulling bd3973288861ed362016e65f165c180bdd4c29b3 on cs/extra-tests into 2d59752edeeb3934dba6cdc69294281f9efe2e75 on master.


sort by resourceType before rendering switches (bug on Android)

Filter items re-sort as switches are toggled, in Android

The latter is fixed with https://github.com/sync-for-science/discovery-mobile-ui/pull/62


add support for Blazor .razor files

Hi! it would be wonderful if this was added to the filetype aspnetcorerazor as well.

@codelastnight Thank you for the great request. I tried for now, but I think it's still a buggy. Please check it 👍 https://marketplace.visualstudio.com/items?itemName=k--kato.docomment


Ship prebuilt binary of Hermes for visionOS

Description
The goal of this issue is to implement a CI pipeline that would build a new version of Hermes corresponding with the proper React native visionOS version. This will significantly reduce build times for end users.
We can distribute the tarball through Github Releases

As discussed offline with Meta, we will build Hermes binary for visionOS on upstream CI/CD.


AutoLayout support

It would be nice to have intrinsicContentSize implemented too, and then it will work for Autolayout.

Any progress on this?


task: headqa_en not working - wrong key

Using the eval harness tools from https://github.com/bigscience-workshop/Megatron-DeepSpeed I can download and eval on most tasks, but headqa (headqa_en):
python ./tasks/eval_harness/download.py --task_list headqa_en
2022-01-18 21:19:33.476640: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
WARNING: headqa is deprecated. Please use headqa_es or headqa_en instead. See https://github.com/EleutherAI/lm-evaluation-harness/pull/240 for more info.
Reusing dataset head_qa (/gpfswork/rech/six/commun/datasets/head_qa/en/1.1.0/d6803d1e84273cdc4a2cf3c5102945d166555f47b299ecbc5266d582f408f8e2)

and then at eval time:
WARNING:datasets.load:Using the latest cached version of the module from /gpfswork/rech/six/commun/modules/datasets_modules/datasets/head_qa/583ab408e8baf54aab378c93715fadc4d8aa51b393e27c3484a877e2ac0278e9 (last modified on Sat Jan  8 18:38:49 2022) since it couldn't be found locally at head_qa.
Traceback (most recent call last):
  File "./tasks/eval_harness/evaluate.py", line 393, in <module>
    main()
  File "./tasks/eval_harness/evaluate.py", line 377, in main
    task_dict = tasks.get_task_dict(task_list)
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/lm_eval/tasks/__init__.py", line 320, in get_task_dict
    task_name_dict = {
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/lm_eval/tasks/__init__.py", line 321, in <dictcomp>
    task_name: get_task(task_name)()
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/lm_eval/tasks/common.py", line 11, in __init__
    super().__init__()
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/lm_eval/base.py", line 350, in __init__
    self.download()
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/lm_eval/tasks/common.py", line 14, in download
    self.data = datasets.load_dataset(path=self.DATASET_PATH, name=self.DATASET_NAME)
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/load.py", line 1604, in load_dataset
    builder_instance = load_dataset_builder(
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/load.py", line 1462, in load_dataset_builder
    builder_instance: DatasetBuilder = builder_cls(
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/builder.py", line 1043, in __init__
    super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/builder.py", line 266, in __init__
    info = self.get_exported_dataset_info()
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/builder.py", line 321, in get_exported_dataset_info
    return self.get_all_exported_dataset_infos().get(self.config.name, DatasetInfo())
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/builder.py", line 316, in get_all_exported_dataset_infos
    return DatasetInfosDict.from_directory(cls.get_imported_module_dir())
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/info.py", line 294, in from_directory
    dataset_infos_dict = {
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/info.py", line 295, in <dictcomp>
    config_name: DatasetInfo.from_dict(dataset_info_dict)
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/info.py", line 261, in from_dict
    return cls(**{k: v for k, v in dataset_info_dict.items() if k in field_names})
  File "<string>", line 20, in __init__
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/info.py", line 144, in __post_init__
    self.features = Features.from_dict(self.features)
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/features/features.py", line 1019, in from_dict
    obj = generate_from_dict(dic)
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/features/features.py", line 876, in generate_from_dict
    return {key: generate_from_dict(value) for key, value in obj.items()}
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/features/features.py", line 876, in <dictcomp>
    return {key: generate_from_dict(value) for key, value in obj.items()}
  File "/gpfswork/rech/six/commun/conda/hf-prod/lib/python3.8/site-packages/datasets/features/features.py", line 877, in generate_from_dict
    class_type = globals()[obj.pop("_type")]
KeyError: 'Image'
[2022-01-18 21:22:05,220] [INFO] [launch.py:160:sigkill_handler] Killing subprocess 95152
[2022-01-18 21:22:05,221] [ERROR] [launch.py:166:sigkill_handler] ['/gpfswork/rech/six/commun/conda/hf-prod/bin/python', '-u', './tasks/eval_harness/evaluate.py', '--local_rank=0', '--load', '/gpfsscratch/rech/six/commun/checkpoints/tr7d-1B3-alibi/checkpoints/global_step117000', '--results_path', 'tr7d-1B3-alibi-1-results.json', '--tensor-model-parallel-size', '1', '--pipeline-model-parallel-size', '1', '--vocab-file', '/gpfsssd/worksf/projects/rech/six/commun/code/eval/Megatron-DeepSpeed/data/gpt2-vocab.json', '--merge-file', '/gpfsssd/worksf/projects/rech/six/commun/code/eval/Megatron-DeepSpeed/data/gpt2-merges.txt', '--micro-batch-size', '6', '--no-load-optim', '--no-load-rng', '--inference', '--seq-length', '2048', '--adaptive_seq_len', '--eval_fp32', '--task_list', 'headqa_en', '--deepspeed', '--deepspeed_config', 'ds_config.json', '--num-layers', '-1', '--hidden-size', '-1', '--num-attention-heads', '-1', '--seq-length', '-1', '--max-position-embeddings', '-1'] exits with return code = 1

python -c "import datasets; print(datasets.__version__)"
1.15.1

which is the pinned version:
https://github.com/EleutherAI/lm-evaluation-harness/blob/1c52e917cf9196a72dee111ff3a107b115e9da96/setup.py#L25
Thanks.

Sorry for the late response. It's been resolved with a custom HuggingFace datasets loading script lm_eval/datasets/headqa/headqa.py which ignores the image features in the HuggingFace Hub version.
Thank you for reporting.


PUSH event hooks not sent for branch removal

Gitea version (or commit ref): 858197b
Git version: N/A
Operating system: N/A
Database (use [x]): N/A

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
When I configure a webhook that receives all events, push events that remove a branch or branch removal of the branch through the UI do not trigger a webhook event:
Creation of a new branch results in events like:
X-Gitea-Event: create
{
  "secret": "magic",
  "sha": "2409990415d77f47ed5c4c775abda4ffa6aa5f11",
  "ref": "branch",
  "ref_type": "branch",
  "repository": {
    "id": 17,
    "owner": {
...

and
X-Gitea-Event: push
{
  "secret": "magic",
  "ref": "refs/heads/branch",
  "before": "0000000000000000000000000000000000000000",
  "after": "2409990415d77f47ed5c4c775abda4ffa6aa5f11",
...

I would expect removal of the branch to trigger at least a webhook that looked something like:
X-Gitea-Event: push
{
  "secret": "magic",
  "ref": "refs/heads/branch",
  "before": "2409990415d77f47ed5c4c775abda4ffa6aa5f11",
  "after": "0000000000000000000000000000000000000000",
...

It is a somewhat separate concern the use of a magic value to indicate no ref, better would be to include the created and deleted booleans that GitHub does, but for my part the only concern I have is the lack of a push event to catch branch removal.

Could you include the logs from gitea? without them it's very hard to see what's happening :)

(Not sure if this is bug or not, might be a feature request 😅 )

I'll see if I can dig it out but your Jenkins integration (which I have nearly finished) will be annoying without an event for this.
If you want feature requests:

manage hooks for a user's repos
events for repo created / deleted
some way in the api to distinguish a name as an org name vs user name (currently I get the name as a user and it's and org if the email is empty)
file browse by rest api (basically the raw needs a way to serve directory listings for non-file paths... also good to flag content as a link if somebody commits a link)

Icing on top:

commit file (with branch creation if desired) by rest api - needed for blue ocean integration

Logs
Creating the branch: (git push origin branch)
Jul  3 20:05:56 sshd[27634]: Accepted publickey for git from x.x.x.x port 58096 ssh2: RSA SHA256:BTv+kWSXkHaRXdqhCNGet61YTXyMvWnfOFfSWr3Mgr8
[Macaron] 2017-07-03 20:05:56: Started GET /api/internal/branch/17/branch for <IP_ADDRESS>
[Macaron] 2017-07-03 20:05:56: Completed /api/internal/branch/17/branch 200 OK in 2.354313ms
[Macaron] 2017-07-03 20:05:56: Started POST /api/internal/push/update for <IP_ADDRESS>
[Macaron] 2017-07-03 20:05:56: Completed /api/internal/push/update 202 Accepted in 61.8573ms
[Macaron] 2017-07-03 20:05:56: Started POST /api/internal/ssh/1/update for <IP_ADDRESS>
[Macaron] 2017-07-03 20:05:56: Completed /api/internal/ssh/1/update 200 OK in 13.464549ms
Jul  3 20:05:56 sshd[27634]: Received disconnect from x.x.x.x port 58096:11: disconnected by user
Jul  3 20:05:56 sshd[27634]: Disconnected from x.x.x.x port 58096

Events from the UI

Now the log when deleting the branch (git push origin :branch)
Jul  3 20:05:59 sshd[27690]: Accepted publickey for git from x.x.x.x port 58098 ssh2: RSA SHA256:BTv+kWSXkHaRXdqhCNGet61YTXyMvWnfOFfSWr3Mgr8
[Macaron] 2017-07-03 20:05:59: Started GET /api/internal/branch/17/branch for <IP_ADDRESS>
[Macaron] 2017-07-03 20:05:59: Completed /api/internal/branch/17/branch 200 OK in 2.063422ms
[Macaron] 2017-07-03 20:05:59: Started POST /api/internal/push/update for <IP_ADDRESS>
[Macaron] 2017-07-03 20:05:59: Completed /api/internal/push/update 202 Accepted in 9.581596ms
[Macaron] 2017-07-03 20:05:59: Started POST /api/internal/ssh/1/update for <IP_ADDRESS>
[Macaron] 2017-07-03 20:05:59: Completed /api/internal/ssh/1/update 200 OK in 4.247786ms
Jul  3 20:05:59 sshd[27690]: Received disconnect from x.x.x.x port 58098:11: disconnected by user
Jul  3 20:05:59 sshd[27690]: Disconnected from x.x.x.x port 58098

No events in the UI, no events in request bin
@bkcsoft does that help?

I think that's a feature, see the description on the webhook on Gitea.

Says "git push to a repository" so should be all git pushes, even those that remove refs.
That's a bug if you ask me.
A feature would be a separate new event for "delete" but the "push" should include removal based on its description

@lunny

Just says Git push to a repository it doesn't say Subset of git pushes to a repository that add or update things but not those that remove things
This is clearly a bug

If you want to have a new event for non-push that is a delete event, that would be a separate feature request, but this issue is PUSH event hooks not sent for branch removal

I would separate these checkboxes into categories, so you get somethings like this. WDYT?

Git

Push event (new commits)
Branch events (create, delete)
Tag events (create, delete)

PullRequest

Opened
Closed
[...]

Issues

Opened
[...]

I think push should align with the GitHub push event, i.e. Branch/tag CRUD
The other stuff would be a great feature request, but missing the D on this is a bug

I also think that too many options is bad for users. GitHub has it about right:

You just need to fix this bug on how you process Push events... which should include pushes like git push origin :branch just like GitHub does.
The PUSH events currently are missing, clear bug.
The other events that GitHub offers are RFEs and should probably be in a separate issue

@lunny @bkcsoft I have created https://github.com/go-gitea/gitea/issues/2113 to track the RFEs so that this one can be left to track the BUG ;-)

If a hook is missing that never was there in the first place it's still a FE, not a bug ;)

Well you already have a "Push" hook that promises "Git push to a repository" and I am showing that it does not deliver all git pushes to a repository... only the Cr & U of CrUD... so sounds very like a bug.... I am not asking for a new hook in this issue... only for the existing hook to publish all the "git push to a repository" that it currently advertises
Now you could fix this in one of two ways:

Actually fix the existing hook to honour its existing documentation
Change the documentation to say that "push" does not include the D in CrUD

Either of those are perfectly valid fixes to the bug... obviously I would be a Sad Panda if you chose the "change the documentation" route.
BTW when you fix this then https://github.com/jenkinsci/gitea-plugin will be a really sweet integration for gitea with Jenkins... right now, without the Push event publishing the D of CrUD you have to force scanning far far too often in order to clear out deleted branches

Someone's working on that?

@daviian I don't think so, go ahead

IMO issue can be closed now as #2530 has been merged


Add coloring for types in comments

Hello,
my suggestion is to make types in comments colorized like it's in Atom. This will be really cool to have in this theme. The color of types will be as it is right now if we write it outside of comments.
This theme:

Atom:

As you can see in Atom it is colorized like it was outside of comments, it will be very cool to have it same in this theme.

This is the official Material Theme. Other versions are just customised porting. I'm sorry at the moment there is no plans for changing the color scheme/ui theme, just porting.

@equinusocio No problem. I really like this theme, because it's really good, tested almost all popular material themes, but this one is best!


[eas-cli] build configure and create improvements

Why

Update and add messages https://www.notion.so/expo/Minimal-suggested-new-output-401a03083eb041a8b619edc41b7147be
When running builds for both platforms, if validation for the second build fails, the command exits with an error code, but the first build is still executed

How

Running configure by default if eas.json is missing during build:create command.
If building with -p all send build requests after all configuration/validation steps are finished
rename BuildCommandPlatform -> RequestedPlatform

Test Plan
Run the different build and configure for a few different valid and invalid project confiurations

I think we should use a top-level command rather than an alias for this because the help output is a lot better:
Alias

Top-level command

(It would be nice if COMMANDS read SUBCOMMANDS instead though)


Handle context aware printing of negative diffs correctly

Related to #375

Thanks for this, could you also add tests that cover this edge case?


fix(frontend):Broken images fixed

fix(frontend):Broken images fixed
Add images to repository and puts the new link to them

resolves #338

Steps to test

Go to https://guias.eoscostarica.io/docs/proyectos-de-codigo-abierto#eosio-dashboard
Go to https://guias.eoscostarica.io/docs/proyectos-de-codigo-abierto#ggoods

CheckList

[X] Follow proper Markdown format
[X] The content is adequate
[X] The content is available in both english and spanish
[ ] I Ran a spell check

Update Telegram Channels ESP
Old Telegram channel invites have been updated and a new section for networks we participate has been added

resolves #422

Steps to test

Go to https://guide.eoscostarica.io/docs/community-resources/telegram-channels and view telegram invites and the new section of networks we participate

CheckList

[x] Follow proper Markdown format
[x] The content is adequate
[x] The content is available in both english and spanish
[ ] I Ran a spell check


DiscordSRV issue

When I leave the server Not in vanish, it doesn't send the left the server message.
However everything else works:
When I join the server (Vanish automatically on) it doesn't send the message until I go out of vanish which is good,
When I go back in and out of vanish, it sends the left and join message just fine.
But when I leave the server not even in vanish, it doesn't send the leave message.

This should not be the case. The only thing that the DiscordSRV hook does is send its own join and leave messages, not intercept existing ones. Could you try disabling the hook in the config and see if the issue still persists? It may be something to do with your DiscordSRV configuration.

Ah fixed it, thank you!

actaully nvm

when I leave while in vanish, it now sends a left the server, than sends another one when I actually leave the server

So when you vanish, it sends a leave message, and then when you actually leave, it sends another one?

yes

On Aug 11, 2022, at 11:43 PM, quantiom @.***> wrote:

So when you vanish, it sends a leave message, and then when you actually leave, it sends another one?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


[Bug]: Other cards don't load when included

What happened?
When installing and then including in the view file via <livewire:4xx cols='4' rows='2' />, no other cards load.
Console error: Uncaught (in promise) Could not find Livewire component in DOM tree

How to reproduce the bug

Install package
Attempt to output on page

Package Version
0.0.2
PHP Version
8.1.11
Laravel Version
10.35.0
Which operating systems does with happen with?
Linux
Notes
Using the latest commit in the Pulse beta: https://github.com/laravel/pulse/commit/9c65d50d22529b6034b520257d105ee9b279ca3d

Could you dump the requests that were in the database at the time? In the
FourXxCard.php file
On Sat, 9 Dec 2023 at 6:34 am, John Bacon @.***> wrote:

What happened?
When installing and then including in the view file via <livewire:4xx
cols='4' rows='2' />, no other cards load.
Console error: Uncaught (in promise) Could not find Livewire component in
DOM tree
image.png (view on web)
https://github.com/morrislaptop/laravel-pulse-4xx/assets/308588/09ad8e90-72bf-4a3c-a7c4-0d18af8d03ac
How to reproduce the bug

Install package
Attempt to output on page

Package Version
0.0.2
PHP Version
8.1.11
Laravel Version
10.35.0
Which operating systems does with happen with?
Linux
Notes
Using the latest commit in the Pulse beta: @.***
https://github.com/laravel/pulse/commit/9c65d50d22529b6034b520257d105ee9b279ca3d
—
Reply to this email directly, view it on GitHub
https://github.com/morrislaptop/laravel-pulse-4xx/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAQRXZRZH253Y4U54LNQMTYINTUXAVCNFSM6AAAAABANDG6Z2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTGMRQG4YDGNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Here is the query:
select (select `key` from `pulse_entries` as `keys` where `keys`.`key_hash` = `aggregated`.`key_hash` limit 1) as `key`, `max`, `count` from (select `key_hash`, max(`max`) as `max`, sum(`count`) as `count` from ((select `key_hash`, max(`value`) as `max`, count(*) as `count` from `pulse_entries` where `type` = '4xx_request' and `timestamp` >=<PHONE_NUMBER> and `timestamp` <=<PHONE_NUMBER> group by `key_hash`) union all (select `key_hash`, max(`value`) as `max`, null as `count` from `pulse_aggregates` where `period` = 60 and `type` = '4xx_request' and `aggregate` = 'max' and `bucket` >=<PHONE_NUMBER> group by `key_hash`) union all (select `key_hash`, null as `max`, sum(`value`) as `count` from `pulse_aggregates` where `period` = 60 and `type` = '4xx_request' and `aggregate` = 'count' and `bucket` >=<PHONE_NUMBER> group by `key_hash`)) as `results` group by `key_hash` order by `count` desc limit 101) as `aggregated`

And the dump() output of $fourXxRequests:
Illuminate\Support\Collection {#953 ▼ // vendor/morrislaptop/laravel-pulse-4xx/src/FourXxCard.php:54
  #items: array:2 [▼
    0 => {#936 ▼
      +"method": "GET"
      +"uri": "test/pulse"
      +"status": 403
      +"latest": Carbon\CarbonImmutable @1702654384 {#947 ▼
        #endOfTime: false
        #startOfTime: false
        #constructedObjectId: "00000000000003b30000000000000000"
        #localMonthsOverflow: null
        #localYearsOverflow: null
        #localStrictModeEnabled: null
        #localHumanDiffOptions: null
        #localToStringFormat: null
        #localSerializer: null
        #localMacros: null
        #localGenericMacros: null
        #localFormatFunction: null
        #localTranslator: null
        #dumpProperties: array:3 [▶]
        #dumpLocale: null
        #dumpDateProperties: null
        date: 2023-12-15 10:33:04.0 America/New_York (-05:00)
      }
      +"count": "9.00"
    }
    1 => {#949 ▼
      +"method": "GET"
      +"uri": "test/asodjfaiodsf"
      +"status": 404
      +"latest": Carbon\CarbonImmutable @1702655662 {#954 ▼
        #endOfTime: false
        #startOfTime: false
        #constructedObjectId: "00000000000003ba0000000000000000"
        #localMonthsOverflow: null
        #localYearsOverflow: null
        #localStrictModeEnabled: null
        #localHumanDiffOptions: null
        #localToStringFormat: null
        #localSerializer: null
        #localMacros: null
        #localGenericMacros: null
        #localFormatFunction: null
        #localTranslator: null
        #dumpProperties: array:3 [▶]
        #dumpLocale: null
        #dumpDateProperties: null
        date: 2023-12-15 10:54:22.0 America/New_York (-05:00)
      }
      +"count": "1.00"
    }
  ]
  #escapeWhenCastingToString: false
}

I couldn't replicate this I'm afraid... could you get a failing test working? FourXXCardTest.php would be a good start.


docker image with perl MQ Series client

Hi: I am trying to build/pull a docker image that has perl with MQSeries module. Is this the right docker image.  All I am trying to is write scripts that connect to a MQ server to send and receive messages. I don't intend to run a MQ server. I have tried including "requires 'MQSeries'" in the cpanfile and tried to build a brand new image. But keep getting "Configure failed for MQSeries-1.34. See /root/.cpanm/work/1497022432.9/build.log for details". Can someone point me in the right direction? Maybe there is a docker image with this already built in it. All my searches have not resulted in something useful.
Thanks
Ravi

Hi @ravi567 - The image(s) in this repository will probably not meet your requirements as they are right now. They are sample MQ Server Docker images, so for your case where you will be doing client work will not be applicable.
I'm not aware of any docker images which only build the MQ Client or build the MQ Client with Perl so you will have to create one. I would suggest looking at the sample Dockerfiles here and using the system we use to download and install the IBM MQ Advanced for Developers edition, but modifying it to install the MQ Client binaries you require and other perl binaries (and removing/changing the start up scripts).
Because this repository handles the example IBM MQ Server image we will be unlikely to provide you any support here. I would suggest you try other IBM MQ forums for help such as:

Stackoverflow
MQ Mailing list
or if you have a valid support contact with IBM MQ contacting Support.

thank you.


NameError - uninitialized constant Sinatra::Async::Helpers::EM:

I just installed with gem install deelay but when trying to use it I get the following error:
::1 - - [26/Mar/2018:18:17:10 JST] "GET /1000/http://ipredacted:9001/path/to/my/asset HTTP/1.1" 500 133958
- -> /1000/http://ipredacted:9001/path/to/my/asset
2018-03-26 18:17:11 - NameError - uninitialized constant Sinatra::Async::Helpers::EM:
	/Users/amake/.gem/gems/async_sinatra-1.3.0/lib/sinatra/async.rb:139:in `native_async_schedule'
	/Users/amake/.gem/gems/async_sinatra-1.3.0/lib/sinatra/async.rb:131:in `async_schedule'
	/Users/amake/.gem/gems/async_sinatra-1.3.0/lib/sinatra/async.rb:149:in `async_runner'
	/Users/amake/.gem/gems/async_sinatra-1.3.0/lib/sinatra/async.rb:75:in `block in aroute'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1633:in `call'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1633:in `block in compile!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:992:in `block (3 levels) in route!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1011:in `route_eval'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:992:in `block (2 levels) in route!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1039:in `block in process_route'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1037:in `catch'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1037:in `process_route'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:990:in `block in route!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:989:in `each'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:989:in `route!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1096:in `block in dispatch!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1075:in `block in invoke'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1075:in `catch'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1075:in `invoke'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1093:in `dispatch!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:924:in `block in call!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1075:in `block in invoke'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1075:in `catch'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1075:in `invoke'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:924:in `call!'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:913:in `call'
	/Users/amake/.gem/gems/rack-protection-2.0.1/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/amake/.gem/gems/rack-protection-2.0.1/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/amake/.gem/gems/rack-protection-2.0.1/lib/rack/protection/json_csrf.rb:26:in `call'
	/Users/amake/.gem/gems/rack-protection-2.0.1/lib/rack/protection/base.rb:50:in `call'
	/Users/amake/.gem/gems/rack-protection-2.0.1/lib/rack/protection/base.rb:50:in `call'
	/Users/amake/.gem/gems/rack-protection-2.0.1/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/amake/.gem/gems/rack-2.0.4/lib/rack/null_logger.rb:9:in `call'
	/Users/amake/.gem/gems/rack-2.0.4/lib/rack/head.rb:12:in `call'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/show_exceptions.rb:22:in `call'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:194:in `call'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1957:in `call'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1501:in `block in call'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1728:in `synchronize'
	/Users/amake/.gem/gems/sinatra-2.0.1/lib/sinatra/base.rb:1501:in `call'
	/Users/amake/.gem/gems/rack-2.0.4/lib/rack/handler/webrick.rb:86:in `service'
	/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
	/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
	/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'

I am on macOS 10.13.3 with stock Ruby, gems installed to user with GEM_HOME=~/.gem.

Same here, with macos 10.12.6 and Ruby 2.5.0

This gem and even some of its major dependencies seem to have been abandoned years ago.
I ended up using toxiproxy instead.

I build and run it with ruby 2.3.5 and it works ok. I updated the gem to be more explicit about the ruby version that it works with.


broadcom: fix build 5.9

Motivation for this change
Patch to fix the build error for the 5.9 Linux kernel.
Related to github:nixos/nixpkgs#101040
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/414

@teto pinging you since you  were the last one to submit a patch for broadcom-sta. Hopefully you still have a machine to test it.

upstream is dead for this broadcom stuff which explains why we have so many issues :(
My machine with the broadcom died so can't test but the patch looks ok. See https://gist.github.com/joanbm/9e20b3842bb336379eccc12410901e37 for some context.


File upload 6/1

[ ] CSS
[ ] React
[ ] React Examples
[ ] Vue 3
[ ] Vue Examples
[ ] Svelte
[ ] Svelte Examples
[ ] Angular
[ ] Angular Examples
[ ] Site Docs
[] Publish frameworks

@Croug lmk if this is of interest


Decorrelate build and runtime image builds

Many thanks for submitting your Pull Request :heart:!
Please make sure your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Pull Request title is properly formatted: [KOGITO|RHPAM-XYZ] Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a testcase that verifies it
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster
[ ] You've added a RELEASE_NOTES.md entry regarding this change

@desmax74 I think that the @radtriste's suggestions make sense, can you please sync with him?
we can merge here and then you apply other minor changes that might be needed.

@desmax74 PR rebased and good to merge :)


Making an documentation for each datasource and each query type-Jolt spec

This documentation will be usefull for generalizing the json structure

Documentation is completed.
I have done Data_replay, infra, pat, sat, meta datasources json structure.

I have done Attendance, Composite, telemetry, crc, teacher attendance,udise and diksha datasources json structure.

krishna, sharath has to review the document.


link not avaliable

hello sir
the follow
"Download item (a), (b), and (c) in the SceneNN scene repository here. All images for each scene are packed in an ONI video file, which can be extracted using the playback tool here. Note that to store images for all scenes, a hard drive with free space about 500 GB is prefe"
the link is 404 would you give another

I also find the website link is no longer accessible.
I am also looking for this dataset. What format of data do you need? Is it the raw data in .obj format or the general folder that contains the folders "gesture_1" to "gesture_14"?


Custom OpenAPI content type and attrs with lists of submodels bug

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import List

import yaml
from fastapi import FastAPI, HTTPException, Request
from pydantic import BaseModel, ValidationError

app = FastAPI()

class Image(BaseModel):
    name: str
    path: str

class Item(BaseModel):
    name: str
    description: str | None = None
    price: float
    images: List[Image]

    class Config:
        schema_extra = {
            "example": {
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "images": [
                    {"name": "img1.png", "path": "/tmp/img1.png"},
                    {"name": "img2.png", "path": "/tmp/img2.png"}
                ],
            }
        }

@app.post(
    "/items",
    openapi_extra={
        "requestBody": {
            "content": {"application/x-yaml": {"schema": Item.schema()}},
            "required": True,
        },
    },
)
async def create_item(request: Request):
    raw_body = await request.body()
    try:
        data = yaml.safe_load(raw_body)
    except yaml.YAMLError:
        raise HTTPException(status_code=422, detail="Invalid YAML")
    try:
        item = Item.parse_obj(data)
    except ValidationError as e:
        raise HTTPException(status_code=422, detail=e.errors())
    return item

Description
Hello
When I use attribute that is List of Submodel I get "Could not resolve reference: Could not resolve pointer: /definitions/Image does not exist in document" error.
If I use attribute that is List of any generic type like "str" -> images: List[str] everything works as expected.

Operating System
Linux
Operating System Details
No response
FastAPI Version
0.75.2
Python Version
3.10.4
Additional Context
No response

Yeah, this caused a decent amount of annoyance for me as well.

It doesn't help (
Image submodel definition not moved to the '/components/schemas'
Maybe someone know how to move schemas from definitions to the /components/schemas when custom content type schema is used?
"definitions": {
  "Image": {
    "title": "Image",
    "type": "object",
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "path": {
        "title": "Path",
        "type": "string"
      }
    },
    "required": [
      "name",
      "path"
    ]
  }
}

any update on this...?


Workaround to use Azure SDK with RC2. (at least Storage)

For people interested on using Azure SDK while there isn't a compatible version, I found a workaround. Is about using imports and bring a new version of the XmlSerializer as follows:
"dependencies":{
    "WindowsAzure.Storage": "7.0.1-preview",
    "System.Xml.XmlSerializer": "4.0.11-rc2-24027"
},
 "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "dnxcore50",
        "portable-net45+win8"
      ],

this works as standalone and portable in my minor testing. I can upload and access files. That's it. Didn't try anything else, so no guarantees. works on my machine ™

/cc @pemari-msft

Nice, do you know if we can do the same for all non compatible libraries aswell?

All? No, it depends on what frameworks a package supports?

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


WL-415 | i18n for xblock templates. Created a custom Django template tag libra…

…ry which uses the i18n runtime service.

@afzaledx

Closing due to inactivity.  Feel free to re-open if it's still relevant.

Although this pull request is already closed,  I'm still watching it for updates.
There is nothing you have to do. No action is needed from your side.  Thanks.


Bug: "Boomarklets" rather then "Fun Bookmarklets"

https://funbookmarklets.github.io/bookmarklets.html

Resolved in #9


python312Packages.pymc: 5.17.0 -> 5.18.0

Things done
Changelog: https://github.com/pymc-devs/pymc/releases/tag/v5.18.0
cc @nidabdella @ferrine

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353615

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.pymc
python311Packages.pymc.dist

aarch64-linux

:white_check_mark: 4 packages built:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.pymc
python311Packages.pymc.dist

x86_64-darwin

:fast_forward: 4 packages marked as broken and skipped:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.pymc
python311Packages.pymc.dist

aarch64-darwin

:fast_forward: 4 packages marked as broken and skipped:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.pymc
python311Packages.pymc.dist

The bump itself LGTM
Technically this is a breaking change w.r.t. the stable branch-off, as it drops a 1-year deprecated method which I still see is used on github by various repos. The impact is minor however and will not block merging this

The bump itself LGTM

Thank you for the insight. I think that this should be fine.

Are you okay with me merging then ?

:+1:

https://github.com/NixOS/nixpkgs/pull/354840


Drop futures as soon as they're done for array::join

Makes progress towards #137. If we accept this fix we'll want to copy it for all our APIs.

Updated with feedback from review! I'm pretty happy with the logic as it is, and I think we could merge it. But I think I'd be happiest if we could factor out the manual [ManuallyDrop<T>; N] logic into its own file, because we'll want to share it between all array implementations.


Quirrel ci diff preview depls

Closes #583
ToDo:

[ ] make quirrel ci output beautiful
[ ] Write actual PR description

Coverage decreased (-0.6%) to 75.865% when pulling b5cc49e2cca80f84affc2114acdfa8b2c0555ddb on quirrel-ci-diff-preview-depls into 8f59aa12b475260dbcc9cc3eab394bcce6a99b98 on main.


How do I make it so it auto selects to play an another game? Also I have this error where it stops and tells me to reload game

Part of the script checks for the round ending message, and then should continue and select a new zone automatically. Do you see any errors in console when this bug occurs?

so I think you have to let the script press the play button by itself. If you press play then i don't think it picks the planets and stuff. I may be wrong though.

It should press the play button, I haven't added support to select planets yet. You have to select the planet, and then it will autoselect the zones within the planet.

Planet auto-selection has been added. Are you still seeing this bug where a new round doesn't start?

No, I don't see the bug but it looks the program will not work when the
user presses the play button. You have to let the script press the button
to start itself. This is not gamebreaking and I actually like it.
On Thu, Jun 21, 2018, 10:32 PM Cory Shaw<EMAIL_ADDRESS>wrote:

Planet auto-selection has been added. Are you still seeing this bug where
a new round doesn't start?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/coryshaw1/saliens-hack/issues/4#issuecomment-399310361,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AknIqzOKbAHDQN9VssMEJ0z0G3oAQadAks5t_GUugaJpZM4Uy8XN
.


Refactor getSearchSuperHero for better readability and error handling

Please remember that only pull requests assigned to specific issues will be considered in this repository. Avoid submitting pull requests directly 🙂.
Start by creating an issue, and once you're assigned to it, proceed with your work.

Created issue #23 @Prajwal0225


Creating a project within an existing repository causes a fatal git error

Creating a project within an existing repository renders git unable to track the project in its entirety.
git add
$ git add .
error: 'project/' does not have a commit checked out
fatal: adding files failed

git status
$ git status
On branch master

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        project/

nothing added to commit but untracked files present (use "git add" to track)

An option needs to be added for the creation of the .git/ directory.
This is likely related  #366, which has been ignored since October 2019:

1. Not everyone uses git (shocking, I know)
2. Sometimes you might be creating the project in an existing repository.

This is resolved by #596 right?

@azrikahar yeah! i was meant to write Closes #587 😁

closing now.


Integration stopped working

After adding my mower to the husquara API (created a new one) I tried to connect HA with it, but I now get a setup error:
Error setting up entry for gardena_smart_system
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 141, in __call_smart_system_get
if self.__response_has_errors(response):
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 131, in __response_has_errors
response.raise_for_status()
File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 749, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://httpstatuses.com/404
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/gardena_smart_system/init.py", line 49, in async_setup_entry
await gardena_system.start()
File "/config/custom_components/gardena_smart_system/init.py", line 86, in start
await self.smart_system.update_locations()
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 146, in update_locations
response_data = await self.__call_smart_system_get(
File "/usr/local/lib/python3.10/site-packages/backoff/_async.py", line 183, in retry
await asyncio.sleep(seconds)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 605, in sleep
return await future
asyncio.exceptions.CancelledError
Any idea?

It looks to me the authorization doesn't work.
Anyone an idea why?

Yes, I see that. But where does this URL come from?


Stylized popup component

Hello,
I worked on a stylized Popup component.
Users have the possibility to use it or continue to use the library with showLocation method.
I made changes in code structure in order to mutualize calls and ensure backward compatibility.
Feel free to tell me if I have to make any changes, hope you'll like it.

First of all: really cool! Love the look of that popup. I still want to test this and make some small tweaks to the README, will hopefully get a chance to do that this weekend, and will merge and release on NPM as soon as possible after that. Does that sound alright?

Thanks to my bro' for the popup design ;)
Thank you, it's ok for me, don't hesitate if I can do something or help.
Cheers


failed to perform copy command due to error: cannot start job due to error: cannot list files

Storage Explorer Version: 1.14.2
Build Number: 20200715.2
Platform/OS: Windows 10
Architecture: x64
Regression From:  1.14.1
Bug Description
when i try to download a file from a storage, it uses a lot of time and doesn't complete and i receive this error message
{
"message": ""failed to perform copy command due to error: cannot start job due to error: cannot list files due to reason -> github.com/Azure/azure-pipeline-go/pipeline.NewError, /home/vsts/go/pkg/mod/github.com/!azure/azure-pipeline-go@v0.2.2/pipeline/error.go:154\nHTTP request failed\n\nGet https://XXXXXXXXXXXXX.blob.core.windows.net/$logs?comp=list&delimiter=%2F&include=metadata&prefix=blob%2F2020%2F07%2F15%2F0000%2F000000.log%2F&restype=container&{SasToken}: proxyconnect tcp: dial tcp: lookup proxy endpoint : no such host\n.\n""
}
Steps to Reproduce
i receive this issue for every dowload i try to do
Expected Experience
Download the file
Actual Experience
Additional Context
On my proxy settings i haven't any proxy setted, neither in Storage Explorer.
It works when i use my customer Vpn or Fiddler.
i asked to my colleagues and they didn't receive any

@Sherlocco we didn't change anything in 1.14.2 that could break this. Could you go try 1.14.1 again and see if it still actually works in that version? You can download it from this page: https://github.com/microsoft/AzureStorageExplorer/releases
In the meantime, we'll try to get someone from the AzCopy team over here to figure out why AzCopy thinks there is a proxy when you say there isn't.

@MRayermannMSFT you're right, in fact also 1.14.1 didn't work.
other than "proxy settings", can i search in other points for some other proxy configuration?

You can look at your windows environment variable settings for either HTTP_PROXY or HTTPS_PROXY. If those are there, then Storage Explorer is most likely picking them up silently in the background.

neither HTTP_PROXY or HTTPS_PROXY are setted in my environment variables setup, sorry

@Sherlocco did something maybe change about your storage account then? Did someone turn on a firewall or move it to a private network? Are other users who connect to this storage account with storage explorer able to access it?

@Sherlocco did something maybe change about your storage account then? Did someone turn on a firewall or move it to a private network? Are other users who connect to this storage account with storage explorer able to access it?

A couple of colleagues have no issue and are still able to access it with no problem

@Sherlocco can you check for OS proxy settings? There's 2 common places in windows to look for those:

Start menu -> search for internet settings -> go to connections tab -> for each of the things in the list box, click on settings, and see if you have any proxy servers set for them
Windows settings -> Network and Internet -> Proxy -> see if you have anything there

@MRayermannMSFT
I've no OS proxy specified.
In both the location you suggested, i've nothing as proxy setting.


[Toolkit bug]: Search Option Disabled

Contact Details (Optional)
No response
Describe the bug
It looks like the search option is disabled when in the file picker. Please see screenshot.

How do you reproduce the bug?
Go to Asset Replacements, Material Properties, and click on the folder icon next to one of the tabs. The File picker page has the search function disabled.
What is the expected behavior?
The toolkit should...
Version
2024.1.1

Duplication of https://github.com/NVIDIAGameWorks/rtx-remix/issues/389


Perform sanity checking on the Ouroboros Praos implementation

This resolves #201.

Thank you for your hard work on this. This project will be finalized in the new repository ouroboros-high-assurance; therefore I’ll merge this pull request now.


Writing xml (Saml, Saml2, Dsig) should have namespaces.

When xml is written it should have the namespace in the first element.
Saml, Saml2 and Dsig should be added.

@lovemaths can you have at look at this and get us an idea how much work this would be. Writing tokens is not a P0 scenario for this release, but if this is a reasonable amount of work we could consider it.

@mafurman I noticed that SamlConstants and Saml2Contants have a different value for "saml" prefix.
Saml1 - > PreferredPrefix, Saml2 Prefix. Lets make is PreferredPrefix.


Question(s) about the heightmap information after generating a heightmap

As seen in the picture, after generating a heightmap we get some information about which values we should use inside UE5 to get a 1:1 map scale.

Do we just have to type in the suggested values in the corresponding fields or do we have to multiply the original scale values by the suggested values?

Could you add a button so the user can save those information as a text file?
Or maybe this file could be included with downloading the heightmap.

Do we just have to type in the suggested values in the corresponding fields or do we have to multiply the original scale values by the suggested values?

Those values should be entered into the fields as-is - i.e. x and y scales should read 305.35 and z scale should read 3.38

Could you add a button so the user can save those information as a text file? Or maybe this file could be included with downloading the heightmap.

I could make it so that clicking on the number copies it to the clipboard? I don't really see the advantage offered by being able to download these numbers as a file?
p.s. where were you looking at? The height range is 131,391m to 148,672m? or is that actually a decimal?

I could make it so that clicking on the number copies it to the clipboard? I don't really see the advantage offered by being able to download these numbers as a file?

Well sure, being able to copy the values to the clipboard would work. Actually, the user currently can also copy every info he needs to a file by himself.

p.s. where were you looking at? The height range is 131,391m to 148,672m? or is that actually a decimal?

Hmm, regarding this I'm confused now 😅
I would agree since we use a comma as decimal separator in Europe, but I guess you don't use the European standard for this.
However, since you're using a point as decimal separator for the area size and the m/px resolution (see below picture) I think the height values should also be separated by a point.

This should be fixed now.


win-spice: say yes to all 7z dialogs

Motivation for this change
https://hydra.nixos.org/build/143761095
relevant log:
Would you like to replace the existing file:
  Path:     ./vdagent_0_7_3_x86/vdagent.exe
  Size:     0 bytes
  Modified: 2021-05-24 22:39:03
with the file from archive:
  Path:     vdagent_0_7_3_x86/vdagent.exe
  Size:     649216 bytes (634 KiB)
  Modified: 2015-03-29 12:22:57
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit?
ERROR:
Unexpected end of input stream
builder for '/nix/store/i0fa7cwp6vhfvdz8gcjpja39403ajxfb-win-spice-0.11.drv' failed with exit code 2

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 125394 at 0c245a39 run on aarch64-linux 1

1 package built successfully:

win-spice

3 suggestions:

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/applications/virtualization/driver/win-spice/default.nix:37:3:
   |
37 |   buildPhase = ''
   |   ^

warning: name-and-version
Did you mean to pass pname instead of name to mkDerivation?
Near pkgs/applications/virtualization/driver/win-spice/default.nix:32:3:
   |
32 |   name = "win-spice-0.11";
   |   ^

Near pkgs/applications/virtualization/driver/win-spice/default.nix:33:3:
   |
33 |   version = "0.11";
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/applications/virtualization/driver/win-spice/default.nix:50:3:
   |
50 |   installPhase =
   |   ^


change npm package version script to correctly pick up packages.json …

version was using last version published instead of packages.json for the root Major.Minor.Patch values.
Changed to use packages.json

Pull Request Test Coverage Report for Build 995

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.229%

Totals

Change from base Build 990:
0.0%

Covered Lines:
3428

Relevant Lines:
4750

💛  - Coveralls


How to distinguish whether the page is a list page or a detail page?

I'll implement this algorithm later.
Please keep this issue open~

New version released, please try the latest version:
pip3 install -U gerapy-auto-extractor

Pls see README for the usage instruction.


⚠ Bofrost.nl has degraded performance

In 70c90ad, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 10454 ms

Resolved: Bofrost.nl performance has improved in 17b4f1e.


(Azure CXP Team) resolves MicrosoftDocs/azure-docs#89820

@Karishma-Tiwari-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @zr-msft

@zr-msft Can you please review this PR? Thanks.

this fix is no longer relevant.
#please-close


AttributeError: '_io.TextIOWrapper' object has no attribute 'startswith'

openOmics version: 0.8.4
Python version: 3.8.7
Operating System: macOS Big Sur 11.2

Description
Trying to run the vignettes from the README:
# Import GENCODE database (from URL)
from openomics.database import GENCODE

gencode = GENCODE(path="ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/",
                  file_resources={"long_noncoding_RNAs.gtf": "gencode.v32.long_noncoding_RNAs.gtf.gz",
                                  "basic.annotation.gtf": "gencode.v32.basic.annotation.gtf.gz",
                                  "lncRNA_transcripts.fa": "gencode.v32.lncRNA_transcripts.fa.gz",
                                  "transcripts.fa": "gencode.v32.transcripts.fa.gz"},
                  remove_version_num=True,
                  npartitions=5)

# Annotate LncRNAs with GENCODE by gene_id
luad_data.LncRNA.annotate_genomics(gencode, index="gene_id",
                                   columns=['feature', 'start', 'end', 'strand', 'tag', 'havana_gene'])

luad_data.LncRNA.annotations.info()

What I Did
I added the text from the vignette above to a file called openomics_test.py and ran the following command:
python openomics_test.py

I received the following output:
Downloading ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/gencode.v32.long_noncoding_RNAs.gtf.gz
|========================================================================================================================================================================================================| 4.4M/4.4M (100.00%)         0s
Downloading ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/gencode.v32.basic.annotation.gtf.gz
|========================================================================================================================================================================================================|  26M/ 26M (100.00%)         7s
Downloading ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/gencode.v32.lncRNA_transcripts.fa.gz
|========================================================================================================================================================================================================|  14M/ 14M (100.00%)         3s
Downloading ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/gencode.v32.transcripts.fa.gz
|========================================================================================================================================================================================================|  72M/ 72M (100.00%)        15s
INFO:root:<_io.TextIOWrapper name='/Users/stephenmoss/.astropy/cache/download/url/141581d04d4001254d07601dfa7d983b/contents' encoding='UTF-8'>
Traceback (most recent call last):
  File "openomics_test.py", line 34, in <module>
    gencode = GENCODE(path="ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/",
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/database/sequence.py", line 67, in __init__
    super(GENCODE, self).__init__(path=path, file_resources=file_resources, col_rename=col_rename,
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/database/sequence.py", line 17, in __init__
    super(SequenceDataset, self).__init__(**kwargs)
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/database/base.py", line 39, in __init__
    self.data = self.load_dataframe(file_resources, npartitions=npartitions)
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/database/sequence.py", line 74, in load_dataframe
    df = read_gtf(file_resources[gtf_file], npartitions=npartitions)
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/utils/read_gtf.py", line 349, in read_gtf
    result_df = parse_gtf_and_expand_attributes(
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/utils/read_gtf.py", line 290, in parse_gtf_and_expand_attributes
    result = parse_gtf(
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/openomics/utils/read_gtf.py", line 195, in parse_gtf
    chunk_iterator = dd.read_table(
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/dask/dataframe/io/csv.py", line 659, in read
    return read_pandas(
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/dask/dataframe/io/csv.py", line 464, in read_pandas
    paths = get_fs_token_paths(urlpath, mode="rb", storage_options=storage_options)[
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/fsspec/core.py", line 619, in get_fs_token_paths
    path = cls._strip_protocol(urlpath)
  File "/Users/stephenmoss/.pyenv/versions/3.8.7/lib/python3.8/site-packages/fsspec/implementations/local.py", line 147, in _strip_protocol
    if path.startswith("file://"):
AttributeError: '_io.TextIOWrapper' object has no attribute 'startswith'

I initially opened an issue with fsspec here (https://github.com/intake/filesystem_spec/issues/529) but realised it was due to gzip.open here (https://github.com/BioMeCIS-Lab/OpenOmics/blob/master/openomics/database/base.py#L89-L90) returning an io.TextIOWrapper object.
fsspec is unable to get a path (see https://github.com/intake/filesystem_spec/blob/fb406453b6418052f98b64d405bd4e6a4be1def1/fsspec/utils.py#L304-L308) from the object and so it just returns it in its original state, which, of course, doesn't have a startswith method.

Found this too https://stackoverflow.com/questions/65998183/python-dask-module-error-attributeerror-io-textiowrapper-object-has-no-at from a few days ago. Added a comment asking if they managed to figure it out.

So, I've found the issue.
The code here (https://github.com/BioMeCIS-Lab/OpenOmics/blob/master/openomics/utils/read_gtf.py#L178-L179) is the problem:
        logging.info(filepath_or_buffer)
        chunk_iterator = dd.read_table(
            filepath_or_buffer,
            sep="\t",
            comment="#",
            names=REQUIRED_COLUMNS,
            skipinitialspace=True,
            skip_blank_lines=True,
            error_bad_lines=True,
            warn_bad_lines=True,
            # chunksize=chunksize,
            engine="c",
            dtype={
                "start": np.int64,
                "end": np.int64,
                "score": np.float32,
                "seqname": str,
            },
            na_values=".",
            converters={"frame": parse_frame})

Specifically passing filepath_or_buffer to dd.read_table.
dd is an alias for dask.dataframe as per the import dask.dataframe as dd statement.
However, the read_table function doesn't take a stream object, it takes a file path or a list of file paths, as per the documentation here https://docs.dask.org/en/latest/dataframe-api.html?highlight=read_table#dask.dataframe.read_table.
The parameter list defines the following:

urlpath:string or list
Absolute or relative filepath(s). Prefix with a protocol like s3:// to read from alternative filesystems. To read from multiple files you can pass a globstring or a list of paths, with the caveat that they must all have the same protocol.

This might help? https://stackoverflow.com/q/39924518/393634 🤔

@gawbul Thank you so much for getting to the bottom of this issue. Amazing to see the detective work in action!
So originally, my intention was to have Dask handle the read_table(), since reading a large gtf file with Pandas' read_table() can have a huge memory footprint.
I've just tried dask.dataframe.read_table() with compression="gzip" on the compressed gzip file and it worked beautifully. Thanks for the suggestion!
Will be applying the fix and refactoring codes. I'll close this when it's done.

I added this line openomics/database/base.py#L74 which now lets dask handles uncompression when dealing with GTF files. Running GENCODE(npartitions=5) now works.
I also added some functionalities to parse attributes from GTF files into Dask dataframes at openomics/utils/read_gtf.py. Now, creating dask dataframes from GTF files is working (albeit no time improvement) with read_gtf(npartitions=npartitions) where npartitions >0. In the future, will look into optimizing GTF attributes parsing by using ddf.map_partitions(func) or ddf["attributes"].apply(func).

Awesome 🥳 Glad you managed to get this sorted 🙂


WordPresshttps://apps.wordpress.com/get?campaign=app_share_link

WordPress @Join the link to my WordPress @

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Join with code


Correct health language and update social information

Updated health language to match Dutch law.
Added details regarding contributor social.
/assign @chris-short
/assign @salaxander

/lgtm

/lgtm
I did a spot check of the site and it looks like you got everything. Thank you!

/assign sftim


16-way tagged cache to reduced mutex contention

During profiling with mutrace I discovered one of the highest points of mutex contention in the codebase was in the TaggedCache mutex.
The solution to this is rather simple: build a wrapper for tagged cache that contains 16 tagged caches and routes based on the first nibble of the key. This should reduce lock contention in this code path by a factor of 16.

High Level Overview of Change

Context of Change

Type of Change

[ ] 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)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (you added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation update
[ ] Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
[ ] Release

API Impact

[ ] Public API: New feature (new methods and/or new fields)
[ ] Public API: Breaking change (in general, breaking changes should only impact the next api_version)
[ ] libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
[ ] Peer protocol change (must be backward compatible or bump the peer protocol version)

I'll revisit this idea later