Can't open file error, after unzipping a bunch of other files successfully.

I'm using Objective-Zip to unzip a somewhat large amount of zip files downloaded from AWS (not that matters much).
After downloading 2 or 3 hundred files the ZipFile stops to work, returning a "Can't open" exception. Debug info shows that when ZipFile tries to open the the file with unzOpen() the _unzFile == NULL, and an exception is thrown.
It happens always with a different file, and unzipping the file outside ZipFile works ok, so it is not a file problem.
For each file, a new instance of ZipFile is created. I really don't know what is happening, but it smells like some overflow in the minizip or zlib side.
Mine code is not the simplest, first I check and create directories and then I unzip using a buffer to optimize memory consumption. At the end the ZipFile instance is released and later a new one is created for a new file and so on.
My code is the following:
    @try {
        ZipFile *unzipFile= [[ZipFile alloc] initWithFileName:_path_to_file mode:ZipFileModeUnzip];
        [unzipFile goToFirstFileInZip];

        do {
            FileInZipInfo *info = [unzipFile getCurrentFileInZipInfo];

            NSString *file_path = [NSString stringWithFormat:@"%@/%@", [_path_to_file stringByDeletingLastPathComponent], info.name];

            BOOL is_dir;
            if (![[NSFileManager defaultManager] fileExistsAtPath:[file_path stringByDeletingLastPathComponent] isDirectory:&is_dir]) {
                [[NSFileManager defaultManager] createDirectoryAtPath:[file_path stringByDeletingLastPathComponent] withIntermediateDirectories:YES attributes:nil error:nil];
            } else if (!is_dir) {
                NSError *error;
                [[NSFileManager defaultManager] createDirectoryAtPath:[file_path stringByDeletingLastPathComponent] withIntermediateDirectories:YES attributes:nil error:&error];
                if (error) {
                    return false;
                }
            }

            if (![[NSFileManager defaultManager] fileExistsAtPath:file_path]) {
                [[NSFileManager defaultManager] createFileAtPath:file_path contents:nil attributes:nil];
            }

            NSFileHandle *file = [NSFileHandle fileHandleForWritingAtPath:file_path];
            NSMutableData *buffer = [[NSMutableData alloc] initWithLength:BUFFER_SIZE];
            ZipReadStream *read = [unzipFile readCurrentFileInZip];

            // Read-then-write buffered loop
            do {

                // Reset buffer length
                [buffer setLength:BUFFER_SIZE];

                // Expand next chunk of bytes
                int bytesRead = [read readDataWithBuffer:buffer];
                if (bytesRead > 0) {

                    // Write what we have read
                    [buffer setLength:bytesRead];
                    [file writeData:buffer];

                } else
                    break;

            } while (YES);

            // Clean up
            [file closeFile];
            [read finishedReading];
            [buffer release];

        }while ([unzipFile goToNextFileInZip]) ;

        [unzipFile release];
        unzipFile = nil;
    }
       @catch...

Thanks!

Thanks for this! Helped me out as well.


Indicator for 'start of messages'

Most of chat competitors have a clear indicator that there are no older messages.
For users, in Slack there is a text like 'This is the start of your chat history', in Facebook Messenger there is a bigger user avatar and some info about the user.

I think for v1 we can just show a centered black Zulip logo at the top (like we currently do on chat.zulip.org), which we can use both as the loading indicator space as well as the thing that gets swapped into place if we find we're at the top of the feed.  The important constraint is that the loading indicator have the same height as the top-of-feed marker.  We'll likely revise the design at some later point, but this seems like a reasonable provision thing to do.


size error

hello, I called part of your code including build_word_encoder and build_sent_encoder, but something went wrong, can you please help me?
here is my error(your DENSE_SIZE=100, and I use 64 as my DENSE_SIZE ):
tensorflow.python.framework.errors_impl.InvalidArgumentError: Inputs to operation bidirectional_3_1/while/Select of type Select must have the same size and shape.  Input 0: [1,32768] != input 1: [1,64]

and can you tell me the tensorflow and keras version of this code?


Kestrel startup issue - address already in use

From @Petermarcu on November 7, 2017 16:59
@istvanko filed this here: https://github.com/dotnet/core/issues/1062
We host some microservices in Azure using ASP.Net Core 2.0 framework and as we noticed, after some days, the services are recycled automatically although Always on is turned on, but the restart doesn't work all the time and our services remain stopped.
We enabled the logging in Azure and we found the below log entry:
2017-11-06 23:27:28.337 +00:00 [Critical] Microsoft.AspNetCore.Server.Kestrel: **Unable to start Kestrel.** System.IO.IOException: **Failed to bind to address http://<IP_ADDRESS>:3119: address already in use.** ---> Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.AddressInUseException: Error -4091 EADDRINUSE address already in use ---> Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Networking.UvException: Error -4091 EADDRINUSE address already in use    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Networking.LibuvFunctions.ThrowError(Int32 statusCode)    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Networking.LibuvFunctions.tcp_getsockname(UvTcpHandle handle, SockAddr& addr, Int32& namelen)    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Networking.UvTcpHandle.GetSockIPEndPoint()    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Listener.ListenTcp(Boolean useFileHandle)    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Listener.CreateListenSocket()    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Listener.<>c.<StartAsync>b__8_0(Listener listener)    at 'Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.LibuvThread.CallbackAdapter'1.<>c.<.cctor>b__3_1(Object callback, Object state)    at Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.LibuvThread.DoPostWork() --- End of stack trace from previous location where exception was thrown ---
Detailed stack trace available in the document:
69a2cc3935e9dc939ab7e2d17b47888fef8e50149a09de2203f3b52f2432e924_applicationLog.txt
The issue is quite annoying since it happens in the production system once every week.
We noticed another issue last week, when the dotnet command received invalid arguments which might have connection with this issue.
In general these issues happen in case of Azure infrastructure maintenance or in case of remote file storage unavailability, etc.

Copied from original issue: aspnet/Home#2272

I get this error in my apps after installing Windows Server Hosting Runtime v2.0.5.  The process just continually restarts.

How did you set the port? hardcoded or by setting environment variable?

It’s set by environment variable. I’ve confirmed that removing the Windows Server Hosting package and reinstalling a standalone version of the ASP.NET Core Module resolves the issue.
Otherwise, the executable runs a few seconds and then restarts. I can run the executable from the command line with no issues.

@halter73 has auto-healing working for you?
Experiencing the same issue, it has been costly dealing with it so far.
We have temporarily scaled out with an extra instance, to handle this in case it happens again.

@pan-wang should we close this as a dupe of aspnet/AspNetCoreModule#260 to keep the conversation in one place and keep everyone up to date?

Any news about this? We have the same issue as the original author in our production enviroment.

We were able to reduce the frequency of the appearance of the issue by turning "Always on" off. It seems that in specific constellations when we use https with "always on" the app is being initialized in a wrong way when Microsoft changes something on the system even when the changed system is just the blog storage.

Dup of https://github.com/aspnet/KestrelHttpServer/issues/2171


Add a secret parameters

Fluentd 0.12.13 or later supports secret parameter feature.
This feature works as below:
  <match pattern>
    type amqp
    host localhost
    port 5672
    user guest
    password xxxxxx
    vhost /
    exchange my_exchange
    exchange_type topic
    exchange_durable true
    payload_only false
    content_type application/octet-stream
  </match>
</ROOT>

When users use Fluentd 0.10 series or older, this parameter will be simply ignored.

Hi! Thanks for the contribution!
Just to be sure, have you used it with fluentd 0.12? We haven't upgraded and I don't know if there's any possible compatibility issue (I don't want to relax the version constraint without at least a manual testing).

Just to be sure, have you used it with fluentd 0.12?

Yes, I used it with Fluentd 0.12.13 or later.(I tested with Fluentd 0.12.15).

We haven't upgraded and I don't know if there's any possible compatibility issue (I don't want to relax the version constraint without at least a manual testing).

Oh, I see.... But I don't know any compatibility issue.
Fluentd 0.12 has backward compatibility as well as I know.


Implement AsyncListClusters.

This fixes #1265.
It's basically an instantiation of AsyncRetryMultiPage with tests.

This change is

Please ping me when the builds pass, too busy to look at the code as-is.


Bound for Tennis paddles

PR Description 📜
I made the tennis paddles not go over the boundary of the canvas/court
Fixes #3561

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have specified the respective issue number for which I have requested the new game.

Thank you soo much for contributing to our repository 💗

Thank you @VijaySamant4368 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @VijaySamant4368 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Load elemental config/spec from cloud config

First round.
Picks the config from the cloud config IF its there, otherwise defaults to proper values that we used to ship with the elemental config.
This allows to set any of the old elemental config options via cloud config directly as such:
#cloud-config
debug: true
install:
  reboot: true
  grub-entry-name: "MyCustomOS"
  system:
    size: 5000
  recovery-system:
    size: 1400000

cloud-init-paths:
- /run/initramfs/cos-state

Do not merge until the next point release has been done.

did the review from Golang, seems like it duplicates a few things :p

@mauromorales updated with less duplication and consolidating the config and spec get to a single function so we have to change it only on one place. Also accepts now the AgentConfig directly


Conspire-dc assume recipient has log when leader exists

Partial fix, still not 100% the spike between the 2 followers is random.


Change "npm run" for "npx" in plugin docs

Description
"npm run" doesn't work by default with npm.  I had to add a wagmi script to package.json to get it working.
npx instead, just works and is always installed along npm.
Additional Information
Your ENS/address: 0xc5a23c04f05D8F1bc27344E394654B21bE9CC488

This solves one of the issues mentioned in #2110


don't use gold on arm64

r? @larsbergstrom

This change is

@bors-servo r+

:pushpin: Commit 4c65aa1 has been approved by larsbergstrom

:hourglass: Testing commit 4c65aa1 with merge 9a5d4df...

:sunny: Test successful - travis


JDBC CATALOG 不支持bigint unsigned类型

Steps to reproduce the behavior (Required)

CREATE EXTERNAL CATALOG mysql07
PROPERTIES
(
"type"="jdbc",
"user"="bg",
"password"="XXXXXXXX",
"jdbc_uri"="jdbc:mysql://...:3306",
"driver_url"= "file:///data/starrocks/deploy/be/lib/jdbc_drivers/mysql-connector-java-5.1.49.jar",
"driver_class"="com.mysql.jdbc.Driver"
);
use mysql07.mydb;
找个id为 bigint unsigned 表 tb
select * from tb a limit 1000
查询报错

