Implement lab05 stringer for anz-bank go-course

Fixes #525
Review of colleague's PR #511
Changes proposed in this PR:

Implement lab05 stringer for anz-bank go-course
Implement assertion based tests.

LGTM
As a side note - you can get rid of the \n in your TestMainOutput by using fmt.Fprint instead of fmt.Fprintln in main()

I advise against changing main just to make TestMainOutput slightly simpler. The use of Fprintln makes for cleaner output, e.g.:
user@machine:~$ lab05-fprintln
<IP_ADDRESS>
user@machine:~$ _

user@machine:~$ lab05-println
<IP_ADDRESS>user@machine:~$ _

The go-course is now closed. Thank you very much for participating.


fix: make nullable django fields also Noneable in event data

This should hopefully fix the error we are currently seeing when attempting to serialize real-life LC fulfillments outside of unit test environments.  The error is exactly described in this ticket for a different event experiencing the same issue:
https://github.com/edx/edx-arch-experiments/issues/788
Basically, certain fields are passed into the serializer as None because the actual value in the database is NULL, but the serializer field default is not explicitly set to None which triggers a code path that doesn't tolerate being passed None:
https://github.com/openedx/openedx-events/blob/3170416c157df480b3d9f9f276ab7cf7b9d5e68d/openedx_events/event_bus/avro/serializer.py#L34-L44
ENT-9213

@mariajgrimaldi Please take a look when you have a chance!  Upon testing, I learned that in order to serialize a None value in a field, the field default first needs to be set to None, or else the serializer errors out.

Thanks for the prompt review!  I do want to get this right so now that I think about it, I want to perform additional testing.  I was just eager to get this out for review in case of delay, but that was not a concern.
Maybe you can also help answer a question about versioning: Since this is one of the first instances where we're "evolving" an existing event without creating a v2 version of it, do you forsee any possible issues of doing that?  Technical issues maybe? This change is theoretically backwards-compatible (only making existing fields more permissive), and I also doubt anybody in the open source community has adopted this event given it's limited use for enterprise purposes and age.

@pwnage101: That's a good question. As you said, I see these changes as backward compatible too. If these events were adopted elsewhere, defaults must've been handled in some way for them to work, so these changes won't affect current implementations. In this case, documentation will be enough to let adopters know. However, if there was a default for the data classes, we'll have to discuss the implications further.

I just finished testing locally, and indeed it works the way I expected.  First here's a reproduction of the error before any changes (data is prepared in a unit test to simulate what we'd pass to send_event()):
(Pdb) from edx_event_bus_kafka.internal.producer import get_signal_serializer
(Pdb) from openedx_events.enterprise.signals import LEARNER_CREDIT_COURSE_ENROLLMENT_REVOKED
(Pdb) serializer = get_signal_serializer(LEARNER_CREDIT_COURSE_ENROLLMENT_REVOKED)
(Pdb) serializer.to_dict({'learner_credit_course_enrollment': data})
*** Exception: None cannot be handled by custom serializers (and default=None was not set)

After changes to make fields allow None:
(Pdb) from edx_event_bus_kafka.internal.producer import get_signal_serializer
(Pdb) from openedx_events.enterprise.signals import LEARNER_CREDIT_COURSE_ENROLLMENT_REVOKED
(Pdb) serializer = get_signal_serializer(LEARNER_CREDIT_COURSE_ENROLLMENT_REVOKED)
(Pdb) serializer.to_dict({'learner_credit_course_enrollment': data})
{'learner_credit_course_enrollment': {'created': '2024-09-11T21:45:51.594917+00:00', 'enterprise_course_enrollment': {'course_id': 'week-beat-through', 'created': '2024-09-11T21:45:51.593861+00:00', 'enterprise_customer_user': {'active': True, 'created': '2024-09-11T21:45:51.586227+00:00', 'enterprise_customer_uuid': '9fb43fcb-a4de-4c60-a578-29b37a01b85b', 'id': 1, 'invite_key': None, 'is_relinkable': True, 'linked': True, 'modified': '2024-09-11T21:45:51.586227+00:00', 'should_inactivate_other_customers': True, 'user_id': 1}, 'id': 1, 'modified': '2024-09-11T21:45:51.593861+00:00', 'saved_for_later': False, 'source_slug': 'enterprise_api', 'unenrolled': None, 'unenrolled_at': None}, 'enterprise_course_entitlement_uuid': None, 'fulfillment_type': 'learner_credit', 'is_revoked': False, 'modified': '2024-09-11T21:45:51.594917+00:00', 'transaction_id': '9cffe896-f52c-4d31-89cb-d5d218261ca8', 'uuid': '38a66051-fcfe-4387-96d5-743c281670cf'}}

I'm happy with this PR and feel it's ready to merge if you feel the same.

@mariajgrimaldi please merge at your convenience

@mariajgrimaldi could you take a look?


jqBootstrapvalidation callback validation function not working after form validation

