f29: podman run /usr/sbin/int (systemd) fails

On Fedora 29 (but not 28):
# podman run -ti registry.access.redhat.com/rhel7/rhel:latest /usr/sbin/init
systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
Detected virtualization other.
Detected architecture x86-64.

Welcome to Red Hat Enterprise Linux Server 7.5 (Maipo)!

Set hostname to <2ddf981e5925>.
Initializing machine ID from random generator.
Failed to install release agent, ignoring: No such file or directory
Failed to create root cgroup hierarchy: No such file or directory
Failed to allocate manager object: No such file or directory
[!!!!!!] Failed to allocate manager object, freezing.

The "Failed to install release agent" line is fine; I get that on f28. The "Failed to create root cgroup hierarchy" and "Failed to allocate manager object" errors are new.
Adding --cgroup-manager=cgroupfs makes no difference. (Nor does =systemd, which I checked even though it's the default).
podman-<IP_ADDRESS>-1.dev.git95dbcad.fc29  but I also tried downgrading all the way down to 0.8.5-5.gitdc5a711. All tested versions of podman fail on f29.  For comparison, all tested versions succeed on f28 (including podman-<IP_ADDRESS>-1.dev.git95dbcad.fc28).

We needed to add some patches to support starting containers on F29 systemd - I suspect that more patches are required for systemd containers.

Another data point on F29: panic: assignment to entry in nil map
$ rpm -q podman oci-systemd-hook runc
podman-<IP_ADDRESS>-1.git1cd906d.fc29.x86_64
oci-systemd-hook-0.1.18-1.git38504cc.fc29.x86_64
runc-1.0.0-55.dev.git578fe65.fc29.x86_64

I don't even get as far as @edsantiago
podman run --name testing --stop-signal RTMIN+3 --entrypoint /sbin/init --env=container=podman  centos:7
panic: assignment to entry in nil map

goroutine 1 [running]:
github.com/containers/libpod/libpod.(*Container).setupOCIHooks(0xc0002ca180, 0x1460920, 0xc000038140, 0xc0000f1500, 0xc, 0xc000528700, 0xc)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/libpod/container_internal.go:1304 +0x3be
github.com/containers/libpod/libpod.(*Container).generateSpec(0xc0002ca180, 0x1460920, 0xc000038140, 0x0, 0xc0005730d8, 0x434df2)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/libpod/container_internal_linux.go:146 +0x24af
github.com/containers/libpod/libpod.(*Container).init(0xc0002ca180, 0x1460920, 0xc000038140, 0xc0002ca180, 0x0)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/libpod/container_internal.go:514 +0x64
github.com/containers/libpod/libpod.(*Container).StartAndAttach(0xc0002ca180, 0x1460920, 0xc000038140, 0xc00026aa80, 0x0, 0x0, 0xc00037ade0, 0x0, 0x0, 0x0)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/libpod/container_api.go:181 +0x205
main.startAttachCtr(0xc0002ca180, 0xc00000e018, 0xc00000e020, 0x0, 0x0, 0x0, 0x101, 0x0, 0x0)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/cmd/podman/utils.go:79 +0x22e
main.runCmd(0xc00012e580, 0x0, 0x0)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/cmd/podman/run.go:115 +0x438
github.com/containers/libpod/vendor/github.com/urfave/cli.HandleAction(0x10fdd60, 0x1339d80, 0xc00012e580, 0x0, 0xc000144120)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/vendor/github.com/urfave/cli/app.go:501 +0xc8
github.com/containers/libpod/vendor/github.com/urfave/cli.Command.Run(0x12a68c0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x12cb3a9, 0x20, 0x0, ...)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/vendor/github.com/urfave/cli/command.go:165 +0x459
github.com/containers/libpod/vendor/github.com/urfave/cli.(*App).Run(0xc000178a80, 0xc0000300a0, 0xa, 0xa, 0x0, 0x0)
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/vendor/github.com/urfave/cli/app.go:259 +0x6bb
main.main()
        /builddir/build/BUILD/libpod-1cd906da9295304eb7aa2c3d9e75f47b3dd65585/_build/src/github.com/containers/libpod/cmd/podman/main.go:253 +0x148c

Assignment to nil map in setupOCIHooks?
I suppose it could be https://github.com/containers/libpod/blob/52c1365f32398b8ba0321c159e739a5416cd9ab2/libpod/container_internal.go#L1289 - almost certainly is, not that I look at it, given that's the only map in the function.
I suppose it could be a Go versioning thing - maps the map can't be assumed to be initialized anymore? Can easily replaced that with a make(map[string][]spec.Hook) which should resolve it.

Also, oci-systemd-hook should no longer be required by Podman - we've integrated the relevant setup code into Podman itself. It doesn't hurt to have installed, but it should be a no-op now that we're performing the relevant steps before it runs.

@aalba6675 that podman is known broken. Try <IP_ADDRESS>-1.dev.git95dbcad.fc29

Confirmed fixed in podman-0.10.1-1.gite4a1553.fc29

Also, oci-systemd-hook should no longer be required by Podman

@mheon can you double-check that? With oci-systemd-hook removed, I get the same symptom shown in comment 0.

@edsantiago Well that's concerning - we've removed it as a dependency because we integrated the code locally.
@rhatdan looks like we might have missed something?

Another data point, on F29 I am seeing:
# audit2allow -al

#============= container_t ==============

#!!!! This avc is a constraint violation.  You would need to modify the attributes of either the source or target types to allow this access.
#Constraint rule:
#       mlsconstrain file { ioctl read lock execute execute_no_trans } ((h1 dom h2 -Fail-)  or (t1 != mcs_constrained_type -Fail-) ); Constraint DENIED
mlsconstrain file { write setattr append unlink link rename } ((h1 dom h2 -Fail-)  or (t1 != mcs_constrained_type -Fail-) ); Constraint DENIED
mlsconstrain file { create relabelto } ((h1 dom h2 -Fail-)  and (l2 eq h2)  or (t1 != mcs_constrained_type -Fail-) ); Constraint DENIED
mlsconstrain file { relabelfrom } ((h1 dom h2 -Fail-)  or (t1 != mcs_constrained_type -Fail-) ); Constraint DENIED

#       Possible cause is the source level (s0:c170,c862) and target level (s0:c421,c804) are different.
allow container_t container_file_t:file { read write };

This looks like you are attempting to share content between two containers?
Basically one container is attempting to read/write content crreated by another container.

Ooops my bad - somehow /var/lib/containers was not labeled properly


Able to run tests locally

This PR adds some improvements in test suite to be able to test runs locally without having to build dokku each time for running the tests.
Also added instructions in README on how to run these tests locally.

@josegonzalez FYI..


fix(core): missing resource meta in route creation

When creating the routes with parameters internally, we were missing the resource.meta values which causes missing parameters when user defines a default parameter value in resource.meta and doesn't have any values in current meta or params.
Self Check before Merge
Please check all items below before review.

[x] Corresponding issues are created/updated or not needed
[x] Docs are updated/provided or not needed
[x] Examples are updated/provided or not needed
[x] TypeScript definitions are updated/provided or not needed
[x] Tests are updated/provided or not needed
[x] Changesets are provided or not needed

Would be nice to have some tests.


Remove middleman: ESD is the model now, not STAModel

When the skin was removed, STAModel was created to separate model concerns from view concerns. However, this was before EditableStyledDocument became a public interface. Now that ESD is a public interface, STAModel does nothing more than delegate method calls to that object and handle positions of things within the document (caretPosition, caretColumn, selectedText, etc.)
As of now, this build currently fails because STAModelTest can not create a STAModel. This can be resolved by using TestFX to create an area and then run the tests.
Even so, since #333 should be done, these tests shouldn't matter.
However, I believe more of the model-related things should still be stored in EditableStyledDocument (e.g., the SuspendableVals for various things [text, paragraphs, etc.]) as these values only need to be stored in one object, not stored in each view. I still need to do this.

The two issues above have now been addressed


add searchbar recommendations for basic convertors

I would like to add searchbar recommendations for basic convertors like cgpa calculator ,date,currency convertor , conversion to words

Go ahead
Deadline 12 April, 2021 (11:59 PM IST)


Migrate require-v-for-key

https://eslint.vuejs.org/rules/require-v-for-key

@TokugawaTakeshi
Prioritize next due to: https://github.com/TokugawaTakeshi/vue-eslint-pug_support_test/blob/7a08beda5096f9ac97c8a4077387844a72a584ec/src/App.vue#L31-L34

Needs investigation if template/slot needs to report if children doesn't have a key attribute


Remove redundant description of Output2

@intricate just wondering about IOHK policy w.r.t to external contributions, do you require some sort of CLA?

Thank you for your contribution!  There is no need for a CLA, but we assume you are happy with the code being distributed under our standard Apache licence.


Getrawtransaction null after recent move of IBlockStore Interface into BlockStoreQueue

Above issue was noted by InterestingBeing Sunday in discord as something than had stopped working between 1.1.11 and 1.1.12; tracked down the issue after confirmed on my end. Details:
The IBlockStore interface was moved to BlockStoreQueue in #1517 from BlockStoreFeature. The getrawtransaction API and RPC methods use GetTrxAsync from the IBlockStore interface, which in turn had called the method in the IBlockRepository interface.  Simple fix would be just to change IBlockStore to IBlockRepository in both classes, however it looks like IBlockRepository is not accessible via this.fullNode.NodeService<> in its current namespace (Stratis.Bitcoin.Features.BlockStore).
Proposed solution (tested & works):

Move the IBlockRespository interface from BlockRepository in Stratis.Bitcoin.Features.BlockStore into it's own file in Stratis.Bitcoin.Interfaces.
Update methods that had previously used IBlockStore in NodeController and FullNodeController and related tests to use IBlockRepository directly.
Update directives for classes that use IBlockRepository to include the Stratis.Bitcoin.Interfaces namespace.

I've done the above, waiting for integration tests to finish running. All green so far. Would be happy to submit PR if ok with above approach.

Ah indeed correct there is a bug
We need to tell the DI that BlockStoreQueue is the implementation of IBlockStore.
So I'd say the correct way is to add this line in BlockStoreFeature
services.AddSingleton<BlockStoreQueue>().AddSingleton<IBlockStore, BlockStoreQueue>(provider => provider.GetService<BlockStoreQueue>()); ;

Then in the controller constructor
        public NodeController(IFullNode fullNode, ILoggerFactory loggerFactory,
            IDateTimeProvider dateTimeProvider, IChainState chainState,
            NodeSettings nodeSettings, IConnectionManager connectionManager,
            ConcurrentChain chain, Network network, IPooledTransaction pooledTransaction = null,
            IPooledGetUnspentTransaction pooledGetUnspentTransaction = null,
            IGetUnspentTransaction getUnspentTransaction = null,
            INetworkDifficulty networkDifficulty = null,
            IBlockStore blockStore = null)
        {

This will make store available.

Strange that we don't have tests that cover all API and RPC methods. Probably also should add some after the issue is fixed.

@dangershony - ahh...I was missing that second step with the DI when I tried that. Much easier :)  @noescape00 - my bad, didn't cover this scenario with my last PR. Could address the tests with this quick fix if you all would like.

Could address the tests with this quick fix if you all would like.

That would be nice, thanks!

Fixed with https://github.com/stratisproject/StratisBitcoinFullNode/pull/1635


Remove dot primitive in favor of reusing dot_general

There's only one underlying dot HLO, so this shouldn't change anything for XLA.
Also beefs up the dot_general batch rule to add a missing optimization that was needed for a test.

Seems like the main thing we lose in practice is having a simple linear algebra primitive that's a good first (non-trivial) case for new transformations?

Added masking rules for dot_general so there's no regression in transformation coverage from dropping dot. Interestingly, dot_general rules seem to end up simpler than dot ones, because you have to bite the bullet and implement the general case once rather than special cases many times. Should be ready for rereview @froystig if you're interested, otherwise I'll merge if CI passes.

Looks good with the masking rule!


when I map data with code, both png and jpeg are converted with a white background though I have a condition to only do that when output ext is  jpeg or jpg

I'm trying to convert a transparent logo to jpg and png.  As you can see in my code below, I check to see if the file output ext is jpeg or jpg and if it is, it change the background to white and flatten it.
For some strange reason, when I map data with function, both png and jpeg are converted with a white background though I have a condition to only do that when output ext is  jpeg or jpg
let local_file = '/tmp/output/295aadfd-f837-4ffb-b3a0-4a407cca54e0.png'

let data = [[700,
    null,
    'width',
    '/tmp/output/295aadfd-f837-4ffb-b3a0-4a407cca54e0_10',
    'png'],
    [700,
        null,
        'width',
        '/tmp/output/295aadfd-f837-4ffb-b3a0-4a407cca54e0_10',
        'jpg'],
    [1000,
        null,
        'width',
        '/tmp/output/295aadfd-f837-4ffb-b3a0-4a407cca54e0_10',
        'png'],
    [1000,
        null,
        'width',
        '/tmp/output/295aadfd-f837-4ffb-b3a0-4a407cca54e0_10',
        'jpg']]

Promise.all(data.map(convert_image_sharp(local_file))).then(() => {
                    console.log('image convert done');
                });

function convert_image_sharp(image_path) {
    let image = sharp(image_path);
    return data => image
        .metadata()
        .then(function (metadata) {
            let inputs = beatify_input(data);
            if (inputs['crop']) {
                image.extract(inputs['crop'][0], inputs['crop'][1], inputs['crop'][2], inputs['crop'][3])
            }
            image.resize(inputs['width'], inputs['height']);
            if (['jpg', 'jpeg'].includes(inputs['ext'])){
                console.log(inputs['ext']);
                image.background('white');
                image.flatten();
            }
            return image.toFile(inputs['write_path']);
        })

}

Hello, it's unclear what data refers to in the convert_image_sharp function. Are you able to provide a standalone, working code sample?

Hi @lovell I updated what data is

The shared image instance is being mutated by each function invocation. You'll need to move the sharp(image_path) constructor into the anonymous function returned by convert_image_sharp to create a new sharp instance per function invocation.
function convert_image_sharp(image_path) {
-    let image = sharp(image_path) ;
-    return data => image
+    return data => sharp(image_path)
        .metadata()

The code sample provided doesn't appear to use metadata as provided by the call to metadata() so I'm not sure I understand what is needed. This might be more of a question for StackOverflow.

Here's a possible (untested) version of convert_image_sharp that should behave in a way that I have understood your data.map logic to expect.
function convert_image_sharp(image_path) {
  return () => {
    const image = sharp(image_path);
    const { crop, ext, width, height, write_path } = beatify_input(data);
    if (crop) {
      image.extract(...crop);
    }
    image.resize(width, height);
    if (['jpg', 'jpeg'].includes(ext)) {
      image.background('white').flatten();
    }
    return image.toFile(write_path);
  };
}

This question is not really specific to sharp and is more of a general JavaScript coding question suited to a site such as StackOverflow.

Got it,,,
forgive me...I had to learn node js within 48 hours


[BUG] Maps display as a black screen

Describe the bug
When the extension is enabled the maps display as a black screen.
To Reproduce
Steps to reproduce the behaviour:

Go to any map and enable the extension.
Error is present

Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Brave
Version: 1.61.114

Is this with declarative net request enabled or disabled.
Or does the error occur on both?.

Error occurred with both, I also tested it on Firefox and there is a very similar issue.

Well for me it seems to work are you running other extensions or games in the background?

Tested on Brave and Firefox with no extensions enabled and problem persists.
Tested on chrome with no other extensions and works flawlessly.

Maybe a glitch with presets have to look in to that in the morning.
Did you had any data stored for that map? If so can you try with the same broweser but on a map you know doesn't have any stored data.

Tested on Firefox and brave with no additional extensions. Both have the same issue.

I'll just use chrome for now as I can't find the exact issue with firefox and brave.

I would like to solve the issue for most likely somebody else will come across the same issue.
But I will need more info like a error message from the console directly.

Press f12.
Go to console tab.
Search for the error [CONTENT] TypeError: Cannot....
Make sure the call stack is visible (line numbers).
Take a screenshot of that.

same for me, I tried on chromium edge and google chrome, is there any solution ?

Same problem here

This old issue has know started to appear on chrome.
I can prove any logs or screenshots you might need :)

I can confirm that this issue still persists. Bump


Link in project not working

Hi there. Very happy to have found this project. Already installed in my Windows system and it works perfectly.
One question though: the link that would teach me how to create new symbol libraries in Inkscape is not working: https://github.com/Xaviju/inkscape-open-symbols/blob/master/Creating symbol libraries in Inkscape
Is it wrongly linked or doesn`t it exist?

It is working for me, this is the right link on the README.md https://medium.com/@xaviju/creating-your-own-symbol-library-in-inkscape-0-91-and-make-your-front-end-developer-you-338588137aaf

Are you sure that this is fixed for the README.md?

It is not the end of the world.... but indeed there is a dead link in README.MD :)

I sent a pull request with minor additions to the file. Hope it helps! :)


mongodb 4.2 does not start correctly (with unifi-controller)

Describe the bug
When trying to run the unifi controller on nixos-unstable mongo never starts up correctly, and the unifi controller logs are filled with messages about the database being down.
Steps To Reproduce
Steps to reproduce the behavior:

services.unifi.enable = true;
services.unifi.unifiPackages = pkgs.unifi7;

Expected behavior
That the unifi controller starts up correctly.
Temporary workaround

Use the mongodb-4_2 derivation from nixos-22.11

services.unifi.mongodbPackage = inputs.nixpkgs-22.legacyPackages.aarch64-linux.mongodb-4_2;

Notify maintainers
@bluescreen303 @cstrahan @erictapen @pennae
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.1.21, NixOS, 23.05 (Stoat), 23.05.20230330.e3652e0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.14.1`
 - nixpkgs: `/nix/store/fb5ci6653i73gr10by36bxg2f5v69lwf-source`

That is definitely a possibility. Worth to mention might be that mongodb 4.2 didn’t build at all for a while on nixos-unstable on aarch64-linux, but now that it started building again this issue surfaced.

Workaround no longer seems to work as well, mongodb never starts when started by the UniFi controller.
Looking at the logs it seems like UniFi tries to start mongo with the flag --nohttpinterface which seems to have been removed. Not sure if this is the cause of the issue or if it's something else.

Fair enough. Then maybe deprecation of the unifi package would be the best way forward, maybe with a recommendation to use a docker image if necessary?

I'm starting to think this is an issue with the unifi controller, my guess is that it somehow corrupts its database on write-heavy workloads (metrics enabled), and stops working. Saw something similar happen with a docker distribution of the unifi controller for aarch64.

I’m leaning towards the unifi controller corrupting the mongo database when loads are more write heavy (more detailed metrics). Closing this issue, the only potential nixos specific parts of it would be better failure detection, since right now the systemd unit hangs and can’t be stopped if any database corruption has happened.

See https://github.com/NixOS/nixpkgs/pull/207382#issuecomment-1371303817 and https://github.com/NixOS/nixpkgs/pull/207382#issuecomment-1377901344, and the MongoDB upgrade instructions. Following the appropriate upgrade sequence and using setFeatureCompatibilityVersion as described in the update docs, I was able to get mongodb 4.4 working with Unifi Controller 6 on NixOS 23.05.

To clarify, it works with nixpkgs as-is. The links above describe how a Unifi user on NixOS 22.11 can upgrade to 23.05 by properly upgrading the Unifi database first. I agree that an automatic upgrade feature would be overkill for Unifi.


QEMU TCG doesn't support VMX

ZeldaOS is used QEMU TCG as accelerator but TCG doesn't support VMX. That's why I've changed accelerator as enable-kvm.
Issue for TCG:
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
Command line:
qemu-system-x86_64 -enable-kvm -cpu host,-kvm_pv_eoi,-kvm_steal_time,-kvm_asyncpf,-kvmclock,+vmx -drive file=Zelda64.img,if=ide -smp 4 -m 1024 -serial stdio -monitor null -nographic

please find a linux host with vt-x enabled in bios. cat /proc/cpuinfo|grep vmx, and enable nested virtualization:
#/etc/modprobe.d/kvm-nested.conf
options kvm-intel nested=1
options kvm-intel enable_shadow_vmcs=1
options kvm-intel enable_apicv=1
options kvm-intel ept=1
// and then reload these two modules: kvm and kvm_intel.

if you don not want to run any vmx related features, do not specify any options related to kvm, my kernel will avoid running them when it does not detect vmx feature.  please refer to the command in top level makefile.

note the hypervisor is incomplete, nothing to play with at all.

This problem is related to accelerator, I don't need any of VMX features (shadow vmcs, apic emulation). I've solved this problem with KVM variable. Thank you!


failure_app broken on JRuby

This commit, https://github.com/plataformatec/devise/commit/7025f968c690775de42cf31a969c0e97913df59f, made it so that login failures are broken on JRuby. All Devise versions after this commit will not work on JRuby, so I'm surprised it hasn't been already reported.
The error shown is different prefix: "/" and "."

With current release of Devise and JRuby, create a Rails app
Add log in logic using Devise defaults
Try to log in with invalid credentials

Currently, the workaround is to lock into a known good version of Devise. For my app, that's 3.4.1.

I get this exact same error with Ruby 2.3.1 so I'm not sure this is a JRuby-only thing.

@batasrki @trejkaz Any news on this issue?

I have the same problem , I tried with ruby 2.2.6, ruby 2.3.3 and ruby 2.4.1
Any idea ? https://stackoverflow.com/questions/47206273/different-prefix-and-http-localhost3000-with-devise

@btazi Can you provide us a sample application that reproduces the issue in isolation?
You can also use our bug report template.
That would help us find the issue.
Thank you!

I'm closing this issue because it has not had recent activity.
If you're still facing this on the latest version, please open a new one with all the information requested in the template.
Thank you!


ls: cannot access '/keybase': Transport endpoint is not connected

Describe the bug
I cannot access files from CLI at /keybase, however it seems /run/user/<user>/keybase/kbfs shows the files - Debian unstable 6.4.0-20240821175720.3212f60cc5 (I tried also nightly, the same); however, during the installation there was some warnings:
Warning: program compiled against libxml 212 using older 209

jiri@t14s:~$ findmnt | grep keybase
│   ├─/run/user/1000/keybase/kbfs                               /dev/fuse                 fuse            rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
└─/keybase                                                      keybase-redirector        fuse            ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other

jiri@t14s:~$ ls -l /run/user/1000/keybase/kbfs/private/jirib79/ /keybase/private/jirib79/
ls: cannot access '/keybase/private/jirib79/': Transport endpoint is not connected
/run/user/1000/keybase/kbfs/private/jirib79/:
total 2
-rw-------. 1 jiri root 1036 Oct  3 13:17 fstab

To Reproduce
Steps to reproduce the behavior:

Debian Unstable
deb package
run_keybase
ls /keybase/private/<user>

Expected behavior
Files should be visible.
Additional numbers
The number 345567

I've just noticed the same thing on Ubuntu 20.04 with the same version (6.4.0-20240821175720.3212f60cc5)

Same

This is happening on Arch as well. Closing the client (while still having it in the systray) will cause / to become inaccessible. A restart temporarily fixes this issue.

I've had this problem for a while...
sometimes it makes df or ls or other program hangs...
I now terminate the keybase-redirector service, accepting this is broken and preventing further problems

is this a temporary fix?

I tried to invest my savings into forex broker’s trade during Pandemic and ever since last year December have been trying to withdraw my savings and each time i try to withdraw i’m asked to pay for fees and Tax fees, last i discovered that it was all scam and i have already lost $450,000 US dollar’s. I was referred by my bestie who know so much about the internet and he referred me to (hack4net8@gmail .com) i emailed him i did as he instructed, after 32 hours of reaching out to jbeespyhack hacker i received a notification on my phone screen and it was blockchain and my funds were recovered full without stories, i am writing this because a lot of people complain of being scammed online while trying to have there funds recovered, kindly email (hack4net8@gmail .com)

I've had this problem for a while...
sometimes it makes df or ls or other program hangs...
I now terminate the keybase-redirector service, accepting this is broken and preventing further problems

So this a temporary fix?

Actually, I found one.
Open your file manager after opening keybase or it won't work.


Workaround minor regression in Cesium 1.6

See AnalyticalGraphicsInc/cesium#2499.

LGTM.

Thanks for the review @elemoine.


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/VSC-Service-Account/docs-archive-test-source.git

Docs Build status updates of commit 3e398a3:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitRepoUnauthorizedWithoutSourceCommit] Unauthorized to sync git repostiory:Git data access to 'https://github.com/VSC-Service-Account/docs-archive-test-target' (branch: Release_Archive_master_2020-11-18-06-18-14) is not authorized.. Please retry building your content again. If the issue still happens, open a ticket in https://SiteHelp and include the URL of publishing report.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


