support for gitlab 7

The requirements say gitlab 6, can you specify if gitlab 7 works too?

https://github.com/samrocketman/gitlab-mirrors/blob/master/docs/prerequisites.md

I found a possible issue with GitLab 7.6.2.  After some preliminary testing I've determined it is likely an upstream bug in python-gitlab3.  I have filed the issue under https://github.com/alexvh/python-gitlab3/issues/19.

False alarm.  I didn't follow my own instructions.  I did not make the gitmirror user an admin of gitlab.

I just tested with 7.6.2 and it appears to be good.

Use my puppet code to do it for you.

Does it set up GitLab too?

No, but there is puppet code for that too.
https://forge.puppetlabs.com/tags/gitlab

On Jan 10, 2015, at 7:50 PM, Sam Gleske<EMAIL_ADDRESS>wrote:
Does it set up GitLab too?
—
Reply to this email directly or view it on GitHub https://github.com/samrocketman/gitlab-mirrors/issues/60#issuecomment-69482605.


Corrected Code on Counting how many fruits are red

Corrected the expression that was used on Where clause.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


android release build fail with DexException

i have a trouble at release build.
first, this is version that i use
react-native:0.49.3
react-native-google-analytics-bridge : 5.3.3
when i run react-native run-android, it works fine!
but when i command './gradlew assembleRelease' it throw DexException like this
`Error:Execution failed for task ':app:transformDexWithDexForRelease'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcl/json/BuildConfig;`

in my android app/gradle
`
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "0.0.1"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
dexOptions {
jumboMode true
}
}
dependencies {
compile project(':react-native-google-analytics-bridge')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:26.+"
compile "com.facebook.react:react-native:+"  // From node_modules
..other library link
compile 'com.google.android.gms:play-services-base:11.6.0'
compile 'com.google.android.gms:play-services-maps:11.6.0'
}
`
anybody know about this problem ?
please help me!

@rouge3351 Try enabling multiDex in your android/app/build.gradle file inside the defaultConfig section.
Here's an example, of course, just add the multiDeskEnabled true line to your defaultConfig and don't wholesale replace with the following example.
android/app/build.gradle
android {
    defaultConfig {
        multiDexEnabled true
    }
}

Pretty simple, but it took me hours to figure it out. Many thanks.

same error here..

same here!! anyone please help?

@qdevelopergithub check your build.gradle file and update all your dependencies to the latest version.
It's mostly a case of dependencies mismatch


Datastore Garbage Collection

We currently have no mechanism for deleting objects from the datastore; this is partly by design, as we want the datastore to behave as an immutable append-only store, and partly by implementation constraints as tracking objects in the datastore is expensive (storage cost, performance effects on the ingestion critical path).
Nonetheless, we do need a mechanism for pruning the local datastore, for example when an operator decides to unmerge some large dataset.
Here are two possible approaches:

Directly track all object deletions and at GC time iterate through the statements in StatementDB to find unreferenced objects and delete them. The downside is that we need to track object deletions, which has storage and complexity cost. It's also not clear if there will be any space saving in the datastore, at least not without compaction.
 This is the superior approach in terms of implementation simplicity and also most effective pruning of the datastore. With the semi space approach, at GC we create a new rocks db datastore open for bulk load; We then iterate through statements in the db, and copy all referenced objects from the current datastore the new space. When we are done, we compact the new datastore and delete the old one. The downside is that it requires free space in the file system for the copy, which may not be feasible for capped nodes. This may be remedied by deleting copied objects from the old datastore, and compacting it at regular intervals, although this adds complexity and has the same caveats about deletions effecting actual datastore size.

I really like approach 2, though another downside is that this requires complete write lock for the full run (or else a very clever way of handling implications of writes) and cannot be done piecemeal.