Hello,
I have a problem with jqBootstrapValidation:
Senario:
enter a value of 22 you will get an error validation message.
delete the input content and validate the form
the required error message will blink and disappear.
`

Type something

                                                    Test Validation

Type something

                                                    Test Validation


React16 compatibility update

Hey @FuYaoDe  - any chance this can be looked at? Shame to fork this.


How to implement Tree node classes and binary search tree in python

Proposed title of article
How to implement tree nodes classes and binary search tree
Introduction paragraph (2-3 paragraphs):
. In this article we will learn how to construct binary search tree using nodes and references in python
iterating  in all the keys of  the tree in order we will have a parent and child nodes.
Key takeaways:
1, it gives an understanding of how to insert new code in the tree
2. Implementing  retrieval of a value in a key
3. How to handle insertion of a duplicate key during a search
4. Deleting of a key in our binary search tree.
5. How to traverse a binary tree using the  traversal algorithm
References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.  @samtecinnovator

Thank you I am looking forward for the approval

@samtecinnovator
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

@samtecinnovator
Just pinging you on this topic form - as I'm making some room in the topic queue.
No rush if you're still working on this one - if you need more time we can always re-open at a later date.


Fix erroneous thread id assertion for classes derived from ReferenceCounted

Noticed this when running Cesium for Unreal with the latest.
Fix bug where the client build system can define the order of members differently than cesium-native. Note the #ifndef NDEBUG statement.
The workaround is to just move the debug member to the end of the class, to preserve the non-debug order.

Closing without merging. Will go another direction to solve this problem...


test: inject license

This PR aims to improve development workflow, so DEVs do not need to register dev cluster in otomi cloud

At the moment when I do "kubectl logs jobs/otomi -n default -f" I don't get the otomi login and url at the bottom.


[sa-tool-dev-2201.2.x] Add LS Extension of Ballerina Project Design Tool

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

closing since all the changes are already merged to 2201.2.x branch


Move to golang 1.20 (#127)

Move to golang 1.20

Bump golangci-lint to 1.51 for golang 1.20 support

(cherry picked from commit 35d6fbeac82fc3313f8d73bca28cf5fc6f18d5cf)

I'm surprised this wasn't merged as part of the STF 1.5.3 work. Did we not end up importing master to stable-1.5 in 1.5.3? (no other changes?)

I'm surprised this wasn't merged as part of the STF 1.5.3 work. Did we not end up importing master to stable-1.5 in 1.5.3? (no other changes?)

Oh this was only merged 3 weeks ago, which is well after 1.5.3 was tagged. Is there a need to backport this now vs just waiting for STF 1.5.4 and importing master to stable-1.5 at that time?

I'm surprised this wasn't merged as part of the STF 1.5.3 work. Did we not end up importing master to stable-1.5 in 1.5.3? (no other changes?)

Oh this was only merged 3 weeks ago, which is well after 1.5.3 was tagged. Is there a need to backport this now vs just waiting for STF 1.5.4 and importing master to stable-1.5 at that time?

Never mind, I found the answer in an email I got 3 mins ago. Thanks!


get_currency_exchange_intraday Exception

Hi,
when I call this function
from alpha_vantage.foreignexchange import ForeignExchange
cc = ForeignExchange(key='N9HCI6JUVHBJJFGS')
# There is no metadata in this call
btcdata, _ = cc.get_currency_exchange_intraday('BTC','USD')
btcdata

I get this exception
 Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for FX_INTRADAY.

Ummm... this is the FOREX intraday API, while you are querying Bitcoin prices? Interesting!

BTC != Forex

Last time I checked, Bitcoin != forex

Opps!
Your right.
thanks


[WFCORE-5410] Update elytrong subsystem to take modular jdk params into account

https://issues.redhat.com/browse/WFCORE-5410

@bstansberry please review

@darranl @fjuma WDYT?
In https://github.com/wildfly/wildfly-core/pull/4591/files I did similiar things based on testing I was doing in full WF. But I confess with java.util and java.security I've forgotten the precise thing that led to the need for -add-opens, which is something that should be written down somewhere.

I have added an approval here, this is just affecting the testsuite run so should be safe.


The get_kl function returns 0 always.

The get_kl function returns 0 always. What does this mean? Is this a bug or intended?

Intended.
See the discussion here:
https://github.com/ikostrikov/pytorch-trpo/issues/2


Include Dask license again

The Dask license was removed in #284, where the user-facing Dask code got deleted, but there are still bits of Dask in the codebase, at least in tests. As noted in #12:

The license allows us to copy the code, if we put the proper attribution in the README

And since these tests are still in place, I suggest the license gets included again.
(I'm not a licensing expert, I'm not sure what the implications of code copying are, I'm just following the quote from the issue above.)

No, the tests are completely different if you refer this file:
https://github.com/dask/dask/blob/master/dask/dataframe/tests/test_dataframe.py
vs
https://github.com/databricks/koalas/blob/master/databricks/koalas/tests/test_dataframe.py
and we now have anything copied from Dask.

Look at the issue I linked, where the author talks explicitly about adapting Dask code. And the code is still live in your test suite, see e.g.:
https://github.com/dask/dask/blob/e734544ef74aa0b1db1144d3f0a193b8f313d9d1/dask/dataframe/tests/test_dataframe.py#L156
https://github.com/databricks/koalas/blob/465861cbb70dbe98ba8b5ac5477ed7c99b184b2d/databricks/koalas/tests/test_dataframe.py#L307

Here's the test you pointed out:

I don't think we should add a license when it borrows an idea.


Docs: POST /_api/collection code uses boolean for collection creation options…

…enforceReplicationFactor and waitForSyncReplication
The endpoint seems to accept any falsey value as false (0, "") and everything else as truth.
Backports:

#15764
#15765
#15766

Related Information

[x] Docs PR: https://github.com/arangodb/docs/issues/279

[ ] https://jenkins.arangodb.biz:3456/view/Documentation/job/arangodb-ANY-examples/1723/

[ ] https://jenkins.arangodb.biz:3456/view/Documentation/job/arangodb-ANY-examples/1728/


i18n(ko-KR): update markdown-content.mdx

Description (required)

update markdown-content.mdx
#9344

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
guides/markdown-content.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

If this PR is successfully merged, I expect #9355, #9361, and #9363 to also be merged successfully.


URL.JoinPath() requires minimum supported Go version to be 1.19

This method is used everywhere in the library code, however it throws an error in IDE because it was only introduced in go 1.19, whereas, the library supports min 1.18
Ref<EMAIL_ADDRESS>To solve this, we have to either upgrade the min supported version or use any alternative function to join the url.

@samsoft00 @unicodeveloper Thoughts on this?

You're correct, I didn't notice that earlier.
JoinPath comes with a lot of advantages over string concatenation, JoinPath function takes care of any leading or trailing slashes, ensuring a well-formatted URL path.
Despite these advantages, I think it's essential to retain the current version.
What do you think @unicodeveloper

If both are required, we can implement a copy of JoinPath in the source code. The function is not that big.
https://cs.opensource.google/go/go/+/refs/tags/go1.19beta1:src/net/url/url.go;l=1193

@prajjwaldimri hmmm, the code will end up messy.
As you suggested earlier, let's upgrade to 1.19 🚀

Will upgrade to 1.19 in my Subscriber Preferences PR.


minimum y axis height.

the default height of y axis is decided by the maximum value in the series.
in case all the values in the series are zero, Y axis disappears. Is there a way to specify a minimum default height ?
chart options are
$scope.chartOptions =
            title: 'Metric Trend'
            x_accessor: 'date'
            y_accessor: 'value'
            area: false
            small_text: true
            right: 40
            aggregate_rollover: false

Try adding a height property. For example:
``$scope.chartOptions = {
...
height: 200
}

Hi,
I tried setting height but doesn't seem to be working. attached screenshot.


Can't use azureFile in Germany Cloud Central

Is this a request for help?:
Maybe.
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE.
What version of acs-engine?:
0.13.1
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.7.9
What happened:
Using the following template
{
  "apiVersion": "vlabs",
  "location": "germanycentral",
  "properties": {
    "orchestratorProfile": {
      "orchestratorType": "Kubernetes"
    },
    "masterProfile": {
      "count": 1,
      "dnsPrefix": "kubernetesmaster",
      "vmSize": "Standard_D2_v2"
    },
    "agentPoolProfiles": [
      {
        "name": "agentpool1",
        "count": 3,
        "vmSize": "Standard_D2_v2",
        "availabilityProfile": "AvailabilitySet"
      }
    ],
    "linuxProfile": {
      "adminUsername": "xxx",
      "ssh": {
        "publicKeys": [
          {
            "keyData": "ssh-rsa xxx"
          }
        ]
      }
    },
    "servicePrincipalProfile": {
      "clientId": "xxx",
      "secret": "xxx"
    }
  }
}

I try to setup a pod with a storage account with this file
apiVersion: v1
kind: Pod
metadata:
 name: storagetest
spec:
 containers:
  - image: nginx
    name: nginx
    volumeMounts:
      - name: azure
        mountPath: /mnt/azure
 volumes:
      - name: azure
        azureFile:
          secretName: azure-secret
          shareName: clusterstorage
          readOnly: false

When I start the pod, I get the following error message
Mounting command: mount
Mounting arguments: //clusterstorage.file.core.windows.net/clusterstorage /var/lib/kubelet/pods/xxx/volumes/kubernetes.io~azure-file/azure cifs [vers=3.0,username=clusterstorage,password=xxx/+xxx/JUX/xxx==,dir_mode=0777,file_mode=0777]
Output: mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

From the Azure Portal, I know that the url ends with blob.core.cloudapi.de. So, I guess that may be the problem here.
What you expected to happen:
That the pod starts and the volume will be mounted.
How to reproduce it (as minimally and precisely as possible):
As described above.

@Sennahoi Are you able to confirm @karataliu's fix by building a 1.7.13 cluster?

Sorry for not responding. I switched to 1.8.x and the problem was gone. Thanks for your help!


RenderTexture flipped on Android

Subject of the issue
Basically, when using render textures on Android, the image gets flipped (for some reason), however on Windows this works normally.
Images of the code below:
Windows 10

Android 8 and Android 13

Your environment
Android Studio 2022.1.1 on Windows 10
SFML 2.6.x branch
Used CMake, Ninja, Android NDK 25
Steps to reproduce
#include <SFML/Graphics.hpp>
int main()
{
    sf::RenderWindow window(sf::VideoMode::getDesktopMode(), "SFML works!", sf::Style::Fullscreen);
    window.setFramerateLimit(10);

    sf::CircleShape circle(400.f);
    sf::RectangleShape corner;
    sf::RectangleShape screen;
    circle.setFillColor(sf::Color::Green);
    corner.setSize(sf::Vector2f(400, 400));

    sf::RenderTexture texture;
    texture.create(window.getSize().x, window.getSize().y);
    texture.clear();
    screen.setSize((sf::Vector2f)window.getSize());

    sf::Texture t;

    bool active = window.hasFocus();
    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            switch (event.type)
            {
            case sf::Event::Closed:
                window.close();
                break;
            case sf::Event::LostFocus:
                window.setActive(0);
                active = 0;
                break;
            case sf::Event::GainedFocus:
                window.setActive(1);
                active = 1;
                break;
            case sf::Event::KeyReleased:
                if (event.key.code == sf::Keyboard::Escape)
                    window.close();
                break;
            }
        }
        if (!active)
            continue;
        t = texture.getTexture();
        corner.setTexture(&t);

        texture.clear();
        texture.draw(circle);
        texture.draw(corner);
        texture.display();
        screen.setTexture(&texture.getTexture());

        window.clear();
        window.draw(screen);
        window.display();

    }
}

Expected behavior
As mentioned above, the texture should not get flipped.
Actual behavior
On Android the texture that we got from rendertexture.getTexture() gets flipped.

Facing the same issue on Android 13 - Samsung Galaxy A54, is a bug fix considered ?

Facing the same issue on Android 13 - Samsung Galaxy A54, is a bug fix considered ?

Just to double check, are you calling display() on the render texture?

RenderTexture itself seems to work fine on Android. The image however gets flipped when copying the texture, which happens in the provided example code at the t = texture.getTexture(); line. After the texture is copied, it is flipped even when display() is called on the render texture.
I think the issue is in Texture::copyToImage(), which gets called from Texture::update when SFML_OPENGL_ES is defined. The code that gets executed in copyToImage when SFML_OPENGL_ES is defined doesn't access m_pixelsFlipped at all (unlike the desktop OpenGL implementation). I'm currently testing my hypotheses and will send a PR is that is where the issue lies.

@Zombieschannel / @Nathan-M-code can you try #2719?

https://github.com/SFML/SFML/pull/2730
@Zombieschannel could you please test this PR?


[SDP-701] Load more persistence

Now when you load-more -> leave the page -> on returning the amount of results displayed is maintained
Make sure you include the related JIRA issue in the title e.g. '[SDP-007] Fixed navbar issue'
Make sure you have checked off the following before you issue your Pull Request:

[x] Passed all unit tests using rails test with 90%+ coverage
[n/a] Added cucumber tests for any new functionality (I added a cucumber test but had to remove it as load more isn't functioning in the cucumber tests since the ES results are faked)
[x] Passed all cucumber tests using bundle exec cucumber
[x] Passed overcommit hooks, including running all code through Rubocop

Don't merge, andy found an issue I am looking into now

Need to discuss if the other method (in a separate PR) is preferred - probably close this PR and accept the other branch (load-more-persist-2)

Closing for PR #329


Memory allocations using range-based for loops

In the Readme, the following example is provided:
for (auto element : j) {
  std::cout << element << '\n';
}

Does this end up creating a copy of each array element during each iteration?
Are
for (const auto &element : j) {
  std::cout << element << '\n';
}

and
for (auto &element : j) {
  element["a"]=...;
}

better alternatives or is the version in the readme the optimal usage for all scenarios?
(In some sense this is just a basic c++ question.  I don't really know how ranged for loop work in c++, or how to actually check what is happening in each of the scenarios, but in any case I am specifically curious about it works for basic_json's implementation)
Thanks!

Yes, that first version will copy the elements.  The second version is better.  The third version is the required form if you want to change the elements of the j object itself.

Thanks -- not that it really adds much to the effort, but I submitted a PR that tweaks the readme.


Can't directly upgrade from CC2.1 to CC3.0

IF CC2.1 is already installed and you try to install the CC3.0 you will get errors and system won't work.
UBUNTU
$ sudo -E apt-get install cc-runtime cc-proxy cc-shim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  cc-runtime-bin cc-runtime-config
The following NEW packages will be installed:
  cc-proxy cc-runtime cc-runtime-bin cc-runtime-config cc-shim
0 upgraded, 5 newly installed, 0 to remove and 50 not upgraded.
Need to get 3.578 kB of archives.
After this operation, 13,6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_16.04  cc-proxy 3.0.0beta.2+git.c0805cc-0+2.1 [1.728 kB]
Get:2 http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_16.04  cc-runtime-bin 3.0.0beta.2+git.06023ea-0+1.1 [1.414 B]
Get:3 http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_16.04  cc-runtime-config 3.0.0beta.2+git.06023ea-0+1.1 [1.416 B]
Get:4 http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_16.04  cc-shim 3.0.0beta.2+git.1f545df-0+1.1 [11,0 kB]
Get:5 http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_16.04  cc-runtime 3.0.0beta.2+git.06023ea-0+1.1 [1.836 kB]
Fetched 3.578 kB in 1s (3.219 kB/s)
Selecting previously unselected package cc-proxy.
(Reading database ... 255459 files and directories currently installed.)
Preparing to unpack .../cc-proxy_3.0.0beta.2+git.c0805cc-0+2.1_amd64.deb ...
Unpacking cc-proxy (3.0.0beta.2+git.c0805cc-0+2.1) ...
dpkg: error processing archive /var/cache/apt/archives/cc-proxy_3.0.0beta.2+git.c0805cc-0+2.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/systemd/system/cc-proxy.service', which is also in package cc-oci-runtime 2.2.4+git.8c16c66-0+33.1
Selecting previously unselected package cc-runtime-bin.
Preparing to unpack .../cc-runtime-bin_3.0.0beta.2+git.06023ea-0+1.1_amd64.deb ...
Unpacking cc-runtime-bin (3.0.0beta.2+git.06023ea-0+1.1) ...
Selecting previously unselected package cc-runtime-config.
Preparing to unpack .../cc-runtime-config_3.0.0beta.2+git.06023ea-0+1.1_amd64.deb ...
Unpacking cc-runtime-config (3.0.0beta.2+git.06023ea-0+1.1) ...
Selecting previously unselected package cc-shim.
Preparing to unpack .../cc-shim_3.0.0beta.2+git.1f545df-0+1.1_amd64.deb ...
Unpacking cc-shim (3.0.0beta.2+git.1f545df-0+1.1) ...
Selecting previously unselected package cc-runtime.
Preparing to unpack .../cc-runtime_3.0.0beta.2+git.06023ea-0+1.1_amd64.deb ...
Unpacking cc-runtime (3.0.0beta.2+git.06023ea-0+1.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/cc-proxy_3.0.0beta.2+git.c0805cc-0+2.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

FEDORA
sudo -E dnf install -y cc-runtime cc-proxy cc-shim
----
Transaction Summary
=======================================================================================================================================
Install  8 Packages
Upgrade  2 Packages

Total download size: 26 M
Downloading Packages:
(1/10): cc-runtime-3.0.0beta.1+git.7bde8a9-3.1.x86_64.rpm                                              9.7 kB/s | 6.8 kB     00:00
(2/10): cc-shim-3.0.0alpha.4+git.ab14648-2.1.x86_64.rpm                                                7.1 kB/s | 6.6 kB     00:00
(3/10): cc-proxy-3.0.0beta.1+git.817d71e-1.1.x86_64.rpm                                                4.0 kB/s | 6.6 kB     00:01
(4/10): cc-runtime-config-3.0.0beta.1+git.7bde8a9-3.1.x86_64.rpm                                       9.3 kB/s | 7.8 kB     00:00
(5/10): cc-runtime-bin-3.0.0beta.1+git.7bde8a9-3.1.x86_64.rpm                                          1.5 MB/s | 2.2 MB     00:01
(6/10): cc-shim-bin-3.0.0alpha.4+git.ab14648-2.1.x86_64.rpm                                            139 kB/s |  18 kB     00:00
(7/10): cc-proxy-config-3.0.0beta.1+git.817d71e-1.1.x86_64.rpm                                          12 kB/s | 7.4 kB     00:00
(8/10): cc-proxy-bin-3.0.0beta.1+git.817d71e-1.1.x86_64.rpm                                            2.1 MB/s | 1.9 MB     00:00
(9/10): linux-container-4.9.35-66.1.x86_64.rpm                                                         3.7 MB/s | 8.0 MB     00:02
(10/10): clear-containers-image-17270-34.1.x86_64.rpm                                                  3.9 MB/s |  14 MB     00:03
---------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                4.4 MB/s |  26 MB     00:05
warning: /var/cache/dnf/home_clearcontainers_clear-containers-3-7722e681f204c52d/packages/cc-runtime-3.0.0beta.1+git.7bde8a9-3.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 383bc8d1: NOKEY
Importing GPG key 0x383BC8D1:
Userid     : "home:clearcontainers OBS Project<EMAIL_ADDRESS>Fingerprint: FF88 5182 451B 7E16 A12E 3E20 CCC1 9FA1 383B C8D1
From       : http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/Fedora_25/repodata/repomd.xml.key
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/lib/systemd/system/cc-proxy.service from install of cc-proxy-config-3.0.0beta.1+git.817d71e-1.1.x86_64 conflicts with file from package cc-oci-runtime-config-2.2.4+git.8c16c66-33.1.x86_64
  file /usr/lib/systemd/system/cc-proxy.socket from install of cc-proxy-config-3.0.0beta.1+git.817d71e-1.1.x86_64 conflicts with file from package cc-oci-runtime-config-2.2.4+git.8c16c66-33.1.x86_64

We don't currently support upgrading from CC 2.x to 3.0. This is documented, but... not that easy to find :)
It's here:

https://github.com/clearcontainers/runtime/blob/master/docs/developers-clear-containers-install.md

Short-term we should copy the warning to the Fedora + Ubuntu install docs and medium term we may be able to resolve this issue by:

https://github.com/clearcontainers/packaging/issues/93

I agree that each OS install doc should have this as a warning.

This topic will be addressed on #528.


IR Import Issue

Describe the bug
Both in the Standalone and VST version of NAM, I get this error (see picture in screenshots) when trying to load any IR from Bogren Digital (yes, I purchased them legally). I have tried every folder and bit rate available.
Expected behavior
It seems other IRs I have tried work fine.
Screenshots

Desktop (please complete the following information):
Windows 10

This is an issue for NeuralAmpModelerPlugin, not this repo, so I'm going to close this here.
Feel free to open an issue over there. Fortunately, I believe I'll have many of the IR issues solved for the next plugin version 🙂  but if you open an Issue over there I can double-check that we'll be set.


[test] silgen test coverage for async thunks of non-async funcs

In light of SE-338, you'd think all functions converted to be async would have hops in their reabstraction thunks.
But that's not the case. A non-async function that is not otherwise isolated according to its type, when converted to become an async function, should not have hops in its reabstraction thunk; not even to the generic executor.
That was not intuitive for me, so I thought I'd add extra test coverage to ensure we maintain that existing behavior, since we rely on it when non-async functions have their isolation casted away when in an isolated context (only allowed when it's not also Sendable). Thus, when it's called later on, it needs to inherit the executor, as its guaranteed to only be called while on a matching one. For example:
@MainActor func caller() async {
  let f: () -> () = mainActorFn
  let g: () async -> () = f
  await g()  // g cannot be hopping to a different executor, it must inherit!
}

@swift-ci please smoke test and merge


Need multiple date filters in slice

Make sure these boxes are checked before submitting your issue - thank you!

[*] I have checked the superset logs for python stacktraces and included it here as text if any
[*] I have reproduced the issue with at least the latest released version of superset
[*] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.20.4
Expected results
When I try to create a slice and I have more than one Date columns, I need to specify multiple 'Time Column'. Also I need multiple date filters in the slice. According to the number of date columns, I need more number of date filters.
Actual results
Now only one 'Time Column' and only one date filter is possible even if more than one date columns are available in the table.
Steps to reproduce

Create new slice
specify the 'Time Column'
Able to filter the data only by using the selected data column.
Only one 'since' and 'until' available. I need More than one according to the number of date columns.

Any workaround for this or plan to solve it.

Seems like a not so common use case, and can be worked around easily with the common filters and/or the WHERE clause.

@mistercrunch  thanks for the response, highly appreciated. I tried to use two filters for different time dimensions (system start date, complaint date). Only one works because in all the slices we have the option to provide only 1 time related form attribute, which can either be system start date or complaint date in my case. If I use a normal filter then I can't use last year, last 1 month etc. How you will solve such a use case.

@sanoopmm  are you able to find any workaround.

@sanoopmm @mistercrunch I was able to achieve a workaround by creating a calculated column to know the current year (value = 1) and rest period (value = 0) and then using these two values in the filter slice.
calculated column = date_field >= DATE_SUB(NOW(),INTERVAL 1 YEAR)

Please do not close.
Bi-temporal tables are fairly common, in my eyes. Like, e.g. event date vs ingest date. Or production date vs date of failure of products.

Up.
There's a common case - cohort analysis - e.g. having a table of events (thus event_date time dimension) with a "cohort_date" (another time dimension) column per event row showing the cohort date of the user we have event for. So 2 time dims and of course it would be highly desirable to have an ability to use dynamic UI time filters for bother of them - so to be able to say - show me events happened withing a time range for a cohort of users of April'2018.
Please advise on any meaningful workaround.

@zhaoyongjie, @villebro, @kgabryje, why no reaction at all?

So is not possible?

We have also main uses cases in which we need two timing filters, one for the daily trends and another for a dimension of the data (like order date, release date...)
We have also some cases in which we need more than two, for example to analyse the status of requests that have multiple states.
Please advice on a workaround.

Hi @itziarmj I'm working on the PR, I will resolve this case.

Since the fantastic work by @zhaoyongjie has merged, I'm going to call this issue closed. Please turn on the GENERIC_CHART_AXES feature if you need this feature. This flag will be deprecated/removed in a forthcoming major version of Superset, so you can consider this one completed, in beta, and on the road to being in everyone's hands.


[HACKATHON] Various virtualization related bug fixes

Closes #6490, #6491, #6492
What's Changed

[x] Fixed vlan_group field is not filtered by locations field input on VLANForm
[x] Added missing vrf field to VMInterfaceForm and VMInterfaceCreateForm
[x] Added missing vrf_count column to Prefix table in PrefixListView

Screenshots

TODO

[x] Explanation of Change(s)
[x] Added change log fragment(s) (for more information see the documentation)
[x] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example App Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Added test coverage https://github.com/nautobot/nautobot/pull/6494/commits/5c4afcbf1bda1221e39b8cdefc5b3698ebf5cc67


security update

@jekkyll76
Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.


fix nestia core dependencies

Main changes
moved peerDependencies that is in dependencies into devDependencies and remove unnecessary peerDependencies.
Issues
The dependencies that should be in peerDependencies are causing peer dependency conflict with older version of NestJs
Dependencies moved to devDependencies

@nestia/fetcher,
@nestjs/common
@nestjs/core
raw-body
reflect-metadata
rxjs
typia

Dependencies removed

@nestjs/platform-express
@nestjs/platform-fastify

How older version of NestJS you are using?
The libraries you've erased in the dependencies are actually used in the @nestia/core.
If you remove them, there would not be any problem when you're using npm, but becomes error in the pnpm.

Will be published after 2 hours later with deep testings.

The dependency problem had not been caused by the dependencies of @nestia/core, but from @nestjs/platform-express and @nestjs/platform-fastify. I'll fix it after an hour.


[Investigation / Brainstorming] - Additional Event Information

Overview
We are starting to run out of things to do for the dashboard so I need someone (you!) to be the acting product manager this sprint to help us brainstorm work for Sprints 4 and 5. You'll do a bit of research on other types of events or information we want to collect and then write up a short "report" (really just a paragraph or two) on what you found.
Acceptance Criteria

[x] Look into what other types of events we might want to collect (i.e., we currently have click, visit, and input events but look at different websites or frameworks and see what other types of interactions we can log - for example, one I can think of off the top of my head would maybe be an ActivityEvent where we log things like time spent on web page, etc.)
[x] Look into what other information we might want to log in our event interfaces- a good place to start might be looking at what other frameworks log (i.e., see what Amplitude Analytics, Google Analytics, etc. logs)
[ ] Write up a short product feature spec on:

[ ] What new types of events we want to log
[ ] What information we want to gather for each new type of event
[ ] What other information we might want to keep track of in pre-existing events

Notes
You can write this up on a google doc, directly here on Github, or on Notion

New Types of Events to Log:

ActivityEvent: This event will capture user engagement metrics such as time spent on a web page, scroll depth, and session duration. These metrics will provide insights into user behavior and help optimize the user experience.

FormSubmissionEvent: This event will track when a user submits a form on the website. It will include details such as form ID, fields submitted, and submission timestamp. Understanding form submission patterns can aid in optimizing form layouts and improving conversion rates.

Information to Gather for Each New Type of Event:

ActivityEvent:

Time spent on page (in seconds)
Scroll depth (percentage scrolled)
Session duration (start and end timestamps)

FormSubmissionEvent:

Form ID or name
Field values submitted
Submission timestamp

Additional Information for Pre-existing Events:

Click Events:

Enhance with metadata such as button or link labels
Include timestamp of the click event

Visit Events:

Capture referral source (e.g., direct, organic search, referral)
Record landing page URL

Input Events:

Extend to include input field type (e.g., text, dropdown, checkbox)
Store timestamp of input event

This aims to deepen our understanding of user interactions and behaviors on the website, to make data-driven decisions to enhance the user experience and drive better outcomes.


[docs site] Add color-scheme meta tag

Fixes https://github.com/sveltejs/kit/issues/7901
Specifying color-scheme will theme the browser native elements that would otherwise not be automatically themed, such as scrollbars. "dark light" is a special value that respects the operating system preferences.
Here's what it looks like on Windows 11 with system theme set to dark:

Before
After

Note that if in the future a manual theme switcher is added to the site, then this will need to be overridden in CSS using the color-scheme property.
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

Further reading if curious:

https://blog.mayank.co/better-scrolling-through-modern-css#heading-theming-scrollbars
https://web.dev/color-scheme/

No change outside docs site, so none of the checklist items apply I hope.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thank you!


Different OOR notation for coloured or text sheet

This reverts coloured notation to underlines, the underlines now have a minimum width and are slightly thicker for better clarity.
Copying text has been changed to support this, text will use the new text notation for oor notes. Users can no longer copy the text by highlighting the sheet with their cursor.
A bug was also fixed where comments would affect the output of copied transposes.

Transpose by: 0
:1 :2 :3 :4 :5 :6 :7 :8
:9 :0 :q :w :e :r :t 1
m :y :u :i :o :p :a :s
:d :f :g :h :j

Currently, if you zoom out enough, the bottom of g is buried into the line where it looks like a q.
This confused me with if it was q or g at some point, I have tried adding padding-bottom to the oors to add space between line and char but they mess with the consistency of the vertical spacing between lines. Is there a way we could solve that?

Hmm, no I can't think of anything that would solve this. It was somewhat more clear previously because the underline was thicker than the letter itself, but with the letters being bold now I don't think we could do anything about it. I'll merge this and if we get any complaints/think of anything else we'll see what can be done instead.


Water shaders look completely different from sample video (URP)

Hi I just bought your asset and hope this is the right place to report an issue. This is what my water demo scene looks like. I have not made any changes since importing the asset. As you can see, the objects in the top row aren't even transparent like in the demo video I saw on the asset store page.

I'm using Unity 2019.4.1f1, and am on URP 7.3.1, version 2.0.6 of your asset. Any idea what's causing this problem?

Thank you for reporting the issue. We'll look into it and write back.

Could you please navigate to Project Settings -> Graphics and insert [FlatKit] Example Settings URP file into Scriptable Rendering Pipeline Setting field.
Please, do this in Quality tab's Rendering field as well. Let us know if it still don't work.

Adding it to Graphics tab only did not work, but it worked once I added it to Quality tab as well. May I know what are the important settings to change from the default URP render pipeline asset to make the water shaders look correct?
Also, how viable are these water shaders on mobile in your opinion (when used sparingly)?
Thanks a lot for the reply.

In the Universal Rendering Pipeline Asset settings, there should be Depth Texture and Opaque Texture turned on. These settings are off by default.
The water shader should work well on mobiles. If you've got an issue with getting it to work with mobiles, send us a message to info [at] dustyroom [dot] com

Sorry to add on but I've realised that the water shader doesn't work with an Orthographic camera... I didn't see this limitation stated anywhere in the documentation. Slightly disappointed about that... It looks ok in the scene view but is broken in Game view. I'm guessing this is an unfortunate limitation of the shader?

This must be a bug with the water shader, we weren't aware it fails with an ortho camera.
We'll take a look and update here.

Hiya,
Very glad to see you guys are working on an update on this. Do you perhaps have a rough ETA on when you believe this update will go live? And when it goes live, I can just update it via my Package Manager as per usual?
Thank you for your time and effort on this. Cheers,

Hi, it's really hard to say what time it will take but it is a high priority one, so it shouldn't take long.
And yes, there will be a notification about a free update in Package Manager.

Hi, it's really hard to say what time it will take but it is a high priority one, so it shouldn't take long.
And yes, there will be a notification about a free update in Package Manager.

Thanks :)

This should be now fixed in Flat Kit 2.0.6.
Please re-open the issue if it is not resolved.


Cupcake content: components

Wonil-Suh1 created the following on Aug 05:
Introduction
This story is part of the first phase work (research) towards the cupcake website.
The problem
As a designer / developer, I need to understand how do design and build with components.
Expected outcomes

[ ] A list of pages, each with description, references if applicable

Original issue: https://github.ibm.com/webstandards/digital-design/issues/1363

On Aug 08, chsanche commented:
Update: Met with Olivia and agreed on the task steps today. Olivia will move forward with the task as soon as she is done with the current sprint priority.
Work document can be viewed here.

On Aug 22, chsanche commented:
@Olivia-Flory Please add the list and additional information around the page content detail exploration you have in the Box document as discussed this morning. Feel free to let me know if you would like to take another look together whenever you are ready.

On Aug 22, Olivia-Flory commented:
I've done a bit of research around other design systems and the Carbon content within the component pages to get a sense of:

what we need to cover
what other systems cover
what Carbon has and where the components are unique

The components vary between content and
I've put together an outline of what I think could be good from a wedding cake perspective and gone through to pull out the essentials for the cupcake website.
Wedding cake content ideas

Cupcake content
italic indicates nice to have if we can get to it
Overview / General guidance

Description of components
use case and action

Variations

Interactive example
code snippet
use case for each variation (ie why primary vs secondary button)

Content & format guidelines

heading
labels
format
(dropdown) options
default values
helper text
placeholder text
error / success / validation states
accessibility best practices
length
order
text
header
body
footer
title
message
dismissal
icons

Specs
Color

class
property
token

Typography

class
size
weight
token / type style

Structure

class
property
px/rem
spacing token

Visual example

(note this will take a lot of production work)
spacers
padding
sizing

Recommended

things that are not built into component but recommended

Dev documentation
SCSS

mixins
modifiers
Files

Javascript

public methods
options
events
getting component classes

Should we include a link to edit the page like Carbon has?

On Aug 22, chsanche commented:
@Olivia-Flory What you shared is great for the page content design. We will need it when we are ready to dive into the page content design phase.
For now, can you confirm the items listed below is what you are expecting to have for the Cupcake website "Components" section?

[ ] Overview
[ ] Component status
[ ] Accordion
[x] Button
[ ] Chat (CMaSS / UMX)
[x] Checkbox
[ ] Code snippet
[ ] Content switcher
[ ] Data table
[ ] Date picker
[x] Dropdown
[ ] File uploader
[ ] Form
[x] Footer
[ ] Inline loading
[ ] Left navigation
[x] Link
[x] List
[ ] Loading
[x] Locale selector
[x] Masthead
[x] Modal
[ ] Notification
[ ] Number input
[ ] Overflow menu
[x] Pagination
[ ] Progress indicator
[x] Radio button
[x] Search
[ ] Select
[ ] Slider
[ ] Structured list
[x] Tabs
[x] Tag
[x] Text input
[ ] Toggle
[ ] Tooltip

On Aug 22, chsanche commented:
Nice. Now. Viewing the listed below, can you set priority for website page development based on your understanding of the adopter needs?
Please set priority from 1 to 16 (since we have a total of 16 component pages here), if you can.
If you do not have enough information to prioritize them at this moment, it is ok, please let me know.
1 = The first page we MUST have for the Cupcake website "Components" section because, without it, our adopters absolutely can not complete their day to day tasks.
16 = Our adopters needed but it has less impact on what they need to have to complete their day to day tasks.

Pattern
Prority (based on Olivia)

Overview
16

Button
3

Checkbox
6

Dropdown
14

Footer
2

Link
4

List
13

Locale selector
15

Masthead
1

Modal
12

Pagination
8

Radio button
7

Search
5

Tabs
9

Tag
11

Text input
10

On Aug 22, linda-carotenuto commented:
Not sure why a priority is needed from design, maybe that column could be  readiness

On Aug 22, chsanche commented:
^^^ Awesome. Thanks @Olivia-Flory!

On Aug 22, chsanche commented:
@linda-carotenuto I am looking at priority set up from the stream leads and adopters so we know how to refine the sitemap for the Cupcake website and break the content list into batches for development down the road. Let me know if my comments make sense.

On Aug 29, chsanche commented:
@Wonil-Suh1 We will be working on the page detail when we get to the content crafting along with a format for content display across the website.
The footer is listed above and the Leadspace is included in the Pattern content list task issue #1364.

On Aug 29, Wonil-Suh1 commented:
@chsanche thank you. Can we add some descriptions on the overview page, what kind of content we may need there? Just simple bullet points. Others are clear and good.
Do you know where Leadspace and Footer are captured?

On Aug 29, Olivia-Flory commented:
@Wonil-Suh1 I have heard from the DGC designers that having an Overview page like Carbon's would be helpful to see all the components at a high level. I think this will be especially helpful when we start adding components that are outside of the core Carbon components.

What a component is
cards listing each component alphabetically


About the leGO-LOAM paper

Hi! I'm really impressed by the speed and effect brought by LeGO-LOAM after playing my own rosbag.
Therefore, I really want to have some further understanding about how leGO-LOAM works. But I was unable to find the paper "LeGO-LOAM: Lightweight and Ground-Optimized Lidar Odometry and Mapping on Variable Terrain" online.
So could you please upload the paper or provide some information about where I can find it?
Thanks a lot and have a nice day!

@Jingwen1995
Thanks for trying it out! The final draft will be ready by the end this week. It will be uploaded to the site below soon. I will mention you again once it is uploaded.
http://personal.stevens.edu/~benglot/publications.html

@Jingwen1995
https://github.com/RobustFieldAutonomyLab/LeGO-LOAM/blob/master/IROS_2018_Tixiao.pdf


Added Default Options to Google Provider.

Thanks!

This is a awesome library, I'm sure that I will use in many projects. Just a question, you intend to create other methods? example: isLogued, logout, getUser, etc.

Thanks! I'm glad you like it :)
So, at this point I leave that kind of stuff entirely up to whoever is using SimpleAuth. Sometimes you might want to store that in the keychain locally, other times you might want to send it to your own back end and return your own type of user object.
It would be hard for me to dictate how that is stored and handled. I would prefer to just be the component that handles getting the tokens from a given service and leave the rest up to you if that makes sense.
I'm always happy to hear other ideas if you have thought about this more.


Update README.md

Hi,
This small PR adds a button to get your app on F-Droid, as well as a link to get the app from the Releases Section (always good to give more options to download the app, mostly for newbies that are not aware of the Releases Section).
It also removes the button to get the app on @IzzySoft 's repo, since it will be removed from there now that your app is in the official F-Droid repo.
You can now eventually add the fdroid and/or f-droid tags that will appear on the right side of the repo.
close #14

@Poussinou

since it will be removed from there

https://gitlab.com/fdroid/rfp/-/issues/1989#note_1239659664 has not been answered yet, so I wonder if that detail came on a separate channel? But thanks for pinging me here: if this PR gets approved/merged this way, to me that'd answer the question indeed :hand_over_mouth:

@Poussinou Thanks for letting us know, we did not even notice it was already on F-Droid, since we did not get around to fix the gradle vs wrapper version mismatch and thought that had to be resolved before a publish. @IzzySoft Now that we are on F-Droid we are fine with the app being removed from your repository, thank you for hosting our app there during the last year!

Thanks for confirming, @JakeGonder – always feels a bit weird removing an app if the author did not respond (as one never knows why the response was missing: doesn't care, or didn't get the notification?) :smile: Is marked for removal then, after a decent overlap.


Breakpoints in debug mode get disabled on Case statements

Describe the bug
When adding breakpoints in one of my projects it all looks fine (red dots are added in VS Code).
However when I hit publish with debugging, the red dots become dark circles and if I try to add other breakpoints  it shows me an error (it also shows it when the BC session starts for each breakpoint added)
"Unverified breakpoint"
"Error: It is not possible to add a breakpoint at line number x in application object type CodeUnit, ID y"
The code also doesn't stop on these breakpoints
To Reproduce
please see above
[edit]: please add the breakpoints on a Case statement or within the Case code, perhaps try even on a Case option.
AL Code to reproduce the issue
Expected behavior
I would expect the code to stop on my breakpoints.
Screenshots

5. Versions:

AL Language: 5.0.312966

Business Central: docker container as per below
Version: NZ Business Central 16.3 (Platform 16.0.14073.15236 + Application 16.3.14085.15266)
Azure AD tenant: common, Environment: Sandbox (Sandbox)

It seems the problem is when adding breakpoints on or inside case statements and I am not the only one who had this.
A colleague told me even when it works, it doesn't stop on the line you add the breakpoint, so it's a known issue.
I placed a breakpoint outside and it worked, let me know if you can release a fix in AL or if it is a VS Code issue?
Cheers,
Robert

Hi! Can you provide a project to reproduce this and a video/screenshot with the breakpoints placed?

Hi Alexandru,
Please find the screendumps of a sample hello world created with AL:GO with a simple Case function.
You will see that if you place a breakpoint on the Case instruction it won't stop there.
Cheers,
Robert

Thank you!

I think this has been fixed. But as I know it required a server fix, so I do not know if it will be available on 17.X only or whether it has been backported to 16.X

been fixed. But as far as I know it requ

That's great news, is this mentioned anywhere by Microsoft?
Would be great to see if it's backported or when it is planned for release? I suppose 2020 Wave2, but if it's backported, then maybe earlier?
Cheers,
Robert

@robertosb, can you give it a try in our latest developer preview? This issue has been fixed and was backported to 16.x too. #5597 provides more information about it, as they seem to be reporting the same issue.

I am closing this issue because it appears that it has been resolved. Please open a new issue if you believe this has not been resolved and reference the current issue.


CDPSDX-4016 Enable compression for datalake database backup/restore.

Motivation
We want to improve chances of a successful backup.
We want to use less disk space for backup creation/restoration by using compressed backup files.
Idea
We can only benefit from compression if the "custom" backup format is used since it natively supports compressed files, for "plain" backups we would need to have full file on the filesystem to use it on backup/restore.
Limitations

We cannot use "custom" for the "ranger" database since we are performing backup file manipulations in between (text replacement).   Fortunately this database is not big and does not benefit much from being compressed.
We want to support old uncompressed backup formats (plain)

Proposed solution

Never compress the "ranger" database
Introduce the entitlement CDPSDX-4008 to enable compression and use the new backup script. The old way proven to work and customer will use it by default by now but if space becomes a problem we move customers to a comressed version with this entitlement.
Distinguish backup files - if it is of SERVICENAME_backup then it is old uncompressed plain backup - use old restore path, if it is SERVICENAME_backup.dump then use new restore (standard postgres pg_restore)
Compression level is defined via salt script parameters coming from CB. Default is "1" which is fastest. Note: default in postgress is "6". We can change this later without updating salt scripts on customer side.
To isolate changes introduce a new Salt state and script which also will use command line argument switches instead of positional arguments - this allows us to introduce new options to backup script. The existing script is hard to extend this way.
script example:

/opt/salt/scripts/backup_db_compressed.sh -s s3a://eng-sdx-daily-v2-datalake/sartyukh-088-dl/backups/27ad335f-787e-41fc-9066-1d8d1dad3b8c_database_backup -r _c_environments_adminranger -c true -z 1 hive ranger

Testing
Manual tests:

backup/restore with entitlement
backup/restore  without the entitlement.

please move GH desc to commit message, so it would be preserved

please move GH desc to commit message, so it would be preserved

done

retest

Few comments:

Have you verified that this will work as is if someone runs a manual backup? i.e. do we have all the appropriate arguments with default values set up for this to be successful?
Are we essentially deprecating the old backup db script? I see that it is no longer present in the sls file, implying that it is not used at all anymore. If that is the case, why not delete it or just replace it with the new script you have created?

QQ: Did you consider adding compression to db backup in case of Postgres upgrade flow? See orchestrator-salt/src/main/resources/salt/salt/postgresql/upgrade/scripts/backup_db.sh and restore_db.sh

Have you verified that this will work as is if someone runs a manual backup via Salt commands? i.e. do we have all the appropriate arguments with default values set up for this to be successful?

Yes, that was verified.

Are we essentially deprecating the old backup db script? I see that it is no longer present in the sls file, implying that it is not used at all anymore. If that is the case, why not delete it or just replace it with the new script you have created?

We are deprecating the old backup script and will remove it.

QQ: Did you consider adding compression to db backup in case of Postgres upgrade flow? See orchestrator-salt/src/main/resources/salt/salt/postgresql/upgrade/scripts/backup_db.sh and restore_db.sh

this is out of scope. This compression is entitlement based and has limited effect now.

rebased to resolve conflicts


Closest Pair Of Points solved in cpp (Issue : https://github.com/pratik-choudhari/AlgoCode/issues/450)

Description
A comprehensive description about the Pull Request
Reference Issue number #issue_no
issue_no must refer to the issue related to this PR, visit here
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
NOTE: Check boxes using [x]

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, with problem description and my name.
[ ] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have starred this repository.
[ ] I have added a working sample/screenshot of the script.
[x] I have checked for trailing spaces in file names and none have them.

Isssue #450


Fix invalid HTML

Fix HTML in the following cases:

Changelog contains <, >, & characters
Stage page without filter value
Deferred scripts on any page

thanks, looks good to me


Admin - Refactor & Update

May be easier to look through these commit by commit.

Update materialize-css, mithril, jquery
Use shorthands in mithril-related code (m.component -> m; id -> #; 'class->.`)
General refactoring (fixing bugs, extracting code, improving readability)
Move source js/css files into their own folders
Remove dummy files

