KAFKA-2000: Delete topic should also delete consumer offsets.

This is just replicating original patch that @harshach posted. Given I had to make MetadataCache public I am not sure if this is acceptable. I can change the code so as part stopReplica request we will also remove all the groups associated with the topic if others feel that is a better way to handle this.

@hachikuji, what are your thoughts?

Seems reasonable overall, though it's unfortunate that GroupMetadataManager now has to depend on MetadataCache. Perhaps it's justifiable. We could even move some of the topic existence checks in KafkaApis into GroupMetadataManager, though I'm not sure that's a good idea.
One question is whether there are any compatibility concerns since we are deleting offsets prior to the expiration of the retention time which is provided in the OffsetCommitRequest? Technically commits remain fetchable currently even after a topic has been deleted, though it seems very unlikely that anyone is depending on that. But since the default retention is 24 hours, I'm wondering if there is really a strong reason to delete before then?

@hachikuji I think the rationale is to try and cleanup all things that are related to a topic in any way as soon as the topic is deleted to avoid any confusion , this probably becomes more important if the topic is recreated.
If there is actually no concern around keeping this data around for 24 hours even though the source (topic itself) is deleted we can just close the jira as won't fix and I am fine with that approach too.

@Parth-Brahmbhatt I don't have a strong preference either way. Deleting committed offsets on topic deletion makes sense to me, but I wouldn't consider it a major problem if it was left around for the full retention period either. Mostly I was curious about the expectations for the user. If they delete the topic and recreate it immediately, would they expect that commit data to be gone? Obviously in this patch, it may or may not be. It could even be only partially deleted. So if it's not really something that the user can depend on, then maybe there's not a whole lot of value in deleting before the expiration of the retention period. It might help if the JIRA included a little more detail on this point.

@hachikuji @Parth-Brahmbhatt I don't think anyone should rely on topic commit offsets to be available after topic deletion. It exists right now because we didn't address this JIRA for 0.9 release. A topic deletion should remove any associated metadata with it as well.  On other side if the topic deleted and recreated and consumers with same group.id will not be fetching data as there is an offset associated with it still exists, which is in a way not a desired behavior either.

@harshach That makes sense to me. So I wonder if instead of piggybacking on top of the expiration cron, we should add a deleteOffsetsByTopic(topic) method to GroupMetadataManager which is invoked explicitly on topic deletion? Then users would be able to depend on offsets being deleted after topic deletion. For whatever it's worth, that would also get around the need to make MetadataCache public.

@hachikuji that is what I was proposing originally "I can change the code so as part StopReplica request we will also remove all the groups associated with the topic"

@hachikuji @Parth-Brahmbhatt that approach sounds right to me

Yes, that does sound better.

@Parth-Brahmbhatt Apologies, didn't see your previous comment.

Should we also remove the group associated with the topic or there is any value in keeping the group around?

@Parth-Brahmbhatt with the new consumer api one can subscribe to multiple topics so we need to keep the group around.

Posted an updated patch.

+1 @Parth-Brahmbhatt . Can you rebase with master.

Rebased and addressed the comments.

I am still +1 on the patch. @ijuma @hachikuji any thoughts

@harshach I'm a little doubtful about using the StopReplica handler to delete offsets, but the idea still makes sense to me.

@Parth-Brahmbhatt : Thanks for the patch. It's useful to cleanup offsets on deleted topics. As @hachikuji mentioned, we can't drive the offset deletion off StopReplicaRequests. The main reason is that StopReplicaRequests are only sent to brokers that owns a replica of the deleted topic. However, the offsets are stored based on the internal offset topic and they may be stored on completely different brokers. The second reason is that we also send StopReplicaRequest when we move replicas to different brokers. In this case, the topic is still valid and we don't want to delete the offsets.
When a topic is deleted, the controller sends an UpdateMetadataRequest to every broker with leader set to LeaderDuringDelete. In MetadataCache.updateCache(), you will see the logic of removing the topic metadata when we see LeaderDuringDelete. This will be the right place to add the logic for deleting offsets.

@Parth-Brahmbhatt  This is done part of PR #1850. we can close this PR.

Closing this since it was completed in #1850.


Fix more issues with duplicated bars

In #992 I missed a certain case: If kanshi or something similar automatically aplies configuration when monitors are plugged, resulting xdg_output events could be received and dispatched in a single batch: initial configuration, done, configuration modified by kanshi, done [, ...repeat for each output configured by kanshi].
Also, as #1019 shows outputs may unexpectedly disappear from under our code due to async callback dispatch magic. I addressed a couple of obvious crashes, but there are more, much more... :scream:
Fixes #990 (again), makes #1019 slightly less likely.

LGTM, thanks again Aleksei!


Rename enemy_build for clarity

make the use of variables clear

There is a big conflict in army.py file that I can't fix manually, please see what it is, before I accept

fixed the conflict


Add ci

This PR adds a continuous integration workflow which builds and tests cinnamon.
The build script has been slightly modified for better compatibility with the workflow environment. As a result some of the previously explicit cmake environment settings have been removed. The original behaviour can be regained by setting the respective environment variables on a machine to machine basis like it is outlined in 48f684d00b1a709b33325ba474fe295aad7053a2. If this should present a usability problem I propose adding an additional wrapper script which again explicitly sets those environment variables to restore original behaviour.
Additionally the currently failing tests have been modified so they don't actually test anything and just show up as passed.
These tests should ultimately be fixed to prevent accidental regressions in functionality. For now the forced test pass allows for a more accurate build and test workflow.
Like mentioned in the respective commit message, the first ci build takes a few hours because of the llvm build. The llvm build will be cached for all subsequent runs and the workflow runtime should generally be less than 5 minutes.

Thank you! I made a couple of changes and will test them in a branch before merging to main.


Stack Overflow 1.20

I tried installing this for my modpack on fabric 1.20 and the error log indicates the wisp causes a stack overflow error when loading worlds.

Thanks for the feedback!
However I can't reproduce the bug from this info, please:

provide the log(s) (either here or in some other way)
provide the mods of your modpack

preferably zip the .minecraft/mods folder and share via Google Drive
alternatively you can open the mods folder in cmd, paste dir /b > modlist.txt and enter to create a modlist.txt file, and paste the .txt file content here in reply

Log
Mods List

Misclicked the close button by accident, apologies.

No longer prevents world loading, some other problems but I'll make separate issues for those.


Bump Dependencies #5172165745

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/5172165745

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


Clear Mock between test suite

Hi @kbaltrinic,
thanks for this module.
I've defined two suites in my protractor tests, and I run only one of them both are passing, here is the code:
'use strict';

var mock = require('./mock/user.mock.js');
var httpBackend = require('http-backend-proxy');

describe('The registration view', function () {
    var page, proxy;

    beforeEach(function () {
        browser.get('http://localhost:3000/#/user/login');
        page = require('./registration.po');
        proxy = new httpBackend(browser);

        // Mock Request
        proxy.onLoad.whenPOST('http://localhost:3001/api/members/login?include=user', mock.wrongLoginRequest).respond(422, mock.wrongLoginResponse);
        proxy.onLoad.whenGET(/.*/).passThrough();

        // remove overlay and loader
        browser.executeScript("$('.page-loading-overlay').addClass('loaded');");
        browser.executeScript("$('.load_circle_wrapper').addClass('loaded');");
    });
    // TESTS ...
});

'use strict';

var mock = require('./mock/user.mock.js');
var httpBackend = require('http-backend-proxy');

describe('The registration view', function () {
    var page, proxy;

    beforeEach(function () {
        browser.get('http://localhost:3000/#/user/register');
        page = require('./registration.po');
        proxy = new httpBackend(browser);

        // Mock Request
        proxy.onLoad.whenPOST('http://localhost:3001/api/members', mock.existingUser).respond(422, mock.registrationError);
        proxy.onLoad.whenPOST('http://localhost:3001/api/members').respond(200, mock.registrationSuccess);
        proxy.onLoad.whenGET(/.*/).passThrough();

        // remove overlay and loader
        browser.executeScript("$('.page-loading-overlay').addClass('loaded');");
        browser.executeScript("$('.load_circle_wrapper').addClass('loaded');");
    });

    // TEST ....
});

My problem is that if I run all the tests together the second suite broke as it not get the mocked request.
I tried to add:
afterEach(function(){
    proxy.reset();
});

But with no effect... Any advice?
I also tried to use the proxy without the .onLoad method but it end up with:
UnknownError: unknown error: $httpBackend.whenPOST is not a function
And I can't get why...

Nothing is jumping out at me but its hard to grasp the details w/o seeing the tests as well.  As for the $httpBackend.whenPOST is not a function issue, that usually indicates that the ngMockE2E is not loaded in the angular app.
Making a total guess here, this could be some sort of timing issue where the tests are kicking off before the app is really ready.

@teone, are you still having an issue with this or can I close the issue?

Hi @kbaltrinic,
I've moved to the tradition $httpBackend. Anyway probabily it was a mistake hidden somewhere in my tests.


Dates of "End of the F***ing World" S2 is corrupted

https://trakt.tv/shows/the-end-of-the-f-ing-world/seasons/2
https://www.themoviedb.org/tv/74577-the-end-of-the-f-king-world/season/2?language=en-US
Dates on TMDB are 2 episodes every day after. Trakt only has 2 dates. I saw the trakt is consist with TMDB before, but sometime it lost somewhere.

We use air dates from TVDB, and it looks to match up with what they have.
https://www.thetvdb.com/series/the-end-of-the-f-ing-world/seasons/official/2

