A poky build issue in git.py

This is not an issue in this repo, but in poky. This change is necessary in poky/bitbake/lib/bb/fetch2/git.py
- runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, \
+ runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname, \

https://patchwork.openembedded.org/patch/145072/

ARM Internal Ref: IOTCLT-2677

Hi @yemkay, we will check this.

Thank you. This error happenned Ubuntu 18.04. When I retried on Ubuntu 16.04, it worked fine.

Hi @yemkay
Current Rasperry PI Yocto build is using Morty/Yocto 2.2. There are available supported Linux distros https://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#detailed-supported-distros. This failure with Ubuntu 18.04 is limitation with used Yocto branch.
We are going to update this repository to use newer Yocto branch future.  I see that we must add some reference to documentation about Yocto branch and supported Linux distributions.

I have made some clarification to https://cloud.mbed.com/docs/current/connecting/linux-on-raspberry-pi-3.html. Please check details and use some of supported Linux distribution for compiling Yocto images.


Not working on iOS

Thanks for the work on this module!
How to reproduce:

create new Expo app
install vision camera and vision-camera-zxing
use this frameProcessor:

const frameProcessor = useFrameProcessor((frame) => {
        'worklet';

        runAtTargetFps(10, async () => {
            const codesInFrame = zxing(frame, {multiple: true});
            if (Array.isArray(codesInFrame) && codesInFrame.length > 0) {
                console.log(codesInFrame);
            }
        });
    }, []);

This code works on Android but not on iOS. No error message or anything, just no barcodes or QR codes coming in. Tested this on both an older and a newer iOS device.

I don't have this problem. Please make sure you've added the pod of zxing correctly: https://github.com/xulihang/vision-camera-zxing/blob/31a07205bf1caff7904aa649cdc55d25db015537/example/ios/Podfile#L10C1-L10C42

That is probably the issue. I am using Expo (managed workflow), so I cannot manually do a pod install. I assumed that would not be a problem because Expo itself does a pod install during building.

Not sure what changed, but when I try to make a build on EAS now, I get the following error:
Installing vision-camera-resize-plugin (3.2.0)
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `VisionCameraZXing` depends upon `ZXingObjC`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
[!] [Codegen] warn: using experimental new codegen integration
[!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `D8119A4315B1422FA477ED72` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.

So in my app.config.js, I set useFrameworks: static using the expo-build-properties plugin:
[
                'expo-build-properties',
                {
                    ios: {
                        deploymentTarget: '15.1',
                        useFrameworks: 'static',
                    },
                    android: {
                        minSdkVersion: 26,
                    },
                },
],

Now I am stuck on this error:
Compiling react-native Pods/React-RCTFabric » RCTViewComponentView.mm

❌  (node_modules/vision-camera-zxing/ios/VisionCameraZXing-Bridging-Header.h:3:9)

  1 | #import <React/RCTBridgeModule.h>
  2 | #import <React/RCTViewManager.h>
> 3 | #import <VisionCamera/FrameProcessorPlugin.h>
    |         ^ 'VisionCamera/FrameProcessorPlugin.h' file not found
  4 | #import <VisionCamera/FrameProcessorPluginRegistry.h>
  5 | #import <VisionCamera/Frame.h>

I'm not sure if you're willing to support this plugin for Expo. If so, I could dig a bit deeper in the logs to find some more information if that would be of any help.

Instead of setting useFrameworks:static for the entire project, you can add the pod in the following way:
pod 'ZXingObjC', :modular_headers => true

That's no easy feat with a managed Expo application, but I created a build plugin for it. The build works now. I'll put the plugin here in case someone else needs it:
const {withDangerousMod, createRunOncePlugin} = require('@expo/config-plugins');
const {mergeContents} = require('@expo/config-plugins/build/utils/generateCode');
const path = require('path');
const fs = require('fs-extra');

const debug = require('debug')('modular-headers-plugin');

function addModularHeaders(src) {
    return mergeContents({
        tag: 'add-modular-headers',
        src,
        newSrc: `  pod 'ZXingObjC', :modular_headers => true`,
        anchor: /target 'LabOnline' do/,
        offset: 1,
        comment: '#',
    });
}

const withModularHeaders = (config) => {
    return withDangerousMod(config, [
        'ios',
        async (config) => {
            const filePath = path.join(config.modRequest.platformProjectRoot, 'Podfile');
            const contents = await fs.readFile(filePath, 'utf-8');
            let results;

            if (contents.indexOf("pod 'ZXingObjC', :modular_headers => true") > -1) {
                return config;
            } else {
                try {
                    results = addModularHeaders(contents);
                } catch (error) {
                    if (error.code === 'ERR_NO_MATCH') {
                        throw new Error(`Cannot add modular headers from because it is malformed.`);
                    }
                    throw error;
                }
                if (results.didMerge || results.didClear) {
                    await fs.writeFile(filePath, results.contents);
                }
                return config;
            }
        },
    ]);
};

module.exports = createRunOncePlugin(withModularHeaders, 'with-modular-headers', '1.0.0');


installing from the arch repo

installing catimg from the arch repo instead of aur

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[x] Other, please describe: editing the doc

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Hello guys, I think installing from the arch repos should be a better option than installing from aur.
you can get newer builds from aur, if you build it from src.
but if you don't want to build from src, its the same.
and good work by the way.

Can some people confirm this works? I don't have an archlinux to test it?

Can some people confirm this works? I don't have an archlinux to test it?


Incorrect pdf print results for document with different margins on the first and rest pages

Hi there! I tryed to use different margins on the first page an other pages with CSS. It doesnt' work as expected.
I found the bug/issue here: https://bugs.chromium.org/p/chromium/issues/detail?id=1346874
The bug should have been solved in chromium version 117. In the current docker-container of gotenberg is chromium 115 installed. Does anyone have an idea how i update to the current chromium version? Or is an update of the gotenberg docker container planned?
Greetings!

It should be fixed in version 7.9.2 (release in progress).

Should be or fixed @gulien? I'm testing your new version on #697 but during my test I revert to the last version of Gotenberg because I have an effect on margin, weird.

@ytilotti dunno, but I did not touch anything related to the Chromium API. Maybe newer versions of Chromium have a different behavior (you could check if puppeteer has the same issue).

Sorry it's not the same issue with @dd-condat , the margin change on all the pages in my case.

We updated our gotenberg docker container and the margin effect has been resolved. We can now use different margins on different pages in a single pdf:
@page {     size: A4 landscape;     margin: 20mm 15mm 20mm 25mm; } @page cover {     size: A4 landscape;     margin: 0; }


Refactor and merge wpietri's "just one host" branch into master.

wpietri did some work in #212, but that was a while ago. Thanks again @wpietri! :D
Now I needed that functionality, but also wanted the latest from tas50/master.. So I went ahead and merged it.
While doing so I made an attempt to refactor the logic a bit.
edit: got confused about 'hostgroup == all', but fixed it in subsequent commit

within the latest version this code becomes obsolete. please checkout the latest version and use the providers (like described in the wiki) to specify services, hosts, templates, etc, etc.... and also looking at the age of the request, I think we should close this one. please re-open the ticket and rebase the code so we can merge if this is still wanted.

So this was my first attempt to contribute to Chef. Since I did it in 2013, I forget the details, but I remember having to go through a bunch of rigmarole to get my little 4-line change submitted. To see it neglected for 15 months and them summarily discarded is disappointing. Based on this experience, I'm unlikely to submit a patch to Chef again. I don't mind the patch being rejected. Indeed, that's what I expect on the first go with a new code base, so that I can work to get the code right for the project. But dropping things based on the age of the request, a factor not under my control, is a sign to me that my time is better spent elsewhere.

Hi William, I understand your feeling and apologise for closing the request in this way. I'm only working with this code base for about 4 monts now and was hard for me to judge the open pull requests in the beginning. Now that I made some significant changes, I asked Tim for support and he gave me the right to commit my changes because this time it was for him hard to judge the changes. I guess you will always have these kind of situations when working with opensource projects. But now that I was reviewing the pull requests again, I was able to comment on some of them and (like you say) close some of the long outstanding requests because they are (at least in my understanding) obsolete now. Again, I really do feel your frustration because I have seen many of my requests going down the drain without any comment, but it's not related to Chef, Opscode or any other organisation because I don't work for them. It's about the community supporting the code and how they deal with it. So being more involved within this code currently, I can only hope that you don't give up and keep making pull requests. Because you are one of the few people giving back to the community and I'm sure that many people (like me) really appreciate that a lot. And next pull request will be easier for me to judge and I'm more than willing to help you out.
Kind regards, Sander

:+1: sbotman thanks for taking control of this. Just chiming in as I contributed a tiny bit as well. It's of course unfortunate to feel that some work goes to waste, but I think it's for the better in the long run. Thanks!

Sorry, @sbotman, that wasn't directed at you. I should have said so explicitly. Making it clear that the patch was dropped was a good thing, and I shouldn't have appeared to shoot the messenger. My problem here is with Opscode, which invites contributions but a) makes them hard to submit, and b) apparently ignores them. The thing that would get me to offer contributions again is a demonstrated track record of promptly handling all PRs.


No dist files included?

Hi, I just came across this project an am looking to try it out, but it seems like no dist files are included in the npm package?
Inspecting the contents on npm only ts files are present.

Hi @alakhpc,
Thanks for bringing the issue up. Fixed in latest version.

Hi @raz6tamir
Thanks for that I can see that the dist files are now included. However I'm still unable to import it as there is a dist/src folder. The index script in package.json might need to be updated to be dist/src/index.js

I updated the tsconfig.json to only compile the src folder and now the compiled files are in the root of the dist folder.
Commit
@alakhpc Let me know if it works and if anything else needs to be done.