@ndt93 I'll appreciate it if you look over this.

Looks good to me. I suppose those are mostly GUI boilerplates so there shouldn't be logic problems.


[framework] don't composite with a scale of 0.0

I'm pretty sure that 0.0 times anything is 0.0. Except for maybe infinity, but don't quote me on that.
Fixes https://github.com/flutter/flutter/issues/106974

I'm pretty sure that 0.0 times anything is 0.0. Except for maybe infinity, but don't quote me on that.

But a transform is a sum of 3 or 4 factors some of which can be zero... ;)

Thanks @flar !


Update the Documenter version

For me, Documenter.jl version 0.23 was unable to generate the documentation after I copied this project. It did work after updating to 0.24.10. This pull request proposes the newest version of Documenter.jl, that is, 0.25.1.

Coverage remained the same at 100.0% when pulling dc53c124db9fa2bc436d11ca3cbf9cfb12eea60d on rikhuijzer:patch-1 into 025cf7e31d2e5cd36c07e95321dbbeaaba03738d on JuliaLang:master.

Coverage remained the same at 100.0% when pulling dc53c124db9fa2bc436d11ca3cbf9cfb12eea60d on rikhuijzer:patch-1 into 025cf7e31d2e5cd36c07e95321dbbeaaba03738d on JuliaLang:master.