Expected behavior (Required)
不报错，正常查询
Real behavior (Required)
1064 - Type is not supported on column[id], JDBC result type is [java.math.BigInteger]
不支持 bigint unsigned
StarRocks version (Required)
StarRocks V3.1.2
mysql 5.7.39

SR doesn't support unsighed bigint, but I think SR can use LargeInt instead.

SR doesn't support unsighed bigint, but I think SR can use LargeInt instead.

后续有计划支持吗？


Incorporate 3rd party drm-common.[h|c] files into SFML

Subject of the issue
While discussing #2245 it came to our attention how it was odd that 3rd party DRM code needed our attention. Vendoring 3rd party code which we never modify is acceptable as is maintaining 1st party code over which we have full control, but 3rd party code which we must modify is an awkward middle ground.
I propose we integrate drm-common.h and drm-common.c into SFML itself. This means a few things which can be broken apart into multiple commits/PRs as we see fit.

Verify the license lets us do this. I believe we're legally cleared to take this code and heavily modify it for our purposes. I'm unsure however if that means maintaining the existing copyright notice or if extensive enough modification lets us use the normal SFML copyright header.
Move drm-common.h and drm-common.c into SFML's src/ directory. I'm guessing the precise location will be src/SFML/Window/DRM. This entails patching the build system to point at these new files and will probably result in simpler build code too.

The above steps are sufficient for a PR by itself but I think we need to go further with this.

Rename the files to Common.hpp and Common.cpp. This will start building these files as C++ code.

Remove any utilities we're not using. The following steps are easier if we initially minimize how much code we're having to modify.

Replace C idioms with C++ idioms. Easy examples of this are replacing struct T parameters and local variables with T. Other easy changes are replacing C standard header with their C++ equivalent.

Use SFML C++ code style. This includes conventions for naming variables, functions, and types and adding namespaces.

Potentially start manually inlining this code into the callsities where it's used. For example, if a given function is only needed in one file, it's perhaps better to define that function in that one file instead of maintaining it in a separate .hpp/.cpp pair. If we keep doing this, it's possible that both files disappear but I'm unsure until this process actually begins.

https://github.com/ChrisThrasher/SFML/commit/2ecb24c363c90eae5fc9bb09a7905f0ddbb34660
I started working this out. I can already tell there are a lot of changes we want to make to this C++ to get it up to standards of the rest of SFML.

@substring @oomek Can you weigh in on this? Would you be willing to upgrade to SFML 3 if it meant getting to make as many changes to DRM code as you want?

Regarding the changes in SFML 3 that may break 2.5/2.6 retro-compatibility, the time @oomek and I have invested in getting DRM in 2.6, the fuss about enhancing DRM in my last 2 PR and the lack of ETA for next releases, I'm dubitative about the goal you're trying to achieve here.
All in all, we have no idea when to expect DRM with our last changes in a stable DRM.

What I agree with is trying to keep the code consistent. What I don't agree with is the tendency to throw conditional roadblocks to the contributions. I find this attitude a little discouraging.
I would like to see more of "I accept your contribution, but we will have to think about refactoring it later" instead of "we won't be able to accept your contribution unless you rewrite the whole file"

What I don't agree with is the tendency to throw conditional roadblocks to the contributions.

If I was trying to throw up roadblocks I would not have implemented my proposal. I'm on your side and want you to be able to modify the DRM code as you see fit, but first we need to figure out our philosophy for handing 3rd party source code.

I think there's a bit of a misunderstanding of the situation. My question on the PR was mainly triggered by the assumption that the common headers are unmodified external source files, which the, don't seem to be. You got to understand that I'm not at all familiar with DRM, so what may seem obvious to you, isn't for me.
We moved thed discussion out of the PR as it wasn't really relevant for it.
The PRs can easily be accepted, as they don't change the status quo. I'm greatful and thank you for these fixes and contributions! 🙂
The question in this issue are more about planning ahead and considering options. As primary contributors for the DRM part, we also wanted to hear your view and find out if and for which option you'd want to help out further. It wasn't meant as condition or roadblock in any way.
Hope that clarified and defuses the situation a bit. 😄

@substring @oomek can you share your thoughts on whether you think it makes sense to merge these DRM files into SFML itself or should they continue be treated as 3rd party code?

@eXpl0it3r @ChrisThrasher Thanks for clarifying this misunderatanding. I'm ok with either option. When we decide to SFML-ize it what happens to the original license in the file header? Shall we leave it as it is, rewrite it to match SFML mentioning the original author, or provide both?

See #2259


Install OMERO.server in a virtualenv

Installs and runs OMERO.server from a virtualenv /opt/omero/server/venv
New parameter omero_server_python_addons that can be used to install addons at the same time, though it's also fine to install addons into the virtualenv separately.
Updated 26 Aug:
Default behaviour is unchanged (no virtualenv) though we should consider switching this as we start encouraging people to install decoupled components.
Includes a no-venv → venv test.

The changes make sense, the new variable is nice, and the tests seem to be accurately testing what you've added. Is there any (significant) impact of applying this to a running production system?

There shouldn't be, since the venv includes system-site-packages.

Can I suggest that get demostrated before merging?

Previously only Ice needed to be pip installed for OMERO.server, everything else could be managed with distro packages. The problem is we've started suggesting people install OMERO plugins from pip, and our docs haven't been updated to take account of global pip installs potentially corrupting systems. As we decouple more plugins and advertise them more we'll increase the danger of people corrupting their systems.
I think changing our docs to use a virtualenv, or at the very least emphasizing whereever we suggest a server-side pip install that there's potential for system package conflicts, should be a priority. Obviously this is a general discussion not specific to this PR. Once we've had that discussion we can come back to deciding whether this PR should be the default or optional.

Thanks for the Aug. 26th update to the description. That looks to cover most of my concerns at least from July. The primary issue remaining is, I assume, the fact that omero_server_omero_command is only handled within the playbook. End users who do not know that that is necessary will see this as a breaking change. The options I see are:

treat the rollout of this version (2.1.0?) with omero_server_virtualenv: True as breaking and only roll it out when we're ready (thinking especially of our IDR pipelines)
or, update the bin/omero file in-place so that it picks up the virtualenv

(other ideas welcome).

Updated with a patch for bin/omero

As mentioned during the call, the updating of bin/omero as well as the added tests and additionally the defaulting to False for omero_server_virtualenv would seem to make it safe to release this as 2.1.0. What I've failed to do the couple of times I've looked at this is to convince myself that there aren't any edge cases for upgrades that could pose a risk if o_s_v is True. If we were to find any, we could either choose to disallow True on upgrades or just make it sufficiently clear in the documentation of the variable.


how can i load more messages when scrolled

Hello,
how can i check when messageList is scrolled to top for loading more messages? And i need to get last displayed elements.

Is there on the docs
@Override
public void onLoadMore(int page, int totalItemsCount) {
   if (totalItemsCount < this.total) {
       loadMessages(...);
   }
}

the adapter have a listener for the scroll to the top, when the User goes to load more messages the listener will be trigged


Add an "import wallet" option to the Connect Wallet screen

Overview
As a user coming to ShapeShift, I want to easily be able to see where to import my wallet from another provider
Right now, there is only a "Create one" link on the Connect Wallet screen. It is not clear to a user where to go to import a wallet. We'd like to add an "Import a Wallet" next to "Create one" link that will drop the user directly into the shapeshift import flow. There will be UI copy change to accomodate (see mock up)
Please discuss with @reallybeard regarding design. He tried to do this as Beard oil, but was unable to.
References and additional details
it should appear here on this modal

Acceptance Criteria
A user can import a wallet directly by clicking on the "import wallet" link from the "Connect Wallet" screen
We will need to add tracking to mixpanel
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Couple of issues here, details in Canny tickets. Will update later in q4

#3521 too, we should wrap this into a spec and merge things


Tracking Issue for --output-format flag for cargo rustdoc

Summary
Original issue: #12103
Implementation: #12252
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#my-feature
This flag determines the output format of cargo rustdoc, providing tools a way to lean on rustdoc's experimental JSON format.
Unresolved Issues

[ ] Make sure it doesn't cause errors with --open flag when opening JSON file.
[ ] Interaction with -Z rustdoc-scrape-examples. Does the JSON include the scraped data? Or should scraping be disabled when generating the JSON?
[ ] Add it to cargo doc as well? We might need to address the output JSON name conflict.

Future Extensions
No response
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Unresolved Issues
* [ ]  Make sure it doesn't cause errors with `--open` flag when opening JSON file.