HelmRelease fails when using fromValues with kind ConfigMap

I am currently trying to source values for a HelmRelease from an existing ConfigMap within the cluster. The HelmRelease is being used to install nginx ingress controller, against a AKS cluster with a static IP address. As a result of the static external IP address, the ingress controller needs to know the public IP address and its associated resource group.
When I statically assign the values, everything works fine:
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: ingress-nginx
  namespace: cluster-config
spec:
  targetNamespace: kube-system
  releaseName: ingress
  chart:
    spec:
      chart: ingress-nginx
      version: 4.0.6
      sourceRef:
        kind: HelmRepository
        name: nginx
  interval: 1h0m0s
  values:
    rbac.create: true
    rbac.createRole: true
    controller.service.loadBalancerIP: x.x.x.x
    controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-resource-group": RESOURCE_GROUP_NAME
    controller.config.proxy-body-size: 100m
    controller.config.server-tokens: false
    service.type: NodePort

The IP address and resource name are created by Terraform and stored into a ConfigMap using the following Terraform resource:
resource "kubernetes_config_map" "cluster-metadata" {
  metadata {
    name = "cluster-metadata"
    namespace = "cluster-config"
  }

  data = {
    public_ip = var.public_ip
    resource_group_name = var.resource_group_name
  }
  depends_on = [azurerm_kubernetes_cluster.datafabric]
}