That works  🎉
Thanks!


[local_auth]: Add option to only use strong biometric authentication systems on Android

Fixes https://github.com/flutter/flutter/issues/81169.
Adds a new strongAuthenticatorsOnly flag that instructs Android to only allow secure biometric authentication mechanisms.
For instance, many Android devices use weak implementations of facial recognition, and in my experience most apps will only allow me to authenticate via fingerprint.
This change is backward compatible; omitting the flag will allow weak authentication as before.
Photo of strongAuthenticatorsOnly=false and strongAuthenticatorsOnly=true. This couldn't be a screenshot sorry, my phone won't allow me to screenshot the auth popup.

Note: I'm not sure how this will fit into the availableBiometrics method. At the moment I haven't made any changes there.
If the user has no secure methods available, a NoHardware or NotEnrolled should be returned.
List which issues are fixed by this PR. You must list at least one issue.
New feature.
If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].
N/A
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides].
[x] I signed the [CLA].
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

Thanks for the submission! We’re currently working through a large backlog of PRs, and this will require non-trivial review, so it will take some time before we’re able to review it. As explained in CONTRIBUTING.md, votes for the corresponding issue are the primary way we’re prioritizing non-trivial reviews, so we encourage you to file an issue and associate it with this PR.

Note: I'm not sure how this will fit into the availableBiometrics method. At the moment I haven't made any changes there.

See discussion in https://github.com/flutter/plugins/pull/3763

Hi @stuartmorgan, I've raised an associated issue, sorry I didn't see that earlier!

Given that we're planning on making breaking changes to the plugin API to have it operate in terms of weak and strong on Android rather than specific biometrics, as discussed in the issue linked above, I'm going to close this; a separate boolean won't be necessary in that approach, and we don't want to add something to the API that we're planning on removing shortly. Thanks again for the contribution though!

No problem, appreciate the update and the hard work!

@stuartmorgan  Is there an issue for that somewhere? I'm also interested in this issue and would like to monitor the progress?

@stuartmorgan  Is there an issue for this somewhere? I'm also interested in this and would like to monitor the progress. Thanks!

See https://github.com/flutter/flutter/issues/45497#issuecomment-876729737


Better compose and pipe functions

Making the world a little better...One commit at a time

The initial implementation of one of the most commonly used functions made me...well...a little :sob:. We were traversing the list of functions twice, once for validation and another time to build the composition. On top of that, if people use compose (the more popular of these functions) we actually went through it (3) times.
While there is a little duplication, that may turn out to be okay as we trudge onto a mono-repo. So I am okay with it here. (I guess). In addition to these flow changes, I also updated the specs to look for specific errors instead of the TypeError blanket for pipe and compose

Coverage remained the same at 100.0% when pulling f26422f232ce28a3e8736267d0bf30c28bd6d5a7 on better-compose into 195dfeddb2d65fe6a99a7c98be3d75ace436b081 on master.


Send "vote-safe" type when using Gnosis safe and show some other noti…

@bonustrack any idea what notification we should show when voting with safe?