Thanks. It seems the TMDB dates are better, but there's no time for episode?

We use TVDB as the first source. Air dates come from the episodes and air time comes from the show level. If the air date is blank on TVDB, we then use TMDB for that info. TMDB doesn't have air time so TVDB is the only source for that.


chore(main): release hide-youtube-numbers 0.3.1

:robot: I have created a release beep boop
0.3.1 (2024-01-03)
Bug Fixes

ui: fix entrypoints title (#68) (aa620d6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/noriapi/hide-youtube-numbers/releases/tag/hide-youtube-numbers-v0.3.1 :sunflower:


[bugfix] csudh_mapper: collate_fields callable not called

Fixes https://github.com/ucldc/rikolti/issues/577


Missing conf file in 5.3.2

Describe the bug
According to the 5.3.2 section it's also needed account required pam_tally2.so in the /etc/pam.d/common-account files
Without this line Pam_tally2 counter increases every time sudo
Additional context
this is my current patch
- name: "SCORED | 5.3.2 | PATCH | Ensure lockout for failed password attempts is configured"
  block:
      - name: "SCORED | 5.3.2 | PATCH |  Ensure lockout for failed password attempts is configured - /etc/pam.d/common-account"
        lineinfile:
            dest: /etc/pam.d/common-account
            line: 'account required pam_tally2.so'

      - name: "SCORED | 5.3.2 | PATCH |  Ensure lockout for failed password attempts is configured - /etc/pam.d/common-auth"
        lineinfile:
            dest: /etc/pam.d/common-auth
            line: 'auth required pam_tally2.so onerr=fail audit silent deny=5 unlock_time=900'

  when:
      - ubuntu2004cis_rule_5_3_2
  tags:
      - level1
      - scored
      - patch
      - rule_5.3.2

I've add the pull request #17


lsp: Make vim support more explicit, add code completions

Adds explicit instructions on how to build/install the LSP as a standalone binary
Adds explicit instructions on how to install/configure the LSP and syntax file in neovim
Adds support for code completion such that typing % will prompt all PIdents in the current file and typing any other alphanumeric will prompt all opcodes filtered by a fuzzy match
Updates the hover (and code completion) doc text for an opcode to have more information (ex: opcode class & opcode operands)

Things that should probably be improved

Instructions for building/installing on neovim are linux specific right now
Code completion will suggest opcodes in places that don't make sense like the operands

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

utils/vscode/src/schema/schema.go and utils/vscode/spirv.json being generated and checked it makes this PR look way larger than it actually is. Might not be a bad idea to git ignore those files at some point


another tiflash compute node oom after kill one tiflash compute node

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
1、go-tpc ch run -D tpcc --host tc-tidb.endless-ha-test-tps-1746057-1-590 -P4000 --warehouses 2000 -T 32 --acThreads 1 --queries q16 --ignore-error '2013,1213,1105,1205,8022,8028,9004,9007,1062' --time 36000m --user root --password '' --interval '10s'
2、kill one tiflash compute node
[2023/07/20 23:48:06.342 +08:00] [INFO] [chaos.go:172] ["Run chaos"] [name=kill] [selectors="[endless-ha-test-tps-1746057-1-590/secondary-tc-tiflash-0]"] [SelectorsRetainPolicy(selectors)="[endless-ha-test-tps-1746057-1-590/secondary-tc-tiflash-0]"] [targetSelectors="[nil]"] [TargetSelectorsRetainPolicy(targetSelectors)="[nil]"] [experimentSpec="ContainerKillExperimentSpec{Scheduler: }"]
[2023/07/20 23:48:08.806 +08:00] [INFO] [collection.go:295] ["[2023-07-20 15:48:08] execute run failed, err execute query q16 failed Error 1105: rpc error: code = Unavailable desc = error reading from server: EOF\r\n"]
2. What did you expect to see? (Required)
another tiflash compute node is normal
3. What did you see instead (Required)
another tiflash compute node oom after kill one tiflash compute node
4. What is your TiFlash version? (Required)
githash：a6fcff576c61ee3af11c7f0d6a6f0982866e0914

/severity major
/assign JinheLin


Fix UE 5.5 crash with hardware ray tracing enabled

Fixes #1546

I'm self-merging this into #1539.


Feature request: Search for album

Hi,
It would be nice to add a feature which would allow to search music album.
Here how I see it:

with some option you specify album name
youtube-viewer connect to the discogs database (maybe using WWW::Discogs module) and retreive the data showing the artist name and asking for confirmation (or new name if the name found is not correct).
youtube-viewer retreive the album track listing and do multiple queries in order to find and match the best results.
when finishing youtube-viewer shows the results

In addition the option "interactive" could be added to decide manually which song should be selected from each track search results. This is in case automatic best matching method would not work very well.
I saw this implemented in mps-youtube Python.

In the meantime I created my own Perl script which uses the Discogs.com album version URL to get the list of songs, then uses youtube-viewer to search for the songs and match them. It produces the bash script which plays all the album using youtube-viewer command line options.
discogs_url_to_youtube-viewer_parser.pl.zip
You can use the code if it is useful for you. :)


Update to fix tests on 2015.11

grep-index() -> grep(:k)
first-index() -> first(:k)
last-index() -> first(:end, :k)
Pair:U -> Pair

Thanks for the pull request. I am using a slightly modified version of your suggested changes from this to replace the -index methods. However, the Pair:U failures are indicating bugs, so I need to work out why those tests are failing rather than just dropping the duckface from Pair.


Evaluation numbers are not exact when using num_gpus > 1

This happens because all batches are split across GPUs in random order (because we use subsequent calls to tf.data.Iterator().get_next()). Thus, the last batch might be processed incorrectly when the dataset size is not divisible by the batch size.

This is also fixed in v0.3

This was fixed assuming the decoder returns shape (BS, ...) which is not the case for all decoders (eg FC_decoders return (T, BS, num_feats)


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 716 ms

Resolved: Bofrost.de performance has improved in 6e4b29a after 13 minutes.


Added to always initialize CUDA

Fixes https://github.com/dotnet/TorchSharp/issues/1198.
I tested it out locally - I added the DLL and the libtorch-cuda package, and it worked. I then tried it with the libtorch-cpu package and I confirmed that it didn't crash.
I was going to add a test for it - but in our CUDA tests we always check that cuda is available, and then that defeats the purpose since checking if it is available initializes it.
Do you have any suggestions?

Fixes #1198.
I tested it out locally - I added the DLL and the libtorch-cuda package, and it worked. I then tried it with the libtorch-cpu package and I confirmed that it didn't crash.
I was going to add a test for it - but in our CUDA tests we always check that cuda is available, and then that defeats the purpose since checking if it is available initializes it. Do you have any suggestions?

Suggestions on how to testing for a failure of a failure-safe thing? :-)

Was just about to write about that :)

Okay, so there are two questions:
1] How do we test for this bug? Even if I add another cuda-only test file, there is no guarantee that that test will run before a different test which calls a cuda function and loads the binaries in. Do we wan to skip?
2] This silent bug - if someone uses torch.CUDA when initializing a tensor when cuda isn't available, then TorchSharp will just skip over it and load it into CPU. Is this behavior OK? If not, we should probably just implement it as a static initializer or as a different static field (we can have a private static field that isn't used private static bool initCudaIsAvailable = torch.cuda.is_available();).

Suggestions on how to testing for a failure of a failure-safe thing? :-)

Lol. Test locally? ;-)

Okay, so there are two questions:
1] How do we test for this bug? Even if I add another cuda-only test file, there is no guarantee that that test will run before a different test which calls a cuda function and loads the binaries in. Do we wan to skip?
2] This silent bug - if someone uses torch.CUDA when initializing a tensor when cuda isn't available, then TorchSharp will just skip over it and load it into CPU. Is this behavior OK? If not, we should probably just implement it as a static initializer or as a different static field (we can have a private static field that isn't used private static bool initCudaIsAvailable = torch.cuda.is_available();).

Yes, I think the static initializer should work.

So as it turns out, torch already had a static initializer :)
I just added the initialize call to the initializer.

Looks good, except the CUDA field is still not readonly.

The CUDA is not a field :-)

torch.CUDA is not a field :-) I had initially made it a field - but then I reverted back

Reason? I thought that's what you wanted it to be?

I did - and that had solved the issue. But the problem was that when we made it a field the following code no longer crashed:
var t = torch.rand(10, device: torch.CUDA);

(This was actually taken from a test)

The issue is that this can cause silent crashes when previous it didn't. See for example the test over here: https://github.com/dotnet/TorchSharp/blob/main/test/TorchSharpTest/TestTorchTensor.cs#L3758
The question is whether silent handling is the way to go. Since when it isn't available we replace it with null which is a valid parameter to pass when creating a tensor (that just means the default device = cpu)

Since it is a property, I think the result needs to be memoized (a problem that was present before your PR, too).

Sure, added memoization now.

Sure, added memoization now.

Waiting for the build to finish, and then I'll merge.


Better cross version support (Java 8 vs 11)

Better cross version support
Releases have always been targeting Java 8 due to it's continued popularity. However those that have adopted Java 11 can't run Recaf as easily as the Java 8 users because:

The autoupdate pulls these targeted versions regardless of the current Java environment
Java 11 can't run the Java 8 targeted releases due to missing dependencies

Java 11 no longer includes JavaFx by default

The updated Java 11 dependencies (Like the ControlsFx dependency) don't match the NameTypes in classes compiled in the 8-centered releases

Potential Solutions:

Multi-release jars (Should support existing auto-update mechanic)
Multiple target jars per release (May conflict with existing auto-update mechanic, causing a breakage of forward compatibility)
Have dependencies downloaded & resolved at runtime

How about... checking the JVM version when Recaf starts, and (if it's the first time) automatically downloads the required version of JavaFx/ControlsFx, then immediately restarts itself using the accorded launch arguments? Won't be the most elegant of the solutions, but it should work... at least.

How about...

With 549305b1829a2e540a19c0db3a3adda0cfb20723 I basically did just that.

If Recaf launches under Java 8 it runs normally
If Recaf launches under Java 9 or 10 it asks you to update to 11 or downgrade to 8.
If Recaf launches under Java 11 it checks if JavaFX is in the classpath. If it is, it runs normally. Otherwise it checks for recaf-$version-patched.jar. If it exists, it'll rerun using that. If not, it'll create it by cloning the Recaf files into it, then overlapping all the required dependencies on top.

andy's approach works and has been implemented as of 1.14.0


Not performant on large routes

Current behaviour
Trying to use it to make dynamic tabs based on data provided in a quite big array (120 entries of data), but having performance issues when loading the tab view and switching between tabs.

Expected behaviour
I've read and followed  and expected it to be performant but even loading the tabs takes ages.

Code sample
Here's a code to reproduce the issue
class TemplateScreen extends PureComponent {
  // sample 'template' screen to display the data
  render() {
    const {
      route: { key },
    } = this.props;

    return (
      <View style={styles.container}>
        <Text>I am {key} screen</Text>
      </View>
    );
  }
}

export default class ProduceBug extends Component {
  constructor(props) {
    super(props);
    const data = Array.from({ length: 120 }); // dummy data, routes are populated from it
    const routes = [];

    data.forEach((item, index) => {
      routes.push({
        // create route object and push it to routes
        key: (index + 1).toString(),
        title: (index + 1).toString(),
      });
    });

    this.state = {
      index: 0,
      routes,
    };
  }

  renderScene = ({ route }) => {
    const { index, routes } = this.state;

    if (Math.abs(index - routes.indexOf(route)) > 2) {
      // only renders left and right scene
      return <View />;
    }
    return <TemplateScreen route={route} />;
  };

  renderTabBar = (props) => (
    <TabBar
      {...props}
      scrollEnabled
      indicatorStyle={styles.indicator}
      style={styles.tabbar}
      tabStyle={styles.tab}
      labelStyle={styles.label}
    />
  );

  render() {
    const initialLayout = {
      height: 0,
      width: Dimensions.get('window').width,
    };

    return (
      <TabView
        navigationState={this.state}
        onIndexChange={(index) => this.setState({ index })}
        initialLayout={initialLayout}
        renderScene={this.renderScene}
        renderTabBar={this.renderTabBar}
        lazy
      />
    );
  }
}

What have you tried
It works well with small number of data, like 5, but once it gets bigger it becomes very laggy. I've tried to improve the performance by following provided tips, but can't really achieve tolerable performance

Your Environment

software
version

ios or android
android

react-native
0.59.5

react-native-tab-view
2.2.0

react-native-gesture-handler
1.2.0

react-native-reanimated
1.0.1

Please upgrade to the latest version which should have improved performance #720

even loading the tabs takes ages.

In the example, there are 120 tabs being rendered, and even if you're not rendering the screens itself, the tabbar still has to render all of the route labels. If you don't render the tab bar, there's no issue with performance from what I tested.
You can re-implement the tabbar to fit your use case. The default tab bar is not made for such a huge amount of routes.

Please reopen. I have the same issue after upgrade to the latest version. The new default TabBarItem take a very long time to render.
Here's some performance tracking of the same code, rendering 50 routes
Version 2.5.0 (~2600ms)

Version 1.4.1 (~250ms)

Reproducible sample code
https://snack.expo.io/@dhl1402/react-native-tabview-reproduce-repo

hey @dhl1402 did you find a solution to optimise tabbar time to mount ?


Render screen is out of sync

Describe the bug
After i=14, the mechanical arm does not continue to move in the render screen, and the screen stops. But render continues to render, and Render's picture is not consistent with the actual robotic arm motion.
To Reproduce
Provide a minimal code :
import gymnasium as gym
import panda_gym
import matplotlib.pyplot as plt
from matplotlib import animation
import numpy as np

def display_frames_as_gif(frames):
    patch = plt.imshow(frames[0])
    plt.axis('off')

    def animate(i):
        patch.set_data(frames[i])

    anim = animation.FuncAnimation(plt.gcf(), animate, frames=len(frames), interval=5)
    anim.save('panda.gif', writer='pillow', fps=30)

frames = []
# env = gym.make("PandaReach-v3", render_mode="human")
env = gym.make("PandaReach-v3", render_mode="rgb_array", renderer="OpenGL")
observation, info = env.reset()

# 生成圆的参数
theta = np.linspace(0, 2 * np.pi, 1000)
r = 0.1  # 圆的半径
# 计算圆的坐标
x = r * np.cos(theta)
y = r * np.sin(theta)
z = np.zeros_like(theta) + observation["observation"][2]  # 所有点都在z=0的平面上
pre_tarj = np.zeros((1000, 3))
pre_tarj[:, 0] = x
pre_tarj[:, 1] = y
pre_tarj[:, 2] += observation["observation"][2]  # 所有点都在z=0的平面上
tarj = np.zeros_like(pre_tarj)
# 初始化位置
desired_position = pre_tarj[0, :]

for i in range(100):
    # Render into buffer.
    image = env.render()
    frames.append(image)
    print(i)
    current_position = observation["observation"][0:3]
    desired_position = pre_tarj[i, :]
    tarj[i, :] = current_position

    action = 5.0 * (desired_position - current_position)
    observation, reward, terminated, truncated, info = env.step(action)

    # if terminated or truncated:
    #     observation, info = env.reset()

env.close()
display_frames_as_gif(frames)

System

OS: Win 10
Python version (python --version): python 3.11
Package version (pip list | grep panda-gym):

I can't reproduce the issue. Here is the screen recording of OpenGL GUI (with the correct fps):
https://github.com/qgallouedec/panda-gym/assets/45557362/0f1d1ac9-9fbb-4342-a25c-eefd5536bb06
And the gif generated (also with the correct fps):

I can't reproduce the issue. Here is the screen recording of OpenGL GUI (with the correct fps):
Screen.Recording.2023-10-12.at.12.10.43.mov
And the gif generated (also with the correct fps):

If you add a few more frames to the GIF, you will notice that the robot arm stops moving in the later frames. In this video, you can observe that the robotic arm remains stationary during the second, third, and fourth seconds, although it should be in motion.

If you add a few more frames to the GIF, you will notice that the robot arm stops moving in the later frames. In this video, you can observe that the robotic arm remains stationary during the second, third, and fourth seconds, although it should be in motion.

It moves slowly (because the desired position you've defined evolves slowly), but it's not stationary.

If you change a bit your desired positions, here is what you get:
import gymnasium as gym
import panda_gym
import matplotlib.pyplot as plt
from matplotlib import animation
import numpy as np

def display_frames_as_gif(frames):
    patch = plt.imshow(frames[0])
    plt.axis("off")

    def animate(i):
        patch.set_data(frames[i])

    anim = animation.FuncAnimation(plt.gcf(), animate, frames=len(frames), interval=5)
    anim.save("panda.gif", writer="pillow", fps=25)

env = gym.make("PandaReach-v3", render_mode="rgb_array", renderer="OpenGL")
observation, info = env.reset()

z = observation["observation"][2]

theta = np.linspace(0, 20 * np.pi, 1000)
r = 0.1
desired_positions = np.stack([r * np.cos(theta), r * np.sin(theta), z * np.ones(1000)], axis=1)

frames = []
for i in range(200):
    frames.append(env.render())
    current_position = observation["observation"][0:3]
    desired_position = desired_positions[i]
    action = 5.0 * (desired_position - current_position)
    observation, reward, terminated, truncated, info = env.step(action)

env.close()
display_frames_as_gif(frames)

I get it. Thank you very much，Gallouedec.


How to install custom plugin

I have installed myplugin with luarocks and searched it in /kong/plugins/.
Then I alter kong.conf.default to load plugin, but it didn't work.
I try to use admin api to add plugin, but it response with
{     "message": "schema violation (name: plugin 'myplugin' not enabled; add it to the 'plugins' configuration property)",     "name": "schema violation",     "fields": {         "name": "plugin 'myplugin' not enabled; add it to the 'plugins' configuration property"     },     "code": 2 }.
How can I install and load custom plugin.

no need to edit kong.conf.default; do it in the actual configuration file (typically kong.conf) or via environment variables (https://docs.konghq.com/enterprise/2.3.x/plugin-development/distribution/#load-the-plugin)

no need to edit kong.conf.default; do it in the actual configuration file (typically kong.conf) or via environment variables (https://docs.konghq.com/enterprise/2.3.x/plugin-development/distribution/#load-the-plugin)

Oh thanks very much. It works.


v0.12.1_04: No country is available on small pop up of Show icon

SEVERITY:  Critical
MODULE:  Mountain Chart
Platform:  Windows 7 / Chrome 47.0
RELEASE: Stage
STEPS TO REPRODUCE:

Navigate to the URL : http://tools-stage.gapminderdev.org/tools/mountain
Click show icon
Note that there is no country available on the pop up of show

ACTUAL RESULTS:
There is no country available on the pop up of show
EXPECTED RESULTS:
All countries should be there on the pop up of show icon
SCREENSHOT:

fixed


Logo for PyLibLog

I've created a fresh looking logo for PyLibLog, looking forward to contribute more!

Please attach the screenshot @mukeshmx
Thank You
Instructions

Yes you can start working on it by taking latest pull from main branch
Don't Forget to join onboarding group for knowledge flow and direct conversation and support from other developers link  Curious Developers Community - Hacktoberfest
Please attach the screenshots and video of the development work once it is done
Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number
Respect Co Developers And Please Reachout to admins if any issues

Screenshot
/Users/dtxew/Downloads/278795387-0075c7d1-01ca-4bfd-aa8f-5aa29b2fede8.png

I believe this is a very clean professional looking logo for this site, if anything different is required please elaborate more on how you want the logo to be, should it be more minimal, more fun looking, just typography logo etc, I need you to guide me here.

Hi @mukeshmx
Can we have logo which something suitable for this color code (#9004fc)

Thank You
Instructions

Yes you can start working on it by taking latest pull from main branch
Don't Forget to join onboarding group for knowledge flow and direct conversation and support from other developers link  Curious Developers Community - Hacktoberfest
Please attach the screenshots and video of the development work once it is done
Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number
Respect Co Developers And Please Reachout to admins if any issues

Okay, Give me some time I'll work on it

@mukeshmx please let us your update?
Thank You
Instructions

Yes you can start working on it by taking latest pull from main branch
Don't Forget to join onboarding group for knowledge flow and direct conversation and support from other developers link  Curious Developers Community - Hacktoberfest
Please attach the screenshots and video of the development work once it is done
Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number
Respect Co Developers And Please Reachout to admins if any issues

I'll share it within 24 hours.

TYPE 1

TYPE 2

TYPE 3


fix(bootstrap): Updating bootstrap peers

:tada: This PR is included in version 6.6.8 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


🐛 | Card Reader not found after successful configuration

Bug
What I did
I updated my old PhonieBox Installation from 2019. After the configuration of the reader (which was found in the list), I restarted the system
I also tried a fresh installation with the same result
What happened
The phoniebox-rfid-reader could not be started. So I started daemon_rfid_reader.py manually and got the following error message:
root@raspberrypi:/home/pi/RPi-Jukebox-RFID/scripts# ./daemon_rfid_reader.py  Could not find the device 深圳市思远创智能设备有限公司 http://www.sycreader.com USB RFID Reader . Make sure is connected
I expected this to happen
I expected, that the service works as in the old Version. When configuring the rfid reader it was found. But when starting the service it doesn't
Further information that might help
Is there maybe a problem with the chinese? characters?
Software
Base image and version
raspbian buster
Branch / Release
master
Installscript
scripts/installscripts/buster-install-default.sh
Hardware
RaspberryPi version
3 B+
RFID Reader
idVendor           0x08ff AuthenTec, Inc.
idProduct          0x0009
bcdDevice            0.08
iManufacturer           1 深圳市思远创智能设备有限公司

Irgendwas seems that it is caused by whitespaces and/or hidden characters. I found a Solution which is working for me. I will wait for the „rfid modularize“ PR


Test user-facing strings for non-standard capitalization

A super common form of mistake that we need to catch in code review is not following Zulip's standard approach to capitalization in user-facing strings, which is to just capitalize the first letter.

Correct: "Manage streams"
Incorrect: "Manage Streams"

We should document this somewhere, but I think the right solution is to add a test that runs effectively manage.py makemessages to extract all of our strings tagged for translation (aka user-facing strings), and checks them for correct capitalization.  We may need to exclude a few that are intentionally that way, but I think this'd be significant in terms of improving our code review efficiency.

@zulipbot claim


yi 0.12.5 build failure

[ 41 of 145] Compiling Yi.Buffer.Misc   ( src/library/Yi/Buffer/Misc.hs, dist/build/Yi/Buffer/Misc.o )

src/library/Yi/Buffer/Misc.hs:364:18-35: error:
    • Couldn't match type ‘a’ with ‘T.Text’
      ‘a’ is a rigid type variable bound by
        a type expected by the context:
          forall a. Monoid a => a
        at src/library/Yi/Buffer/Misc.hs:364:18
      Expected type: forall a. Monoid a => a
        Actual type: T.Text
    • In the expression: T.pack $ R.unCn cn
      In a case alternative: Just cn -> T.pack $ R.unCn cn
      In the second argument of ‘(.)’, namely
        ‘\case {
           Nothing -> mempty
           Just cn -> T.pack $ R.unCn cn }’

src/library/Yi/Buffer/Misc.hs:994:8-20: error:
    • Couldn't match type ‘forall a. Monoid a => a’ with ‘YiString’
      Expected type: BufferM YiString
        Actual type: BufferM (forall a. Monoid a => a)
    • In the expression: return mempty
      In the expression:
        if s >= e then
            return mempty
        else
            snd . R.splitAt s . fst . R.splitAt e <$> elemsB
      In an equation for ‘betweenB’:
          betweenB (Point s) (Point e)
            = if s >= e then
                  return mempty
              else
                  snd . R.splitAt s . fst . R.splitAt e <$> elemsB

src/library/Yi/Buffer/Misc.hs:1109:16-84: error:
    • Couldn't match type ‘a’ with ‘forall a1. Default a1 => a1’
      ‘a’ is a rigid type variable bound by
        the type signature for:
          getBufferDyn :: forall a (m :: * -> *).
                          (YiVariable a, MonadState FBuffer m, Functor m) =>
                          m a
        at src/library/Yi/Buffer/Misc.hs:1108:17
      Expected type: m a
        Actual type: m (forall a. Default a => a)
    • In the expression:
        fromMaybe def
        <$> getDyn (use bufferDynamicA) (assign bufferDynamicA)
      In an equation for ‘getBufferDyn’:
          getBufferDyn
            = fromMaybe def
              <$> getDyn (use bufferDynamicA) (assign bufferDynamicA)
    • Relevant bindings include
        getBufferDyn :: m a (bound at src/library/Yi/Buffer/Misc.hs:1109:1)

Ping @ethercrow, @juhp.

I think I've already fixed these in master, let me upload it on hackage in a minute.

OK, try with 0.12.6 please.

Will do! Thanks for the quick response.


StarUpdater throws an Error Message

StarUpdater Error: [string "?"]:55: -1018822656
Haven't checked for updates for Luma3DS in a month. The last time I updated was a month ago, during which time I also updated AL9H using the 3ds.guide steps.
Not sure what's up, and as always thanks for making StarUpdater.

I'm also having the same issue,
StarUpdater Error:[string "?"]:55: 219676672
Reinstalling the StarUpdater doesn't fix the problem

The server that used to serve version information, etc. is down. Therefore, StarUpdater will no longer work.
I highly advise you move on to a better updater, like the fantastic LumaUpdate by @Hamcha


Comparing collection using equals method for assertEquals

Fixes #2296
To check whether the two objects are equal, have replaced all the comparison operator (=) with equals method for non primitive data types. This will add capability to compare the sets as they do not always guarantee the insertion order.

@juherr @krmahadevan Have replaced all the occurrences of comparison operator (=) with 'equals' method for non primitive data types.

@juherr @krmahadevan Have replaced all the occurrences of comparison operator (=) with 'equals' method for non primitive data types.

@krmahadevan Kindly review. Have resolved the conflicts with master.

@krmahadevan Kindly review. Have resolved the conflicts with master.


mapic: Fix multistream target URL ? handling

It turns out that Mist has a special parsing of these push URLs which is not a regular URL parsing. It removes anything after the last ? in the URL and uses that as its config. If there are multiple ? in the URL (e.g. query-string already existed in target URL), it will strip only (from) the last one and keep the previous.
So instead of merging Mist's qs with the existing ones, we actually need to create a separate ? section for Mist. This guarantees both that Mist gets its config properly, as well as that it preserves the URL to call the target service.

Could you add some unit tests to make this easier to reason about please?


Close/archive the old gitter channel

https://app.gitter.im/#/room/#60a276916da03739847cca54:gitter.im
Write a message linking to GitHub discussions instead, then close/archive.

Have removed all users, including myself. Should be deleted permanently within seven days.
https://its.h-da.io/element-docs/en/rooms/delete/


During outback deploy update Task Definition Environment to include deploy time & deploy git commit sha

What
During an outback deploy automatically set two ENV vars in the Task Definition Environment:

OUTBACK_DEPLOY_TIME  --> to track the exact time the deploy was triggered
OUTBACK_DEPLOY_GIT_SHA --> to track the exact git commit was was deployed

Why
These two ENV vars will make it a lot easier for the underlying application using outback to track when a deploy happened and what exact commit was included in that deploy
How
Update the Outback.RegisterTaskDefinitionWithImage function to call generate the two env vars and call Outback.UpdateContainerDefinitionEnvVars to set the Task Definition Environment before registering the deploy's Task Definition in ECS
CC 🐨
@microsoftoven

@ericjohnf I picked RFC822Z because it is one of the predefined formats in the Go time package and it seemed to be the easiest one to read.


Option to pass custom page and per_page to render_paginated

In case some controller needs to pass a different param for page/per_page than the application's default (for example, because of retrocompatibility)

#13


enhance(pods): support export hierarchy and workspace

enhance(pods): support export hierarchy and workspace
Building out more functionality in pods v2: implement export scopes for hierarchy and workspace.

Pull Request Checklist
You can go to dendron pull requests to see full details for items in this checklist.
General
Quality Assurance

[ ] Add a test for the new feature
[ ] Make sure all the existing tests pass
[ ] Do a spot check by running your feature with our test workspace
[ ] If your tests involve running [[manual Testing|dendron://dendron.dendron-site/dendron.dev.qa.test#manual-testing]], make sure to update [[Test Workspace|dendron://dendron.dendron-site/dendron.dev.ref.test-workspace]] with any necessary notes/additions to perform manual test ^9jtWc6ov340p
[ ] After you submit your pull request, check the output of our integration test and make sure all tests pass

NOTE: If you running MacOS or Linux, pay special attention to the Windows output and vice versa if you are developing on Windows

Special Cases

[ ] If your tests changes an existing snapshot, make sure that snapshots are updated
[ ] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), make sure that it is included in test-workspace. We use this to manually inspect new changes and for auto regression testing

Docs

[ ] Make sure that the PR title follows our commit style
[ ] Please summarize the feature or impact in 1-2 lines in the PR description
[ ] If your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Example PR Description
# feat: capitalize all foos

This changes capitalizes all occurrences of `foo` to `Foo`

Docs PR: <URL_TO_DOCS_PR>

Special Cases
First Time PR

[ ] Sign the CLA which will be prompted by our github bot after you submit the PR
[ ] Add your discord alias in the review so that we can give you the horticulturalist badge in our community

Git

[ ] Make sure your branch names adhere to our commit style [[#^6zdCscSXs1MM]]

All PRs should start with [feat|fix|enhance|]/[{description-of-pr-in-kebab-case}]

eg. feat/add-thisthing

Analytics

[ ] If you are adding analytics related changes, make sure the Telemetry docs are updated

Github Issue

[ ] If this pull request is addressing an existing issue, make sure to link this PR to the issue that it is resolving.
[ ] If the resolution comes with a document update, link the docs PR to the issue as well.

This actually needs some reworking - the update calls need to get batched, similar to how the current v1 airtable pod is doing it.


BQ tutorial notebook and vanilla BQ example

Issue #, if available:
Description of changes:
A BQ tutorial notebook and vanilla BQ example
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #115 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #115   +/-   ##
========================================
  Coverage    83.44%   83.44%
========================================
  Files           83       83
  Lines         2042     2042
  Branches       186      186
========================================
  Hits          1704     1704
  Misses         297      297
  Partials        41       41

Continue to review full report at Codecov.

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

I tried and failed to do inline comments for the notebook:

There are a few places where the latex doens't render in github.
There is a legend where I think a label should be renamed from "integral integral desnity" to "initial integral density"

I do not know how to link to docs. Since this PR gets out if date all the time I'll merge it anyway after addressing the other comments.

Thanks for links! I updated the docs


azure-cloud-foundry-service-sample documentdb not working

Environment

Spring boot starter sample:

azure-cloud-foundry-service-sample

OS Type: Windows/Linux/MacOS

Java version:

1.8

Summary
Cannot access DocumentDB Demo stores a new User record in Azure DocumentDB.
There was an unexpected error (type=Internal Server Error, status=500).
Failed to read the source document {"firstName":"testFirstName","lastName":"testLastName","_attachments":"attachments/","_rid":"EGJlALegugABAAAAAAAAAA==","address":"test address line one","id":"testId","_self":"dbs/EGJlAA==/colls/EGJlALegugA=/docs/EGJlALegugABAAAAAAAAAA==/","_etag":"\"010064dc-0000-0000-0000-5a9e572f0000\"","_ts":1520326447} to target type class sample.cloudfoundry.documentdb.User

Reproduce steps

start the azure-cloud-foundry-service-sample
access http://localhost:8080/docdb

Expected Results
Show the queried user from database
Actual Results
500 Internal error on server side:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `sample.cloudfoundry.documentdb.User` (no Creators, like default construct, exist)

Quick solve: add empty arg constructor to domain User.java


python311Packages.pyrainbird: 2.1.0 -> 3.0.0

Diff: https://github.com/allenporter/pyrainbird/compare/refs/tags/2.1.0...3.0.0
Changelog: https://github.com/allenporter/pyrainbird/releases/tag/3.0.0
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 243719 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.rainbird
python310Packages.pyrainbird
python310Packages.pyrainbird.dist
python311Packages.pyrainbird
python311Packages.pyrainbird.dist


feat(V3 voices): support v3 voices

@leonrch I moved your changes from #114 into a clean PR to get rid of the git change history that kept getting added from your fork.
Can you confirm I captured your changes correctly?
@germanattanasio this condensed the changes that @leonrch made into one commit.

The demo in the branch sounds [and looks] good. Please merge it with master.


Bump rust version to latest release

Also bump nightly to the corresponding version based on when it was branched from main.

metric
value

change

binary-size-nk3am
1,385,258
:white_check_mark:
-56,078 (-3.89%)

binary-size-nk3am-test
1,898,526
:white_check_mark:
-59,355 (-3.03%)

binary-size-nk3xn
498,052
:white_check_mark:
-18,896 (-3.66%)

binary-size-nk3xn-test
544,028
:white_check_mark:
-20,864 (-3.69%)

binary-size-nkpk
715,786
:white_check_mark:
-32,891 (-4.39%)


Use of graphbacks custom client resolvers

Feature Request
We need to implement resolver for custom actions to demo it and also document it properly.
@machi1990

Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.
Describe the solution you'd like
Please describe the desired behavior.
Describe alternatives you've considered
Please describe alternative solutions or features you have considered.

This is what we want to achieve for this https://github.com/aerogear/OpenVolunteerPlatform/blob/master/platform/server/src/resolvers/custom-resolvers.ts#L9 resolver for example?

Yep. We need some actions created. The way it could work is that we fetch volunteers that have no actions and recipients with no actions then for each pair we create new action - distribution center pick can be random

Distribution centres can be assigned based on recipient preferred products

Love it!


Error when trying to use CudaHalfTensor for training

I want to train my model using fp16 precision on my gpu. My gpu has the Pascal architecture and the cutorch.hasHalf flag indicates true. I am using cuDNN 5.1 and CUDA Toolkit 8.0.
As far as I understand it right I only have to change the Tensors that are allocated on my gpu from CudaTensor to CudaHalfTensor and the calculations should be in fp16 precision. However, when I do that I get an error on using the optim.sgd() function that says: "No algorithms found that would fit in free GPU memory".
Am I doing something wrong? Or is fp16 actually supported for a VGG16 model using sgd?
The detailed error message is:
In 1 module of nn.Sequential:
/home/.../torch/install/share/lua/5.1/cudnn/find.lua:469: No algorithms found that would fit in free GPU memory
stack traceback:
	[C]: in function 'error'
	/home/.../torch/install/share/lua/5.1/cudnn/find.lua:469: in function 'forwardAlgorithm'
	...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:189: in function <...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:185>
	[C]: in function 'xpcall'
	/home/.../torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
	/home/.../torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
	./trainManager.lua:103: in function 'opfunc'
	/home/.../torch/install/share/lua/5.1/optim/sgd.lua:44: in function 'sgd'

I ran into something similar here: https://github.com/soumith/cudnn.torch/issues/299.
I haven't tried the changes that have been merged since then (have you updated cudnn.torch?), but on the older version in the first link, changing CUDNN_DIM_MAX from 8 to 6 fixed the issue for me.

No unfortunately that didn't solve the error. I tried it with various sizes smaller than 8.
I'm new to torch and installed it one month ago so I guess I have the newest cudnn.torch version.


Advanced Search

I thought of some new additions to the search feature. I think it would be really neat if users would be able to "filter" based on various conditions. My first thought is by generation, i.e. a user can look at only gen 5 pokemon or maybe only gen 2 pokemon. I'll definitely look into what other possibilities could be done with filtering but as for now, this is the base functionality for advanced search I want to add.
Let me know what you think @TheShiveshNetwork and please assign me to this issue if you approve. Thanks!

@Namatuzio go ahead!


The APIs Might Be OutDated

Hello, I have tried to get match information from both the CS:GO and DOTA2 feeds but get nothing

Live matches
╒════╤════════╤═══════╤════════╤═════╕
│ ID │ Team 1 │ Score │ Team 2 │ Map │
╞════╪════════╪═══════╪════════╪═════╡
╘════╧════════╧═══════╧════════╧═════╛
Upcoming matches
╒════╤════════╤════╤════════╤══════╕
│ ID │ Team 1 │ Bo │ Team 2 │ Time │
╞════╪════════╪════╪════════╪══════╡
╘════╧════════╧════╧════════╧══════╛
Recent matches
╒════╤════════╤═══════╤════════╤═════╕
│ ID │ Team 1 │ Score │ Team 2 │ Map │
╞════╪════════╪═══════╪════════╪═════╡
╘════╧════════╧═══════╧════════╧═════╛

Could you please look into it, Tested on Clean VM and on my Machine both give same result.

This projects fetches the data by scrapping websites, which is very unreliable and prone to break. As it is an old project and is not really used by anybody I'm not very eager to fix it. I encourage you to find an alternative


java.io.IOException: readAddress() failed: Transport endpoint is not connected

(suddenly)
java.io.IOException: readAddress() failed: Transport endpoint is not connected
at io.netty.channel.epoll.Native.newIOException(Native.java:133)
at io.netty.channel.epoll.Native.ioResult(Native.java:149)
at io.netty.channel.epoll.Native.readAddress(Native.java:290)
at io.netty.channel.epoll.AbstractEpollChannel.doReadBytes(AbstractEpollChannel.java:244)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:784)
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollRdHupReady(AbstractEpollChannel.java:339)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:337)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:253)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at java.lang.Thread.run(Thread.java:745)
is this supposed to fire as an exception in the channel?

Yes it is expected to fire an exception and the close the channel if auto close is used.

ok thanks

I encounter NPE sometimes,and don't know why,the version is 4.1.0-beta6

@hepin1989 please not hijack the issue but create a new one showing the NPE and add as much infos as possible.

ok,then should we delete the comment here,for the NEP I really can not come up with some detail,it triggered channelActive,and before channelInactive,but when you call remoteAddr,it just return null.


how to deploy any war file or any html file into spring petclinic, is it possible? how to deploy anything by usnig this spring petclinic projetc

how to deploy any war file or any html file into spring petclinic, is it possible?
how to deploy anything by usnig this spring petclinic project can any please tell me the steps or procedure

Hi @gopi1111 This Spring Cloud version of the Spring Petclinic sample application is based on Spring Boot and auto-executable JARs. It does not use WAR file.
For a more simple version, I recommend your to try the original version: https://github.com/spring-projects/spring-petclinic

Please reopen if required


Add ToStringOptions.hideFunctionSelfArgument

Adds an option to hide the self: type argument as the first argument in the string representation of a named function type var if the ftv hasSelf.
Also added in a test for the original output (i.e., if the option was disabled)
I didn't apply this option in the normal Luau::toString() function, just the Luau::toStringNamedFunction() one (for my usecase, that is enough + I felt like a named function would include the method colon : to signify self). If this is unintuitive, I can also add it to the general Luau::toString() function.

Thanks! I think it's okay to leave it out of Luau::toString().

It's a little bit weird that, when this option is set, the test method still shows a generic a that is not actually used in any of the displayed arguments or return type.
Probably okay, but something to be aware of.


update to upstream DCMQI after merging related PR

Update to upstream dcmqi branch after related PR ( https://github.com/QIICR/dcmqi/pull/507 ) is merged.
          update to upstream if possible

Originally posted by @thewtex in https://github.com/InsightSoftwareConsortium/ITK-Wasm/pull/1165#discussion_r1725517077
https://github.com/InsightSoftwareConsortium/ITK-Wasm/pull/1165#discussion_r1727081273

This has been addressed by PR #1213


Remove .desktop suffix when calling setDesktopFileName

Currently we get this warning from Qt6.
QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix

This is because Qt6 expects the desktopFileName to be just the file name of the desktop without path or .desktop suffix.

This is the file name, without the full path or the trailing ".desktop" extension of the desktop entry that represents this application according to the freedesktop desktop entry specification.

This PR removes the .desktop suffix

Thank you!


fix vld1q_f16 undeclared in arm on stb_image_resize2.h v2.10

In my project i set up the android build following this video from youtube
I was doing that before raylib 5 come out. Now i updated to raylib 5 and android studio complains about vld1q_f16 is not defined in stb_image_resize2.h.
By updating the stb_image_resize2.h  from v2.01 to v2.10 fixed the issue.
I build the project after the update on my Debian 12.6, X11, Amd R5, IGU,. Laptop and on Android Studio 2<IP_ADDRESS> on the same machine and both worked fine.
I ran the workflow on linux examples and android build, to make sure the update didn't break anything both worked fine.
Here is the problems i was getting before this update
> Task :app:buildCMakeDebug[armeabi-v7a] FAILED
C/C++: ninja: Entering directory `/mnt/second_ssd/codes/PewPewWar/Android/app/.cxx/Debug/1r1g731w/armeabi-v7a'
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=armv7-none-linux-androideabi29 --sysroot=/home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DGRAPHICS_API_OPENGL_ES2 -DPLATFORM_ANDROID -I/home/masnm/Android/Sdk/ndk/26.1.10909125/sources/android/native_app_glue -I/mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src -no-canonical-prefixes -Wa,--noexecstack -fstack-protector-strong -funwind-tables -ffunction-sections -fno-strict-aliasing -Werror=implicit-function-declaration -Werror=pointer-arith -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -fno-limit-debug-info  -fPIC -std=gnu99 -MD -MT raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o -MF raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o.d -o raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o -c /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2422:22: error: call to undeclared function 'vld1q_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     float16x8_t in = vld1q_f16(input);
C/C++:                      ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2422:22: note: did you mean 'vaddq_f16'?
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:34106:54: note: 'vaddq_f16' declared here
C/C++: __ai __attribute__((target("fullfp16"))) float16x8_t vaddq_f16(float16x8_t __p0, float16x8_t __p1) {
C/C++:                                                      ^
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2422:17: error: initializing 'float16x8_t' (vector of 8 'float16_t' values) with an expression of incompatible type 'int'
C/C++:     float16x8_t in = vld1q_f16(input);
C/C++:                 ^    ~~~~~~~~~~~~~~~~
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2423:27: error: call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     vst1q_f32(output + 0, vcvt_f32_f16(vget_low_f16(in)));
C/C++:                           ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2423:27: note: did you mean 'vcvt_f32_bf16'?
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:32615:50: note: 'vcvt_f32_bf16' declared here
C/C++: __ai __attribute__((target("bf16"))) float32x4_t vcvt_f32_bf16(bfloat16x4_t __p0_134) {
C/C++:                                                  ^
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2423:5: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
C/C++:     vst1q_f32(output + 0, vcvt_f32_f16(vget_low_f16(in)));
C/C++:     ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:26869:15: note: expanded from macro 'vst1q_f32'
C/C++:   float32x4_t __s1 = __p1; \
C/C++:               ^      ~~~~
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2424:27: error: call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     vst1q_f32(output + 4, vcvt_f32_f16(vget_high_f16(in)));
C/C++:                           ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2424:5: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
C/C++:     vst1q_f32(output + 4, vcvt_f32_f16(vget_high_f16(in)));
C/C++:     ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:26869:15: note: expanded from macro 'vst1q_f32'
C/C++:   float32x4_t __s1 = __p1; \
C/C++:               ^      ~~~~
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2429:24: error: call to undeclared function 'vcvt_f16_f32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     float16x4_t out0 = vcvt_f16_f32(vld1q_f32(input + 0));
C/C++:                        ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2429:24: note: did you mean 'vcvt_bf16_f32'?
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:39311:51: note: 'vcvt_bf16_f32' declared here
C/C++: __ai __attribute__((target("bf16"))) bfloat16x4_t vcvt_bf16_f32(float32x4_t __p0) {
C/C++:                                                   ^
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2429:17: error: initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int'
C/C++:     float16x4_t out0 = vcvt_f16_f32(vld1q_f32(input + 0));
C/C++:                 ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2430:17: error: initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int'
C/C++:     float16x4_t out1 = vcvt_f16_f32(vld1q_f32(input + 4));
C/C++:                 ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2431:5: error: call to undeclared function 'vst1q_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     vst1q_f16(output, vcombine_f16(out0, out1));
C/C++:     ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2431:5: note: did you mean 'vsubq_f16'?
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:35725:54: note: 'vsubq_f16' declared here
C/C++: __ai __attribute__((target("fullfp16"))) float16x8_t vsubq_f16(float16x8_t __p0, float16x8_t __p1) {
C/C++:                                                      ^
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2436:27: error: call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     return vgetq_lane_f32(vcvt_f32_f16(vdup_n_f16(h)), 0);
C/C++:                           ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2436:12: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
C/C++:     return vgetq_lane_f32(vcvt_f32_f16(vdup_n_f16(h)), 0);
C/C++:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:7818:15: note: expanded from macro 'vgetq_lane_f32'
C/C++:   float32x4_t __s0 = __p0; \
C/C++:               ^      ~~~~
C/C++: In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2441:26: error: call to undeclared function 'vcvt_f16_f32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
C/C++:     return vget_lane_f16(vcvt_f16_f32(vdupq_n_f32(f)), 0);
C/C++:                          ^
C/C++: /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2441:12: error: initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int'
C/C++:     return vget_lane_f16(vcvt_f16_f32(vdupq_n_f32(f)), 0);
C/C++:            ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:67287:15: note: expanded from macro 'vget_lane_f16'
C/C++:   float16x4_t __s0_847 = __p0_847; \
C/C++:               ^          ~~~~~~~~
C/C++: 14 errors generated.

Execution failed for task ':app:buildCMakeDebug[armeabi-v7a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/mnt/second_ssd/codes/PewPewWar/Android/app/.cxx/Debug/1r1g731w/armeabi-v7a'
  [1/3] Building C object raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o
  FAILED: raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=armv7-none-linux-androideabi29 --sysroot=/home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DGRAPHICS_API_OPENGL_ES2 -DPLATFORM_ANDROID -I/home/masnm/Android/Sdk/ndk/26.1.10909125/sources/android/native_app_glue -I/mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src -no-canonical-prefixes -Wa,--noexecstack -fstack-protector-strong -funwind-tables -ffunction-sections -fno-strict-aliasing -Werror=implicit-function-declaration -Werror=pointer-arith -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -fno-limit-debug-info  -fPIC -std=gnu99 -MD -MT raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o -MF raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o.d -o raylib/raylib/CMakeFiles/raylib.dir/rtextures.c.o -c /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2422:22: error: call to undeclared function 'vld1q_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      float16x8_t in = vld1q_f16(input);
                       ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2422:22: note: did you mean 'vaddq_f16'?
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:34106:54: note: 'vaddq_f16' declared here
  __ai __attribute__((target("fullfp16"))) float16x8_t vaddq_f16(float16x8_t __p0, float16x8_t __p1) {
                                                       ^
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2422:17: error: initializing 'float16x8_t' (vector of 8 'float16_t' values) with an expression of incompatible type 'int'
      float16x8_t in = vld1q_f16(input);
                  ^    ~~~~~~~~~~~~~~~~
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2423:27: error: call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      vst1q_f32(output + 0, vcvt_f32_f16(vget_low_f16(in)));
                            ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2423:27: note: did you mean 'vcvt_f32_bf16'?
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:32615:50: note: 'vcvt_f32_bf16' declared here
  __ai __attribute__((target("bf16"))) float32x4_t vcvt_f32_bf16(bfloat16x4_t __p0_134) {
                                                   ^
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2423:5: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
      vst1q_f32(output + 0, vcvt_f32_f16(vget_low_f16(in)));
      ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:26869:15: note: expanded from macro 'vst1q_f32'
    float32x4_t __s1 = __p1; \
                ^      ~~~~
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2424:27: error: call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      vst1q_f32(output + 4, vcvt_f32_f16(vget_high_f16(in)));
                            ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2424:5: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
      vst1q_f32(output + 4, vcvt_f32_f16(vget_high_f16(in)));
      ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:26869:15: note: expanded from macro 'vst1q_f32'
    float32x4_t __s1 = __p1; \
                ^      ~~~~
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2429:24: error: call to undeclared function 'vcvt_f16_f32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      float16x4_t out0 = vcvt_f16_f32(vld1q_f32(input + 0));
                         ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2429:24: note: did you mean 'vcvt_bf16_f32'?
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:39311:51: note: 'vcvt_bf16_f32' declared here
  __ai __attribute__((target("bf16"))) bfloat16x4_t vcvt_bf16_f32(float32x4_t __p0) {
                                                    ^
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2429:17: error: initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int'
      float16x4_t out0 = vcvt_f16_f32(vld1q_f32(input + 0));
                  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2430:17: error: initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int'
      float16x4_t out1 = vcvt_f16_f32(vld1q_f32(input + 4));
                  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2431:5: error: call to undeclared function 'vst1q_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      vst1q_f16(output, vcombine_f16(out0, out1));
      ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2431:5: note: did you mean 'vsubq_f16'?
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:35725:54: note: 'vsubq_f16' declared here
  __ai __attribute__((target("fullfp16"))) float16x8_t vsubq_f16(float16x8_t __p0, float16x8_t __p1) {
                                                       ^
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2436:27: error: call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      return vgetq_lane_f32(vcvt_f32_f16(vdup_n_f16(h)), 0);
                            ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2436:12: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
      return vgetq_lane_f32(vcvt_f32_f16(vdup_n_f16(h)), 0);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:7818:15: note: expanded from macro 'vgetq_lane_f32'
    float32x4_t __s0 = __p0; \
                ^      ~~~~
  In file included from /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/rtextures.c:222:
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2441:26: error: call to undeclared function 'vcvt_f16_f32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      return vget_lane_f16(vcvt_f16_f32(vdupq_n_f32(f)), 0);
                           ^
  /mnt/second_ssd/codes/PewPewWar/Android/app/src/main/cpp/raylib/src/external/stb_image_resize2.h:2441:12: error: initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int'
      return vget_lane_f16(vcvt_f16_f32(vdupq_n_f32(f)), 0);
             ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /home/masnm/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/arm_neon.h:67287:15: note: expanded from macro 'vget_lane_f16'
    float16x4_t __s0_847 = __p0_847; \
                ^          ~~~~~~~~
  14 errors generated.
  ninja: build stopped: subcommand failed.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 4s
39 actionable tasks: 8 executed, 31 up-to-date

failed
Download info
:app:buildCMakeDebug[armeabi-v7a]
stb_image_resize2.h
call to undeclared function 'vld1q_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
initializing 'float16x8_t' (vector of 8 'float16_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
call to undeclared function 'vcvt_f16_f32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
call to undeclared function 'vst1q_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
call to undeclared function 'vcvt_f32_f16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
call to undeclared function 'vcvt_f16_f32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [armeabi-v7a]
initializing 'float16x4_t' (vector of 4 'float16_t' values) with an expression of incompatible type 'int' [armeabi-v7a]
com.android.ide.common.process.ProcessException: ninja: Entering directory `/mnt/second_ssd/codes/PewPewWar/Android/app/.cxx/Debug/1r1g731w/armeabi-v7a'

@masnm thanks for the update!


Extend relation object to allow get relation request with objects

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 21 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 38.487%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

builtins/edge/ds/relation.go
0
21
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
1155

Relevant Lines:
3001

💛  - Coveralls


small fixes in a couple of System.Threading.Tasks classes docs

@alfredmyers,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@alfredmyers,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Build seemed stuck. Closed and reopened to kick off a new one.


General template tasks

General tasks from testing:

[x] countdown: red if negative
[x] translate delete confirm messages ("ng-bootbox-confirm")
[x] ng-bind-html does not work on projector slides
[x] translations are not available on projector
[x] list views: show number of filtered AND total table rows
[x] form dialogs: reset object from temp backup if dialog is canceled (list/detail view must not show unsaved changes!)
[x] justified login form elements
[x] wrong translation stribg: "someones" -> "someone's"
[x] Cancel of QuickEdit Mode should refresh DS-Data Object
[x] Cancel of motion poll dialog should refresh poll data
[x] Mediafile: 100% Button should stretch width to 100% (Page fit)
[x] Assignment QuickEdit: add last column to colspan
[x] Assignment detail view: Project ballot on new poll slide (step 4)
[x] Search result contains empty mediafile items
[x] Assignment detail view: add confirm dialog for delete poll
[x] set assignment phase automatically (to 'in voting' if poll is created, to 'finished' if elected candidates = number of posts)
[x] motion slide: show poll results
[x] motion pdf: states are not translated
[x] use ckeditor in profile view for about text
[x] projector controls: use btn-groups, add zoom-reset, fix edit button for edit motion
[x] use better chat box text color

Split up last open task into #2053.


chore: fix typo

@roasbeef: review reminder
@yyforyongyu: review reminder
@crypt-iq: review reminder

@zhiqiangxu  - please see our code contribution guidelines for commit title & body structure. I also think all these changes can be squashed into a single commit

@ellemouton I just squash them into a single one.

@zhiqiangxu  - please see the failing linter CI check - there is a line that is too long it seems. Lines should wrap at 80 chars.
Also, for the commit title: I think you can just name it lnwallet+input: fix a few typos. docs: implies that the changes are in the docs folder, which they are not


btn-link on login page is missing custom css

Describe the bug
The "forgot your password?" link on the login-page is not styled with custom colors.
To Reproduce
Steps to reproduce the behavior:

Go to login page.
See that the link is purple and does not honor the custom color you can set in the config.

Seems that the btn btn-link class is missing here: https://github.com/saleem-hadad/larecipe/blob/master/resources/views/partials/style.blade.php

Hi @jesperholstjh
Actually, this package is meant to be without any pre-made auth pages, we left that for the developer to build his own UI


Date Problems in Portuguese Language

I've made my CV in Portuguese Language, but when I download it in PDF, the date appears in English... I've tried so many times, but the problem persists. I would be very grateful if you fix this. Thank you for this awesome project!
RxResume_PDFExport_marcosgj_meucv_1674717670.pdf

I have the same problem

Same here

Same issue here

Same for German

I'm working on the new version right now where date inputs are no more dates, but just regular text fields so the user would be able to enter anything they like, and it is sure to appear the way they input in the resulting PDF as well. Please be patient as I work out the kinks and final few features in the new release, and we can all rejoice :)

That sounds great. I found it particularly annoying that the birthday format is not independent from the rest of the date formatting. Also, I was missing MM.YYYY .
Is there any solution to work around these for now manually? Like via CSS custom commands?

I found a workaround on v3 where I needed to edit the locale value in the exported json (to the desired language, "fr" for me) and import it again. I'm not sure it works for every languages, like Portuguese here.


Delete organization modal incorrectly capitalizes org names

Describe the bug
org names are case sensitive and we should not be capitalizing them for display. The mode to delete an org is capitalizing the org names.
To Reproduce
Steps to reproduce the behavior:

Click the infrastructure tab
Click Chef Infra Servers
Select your server
Click the ... of the org to delete and click delete

Expected behavior
Lowercase name
Screenshots

Versions (please complete the following information):

OS: macOS
Browser Firefox
Automate Build Number<PHONE_NUMBER>0302

Aha! Link: https://chef.aha.io/epics/SH-E-296

This issue is not reproducible. Closing issue.


Update AutoRest.CSharp Version

The automation for this seems to be broken right now, this is ingesting the latest AutoRest version which has changes from @fengzhou-msft on docs for protocol methods (we now emit something that looks like a JSON object to help folks understand what is expected).


How to properly format [PHP 8.1] Enum files

With PHP 8.1 we now have access to Enum 🥳. However I am having a little issue with formatting these files, using this extension in VS Code.
Here is example of my settings .vscode/settings.json
{
    "[php]": {
        "editor.defaultFormatter": "valeryanm.vscode-phpsab",
        "editor.formatOnSave": true
    },
    "phpsab.snifferEnable": true,
    "phpsab.executablePathCBF": "./vendor/bin/phpcbf",
    "phpsab.executablePathCS": "./vendor/bin/phpcs",
    "phpsab.snifferShowSources": true,
    "phpsab.snifferMode": "onType"
}

And when I format on save here is my ending result

If I use somthing else like PHP Intelephense to format, I end up with PHPCS warning.

Any suggestion on anything on my end I need to do to fix?

First, you should only use one formatter to avoid conflicts. The extension itself is a wrapper for easy configuration of phpcs and phpcbf. I don't control the behavior of those scripts. If phpcbf is applying your rules set wrong you would need to file an issue with the phpcs team.

I actually don't use this extension anymore, so I will close


Download videos

Automatically download videos in addition to photos.
Signed-off-by: Timothy Walshjamin<EMAIL_ADDRESS>

Thanks @walshta !


Mosaic Tile: new feature map type

Mosaic is a new map type in the Cloud v2 UI.  It is currently behind a feature flag and not available to production users.  It is available in Tools, and does require some finishing touches before it's ready to release.
Relevant URLs
Epic link:
https://app.zenhub.com/workspaces/applicationmonitoring-5e3b05772922e316b3a210a4/issues/influxdata/giraffe/199
Final story:
https://app.zenhub.com/workspaces/applicationmonitoring-5e3b05772922e316b3a210a4/issues/influxdata/idpe/8336
Defect:
https://app.zenhub.com/workspaces/applicationmonitoring-5e3b05772922e316b3a210a4/issues/influxdata/idpe/8443
What products and version are you using?
Cloud v2 UI

Duplicate of #1290


Add license.

Just want to get a small formality out of the way before I add more stuff to it. Is the MIT license agreeable @disjukr ?

Done


Add UTF-8 charset meta tag to index.html

Fixes rendering issues in Safari when opening index.html from the filesystem

This appears to have been added in a previous PR, so I'm going to close this. Thank you for the contribution, @numist! 🙏


Fix: Added code for 'Broken Mirror Text Animation' (Issue #40).

Related Issue: #40
Preview:

@nandini7637 Please Review this PR.

Nice Animation

Nice Animation

Thank You Sir !

LGTM 👍

Thank You Sir !


Shankar found this while compiling in vercel:

/tmp/xfs-580e87c8 STDOUT found 6 vulnerabilities (1 low, 2 moderate, 2 high, 1 critical)
➤ YN0000: │ /tmp/xfs-580e87c8 STDOUT run npm audit fix to fix them, or npm audit for details

I did try running it locally and I didn't get these errors might be a vercel thing. Have you been able to produce these errors locally? @ShankarWarang

I did try running it locally and I didn't get these errors might be a vercel thing. Have you been able to produce these errors locally? @ShankarWarang

No, I did't test locally.

Could you try to recreate the issue or take a screenshot of exactly what you see on vercel?

No, I did't test locally.
Could you try to see if you can recreate it locally or take a screenshot of what exactly is happening on vercel?

No, I did't test locally.

Could you try to see if you can recreate it locally or take a screenshot of what exactly is happening on vercel?

No, I did't test locally.

Could you try to see if you can recreate it locally or take a screenshot of what exactly is happening on vercel?

Sure.

These are full logs from vercel: https://pastebin.com/nxRPcmVs
@Depth-Hoar


sframe Cannot create sarray of value type <type 'unicode'>

The testing code is below:
import sframe as sf
t = sf.SFrame({"id": ['a', 'b', 'c'], 'value': [1, 2, 3]})
t['str'] = 'aaa'
t['uni'] = u'aa'

Will sarray.from_const support unicode value?

@gxglhyy:  Thanks for the report.  I will look in to adding it.


[unit test]: test descheduling limits

Check all three descheduling limits are exercised

/lgtm

/approve
/hold for feedback to be addressed

/hold cancel


[Question] Doesn't Fold from README.md duplicate its function-argument?

The Fold:
// Folds over a list
(Fold  Nil        c n) =  n
(Fold (Cons x xs) c n) = (c x (Fold xs c n))

The 2:
let g = λf(λx(f (f x)))
(g g)

How is it possible that (g g) is a no-no, but the Fold, supposedly, is able to be used twice?
P.S.: Are the following scenarios possible and correct:

(Fold lst (\x y. ... (Fold ...) ...) 5);
(Fold lst Plus (... (Fold ...) ...))?

The limitation seem to be there to prevent 2 non-annihilating Dup nodes to go one through another and becoming 4, isn't it?

(g g) is not a no-no! It is fine and very useful. What is not fine is g g **when g is itself a function that has g g. Like, this is okay: (λg(g g) λg g), but this is not okay: (λg(g g) λg(g g)). The Fold function just uses the c argument twice, which is even-more-okay than g g, since c isn't applied itself. So, if we rank terms based on how much they stress HVM's cloning limits, we have:

(λx(x) λx(x)) (completely linear, so ez)

(λx(Pair x x) λx x) (non-linear, but not self-applying... acceptable)

(λx(x x) λx x) (non-linear and self-applying, but nothing else... that hurts, but we're fine)

(λfλx(f (f x)) λfλx(f (f x))) (okay, we're reaching our limits, but no f f so still okay)

(λx(x x) λfλx(f (f x))) (game over, that's too much for us to handle)

On this scale, HVM deals fine with 1-4. Fold is more around 2. And 5 is basically problematic useless stuff. (I challenge anyone to come up with a good example that HVM can't handle, that has any relevant application, or that isn't a contrived way to express a program that just needs to be refactored to not suck.)

A-ha, so a function that directly self-apply an argument can't be used twice?
In this case, self-applying stuff like (f f) is a type error in most type systems to begin with.

It can! For example, this is fine:
let i = λx x
let g = λf (f f)
((g i) (fgi))

Here, g is a function that self-applies its argument, and it is used twice. But the clones aren't self-applied. Instead, each clone is applied to λx x, which makes it fine. Since this is too confusing, I've been thinking about some ideas on how to incorporate an "ill clone checker" on HVM, that isn't as restrictive as the old Fm-Core checker.


feat: Update Android Target SDK to 30

The type of this PR is: feat

This PR resolves CX-2126
Description

Update Android SDK to 30

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Update android target SDK to 30 - mounir

This PR contains the following changes:

Dev changes (Update android target SDK to 30 - mounir)

  Generated by :no_entry_sign: dangerJS against 6e6127e809935aa80532eb338b6e4c601783d0b0

I created a build and tested it for a while and everything seems to be working fine.

Thank you!!


Inconsistent deserialization for OneOrMany properties on derived classes

Describe the bug
I have some properties of OneOrMany<T> that deserialize when they're single valued, but not when array valued; but others that deserialize fine in either situation.
To Reproduce
I'm working with three derived classes: the first extends PostalAddress with properties of type OneOrMany<IAdministrativeArea>, and is called ExtendedAddress; the second extends Thing with some basic tracking, and is called ExtendedThing; the third contains properties of both those types, and is called Project. Here's the relevant parts of each class:
public partial class ExtendedThing : Thing, IExtendedThing
{
		[DataMember(Name = "@type", Order = 1)]
		public override string Type => "ExtendedThing";
  // The tracking properties aren't relevant right now
}

public partial class ExtendedAddress : PostalAddress, IExtendedAddress
{
		[DataMember(Name = "@type", Order = 1)]
		public override string Type => "ExtendedAddress";
		[DataMember(Name = "addressCounty", Order = 506)]
		[JsonConverter(typeof(ValuesJsonConverter))]
		public OneOrMany<IAdministrativeArea> AddressCounty { set; get; }
}

public partial class Project : ExtendedThing, IProject
{
		[DataMember(Name = "@type", Order = 1)]
		public override string Type => "Project";
		[DataMember(Name = "affectedSite", Order = 206)]
		[JsonConverter(typeof(ValuesJsonConverter))]
		public OneOrMany<ExtendedThing> AffectedSite { set; get; }
		[DataMember(Name = "projectAddress", Order = 210)]
		[JsonConverter(typeof(ValuesJsonConverter))]
		public OneOrMany<ExtendedAddress> ProjectAddress { set; get; }
}

I want these Projects to be assigned to a ReceiveAction as the Object property; but since that doesn't deserialize except as a Thing, I've been serializing and assigning the string to the ReceiveActions' Object's AlternateName. After transport I do this: inputObject.Object = JsonConvert.DeserializeObject<Project>(inputObject.Object.First().AlternateName.First().ToString());. That worked originally, but doing some regression testing I now see that a single AffectedSite deserializes as an ExtendedThing, and an AffectedSite array deserializes as null. The AddressCounty, meanwhile, deserializes properly whether it's a single value or an array. In other words, the following string
"{\"@context\":\"http://some.site.io\",\"@type\":\"Project\",\"affectedSite\":[{\"@type\":\"ExtendedThing\",\"@id\":\"http://some.site.io/Site/1\",\"name\":\"Example Site 1\"},{\"@type\":\"ExtendedThing\",\"@id\":\"http://some.site.io/Site/2\",\"name\":\"Example Site 2\"}],\"projectAddress\":{\"@type\":\"ExtendedAddress\",\"addressCounty\":[{\"@type\":\"AdministrativeArea\",\"name\":\"County 1\",\"alternateName\":\"1\"},{\"@type\":\"AdministrativeArea\",\"name\":\"County 2\",\"alternateName\":\"2\"}]}}"

should deserialize like
Project {
  AffectedSite [Site 1, Site 2],
  ProjectAddress { AddressCounty [County 1, County 2] }
}

but instead deserializes like
Project {
  ProjectAddress { AddressCounty [County 1, County 2] }
}

I encountered something similar with a difference between how array values are handled vs single values. I can't say for certain the cause is the same here however I am in the process of rewriting the ValuesJsonConverter to fix a number of issues (see #109).
If you want to try out to see if that solves the issue for you, try downloading a build from here: https://dev.azure.com/schema-net/Schema.NET/_build/results?buildId=363&view=artifacts&type=publishedArtifacts (its the current latest from that PR).

That's definitely it, thanks!


Added 'skip to main content' to docs pages.

Added 'Skip Links' to all js pages in Docs.

Thanks Tiago!