I updated the modpack "Life in a Village" today but it keeps crashing

OTG Plugin or Mod

[ x] OTG Mod for Forge
[ ] OTG Plugin for Spigot

OTG Version
[Please specify the full OTG version that you are running by placing "x" into []]

[ x] 1.12.2_v8_r1
[ ] 1.12.2_v7_DEV_r26
[ ] 1.12.2-v6
[ ] 1.12.2-v5
[ ] 1.11.2-v8
[ ] 1.11.2-v9
[ ] 1.10.2-v21
[ ] Other - specify here

Forge or Spigot Versions
[The full Spigot Server or Forge versions that you are running]
<IP_ADDRESS>31
Server/Client Log
crash-2019-10-27_08.54.55-server.txt
What other plugins are you running?
[List of your Mods or Plugins installed, ideally with versions]
I am playing "The Village Life" modpack of twitch 1.12.2
Description
We are able to play for a little while but then often when someone brakes a block (seems to be random what block, 1 time was bricks another time sand) The server shuts down and I have to restart the server.
Be able to play with no crashing.

Duplicate of #361

Thanks for reporting, closing as duplicate, please see original issue.


CompilerInput.generateDependencyInfo needs to use compiler's ModuleLoader

See #2846. This addresses the issue by making Compiler.getModuleLoader public and using this in CompilerInput.getDependencyInfo to guarantee we get the correct information.

@MatrixFrog do you mind taking this? I see you've already been discussing it on the related issue #2846

@brad4d @MatrixFrog bump. Is there anything more required here? I know the test is not the best but I think the patch should otherwise be pretty clear. Thanks!

@blickly could you take this PR?

Sure, importing now...

Actually, sorry for not noticing earlier, but do you mind squashing the 3 commits into one?  That just makes it a bit easier to import...

@blickly done

Retriggering Travis...

@blickly it's strange that the test is failing. Do I need to rebase my PR to master? I can't get it to fail locally using my branch.

Hi @blickly @swannodette. Do you have any idea, how to resolve this?

Created internal issue b/122075779

I'm closing this because there's been no response from @swannodette to the review feedback.

Sorry I just haven't had time to circle back on this and confirm that it's even still an issue anymore.


new driver for webkit

we can create a driver using webkit engine to run actions without a browser, with the same results.
for help us with this, we can use qtwebkit

I would love to see phantom.js supported.

I've stopped it. I was having some non-helpful errors while trying to test it.
The api would have to change too, cause phantomJs is all asynchronous, which made the work even more unpleasant.
There's a python project that uses QtWebkit too, just don't remember the name, maybe it would be a good one to use as part of the qtwebkit driver.

thats the one I was trying to remember :) ty @fsouza

The right link for spynner, on github: https://github.com/makinacorpus/spynner


[5.1][AST] Use LookUpConformanceInModule to check if extension applied

Cherry-pick of #26321 into swift-5.1-branch

Explanation: If a extension have some requirements, we check if it's applied or not. However, it used to fail to classify as "applied" when the requirement has "chained" constraints like Index : Strideable, Index.Stride == Int. This patch fixes that by using LookUpConformanceInModule to check the conformance
Scope: Inherited member lookup for code completion
Risk: Low.
Issue: rdar://problem/53401609
Testing: Added regression test case
Reviewer: Slava Pestov (@slavapestov)

@swift-ci Please test

@swift-ci Please nominate


[Bug Report]: Unbelievable memory usage, even 16+8GB swap is not enough.

System Info
System:
OS: Linux 6.0 Arch Linux
CPU: (16) x64 AMD Ryzen 7 4800U
Memory: 12.68 GB / 15.00 GB
Container: Yes
Binaries:
Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm
npmPackages:
@rspack/cli: workspace:* => 0.1.0
Details
After cloning the repository, I tried to run the rspack test and my vscode crashed. Upon checking htop， I found that the memory was overloaded. Afterwards, I tried adding an 8GB swap file, but it still couldn't meet the requirements of rspack.
Reproduce link
No response
Reproduce Steps
to exec cargo test in rspack repo

Running cargo test in a terminal only uses a small amount of memory, I can't really tell what's happening with VSCode in this case. Is the cargo test process taking a lot of memory or is it some other process?

Running cargo test in a terminal only uses a small amount of memory, I can't really tell what's happening with VSCode in this case. Is the cargo test process taking a lot of memory or is it some other process?

maybe it's an issue with my system's kernel, not due to VSCode.
When I run cargo test on my system, it encounters OOM during the Cargo Building phase, but cargo build is ok.
I have briefly checked the system logs.
output: Killed process 15803 (ld) total-vm:1417440kB, anon-rss:956624kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:2812kB oom_score_adj:200


got an error wile using the powertoys run feature

Microsoft PowerToys version
Version: <IP_ADDRESS> OS Version: Microsoft Windows NT 10.0.22621.0 IntPtr Length: 8 x64: True Date: 5-5-2023 15:51:21 Exception: System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Installation method
PowerToys auto-update, Microsoft Store
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
2023-05-05.txt
2023-05-05.txt
✔ Expected Behavior
to open edge
❌ Actual Behavior
it gave me an error
Other Software
No response

Fixed in 0.69 release. Please upgrade


Prevent p1 users from uploading arbitrary PDFs

I'm sure you already have this in mind, but: All uploaded PDFs must be "approved", before becoming a project on which OCR runs. That will take care of both copyright and "free OCR" concerns.

I'm sure you already have this in mind, but: All uploaded PDFs must be "approved", before becoming a project on which OCR runs. That will take care of both copyright and "free OCR" concerns.

Agreed -- this is coming up soon.


Integration with Style Settings plugin

Would be great if a future integration with the Style Settings plugin can be built to customise how the database looks like.

Could be nice, but requires to develop a PR in that plugin. I will open another kind of project for external issues


Feature #832: Versioned tests

Adds versioned tests, so we can defend against regressions specific an HTTP client.

Coverage remained the same at 92.671% when pulling 8ce0abe540da1c0676a9afe735a704eafb4d8315 on feature-832-versioned-tests into 2a012a00276cdea57ad8f8204dff4ba5a1e9cc7c on master.

Coverage remained the same at 92.671% when pulling bdf3cf73bfa9bae0a2fddfd4e467e9baba9e36a2 on feature-832-versioned-tests into 2a012a00276cdea57ad8f8204dff4ba5a1e9cc7c on master.


fix(stream): avoid hang up when stream helper's callback throw error

resolve: #2164
Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

Hi @sor4chi
Thanks. I've commented. Please check them.

@sor4chi
Thanks! Merge now.


Db testcases

please don't make changes on the other files !! unnecessary !! if u are facing some problems please do not it down on what they where and how u did it .
please changes thoes things back to normal !!
I meant the login_api,login_api.py etc ..


Rename Bug-Check WORKER_THREAD_TEST_CONDITION to 0x163

The file, and thus URL, for the BugCheck WORKER_THREAD_TEST_CONDITION had the code "0x162" instead of "0x163". The error exists only in the file name and URL, the file content itself is valid.

@microsoft-github-policy-service agree

@Michael-K-Stein - Looks good and nice to have the URL properly match the topic. Thanks for the PR!


Adds ui-lib

I'm not sure if this should be a standalone option or part of the parcel branch. I think it depends on the extent to which we want to maintain these (parcel and browserify) branches as 'minimal config templates'.
I have had a few requests in the past for a ui-lib app template and I thought this would be an ideal way to offer a no-fuss application spin-up for folks on other teams when they need to create very simple interfaces

Nice addition!! 🚀
Things I noticed, which apply to all the cookiecutter branches:

we should rename the default branch that is created. Currently master, I'd suggest develop
Maybe we should run yarn install after initialization (add step in post_gen_project.py)?
I got this warning:

@parcel/transformer-babel: It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Parcel for changes to this config to take effect. Try using a babel.config.json file instead.

the mapbox token is missing initially. I wonder how we can improve the dev experience around that, just a blank screen does not help (the console gives a clue though). Ask for the token in cli when creating the project?


CB-10699 Datahub HA template fails with missing ngninx ssl conf

This splits the gateway or knox logic into their own and sets the
nginx.init on the gateway instance instead of the knox instance as
DH HA has knox deployed on non gateway nodes.
See detailed description in the commit message.

Thanks @orngejaket and @keyki

Thanks @orngejaket and @keyki


Bundle identity problems with clapwrapper_dummy_object_to_trick_the_os

The fixed clapwrapper_dummy_object_to_trick_the_os bundle symbol must be dynamic, so that multiple plugins that use the wrapper, don't run into the Objective-C namespace clash.

fixed in 0.7.0 release


rolling training set

🌟 Feature Description

Currently the training set period is fixed from the very begining in the configuration, but in practice, we may want to use more recent data to update model parameter. If the training set can be updated as the time moving forward, it maybe more interesting.
Motivation

Application scenario
Related works (Papers, Github repos etc.):
Any other relevant and important information:

Alternatives

Additional Notes

@yieldbook
The rolling training models feature will be released in the future.
In our planned design, we will implement a Task Generator to generete different tasks for different time segments.
At last, we'll combine these results.
Welcome to discuss with us, thanks :)


What RDP Protocol version level is xrdp at?

It's been several years since I tried xrdp last, and when I did, it used a very substantial amount of bandwidth for one connection.
I'm curious, since I can't find this documented, what MS RDP protocol level ( https://en.wikipedia.org/wiki/Remote_Desktop_Protocol#History ) can xRDP serve at? I haven't seen any of the release notes talk about protocol version or bandwidth/performance improvements, so I'd like to know more about where that's at.

The latest features from RDP 7.1.  The RemoteFX codec is used.  So it's not great on bandwidth.
We have plans to implement RDP 8 GFX and that should happen soon.  GFX will have bandwidth up to 10 times better as it used codecs like h264 and progressive remotefx.

@jsorg71 yay! Is there any sort of ticket/issue I can watch for that development? :)

I create #1422 for GFX tracking

@jsorg71 thanks! :D sub'd


Sfinktah jx hex constants