@samuveth Yes that's the idea, is there a way you can reduce duplicate code? You could just use something like
fn('vote', ...

@samuveth Yes that's the idea, is there a way you can reduce duplicate code? You could just use something like
const fn = isSafe? sign : broadcast;
fn('vote', ...

Do you also see a way to reduce code in useClient?

@bonustrack this still requires the latest version of snapshot.js that doesn't have a version yet.


if option.Config.Tunnel is “ipvlan”，ipam is "cluster-pool"，cilium network is double-stack. we can't visit the pod in another node by IPv6 address.

FYI IPVLAN support was deprecated in v1.11 due to lack of community interest and because veth has been optimized to achieve parity with ipvlan (details in the Cilium v1.9 release blog).


[GSSOC'23] Role based access to the website

Description
Actually I want to implement this feature if the user is guest we will make him to use only some part of the website if he is authenticate user we will make him to use full website Can u please assign me this issue under GSSOC'23
Screenshots
No response
Additional information
No response

hey @sazamansari  is this issue has resolved?
if not, Please Assign me the task under GSSOC'23. I am eager to work on it.

Hey laxman  it is my idea


TermInfo for datasets does not show "show all images" query

Description of the issue
TermInfo for datasets does not show "show all images" query on V2 (it does on dev)

This form is for VFB bug reports and feature requests.
If you need help, please use the forum.
Describe the bug or feature request in detail.
Always include a code snippet, screenshots, and any relevant data to help us understand your issue.
Browser

[ ] All of them
[ ] Chrome
[x] Firefox
[ ] Internet Explorer

OS

[ ] All of them
[ ] Windows
[x] macOS
[ ] Linux
[ ] Android
[ ] iOS

fixed


Ignoring preset?

Hi,
Can you see a problem with this entry?
the preset I created via the GUI is called myhd720P it is a HEVC QC21 preset, handbrake is automatically renaming my file .myhd720P instead of .mkv it is not removing the source file after encoding and the video format is AVC so the 2 -e lines are being ignored and no error is thrown when being entered?
sudo docker run -d
--name=handbrake
-p 5800:5800
-e AUTOMATED_CONVERSION_FORMAT=myhd720P
-e AUTOMATED_CONVERSION_KEEP_SOURCE=0
-v /docker/appdata/handbrake:/config:rw
-v $HOME:/storage:ro
-v $HOME/HandBrake/watch:/watch:rw
-v $HOME/HandBrake/output:/output:rw
jlesage/handbrake
Many Thanks!

Sorry, Just seen my typo of FORMAT instead of PRESET! but any idea why the source is not being removed?

Can you look at the container log (docker logs hanbrake)?  At the end of the conversion, it should say if the source is tried to be deleted.

I guess having the FORMAT to myhd720P upset things as now I have changed FORMAT to mkv & PRESET to myhd720p everything is behaving as expected... apologies for wasting your time...

No problem :)


haskell.org/haddock is out of date

The page only lists haddock versions up to 2.15.0 while the most recent version is 2.17.3. In particular, the user guide is outdated and doesn't document recent features.
I guess the site should have some kind of hook that looks for fresh releases at https://github.com/haskell/haddock/releases and generates the documentation from the released tarball.
If someone can point me at the the right bit of code, I'd like to submit a patch to add such a hook.
Pinging @simonmar as he is listed in the page footer.

I originally made that page, but I don't maintain Haddock any more.  I'd be delighted if someone took it over and revamped the page (or just delete it and use Hackage?)

I just saw that there's a discussion of plans for the haddock documentation at https://github.com/haskell/haddock/issues/360, I'll just chime in there.


Returning the same points for every query?

Hey, I don't know if this is something I'm doing wrong, or if it's an issue with the library but thought i'd flag it / ask for help.
I've created vector embeddings for 275,000~ ish words from an english dictionary using ada-002 and i've added them to an index with the code below.
Whenever I search with it, it's always returning the same set of words regardless of what the query embedding is.
Is this a problem with the number of embeddings i'm supplying? Am I doing something else wrong?
Here is my code:
import pkg from 'hnswlib-node'

const { HierarchicalNSW } = pkg

export const createIndexCallback = async (name, dimensions, maxElements, callback) => {
  // this needs to *get the element from the callback each time*.
  const index = new HierarchicalNSW('l2', dimensions)
  index.initIndex(maxElements)

  for (let i = 0; i < maxElements; i++) {
    const embedding = await callback(i)
    index.addPoint(embedding, i)

    console.log(`Added ${i} of ${maxElements}`)
  }

  index.writeIndexSync(`${name}.dat`)

  return index
}

export const searchIndex = (name, embedding, k = 5) => {
  const index = new HierarchicalNSW('l2', embedding.length)

  index.readIndexSync(`${name}.dat`)

  const result = index.searchKnn(embedding, k)

  console.table(result)

  return result
}

Perhaps it's that I used l2 rather than cosine. Since it's high dimensional space that could be detecting all of the elements as being equally far apart.


Constantly getting "Your credentials might be wrong" with protonVPN whenever container is restarted.

glueten log file.txt
URL to the Wiki page
https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/protonvpn.md
What's missing?
Hi
I have looked through the discussions and found only one other discussion  which didn't resolve my issue. The suggestion there was to check the username & password as they could be wrong.
I have done that. The username & password works but only after a few tries. The log shows that after it gets an error, it keeps reattempting multiple times and after like 4-5 attempts, it works.

2024-03-02T14:43:40Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2024-03-02T14:43:50Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:43:50Z INFO [openvpn] UDP link local: (not bound)
2024-03-02T14:43:50Z INFO [openvpn] UDP link remote: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:43:51Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1634'
2024-03-02T14:43:51Z WARN [openvpn] 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
2024-03-02T14:43:51Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2024-03-02T14:43:51Z INFO [openvpn] [node-nl-168.protonvpn.net] Peer Connection Initiated with [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:43:54Z INFO [healthcheck] program has been unhealthy for 21s: restarting VPN
2024-03-02T14:43:54Z INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-03-02T14:43:54Z INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-03-02T14:43:54Z INFO [vpn] stopping
2024-03-02T14:43:54Z INFO [vpn] starting
2024-03-02T14:43:54Z INFO [firewall] allowing VPN connection...
2024-03-02T14:43:54Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-02T14:43:54Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-02T14:43:54Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:43:54Z INFO [openvpn] UDP link local: (not bound)
2024-03-02T14:43:54Z INFO [openvpn] UDP link remote: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:21Z INFO [healthcheck] program has been unhealthy for 26s: restarting VPN
2024-03-02T14:44:21Z INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-03-02T14:44:21Z INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-03-02T14:44:21Z INFO [vpn] stopping
2024-03-02T14:44:21Z INFO [vpn] starting
2024-03-02T14:44:21Z INFO [firewall] allowing VPN connection...
2024-03-02T14:44:21Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-02T14:44:21Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-02T14:44:21Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:21Z INFO [openvpn] UDP link local: (not bound)
2024-03-02T14:44:21Z INFO [openvpn] UDP link remote: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:22Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1634'
2024-03-02T14:44:22Z WARN [openvpn] 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
2024-03-02T14:44:22Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2024-03-02T14:44:22Z INFO [openvpn] [node-nl-28.protonvpn.net] Peer Connection Initiated with [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:29Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong 🤨
2024-03-02T14:44:29Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2024-03-02T14:44:39Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:39Z INFO [openvpn] UDP link local: (not bound)
2024-03-02T14:44:39Z INFO [openvpn] UDP link remote: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:40Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1634'
2024-03-02T14:44:40Z WARN [openvpn] 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
2024-03-02T14:44:40Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2024-03-02T14:44:40Z INFO [openvpn] [node-nl-28.protonvpn.net] Peer Connection Initiated with [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:47Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong 🤨
2024-03-02T14:44:47Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2024-03-02T14:44:52Z INFO [healthcheck] program has been unhealthy for 31s: restarting VPN
2024-03-02T14:44:52Z INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-03-02T14:44:52Z INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-03-02T14:44:52Z INFO [vpn] stopping
2024-03-02T14:44:52Z INFO [vpn] starting
2024-03-02T14:44:52Z INFO [firewall] allowing VPN connection...
2024-03-02T14:44:52Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-02T14:44:52Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-02T14:44:52Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:44:52Z INFO [openvpn] UDP link local: (not bound)
2024-03-02T14:44:52Z INFO [openvpn] UDP link remote: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:45:28Z INFO [healthcheck] program has been unhealthy for 36s: restarting VPN
2024-03-02T14:45:28Z INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-03-02T14:45:28Z INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-03-02T14:45:28Z INFO [vpn] stopping
2024-03-02T14:45:28Z INFO [vpn] starting
2024-03-02T14:45:28Z INFO [firewall] allowing VPN connection...
2024-03-02T14:45:28Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-02T14:45:28Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-02T14:45:28Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:45:28Z INFO [openvpn] UDP link local: (not bound)
2024-03-02T14:45:28Z INFO [openvpn] UDP link remote: [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:45:29Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1634'
2024-03-02T14:45:29Z WARN [openvpn] 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
2024-03-02T14:45:29Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2024-03-02T14:45:29Z INFO [openvpn] [node-nl-108.protonvpn.net] Peer Connection Initiated with [AF_INET]<IP_ADDRESS>:1194
2024-03-02T14:45:30Z INFO [openvpn] setsockopt TCP_NODELAY=1 failed
2024-03-02T14:45:30Z INFO [openvpn] TUN/TAP device tun0 opened
2024-03-02T14:45:30Z INFO [openvpn] /sbin/ip link set dev tun0 up mtu 1500
2024-03-02T14:45:30Z INFO [openvpn] /sbin/ip link set dev tun0 up
2024-03-02T14:45:30Z INFO [openvpn] /sbin/ip addr add dev tun0 <IP_ADDRESS>/16
2024-03-02T14:45:30Z INFO [openvpn] UID set to nonrootuser
2024-03-02T14:45:30Z INFO [openvpn] Initialization Sequence Completed
2024-03-02T14:45:30Z INFO [dns] downloading DNS over TLS cryptographic files
2024-03-02T14:45:31Z INFO [healthcheck] healthy!
2024-03-02T14:45:35Z INFO [dns] downloading hostnames and IP block lists
2024-03-02T14:45:45Z INFO [dns] init module 0: validator
2024-03-02T14:45:45Z INFO [dns] init module 1: iterator
2024-03-02T14:45:45Z INFO [dns] start of service (unbound 1.19.1).
2024-03-02T14:45:46Z INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-03-02T14:45:46Z INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-03-02T14:45:48Z INFO [dns] ready
2024-03-02T14:45:48Z INFO [healthcheck] healthy!
2024-03-02T14:45:50Z INFO [vpn] You are running 1 commit behind the most recent latest
2024-03-02T14:45:50Z INFO [ip getter] Public IP address is <IP_ADDRESS> (Netherlands, South Holland, Naaldwijk)

Here is my docker-compose.yml

version: '3'
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
restart: always
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=protonvpn
- OPENVPN_USER=xxxxxxxx
- OPENVPN_PASSWORD=xxxxxxxxxx
- SERVER_COUNTRIES=Netherlands
#- PORT=443
#- PORT=1194
volumes:
- ./config:/gluetun
ports:
- 9117:9117
- 9696:9696
- 8191:8191

Since it connected at 3rd attempt, the issue isn't with my credentials.
I also have to restart every other container that depends on this so it they connect successfully.

You ever figure this out? I'm having the same problem.

@Raj1467 are you using the free tier? Or using VPN server side port forwarding? If yes, this is likely due to https://github.com/qdm12/gluetun/issues/1103 as @ismay pointed out, which I'm working on now. Please subscribe to this issue to be notified when this is resolved. Otherwise, did you try updating you servers as mentioned in the healthcheck link given in the logs?
https://github.com/qdm12/gluetun/issues/1672 would definitely help, although not resolve fully this issue.
https://github.com/qdm12/gluetun/issues/2154 is a mixed bag of issues, so I would recommend ignoring it mostly 🤷 I'm keeping it opened AND pinned so hopefully people don't create one duplicate issue per day of that one.

Please pull the latest image, I'm sure it's much better now, ProtonVPN server filtering is much better, and it automatically filters p2p only servers if port forwarding is on.

Hey !
I just pulled the latest image and got the same error :-/
Your credentials might be wrong 🤨

I have the exact same issue


Category metadata

I have a use case where I would like to offer users the ability to select a font from this package, but there are just so many that it's overwhelming.
In particular, I would like to be able to narrow the list down to only monospace fonts, but there's currently no clean way to do so (without e.g. manually collecting font names from https://fonts.google.com/?category=Monospace).
It would be nice if we could programmatically obtain the category (Serif, Sans Serif, Display, Handwriting, Monospace) of each font. For instance asMap() could have a counterpart byCategory() or similar.

I like this idea!


Unable to connect to the server with my own DDNS and open port

Perhaps on the alternatively ngrok url line, a line to enter the DDNS address can be added too. Also, the port is forwarded over TCP, does it have to be forwarded over UDP as well?

Hey @CSab6482, thanks for the report! This looks like an older version of the Android App. Please join our Discord to get an updated version of the app that should work for you. If not, we can troubleshoot in the Discord

Closing due to no additional information provided. We have officially released our Android app to the playstore as of now, so please try to use that updated version of the app and try again!


Feature: Optional Git cmd support

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Feature
:arrow_heading_down: What is the current behavior?
No git cmd support
:new: What is the new behavior (if this is a feature change)?
optional git cmd instead of Lib2GitSharp
:boom: Does this PR introduce a breaking change?
should not, since its an additional feature
:bug: Recommendations for testing
Maybe provide a git cmd resource for unit testing.
All unit tests which does git interactions should also use the GitCmdDriver as IGitDriver
:memo: Links to relevant issues/docs
#799
:thinking: Checklist before submitting

[ ] All projects build
[ ] Relevant documentation was updated

Cool! @skolima worked on this before and i think there where some issues he encountered

I tested it on gitea and GitHub. I think the biggest benifit of this Feature is, that you can rely on your already working.gitconfig in case of special stuff like proxy.
Do you have any Idea how you run unittests for this?

#659 was extremely unreliable and I gave up - the unpredictability of this approach was not worth the gain (even though I have huge repositories where doing a shallow clone would be a huge speedup). There's little in terms of test coverage, though, so for the spike I was relying on running this by hand for various repositories. In order to be able to merge this, you'd need to write the tests as well (current NuKeeper libgit integration is lacking them - not ideal).

@skolima thanks for the Feedback. I see this Feature as a fallback solution in case lib2git does not the job. any ideas how to get git cmd running on build servers?

What I've tried doing before was checking if %PATH% actually contains git already - this would be the most common situation, I think. If not, then the build definition would need to be changed to install it.

Two things i noticed is that the GitDiscoveryDriver isn't updated and there are no docs update with this PR.

Will fix that tomorrow

In StartGitProzess (typo!) you've got your own Process handling. This should be using ExternalProcess as other places that launch executables from NuKeeper do. 2 reasons for this: a ) consistency b) if there's any bugs in ExternalProcess, those are rather critical to how NuKeeper works, so, we need to fix them. And if this works, then definitely the logging support should be used here as well.

ExternalProcess.Run is async, you'd need (AFAIK) to await it, calling .Result directly leads to all kinds of problems. Which means the async keyword will need to propagate a bit up the call stack.

@skolima calling .Result is indeed a blocking call, but in this case there should be no problems.
However a better approach as you mentioned, to include async

@skolima managed to get rid of the .Result.
Also added some unit tests.
I still have to check whether everything runs also on Linux.
And in addition I have to finish the GitDiscoveryDriver

There are still merge conflicts can you check them? Are you also confident that this works now?

@MarcBruins
there are still 2 open points:

update docu
The IGitDiscoveryDriver is currently as a singleton implemented. Any ideas to inject dynamically the GitCmdDiscoveryDriver, when the command line is applied.

updated docu

@MarcBruins I'm confident everything works. We're already running our nukeeper on windows with git cli (repo/update) commands. I tested everything as well on Ubuntu. Also I added unit tests to be sure.

Would be nice to see a full-implementation of the GitCmdDriver.

Would be nice to see a full-implementation of the GitCmdDriver.

@StephanTuinder
What additional Features are needed ?

Weird, in my mind there where a lot of NotImplemented routines. Probably my branch was behind.

Never mind!
Great that you find that issue in GitCmdDiscoveryDriver. I'll take a look at the tests

I fixed it in my PR, so check there


Public P2P Release Plan

This issue records issues that needs to be announced publicly before p2p
mainnet release.  Some of them should also be announced with public test-nets to
give SPOs more time to react.

[x] pool certificate must be valid; in particular if an ip address is  registered as a dns name,
the node will not have any downstream peers, and thus its blocks will not be distributed by
the system.

The domain name in the pool cert should point to a relay that is directly connected to the operators BP. Notably relays-new.cardano-mainnet.iohk.io is not connected to non-iohk BPs.

The reminder to update certificates was sent on discord.


md-select/md-radio-group cannot set the inital value by ngModel

Bug, feature request, or proposal:
while using ngModel for the two way binding, it's only working one way. select behavior sets the back end value, but when try to initialize the md-select/md-radio-group selected item, it's not working.
.html file:

.ts file:

What is the expected behavior?

What is the current behavior?
nothing pre-selected

@ruonan59 Can you provide a reproduction plunkr?
I was unable to reproduce this.  Here is a plunker of it working as expected.

hi @josephperrott ,
thank you very much! mine is not working is because we are using both ngModel and formGroup...
thanks for the quick reply!~


Add .circleci/config.yml

add setup for circle ci

Codecov Report
Patch and project coverage have no change.

Comparison is base (1970836) 78.77% compared to head (a82f844) 78.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #456   +/-   ##
=======================================
  Coverage   78.77%   78.77%
=======================================
  Files          39       39
  Lines         928      928
  Branches      157      157
=======================================
  Hits          731      731
  Misses         85       85
  Partials      112      112

Flag
Coverage Δ

unittests
78.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Merge otlp collector examples

Combines OTLP example with collector example. Includes Prometheus backend for metrics.

Also, I kind of like the small and simple otlp example, because it does not require complicated setup of Yaegar and Prometheus. Does the previously reviewer suggest we remove it? If not, maybe we can keep it?

Yeah that's a good point, I'll bring it up on the PR to the upstream repo. I'll also update the upstream PR to reference the original example PR (I've kept it off this one, since it'll link this PR from the issue)

Moving upstream


https://kanali.io/ is broken

There are a lot of missing images and I imagine css styling.

@wpbeckwith We are finalizing the docs site that is being hosted on GitHub pages. Once that is complete, the This site is under active development banner will be removed. This should be completed in a day or so.
Can you provide a screenshot of the missing css styling so that I can make sure it is resolved?

@wpbeckwith images have been restored. Please clear browser cache and retry.


Facebook Share is not working

Steps
Post, click on share button, popup opens, click 'Share in Facebook'
Expected Result
FB Login prompt should open
Actual Result
Sorry, something went wrong.
We're working on getting this fixed as soon as we can.
Version
1.0.0
Testcase

@Qolzam

Is it in production mode ?

In both modes

@Qolzam any updates on this, or is the react-share (2.2.0) broken?

@Qolzam , any updates?

Hope new change help you. Thanks!

@Qolzam - that worked, closing


ng serve with multiple configurations

🚀 Feature request
Following this PR it is now possible to extend build configuration.
Could it not possible to extends serve as well ? Additionnallly, ng serve  always searches for entries under ng-serve. Could it not be possible that if those entries are not present it uses values directly under build ?
Description
if we suppose that we have 2 build environment and 3 localize entries, we will need 6 entries under serve to test it locally.
{
  "configurations": {
    "production": {
      "fileReplacements": [
        {
          "replace": "src/environments/environment.ts",
          "with": "src/environments/environment.prod.ts"
        }
      ]
    },
    "production2": {
      "fileReplacements": [
        {
          "replace": "src/environments/environment.ts",
          "with": "src/environments/environment.prod2.ts"
        }
      ]
    },
    "li18n1": {},
    "li18n2": {},
    "li18n3": {}
  }
}

If we are to use all these configs values under serve, we will need 6 entries. I wonder if it cannot be possible to run ng serve -c="i18n1, production1" and to directly use both configs

It seems to work for me. I've added extra build configurations and matching serve configurations, and then I tested both the serve command and the build command with multiple configurations, and they work just fine:
ng build -c production,uat-one
ng build -c production,uat-two
ng serve -c production,uat-one
ng serve -c production,uat-two

Here's the repository/branch in which I've tested this:

https://github.com/SchnWalter/repo-for-reproducing-angular-issues/tree/17696-ng-serve-with-multiple-configurations

P.S I've just noticed that you've used this command:
ng serve -c="i18n1, production1"

I think that you've been using the command wrong. The options are applied from right to left. So in your example, I think that you should use:
ng serve -c="production1, i18n1"

Here's a quote from the MR that you've linked:

They [configurations] will be applied from left to right. If --prod is also present, it will be considered to be the first configuration and thus able to be overriden.

Those are just 3 lines per dev-server configuration entry, that's 18 extra lines for your 6 configurations, that's not much, you don't have hundreds of extra lines. Alternatively, you could use a script to generate a brand new angular.json from a template, and you could do this whenever you need to build for a certain brand or environment.

The point is valid. But if we can avoid generating a script because it can be provided out of the box, that will be better

@kedevked, that is not need see https://github.com/angular/angular-cli/issues/17473#issuecomment-641078028

That's great, did not know about it. Thanks for sharing

To add on to @alan-agius4's reply, documentation for --browser-target is under works.
Meanwhile, @filipesilva wrote an excellent explanation of the flag in https://github.com/angular/angular-cli/issues/16572#issuecomment-574130614.


support --ungroup option like GNU-parallel

Love the look of the library.
Looking to replace GNU-parallel with this, but seems like --ungroup isn't an option.
In my case, I do want output interleaving as I'm running "infinite" processes, with the current --group behaviour I'll never see those logs come out.
Thanks!
P.s I've just seen in 1.16.0 the behaviour of --exit-on-error was changed to wait for in-process tasks to finish before exiting. Given my intended use case I'd also need the previous behaviour. Maybe 3 separate options needed? I.e.

--exit-on-error -> current behaviour
--kill-on-error-hard -> SIGTERM+SIGHUP all ongoing processes if any error
--kill-on-error-soft -> SIGKILL all ongoing processes if any error

@zakstucke you are right the --ungroup option is not exist now.  Outputs only happen after the process exits which is similar to the --group behavior in GNU Parallel.
Could you please give an example command line where you want to use --ungroup?  Would like to understand more on use case for this.
On the --exit-on-error behavior - you are correct there was a change in version 1.16.0:

In 1.15.0 if --exit-on-error was specified rust-parallel would immediately exit with status 1 after first command fails https://github.com/aaronriekenberg/rust-parallel/compare/v1.15.0...v1.16.0#diff-fd77b9500f7f481caf59a54acc52e00d06c25b8359cf1f4e4adf292b7541c15dL54
In 1.16.0 this behavior changed so on errors rust-parallel waits for in progress commands to finish before exiting with status 1

Could you please write a second issue for more exit options?
Thanks!

@aaronriekenberg my specific use case:

Running multiple processes from a single docker instance, e.g. a webserver + background task processor.
I used to do this using GNU parallel, but for various reasons it's caused me problems, and I wanted a simple binary parallel runner instead, so rust-parallel sounded like a good fit.
In regards to --ungroup, logging is done separately, but some command line stdout/stderr exists and needs to be seen. Given all processes are ideally "endless", this needs to be printed to console straight away with no buffer.
In regards to --exit-on-error, as I mentioned above, I need the container to exit if any process dies, but given each process is infinite, unless a termination is sent to the other processes, the docker container will not exit. The option for different kill signals being sent to the healthy processes allows the user to "softly" kill processes with e.g. SIGTERM, or instantly with SIGINT.


HDDS-6148. Validate ContainerBalancerConfiguration before start ContainerBalancer

What changes were proposed in this pull request?
In HDDS-6070, we did some refactoring on ContainerBalancerConfiguration, and we added a method called validateConfiguration to check the configurations.
Currently the method returns "void", but it's more reasonable to return a boolean to indicate the validate result of the configurations.
This ticket is to change the return parameter from "void" to boolean to check the parameters before doing container balancer work.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6148
How was this patch tested?
unit test

@siddhantsangwan @ferhui @JacksonYao287 Could you help to review this PR?

@symious Changes look good to me!

@siddhantsangwan Thanks for the review.

@symious Thanks for your contribution. @siddhantsangwan @adoroszlai Thanks for your reviews! Merged

Forget to leave review msg. It looks good to me. +1


Add tui command to launch TUI

This PR adds a new command tui, which launches a TUI powered by Trogon. It works, but has some issues that should be resolved before merging. They are listed in the next section.
Issues

[x] Optional[bool] options default to their False state instead of being omitted (None)

Example: --no-harbor-validate is specified by default, when it should be omitted instead.
Expected behavior: These options should be omitted from command invocation instead of specifying their false option.

UI shows --raw being enabled despite --no-raw being present in the generated CLI command

[ ] Command arguments don't display any help text.

Example: artifact buildhistory requires an artifact as its first argument. The help text that is shown in the help output in the CLI is not shown in the TUI.
Expected behavior: Show same help text as in TUI (rich markup text).

TUI vs CLI --help

These issues are upstream Trogon issues from what I can tell, and we will have to wait until it is fixed before we can reasonably merge this, as the defaults being applied to the main callback are disruptive enough to prohibit the tui command from being useful in its current state.

With the main callback stuff fixed, I think we can merge this. The argument help text stuff will be fixed eventually.


Bounding boxes requirement during training?

Great work guys, I was wondering if you require bounding box labels during training? There’s a brief mention of this in the video and also in the paper. Just wanted to make sure.

Yes, it requires bounding boxes. "In this work, we aim to remove the mask-annotation requirement. We propose MaskFreeVIS, achieving highly competitive VIS performance, while only using cheap bounding box annotations for the object state."


What's in a scaffolded Razor Page?

Internal review URL

@scottaddie  was this a reasonable explanation of the scaffolded pages?  I could have added a lot more info, but I thought that would bog it down.  I added enough links so they can come back and get more detailed info.
Let me know when it's ready to merge.

:shipit:


fix(Box Component): Box clone not overriding child component styles

Fix Box clone not overriding child component styles #15993 , by setting higher index(default 0) to insert Box style after.
ref https://cssinjs.org/jss-api/?v=v10.0.0-alpha.22#create-style-sheet

[x] I have followed (at least) the PR section of the contributing guide.

@zetsin The long term plan is to remove the clone prop thanks to #15561. If you have a conflict, you probably don't want to use the Box.

I'm closing, I would fear it will break people providing a class name to the box component. This change would break these overrides.


Add ability to store Fraction in original format

Currently functionality
echo new Fraction(2,4); // 1/2

Proposed functionality
echo new Fraction(2,4); // 2/4

Open questions

Would simplify() modify the current object or return a new, simplified fraction?
a. Modify current object:
$twoQuarters = new Fraction(2, 4);
echo $twoQuarters; // 2/4
$twoQuarters->simplfy();
echo $twoQuarters; // 1/2

b. Return new Fraction
$twoQuarters = new Fraction(2, 4);
echo $twoQuarters; // 2/4
$oneHalf = $twoQuarters->simplfy();
echo $twoQuarters; // 2/4
echo $oneHalf; // 2/4

Should we just get rid of simplify() in the constructor completely?
public function __construct($numerator, $denominator = 1)
{
    // ...
    // $this->simplify();
}

How should we cope with 1 3/4? Should we introduce a whole number part? This would allow us to distinguish between 7/4 and 1 3/4.

Would simplify() modify the current object or return a new, simplified fraction?

Hm, I would accept that simplifying automatically should be default. What if we just kept a reference internally to the originally entered fraction?
Otherwise I would be in favor of returning a new Fraction object since I'm a sucker for functional programming. :)

Should we just get rid of simplify() in the constructor completely?

I think that's probably the most straightforward way to implement this.

How should we cope with 1 3/4? Should we introduce a whole number part? This would allow us to distinguish between 7/4 and 1 3/4.

Yeah that's a good question. The dumbest solution is to just keep a reference to the originally referenced string, similarly to how I proposed handling the originally entered numerator and denominator but I don't think that's the best solution.

Hey @jazzdan, sorry for the radio silence.  Things pretty much shut down over the Christmas hols.  Hope to get back onto this in the next few days.

No worries, same here. :)


Add coefstat = "tstat" option to etable()

Thank you so much for your work on this package, I'm a big fan already 🙏
We are thinking about migrating our fixed effects regressions from linearmodels to pyfixest in our book Tidy Finance with Python to be in sync with the R version of our project (where we use fixest), but we'd need to print t-statistics in regression outputs with etable().
For instance, this would be great:
from pyfixest.estimation import feols
from pyfixest.utils import get_data
from pyfixest.summarize import etable

data = get_data()
fit = feols("Y + Y2 ~X1 | csw0(f1, f2)", data = data, vcov = {'CRV1':'group_id'})
etable([fit.fetch_model(i) for i in range(6)], coefstat="tstat")

Great news, thank you @Wenzhi-Ding 🚀


docs(components): docs on component internals

Added
Deep-dive documentation on Carbon component mixins.
Testing / Reviewing
Reviewing should ensure the newly added document will make the internals of Carbon component mixins easy to understand.

I think this is great 💯
Is there any chance, in the future, to also use the JSDoc comments to auto-generate some useful stuff to embed here as well? Or maybe in a separate docs page?

Thanks @joshblack for suggesting TOC thing, will try. Wrt JSDoc, currently people can see it by:
> gulp jsdoc
> open docs/js/index.html

Deploying it is one of long-standing back-log items. 😅

Updated TOC with automatically generated version. Thanks again @joshblack for your suggestion!


Data Upload Template Page - When adding node with multiple characters then it shows database error

Describe the bug

when we add a json file having multiple characters and try to save it shows database error

https://www.berrycast.com/conversations/559825df-8342-5e54-aed4-ae4ff65e32eb

https://www.berrycast.com/conversations/9c0a1509-d82c-5080-9896-7e8f96505411


DruidInputSource: Sort segments by ID before grouping into splits.

This is useful because it groups up segments for the same time chunk
into the same splits, which in turn is useful because it minimizes the
number of time chunks that each task will have to deal with.

LGTM


Issues with v1.6 RC2/RC3 (reportings)

[X] test recovery when BTC-RPC-Explorer is on

Downloaded build_sdcard.sh v1.6
No download for lnd version v0.10.2-beta.rc4.
Version v0.10.2-beta downloads the requested files.

The prompt after installing Thunderhub instructs the user to use port 3011, but it's actually on port 3010. 3011 returns a bad gateway error.

The prompt after installing Thunderhub instructs the user to use port 3011, but it's actually on port 3010. 3011 returns a bad gateway error.

It shoudl show a HTTPS link. Did you try 3011 with HTTPS? 3010 is the cleartext (HTTP) port.

Trying Tesnet:

[ ] wallet=wallet.dat needs to be specific: main.wallet=wallet.dat
[ ] LND autounlock leads to errors if the testnet wallet has a different password (needs to be disabled before switching to testnet)

The prompt after installing Thunderhub instructs the user to use port 3011, but it's actually on port 3010. 3011 returns a bad gateway error.

It should show a HTTPS link. Did you try 3011 with HTTPS? 3010 is the cleartext (HTTP) port.

Ah, yes. That works as HTTPS. It gives me a bunch of warnings about an invalid certificate though.

Ah, yes. That works as HTTPS. It gives me a bunch of warnings about an invalid certificate though.

the Thub info screen warns about needing to accept the self signed certificate, also shows you the fingerprint to compare. Welcome to the world of encryption (unapproved by a third a party).

LNbits over TOR
/etc/tor/torrc
# Hidden Service for lnbits
HiddenServiceDir /mnt/hdd/tor/lnbits
HiddenServiceVersion 3
HiddenServicePort 80 <IP_ADDRESS>:5000

This should be
# Hidden Service for lnbits
HiddenServiceDir /mnt/hdd/tor/lnbits
HiddenServiceVersion 3
HiddenServicePort 80 <IP_ADDRESS>:5002
HiddenServicePort 443 <IP_ADDRESS>:5003

Right?

This should be

# Hidden Service for lnbits
HiddenServiceDir /mnt/hdd/tor/lnbits
HiddenServiceVersion 3
HiddenServicePort 80 <IP_ADDRESS>:5002
HiddenServicePort 443 <IP_ADDRESS>:5003

@frennkie, yes that is the effect of:
/home/admin/config.scripts/internet.hiddenservice.sh lnbits 80 5002 443 5003
in the install script.

I guess I was messing around with this.. 😉

Getting errors with macaroons on testnet.
$ lncli getinfoER    Cryptoadvance Specter                  │ │
[lncli] rpc error: code = Unknown desc = verification failed: signature mismatch after caveat verification

raspberrypi systemd[1]: Started LND Lightning Daemon.
1594667206 ERROR: [lncli] unable to read macaroon path (check the network setting!): open /home/bitcoin/.lnd/data/chain/bitcoin/testnet/admin.macaroon: no such file or directory

Permission or path issues I presume.
[ ] fix macaroons for testnet

Would you not run it like this on a testnet node: lncli -n testnet getinfo

Would you not run it like this on a testnet node: lncli -n testnet getinfo

Thanks, I was missing that. The main problem with the same errors I've been having with Balance of Satoshis, but reactivating Testnet did the trick. All works now.

When re-installing rtl (#1285) I get this error
12686 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'ngcc' ]
12687 silly lifecycle<EMAIL_ADDRESS>Returned: code: 126  signal: null
12688 info lifecycle<EMAIL_ADDRESS>Failed to exec postinstall script

There is a web interface

  File "/home/admin/config.scripts/internet.sshtunnel.py", line 191
    subprocess.call(sudo /home/admin/config.scripts/lnd.tlscert.sh refresh", shell=True)

Problems with Bitcoin Index

*****************************************
* The bitcoind service is not running.
*****************************************
If you just started some config/setup, this might be OK.

More Error Detail:
error code: -28 error message: Loading block index...

-> Use command 'repair' and then choose 'RESET-CHAIN' to try downloading new blockchain.
-> Use command 'debug' for more log output you can use for getting support.
-> Use command 'menu' to open main menu.
-> Have you tried to turn it off and on again? Use command 'restart'

Use CTRL+c to EXIT to Terminal`

What's going on here?
I have used <Do Nothing> and then CTRL+c twice now (separate systems) and everything (including the index appears to be fine.

Issue on LNbits install

tag is still outdated
Permission on temp tor dir

# Hidden Service for lnbits
HiddenServiceDir /mnt/hdd/tor/lnbits
HiddenServiceVersion 3
HiddenServicePort 80 <IP_ADDRESS>:5002
/home/admin/config.scripts/internet.hiddenservice.sh: line 80: /mnt/hdd/temp/tmp: Permission denied
HiddenServicePort 443 <IP_ADDRESS>:5003

After installing (on amd64 vm) I get:
* The LND service is not running.
/var/log/syslog:
sudo: /home/admin/config.scripts/blitz.subscriptions.ip2tor.py: command not found
...
dial tcp <IP_ADDRESS>:9050: connect: connection refused

After reboot:
Use CTRL+c to EXIT to Terminal
bitcoin error: error code: -28
error message:
Loading block index...

Cursor at prompt

Problems with Bitcoin Index

*****************************************
* The bitcoind service is not running.
*****************************************
If you just started some config/setup, this might be OK.

More Error Detail:
error code: -28 error message: Loading block index...

-> Use command 'repair' and then choose 'RESET-CHAIN' to try downloading new blockchain.
-> Use command 'debug' for more log output you can use for getting support.
-> Use command 'menu' to open main menu.
-> Have you tried to turn it off and on again? Use command 'restart'

Use CTRL+c to EXIT to Terminal`

What's going on here?
I have used <Do Nothing> and then CTRL+c twice now (separate systems) and everything (including the index appears to be fine.

This happened to me also. I decided to re-sync the blockchain. It is getting stuck under 1% with invalid blocks.
2020-07-30T09:18:26Z UpdateTip: new best=00000000000061e0951bb1802107743208cb709939fed622caffb1466e844786 height=123589 version=0x00000001 log2_work=62.415148 tx=497776 date='2011-05-13T06:10:52Z' progress=0.000903 cache=31.7MiB(244328txo)
2020-07-30T09:18:26Z UpdateTip: new best=00000000000058bb4ada68fa240c90e4348b06f35e9a2de0e695491b76c90d94 height=123590 version=0x00000001 log2_work=62.415306 tx=497798 date='2011-05-13T06:12:06Z' progress=0.000903 cache=31.7MiB(244359txo)
2020-07-30T09:18:26Z ERROR: ConnectBlock: Consensus::CheckTxInputs: 971a8b8bae55595809d0dd82a0d49ee76df1e1177975456889e8d19d3de54a3e, bad-txns-inputs-missingorspent, CheckTxInputs: inputs missing/spent
2020-07-30T09:18:26Z InvalidChainFound: invalid block=0000000000004bd05f245ceaf4a4d9d0e7b094cba9759ea9ca8ee1682c0495d0  height=123591  log2_work=62.415465  date=2011-05-13T06:17:35Z
2020-07-30T09:18:26Z InvalidChainFound:  current best=00000000000058bb4ada68fa240c90e4348b06f35e9a2de0e695491b76c90d94  height=123590  log2_work=62.415306  date=2011-05-13T06:12:06Z
2020-07-30T09:18:26Z ERROR: ConnectTip: ConnectBlock<PHONE_NUMBER>004bd05f245ceaf4a4d9d0e7b094cba9759ea9ca8ee1682c0495d0 failed, bad-txns-inputs-missingorspent, CheckTxInputs: inputs missing/spent
2020-07-30T09:18:26Z InvalidChainFound: invalid block=0000000000003e1fa8c174e703f86119c9dde981de8831659fc435d5772c8132  height=123622  log2_work=62.420373  date=2011-05-13T08:49:18Z
2020-07-30T09:18:26Z InvalidChainFound:  current best=00000000000058bb4ada68fa240c90e4348b06f35e9a2de0e695491b76c90d94  height=123590  log2_work=62.415306  date=2011-05-13T06:12:06Z
2020-07-30T09:18:39Z New outbound peer connected: version: 70015, blocks=641448, peer=175 (full-relay)

@bitsam there were some cases where "Probelems with Index" got detected if there were none. I tried to get rid of those. Will give it a try fpr the v1.6 relase ... if there is still a problem (not sure why you get invalid blocks on resync) please report on a seperate issue to we can put this into a bug fixing update like 1.6.1.

Testing on RC3 + XXsync I'm getting an error for LNbits:
Successfully installed python-dotenv-0.14.0
# updating databases
Loading .env environment variables…
https://<IP_ADDRESS>:8080
Traceback (most recent call last):
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/bin/flask", line 8, in <module>
    sys.exit(main())
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/flask/cli.py", line 967, in main
    cli.main(args=sys.argv[1:], prog_name="python -m flask" if as_module else None)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/flask/cli.py", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/flask/cli.py", line 426, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/home/lnbits/.local/share/virtualenvs/lnbits-xqYMrTZ5/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/lnbits/lnbits/lnbits/__init__.py", line 78, in migrate_databases
    core_migrations.migrate()
  File "/home/lnbits/lnbits/lnbits/core/migrations.py", line 74, in migrate
    with open_db() as db:
  File "/home/lnbits/lnbits/lnbits/db.py", line 38, in open_db
    return Database(db_path=db_path)
  File "/home/lnbits/lnbits/lnbits/db.py", line 10, in __init__
    self.connection = sqlite3.connect(db_path)
sqlite3.OperationalError: unable to open database file

testing password .. please wait
/home/admin/config.scripts/lnd.autounlock.sh: line 51: [: -gt: unary operator expected
switching the Auto-Unlock ON
storing password for root in /root/lnd.autounlock.pwd

lndmanage - although it should should have been installed it's not working:
admin@raspberrypi:~ $ manage
-bash: cd: /home/admin/lndmanage: No such file or directory
-bash: venv/bin/activate: No such file or directory
NOTICE: Needs at least one active channel to run without error.
to exit (venv) enter ---> deactivate
-bash: lndmanage: command not found

pls close this.


CLOUDSTACK-10377: Fix Network restart for Nuage

Description

Changes in PR #2508 have caused network restart to fail in a Nuage setup,
as the new VR takes the same IP as the old one, and the old VR is still running.
Nuage doesn't support multiple VM's having the same IP.
We delay provisioning the interfaces in VSD until the old VR interface is released.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Testing
[x] I have added tests to cover my changes.
[x] All relevant new and existing integration tests have passed.
 I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2085

@blueorangutan package

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2710)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 25005 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2672-t2710-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 65 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestDeployVirtioSCSIVM>:setup
Error
0.00
test_deploy_virtio_scsi_vm.py

test_03_vpc_privategw_restart_vpc_cleanup
Error
130.64
test_privategw_acl.py

@fmaximus can you address outstanding review comments?

While one comment around refactoring code to a different method is outstanding, @fmaximus can you comment? I'm okay to merge this in order to unblock for RC2. /cc @PaulAngus @DaanHoogland

Still was running some tests on the refactoring.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

ok by me @rhtyd should it be packaged and smoke tested again? I saw you started that

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2088

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

We found some issues with the fix, we're looking into it.

Trillian test result (tid-2719)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 24362 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2672-t2719-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 64 look OK, 3 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestDeployVirtioSCSIVM>:setup
Error
0.00
test_deploy_virtio_scsi_vm.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
141.16
test_privategw_acl.py

test_hostha_enable_ha_when_host_in_maintenance
Error
1.55
test_hostha_kvm.py

Test LGTM, let us know (soon) @fmaximus when you're good with your PR(s). Also, please use Github to log issues, thanks.

It's good! :shipit:

@PaulAngus I did a walk through and am fine to merge this one, ok?

LGTM, based on code reviews and results I'm okay to merge this as well


Upgrade sprockets-es6 to 0.9.0

Upgraded to the new sprockets-es6 release, which can finally be configured cleanly => updated the initializer.

@skateman FYI..


Write XML overwriting last element

I'm trying to add a new element to an xml doc like so:
 if let document = AEXMLDocument(xmlData: data, error: &error) {
    let attributes = ["location": fishData.location]
    let fish = document["FISHDICT"].addChild(name: "FISH", attributes: attributes)

But this overwrites the last element in the document. Am I doing something wrong?

I have added new test in AEXMLTests (testAddChildWithAttributes), so you should check that and fix your code.


NBN_Connection layout is cache unfriendly

__NBN_Connection is big enough (a little above 1 MB per connection) that it doesn't fit into the L2 cache of many systems.
A quick look into a frequently called function like Connection_ReadNextMessageFromStream shows that channels and endpoint are accessed often and immediately after each other, however, their positions in the struct are very far apart.  I believe this is introducing cache misses and impacting performance. The fix is very straightforward: move frequently used members of the struct closer together.

@Phireh hey, do you want to do this one?

Merged this PR: https://github.com/nathhB/nbnet/pull/26


Problem in adding multiple Python modules to ModuleManager

I have been observing intermittent errors with Python modules like IndexError: map::at with mod.change_input() when I have more than one Python module in the module manager. The problem never happens if I have only one Python module, but happens randomly if I have more than one. I think the code below shows the root of the problem.
import pluginplay as pp
from py_test_pluginplay import OneInOneOut, OneIn, OneOut

ptype = OneInOneOut()
class test_module(pp.ModuleBase):
    """Basic PluginPlay module that satisfies OneInOneOut property type"""
    def __init__(self):
        pp.ModuleBase.__init__(self)
        self.description(self.__doc__)
        self.satisfies_property_type(ptype)

    def run_(self, inputs, submods):
        s, = ptype.unwrap_inputs(inputs)
        r = self.results()
        return ptype.wrap_results(r, s)

ptype = OneIn()
class test_module2(pp.ModuleBase):
    """Basic PluginPlay module that satisfies OneIn property type"""
    def __init__(self):
        pp.ModuleBase.__init__(self)
        self.description(self.__doc__)
        self.satisfies_property_type(ptype)

    def run_(self, inputs, submods):
        s, = ptype.unwrap_inputs(inputs)
        r = self.results()
        return ptype.wrap_results(r, s)
ptype = OneOut()
class test_module3(pp.ModuleBase):
    def __init__(self):
        pp.ModuleBase.__init__(self)
        self.satisfies_property_type(ptype)
        self.add_input('inp2')

    def run_(self, inputs, submods):
        r = self.results()
        return ptype.wrap_results(r)

mm = pp.ModuleManager()
mm.add_module('test_module', test_module())
mm.add_module('test_module2', test_module2())
mm.add_module('test_module3', test_module3())
for key in mm.keys():
    print(key, mm[key])
print(mm['test_module'] == mm['test_module2'])
print(mm.at('test_module') == mm.at('test_module2'))

If you run the Python code above several times, you will get something like:
(nwx) 01:15:00|nwx|test> python mm_test3.py
test_module <pluginplay.Module object at 0x7fafa0d2a330>
test_module2 <pluginplay.Module object at 0x7fafa0d24a70>
test_module3 <pluginplay.Module object at 0x7fafa0d1d970>
True
True
(nwx) 01:15:02|nwx|test> python mm_test3.py
test_module <pluginplay.Module object at 0x7f290c631530>
test_module2 <pluginplay.Module object at 0x7f290c631530>
test_module3 <pluginplay.Module object at 0x7f290c631530>
True
True

Somehow in the second run, test_modules that satisfy different property types are stored at the same memory location. Module comparison always returns True might be because the comparison operator not being exported, but I think main issue is that Python modules are not added to the module manager properly. Maybe this issue is related to #309 somehow.

When python Modules are added to the ModuleManager, they all seem to get assigned the same type index at this line. Following export_module_manager.cpp to py_module_base.hpp and back to module_base.hpp, the type that the index corresponds to is python::PythonWrapper. So even though a new Module is made and added to the manager's list of Modules, all of the python modules have the same underlying ModuleBase. The fix for this is ensuring that the types of the python Modules are distinct, but I don't know for sure how to accomplish that. @ryanmrichard, any ideas?

Long story short, rather than relying on type info for versioning modules we should do this better. Right now PluginPlay assumes that if two modules have the same type they contain the same version of the same implementation. In practice, this is not a sufficient check. What should probably happen is that we introduce a new class say ModuleVersion which can be used to compare module instances. The C++ version can just store the std::type_info. The Python version would use reflection to work out a string representation of the derived type. You could also throw a version string in there too for good measure (IIRC there's already a metadata attribute for this).
If you're going to tackle this now I'd probably quickly sketch out a design doc before you do it. In particular you'll need to work out how the Python vs. C++ versions will work (off the top of my head, I'd probably go polymorphic PIMPL) and also try to foresee what other versioning info we may need.

Yeah, I don't plan on addressing this myself right now. Just wanted to put what I'd found out there. If someone else wants to tackle it, cool.


Delete a shopcart resource

As a customer
I need I need to be able to delete my shopcart by specifying the customerID,
So that I can delete my shopcart removing all products in it.
Details and Assumptions
The customer has an active shopcart, with at least one item in it, associated with their customer ID.
The customer ID is a valid input.
API: DELETE /shopcarts/{id}             <- Delete a shopcart
Acceptance Criteria
Given that a customer has an active shopcart with at least one item in it,
When they want to delete their shopcart,
Then their respective shopcart gets deleted from the database.

"Created DELETE endpoint for removing a shopcart resource based on customer ID (customer_name)."
"Added DELETE /shopcarts/{id} endpoint to remove the shopcart from the database. Unit tests are implemented to ensure proper functionality."


Multibit install on Linux

Hi everyone, Ive been trying to install Multibit on Ub12.04 with no joy.  The incredibly useful instruction provided on their site, "Open a terminal window and make the installer executable with: chmod +x multibit-0.5.18-linux.jar" is staggeringly inadequate.  I've tried running this command in every folder in the Multibit folder, all I get is, "cannot access `multibit-0.5.18-linux.jar': No such file or directory"  Sure enough, searching for this file in the (entire) folder finds nothing.  I've installed Java.  I would really appreciate some help if someone out there can guide me, please!  Many thanks.  Jack, Devon.

It is simple to launch jar files. Google is your friend.

yeah, really useful comment, sandro, thanks for FA.  And Google is a spy.

Use Other Search engines. Google (I don't use google) has a lot of info about linux and jar file.
In my opinion this is question for google and not for github.

MultiBit HD provides an easier installation experience and improved installation instructions.
Closing.


[discussion] How to arrange model directory structure

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

the issue is same as https://github.com/kleveross/ormb/issues/118


docs: content theme doc experiment

Description

Switched documentation from Docusaurus to new Nuxt Content Theme Docs
Switched hosting from GitHub pages to Netlify
Switching host from prismic-nuxt.js.org to prismic.nuxtjs.org
Updated social preview
Updated & rewrote the documentation

Nuxt Content Theme Docs is the new de facto way of writing Nuxt.js module documentation, regarding features it comes with everything that Docusaurus was providing us already. Only thing left on the side is the "blog" section which was mostly used to communicate change logs but Nuxt Content Theme Docs provides a way to do that too. Overall we're benefiting of an improved design, light&dark mode as well as a search feature & more by migrating to it.

Netlify preview
https://nuxtjs-prismic-ctd.netlify.app

@Atinux everything's ready on my side

Social card is left to do ()
I set up netlify.toml to help with deploy, you might be interested to uncomment those.

Let me know if anything!


Svelte: Use isInputDOMNode before handling delete key press

Describe the Bug
Unlike react-flow, svelte-flow doesn't check if focus is inside an input or a .nokey element using isInputDOMNode before handling keypresses. This results in backspace in an input deleting a node in some cases.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create node with <input> element
Select node then focus input
Backspace
:(

Expected behavior
Backspace in input or .nokey elements shouldn't delete the selected node.
Screenshots or Videos
No response
Platform
@xyflow/svelte 0.0.28
Additional context
No response

We will do a release this week. It's fixed in this PR https://github.com/xyflow/xyflow/pull/3688

fixed in 0.0.29 https://svelteflow.dev/whats-new/2023-12-13


New: Add views for institutions

This PR adds views for institutions, giving them each their own page on the Cantus site.
Special care was taken to get the source counts and source links correct for logged in / not logged in users and published / unpublished sources.
In addition external authorities are shown -- currently only RISM Online entries are in the external authorities, but others can be added. An entry for DIAMM as an external authority was also added so that links between Cantus and DIAMM are possible.

Great! Could you include screenshots of these new views?

Here's the entry for the Baviarian State Library:

Here's the list of all institutions:


Customization of Iterm

Hi, I ran the scrip but lost all of the customization I had put into iTerm and now I can seem to get the color scheme back at all.  Is there anything I can do ?  Or anyway to roll back?
Thanks for a great script!

Do you mean your shell's color scheme? I don't think this script modifies iTerm's configuration specifically.
Assuming you're using zsh (as that's what this script installs), you can try out thoughtbot's dotfiles https://github.com/thoughtbot/dotfiles/blob/master/zshrc#L9 and its default colors. https://github.com/robbyrussell/oh-my-zsh is another good default set up.

We removed a color scheme in https://github.com/thoughtbot/dotfiles/pull/359 but it can be defined via something like https://github.com/croaky/dotfiles/blob/b4030d626d2b248fe7b252d9f97a099e0f2411e2/vimrc.bundles.local#L1


Cannot restore wallet, seed words invalid

When I try to restore the wallet from its 24 seed words in any other wallet it returns that the seed words are invalid. My coins are stuck.
Edit: To be specific, some wallets report an INVALID CHECKSUM

I confirm, as mentioned here that after a git clone ... of the repository and using uBitcoin library v0.1.2 that the seed words can be successfully restored. Thank you Ben.


Automatic build of binary wheels and upload to PyPI

When a release is created,
binary wheels are built for a matrix of

Python 3.10 (<3.10 are disable for now)
Ubuntu 20.04, windows-2019, macos-10.15.

For Linux, manylinux2014_x86_64 wheels musllinux_x86_64 wheels are built.
Both of Intel and arm mac are supported.
The built wheels are uploaded to PyPI.

If this PR is reasonable, shall we merge it into the main branch and bump the version to 1.1.2 to trigger the build of wheels?

Well, I need more time to polish this code...


Legendary issues

Why do non ScaVi legendaries usually not generate a correct met location with auto legality?

Ensure that you have checked your PKHeX legality settings as Pokemon that require Home Trackers are not flagged as Illegal by PKHeX by default and so Auto-Mod will not be able to find a matching encounter.
You may also need to set the Plugin setting to AllowHomeTransferGeneration to True.

@chimel23
I have same issue  Please read  https://github.com/santacrab2/PKHeX-Plugins/issues/19


Out dated info and screenshots

I have already submitted a PR to remove references to Windows 10, specific VAMT versions and dead SQL Express links but this article still has outdated screenshots relating to the SQL Express installation.
This whole page should be reviewed to check it is still accurate for all the latest and supported OSs

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

ID: 01910332-8f6f-c844-6594-d9da807492c5
Version Independent ID: 13b107a6-b139-671d-d3bd-d53b2de74fdd
Content: Install VAMT - Windows Deployment
Content Source: windows/deployment/volume-activation/install-vamt.md
Product: windows-client
Technology: itpro-fundamentals
GitHub Login: @frankroj
Microsoft Alias: frankroj

Thanks @thommck for the feedback, I know @frankroj is working through a lot of content to refresh and this is on the list.
You said you submitted a PR...I don't see anything in this repository or the associated private repo. Can you share the link to the referenced PR that you submitted, then we can check to make sure your contribution is included.

Found the PR:
https://github.com/MicrosoftDocs/windows-docs-pr/pull/8954/

Several updates done through tagged PR. Additional changes will be done through freshness project.


Include .crt files in driver packages uploaded for PRs

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


Include metadata indicating CITE-seq negative control ADTs

Related to #293
One aspect of cite-seq processing will involve knowing whether there are negative control ADTs to filter on (i.e., remove cells with non-0 counts). This information will need to be included in metadata file, along with the other CITE-seq specific columns (feature_barcode_file and feature_barcode_geom).
How to tackle this?

Name the column something like feature_negative_controls
This column can be filled in with a single value, or  semicolon;separated;ADTs, if >1.
(?) Perhaps we make this column optional; if the column is missing, we assume no negative controls.

I would suggest we not put this in the metadata file, but rather encode it in the barcode files themselves. I am not 100% sure if we can add an extra column to the tsv file that lists the ADT sequences and have salmon index it as normal, but if not, that is a simple cut command away.

Effectively closed by https://github.com/AlexsLemonade/ScPCA-admin/pull/525.


Set the watermarked property to false in all images where it's NULL

Current Situation

Currently, there are 1 105 608 images that have watermarked property set to NULL.
Suggested Improvement

It should be safe to assume that these images are not watermarked, and set the value to false.
Benefit

Data consistency.
Additional context

Part of https://github.com/WordPress/openverse/issues/244
Implementation

[ ] 🙋 I would be interested in implementing this feature.

I wonder what is the meaning of this column and why it should be considered false for all those images 🤔 Can you elaborate on the reasoning, Olga? Do we have providers that return watermarked images?

Sorry, I haven't noticed your reply until today, @krysal.
The reasoning for this issue was that by default, we should probably consider images to be not watermarked and only set watermarked to true if we know that the provider returns watermarked images.
There were some providers who set the watermarked to true in the CommonCrawl days: IHA, McCord Museum, FloraOn, but now no providers set watermarked value, and so it falls back to false: https://github.com/WordPress/openverse-catalog/blob/9cd0b97b844c7442a00e8c056fc7246e83db06d7/openverse_catalog/dags/common/storage/image.py#L61
Because of this fallback, currently, we cannot be sure what false or null in the watermarked column means: not watermarked or not known. So, I think it makes sense to simplify and only use false here.

Also, I think we would have to modify this for each provider script instead of doing a one-time UPDATE in the database, or the refresh process will convert the column to null again.

I was thinking of running the UPDATE in the catalog (upstream, the source-of-truth) database, which is not touched by the refresh process, so the values will not be re-set to null. The data would be updated during the re-ingestion, but some providers are not re-ingested, so the data would never be updated.


Problem with FieldItemListInterface::getValue() return not being falsy

I'm not positive this phpstan-drupal's fault but I can't recreate it in the phpstan sandbox. I got an odd error in a preprocess method on my theme.
The code looks like this:

    $image_src = $node->get('field_featured_image')->getValue();
    if (!empty($image_src)) {
      // Do some things and add the image.
    }

The error from phpstan:
409    Variable $image_src in empty() always exists and is not falsy.

The return type from getValue() is "mixed" which can be null/falsy but I can't get any combination of interfaces or inderection to recreate this in phpstan's sandbox so wondering if maybe there is some field magic in phpstan-drupal that might be causing a problem?

nvm, it had to do with the line directly above this. Someone wrote this for reasons I can't explain...
  if ($node->hasField('field_featured_image') && $node->get('field_featured_image')
      ->getValue()) {
    $image_src = $node->get('field_featured_image')->getValue();
    if (!empty($image_src)) {

so phpstan actually has a bug where it treats method calls as immutable when they can actually be mutable.
https://phpstan.org/r/e696e98e-e2b9-4fc3-ae5c-5b22dadc1a89
In this case my code is not great, phpstan just caught it by accident.

@neclimdul I see, because mixed is not considered mixed|null. To PHPStan mixed means _some kind of valuebut nevernull`. I was going to say we should open an issue for it, but I'm not sure.

seems its a bit subtler problem and maybe by design? I'm discussing the issue here https://github.com/phpstan/phpstan/issues/6045


I keep getting this error im finding it so hard to get out of 'loading...' everytime i fix something, something else is broken

I keep getting this error im finding it so hard to get out of 'loading...' everytime i fix something, something else is broken. when i try to run the site i get this error, and the database wont connect i get a error.log then this '[14-Dec-2015 14:16:59 UTC] PHP Parse error:  syntax error, unexpected 'with' (T_STRING) in /home/supremej/public_html/php/default.php on line 23
'

the website is supremejackpot.tk if you need anymore infomation
add me on http://steamcommunity.com/id/SupremeJackpotBot

Can you post your default.php line 23 code?

yeh sure

23: replace with
24: function getDB() {

i had to use the paste bin thing because it couldn't find my passwords

I've spent about 6 hours today trying to find the issue and another one just pops up after, i would be happy to let someone on the server and have a look as its just free server and free domain, and i have backup on computer

Hmm here is an working example, its from my site:
function getDB() {
$dbHost = 'localhost:3306';
$db     = 'databasename';
$dbUser = 'username';

# Get database password from outside of web root
$fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt';  #<--- Do you have your password.txt outside the root directory?
if (file_exists($fileLoc)) {
	$fh = fopen($fileLoc, 'r');
	$jsonStr = fgets($fh);
	$arr = json_decode($jsonStr, true);
	$dbPass = $arr['default-password'];
	fclose($fh);
  } else {
	die('no file found');
}

$db = new PDO("mysql:host=$dbHost;dbname=$db;charset=utf8mb4", $dbUser, $dbPass);
return $db;
}

Should work if you have placed your "passwords.txt" in the right way. Like this:
--- passwords.txt
  ---Home
     ---index.html
     ---php
     ---img
     --- etc...

What was your plan with the "replace with" commands? :p

i got it from the paste bin

rod add me on skype please, reecerandcharlie

delete this haha

?

i have setup the site exactly how they said and it doesnt work

The "replace with" command. Its not really necessary, when you installed everything like its written in the readme file

will add you on skype

i did everything that it said :/

thank you reecerandcharlie

been stuck on it for 7 hours why i resorted to asking the community ;?

i haven't received anything on skype

now?

yeh


Unable to edit cluster after upgrade from rancher v2.3.5 to master

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster in Rancher v2.3.5 or v2.3.6-rc5
Upgrade rancher to master-head
Edit on the cluster
Fill in a value for max unavailable workers
Save

Result:
Unable to upgrade with error: invalid value for IntOrString: invalid value "": strconv.Atoi: parsing "": invalid syntax.
Other details that may be helpful:

Potentially related to https://github.com/rancher/rancher/issues/25951.
Cannot find any workaround at this time.
Attempted edit a cluster on a non-upgraded master-head setup and it was successful.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): Rancher version 73f603f9f master-2450-head
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): rke Linode 3 nodes all roles
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version): Attempted with 6 options: k8s 1.15, 1.16, and 1.17. One calico one canal for each.

@rancher-max Can you share what value you filled max unavailable workers?

@mrajashree I tried it with the following:

Count: 3
Count: 1
Count: 0
Percentage: 10
Percentage: 100
Percentage: 0

No value is being passed for maxUnavailableControlplane in the cluster edit call.
For now a workaround is to Edit cluster through API, no need to change any values, this puts in the  default for maxUnavailableControlplane, after which editing cluster through UI should work

Rancher version: 2.4 master-head (03/17/2020) commit id: ddda7cb8d
Validated the default value after upgrading from v2.3.5 is 10 percentage:

maxUnavailable in the API shows 10 too.
Drain default value in UI is No.
Drain default value in the API is false.
Editing the cluster and saving the settings also works.
Tested upgrading the Kubernetes version after the Rancher Upgrade. Passed.
Related issue: 25951


Variations of the Echo State Networks

After working for a while on issue SciML/NeuralNetDiffEq.jl#34 and on the implementation of an echo state network, I have found a lot of interesting papers regarding possible modifications and improvements of the model.
A direct improvement has been shown by Lun et al. with the proposal of the Double Activation Echo State Network (DAF-ESN), capable of improving the results of the ESN in time series predictions.
One of the problems of the original implementation is the prediction of noisy data, examined in this paper by Prater. Here it can be seen that using different methods aside from the classical ridge regression for the construction of the output layer yields better results in noisy datasets.
Another problem tackled regards the robustness in the presence of outliers. Of all the proposed models three in particular have shown interesting results in this direction:

SVESM : Support Vector Echo-State Machine, the basic idea of which consists in replacing the kernel trick with a reservoir trick.

ESGP: A Bayesian approach to the computation of the output matrix.

RESN: Improvement over the ESGP with a Laplace distribution instead of a Gaussian one.

Also the creation of the reservoir is an interesting area of study. In order to make an ESN work properly the echo state property (ESP) has to be guaranteed. The necessary condition for the ESP is that the spectral radius of the matrix of the reservoir should be less than 1. The standard procedure to achieve this is that the matrix is created under determined schemes and then scaled to have spectral radius < 1. In this paper by Yang et al. is proposed a new method for meeting the ESP without scaling of the reservoir weights using single value decomposition.
It is also known that the reservoir obtains best performances when it works on the edge of criticality. An interesting algorithm to guarantee that this condition is met is proposed in the following paper, where we can also see the improvements this control yields.
All the illustrated approaches have used a sparse matrix with random numbers as the reservoir. A curious alternative has been proposed by Ylmaz in which the reservoir consists of Cellular Automata rules. Both one dimensional and two dimensional rules are explored with good results.
These are just a few example of the different improvements that can be found in literature regarding Echo State Networks. The study of this model is somewhat still in the early days but already showing better results in chaotic prediction than other Machine Learning methods, as shown by Chattopadhyay et al..

I am going to close this issue since almost all of the variations here described were implemented during GSoC2020. I will open new issues for interesting new implementations that I find around.


Added in onNavOpen/ onNavClose properties to LeftNav

New optional properties onNavOpen and onNavClose which get called when the left nav opens and closes.
Solution to #489.

Thanks @BobertForever!