* [ ]  Interaction with [`-Z rustdoc-scrape-examples`](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#scrape-examples). Does the JSON include the scraped data? Or should scraping be disabled when generating the JSON?

* [ ]  Add it to `cargo doc` as well? We might need to address the output JSON name conflict.

I'll try to have some answers for these three unresolved issues and reach back with my observations.

Make sure it doesn't cause errors with --open flag when opening JSON file.

This has been tested on macOS and works as intended. Unfortunately, I do not have access to a Windows machine to perform the same test there.

Interaction with -Z rustdoc-scrape-examples. Does the JSON include the scraped data? Or should scraping be disabled when generating the JSON?

I cannot see the scraped data in the JSON, but it is visible in the HTML documentation. @weihanglo, it would be advisable to ensure that if both -Z rustdoc-scrape-example and --output-format json flags are used together, an error message is generated for the user.

Add it to cargo doc as well? We might need to address the output JSON name conflict.

Yes, I believe we should also add it to cargo doc. Why conflict though? Does cargo doc generate a different HTML file compared to cargo rustdoc?


feat: Adding in Performance Tick Data that stores data for external consumption (RFC #7)

Implements RFC #7: Performance Data Propagation (tracked by #484)

Adds in Performance Tick Data that stores data for external consumption

Add an interface ITransportProfilerData for transports to relay transport specific information

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Matt Walsh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Snippet admin search ignores content type

Issue Summary
Searching for snippets of specific type in the Wagtail admin fetches all snippets that match, regardless of their type.
Steps to Reproduce

Create two simple searchable snippet types, for example Advert and Todo:

models.py
from django.db import models

from wagtail.admin.panels import FieldPanel
from wagtail.search.index import Indexed, SearchField
from wagtail.snippets.models import register_snippet

@register_snippet
class Advert(Indexed, models.Model):
    text = models.CharField(max_length=255)

    panels = [
        FieldPanel('text'),
    ]
    search_fields = [
        SearchField('text', partial_match=True),
    ]

    def __str__(self):
        return self.text

@register_snippet
class Todo(Indexed, models.Model):
    entry = models.CharField(max_length=255)

    panels = [
        FieldPanel('entry'),
    ]
    search_fields = [
        SearchField('entry', partial_match=True),
    ]

    def __str__(self):
        return self.entry

Create two instances for each type, e.g. ad1, ad2, todo1, todo2.

Search for ad1 in the Todo search box:

Likewise search for todo2 in the Adsearch box:

Technical details

Python version: 3.8.16
Django version: 4.1.7
Wagtail version: 4.2
Browser version: https://www.whatsmybrowser.org/b/GB7VV

I am new to this project and would like to understand this and take this issue

Yep, I'm getting this issue too. I think the search is matching index wise too. Plus partial_search is doing no effect on Snippet search.
Python 3.10.6
Wagtail 4.1

@gsakkis thank you for the excellent report!
@achiverram28 there’s a fair bit of research to do here – I’d suggest to start by reproducing the issue like @Hanoon02 has, then you can investigate the code.

@gsakkis trying to reproduce this, things seem to work as expected as far as I can tell. Are you sure the matches you’re seeing aren’t just because of the number (1, 2) in the CharField?

Thanks for the report!
To anyone interested in reproducing this issue, could you try doing this with longer strings? For example:

Create an Advert with the string "an advert with the word todo in it"
Create a Todo with the string "a todo with the word advert in it"
Search with the query "todo" and "advert" on both models, see if the issue persists?

Snippets are stored in separate tables, and in fact there's nothing that really distinguish them from regular Django models on the database level. We don't make use of the content type unless you've enabled some of the optional features (e.g. RevisionMixin), which you have not. Thus, I don't see a way for this to happen.

@laymonage , so i tried the way you said, and for queries "todo" and "advert", there seems to be no result. But when i searched the whole phrase "a todo with the word advert in it", i'm getting the search result showing the Advert "an advert with the word todo in it". I have attached the image below. It happens vice versa too
Someone else can verify it too
Python 3.10.6
Wagtail 4.1

@thibaudcolas , I'm getting this error without the nums too

I think this might be a bug in the SQLite FTS search backend - have independently stumbled upon what might be the root cause of this while working on #9901.
The search method works by running the search query over the IndexEntry model - which contains the searchable content of all models - and then filtering the initial queryset to just the object IDs returned in that search. However, neither of those steps ever checks that the content type matches the model we're searching on. As a result, searches will return items that don't contain the search term, but have an ID that matches some other model that does.
One for the "how did this go unnoticed for so long" list 🤦


Compression

When we use compression before adding a file, it prevent deduplication. (the same for encryption).
It could be fine to compress data at storage level.
Is it planned ?

That is a good point, there are no plans at the moment to add compression after deduping the data into chunks.
I guess that for some content such as text of ASCII data it can be quite useful, however for e.g. video it would not give any (meaningful) reduction in size but just add processing overhead.
Unfortunately at the chunk level there is no easy way to tell whether a chunk (primarily) contains text or binary data so you can't have the best of both worlds...

Maybe the work of @klauspost can help ?
https://github.com/klauspost/compress

@flibustenet - by request of the Docker devs, I have made sure that gzip is deterministic on similar input with similar code version and compression level.
@fwessels - I have added functionality to my package, that will make it skip uncompressible content at ~200MB/s. deflate/gzip adds ~0.01% size to uncompressible content, so there isn't a huge risk by enabling it.

@klauspost tak!
Do you mean you store the content as 'stored', as in (I believe) the mode '0' of the zip format?
And you detect whether or not to compress based on compressing the first part of the chunk/stream?

Do you mean you store the content as 'stored', as in (I believe) the mode '0' of the zip format?

No, it will still be stored as "deflated", but deflate splits input into blocks typically up to 64k. Each has 3 modes, uncompressed, static Huffman (mostly useless) or dynamic Huffman compressed. If a block is deemed uncompressable it will just store the block as literal bytes. The overhead is the block header + block size.
Usually it is pretty slow to detect if content is compressible or not, but with an algorithm from LZ4 it will skip uncompressible data quite fast. Therefore you do not pay the compression cost on uncompressible data. The "uncompresible" detection resets at regular intervals - it varies on compression level, but typically every 64KB.

@klauspost Thanks for the clear explanation, I will give it a try.
One thing though is that essentially two mode are supported when pushing into the cloud, namely deduped and hydrated (see https://github.com/s3git/s3git/blob/master/BLAKE2.md#cloud-storage). For the hydrated mode you'd have to decompress the chunks again which is of course not an issue...
Currently the chunks are of fixed (configurable) length, one thing that I want to add is a rolling hash mechanism like used in https://github.com/restic/chunker which will result in variable length chunks -- any thoughts on how to best integrate this as well?


[glog] update to 0.5.0

Fix #17731
Update glog to the latest version 0.5.0
Note: no feature need to test

do we have any updates?

Duplicate of pr #20351


User is signed out of a selected account rather than all accounts

Added the relevant account ID when dispatching the logout event (session/index.tsx)

Consumed the account ID in the reducer and cleared the tokens for the specific account.

Feature Request: https://github.com/bluesky-social/social-app/issues/4775

Bug: https://github.com/bluesky-social/social-app/issues/4683

Made necessary changes. The app should build now. I was able to build it locally and run it but the sign out functionality still seems to behave in the old way. I'm not sure if I'm missing some piece of the logic in some other part of the code base.

@swar00p I'm not familiar with this codebase either, but as far as i can see that you are only accepting account into the useCallback function, but i can't see any changes where do you actually invoke logout function (it still invokes with the context string only)

Was your loggedOutAccount ever not undefined?

thanks, we did a more extensive fix here https://github.com/bluesky-social/social-app/pull/4941


IPROTO-361 fix default value of Long

This fixes it for me when I build this locally.
I could use a little help with in writing a test.

Thanks @ahus1


How to define multiple keycodes in a keymap array

I tried out the advanced example but instead of single keys, I want to define multiple keycodes per key  i.e Shift+Tab. Is there an example for that?

Hi has anyone had an answer for  this one:-
'I tried out the advanced example but instead of single keys, I want to define multiple keycodes per key i.e Shift+Tab. Is there an example for that?'
Thanks in advance


Zoom in/out feature only apply to the first server in the list

My Setup

Operating System: Fedora 29 (5.0.4-200.fc29.x86_64)

App Version: 2.15.1

Installation type: RPM file

[x] I have tested with the latest version

[x] I can simulate the issue easily

Description
With several servers connected, while using the zoom in/out feature (View > Zoom in/out), the zoom setting is only applied to the first server in the list.
Current Behavior

Using the zoom feature works normally on the first server's tab but is not applied on the others
Using the zoom feature while displaying another server tab than the first does nothing for it, but still correctly apply it on the first server

Expected Behavior
The zoom is applied all the same for all server tabs.

I also use Fedora 29.  I tried version 2.15.3  and zooming works for me only on the 3rd server in my list of 4 servers.  is there a way to hand-edit the Preferences file to get a larger font?

This also an issue on Win10 , App version 2.15.3 with just 2 servers.
Only the top server zooms when zoom keys used in second server....

duplicate of #1246?

Reproduces in 2.17.11  on Linux Mint 19.3

Reproduces on app store installed version 2.17.9 on Mac Catalina 10.15.6

It's working right at 3.0.4.


mid V1.3

Pull Request Test Coverage Report for Build 334

206 of 321 (64.17%)  changed or added relevant lines in 34 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-3.2%) to 86.85%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/parser/FindCommandParser.java
0
1
0.0%

src/main/java/seedu/address/storage/XmlAdaptedPerson.java
8
10
80.0%

src/main/java/seedu/address/model/util/DateTimeUtil.java
8
11
72.73%

src/main/java/seedu/address/logic/parser/AddHistCommandParser.java
12
16
75.0%

src/main/java/seedu/address/logic/parser/AddInfoCommandParser.java
3
7
42.86%

src/main/java/seedu/address/model/person/addinfo/Height.java
4
9
44.44%

src/main/java/seedu/address/model/person/addinfo/Weight.java
4
9
44.44%

src/main/java/seedu/address/model/person/InfoContainsKeywordsPredicate.java
0
7
0.0%

src/main/java/seedu/address/model/person/NricContainsKeywordsPredicate.java
0
7
0.0%

src/main/java/seedu/address/model/person/AllergyContainsKeywordsPredicate.java
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/logic/parser/ParserUtil.java
1
76.04%

Totals

Change from base Build 332:
-3.2%

Covered Lines:
2153

Relevant Lines:
2479

💛  - Coveralls


Dependency injection

Can I just check? After many hours bug hunting...
The only way I can get a production (ie. minified version) following the tutorial advice (but in my own app) and trying to use best practice with controllerAs and Components is to inject into the directives....
selectSurveyController.$inject = ['$scope', '$reactive'];

...is this correct?

I'm not sure what is your question..

@Urigo Hi, sorry for not explaining. I've been writing the app previously with out DI manual declaration (as per step 2.3 in the tutorial) and not had any issues. Recently, I've been trying to change to controllerAs and Components and noticed it wouldn't work in production mode without DI although step 3.8 in tutorial doesn't declare them either so I'm a bit confused if I've missed something somewhere.

Ok, I think it's related to ng-annotate
Seems similar to this https://github.com/olov/ng-annotate/issues/54
I am separating my directive into a function so that might be interfering with the automatic DI.
ie.
.directive('selectSurvey', selectSurvey);

function selectSurvey ... etc

so I need to write in the DI.

thanks for updating


Travel-Itineraries Page added Successfully

add
Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #1323
Description
The "Family-Friendly Destination Explorer" is a web-based application designed to help families discover and plan their ideal vacations. The application provides an interactive and user-friendly interface that allows users to explore a curated list of popular vacation destinations across the world. Families can easily browse these destinations, view key attractions, and plan their itinerary, all through a visually rich interface. The system is backed by a Node.js server which serves dynamic data, making the experience seamless and engaging.

Type of PR

[x] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Before
https://github.com/user-attachments/assets/c36d5030-e807-415d-b9d1-372c220d08cb
After
https://github.com/user-attachments/assets/a24acaba-781a-45c4-9523-f35b6244b277
Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@pc-daukiya No itineraries showing for these two

Please add for these two also

Yes i add this also separately

@pc-daukiya Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution ! 🎉


JDO 808: Java 18 compatibility

Investigate Java 18 compatibility. See issue JDO-808.

Security problem should be fixed now. Ready for review.


Update PEImage to use Span

Added Buffers, Memory, and Unsafe nuget packages.
Rewrote PEImage to use Span

@stephentoub Would you mind giving me a review of this change around how I use Span?  This is my first time using it and I wanted a mini-review of one part of ClrMD before I changed the entire library to use it.
Please note that ClrMD needs to run on both Desktop CLR and .Net Core.
Specifically there are three major functions I'd like direct feedback on (almost everything else is just updates to use these functions):

private bool TryRead<T>(int offset, out T t) where T : unmanaged
internal T Read<T>(ref int offset) where T : unmanaged
public unsafe T GetData<T>(int offset = 0) where T : unmanaged

Essentially I'm trying to make these functions as efficient as possible on .Net Core while making them work on Desktop CLR, hence the #if CORE_ONLY block, in TryRead, which is attempting to only do stack allocation if we are on .Net Core (because the desktop implementation of FileStream.Read(Span) doesn't exist...we would hit my Stream.Read(Span) extension method added in this pull request).

Was about to review this... no longer necessary?

I'm still looking for general feedback.  The change was merged, but I'm still actively working on Span support in clrmd.  So yes, please give feedback on this PR if you don't mind, it informs the bigger work going on without having you have to review the entire change.  =)


Add default model_kwargs to Generation Tester

These are fixes for issues caught while executing the transformers tests. The issues are captured in https://github.com/huggingface/optimum-habana/issues/445 and
https://github.com/huggingface/optimum-habana/issues/446
Addressed based on suggestion give here : https://github.com/huggingface/optimum-habana/pull/470#issuecomment-1773121023
@regisss  : please help with the review
TCs impacted ( listed for t5 but these are common TCs impacting all language models)
==============================================================
FAILED test_modeling_t5.py::T5ModelTest::test_beam_search_generate - KeyError: 'limit_hpu_graphs'
FAILED test_modeling_t5.py::T5ModelTest::test_beam_search_generate_dict_output - KeyError: 'limit_hpu_graphs'
FAILED test_modeling_t5.py::T5ModelTest::test_beam_search_generate_dict_outputs_use_cache - KeyError: 'limit_hpu_graphs'
FAILED test_modeling_t5.py::T5ModelTest::test_constrained_beam_search_generate - KeyError: 'limit_hpu_graphs'
FAILED test_modeling_t5.py::T5ModelTest::test_constrained_beam_search_generate_dict_output - KeyError: 'limit_hpu_graphs'
FAILED test_modeling_t5.py::T5ModelTest::test_greedy_generate - KeyError: 'bucket_size'
FAILED test_modeling_t5.py::T5ModelTest::test_greedy_generate_dict_outputs - KeyError: 'bucket_size'
FAILED test_modeling_t5.py::T5ModelTest::test_greedy_generate_dict_outputs_use_cache - KeyError: 'bucket_size'
FAILED test_modeling_t5.py::T5ModelTest::test_sample_generate - KeyError: 'limit_hpu_graphs'
FAILED test_modeling_t5.py::T5ModelTest::test_sample_generate_dict_output - KeyError: 'limit_hpu_graphs'

@ankurneog LGTM but you need to apply the code formater too:
pip install --upgrade black ruff
make style

@regisss  : Thanks,
I had already run the formatter before upload.
(conda_qnpu1)  (conda_qnpu1) (anneog_fix_beamsearch_tests) anneog@anneog-vm-u20:optimum-habana $ make style
find . -name "habana_log.livealloc.log_*" -type f -delete
find . -name .lock -type f -delete
find . -name .graph_dumps -type d -delete
find . -name save-hpu.pdb -type f -delete
find . -name checkpoints.json -type f -delete
rm -rf regression/
rm -rf tmp_trainer/
rm -rf test/
rm -rf build/
rm -rf dist/
rm -rf optimum_habana.egg-info/
rm -rf hpu_profile/
black . setup.py
Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running pip install "black[jupyter]"
All done! ✨ 🍰 ✨
181 files left unchanged.
ruff . setup.py --fix

@regisss
(conda_qnpu1)  (conda_qnpu1) (anneog_fix_beamsearch_tests) anneog@anneog-vm-u20:optimum-habana $ pip list |grep black
black                   23.10.0
(conda_qnpu1)  (conda_qnpu1) (anneog_fix_beamsearch_tests) anneog@anneog-vm-u20:optimum-habana $ pip list |grep ruff
ruff                    0.1.1

@ankurneog Can we close #470, #448 and #446?


Fixed README

totp-cli does not work on python 2.x
pip package name is not totp-cli but totp

Great, thanks!


Inheriting from an inner style in a defaultStyle doesn't work

Example:
var X = proto(Block, function() {
   this.name = 'X'
   this.defaultStyle = Style({
     $a: {
       color: 'red';
     }
   })
})

var x = X()
x.style = Style({
  $a: {
     inherit: true
   }
})

x.attach()

The color style isn't red

I added a test case called "Inheriting from an inner style in a defaultStyle wasnt working" to work from

Welll nevermind. That's supposed to be $inherit - it does actually work.


External auth lookup_by_identity should handle missing request parameter

https://bugzilla.redhat.com/show_bug.cgi?id=1505922
Method Httpd#lookup_by_identity has been updated to take an optional parameter but
was not properly handling if the parameter was not provided.
This PR ensures Httpd#lookup_by_identity does the correct thing when the optional request parameter is and is not provided.

http://documentation.for/library/that/I/am/adding
PR relevant issue or pull_request

Steps for Testing/QA [Optional]
Setup MiQ for External Auth
Log into classic UI, with valid user.
Ensure the error pop-up: "400 /auth/api error message" (see screenshot in BZ) does not appear
and there are not tracebacks in the api.log

@miq-bot add_label authentication, bug

@abellotti and or @gtanzillo Please review

Looks good @jvlcek,  I'll do a quick test in a Pod with ext-auth.

just tested fine with an AD enabled Pod. 👍

Gaprindashvili backport details:
$ git log -1
commit 3529133f5d33b0fe0927168a57728bc33646d066
Author: Alberto Bellotti<EMAIL_ADDRESS>Date:   Thu Nov 2 18:51:21 2017 -0400

    Merge pull request #16386 from jvlcek/BZ_1505922_api_pop_up

    External auth lookup_by_identity should handle missing request parameter
    (cherry picked from commit a03cda10907ac627fd0865fc34c9b6136197b8a1)

    https://bugzilla.redhat.com/show_bug.cgi?id=1509416


SUSE custom cluster not provisioned with private IP provided

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Create a custom cluster, with one node all roles, with the following AMI:
Suse Enterprise Linux 12 SP5
suse-sles-12-sp5-v20191209-hvm-ssd-x86_64 - ami-0d808701ac55e8ef7
Install docker on instances:
sudo zypper in -f docker-19.03.5_ce-98.51.1
Start docker on instances:
sudo service docker start
Provide the public IP and private IP in Rancher:

Run install command
Result:

When trying to connect to the docker port from the instance:
ip-172-31-23-226:/home/ec2-user # telnet <IP_ADDRESS> 2379
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection timed out

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
rancher\rancher:master-head version 47bf996c2
Installation option (single install/HA): Single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom
Kubernetes version (use kubectl version):

v1.17.2-rancher1-1

Docker version (use docker version):

docker-19.03.5_ce-98.51.1

Notes:
This bug is also seen in a 3 node setup, one role per node. As long as the private IP is passed in, the node will fail to come up.
Providing the private IP in an ubuntu1804docker1809 custom cluster does not result in this error.

The steps to open the SUSE ports have been documented here: https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/node-requirements/#opening-suse-linux-ports


Testing with EmbeddedConnectCluster?

I recently stumbled upon the EmbeddedConnectCluster.
It looks like a sensible compromise when developing Kafka Connect connectors. Unlike a custom/fake runner, it gives me a solid degree of confidence that my connector will work with the actual Connect framework. At the same time, it starts quite a bit faster than Apache Kafka and Kafka Connect containers. I can get a simple test pass <5s. This is not great, but still much better than anything I managed with TestContainers. (this could be because I'm on ARM M1 and the debezium/connect-base container image is Intel only, so it was running in sloooooow emulation)
I think it could be helpful for others too, there aren't many resources showing how to develop & test connectors. Would you accept a PR showing how to use EmbeddedConnectCluster for testing?

Hey @jerrinot, wow, first time I hear about EmbeddedConnectCluster! Why haven't I known about that before?!
In general, I think there'd still be a place for a custom runner, ideally it'd be based on KC's own framework implementation, though (sans the part of sending messages to Kafka, so the asserted contract would be KC source/sink Record). That said, I'd love to have a test based on EmbeddedConnectCluster; as you say it's an interesting middle ground and surely a good tool to have in the box.
Re ARM images, totally hear you, it's a pain point for me too. Good news is that it's currently WIP to create those images (https://github.com/debezium/container-images/pull/302), hopefully not much longer until they are there.


Why subtract 'frames_per_segment' to calculate 'segment_duration' ?

Hi. Why do you subtract 'frames_per_segment' from 'num_frames' and then divide by 'num_segments' to calculate 'segment_duration' ? Can we not directly divide 'num_frames' by 'num_segments' to get the 'segment_duration' ? Thanks!
https://github.com/RaivoKoot/Video-Dataset-Loading-Pytorch/blob/97b54d804adfbf0baf8537bfe525f5d36469abd9/video_dataset.py#L155

Yes, you are right that this is how it works, even though it is not the best behavior. Because most people only use a single frame per segment, I did not pay much attention to improving this behavior, when I adapted this repostiroy from the original code repository, which implemented this sub-optimal behavior. In my own experiments, I also only ever use a single frame per segment.
However, you are very welcome to create a pull request and suggest an improvement for this. If it is suitable, I am happy to merge it!!

Hi. Thanks for the confirmation! Oh I see, I was not aware that the norm was to use only a single frame per segment. Sure, although it is difficult for me right now, if I come up with a way to improve the current strategy, I'll definitely raise a PR. Thanks again.


Create Error Page

I want to work on this issue under JWOC

Assigned you

I want to work on this issue under JWOC


Cannot change fillShadow on ProgressChart

I've been experimenting with this all morning. None of the fillShadow... props have any effect on ProgressChart. I'm trying to get my actual data to be brighter than the underlying line, because right now there is an issue with contrast where it's difficult for a user to see how much is filled at a quick glance.
I want the opacity of the data-filled portion of the ring to be around 0.2, while I want the opacity of the fill shadow to be about 0.9. The default is more like 0.4 vs 0.6
I'm not sure if there's something I'm not understanding about the API, but I would have expected the fillShadow... props to fix this, but they have no effect at all. If I am misunderstanding this then I will update the documentation with this info when someone corrects me.
	const chartData: ProgressChartData = {
		colors: [theme.colors.error],
		data: [percentOfMonthly]
	}
	const chartConfig: ChartConfig = {
		color: (opacity = 1) => hexToRgb(theme.colors.primary, opacity), // changing the opacity default arg also has no effect
		backgroundGradientFrom: theme.colors.background,
		backgroundGradientTo: theme.colors.background,
		// None of these properties have any effect at all
		fillShadowGradientFrom: 'rgb(255, 255, 255)',
		fillShadowGradientTo: 'rgb(255, 255, 255)',
		fillShadowGradient: 'rgb(255, 255, 255)',
		fillShadowGradientOpacity: 0.5,
		fillShadowGradientFromOpacity: 0.5,
		fillShadowGradientFromOffset: 0.5,
		fillShadowGradientToOpacity: 0.5,
		fillShadowGradientToOffset: 0.5,
	}
        ...
        ...
        ...
        <ProgressChart
	        chartConfig={chartConfig}
	        data={chartData}
	        width={50}
	        height={50}
	        radius={18}
	        strokeWidth={6}
	        hideLegend
        />

I will note that I get the same behavior with values in different color formats. There is no effect with using 'rgb(255, 255, 255)', '#FFF' or '#FFFFFF'`


[BUG] [DOCS] example of using env vars in docker is broken

Gitea version (or commit ref): master

Log gist:
" ORM engine initialization attempt #3/10 failed. Error: Failed to connect to database: Unknown database type:"

Description
in [1] it says """
Environment variables
You can configure some of Gitea’s settings via environment variables:
"""
this is misleading. gitea never consumes any environment variables.
environment variables are consumed by helpers like envsubst or environment-to-ini
PR#14762 added its specific syntax to the documentation in a later paragraph, which is good.
[1] https://docs.gitea.io/en-us/install-with-docker/#managing-deployments-with-environment-variables
Please make clear that gitea does not consume env variables and that the provided docker image contains extra logic, e.g.:
"""
Environment variables
Gitea cannot be configured using environment variables! To work around that the provided docker image contains helpers envsubst and environment-to-ini which consume a template app.ini file to create a app.ini which contains certain envrionment variables. this requires write access to the storage location of app.ini
"""

Here is the list of environment variables that Gitea accepts directly: https://docs.gitea.io/en-us/environment-variables/
The documentation you are looking at is specifically for the docker container as mentioned on that page.


KAFKA-16197: Print Connect worker specific logs on poll timeout expiry

Please refer to the description in KAFKA-16197.
Note that there are 2 more instances here and here which print consumer specific changes but that had changes leaking into ConsumerCoordinator and other tests for it because of which I didn't include it as part of this PR.

@showuon would you have time to review this? It's a smallish change. Thanks!

Will check it this week.

@showuon , just checking did you get a chance to look at the updated test?

@showuon , I made some changes to the test so that we just heartbeat and not have to rely upon FindCoordinator requests. Let me know what yo think. Thanks!

Thanks @gharris1727 , I have made the changes as you suggested. I also modified the warning line that is printed based on the tick thread stage that is presented to the coordinator and also added a test to verify the same. LMKWYT.

Thanks @gharris1727 for another round of review. I have made the changes. Please review when you have some time.

Test failures appear unrelated, and the tests pass for me locally. LGTM, and thanks @vamossagar12 for the fix!


Store vertex winding order in Mesh

Summary:
Currently, if you want to change the vertex winding order, you have to do it globally, and remember to switch it back when you're done. This is silly, because everything except custom meshes will always be counter-clockwise vertices, so 99% of the time, that's what you want.
It would make more sense to define the winding order as part of an individual Mesh, and automatically switch as appropriate. This would also be more compatible with the idea of 'render passes' that's used in WGPU/Vulkan/etc, if we ever get around to using those in Tetra.
Why is this needed?

To reduce the amount of global state bookkeeping that users have to do.

Done on the 0.6 branch.

Done on the 0.6 branch.


Fix minisbett's givedonator

In the current state, the command won't run as there is no donor_end in the Player object.

Code was also optimised a bit if you can even call it that

@cmyui all good now 👍


Improve README packages/gems documentation

As many helpers and languages scripts have been moved during the repo reorganization, I would like to suggest a README edition (bellow).
This change also follow the want to make things generic.
Before opening a PR I need your review on this change first and also your answer regarding helpers:

What about promoting [manager]/helper/build?

This would make things more generic and simplify overall installation.
This would allow managing environment more precisely, and for example avoid dev dependencies inclusion in "production" docker image.

What about moving helper documentations (basically the cd helper && install && cd -) into their respective manager package?

This would help documenting their usage, like in dependabot/dependabot-script (now outdated).

What's in this repo?
Dependabot Core is a collection of helper classes for automating dependency
updating. Highlights include:

Logic to check for the latest version of a dependency that's resolvable given
a project's other dependencies
Logic to generate updated manifest and lockfiles for a new dependency version
Logic to find changelogs, release notes, and commits for a dependency update
Support for multiple languages and dependency managers

Language
Manager
Package
Custom Environment1
Native Helpers2
Docker Image

None
None

All
All

✅
✅

Ruby
bundler

Python
pip

✅
✅

JavaScript
npm/yarn

✅
✅

Java
maven

Java
gradle

Rust
cargo

✅

Elixir
hex

✅
✅

PHP
composer

✅
✅

.NET
nuget

Go
go_modules

✅
✅

Elm
elm

✅

Git Submodules
git_submodules

Docker
docker

Terraform
terraform

✅

Notes

To run all of Dependabot Core, you'll need these languages installed. However, if you just wish to run it for a single language you can get away with just having that language and Ruby.
Before running these Dependabot modules, you'll need to install their respective helpers.

Following #982, what is the status for this?

@LeoColomb definitely 👍 on improving the readme. Sorry for the slow response times, we're stretched pretty thin so taking a while to get back to issues.

No problem, let me know when you're ready.

Still relevant 🙂

Still still relevant 🙂

Hey @LeoColomb 👋 Sorry for the glacially slow response. We are just starting to dig through some of the backlog.
Is this still relevant? I wasn't around for the repo re-org, so don't have full context here... I see a lot of Readme's so not sure if that covers what you planned or if there are other thigns you're thinking of? Regardless, we def welcome PR help with docs/code improvements.

Well @jeffwidman, with all due respect, do you really expect me to have stayed on top of things for 3 long years?
No, my motivation to contribute to this project has gone, I'm afraid.
Is it still relevant? Probably, as the README looks quite complexe right now, and does not highlight current versions of packages, as oss community usually do.

I'm going to be revamping a bunch of our open source docs / readme later this quarter, so will take a deeper look at this then.
For now I'm going to close this though, because I'm pretty sure I'll forget to circle back to close this otherwise and there's already an internal ticket tracking cleaning up this stuff.


Fix duplicate buffer in I2C code

send_data() should be using less memory. @scowcron's implementation uses buffered chunks which might be a good way to go. Adding the initial 0x40 to the beginning of the buffer makes using another buffer a necessity at the moment.

relevant, I think: https://github.com/japaric/embedded-hal/pull/47

That looks good. Until that gets merged/implemented though, I think the best way to go is to port over your chunked tx buffer idea. 17 bytes isn't much, even for a uC.


Print without using a commandline task

Original issue here: https://github.com/KeepSafe/dexcount-gradle-plugin/issues/27
It would be best if your plugin printed out the size of the apk without any configuration or specifying tasks.

Will do that later this day.


Added a check to ensure checking for the latest version was successful

Changelog / Overview

Motivation

#1365
Explanation for Changes

Testing Status

Further Comments

Closes #1365
Checklist

[x] I have read the Contributing Guidelines
[x] I have written a descriptive PR title (see top of PR template for examples)
[x] I have written a changelog entry for the PR or deem it unnecessary
[ ] My new functions/classes either have a docstring or are private
[ ] My new functions/classes have tests added and (optional) examples in the docs
[x] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[x] The PR title is descriptive enough
[x] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

I still get a traceback:
C:\Users\Daryl\manim-dev\manim>manim -pql test.py
Manim Community v0.4.0

[04/28/21 10:56:52] INFO     Animation 0 : Using cached data (hash :                               cairo_renderer.py:100
<PHONE_NUMBER>_3248733606_3881855864)
                    INFO     Animation 1 : Using cached data (hash :                               cairo_renderer.py:100
<PHONE_NUMBER>_1665562327_3881855864)
                    INFO     Animation 2 : Using cached data (hash :                               cairo_renderer.py:100
<PHONE_NUMBER>_2326791498_3881855864)
                    INFO                                                                        scene_file_writer.py:585
                             File ready at C:\Users\Daryl\manim-dev\manim\media\videos\test\480
                             p15\SquareToCircle.mp4

                    INFO     Rendered SquareToCircle                                                        scene.py:199
                             Played 3 animations
                    INFO     Previewed File at:                                                           file_ops.py:98
                             C:\Users\Daryl\manim-dev\manim\media\videos\test\480p15\SquareToCircle.mp4
Traceback (most recent call last):
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\Scripts\manim", line 5, in <module>
    main()
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\lib\site-packages\click\core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Daryl\AppData\Local\pypoetry\Cache\virtualenvs\manim-WZ_QM4hs-py3.9\lib\site-packages\click\decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "C:\Users\Daryl\manim-dev\manim\manim\cli\render\commands.py", line 165, in render
    if req_info.status_code == requests.codes.ok:
AttributeError: 'dict' object has no attribute 'status_code'```
(I know it says manim 0.4.0, but I am running your branch, the wrong version number is due to some caching problems)

I think simple moving things to the previous catch block is the simple workaround I think.

@Darylgolden does https://github.com/ManimCommunity/manim/pull/1368/commits/d787b44826e9b9bc316ee808b1ff5fa0852fe4cb work for you?


Copy Acl-admin file totapp folder ?

After installation All admin section files in the vendor section. How to copy to main app section ?

php artisan vendor:publish --force

Hello Jacopo!,
Thanks a lot for  such a  great  package!, it helps a lot to  save  time on projects.
I tried php artisan vendor:publish --force
Although the route.php  file in app/http is not showing the routes for the authentication system, if  we need to add some new permission or change something we  still need to update it  in vendor/jacopo/laravel-authentication-acl/http/routes.php
how  can migrate this  to the  main  route in the sytem app/http/route.php
Same  thing  for the  controllers and models
Thanks

You can override the routes and models in your app/models folder, you don't need to publish them in this case.

Excellent!, thansks a lot.

Ah alright!, excellent!,  thanks a lot !.
2015-06-15 15:09 GMT-04:30 jacopo<EMAIL_ADDRESS>
You can override the routes and models in your app/models folder, you
don't need to publish them in this case.
—
Reply to this email directly or view it on GitHub
https://github.com/intrip/laravel-authentication-acl/issues/93#issuecomment-112183286
.

--
Cordialmente ,
Ing. Luis Antonio Mata B.
Skype:luisantoniomata
Phone:<PHONE_NUMBER>47643
Necesita una pagina web?
*visitenos: *http://www.sistechma.com/
http://ve.linkedin.com/in/luisantoniomata


Display wrong tokens on Interlay and Kintsuigi

Describe the bug
I think there are some bugs with the tokens displayed in Interlay and Kintsugi.

DOT and INTR should not be in Kintsugi; and KSM, KINT, kBTC should not be in Interlay.
There should be iBTC on Interlay; and kBTC on Kintsugi

Please see the picture below:

Desktop (please complete the following information):

OS: Macbook pro 2016
Browser: Chrome, Version 101.0.4951.64 (Official Build) (x86_64)
Version 0.4.1

The list of tokens is taken down from the chain, this is correct list.


Docs don't work for Case Insensitive File Systems (OS X, Windows)

My colleague generated docs using this project and checked it into git repo. The generated files contained many files with the same name but with different cases. For example the generator created the files:
docs/imp/github.com/golang/protobuf/jsonpb.AnyResolver.html
docs/imp/github.com/golang/protobuf/jsonpb.anyResolver.html

When I attempted to clone this repo on an OS X laptop I got the following errors:
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

Even setting git config core.ignorecase did not fix the issue. Understandably it would be better if these file systems respected case, but that's unlikely to change anytime in the future.
Is it possible to change the naming of files to account for case insensitive file systems?

@delwaterman
Thanks for this finding.
I will find a way to resolve this problem.

@delwaterman
This problem should be fixed on tip. If you find it still exists, fell free to reopen this issue.

Thanks we'll give it a shot

BTW, if you use the -only-list-exporteds flag, the file jsonpb.anyResolver.html will not produced at all now.

Hi there. Thanks for adding this!
I just tried running
golds -dir=docs -only-list-exporteds -gen ./...

and it fails with
tool_gen-docs.go:609: Generated imp/vendor/golang.org/x/text/transform.Reader.html (size: 1954).
tool_gen-docs.go:609: Generated imp/vendor/golang.org/x/text/transform.Writer.html (size: 2825).
tool_gen-docs.go:609: Generated imp/vendor/golang.org/x/text/unicode/bidi.Run.html (size: 2421).
panic: should not go here (use): net.family

goroutine 7078 [running]:
go101.org/golds/internal/server.(*docServer).buildReferencesData(0xc000160000, 0xc0333f3fa5, 0x3, 0xc035acd780, 0x2, 0x2, 0xc035acd780, 0x2, 0x2)
        /usr/local/sources/golang/1.16.4/packages/pkg/mod/go101.org/golds@v0.2.9/internal/server/page_identifier-references.go:377 +0x14f7
go101.org/golds/internal/server.(*docServer).identifierReferencePage(0xc000160000, 0xabd7d0, 0xc01bd70030, 0xc025a1a400, 0xc0333f3fa5, 0x3, 0xc0333f3faa, 0x13)
        /usr/local/sources/golang/1.16.4/packages/pkg/mod/go101.org/golds@v0.2.9/internal/server/page_identifier-references.go:86 +0x411
go101.org/golds/internal/server.(*docServer).ServeHTTP(0xc000160000, 0xabd7d0, 0xc01bd70030, 0xc025a1a400)
        /usr/local/sources/golang/1.16.4/packages/pkg/mod/go101.org/golds@v0.2.9/internal/server/server.go:239 +0xcd9
go101.org/golds/internal/server.GenDocs.func1(0xc0333f3fa0, 0x1d, 0xc035ae2000, 0x1, 0x3, 0x0, 0x0)
        /usr/local/sources/golang/1.16.4/packages/pkg/mod/go101.org/golds@v0.2.9/internal/server/tool_gen-docs.go:516 +0x9c
go101.org/golds/internal/server.GenDocs.func3(0xc026946240, 0xc0038ea000)
        /usr/local/sources/golang/1.16.4/packages/pkg/mod/go101.org/golds@v0.2.9/internal/server/tool_gen-docs.go:565 +0xdd
created by go101.org/golds/internal/server.GenDocs
        /usr/local/sources/golang/1.16.4/packages/pkg/mod/go101.org/golds@v0.2.9/internal/server/tool_gen-docs.go:558 +0x43d
'golds -dir=docs -only-list-exporteds -gen ./...' time: 7.481s, cpu: 244%, mem: 1040

@jcmuller
Thanks for finding this silly bug.
It should be fixed in v0.3.0

BTW, if you use the -only-list-exporteds flag, the file jsonpb.anyResolver.html will not produced at all now.

I suddenly realized that this is a mistake. So this file will be produced again in v0.3.1.

This is working for us now. Thank you!


Send MIME type in header

Helps prevent errors like 'was blocked because of a disallowed MIME type ("")'. (I received that error in Firefox about ui.js from noVNC)

Thanks ! 👍


when delete release failed, should update release status and return error message

When i delete release with command helm -n test delete test-release, the output only show this:
Error: failed to delete release: test-release

I can only see the error message with --debug args, like this
uninstall.go:124: [debug] uninstall: Failed to delete release: [unable to build kubernetes objects for delete: resource mapping not found for name: "webhook-xxx" namespace: "" from "": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
ensure CRDs are installed first]
Error: failed to delete release: test-release
helm.go:84: [debug] failed to delete release: test-release

The code is https://github.com/helm/helm/blob/c5698e5e51949c4ab86a22c5566fac20e13d6f73/pkg/action/uninstall.go#L122-L126
I think we should update release status and return error message when delete release failed. like this:
deletedResources, kept, errs := u.deleteRelease(rel)
if errs != nil {
	rel.Info.Status = release.StatusFailed
	if err := u.cfg.Releases.Update(rel); err != nil {
		u.cfg.Log("uninstall: Failed to store updated release: %s", err)
		return nil, errors.Errorf("uninstallation failed and failed to store updated release: %s", joinErrors(errs))
	}
	u.cfg.Log("uninstall: Failed to delete release: %s", errs)
	return nil, errors.Errorf("failed to delete release %s, %s", name, joinErrors(errs))
}

Agree it is awkward that Helm does include the error. A PR to make this change would be good I think. If you're able to submit one please.

Agree it is awkward that Helm does include the error. A PR to make this change would be good I think. If you're able to submit one please.

Yes, i will do it.


Vendorizer plugin with better vendorizing

Reworked vendorizing loading

Coverage decreased (-1.7%) to 79.547% when pulling ddad9c90407e5e761f910355bb0d1fe84cd40429 on arcivanov:vendorize_plugin into d0914fa51b240893437e5b18da101bd1000cd6b4 on pybuilder:master.


was 2.1 retagged?

We're seeing a checksum mismatch on the 2.1 release for Homebrew. Was the tag deleted and re-created?

RE:
https://github.com/Homebrew/homebrew-core/pull/1359
https://github.com/Homebrew/brew/issues/397

If it were, it wasn't recently.

Thanks for clarifying! In the future, if you re-tag, making it like "2.1.1" helps to soothe our paranoia :)
Also, you may want to start gpg signing your tags, for which GitHub recently added some pretty nice support: https://github.com/blog/2144-gpg-signature-verification


Use keyring for apt repository

Pull Request (PR) description
The usage of apt-key is deprecated. Switching to apt-keyring

the minimal puppetlabs/apt version probably needs to be updated as well? https://github.com/voxpupuli/puppet-mongodb/blob/master/metadata.json#L55

the minimal puppetlabs/apt version probably needs to be updated as well? https://github.com/voxpupuli/puppet-mongodb/blob/master/metadata.json#L55

Thanks
This actually triggered an update of all dependencies because of stdlib9 requirement.


change mapping of python-imaging since the package was removed from bionic

To address the failing CI from ros/ros_comm#1350 as well as the now failing binary job (http://build.ros.org/view/Msrc_uB/job/Mbin_uB64__rosbag__ubuntu_bionic_amd64__binary/3/).

As python-pil is available on all Melodic targeted platforms, should we update the other ones ? maybe just artful as if doesn;'t share any platform with the other ROS distros ?

Please feel free to propose related changes. I just want this specific change to get merged since it blocks building melodic packages.

Please feel free to propose related changes. I just want this specific change to get merged since it blocks building melodic packages.
I don't see why any other mapping needs to change though.

IDK it seems strange to target a different package for only one platform while the newly targeted package is available on all active Ubuntu and Debian distributions.
If you're confident that python-pil in bionic provides exactly the same behavior as python-imaging on other platforms and that using python-pil everywhere would break things I guess that's fine to merge as is

Looking at python-imaging: https://packages.ubuntu.com/artful/python-imaging it appears to have just been a basic wrapper package that depends on python-pil for the full implementation.
python-pil has been available as far back as trusty: https://packages.ubuntu.com/artful/python-pil
We could consider switching all of the rules to python-pil but I think this is the more conservative approach without deeper research.


Update manual test script

https://github.com/input-output-hk/cardano-shell/issues/300

Yeah sorry for not having enough context. Basically the script was broken due to the recent changes (CLI, setting working directory, etc.) So this PR applies update to the script so that it'll work again.


"Error establishing a database connection" error

Description
Sometimes some site URLs are returning an "Error establishing a database connection" error.
This issue is not tied only to the https://apexcharts.com/docs/installation/ url, but with any of the links present in the documentation.
Screenshots

Reproduction Link
https://apexcharts.com/docs/installation/

Duplicate


Cannot re-connect to a hot observable?

Monix 2.3.2 (unable to upgrade yet)
Scala 2.12.6
Is it intended behaviour that you cannot re-connect to a hot observable?
val coldObservable = //...
val hotObseravble = coldObservable.publish(Scheduler.trampoline())
val firstConnect = hotObservable.connect()
firstConnect.cancel()
// I would expect this to subscribe to the coldObservable again.
val secondConnect = hotObservable.connect()

Yes, it is intended behavior. Once the main connection is closed, it remains closed.
You need to recreate the hot observable.


Batch report - Add group description

Add new column with group_description to the sample identifiers table

Added column Sample Description displaying group_description


Style/FormatString cop breaks code

Rubocop auto-corrector breaks code by Style/FormatString cop.
Before code is
def hoge
  "%08x-%04x-%04x-%04x-%04x%08x" % ary
end

Execute auto-correct
> bundle exec rubocop -a

After code is
def hoge
  format("%08x-%04x-%04x-%04x-%04x%08x", ary)
end

Expected behavior
No effort.
Actual behavior
Fix to unexpected code.
RuboCop version
> bundle exec rubocop -v
0.71.0

String#% can receive an array, but format cannot receive it.
"%02x" % 1 # => "01"
"%02x" % [1] # => "01"
"%02x-%02x" % [1, 2] # => "01-02"

format("%02x", 1)# => "01"
format("%02x", [1])# => TypeError
format("%02x-%02x", [1, 2]) # => TypeError
format("%02x-%02x", 1, 2) # => "01-02"

I think we should mark the auto-correction as unsafe.

@pocke Is is a good idea to not register offense when second argument to String#% is a variable?

@pocke Is is a good idea to not register offense when second argument to String#% is a variable?

It makes sense, but I prefer changing auto-correct safety.
Because if the cop does not register offense, user has no way to know format method.

By the way, I got other ideas.
First, ignore only auto-correction when the argument is a variable.
The cop registers an offesne for String% with a variable but does not apply auto-correction.
Second, I guess we can use splat operator for a variable, like format("str", *variable).
I think it is a better way, but I'm not sure splat operator does not change meaning anytime.

I guess we can use splat operator for a variable, like format("str", *variable)

This will be an issue if variable is a hash. First approach looks better.


JerseyClient will not pick custom ExecutorService

Hey Guys:
I just realised that JerseyClient never picks-up the custom ExecutorService set via using(ExecutorService)
I think the solution is to annotate https://github.com/dropwizard/dropwizard/blob/master/dropwizard-client/src/main/java/io/dropwizard/client/DropwizardExecutorProvider.java With https://github.com/jersey/jersey/blob/master/core-client/src/main/java/org/glassfish/jersey/client/ClientAsyncExecutor.java
I am using the following workaround for now,
package com.xxx.yyy.injection.factory;

import com.codahale.metrics.httpclient.HttpClientMetricNameStrategies;
import com.xxx.yyy.ServiceConfiguration;
import com.xxx.yyy.utils.MDCContextListeningDecorator;

import org.glassfish.hk2.api.Factory;
import org.glassfish.jersey.client.ClientAsyncExecutor;
import org.glassfish.jersey.spi.ExecutorServiceProvider;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;

import javax.inject.Inject;
import javax.ws.rs.client.Client;

import io.dropwizard.client.JerseyClientBuilder;
import io.dropwizard.setup.Environment;
import lombok.extern.log4j.Log4j;

@Log4j
public class HttpClientFactory implements Factory<Client> {
  private final Environment env;
  private final ServiceConfiguration config;

  @Inject
  public HttpClientFactory(Environment env, ServiceConfiguration config) {
    this.env = env;
    this.config = config;
  }

  @Override
  public Client provide() {
    ExecutorService asyncService = new MDCContextListeningDecorator(env.lifecycle()
        .executorService("jersey-client-%d")
        .minThreads(config.getJerseyClient().getMinThreads())
        .maxThreads(config.getJerseyClient().getMaxThreads())
        .workQueue(new ArrayBlockingQueue<>(config.getJerseyClient().getWorkQueueSize()))
        .build());

    final Client client = new JerseyClientBuilder(env)
        .using(config.getJerseyClient())
        .using(HttpClientMetricNameStrategies.QUERYLESS_URL_AND_METHOD)
        .build("GCM Provider");
    client.register(new MyExecutorService(asyncService));

    return client;

  }

  @Override
  public void dispose(Client instance) {
    instance.close();

  }

  @ClientAsyncExecutor
  private class MyExecutorService implements ExecutorServiceProvider {

    private final ExecutorService asyncService;

    public MyExecutorService(ExecutorService service) {
      this.asyncService = service;
    }

    @Override
    public ExecutorService getExecutorService() {
      return asyncService;
    }

    @Override
    public void dispose(ExecutorService executorService) {
      asyncService.shutdown();
      try {
        asyncService.awaitTermination(60, TimeUnit.SECONDS);
      } catch (InterruptedException e) {
        log.error("Interrupted this thread while waiting for jersey client to shutdown", e);
      }
    }
  }
}

Closed via #1676


update to 1.19.0

Test failure looks unrelated.  Reported it here: https://github.com/grpc/grpc/issues/18195


feat(f5): Support APM source type

Added rewrite section to f5 to account for sourcetype f5:bigip:apm:syslog.
Fixes #1423

I have read the CLA Document and I hereby sign the CLA

Sounds good! Below is an example message that can be used.  My regex was a rip off of the TA 2680.
<141>Feb  3 13:24:14 F5-V1-EX.HDKS.edu notice tmm1[12390]: 01490500:5: /Common/My_HDKS-Hybrid:Common:e03c2ca8: New session from client IP <IP_ADDRESS> (ST=Arizona/CC=US/C=NA) at VIP <IP_ADDRESS> Listener /Common/HDKS-ADFS.app/HDKS-ADFS_adfs_vs_443 (Reputation=Unknown)
hostname="F5-V1-EX.HDKS.edu",errdefs_msgno="01490521:5:",partition_name="Common",session_id="9e48a3a4",Access_Profile="/Common/My_HDKS-Hybrid",Partition="Common",Session_ID="9e48a3a4",Bytes_In="11858",Bytes_Out="1955"

I added a new test and adjusted your regex, the ta regex assumed it was matching program but in sc4s program and message are in seperate fields

Oh, fantastic!!  Thank you!

:tada: This PR is included in version 2.0.0-next-major.21 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tests: resize root partition when atomic host

For a few moment we can see failures in the CI for containerized
scenarios because VMs are running out of space at some point.
The default in the images used is to have only 3Gb for root partition
which doesn't sound like a lot.
Typical error seen:
STDERR:

failed to register layer: Error processing tar file(exit status 1): open /usr/share/zoneinfo/Atlantic/Canary: no space left on device

Indeed, on the machine we can see:
Every 2.0s: df -h                                                                                Tue May 29 17:21:13 2018
Filesystem                 Size  Used Avail Use% Mounted on
/dev/mapper/atomicos-root  3.0G  3.0G   14M 100% /

The idea here is to expand this partition with all the available space
remaining by issuing an lvresize followed by an xfs_growfs.
-bash-4.2# lvresize -l +100%FREE /dev/atomicos/root
  Size of logical volume atomicos/root changed from <2.93 GiB (750 extents) to 9.70 GiB (2484 extents).
  Logical volume atomicos/root successfully resized.

-bash-4.2# xfs_growfs /
meta-data=/dev/mapper/atomicos-root isize=512    agcount=4, agsize=192000 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=0 spinodes=0
data     =                       bsize=4096   blocks=768000, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal               bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
data blocks changed from 768000 to 2543616

-bash-4.2# df -h
Filesystem                 Size  Used Avail Use% Mounted on
/dev/mapper/atomicos-root  9.7G  1.4G  8.4G  14% /

Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>


Document consensus expectations around closeTime

Add more detail about accuracy of timestamps produced by consensus

Hi @janewang, thanks for the PR! I think it'd be great to clarify expectations on accuracy of close time (I should have linked the original discussion that prompted this issue: https://stellarfoundation.slack.com/archives/C9H5JTW1J/p1713392041720139). Close time is selected by individual validators during voting, so it might be slightly inaccurate depending if the clock on the validator has drifted. There is also a specific "validity window" that validators use to validate close time from other nodes, that I think is worth documenting.

@marta-lokhova Would you be able to take over this ticket and add the information described? It was not clear from the ticket that this information is what is looked for.

Of course, I wasn't expecting you guys to deal with it (hence I assigned it to myself)

@marta-lokhova Are you able to work on this for us? Thanks in advance!

@marta-lokhova Are you able to assist with closing this one?

Hi @janewang, I'm planning to work on this in this sprint.


MQTT gateway api and dashboard import/export

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


The resource link is broken   (BUG)

The link of resource no. 2 is broken under the Kubernetes section in the DevOps roadmap.

@nesarptr this link is working on our end, please try following

Check your internet
try a different browser
clear cache and cookies


How about rename cmd dy to ddb?

dy is pronounced similarly to die, which is a bad name in my view. I would prefer ddb because it's a very common service acronym for DynamoDB.

you can set an alias in your .bashrc or .zshrc if you use Linux or Mac

type: which dy to see the full path to dy binary
alias ddb=<full-path-to-dy-binary>

Thank you for opening the issue, and I'm sorry for the delay in response.
Firstly, we don't specify a pronunciation of dy command. For example, you can call it /díːwάɪ/ or /daɪ.nɪn/. dy comes from dynein, our project name. dy was chosen by the convenience of typing as commonly seen on Rust projects. Thus, we have no plan to change this command name.
As anhtumai is suggested, you can use an alias.
I believe the above comment is sufficient for your concerns; thus, please let me close this issue. If you have any problems or questions, please feel free to reopen this issue and add comments.


Formula support?

Hi there! I was thinking about adding formula and formula simplification support, as in defining a multi variable expression or equation and having solveFor return an expression (if it is linear or quadratic in regards to the solved variable), also adding domains of definition to each solution expression. Does that make sense (and doesn't already exist somehow)?

If I understand you correctly, I think that already exists? At least the part about solveFor returning an expression:
var e = new Expression('x').add('y');
var eq = new Equation(e, 3);
eq.toString();
"x + y = 3"
eq.solveFor('x').toString();
"-y + 3"


waiting for implementation to reach tip before testing

Describe the bug
Starting today, I am getting waiting for implementation to reach tip before testing... for check:construction
020/10/07 16:17:15 0 Balances Updated
2020/10/07 16:17:15 check:construction status server running on port 9090
2020/10/07 16:17:15 waiting for implementation to reach tip before testing...
[MEMORY] Heap: 1101.724197MB Stack: 0.656250MB System: 1260.756973MB GCs: 2
[STATS] Transactions Confirmed: 0 (Created: 0, In Progress: 0, Stale: 0, Failed: 0) Addresses Created: 0
2020/10/07 16:17:25 waiting for implementation to reach tip before testing...
[MEMORY] Heap: 1101.786850MB Stack: 0.656250MB System: 1260.756973MB GCs: 2

To Reproduce
Steps to reproduce the behavior:
run rosetta-cli check:construction --configuration-file <config.json>
Expected behavior
It should start check:construction flow
Additional context
 "online_url": <URL>,
  "data_directory": "",
  "http_timeout": 300,
  "max_retries": 5,
  "retry_elapsed_time": 0,
  "max_online_connections": 0,
  "max_sync_concurrency": 0,
  "tip_delay": 60,
  "log_configuration": false,
  "construction": {
    "offline_url": <URL>,
    "max_offline_connections": 0,
    "stale_depth": 0,
    "broadcast_limit": 0,
    "ignore_broadcast_failures": false,
    "clear_broadcasts": false,
    "broadcast_behind_tip": false,
    "block_broadcast_limit": 0,
    "rebroadcast_all": false,
    "constructor_dsl_file": "stacks.ros",
    "end_conditions": {
      "create_account": 10,
      "transfer": 10
    }
  }

👋  @fdmirza! Thanks for posting this issue.
This is actually the new intended behavior of check:construction. Prior to the latest release, we would start syncing from the latest available block (which could be very far from tip if the implementation was still syncing). This led to storing unnecessary data on disk and often increased the time to start testing (because all blocks unrelated to construction testing would need to be synced). Once you connect to an implementation that is at tip (as defined by tip_delay), the test should start automatically!
I see you have stacks.ros in your config file! I hope you are enjoying the new DSL!

Received a similar question on the community: https://community.rosetta-api.org/t/ros-file-questions-in-recent-construction-api-configuration/253/2?u=patrick.ogrady


Updated playbook, added templates for mysql and nginx

This config doesn't appear to be working since the Nginx site isn't pulling up.


Inconsistent use of import()-type in signature help

TypeScript Version:  3.0.0-dev.20180609

Search Terms: import type
Code
import {getWrappedNodeAtPosition} from 'tsutils';
getWrappedNodeAtPosition(/*1*/

Expected behavior:
Expected the following signature help, because it used to to show that in previous versions.
getWrappedNodeAtPosition(wrap: NodeWrap, pos: number): NodeWrap | undefined

Otherwise I would expect the use of the import()-type to be consistent and to also be used in the return type.
Actual behavior:
After typing the opening paren (at /*1*/), the following signature help is shown:
getWrappedNodeAtPosition(wrap: import("/Users/klaus/code/wotan/node_modules/tsutils/util/convert-ast").NodeWrap, pos: number): NodeWrap | undefined

Playground Link:
Related Issues:

@weswigham, i thought we are not using import types at all in signature help/quick info..

Y'know, I thought so, too, but looks like nope:

It's missing the UseAliasDefinedOutsideCurrentScope flag.
Will have a change up in a jiffy.


icon for player class on scoreboard

I have been looking all over and essentially im trying to find a way to add an icon between the players name and ping at the end. This icon would essentially display what RP class they are... such as a Medic, Radio operator, squad leader etc. Is there anyway to implement this??

You'll have to modify the classes to have the icon assigned, and modify the scoreboard plugin to display the relevant icon. For proper support visit the discord


doc: Add documentation for ad5770r, ad5933, ltc268x console projects

Added sphinx documentation and updated TOC using index.rst files

Hi all,
Any comments on this PR?

Change log: Addressed review comments
Added extra lines as required.


validation of inputs

Enable validation of input:

[ ] rules
[ ] API
[ ] code implementation
[ ] documentation

So implement on both levels:

Internal data structures
But also in our "blessed" (GraphML?) external format

This looks interesting for validating Arrow tables: https://github.com/beacon-biosignals/Legolas.jl/. It is used in https://github.com/beacon-biosignals/LegolasFlux.jl/.

[ ] Check whether extra keys will throw an error

for this moment we can have data struct duplications (julia, plugin, python)
if we introduce rules, you want to have it better organized
at this moment keep validation in julia ~3d (complexity we may need to touch the structs that affect computation)
for future revisit if we want to move to Rust

Ok, so ideally, we generate a schema (jsonschema) from a single source, and use that in all other code. For me, that looks like:
Julia -> Jsonschema -> Python / QGIS
The main reason is because Julia has to be able to compute with the input, so it has to be compatible there.
One can generate Pydantic BaseModels in Python from jsonschemas. These can be used in Pandera as well, although it might be slower. There's an open issue for Pandera to directly generate Pandera models from jsonschema, feel free to upvote it.


Turn PR labels into a set in the handler

PR #792, made PullRequestLabelPagureEvents JSON serializable, but this
also means that the handler receives these events as a list, not as a
set.
Due to this the intersection used to find out whether the service should
react on the labels applied fails with an AttributeError ('list' object
has no attribute 'intersection'). To fix this, explicitly construct a
set in the handler's __init__().
Signed-off-by: Hunor Csomortáni<EMAIL_ADDRESS>

This was found on stg by Sentry.


Unable to start @windows wsl

Failed to start otel: ddev-router failed to become ready; debug with 'docker logs ddev-router'; logOutput=, err=health check timed out after 1m0s: labels map[com.docker.compose.service:ddev-router] timed out without becoming healthy, status=

If you'd provide the output of ddev debug test as a file and look at the logs it would help understand what's going on.

Closing as outdated. If still actual - please add debug info and reopen.


Use NYC for code coverage and compile typescript on fly during test execution

InstabulJS code coverage tool has been renamed to NYC. This commit
upgrades istanbul and adds a basic confiugration for code coverage.
It also removes the need to compile typescript before testing or
checking code coverage by using ts-node to compile the typescript
as needed.
The graphql-server-express required a test to be changed since
it was uploading the test file it self, which changes during
compilation.
Also koa is not compatible with node.js v4 so I had to add a check that
disables that test suite when run in that version.

TODO:

[ ] Update CHANGELOG.md with your change (include reference to issue & this PR)
[ ] Make sure all of the significant new logic is covered by tests
[ ] Rebase your changes on master so that they can be merged easily
[ ] Make sure all tests and linter rules pass

Closes #307

Not sure why it shows up as 0% on travis not able to produce those results. It should fail if below 85%

I have figured out why it is showing 0%. I first must enable instrumentation with out the compiled dist directories, not sure why. Then disabling instrumentation and compiling with tsc works. Going to read thorough some source code and docs to figure out a clean solution

This will take some time as there are bugs in nyc that prevent this working with the multi package setup. Will break into smaller PRs for nodejs v4 fix and updating tests to use ts-node

alright, thanks 👍


Select files in offline mode and add other details while uploading

Summary:
We got a request from a user says
"Please also add a select feature that allows to select the files in an offline mode and then add file details later at the time of uploading."
So you think such a feature would be helpful? Let's discuss.

I can see the appeal of such a feature, although I have no idea how difficult it would be to implement.
I am a frequent user of the "limited connection mode". I commute to and from my work on a bus and like to pass time by adding tags/categories/etc to photos while I riding the bus and then uploading everything to Commons once I connect to Wifi at my destination.
From both the name of the feature and my general understanding of how it works, I had known that it requires a "limited" internet connection but had not thought much about it.  I recently boarded an airplane hoping to pass time on my long flight by doing it the same thing I do on the bus. As you can probably guess, I was unable to do so due to having no internet access, rather than just limited internet access.
I would like to be able to prepare photos for upload to Wikipedia Commons at times were I have no internet access but do have the time to label photos. However, I can also see that this feature would be quite limited, even compared to the "limited connection" mode, without being able to add categories/tags from the server.

@neslihanturan  @mds08011 I would like to work on this. Please assign me this issue.

@vivek-gite at this point, I think this issue is still just a discussion rather than a true feature/enhancement request. However, if you have specific ideas about how this could be implemented, feel free to share them!

Thanks for your ideas @mds08011 . Yes, the issue is still being discussed @vivek-gite . I think we need more people chime in to decide such an extra feature. Based on @mds08011 's ideas something like 3 connection mode came to my mind.

normal mode
limited connection
offline mode where user can collect all photos to upload later is a stack. Well obviously most of our features won't work in offline mode, so I suggest displaying a different activity when offline mode is selected where user can pick pictures for upload later stack. Then they can have a switch back button for limited connection or normal mode. I would suggest putting offline mode to bottom menu instead o the main page toggle. There is not enough space in main page and seeing offline mode with limited connection mode can be confusing.


Incorrect card validation

hi guys, i'm not sure 100% about that, but for these Discover card numbers:
6011501280783896
6011573754233575
6011595904510859
library validate these numbers as Maestro, but need to be Discover

They are not part of the documented Discover range. I'll need to know that either they're real cards or


Need Help With cookie Format

so i installed the exe on my pc
now i used .grab cookies to get the cookies of my pc
i got the .txt file
now how can i use it
the format the bot provides isn't in Netscape or Json format

we are using a custom format for the cookies for now but its already been changed for the next update
the new format (that has yet to be released) will provide compatibility with most cookie managers

for now all you can do is use the cookies manually which is a bother


modify testbench for bitbang

add documentation if need (serial reset for bb)

Testbench for bitbang are driving the bb_reset and bb_enable signals at the same time. With various sdf values for the signals, bb_enable  might assert before the reset value get deasserted. That would cause a width violation when the reset deasserts and would cause latch.


Throw proper error if there is no Value link for type

When we create a type-link:
const {data: [{id: newTypeLinkId}]} = await deep.insert({
  type_id: await deep.id("@deep-foundation/core", "Type")
});

And do not create a Value link from a Type link to a (String)|(Number)|(Object)|(File) link:
// This code should not be executed to reproduce a problem
await deep.insert({
    type_id: await deep.id("@deep-foundation/core", "Value"),
    from_id: newTypeLinkId,
    to_id: await deep.id("@deep-foundation/core", "Number")
})

We get error

field "link_id" not found in type 'links_insert_input'

But should get something like

A link with type_id ["@deep-foundation/core", "Type"] must be created from typeLinkId to (String)|(Number)|(Object)|(File)LinkId to update a value of a link

Or there should be visual message in user interface.

Or there should be visual message in user interface in this case this issue should be transferred to deepcase repository.

This issue should not be transferred to deepcase repository because we still need proper error for deeplinks users. Of course it would be fine to show what's the problem and how to fix it in deepcase