Therefore at cluster creation time, a configMap is created to with the Terraform managed state, which Flux can then use to manage Kubernetes level resources. Here you can see the resulting ConfigMap:
apiVersion: v1
data:
  public_ip: x.x.x.x
  resource_group_name: RESOURCE_GROUP_NAME
kind: ConfigMap
metadata:
  creationTimestamp: "2022-05-17T02:24:32Z"
  name: cluster-metadata
  namespace: cluster-config
  resourceVersion: "41319"
  uid: ...

However when I try to use the valuesFrom, I get the following error: Helm upgrade failed: YAML parse error on ingress-nginx/templates/controller-service.yaml: error converting YAML to JSON: yaml: line 4: did not find expected key.... Here is the snippet of relevant config (replacing the static values above):
valuesFrom:
    - kind: ConfigMap
      name: cluster-metadata
      valuesKey: public_ip
      targetPath: controller.service.loadBalancerIP
    - kind: ConfigMap
      name: cluster-metadata
      valuesKey: resource_group_name
      targetPath: controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-resource-group"

Kubernetes Version: 1.21.9
fluent-bit: 1.1.2
flux: v0.30.2
fluxconfig-agent: 1.1.2
fluxconfig-controller: 1.1.2
helm-controller: v0.20.0
kustomize-controller: v0.24.0
notification-controller: v0.23.3
source-controller: v0.24.2

I figured out that this issue relates to #460, therefore updating the annotations targetPath fixes the issue: targetPath: controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-resource-group"


Restructuring dockerfiles and Updating makefile

This is what it would look like if we moved Dockerfile to their appropriate directories and called the file Dockerfile. #981

With no activity on this and little momentum for the change from the community, I'm inclined to close.

I feel ya...though I want to stress that there was two primary points to this pull request. One was naming to follow Docker standards, the second was location and to have them next to their main.go file and based of the discussion it definitely seemed like there was confusion on the thread as to what that looks like. So at the very least I'd like to get @jamesrgregg as the DevOps guy to see if he has any input for the pipeline and experience he has.  So give it another week, please :) Then we can close?


Run enhancements

Changes
This PR contains a number of small enhancements related to the new Run type.  I am building a custom controller to handle Runs.  I found these enhancements to be helpful in building it.