Add Automatic Sphinx Documentation

As we onboard new users, we need to make the library more accessible. Some of the classes have gotten very big and complex.
This project enforces Sphinx-styled documentation and we should use that to our advantage. If we autogenerate documentation, lirbrary users will have a guide where they can quickly look-up library functions and features (without having to sift through the code).
As we don't have a clear place to host this documentation, I would like to start out by having a tool that scans the project, generates Markdown files, and commits them to docs/. Ideally this should run as part of our pre-commit process. Doing this should ensure that commits and PRs will fail if the docs have not been updated, keeping our docs automatically up to date.
I would also like to have a make docs command to trigger the documentation manually.
Open Questions:

Should we publish private class, function, module, etc information? Can files/functions marked with _ be ignored?

We'll make improvements to this over time, but I'm going to call this done for now with the contributions Mahe and I made today. Go team!


Create variable code action not supported for object-constructor and error-constructor Expressions

Description:
$subject.
The reason for,

object-constructor-expr not supported is due to ambiguity in parsing with object-type-descriptor
error-constructor-expr not supported is due to ambiguity in parsing with error-binding-pattern

Since we have a predictive parser with no backtracking, we can't distinguish the two cases.

The reason for,

object-constructor-expr not supported is due to ambiguity in parsing with object-type-descriptor
error-constructor-expr not supported is due to ambiguity in parsing with error-binding-pattern