I'm not going to go OTT with test cases and what not, since I'm not expecting the concept to be accepted.
Basically, there is a use case where have values in a  JSON file in their hex format is much more readable for the human.  To quote duktape on planned JX extensions: "This is useful for e.g. config files containing binary flags, RGB color values, etc."
I suffer badly from this, so though I would look into what was required to have JSON read (not asking it to write/serialize them), just passively accept the data in hex.
{
    "0x0ab968f6": 0x1424c8b18,
    "0x2d370c34": 0x1424c8600,
    "0x411e7493": 0x1425891c0,
    "0x45aaa13a": 0x1428281d8,
    "0x539c8eb8": 0x1424c8ad0,
    "0x85fb462d": 0x1424c8c98,
    "0xb7750119": 0x1427bfde0,
    "0xeb511f85": 0x141f699b0,
    "0xeb64adf7": 0x14258c4c0,
    "0xf17288d6": 0x1424f0500,
...

I manually create the JSON by taking decimal JSON and running some vim over it:
:%s/\(\d\+\),/\=printf("0x%x,", substr(1))

Coverage remained the same at 100.0% when pulling 741d422fa6a31d138ac65f38259155ea34095d21 on sfinktah:sfinktah-jx-hex-constants into fd7a9f600712b2724463e9f7f703878ade676d6e on nlohmann:develop.

I am afraid, I will not accept this change.
See the third item of the contribution guidelines:

Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.

I am afraid, I will not accept this change.
See the third item of the contribution guidelines:

Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.

As I said -- wasn't expecting an accept -- but would point out that it doesn't in any way break JSON conformance (at least, not more than some of your recent features). :)
BTW, many thanks -- I copied your techniques for discerning associative containers from sequential containers with templates and read all the SO articles you mentioned.