Add a status field to the Run spec to support requesting cancellation of the Run
Add helper functions (MarkRunFailed, etc.) to update the Run status condition, similar to ones in pipelinerun_types.go and taskrun_types.go
Add helper functions to serialize and deserialize a Run's extraFields
Add a filter function that can be used when creating an event handler to notify your custom controller when an object owned by a Run is modified
Export the setup and teardown functions in the test package so that external projects can easily write E2E tests that gain from that functionality (setting up clients, creating and deleting a namespace, dumping objects on error, etc.).  These functions had to be moved from init_test.go to init.go since test files cannot export names.
Update the test package to include a Run client and to wait for a Run to reach a state.

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices
[ ] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes

@ImJasonH fyi

/ok-to-test
/kind feature

/retest

Export the setup and teardown functions in the test package so that external projects can easily write E2E tests that gain from that functionality (setting up clients, creating and deleting a namespace, dumping objects on error, etc.). These functions had to be moved from init_test.go to init.go since test files cannot export names.

I'm not actually sure we should do this. Today, these test methods can be changed/moved/removed at will since we expect people won't depend on them (since, they can't).
Other than that, this change looks great!
Can we maybe move that test package change to a separate PR so we can discuss that change in isolation, without blocking this PR?

I'll create new PRs to split the runtime and test changes.


Conceal all types of fractions, not just \frac

Currently, the only fractions that are concealed are \frac. I prefer using \dfrac for everything, since it'll always display as large, even when doing inline math. However, doing this has made me lose out on concealed fractions.This PR aims to fix that. Now, the regex for finding fractions looks for all types of fractions.
Regex is absolutely not my strong suit, and I wouldn't be surprised if there's a better way to match for the string "frac" that may or may not be preceded by d, t, or g. Feel free to enlighten me on this!

Thanks!

Regex is absolutely not my strong suit, and I wouldn't be surprised if there's a better way to match for the string "frac" that may or may not be preceded by d, t, or g. Feel free to enlighten me on this!

(d|t|g)?frac will work as you described :)
Your current solution also works well, so I'm happy to merge!


Search from recyclerview using search view

Search from recyclerview using search view not working when using materialrecyclerviewadapter ...
please help me about this issue as I am unable to search correct records from recyclerview.
recycleViewAdapter = new StudentViewAdapter(studentList,getActivity());
mAdapter = new RecyclerViewMaterialAdapter(recycleViewAdapter);
mRecyclerView.setAdapter(mAdapter);
when i setadapter of recyclerview (recycleViewAdapter) directly to recyclerview it works perfectly but when use mAdapter it does not show records correctly

Hello bilalilyas I have the same problem right now. Did you find any solution to yours??? please if yes can you help me??


examples can not run up

i had clone deck.gl to local, checkout to 6.0-release. and cd to "examples\get-started\pure-js-without-map" folder, and then run "npm install"; then run "npm start", but failed as below:

anyone know why???

Looks like it's missing buble in devDependencies.


[TASK] Add nonce increase range to prevent attacks

Overview
Currently we are requiring nonces on anchor updates to only be monotonically increasing. We should instead bound this so that it is both monotonically increasing and bounded by some reasonable range, like 1024 or 65,536.

https://github.com/webb-tools/protocol-solidity/blob/main/contracts/anchors/bridged/LinkableAnchor.sol#L66