@lochana-chathura Will this be supported anytime soon? came across the use case(create variable for error-constructor) couple of times while using ballerina.

@lochana-chathura is there a plan to support this? If not, shall we close this as Won't Fix?


java.net.UnknownHostException thrown when ip-#-#-#-# pattern has no reverse lookup

This issue did not appear in our (theoretically at parity with production) Docker-compose setup during local development and integration testing.
However, when deployed to Amazon EC2 via Elastic Beanstalk, this exception is thrown, and there appears to be no way to manually configure Jesque to avoid the issue.
We are currently addressing this at the production deployment configuration layer, because the issue is immediately resolved by adding <IP_ADDRESS> ip-#-#-#-# to the /etc/hosts file (where #.#.#.# is the IP of the current machine).
However, I am curious why Resque is hard-coded to require this for the simple createName() function while instantiating a worker.
Exception in thread "main" java.lang.RuntimeException: java.net.UnknownHostException: ip-10-1-1-124: ip-10-1-1-124: Name or service not known
        at net.greghaines.jesque.worker.WorkerImpl.createName(WorkerImpl.java:755)
        at net.greghaines.jesque.worker.WorkerImpl.<init>(WorkerImpl.java:195)
        at net.greghaines.jesque.worker.WorkerImpl.<init>(WorkerImpl.java:157)
        at net.greghaines.jesque.worker.WorkerImpl.<init>(WorkerImpl.java:141)
        at io.xj.core.database.redis.impl.RedisDatabaseProviderImpl.getQueueWorker(RedisDatabaseProviderImpl.java:31)
        at io.xj.core.work.impl.WorkManagerImpl.getWorker(WorkManagerImpl.java:68)
        at io.xj.core.app.AppImpl.lambda$start$0(AppImpl.java:95)
        at io.xj.core.work.RobustWorkerPool.<init>(RobustWorkerPool.java:135)
        at io.xj.core.work.RobustWorkerPool.<init>(RobustWorkerPool.java:104)
        at io.xj.core.app.AppImpl.start(AppImpl.java:96)
        at io.xj.worker.Main.main(Main.java:122)