There is also the direct approach of iterating through the datastore, but this depends on the effect of OptimizeForPointLookup on iterators.
It's not clear if they don't work at all, they return keys out of order, or they work slowly.
But if we do have working iterators (eg with out of order traversal), we can then use a third approach: go through the statements in the db to find all referenced objects, and then iterate through the datastore to find all unreferenced objects, which are then deleted (it's unclear if deletion is possible while iterating), followed by datastore compaction.

@vyzo I think this is basically the approach that the IPFS GC process takes


Add RDS migrations to CDK deployment

CDK offers custom resources that can execute a lambda function as a resource when deploying or updating a stack. This Lambda function can be a docker image container, which means it can package and deploy a sqitch migration.
Including a custom resource step in the CDK stack will ensure that migrations to the RDS instance are always applied and eliminates the need to connect to the database over TCP to run the migrations (which comes with it's own set of complications, when it comes to making the RDS instance publicly accessible).
See CSDAP-ORDERS database bootstrapper for reference
Note: Sqitch migrations are just SQL commands executed against the database. If they're not carefully written and tested it is possible to corrupt or erase data. If migrations are to run automatically against the production database, care should be taken to make sure that they have been tested

As mentioned in https://github.com/NASA-IMPACT/nasa-apt/issues/697#issuecomment-1512491027, I'll work on a lambda backed custom resource to run migrations automatically during deployment through cdk.

@sunu is there anything else that needs to be done here?


Add util-linux to common-alpine.sh

This package comes preinstalled in Debian, and provides some very common commands on Linux. Namely, I miss the script command.
The list of commands can be seemed here:
https://www.mankier.com/package/util-linux

I built this and the linux/amd64 image size goes from 110 MB to 117 MB. That 7 MB buys us a long list of useful commands. However, a lot of those commands, like fstab, mkfs, cfdisk, and eject, aren't relevant to codespaces 🤔 It's a tough call.

Thanks for opening!
As a heads up, our team has been actively focused on an updated plan for community contributions and this repo moving forward, which we've now outlined in this issue: https://github.com/microsoft/vscode-dev-containers/issues/1589. This includes moving to a couple new repos for images (https://github.com/devcontainers/images) and Features (https://github.com/devcontainers/features).
We anticipate to have a similar repo and distribution process for templates/definitions. We'll keep everyone updated (likely via another issue in this repo or comment on https://github.com/microsoft/vscode-dev-containers/issues/1589) when our new templates repo is available and the process is defined.
Please let me know if you have any questions, thank you!


ERROR in TypeError: Cannot read property 'flags' of undefined

ERROR in TypeError: Cannot read property 'flags' of undefined

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Incorrect type inferred from loader for any in 1.17.0

What version of Remix are you using?
1.17.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
export async function loader() {
  const result: any = "test"

  return json(result)
}

export default function Index() {
  const result = useLoaderData<typeof loader>(); // const result: { [x: string]: any; }
  return <div>{result}</div>
}

Expected Behavior
The type of result in the component should be any.
Actual Behavior
In the component, result gets a type of {     [x: string]: any; }.
This happens for any data structure passed to json. if deep inside the object/array there is a field with type any, this field's type will be replaced with { [x: string]: any; }.

Experiencing the same. It's also the case for Prisma.JsonValue which results in:

Fixed by #6582, which will be released in the next release


Idea to solucionate MacBook M1 Pro install problem

I have the same issues as #32
I don't know rust, but I think you could add an if statement to check the target architecture so you can differentiate mac intel from M1, then the symlink is created correctly and also set correct permissions to the files.
So I think this could be a solution using target_arch
use_handler.rs
...
        } else {
            use std::os::unix::fs::symlink;
            let folder_name = if cfg!(target_os = "macos") {
                if cfg!(target_arch = "arm") {
                    "nvim-macos"
                } else {
                    "nvim-osx64"
                }
            } else {
                "nvim-linux64"
            };
            if let Err(error) = symlink(format!("{base_path}/{folder_name}"), &installation_dir) {
                return Err(anyhow!(error))
            }
        }
....

expand_archive.rs
...
    pb.finish_with_message(format!(
        "Finished expanding to {}/{}",
        downloaded_file.path, downloaded_file.file_name
    ));
    let platform = if cfg!(target_os = "macos") {
        if cfg!(target_arch = "arm") {
            "nvim-macos"
        } else {
            "nvim-osx64"
        }
    } else {
        "nvim-linux64"
    };
    let file = &format!("{}/{platform}/bin/nvim", downloaded_file.file_name);
    let mut perms = fs::metadata(file)?.permissions();
    perms.set_mode(0o111);
    fs::set_permissions(file, perms)?;
    Ok(())
...

sorry if there are syntax errors 😅. Also, I can open a PR if you guide me on how to test it.

I have the same issues as #32

I have no idea how this is going to change anything... neovim only provides one binary for macos nvim-macos there isn't nvim-osx64
Are you getting this issue on an 86x macos? also which version of bob are you using?
and unfortunately M1 isn't fully supported because I have no way to compile it to M1 native so if something works fine on 86x machine but not on M1 I don't know a proper way to fix it...

neovim only provides one binary for macos nvim-macos there isn't nvim-osx64

Ok, Do you not have to change that in the code?
I am getting the issue on M1, nvim is installed in nvim-macos folder but bob creates the symlink for nvim-osx64 folder and then when it tries to change the file permissions also fails because it is in another folder.
I installed bob a few days ago I don't know how to know the version, is there a command to know the version?

Hmmmmm interesting... newer versions of neovim 0.8.0 and up changed the directory contained inside the macos release from nvim-osx64 to nvim-macos
I will have to push a hot fix

@cscovino I will need you to test the bob releases from the attached PR so I can know if the changes fixed the issue.

@MordechaiHadad It is fixed, thanks!

I am glad to hear


MWPW-126981 Fix georouting modal scroll

Fix bug where page body scrolls to bottom when georouting modal is present

Resolves: MWPW-126981
Test URLs:

Before: https://main--milo--adobecom.hlx.page/de/drafts/methomas/georouting?martech=off
After: https://methomas-georouting-jump--milo--adobecom.hlx.page/de/drafts/methomas/georouting?martech=off

BACOM:

Before: https://main--bacom--adobecom.hlx.page/jp/customer-success-stories?martech=off
After: https://main--bacom--adobecom.hlx.page/jp/customer-success-stories?martech=off&milolibs=methomas-georouting-jump

Note: Only saw this happen on Chrome >= 106. To get georouting modal to pop up, open an incognito browser, go to US page first, then go to jp (or other geo).

Oh, interesting. Why did saving the setting as an object cause the bug?

@JasonHowellSlavin It wasn't that it was an object, I just needed to add preventScroll. I'll use @auniverseaway 's suggestion and add destructuring instead of removing the object


Fix the run goal

Instead of relying on the binary being present, we just use go run
Signed-off-by: Georgios Andrianakis<EMAIL_ADDRESS>

This change is

Sounds good, I'll take a look

You might want also to add the -ldflags, as mentioned on #37

Sure thing

@jpkrohling The parenthesis are wrong, I need to update to use brackets :)
Unfortunately the || true does not work when the goal is interrupted (it's the first thing I tried), hence the need to trap that signal explicitly

I fixed the parenthesis issue.
Also I am also on Linux, so I don't really know how this will behave on MacOS, although I would be surprised if it didn't work :P

Ah yes, good catch! Fixed :0


feat: add resource classes and images for Windows & GPU executors

Jira
Description
This PR goes over many problems with autocompletion and validation of machine executors.
Implementation details

Remove obsolete windows: executors
Add images and resource classes for many machine executors
Update Xcode versions and macOS resource classes
Do some refactoring along the way

How to validate
There are many cases to validate when writing an executor. Try some valid and invalid cases and see if the error messages make sense.

For reference, this is the validation process I came up with for machine executors

@abdelDriowya

doesn't seem to work

I don't think windows-server-2019:2022.08.1 is a valid windows image. Have you tried running a pipeline with this config file? Can you try with one of the images from the docs, e.g. windows-server-2019-vs2019:2023.08.1?

Oh I didn't know about this.
indeed windows-server-2019:2022.08.1 is working


Intermitten error updating etcd due to stale object version.

Log messages indicate intermittent etcd updates.  Root cause analysis is needed to identify potential impact on controller.
[updateEtcd] Failed to update status of AppWrapper at manageQueueJob - afterEtcdDispatching err=Operation cannot be fulfilled on appwrappers.mcad.ibm.com: the object has been modified; please apply your changes to the latest version and try again

@tardieu, @asm582 and @metalcycling  I think this issue needs to be elevated in priority. Adding the default quota labels and a failure in this method would seems to be causing the newly added test cases to be flaky.


Add identifier in transport policy response

Description

Contribution Checklist:

[x] The pull request does not introduce any breaking changes
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Attach Screenshots (Optional)

please check why the build failed

It complains about build coverage [WARNING] Rule violated for bundle athenz-server-common: lines covered ratio is 0.9467, but expected minimum is 0.9476, but build coverage report is not generated.


Failing to import @wordpress/dom-ready

Bug Report
Expected Behavior
I'm trying to use the import ... from @wordpress/... syntax. Writing import domReady from @wordpress/dom-ready should build successfully, and it should refer to wp.domReady.
Actual Behavior
I receive the "module not found" error.
.
I think this is very easy to fix by adding "dom-ready" here: https://github.com/ahmadawais/create-guten-block/blob/bdc40192fc7fa30519d821e2aa835b2aa6ef7534/packages/cgb-scripts/config/externals.js#L20. Let me know if this is correct.

I think @wordpress/compose also presents the same issue. @ahmadawais would it be possible to make it so that when something is imported from @wordpress/whatever, it is accessed as wp[camelCaseDash]?


Graph improvements / bug fix

These changes were motivated by the incorrect data collection regarding Messages > -3dBFS.
I've fixed that bug and added a display of the percentage of those messages.
Also the scaling needed to be changed otherwise the red area was overwhelming.
Also please consider the last two commits as general improvements regarding the graphs.

I will remove "Graphs: Use MAXNAN/MINNAN instead of MAX/MIN" 4 as it is incompatible with jessie.
I'll push it out in the next few minutes.

Sorry for the LONG delay in getting to this...
Graphs: Fix strong_signals data collection.
It has been a long night so correct me if I am wrong. Basically this averages strong signals over a longer period of time if I read your comment right. If so this is not what you would want from this reading when adjusting say the gain for your RTL-SDR. Personally, I could care less about over time averages for this. I want to know what this reading is a this moment. This being said I would think overall no one wants an averaged out -3dBFS over a long period of time. This would make fine tuning your rig a very long and time consuming process. Hence the reason I understand why dump1090-tools sends last1min to collectd.
Graphs: Increase rrd size for local messages
Why 8 days and not 7 days in a week?
MAXNAN/MINNAN instead of MAX/MIN
This was my fault thanks for the catch. I would merge this in a heartbeat if not for the above questions.

Sorry for the LONG delay in getting to this...
Graphs: Fix strong_signals data collection.
It has been a long night so correct me if I am wrong. Basically this averages strong signals over a longer period of time if I read your comment right. If so this is not what you would want from this reading when adjusting say the gain for your RTL-SDR. Personally, I could care less about over time averages for this. I want to know what this reading is a this moment. This being said I would think overall no one wants an averaged out -3dBFS over a long period of time. This would make fine tuning your rig a very long and time consuming process. Hence the reason I understand why dump1090-tools sends last1min to collectd.
MAXNAN/MINNAN instead of MAX/MIN
This was my fault thanks for the catch. I would merge this change in a heartbeat but need clarification on the above question first. That and to read over and test the other changes as well.

Graphs: Fix strong_signals data collection.

This would make fine tuning your rig a very long and time consuming process. Hence the reason I understand why dump1090-tools sends last1min to collectd.

No that is not what my change does.
If you read out the last1min bin you need to use the data type GAUGE instead of DERIVE.
Or you can read out totals and with data type DERIVE rrdtool will save the difference from one reading to another as a rate (number per second).
Right now you are reading a value, which is a number per minute and then applying a first derivation.
So instead of a rate (number per second), a change of rate (number per second per minute) is saved.
So the data is just corrected incorrectly.
Even if you turn the gain up all the way you still see moments when "strong_signals" is zero in the graph. That is because it is zero when the number of strong signals per minute is decreasing. (Would be negative if the values were not restricted by the data type).
With my change you have a constant red band if you turn up the gain too high.
And the data displayed is actually correct instead of being wrong ;)
The only average applied is for displaying the percentage, which is the second commit.
(See a picture for reference with an overall average of 0.8% strong messages:
https://github.com/wiedehopf/graphs1090/blob/master/README.md#graphs1090 )
If i wrote the commit again today i would change the scaling differently and just make it "Messages >-3dB per second" and give it the same scaling as the other Message rates displayed.
(Which is what you see in the picture, i have separated out the graphs and given it a small install script that does not need php and does not interfere with existing dump1090-fa/piaware installations)
If you want i can send a new pullrequest with the scaling done like in the image referenced.
MAXNAN/MINNAN instead of MAX/MIN
Well MAXNAN does not work with Jessie so i actually removed that change from the pull request.
(It's not a patch to remove that from your code, i originally had another commit using MAXNAN in my pull request but removed after realizing it doesn't work on jessie.)

Regarding the scaling: That all depends on how much you want to emphasize strong signals.
Using the scaling "Messages >-3dB per 10 min (RHS)" results in a magnification of 1.6 compared to using "Messages >-3dB per second"
So if you want them displayed a little more prominently that is your decision and you can keep the scaling as in the current pull request.
Just to reiterate: Without my fix the actual data collected is just plain wrong.
If you display the correctly collected data per hour though, the red area can get much too large.
That is why i also had to change the scaling.
Displaying a percentage is just a nice addition to have a number and not only a red area.
Here is another example of the scaling like it is implemented in the pull request:

Thanks for the explaination and the contribution.
Everything looks good so I will go ahead and merge this now..


All-Time Cost Sensor

Tnx for this integration!
It would be nice to have an all-time cost sensor. I have some integrations that I would like to track the energy cost thru it's lifetime.

I would also like this! 👍

I think best would be to make the periods configurable, when you first configure the integration, as there is also a request for weekly cost. For now, I don't have an idea how to do this, but will look into it.
Meanwhile I recommend to use HA-s built in Utility Meter. Feed in any of the cost entities and choose no reset period.

I was hoping it would just give 1 incrementing all time cost sensor just like the kWh sensor itself. That way you can calculate the usage over any interval. Users who want to have day/week/month based utility sensors could then just make one for that. Resetting values like the one provided are really inflexible for something like grafana

Meanwhile I recommend to use HA-s built in Utility Meter. Feed in any of the cost entities and choose no reset period.

How are you doing this with dynamic costs?


Move Line Up/Down alters selection

vscode 1.53.2
Code (works with JS or any other language where { increases indentation level):
foo;

foo: {
}

Repro:
put the cursor at the beginning of the file and hit shift+⬇⬇ then alt+⬇⬆

select 'foo;' + 2 newlines:

/**/foo;

/**/foo: {
}

editor.action.moveLinesDownAction
editor.action.moveLinesUpAction

Result:
selection now includes an extra character:
/**/foo;

f/**/oo: {
}

@rebornix I tried and could reproduce. When configuring "editor.autoIndent": "advanced" it does not reproduce.


Broken image shown for default receipt

The rootPath is intended to make it work: https://github.com/vaadin/expense-manager-demo/blob/master/src/expense-editor.html#L142
Both deployed free and pro versions are working, is it broken on latest master somehow?

The img url is //images/default-receipt.png which translates to http://images/default-receipt.png.

Fixed in d827e7a27456cfab77d6924efe3a7f5829dd4b1e


vitess.io: Allow scripts to be run from any current working directory.

Also: Infer $VTTOP if it is not set.

LGTM


resizeparams can't be seperated by more than one space

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit 99ca26d4eb84e0071264713902e5b287fcab392e  ().
Tag:

flags: (if any)
debug

Bug or Regression?
Bug
Description
I tried aligning my binds a bit and discovered that when the resizeparams of resizeactive are separated by more than one space the binding does not work.
I understand if this is too negligible to warrant a fix and I'm fine with it being as it is.
If desired I can add a note to the wiki.
How to reproduce
Add a space between the first and second number of a relative pixel delta vec2.
Crash reports, logs, images, videos
No response

The error appears to be in parseWindowVectorArgsRelative, which splits its arguments by looking for the first instance of ' ' and then taking the left and right of that, respectively, passing then unmodified into isNumber(), which predictably returns false for anything containing whitespace.
I think that the proper solution would be to generalize this subset(find_first_of()) pattern into a split_args(args, delimiter=' ', empty=false). This function would split the string by this character, and since empty=false, remove empty sections (i.e. strip leading, trailing and duplicated delimiters).


custom dns resolution?

there is mention of Custom DNS resolution in the readme but there is no documentation on using this.

there is mention of Custom DNS resolution in the readme but there is no documentation on using this.

Not sure if it can be done on the proxy server as the docs don't really explain it just like you said:

However using a Custom DNS resolution is possible on the client when using the basic net/proxy library, you can do this using the Resolver field from the net.Dialer

Here is an example of using a custom resolver (DNS over TLS):

Anyone find how to set customs dns ? Please help.

I'm not sure if that's right, I implemented a Myresolver interface
type MyResolver struct{}

func (d MyResolver) Resolve(ctx context.Context, name string) (context.Context, net.IP, error) {
        dnsServer := "<IP_ADDRESS>:53"
        resolver := net.Resolver{
                PreferGo: true,
                Dial: func(ctx context.Context, network, address string) (net.Conn, error) {
                        d := net.Dialer{}
                        return d.DialContext(ctx, "udp", dnsServer)
                },
        }

        ips, err := resolver.LookupIPAddr(ctx, name)
        if err != nil {
                return ctx, nil, err
        }
        if err != nil {
                return ctx, nil, err
        }
        return ctx, ips[0].IP, err
}

        resolve := MyResolver{}

        config := &socks5.Config{
                Dial: func(ctx context.Context, network, addr string) (net.Conn, error) {
                        return sshClient.Dial(network, addr)
                },
                Resolver: resolve,
        }

        server, err := socks5.New(config)


NUnit headless integration + XUnit test attributes

What does the pull request do?
Continues https://github.com/AvaloniaUI/Avalonia/pull/10473
Implements Headless NUnit integration, also does quite some changes with XUnit integration.
Removed API:
public class AvaloniaTestFrameworkAttribute(Type appBuilderEntryPointType) {}

New APIs.
Avalonia.Headless (shared part, to make third parties to implement the same for MSTest and others):
/// <summary>
/// Sets up global avalonia test framework using avalonia application builder passed as a parameter.
/// </summary>
public class AvaloniaTestApplicationAttribute(Type appBuilderEntryPointType) { }

public class HeadlessUnitTestSession
{
   static HeadlessUnitTestSession StartNew<TEntryPointType>();
   static HeadlessUnitTestSession StartNew(Type entryPointType);

    /// <summary>
    /// Creates a session from AvaloniaTestApplicationAttribute attribute or reuses any existing.
    /// If AvaloniaTestApplicationAttribute doesn't exist, empty application is used.
    /// </summary>
   static HeadlessUnitTestSession GetOrStartForAssembly(Assembly? assembly);

   public Application Application { get; }
   public SynchronizationContext SynchronizationContext { get; }
   public Dispatcher Dispatcher { get; }
   public void Dispose();
 }

Avalonia.Headless.XUnit:
public class AvaloniaTestFrameworkAttribute() {}
public class AvaloniaFactAttribute : FactAttribute {}
public class AvaloniaTheoryAttribute : TheoryAttribute {}

Avalonia.Headless.NUnit:
public class AvaloniaTestAttribute : TestAttribute {}
public class AvaloniaTheoryAttribute : TheoryAttribute {}

Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[x] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes
No, as previous XUnit package wasn't shipped to the nuget.

You can test this PR using the following package version. 11.0.999-cibuild0033864-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0033928-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0033974-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034018-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034106-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

@grokys @kekekeks ready to review as https://github.com/AvaloniaUI/AvaloniaEdit/pull/332 tests are now passing (with local builds at least). The most important part to review is HeadlessUnitTestSession, as it's shared between different unit test frameworks and is part of public API.
In short, on each test we now start a new Application instance with scoped Avalonia locator. In other words, the same how it works in our old unit tests. All Avalonia tests are executed on the single UI thread to keep it in a queue.

You can test this PR using the following package version. 11.0.999-cibuild0034498-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034508-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Replayloader doesn't work for Atari

Have you tried using this replay loader with Atari? I keep getting this error unless I set the num replay workers to 1:
File "/u/slerman/miniconda3/envs/agi/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
    data = fetcher.fetch(index)
  File "/u/slerman/miniconda3/envs/agi/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 28, in fetch
    data.append(next(self.dataset_iter))
  File "/home/cxu-serve/u1/slerman/drqv2/replay_buffer.py", line 176, in __iter__
    yield self._sample()
  File "/home/cxu-serve/u1/slerman/drqv2/replay_buffer.py", line 159, in _sample
    episode = self._sample_episode()
  File "/home/cxu-serve/u1/slerman/drqv2/replay_buffer.py", line 99, in _sample_episode
    eps_fn = random.choice(self._episode_fns)
  File "/u/slerman/miniconda3/envs/agi/lib/python3.8/random.py", line 290, in choice
    raise IndexError('Cannot choose from an empty sequence') from None
IndexError: Cannot choose from an empty sequence

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Edit: Sorry, originally posted the wrong trace.

Curiously, I tried that, even set the number of seed frames to num_replay_workers*episode_length, but it still kept throwing that error.

Sorry if this is a lot of trouble to answer, but I've implemented a version of DrQ with DQN, including double Q learning and Duel Q Networks like in the original DrQ paper. Same hyperparams, the only difference is no terminal states since I'm using this code's replay buffer (although I guess it wouldn't be too hard to add them). The only thing is, I'm not able to reproduce the reported Atari results in that paper... Are there any other additions I should consider besides the double/duel Q learning and matching up hyperparams? I store the "episodes" in 100-frame increments for the replay buffer, but the actual training proceeds normally until the episode is really completed. Also, exploration and intensity augmentation are same as in DrQ paper, too. I even borrowed from DrQv2 and made the action sampling "noisy" via an increasing softmax temperature and categorical sampling for training instead of just taking the max.

Hi, did you ever get a chance to look at this code?


Parameterize CloudFormation Count Macro

Hi Team,
We are trying to parameterize the Count value(eg. 2, 3 or any value) by passing the parameter from JSON file to the Cloud formation template. But we are getting error as "Received malformed response from transform". Could you please help us to fix this? if it is possible to parameterize the Count Macro, please share the  the steps needs to carried out to fix this issue.

@bhabanisankar - have you got any solution for this issue?

Hi @nitinarora1989- yeah, I have got the solution and that has implemented
and tested successfully.
Thanks!!
Bhabani Dixit
On Thu, 24 Mar 2022 at 12:33 AM, nitinarora1989 @.***>
wrote:

@bhabanisankar https://github.com/bhabanisankar - have you got any
solution for this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/aws-cloudformation/aws-cloudformation-macros/issues/14#issuecomment-1076714298,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3GD6BJC66WDXZFK74DSTLVBNTINANCNFSM47FEG4EA
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

What is the solution for this?

Hi @nitinarora1989- yeah, I have got the solution and that has implemented and tested successfully. Thanks!! Bhabani Dixit
…

would you be willing to share the solutions that you came up with, would be greatly appreciated as I have been looking for a solution for this as well  ?


typo: agressive -> aggressive

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/advanced-threat-protection/New-AntiPhishPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


<EMAIL_ADDRESS>hash check failed

PS C:\Users\guozhao> scoop install openssh
ERROR It looks like a previous installation of openssh failed.
Run 'scoop uninstall openssh' before retrying the install.
WARN  'openssh' (7.6p1) is already installed.
Use 'scoop update openssh' to install a new version.
PS C:\Users\guozhao> scoop uninstall openssh
Uninstalling 'openssh' (7.6p1).
'openssh' was uninstalled.
PS C:\Users\guozhao> scoop install openssh
Updating Scoop...
Scoop was updated successfully!
Installing 'openssh' (7.6p1) [64bit]
gcc-libs-6.4.0-1-x86_64.pkg.tar.xz (821.9 KB) [====================================>                          ]  58%
Checking hash of gcc-libs-6.4.0-1-x86_64.pkg.tar.xz ... ERROR Hash check failed!
App:         openssh
URL:         http://repo.msys2.org/msys/x86_64/gcc-libs-6.4.0-1-x86_64.pkg.tar.xz
First bytes: FD 37 7A 58 5A 00 00 04
Expected:    892a8125b41e2c11f26769755bec092b55c8d0c6c78bf8bd2c61d977df7e1fbd
Actual:      4ec21c84adae9babf661f49ec162f2fb7243b9a65d4cb300523da8afebcd796a
Please create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop/issues/new?title=openssh%407.6p1%3A+hash+check+failed

ty

Related to https://github.com/lukesampson/scoop/issues/2414
Please try again. msys2.org has some issues providing the files.


(WIP): Break out Reports and Workspace code into new wandb-workspaces pkg

Description
What we're doing

This PR moves "UI editing code" into a new package called wandb_workspaces (https://github.com/wandb/wandb-workspaces).  Affected code includes:

Reports editing -- wandb.apis.reports
Workspace editing (new!) -- wandb.apis.workspaces

Why we're doing this

The UI editing code is tightly coupled with the UI, which is released on a different cadence from this package (wandb).  Splitting into its own package makes it easier to pair versions of the UI editing code with the UI.
This provides better separation of concerns

wandb is focused on logging
wandb_workspaces is focused on UI editing

User Implications

Users can install the new package with pip install wandb[workspaces]
Users can continue to interact with modules in the new wandb_workspaces package from the wandb namespace.

No code change is required from the user, aside from installing this new extra
If users don't have the new package installed, they will see this message

[ ] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

Just please fix the CI ;)


Filter undefined for search param

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/21487

/hold
Just notice my fix is not perfect

/unhold


[DOCFIX] Fix install java page

(#7442) @aaudiber

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/20283/Failed Tests: 0
Test FAILed.


Pandas > 1.35

Pandas > 1.35 breaks our subclassing modules.

For test https://github.com/jwillis0720/sadie/blob/main/tests/integration/airr/test_airr_intergration.py#L290 it breaks when I update the code to handle pandas 1.4. I found the issue to be here
# Old correct_indel()

In [1]: catnap_heavy = airr_api.run_fasta(heavy_file)  # calls correct_indel by default
In [2]: {'germline_alignment_aa_corrected', 'v_germline_alignment_aa_corrected'} & set(catnap_heavy.columns)
Out[1]: set()

# New correct_indel()

In [1]: catnap_heavy = airr_api.run_fasta(heavy_file)  # calls correct_indel by default
In [2]: {'germline_alignment_aa_corrected', 'v_germline_alignment_aa_corrected'} & set(catnap_heavy.columns)
Out[1]: {'germline_alignment_aa_corrected', 'v_germline_alignment_aa_corrected'}

Where the correct_indel() function does not correctly update self. The catnap_heavy_airrtable.feather is missing the 2 columns with the fixed self update. catnap_light_airrtable.feather had the columns {'germline_alignment_aa_corrected', 'v_germline_alignment_aa_corrected'} already so the tests artificially passed

Added the missing columns and the Pandas 1.4 tests work now. Do a final run then I push to dev

#67


Roll engine 72986c39ea36..5ac728eb6002 (11 commits)

https://github.com/flutter/engine/compare/72986c39ea36...5ac728eb6002
git log 72986c39ea3669ef26d4d7d7cd0c44f513fcd117..5ac728eb6002a8fcdcce3b754771525fcca4741d --no-merges --oneline
5ac728eb6 Roll src/third_party/skia 4d657d5e894a..6d60534e95d8 (3 commits) (flutter/engine#8543)
ee462ff68 Roll src/third_party/skia 99d792276740..4d657d5e894a (1 commits) (flutter/engine#8542)
18816c50f Roll src/third_party/skia 42280f8961fa..99d792276740 (8 commits) (flutter/engine#8539)
892591da8 Android Embedding PR28: Report app is active to Flutter in FlutterFragment.onResume() instead of onPostResume() forwarded from Activity. (flutter/engine#8536)
330c6c168 Use code cache dir for engine cache on API >= 21 (#14704). (flutter/engine#8534)
c10ae2be2 Add an option to build the GLFW shell on macOS (flutter/engine#8531)
29aa5fca0 Roll src/third_party/skia b5c685991faa..42280f8961fa (32 commits) (flutter/engine#8535)
0a2869e5c Added support for authentication codes for the VM service (flutter/engine#8527)
36d2135ad Redo a fix for cull rect calculation on TransformLayers with a perspective transform (flutter/engine#8528)
0b36d3e2f Change Rect internal representation from Float32List to Float64List (flutter/engine#8524)
b1ae0ccb7 Roll src/third_party/skia 10bf7020aa15..b5c685991faa (3 commits) (flutter/engine#8526)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5135058510807040

Commit queue failed; closing this roll.


Load jQuery before Bootstrap

Hi, when I use the bootstrap4/bootstrap4.html base template I don't find the right place to load the jQuery library. All options I tried result in jquery loading after bootstrap which leads to an error TypeError: undefined is not an object (evaluating 'i.fn') (https://stackoverflow.com/questions/9227406/bootstrap-typeerror-undefined-is-not-a-function-has-no-method-tab-when-us).
Using the tag  {% bootstrap_javascript jquery='full' %} is not compatible with the bootstrap4 base template, although it looks good on the first view but leads to loading bootstrap library twice which gives an error that for example dropdowns open not on the first click (described here https://stackoverflow.com/questions/24218663/avoid-having-to-double-click-to-toggle-bootstrap-dropdown ).
Could someone please clarify the intended use of the bootstrap4 base template and where to load jquery? At this time i copied the bootstrap4 base template to my project and added the jquery option to the template tag.
Thanks a lot, Christian

See the example app, which uses the template and loads all necessary JavaScript.

I really thought, I had, but after using django-bootstrap for years I found the setting "include_jquery": True,". Sorry for bothering and thanks for the right hint...

No problem Christian, glad to help! Take care!


mist 1.7 is not a Universal Binary

When on Apple Silicon without Rosetta 2 installed, mist cannot run:
% mist
zsh: bad CPU type in executable: mist
% file $(which mist)
/usr/local/bin/mist: Mach-O 64-bit executable x86_64

After installing Rosetta 2, mist works fine. But, it seems like Rosetta shouldn't be a requirement for a tool like this.

Great pickup! Turns out mist was being being built only for x86_64:
➜ ~ lipo -archs /usr/local/bin/mist
x86_64

This is an easy fix, just need to add the --arch flag to the swift build command in the Makefile, which will produces the following output:
➜ ~ lipo -archs /usr/local/bin/mist
x86_64 arm64

Binary and package have approximately doubled in size! Still worth it as Rosetta is no longer a prerequisite for Apple Silicon 👍

Next release will be compiled as a Universal binary


Add to_device() to VarBuilder to load weights to a specific GPU

This makes it easier to load transformer blocks onto different GPUs.

fn load(vb: VarBuilder) {

  // ...

  let blocks: Vec<_> = (0..cfg.n_layers)
      .map(|i| {
          let dev_ordinal = i / per_device_layers;
          log::debug!("load block {i} into GPU{dev_ordinal}");

          let vb = vb.to_device(&Device::new_cuda(dev_ordinal).unwrap());

          Block::load(
              vb.pp(&format!("model.layers.{i}")),
              cache,
              &cfg,
              comm.clone(),
          )
          .unwrap()

      })
      .collect();

     // ...
}

@LaurentMazare Hi, there two checks failed because the credentials could not be obtained.
But what do you think of this feature? Or are there any other alternatives?

I agree that the use case you mentioned is not well covered at the moment. What I was just saying is that the changes proposed by this PR have some drawbacks that we have to be a bit more careful about - I would have to think a bit more about it to see if there is a good way around this.


Expired link

Hi team,
Thank you for your dataset. However, the link is expired. Can you publish it again?
Thank you so much

Hi team,
Thank you for your dataset. However, the link is expired. Can you publish it again?
Thank you so much

Thanks for your interest. You may use the new link https://hkaidlab-my.sharepoint.com/:f:/g/personal/xingxingzou_aidlab_hk/EtOAImdFKedMgezprRQiJBIBcCnvJEp7yRaLB8kZKlWNzw?e=OxSCy5 for downloading.

Thank you so much


Add entity evaluation checkpoint to the datbaase

Summary
This adds the checkpoint as a JSONB structure in the database. This has
been indexed using a GIN index for efficient JSON lookups once we
hook this up to the application.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 54.34% (+0.009%) from 54.331%
when pulling 2dddff115f86cbe539c23a749e30e69b0797beac on checkpoint-db
into 18fd69b7fd17ee8c47fa0e2b2d79e2a660b9c6c7 on main.


delete functionality for documents

What this PR does / Why we need it:
With this PR delete functionality for documents id supported.
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Let's add the DeleteAll for purging in a follow up PR


Remove BaseHTTPMiddlewares ,  Ensure origin host is used in STAC links

Description
Removing BaseHTTPMiddleware to improve performance. Re-implementation of timeout middleware and error handling middleware replaced by registering exception handlers with the app.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
I ran ./scripts/test
Checklist:
Please delete options that are not relevant.

[x] Unit tests pass locally (./scripts/test)
[x] Code is linted and styled (./scripts/format)

Also taking a look at this.

You will need #195 to fix the CI build


Save splitting of tabs in saved workspaces

If you save the workspace with split tabs then when you open this workspace tabs should be split in the same way.

Added support for split tabs from version 0.2.8


Unable to connect https://github.com/SAP/abap-platform-refscen-flight.git   HTTP Client error

Hello
I am trying to connec to https://github.com/SAP/abap-platform-refscen-flight.git from zabapgit_standalone program from S/4 HANA system. I am getting the error "Error while creating HTTP Client". PFA Screenshot.

Regards,
Abdul Hakim

Hello Abdul,
this seems to be an issue with the ZABAPGIT tooling itself.
We can only provide support for the repo itself, but not for the tooling. I'd propose that you raise your issue here: https://github.com/abapGit/abapGit
Best Regards, Volker

Hello Abdul, this seems to be an issue with the ZABAPGIT tooling itself. We can only provide support for the repo itself, but not for the tooling. I'd propose that you raise your issue here: https://github.com/abapGit/abapGit Best Regards, Volker

Hello Volker, Thanks for the response. I have reported the issue to abapgit team. QQ is there way i can download the content from this repository and upload into my system without using ZABAPGIT? Please let me know.
Regards,
Abdul Hakim


Added parameter to change the type of encryption used

I was having problems to perform the handshake with some servers because it is using 384bit encryption, so I found a type that solves my problem the "secp384r1". I added the possibility for the user to choose the best algorithm for each use.
The main problem I had was handshake errors like:
(Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE]) sslv3 alert handshake failure (_ssl.c:1108)'))

Hello sir @felipehertzer just have tested it. The repo look patched can't solve cloudflare challenge (v1)
Also the cookie ''cfduid'' has beem removed since 2 month ago.
Do u can fix it to work on new challenge ?
Thanks

@felipehertzer while your're on the right track, your also WAY off ... this will only work for specific sites with specific settings setup... additionally this will cause you problems if your abusing cloudflare BFM...

Sorry for the branch. I changed my script to brainpoolP256t1 seemed to work correctly so far, but I don't know if you know if this might not work.

Also if you want me to implement this.... i suggest not doing a PR to the master branch... that is what the dev branch is for.

Seems like you have to correct people often on that, might be worth adding a little contributors file which explains that


React app: Add Reviews

Towards https://github.com/OpenTechFund/hypha/issues/2068

https://github.com/OpenTechFund/hypha/issues/2068#issuecomment-679629681

@frjo fixed the doc error.
Actually the review apis that we have in this pr are complex and uses custom dynamic serializers, which the doc is not able to detect while schema generation, so we might not be able to use the doc to test post and put review apis, others should work fine but the doc doesn't have proper support for the apis with a lot of customizations.
For post and put on review apis we can use drfs inbuilt ui doc. E.g. by directly going to the url http://apply.localhost:8000/api/v1/submissions/39/reviews/112/
Or we are using postman to collaborate internally. Here is the url for postman collection of all the review apis which can be imported for testing purposes.
P.S. I will also write tests for all the apis in a few days, which should make it very easy for review and also help to detect/fix bugs.

@sks444 Seems to work and if there are any bugs it does not effect the rest of the site.
Would you like me to merge this in to master or is it better do keep in a separate branch. Will do what you feel is best from your dev perspective.

@frjo, I think it would be better to keep it on a separate branch for now. And I will make PRs to this branch for bug fixes or improvements while frontend implementations and testing.
We could also merge this into master but the only reason I don't feel good about merging is that the apis doesn't have tests and while these changes doesn't affect rest of the site, some of the apis might be prone to vulnerabilities. E.g., Exposing data which shouldn't be exposed to a specific user, etc.

@frjo, we merged the frontend work here so there is only pr to be taken care of for this feature. This can be deployed to test for testing Add reviews in react app.

@sks444 Deployed to test now.

Noticed a few bugs, we are fixing those.

@frjo, we have fixed a few bugs on this, can we redeploy.

@sks444 Redeploying to test now.
When possible, it easier to merge when commits are only added and not rewritten to branches that has been merged in to test once.

@frjo We have fixed all the detected bugs. It can now be redeployed to test for feedback. We may also need a Review detail page in React. Currently, we can add Review, edit and delete. The edit and delete buttons are shown on the review detail page in normal Django views. So, after getting this deployed we can work on review detail feature.

@Parbhat Deploying to test now.

@frjo The add review PR is ready for final review and then can be deployed to production. We have tested it thoroughly.


Lighter tint for expanded manage area

Similar to @rnystrom thoughts for the search filter
https://dribbble.com/shots/2097072-Working-on-new-filters-interactions
Sent with GitHawk

YES, sounds awesome. I’ll hack at this
Sent with GitHawk

Not doing. Maybe we can explore large colored-in circles behind the icons? Might give the manage buttons more life, and different colors could make it easier to find what you want to do? Let's see if it comes up.


Remove ZURB Foundation in favor of Bourbon family

Now we moved all from Foundation to Bourbon, time for a cleanup :+1:
This removes Foundation setup and replace it by Bourbon, neat and Bitters.
It rename application.css.scss ~> application.scss as the former will be deprecated yb sass-rails 5.0

:+1: :+1: :+1:

It took time for me to get convinced, but I'm totally, today. So :shipit: and bybye Foundation !


Jotron

Hi, thanks for the update. The ad looks a lot like it is trying to lure haskell engineers to a standard C++/C# job..
@yobson can you shed some light on to what extent you use haskell at Jotron, if you still work there? 10%? 50%? 90%?

Hahaha. It almost is!
One project uses haskell, but we want to expand that if we get more haskell devs. I spend about 25% of my time in haskell land. When I'm working on that project, maybe 60%.

Apologies for the third comment. I've only just realised what's going on. I wouldn't add the link to the job posting (it really pains me to say). That would be miss leading. At the moment, 90% of your job would be C# or C++. I don't want to disappoint anyone. If someone wants that job, but also wants to help with the haskellification as a very minor part of the job, feel free to apply (please)! But it wouldn't be a haskell job primarily!

Didn't mean to close this, sorry, wrong button.
Thanks for the clarification (and honesty). If I remember correctly; my original intent with this list was to create a list of companies that use haskell as a major technology in their stack/products/services (not exclusively) since it is a pretty rare to find a company that uses it.
Maybe I should add a column that indicates whether it is a major or minor technology to let anyone interested make their own decision. This kind of job could e.g. be useful for someone that already knows C++ but wants to get some real-world experience with haskell... Unfortunately that information would be missing for almost all companies on this list.
I understand if you have an up-hill struggle increasing haskell use at your company as it can be pretty hard to find engineers that know it (engineers that know C# comparatively grow on trees).

I think that extra column would be a really good idea!

Seems I forgot about this PR, sorry about that! I have thought about it and will merge it with one minor change


player database inaccuracies

This is probably an issue with nflgame - but the player database has some inconsistencies... for example, data feed claims Phillip Sims is a QB for Seattle, is ACT and status 1, however, his profile page http://www.nfl.com/player/phillipsims/2553780/gamelogs shows no game stats and he isn't really on their roster.  His jersey number is also "0" - He is now a coach of a college team and was waived by the Seahawks in 2016 - odd thing is the date_updated for him in my db is 2018-08-04 20:58:19.

That is strange. I show him as having no team not active and last updated 2016-06-07 02:49:29.

Yes that is the only error I get.

That error only means it couldn't be found on NFL.com it doesn't end the update process at that point.

well - I tried building a new database - when you create the ffl database, the Phillip Simms record is added and shows active - running update.py -players doesn't change it -
I ran: mysql -u root -p fflproject <fflproject.sql
checked player table and the record is there from the start - anybody have any ideas?

I think I see what's going on and have added a fix. The active status was being set with whatever nflgame returned. But if there are cases where a player drops out of nflgame and is not first marked active, they could end up in this situation.
I've added a last_seen column to the player table. Once a player's last_seen date is older than 30 days, the player update script will mark them as inactive. I picked 30 days arbitrarily just in case there's some flapping of players in nflgame, but if you want to force a player to drop off, just set their last_seen date as 30+ days ago.
Run db_upgrade.py when you pull the latest version.

Thanks - I cleaned up by setting everyone inactive then updated and seems
to correct it
On Sat, Oct 6, 2018 at 8:04 PM Nick Frerichs<EMAIL_ADDRESS>wrote:

Closed #56 https://github.com/nickfrerichs/fflproject/issues/56.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nickfrerichs/fflproject/issues/56#event-1888794512,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARwi2zAH8dIRg1fWD5lHVMq1qtGb7Vq_ks5uiUUSgaJpZM4XGW2G
.


Update requirements.txt

I had issues installing helm because of the pyext dependency.
In the requirements.txt, pyext is required in version 0.7. However, the latest version on pypi seems to be 0.6 (https://pypi.org/project/pyext/#history)
Feel free to ignore if this is only an issue I faced!
Thanks,
Benedikt

Hi @benediktstroebl, your timing is excellent - I've just removed all usage of pyext in #2921, but I haven't removed it from requirements.txt yet. If you could modify this PR to delete pyext from requirements.txt (instead of downgrading the version), we can get it merged into main. Thanks!

Hi @yifanmai, Awesome! I modified this PR to completely remove pyext from requirements.txt. Thanks, Benedikt

Thank you!


NodeAffinity support for RKE system addons

Starting v2.3, we let user configure node selector for every system addon launched in rke cluster (cni, ingress, coredns): https://github.com/rancher/kontainer-driver-metadata/pull/40. But you can only pass key/value pairs, and it essentially translates to nodeSelector option:
nodeSelector:
    disktype: ssd

We have to improve the feature by letting user configure NodeAffinity rules for system addons, with an ability to pass an operator:
 affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: kubernetes.io/e2e-az-name
            operator: In
            values:
            - e2e-az1
            - e2e-az2

cc @cloudnautique

This would be really helpful when dealing with out-of-balance clusters.
Example: new node is added to a busy cluster. A cluster update is triggers and all coredns pods get scheduled on that one node. One workaround is to edit the nodeAffinity rules but any changes made get overwritten once another cluster update is triggered.


when sql contains  ”  and ‘，parse sql result is not

1 sample  ”
SELECT *
FROM table1
WHERE date = "20191010"
LIMIT 10
sample “ result
table1.*
table1.date
table1.20191010
2 sample ’
SELECT *
FROM table1
WHERE date = '20191010'
LIMIT 10
result
table1.*
table1.date
obvious  second sample‘s result is right


Rails 5 ActiveRecord::InternalMetadata.table_name

Was updating an app to the latest Rails 5 and wanted to drop a note that there appears to be a new schema meta data table. I had to do this:
DatabaseCleaner.clean_with :truncation, except: [ActiveRecord::InternalMetadata.table_name]

Normally this table is called active_record_internal_metadata, but using the class' table_name method seems to be the right way to look it up in case someone adds a prefix or reconfigures the name. I took a look into the source and saw you had schema_migrations hard coded to that name. Perhaps it too should be updated to use ActiveRecord::SchemaMigration.table_name for the same reasons?

+1, otherwise I always get a ActiveRecord::NoEnvironmentInSchemaError after each run.

Seen with Rails 5.0.0.beta1.1, database cleaner 1.5.1. Database cleaner will execute DELETE FROM "active_record_internal_metadatas" unless the except: ... option is specified as described above

Looks like this will be closed with #487 ships.

Lies... now we'll need to wait for https://github.com/DatabaseCleaner/database_cleaner/pull/491 to land and ship.

@etagwerker, I think we can close this as of #490.

@stevenharman 👍


How can I manually delete some points of the poly labels?

I can manually move any points and add some points but I don't know how delete them.
Any advice would be appreciated.

I found how do it
https://github.com/HumanSignal/label-studio/issues/318


GIST of all the errors.
And much more along those lines, full excerpt in the gist. Interestingly enough, I don't have TOP installed, although I do have some of your other mods installed (Listed Below)
Thought you would like to know, and maybe you and @AlgorithmX2 can figure out what is going on?
MC: 1.10.2
Forge: <IP_ADDRESS>4
C&B: 12.12
mcjtylib: 1.1x-2.3.9
Deep Resonance: 1.1x-1.4.5
RF Tools: 1.1x-5.84
RF Tools Control: 1.1x-1.6.6
Compact Layer: 1.10-0.2.2

Same as https://github.com/McJty/RFTools/issues/608 and https://github.com/AlgorithmX2/Chisels-and-Bits/issues/223
C&B won't support those blocks anyway, and the details reported are too important to turn off in the log.
So you can feel free to just ignore them or you can install one probe which should prevent the missing class.

Gotcha, and thanks for the quick reply.


Docs: added translations for "before I die" in various languages.

Issue Addressed
Closes #76
Proposed Changes and Benefits
added new language support for all the required languages except the middle eastern languages for "Before I Die".
Screenshots

Notes to Reviewers
I tried my best and kept the translation as error free as possible.
Checklist

[✔ ] I have thoroughly read and understand The Contribution Guidelines.
[✔  ] The title of this PR follows the keyword: brief description of change format, using one of the following keywords:

Feature - adds new or amends existing user-facing behavior.
Chore - changes that have no user-facing value, refactors, dependency bumps, etc.
Fix - bug fixes.
Docs - fixing typos and adding new content.

[ ✔ ] I have listed my proposed changes and their benefits.
[✔  ] I have linked the corresponding issue in the Issues section.

This merge updates 49 tasks for the issue #76

I would gladly translate the other languages too if needed and I'll make sure to add myself in CONTRIBUTORS.md and include my before I die statement too.
and yes, it shows the before I die text in Hindi for me.

I would gladly translate the other languages too if needed and I'll make sure to add myself in CONTRIBUTORS.md and include my before I die statement too.
and yes, it shows the before I die text in Hindi for me.

Great @VoidyCodes and excellent to get confirmation on the Before I Die text showing in Hindi from your IP address. Look forward to seeing your next contribution!


Dark and light themes - how to use custom icons and images

See discussion in Material for MkDocs forum: https://github.com/squidfunk/mkdocs-material/discussions/4229

We need to clarify first the icon set to use for the different platforms.

I managed to make it work with the attached test.svg icon:

I used the free and online SVG editor at https://editsvgcode.com/#
Removed the fill parameters (there is one per line on the icon graph)

We need to find now how to automate this process for the icon set.


feat: Dockerize Beerus

Feature Request
Describe the Feature Request

Run beerus in a Docker container and enable it to run with github actions.
Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[ ] Yes
[ ] No

I can work on this alongside #387 with @glihm

assigned

Ready to work with you @robinstraub. 👍🏻


Added the Plastic Style

Closes #33
📑 Description
This adds the plastic style as requested.

[ ] Not Completed
[x] Completed

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[x] No

ℹ Additional Information
The example given to make this style was this:

The previous default style looks like this:

The new plastic style looks like this:

I've tried to keep the same feel as the default one but with the plastic style, please let me know how I did! 🙂

Summary by CodeRabbit

New Features

Expanded documentation for the dynamic progress bar service, including a new style option: plastic.
Added examples demonstrating the usage of the plastic style and other configuration parameters.

Documentation

Improved readability and consistency in the README.md formatting.

Hi @EduardoBaptista01 ,
Thank you so much for your pull request! 🙌
I appreciate the time and effort you put into this contribution.
I'll review it shortly, and if everything looks good, I'll approve it as soon as possible.
Thanks again for your valuable contribution! 🚀


Guest User Name is not appearing in order section of Admin End.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
Master
Issue Description
In Guest Checkout i have mentioned First name and last name with respective Email details. After complete checkout process and placing the order, there in Admin Sales order section we are unable to see the Guest user name.
Preconditions

Admin Must be logged in.
Products must be created.

Steps to reproduce

Go to Shop Front -> Make sure its a Guest User -> Add Product To cart.
Click on Proceed to checkout -> Fill the Address details form -> Add First Name and Last Name with Address details.
Click on Proceed -> Select Shipping Method and Payment Method -> Click Place Order.
Go to Admin -> Sales -> Orders -> Check the order.

Expected Result
First Name and Last Name must appear for Guest Users.
Actual Result
Please check the video for reference.
https://github.com/bagisto/bagisto/assets/92721837/5530f48c-5d86-4a46-ad1f-ffc264d6cc12
Screenshots
Please check the screenshot -> https://prnt.sc/tBs5eUvLhoeB
Database Entry -> https://prnt.sc/H6BDGzAH4PH2
Additional context
No response

@shivendra-webkul
Checked and Found that the issue has been fixed and working fine, please check the screenshots for reference.
https://prnt.sc/n78Zxuv69K8E
https://prnt.sc/kv3oKWS9HIf7
https://prnt.sc/UDdsol851jkv

Checked and Found that the issue has been fixed and PR has been merged, hence I am closing the issue from here, please check the screenshots below.
Admin End - https://prnt.sc/dzOsOEPzMMqX
Database End - https://prnt.sc/__2PEOuEX8HQ


#285: Add internet().uuidv3()

First PR to this project, feel free to provide feedback on what to change.
Added:

internet().uuidv3()
nextRandomBytes()
Two tests: one whether the format is correct and one to test whether constant random seeds do what they're supposed to (which is the entire reason for this PR)

Notes:

Using 16 bytes for generating UUID since it covers the entire UUID
maven site didn't work locally, I hope the provided javadocs are okay
It's also unclear how versioning works, should I increase the minor version?
Should I add something to the changelog?

This PR looks good to me! Small note on the Javadoc, but nothing big. Thanks for your contribution!


StorageLoader: add the option to run ANALYZE on selected columns

Add the option to, for example, run ANALYZE atomic.events(event_id, collector_tstamp); rather than ANALYZE atomic.events;

Migrated to https://github.com/snowplow/snowplow-rdb-loader/issues/6


please offer command-line option to force print-to-screen

pwdhash.py will check my environment and, if I'm running X, will default to copying password to clipboard.
Please offer a command-line option to allow me to force "No, please copy to the screen instead."

I'm sorry -- I missed that you responded to my question so quickly.
No, that didn't work
$ DISPLAY= pwdhash
domain: foo.com
Password for foo.com:
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/local/bin/pwdhash:190: GtkWarning: IA__gtk_clipboard_get_for_display: assertion 'display != NULL' failed
  clip = gtk.Clipboard()

Completely unsetting DISPLAY did work, but I would prefer not to completely unset DISPLAY.


Added a field to Readme to highlight setting a default value

Hey @driskull ,
Added another field to readme to show how to set a default value.   Noticed the text above this snippet states you could set a default value, but we didn't have an example there.  Had a customer call in asking about this.

👍  thanks @briantwatson


Make dashboard "starred" by default

starred dashboard are easier to access.

The dashboard panel only presents starred dashboards


Incorrect parsed result in HaNoi Vietnam

Hi!
I using pelias libpostal docker image and got issue in parsing address of Ha Noi (Vietnam). In details, the parsed component is not correct, it tends to combine the street and district into street component.
For example, address "169 Nguyễn Ngọc Vũ, Cau Giay, Ha Noi" is parsed into
"parsed_text": {
                "number": "169",
                "street": "nguyễn ngọc vũ cau giay",
                "city": "ha noi"
            }

where Cau Giay is a district of Ha Noi city.
You can double check this issue at page http://pelias.github.io/compare/#/v1/search%3Ftext=169 Nguyễn Ngọc Vũ, Cau Giay, Ha Noi
On the other hand, libpostal works well with address of Ho Chi Minh city.

Hm, it looks like that's mapped in a few different ways in OSM, which might create some confusion for the parser.
There's a suburb node, although it looks like it was added more recently than the last training set was created, and then there are a few addresses that have it as addr:district, which would map to state_district in our nomenclature, so will need to audit the use of that tag for the next training build and make sure those all map to city_district. Is this Wikipedia article a decent list of all the places that should be city districts? https://en.wikipedia.org/wiki/List_of_urban_districts_of_Vietnam


CLI throws, no cekMachineCost file found

When trying to use this package's CLI through PIP, it throws with
uplc dump myScript.bin --from-cbor
Traceback (most recent call last):
  File "/home/banou/miniconda3/envs/clairvoyance/bin/uplc", line 5, in <module>
    from uplc.__main__ import main
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/__init__.py", line 16, in <module>
    from .tools import parse, eval, dumps, UPLCDialect, flatten, unflatten
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/tools.py", line 66, in <module>
    cek_machine_cost_model: CekMachineCostModel = default_cek_machine_cost_model_plutus_v2(),
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 489, in default_cek_machine_cost_model_plutus_v2
    return default_cek_machine_cost_model(PlutusVersion.PlutusV2)
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 478, in default_cek_machine_cost_model
    latest_network_config_plutus(plutus_version),
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 419, in latest_network_config_plutus
    return latest_network_config()[plutus_version.value]
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 415, in latest_network_config
    return load_network_config("latest")
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 403, in load_network_config
    for file in latest_network_config_dir.iterdir():
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/pathlib.py", line 1017, in iterdir
    for name in self._accessor.listdir(self):
FileNotFoundError: [Errno 2] No such file or directory: '/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model_files/latest'

Creating a file named cekMachineCost.json at /home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model_files/latest with the contents of: https://github.com/OpShin/uplc/blob/794fd3068c53b9794dc0e2fcc3ed822e033ac958/uplc/cost_model_files/2023-02-14/cost-model-secp-preprod-mainnet.json seems to fix the issue.

Oh actually the files are present but the symlink "latest" to the latest version does not work. I will fix this in a patch release.

The issue should be fixed in https://github.com/OpShin/uplc/releases/tag/1.0.2, please confirm this :)

Now it seems to throw with
uplc dump myScript.bin --from-cbor
Traceback (most recent call last):
  File "/home/banou/miniconda3/envs/clairvoyance/bin/uplc", line 5, in <module>
    from uplc.__main__ import main
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/__init__.py", line 16, in <module>
    from .tools import parse, eval, dumps, UPLCDialect, flatten, unflatten
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/tools.py", line 66, in <module>
    cek_machine_cost_model: CekMachineCostModel = default_cek_machine_cost_model_plutus_v2(),
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 510, in default_cek_machine_cost_model_plutus_v2
    return default_cek_machine_cost_model(PlutusVersion.PlutusV2)
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 499, in default_cek_machine_cost_model
    latest_network_config_plutus(plutus_version),
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 440, in latest_network_config_plutus
    return latest_network_config()[plutus_version.value]
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 436, in latest_network_config
    return load_network_config(datetime.date.today())
  File "/home/banou/miniconda3/envs/clairvoyance/lib/python3.10/site-packages/uplc/cost_model.py", line 413, in load_network_config
    dir_date = datetime.date.fromisoformat(dir.name)
ValueError: Invalid isoformat string: 'latest'

I think this should be the result of your manual patch - if you remove the file/folder you added it should work fine again.

Oh woops, i thought pip uninstall would clear that, yup that worked, thanks so much for the quick response.
Also great project, it's the only one that i have found to support all of the UPLC terms properly :)

Thank you! I would assume the official version  and aiken should also support everything but AFAIK the only Python implementation so far.

Trying to dump using their CLI, results in a lot of errors / unhandled terms, your dump so far has been perfect.


hotkeys trigger disappearing when boot

My hotkeys configuration:
{
hotkeys.commands = {
         "alacritty" = {
           comment = "default terminal";
           key = "Meta+Return";
           command = "alacritty";
         };

         "dropdown" = {
           comment = "dropdown terminal";
          key = "Meta+`";
          command = ''tdrop -mtair -f "--class dropdown" alacritty'';
        };
      };
}

For example, after configure that and reboot, it works:
[Data_1Triggers0]
  Key=Meta+Return
 Type=SHORTCUT
  Uuid={6880261a8a14507fd975a5fe7d8f559bdd7d64f5f5dc77abb2482d70b4adc488}

But when i reboot again, the key of trigger disappeared:
[Data_1Triggers0]
  Key=
 Type=SHORTCUT
  Uuid={6880261a8a14507fd975a5fe7d8f559bdd7d64f5f5dc77abb2482d70b4adc488}

And reboot again. the key appeared again:
[Data_1Triggers0]
  Key=Meta+Return
 Type=SHORTCUT
  Uuid={6880261a8a14507fd975a5fe7d8f559bdd7d64f5f5dc77abb2482d70b4adc488}

I have no idea why trigger key toggle between appear and disappear, but i found a workaround, just run the configuration script once or several times manually, for example:
/nix/store/vsmybd99mxpkf9677p2mn4ikbymy3xnm-plasma-config

I bet this would be fixed by getting #1 and #2 resolved.

According to this Reddit comment, khotkeys is being phased out. Last week the khotkeys repository was replaced with a README saying "KHotkeys is no longer maintained. The last maintained version is in the Plasma/5.27 branch." It also links to phabricator issue T2050: "sunsetting KHotKeys".
However, the Reddit comment linked before mentions the UUIDs and the keybind being repeated in kglobalshortcutsrc, which is indeed the case.
I did some work to correctly generate UUIDs instead of using a hash, which I believe might be the reason the keybinds get reset, but having found khotkeys is no longer being maintained I did not do the last bit of work to put the same UUIDs and hotkeys in the kglobalshortcutsrc file. If anyone is interested in that, you can find what I have so far here.

I also found the khotkeys will be removed in the future, we should use kglobalshortcutsrc now. @opl- Thanks for your response.


bug: Websocket session restarted every 10 seconds if "subscriptions-transport-ws" is used

Expected behavior

Subscription with 'old' library "subscriptions-transport-ws" can be started (protocol: graphql-ws)
Websocket session is initialized and kept open until subscription is stopped

Actual behavior

Subscription with "subscriptions-transport-ws" can be started but the session is removed after 10 seconds
Subsequently a new session is started and again removed after 10 seconds

Steps to reproduce
This is reproducible with dgs-examples-java project

start subscription (increased log level to DEBUG)

subscription reviews{
  reviewAdded(showId: 1){
    username

  }
}

Log output:
2022-10-13 22:02:54.436  INFO 4148 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-10-13 22:02:54.436  INFO 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2022-10-13 22:02:54.437 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Detected StandardServletMultipartResolver
2022-10-13 22:02:54.437 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Detected AcceptHeaderLocaleResolver
2022-10-13 22:02:54.437 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Detected FixedThemeResolver
2022-10-13 22:02:54.438 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@3c69d9cb
2022-10-13 22:02:54.438 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Detected org.springframework.web.servlet.support.SessionFlashMapManager@46af9841
2022-10-13 22:02:54.438 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
2022-10-13 22:02:54.438  INFO 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 2 ms
2022-10-13 22:02:54.454 DEBUG 4148 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy        : Securing GET /subscriptions
2022-10-13 22:02:54.460 DEBUG 4148 --- [nio-8080-exec-1] s.s.w.c.SecurityContextPersistenceFilter : Set SecurityContextHolder to empty SecurityContext
2022-10-13 22:02:54.464 DEBUG 4148 --- [nio-8080-exec-1] o.s.s.w.a.AnonymousAuthenticationFilter  : Set SecurityContextHolder to anonymous SecurityContext
2022-10-13 22:02:54.470 DEBUG 4148 --- [nio-8080-exec-1] o.s.s.w.a.i.FilterSecurityInterceptor    : Authorized filter invocation [GET /subscriptions] with attributes [permitAll]
2022-10-13 22:02:54.470 DEBUG 4148 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy        : Secured GET /subscriptions
2022-10-13 22:02:54.474 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : GET "/subscriptions", parameters={}
2022-10-13 22:02:54.486 DEBUG 4148 --- [nio-8080-exec-1] o.s.w.s.s.s.WebSocketHandlerMapping      : Mapped to org.springframework.web.socket.server.support.WebSocketHttpRequestHandler@3c108c05
2022-10-13 22:02:54.494 DEBUG 4148 --- [nio-8080-exec-1] o.s.w.s.s.s.WebSocketHttpRequestHandler  : GET /subscriptions
2022-10-13 22:02:54.561 DEBUG 4148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed 101 SWITCHING_PROTOCOLS
2022-10-13 22:02:54.563 DEBUG 4148 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : Did not store anonymous SecurityContext
2022-10-13 22:02:54.563 DEBUG 4148 --- [nio-8080-exec-1] s.s.w.c.SecurityContextPersistenceFilter : Cleared SecurityContextHolder to complete request
2022-10-13 22:02:54.603 DEBUG 4148 --- [nio-8080-exec-1] s.w.s.h.LoggingWebSocketHandlerDecorator : New StandardWebSocketSession[id=daac9c80-326f-4d75-3f1c-ea8cd98de10f, uri=ws://localhost:8080/subscriptions]
2022-10-13 22:02:54.852  INFO 4148 --- [nio-8080-exec-1] .d.s.w.WebsocketGraphQLWSProtocolHandler : Initialized connection for daac9c80-326f-4d75-3f1c-ea8cd98de10f
2022-10-13 22:02:55.286 DEBUG 4148 --- [nio-8080-exec-1] .n.g.d.i.DefaultDgsGraphQLContextBuilder : Created DGS context in 0ms
2022-10-13 22:02:55.322 DEBUG 4148 --- [nio-8080-exec-1] c.n.g.d.internal.DgsDataLoaderProvider   : Created DGS dataloader registry in 12ms
2022-10-13 22:02:55.414  INFO 4148 --- [nio-8080-exec-1] c.e.d.i.ExampleTracingInstrumentation    : Datafetcher Subscription.reviewAdded took 2ms
2022-10-13 22:02:55.426  INFO 4148 --- [nio-8080-exec-1] c.e.d.i.ExampleTracingInstrumentation    : Total execution time: 92ms
2022-10-13 22:02:55.429  INFO 4148 --- [nio-8080-exec-1] .d.s.w.WebsocketGraphQLWSProtocolHandler : Subscription started for 1
2022-10-13 22:03:04.610 DEBUG 4148 --- [        Timer-2] o.s.w.s.adapter.NativeWebSocketSession   : Closing StandardWebSocketSession[id=daac9c80-326f-4d75-3f1c-ea8cd98de10f, uri=ws://localhost:8080/subscriptions]
2022-10-13 22:03:04.613 DEBUG 4148 --- [        Timer-2] s.w.s.h.LoggingWebSocketHandlerDecorator : StandardWebSocketSession[id=daac9c80-326f-4d75-3f1c-ea8cd98de10f, uri=ws://localhost:8080/subscriptions] closed with CloseStatus[code=4408, reason=null]
2022-10-13 22:03:04.663  INFO 4148 --- [        Timer-0] .d.s.w.WebsocketGraphQLWSProtocolHandler : Cleaning up for session daac9c80-326f-4d75-3f1c-ea8cd98de10f
2022-10-13 22:03:05.324 DEBUG 4148 --- [nio-8080-exec-3] o.s.security.web.FilterChainProxy        : Securing GET /subscriptions
2022-10-13 22:03:05.324 DEBUG 4148 --- [nio-8080-exec-3] s.s.w.c.SecurityContextPersistenceFilter : Set SecurityContextHolder to empty SecurityContext
2022-10-13 22:03:05.324 DEBUG 4148 --- [nio-8080-exec-3] o.s.s.w.a.AnonymousAuthenticationFilter  : Set SecurityContextHolder to anonymous SecurityContext
2022-10-13 22:03:05.325 DEBUG 4148 --- [nio-8080-exec-3] o.s.s.w.a.i.FilterSecurityInterceptor    : Authorized filter invocation [GET /subscriptions] with attributes [permitAll]
2022-10-13 22:03:05.325 DEBUG 4148 --- [nio-8080-exec-3] o.s.security.web.FilterChainProxy        : Secured GET /subscriptions
2022-10-13 22:03:05.325 DEBUG 4148 --- [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet        : GET "/subscriptions", parameters={}
2022-10-13 22:03:05.326 DEBUG 4148 --- [nio-8080-exec-3] o.s.w.s.s.s.WebSocketHandlerMapping      : Mapped to org.springframework.web.socket.server.support.WebSocketHttpRequestHandler@3c108c05
2022-10-13 22:03:05.326 DEBUG 4148 --- [nio-8080-exec-3] o.s.w.s.s.s.WebSocketHttpRequestHandler  : GET /subscriptions
2022-10-13 22:03:05.341 DEBUG 4148 --- [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet        : Completed 101 SWITCHING_PROTOCOLS
2022-10-13 22:03:05.342 DEBUG 4148 --- [nio-8080-exec-3] w.c.HttpSessionSecurityContextRepository : Did not store anonymous SecurityContext
2022-10-13 22:03:05.342 DEBUG 4148 --- [nio-8080-exec-3] s.s.w.c.SecurityContextPersistenceFilter : Cleared SecurityContextHolder to complete request
2022-10-13 22:03:05.344 DEBUG 4148 --- [nio-8080-exec-3] s.w.s.h.LoggingWebSocketHandlerDecorator : New StandardWebSocketSession[id=3fad25d8-e55a-e782-6609-8072fdf41050, uri=ws://localhost:8080/subscriptions]
2022-10-13 22:03:05.350  INFO 4148 --- [nio-8080-exec-4] .d.s.w.WebsocketGraphQLWSProtocolHandler : Initialized connection for 3fad25d8-e55a-e782-6609-8072fdf41050
2022-10-13 22:03:05.352 DEBUG 4148 --- [nio-8080-exec-4] .n.g.d.i.DefaultDgsGraphQLContextBuilder : Created DGS context in 0ms
2022-10-13 22:03:05.353 DEBUG 4148 --- [nio-8080-exec-4] c.n.g.d.internal.DgsDataLoaderProvider   : Created DGS dataloader registry in 0ms
2022-10-13 22:03:05.356  INFO 4148 --- [nio-8080-exec-4] c.e.d.i.ExampleTracingInstrumentation    : Datafetcher Subscription.reviewAdded took 0ms
2022-10-13 22:03:05.357  INFO 4148 --- [nio-8080-exec-4] c.e.d.i.ExampleTracingInstrumentation    : Total execution time: 3ms
2022-10-13 22:03:05.357  INFO 4148 --- [nio-8080-exec-4] .d.s.w.WebsocketGraphQLWSProtocolHandler : Subscription started for 1
...

Reason:

The recent implementation of "graphql-ws" ("graphql-transport-ws" protocol) introduced a connection init timeout which is 10 seconds per default
if "graphql-transport-ws" protocol is used, the timeout is stopped by calling setConnectionInitReceived() in WebsocketGraphQLTransportWSProtocolHandler
this is however not the case if "subscriptions-transport-ws" is used -> after 10 seconds the connection timeout is triggered and the session (that es equally used by both handlers) is terminated

Thanks for reporting. I will fix this in the next release, likely in a week or two.

@srinivasankavitha We also faced the same issue in the latest version 6.0.0

Hi - the subscriptions-transport-ws is being deprecated in favor of the
newer graphql-transport-ws protocol for websockets. Please refer to the
docs here: https://netflix.github.io/dgs/advanced/subscriptions/#websockets.
Would you be able to switch to that and try? If the problem persists, then
we likely have a bug in the new implementation. We won't be making any
changes to the older protocol since we plan to get rid of it soon, it's
there mainly for backwards compatibility. Thanks!
On Wed, Feb 15, 2023 at 5:57 AM oleksii-hobzhelian-windmill <
@.***> wrote:

@srinivasankavitha https://github.com/srinivasankavitha We also faced
the same issue in the latest version 6.0.0
—
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dgs-framework/issues/1271#issuecomment-1431410400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5JPXKL2Z42BQ7T7KA3OI3WXTOEXANCNFSM6AAAAAAREUJ5KQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@srinivasankavitha With graphql-transport-ws it works much better. Thanks


help heroku

help to give heroku button bro

Do you have any docs on how to implement it?

App.json file created following instructions from https://devcenter.heroku.com/articles/heroku-button


Adds missing author line for USI-(MKS/OSI)

Also cleaned up the formatting.

Hm while you're updating we might want to change the suggestion for TAC-LS to USI-LS? Seems like a reasonable change?

I guess.  I am unsure how complete USI-LS is, however.  I have been using TAC-LS lately.

My thought was that I assumed TACLS is in there because the author wants to promote an LS mod style of play and seeing as there is now an USI variety of LS it would be better to add that one.
We have USI-LS indexed (manually, over att CKAN-meta) so it's stable enough to be around here atleast :)

Looking at it, USI-LS should be functional, but is... kinda sparse.  I'm not opposed to changing the recommendation setting, but RoverDude still has the forum thread marked as alpha.

Best is probably to just ask him, any thoughts @BobPalmer ?

Good point.  I forgot github had a thing for that.

USI-LS is complete enough.  Remove the suggestion for TAC-LS

Suggestion adjusted.  No idea if I did that right or not.

Seems the bot hates us... But seeing as you only changed 2 lines after the mod ok'd it all should be fine. Thanks for the update!


"We couldn't find an open repository for..."

Open https://github.com/microsoft/vscode-remote-ssh/pull/183, press .
The first time I opened this PR, it loaded all the content but I couldn't add comments
The second and third time, I got this error message and when I click a diff, the left side is empty
ghpr.txt

@roblourens what version of the extension was this?

Still happens today on https://github.dev/microsoft/vscode-remote-ssh/pull/185/files. Looks like I have v0.35.2022011315

This issue is fixed in the latest pre-release build.
Commenting should be fixed by https://github.com/microsoft/vscode-pull-request-github/issues/3306, which went out in 0.36.1 yesterday.

@nwhitaker can you share the output from GitHub Pull Request?


Collabora does not survive to a server restart ( oCIS with WOPI server example )

Describe the bug
I followed the WOPI deployment example ( link1 / link2 ).
The deployment works, but collabora disappear after a server restart.
Steps to reproduce
Steps to reproduce the behavior:

git clone https://github.com/owncloud/ocis.git
edit the .env file
docker-compose up -d, collabora works and I can edit docx files ( three dots -> open in collabora) / creating them ( new file -> ... )
docker-compose restart: everything still works
reboot the server
collabora disappear from the owncloud web interface, i can no longer open a file in collabora / create an odf / docx file

Expected behavior
Everything keeps working after a server restart.
Actual behavior
Collabora integration broke after a server restart.
Setup

docker-compose: same as link ( current master )
config folder: same as current master
env file:

# If you're on a internet facing server please comment out following line.
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
INSECURE=false

### Traefik settings ###
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=true
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=traefik.<...>
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin"
TRAEFIK_BASIC_AUTH_USERS=admin:<...>
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
TRAEFIK_ACME_MAIL=<...>

### oCIS settings ###
# oCIS version. Defaults to "latest"
OCIS_DOCKER_TAG=2.0.0
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=ocis.<...>
# oCIS admin user password. Defaults to "admin".
ADMIN_PASSWORD=<...>
# The demo users should not be created on a production instance
# because their passwords are public. Defaults to "false".
DEMO_USERS=

### Wopi server settings ###
# cs3org wopi server version. Defaults to "v8.3.3"
WOPISERVER_DOCKER_TAG=
# cs3org wopi server domain. Defaults to "wopiserver.owncloud.test"
WOPISERVER_DOMAIN=wopiserver.<...>
# JWT secret which is used for the documents to be request by the Wopi client from the cs3org Wopi server. Must be change in order to have a secure Wopi server. Defaults to "LoremIpsum567"
WOPI_JWT_SECRET=<...>

### Collabora settings ###
# Domain of Collabora, where you can find the frontend. Defaults to "collabora.owncloud.test"
COLLABORA_DOMAIN=collabora.<...>
# Admin user for Collabora. Defaults to blank, provide one to enable access
COLLABORA_ADMIN_USER=admin
# Admin password for Collabora. Defaults to blank, provide one to enable access
COLLABORA_ADMIN_PASSWORD=<...>

### OnlyOffice settings ###
# Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test"
ONLYOFFICE_DOMAIN=onlyoffice.<...>

# If you want to use debugging and tracing with this stack,
# you need uncomment following line. Please see documentation at
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml

Additional context
The problem could be related to docker itself / os.
> docker --version
Docker version 20.10.21, build baeda1f82a
> docker-compose --version
docker-compose version 1.29.2, build 5becea4c
> inxi --verbosity=1 --filter --no-host --width
System:
  Kernel: 6.0.11-arch1-1 arch: x86_64 bits: 64 Console: pty pts/3
    Distro: Arch Linux
CPU:
  Info: 6-core AMD Phenom II X6 1090T [MCP] speed (MHz): avg: 811
    min/max: 800/3200
Graphics:
  Device-1: AMD Redwood XT [Radeon HD 5670/5690/5730] driver: radeon v: kernel
  Display: server: No display server data found. Headless machine?
    tty: 193x38
  API: N/A Message: No display API data available in console. Headless
    machine?
Drives:
  Local Storage: total: 4.2 TiB used: 413.33 GiB (9.6%)
Info:
  Processes: 259 Uptime: 32m Memory: 7.73 GiB used: 3.74 GiB (48.4%)
  Init: systemd Shell: Zsh inxi: 3.3.23

Docker logs:

ocis_wopi_wopiserver_1: no logs
ocis_wopi_traefik_1.log
ocis_wopi_onlyoffice_1.log
ocis_wopi_ocis-appprovider-onlyoffice_1.log
ocis_wopi_ocis-appprovider-collabora_1.log
ocis_wopi_ocis_1.log
ocis_wopi_collabora_1.log

You are experiencing a knonw issue #3832

Oh, sorry,
You can mark this as duplicate and close it then.
Unrelated question, can I deploy ocis without WOPI / collabora / office, and then add them after a while?
Maybe when the next release is out, for example.

Thanks a lot for the insight!


Third party providers

Great initiative making this style guide. Our team is looking into adopting these guidelines.
One thing that I want to bring forward at this point: what is the motivation for having the -provider in third party packages? It seems to be a style from Vapor 2 that didn't make it into Vapor 3 and I'm not sure I see the benefits in having this suffix. The guidelines suggest to omit it in the library name and in Package.swift we already have the full url indicating where a package is coming from.

Hey! Glad you’re enjoying the guide and considering adopting it.
Regarding the providers question, I’d like to ping @Andrewangeta for this as he wrote that section and I want to make sure we include his input as well. I believe the logic behind that section was to help differentiate between packages that provide 3rd-party functionality and packages that provide simple models or framework-level functionality. It’s a great point to bring up and something we should definitely consider before this gets merged into the Vapor docs (see the PR on vapor/documentation).

Yea we had his discussion some time ago when we were on slack and actually had the community vote on the style. Motivation being that it differentiated a third party service as opposed to just a separate module of functionality. A provider more or less is a vapor library for existing API’s like Stripe or google cloud or aws. While the repo name has the -provider it’s cleaner in code tohave the module or import statement to have the providers name itself like import AWS

@Andrewangeta so that means that it's not the presence of a Provider in your library, but more what your library wraps that dictates if it's a provider or not? E.g.:

I make a library that wraps Firebase = Provider
I make a library for handling everything related to auth = Not a provider (since it's not wrapping existing API's)

Is that correctly understood?

Correct @steffendsommer 👍

@Andrewangeta I apologise for the delayed reply. I would suggest that we remove this convention due to the following reasons:

I think it becomes hard to communicate when to use the suffix or not. We strive for consistency, so we might as well keep it simple and precise.
There could be some cases where one library has been fulfilling the requirements for being a provider but not anymore. In those cases, it would great not having to have to rename it (although GitHub makes this easy for you).
Who does this suffix add value to? The consumer? If the definition is vague, then there might be trust issues, leaving people to go through the readme (which they might do anyways). In other words, maybe it should be up to the readme to communicate what the library offers?

This is just some thoughts on the top of my head. We had this convention at some point but started to omit it for simplicity. What do you guys think?

I like your third point - I think the readme and docs for the package should properly explain what it does. Especially since the provider suffix is removed for imports and any actual usage of the library. @Andrewangeta what do you think?

I think the Provider type adds a lot of value in terms of being able to register multiple services as an abstraction (often presented as a library). From my vantage point it seems like this conversation is mostly revolving around the actual naming of those packages since they tend to provide more functionality than just offering a Provider. Does that make sense/am I off-base?

I think from visibility seeing the -provider extension in a repo from the vapor-community org makes it easier to know what I'm getting into. I'm assuming that people generally know what to expect when they see something like firebase-provider or stripe-provider. If anything since you made a good point about a Provider offering services, a package should be probably be named my-provider and any general library etc. could drop that suffix. Idk I think it just makes sense and it's easier to reason about looking through the repo names. It also sets a certain expectation because mainly this is about packages that will be hosted in the vapor-community org.

I think that if the reasoning is cosmetic in terms of an accessibility standard then an argument could also be made that the GH description and tags could replace that convention as well. It’s kinda a moot point in things like Package.swift since you should probably know what that library does at that point and you can assume it provides the functionality of its name.

I see your point, also with the tags I know in the docs there's a tag for vapor-service that links to all available plugins/providers/services.

@mcdappdev @Andrewangeta what are your thoughts on this? Do you want to keep it as it is or are you interested in updating it? If so, should I make a PR for it?

Yea I think it’s shouldn’t be a requirement to have the suffix. But at least for repos I maintain I’ll keep the suffix out of convenience of readability. 👍

Works for me!

@mcdappdev LGTM 👍

Perfect, thanks!