Proposal
  function updateEdge(
    uint256 sourceChainID,
    bytes32 root,
    uint256 leafIndex
  ) onlyHandler override external payable nonReentrant {
    ...
    require(edgeList[edgeIndex[sourceChainID]].latestLeafIndex < leafIndex, "New leaf index must be greater");
    require(leafIndex < edgeList[edgeIndex[sourceChainID]].latestLeafIndex + (65_536), "New leaf index must within 2^16 updates");
    ...

Checklist

[ ] Implement nonce increase within a range.

@saiakilesh for other proposals such as token updates and wrapping fee updates we can use a much smaller range or restrict it down to increasing by 1 each time, since we don't expect high throughput of those proposals in a day.


About generation evaluation

Hello, how to eval your model from vaildity, uniqueness and diversity?
I used your tutorial, but get 83% validity for De Novo generation.

Hi @cbigeyes,
Thanks for spotting this.  We used an earlier  checkpoint for the results in the paper, but uploaded the model saved at training end to huggingface. I will upload that version after the holidays.
Thanks again !


Issue with Simple Date Component

Hello all,
I have installed SDK Community on my local Lumira 2.0 SP02, but i'm not able to run my application which use SIMPLEDATE Component.
It seems Lumira 2.0 is not able to use rollDays function
"Message: org.mozilla.javascript.EcmaError: ReferenceError: "internal_setDateByIndex" is not defined. (DATE.rollDays()#7)
Stack trace: com.sap.ip.bi.zen.rt.framework.jsengine.JsEngineException: org.mozilla.javascript.EcmaError: ReferenceError: "internal_setDateByIndex" is not defined. (DATE.rollDays()#7)"
I'm not 100% sure my extension is well installed, you can see it here. (i took this link : https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/blob/master/releases/org.scn.community.sdk.extensions.zip?raw=true, link found here : https://blogs.sap.com/2017/08/18/scn-lumira-designer-2.0-sdk-components/)

Best regards !
Jonas.

Hey Jonas,
Thanks for reporting the problem.  The good news for you is that it's not your problem.  The bad news for me is that I'll need to fix something :)
Give me a day or 2 and I can create a fix.

Good to know i'm not responsible for this issue :D Thank for your responsiveness, i appreciate !
Good luck for this !

Hey Jonas,
Give it another try when you have time and let me know if it's fixed for you, now.

Hello Mike,
I tried to re-download your extension but i have an issue when i try to install it

I failed somewhere ?

I will take a look today. Perhaps try redownloading it and removing it the old version of the extension in the meantime.
Sent from my Windows phone.

On Oct 25, 2017, at 2:32 AM, JonasDuclos<EMAIL_ADDRESS>wrote:
Hello Mike,
I tried to re-download your extension but i have an issue when i try to install it
I failed somewhere ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

  I pushed a fix up if you could try to download once more and try again.

Great !
But i'm sorry, still have an issue. Seems you fixed rollDays but there is the same issue for rollDays (and i guess for others functions in this component)
Message: org.mozilla.javascript.EcmaError: ReferenceError: "getYear" is not defined. (DATE.internal_rollMonths()#11)
Stack trace: com.sap.ip.bi.zen.rt.framework.jsengine.JsEngineException: org.mozilla.javascript.EcmaError: ReferenceError: "getYear" is not defined. (DATE.internal_rollMonths()#11)

Let's try again.  I missed a spot, you are right.

Nice !
Works perfectly !
Big thank for your support Mike !

Glad to be able to help.  Sorry for the bugs.  Lumira 2.0 changed the way script scope worked, so I'm only hearing these issues as people are using the script APIs.  Please feel free to report any new issues you encounter going forward!  Going to close this issue as it sounds like it's been corrected.
Thanks!


Add rg.FeedbackDataset.for_task* for commonly used tasks

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Closes #3764
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

[ ] New feature (non-breaking change which adds functionality)
[ ] Refactor (change restructuring the codebase without changing functionality)
[ ] Improvement (change adding some improvement to an existing functionality)

How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference tests)

[ ] Test A
[ ] Test B

Checklist

[ ] I added relevant documentation
[ ] I followed the style guidelines of this project
[ ] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Here is a overview of what tasks are featured currently and what they consist of.

covered in #3958


Set KafkaChannel dead letter sink URI in the status

As per title.
I found this issue while testing KafkaChannel with eventing core tests in https://github.com/knative-sandbox/eventing-kafka-broker/pull/2025

/assign @aliok

/cherry-pick release-1.3

/lgtm
/approve

/cherry-pick release-1.3

woot! it worked, I wanted to rebase https://github.com/knative-sandbox/eventing-kafka-broker/pull/2035 and it did https://github.com/knative-sandbox/eventing-kafka-broker/pull/2035#issuecomment-1081833376 :partying_face:


Bash completions file from modules/tools/contrib not installed into installation prefix

Describe the bug
When installing into a prefix with make DESTDIR=/my/custom/path install the bash completion script will still be copied to the systems root /etc/bash_completion.d instead of $DESTDIR/etc/bash_completion.d
This fails the install because the system is not writable.
To Reproduce
Steps to reproduce the behavior. For example:
Build and then run make install with DESTDIR set to a writeable path.
Expected behavior
The bash script should be installedinto the installation prefix
Output/Screenshots
-- Installing: /etc/bash_completion.d/ifm3d_completions
CMake Error at modules/tools/contrib/cmake_install.cmake:54 (file):
  file INSTALL cannot copy file
  "/home/builder/workspace/ifm-ifm3d/build-debian-bullseye-x86_64/ifm3d-prefix/src/ifm3d-build/modules/tools/ifm3d_completions"
  to "/etc/bash_completion.d/ifm3d_completions": Permission denied.
Call Stack (most recent call first):
  modules/tools/cmake_install.cmake:52 (include)
  cmake_install.cmake:60 (include)

Proposed Solution
Per cmake docs https://cmake.org/cmake/help/latest/command/install.html a relative path will be interpreted relative to the installation prefix.
On line https://github.com/ifm/ifm3d/blob/70971db4213a00bebf01a8da1e1fdb8a3645d052/modules/tools/contrib/CMakeLists.txt#L14
the leading / from the DESTINATION path /etc/bash_completion.d should be removed.

@mhuijgen Thanks for this, I confirm the issue and will be resolved in next release.


Text() / .InnerText do not include text of nested elements

When using jQuery or the DOM, .text() and .innerText include the text of inner DOM elements.  In the below example, observe the contents of the inner  are included:
foo = $( "está	")
[…	]
foo[0]
…
foo[0].innerText
"está"
foo.text()
"está"

in CsQuery, the nested elements are not included in .Text() or .InnerText.  Below is a failing test, the .Text() result equals "est", not including the s contents as I'd expect.
[Test]
public void Misc ()
{
	CsQuery.CQ document = "está	";

	var td = document ["td"].First ();

	Assert.AreEqual ("está", td.Text());
}

Issued was observed on version 1.3.4

Ok, though I was quite certain the given test was failing before (using .Text()), it is passing for me now.  I have no idea why.  It seems .InnerText is still behaving badly though, which is what I was using in the code I am trying to fix.  With the tests below, at version 1.3.4, TextIncludesSubElements passes while test InnerTextIncludesSubElements fails.  I sear TextIncludesSubElements (formerly called Misc) was failing before, but, its hard to explain why it would change and easier to conclude I made a mistake in my observations.
	[Test]
	public void TextIncludesSubElements ()
	{
		CsQuery.CQ document = "está	";

		var td = document ["td"].First ();

		//  https://github.com/jamietre/CsQuery/issues/186
		Assert.AreEqual ("está", td.Text());
	}

	[Test]
	public void InnerTextIncludesSubElements ()
	{
		CsQuery.CQ document = "está	";

		foreach (var element in document["td"]) {
			Assert.AreEqual ("está", element.InnerText);
		}
	}

I can use element.Cq().Text() instead of .InnerText to get the result I want now.  I don't know why I saw .Text() misbehaving, but I will assume I was wrong on that and close this issue out.
(It may be that IDomElement.InnerText should behave differently, but CsQuery is your design I'm not sure if that makes sense for you)


Use Fri instead of STRK when small unit is intended

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (708b1d8) 67.38% compared to head (c55c94e) 67.38%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1182   +/-   ##
=======================================
  Coverage   67.38%   67.38%
=======================================
  Files          52       52
  Lines        6740     6740
  Branches     6740     6740
=======================================
  Hits         4542     4542
  Misses       1782     1782
  Partials      416      416

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Check failed to run: execution expired

We still see this issue occasionally even after upgrading to sensu 1.0, sensu-plugin-1.4.5 with http-2.5.0
Check failed to run: execution expired, [
"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/check/cli.rb:23:in write'\",   \"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/check/cli.rb:23:in puts'",
"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/check/cli.rb:23:in puts'\",   \"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/check/cli.rb:23:in output'",
"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/cli.rb:29:in block (2 levels) in <class:CLI>'\",   \"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-http-2.5.0/bin/check-http.rb:242:in rescue in run'",
"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-http-2.5.0/bin/check-http.rb:237:in run'\",   \"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/cli.rb:58:in block in class:CLI'"]
\n","status":2
This check took 15 seconds to run. Should have taken less than 1

@dhdanno unless I am missing something I don't think this is the right repo to report this, let's move it to https://github.com/sensu-plugins/sensu-plugins-http.
Another few notes:

I don't think this does have to do with versions in this case as I recall seeing similar issues with older and newer versions of sensu. But assuming it does we are in maintenance mode trying to get all all the plugins working with ruby 2.4 (which is the embedded version in sensu 0.29+) which you can read more about here: https://blog.sensuapp.org/community-maintenance-mode-d109e75bcbc4 if you are looking for stable I would recommend pinning on 0.28 for now.

likely related issues:

https://github.com/sensu-plugins/sensu-plugins-http/issues/46
https://github.com/sensu-plugins/sensu-plugins-http/issues/37

Thanks. New issue here: https://github.com/sensu-plugins/sensu-plugins-http/issues/82


Add Paris' Bibliothèque Sainte-Geneviève

Quiet with good ambience. Personal fave.

Thank you @joaosa :)


Solved Issue

Related issue

Clear All CheckBoxes of individual elements after "DownloadAll" button is clicked

Proposed changes

Using props on each related components
When click downloadAll, all checkboxes will clear automatically

Additional Information

Please check the functionality or my code

Thank You

Hi,
Sorry I didn't check the selected_set before. Already committed changes
with clearSelected() function on useEffect hook.
Also removed the package-lock.json. Kindly check my code again.
Thank You
On Fri, Sep 11, 2020 at 2:29 AM AasthaGithub<EMAIL_ADDRESS>wrote:

@AasthaGithub requested changes on this pull request.
Even though check box go visibly unticked, yet the state of those
Elements' checkbox remains unaltered.
Possible Reasons could be: When updating state of check box, the
append_Selected/ clear_selected isn't taken care of (in ElementItem:
UseEffect hook)
Also, remove package-lock.json file that's committed
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AasthaGithub/Customizable_Portfolio/pull/81#pullrequestreview-486246723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIEHJY7PJT6EY2BI3EEHTTSFESIFANCNFSM4RFGKSAQ
.

No worries, great job.✨


ddclient: WARNING:  file /run/ddclient/ddclient.conf: file /run/ddclient/ddclient.conf must be accessible only by its owner.

Issue description
The NixOS module for ddclient installs the config file world-readable, since commit 642c8a8d8dae5047d5020578d36558a3dea465ce. This results in the following warning from ddclient:
WARNING:  file /run/ddclient/ddclient.conf: file /run/ddclient/ddclient.conf must be accessible only by its owner.

Steps to reproduce

Enable the NixOS ddclient module: services.ddclient = { enable = true; configFile = "/path/to/ddclient.conf"; }
When ddclient runs, /path/to/ddclient.conf will appear world-readable as /run/ddclient/ddclient.conf.

Technical details

system: "x86_64-linux"
host os: Linux 4.14.74, NixOS, 18.09.821.4dd9cd3f69e (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.1
channels(bfo): ""
channels(root): "nixos-18.09.821.4dd9cd3f69e"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Should that not be reopened?
Is including -o ddclient and replacing -m666 with -m600 in ExecStartPre like this:
ExecStartPre = "!${lib.getBin pkgs.coreutils}/bin/install -o ddclient -m600 ${cfg.configFile} /run/${RuntimeDirectory}/ddclient.conf";
a valid solution?
I'm not sure if the user name is guaranteed to be unique

Oh yeah, and the above PR was reverted in https://github.com/NixOS/nixpkgs/pull/53045 too

Still getting this warning.


could you provide the dataset link which you had used in this paper?

I am not the owner of this in-house dataset, so I am afraid that I cannot.

Thanks,  Could you tell us about how we can process our own dataset for this model?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Dewei Hu @.>
Sent: Thursday, June 13, 2024 12:08:49 AM
To: DeweiHu/OCT_DDPM @.>
Cc: xiaoxiao12323 @.>; Author @.>
Subject: Re: [DeweiHu/OCT_DDPM] could you provide the dataset link which you had used in this paper? (Issue #14)
I am not the owner of this in-house dataset, so I am afraid that I cannot.
—
Reply to this email directly, view it on GitHubhttps://github.com/DeweiHu/OCT_DDPM/issues/14#issuecomment-2163423568, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BI2IJXGO4LFFF5K55EZN65LZHBXBDAVCNFSM6AAAAABJGCQPRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGQZDGNJWHA.
You are receiving this because you authored the thread.Message ID: @.***>


Update RecurrenceScheduleCard.Page.al

Typo fixed.

Hi @radekmiernik, nice catch on that.
However we're unable to make that is a breaking change unless we obsolete it first and create a replacement with preprocessor tags.
#if CLEAN19 ... #elseif ...

I am totally aware of it. I just want to point out this typo, and I know that a pull request is the best way to 'not to forget about something.

@darjoo is this really a breaking change, since this page is set to extensible=false?
https://github.com/microsoft/ALAppExtensions/blob/5c490ab80d8f5c4ac26641604eba79dbe1b1eb47/Modules/System/Recurrence Schedule/src/RecurrenceScheduleCard.Page.al#L11

This one indeed shouldn't be breaking. Let's hope our build system agrees ;-) This should be able to go in "as is".

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for release 18.


failed to find a checkpoint

Excuse me, I don't know if you're still here, but I already created a "checkpoint" folder when I ran this code. Why does it still show "Failed to find a checkpoint?"

Did you slove the problem? I have test my code just now and it worked well. Did you change the path for chekpoint?

Sorry, I missed your message.  I have solved this problem, but there are still some new problems. Do you mind if we communicate by email or wechat? my email<EMAIL_ADDRESS>my wechat DZ-751507950


Add predicates for find command

Closes issues #119, #120, #121, #122, #123

Codecov Report

Merging #156 into master will decrease coverage by 2.05%.
The diff coverage is 34.23%.

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


Emitting type parameters (regression)

TypeScript Version:  master

Search Terms:
Code
export class MyMap<K, V> {
	constructor(
		private readonly Map_: typeof Map = Map
	) {
	}
	private readonly store = new this.Map_<K, V>();
}

Expected behavior:
export class MyMap {
    constructor(Map_ = Map) {
        this.Map_ = Map_;
        this.store = new this.Map_();
    }
}

Actual behavior:
export class MyMap {
    constructor(Map_ = Map) {
        this.Map_ = Map_;
        this.store = new this.Map_<K, V>();
    }
}

Playground Link:
Related Issues:

Wow, yeah.  That's not great.

Ouch.

Whatever the regression is, it causes 28 projects in the RWC test suite to break.
@andrewbranch I'd suggest bisecting this and reverting whichever PR caused the break.

My theory is it's #30467. I'm stepping through now to see if there's a quick fix, but I'll revert the offending PR if I can't figure it out in the next 30 minutes or so.

@andrewbranch Yup, RWC looks to run clean on the last commit prior to #30467.
@rbuckton Ping.

I'll take a look. It looks like we didn't have a test for this case.

@rbuckton I've got a fix incoming.

Can you also take a look at another regression #31277?

@ahejlsberg You don't still have a test for this case.


Error: Uncaught [NotFoundError: The node to be removed is not a child of this node.]

Summary:
This issue comes up when I run react testing library tests. It seems that the parent component removes react-modal I am assuming on unmount event what leads to Error: Uncaught [NotFoundError: The node to be removed is not a child of this node.]. . This issue is very similar to already raised one https://github.com/reactjs/react-modal/issues/769 but the corresponding PR https://github.com/reactjs/react-modal/pull/778 does not actually address the original issue.
I found code which causes this issue https://github.com/reactjs/react-modal/blob/bd07d56ecfebc8807cbb958aa35ef545dfc7efa0/src/components/Modal.js#L176-L179 and fix should pretty simple like
    if (parent && parent.contains(this.node)) {
      parent.removeChild(this.node);
    }

I will appreciate if someone comes up with a workaround.

If someone else experiences the similar problem then the following workaround should fix it but the warning message
React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks. will be written in console.
export default function ReactModal() {
    let unmounted = false

    useEffect(() =>
        () => {
           unmounted = true
        }
    )

    return (
        <Modal parentSelector={() => unmounted ? undefined : document.body}>

Hello!!!

        </Modal>
    )
}


Minimum supported Bridge version?

Related to #5, I realized that the test case was actually for version 1.3. Versions less than that only return the light id and name for the \lights endpoint. This is the only example response I could find http://www.burgestrand.se/hue-api/api/lights/
{
  "1": {
    "name": "TV Left"
  },
  "2": {
    "name": "TV Right"
  }
}

I started to wonder if supporting 1.0 would do more harm than good. Basic things like Scenes, Sensors, and Rules all require higher bridge versions. The Hue API changelogs even start at version 1.4, which seems like a good base version.
Any thoughts on requiring a minimum API version to support?

Cool, I agree, then let's target 1.4, mention that explicitly in the docs and change everything newer to maybes :)


update the eks-a version and release number in the manual instructions

update the eks-a version and release number in the manual instructions to match the changes made in the Terraform install.
Follow up to #74

Following this, we should consider releasing v0.4 https://github.com/equinix-labs/terraform-equinix-metal-eks-anywhere/releases/edit/untagged-e2ec745b03c4520c5044 and getting the unsatisfied v0.3 milestone objectives moved to v0.5.


ci: [2024-Q3] CI/CD Audit Story

Contents

CI/CD Repository Audit

Contents
Administrative Audit Criteria

Check Actions State
Check if Actions should be disabled
Repository Settings Checks
App Integrations
Security Checks
Custom Properties

Non-Administrative Audit Criteria

Dependabot
Workflow checks
Self Hosted Runners
CODEOWNERS
Other

Repository Settings
Acceptance Criteria

Administrative Audit Criteria
Check Actions State

[ ] Actions are enabled
[ ] Actions are disabled

Check if Actions should be disabled
If actions have not been run in the previous 6 months they should be disabled:

[ ] Actions have run in the last 6 months and shall remain enabled
[ ] Actions have been disabled on the inactive repository

Repository Settings Checks

[ ] Repository settings are configured per organization standard
[ ] Individual branch protections are turned off
[ ] Individual tag protections are turned off
[ ] The repository uses the current rulesets
[ ] Teams are assigned to the repository
[ ] Individual contributors that are part of assigned teams are removed from contributors list
[ ] All webhooks present are needed and in use

App Integrations
If actions are enabled:

[ ] Dependabot is enabled on the repository
[ ] Codecov is enabled on the repository

Security Checks

[ ] Snyk is enabled on the repository
[ ] Dependabot is configured to monitor all relevant ecosystems

npm
electron
github actions
etc.

[ ] Secrets Management

[ ] No hardcoded secrets in the workflow files or code
[ ] GitHub secrets are employed to store sensitive data
[ ] Secrets are referenced in CI via config files or environment variables

[ ] Tokens are stored securely as GitHub Secrets
[ ] Executable Path Integrity

[ ] Integrity checks for executables are implemented

integrity checks should use either checksums or cryptographic hashes for verification

[ ] Checksums/hashes are verified during CI process to detect unathorized changes
[ ] Expected checksums/hashes are stored securely and referenced through the CI pipeline

[ ] Code Coverage Reporting - Configure codecov on the repository
[ ] CodeQL is enabled on the repository
[ ] npx playwright install deps is used to install OS dependencies instead of aptitude
[ ] Code Formatting

[ ] ESLint rules are applied to the codebase
[ ] Prettier Formatting rules are applied to the codebase

Custom Properties

[ ] Custom properties: last-ci-review-by-team is set
[ ] Custom properties: last-ci-review-date is set (Use format: YYYY-MM-DD)

Non-Administrative Audit Criteria
Dependabot

[x] dependabot.yml is up to date

Workflow checks

[x] Appropriate permissions are set within the github workflows
[x] All steps are named
[x] All workflow actions are using pinned commits
[x] The Step-Security Hardened Security action is enabled on each workflow job
[ ] Ensure no hard-coded keys in workflows

[x] Alert devops-ci administrative team if new github secrets are needed to resolve hard-coded keys

Self Hosted Runners

[x] The Repository is using the latitude runner group label for the runs-on stanza

CODEOWNERS

[x] .github/CODEOWNERS is valid and up-to-date

Other

[ ] If Applicable: Alert repository owners of software versions that are no longer supported
[ ] If Applicable: Alert repository owners when software versions are within 3 months of losing support

Repository Settings

[x] Require contributors to sign off on web-based commits
[x] Features: Issues
[x] Features: Preserve this Repository
[x] Features: Discussions
[x] Features: Projects
[x] Pull Requests: Allow Squash Merging
[x] Pull Requests: Always suggest updating pull request branches
[x] Pull Requests: Automatically delete head branches
[x] Pushes: Limit how many branches and tags can be updated in a single push

Acceptance Criteria

[ ] All Audit Criteria have been met

@rbarkerSL @andrewb1269hg In the build.yml and main.yml workflows there are multiple places with a hard-coded key.

The non-administrative checks are done. @andrewb1269hg assigning over to you.

@rbarkerSL @andrewb1269hg In the build.yml and main.yml workflows there are multiple places with a hard-coded key.

We will need to add the keys as secrets and then open up a freshdesk ticket for regenerating the keys with the appropriate repository owners.

Closing as won't do since this has moved to the hiero-ledger project.


figure graphic

Is there any setting that can be added during the execution of demo.py to include the div for the graphic figures contained within the image in the hOCR, or is it automatic? Because I'm testing it on various images, and currently, it's not being detected. However, I noticed that it's present in sysdemo.

Hey, have you checked whether any figure graphic objects are actually detected in the entity detection stage for your own data samples? If no such entities are detected, they would also not appear in the hOCR files afterwards.

Yes, I have noticed that bounding boxes are constructed on the document, and some of them are referred to as 'figure graphics,' but when I checked the hOCR file, I couldn't find any trace of them.

I see, thanks for the info. Could you perhaps share the generated files connected to your issue?

Example DSG.zip
Hi, these are two examples that I tested, the first (page 1) managed to recognize the figure graphic and also managed to write it into the hocr file. The second (page 115) instead recognized the figure graphic, but was unable to write it into the hocr file and there are many others like this example.

Hey a new branch called feature/postproc has been created and can now be used that resolves your issue. Thank you for pointing out the problem there was a intrinsic issue in the postprocessing.


aws-java-sdk 1.11.28

Overhauls mixin generation to use an isolated classpath to get rid of a conflict with gradle's system classpath
Updates to gradle 3.0
Moves awsMixin gradle script into buildSrc

@brharrington can you give this a look when you get a chance... thanks!

LGTM, thanks for the cleanup.


Initial migration fails after upgrading to v4.6

EdgeDB Version: 4.6+0632dff
EdgeDB CLI Version: 4.1.0+03ae624
OS Version: Linux Mint 21.3

After I reset my dev database instance, and upgrade to v4.6, I get a cryptic error that suggests a bug was introduced in 4.6 (everything works fine in 4.5).
Steps to Reproduce:

Run edgedb project init with server-version="4.6' in edgedb.toml
When applying initial migrations, the following error is thrown:

edgedb error: InternalServerError: relation "edgedbpub.19b9270f-e2cf-11ee-86bc-774ffaf8bef2_t" does not exist
  Server traceback:
      edb.errors.InternalServerError: relation "edgedbpub.19b9270f-e2cf-11ee-86bc-774ffaf8bef2_t" does not exist
edgedb error: error in one of the migrations

Schema:
The schema definition is too large to be provided in the issue body, but I can upload it somewhere if that helps in any way.

Yes, I'll need the schema in order to debug the issue. (And ideally the migration scripts too.)
If you don't want to post them publicly you can email them to sully at edgedb dot com

Here is a gist with all the schema definition files : https://gist.github.com/lsdch/22ea6f875e7df4481e73da26dd0ca891
And here is one with the migration: https://gist.github.com/lsdch/bd3b54d8221547bc301fbb28b0de6c0e
(In case this is relevant)
I regenerated the migration file from scratch, resulting in the relation identifiers reported in the error message to change. Here is the updated error message:
edgedb error: InternalServerError: relation "edgedbpub.97608d4f-e2e3-11ee-8835-c1c46ce2e0ff_t" does not exist
  Server traceback:
      edb.errors.InternalServerError: relation "edgedbpub.97608d4f-e2e3-11ee-8835-c1c46ce2e0ff_t" does not exist
edgedb error: error in one of the migrations

Thanks!
The tables names in our underlying postgres database are based on the uuids of the types, so change is expected

I also have a workaround for your schema: try dropping the shape in the defintion of default::current_user. It isn't necessary, and the bug is related to it.

Minimized test case:
  create global current_user_id -> uuid;
  create type User;
  create global current_user := (
      SELECT User { * }
      FILTER .id = global current_user_id
  );

  create type Meta {
      create link created_by_user: User {
          set default := (global current_user);
      };
  };

  insert Meta;

Oh or just:
  create global current_user_id -> uuid;
  create type User;
  create global current_user := (
      SELECT User { * }
      FILTER .id = global current_user_id
  );

  select global current_user;

I managed to upgrade to 4.6 after removing the shape, as you suggested. Thank you so much ! :pray:


[Extensibility Enhancement] Table 5902 - Service Line - AutoReserve (align CA/MX/US with W1)

Dear ALAppExtensions team,
Through this issue we would like to request an overload to be added for the AutoReserve procedure in table 5902 Service Line for localizations CA/MX/US to align these localizations with W1.
W1 has the AutoReserve procedure, with the following signature:
    procedure AutoReserve()
    var
        ServiceMgtSetup: Record "Service Mgt. Setup";
        ReservationEntry: Record "Reservation Entry";
        ReservMgt: Codeunit "Reservation Management";
        ConfirmManagement: Codeunit "Confirm Management";
        QtyToReserve: Decimal;
        QtyToReserveBase: Decimal;
    begin
        TestField(Type, Type::Item);
        TestField("No.");
        if Reserve = Reserve::Never then
            FieldError(Reserve);
        ReserveServLine.ReservQuantity(Rec, QtyToReserve, QtyToReserveBase);
        if QtyToReserveBase <> 0 then begin
            ReservMgt.SetReservSource(Rec);
            if ReplaceServItemAction then begin
                ReserveServLine.FindReservEntry(Rec, ReservationEntry);
                ReservMgt.SetTrackingFromReservEntry(ReservationEntry);
            end;
            ReservMgt.AutoReserve(FullAutoReservation, '', "Order Date", QtyToReserve, QtyToReserveBase);
            Find;
            ServiceMgtSetup.Get();
            if (not FullAutoReservation) and (not ServiceMgtSetup."Skip Manual Reservation") then begin
                Commit();
                if ConfirmManagement.GetResponse(ManualReserveQst, true) then begin
                    ShowReservation();
                    Find;
                end;
            end;
        end;
    end;

For CA/MX/US we would like to request a procedure with the same (parameterless) signature to be added, resulting in the following:
    // >> NEW PROCEDURE
    procedure AutoReserve()
    begin
        AutoReserve(true);
    end;
    // << NEW PROCEDURE

    procedure AutoReserve(ShowReservationForm: Boolean)
    var
        ServiceMgtSetup: Record "Service Mgt. Setup";
        ReservationEntry: Record "Reservation Entry";
        ReservMgt: Codeunit "Reservation Management";
        ConfirmManagement: Codeunit "Confirm Management";
        QtyToReserve: Decimal;
        QtyToReserveBase: Decimal;
    begin
        TestField(Type, Type::Item);
        TestField("No.");
        if Reserve = Reserve::Never then
            FieldError(Reserve);
        ReserveServLine.ReservQuantity(Rec, QtyToReserve, QtyToReserveBase);
        if QtyToReserveBase <> 0 then begin
            ReservMgt.SetReservSource(Rec);
            if ReplaceServItemAction then begin
                ReserveServLine.FindReservEntry(Rec, ReservationEntry);
                ReservMgt.SetTrackingFromReservEntry(ReservationEntry);
            end;
            ReservMgt.AutoReserve(FullAutoReservation, '', "Order Date", QtyToReserve, QtyToReserveBase);
            Find;
            ServiceMgtSetup.Get();
            if (not FullAutoReservation) and (not ServiceMgtSetup."Skip Manual Reservation") and ShowReservationForm then begin
                Commit();
                if ConfirmManagement.GetResponse(ManualReserveQst, true) then begin
                    ShowReservation();
                    Find;
                end;
            end;
        end;
    end;

This would resolve the breaking change between W1 and CA/MX/US and allow extensions that invoke this procedure to be installed in these localizations as well.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Docs: Add summary table of functions in the API reference

The API reference is difficult to navigate since many classes have long lists of attributes that obscure the useful functions in the class. In preparation for the UXR API study, we'd like to help users understand the functions available to them at a glance.
We'd like to include a summary table of the available functions. This table should have 3 columns: class name, function name and description of the function. This table should be located beneath the data model and above all of the class descriptions.
Ideally, since our API reference is autogenerated, we'd like this table to be autogenerated as well if possible so that changes to the API are immediately reflected in the table of available functions. If this is not possible, code for generating a table in rst files is sufficient, and the table can be manually populated and updated.

The table could look something like this:

We can close this until we learn more after switching to the new theme (#889)


Abandon the use of abseil internal API absl::base_internal::NominalCPUFrequency

Currently, an Abseil internal API is used here, but according to Abseil's Compatibility Guidelines, the internal API should not be used outside of Abseil library.
The reason I raise this issue is that this API has been broken on s390x machines for a while, as I was trying to fix this issue, the Abseil community told me that this method was not called by any Abseil code, and Tensorflow should not depend on this API, see here. So even though this API is working on most architectures, I suggest abandon the use of this API and try to find an alternative one to avoid depending on Abseil internal APIs.

Hi @gunan , would you mind taking a look at this issue? Thanks.

We definitely do not want to depend on this. However I have been swamped with other things.
I will try to do this the first chance I get. In case anyone else would like to contribute, I believe this can be a nice simple contribution to TF.

Thanks for the reply, I just have one thought that is it possible to reuse the implementation of cpu frequency here in this case?

It is definitely possible!
would you like to make the change?

Sure, I can give it a try, I think it should be a relatively simple patch.


Extend Coolify Apps and Docker compose services

Description
Hi guys, I spinned up a local set up for coolify on my local computer and I'm trying to extend the applications you can click to provision. Typically these apps are in /templates/compose. I tried to add some more apps by creating docker compose file for it following same pattern for other existing apps such as grafana but coolify didn't pick up the new app.
I also attempted to create both docker compose file for the app and add the app to the service-template.json file using base64 encoded docker compose values but coolify still didn't pick up the new app.
Can you please point me to resources on this or describe how the apps are added?
Minimal Reproduction (if possible, example repository)
To reproduce, add a new application to the service-templates.json file and build coolify's docker image. Try to check list of apps, the new one is not added.
Exception or Error
No response
Version
v4.0.0-beta.294

hi @andrasbacsai can you please help me out when you're free

@realexcel2021 I managed to find out how this works by searching in the source code.
There is a class named https://github.com/coollabsio/coolify/blob/main/app/Console/Commands/ServicesGenerate.php which seems to be responsible for generating the service-templates.json
Everything in the Commands folder seems to be called using artisan.
If you are running the dev environment with spin up then you can run the following command to call the command with artisan inside the coolify container.
docker exec coolify ./artisan services:generate

I don't know if the service-templates.json should be included in a PR when creating a new service. What do you say @andrasbacsai ?

IMO the goal should be to allow users to easily add custom services to their own environment.
For this to work the service-templates.json config file should probably be split into individual / per service files, so that one can add a service by mounting the directory and just adding files.

thank you very much @martonsz I'm able to extend apps.


It shows '&gt' instead of '>' in inline chat

When I used inline chat, the result is a bit messy:

Cody AI v0.8.0
Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Date: 2023-08-09T22:18:39.991Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-79-generic

Thanks @adarmanto for all of the details! I will make sure to get some eyes on this.

Fixed in https://github.com/sourcegraph/cody/pull/1349
Will be included in the next release 0.16.0


chore: add maintainer

What has been changed?

chore: add maintainer Tom Li to the list.

welcome!


Angreal as an alternative to cookiecutter + Makefile

First, awesome template. I've been doing some research on what's changed on templating data science projects over the last few years and came across yours.
Wasn't sure what the best route to reach out was so thought I'd just present it to you in an issue, I built a templating engine very similar to cookie cutter but includes the ability to include python functions as plugins for a command line interface. Thought you mind find it interesting / useful if you find maintaining / extending the Makefile annoying.
https://angreal.github.io/angreal/
Again - awesome work !

Hi! Nice Python pkg. Agreed that Makefile is annoying, but what do your pkg does that is either better than or (cannot be done with) cookiecutter + Makefile?

It uses python files as a plugin system for a command line interface - with a look/feel very similar to click.

It uses python files as a plugin system for a command line interface

I am creating another branch where I to work with AWS SageMaker with this Data Science template. I confess that CookieCutter has been doing a great job... However, I do need to write messages to the user as he/she sets the template up. I am not sure if CookieCutter does this job, though. Do your pkg can provide this level interaction with the final user during the creation of the template?

@tapyu Could you specify what you mean by "writing messages on the terminal to the user as he/she sets the template up"?

@khuyentran1401 AWS SageMaker can be configured to work on your local machine or on the cloud. Depending on this choice, the directory structure may vary. So, I was thinking of prompting a dialog like:
Do you want to work on your local machine or on the cloud?

And with a yes/no answer. This would be used to define whether some directories should be created. AFAIK, cookiecutter can only prompt something like this:

That wouldn't cut it...

The dialog renders based on the variables you want. You can also use the template specific init script for additional interaction.
I'd recommend going through
https://angreal.github.io/angreal/tutorials/your-first-angreal/
As a starting point.
Alternatively if you want to open an issue on the angreal repo I can support you without polluting this projects issues page.

The dialog renders based on the variables you want. You can also use the template specific init script for additional interaction.
I'd recommend going through
https://angreal.github.io/angreal/tutorials/your-first-angreal/
As a starting point.
Alternatively if you want to open an issue on the angreal repo I can support you without polluting this projects issues page.

You can also use the template specific init script for additional interaction.

init.py runs after the variables are set, not before them...
❯ angreal init meeting_notes
name? ["another_meeting"]:
cadence? ["weekly"]:
standing_agenda? ["Complaints"]:
Hi from init.py another_meeting !
Angreal template (meeting_notes) successfully rendered !

You can use the default values to all the question, but I'd suggest defaults and documentation is a better pattern.

If you'd like to change that interface,  pull requests are welcome.

Yes init runs after rendering with the first set of variables.  But you can gather additional inputs during the init script an conditionally render during that phase.

Hi @dylanbstorey, thanks for the issue. For now, the cookiecutter + Makefile pattern works so I will keep it for now. Thanks for the suggestions.


NUnit assertion to fluentassertions migration refactorings. Patterns for Should().NotBeNull()

Added highlighting and quick fix for Assert.IsNotNull(result) and for Assert.NotNull(result).
I would like to get feedback on the current implementation.
Also, a lot of new functionality is planned, I plan to send a separate PR for each feature.
If you want something different then please explain how you want to build an interaction.
Thank you

Hey Maksim, I should've maybe mentioned that before, but have you thought about using SSR patterns for that? Those would require much less code. The only I can see manual implementation would be better is if it would support "bulk fixes".

@matkoch I think "bulk fixes" is must valuable criterion (for me for example).
I will be able to extract some base classes for the generic code when I have a little more implementations.
I will study the documentation about SSR, thank you for the offer.
It does not scare me to write the required code, especially since I have no deadlines :-)

Hi @matkoch, I think I have completed the architecture for this feature, and would like to get feedback from you, for example, that could be improved or rewritten otherwise so that I could scale the resulting result to other expressions

Hey @inyutin-maxim. Thanks for your PR! I was on vacation and will follow up very shortly on this.

Hi @matkoch, do you have any feedback?

Hi @inyutin-maxim. First of all sorry for the late response. Didn't go as I wanted =)
Now some feedback:

Hi @matkoch, when I start plugin with Rider (Windows) configuration, rider throw exception:
Message = “Не удалось загрузить файл или сборку "nunit.framework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=2638cd05610744eb" либо одну из их зависимостей. Не удается найти указанный файл.”
ExceptionPath = Root.InnerException
ClassName = System.IO.FileNotFoundException
HResult = COR_E_FILENOTFOUND=E_FILENOTFOUND=WIN32_ERROR_FILE_NOT_FOUND=80070002
Source = ReSharperPlugin.FluentAssertions
FileNotFound_FileName = “nunit.framework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=2638cd05610744eb”
FileNotFound_FusionLog = “
  Предупреждение: регистрация привязки сборок выключена.
  Чтобы включить регистрацию ошибок привязки сборок, установите значение параметра реестра [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) в 1.
  Примечание. Регистрация ошибок привязки сборок может привести к некоторому снижению производительности.
  Чтобы отключить эту функцию, удалите параметр реестра [HKLM\Software\Microsoft\Fusion!EnableLog].
”
StackTraceString = “
  в ReSharperPlugin.FluentAssertions.Analyzers.NUnitAssertMigrationAnalyzer.Run(IInvocationExpression element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
     в JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)

I add the NuGet package to the project with plugin:
 <ItemGroup>
    <PackageReference Include="NUnit" Version="3.12.0" PrivateAssets="all" />
    <PackageReference Include="FluentAssertions" Version="5.10.3" PrivateAssets="all" />
    <PackageReference Include="JetBrains.ReSharper.SDK" Version="$(SdkVersion)" PrivateAssets="all" />
    <!-- TODO: https://github.com/NuGet/Home/issues/7154 -->
    <PackageReference Include="Wave" Version="[$(WaveVersion),$(UpperWaveVersion))" />
  </ItemGroup>

I thought it would help me, but obviously, the problem is something else. If you know how to fix the problem then it would be great if you helped with this, and for now, I will continue to find a solution myself

I have a question.
How I can create InvocationExpression for unit testing, without all testing infrastructure for integration testing?
If it is possible of course :-)

Also, I have a method that determines whether an IsMemberAccessExpressionTypeOf<T>  what do you think about implementation?
For example, I want to be sure that Assert belongs to NUnit and not xUnit
string nullString = null;
Assert.IsNull(nullString);
^^^^^^

https://github.com/inyutin-maxim/resharper-fluentassertions/blob/master/src/dotnet/ReSharperPlugin.FluentAssertions/Analyzers/NUnitAssertMigrationAnalyzer.cs#L42-L68

Theoretically, you can reference other libraries in your plugin, but I wouldn't exactly recommend it. If you really want to go that way, I have to ask around how these additional assemblies can be loaded in tests. Let me know before I go ahead :)

Regarding the check if IsNull originates from NUnit, the better approach here is to use Resolve on the invocation expression, and check the declaring type from the returned IDeclaredElement.

Regarding the check if IsNull originates from NUnit, the better approach here is to use Resolve on the invocation expression, and check the declaring type from the returned IDeclaredElement.

Thanks, I try implement check with you recommendations

Theoretically, you can reference other libraries in your plugin, but I wouldn't exactly recommend it. If you really want to go that way, I have to ask around how these additional assemblies can be loaded in tests. Let me know before I go ahead :)

If I am correct understand you, that for tests i use attribute [TestNet50("NUnit/3.12.0", "FluentAssertions/5.10.3")]
where I can set concrete dependency packages.
But my question is that in an assembly with the plugin itself, the constraint "nunit.framework, Version = <IP_ADDRESS>, Culture = neutral, PublicKeyToken=2638cd05610744eb" is not loaded at start.
Best way to exclude all references on NUnit from a plugin project and use string constants instead?

Hi, @matkoch I have one more question.
Now the plugin works as I expect with the exception of one nuance. The patch works only for a single invocation but does not apply to the entire file or project, or solution

Hi, @matkoch I have one more question.
Now the plugin works as I expect with the exception of one nuance. The patch works only for a single invocation but does not apply to the entire file or project, or solution

Fixed in the last commit

Hi @matkoch, I think I have completed my fixes, if you have any other comments or suggestions, I am ready to correct them

@inyutin-maxim Just a heads up, I will get to it this or coming week. Sorry, the the past week and this are full of release stuff. But I'm really excited that you're so committed :)