Caused by: java.net.UnknownHostException: ip-10-1-1-124: ip-10-1-1-124: Name or service not known
        at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
        at net.greghaines.jesque.worker.WorkerImpl.createName(WorkerImpl.java:748)
        ... 10 more
Caused by: java.net.UnknownHostException: ip-10-1-1-124: Name or service not known
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
        at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
        ... 11 more

The name of the worker matches the Resque worker naming scheme defined here:
https://github.com/resque/resque/blob/e0f850f087160362cec1ae3759c7c1e1d9190381/lib/resque/worker.rb#L777
You can subclass WorkerImpl and override the createName() method to modify the default behavior if that's easier than modifying the environment.

Thanks for the tip @gresrun -- the environment update seemed best overall, and Jesque has been working very well.


DataGrid - rows per page dropdown is absent

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
rowsPerPage dropdown is absent in the TableFooter
Expected Behavior 🤔
rowsPerPage dropdown has to be present in the TableFooter
Steps to Reproduce 🕹
According to DataGrid Material-UI API, the rowsPerPage dropdown has to be present in the TableFooter, as in the official documentation here:
https://material-ui.com/components/data-grid/pagination/#page-size

But when I open this example in CodeSandbox, this feature is absent at the UI: https://codesandbox.io/s/f8fv5

The "Rows per page" dropdown is only displayed when the viewport width is at least 960 px.


Translation for German - de

Issue - Translation for other languages #439

@housseindjirdeh @andrewda Please review.

@Rishabh04-02 German is your native language?

@lex111 Please review.

German is your native language?
No, Its not.

@Rishabh04-02 thanks for the help, although it was not written in the issue #439, but it is desirable, of course, that the translation was from the native speaker, since then it will be more accurate. Because the translation with Google Translate sometimes gives unexpected results.
@housseindjirdeh what should we do in this case? Waiting for the native translator to check this translation?

@lex111 Yaa, I can understand that It's important to validate the content from native speaker 👍.
But please mention this requirement in the issue #439 , as It is possible that few more developers are doing the same thing as I did and not knowing this initially will waste their time and their efforts will go in vain.

I can review, german is my native language @lex111

@FlorianTaut ok, that was cool!

@Rishabh04-02 did you translate this with google translator? Because I just read some lines and they make no sense.

@FlorianTaut

@Rishabh04-02 did you translate this with google translator? Because I just read some lines and they make no sense.

Yes, I've used google translator for most of the translations and the English to German dictionary for the others.

The problem is, this translation is nearly unuseful. 90% are wrong translated and make no sense.
How should we go on with this?
There is so much to do that in my opinion it would be more useful to delete this pr an make a complete new one. I already have it translated but I’m currently not possible to test it in the emulator so I didn’t sent a pr yet.

Well done, if this given translation is almost completely incorrect, and there is a good translation, I agree, it makes no sense to edit the current PR and it should be closed then.
@FlorianTaut you have previously sent a PR with a German translation and closed because it was not possible to check? Well, if the translation was finished, then you did not need to close the PR, because In any case, this is a fixable problem, after all, someone else has checked that the application is working with a new translation.
In general, if there is a translation, send PR, the main thing is to have the correct translation. If something does not work, then you can write to Gitter, we will try to help you.

@FlorianTaut Thanks for reviewing, I've closed the PR now.

@Rishabh04-02 thanks anyway for wanting to help. If you know React Native, and you have a desire to help, then you can take another issue, we will be glad and will try to help if there are difficulties.

Thank you for this @Rishabh04-02 and apologies on my part, I should have been more clear in the contributing docs that we're looking for language speakers to translate our content in depth. I pushed a commit to make things more clear.
Really appreciate the time you took to translate each string and please don't hesitate to snag any issue you think you'd like to help with as @lex111 mentioned.

@housseindjirdeh @lex111 Thanks for the steps you took to avoid such problems in future. I'll be looking forward to contribute to this awesome project 😄 .

Thank you so much mate, can't tell you how much we appreciate that :tada: :tada: :tada:


Add zoomage_ before all XML attrs

This more closely guarantees a safe XML attribute declaration, since zoomage_ will be a part of the attribute's name.

I'll open a PR for this shortly.


Unable to connect with pump

Hi,
i have pump medtronic 722WW. I tried to connect, but pump doesn't react. I build mmtune to check frequency.
I changed MMTUNE_START in pump_config.h to 868000000 and after scanning i have "Best frequency 0Hz". Every attempts end "wakeup failed". I set remote control in the pump settings. What am i doing wrong? Or what should i do to connect with pump.

What kind of ESP32/LoRa module are you using, and what antenna do you have connected to it?

I  use link

The README says in bold, italic letters that Version 2 modules are not supported.


Update Cache docs to mention that it's not thread safe and should be a singleton

Quite a few people have been running into some concurrency issues with Cache (see https://github.com/square/okhttp/issues/8080, https://github.com/square/okhttp/issues/3938, https://github.com/square/okhttp/issues/6280, https://github.com/voghDev/PdfViewPager/issues/175, etc).
Most likely for all of them they are either creating more than one Cache object on the same directory/file, or accessing it from different threads. But it's not clear from the docs that this would cause a problem.
The doc comment for Cache should be updated to mention that it is not thread-safe and that only one Cache object per directory should be created (i.e. make it a singleton).

As well as some docs, we should consider something like checking a static set of locks. ExoPlayer SimpleCache does this.
https://github.com/androidx/media/blob/3f366109b7e5cbf7b7e5b46e8b923e167e9ae893/libraries/datasource/src/main/java/androidx/media3/datasource/cache/SimpleCache.java#L83C38-L83C57

@odbol I don't think it's lack of thread safety, I think it's not safe with multiple cache instances on the same directory.


Issue 7.caceres.initial

Pull request questions
Which issue does this address
ISSUE 7
Why was change needed
Add POST/PUT options to load records.
What does change improve
Adds the ability to load records.

Issue number: #7


move PublicHeader to separate packet

It could be useful e.g. for building a QUIC proxy.
We have to think about how we make the packet number accessible, since the header itself just contains the shortened packet number.

I don't think the (exact) packet number matters for what most proxies will want to do (reverse proxy or test dropping every Nth packet like we do now).

True. Maybe it's sufficient if we properly document that the PacketNumber field just contains the shortened packet number.

E.g. by naming it ShortenedPacketNumber? ;)
On Tue, 7 Feb 2017 at 11:39 Marten Seemann<EMAIL_ADDRESS>wrote:

True. Maybe it's sufficient if we properly document that the PacketNumber
field just contains the shortened packet number.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lucas-clemente/quic-go/issues/412#issuecomment-277961595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4CEuHenG9XqUNM1yopniKygoYaA7X0ks5raEnggaJpZM4L5UUZ
.

Well, I thought about that, but we're using the same field in the Write method, where it's supposed to be the full packet number.

We could move the shortening logic out of Write.

And pass a separate parameter determining the written packet number length to Write? Maybe that's not a bad idea.

I don't think we'll need a separate parameter. Just use the shorstest
possible representation for the number passed in.
On Tue, 7 Feb 2017 at 11:58, Marten Seemann<EMAIL_ADDRESS>wrote:

And pass a separate parameter determining the written packet number length
to Write? Maybe that's not a bad idea.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lucas-clemente/quic-go/issues/412#issuecomment-277965637,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4CEoZ5a3sBknKOEuef2me3dgHC9jQYks5raE5AgaJpZM4L5UUZ
.

I don't think that's possible. There will be cases where we need to send a 2 byte packet number, but the shortened form is between 0 and 0xFF.

Looking at the current implementation of the PublicHeader, I think all of this should be really easy. We're already setting the PacketNumberLen before calling Write, so there's nothing we need to change.
I'll create a PR tomorrow.

As discussed with @lucas-clemente yesterday, it might be nicer to have all public API in one packet (the main packet quic). This would lead to nice naming as well, e.g. quic.PublicHeader, quic.Session, quic.Stream.
So we probably shouldn't fix this issue. We'll make a final decision after we merge the new-api branch though.

Now that the new API is merged (#420), we decided to leave the PublicHeader in the quic packet.


Race conditions in the date parsing?

Symptoms:
The API crashes with a NumberFormatException, if all tracks of a playlist are fetched while another request concurrently fetches the playlist information. While you could and probably should work around that here, by just using the Paging<PlaylistTrack> the playlist request returns, the error might also happen in other circumstances.
What I did already:
This does not happen when manually stepping through with a debugger, which made me believe it could be timing related. An exception breakpoint finally revealed a call to parseDouble, which was correct, but was passing invalid data down to readJavaFormatString. Some more reading through the docs of SimpleDateFormat revealed this passage: Date formats are not synchronized. It is recommended to create separate format instances for each thread. If multiple threads access a format concurrently, it must be synchronized externally.
To test this hypothesis, I replaced the public static final SimpleDateFormat SIMPLE_DATE_FORMAT causing it with my own subclass, which just synchronizes all methods against the object itself. This effectively stopped that error from happening, which sounds like it could have indeed been the culprit. While I was constrained by reflection, you can also explore ThreadLocal (as the docs suggested) or other solutions.
Stacktrace:
java.lang.NumberFormatException: multiple points
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1890)
	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
	at java.lang.Double.parseDouble(Double.java:538)
	at java.text.DigitList.getDouble(DigitList.java:169)
	at java.text.DecimalFormat.parse(DecimalFormat.java:2056)
	at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1869)
	at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1514)
	at java.text.DateFormat.parse(DateFormat.java:364)
	at com.wrapper.spotify.model_objects.specification.PlaylistTrack$JsonUtil.createModelObject(PlaylistTrack.java:146)
	at com.wrapper.spotify.model_objects.specification.PlaylistTrack$JsonUtil.createModelObject(PlaylistTrack.java:136)
	at com.wrapper.spotify.model_objects.AbstractModelObject$JsonUtil.createModelObjectArray(AbstractModelObject.java:71)
	at com.wrapper.spotify.model_objects.AbstractModelObject$JsonUtil.createModelObjectPaging(AbstractModelObject.java:120)
	at com.wrapper.spotify.model_objects.specification.Playlist$JsonUtil.createModelObject(Playlist.java:435)
	at com.wrapper.spotify.model_objects.specification.Playlist$JsonUtil.createModelObject(Playlist.java:378)
	at com.wrapper.spotify.model_objects.AbstractModelObject$JsonUtil.createModelObject(AbstractModelObject.java:53)
	at com.wrapper.spotify.requests.data.playlists.GetPlaylistRequest.execute(GetPlaylistRequest.java:35)
	at com.wrapper.spotify.requests.data.playlists.GetPlaylistRequest.execute(GetPlaylistRequest.java:13)
->      at me.ialistannen.spotify.SpotifyApiHelperKt$toSingle$1.call(SpotifyApiHelper.kt:28)
	at io.reactivex.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:44)
	at io.reactivex.Single.subscribe(Single.java:2846)
	at io.reactivex.internal.operators.single.SingleToObservable.subscribeActual(SingleToObservable.java:34)
	at io.reactivex.Observable.subscribe(Observable.java:11040)
	at io.reactivex.internal.operators.observable.ObservableMap.subscribeActual(ObservableMap.java:33)
	at io.reactivex.Observable.subscribe(Observable.java:11040)
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:463)
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

MWE:
import com.wrapper.spotify.SpotifyApi
import com.wrapper.spotify.model_objects.specification.Paging
import com.wrapper.spotify.model_objects.specification.Playlist
import com.wrapper.spotify.model_objects.specification.PlaylistTrack
import com.wrapper.spotify.requests.IRequest
import io.reactivex.Observable
import io.reactivex.Single
import io.reactivex.schedulers.Schedulers

fun main(args: Array<String>) {
    val url = "<playlist url>"
    val secret = "<client secret>"
    val id = "<client id>"

    val api = createSpotifyApi(secret, id)

    api.getPlaylistName(url.getUserAndPlaylistId())
            .subscribeOn(Schedulers.io())
            .subscribe {
                println("Name is: $it")
            }

    api.getPlaylistTracks(url.getUserAndPlaylistId())
            .map {
                it.track
            }.subscribe {
                println(it.name)
            }
}

private fun createSpotifyApi(clientSecret: String, clientId: String): SpotifyApi {
    val api = SpotifyApi.builder().setClientId(clientId).setClientSecret(clientSecret).build()

    val credentials = api.clientCredentials().build().execute()
    api.accessToken = credentials.accessToken

    return api
}

private fun String.getUserAndPlaylistId(): Pair<String, String> {
    val regex = Regex("user/(.+?)/playlist/(.+?)[^a-z0-9A-Z]")
    val match = regex.find(this) ?: throw IllegalArgumentException("Invalid link")
    val values = match.groupValues
    return values[1] to values[2]
}

private fun SpotifyApi.getPlaylistName(playlistData: Pair<String, String>): Observable<String> {
    return getPlaylist(playlistData.first, playlistData.second).build().toRxSingle<Playlist>()
            .toObservable()
            .map {
                it.name
            }
}

private fun <T> IRequest.toRxSingle(): Single<T> {
    return Single.fromCallable { this.execute() as T }
}

private fun SpotifyApi.getPlaylistTracks(playlistData: Pair<String, String>): Observable<PlaylistTrack> {
    return getPlaylistsTracks(playlistData.first, playlistData.second).build()
            .toRxSingle<Paging<PlaylistTrack>>()
            .toObservable()
            .flatMap {
                Observable.fromArray(*it.items)
            }
}

Thanks for the great description! Haven't seen such a detailed and properly formatted one in a long time :)
Unfortunately my time is very limited at the moment and threading is not my strength when it comes to Java. Because of that it will take me some time to fully understand and resolve this issue. Sorry about that. In the meantime you could go ahead and add more information if you find such. That would speed things up ;)
I have potential dumb question too: what does MWE mean? And what Java dialect is it that uses fun and val? Thanks in advance :)

I'm glad the format was alright :)

Unfortunately my time is very limited at the moment and threading is not my strength when it comes to Java. Because of that it will take me some time to fully understand and resolve this issue. Sorry about that.

No problem at all :)
MWE stands for Minimum Working Example, i.e. the shortest amount of code that consistently reproduces the error. Maybe you know that as a SSCCE.
It is Kotlin code, I just copied it from my project and tweaked it a bit. I will append a rough translation to Java at the end of this comment, also removing the need for RxJava.
I am not sure what other data I could gather, as the error seems to be exactly that this SimpleDateFormat is shared between threads — an operation that is not safe. At least this is extremely likely, given the location of the error and the fact that the error stopped happening when I manually synchronized the date format.
A simple fix could be anything, from a synchronized subclass, from wrapping that date format in a synchronized block to managing it in a ThreadLocal and dealing with the fallout to other classes.
I changed the SpotifyApi class to this, for example, resolving the error as well:
--- a/src/main/java/com/wrapper/spotify/SpotifyApi.java
+++ b/src/main/java/com/wrapper/spotify/SpotifyApi.java
@@ -31,7 +31,9 @@ import com.wrapper.spotify.requests.data.users_profile.GetCurrentUsersProfileReq
 import com.wrapper.spotify.requests.data.users_profile.GetUsersProfileRequest;

 import java.net.URI;
+import java.text.ParseException;
 import java.text.SimpleDateFormat;
+import java.util.Date;
 import java.util.TimeZone;
 import java.util.logging.Logger;

