error when trying to see transitions in windows

I wanted to see my own transitions but when I try it will give me :
C:\Users\mehan\Desktop\SimpleCoin\simpleCoin>python wallet.py
       =========================================

        SIMPLE COIN v1.0.0 - BLOCKCHAIN SYSTEM

       =========================================

        You can find more help at: https://github.com/cosme12/SimpleCoin

        Make sure you are using the latest version or you may end in
        a parallel chain.

What do you want to do?
        1. Generate new wallet
        2. Send coins to another wallet
        3. Check transactions
3
Traceback (most recent call last):
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\connection.py", line 96, in create_connection
    raise err
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1253, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1299, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1248, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1008, in _send_output
    self.send(msg)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 948, in send
    self.connect()
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 200, in connect
    conn = self._new_conn()
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000001748EAAB610>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /blocks (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001748EAAB610>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\mehan\Desktop\SimpleCoin\simpleCoin\wallet.py", line 135, in <module>
    wallet()
  File "C:\Users\mehan\Desktop\SimpleCoin\simpleCoin\wallet.py", line 52, in wallet
    check_transactions()
  File "C:\Users\mehan\Desktop\SimpleCoin\simpleCoin\wallet.py", line 88, in check_transactions
    res = requests.get('http://localhost:5000/blocks')
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\mehan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /blocks (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001748EAAB610>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

what I have to do ?

May it be possible you have something else running in http://localhost:5000 ?

No . I don't have any application that use 5000 port

You should be running miner.py at the same time.

How

Right, just open another cmd instance and run miner.py. That way you have both scripts running at the same time.

Thanks 😊


Turn on automatic guessing of format_id

publish_object defaults to application/octet-stream if the format_id arg is left off. Turn on guessing via guess_format_id. Also use the custom NetCDF-specific format ID guesser for all .nc files.

Add wav in there. and other format ids we've added recently like R

Also add a mapping for cdf to netcdf


No file named unittestcode.py in repository but you are linting unittestcode.py

In unitlint.yml replace unittestcode.py with the actual Python file you want to lint.
name: lint unittestcode.py
run: pylint unittestcode.py #Replace with actual file name.

This is an excellent point, will work to change this asap

Just created the merge request that should fix this in https://github.com/ubsuny/23-Homework4G4/pull/78

Also what does the changes do? It worked fine. Thanks for indicating @Pranjal-Srivastava-2023 .


[C++][Parquet] an't access parquet statistics on binary columns

Hi,
I'm trying to use per-column statistics (min/max values) to filter out row groups while reading parquet file. But I don't see statistics built for binary columns. I noticed that ApplicationVersion::HasCorrectStatistics() discards statistics that have sort order UNSIGNED and haven't been created by parquet-cpp. As I understand there used to be some issues in parquet-mr before. But do they still persist?
For example, I have parquet file created with parquet-mr version 1.10, it seems to have correct min/max values for binary columns. And parquet-cpp works fine for me if I remove this code from HasCorrectStatistics() func:

if (SortOrder::SIGNED != sort_order && !max_equals_min) {
    return false;
}

Reporter: Ildar / @zilder
Assignee: Ildar](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zilder) / @zilder
PRs and other links:

GitHub Pull Request #3441

Note: This issue was originally created as PARQUET-1494. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Issue resolved by pull request 3441
https://github.com/apache/arrow/pull/3441

Ildar / @zilder:
I've created a pull request for this issue: https://github.com/apache/arrow/pull/3441

Deepak Majeti / @majetideepak:
This should be a Parquet JIRA. @wesm Can we move this Jira to the Parquet project?
HasCorrectStatistics() has to be updated to accept all statistics written by parquet-mr 1.10.0
parquet-mr implemented the new fixed min-max statistics in the following Jira that went into the 1.10.0 release
https://issues.apache.org/jira/browse/PARQUET-1025


Duplicate Button inside get_drag_data() gives out of context warning about focus

Godot version
3.3.2.stable.official
System information
Ubuntu
Issue description
Duplicating a Button inside the get_drag_data() method, gives this warning:
W 0:00:01.621   set_enabled_focus_mode: BaseButton's Enabled Focus Mode property has been deprecated due to redundancy and will be removed in Godot 4.0. Please use Control.set_focus_mode instead.
Whatever the cause of the warning is, it's out of context in this particular case.
This is a rather common operation because when dragging a button you may want to duplicate it to then use it as a drag-preview with set_drag_preview(),
Steps to reproduce
Download the reproducible demo and try to drag the button.
This will immediately trigger the warning.
Minimal reproduction project
ButtonFocusUselessWarningDemo.zip

Duplicate of https://github.com/godotengine/godot/issues/48199.


chore: add contract deployment script and configs

Closes: #XXX
Description
make deployment process automatically

I'm writing them right in the Forcerelay repo, if it's more suitable to move them into the contract repo?

I'm writing them right in the Forcerelay repo, if it's more suitable to move them into the contract repo?

I think it's okey.
It's appropriate to organize the integration-test deployment guild in the Forcerelay repo.

Please config your editor to add a blank line at the end of file.
https://stackoverflow.com/questions/5813311/whats-the-significance-of-the-no-newline-at-end-of-file-log

Please config your editor to add a blank line at the end of file.

@jjyr it's bee confirmed

@jjyr https://github.com/synapseweb3/forcerelay/actions/runs/6478088104/job/17601648711?pr=345#step:16:418 do you know anything about this error ?

@jjyr https://github.com/synapseweb3/forcerelay/actions/runs/6478088104/job/17601648711?pr=345#step:16:418 do you know anything about this error ?

This is probably because the sudt transfer packet is not relayed to axon.

@jjyr https://github.com/synapseweb3/forcerelay/actions/runs/6478088104/job/17601648711?pr=345#step:16:418 do you know anything about this error ?

This is probably because the sudt transfer packet is not relayed to axon.

can this be fixed?


fix(rustic-babel-build-sentinel): align behaviour with other lang

In an org file, the src block's code should be interpreted, OR the binary compiled from it SHOULD execute with PWD as default-directory of the org file.
Summary of changes:

save the original default-directory then later restores it.
supply --manifest-path option to cargo run to execute the target Cargo.toml binary compiled from the src block.

For reference:
Try to execute a C++, C, js (node), python block.
In particular, see implementation of org-babel-C-execute or org-babel-python-evaluate-external-process.
May be we can re-write like them in the future.
fixes: https://github.com/brotzeit/rustic/issues/509

The 2 code block should yield identical outputs when executed in a src block of a org file.
Rust
use std::env;
use std::fs;
use std::io;

fn main() -> io::Result<()> {
    for f in fs::read_dir(".")? {
        let fpath = f?.path();
        let fname = fpath.to_str().expect("Path should convert to str");
        println!("{fname}");
    }
    Ok(())
}

C++
#include <string.h>
#include <dirent.h>
#include <stdio.h>

using namespace std;

int main() {
DIR *dir;
struct dirent *dp;

dir = opendir(".");
while ((dp = readdir(dir)) != NULL) {
  // printf("debug: %s\n", dp->d_name);
  if ( !strcmp(dp->d_name, ".") || !strcmp(dp->d_name, "..") ) {
    // do nothing (straight logic)
  } else {
    printf("./%s\n", dp->d_name);
  }
}
closedir(dir);
return 0;
return 0;
}

Here is a sample org file for your reference.

Sample Org File
#+TITLE:Loop Do Nothing
* Components
** foobar
   #+begin_src rustic :results output scalar :eval yes :main no
use std::env;
use std::fs;
use std::io;

fn main() -> io::Result<()> {
    for f in fs::read_dir(".")? {
        let fpath = f?.path();
        let fname = fpath.to_str().expect("Path should convert to str");
        println!("{fname}");
    }
    Ok(())
}
   #+end_src

#+begin_src C++ :results scalar :eval yes :includes <string.h> <dirent.h> <stdio.h> :namespaces std
DIR *dir;
struct dirent *dp;

dir = opendir(".");
while ((dp = readdir(dir)) != NULL) {
  // printf("debug: %s\n", dp->d_name);
  if ( !strcmp(dp->d_name, ".") || !strcmp(dp->d_name, "..") ) {
    // do nothing (straight logic)
  } else {
    printf("./%s\n", dp->d_name);
  }
}
closedir(dir);
return 0;
#+end_src


LNbits funding source: paying lnurlp results in 500

I run the current main branch via Docker (https://github.com/lnbits/lnbits-legend/commit/b83fb1d5d80aa75f024d883eadd39040b3ebf8cb)
I use legend.lnbits as my funding source (commit version 7fc13614753b55cbc35c7c6cc7c6850f50e9f7dd)
When I try to pay an lnurlp the amount can be retrieved, but when I pay I get a 500 error (with both WoS or Phoenix).
The logs shows the following error:
2022-08-07 12:24:06.44 | ERROR | lnbits.app:basic_error:182 | handled error
2022-08-07 12:24:06.44 | ERROR | lnbits.app:basic_error:183 | ERROR:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/gzip.py", line 43, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 93, in __call__
    raise exc
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/usr/local/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 670, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 266, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 227, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 160, in run_endpoint_function
    return await dependant.call(**values)
  File "/app/lnbits/extensions/lnurlp/lnurl.py", line 86, in api_lnurl_callback
    payment_hash, payment_request = await create_invoice(
  File "/app/lnbits/core/services.py", line 71, in create_invoice
    raise InvoiceFailure(error_message or "unexpected backend error.")
lnbits.core.services.InvoiceFailure: 'utf-8' codec can't decode byte 0xca in position 1: invalid continuation byte
2022-08-07 12:24:06.44 | ERROR | Exception in ASGI application

In the following situation I get the same result. But the error slightly differ.

I run the current main branch via Docker
I use a lnbits instance connected to my own CLN node as funding sourde. Both LNbits instances running against the (https://github.com/lnbits/lnbits-legend/commit/b83fb1d5d80aa75f024d883eadd39040b3ebf8cb)

2022-08-07 12:06:19.30 | ERROR | handled error
2022-08-07 12:06:19.30 | ERROR | ERROR:
Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/opt/venv/lib/python3.7/site-packages/starlette/middleware/gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "/opt/venv/lib/python3.7/site-packages/starlette/middleware/gzip.py", line 43, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "/opt/venv/lib/python3.7/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/opt/venv/lib/python3.7/site-packages/starlette/exceptions.py", line 93, in __call__
    raise exc
  File "/opt/venv/lib/python3.7/site-packages/starlette/exceptions.py", line 82, in __call__
    await self.app(scope, receive, sender)
  File "/opt/venv/lib/python3.7/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/opt/venv/lib/python3.7/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/opt/venv/lib/python3.7/site-packages/starlette/routing.py", line 670, in __call__
    await route.handle(scope, receive, send)
  File "/opt/venv/lib/python3.7/site-packages/starlette/routing.py", line 266, in handle
    await self.app(scope, receive, send)
  File "/opt/venv/lib/python3.7/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/opt/venv/lib/python3.7/site-packages/fastapi/routing.py", line 228, in app
    dependant=dependant, values=values, is_coroutine=is_coroutine
  File "/opt/venv/lib/python3.7/site-packages/fastapi/routing.py", line 160, in run_endpoint_function
    return await dependant.call(**values)
  File "./lnbits/extensions/lnurlp/lnurl.py", line 97, in api_lnurl_callback
    "extra": request.query_params.get("amount"),
  File "./lnbits/core/services.py", line 68, in create_invoice
    amount=amount, memo=invoice_memo, description_hash=description_hash
  File "./lnbits/wallets/lnbits.py", line 78, in create_invoice
    error_message = r.json()["detail"]
  File "/opt/venv/lib/python3.7/site-packages/httpx/_models.py", line 743, in json
    return jsonlib.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2022-08-07 12:06:19.30 | ERROR | Exception in ASGI application

Issue doesn't seems to be present anymore, closed.


Not updated to OpenTelemetry 0.6.0-beta.1

This library is a little out of date, as it references Otel 0.2.0-alpha.179
I have updated the library to work with https://www.nuget.org/packages/OpenTelemetry.Api/0.6.0-beta.1
I can send a PR if there is interest.

Hi @adamchester - I intend to upgrade the SDK to the latest beta this week. Thanks.


Add Service UUID advertising (iOS support)

Lots of apps (e.g. Blynk, RemoteXY) do not find the device during scanning on iOS, whereas other devices with the same service UUID are found. The origin of the problem is that in the advertisment, the service UUID is missing. This extra line fixes this problem.

Lots of apps (e.g. Blynk, RemoteXY) do not find the device during scanning on iOS, whereas other devices with the same service UUID are found. The origin of the problem is that in the advertisment, the service UUID is missing. This extra line fixes this problem.


log_bucket namespace-env and namespace-org should be parametrized

I think both variables should be parametrized, otherwise we may obtain an invalid bucket name if not specifying an organization (i.e. -<env>-<bucketname>)

Also, bucket name and Name tag should yield to the same value.

You're right the S3 log bucket section needs some work.
Unlike most things in AWS, S3 is a global namespace. That is why I required the namespaces for it. Otherwise you're likely to run into conflicts with yourself or another AWS customer.
The logging part was never finished. You'll see it doesn't get added to the LB.
Yes. bucket name and tag should be the same.
Haven't been using logging where I am. So not sure when I can work on this. Would happily accept a PR though


Consider using AppContext.GetData("TRUSTED_PLATFORM_ASSEMBLIES")

When resolving platform assemblies, we should consider using AppContext.GetData("TRUSTED_PLATFORM_ASSEMBLIES").
This will help us reliably locate the implementation assemblies on CoreCLR.

Closing this since we now query the AssemblyLoadContext before adding a reference.
https://github.com/filipw/dotnet-script/pull/261
From The PR

So the approach taken is that we now inherit "on demand" meaning that when we load a assembly reference from the script dependency context, we will now check if the assembly is already loaded by the host. If its already loaded we skip the reference from the script dependency context, otherwise we load it. This should also fix the scenario when we run as netcoreapp2.0 where we only have the ``` netcoreapp2.1 sdk installed.


Owncloud / OnyOffice connector - 502 bad gateway

Hi there,
I have an Owncloud running version 10.4.1 and running the latest version of OnlyOffice on a separate Ubuntu server (separate from the Owncloud server). I have followed every direction in the installation guide and integration with Owncloud and have been stuck on this issue the past day. As a side note, I can visit the URL of my OnlyOffice (example: https://onlyoffice.xxxx.com) and get all the necessary info such as: ONLYOFFICE Docs Enterprise Edition installed
I am pointing the OnlyOffice connector to my URL (no custom port, just 443) and am receiving a 502 error (bad gateway) when I save my settings in Owncloud for the app.
I checked my certificate - everything is valid (valid til 2023). SSL Labs rated my website an A+ as well.
When I look at the logs in /var/log/onlyoffice/documentserver - there are only these errors:
2022/11/28 17:35:30 [crit] 2331447#2331447: *207 SSL_do_handshake() failed (SSL: error:0A00006C:SSL routines::bad key share) while SSL handshaking, client: <IP_ADDRESS>, server: <IP_ADDRESS>:443
&
2022/11/28 19:35:58 [error] 2331447#2331447: *230 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /healthcheck HTTP/1.1", upstream: "http://<IP_ADDRESS>:8000/healthcheck", host: "onlyoffice.xxxx.com>
Is there something I'm missing?

Hello,
The issue is being taken care of by the Support team in the ticket 37152.


MahApps RangeSlider cannot change foregroundcolor

[Disclaimer, I'm posting this issue for my godfather who does not have a GitHub account.]
Describe the bug
For the MahApps RangeSlider control the property foreground color cannot be set via XAML or code behind.
Using a style does not solve the problem either.
Environment(please complete the following information):
MahApps.Metro version v1.6.5
OS: Win10
Visual Studio  2017 15.5.3
.NET Framework 4.6
A picture says more than 1000 words:

Hi @GeorgLink
do you want to have something like this?

if yes, try this attachted property:
Controls:SliderHelper.TrackValueFillBrush="DeepPink"
Controls:SliderHelper.ThumbFillBrush="DeepPink"

Happy coding to you and your godfather
Tim

Thanks @timunie, it looks interesting. I'll let you know once I hear whether it solves my godfather's issue 😉

Thanks again @timunie. Your solution worked!


Add stop() to client

Needed to do https://docs.appsignal.com/ruby/integrations/rake.html#appsignalstop-requirement in python

My suggestion probably won't actually work


Adding null check for encoding preference

This PR is a fix for #13656.
For some strange reason, in the reported scenario encoding preference fetched is undefined which causes the code to break while checking for encoding cache with the given file path. This check is good to have even without the reported issue.
@saurabh95 @nethip @petetnt  Can you please have a look at this PR?

@swmitra I am OK with this change. Can you debug as to why we are getting encoding as null in these scenarios?

Ideally it should be created on project open as per https://github.com/adobe/brackets/blob/master/src/editor/EditorStatusBar.js#L533 .
Could you please provide some repro steps.


2PI- Organization Filters reflect the wrong count

@tdressel commented on Fri Aug 12 2016
STR-
Log on as 2PI user
Go to Organization filters
RESULTS - The count does not reflect the accurate restricted amount of listings displayed to 2PI user.  Instead it displays the overall count of listings available to all restricted/nonrestricted users. This is confusing.If the filter count displays 90 listings but the results display 10 because 80 are restricted.
EXPECTED RESULTS - This filter count should match the amount of listings displayed in results.

@wski commented on Wed Aug 24 2016
This sounds like it should be a backend thing. If we are getting a higher count that would mean that the 2PI user could actually see all of the filters. (should they open network and explore the API response) @mannyrivera2010

Original Issue: https://github.com/aml-development/ozp-center/issues/688

Before we test this we need to add a lot of demo data and mock 2PKI


Add back airship for GHC 8

Removed unnecessary ImpredicativeTypes and now compiles under GHC 8.

https://github.com/k-bx/protocol-buffers/issues/38 is blocking airship


python312Packages.cohere: 5.9.4 -> 5.10.0

Description of changes
Changelog: https://github.com/cohere-ai/cohere-python/releases/tag/5.10.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] 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

[ ] 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 344582

x86_64-linux

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

aarch64-linux

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

x86_64-darwin

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

aarch64-darwin

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist


[BEAM-115] Add convenience for wrapping up a self contained message that has references in it

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @bjchambers thanks for the consult on this
CC: @tgroh also thanks

Changes Unknown when pulling 30897bedaabd3a30200d62d82d269ac27fa79f9b on kennknowles:Pipeline-components into ** on apache:master**.

Changes Unknown when pulling 368ad236ca03bd011d2f207bcc34f5961290c0a0 on kennknowles:Pipeline-components into ** on apache:master**.

Changes Unknown when pulling 368ad236ca03bd011d2f207bcc34f5961290c0a0 on kennknowles:Pipeline-components into ** on apache:master**.


issue with the new version

Hi,
Sorry to be the bearer of bad news.
The new version doesn't seem to work all that well. As with the previous version the gui completely freezes when running OCR, so I can't really know if it's progressing or not on large collection. But overall this seems WAY slower than before. I tried lowering the batch size to 1 to try and see if it worked better but it didn't change a thing.
I am pretty sure it just runs in circle at some point when I scan more than 2 batches at once but I can't know if the progress bar doesn't appear.
It would be great to have the progress bar work. This way we could also have a "cancel" button, otherwise I had to force quit anki and manually kill each tesseract process.
Displaying the time it took to run at the end would be helpful too to organize myself when I want to scan a huge deck but that is minor.
System : ubuntu 18 with anki 2.1.35

Sorry but for some reason it seems to work flawlessly now, I didn't change a thing and didn't even restarted anki. Well I'll come back here if I have more information.
But something still feels wrong about the progress bar, it doesn't update often enough and there is no way to cancel.

Thanks for your feedback - I'm a little confused as to how to implement a good way of cancelling, I'm not used to interacting with the QT GUI framework, but ill look into it, as I have noted the same problem.
Re: batching, I may have set the default batch size (20) too high.
Re: progress bar - this is I think mostly placebo effect, as I'm not batching, I am only updating the progress bar as each batch of 20 comes through, giving the appearance of a slower updating bar. I will try lowering the default batch size, and this should help improve things. Will also add a timer thingo to the end, that's a great idea!

Thanks for your feedback - I'm a little confused as to how to implement a good way of cancelling, I'm not used to interacting with the QT GUI framework, but ill look into it, as I have noted the same problem.
Re: batching, I may have set the default batch size (20) too high.
Re: progress bar - this is I think mostly placebo effect, as I'm not batching, I am only updating the progress bar as each batch of 20 comes through, giving the appearance of a slower updating bar. I will try lowering the default batch size, and this should help improve things. Will also add a timer thingo to the end, that's a great idea!

After some further testing i've reduced the default batch size to 5, it makes the whole thing feel much more responsive (and is slightly quicker for smaller batches too)

After some further testing i've reduced the default batch size to 5, it makes the whole thing feel much more responsive (and is slightly quicker for smaller batches too)

Have now implemented a way of cancelling, takes a second or two to cancel all the threads but works really well! :)

Have now implemented a way of cancelling, takes a second or two to cancel all the threads but works really well! :)

Have pushed a new release, thanks for the feedback!

Have pushed a new release, thanks for the feedback!

Hello again

thanks for the feedback!

Here's another one :)
I just tried running a batch of 148 cards with batch size of 5 and it hangs. The UI freezes, no progress bar in about 5 minutes so no way of cancelling, all cpus at 100% of course. My computer is quite powerful so it's not the issue.
If the multithreading proves to be an issue on some setup you might want to add an option to toggle it, depending on how you coded the batch it could be easy to implement.
edit : after about 10/15 minutes I now see the progress bar window, at 4%. So 148 cards in batches of five means that indeed I only finished 1 batch.
Don't know if it's related but htop shows me 12 tesseract process and I'm not sure it's the right number of threads for my computer. Maybe allowing the user to specify himself the number of threads would be a good idea, it might (no idea) solve my issue and allows to toggle or not multithreading in a way. I think I have something like a 4 core cpu that can somehow appear as 8 using some fancy intel thingy. 12 seems unusual though.

Hello again

thanks for the feedback!

Here's another one :)
I just tried running a batch of 148 cards with batch size of 5 and it hangs. The UI freezes, no progress bar in about 5 minutes so no way of cancelling, all cpus at 100% of course. My computer is quite powerful so it's not the issue.
If the multithreading proves to be an issue on some setup you might want to add an option to toggle it, depending on how you coded the batch it could be easy to implement.
edit : after about 10/15 minutes I now see the progress bar window, at 4%. So 148 cards in batches of five means that indeed I only finished 1 batch.
Don't know if it's related but htop shows me 12 tesseract process and I'm not sure it's the right number of threads for my computer. Maybe allowing the user to specify himself the number of threads would be a good idea, it might (no idea) solve my issue and allows to toggle or not multithreading in a way. I think I have something like a 4 core cpu that can somehow appear as 8 using some fancy intel thingy. 12 seems unusual though.

Interesting, I am processing rougly 10 images per second on my 10 year old
i5 quad core!
I think there may be something funky going on. Yeah I can fairly easily
make it toggle, or allow the user to set the num of threads. I'll have a
play tomorrow and get back to you!
On Fri, 1 Jan 2021, 10:50 pm thiswillbeyourgithub<EMAIL_ADDRESS>wrote:

Hello again
thanks for the feedback!
Here's another one :)
I just tried running a batch of 148 cards with batch size of 5 and it
hangs. The UI freezes, no progress bar in about 5 minutes so no way of
cancelling, all cpus at 100% of course. My computer is quite powerful so
it's not the issue.
If the multithreading proves to be an issue on some setup you might want
to add an option to toggle it, depending on how you coded the batch it
could be easy to implement.
edit : after about 10/15 minutes I now see the progress bar window, at 4%.
So 148 cards in batches of five means that indeed I only finished 1 batch.
Don't know if it's related but htop shows me 12 tesseract process and I'm
not sure it's the right number of threads for my computer. Maybe allowing
the user to specify himself the number of threads would be a good idea, it
might (no idea) solve my issue and allows to toggle or not multithreading
in a way. I think I have something like a 4 core cpu that can somehow
appear as 8 using some fancy intel thingy. 12 seems unusual though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cfculhane/AnkiOCR/issues/10#issuecomment-753307178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRYIU5HY6NFR4JZDLJGY2DSXWZKFANCNFSM4VPOGIJQ
.

Interesting, I am processing rougly 10 images per second on my 10 year old
i5 quad core!
I think there may be something funky going on. Yeah I can fairly easily
make it toggle, or allow the user to set the num of threads. I'll have a
play tomorrow and get back to you!
On Fri, 1 Jan 2021, 10:50 pm thiswillbeyourgithub<EMAIL_ADDRESS>wrote:

Hello again
thanks for the feedback!
Here's another one :)
I just tried running a batch of 148 cards with batch size of 5 and it
hangs. The UI freezes, no progress bar in about 5 minutes so no way of
cancelling, all cpus at 100% of course. My computer is quite powerful so
it's not the issue.
If the multithreading proves to be an issue on some setup you might want
to add an option to toggle it, depending on how you coded the batch it
could be easy to implement.
edit : after about 10/15 minutes I now see the progress bar window, at 4%.
So 148 cards in batches of five means that indeed I only finished 1 batch.
Don't know if it's related but htop shows me 12 tesseract process and I'm
not sure it's the right number of threads for my computer. Maybe allowing
the user to specify himself the number of threads would be a good idea, it
might (no idea) solve my issue and allows to toggle or not multithreading
in a way. I think I have something like a 4 core cpu that can somehow
appear as 8 using some fancy intel thingy. 12 seems unusual though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cfculhane/AnkiOCR/issues/10#issuecomment-753307178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRYIU5HY6NFR4JZDLJGY2DSXWZKFANCNFSM4VPOGIJQ
.

Nice!
If you don't know what's the issue maybe you could make me a test version that shows all the timers, because curently if I select about 5 cards I have a minimum of 0.5s per note but I got up to 2s per note when I selected 17 cards. I don't know what steps is making that so long.
Btw. If I'm not mistaken multithreading by batch is activated as soon as you try to OCR more than 5 cards, I'm note sure that's optimal. Maybe you should activate multithreading only if the user tries to OCR 20+ cards or something, otherwise lots of cpu is used just to setup the parallelization. I think. I know next to nothing about cpu anyway but just my 2cnt.

Nice!
If you don't know what's the issue maybe you could make me a test version that shows all the timers, because curently if I select about 5 cards I have a minimum of 0.5s per note but I got up to 2s per note when I selected 17 cards. I don't know what steps is making that so long.
Btw. If I'm not mistaken multithreading by batch is activated as soon as you try to OCR more than 5 cards, I'm note sure that's optimal. Maybe you should activate multithreading only if the user tries to OCR 20+ cards or something, otherwise lots of cpu is used just to setup the parallelization. I think. I know next to nothing about cpu anyway but just my 2cnt.

Heres some timing results on my pc for 200 images, just OCRing the images.
Are you able to pull the master branch and run test_peformance in a console or from the command line? You should be able to get a printout similar to the above

Heres some timing results on my pc for 200 images, just OCRing the images.
Are you able to pull the master branch and run test_peformance in a console or from the command line?  I'll push a new release that has options for setting the number of threads for those use cases like this where the performance is worse.

Thanks for that! interesting that your multi-threaded performance is so much worse, there's something funky going on here - your single threaded performance is slightly better than mine, but your multithreaded is 4x slower than single! I'll push a new release that has options for setting the number of threads for those use cases like this where the performance is worse.

Thanks!
I will try to run the test with "num_threads=2" to see if that helps my case.

Thanks!
I will try to run the test with "num_threads=2" to see if that helps my case.

edit : I reran the script (albeit on only 50 images) with num_threads=2 then =4 again.
with 2 :
All done, timing results:

time_batched_single = 33.71 s | 0.58 s per image
time_batched_multi = 15.76 s | 0.27 s per image
time_unbatched_single = 36.54 s | 0.63 s per image
time_unbatched_multi = 17.0 s | 0.29 s per image

with 4 :
All done, timing results:

time_batched_single = 31.01 s | 0.53 s per image
time_batched_multi = 133.47 s | 2.3 s per image
time_unbatched_single = 43.4 s | 0.75 s per image
time_unbatched_multi = 133.49 s | 2.3 s per image

So indeed, it is slower with 4 instead of 2. But I noticed that my linux stated that 4 threads where running in the terminal while I remember seeing 12 when running ankiOCR in anki directly. Maybe my laptop has some fancy cpu features that allows to appear as more or less core to be ready. Hence explaining why I seemed to get inconsistent speed using anki. Go figure.
A solution seems to be to specify the number of threads directly.

edit : I reran the script (albeit on only 50 images) with num_threads=2 then =4 again.
with 2 :
All done, timing results:

time_batched_single = 33.71 s | 0.58 s per image
time_batched_multi = 15.76 s | 0.27 s per image
time_unbatched_single = 36.54 s | 0.63 s per image
time_unbatched_multi = 17.0 s | 0.29 s per image

with 4 :
All done, timing results:

time_batched_single = 31.01 s | 0.53 s per image
time_batched_multi = 133.47 s | 2.3 s per image
time_unbatched_single = 43.4 s | 0.75 s per image
time_unbatched_multi = 133.49 s | 2.3 s per image

So indeed, it is slower with 4 instead of 2. But I noticed that my linux stated that 4 threads where running in the terminal while I remember seeing 12 when running ankiOCR in anki directly. Maybe my laptop has some fancy cpu features that allows to appear as more or less core to be ready. Hence explaining why I seemed to get inconsistent speed using anki. Go figure.
A solution seems to be to specify the number of threads directly.

This is fixed as of the latest release in https://github.com/cfculhane/AnkiOCR/commit/66db6dccef763cb6eed18897e19cac0ed45391d7
It now defaults to two threads, and allows config of num threads as well as disabling the batching and multithreading

This is fixed as of the latest release in https://github.com/cfculhane/AnkiOCR/commit/66db6dccef763cb6eed18897e19cac0ed45391d7
It now defaults to two threads, and allows config of num threads as well as disabling the batching and multithreading

Great, thanks!

Great, thanks!

Arg, sorry for the double mail. It appears the addon is not functionnal.
I just updated it and can't access the config panel, it says Add-on has no configuration.
When trying to run the addon on a few images I get this error message :
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-01-18 19:20:21
Add-ons possibly involved: AnkiOCR

Caught exception:
Traceback (most recent call last):
  File "/home/USER/.local/share/Anki2/addons21/450181164/gui.py", line 108, in <lambda>
    act_run_ocr.triggered.connect(lambda b=browser: on_run_ocr(browser))
  File "/home/USER/.local/share/Anki2/addons21/450181164/gui.py", line 24, in on_run_ocr
    num_batches = ceil(num_notes / config["batch_size"])
TypeError: 'NoneType' object is not subscriptable

Arg, sorry for the double mail. It appears the addon is not functionnal.
I just updated it and can't access the config panel, it says Add-on has no configuration.
When trying to run the addon on a few images I get this error message :
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-01-18 19:20:21
Add-ons possibly involved: AnkiOCR

Caught exception:
Traceback (most recent call last):
  File "/home/USER/.local/share/Anki2/addons21/450181164/gui.py", line 108, in <lambda>
    act_run_ocr.triggered.connect(lambda b=browser: on_run_ocr(browser))
  File "/home/USER/.local/share/Anki2/addons21/450181164/gui.py", line 24, in on_run_ocr
    num_batches = ceil(num_notes / config["batch_size"])
TypeError: 'NoneType' object is not subscriptable

Arghh yeah, not sure quite what broke, will fix tonight :(

Arghh yeah, not sure quite what broke, will fix tonight :(

Fixed in 0.4.3

Fixed in 0.4.3

Seems to work great!
Thanks a lot!!!

Seems to work great!
Thanks a lot!!!

So annoying was literally just a last minute change I made to sort the
config.json so that it would appear jn the same order as the gui, but one
line was missing a comma :(
On Fri, 22 Jan 2021, 8:45 pm thiswillbeyourgithub<EMAIL_ADDRESS>wrote:

Seems to work great!
Thanks a lot!!!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/cfculhane/AnkiOCR/issues/10#issuecomment-765278910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRYIU6VM36I4MGIDG42WP3S3FCJ5ANCNFSM4VPOGIJQ
.

So annoying was literally just a last minute change I made to sort the
config.json so that it would appear jn the same order as the gui, but one
line was missing a comma :(
On Fri, 22 Jan 2021, 8:45 pm thiswillbeyourgithub<EMAIL_ADDRESS>wrote:

Seems to work great!
Thanks a lot!!!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/cfculhane/AnkiOCR/issues/10#issuecomment-765278910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRYIU6VM36I4MGIDG42WP3S3FCJ5ANCNFSM4VPOGIJQ
.


Reduce memory footprint, reduce OOMs, share threads for connected clients

By default, each connected client gets assigned an unnamed single thread scheduled thread pool. When tens of thousands of clients are connected, this consumes a massive amount of memory, often resulting in an OOM. This change dedicates a scheduler thread and a pool of workers to be shared among all connected clients (also the thread pools are named for easier debugging in the future)

^^ Looks like the travis config is possibly broken


No module downloading section

I will download some dummy download materials like brochers and all for downladed section of the website that is'nt working
then i will edit .js in admisson section to display successfully admission done message ,sucess stories of the college,i will create the page of recreationand student life

About which part are you talking about???


feature Add truncate table binlog support

Proposed changes
Add truncate table binlog support
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


WIP Date component default and variants from YAML file

This PR:

adds a YAML file where default option and variants are defined
updates macro, template and documentation to read and display those variants
updates table of accepted arguments
updates component to use new fieldset and label macros

Trello ticket

the formatting is affected by the Label macro. I'll make a PR for that one.


fix #787

Description:
It's not done yet, but I've opened a PR to ask if this is the correct direction I'm headed.
I fixed it to not do assign when it's an async generator.
So thetypes.asyncGenerators.es2018.1.tstest passed, but the types.asyncGenerators.es2018.2.ts test result changed.
My guess is that in the types.asyncGenerators.es2018.2.ts test, a case like
async function * explicitReturnType4(): AsyncIterable<number> {
    yield "a";
}

returned the correct error, in
https://github.com/dudykr/stc/blob/19aab18c6b8e1d71373e3345a0c335f58596bddd/crates/stc_ts_file_analyzer/src/analyzer/stmt/return_type.rs#L515  returned an error even though it was the correct type.
So I think I need to add some other logic to return the correct error on in_async, am I right or is my approach wrong?

BREAKING CHANGE:

Related issue (if exists):

It's the wrong direction. We should still assign it even if it's an async generator.
Our focus is not matching the numbers - instead, we should focus on making inference/rule correct

thanks, I'll try again.


NAG Dump support

62846: WIP: Script changes for fault log dump | https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/62846
62822: WIP: Fault dump support | https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/62822
62805: OpenPOWER: Initialize the input variables | https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/62805

jenkins run tests please

Shellcheck is finding issues:
In tools/dreport.d/ibm.d/plugins.d/faultlog line 7:
. $DREPORT_INCLUDE/functions
  ^------------------------^ SC1091 (info): Not following: ./functions: openBinaryFile: does not exist (No such file or directory)
  ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
. "$DREPORT_INCLUDE"/functions


Editing icon

When editing an icon and saving, the page refreshes to show "mdi:mdi:icon-name" which implies that mdi isn't needed and is being duplicated. If the extra mdi is removed, the edit will not be saved properly.

The icon field has "mdi:" fixed, implying that you only need to enter an icon name. Doing so only add the icon name to /config/customize.yaml, like:
icon: lightbulb
The icon of course does not appear. Entering "mdi:[icon_name]" in the field works and the icon is shown. This results in mdi:mdi:icon appearing in the customizer field, but enters correctly in customize.yaml.
icon: mdi:lightbulb

This was fixed by https://github.com/home-assistant/home-assistant-polymer/pull/423

Just saw the .53.1 fix and previous reports of the same issue. Hassio user here and a little behind, sorry.


Appveyor

I was trying to look into the appveyor run before publishing but I can't seem to find it.  It looks like it used to be at https://ci.appveyor.com/project/tkellen/js-liftoff but going to that URL gives me an error message.  @tkellen can you look into this?

done!

Thanks!


4041 remove map from the default name of visualizations

@Kartones take a look at this, more FYI than CR, just in case it's there for a dark, side-effect related reason :-). This closes #4041

Frontend tests were OK :+1: (details)

mm have you talked this with @saleiva? Because I think was him who made me add this suffix, initially automatically-created visualizations were the same name as the dataset but "was confusing".
For me +1000 with the change :D

I did not!
On Jun 30, 2015 9:11 AM, "Kartones"<EMAIL_ADDRESS>wrote:

mm have you talked this with @saleiva https://github.com/saleiva?
Because I think was him who made me add this suffix, initially
automatically-created visualizations were the same name as the dataset but
"was confusing".
For me +1000 with the change :D
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/pull/4233#issuecomment-117029422.

Ok, don't start blaming each other, I'll merge the change then ;-)


Please support Shaka Packager Raw Key

Shaka Packager Raw key is used to inject custom PSSH and keys into content. This is important for entitlement licensing as the PSSHs are generated from PSSH Generator SDK.

@joeyparrish
This would be a very important feature for those use Widevine in 'foreign key' mode


Sidecar: refactor the config module

The config.rs file is getting crowded already.
It's a good time to turn it into a directory with:

mod.rs: same content as current config.rs
chain.rs: Chain configs only

Originally posted by @merklefruit in https://github.com/chainbound/bolt/pull/104#discussion_r1664115958

closed in #108


Update dependencies

Codecov Report

Merging #17 (16a58c8) into main (4225058) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   95.67%   95.67%
=======================================
  Files          20       20
  Lines         786      786
=======================================
  Hits          752      752
  Misses         34       34

Continue to review full report at Codecov.

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


Matt added page title and headers

Can we merge this code?

looks good. :+1:

Looks good :+1:

Alrighty, I'm going to merge the pull request


Deploy Service using Replicas on Railway

Deploy WebSocket sink on Railway using Replicas
Scope

[ ] Deploy 2x Webhook containers to push to WebSocket service (ex: bsc & polygon)
[ ] Deploy Websockets container using multiple Replicas (ex: 3)
[ ] Connect multiple users to Websocket endpoint

[ ] monitor if connection is dropped or not
[ ] monitor if duplicate messages are received

[ ] ~Mount db.sqlite to be shared between all replicas~
[ ] ~Read Prometheus metrics via SQLite database (in memory might not work with replicas)~

I believe we need to stick with 1x Bun WebSocket instance, don't think the "replica" instances will work, how the POST messages will be dispatched, I think some messages will end up being be lost
Conclusion: Bun can handle 700,000 messages/second, we can stick with a single replica and also keep SQLite (no need for Redis)
@samuelpapineau
"""
I suppose in the future if it ever gets to over 700,000 messages per second, we could just start up another websocket and just divide up the substreams somehow.
"""
There's probably a few different ways we can deploy other instances:

By Chain
By ModuleHash

For now I don't think we need to worry about it
700K/second is 60B messages/day is plenty for most usecases


Support atob and btoa

Hi,
While using the cordova-plugin-file I have found an inconsistency between IOS and Android.
Android reads binary files as array buffer's fine, but IOS does not (I'll then be using JPEGJS to decode it into ImageData and write it to a canvas.. this works ok on Android but I can't read in the binary image data in IOS).
Here's some sample code that works in the scratchpad to illustrate the problem... it extends the file browser to allow reading image (png files as I the demo app has some easy to find png's we can use) and just outputs to the console when it has worked.

var currentDirectory;

tabris.create("Page", {
    title: "Using the Cordova file plugin...",
    topLevel: true,
    background: "#fff"
}).once("appear", createExample).open();

function createExample(page) {
  var rootDirMappings = [
    {name: "cordova.file.applicationDirectory", value: cordova.file.applicationDirectory},
    {name: "cordova.file.applicationStorageDirectory", value: cordova.file.applicationStorageDirectory}
  ];

  var rootDirPickerLabel = tabris.create("TextView", {
    layoutData: {left: 16, top: 8, right: 16},
    text: "Cordova Filesystem Entry Point",
    textColor: "#000088"
  }).appendTo(page);

  var rootDirPicker = tabris.create("Picker", {
    layoutData: {left: 16, top: [rootDirPickerLabel, 0], height: 48, right: 16},
    items: rootDirMappings.map(function(item) {return item.name;}),
    selectionIndex: 0
  }).appendTo(page);

  var urlBar = tabris.create("Composite", {
    layoutData: {left: 0, right: 0, top: [rootDirPicker, 0], height: 48},
  }).appendTo(page);

  var currentDirectoryView = tabris.create("TextInput", {
    layoutData: {left: 16, top: 0, right: [0, 80]},
    font: "16px",
    editable: false,
    autoCorrect: false,
    text: currentDirectory
  }).appendTo(urlBar);

  var upButton = tabris.create("Button", {
    layoutData: {left: [currentDirectoryView, 16], right: 16, top: 0},
    text: "Up",
    enabled: false
  }).appendTo(urlBar);

  var scrollView = tabris.create("ScrollView", {
    direction: "vertical",
    layoutData: {left: 0, top: [urlBar, 16], right: 0, bottom: 0}
  }).appendTo(page);

  var success = function(param) {
    console.log("using directory:\n" + JSON.stringify(param));
    var directoryReader = param.createReader();
    console.log("directoryReader:\n" + JSON.stringify(directoryReader));
    directoryReader.readEntries(function(result) {
      result.forEach(function (entry) {
        var row = tabris.create("Composite", {
          layoutData: {left: 0, right: 0, top: ["prev()", 1], height: 72},
          background: "#ddd"
        }).appendTo(scrollView);
        var dirEntryView = tabris.create("TextView", {
          layoutData: {left: 16, right: 16, centerY: 0},
          font: "10px",
          text: entry.fullPath,
          markupEnabled: true
        }).appendTo(row);
        if(entry.isDirectory) {
          dirEntryView.set("font", "bold 12px");
          dirEntryView.set("textColor", "blue");
          dirEntryView.on("tap", function() {
            console.log("tapped: " + entry.fullPath);
            changeDir(entry.nativeURL);
          });
        }
        if(entry.fullPath.indexOf(".png") != -1) {
          dirEntryView.set("font", "bold 12px");
          dirEntryView.set("textColor", "green");
          dirEntryView.on("tap", function() {
            console.log("tapped: " + entry.fullPath);
                  entry.file(function (entry) {
                      var reader = new FileReader();

                      reader.onloadend = function (e) {
                          console.log("file reading ended", this);
                          console.log(this.result);
                          //android reaches here and has the binary file data.. IOS does not
                      };

                      console.log("file reading about to start", this);

                      reader.readAsArrayBuffer(entry);
                      // IOS fails to in here with "can't find  variable atob" .. Android works ok

                      console.log("file reading about to started", this);
                  }, console.log("erre", entry));

        });
        }
      });
    });
  };
  var error = function(param) {console.log('== error \"' + param + '\"');};

  function changeDir(dir) {
    currentDirectory = dir;
    console.log("====\nCURRENT DIRECTORY:\n" + currentDirectory);
    currentDirectoryView.set("text", currentDirectory);
    scrollView.children().dispose();
    window.resolveLocalFileSystemURL(currentDirectory, success, error);
  }

  rootDirPicker.on("select", function(picker, selection, options) {
    changeDir(rootDirMappings[options.index].value);
  });

}

Thanks for your feedback. We are currently in the progress of extending TypedArray support on iOS. Please stay tuned for that.

Hello. There is an issue in JavaScriptCore engine (that is WebKit) https://bugs.webkit.org/show_bug.cgi?id=158576. It has been closed recently but there is no telling when they merge it and release it. I would file an issue in Cordova bug tracker. Closing for now.

We can provide a fix in our iOS implementation in the mean time, probably in the next couple of days.

A workaround for you until we support atob, btoa on iOS is to include a dependency to base64 in your package.json
  "dependencies": {
    "tabris": "1.8.0",
    "Base64": "^0.3.0"
  }

and require it before using the file plugin, e.g. like this:
if(device.platform === "iOS") {
    var base64 = require('base64');
    global.btoa = base64.btoa;
    global.atob = base64.atob;
}

See also

The functions atob and atob should be available in the global JS context. The implementations are small, so we should include shims.

The functions are available in iOS as can be seen here: https://caniuse.com/#search=btoa
Closing as "no action needed".


Many-to-Many Relationship , both the entities are not associated if direction is marked in the @Relationship annotation.

Java version : 1.8
neo4j.ogm.version = 3.2.24
neo4j server version = 4.3.2
Person has many address
address has many person

created two person and one address
related same address to both the person
saved both the person

direction is person-> out address<-in
Expected : both the person related to same address entity.
Actual : last saved person is related . other person is not related (dangling)
if just annotate the field with @Relationship then both the person is related .
however need to provide direction in the @Relationship.
sample maven project attached to reproduce,
neo4j-issue.zip
sample output in the graph

After debugging found that on second save
EntityGraphMapper#deleteObsoleteRelationships gets called it detects thats user has deleted the relationship
if (!context.removeRegisteredRelationship(mappedRelationship)) {
it prepares the statement that will delete the relationship from the graph
delete-relationship.log

You would have to set also both persons to the address.
Just adding it at one side of the bidirectional definition lead to the observed behavior:

hash gets saved
saving the relationship and the address, since OGM visited the hash-address relationship, it does not check it again
dhi gets saved
same as 2. but additionally removes the (in the cache/session/OGM-transaction existing) hash-dhi because from the address perspective this does not exist anymore.

If you also apply the bidirectional information on the other side, you would also have to save only one person to save the whole chain. (e.g. calling only session.save(person))

thanks
didnt understand point 4
4. same as 2. but additionally removes the (in the cache/session/OGM-transaction existing) hash-dhi because from the address perspective this does not exist anymore.
could you please elaborate it more why it removes because from address perspective dhi is new person and defined as collection in the address i.e dhi to address new releationship although address reference is same.
if we do it from address
Address address = new Address();
address.setZipCode("50001");
	address.addPerson(hash);
	address.addPerson(dhi);

	session.save(address);
it saves both the person and address relationship correctly

below point also didnt get it
If you also apply the bidirectional information on the other side, you would also have to save only one person to save the whole chain. (e.g. calling only session.save(person))

My fault. I meant to write hash-address instead of hash-dhi.
Just to clarify things:
hash.addAddress(address);
dhi.addAddress(address);

address.addPerson(hash);
address.addPerson(dhi);

session.save(hash); // This saves 1.hash 2. address 3. dhi

session.getTransaction().commit();
sessionFactory.close();

will solve your problem.
The comment shows the logic of the save operation. Neo4j-OGM saves hash looks into all relationships, finds address, saves it and looks into its relationships (persons) and persists now all that were not yet processed.
The last part is exactly what breaks the relationship persistence in your example: Processing the relationships within address does not show anything, so Neo4j-OGM assumes that the previously created relationship between hash and address needs to get removed again.
Neo4j-OGM has a built in cache that detects changes during the ongoing session on persistence operations between the last operation.
Regarding the example in the starting post:
The relationship between the person you save (hash and dhi) and the address will not get removed because this relationship were already internally processed and will not get considered anymore.

Thanks for your suggestion it would work.
In our code base we have many such bi directional relations and set the relation reference to one side  and it works where  the corner case like it happens only if both the people sharing the same address reference object in the same transactioni.e both the start node shares the same end  node in the same transaction. during second save internally Neo4j-OGM  invokes  "deleteObsoleteRelationships" method considering  user has deleted the relationship
tell the compiler to prepare a statement that will delete the relationship from the graph
so Neo4j-OGM assumes that the previously created relationship between hash and address needs to get removed again.1. Why Neo4j-OGM assume to remove the relationship between hash and address ?   dhi is a different object and address can hold multiple person references
   when we save dhi and  look into all relationships, we find that address ref and it's already processed and saved.    it must create a relationship between dhi and address correctly .

This works as expected when the bidirectional association is correctly populated, i.e. with your example project:
package com.domain.model;

import java.util.HashSet;
import java.util.Set;

import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;

@NodeEntity
public class Person {
	@Id
	@GeneratedValue
	public Long nativeId;
	private String name;

	@Relationship(type = "addresses")
	private Set<Address> addresses;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Address> getAddresses() {
		return addresses;
	}

	public void setAddresses(Set<Address> addresses) {
		this.addresses = addresses;
	}

	public void addAddress(Address address) {
		this.addresses = this.addresses == null ? new HashSet<>() : this.addresses;
		this.addresses.add(address);

		Set<Person> persons = address.getPersons();
		if (persons == null) {
			persons = new HashSet<>();
		}
		persons.add(this);
		address.setPersons(persons);
	}

}

There's little we can do to automate this for you.
This works as expected and I am close this as such.


If you upload a file with the same name as an image in a new memo, only the latest file exists

Describe the bug
If a new file is uploaded with the name that existed when the resource was registered, all the previously existing files are overwritten, and the only file that can be checked is the last file.
Thumbnail displays original as it is
But if you zoom in, you can only see the latest files
Steps to reproduce

Upload a file of the same name as an image to a new memo
Upload with the same image.png name
3.Check each file

Screenshots or additional context

Can you show your storage path configuration?

I am Using Docker Container
`
version: "3.0"
services:
memos:
image: neosmemo/memos:latest
container_name: memos
volumes:
- ./memos/:/var/opt/memos
ports:
- 5230:5230
environment:
- TZ=Asia/Tokyo
restart: unless-stopped
`

Maybe, filename=> [Upload FIle Name + TimeStamp]
IT Works

Strange question, I use the exact same filename naming method as you, but have never had this problem.

Maybe fixed in the recent releases.


Envoy proxy for CentOS

Issue Template
Title: Envoy Proxy support for CentOS*
Description:
I am trying to compile envoy proxy code using the scripts. It pulls the Centos image from dockerhub but after that I get pcap group not found and no build scripts related to Centos. Ubuntu 16.04 has all the build scripts needed. Does it mean support is dropped for CentOS ? Greatly appreciate your help.
[optional Relevant Links:]
Bug Template
Title: Support for CentOS linux distro*
Description:
Envoy proxy should support linux CentOS distro.
Repro steps:
Cent OS

Note: The Envoy_collect tool
gathers a tarball with debug logs, config and the following admin
endpoints: /stats, /clusters and /server_info. Please note if there are
privacy concerns, sanitize the data prior to sharing the tarball/pasting.

Admin and Stats Output:

Include the admin output for the following endpoints: /stats,
/clusters, /routes, /server_info. For more information, refer to the
admin endpoint documentation.

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Config:

Include the config used to configure Envoy.

Logs:

Include the access logs and the Envoy logs.

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Call Stack:

If the Envoy binary is crashing, a call stack is required.
Please refer to the Bazel Stack trace documentation.

I am running tomcat and MariaDB on docker container, can i add envoy on top of tomcat? Is there any example?
Thank you in advance :)

Hey, has this moved forward somehow?

Since this has been dragging on for a while and no obvious progress, I think it is time to comment on it for some clarification.

Technically, we resurrected a way to build Envoy for CentOS.
One issue left to solve is how to best merge it back into the upstream code and keep maintaining it

Some background:
The build toolchain on Ubuntu, which is the primary development environment, is much more modern than what is available on CentOS "out of the box". I was able to upgrade most of it to versions that would support a production build on CentOS. However, not everything is working on CentOS, especially two unit tests are failing due to some differences between Ubuntu and CentOS caused by the much older kernel in CentOS.
I am trying to collaborate with @lizan to get this wrapped up but since both of us have full-time jobs at different employers, @lizan's company requires me to sign an NDA with his employer which my legal department wants to check. Obviously and unfortunately, those "legal matters" quite often take a significant amount of time.
So, I have to ask everyone waiting for a CentOS build to be a bit more patient.

Sorry I was tied up with other stuff, posted my WIP branch in #5962.

This was merged so I think we support this again.


Develop/directory structure

Files from /qureg, /util, /interface have been moved to /include, /src.
The distinction is based on the files being .h/.hpp or .cpp respectively.
Some files from /examples have been moved to /tutorials.
CMakeLists.txt has been updated and the build:
CXX=mpiicpc cmake -DIqsMPI=ON -DIqsUtest=ON -DIqsPython=OFF ..
was successfully checked.

Fabio, the conflicts appear due to the last commit of the CPhase gate. They can be easily solved.

Merge successfully done!


Add rolling average to positives %

Latest commit changes the label from "Daily total" to "Daily figure" so it's accurate for totals and %s


Laraadmin - Get Uploaded file location from Auth, users

Hello!
I would like to get uploaded file instead of Gravatar in header nav bar. With this code:
notifs.blade.php
{{ Auth::user()->photo }}

I only get the id of uploaded photo

I see that I have to use this
use App\Models\Upload;
$img = Upload::find( Auth::user()->photo );
$img->path();

But I don't know where to insert it in order to get in my views the file path...
I found one question same as mine, but answer is not so clear. Same as: https://github.com/dwijitsolutions/laraadmin/issues/130

Hi Masterdb,
if you see admin_routes.php , you will find,
/* ================== Access Uploaded Files ================== */
Route::get('files/{hash}/{name}', 'LA\UploadsController@get_file');
Routes above it means, the way to fetch the file is by using :
{{ url(config('laraadmin.adminRoute') . '/files/yourHashInUploadsTable/yourNameInUploadsTable') }}

Hello bobbysiagian,

How do I get yourHashInUploadsTable and yourNameInUploadsTable?
Where Auth::user is defined? I'm not able to find class file because I would like to create a new method for this, but IDK where it's is.

Hello @masterbd
The first thing is make sure that you're still using default tables+modules when Laraadmin installed. Never custom uploads table and uploads modules.

Simple,
App\Models\yourModel::find(uploadsID)->hash->first();
App\Models\yourModel::find(uploadsID)->name->first();

call Use Auth below namespace , then you can use Auth::User();

use dd(Auth::User()); if you want to debug it.

Solved. Thank you very much.


libfsm: init at 0.1pre1869_f70c3c5

Signed-off-by: Austin Seipp<EMAIL_ADDRESS>
Motivation for this change
Things done

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

[ ] 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 nix-review --run "nix-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)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build libfsm

Oh, nice! I should have made a pull request for the local recipe I wrote a while back, but I think you've covered everything I had, as well as stuff I missed. Just in case, though, here's what I was using:
with import <nixpkgs> {};

let
  # local bmake recipe elided, I'll post that in a separate issue
in stdenv.mkDerivation rec {
  name = "libfsm";

  src = fetchFromGitHub {
    owner = "katef";
    repo = "libfsm";
    rev = "caf1a0d664d404b5fe06b77fa8372f3262444c4f";
    fetchSubmodules = true;
    sha256 = "1rabwqy07d1vs0pf1nq5cshcg6ip11yl660cr4hynsaraq47h8gs";
  };

  nativeBuildInputs = [ bmake ];

  buildPhase = "bmake -r";
  installPhase = "bmake PREFIX=$out install";
}


docs: Fix style pitfalls in the ClusterMesh guide

Fixing common documentation pitfalls where users are referred to as "we" rather than "you" as per the documentation style guide.

Hey @network-charles , thanks for the PR. I think that this is an improvement to use "you" rather than "we", but the ideal is to describe facts and instruct the user what to do instead. I'll drop a few examples in comments below. What do you think?

I love these, @joestringer. I will keep this in mind next time.

Looks great, thanks! You've got a failing CI test because the commit message title is too long, though: https://github.com/cilium/cilium/actions/runs/8976170445/job/24652422540?pr=32320

Oops, just fixed it.

Thanks for the review, @qmonnet, I've applied your suggestions.

Can you please fix the remaining occurrence on line 221 in Documentation/network/clustermesh/aks-clustermesh-prep.rst? And then squash your commits together, please?

I find it always nice to have a commit description, even if minimal, so that people looking at the Git logs understand the motivation for the change. Could be as succinct as “Improve document by applying recommendations from Cilium's docs style guide”. Now the reader has a reference to understand why we change “we” to “you”.

I've squashed it. I won't be able to do the above, the CI keeps failing when I add it.

/test

I've squashed it. I won't be able to do the above, the CI keeps failing when I add it.

I think that's simply because you need a blank line between the title and the first line of the commit description; otherwise, some tools (such as checkpatch.pl, but not GitHub) consider the following lines as the continuation of the commit title, until they find an empty line. But don't bother for this time, it's fine

Ah! I see.

Should be good to go with @thorn3r's approval.


Update Redix.command/3 typespec

It's possible it can return {:error, %Redix.ConnectionError{}} but the
existing typespec didn't include it

Thanks @mattlorey! 💟


Feature Request: New-ScheduledTaskTrigger should be able to create Monthly schedules

Summary of the new feature/enhancement
As a user I want to programmatically create scheduled tasks that run on e.g., the 5th of the month, or say, the 3rd Tuesday. So that I can fully automate my scheduled job creation.  Currently New-ScheduledTaskTrigger allows the creation of daily and weekly schedules, but not monthly.
Proposed technical implementation details (optional)
Example powershell experience:
ps> $act = New-ScheduledTaskAction -Execute "calc.exe"
ps> $sch = New-ScheduledTaskTrigger -Monthly -At 3pm -DaysOfMonth 5 # Jan 5th, Feb 5th, etc.
ps> Register-ScheduledTask -Action $act-Trigger $sch -TaskName 'My task name'

This is a windows powershell cmdlet.  Please file a uservoice issue per the bug template:
Windows PowerShell UserVoice


[release-v1.12] Cherry-pick E2E tests for channel: TLS key pair rotation #3406

Cherry-pick https://github.com/knative-extensions/eventing-kafka-broker/pull/3406/files

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/close
We are not using 1.12_old, hence closing.


added cifar10 sprites

provides image sprites required by #19
fixes #36

the files are relatively big ~20 mb per file, maybe we should add them separately (e.g. add some script for downloading them from AWS)

As discussed in the ticket https://github.com/Caleydo/malevo/issues/36#issuecomment-364991038 and offline, I will suggest a swagger file and @gfrogat will implement the API calls in Python afterwards.
Therefore I close this PR and delete the branch.


Use better observational data

Following up on #4, we can improve our analysis by using some different datasets as the observational standard.
We might want to consider an actual observational product for precipitation, like GPCP.

I already have scripts to scrape Berkeley Earth near-surface air temperature data and GPCP precipitation data. I'll work on putting these up in my personal google storage (possibly coarsening them if the files are too big to fit in my personal google cloud storage bucket). I'll do the same with ERA5.
We could follow the precedent of Reichler et al. (2008), who use individual observational products as the reference for each variable, and then use a reanalysis data set as a benchmark for how much uncertainty there is in observational estimates.
Reichler et al. (2008)](https://github.com/hdrake/cmip6hack-multigen/blob/master/references/Reichler2008_Figure_1.png)

In PR https://github.com/hdrake/cmip6hack-multigen/pull/28, I swapped NCEP reanalysis for ERA5 reanalysis data set, which is a higher quality product and considered state-of-the-art. I agree we should still reference these against data producst that are closer to raw observations, such as GPCP for precipitation and BEST for surface temperatures. I don't know of any mean sea level pressure data sets (it's a contrived variable for elevations above sea level so I am not sure they even exist...).

You can get historical station data, but for a gridded product I don't think we'll do better than an up-to-date reanalysis.

Peter Sherman (student at Imperial College London) informed me that Karen McKinnon has extended her "Observational Large Ensemble" work from near-surface temperature to precipitation rate and sea level pressure. This is amazing news, because these happen to be the three variables we are working with. Now we can finally quantify how large of a projection internal variability has on our skill metrics!
https://www.earthsystemgrid.org/dataset/ucar.cgd.ccsm4.CLIVAR_LE.olens_mckinnon_update.html

In the coming weeks, I'll add both MERRA-2 (NASA reanalysis) and McKinnon's observational Large Ensemble to our analysis and draft up some publication-quality figures!


only reload and reset naturAreaFacts on new localId

Coverage increased (+0.05%) to 43.746% when pulling 3244a33e0036366864bd1ce92847afc290f3973c on reloadNatureAreafactsFix into 4f41b591ccf3444a096684542c8fb63108d1c612 on master.


coponentFilenameCasing handle pages/index and subdirs

Hi @rrd108
This issue is about the componentFilenameCasing shouldnt report error if the page / component is checking is index.vue?

nuxt recommends kebab-case file names and not PascalCase like vue components.
So in this rule we have to detect if the project is nuxt or vue and report accordingly.

I'm wondering if the way to check if its a nuxt project would be by checking if there is a nuxt.config?

Yep, I would do that.

componentFilenameCasing already skip pages and layouts folders.
I can't remember where this issue came, but I guess it is not valid anymore.

This issue appear in my original discussion post, where I had a file index.vue and it reported that error and its because the method is handling regex for pascalCase and kebab-case but not checking when to use each one
Discussion post: https://github.com/rrd108/vue-mess-detector/discussions/53

Or maybe I understood it wrong since the beginning

Can you plese check if the analyzer still report this file?

On it, give me a sec

Yes, its still reported:

Ok. I will add a failing test and a fix next week.
This weekend is our biggest tourist event, so I will not be around any code.


PartitionedDataSet to allow Empty Paths

Description
IncrementalDataSet currently supports having an empty path, so how can we also let PartitionedDataSet do the same?
Context
Currently, if I'm using a PartitionedDataSet, I'm required to put something in the partitioned path. If it is empty, there is an inescapable Exception that is thrown when the pipeline is run.
In my opinion, verifying if data is available or should be done in a different layer other than the DataSet layer.
There are many times where data not existing is a valid case, and if we require the partitions to be non-empty, then extra complexity goes into ensuring that data exists, to satisfy the DataSet.
Possible Implementation

Remove the raised exception.
Add an option inside of the __init__ to allow_empty.

Hi @tamsanh! Thank you for the feedback.
Current design assumes that partitioned dataset points to a "static" location, where there should be some data. If no data is returned, we assume that being an error and raise rather than silently pass. Incremental data load, however, is dynamic by nature and may result in no partitions being available.
To consider suppressing this error, we would need to better understand your use case for why and when you still want to load empty partitioned dataset. Can you please elaborate more on that? Thanks!


Use nightly Rust in Travis CI config snippet

The current stable rustfmt (rustfmt 0.4.1-stable) does not contain the --check flag, which is used in the Travis config snippet. Once a new stable version is released, the snippet can be switched
back to stable Rust.
Fixes #2688.

Thanks!


[FR]: Can theme switching enable dynamic replacement of icons in the APP?

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the problem
I want to know how ComposeUI can implement theme switching and dynamically change the small icons in the application.
Describe the solution
I don't know how to solve it, so I would like to ask if you have any good solutions in ComposeUI
Additional context
No response
Code of Conduct

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

This isn't the place for questions I'm afraid. Please try stackoverflow.


Specify a current version and a license

Hi Henrik,
I was about to submit a pull request to add a composer.json file so that you can publish your bundle onto Packagist and people can start using Composer to manage their dependencies, but I noticed that there are no tagged versions of RedisBundle and the license doesn't seem to be specified anywhere (I guess it's MIT since Symfony2 and Predis are both released under that license, but it's just my assumption).
It's not really mandatory to tag a stable version, so you can declare a development one without tagging it onto Git (just like I did with Predis, which is published using the master branch under the 0.7.0-dev nomenclature but has no tags yet) that will be tagged once Symfony2 and/or Predis are released as stable.
What do you think about it?

Hi, you are right. I will add MIT headers to the files asap and then I will add a tag, too.

Done.


Drop remove-checks-tab feature

Thanks for contributing! 🍄

LINKED ISSUES:
Closes #3667

TEST URLS:
Go to a PR page (like this one) and see that the "Checks" tab is always displayed, even when there are 0 checks.
https://github.com/algobook/algoBook/pull/9

SCREENSHOT:

Thanks for contributing!

Thanks for contributing!

You're welcome. Always happy to remove some code 😉


Disable all media pre-fetch

Please disable any pre-fetching of audio or video content.

got it,

I have updated the PR and added media URLs back in the sitemap for offline access
I have stopped pre-loading of audio/video assets on page load
audio/video assets wouldn't be downloaded until user clicks on the play button
thumbnail will still show for the video assets

Amazing, thanks a lot Sher.


one compression block not allow to bigger than 8M

compress block header size is 3 byte to store compressed size，if length more than 8M，will overflow

Thank you for reporting. Could you provide your reproducible procedure, @ljyss9 ?

Just use csv-import tool can reproduce it，set compression chunk size to 64M, and input data is hard to compress，once one block after compress is larger than 8M，will cause orc data wrong.

That's definitely something we need to fix.

To @ljyss9

This is not a reproducible procedure.

input data is hard to compress

Do you mean that you hit orc-tool failure? Or, orc-tool succeeded but the generated file is corrupted?

will cause orc data wrong.

@ljyss9 which codec did you use? If possible, can all codecs reproduce this problem?

@dongjoon-hyun
orc-tool succeeded but the generated file is corrupted
This picture is copy from official website, what the behavior is if the compressed block length is greater than 3 bytes.

@deshanxiao
all codecs  can reproduce this problem

In ORC-238 (version 1.5.0), an assert for buffer size is added, and there should be no problem with buffer size exceeding 8M.
Can you provide the version and command you used? @ljyss9
https://github.com/apache/orc/blob/803e273cd5cd7eff3cb34e8595f595a278bc8823/java/core/src/java/org/apache/orc/impl/OutStream.java#L201-L213

I think I understand @ljyss9‘’s issue.
Although like @cxzl25 mentioned, we have relevant restrictions on the java side. But csv-import (c++ side) still has the issue which means there is no limitation on the c++ side.
As for the condition that data must be difficult to compress. It is just to keep the original data in the block because ORC will not save compressed data once it is found that compression is not cost-effective.
Therefore, the final solution is that once the C++ side finds that the compression chunk size exceeds 8M value, it will refuse to write any data like Java side.

@deshanxiao Thanks for the update! Could you please provide a link to the protection code on the Java side? I think the C++ code should do the same thing.

Hi @wgtmac Actually @cxzl25 has provided the code on the Java side:
https://github.com/apache/orc/blob/8f22732bfe336ece7d7bcfade3ca6d200d276f1c/java/core/src/java/org/apache/orc/impl/OutStream.java#L201-L213

cc @ffacs

Thank you, @ljyss9. I will make a patch to forbid invalid compression block size in writer options later.

This is resolved via ORC-1602 (Apache ORC 1.9.3 and 2.0.0).


Adding more detail for parser errors

This PR is mostly just an improvement for folks like us who end up doing further development of the parser. I needed a way to track the specific error back to the source in scan.l or wherever.

@lfittl I didn't realize you'd built libpg_query - it's like daring me to add a Python implementation ;)

@JackDanger Heh, that'd be nice!
Still need to fixup a few things though (libpg_query has a way too basic Makefile right now so it only compiles on Linux), so I'd wait until https://github.com/lfittl/pg_query/pull/24 is done :)
Another topic that I haven't figured out yet is how different language implementation's could share the non C part, it'd be sad to only have the deparsing available for Ruby.


Ubuntu import 1.4.4

Version 1.4.4 is a bug fix release which is also addressing CVE-2021-21334.
I uploaded the package to this PPA:
https://launchpad.net/~lucaskanashiro/+archive/ubuntu/docker-20.10/+packages
autopkgtest is still happy:
autopkgtest [16:07:05]: @@@@@@@@@@@@@@@@@@@@ summary
basic-smoke          PASS

Applied the addition suggested by @tianon . Is this good enough now?


Provide always the available metadata

I recently came across this SO question and as a solution, I answered suggesting the usage of this package. However, I noticed that since the attributes ICCProfile and OpticalPathSequence are not present, it's not possible to inspect the metadata of the file provided by the OP at all. Furthermore, since the code works correctly with the correct_color option set to False in read_frame, why not print a warning when reading metadata instead of raising the AttributeError and raise it subsequently in the read_frame function if correct_color is True? I think that it's better to have the possibility to inspect, view and print all the available metadata rather than stop the code execution if one is missing. As a disclaimer, I'm not a DICOM expert so maybe there's a reason to do the things in this way that I can't actually understand.

@EliaSchiavon thank you very much for answering the question on SO and for reporting the issue. I agree with your assessment. It is probably better for highdicom.io.ImageFileReader to not fail upon construction to allow reading of image frames without color correction.
#189 addresses the issue. I tested it on the example image provided in the SO question. Could you please give it a try, too?

I'm seeing this only now, I'll give it a try anyway today. Thank you for your work!

@hackermd  did you mean to merge #189 ? it has not been merged yet?


Wrong output - Pink color

hi @cshum
When testing this lib, I found an issue
I ran default docker image in local
docker run -p 8000:8000 shumc/imagor:1.4.5 -imagor-unsafe

Original image: https://d2u1upwdbw709w.cloudfront.net/documents/PROFILE PHOTOS/3805909.jpg
Imagor: http://localhost:8000/unsafe/333x0/https://d2u1upwdbw709w.cloudfront.net/documents/PROFILE PHOTOS/3805909.jpg
After imagor, it becomes a pink image

Do you know what is wrong?

@cshum I found the reason
https://github.com/libvips/libvips/issues/2713
missing liblcms2-dev when building libvips

Image looks good after adding the lib


Nunit3

Issue #142. Any comments/feedback then let me know :smile:
Thanks

Any plans on this? I cannot update my projects just because of this. Kindly merge this pull request and update the nuget package. Thanks a lot

As I said on #142 I think it's the right approach, but I have not had time to review it yet. I have been moving house so it's not been an easy few weeks to find time for this. @abulhasanlakhani fancy taking some time to look through the code / run the tests and adding some feedback? I at least wanted to look at why 8 tests have been ignored before just merging it in.

Sorry man :( I forgot about you.
Assuming you are using your own fork now, you wanna talk about maybe maintaining the project going forward, PRs, nuget etc? I'm just not using windows day to day and so it's not practical for me really. If you are using it day to day, you are in a better position than me to review PRs etc.

Hey @adiel. No problem :smile:
We'd definitely be interested in taking the project on. We've had some ideas about how we could extend it too so would be a good challenge!
Thanks

Cool, I'll get you added to the repo and nuget for starters.
On Wed, Jun 22, 2016 at 2:32 PM, Lee Blundell<EMAIL_ADDRESS>wrote:

Hey @adiel https://github.com/adiel. No problem 😄
We'd definitely be interested in taking the project on. We've had some
ideas about how we could extend it too so would be a good challenge!
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/featurist/coypu/pull/143#issuecomment-227744308, or mute
the thread
https://github.com/notifications/unsubscribe/AAEppLf-E5URKgzfVDAj55jSElZ0iUo6ks5qOTlxgaJpZM4IBD01
.

Thanks buddy. I've accepted the repo invitation and created a personal account on nuget - my username is blunny.

You should subscribe here too: https://groups.google.com/d/forum/coypu
On Tue, Jun 28, 2016 at 2:33 PM, Lee Blundell<EMAIL_ADDRESS>wrote:

Thanks buddy. I've accepted the repo invitation and created a personal
account on nuget - my username is blunny.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/featurist/coypu/pull/143#issuecomment-229049787, or mute
the thread
https://github.com/notifications/unsubscribe/AAEppCWyW8BQMw2EzwZYtfJHstiZBazlks5qQSK0gaJpZM4IBD01
.

Now that this is closed, I wonder if you propose to publish an updated nupkg for this support?  Coypu.Nunit forces a < 3.0 dependency on Nunit

@Blundell89 You gonna take a pass at this?

@adiel @pmcevoy Hey, yeah hoping to get it out soon but really want to get the broken tests fixed before pushing it. I'll keep you both updated :smile:
Going to get some issues raised soon too with some ideas for taking the project forward

Hey we're also looking at this. We actually did the same kind of fix on our own copy, but it'd be good to have an official fix (right now we've just embedded the matchers within our test project itself, definitely not ideal).
I got a bit of experience with nuget stuff and working with coypu now lol, so if you would like any help with this let me know.

@Blundell89 Been asked a couple more times to get this in. Can we get the changes from https://github.com/LiberisLabs/coypu over? You wanna make another PR?


Unable to connect two blendSpace2D in animationTree

Godot version
4.0 beta 1
System information
Windows 10
Issue description
I'm following this tutorial (https://www.youtube.com/watch?v=Luf2Kr5s3BM&t=490s) and I can not connect the two blendSpace2D as shown in this video ( 30min 30 seconds)
Steps to reproduce
Add animation in animationPlayer
Create a animationTree
Add two blend2DSpace
try to connect them
Minimal reproduction project
No response

Dupe of #65988.


Adds missing collect api call on reinit

Without this when polling, we will have one frame without a qr code in between reinit and the next poll.
Closes #142

Closes #141


Add "guest" networking option

More details: https://openwrt.org/docs/guide-user/network/wifi/guestwifi/guest-wlan
In Gargoyle there is option:

Just add another SSID.


Add carllerche/mio

MIO is a lightweight IO library for Rust with a focus on adding as little overhead as possible over the OS abstractions

Thank you


fix imp snippet by adding cursor priority to module

imp tab caused the snippet to skip $1 and go directly to ${module} and then to $0 in v 1.4.0 on OS X.
Fixed by adding cursor priority to the module placeholder.

Thanks for the fix!


Profile: Edit profile

@keybase/react-hackers
visdiff should show what the new screen looks like -- it's accessed by clicking on any profile field or the Edit Profile button.

:mag_right: The commits 0f74479f1182...bf3f2e327414 introduced some visual changes on linux:

Added: Edit_Profile-Too_long

Added: Edit_Profile-Normal

:mag_right: The commits 0f74479f1182...ae19fd2ef4a5 introduced some visual changes on linux:

Added: Edit_Profile-Too_long

Added: Edit_Profile-Normal

:mag_right: The commits 0f74479f1182...7d415a95ba70 introduced some visual changes on linux:

Added: Edit_Profile-Too_long

Added: Edit_Profile-Normal

:mag_right: The commits 0f74479f1182...43692a76a667 introduced some visual changes on linux:

Added: Edit_Profile-Too_long

Added: Edit_Profile-Normal

You can set a minWidth/height for the dumb component map like this so the screenshots fill more space: https://github.com/keybase/client/blob/5eb676990772c408ef756a2561d4f934c2713f26/shared/profile/dumb.js#L265

:mag_right: The commits 0f74479f1182...6a18cebb0426 introduced some visual changes on linux:

Added: Edit_Profile-Too_long

Added: Edit_Profile-Normal

@awendland @chromakode Thanks!
I didn't switch the input to multiline, because it turns out the multiline component is broken in various ways, so I filed a separate story for that: DESKTOP-1527
Any other review comments?

👍


New User Setup Help

Describe the bug

Current Config
{
"platform": "Alarmdotcom",
"name": "Security System",
"username": "<XXXXXX",
"password": "",
"armingModes": {
"away": {
"noEntryDelay": false,
"silentArming": false
},
"night": {
"noEntryDelay": false,
"silentArming": false
},
"stay": {
"noEntryDelay": false,
"silentArming": false
}
},
"logLevel": 1
}
4/14/2021, 9:39:22 PM Initializing HAP-NodeJS v0.9.3...
4/14/2021, 9:39:23 PM Loaded plugin 'homebridge-node-alarm-dot-com'
4/14/2021, 9:39:23 PM [4/14/2021, 7:39:23 PM] Registering platform 'homebridge-node-alarm-dot-com.Alarmdotcom'
4/14/2021, 9:39:23 PM Loading 1 platforms...
4/14/2021, 9:39:23 PM [Security System] Initializing Alarmdotcom platform...
4/14/2021, 9:39:23 PM [Security System] Logging into Alarm.com as<EMAIL_ADDRESS>4/14/2021, 9:39:23 PM Preparing Advertiser for 'HOOBS 7BFA' using bonjour-hap backend!
4/14/2021, 9:39:23 PM Starting to advertise 'HOOBS 7BFA' using bonjour-hap backend!
4/14/2021, 9:39:23 PM Bridge is running on port 51826.
4/14/2021, 9:40:23 PM [Security System] Logging into Alarm.com as<EMAIL_ADDRESS>4/14/2021, 9:41:23 PM [Security System] Logging into Alarm.com as<EMAIL_ADDRESS>4/14/2021, 9:42:23 PM [Security System] Logging into Alarm.com as<EMAIL_ADDRESS>4/14/2021, 9:43:23 PM [Security System] Logging into Alarm.com as<EMAIL_ADDRESS>4/14/2021, 9:44:23 PM [Security System] Logging into Alarm.com as<EMAIL_ADDRESS>

What is the issue? The plugin has to regularly log into alarm.com to keep the connection active. This log looks normal.

@JCallender73 I'm going to delete this issue as it seems like everything is working fine, and you've (accidentally?) uploaded your personal email. If your issue persists, please submit another issue with proper detail and sanitize your log. Thanks!