Hi @matkoch, I hope I have not been forgotten, I am still waiting for feedback from you on the implementation to continue working on the rest of the transformations based on the already formed architecture for this feature :-)

Hi @matkoch, I hope I have not been forgotten, I am still waiting for feedback from you on the implementation to continue working on the rest of the transformations based on the already formed architecture for this feature :-)

Hi @matkoch, I hope I have not been forgotten. I wait for feedback from you. :-)

Hey @inyutin-maxim! I'm terribly sorry, it keeps dropping on my list because of other urgent things :/ One thing though: are you on our plugin developers Slack channel? If not I could invite you, and it would be much easier to give feedback via voice calls. Written feedback takes much longer, and I wouldn't be mad if you ping me daily :)

Hey @inyutin-maxim! I'm terribly sorry, it keeps dropping on my list because of other urgent things :/ One thing though: are you on our plugin developers Slack channel? If not I could invite you, and it would be much easier to give feedback via voice calls. Written feedback takes much longer, and I wouldn't be mad if you ping me daily :)

Hi, @matkoch how I can join your plugin developer's Slack channel?
my email<EMAIL_ADDRESS>

You should receive an invitation latest on Monday.

Hi @matkoch I completed the corrections on your remarks, unfortunately, I ruined the story a little and it duplicated after merging changes. If you want I can create a new request to another branch, the feature is not yet complete and covers the fix for only one case, but discovers all situations when invoked NUnit.Assert. What do you think of that?