@@ -81,8 +83,16 @@ public class SpotifyApi {
    * The date format used by the Spotify Web API. It uses the {@code GMT}  timezone and the following pattern:
    * {@code yyyy-MM-dd'T'HH:mm:ss}
    */
-  public static final SimpleDateFormat SIMPLE_DATE_FORMAT = makeSimpleDateFormat(
-          "yyyy-MM-dd'T'HH:mm:ss", "GMT");
+  private static final ThreadLocal<SimpleDateFormat> SIMPLE_DATE_FORMAT = ThreadLocal
+      .withInitial(() -> makeSimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss", "GMT"));
+
+  public static Date parseDefaultDate(String input) throws ParseException {
+    return SIMPLE_DATE_FORMAT.get().parse(input);
+  }
+
+  public static String formatDefaultDate(Date date) {
+    return SIMPLE_DATE_FORMAT.get().format(date);
+  }

   private final IHttpManager httpManager;
   private final String scheme;

The correct way to solve that likely depends on the number of threads and how often you access it, if you need to fine tune performance. I don't know that about your application, so you'll have to decide that.
MWE (java):
package me.ialistannen.spotify;

import com.wrapper.spotify.SpotifyApi;
import com.wrapper.spotify.model_objects.credentials.ClientCredentials;
import com.wrapper.spotify.model_objects.specification.PlaylistTrack;
import com.wrapper.spotify.requests.data.playlists.GetPlaylistRequest;
import com.wrapper.spotify.requests.data.playlists.GetPlaylistsTracksRequest;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javafx.util.Pair;

public class ICrash {

  public static void main(String[] args) throws Exception {
    String url = "<playlist url>";
    String secret = "<client secret>";
    String id = "<client id>";

    SpotifyApi api = createSpotifyApi(secret, id);

    new Thread(() -> {
      try {
        String playlistName = getPlaylistName(api, getUserAndPlaylistId(url));
        System.out.println("Playlist name is: " + playlistName);
      } catch (Exception e) {
        e.printStackTrace();
      }
    }).start();

    for (PlaylistTrack track : getPlaylistTracks(api, getUserAndPlaylistId(url))) {
      System.out.println(track.getTrack().getName());
    }
  }

  private static SpotifyApi createSpotifyApi(String clientSecret, String clientId)
      throws Exception {
    SpotifyApi api = SpotifyApi.builder()
        .setClientId(clientId)
        .setClientSecret(clientSecret)
        .build();

    ClientCredentials credentials = api.clientCredentials().build().execute();
    api.setAccessToken(credentials.getAccessToken());

    return api;
  }

  private static Pair<String, String> getUserAndPlaylistId(String url) {
    Pattern regex = Pattern.compile("user/(.+?)/playlist/(.+?)[^a-z0-9A-Z]");
    Matcher matcher = regex.matcher(url);
    if (!matcher.find()) {
      throw new IllegalArgumentException("Invalid link");
    }

    return new Pair<>(matcher.group(1), matcher.group(2));
  }

  private static String getPlaylistName(SpotifyApi api,
      Pair<String, String> playlistData) throws Exception {
    GetPlaylistRequest request = api
        .getPlaylist(playlistData.getKey(), playlistData.getValue())
        .build();

    return request.execute().getName();
  }

  @SuppressWarnings("unchecked")
  private static List<PlaylistTrack> getPlaylistTracks(SpotifyApi api,
      Pair<String, String> playlistData) throws Exception {

    GetPlaylistsTracksRequest request = api
        .getPlaylistsTracks(playlistData.getKey(), playlistData.getValue())
        .build();

    return Arrays.asList(request.execute().getItems());
  }
}

In this project threading is only used for async execution in SpotifyApiThreading. I understand the problem you described now, but I'm not sure what the appropriate way to implement a fix for this is. If you could submit a pull request, that would be great. And if you need more information about this project I'll gladly provide it!
In case you cannot submit a PR this is open for everyone else to contribute.

PR merged, keeping this open just in case we need further comments on this (but I don't think so ;)).

Hi there!
I'm not sure if this is the proper way to ask about this but I'm getting "Invalid before cursor" using the GetCurrentUsersRecentlyPlayedTracksRequest.before() method... Is this issue related?

Could be, but I'm not sure why the error says something about cursors here. Please open another issue in which you describe the problem more detailed as with code examples and so on.

If you are not using Jitpack this issue is not related as this fix is not part of any release yet.

Version 2.0.2 was just released. I'll keep this issue another 4 days open.


Add support for nofollow

Adds support for skipping HTML links in the following format:
do not follow me

Fixes #548.
@untitaker, does my implementation for html5gum make sense or is there a more elegant way to do it?

@untitaker I went ahead and merged this to add general nofollow support. Code improvements on that part are still welcome of course, so feel free to open another PR after testing init_start_tag/init_end_tag.

I forgot to submit the review! Here's what I wrote:

hmm this patch works for me:
diff --git a/lychee-lib/src/extract/html5gum.rs b/lychee-lib/src/extract/html5gum.rs
index 55d2947..92e13ec 100644
--- a/lychee-lib/src/extract/html5gum.rs
+++ b/lychee-lib/src/extract/html5gum.rs
@@ -172,13 +172,12 @@ impl Emitter for &mut LinkExtractor {
     fn init_start_tag(&mut self) {
         self.flush_current_characters();
         self.current_element_name.clear();
+        self.current_element_nofollow = false;
         self.current_element_is_closing = false;
     }

     fn init_end_tag(&mut self) {
-        self.flush_current_characters();
-        self.current_element_name.clear();
-        self.current_element_is_closing = true;
+        self.init_start_tag();
     }

     fn init_comment(&mut self) {
@@ -187,7 +186,6 @@ impl Emitter for &mut LinkExtractor {

     fn emit_current_tag(&mut self) {
         self.flush_old_attribute();
-        self.current_element_nofollow = false;
     }

     fn emit_current_doctype(&mut self) {}

to be clear the only thing i did for verification is to run cargo test --all-features

Thanks, I opened https://github.com/lycheeverse/lychee/pull/584 for that.


Able to further pretrain llama2?

As title.

Hello! I'm actively working on scaling up ReLoRA. I have not yet further pre-trained LLaMA yet, but I'm definitely interested in this.


Log io usage

Log IO api usages.
Partially-close: #4955

I opened an issue(#5052) to get consensus around logging policy and event format.
cc @datumbox @fmassa  @NicolasHug @prabhat00155


Showing the /execute command

Would it be possible to show the command that actually takes place in game on the website? As it would allow these to be built on realms and such. No worries if you can't, but it would be a quality of life improvement to copy and paste a command into a command block and bam, same result.

(I am not the creator of this website but I do have some experience with Minecraft bedrock commands)
Hello I don’t think there’s a way to place down so many blocks in one command without making a function (that contains many different commands) and then doing /function NameOfFunction
I’m pretty sure that’s what this website is doing
PS
A single command might be possible on Java addition.
Because I’ve seen some people make command block machines
Out of one command block that places down more command blocks
It unfortunately requires NBT data which is not available on the bedrock addition…

Hi !
Yes, it would be possible to do that. But I'd like to clarify something - by "the command that actually takes place in game", do you mean only the ones the player has to run (which are just 2-32 /function commands), or every single command that is actually executed to build the structure?
Functions are just files containing other minecraft commands, which are run en masse, and they just make things convenient when the number of commands actually executed is huge (like here - 16,384 for a single map). These are all unique/setblock commands for each individual block - there's no way to shorten them, like shadows-coding mentioned.
So even if the website did display the commands, it might be impractical to run by copy pasting them manually. This is in case you're thinking of running them directly as an alternative to having to apply the behaviour pack / addon to a realm.
I described this on the site's info page too. There's also a sample pack at the end of that page which you can open and look into (with the function files) to get an idea of what is actually executed.

Fair enough, it was just to see if there was an easily executable method of using the art on a multiplayer server outside of the add-on

Lol you could possibly make A macro generator that types out all the commands for you…
it would only be a little bit more practical than typing it out yourself and it would take a long time.
But that would definitely be a very funny creation!


Calculating the carbon footprints

Summation of all the carbon footprints emitted by the user according to the quantity

[ ] Check if the items from the image are present in the dataset; if not present then what?
[ ] devise logic for auto form fill

Completed


Can't add notes to a document

Currently it's not possible to add a note to a document.
When I hit the button "save" the error message appears.

This is a serious issue.
I will try to provide a fix for this problem (+ to this one) over this weekend.
Thank you again for your time!

Fix is now available in v1.2.3. You basically need to:
$ cd papermerge-proj/docker
$ docker-compose up -d

again. Docker compose will pull version v1.2.3 which includes above fix.


June25

Approved sir, to keep the code in sync? or more functionality (feel free to add a small description in the title after the date )

No added functionality, just updating and checking compatibility with our modifications for testing.


[abseil] please merge PR #637

Library name:
abseil fail to complie on Windows's MSVC complier.
see ISSUE #357.
for example:

typedef absl::InlinedVector<int, 10> IntVec;

absl::InlinedVector<int,10> vec;

the complier refused to compile:
error C3546: '...': there are no parameter packs available to expand

New version number:
this bug seemed to be fixed on PR#637.
Can vcpkg update its version to a new version that fix this issue or make a patch to get around this(like this?
environment info:

up-to-date VS2019

abseil:x64-windows                                 2020-03-03-1     an open-source collection designed to augment th...

Thanks for posting this issue. This issue has been fixed. So I am closing this issue for now.


Getting Garbage after esp.ready()

Can someone please help.
I am getting garbage after esp.ready()
Output:
ARDUINO: Starting Device
ARDUINO: Waiting for ESP!!!
_â‚º[ØÐPŠþX¹a‚ç·âÌþ8�+ˆ¢·A¢ÃâªšF¢ªÂ«PT"p©ÅS0Ø8

Code Sample:
`
#include <SoftwareSerial.h>
#include <espduino.h>
#include <mqtt.h>
#define esp8266reset        A5                      //arduino pin connected to esp8266 reset pin (analog pin suggested due to higher impedance)
SoftwareSerial espPort(9, 10); // RX, TX
ESP esp(&espPort, &Serial, esp8266reset);
MQTT mqtt(&esp);
boolean wifiConnected = false;
.
.
.
.
.
.
void setup() {
Serial.begin(19200);
espPort.begin(19200);
Serial.println("ARDUINO: Starting Device");
esp.enable();
delay(500);
esp.reset();
delay(500);
delay(1000);
Serial.println("ARDUINO: Waiting for ESP!!!");
while(!esp.ready());
Serial.println("ARDUINO: ESP is Ready");
`

Also note that my CHIP_PD is on A5 as I have a PCB that I designed last year and it was all working at some point in 2015 but now that I started playing with again, it has stopped working. Just FYI, I have taken latest for both and flashed ESP-01 with latest bin as well. My ESP-01 is 2 years old in case if that makes any difference

I'm also having the exact same issue. Did you ever figure out a solution?


Custom sounds for alarm

Is it possible to set custom sounds for alarm?

AlarmClock intent supports it using the EXTRA_RINGTONE property which is currently not implemented.

AlarmClock intent supports it using the EXTRA_RINGTONE property which is currently not implemented.

So it's not possible to do it with this plugin yet?

That's correct. Feel free to open a PR tho. 😄