Added link to a book by O'Reilly

Head First C#, 3rd Edition

[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

Hi @gitmbgitmb, thank you for the PR! However, we do not accept PRs that only add links or books.
I'm going to close this PR, but feel free to open a new one with more content. Happy coding!


Reexporting of packages

I've noticed that StatisticalRethinking.jl is reexporting lots of packages which are not being used in methods.
For example, BSpline, has no references, but was exported.
This is a bit confusing, because it adds "fake dependencies" of the package and issues with importing both StatisticalRethinking and original package which was reexported.
To illustrate, if we do this:
using StatisticalRethiking
using Interpolations

methods(interpolate)

Will produce a warning
WARNING: both StatisticalRethinking and Interpolations export "interpolate"; uses of it in module Main must be qualified
Similar situation is with other reexported modules. This is very surprising that by importing StatisticalRethinking we're automatically getting full DataFrames methods set into our namespace. What if I don't want to use data frames? From my perspective, user should have a control over the functionality it gets by importing modules he is going to use, so, this "extra surpise bonus" is not very polite behaviour of StatisticalRethiking.

Hi Max,
This is a good point. As a (too?) broad generalization, this shows a characteristic difference between folks choosing the Turing route and folks simply trying to switch to Julia from R/Stan. The latter group has been my target audience until now and
as such I tried to hide complexities, such as finding which library to use, from those users
I've (barely) started to think about/address/work on this in the StatisticalRethinking v4 branch. The Stan side of SR4 will be based on AxisKeys.jl chains and decouple plot choices from SR4 (e.g. there will be separate packages StatisticalRethinkingPlots and StatisticalRethinkingMakie).
I'm traveling the next couple of days, but will at least be checking in during the evenings.
This is a very useful discussion and fresh views like yours help a lot!

Hi! Thanks for the explanation.
From my side, I have much simpler goals: I'm currently working on reimplementation of SR book's samples on Julia with Turing. Mostly for self-education, but also think the result might be useful for Julia popularisation. So far I've done 4 chapters (https://shmuma.github.io/rethinking-2ed-julia/) and find julia code much shorter and aesthetically pleasant than python+numpyro (https://fehiepsi.github.io/rethinking-numpyro/).
As I don't need to maintain STAN and previous versions compatibility, my suggestions and vision might be biased towards oversimplification, sorry in advance. But, on the other hand, 3rd opinion might always be useful.
So far, I have impression that StatisticalRethinking.jl might be a useful tool for somebody who has read a book and want to apply methods to practical problems using the tricks learned. So, it's more like an high-level set of utilities needed for bayesian methods (summary of DataFrame = precis(), or sampling from dataframe or chain data, etc), rather than some concrete set of methods and algorythims. In principle, over time, those functions could be contributed to more proper packages, (like, sampling from dataframe might be part of DataFrames) and eventually removed from StatisticalRethinking to reduce code duplicates. In any case, ideas have a tendency to migrate and spread.
In any case, during my journey through the book, I'm going to open issues on the problems I'll notice and do PRs :)
Thanks for the package, it is very useful.

Very interesting to understand where you are coming from and where you would like to go.
My "problems" started in chapters 5 & 6 (causal vs. correlated) and chapters 7 & 8 (model comparison). In R this was all available but not in Julia. With the recent release of ParetoSmooth.jl, some of the model comparison stuff has gotten easier to implement. And hence SR4 will switch from my own StatsModelComparisons.jl to ParetoSmooth.jl.
For the material introduced in chapters 5 & 6 I developed StructuralCausalModels.jl, but that is at best a bandage until a real Julia package is available that is on par with e.g. R's dagitty. R's dagitty and ggm packages have been developed and improved over many years.
In my experience, folks that really want to benefit from Turing do have to delve a bit deeper into Julia than the target audience I originally was aiming for. But I gladly took the work by Karajan to explore an early version of SR with Turing and had a similar experience as you, once you've written more Julia code "it just feels right". Unfortunately I lack the cycles (and to some extent the knowledge) to further that work.
I would be more than happy to give you full reign to take StatisticalRethinkingTuring to wherever you think it should go and collaborate on what consequences this might have on StatisticalRethinking.jl. Or you could simply decide to turn StatisticalRethinkingTuring from a project into a package and minimize dependency on SR.
My priorities are, in addition to SR4, to finish SR chapters 10 to 16.

With StatisticalRethinking v4 now available I believe the reexport-ing issue has been addressed. Thanks for giving me a gentle nudge!
The dependencies on other packages will also be further reduced over the next couple of weeks, either the dependency is not needed for SR to compile and can be added to the project environments, or, if it is needed for testing, a dependency can be moved to the [extras] section in Project.toml.
I'll close this issue for now.


Synthesis and summary

of Lean Inception Workshop results for interested parties

old roll over tickets from previous releases can be found here: https://apps.nrs.gov.bc.ca/int/jira/projects/SPAR/versions/19389

Data synthesis spreadsheet and summary document can be found here.
Now I'm working on some slides with a very high-level overview of the feature prioritization voting results

Added the summary slides in [that same folder](Data synthesis spreadsheet and summary document can be found here.).


Automatically determine tc_obs

Currently, the tc_obs path is not in the Mache path /lcrc/group/e3sm/public_html/diagnostic_output but rather /lcrc/group/e3sm/public_html/diagnostics/. Once it uses the Mache path it will be easy to have the code "guess" the proper path rather than hard-coding a distinct path.

Hey @forsyth2 I'm confused about this issue. tc_obs is supposed to be included in /lcrc/group/e3sm/public_html/diagnostics/ but not in diagnostic_output. I think the latter should hold diagnostics results, i.e., base path for web portal. https://github.com/E3SM-Project/mache/blob/df1ccc5f3593db6606e248fbd41c657becb456af/mache/machines/chrysalis.cfg

@chengzhuzhang  Ah, it looks like I got the paths mixed up in my description. Better explanation:
Currently in tests/integration/test_complete_run.cfg:

tc_obs is set to /lcrc/group/e3sm/public_html/diagnostics/observations/Atm/tc-analysis, which has TC Analysis nc files.  (Note that this prefix does not match the Mache web_portal base_path of /lcrc/group/e3sm/public_html/diagnostic_output.)
reference_data_path is set to /lcrc/group/e3sm/diagnostics/observations/Atm/climatology. (Note that the prefix /lcrc/group/e3sm/diagnostics matches Mache's diagnostics base_path.)
The matching-prefix directory /lcrc/group/e3sm/diagnostics/observations/Atm/tc-analysis does not exist. This is the directory I'm saying should exist.

This issue is pointing out that /lcrc/group/e3sm/public_html/diagnostics/observations/Atm/tc-analysis doesn't match a Mache path and thus must be hard-coded.

Okay, thanks for clarifying. According to a command from @xylar:https://github.com/E3SM-Project/zppy/issues/229#issuecomment-1107446081
/lcrc/group/e3sm/diagnostics/ should be used, but it seems out of sync with  /lcrc/group/e3sm/public_html/diagnostics/


[QUESTION] Can't Call one Controller function to another Controller

How to call one controller function to another controller ?

Ask support questions on our forum, thanks - this question has been addressed several times there already.
We use githuib for bug tracking.


webmock not working with ruby > 3 and open-uri

I'm working on updating an app from ruby 2.7 to ruby 3.0. I have one test that fails on ruby 3 but that works fine on ruby 2.7.
The class under test looks basically like this:
class MyClass
  require 'open-uri'

  def self.read_url(url)
    open(url).read
  end
end

The test (rspec) looks basically like this:
stub_request(:get, "http://www.octolabs.com").
  with(:headers => {'Accept'=>'*/*'}).
  to_return(:status => 200, :body => "test body", :headers => {})

contents = MyClass.read_url("http://www.octolabs.com")

expect(contents).to eq("test body")

Under ruby 3 the test fails like this:
Failures:

  1) MyClass read_url should go through webmock
     Failure/Error: open(url).read

     Errno::ENOENT:
       No such file or directory @ rb_sysopen - http://www.octolabs.com

If I remove the stub_request block it fails in the same way and doesn't suggest a request stub.

Oops, it appears I had missed a deprecation warning under 2.7.
It looks like open-uri no longer overrides the generic open method, and now you have to call URI.open.
I updated my class to look like this, and the problem went away:
class MyClass
  require 'open-uri'

  def self.read_url(url)
    URI.open(url).read
  end
end

I'm glad you managed to sort it out :)


Add section for development in Documentation

Submitting PR as per the discussion on the issue #68.

Reviews are implemented!

Thanks! Merged with 3ad133c


[Feature Request] Have a OAUTH Provider called "custom" or brandable

At the moment its hardcoded for one of the following providers;

Keycloak
Google
GitHub

Could we have a provider called "custom" or something you can brand yourself. There are lots of different providers out there and thinking a generic provider (or client looking at the config) reference will help reduce the amount of coding work in the future setting up each provider within the code. Unless truly needed due to some unique configuration settings.
I am using Authelia and as a workaround I am using the provider/client "keycloak" which works but the UI is all branded as Keycloak as the SSO provider which could confuse users

Hi, we have it see:
https://github.com/Stirling-Tools/Stirling-PDF/blob/316b4e42afbac31696dc188bb2de1ab783d47a03/src/main/resources/settings.yml.template#L13-L21
New providers are only encoded if they have a different behavior that others do not have, e.g. the logout with keycloak


Argo diff

I think you should approach this differently.  I think you should mimic the behaviour of for example the KubeScore() function. Calls a function which renders templates from information fetched from ArgoCD, then passes the rendered templates on to kubeScore(paths) to do the actual work.
You are now inputting argocdapps into the validateKyvernoPolicies. For kyverno to run, we  only require the rendered templates from the app, which is already handeled by the renderTemplates() fuction.
I think it is best to create a validateKyvernoPolicies function that just expects a list of rendered templates (paths).
This will simplify testing a lot and also improve reusability.
Currently the test fails because it is unable to download the repository where the policyfiles are stored. I would omit this for now and store the policy files in this repo (and also in the repo where the engineering image is build). Create an issue here that adds the task to fix auto downloading the policies.


Transaction Extension: purpose of the collection_id path parameter

What is the purpose of {collection_id} path parameter? It seems we can put an arbitrary value there and stac-fastapi will take collection name from the body.

Since there is no way to specify collection_id via UI it uses {collection_id} as it is :man_shrugging:

The STAC Spec also requires that a link with a rel type of collection be present if the collection property is present. This means that if you are using something like pystac.Item.validate to validate Items prior to insertion you have to add that link, even though it is going to be replaced by the backend anyway.
It seems like the desired behavior here would be:

Use the collection_id path parameter from the request if there is no collection property in the body or if that property is present and matches the path parameter
Raise an exception if the collection property is present and does not match the path parameter.


New package: LiteXLTeam.LPM version 1.3.1

Pull request has been created with komac v2.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


Fix docker test

@levb @alextoombs : we were running the entrypoint on the Mac box, using Mac kinit, which failed with only system kinit and polluted/stomped-on the kinit cache if another was present.  For a Docker test, force isolation completely with the advertised invocation wrapper.  That's all in run-heimdal.sh.
Also some robustness fixes to run.sh while I'm looking at it.

LGTM, @philpennock thank you for cleaning it up, apologies for my bash ignorance. I agree that the client should be isolated by default.


Update to Go 1.16.1

Update to Go 1.16.1 release
Signed-off-by: Phil Estes<EMAIL_ADDRESS>

/test all

/test pull-containerd-build
/test pull-containerd-node-e2e

/test pull-containerd-build
/test pull-containerd-node-e2e

@dims not sure how to figure out the e2e failure as it appears containerd isn't running (the socket file does not exist), but I don't see any errors explaining why it isn't..

@estesp from this log
Feb 19 18:10:40 tmp-node-e2e-d927e36f-ubuntu-gke-1804-1-16-v20200330 configure.sh[1805]: ++ echo master:e58be59cbded3dcadaf67164fdc37eb52afed66c,5056:e541b9b6d2f3649959bc050ab90566c4c9139278
Feb 19 18:10:40 tmp-node-e2e-d927e36f-ubuntu-gke-1804-1-16-v20200330 configure.sh[1805]: + deploy_dir=9773450dd82256b5520199d7cca8396adb2e727d
Feb 19 18:10:40 tmp-node-e2e-d927e36f-ubuntu-gke-1804-1-16-v20200330 configure.sh[1805]: + deploy_path=cri-containerd-staging/9773450dd82256b5520199d7cca8396adb2e727d
Feb 19 18:10:40 tmp-node-e2e-d927e36f-ubuntu-gke-1804-1-16-v20200330 configure.sh[1805]: ++ curl -f --ipv4 --retry 6 --retry-delay 3 --silent --show-error https://storage.googleapis.com/cri-containerd-staging/9773450dd82256b5520199d7cca8396adb2e727d/latest
Feb 19 18:10:40 tmp-node-e2e-d927e36f-ubuntu-gke-1804-1-16-v20200330 configure.sh[1805]: curl: (22) The requested URL returned error: 404
Feb 19 18:10:40 tmp-node-e2e-d927e36f-ubuntu-gke-1804-1-16-v20200330 configure.sh[1805]: + version=

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e

/test pull-containerd-build

/test pull-containerd-node-e2e

@dims any ideas? originally the problem was that the wrong bucket was being looked in because I added a commit between the "working" pull-containerd-build and the failing ..node-e2e runs; after fixing that I'm now getting:
Start Test Suite on Host tmp-node-e2e-483a515e-cos-81-12871-1245-10
timeout: failed to run command './ginkgo': Permission denied

Seems now that we aren't running CRI tests regularly post-merge maybe things are getting stale--we probably need to find some actions magic to trigger node-e2e tests on any commits that change CRI code or just run it daily via actions cron?

/test pull-containerd-node-e2e
going to try one last time to see if the gingko permission problem still persists. i don't think it will work as the underlying issue i saw in https://github.com/containerd/containerd/pull/5056#issuecomment-782274110 is still there. will dig into this more today

failed :  curl -f --ipv4 --retry 6 --retry-delay 3 --silent --show-error https://storage.googleapis.com/cri-containerd-staging/6f7489c0425b8b1f95d833592598f037fc138745/latest is failing
succeeded : curl -f --ipv4 --retry 6 --retry-delay 3 --silent --show-error https://storage.googleapis.com/cri-containerd-staging/containerd/6f7489c0425b8b1f95d833592598f037fc138745/latest
Looks like we introduced a containerd directory and forgot to update the script?

screen shot from https://storage.googleapis.com/cri-containerd-staging/ :

whoot ... time to move up local development environment to go 1.16.1!

Removed the cherry pick since we now have #5178 after the quick turnaround of another Go point release.


Release metrics API as 1.0

Because of the way lerna links peer dependencies, the big release depends on the API package being released first. This should fix the compilation issue.

Holding for #3357 please take a look at that. If we don't merge that, then the API can't be used with backwards compatible versions like the main API can


More changes to method docstrings

Reversed the values for lat and lon in these lines:
Distance from a lat/lon pt as [lat,lon,radius (mi)]e.g. radius=[-120,40,20]
You can ignore the .gitignore changes. Just replace my MesoPy.py with yours.

Sorry, I meant just apply the corrections that I did in MesoPy.py (https://github.com/ajoros/MesoPy/commit/a02dfa10deec0ec67d5b62fbc29aff8898c87e5b)


Fix wrong structure sizes

Please check the structure sizes, some of them are wrong. For example here are the correct sizes, that i found till now:
Big Betty: 7x4
Depot: 10x4
Small Trading Post: 7x11
Pier: 7x8
Sailing Shipyard: 7x15

I just checked without playing the game.
presets.json 3.1.1
Wiki
Big Betty
presets: 4x4
wiki: 4x6
Depot
presets: 14x4
wiki: 4x10
Small Trading Post
presets: 4x7
wiki: ---
Pier
presets: 4x6
wiki: 6x7
Sailing Shipyard
presets: 4x6
wiki: 6x15

I know but coastal buildings only measured the "Placeable " Building ground not the sea area that is 'Blocked'. On the Wiki is stated that also
The sizes in Preset are  directly from the data files of anno

Then it makes sense to use existing values in presets.json.
Another approach would be to extend the datamodel and add separate blockers for land and sea. I don't know if those values exist in the extracted data.
I think the missing feature is to plan a harbour. But this could be complicated.

I do not know of there is a part of "Blocked' area data, i can look, but i can not do that today, i run some tests of an other branch and then i gone do something else today.
So, i case of this, i will look tomorrow on the buildblocker data files to see of i can find some of this data

As additional information :
The size that is in the preset is the size the building NEED on the coastline as example : the green box of the shipyard (sail) is counted as size)

Ofc : the measurements of the total size of the shipyard (and his sea blocking area) is also imported to know on pre-build harbors in the Anno Designer : So you know why this is.
I still will look into this matter tomorrow if i have some time :)

Extra Information :
I have found some values i can do something with, however i need to check all coastal buildings to see of all values are right
I can tel you already the 'x15' is a measurement to mark the building as 'endless water blocker' means nothing can be build before this building on the water line

Can this issue be closed?

Yeah, i think it can be closed, as i can not find any data to do this or make this idea working


Duration role

Role is false

Hi there,
I have the following problem (iobroker.deconz 1.2.6):
The duration is set to the standard value (Aqara Motion) of 90 s. If I start the adapter, the sensor changes after 90 s the status. After several hours, the sensor no longer changes status after 90s. This takes several minutes. After restarting the adapter, it works again.
Is that the same problem?

@EduardSarjadjuk no this issue has nothing to do with your problem.
That what you describe is a problem with the connection to deConz. Update deConz to version .74, if this problem is still there i cant do anything.

d42f2bd49eaa08dc0a664d063b970b3b5e685335


[CT-3481] [Bug] Manifest parsing yields None macro dependency

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Given an unknown macro under models.columns.tests :
models:
  - name: second_model
    description: "The second model"
    columns:
      - name: fun
        tests:
          - not_null
          - unknow_macro  # this is either invalid or a typo

The manifest file yields a None in the node.depends_on.macros for the test node.

dbt parse succeeds even though the manifest is invalid.
dbt compile fails as expected, but it fails during the SQL generation/querying when it tries to render the None macro.

Expected Behavior
Both parse and compile commands fail because the manifest is invalid.
Currently, compile fails later on (SQL step), but it could (should ?) fail earlier.
Steps To Reproduce
I have a closed PR to document this.
tldr; Every Macro#get_macro_id is followed by an if statement but the one in SchemaGenericTests.
Relevant log output
No response
Environment
No response
Which database adapter are you using with dbt?
postgres
Additional Context
I added tests in the compile fixtures because I did not know where it happened. Now that the debugging is done, I believe the actual tets should live somewhere alongside the Manifest ones.

:wave: @dbeatty10 I don't mind reopening the PR, I think the tests in there are kind of poor, and should live somewhere else. I also don't know if there are some macros that are dynamically resolve at runtime, but I doubt it is the case.
If you feel comfortable with the changes, I can reopen the PR, move the tests at the right place and we can go from there

That sounds great @mazinesy 🚀
One of our engineers will assigned to review and help take a look at the edge cases, location of the tests, etc.


save and close

[Enter feedback here]
The shortcut for save and close in documents and card pages is incorrect. ctrl+enter doesn't close a card or document page.
Tried both in Edge and Chrome.

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

ID: d96fd662-e905-9df6-60f5-c709f92077c1
Version Independent ID: 172fd943-0f5c-6d4c-b764-ced7fd077a96
Content: Keyboard Shortcuts - Business Central
Content Source: business-central/keyboard-shortcuts.md
Service: dynamics365-business-central
GitHub Login: @bholtorf
Microsoft Alias: bholtorf

Hello, This might be an error in code or a change in functionality. We've recorded an internal defect to investigate. Thanks for the feedback.


Marker z-index

Hi,
Is there a way to define which marker goes on top of another marker when they overlay?
I can't find anything about it in the documentation.
Thanks in advance

Try using 'zIndexOffset' : 1000 in your marker object.

@SjRNMzU that worked! Thanks!

Closing this issue


adding test and fix for system properties changes

This changes are required to make sure that the System Properties are not messed up after running several Maven Builds.
I've included a test to check that after the build the properties are back to normal.

jenkins please restest this

@porcelli Are you OK with this now?

@manstis I still have problems with this, i'll change myself and update PR soon.

@porcelli still on your list?