I didn't run tests or anything, but LGTM I think :) Can also merge without the nit fix.

Are you good with squash-merge ?

I didn't run tests or anything, but LGTM I think :) Can also merge without the nit fix.

Are you good with squash-merge ?

Unfortunately not good enough in this, I can certainly try in myself in a separate branch, but so far I do not imagine how

Hi, @matkoch do you have any other comments? if not, would be happy to continue working on the following quick fixes, when you merge my PR


Only return one character as response

I'm study the lib and I had a error in my first test, return o character as response.
the code:
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
import os

bot = ChatBot('teste')
treino = ListTrainer(bot)

diretorio = '/Users/archo/PycharmProjects/untield/venv/testechatbot/treinadores/'
for treinadores in os.listdir(diretorio):
    treino.train(diretorio + treinadores)

while True:
    req = str(input("Voce: "))
    req = bot.get_response(req)
    print('Bot: ' + str(req))

I used a subdirectory with 4 .yml for training in treinadores:
example format:
categories:
  - pedidos
conversations:
 - - Gostaria de uma pizza grande 4 queijos
 - Anotado, mais alguma coisa?
console:

[nltk_data] Downloading package stopwords to /Users/archo/nltk_data...
[nltk_data] Package stopwords is already up-to-date!
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /Users/archo/nltk_data...
[nltk_data] Package averaged_perceptron_tagger is already up-to-
[nltk_data] date!
List Trainer: [####################] 100%
List Trainer: [####################] 100%
List Trainer: [####################] 100%
List Trainer: [####################] 100%
Voce: oi
Bot: a
Voce: como vai?
Bot: e

Maybe a SQLite format error? I was verifying the database and found strange format:

I formatted it for ISO-8859-1 but it still appears in that weird format

The .yml files as broken