"outerHTML" property of elements  Spec  Test: !!(document.createElement('div').out...

"outerHTML" property of elements
Spec: http://www.w3.org/TR/html5/apis-in-html-documents.html#dom-outerhtml
Test: !!(document.createElement('div').outerHTML)
Easy JS-based fallback available.

This issue was imported from Google Moderator
Moderator votes: +3
Issue added by defaude on 2012-01-17
To vote this issue up or down, simply include +1 or -1 in your comment.

Already part of http://caniuse.com/#feat=xml-serializer


[Doc] Add resources callout to top of docs.

Based on feedback that resources were hard to discover, add an index to the top of the main doc page.

Looks like :

Took all suggestions : https://github.com/OpenAssetIO/OpenAssetIO/pull/1285/commits/b87ca76f63dadd8752ac3186997aa83b2db09476


Move server navigation out of navbar in monitor

fixes #3548
This PR...

moves the 'manager server', 'tablet servers' and 'garbage collector' links out of the 'servers' dropdown in the navbar and into their own separate links
makes it so that when the manager state or goal state is SAFE_MODE the manager notification circle is yellow and when the manager state or goal state is CLEAN_STOP it is red

Here are some screenshots with various manager states:

Is this approach going to work if there are multiple managers?  That's not the case now, but asking if the changes would be able to accommodate more that one manager?  The answer  might be that with multiple managers, a whole lot of other things will need to change, so it does not matter.  But, would be desirable if it could be accommodated, or at least provide a path towards multiple managers rather than being another road block.

Is this approach going to work if there are multiple managers?

I'm not sure how safe mode would work with multiple managers, but assuming they each could be in safe mode, then visually on the monitor, the main change would be to add an "s" to make it plural. The dot color or other visual element could indicate that any one of the managers are in safe mode. So, I don't think it really affects this at all right now.

In 589787c I returned the navbar servers dropdown to how it was. I also made it do that servers dropdown notification takes into account the manager state and goal state when its color is set. I also did quite a bit of refactoring to break things down into smaller methods and create constants for frequently repeated variable names.

@DomGarguilo can you show some updated screenshots for the recent changes, when you get a chance?

Here are some updated screenshots. Let me know if there are any other specific cases that you might want to see.

Here are some updated screenshots. Let me know if there are any other specific cases that you might want to see.

@DomGarguilo Thanks for that. I personally like this, but @ivakegg said that it could go ignored if it was just a yellow dot in the rolled up version, because it's common for the Servers dot to be yellow due to some TServers being offline, rather than anything to do with the Manager. So, that's why I had proposed using a unique visual element that got rolled up when the Manager is in safe mode, so it's distinguishable from the common situation where it's merely yellow because a few tservers are offline. Yellow is still good to use, but instead of a dot, it could be a different icon.

@DomGarguilo I'm going to go ahead and include this in 2.1.2, because I think it gets us closer to what we want. But I will create a new issue for subsequent work to create a distinct visual indicator for the rollup when the manager's indicator is yellow vs. the tservers' being yellow, so you don't have to expand the menu to notice the manager is yellow.

Didn't realize the PR was against main before I merged this, so I needed to cherry-pick it to 2.1 to backport it, in commit 313238b5e8887f3e70809d920c1d359fc1b29010

The follow-on ticket is #3688


Multiple connections

It is possible to connect multiple FTDI converters?

Just off the top of my head:
You should get multiple devices listed. You will probably need to recode a little to add an array of loaded devices rather than one specific. Shouldn't be too hard.

PS Watch my blog as I will blog in the next 24hrs with respect to some direct feedback
I received a few hours ago about FTDI ARM drivers from Microsoft..
http://embedded101.com/Blogs/David-Jones

Yes, luka1995, it should definitely be possible to connect multiple converters. Simply instantiate one DeviceConnection class per FTDI device you'd like to communicate with.

Examining the code:
            private DeviceConnection deviceConnection;
            public DeviceConnection DeviceConnection
            {
                        get { return deviceConnection; }
                        set { deviceConnection = value; OnPropertyChanged(); }
            }

            private async void OnSelectDevice(DeviceNode deviceNode)
            {
                 DeviceConnection newConnection;
                 lock (locker) // make sure we don't create multiple device connections by a trigger happy user
                  {
                      if (DeviceConnection != null)
                      return;

                      var device = ftManager.OpenByDeviceID(deviceNode.DeviceId);
                     newConnection = new DeviceConnection(deviceNode, device);
                     DeviceConnection = newConnection;

As you can see from the code above, as it stands the code only accepts one connection. You need a list or array of DeviceConnection. Should check that each new one isn't already connected and need to sort out things (get the correct one) when disconnecting.
eg.. Make the property a list
Cheers


edits and typos in getting_started.rst

@jlperla I personally find this lecture too technical for getting_started, and I'm not really sure we should be advocating that people use cloud-based solutions and docker images when when just beginning to learn
Feel free to disagree with me though, but I think this lecture may be a bit offputting to learners who just want to casually pick up some Julia
Also I think maybe we should install IJulia separately, because it will demonstrate the package manager and also make people aware they need to install IJulia to get the kernel... I find I need to reinstall this package often for some reason...

Is it too technical because it is tough to follow, or because you don't think people should use those technologies?
The docker and web based solutions are, by far, the easiest ones to get started with since the setup process is easier.  Getting Julia installed for non technical users can be very error prone and confusing because there are places to jump between
Not to mention that a docker or cloud based solution has everything preinstalled and precompiled, so you can get started immediately without 30 minutes of installing and precompiling everything.
But if you think the docker installation is too tough to follow, we could move it to the local installation section.

I think the part that seems too technical is the Docker part... there's a lot of details and a lot of jargon that could be intimidating to people just starting out

Ok, if you think it is too scary we can move it to the local installation section.

See #292

What are your thoughts @jstac?

We we move it. The problem with docker is that it is extremely easy to get the whole quantecon setup up and running, but on Windows the docker installation process can sometimes mess up.  Also, hopefully @arnavs can remove further jargon from the installation when it is moved over. I thought I stripped out most of the unnecessary background information, but maybe I didn't go far enough

Teaching is hard --- you need to provide enough information to get to the next step but no more, lest you overwhelm the student.  I'll review at some stage but let's all work to minimize jargon and inform on a need-to-know basis.  @natashawatkins has good instincts about this stuff so perhaps we should iterate until she gives thumbs up.


React Compiler prevents theme updates in components with style prop when using themes

Description
When using React Compiler, theme updates don't work in components that:

Use themes
Accept a style prop

Example of affected component:
import { View, type ViewProps } from 'react-native';

import {
	StyleSheet,
} from 'react-native-unistyles';

export const UnistyledView =(props: ViewProps) => {
	const { style, ...otherProps } = props;
	return <View style={[style, styles.container]} {...otherProps} />;
};

const styles = StyleSheet.create((theme) => ({
	container: {
		backgroundColor: theme.colors.background,
	},
}));

Details:

Theme updates stop working when React Compiler is enabled, in components structured like the example above
Issue occurs regardless of whether style prop is provided
Using unistyles themes directly in style prop also doesn't update

Attempted Solution:
I tried wrapping the component with createUnistylesComponent. This fixed the theme updating, but introduced re-rendering on theme changes, which defeats the no-rerender benefit of Unistyles 3.0.
Test cases:
Works: Without React Compiler
Works: Without style prop definition (Please check ThemedView in reproduction)
Doesn't work: With React Compiler + style prop definition (Please check UnistyledView in reproduction)
Works but re-renders: With React Compiler + style prop definition + createUnistylesComponent
Although such component patterns might not be necessary when fully adopting Unistyles, developers migrating from React Native's StyleSheet might encounter this issue.
Steps to Reproduce

Create a component that uses theming:

const Component = (props: ViewProps) => (
    const { style, ...otherProps } = props;
    <View style={[styles.container, style]} {...otherProps} />
);

const styles = StyleSheet.create((theme) => ({
    container: {
        backgroundColor: theme.colors.background,
    },
}));

Set up React Compiler
Run the app
Change system color scheme

Snack or Repository Link (Optional)
https://github.com/Ucekay/unistyles-react-compiler-repro
Unistyles Version
3.0.0-beta.1
React Native Version
0.76.3
Platforms
iOS
Expo
Yes

Thanks for the detailed repro! I will try to find the root cause! 😇

We have kind of idea why is that happening. It requires rewrite of one part of Unistyles pipeline.
Since React Compiler is in beta, we will move it to later beta release.

Thank you for looking into this! Totally understand about waiting for a later beta given React Compiler's current status. Really appreciate the quick response! 🙏


Watch task misses pug files

Hey!
The watch task misses the pug files.
Wrong config for jade in watch.js in line 12:
  gulp.watch(config.watch.jade, ['templates', reload]);
This should be pug:
  gulp.watch(config.watch.pug, ['templates', reload]);
Btw: Great generator!

Thank you, fixed in 4.0.1.


Adding a name to the sign up form

Hi there!
I managed to get the sign-up form on Lyra to send a name property to the server with the value from a new text box.
Now, what should I change here to make sure the name gets entered into the DB?
this is the relevant part from the members.js file from core/server/canary/
add: {
        statusCode: 201,
        headers: {},
        options: [
            'send_email',
            'email_type'
        ],
        validation: {
            data: {
                email: {required: true}
            },
            options: {
                email_type: {
                    values: ['signin', 'signup', 'subscribe']
                }
            }
        },
        permissions: true,
        async query(frame) {
            let model;

            try {
                model = await models.Member.add(frame.data.members[0], frame.options);

                const member = model.toJSON(frame.options);

                if (frame.data.members[0].stripe_customer_id) {
                    await membersService.api.members.linkStripeCustomer(frame.data.members[0].stripe_customer_id, member);
                }

                if (frame.data.members[0].comped) {
                    await membersService.api.members.setComplimentarySubscription(member);
                }

                if (frame.options.send_email) {
                    await membersService.api.sendEmailWithMagicLink(model.get('email'), frame.options.email_type);
                }

Also, I did verify in chrome that the request gets sent with the new name property inside the JSON. Now, it's only a matter of handling it here, too.
{
<EMAIL_ADDRESS>  "emailType":"signup",
  "name":"Oren"
}

The file that you are referencing is for the admin api, it's not used for the members front-end signup. The separate Members monorepo is what you're after https://github.com/TryGhost/Members.

Thanks so much, @kevinansfield!

@oreniko26 interesting case but lets keep the issue in here strictly for bugs please :wink:


Frontend Revamp

Description
This PR includes the revamp of the frontend to inco-orporate the changes of the new backend.

Login, Register, Logout and Token refresh functionality tested and revamped.
Make changes to addition of project and profile page changes in the fetching of images, labels and project counts.
Fixes #424

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Analytics routes and controllers are required to make further frontend changes. So I will be working on those before moving further.


Crash detected

I found the following crash in the app:
1   slash                               0x000000010fa8c4b9 _TToFZFV5slash13CrashReporter5watchFT11usingDeviceCS_14TerminalDevice_T_U1_FVs5Int32T_   9
2   libsystem_platform.dylib            0x00007fffde7dcbba _sigtramp   26
3   ???                                 0x00007fbd4d01dd10 0x0<PHONE_NUMBER>14256
4   slash                               0x000000010fbabcd9 swift_unexpectedError_merged   569
5   slash                               0x000000010fa62a87 main   2071
6   libdyld.dylib                       0x00007fffde5cf255 start   1```

Perhaps an error has occurred in Japanese

Thanks for the fix 👍


implementation Medium Issue (JavaScript)

Description
Implementation Medim Issue (JavaScript)
Countdown Timer from 10 to 0 seconds

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Put non-windows release files into archives

so they have execute perms
when downloading a plain executable from the internet, it doesn't start with +x automatically. however, when extracted from an archive, it keeps the permissions it had in the archive. we can make people's lives easier by putting the releases into archives with +x already set, so users can just extract and go

Would something like this work?
ls | grep -v "\.exe$" | xargs -I@ sh -c "zip -r @.zip @ && rm @"

This lists all files that don't end with .exe, which should be all files but Windows', throws them into a <filename>.zip archive and removes the original file.
This would be added into a new "step" here.
We could also add the executable flag before archiving it with something like this:
ls | grep -v "\.exe$" | xargs -I@ sh -c "chmod +x @ && zip -r @.zip @ && rm @"

Before running the command
bdiff-linux-x86_64
bdiff-macos-arm64
bdiff-macos-x86_64
bdiff-windows-x86_64.exe

After running the command
bdiff-linux-x86_64.zip
bdiff-macos-arm64.zip
bdiff-macos-x86_64.zip
bdiff-windows-x86_64.exe

sounds great! this would work. I was thinking there might be some github action that already does this, but your solution is just as good if not better

I'd love to implement this, but I'm unsure of how to test the actions globally without having to push into releases.
Is there a guide on how to do that or is it just trial and error?

we should have it so builds produce artifacts even if they're not released. that way any push will still build the files and stuff

Windows 7 x64 user here.
Launching bdiff-windows-x86_64.exe does nothing on my end.

Hi @sergeevabc! Where did you get that file from? Also, the Windows release has nothing to do with this issue. That being said, I know the latest release works on Windows 11. I unfortunately have no Windows 7 environment on which to test the release. But if it is silently doing nothing and not even popping open a window, I think that's probably an upstream issue with eframe or winit

@ethteck, I have downloaded bdiff 0.8.5 from Releases section here today. Quite a surprise that the program doesn't work. After all, other programs with diff-abilities such as Xdelta, Hdiffz, JojoDiff, and Zstandard are still working properly.

The fact that a program does diffing has no bearing on whether it's compatible with your operating system. I don't think any of those even are written in the same language as bdiff.
If you're interested in getting it to work, feel free to write a new issue, and I can work with you there to troubleshoot and diagnose why it might not be working.


license?

Hi. I am starting to learn C programming and found your project while looking for easy simplified examples to learn from. Would you consider adding a permissive license to your project, to allow learning from the code you created, so I (and others) can maybe use similar algorithms to yours in our projects? Your game really looks nice and great to learn from!

Hi I did not see this until now. You may fork it and do with it what you like I am not a stickler for licensing. Just give some credit where credit is due.
One thing I would be cautious of is I remember there was an occasional bug that would occur. I thought I was being clever by using recursion to run through the rules loop. In retrospect that was a mistake and makes the code more complex than it needs to be.

Added an Apache 2.0 license since you mentioned it 😸 I think somewhere else I have a much simpler tic tac toe game in C. Let me find the link if you are interested tic tac toe in C

Added an Apache 2.0 license since you mentioned it 😸 I think somewhere else I have a much simpler tic tac toe game in C. Let me find the link if you are interested tic tac toe in C

Thank you so much for your kindness and support.


What do I do with the push ECMAScript function?

I received a ECMAScript function that I wanted to push into a new thread

Do you mean that you have received a function object in the Duktape value stack, and want to move it to another thread?
If so, where in that thread -- in its value stack?
If these are the case, you can use https://duktape.org/api.html#duk_xcopy_top and https://duktape.org/api.html#duk_xmove_top to move data between value stacks.

Thank you very much for helping me solve the problem.

I use this method to implement multi-thread
Example:
js code
Thread.start (function(){print('children Thread test')};
print (' hello ');

c code
void *script_children_thread(void *arg)
{
    duk_context *ctx = (duk_context *)arg;
    duk_idx_t nargs = duk_get_top(ctx);
    duk_call(ctx,nargs-1);
    duk_pop(ctx);
    return 0;
}

static duk_ret_t  threadStart(duk_context *ctx)
{
    duk_idx_t nargs = duk_get_top(ctx);
    duk_idx_t thr_idx;
    duk_context *new_ctx;
    thr_idx=duk_push_thread(ctx);
    new_ctx = duk_get_context(ctx, thr_idx);
    duk_pop(ctx);
    duk_require_stack(new_ctx, nargs);
    duk_xmove_top(new_ctx, ctx, nargs);
    pthread_t tid;
    pthread_create(&tid, NULL, script_children_thread, new_ctx);
    return 1;
}

Do you have any better Suggestions?

As long as the native threads never call into Duktape at the same time (prevented e.g. via a global mutex), that should be feasible. A more fine grained solution which allows running other threads while on thread blocks is to use a mutex combined with duk_suspend/duk_resume.

How do you enable Promise?, I did not find relevant instructions in API doc.

I require bluebird. Js to display "Error: No async scheduler available".

There's no built-in Promise support yet. You can use https://github.com/svaarala/duktape/blob/master/polyfills/promise.js or another polyfill like Bluebird.
For the Bluebird issue, you need some way of running the Promise jobs. For example Bluebird tests use this: https://github.com/svaarala/duktape/blob/master/util/bluebird-test-shim.js. Bluebird provides a direct API to provide a scheduler, see http://bluebirdjs.com/docs/api/promise.setscheduler.html.

So what else do I need to set up? Why display "not configurable"

I don't know - could you attach a traceback? The message alone doesn't really help that much.

Sorry, my English is poor.
I use the following test example
https://github.com/svaarala/duktape/blob/26f00693780c976b4e490af68c022bccba9d80c0/tests/ecmascript/test-bi-promise-constructor-all-reject.js
The resolve function cannot be executed as a result.
There is no output of 'fulfill' or 'fulfill'.

Are you running Promise.runQueue() to trigger the promise jobs (see the polyfill)?

@ZhiYiDai Any update on this issue?

Thank you, my problem has been solved, I can close the issue.


Catching failed scripts ignored by GUT can lead to false positives

E.g. see this
 script error found at SCRIPT ERROR: Invalid get index 'temp_properties_modifiers' (on base: 'previously freed instance').
failed test count increased: 1

This failed because GUT had torn down the test setup, probably while some yields were still waiting. Then when those yields returned, they caused this SCRIPT ERROR. But this is OK, since we don't care about these timing issues during testing. However the tester still reports this as a failure, even through I've set assert-check: true
link: https://github.com/db0/godot-card-game-framework/runs/4340432389?check_suite_focus=true

Hm, even setting minimum-pass: "0.9" is not enough to make this pass :(

okay i'll add an ignore error option. its likely better to resolve this discrepancy outside of the testing framework though.


[BUG] The VM status appears to be running but the disk is not imported yet

Describe the bug
The VM status appears to be running but the disk is not imported yet
To Reproduce
Steps to reproduce the behavior:

Create a VM configuring machine type: pc-q35-5.2
Wait for the VM to be brought up

Result:
The VM status appears to be running but the importer-lily-001-disk-0-bolgx status is containerCreating. After some time, its status changes to be starting.

Environment:

Harvester ISO version: master-head
Installation Mode: ISO
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

close in favor of v0.3.0 release.


Enable completions in object binding patterns

Fixes #2676.

thanks! Looks good..
Can you add a test for filtering when the property name is specified, eg. var  { a: b, | } = .. where a should not show again in the completion list.
also a test with an array binding pattern with a nested object pattern let [{a}] = [{a: ""}];

Good idea on the array binding pattern, though I think I already wrote that other test you described a few times. Can you confirm whether that's the case @mhegazy?

i did not see any test with renamed properties.

@mhegazy ah, sorry, I misunderstood. Yes, I'll make one testing both of those as well as one testing parameters.

All good now?

:+1:

thanks!


File has unexpected size

Issue
I can't install mdatp in Ubuntu19.10 with following error response. Could you tell me how can avoid it?
This may be the cause
The expected size of mdatp is defined as 12622224 in /ubuntu/19.10/prod/dists/insiders-fast/main/binary-amd64/Packages.
However, the actual size of the mdatp package is 12622214 in /ubuntu/19.10/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb.
Response
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Ubuntu 19.10"
$ sudo apt install -y  mdatp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mdatp
0 upgraded, 1 newly installed, 0 to remove and 132 not upgraded.
Need to get 12.6 MB of archives.
After this operation, 39.6 MB of additional disk space will be used.
Get:1 https://packages.microsoft.com/ubuntu/19.10/prod insiders-fast/main amd64 mdatp amd64 100.87.33 [12.6 MB]
Err:1 https://packages.microsoft.com/ubuntu/19.10/prod insiders-fast/main amd64 mdatp amd64 100.87.33
File has unexpected size (12622214 != 12622224). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
Hashes of expected file:

SHA512:e2c401e7152aa5b41e968f08da09c9a2abeb599c2ead4277ed4aeff5443a9b748b1625c0993e5830625a2a8a233b4341b20a52ab86593981dae894448cce347f
SHA256:4b1b08f952808c2b1ab0a48d1f373bcb80d595e594fc680085b8972288417353
SHA1:1d8283b0cae4de8ff6e87f99355bd2e2eda22ef3 [weak]
MD5Sum:111ab2d47864f97f4e7ecc6a5b19ab85 [weak]
Filesize:12622224 [weak]
E: Failed to fetch https://packages.microsoft.com/ubuntu/19.10/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb  File has unexpected size (12622214 != 12622224). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
Hashes of expected file:
- SHA512:e2c401e7152aa5b41e968f08da09c9a2abeb599c2ead4277ed4aeff5443a9b748b1625c0993e5830625a2a8a233b4341b20a52ab86593981dae894448cce347f
- SHA256:4b1b08f952808c2b1ab0a48d1f373bcb80d595e594fc680085b8972288417353
- SHA1:1d8283b0cae4de8ff6e87f99355bd2e2eda22ef3 [weak]
- MD5Sum:111ab2d47864f97f4e7ecc6a5b19ab85 [weak]
- Filesize:12622224 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e2197cba-30ac-1749-e25a-6f39c9ee9d20
Version Independent ID: bcd14f13-ab59-8e69-5c83-42fee6e51f87
Content: Deploy Microsoft Defender ATP for Linux manually - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/linux-install-manually.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

I got a hash mismatch on ubuntu 18.04 using fast insider track. Fix missing didn't do anything

Something is wrong with the repository server. Try this:
wget https://packages.microsoft.com/ubuntu/19.10/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb
sudo apt install ./mdatp_100.87.33.amd64.deb
sudo apt install libproxy1v5
mdatp --health

installing package directly works without issue.
On Sat, Feb 29, 2020 at 1:17 AM Tim<EMAIL_ADDRESS>wrote:

Something is wrong with the repository server. Try this:
wget https://packages.microsoft.com/ubuntu/19.10/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb
sudo apt install ./mdatp_100.87.33.amd64.deb
sudo apt install libproxy1v5
mdatp --health
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/6131?email_source=notifications&email_token=AAGXQXR3CYO75ZDOTKOB3K3RFCT6DA5CNFSM4K5JFTOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENLPSZQ#issuecomment-592902502,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGXQXX7M2D6FUOCHZQL4STRFCT6DANCNFSM4K5JFTOA
.

Verified on Ubuntu Bionic, but installing package directly works without issue.
~$ sudo apt-get -y update && apt-get -y upgrade
[...]
Hit:7 https://packages.microsoft.com/ubuntu/18.04/prod insiders-fast InRelease
[...]
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/ubuntu/18.04/prod insiders-fast InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  flume linux-firmware mdatp unattended-upgrades
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 156 MB of archives.
After this operation, 506 kB of additional disk space will be used.
[...]
Get:2 https://packages.microsoft.com/ubuntu/18.04/prod insiders-fast/main amd64 mdatp amd64 100.87.33 [12.6 MB]
Err:2 https://packages.microsoft.com/ubuntu/18.04/prod insiders-fast/main amd64 mdatp amd64 100.87.33
  File has unexpected size (12622216 != 12622224). Mirror sync in progress? [IP: <IP_ADDRESS> 8080]
  Hashes of expected file:
   - SHA512:e2c401e7152aa5b41e968f08da09c9a2abeb599c2ead4277ed4aeff5443a9b748b1625c0993e5830625a2a8a233b4341b20a52ab86593981dae894448cce347f
   - SHA256:4b1b08f952808c2b1ab0a48d1f373bcb80d595e594fc680085b8972288417353
   - SHA1:1d8283b0cae4de8ff6e87f99355bd2e2eda22ef3 [weak]
   - MD5Sum:111ab2d47864f97f4e7ecc6a5b19ab85 [weak]
   - Filesize:12622224 [weak]
[...]
Fetched 143 MB in 2s (62.5 MB/s)
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb  File has unexpected size (12622216 != 12622224). Mirror sync in progress? [IP: <IP_ADDRESS> 8080]
   Hashes of expected file:
    - SHA512:e2c401e7152aa5b41e968f08da09c9a2abeb599c2ead4277ed4aeff5443a9b748b1625c0993e5830625a2a8a233b4341b20a52ab86593981dae894448cce347f
    - SHA256:4b1b08f952808c2b1ab0a48d1f373bcb80d595e594fc680085b8972288417353
    - SHA1:1d8283b0cae4de8ff6e87f99355bd2e2eda22ef3 [weak]
    - MD5Sum:111ab2d47864f97f4e7ecc6a5b19ab85 [weak]
    - Filesize:12622224 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
~$ sudo wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb
--2020-03-02 14:06:36--  https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/m/mdatp/mdatp_100.87.33.amd64.deb
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12622216 (12M) [application/octet-stream]
Saving to: 'mdatp_100.87.33.amd64.deb'

mdatp_100.87.33.amd64.deb                         100%[==========================================================================================================>]  12.04M  6.87MB/s    in 1.8s

2020-03-02 14:06:38 (6.87 MB/s) - 'mdatp_100.87.33.amd64.deb' saved [12622216/12622216]

~$ sha256sum mdatp_100.87.33.amd64.deb
5cdb3b95045b6bded3e0de60644af1c9f7f4f0ec3652e0dae940064f8a4fe452  mdatp_100.87.33.amd64.deb
~$ sudo dpkg -i mdatp_100.87.33.amd64.deb
(Reading database ... 121367 files and directories currently installed.)
Preparing to unpack mdatp_100.87.33.amd64.deb ...
Unpacking mdatp (100.87.33) over (100.87.13) ...
Setting up mdatp (100.87.33) ...
~$ sudo mdatp --health
cloudAutomaticSampleSubmission          : true
cloudDiagnosticEnabled                  : true
cloudEnabled                            : true
definitionsUpdated                      : "1583153412532"
definitionsUpdatedMinutesAgo            : 18
definitionsVersion                      : 79917
edrDeviceTags                           : []
edrEarlyPreviewEnabled                  : "disabled"
[...]

16.04 installed from apt-get fine seems only 18.04 is the one having this sort of issues.

19.10 as well per kazukiigeta (submitter).

Still seeing this today on 18.04. Yea I probably could download the package and install it manually. I just sort of have a problem with my antivirus not matching the hash and going 'eh it's probably fine' and installing it anyway.

It seems to now be working. did a apt-get update and was able to install on 16.04 and 18.04

It seems to now be working. did a apt-get update and was able to install on 16.04 and 18.04

same works for me now as well

Under Ubuntu sudo mv ./microsoft.list /etc/apt/sources.list.d is the correct path for copying the "microsoft.list" file - NOT sudo mv ./microsoft.list /etc/apt/sources.list.d/microsoft-[channel].list

Under Ubuntu sudo mv ./microsoft.list /etc/apt/sources.list.d is the correct path for copying the "microsoft.list" file - NOT sudo mv ./microsoft.list /etc/apt/sources.list.d/microsoft-[channel].list

It really doesn't matter. As long as its a file in the /etc/apt/sources.list.d/ directory it will work.

@kazukiigeta - Thank you for submitting feedback.
I think the best way forward is if you can contact support and open a service ticket for Windows 10 products  so this can get resolved ASAP. Based on outcome, let me know if it is something that can be called out in the docs.
If you don't mind please keep us posted here on the resolution so we can get the applicable information you are discovering back into the docs.


Project Setup

Setup a python environment
Setup a python/django 2.0 project
Started Angular 5 project

Clean


config: add SessionVariable to control nereids timeout

Proposed changes
add SessionVariable to control nereids timeout

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

run buildall


County Code Field not found in Table Post Code

Hi,
I can't find field County Code in the Table Post Code however I can see the County Code when I run the table Client table.
Using AL : al-2.0.43900
Docker image: mcr.microsoft.com/businesscentral/onprem:es
This field have been deleted from Post Code?
Thanks,

This repository is no longer dedicated to handling application requests and enhancements
Instead please use the following repository: https://github.com/Microsoft/ALAppExtensions


Don't use an image for the color gradiant

It should be possible to generate the color gradient somehow. Adobe does this with a canvas.  This open source project has accomplished this feat: iro.js
~The problem is that I have yet to find any kind of a code solution that in addition to changing the hue around the circumference of the circle, also increases the value (brightness, HSV color model) as you approach the center of the circle.  One can imagine nesting many rings inside each other to to create the desired effect, but that seems like a lot.  Is canvas the best approach here?  I don't know.~
Additional related examples:

https://stackoverflow.com/a/54594553/2517147
https://codepen.io/qddegtya/pen/WbRWrb
https://upload.wikimedia.org/wikipedia/commons/6/6d/RGB_color_wheel_360.svg
https://stackoverflow.com/a/18210763/2517147

https://medium.com/@bantic/hand-coding-a-color-wheel-with-canvas-78256c9d7d43
Checkout this blog, it looks like it might be what you want, perhaps it is the way adobe did it.


Implement autocanceling race function

It would be nice to have a docs for this as well.

OK, check this one: https://github.com/AndreyBelym/cancelable-race/pull/1


Add more granular exceptions / error pages, especially when handling HUC-8s and protected areas

For many of the endpoints, we have made a first pass at handling exceptions by overgeneralizing. In the boundary.py endpoint, for example:
try:
    poly = akpa_gdf.loc[[akpa_id]].to_crs(4326)
except:
    return render_template("422/invalid_protected_area.html"), 422

Failing to support the provided protected area ID is just one of the things that can go wrong here.
We need to take an inventory of the try/except blocks that are overgeneralizing and deal with more specific things that can go wrong, and possible make more HTTP error templates with more precise language to handle each case.

Another comment to sharpen this.  Here's an example from another code path:
# Before (code as it exists now):

# boundary.py ~l77
poly_type = validate_var_id(var_id)
if type(poly_type) is tuple:
     return poly_type

 try:
     poly = type_di[poly_type].loc[[var_id]].to_crs(4326)
 except:
     return render_template("422/invalid_area.html"), 422

# validate_request.py ~l63
def validate_var_id(var_id):
    if re.search("[^A-Za-z0-9]", var_id):
        return render_template("400/bad_request.html"), 400
    for filename in os.listdir("data/jsons/"):
        with open(os.path.join("data/jsons/", filename), "r") as f:
            for jsonline in json.loads(f.read()):
                if var_id == jsonline["id"]:
                    return jsonline["type"]
    return render_template("422/invalid_area.html"), 400

What could be done differently here would be to use exceptions so that the calling code can be written like this:
# boundary.py
try:
	poly_type = validate_var_id(var_id)
	poly = type_di[poly_type].loc[[var_id]].to_crs(4326)
except InvalidRequestError: ...
except UnknownAreaIdError: ...


Fix Dropbox file inline previews

Our Markdown processor produces HTML elements with the "message_inline_ref", "message_inline_image_title" and "message_inline_image_desc". These are for previewing Dropbox files that are not images, like a pdf document. (example).

Get Started with Dropbox (1).pdf

    <desc class="message_inline_image_desc"></desc>

We should stop generating HTML like this, and use the HTML structure for normal images instead.
The implementation will probably be similar to how we handle Dropbox images, which already uses the common HTML structure for normal images. However, viewing such images in the lightbox is also currently broken, because the link to the full image refers an external site. (example)
To resolve this, our current plan is:

Get image preview working for dropbox images.
Drop the code that generates message_inline_ref (they are essentially previews for non-image dropbox links to things like a pdf document) and possibly reuse the code that handles dropbox images.
This part can be a follow-up: Write a migration to process the legacy message_inline_ref elements into possibly message_inline_image, and remove any remaining broken CSS and frontend code.

CZO thread

@zulipbot claim

@zulipbot claim


MNIST Example returns difference in predictions: 1.0

I'm using Google Collab GPU runtime to run MNIST example using Keras 1.2.0.
This snippet from MNIST Example
from deeplift.util import compile_func
import numpy as np
from keras import backend as K

deeplift_model = revealcancel_model
deeplift_prediction_func = compile_func([deeplift_model.get_layers()[0].get_activation_vars()],
                                       deeplift_model.get_layers()[-1].get_activation_vars())
original_model_predictions = keras_model.predict(X_test, batch_size=200)
converted_model_predictions = deeplift.util.run_function_in_batches(
                                input_data_list=[X_test],
                                func=deeplift_prediction_func,
                                batch_size=200,
                                progress_update=None)
print("difference in predictions:",np.max(np.array(converted_model_predictions)-np.array(original_model_predictions)))
assert np.max(np.array(converted_model_predictions)-np.array(original_model_predictions)) < 10**-5
predictions = converted_model_predictions

However, I'm getting the following result:
difference in predictions: 1.0
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-4-3f4204ab927a> in <module>()
     13                                 progress_update=None)
     14 print("difference in predictions:",np.max(np.array(converted_model_predictions)-np.array(original_model_predictions)))
---> 15 assert np.max(np.array(converted_model_predictions)-np.array(original_model_predictions)) < 10**-5
     16 predictions = converted_model_predictions

I used the provided shell script to download .h5 model file.
Furthermore, the Compute Importance Scores snippet results in the following error:
RuntimeError: You set the target layer to an activation layer, which is unusual so I am throwing an error - did you mean to set the target layer to the layer *before* the activation layer instead? (recommended for  classification)

Hi Armen,
Did you load the model using the theano or the tensorflow backend?

Hi @AvantiShri,
Using TensorFlow backend. Thanks for your prompt response, really enjoyed your talk at Nvidia GTC.

Are you using the version of DeepLIFT that is on the master branch, or the version that is on the dev-tf branch? The master branch is intended for models trained with the theano backend.
Also, the keras2compat branch is designed for keras 2.0 models, but I have not updated the example notebooks on that branch. Do you specifically want to use keras 1.2? If not, I can prioritize getting the example notebooks on the keras 2.0 branch and just making that into the master branch.

I'm using master branch. Ultimately, I'm trying to reproduce the examples before doing any further work.
I see, let me try to use theano backend & try to reproduce the MNIST & Genomics example notebooks.
It would be nice to get examples working with keras 2.0, but it's less of a priority so long as I get the above to work. Out of curiosity, have you gotten DeepLift to work w/ Tensorflow backend? If so, were you using Keras 1.2 or 2.0?

I’ve gotten DeepLIFT to work with the tensorflow backend with both keras 2.0 and keras 1.2. DeepLIFT for keras 2.0 and the tensorflow backend is implemented on the keras2compat branch. DeepLIFT for keras 1.2 with tensorflow is on the dev-tf branch.

Excellent, thanks for the clarification, I'll give it a test drive.

Btw, I added an example notebook that works on Keras 2 to the keras2compat branch: https://github.com/kundajelab/deeplift/blob/keras2compat/examples/mnist/MNIST_replicate_figures.ipynb - let me know if you have any issues.


Event forwarding from within the enclave

With PR #963 the events are now accessible from within the enclave. But they are not handled in any way.
Unlike in substrate, the events should not be broadcasted, as they may contain private data.
Question to be solved: How can the events be made accessible for a user, without revealing the personal data of another user?

Any updates on this? Neither events nor getters are accessible yet, which is a non-negligible hindrance to adoption

No, in fact there is no update on this yet, but we are fleshing out the roadmap for 2023 these days and this issue will make it into the high-priority list.

we might finally tackle this in #1609 if we can agree that's a viable solution. looks pretty straight-forward now


Long attachment expiration are not working....

:lady_beetle: Describe the bug
I do use my own server for personal notification. Therefore I've extended the expiration date for attachments via the config file:
attachment-expiry-duration: "336h"
This should give me a storage time of 14 days. Unfortunately this is not working. Attachements from 2+ days are not shown.
:computer: Components impacted
Current version via docker running on Ubuntu 22.04 LTS

Can you clarify what you mean by "attachments from 2+ days are not shown"?

In which client? (Android, web, iOS, PWA)
If you access the link associated with the attachment, does it load?
Are the attachments still in the attachments directory and simply cannot be accessed via the link?

I mainly use the PWA on MacOS, but it also happens on iOS.
But you are right, the attachments are gone form the attachment folder on the server. I only see todays attachments.
Could it be possible that my value is to high and therefore the application reverts back to the default?

The default is 3h. Do you see anything in there that was created more than 3h ago? If not, it could be that the formatting in your server.yml file is slightly off, so your custom value might not be applied at all. I don't think there's any value that is "too high"
You can check your server.yml file using yamllint.com

Hi Checked the config file and it's syntactically correct (I mean there is not much you can do wrong):
base-url: "https://ntfy.mydomain.net"
listen-http: ":2586"
cache-file: "/var/cache/ntfy/cache.db"
behind-proxy: true
manager-interval: "15m"
attachment-cache-dir: "/var/cache/ntfy/attachments"
attachment-total-size-limit: "10G"
attachment-file-size-limit: "15M"
attachment-expiry-duration: "336h"
visitor-attachment-total-size-limit: "500M"

auth-file: "/etc/ntfy/user.db"

smtp-sender-addr: "mail.mydomain.net:465"
smtp-sender-user: "smtp"
smtp-sender-pass: "secret"
smtp-sender-from<EMAIL_ADDRESS>#smtp-server-listen: ":25"
#smtp-server-domain: "ntfy.sh"
#smtp-server-addr-prefix: "ntfy-"
keepalive-interval: "45s"
upstream-base-url: "https://ntfy.sh"
log-level: "info"
log-file: "/var/log/ntfy.log"

#Web Push keys generated. Add the following lines to your config file:
web-push-public-key: xxxxxxxxxx
web-push-private-key: xxxxxxxxxxx
web-push-file: /var/cache/ntfy/webpush.db
web-push-email-address<EMAIL_ADDRESS>
I checked the attachment folder. And the latest entry I had was yesterday at around 5:00pm and this was gone this morning.
Is there a way to log the attachment cleaning process? The current log file does not mention anything about it.

So I now created a cron-job which will send a notification to a new channel ever hour. That will allow me to see how long attachments are kept. I'll report as soon as I have some data.

Okay, so no matter what I set in the config file. It looks like 24h is the maximum „ attachment-expiry-duration“ I can use or differently said: no matter what I set as duration, 24h is the longest you can get.

Hmm. Do you have any tiers set up? (ntfy tier list)

Hmm. Do you have any tiers set up? (ntfy tier list)

No

Do values less than 24h work correctly?

Obviously though attachments will not outlive their messages. So cache-duration has to be as high as the attachment duration

Okay, that's an interesting catch. But if I look that "cache-duration" has a default of 12h (and I'm not changing this), why do attachments stay there for 24h.
But I've just increased the "cache-duration" to 48h and the same for the a "attachment-expiry-duration" - so let's see if this makes any difference

Do values less than 24h work correctly?

I'll test this also once I got some results from the above test.

Any updates on this?


More systematic tests for opening the supported data formats

More systematic tests for opening the supported data formats
The tests for opening the supported data formats in https://github.com/mobie/mobie-io/tree/main/src/test/java are not very systematic; both in terms of their organization and coverage. Since we had quite a few issues with this in the last release they should be reorganized and expanded. Note that this becomes relevant again when/if we switch to using n5-imglib2-metadata, see also #61.
Better test structure
It is very hard to understand what the current tests do from the file organization and filenames.
I think the tests should be organized like this (or similar):
...
test/java/opener/OmeZarrS3V03.java
test/java/opener/OmeZarrS3V04.java
...

Better test coverage
I am not sure what exactly we are currently testing, but we should def. expand the tests to cover the following:

ome.zarr versions (currently v0.1 - v0.4)
bdv.n5
bdv.hdf5

For these formats we should test:

opening from s3 (if applicable, e.g. not for bdv.hdf5)
from filesystem (to do this in CI we could download a complete (small!) file from s3 first and then check)
from s3 with credentials (I will contact Josep about creating a bucket for this with read credentials that can be saved on github)
opening normally and with a shared queue (where available)

Note that for ome.zarr we have example data for all versions available for various axis combinations available in ome-prototypes. Ideally we add (s3) tests for all of these.

Tests for ome.zarr are here now: https://github.com/mobie/mobie-io/tree/develop/src/test/java/projects/ngff.
This is a good start, but we need to work on the structure of the test folders, it's still very messy. (I will take another look at this next week.)

We made good progress on this with #124. I am closing this for now, we can make follow up issues if we want to improve specific test coverage.


feat: 🎸 improve spinner - migrate from ora to listr

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Hotreloading of dlls

Hello!
In my game engine I use entt along with dll plugins that I can hotreload. The game engine keeps the entt::registry, but the plugins are able to add custom components to it. The state of the plugins is stored in components and added to entt::registry so that I can keep the current game state when I hot reload a plugin.
For this reason I have problems with static variables as in type_info.hpp ln 258:
static type_info instance{std::in_place_type<std::remove_cv_t<std::remove_reference_t<Type>>};.
In this function a reference to a static variable is returned and basic_any stores a pointer to it.
When a dll is unloaded, all static variables of that dll are removed and the pointers to the type_info are dangling. I changed the code and instead of saving a pointer to the static variable, I always make a copy, which seems to solve my problem (in any.hpp ln 392, the type_info is no longer a pointer).
I know my use case is a little bit special, but is there a better way to handle this problem?
Thank you very much!
Cheers
ps:
I am aware that any change to a component (e.g. adding/removing an element) will result in undefined behavior when I reload the plugins, but that's fine. Many tasks don't need to touch the data structures.

Hi @firesgc I must admit that the built-in rtti system is designed to stay close to the standard one. In this case, typeid returns a reference to an object with static storage duration and here we are. 🤷♂🙂
There is also another advantage actually. The type_info object is much larger than a pointer and it may grow in future. Therefore, returning a const reference and storing aside pointers gives some guarantees. Your change makes all anys and all types that rely on a type_info bigger at once instead.

I know my use case is a little bit special, but is there a better way to handle this problem?

Is it? I may have overlooked this case but we could make it feasible. I'm not saying even user-friendly 😅 but at least not impossible to get without changes to the library.
If you had a way to specialize the rtti system, you could do it in plugins and have them ask or register type_info objects on the main executable. At the end of the day, a type_info object is a triplet of values. If you could explicitly register it, then specialize type_id to ask others, would that work?

I did further testing and the vtable in basic_any (in any.hpp) references a local function that is also unloaded with the DLL. The vtable is also used in meta.hpp and I'm a little afraid that there are many more places I would need to change to get hot reloading to a working state :/
About the problem with basic_any (info and vtable point to code/data that has been unloaded):
Maybe it would be an option to add a "(re)-register" function to the registry that is called by the plugin and updates the type_info and the vtable of basic_any? The hash should be the same, so I can probably find the appropriate entries.
I don't see how I can fix the vtable problem, without registration and updated function.
What do you you think about this?

I did further testing and the vtable in basic_any (in any.hpp) references a local function that is also unloaded with the DLL. The vtable is also used in meta.hpp and I'm a little afraid that there are many more places I would need to change to get hot reloading to a working state :/

I suspect that a non-static vtable wouldn't really change anything here. You still have a pointer to member into a dynamic object. Am I wrong?

About the problem with basic_any (info and vtable point to code/data that has been unloaded):
Maybe it would be an option to add a "(re)-register" function to the registry that is called by the plugin and updates the type_info and the vtable of basic_any?

What version of EnTT are we talking about? The latter uses any only for context variables. Is it? I'm still trying to figure out what's causing you the problem.

I don't see how I can fix the vtable problem, without registration and updated function.

Hot reloading works well with data, ie component definitions but a little less with logic, especially if you push that logic through a boundary and expect to use it on the other side, no matter what.
I'd like to help you because I find the problem interesting but I need more details about what you're doing and where it causes problems. I must admit that I don't have a full picture yet, I'm sorry.

I have done small testcase, so it is easier to talk about the issue.
(I use Windows, I don't know if shared libraries behave completely differently on other platforms.)
tstcase.zip

Yeah, thanks. I see what you mean now. Makes sense.
Imho there exists a solution to have the cake and eat it but it requires some changes to the codebase.
That is, I don't want to copy the whole type_info object all the times, it's a waste for 90% of applications. On the other hand, I'd like to make it possible for when you need it.
This would solve the problem with any, meta_any and the storage. However, keep in mind that meta is all about static stuff currently (see here for example). Therefore, you can use it across boundaries but you'll have bad times if you want to hotreload without destroying meta_anys and meta_types created from the dll.

Currently I'm thinking of a "hacky" solution to my problem and don't call FreeLibrary() so the old code and memory are still there, but bind the API to the newly loaded dll. This will cause memory leaks and might cause some confusion, but is probably more stable....
It's a really specific problem and probably 99% of all entt users will never have a problem with it, so no point spending much time on it!
Thank you for your thoughts on this!

Well, hot reloading is quite common in fact. So, why not? 🙂
I'll give my idea a try and let you know. In the worst case, I'll fail miserably and nothing will change. 😅

Another task for the backlog :)
Please let me know if you did something to solve the problem.


Container won't echo environment variables

I gave following command docker run -it --name <some name> --env LDAP_PASS=<some pass> --env ORGANIZATION=<some value> --env BASE_DN=<some value> --env TODOMAIN=<some value> <image name>
then i gave docker exec <container name> echo ${LDAP_PASS}
it outputs a new line
same for all other variables.
then docker exec -it <container name> /bin/bash
inside container
$  echo ${LDAP_PASS}
the same newline
although if run above command in a script it works as expected.
Thank You for your time :)
docker version:
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64```

`docker info`
```Containers: 2
Images: 121
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 147
 Dirperm1 Supported: true
Execution Driver: native-0.2
Kernel Version: 4.0.3-boot2docker
Operating System: Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015
CPUs: 4
Total Memory: 997.7 MiB
Name: dev
ID: I5S2:SVC6:KQXG:TTYP:YPLT:LS45:KWLI:25AV:AI2Q:HMPI:M5WF:KBAS
Debug mode (server): true
Debug mode (client): false
Fds: 24
Goroutines: 40
System Time: Fri Jun  5 14:29:32 UTC 2015
EventsListeners: 0
Init SHA1: 7f9c6798b022e64f04d2aff8c75cbf38a2779493
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Username: thebaron93
Registry: [https://index.docker.io/v1/]
Labels:
 provider=virtualbox```

`uname -a` :
```Linux HP-Pavilion-g6-Rocker 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux```

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

did you put single quotes around ${LDAP_PASS} to make sure your local shell doesn't try to do the substitution?

Yeah, sorry my bad. :(
It works with single quotes.
Thanks  for your time.


Statistic Cronjob problem

Hello guys,
When I use Manual Points from admin, after I see the ponts of the users on the statistic page.
But the statistic cronjob, which runs every half hour refreshing it to show only 0 point.
Then I can again click Manual Points from admin to see the points. Is it an issue? What can be the problem?
Thank you in advance,
Ignity

Did you have any 3th party modifications?

Thank you for your reply. Yes and No.
I do have modifications but none of them affecting the statpoints. The statbuilder class is untouched as well. This problem is not appearing in the non-pdo version of 2moons.
It is not deleting the datatables, just setting their points to zero.

@jkroepke this is interesting. When CRON calling the statbuilder class, it is updating the points in the database to zero. But the manual points from admin (which using the same file -> the statbuilder class) is working.

OS, PHP version?
Did you have after a difference between default language and your own language defined in your user settings?

Always english :)
Apache, PHP-Version: 5.4.45 (cgi-fcgi)

Multiple universe?
I will try to create debugs for you..
Ignity <notifications<EMAIL_ADDRESS>schrieb am Mo., 6. Juni 2016, 23:59:
Always english :)
Apache, PHP-Version: 5.4.45 (cgi-fcgi)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/jkroepke/2Moons/issues/208#issuecomment-224101627, or mute the threadhttps://github.com/notifications/unsubscribe/ABfQC-AOpucWaScwLDfNCpGysexmTjsZks5qJJgWgaJpZM4IuP34.

I added a debug functions to log all queries. See https://github.com/jkroepke/2Moons/blob/hotfix/issue_208/includes/classes/class.statbuilder.php
The log should be in includes/stats.log. Then run one form admin panel and one from cronjobs and share the results here or drop me a mail.

Mail sent, thank you.

Your game have a strange behavior:
Your log:
TRUNCATE TABLE %%STATPOINTS%%
INSERT INTO  %%STATPOINTS%% (id_owner, id_ally, stat_type, universe, tech_old_rank, tech_points, tech_count, build_old_rank, build_points, build_count, defs_old_rank, defs_points, defs_count, fleet_old_rank, fleet_points, fleet_count, total_old_rank, total_points, total_count) VALUES (1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0), (4, 0, 1, 1, 2, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 0)
INSERT INTO %%STATPOINTS%% (id_owner, id_ally, stat_type, universe, tech_old_rank, tech_points, tech_count, build_old_rank, build_points, build_count, defs_old_rank, defs_points, defs_count, fleet_old_rank, fleet_points, fleet_count, total_old_rank, total_points, total_count) VALUES (1, 0, 2, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0)
TRUNCATE TABLE %%STATPOINTS%%
INSERT INTO  %%STATPOINTS%% (id_owner, id_ally, stat_type, universe, tech_old_rank, tech_points, tech_count, build_old_rank, build_points, build_count, defs_old_rank, defs_points, defs_count, fleet_old_rank, fleet_points, fleet_count, total_old_rank, total_points, total_count) VALUES (1, 1, 1, 1, 1, 8303.6, 67, 1, 2454748.50454, 64, 1, 198, 51, 1, 5197, 143, 1, 2468447.10454, 325), (4, 0, 1, 1, 2, 0, 0, 2, 0, 0, 2, 0, 0, 2, 120, 10, 2, 120, 10)
INSERT INTO %%STATPOINTS%% (id_owner, id_ally, stat_type, universe, tech_old_rank, tech_points, tech_count, build_old_rank, build_points, build_count, defs_old_rank, defs_points, defs_count, fleet_old_rank, fleet_points, fleet_count, total_old_rank, total_points, total_count) VALUES (1, 0, 2, 1, 0, 8303.6, 67, 1, 2454748.50454, 64, 1, 198, 51, 1, 5197, 143, 1, 2468447.10454, 325)
TRUNCATE TABLE %%RECORDS%%
INSERT INTO %%RECORDS%% (userID, elementID, level) VALUES (1,1,3), (1,2,7), (1,3,3), (1,4,8), (1,6,3), (1,12,1), (1,14,6), (1,15,1), (1,21,7), (1,22,5), (1,23,5), (1,24,5), (1,31,7), (1,33,1), (1,34,1), (1,44,1), (1,106,6), (1,108,5), (1,109,5), (1,110,5), (1,111,5), (1,113,5), (1,114,5), (1,115,1), (1,117,5), (1,118,2), (1,120,7), (1,121,5), (1,122,7), (1,123,2), (1,124,2), (1,202,9), (1,203,25), (1,204,11), (1,205,11), (1,206,48), (1,215,39), (1,401,35), (1,405,16)

My log:
TRUNCATE TABLE %%STATPOINTS%%
INSERT INTO  %%STATPOINTS%% (id_owner, id_ally, stat_type, universe, tech_old_rank, tech_points, tech_count, build_old_rank, build_points, build_count, defs_old_rank, defs_points, defs_count, fleet_old_rank, fleet_points, fleet_count, total_old_rank, total_points, total_count) VALUES (1, 0, 1, 1, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0), (2, 1, 1, 1, 1, 39780.551611328, 137, 1,<PHONE_NUMBER>1913, 1424, 1, 9247, 3038, 1, 14358, 5348, 1,<PHONE_NUMBER>3046, 9947), (8, 0, 1, 1, 2, 30206.1, 128, 2, 37724.116548143, 161, 2, 4390, 1057, 2, 4945, 170, 2, 77265.216548143, 1516), (11, 0, 1, 1, 3, 13043.5, 98, 3, 37299.939645, 407, 3, 2, 1, 3, 252, 26, 3, 50597.439645, 532)
INSERT INTO %%STATPOINTS%% (id_owner, id_ally, stat_type, universe, tech_old_rank, tech_points, tech_count, build_old_rank, build_points, build_count, defs_old_rank, defs_points, defs_count, fleet_old_rank, fleet_points, fleet_count, total_old_rank, total_points, total_count) VALUES (1, 0, 2, 1, 0, 39780.551611328, 137, 1,<PHONE_NUMBER>1913, 1424, 1, 9247, 3038, 1, 14358, 5348, 1,<PHONE_NUMBER>3046, 9947)
TRUNCATE TABLE %%RECORDS%%
INSERT INTO %%RECORDS%% (userID, elementID, level) VALUES (2,1,26), (2,2,26), (2,3,21), (2,4,26), (2,14,10), (8,14,10), (11,14,10), (2,15,2), (2,21,11), (2,22,10), (2,23,9), (8,23,9), (2,24,7), (8,24,7), (2,31,12), (8,31,12), (2,44,4), (8,44,4), (8,12,7), (11,34,1), (2,106,9), (2,108,10), (8,108,10), (11,108,10), (2,109,12), (2,110,9), (2,111,7), (2,113,11), (8,113,11), (11,114,8), (2,115,10), (2,117,7), (2,118,7), (2,120,12), (8,120,12), (2,121,5), (8,121,5), (11,121,5), (8,122,7), (2,124,8), (8,131,10), (8,132,10), (8,133,9), (2,199,1), (2,203,104), (2,212,5244), (2,401,2546), (8,402,100), (2,405,486), (2,407,2), (2,408,2), (2,503,1), (8,206,15), (8,207,15), (8,210,10), (8,213,20), (8,215,10), (8,403,25), (8,404,10), (8,406,10), (8,502,10), (11,202,8), (11,204,2), (11,205,2), (11,209,2)

Your game is calling TRUNCATE TABLE two times with different data. Did you really use 2moons?

Yes i am sure. :D however the problem seems to be fixed now. Strange, its possible that i wasnt updating the common.php file... Thank for participating.


add benchmark latest

RE-CHECK!

Automated adapter checker
ioBroker.benchmark

[ ] :heavy_exclamation_mark: [E019] Invalid repository URL: git@github.com:foxriver76/ioBroker.benchmark.git. Expected: git+https://github.com/foxriver76/ioBroker.benchmark.git
[ ] :heavy_exclamation_mark: [E152] No common.dataSource found in io-package.json
[ ] :heavy_exclamation_mark: [E801] No repository about text found. Please go to "https://github.com/foxriver76/ioBroker.benchmark", press the settings button beside the about title and add the description.
[ ] :heavy_exclamation_mark: [E802] No topics found in the repository. Please go to "https://github.com/foxriver76/ioBroker.benchmark", press the settings button beside the about title and add some topics.
[ ] :eyes: [W113] Adapter should support compact mode
[ ] :eyes: [W400] Cannot find "benchmark" in latest repository
[ ] :eyes: [W505] setTimeout found in "build/main.js", but no clearTimeout detected

Add comment "RE-CHECK!" to start check anew

RE-CHECK!

Will E019 be fixed on Repo side? then I would merge this


Ping Failure Error when HTTPS is enabled

NEST/Elasticsearch.Net version: 7.5.1
Elasticsearch version: 7.5.1
Description of the problem including expected versus actual behavior:
xpack Security is enabled,  http ssl is enabled and ssl certifiace is created on the server which is non-prod environment. If you use SniffingConnectionPool and DisablePing() is active, it's working. But if DisablePing() is not active (Ping is active also) the application receives "The operation has timed out" exception. Upper exception is "Failed to ping the specified node.. Call: Status code unknown from: HEAD /"
If http ssl is disabled, whether DisablePing() is active or not, it's working.
Steps to reproduce:

Use below elasticsearch.yml and connection pool settings:
elasticsearch.yml:
bootstrap.memory_lock: false
cluster.name: elasticsearch751-demo
http.port: 9200
network.host: 0
node.data: true
node.ingest: true
node.master: true
node.max_local_storage_nodes: 1
node.name: DEMO1
path.data: E:\Elasticsearch\data
path.logs: E:\Elasticsearch\logs
transport.tcp.port: 9300
xpack.license.self_generated.type: basic
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: elastic-certificates.p12
xpack.security.http.ssl.verification_mode: none
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
discovery.seed_hosts: []
discovery.type: single-node

NEST Connection configuration:
`            SniffingConnectionPool connectionPool = null;
        var uri = new UriBuilder(IpAddress) { Port = Port };
        var uri2 = new UriBuilder(IpAddress2) { Port = Port2 };
        var uri3 = new UriBuilder(IpAddress3) { Port = Port3 };
        var uri4 = new UriBuilder(IpAddress4) { Port = Port4 };
        var uri5 = new UriBuilder(IpAddress5) { Port = Port5 };

        var uri6 = new UriBuilder(IpAddress6) { Port = Port6 };
        var uri7 = new UriBuilder(IpAddress7) { Port = Port7 };
        var uri8 = new UriBuilder(IpAddress8) { Port = Port8 };
        var uri9 = new UriBuilder(IpAddress9) { Port = Port9 };
        var uri10 = new UriBuilder(IpAddress10) { Port = Port10 };

        connectionPool = new SniffingConnectionPool(new[] { uri.Uri, uri2.Uri, uri3.Uri, uri4.Uri, uri5.Uri, uri6.Uri, uri7.Uri, uri8.Uri, uri9.Uri, uri10.Uri });

        var settings = new ConnectionSettings(connectionPool);

        settings
            .UserAgent("Mozilla/5.0 (Windows NT 10.0; …) Gecko/20100101 Firefox/71.0")
            .DefaultIndex(IndexName)
            .SniffOnConnectionFault(false)
            .RequestTimeout(TimeSpan.FromSeconds(ElasticSearchTimeout))
            .DeadTimeout(TimeSpan.FromSeconds(ElasticSearchDeadTimeout))
            .MaximumRetries(ElasticSearchTryCount)
            .SniffOnStartup(false)
            .DisableDirectStreaming()
            .SniffLifeSpan(TimeSpan.FromMinutes(1));

        if (!string.IsNullOrEmpty(Username) && !string.IsNullOrEmpty(Password))
        {
            settings.BasicAuthentication(Username, Password);
        }

        settings.ServerCertificateValidationCallback((sender, cert, chain, errors) => true);

        Client = new ElasticClient(settings);`

Expected behavior
When https is enabled and Ping is active (No DisablePing() config in ConnectionSettings), it should be working.
Provide ConnectionSettings (if relevant):
Provide DebugInformation (if relevant):
    "DebugInformation": "Unsuccessful () low level call on POST: /ESINDEX/_delete_by_query\r\n# Audit trail of this API call:\r\n - [1] PingFailure: Node: https://x.x.x.x:9200/ Exception: PipelineException Took: 00:00:15.1863616\r\n# OriginalException: Elasticsearch.Net.ElasticsearchClientException: Failed to ping the specified node.. Call: Status code unknown from: HEAD / ---> Elasticsearch.Net.PipelineException: Failed to ping the specified node. ---> Elasticsearch.Net.PipelineException: An error occurred trying to read the response from the specified node. ---> System.Net.WebException: The operation has timed out\r\n   at System.Net.HttpWebRequest.GetResponse()\r\n   at Elasticsearch.Net.HttpWebRequestConnection.Request[TResponse](RequestData requestData)\r\n   --- End of inner exception stack trace ---\r\n   at Elasticsearch.Net.RequestPipeline.Ping(Node node)\r\n   --- End of inner exception stack trace ---\r\n   at Elasticsearch.Net.RequestPipeline.Ping(Node node)\r\n   at Elasticsearch.Net.Transport`1.Ping(IRequestPipeline pipeline, Node node)\r\n   at Elasticsearch.Net.Transport`1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)\r\n   --- End of inner exception stack trace ---\r\n# Audit exception in step 1 PingFailure:\r\nElasticsearch.Net.PipelineException: An error occurred trying to read the response from the specified node. ---> System.Net.WebException: The operation has timed out\r\n   at System.Net.HttpWebRequest.GetResponse()\r\n   at Elasticsearch.Net.HttpWebRequestConnection.Request[TResponse](RequestData requestData)\r\n   --- End of inner exception stack trace ---\r\n   at Elasticsearch.Net.RequestPipeline.Ping(Node node)\r\n# Request:\r\n<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>\r\n# Response:\r\n\r\n",

Hi, @ahmetf. Thanks for reporting this issue. As a starting point, can you please try updating to the latest client 7.12.1 which is backwards-compatible with server 7.5.1 as let me know if you still experience this error?

@ahmetf One further thought on reviewing the debug info. How are you hosting/running your Elasticsearch instances? I don't think this is likely as you're able to get this working in some configuration, but are you using Docker? The reason I ask is that this will present issues with pinging and sniffing.
I'm also curious why your cluster config includes: discovery.type: single-node

Hi @stevejgordon,
After updating client to 7.12.1, there is no error. We are going to update client version. Thanks for you help.


[assemble] Let nativeImage assembler populate all potential distribution artifacts

Similarly as the jlink assembler does it, this will allow the assembler to populate all artifacts for the matching distribution, reducing duplication.
Suggested by @KlausBrunner

Released in v1.5.0 -> https://github.com/jreleaser/jreleaser/releases/tag/v1.5.0


Need proxy_pass function to set custom upstream

In order to protect unsecure upstream proxy.

Could you please tell me more about "unsecure upstream proxy"?

For example:
A standard http proxy as upstream.

Got it. In fact, I support this feature in the foundation. I will consider how to expose this feature as a CLI-arg.


Can't get subscribe to work!

Hello,
I have a super simple task - get some people from the 'customers' subscription, and then show them (they are in the "Entities" collection).
I have this hooked up to meteor on localhost which I have confirmed is actually finding customers and printing them to the console.log.  This is in a component.  When it runs the console.error to display fetched contents, it just shows an empty array.  Please help me find what is wrong.
Note: I've already connected and verified login because Meteor.userId() is working.
	constructor(props){
		super(props);
		Meteor.collection("Entities", { cursoredFind: true })
		this.entitiesHandle = Meteor.subscribe('customers',{},{
			onStop:function(data){
				console.error(data);
			},
			onReady:function(data){
				console.error(data);
			}
		});

		console.log(this.entitiesHandle)

		setTimeout(function(){
			console.error(Meteor.collection("Entities").find())
		},2000)
		// console.error(Meteor.userId())
	}

Ok figured it out... I keep getting a disconnected message.  Found that I need to use this ws://<IP_ADDRESS>:3000/websocket instead of ws://localhost:3000/websocket


[ViaVersion]: Failed to get 1.13 item for 383

Proxy Environment
Waterfall build 218 (Bungee 1.8-1.13)
ViaVersion-DEV build 154 (to allow 1.13 clients to connect to 1.12.2 server)
BungeeResourcePack build 215
Server Environment
Paper dev 1547 (Spigot 1.12.2)
ProtocolSupport build 242 (to allow <1.12 clients to connect to the server) -- (last Spigot 1.12.2 supported build - custom compiled without | symbol to allow 1.13 clients to connect without crashing.)
ViaVersion Dump
https://dump.viaversion.com/959b652dda6ad1b730ac2db84ff84c7dcc75d0511c870f0ca8674b576e8d1c8d
[00:06:03] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:08] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:14] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:19] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:21] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:23] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:26] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:26] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:26] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:26] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383
[00:06:26] [Netty Worker IO Thread #15/WARN] [ViaVersion]: Failed to get 1.13 item for 383

I would probably just suggest suppressing these, it's just because the plain egg got removed in 1.13. :)


feat: support manager-api systemd startup script

hi @totemofwolf,
I think we also need to add documentation on how to start and stop with service.
others LGTM. Thanks!

Add it in README.md ? or

hi @totemofwolf,
I think we also need to add documentation on how to start and stop with service.
others LGTM. Thanks!

Add it in README.md ? or

README.md is OK

ping @totemofwolf

Maybe we can add test cases to cover it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: totemofwolf:x: johzchenYou have signed the CLA already but the status is still pending? Let us recheck it.


PowerToys causes shift key to randomly  get stuck

Microsoft PowerToys version
0.71.0
Installation method
GitHub
Running as admin
None
Area(s) with issue?
General
Steps to reproduce
I don't know how to reproduce it as it seems quite random. I do a lot of copying and pasting and I also use control+shift+V to paste without formatting.
From time to time, PowerToys will act as if the shift key is still held down and cause odd behavior. Usually pressing the shift key a second time will fix it.
To confirm this is PowerToys, I had uninstalled it and used the computer for several weeks without PowerToys. The problem went away until I once again installed PowerToys a few days ago.
I have changed a few shortcut keys to be more simple, like Text Extractor to be windows key + T
✔ Expected Behavior
Normal behavior
❌ Actual Behavior
Acts as if the shift key is stuck or being held down. This can mean weird navigation on webpages or text just being highlighted when moving up and down
Other Software
No response

Can you confirm this is still an issue with PowerToys v0.72?
/needinfo

Hi,
Yes it's still happening on the update, but much less it seems. As soon as
it happens, I have to close Power Toys and things go back to normal
On Thu, Aug 10, 2023 at 11:25 AM Joseph Finney @.***>
wrote:

Can you confirm this is still an issue with PowerToys v0.72?
/needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/27385#issuecomment-1673619259,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BA24MUN6OWE4XMZQILPSC3DXUUKRBANCNFSM6AAAAAA2HX27XQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Digitalsoju Does this happen only on Text Extractor? What causes this to happen most often?

/bugreport

That is my suspicion. Let me test it out some more and see what happens.
Also, I changed the shortcut to windows key + T to simplify the shortcut. I
don't know if that is somehow impacting it as well.
I haven't used it lately and kept PowerToys closed when I'm not using it. I
will experiment with it a little more and let you know
On Wed, Aug 16, 2023, 10:13 AM Joseph Finney @.***>
wrote:

@Digitalsoju https://github.com/Digitalsoju Does this happen only on
Text Extractor? What causes this to happen most often?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/27385#issuecomment-1680899657,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BA24MUNX6XO5CF6C4HRPGQ3XVTWRZANCNFSM6AAAAAA2HX27XQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just had this happen, no idea what initiated it. I haven't configured fancy zones at all in this Windows install. I recorded a short video of me debugging what i experienced. No idea if my conclusion of tilde getting stuck was 100% what solved it.
https://github.com/microsoft/PowerToys/assets/7304619/2a71efc1-bf98-4c10-9470-617fd48d58d1

I had Ctrl+Win+V to paste without formatting and my Win key got stuck randomly. I couldn't reproduce it either
Also had some other functions with Win key and Keyboard Manager was disabled

Manage to reproduce "Paste as Plain Text" lockups quite consistently step:

Copy anything
Paste, Press Enter, Paster, repeat a few times
Repeat from step 1. a few times if needed

Pasting in any text field have this problem. I'd say ~20-80% of pastes lockup keys. Rendering it useless. Probably didn't noticed because it was used rarely.
To test which keys get locked I used Carnac Keys

Shortcut
Locked Keys

Ctrl+Shift+V
Ctrl, Shift or Shift

Ctrl+Win+V
Ctrl, Win

Win+V
Win

Alt+V
Alt

To unlock you need to press each locked key

Had this happen to me twice in the past 2 weeks. Once just now, and fancy zones seems to get stuck and thinks I'm pushing shift. Stopping powertoys resolves it.
Powertoys 0.85.0


Adds backoff to describe reserved instance offerings

What this PR does / why we need it:
Adds a back-off to AWS Describe Reserved Instance Offerings call in cases of rate limiting. If the error is anything else then we exit right away.
NONE

/assign @simonswine

/approve
/lgtm


Configurable public image remote (defaults to ubuntu)

Adds "public_image_remote" to the bravetools config file, which allows the user to configure the remote to retrieve public images from.
For example, you can now use the ubuntu minimal images by adding the following to ~/.bravetools/config.yml:
public_image_remote: https://cloud-images.ubuntu.com/minimal/releases/

For backwards compatibility with existing bravetools setups there will be a default public remote in case the config option is not set. This PR sets the default public image remote to https://cloud-images.ubuntu.com/releases in anticipation of losing access to https://images.linuxcontainers.org on 01/05/24.
During brave init the public image remote can be configured by using the --default_image_remote flag. For example:
brave init --default_image_remote https://cloud-images.ubuntu.com/minimal/releases/

Closing in favour of https://github.com/bravetools/bravetools/pull/272


Version opencv

Hello, thanks or the release of this project! Which version of OpenCV did you use?

I find OpenCV <IP_ADDRESS> is the last version supporting Python 2.7.

I tested it with <IP_ADDRESS>


Policy validation with partial schema

Category
Cedar validation features
Describe the feature you'd like to request
The current approach to schema-based validation assumes that the schema file is complete: If an entity, or attribute, is not specified in the schema, then the validator assumes it does not exist. This means that, for example, an attribute access x.f when f is not present in the schema will result in a type error. In this document we sketch out a design for relaxing this constraint, calling the resulting algorithm partial-schema validation.
Partial-schema validation relaxes the assumption that the schema is complete. In other words, just because a policy references an attribute not mentioned in the schema, that doesn’t mean that the validator should flag an error.
Describe the solution you'd like
NA
Describe alternatives you've considered
NA
Additional context
NA
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Closing this issue in favor of cedar-policy/rfc#8. Please move any future discussion there.


Fix Colab notebook link

Fix notebook link to open in Colab.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Cannot delete organization

Description

I just created https://polar.sh/dashboard/python-icalendar
But I would like to delete it.
Current Behavior

When I go to the settings of that organization, I see nothing to remove it.
https://polar.sh/dashboard/python-icalendar/settings
Expected Behavior

When I go to the settings of that organization, I would expect a way to remove it.
Screenshots

Environment:

Operating System: [e.g., Windows, macOS, Linux] Linux
Browser (if applicable): [e.g., Chrome, Firefox, Safari], Firefox

Closing as duplicate of https://github.com/polarsource/polar/issues/4476
Reach out to me at<EMAIL_ADDRESS>and I can help delete your account @niccokunzmann


Fix harness issues with recompiling emitted .d.ts

When the harness recompiles the .d.ts files that it emitted, it gets its list of files by looking up the input files in the program. It uses program.getSourceFiles() and iterates until it finds a source file with the same name as the input file. However, in case insensitive environments, it might not find anything if the case did not match. This broke the rwcRunner.
So I switched it to program.getSourceFile, which respects the case [in]sensitivity of the environment.
I also cleaned up an unnecessary it block from the harness.

:+1:


SourceKit: Account for existing braces when expanding closure placeholders

SR-9560
cc @rintaro

@nkcsgexi Reminder

@benlangmuir It looks like Xi has been busy lately, so I am tagging you in case you find the time to take glance before Xi joins in.

@swift-ci please smoke test

@swift-ci please smoke test Linux

Thanks a lot, Ben.


Fix layering violation I introduced by putting _EmptyBoxStorage into the stubs library

Should fix the linkage issue on linux

@swift-ci Please smoke test

@swift-ci Please smoke test


this function is incompatible with a 1D design

        # TODO: this function is incompatible with a 1D design,

https://github.com/bessagroup/F3DASM/blob/dc5680dc1d534ab6212088c0297b08769094a86b/f3dasm/functions/pybenchfunction.py#L207

Now this function will throw an error if dimensionality < 1