fetch data from server database to seeder (#64) task-1

Hello @lelouchB, I just uploaded the PR how you told me, I was about to give up since the task was completed, but I promised to upload it and here it is, if there is any issue that I can help with, I'm happy to do it, greetings!

Hey @guzbarraf
Can you fix resolve the conflicts and this issue

1 for Unused variable, import, function or class

Hey @guzbarraf
Can you fix resolve the conflicts and this issue

1 for Unused variable, import, function or class

Yes i fix it

Hey @guzbarraf
Can you fix resolve the conflicts and this issue

1 for Unused variable, import, function or class

Yes i fix it


w2grid markSearch() not properly escaping values when highlighting search results

Currently in our grid we have emails contained in < and > (e.g. Test User <testemail@example.com>). We can properly escape them with our own function so it displays properly in the grid without an issue. However, when you perform a search (e.g. search for "test") it seems like in w2utils.js converts any properly escaped values into HTML anyway, which breaks the display and adds an extra malformed  tag with some info in it.
It seems like some regex is used to clear the markers/add markers which could probably be changed to building actual DOM elements to avoid any HTML injection as well.

Upon further inspection, it seems like the recordTitles property of w2grid actually affects this. Having that option on for the grid will result in the broken cell value (and in turn broken title as well).

I need an example. I cannot replicate it. Can you create JS fiddle?
I tried to use < and > and it seems to work. It's unlikely to work with search though

I made a JS Fiddle here: https://jsfiddle.net/7rja0f53/
Just use the search (with advanced on) to search for "doe" and see that it reformats the email column cell texts to look weird.

It also messes up the text displaying in the "title" (on hover):

Any update on this, does the JS Fiddle I provided help?

A little more digging revealed that in w2utils.js:marker() you are replacing every instance of searchterm with the searchterm. The bug is when the searchterm also appears in the title (which happens when you are searching for a username, and the username also appears in the email, which is formatted searchterm <searchterm@site.com>).
So a cell goes through the following transformations:

Before adding marker:

  <div title="Ryan Budhu (rbudhu<EMAIL_ADDRESS>    Ryan Budhu (rbudhu<EMAIL_ADDRESS>

After adding marker:

  <div title="Ryan Budhu (rbudhu) <<span<EMAIL_ADDRESS>    Ryan Budhu (rbudhu<EMAIL_ADDRESS>

Which kind of breaks down at the div title when the span marker opens the first " for it's class attribute.
So the marker() function should probably not do a simple text replace of the whole HTML, or at least just figure out a way to exclude replacing anything within the title attribute.


Mention of deprecated symbols in 101 samples

Hello,
I am starting to learn the libgit2 API and in the first example I wanted to try I stumbled upon git_indexer_progress: https://libgit2.org/docs/guides/101-samples/#repositories_clone_progress.
Unfortunately, this does not appear anywhere in the reference: https://libgit2.org/libgit2/#HEAD/search/git_transfer_progress.
Further investigation showed that it is simply because it is a deprecated name of git_indexer_progress.
So, I will definitely do a PR for this particular instance, but it would be nice to be able to catch all such symbols automatically if possible.
Do you think there would be a reliable way to do so, or we should try to parse the "deprecated" header ?

Very good question. It wonder if we can do something clever here that fixes two problems:

These are text docs / markdown and so easy to get out of sync with our code or best practices. We don't break APIs very often -- but we will in a SHA256 compatible world. 😱
Our "examples" are a poor attempt at a git cli implementation.

I can imagine a world where our examples are smaller pieces of code -- or that we pull the samples data out of the examples code itself. We probably wouldn't want all the boilerplate, so you can imagine something like:
#include "git2.h"

int main(int argc, char **argv)
{
    /** sample start: clone (progress) */
    progress_data d = {0};
    git_clone_options clone_opts = GIT_CLONE_OPTIONS_INIT;

    clone_opts.checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
    clone_opts.checkout_opts.progress_cb = checkout_progress;
    clone_opts.checkout_opts.progress_payload = &d;
    clone_opts.fetch_opts.callbacks.transfer_progress = fetch_progress;
    clone_opts.fetch_opts.callbacks.payload = &d;

    git_repository *repo = NULL;
    int error = git_clone(&repo, url, path, &clone_opts);
    /** sample end */
}

I had time earlier than expected, so I tinkered yesterday with a bit of python, and I think I am on the right track. Currently, I have a script that cut the existing index into independent files, and another one that seem back the files into a single markdown file. A third script converts the individual markdown files into C files and try to compile them.
The current state of the examples doesn't make this approach viable yet because it is basically impossible to parse a C snippet where the main function is implicit, but with some well-placed markings there should be no problem.
As an example, one file may be something like that:
One can track the progress of the clone operation thanks to a callback.

~~~c
typedef struct { /* … */ } progress_data;
int fetch_progress(
            const git_indexer_progress *stats,
            void *payload)
{
  progress_data *pd = (progress_data*)payload;
  /* Do something with network transfer progress */
}

void checkout_progress(
            const char *path,
            size_t cur,
            size_t tot,
            void *payload)
{
  progress_data *pd = (progress_data*)payload;
  /* Do something with checkout progress */
}

// !BEGIN_MAIN
progress_data d = {0};
git_clone_options clone_opts = GIT_CLONE_OPTIONS_INIT;
char *url = "https://github.com/libgit2/libgit2";
char *path = "libgit2";

clone_opts.checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
clone_opts.checkout_opts.progress_cb = checkout_progress;
clone_opts.checkout_opts.progress_payload = &d;
clone_opts.fetch_opts.callbacks.transfer_progress = fetch_progress;
clone_opts.fetch_opts.callbacks.payload = &d;

git_repository *repo = NULL;
int error = git_clone(&repo, url, path, &clone_opts);
~~~

([`git_clone`](http://libgit2.org/libgit2/#HEAD/group/clone/git_clone),
[`git_clone_options`](http://libgit2.org/libgit2/#HEAD/type/git_clone_options))

Which would either be pasted mostly as-is in the index.md (without the !BEGIN_MAIN mark, or maybe replacing it with a more human friendly comment) and would produce a C program like that:
/*
 * Repositories
 * Clone (Progress)
 * This file is automatically generated for testing purpose.
 */
#define GIT_DEPRECATE_HARD
#include <git2.h>

/* One can track the progress of the clone operation thanks to a callback. */

typedef struct { /* … */ } progress_data;
int fetch_progress(
            const git_indexer_progress *stats,
            void *payload)
{
  progress_data *pd = (progress_data*)payload;
  /* Do something with network transfer progress */
}

void checkout_progress(
            const char *path,
            size_t cur,
            size_t tot,
            void *payload)
{
  progress_data *pd = (progress_data*)payload;
  /* Do something with checkout progress */
}

int main()
{
  git_libgit2_init();
  progress_data d = {0};
  git_clone_options clone_opts = GIT_CLONE_OPTIONS_INIT;
  char *url = "https://github.com/libgit2/libgit2";
  char *path = "libgit2";

  clone_opts.checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
  clone_opts.checkout_opts.progress_cb = checkout_progress;
  clone_opts.checkout_opts.progress_payload = &d;
  clone_opts.fetch_opts.callbacks.transfer_progress = fetch_progress;
  clone_opts.fetch_opts.callbacks.payload = &d;

  git_repository *repo = NULL;
  int error = git_clone(&repo, url, path, &clone_opts);
  return 0;
}

/*
 * ([`git_clone`](http://libgit2.org/libgit2/#HEAD/group/clone/git_clone),
 * [`git_clone_options`](http://libgit2.org/libgit2/#HEAD/type/git_clone_options))
 */

Do you think this would be an acceptable solution for this project?
If so, would you be OK with python scripts? Alternatively, I can port them to ruby since Jekyll already require that.


New "Draw Window Frame"

Ok, this is a doozie.
I have completely re-written how Window, Menu, and FrameView draw their frames. Previously there were 2.36 implementations of this code, that eventually called into Driver.DrawFrame. That function did an ok job, but had a bunch of bugs with -1, 0, and 1 height / width scenarios that made things look cruddy when views were not an 'ideal' size.
I may have missed something, but I think the new version is much more robust.
I've left the current ConsoleDriver.DrawFrame API in place, retaining it's old behavior (but with new implementation). A new ConsoleDriver.DrawWindowFrame sits underneath it that provides more flexibility that will make it easier to make window frames more flexible in the future.
I've also moved the rendering of window Titles into ConsoleDriver.DrawWindowTitle so it can be leveraged across multiple views (Window and FrameView today. I set things up so that it could eventually support TextAlignment... The new implementation honors padding values, ensuring the title is not drawn when the window is sized < 0 (reducing ugly stuff).
In addition, the new code supports the concept of left, top, right, and bottom padding being set differently. This, in turn, fixes a lame bug where the padding value passed to Window (et. al.) was actually only applied to the sides (and incorrectly).
In addition, addition, in doing all this I fixed the bug that was causing Views to not clip their contents correctly.

Closes #508 - Window & FrameView sharing code
Closes #399 - Views don't clip
Leads to Miguel's suggestion in #463 - Better layout
Leads us to fixing #547 (Padding based on Thickness),
Leads to fixing #519 (turn off border on 'Window1).
Make it possible to build a Split Panel control (#505)

@BDisp would you please pull down this PR and give it a whirl to ensure I didn't break anything before I accept it?

I will.

This is very cool.

I love this change.
Charlie, feel free to do the merging honors!


error message running - Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Last time I ran out the script it stalls and I've got the following error message:
Unexpected token '<', "<!DOCTYPE "... is not valid JSON

steam-tracker was down

thanks


Added a tailwind component for a contribution card

What type of PR is this? (check all applicable)

[ ] ♻ Refactor
[ ✓] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 👷 Optimization
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description

Added a contribution card component to display various open source projects and invite developers to contribute.

Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Added to documentation?

[No] 📜 readme
[ No] 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

If you find any mistake  in my PR, please let me know


Might be worth highlighting that the default (Dask) executor parallelizes execution of electrons

What should we add?
Unless I've missed it somewhere in the docs, I'm not sure it's mentioned that the default (Dask but also Local) executor runs electrons in parallel when resources allow. This might be nice to highlight, as it demonstrates a clear value of dispatching workflows with Covalent even if you are just running them locally. This should be fairly obvious to anyone who has used Dask, but I imagine most users will be unaware of how Dask works and perhaps won't even realize that this is a feature they are getting out-of-the-box.
For instance, the following example is quite illustrative:
import covalent as ct
import time

@ct.electron
def add(a, b):
    time.sleep(5)
    return a + b

@ct.electron
def mult(a, b):
    time.sleep(5)
    return a * b

@ct.lattice
def workflow(a, b):
    out1 = add(a,b)
    out2 = mult(a,b)
    return out1 + out2

t_start = time.time()
dispatch_id = ct.dispatch(workflow)(1, 2)
result = ct.get_result(dispatch_id, wait=True)
print(time.time()-t_start)

The output time is < 10 seconds (I get 6.4 seconds). Naturally, the following returns in slightly over 10 s (with or without the decorators, of course).
import covalent as ct
import time

@ct.electron
def add(a, b):
    time.sleep(5)
    return a + b

@ct.electron
def mult(a, b):
    time.sleep(5)
    return a * b

@ct.lattice
def workflow(a, b):
    out1 = add(a,b)
    out2 = mult(a,b)
    return out1 + out2

t_start = time.time()
result = workflow(1, 2)
print(time.time()-t_start)

As a side-note, should executor="local" be parallelizing things?

Hi @Andrew-S-Rosen , executor="local" does indeed parallelize tasks using a simple ProcessPoolExecutor -- but you'll likely find Dask more reliable and capable. For instance, Dask allows one to cancel running tasks whereas with the "local" executor you can at most cancel tasks that haven't been picked up yet by the executor.
I would reserve the local executor for basic testing or debugging and use dask for anything more serious.

Hi @Andrew-S-Rosen , executor="local" does indeed parallelize tasks using a simple ProcessPoolExecutor -- but you'll likely find Dask more reliable and capable. For instance, Dask allows one to cancel running tasks whereas with the "local" executor you can at most cancel tasks that haven't been picked up yet by the executor.
I would reserve the local executor for basic testing or debugging and use dask for anything more serious.

Also to add on to this, @Andrew-S-Rosen note that local does not schedule or handle memory requirements at all while dask will make sure to gracefully fail and allocate memory for each workers as well.


Using data-sort with numbers with decimals reverses intended sort order

For instance, giving <td>'s a data-sort="0.79" sorts the opposite direction (but sort still seems correct).
http://jsfiddle.net/5uxesa5q/

Looks like numbers with decimals are being sorted as "dot separted numbers".  See commits above for simple fix.

Hey @timbowhite, I've fixed that issue. The '<' and '>' signs were swapped. That's all it was.
http://jsfiddle.net/qhq7cwdL/


open position

Hello, are you still an active developer in cs? We would like to hire you to work on a p2p skin trading system for our platform

Hello, are you still an active developer in cs? We would like to hire you to work on a p2p skin trading system for our platform

Hello,
how can I be of service?

Would you be able to create a p2p CS skin deposit/withdrawal system like what all of the cs2 casinos and skin trading platforms currently have?

Would you be able to create a p2p CS skin deposit/withdrawal system like what all of the cs2 casinos and skin trading platforms currently have?

Besides hosting, yes. I am able to create such website. Talking Backend (API) and Frontend (UI)

Can you please contact @Arya_Elsher on Telegram or relaxing5057 (relaxing#5057) on Discord. We will take it from there!


Adds Uppercase words in topic name randomly

This adds uppercase words in the topic name randomly.
THE ISSUE: https://github.com/zulip/zulip/issues/14991
Testing Plan:

repopulate the database by using : ./manage.py populate_db
./tools/run-dev.py

Welcome @anshgit101 !  Can you clean up the commit message?
Check out our GitHub guide and commit guidelines for details.
Can you post an example screenshot of the messages and topic names generated too?

Example screenshots of the Topic Names:

@anshgit101 Looks fine to me, I think you should work towards other steps, which you find doable for you. @timabbott will do a final review on this, which could take a week at max.

Merged!  Thanks @anshgit101 and @amanagr


Alignment to other PyAnsys libraries

As per private conversation with @waltersma, I spend some time reviewing the repository and identified the following potential tasks. These will allow to align to other PyAnsys libraries:

[x] #341
[x] #340
[x] #339
[x] #338
[x] #336
[x] #337

I think those are the main major changes I can think of! I'd be happy to help as needed. Please let me know if you agree with all the changes. I'd create smaller PRs for each of the aforementioned tasks so that it is easier to review. And thanks in advance!

The changes needed for the next release have been synced up with our internal fork now. You can proceed with the refactoring necessary to complete the tasks above. Keep me in the loop with your PRs.

Sure, thanks @ninad-kamat! Opening individual issues for each of the above points 😄

Hi @ninad-kamat this has been finalized with the implementation of the multi-version docs. Right on time for your next 0.3.0 release =) Closing issue since it was only necessary for tracking purposes.


Ds4drv rosdep

Adding a ds4drv rule to rosdep.  The wheel rule is included in this pull request as ds4drv does not install without wheel being installed too.
I'm using ds4drv to control a robot from a Sony controller and need to be able to install these dependencies.
ds4drv
A Sony DualShock 4 userspace driver for Linux
https://pypi.python.org/pypi/ds4drv/0.5.1
wheel
A built-package format for Python
https://pypi.python.org/pypi/wheel/0.30.0a0

What about the ds4drv pip entries for debian ? (and other platforms?)

I would be fine to add that if you want.  I noticed a number of other rules only had one OS entry and thought they might just be getting added as needed.

Having the full spread across platforms is less important for pip rules since they cannot be used for packaging. They only need to be available in the expected development environments. But in general they're good to have.


Distribute a standard build for npm

I want to use lock-passwordless along with webpack. Instead of adding loaders I think the right approach will be to distribute with npm a version similar to the standalone.

Hi @impronunciable, you're right. Using lock-passwordless with any module bundler should be easier. I'll work on this and would love to have some feedback before releasing it.

Thanks!
On Wed, Dec 23, 2015, 2:25 PM Gabriel Andretta<EMAIL_ADDRESS>wrote:

Hi @impronunciable https://github.com/impronunciable, you're right.
Using lock-passwordless with any module bundler should be easier. I'll work
on this and would love to have some feedback before releasing it.
—
Reply to this email directly or view it on GitHub
https://github.com/auth0/lock-passwordless/issues/82#issuecomment-166949494
.

@impronunciable please try v2.2.0 and let us know if you have any issues

:iphone:

Thank you for the follow up. I'll get back from vacations next week and
will try it.
On Thu, Jan 14, 2016, 4:27 PM Matias Woloski<EMAIL_ADDRESS>wrote:

[image: :iphone:]
—
Reply to this email directly or view it on GitHub
https://github.com/auth0/lock-passwordless/issues/82#issuecomment-171751998
.


FT: AZURE - Config and PUT

Config
Health-checks
Put

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "ft/azureconfig"}
Please follow http://ci.ironmann.io/gh/scality/Integration/14047 for CI status.

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "ft/azureconfig"}
Please follow http://ci.ironmann.io/gh/scality/Integration/14064 for CI status.

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "ft/azureconfig"}
Please follow http://ci.ironmann.io/gh/scality/Integration/14071 for CI status.

@ironman-machine ok2

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "ft/azureconfig"}
Please follow http://ci.ironmann.io/gh/scality/Integration/14080 for CI status.

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "ft/azureconfig"}
Please follow http://ci.ironmann.io/gh/scality/Integration/14084 for CI status.


Format subgroups tests according to clang-format

Before fixes in my previous PRs I need to format this test suit according to .clang-format

@kepatil Could you look at this PR? Only clang format changes. It helps me fix my other PR-s in this test suite.

I've pushed after rebase.
Please review and merge (this is only clang-format changes).
This stops me to publish other commits/pull_requests in subgroups

Any objections to this going in? In the absence of comments, I'll merge it on 2020/05/19.


Astats cookie location

Hi,
Where can i find the Astats login cookie ID/PHP session ID in my macbook?

Figured it out. Closing it now

Added a detailed explanation to the readme, which hopefully helps others in the future. Thank you for your feedback!

Added a detailed explanation to the readme, which hopefully helps others in the future. Thank you for your feedback!


Strategic Range missing from range options

Page 224 of the Genesys core rule book indicates that there is a sixth range band, Strategic

Oops. Its there


Consider updating GCC in build_essential for Solaris

We currently pin this to version "4.8.2" with a note that we're not ready for 5.0. This probably isn't what most people would expect. I believe this was an internal decision for our builders.

@scotthain I know we added that pin based on our internal usage of the resource for build machines. Is that still a thing we should be doing?

@tas50 4.8 was the latest when we did the original setup all those years ago - it looks like 5.3 is available now - I'll see if we can upgrade internally.

Thanks @scotthain

@scotthain did you get a chance to try this out?

@tas50 I believe we looked into this and ran into blocking/showstopper issues for maintaining backwards compatibility - @jaymalasinha do you have the details?

This should get done for Chef-16 and a way to pin it back needs to be exposed in case we need it internally (and other people likely need it externally)


[Bug] ERROR:spleeter:ffmpeg binary not found

[✔] I didn't find a similar issue already open.
[✔] I read the documentation (README AND Wiki)
[✔] I have installed FFMpeg
[✔] My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)

Description
After following all of the provided steps for installation, having installed ffmpeg and libsndfile, the only outcome when I try to separate a tarck is this.
ERROR:spleeter:ffmpeg binary not found
Step to reproduce

Dependencies installed using miniconda3
Library installed using pip in regular cmd
Run spleeter separate -o audio_output [my file's directory]

Output
Expected outcome:
The program getting my tracks separated.
Obtained outcome:
ERROR:spleeter:ffmpeg binary not found

Environment

OS
Windows 11 Home 64 bits

Installation type
Conda / pip

RAM available
7.30 GB

Hardware spec
Nvidia Geforce GTX   1650, AMD Ryzen 5

Computer
HP Pavilion Gaming Laptop 15

Additional context
At first, i didn't know how to install ffmpeg so i just downloaded it from the webpage and executed it, then closed it.
It didn't do anything so I installed ffmpeg with pip.
I checked a ton of times that it was installed before everything else.
Then, i executed pip install spleeter.
After some time, it says everything is completed, but I double check everything's done executing pip install spleeter.
I try to separate the file as the image says, and I receive the error.
Later, I realize that I shouldn't have installed ffmpeg with pip, so I pip uninstall spleeter and then hop on to miniconda3 (anaconda, basically) to run conda install -c conda-forge ffmpeg libsndfile.
It goes fine.
I open cmd and run pip install spleeter once more to see if it works.
Same error comes out.
What did I do wrong here?
How can I fix this?
Do you recommend me any tutorials? I couldn't find any of them that were up to date.
Thanks.

Encountered the same issue. I have installed ffmpeg-python. Using Windows machine
CMD>python -m spleeter separate -p spleeter:2stems -o output audio_example.mp3
ERROR:spleeter:ffmpeg binary not found
CMD> python -m pip show ffmpeg-python
Name: ffmpeg-python
Version: 0.2.0
Summary: Python bindings for FFmpeg - with complex filtering support
Home-page: https://github.com/kkroening/ffmpeg-python
Author: Karl Kroening
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: \appdata\local\programs\python\python38\lib\site-packages
Requires: future
Required-by: spleeter

FFMPEG exe package file and adding the path to environment variable worked for me.
For download check out: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z

FFMPEG exe package file and adding the path to environment variable worked for me. For download check out: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z

Thank you - this was very helpful


check if bufdata.last_win != nil

When opening nvim in diffview (nvim -c DiffviewOpen) and then toggeling aerial, aerial errors when trying to call vim.api.nvim_win_is_valid(bufdata.last_win) as bufdata.last_win == nil. This change adds a check and returns in case of a nil value.

LGTM thanks!


Problem with description containing ' ; '

When I was running against MK66F18.svd, I got strange errors when trying to compile.  Afer a quick look above the error, I noticed some incorrectly formatted doc strings.  It turns out that when the description tag in the input document contains ' ; ' (without the quotes), it doesn't format correctly.  I removed the leading space from the input document and the doc string got formatted correctly.
Example input line (56250) that caused issues:
<description>When DIFF=0:It is single-ended 12-bit conversion ; when DIFF=1, it is differential 13-bit conversion with 2's complement output.</description>

The error I get when trying to compile:
[rb747@rbf2803wv t1]$ xargo build --example hello
   Compiling t1 v0.1.0 (file:///Users/rb747/prog/rust/t1)
error: unknown start of token: `
      --> src/lib.rs:312007:58
       |
312007 |             #[doc = "Checks if the value of the field is `_00`"]
       |                                                          ^
       |
help: unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it's not
      --> src/lib.rs:312007:58
       |
312007 |             #[doc = "Checks if the value of the field is `_00`"]
       |                                                          ^

error: Could not compile `t1`.

The malformed line (311983) in the code:
        pub enum MODER {; when DIFF=1, it is differential 11-bit conversion with 2's complement output" ] _10 , # [ doc = "When DIFF=0:It is single-ended 16-bit conversion..; when DIFF=1, it is differential 16-bit conversion with 2's complement output" ] _11}

Issue seems to be fixed in 0.4.0 of rustfmt.


Failing to build 9.1.0

Building version 9.1.0 from source fails with error
git checkout 9.1.0
mvn clean install

[ERROR] Failed to execute goal org.jboss.galleon:galleon-maven-plugin:3.0.0.CR1:provision (server-provisioning) on project wildfly-camel-config: Failed to provision the state: Failed to read galleon/universe/producer/locations/wildfly-servlet/maven-producer.xml: ParseError at [row,col]:[7,12]
[ERROR] Message: Failed to instantiate producer wildfly-servlet: Failed to parse galleon/universe/producer/wildfly-servlet/maven-producer.xml: ParseError at [row,col]:[6,22]
[ERROR] Message: unexpected content: element start{urn:jboss:galleon:maven:producer:1.0}default-channelnull

Ability to compile older versions is important, given that WildFly 15.0.1.Final is not that old.
Whats the proper procedure for applying fixes to older versions?
I've tried the following
Changing version of org.jboss.galleon:galleon-maven-plugin to 3.0.1.Final-4.0.3.Final changes nothing, 4.0.4.Final fails with diffrent error
[ERROR] Failed to execute goal org.jboss.galleon:galleon-maven-plugin:4.0.4.Final:provision (server-provisioning) on project wildfly-camel-config: Execution server-provisioning of goal org.jboss.galleon:galleon-maven-plugin:4.0.4.Final:provision failed.: ProviderMismatchException

java.nio.file.ProviderMismatchException happens because WfInstallPlugin compares paths that are on diffrent filesystems, one of them is ZipFileSystem. It was fixed in WFGP-122  but wildfly-galleon-plugins.jar embedded in wildfly-core-galleon-pack-7.0.0.Final is in version 3.0.0.Final.
What I'd like to be able to rely on is all releases of WildFly Camel Subsystem  building after they were released, which is sadly not the case here.

I can't think of any simple way to resolve this. The Galleon plugin seems to be fundamentally broken in all releases before 4.0.4.Final and I don't think it's possible to adjust the dependencies that the Galleon packs are tied to.
We don't really have a formal policy of patching older releases. We usually 'fix forward' and expect folks to move on to the next WildFly / Camel releases that the subsystem supports.
All of the releases from 10.0.0 onwards build fine with galleon-maven-plugin 4.0.4.Final. It's unfortunate that 9.1.0 remains in its broken state.

That's what I was afraid of. Unfortunately, I can't upgrade from WildFly 15 right now. I'm willing to do the maintenance work on 9.1, but the fact that I can't even build that thing is kind of jarring.
Do you think that the Galleon issue can be fixed in WidFly 15.0.x fork?

Yes, I was thinking that you could possibly fix it by forking WildFly / WildFly Core to tweak the Galleon version and rebuild wildfly-core-galleon-pack.

@jarek-przygodzki I agree this is a bad situation. Pls complain loudly on the WildFly channel. Oleksiy Lubyanskyy who leads the Galleon effort is very helpful. Once the fix is provided there we can also fix it here.

Yes, I was thinking that you could possibly fix it by forking WildFly / WildFly Core to tweak the Galleon version and rebuild wildfly-core-galleon-pack.
That's feasible, since we already use a fork of 15.0.x. How would I go about doing this?

How would I go about doing this?

Something like this (I think)...

Branch wildfly-core from the 7.0.0.Final tag, update the Galleon versions in pom.xml to 4.0.4.Final and build the project

Modify WildFly pom.xml to incorporate the new wildfly-core build. Also update the Galleon version properties.

Branch WildFly-Camel from the 9.1.0 tag and update the WildFly version property to point at your new WildFly build. Also update update the Galleon version properties (there are 2). version-wildfly-galleon-plugin will likely need to be something like 3.0.1.Final

It might work, I've not tried it. Obviously the ideal solution would be for the WildFly team to resolve this problem.

It might work, I've not tried it. Obviously the ideal solution would be for the WildFly team to resolve this problem.

I will give it a try and let you know if it worked. Unfortunately, I'm afraid that chances of another official release from 15.0.x branch are pretty slim.

It worked, eventually.  I run this script and first attempt failed with silly error because of GERONIMO-6590: turns out org.apache.activemq:activemq-spring:jar:5.15.7 brings dependency to artifact with damaged POM. How was that not an issue when 9.1 was released?
[ERROR] Failed to execute goal org.wildfly.galleon-plugins:wildfly-galleon-maven-plugin:4.0.4.Final:build-feature-pack (feature-pack-build) on project wildfly-camel-feature-modules: Exception while reading model for org.apache.geronimo.specs:specs:pom:1.1. Resolved pom file c:\m2\repository\org\apache\geronimo\specs\specs\1.1\specs-1.1.pom: Failed to parse artifact POM model: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</developers>\n    `\n    <p... @91:7) -> [Help 1]
[ERROR]

After fixing that, the build seems to succeed (didn't run full test suite).

Likely something changed between the 3.x version and 4.x of wildfly-galleon-maven-plugin (maybe it swallowed such errors?), so it was never an issue for the original 9.1 release.

I consider this resolved, so closing.


SQL comments not showing in interface godocs

Version
1.11.0
What happened?
When the go code is generated, the docstrings are written on the Querier interface methods.
This is annoying because the ide will check the docstring of the interface and not the one from the implementation.
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

Can you please include a full reproduction of the issue?

I've created a repo with an example:
https://github.com/sbres/sqlc_example
The query code:
-- name: CreateNewUser :one
-- CreateNewUser will create a new user
INSERT INTO users ("name", "email", "password")
VALUES (
    $1, $2, $3
)
RETURNING id
;

The sqlc.yaml file config
version: "1"
packages:
  - name: "sqlc"
    path: "sqlc"
    queries: "query/"
    schema: "migration/"
    engine: "postgresql"
    emit_empty_slices: true
    emit_json_tags: true
    emit_interface: true

The generated method with the docstring:
// CheckUserExist will check if the user exist, retuns true if the exists
func (q *Queries) CheckUserExist(ctx context.Context, email string) (bool, error) {
	row := q.db.QueryRowContext(ctx, checkUserExist, email)
	var column_1 bool
	err := row.Scan(&column_1)
	return column_1, err
}

The interface without the doctring:
type Querier interface {
	CheckUserExist(ctx context.Context, email string) (bool, error)
	CreateNewUser(ctx context.Context, arg CreateNewUserParams) (int32, error)
}

The "issue" comes when using an IDE.
When I use the struct the IDE is able to find the docsting
func doSomethingStruct(q sqlc.Queries, ctx context.Context) {
	q.CheckUserExist(ctx, "email string")
}

But when I use the interface, the IDE can't find a docstring
func doSomethingInterface(q sqlc.Querier, ctx context.Context) {
	q.CheckUserExist(ctx, "email string")
}

This is maybe a feature more than a bug that could be added to improve the usability :)

Solved on #1458 🎉


How to run transformer model

Currently, I am stuck in preprocessing. Which preprocessor should I use to generate corresponding files, eg. training_set.csv, training_label.csv, test_set.csv, test_label.csv.

Hi, thanks for your interest in our work. I'm here to help.
First of all, please follow the usage demo here to obtain the processed dataset, i.e., training and testing data.
Then, I encourage you to edit this code to train a Transformer model.
If you encounter any problems, post them here and I'll try to fix them for you.
Best regards,
Shuyue
May 17, 2022


Issue logging on to jira throu Chronos Windows application

Yesterday it work but today one of my co-workers needed to install chronos and he could not connect. My instance was working but i tried to logout and login again and now i have the samme issue.
Expected Behavior
chronos should login and show issue list
Actual Behavior
Stays at login animatinon
Steps to Reproduce the Problem
1.Open chronos
2. Input our jira domain (cloud)
3. Application just stays with login the animation.
Specifications

Chronos version: 3.2.4
OS: Windows 10

Experiencing this on OSX 10.14.5 too

@mib-s @AndrewKevin Thank you for the bug report folks! 3.2.5 fixed, check it, please.

@mib-s @AndrewKevin does the new version has fixed the issue for you? I'm still having the problem with the new version. I have deleted the old version and installed the new one 3.2.5. ¿ @VladimirPal Do i have to take any additional steps to make it work?

@ramses-bemobile 3.2.5 is working for me

@ramses-bemobile Try 3.2.6 - it will work.
It's a different issue, Atlassian changed auth form markup and broke our window, so only from 3.2.6 you can auth.


[5.7] When scheduling a job, respect the already set queue

Problem description
When creating a job, we sometimes want to define in which queue the job should run.
Sometimes that's something that we want to define in the job itself.
When creating a job, we often specify which queue it should be stored at in the constructor:
// MyCustomJob-class

public function __construct()
{
    $this->onQueue('my-custom-queue');
}

But when scheduling this job, we need to specify a queue in which the job should run.
// Will add the job to the 'default'-queue.
$schedule->job(MyCustomJob::class)->everyMinute();

// Will add the job to the 'my-custom-queue'-queue.
$schedule->job(MyCustomJob::class, 'my-custom-queue')->everyMinute();

This results in having to specify the queue multiple times instead of just once.
Proposed solution
It would be a good solution to respect the already defined queue on the custom job class.
Using the example above, it'll result in a solution something like this:
// MyCustomJob-class

public function __construct()
{
    $this->onQueue('my-custom-queue');
}

// Will add the job to the 'my-custom-queue'-queue.
$schedule->job(MyCustomJob::class)->everyMinute();

// Will add the job to the 'my-other-queue'-queue.
$schedule->job(MyCustomJob::class, 'my-other-queue')->everyMinute();

// Will still add the job to the 'default'-queue.
$schedule->job(MyCustomJob::class, 'default')->everyMinute();

Could you add a test for this?

Hi @sisve,
I tried to, but I've been struggling to fire a scheduled job in my unit test.
If you have the time, could you take a look at what I may am missing?
https://github.com/laravel/framework/pull/25159/files#diff-977603a2c6bc453a498ed4a1b18ec275R39

@petervmeijgaard I didn't try this, but off the top of my head, did you try something like this?
$events = $scheduler->events();
foreach ($events as $event) {
    $event->run($container);
}

The code doesn't even look correct anymore? Your original PR code looked correct. I don't know why you are setting $queue to a booelan now?

Oh my apologies, I was tinkering around with trying different approaches by setting the queue different ways. What I intended to do was $queue = $queue !== null ? $queue : $job->queue.
Coming from a JavaScript perspective, I thought that the code above would result in $queue = $queue || $job->queue, but I was mistaken. I've reverted the code change.

Tests fail. Please re-submit with working tests.


Problem with DDNS

Hello,
i have a problem with dinamc Dns.
I have this error:

Write out database with 1 new entries
Data Base Updated
Using SSL: openssl OpenSSL 1.1.0j  20 Nov 2018
Using configuration from ./safessl-easyrsa.cnf
An updated CRL has been created.
CRL file: /etc/openvpn/easy-rsa/pki/crl.pem
iptables v1.6.0: Bad IP address "domain.net"
Try `iptables -h' or 'iptables --help' for more information.
91
Finished!

Have you a idea how resolve it??

I will assume that your machine is behind NAT. If so, you are setting up the NAT incorrectly, see here: https://github.com/Nyr/openvpn-install/issues/138#issuecomment-196055353
If your machine has a dynamic public IP directly assigned (which is very rare), the script doesn't support this and you would need to manually set up rules using MASQUERADE.


IEnumerable not handled

Common practice is to define a class like this
public sealed class Pizza
{
   public IEnumerable<string> Toppings { get; set; }

   public string Size {get; set;}
}

Typechat.net will fail on the IEnumerable with the argument System.ArgumentException: 'IEnumerable`1 must be a class'. JSON serdes in .net know to model the IEnumerable as a JSON array. Can typechat do the same?

If you swap to a List, you get an unnecessary interface that doesn't appear in a string[]:
interface Pizza {
  Toppings: List_String;
  Size: string;
}
interface List_String {
  Capacity: number;
  Count: number;
  Item?: string;
}

I would think the ideal implementation for all IEnumerables that naturally translate to a JSON array is to return something like T[] where T is defined inline for simple types.


ntr: protein localization by the NVT pathway/ author request

The author has requested the following term:
PMID:26365378
Title | ESCRTs Cooperate with a Selective Autophagy Receptor to Mediate Vacuolar Targeting of Soluble Cargos.
new GO process term
protein localization by the NVT pathway
Definition:
A pathway targeting soluble cytosolic proteins to the vacuole lumen. It uses a selective autophagy receptor protein Nbr1, which is an ortholog of mammalian NBR1, and is remotely related to S. cerevisiae Cvt pathway receptor protein Atg19. Similar to the Cvt pathway, the cargos transported by this pathway are hydrolases, which presumably contribute to the hydrolytic activities in the vacuole lumen. Different from the Cvt pathway, this pathway does not require the macroautophagy machinery, but instead relies on the ESCRT machinery for cargo sequestration. This pathway is observed in the fission yeast S. pombe. PMID:26365378
This is analogous to GO:0032258 (protein localization by the Cvt pathway). Like GO:0032258, it should be a child term of GO:0072665 and GO:0061919

This might not be allowed but hopefully the autophagy working group can tell me what the term should be. I can see the author has requested this because human and pombe Nbr1 appear to be orthologs of the CVT receptor ATG19?
seems reasonable looking at current children:
https://www.ebi.ac.uk/QuickGO/term/GO:0072665

@ukemi - As you've worked on autophagy, do you have any objections to Val's term request?
@ValWood - Since the term name is using something that appears to be an acronym, i.e. NVT, could you provide a synonym which expands this out.

Nbr1-mediated vacuolar targeting (NVT)
I'm guessing that part of the issue was that
cytoplasm-to-vacuole targeting
is an exact synonym of
GO:0032258    protein localization by the Cvt pathway
and this term is clearly not appropriate for non cerevisiae.
(I don't  know if we want to call it  "transport"......  that would seem to be more precise than "localization" based on the definitions)
GO:0032258  CVT: Atg11 binds to Atg9 and transports the Cvt complex to the pre-autophagosome
and above "Similar to the Cvt pathway, the cargos transported by this pathway are hydrolases,"

I don't have any objection, but it seems that this pathway is not related to autophagy. So it should have different parentage.

@ukemi - It is true that the authors say that the NVT:
pathway does not require the macroautophagy machinery, but instead relies on the ESCRT machinery for cargo sequestration.
However, they also say that:
uses a selective autophagy receptor protein Nbr1, which is an ortholog of mammalian NBR1, and is remotely related to S. cerevisiae Cvt pathway receptor protein Atg19
Do you feel that usage of a selective autophagy receptor is NOT sufficient to use the parentage of:
GO:0061919 - process utilizing autophagic mechanism
Term: protein localization by the NVT pathway
Definition: A pathway targeting soluble cytosolic proteins to the vacuole lumen. It uses a selective autophagy receptor protein Nbr1, which is an ortholog of mammalian NBR1, and is remotely related to S. cerevisiae Cvt pathway receptor protein Atg19. Similar to the Cvt pathway, the cargos transported by this pathway are hydrolases, which presumably contribute to the hydrolytic activities in the vacuole lumen. Different from the Cvt pathway, this pathway does not require the macroautophagy machinery, but instead relies on the ESCRT machinery for cargo sequestration. This pathway is observed in the fission yeast S. pombe.
Def dbxref: PMID:26365378
Exact synonym: protein localization by the Nbr1-mediated vacuolar targeting pathway
proposed Broad synonym: cytoplasm to vacuole targeting
proposed Broad synonym: cytoplasm-to-vacuole targeting
is_a: GO:0072665 - protein localization to vacuole
TBD ?? is_a: GO:0061919 - process utilizing autophagic mechanism ??
It also seems like the two existing EXACT synonyms of "protein localization by the Cvt pathway":

cytoplasm to vacuole targeting
cytoplasm-to-vacuole targeting

should become BROAD since they are equally appropriate to the NVT pathway, and also be added to the Nvt pathway term.

I think that using the same receptor  doesn't make it a process utilizing autophagic mechanism.

Works for me. I think this is settled then, so I'll put in this stanza with everything else and also change the synonym type for the two existing synonyms of the Cvt pathway term.

I agree. I think the mechanism would be more than just the receptor. If at some point the community would like us to reclassify, we will.


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pelican-feedstock#21.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pelican-feedstock#21.


refactor: edit nonce

Try out this version of the Hiro Wallet - download extension builds.

This PR refactors the edit nonce drawer to use routes instead of atoms.
I made a few changes to form validation here, but realized I need to separate that work out into another PR.

I wanted to use routing, but it does not work when the formik context is needed inside the drawer (unless I am missing something?).

If the <Outlet /> were inside the Formik component, this would work. See how it's done with Ledger
https://github.com/hirosystems/stacks-wallet-web/blob/e45025f19b94bc24b3e3a665563bcf95b7eef4f0/src/app/features/ledger/flows/tx-signing/ledger-sign-tx-container.tsx#L157-L170

If the <Outlet /> were inside the Formik component, this would work. See how it's done with Ledger

I did try this, but let me attempt again today.

Ok @kyranjamie got this working with routes ...not sure why I thought wasn't working originally but this is much simpler. Review again when can.

@edu-stx any thoughts on the playwright test failing? It appears to be the test only and not when I test locally. The nonce data doesn't appear to load into the input in the test. I looked at your test, but I'm not familiar with how the nonce data is setup.

It's failing b/c the "Preview" button isn't clickable, perhaps because it's not getting the correct nonce data? There's a mock in place to return data when the nonces endpoint is fetched, although I may not have set up the returned data correctly,
 await page.route(/nonce/, route => {
    const res: AddressNonces = {
      last_executed_tx_nonce: 1,
      last_mempool_tx_nonce: null,
      possible_next_nonce: 2,
      detected_missing_nonces: [],
    };
    return route.fulfill(json(res));
  });

Does this help debug the issue?

Yeah, well, I'd gotten this far but not sure why the mocked api response seems to come in slower than the real api response ...so it fails in the test but not when just using the wallet directly ...seems to be test specific but I'll handle it in the code just to be safe.

I'm not sure I understand, the response time (in ms) is slower than actually reaching out to the network and that's causing the test to fail? When testing on my machine, the network calls are ~200ms, and the mocked calls are ~100ms.
I did notice, however, that the dev build targets /nonces?unanchored=true and in the test env it makes a request to just /nonces. Could the failure be related to this?

Refactored the query here to use the new pattern. Going to merge once tests pass.

I did notice, however, that the dev build targets /nonces?unanchored=true and in the test env it makes a request to just /nonces. Could the failure be related to this?

Good question, I'm not sure on this. I realized our tx request form is wrapped in a NonceSetter so I did the same for the send form to make sure the nonce value is set.


export sqlite3_total_changes

Hello would it be possible to export sqlite3_total_changes function? Maybe on Database interface? unlike sqlite3_changes() it does not have SQL counterpart.

sqlite3_total_changes does in fact have an SQL counterpart: https://www.sqlite.org/lang_corefunc.html#total_changes
const changes = db.prepare('SELECT total_changes()').pluck().get();


Isn't Repulsion Armor Plating just bad? Shouldn't it be buffed? [Suggestion]

Forgive me if my logic is kind of wrong about this, but 5 "armor" (blocking 5 damage) seems kind of outclassed by the Bison Steak, Topaz Brooch and the Personal Shield Generator (even more now since it gates HP damage).
Also the reason I'm quoting "armor" is because the wiki says it's not actually increasing the armor stat but decreasing the damage by x amount after it does the actual armor check, if I'm reading that correctly.
Since other items increase you're hp/shield/barrier by way more than 5 the only time Repulsion Armor Plating is effective is when the added hp/shield/barrier from other items is depleted by barrages of attacks or DOT effects, since that added hp/shield/barrier is effectively 'blocking' the damage to your base health.
The issue is that for the amount of times you need to stack it for it to be useful you could have gotten items that give you more hp/shield or replenish you're hp/barrier faster which is more effective at preventing damage, especially late game.
And because you need to stack it so much it essentially has no synergy with the health/barrier/shield items.
Unless I'm wrong about all this?
I'm not sure what change would be the best but I have a few "ideas", though I'm not sure what's actually possible to implement.
These suggestions may sound over complex but just increasing the value of "armor" would either make it too good early game or not fix the problems by increasing it too little.

You could add a percentile "armor" increase with each level making it better late game, stacks add more percentage. (could also increase with every "levels worth of hp" instead giving it synergy with the changed Bison Steak)
You could increase the "armor" given heavily but every certain amount of hits (ignoring damage from DOT effects) temporarily disables one stack (minor delay before another stack can be disabled to prevent your "armor" being shredded instantly) and puts it on a short cooldown (the amount of hits needed could also depend on the damage dealt equal to a percent of your health before the reduction is calculated), the cooldown ignores incoming damage.
Similar to the first suggestion you could add a percentile increase but for every certain amount of hp/shield/barrier you have full instead, giving it insane synergy with all those other items.

Please let me know if I'm delusional.

Repulsion Armor is pretty underrated. Burn DoT is capped at some small percentage of your health per tick, so even lategame a single plate can completely negate 1 stack of burn damage. It also has decent effectiveness against Wisps and Templars due to their low per-shot damage, though I'd imagine less so when looping.
Overall I think it's fine to leave as-is.


Little Mermaid II, The - Pinball Frenzy (USA) (En,Fr,De,Es,It) (Rumble Version).gbc corrupt graphics

This game initiates HDMAs during HBlank and it seems to expect them to begin immediately rather than waiting for the start of HBlank on the next line. Otherwise some of the HDMAs will end up copying data into the wrong VRAM bank which causes the corrupted graphics.


Setting the drivesound property does not work

BkCommonLib version: latest as of writing
TrainCarts version: latest as of writing
Spigot version: latest as of writing

Problem or bug:
Setting a cart's drivesound property as per /cart drivesound fizz|BLAZE_AMBIENT|whatever does not play a sound when the minecart is launched
Expected behaviour:
The minecart should play the sound that is set in the property.
Steps to reproduce:
Set the cart's drivesound property using /cart drivesound

Property works for me, can you check again?
The sound only plays the moment the train moves, and no further sounds are made.

it's currently throwing this stack trace error saying that minecraft:BLAZE_AMBIENT has non alphanumeric or /.-_ characters in it, assuming it is because of the : after minecraft that the code puts into it. Tested specifically on 1.14.4
[20:20:19] [Server thread/INFO]: Wortho issued server command: /cart drivesound
fizz
[20:20:20] [Server thread/INFO]: Wortho issued server command: /train launch 0 0
[20:20:20] [Server thread/ERROR]: [Train_Carts] Failed to perform physics on tra
in 'train1' at world_-265_64_173:
[20:20:20] [Server thread/ERROR]: [BKCommonLib] net.minecraft.server.v1_14_R1.Re
sourceKeyInvalidException: Non [a-z0-9/.-] character in path of location: minec
raft:FIZZ
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14
R1.MinecraftKey.(SourceFile:38)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.MinecraftKey.(SourceFile:43)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.util.fast.GeneratedConstructor$mplgen4f2ffcdf.newInstance(Unknown So
urce)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.util.FastConstructor.newInstance(FastConstructor.java:127)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.declarations.Template$Constructor.newInstance(Template.java:975)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.declarations.Template$Constructor$Converted.newInstance(Template.jav
a:1140)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.generated.
net.minecraft.server.MinecraftKeyHandle.createNew(MinecraftKeyHandle.java:23)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.com
mon.wrappers.ResourceKey.fromPath(ResourceKey.java:51)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
utils.Effect.play(Effect.java:141)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
actions.MemberActionLaunch.start(MemberActionLaunch.java:129)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
actions.Action.doTick(Action.java:18)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
actions.MemberAction.doTick(MemberAction.java:13)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
controller.components.ActionTracker.doTick(ActionTracker.java:91)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
controller.components.ActionTrackerGroup.doTick(ActionTrackerGroup.java:25)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
controller.MinecartGroup.tickActions(MinecartGroup.java:1313)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
controller.MinecartGroup.doPhysics_step(MinecartGroup.java:1503)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
controller.MinecartGroup.doPhysics(MinecartGroup.java:1408)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.
controller.MinecartMember.onTick(MinecartMember.java:1918)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.com
mon.internal.hooks.EntityHook.onTick(EntityHook.java:118)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.util.fast.GeneratedInvoker$mplgen1bb7c02c.invokeVA(Unknown Source)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.util.FastMethod.invokeVA(FastMethod.java:112)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex
.reflection.ClassInterceptor$CallbackMethodInterceptor.intercept(ClassIntercepto
r.java:655)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.EntityMinecartRideable$$EnhancerByCGLIB$$dc7c7632.tick()
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.WorldServer.entityJoinedWorld(WorldServer.java:568)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.World.a(World.java:745)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.WorldServer.doTick(WorldServer.java:344)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.MinecraftServer.b(MinecraftServer.java:1068)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.DedicatedServer.b(DedicatedServer.java:393)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.MinecraftServer.a(MinecraftServer.java:970)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at net.minecraft.server.v1_14_
R1.MinecraftServer.run(MinecraftServer.java:815)
[20:20:20] [Server thread/ERROR]: [BKCommonLib]   at java.lang.Thread.run(Unknow
n Source)

sorry for the awful delay there. The issue is that the name of the effect is uppercase. Apparently minecraft key names can only be lowercase characters. I'll make some changes so it performs toLowerCase to correct for this. In any case, it should probably attempt parsing the effect name when setting so it doesn't produce errors like this

These two commits resolve your problems:
https://github.com/bergerhealer/BKCommonLib/commit/ad7437e5e979ca5d776c45a2ab143d1c80254484
https://github.com/bergerhealer/TrainCarts/commit/41e36adc782dbe1bb51e86ced30071b48256dca2
The error is fixed (properly handles incorrectly formatted sound name paths) and the drive sound property now also works with the Bukkit Sound enum names, just like the effect sign does. As an added bonus, you can now also set effects (Effect enum) for drive sound.
See jenkins CI for a dev build with these fixes


Remove git current branch

Having both git.CurrentBranch() and git.CurrentRef() seemed redundant.

Catching up with this stuff late, looks good to me :+1:


Need to replace multiple instances of a pattern.

Hello @erickrdch!
I have a multiple instances (5) of a pattern in a file (app.yaml). When I run the grunt command, it only replaces the first instance of that pattern. Is there anything I am missing in the code?
Here's the code I have.
'string-replace' : {
            dist: {
                options: {
                    replacements: [
                        {
                            pattern: '@appName',
                            replacement: 'helloWorld'
                        }
                    ]
                },
                files: [
                    {
                        expand: true,
                        src: [
                          'app.yaml'
                        ]
                    }
                ]
            }
        }

Hi @ankeetasingh !
You are using a string as your replacement pattern. This plugin is a wrapper to String.prototype.replace which, in this case, will replace only the first occurrence. If you need to replace multiple times you should then use a regular expression. Try replacing pattern: '@appName' with pattern: /@appName/g.

Thank you @erickrdch !!


Optional step timeout, optional control over stdout/stderr capture

Adds configuration options for a few aspects of test execution:

How long steps are allowed to execute
Whether to capture stdout/stderr during step execution

Testing this capability required the creation of a tiny standalone binary that could be invoked and its output analyzed.

Added documentation on the Cucumber builder methods while I was in there.

Hey, big contribution, looks pretty neat!
I've given it a read through, and will give it another read through tomorrow. Right now I only see one thing that I have a qualm with, and that's the addition of a TimedOut item separate to Failure. I would consider a timeout a type of failure. Would it be possible for you to modify this PR to create a FailureKind enum, and make the failure arm of the relevant enums take a Failure(FailureKind)?
I'll give it a proper review tomorrow. Thanks again!

Sure, I can do that.

Ended up having less time today than I thought I'd have :(
Will give a proper review in the morning. Thanks for adding the changes I requested. :)

This is super cool. Only change I've made was to move the capture-runner into a tests/fixtures directory. :) Thanks again!


Temporary build directory created with insufficient permissions

What version of electron-installer-debian are you using?
0.8.1
What version of node and npm are you using?
8.9.4 / 5.6.0
What operating system are you using?
Debian GNU/Linux 9.x
Can you compile the example app successfully?
No
If not, paste here the output of the following commands:
$ git clone https://github.com/unindented/electron-installer-debian.git
$ cd electron-installer-debian/example
$ DEBUG='electron-installer-debian' npm run build

output.txt
What did you do? Please include the configuration you are using for electron-installer-debian.
–does not apply–
What did you expect to happen?
A debian package being built.
What actually happened?
Mode of created temporary directory of the package is being set short of the permissions dpkg requires; dpkg-deb: error: control directory has bad permissions 750 (must be >=0755 and <=0775).
My current umask is 0027, which is probably the cause.
Any way around other than defaulting to a more permissive umask?
Thanks,
lwk

Can confirm that the restricted umask is the culprit. Current workaround is to umask 022 and open a new sub-shell before proceeding to execute build.


feat: Added Minecraft

Fixes Issue🛠
Closes #234
Description👨💻
I have added Minecraft Clone
It has 5 types of blocks: Grass, Wood, Log, Glass, and Dirt.   You can click to add blocks and Alt+Click to remove blocks. Your world is stored in your browser's local storage.
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have added a demonstration in the form of a GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷
https://github.com/Kritika30032002/ReactCreations/assets/140608790/45b406ff-5247-425e-90a7-05ff6d541f8b

add readme

add readme with

proper steps of local setup(git commands) and running the code(how to run locally)
video of working
tech stack used

@Kritika30032002
I have added the setup guidelines and the demo video to it
Please review the PR
And could you please change the label to "hard"?

Thanks for your Valuable contribution.
Don't forget to star the repo.


Is this code safe?

https://softwareengineering.stackexchange.com/questions/378670/should-i-check-if-something-exists-in-the-db-and-fail-fast-or-wait-for-db-except
public async Task<ActionResult<Parent>> CreateParent(Parent parent)
{
    if (!await _db.Children.AnyAsync(c => c.Id == parent.ChildId))
       return NotFound($"Child with id {parent.ChildId} could not be found.");

    _db.Parents.Add(parent);
    await _db.SaveChangesAsync();

    return parent;
}

People are saying that there will be a concurrency problem with this code.

it can always happen that the ID is inserted concurrently between checking time and writing time.

What's the general practice to deal with problem like this?

@Necronux Yes, that code can have concurrency issues. See https://docs.microsoft.com/en-us/ef/core/saving/concurrency

Not sure if you trying to troll the classic File.Delete issue or misunderstanding the difference between concurrency and transactions.

Neither, and your comment is arrogant and pointless


Change '--public-api-key' to '--publishable-api-key'

Changes the --public-api-key argument to --publishable-api-key to maintain consistency between docs, Dashboard, and guides content.
⚠ Don't forget to add a semver label!

patch: Bug Fix?
minor: New Feature?
major: Breaking Change?
skip-release: It's unnecessary to publish this change.

LGTM! 🐑


Make /report require sender user to be in the reporting room

Personally don't like this spec change but not my place to say so 🙃
Add it to report_event_route
https://spec.matrix.org/v1.9/client-server-api/#post_matrixclientv3roomsroomidreporteventid

https://github.com/girlbossceo/conduwuit/pull/87


[4.0][Bug]Div class being generated for each input when wrapperAttributes is enabled.

 $this->crud->addFields([
            [
                'name' => 'no_processo',
                'label' => "Numero do Processo",
                'type' => 'number',
                'wrapperAttributes' => [
                    'class' => 'form-group col-md-6',

                ],
            ],
            [
                'name' => 'no_processo_ant',
                'label' => "Numero do Processo Anterior",
                'type' => 'number',
                'wrapperAttributes' => [
                    'class' => 'form-group col-md-6',

                ],
            ],
        ]);

I'm trying to place 2 inputs in the same column, but in html code it creates a div for each input which it does not make this possible. How can I place the inputs in the same div?

@samuk190  I don't think that is possible to remove the div, because is part of the field template:
https://github.com/Laravel-Backpack/CRUD/blob/4.0.7/src/resources/views/crud/fields/number.blade.php#L2
Can you explain why do you need to put both fields in the same column?

looking at the comment and screenshot here #192 I think they might mean same row?

@samuk190 I don't think that is possible to remove the div, because is part of the field template:
https://github.com/Laravel-Backpack/CRUD/blob/4.0.7/src/resources/views/crud/fields/number.blade.php#L2
Can you explain why do you need to put both fields in the same column?

Sorry I think I didnt explained well.
when I'm using form-group col-md-6 the space should split into 2 columns and fit another field that have the same form-group col-md-6 attribute.
It does not work.
however it works if:
I place it on ANY tab eg:
   'name' => 'no_processo_ant',
                'label' => "Numero do Processo Anterior",
                'type' => 'number',
                 'tab' => 'test',
                'wrapperAttributes' => [
                    'class' => 'form-group col-md-6',

I'm not sure why the behaviour is different

looking at the comment and screenshot here #192 I think they might mean same row?

Yes, I'm not being able to put two fields in the same row if I dont use 'tab' attribute on addfield

@samuk190 that's weird - it worked for me, both with tabs and without, and it works inside the PageManager package without tabs:

        $this->crud->addField([
            'name' => 'template',
            'label' => trans('backpack::pagemanager.template'),
            'type' => 'select_page_template',
            'view_namespace'  => 'pagemanager::fields',
            'options' => $this->getTemplatesArray(),
            'value' => $template,
            'allows_null' => false,
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
        ]);
        $this->crud->addField([
            'name' => 'name',
            'label' => trans('backpack::pagemanager.page_name'),
            'type' => 'text',
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
            // 'disabled' => 'disabled'
        ]);

So it should work. Please try:

running a php artisan view:clear
running a composer update to make sure you have the latest Backpack version

Other than that... not sure what to recommend.

@samuk190 that's weird - it worked for me, both with tabs and without, and it works inside the PageManager package without tabs:

        $this->crud->addField([
            'name' => 'template',
            'label' => trans('backpack::pagemanager.template'),
            'type' => 'select_page_template',
            'view_namespace'  => 'pagemanager::fields',
            'options' => $this->getTemplatesArray(),
            'value' => $template,
            'allows_null' => false,
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
        ]);
        $this->crud->addField([
            'name' => 'name',
            'label' => trans('backpack::pagemanager.page_name'),
            'type' => 'text',
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
            // 'disabled' => 'disabled'
        ]);

So it should work. Please try:

running a php artisan view:clear
running a composer update to make sure you have the latest Backpack version

Other than that... not sure what to recommend.

Thanks for your answer, I guess the problem is I was using backpack base which cause some conflicts

@samuk190 that's weird - it worked for me, both with tabs and without, and it works inside the PageManager package without tabs:

        $this->crud->addField([
            'name' => 'template',
            'label' => trans('backpack::pagemanager.template'),
            'type' => 'select_page_template',
            'view_namespace'  => 'pagemanager::fields',
            'options' => $this->getTemplatesArray(),
            'value' => $template,
            'allows_null' => false,
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
        ]);
        $this->crud->addField([
            'name' => 'name',
            'label' => trans('backpack::pagemanager.page_name'),
            'type' => 'text',
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
            // 'disabled' => 'disabled'
        ]);

So it should work. Please try:

running a php artisan view:clear
running a composer update to make sure you have the latest Backpack version

Other than that... not sure what to recommend.

I removed the override views folder and still same problem, strange... what files could modify the behaviour of the field?

@samuk190 that's weird - it worked for me, both with tabs and without, and it works inside the PageManager package without tabs:

        $this->crud->addField([
            'name' => 'template',
            'label' => trans('backpack::pagemanager.template'),
            'type' => 'select_page_template',
            'view_namespace'  => 'pagemanager::fields',
            'options' => $this->getTemplatesArray(),
            'value' => $template,
            'allows_null' => false,
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
        ]);
        $this->crud->addField([
            'name' => 'name',
            'label' => trans('backpack::pagemanager.page_name'),
            'type' => 'text',
            'wrapperAttributes' => [
                'class' => 'form-group col-md-6',
            ],
            // 'disabled' => 'disabled'
        ]);

So it should work. Please try:

running a php artisan view:clear
running a composer update to make sure you have the latest Backpack version

Other than that... not sure what to recommend.

I removed the override views folder and still same problem, strange... what files could modify the behaviour of the field?

I tested with a different controller it works lol so I think I need to recreate everything :(

@tabacitu Ok I DISCOVERED THE BUG! If you add any Field Table into the view it will cause the wrapper atribute to not work on OTHER FIELDS! Try yourself my code
$this->crud->addField([
           'name' => 'template',
           'label' => trans('backpack::pagemanager.template'),
           'type' => 'select_page_template',
           'view_namespace'  => 'pagemanager::fields',
           'options' => $this->getTemplatesArray(),
           'value' => $template,
           'allows_null' => false,
           'wrapperAttributes' => [
               'class' => 'form-group col-md-6',
           ],
       ]);
       $this->crud->addField([
           'name' => 'name',
           'label' => trans('backpack::pagemanager.page_name'),
           'type' => 'text',
           'wrapperAttributes' => [
               'class' => 'form-group col-md-6',
           ],
           // 'disabled' => 'disabled'
       ]);

 $this->crud->addField(
           [ // Table
               'name' => 'lawyers_intern',
               'label' => 'Advogados Internos',
               'type' => 'table',
               'tab' => 'Advogados Internos',
               'entity_singular' => '', // used on the "Add X" button
               'columns' => [
                   'titular' => 'Advogado Titular',
                   'advogado' => 'Nome do Advogado',

               ],
               'max' => 10, // maximum rows allowed in the table
               'min' => 0, // minimum rows allowed in the table
           ]
       );

Hello guys.
Thanks for bringing this up to our atention.
Indeed I have confirmed an odd behaviour as i described in my review of #2181
I will be closing this issue as there is already a PR to fix it, any further conversation should be moved there.
Thanks again @samuk190 for bring this up @johnpuddephatt  and @jsvini for your help and @DiyanDesigns for the PR.
Best,
Pedro


Show terrain features beneath creatures

Describe the new feature you'd like
It would be nice to be able to see that there is difficult terrain under a (flying) creature. This could be achieved, for example, by making the players and creatures 10% smaller, so that the coloured boundaries of the underlying tile becomes visible.
Scenario 91 used as an example:

Scenario 59 used as an example:

Not really sure why I didn't think of this one! :-) A great idea, and now available in this release (1.8.0)