Add Github Alternatives

https://github.com/ianchanning/awesome-github-alternatives
A list of alternatives to Github after Microsoft acquisition 🤷♂ .

The list must be around for 30 days before it can be added.

Hey, sorry for the lack of response, please see #1363.

/cc @ianchanning 😬

Thanks @anatolinicolae. I've fixed those issues from @transitive-bullshit 's comment, I had tried to meet most of the guidelines, but at the time there was the hard and fast rule of 30 days.
I think I meet all the criteria except for these two arguable points:

It's the result of hard work and the best I could possibly produce.
Only has awesome items. Awesome lists are curations of the best, not everything.

It's not a massive list, so there's only so much work required. I also haven't gone through the work of installing and trying all the systems. I did get all sources that came from what I thought were reasonable recommendations (mostly Hacker News) and then matched them up with the website's information. I've made the effort to make sure that everything is neatly categorised so that if you want a specific technology / license then it's easy to find.

Also I obviously need to review two other awesome lists which I haven't done yet.

I have now been through at least two awesome lists done a basic review and left comments, but I'm not sure how you get added as a reviewer.

❯ awesome-lint https://github.com/ianchanning/awesome-github-alternatives
✖ Linting

  README.md:22:1
  ✖  22:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  23:11  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  24:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  25:11  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  26:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  27:11  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  28:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  29:36  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  30:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  31:18  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  32:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  33:37  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  34:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  34:42  List item link and description must be separated with a dash  remark-lint:awesome/list-item
  ✖  36:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  36:44  Text "github" should be written as "GitHub"                   remark-lint:awesome/spell-check
  ✖  37:17  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  38:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  39:39  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  40:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  41:17  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  42:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  43:16  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  44:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  45:32  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  46:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  47:15  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  48:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  48:3   Link to https://www.tuleap.org is dead                        remark-lint:no-dead-urls
  ✖  49:22  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  50:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  51:11  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  52:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  53:11  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  54:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  55:18  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  56:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  57:18  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  63:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  63:38  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  64:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  64:52  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  65:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  66:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  66:3   Link to https://www.tuleap.org is dead                        remark-lint:no-dead-urls
  ✖  66:35  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  67:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  68:5   List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  69:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  70:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  71:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  72:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  73:5   List item description must end with proper punctuation        remark-lint:awesome/list-item
  ✖  74:1   Marker style should be *                                      remark-lint:unordered-list-marker-style
  ✖  75:5   List item description must end with proper punctuation        remark-lint:awesome/list-item

  55 errors

https://github.com/sindresorhus/awesome-lint

Can you fix the merge conflict?

It's not clear how the header image is related to GitHub?

Lie back and read the Ts & Cs to see how they harvest your data.

Not clear what Ts and Cs is.

GitLab - See above

Don't force the user to interrupt their flow and go look for the other entry. Duplicating the description is totally fine.

@sindresorhus Thank you for your comments, I can fix all the other issues, but https://www.tuleap.org is the correct working link, so I don't know how to get past the linter if it thinks that that is broken.
channi16@ICT0115123:~/$ wget https://www.tuleap.org
--2019-02-26 10:10:47--  https://www.tuleap.org/
Resolving www.tuleap.org (www.tuleap.org)... <IP_ADDRESS>
Connecting to www.tuleap.org (www.tuleap.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14790 (14K) [text/html]
Saving to: ‘index.html’

index.html                 100%[=====================================>]  14.44K  --.-KB/s    in 0s

2019-02-26 10:10:47 (85.2 MB/s) - ‘index.html’ saved [14790/14790]

Running the linter locally would mark that as a working link since you're correctly resolving it 🤔

I haven't tried running the linter locally yet - but if it works locally that won't stop the problem that the server is having when it runs it

I'm just going to link to their Github repo, they bury links to their source code quite deeply

@sindresorhus I've run the linter locally and fixed all the linting issues. I've tried to improve the list by putting a section for each language rather than tags at the end and used badges for the licences to make them clearer.
I'm not sure what to do about the icon - it's just a hand waving bye bye. I couldn't think of a better logo. I can just remove it - I don't know the copyright issues around using the GitHub logo

but tuleap.org is the correct working link, so I don't know how to get past the linter if it thinks that that is broken.

https://github.com/transitive-bullshit/check-links/issues/4

I couldn't think of a better logo. I can just remove it - I don't know the copyright issues around using the GitHub logo

The rules for using the GitHub logo is strict, but you could use an octocat instead: https://octodex.github.com/ (Just make sure you give proper credit) Combine that with the bye bye emoji and it could look good.

Is it ok if I just remove the logo? At the moment I can't see a good way of combining those two and I'm not good enough of a designer to make something that does look decent.

Yes

Ok, removed

@sindresorhus Is there anything more required for this PR?

The diff in this PR is not correct. It includes a lot of unrelated changes: https://github.com/sindresorhus/awesome/pull/1330/files


Remove a tag programmatically in the event of select2:select

Sorry. I hit enter by accident but cannot remove this issue, so I will just post my questions. I will update it if I figure out the answer by myself.
I am trying to:

Use a modal form to ask users to add more details to a new tag and use an AJAX call to persist the result.
Remove the new tag if the user closes the modal form without confirmation.

So far, I have followed https://github.com/select2/select2/issues/3063, to

Use select2:select event to identify a new tag
Open a new modal form and POST the result through an AJAX call

I have however the following two remaining problems:

select2:select is not triggered if the user uses space to enter a new tag (most likely by accident but a new tag would be created anyway).
I do not know how to programmatically remove a tag when the user clicks "cancel". More specifically, the cancel button has a closeModal function for which I can add information of the new tag. If I pass evt.params.data.text or evt.params.data.id to this function, how do I remove the new tag using this information?

Got a downvote. Try to compensate:
The removal issue is resolved with something like
$selectEl.on("select2:select", function (evt) {
        if (evt.params.data.is_new == true) {
          $('.cancelAddTagModal').on("click", function(e) {
            $(evt.target).next(".select2").find(`li[title='${evt.params.data.text}']`).remove();
            $(evt.target).find(`option[value='${evt.params.data.text}']`).prop("selected", false);
          });
  });

following suggestion from here.
Working on the new tag with space issue.


Hash::check changed in 5.7

Laravel Version: 5.7
Adldap2-Laravel Version: 4.0.7
PHP Version: 7.1
LDAP Type: ActiveDirectory

See this issue on laravel/framework:
https://github.com/laravel/framework/issues/25578
If the ldap user is not in the database SyncPassword stops with a RuntimeException:
This password does not use the Bcrypt algorithm.
If this is not changed in laravel, you probably need to change line 88 at SyncPassword::passwordNeedsUpdate from:
if ($this->canSync()) {
to:
if ($current !== null && $this->canSync()) {

Thanks for letting me know! Will be patched shortly :)


Remove variable defaults

Mechanics don't make sense as get() returns default but getNotNull() wouldn't and get(id, default) overrides.
Leave it up to clear(variable) to clean up maps and reduce memory usage.

So yes the inconsistency wasn't good so now neither getters return a default value.
Default values are useful in general though for when using clear() as if there was no default you'd first have to send(default) then clear(key)
Which means having a clear(key, default) which is not great, and if you want the magic cleaning up you'd need to add the default value to setters too. Using configs for this is clearly better.

I've also removed get() altogether as it will now always throw a null pointer if a value isn't in the map. Which if you're absolutely certain there is a value in the map then you can just use getOrNull()!! and show it explicitly. getOrNull will now be the default get(key): T? with get(key, default) as the preferred usage.


Support acceptIntrustedCerts option in the endpoint Data

@chrisrpatterson do we want this to be git only option or an agent config level option?


bug: got error when use make dev on MAC OS.

$ sudo luarocks install apisix-*.rockspec --tree=deps --only-deps
Warning: The directory '/Users/rain/.cache/luarocks' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing /usr/local/bin/luarocks with sudo, you may want sudo's -H flag.

Stopping after installing dependencies for apisix 0.5-0

here is the source code:
https://github.com/iresty/apisix/blob/master/Makefile#L24
we should not use sudo when run on MAC os.

fixed already: https://github.com/iresty/apisix/commit/565cb1653c6caa4eb4571e8a6643f206b4a7a4b6


Exclude include

This PR solved the following issue: #78  ( Users can have now the possibility to disable specific checks).
Based on a previous PR #114  but added the possibility to passive include, active include.
In addition I changed the profile intrusive to active and implemented it.

@DeliciousBounty , this branch now has conflicts


[report-converter][fix] Coccinelle checker fix

The following pull request attaches the name coccinelle. before the checker name for making it easy for the users to identify the tool name easily as mentioned here: https://github.com/Ericsson/codechecker/pull/2968#issuecomment-713665718

@bulwahn kindly have a look

I do not know the conventions among the CodeChecker maintainers, but I would combine all three changes into one commit because they do not work independently, e.g., if I only apply the first commit, the existing test would fail.
Other than that, this pull request looks good to me.

@csordasmarton @gyorb If you guys need the commit to be merged, let me know, I will squash the commits and force push the changes


[stable-5.0] chore: adjust env vars so that check-env-var-annotations passes

Backport #8574 to stable-5.0

https://drone.owncloud.com/owncloud/ocis/32664/9/6
go vulnerability scan is failing, same as in master.
IMO not related to this PR.

@phil-davis
Dont we want to add, as commented in the master branch, the corresponding PR's to this backport to make a one shot backport? These PR's are all about the envvars added table. Note, sequence to add is important, oldest first...
#8577 ([docs-only] Fix added envars table) and
#8582 ([docs-only] And more envvars that are added to the table)
new:
#8588 ([docs-only] More updates to the added envvar tables)

The backport of #8586 needs to be done and merged into stable-5.0
Then I will rebase this and add the various things that @mmattel has mentioned above.
Some time early tomorrow, hopefully.

Backport of #8601 has been added.


Update conditions when domain update flow triggers dns publish task

This change is

@CydeWeys
I restored reverted part and added 2 tests to cover status change affect on dns publish task.
DS data change affect on DNS publish task has already been covered under multiple tests written by @jianglai ,for them I've reenabled the dns publish task assertion.
I've researched the code and I don't see any direct affect of OK or INACTIVE status on DNS writer, so per your recommendation I've excluded them from affectsDns group.


Inconsistent app studio / developer portal behavior

When publishing a new Teams application using the manifest editor, the pending approval message appears and the teams admin will be asked to approve the new version of the application.
When I am in the developer portal, if I make a change to the app tabs and/or bot, I submit the application for approval - but it doesn't appear in the teams admin for approval.  What happens is the "publish to your org" tab shows 'published'.
when you go to https://admin.teams.microsoft.com/policies/manage-apps it shows 1 updated custom app but when you drill to the newly updated app, the new version appears and shows published.
I would prefer the original behavior if possible.

Hello @suz7777 - Thanks for reporting your issue.
We will look into your issue and get back to you.

@suz7777 - Apologies for delays in response. Could you please let us know if you are still facing the issue so that we can share this feedback with the engineering team.


Backend

Implements some features for the site.
It could be log, like, some figures, comments and so on.
May be later.

Well, it seems backend is always a big feature.
There is always a lot stuff to do. Our blog is not static site, so close it.


Allow specifying the test files and typings file manually

PR 1 of 2. Checkout the 2nd PR here #75

This PR aims to add two more options: testFiles and typingsFile apart from cwd. These are optional and allows developers to manually specify the files which may be somewhere else in the project instead of forcing them to follow a pattern that TSD expects.
This allows us to use TSD in Jest and many other test frameworks so developers can check type definitions without leaving ecosystem.
By merging this, TSD can be used in many ways
Method 1:
Let TSD figure out everything by itself. Uses process.cwd(). Works the way it used to work.
const diagnose = await tsd();

Method 2:
Pass cwd and also the relative path to typingsFile only.
const diagnose = await tsd({
  cwd: path.join(__dirname, '/custom/path'),
  typingsFile: 'someName.d.ts'
});

Method 3:
Pass cwd and also the relative path to testFiles.
const diagnose = await tsd({
  cwd: path.join(__dirname, '/custom/path'),
  testFiles: [
    '/somewhere/app.test.ts',
    '/somewhere/else/math.test.ts'
  ]
});

Method 4:
Pass cwd and pass relative paths to both typingsFile and testFiles.
const diagnose = await tsd({
  cwd: path.join(__dirname, '/custom/path'),
  typingsFile: 'someName.d.ts',
  testFiles: [
    '/somewhere/app.test.ts',
    '/somewhere/else/math.test.ts'
  ]
});

Hey, I've added some unit tests. @Ethan-Arrowood. Thanks :)

I like the idea. However, I believe we should go for globbing patterns for the testFiles with globby. It will still accept the array as you provided, but also allow globbing patterns to resolve the files.

Hey @SamVerschueren, testFiles option now accepts globbing patterns. Uses globby under the hood.

@SamVerschueren @Ethan-Arrowood ping 🙂

Yay, thanks. Also, there's another PR https://github.com/SamVerschueren/tsd/pull/75 you might want to checkout after this one

Hoping to see this merged. In a project with a build step, tsd is currently requiring me to keep index.test-d.ts in the dist folder.

Is this good to go now? 🙂 We're currently using a fork, would be lovely to use the mainline 👍

I've made the changes. Let me know if it's all good @SamVerschueren :)

Awesome! Thanks for working on this 🙏 !


User is able to login into the system

Invalid

Please close this issue. This was accidentally created on this repo

Can the owner of this repo please delete this issue. This issue was created accidentally here my mistake and the update history shows on google search which is giving us confidentiality issue. Please respond or reach us<EMAIL_ADDRESS>

@spolu

Not sure I can delete this...


poor performance on FUNSD

Hi author, I tried to run the code on funsd dataset, using the given config
funsd.1.5layers.train.zip
. But I got a poor f1 score...
The test score dict is as follows:
{
"test__avg_loss": 0.7166563868522644,
"test__f1": -1,
"test__precision_edge_avg": 0.14041860174087156,
"test__recall_edge_avg": 0.05718078420725836,
"test__f1_edge_avg": 0.07420206034220918,
"test__precision_edge_of_type_0": 0.19155148919602882,
"test__recall_edge_of_type_0": 0.10966232029421598,
"test__f1_edge_of_type_0": 0.13947554925584693,
"test__precision_edge_of_type_1": 0.08928571428571429,
"test__recall_edge_of_type_1": 0.004699248120300752,
"test__f1_edge_of_type_1": 0.008928571428571428,
"p_r_f1_entity": [
[
0.10144927536231885,
0.05737704918032787,
0.07329842931937174
],
[
0.6223404255319149,
0.43454038997214484,
0.5117550574084199
],
[
0.5880149812734082,
0.38246041412911086,
0.46346863468634686
],
[
0.46938775510204084,
0.22115384615384615,
0.30065359477124187
]
],
"p_r_f1_all_entity_ELB": [
0.5712383488681758,
0.36792452830188677,
0.4475743348982785
],
"p_r_f1_link_ELK": [
0.25,
0.004699248120300752,
0.00922509225092251
]
};
The main difference may be that I train the model on a single-gpu machine for 2500 epoches. I also run the preprocess code for funsd offerred in this repo. However the result on CORD dataset is close to that have been reported in the paper, the test score dict is:
{
"test__avg_loss": 0.08372728526592255,
"test__f1": 0.9101991060544494,
"test__precision_edge_avg": 0.932888658103816,
"test__recall_edge_avg": 0.9192414351541544,
"test__f1_edge_avg": 0.9259259429039002,
"test__precision_edge_of_type_0": 0.9672624647224836,
"test__recall_edge_of_type_0": 0.9710993577635059,
"test__f1_edge_of_type_0": 0.9691771137713262,
"test__precision_edge_of_type_1": 0.8985148514851485,
"test__recall_edge_of_type_1": 0.8673835125448028,
"test__f1_edge_of_type_1": 0.882674772036474
}.
Would you please give me some advice how I can improve the score on the funsd IE task? The attached zip file is my trainning config.

Hi @EmperorKaiser
If you have used the default train config, funad.1.5layers.train.yaml, please change toy_data: true -> to toy_data: false.
https://github.com/clovaai/spade/blob/a85574ceaa00f1878a23754f283aa66bc2daf082/configs/funsd.1.5layers.train.yaml#L79.

Hi @EmperorKaiser
If you have used the default train config, funad.1.5layers.train.yaml, please change toy_data: true -> to toy_data: false.
https://github.com/clovaai/spade/blob/a85574ceaa00f1878a23754f283aa66bc2daf082/configs/funsd.1.5layers.train.yaml#L79
.

In this way, the training speed is very slow

I was getting the same problem with "toy_data: true" enabled, so I changed it as instructed and trained it again to compare the results. After 5 days of rather agonizing wait, I finally managed to train the model on funsd dataset. The "validation score" on the console output was somewhat promising nearing the end, as shown below:
Validation result at epoch 1999
{
'validation__avg_loss': 0.002040294697508216,
'validation__f1': 0.5,
'validation__precision_edge_avg': 0.9688680171966553,
'validation__recall_edge_avg': 0.9991896152496338,
'validation__f1_edge_avg': 0.9835796356201172,
'validation__precision_edge_of_type_0': 0.9967637658119202,
'validation__recall_edge_of_type_0': 0.9983792304992676,
'validation__f1_edge_of_type_0': 0.997570812702179,
'validation__precision_edge_of_type_1': 0.9409722089767456,
'validation__recall_edge_of_type_1': 1.0,
'validation__f1_edge_of_type_1': 0.9695884585380554
}
But whenever I run the test_funsd.sh script the results saved on test_score_dict are as follows:
{
"test__avg_loss": 0.7552362084388733,
"test__f1": -1,
"test__precision_edge_avg": 0.14870376813234742,
"test__recall_edge_avg": 0.07441387445544653,
"test__f1_edge_avg": 0.09919069560047562,
"test__precision_edge_of_type_0": 0.23957171536917243,
"test__recall_edge_of_type_0": 0.11969241056502841,
"test__f1_edge_of_type_0": 0.15963139120095124,
"test__precision_edge_of_type_1": 0.05783582089552239,
"test__recall_edge_of_type_1": 0.02913533834586466, "test__f1_edge_of_type_1": 0.03875,
"p_r_f1_entity": [[0.23255813953488372, 0.08196721311475409, 0.12121212121212119], [0.6824925816023739, 0.4271123491179202, 0.5254140491147915], [0.6892177589852009, 0.39707673568818513, 0.5038639876352397], [0.3717948717948718, 0.09294871794871795, 0.14871794871794874]],
"p_r_f1_all_entity_ELB": [0.6506309148264984, 0.35377358490566035, 0.45833333333333326],
"p_r_f1_link_ELK": [0.16062176165803108, 0.02913533834586466, 0.049323786793953855]
}
I also cannot seem to find the code for predictions/inference for funsd to see if the evaluation is actually correct, I don't think I can apply predict_cord.sh script to funsd as well... Could you give me some advice on the matter? Thanks in advance.

Hi @unleft
Could you upload your config file?


Autoindent not working properly

Version: 0.192.0
Problem

autoindent fails to indent parameter lists. Note: If I hit enter after fake_function(, param= would be indented 3x -- class > def > foo.

class Bar(unittest.TestCase):
    def test_indentation(self):
        foo = fake_function(param='hello',
        second_param='world', # should have indented this line
        ) # and this one, too

After saving, atom-beautify correctly indents the parameters
class Bar(unittest.TestCase):

    def test_indentation(self):
        foo = fake_function(param='hello',
                            second_param='world', # fixed!
                            ) # me, too!

But now, autoindent fails to reset indentation back to the beginning of the line

        [...]
        foo = fake_function(param='hello',
                            second_param='world',
                            )

                            bar = 'after_continuing typing' # ach!!

Unfortunately atom-beautify doesn't quite fix this ever time.
        foo = fake_function(param='hello',
                            second_param='world',
                            )
            bar = 'after_continuing typing'

Note
I recently updated atom-beautify as an attempt to help resolve the issue, but I am now getting errors there. The problems mentioned above still exist, but I will update if anything changes.
Update
Here's some testing in
Sublime3:

def testing_indentation_in_sublime(some_var):
    first_line = "works"
    second_test = func_indentation(multiple_param,
        auto_indents,
        still_here,
        ) # parenthesis auto matched when typed!

    third_test = alt_indentation(
        looks_just_like above,
        which_was_wrong,
        but_this_works,
        )

        fourth_line = existing_indentation('retry last pasting',
                                       'broken')
        and_indent_is_kept

    fifth_line = backspace_only_does_one_space('testing existing indent',
                                               'testing')
    indentation = "working!!"

    if check_nested_indent is not None:
        basic_indent = True
    elif check_indent:
        also_works = True
        if nested:
            so_far = so_good
        else:
            also_good = True
        else:
            uh_oh = 'is this really that hard?'

    return end_of_function

    def still_indented():
        '''sigh.'''
        indentation = 'not perfect here, either (but way better)'

Eclipse
def indent_test_eclipse(some_var):
    first_line = 'smoke test'
    second_test = func_with_param(style_one,
                                  hey_it_works,
                                  )
    back_to_the_beginning = 'holy crap.'
    third_test = func_with_alt_style(
                                     hrmmm,
                                     )

    if nested_indent is not None:
        basic_indent = True
    elif reindents_on_space_not_colon:
        still_okay = True
        if nested:
            so_far = so_good
        else:
            also_good = True
        else:
            must_be_difficult = True

    return end_of_function

def correctly_indents_after_return():
    '''Woo hoo'''

    return True

I updated to 0.198.0, and I still get this problem.
I've found a few other possibly related issues (though different languages, so maybe not):
javascript
coffee

After updating to 0.199.0:
def testing_indentation_in_199(some_var):
    first_line = "auto complete enabled by default?"
    second_line = func_indentation(bracket_matched,
    but_indentation,
    still_broken,
    )

    third_line = alt_indentation(
    long_param_list,
    still_not_working,
    )

        fourth_line = existing_indentation('auto ident paste not turned on',
                                           'so this is expected')
                                           this_is_not = 'indent error!'

    fourth_line = existing_indentation('retry last pasting',
                                       'this works fine')
                                       raise IndentationError('ARGH!')

                                       enter_does_not_clear = 'still bad'

                                       even_with_blank_line = 'tab puts here'

    if check_nested_indent is not None:
        basic_indent = True
    elif can_you_hear_me_now == False:
        also_works = True
        if this_works:
            no_surprise = True
        else:
            same_here = 'yep'
        else:
            very_frustrating = True

    another_test = 'split_line' + \
    'should be indented' + \
    'at least once'

    return check_this

    def still_indented(other_var):
        '''Yay.'''
        indentation = 'hopelessly broken'

Not just python:
C++
void main() {
  bool does_indentation_work = 1;
  if (does_indentation_work) {
    printf("woot");
  } else {
    printf("ugh");
  }

  if (alternate_style_indentation)
  {
    printf('still works');
  }

  else {
    printf('hmmm...');
  }

  int test_function = function_with_param(this_param,
  that_param
); // strange dedent after typing semicolon

  int test_function = function_with_param(
    this_param,
    that_param
  );

  int test_function = function_with_proper_indent(param1,
                                                  param2,
                                                ); // strange dedent again
                                                uh_oh = 1;

                                                still_after_blank_line = 1;

  return;
}

Whomever is in charge of this should look at https://atom.io/packages/atom-beautify . As the indenting works perfectly there for CoffeeScript.

It does work great--for python, too. I would not be using Atom (in the current state) without it.

Yes atom-beautify is pretty much what kept me on atom. My biggest pet peeves w/ atom are:

indenting issues
many bogus plugins (there should be some kinda QA checking for defects/deprecations to warn you)
(non) handling of large files

@nmccready Yes, yes, and yes. Though the view-tail-large-files package helps with the last one.

Yeah I have used the large file thing.. but then just use tail or vim. It would be nice if you could stream or handle files similar to vim. I am trying to convert to vim, but learning all the cryptic keyboard 'shortcuts' is sucking my life force. Not to mention vim's plugin space is ripe with crud as well.

http://vim-adventures.com/ is a great way to learn and you build up instead
of being presented with everything at once.
I actually switched from vim to Atom with vim-mode. It doesn't have all of
vim's shortcuts, but it has almost everything I care to use.
On Tue, May 19, 2015 at 4:26 PM, nmccready<EMAIL_ADDRESS>wrote:

Yeah I have used the large file thing.. but then just use tail or vim. It
would be nice if you could stream or handle files similar to vim. I am
trying to convert to vim, but learning all the cryptic keyboard 'shortcuts'
is sucking my life force. Not to mention vim's plugin space is ripe with
crud as well.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/6655#issuecomment-103659055.

Same issue for JSON: https://github.com/atom/language-json/issues/20

I'm honestly surprised this hasn't been addressed yet. Technically, it is a minor bug, but it's a huge frustration if you're doing any sort of coding.
I love Atom, but honestly, if there was another viable option, I would switch to it because of this bug alone. I'm hoping it'll be fixed soon.
I haven't had any extra time to sit down and see if this is something that could be fixed with a plugin. Again, does anyone have any leads on where to start looking for fixing this bug?

This seems to be a duplicate of atom/language-python#22

I think this is somehow related to this problem:
var a = {
  foo: {
    a:1, b:2}
  };

  var b = 2;

If the contents of foo are in the different line (as in the example), var b is indented incorrectly. If I change the code so that foo is only a single line, everything works.

Also having this issue while typing some well indented JavaScript. This is really annoying :(

For my package, https://atom.io/packages/sfdc-toolbox, if I paste in some code it does not auto indent. If I go to edit > lines > Auto Indent it fixes the file.

Same issue in clojure... https://github.com/atom/language-clojure/issues/23

I'm noticing indenting inconsistencies as well, and I'm not convinced it's related to the 'Auto Indent' setting.  Here are a few examples, with all community packages disabled (in case of package conflict)...
PHP with Auto Indent enabled:

JS with Auto Indent enabled: (the only one that behaves as expected)

PHP with Auto Indent disabled:

JS with Auto Indent disabled:

There is clear inconsistency when pressing enter between brackets :(

See PR here: https://github.com/atom/language-php/pull/96

/cc #8576
Adding that we would like to be able to disable auto-indentation when we start typing period.  Atom should not be trying to indent in the middle of typing assuming it knows better than you where you want to format your code.

+1 to disabling auto-indentation while typing.

I like and prefer auto-indent while typing, but it depends on how you identify "typing"--hitting ENTER?
In a bash script, for instance, if I have a variable that starts with fi, it will auto-deindent immediately after typing the fi. This happens despite the fact that I have the autocomplete set to three, so it shouldn't mess with it at all

Ultimately, it is a user option, and the user should have that choice.  The editor should behave as expected, based on that choice :)

Atom simply doesn't have autoindent, they should remove this from the editor because THIS DOESN'T WORK at all!
Autoindent is really a mess in html files...
I'm starting to look for alternatives.. maybe vim?

Python auto indent seems to be still broken.

@socketubs This issue is still open, therefore it hasn't been resolved yet.

@50Wliu This issue is, IMHO, very big/important as it affects most of (all?) the languages that Atom supports. Is there anybody working on it/making any progress?

@alexandernst @envygeeks I agree with both of you. :+1:

@envygeeks Yeah, we all agree that Atom is still far away from being the ultimate editor. Anyways, except the slow start, all other issues affect only 1 OS (which I use, btw), while this issue affects all OSes and all languages, so that makes it kind of more important.

@alexandernst To my knowledge there is no one working on this bug.  I'll mark it as help-wanted.

@envygeeks There's an argument for user-facing bugs being more important than system-related ones. An example is a designer friend uses an old crashy piece of software because it's vastly better than all the new stuff for him. He's happy with it crashing ten, twenty times a day. He knows what to do - he just restarts it. To technical people such as us, that's abhorrent, but to him, it's workable.
To an ordinary user, having a feature not work properly is usually vastly more problematic than having a system-related bug.

+1
I'm sorry, but wrong indentation is a deal breaker for me. I cannot make atom my editor if I cannot rely on it to tell me the scope in which I am currently.
I have taken a look at the language-mode.coffee file and tried to fix at least one issue but failed. The issue I noticed is with multiple blocks ending on the same line in javascript which is not handled correctly (indentation is not reduced by more than 1). This case seems to occur because of the way the indentation logic in language-mode is written: I'm not sure, but it seems to me that the logic only checks whether there is a scope that ends in the previous line, not how many.
I'm happy to try and help fixing this if someone can tell me how to go about it (e.g., how do I develop atom.io without having to rerun scripts/build all the time (which is slow)). I haven't been able to find a developer forum for atom where to ask that question.

how do I develop atom.io without having to rerun scripts/build all the time

Clone Atom into the ~/github/atom folder (or if you already have Atom cloned somewhere else, set the ATOM_DEV_RESOURCE_PATH environment variable accordingly).  Then just start Atom with the --dev parameter: atom --dev.  After making a change reload Atom (View -> Reload, or in future versions of Atom View -> Developer -> Reload Window) for the changes to take effect.

I haven't been able to find a developer forum for atom where to ask that question

The Atom Slack is a great place to ask developer questions (get an invite at https://discuss.atom.io/t/join-us-on-slack/16638/1).  Discuss (https://discuss.atom.io) is also very active, and as a last resort feel free to create an issue here.
Also, don't forget that each language has its own indentation rules defined in the settings folder (eg for language-javascript: https://github.com/atom/language-javascript/blob/master/settings/language-javascript.cson#L5-L12).
Thanks for taking this on!

Thanks, 50Wliu.
I have reworked the logic in language-mode a little as seemed necessary. In particular I'm counting the number of scopes being opened/closed rather than just checking whether a scope is opening or closing. I've also updated the settings.cson for a number of languages. The examples mentioned in this issue all seem to be addressed by that. But now I need to figure out a way to get this into master. Since the language packages are separate git repos I don't see how to best coordinate that. For now I'll just create separate pull request.
A lot of what went wrong, btw, is a result of the introduction of the decreaseNextIndent concept, which hadn't been absorbed by the language packages yet.

But now I need to figure out a way to get this into master. Since the language packages are separate git repos I don't see how to best coordinate that. For now I'll just create separate pull requests.

I see you also mentioned decreaseNextIndent - I believe @svanharmelen introduced that, and he first created a pull request for atom/atom as well as a corresponding PR in language-go to demonstrate its use.  I would suggest following that as well (maybe choose Python because of the prevalence of Python auto-indent issues?), and if the PR gets accepted, to then add extra PRs to the remaining languages.

@50Wliu, thanks for the suggestion! I did that, but used javascript as the example, since python is a whitespace-sensitive language, which means that python files cannot be auto-indented deterministically
https://github.com/atom/atom/pull/10367
https://github.com/atom/language-javascript/pull/300

Did you check out #6808? It's a good read about the process that let to the final changes of the current auto-indent code.
I started with a completely different approach counting matches from the last increase (iirc), but the back tracking was assumed to be too heavy and would not improve the overall performance of Atom and so I continued to find a different, slightly less perfect way which in the end "seemed" to work for all cases.
At least it got through all known tests at the time...

Thanks for the pointer @svanharmelen, I wish I had read that earlier. Not sure why I hadn't yet come across that. It helps a lot, both in understanding the rationale for your code and naming, and in setting expectations on how long it can take to get something like this merged.
Based on this I've also made another change to my PR, that will ensure a smoother transition for language packs.
https://github.com/atom/atom/pull/10384

cant wait it to be fixed

We are trying to come to an agreement on how to move forward. This is being discussed in PR #10384.

@muppetjones I'm working on this. Unfortunately it is quite hard to get my pull request accepted because of some disagreements on which is the lesser evil in a case where not all requirements can be met.
For now what I have done is to go with a monkey-patching approach, i.e., you can adopt (and thereby vote) for my new logic by installing this package:
https://atom.io/packages/sane-indentation
This addresses some of the issues you pointed out about C/C++ and it also handles your original python code correctly (I believe):

My own motivation for this was javascript, which now seems usable.
Right now that package only supports c/c++, python, and javascript, but it's quite easy to add additional languages, so I'll proceed by trying to pick and fix the languages for which people have reported problems.
Please note that the indentation in my logic is not perfect either. But at least it is "sane", by which I mean that it doesn't get out of whack uncontrollably (the indentation does not increase arbitrarily for no reason).
Please let me know if you run into issues with it.

Today is the day it really started annoying me.  How do you mess up auto-indenting so amazingly?  Sublime Text did it perfectly, but I prefer the other features of Atom.

This completely impedes clojure programming for me, I guess it's back to Sublime, at least for a while.

I'm running into this when doing programming in Lua.

Agreed everywhere that says this is something that should be an editable option. Something like
Greatly desired functionality, I hoped @chfritz 's monkey patch would solve it- but no go.
some_function(
with_a,
list_of,
parameters
)

Expected auto-indent:
some_function(
    with_a,
    list_of,
    parameters
)

@chfritz A little late back to the party, but I'll check out the monkey patch. Thanks for giving it a go!

Can we please get this other ticket reopened?
https://github.com/atom/atom/issues/8576#issuecomment-327645628
It's a much simpler problem to solve, and actually prevents Atom from being so annoying by messing up indentation on a line I'm just editing.

Adding my gif from #17015 to show an example from python:

For me, on linux atom installation version 1.35.1-1, this seems to be bugged again (since 2015 !).
For python language.
How is it possible to seriously use an editor for development if this one is just not able to correctly indent code ? (this is a big waste of time and a big frustration too).
Also, i use the vim-plus-plus package to try to get vim style short keys (but it is far to be vim or eveil mode in emacs).
So please, tell me if i can hope to see an evolution or if i have to uninstall it and put it inside "derecated" editor list ?

@jerome-diver you may want to check out my sane-indentation package. I built it because I agree, an editor whose indentation confuses more than it helps is a non-starter. I have a PR waiting to be merged into atom-core that would make that behavior standard, but until that is merged you can use the package to get back some, uhm, sanity. As a caveat, I haven't tested python too much, so feedback is very welcome and will only make it better.


Update columns table numeric precision and scale

This fills in the numeric_precision and numeric_scale columns of the information_schema.column table

This does not address views as there is not sufficient information to complete all the data in it

This pr is also missing testing for Decimal types cc: https://github.com/dolthub/dolt/issues/3704


[Bug]: JSObject function execution failure when it is parsing

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://user-images.githubusercontent.com/23132741/175784483-9ce32ad4-45fe-4160-973b-0a62b126f8d6.mov
Steps To Reproduce
export default {
      myFun1: () => {
        let values =
          [
            storeValue('val1', 'number 1'),
            storeValue('val2', 'number 2'),
            storeValue('val3', 'number 3'),
            storeValue('val4', 'number 4')
          ]
        return Promise.all(values)
          .then(() => {
            showAlert(JSON.stringify(appsmith.store))
        })
          .catch((err) => {
            return showAlert('Could not store values in store ' + err.toString());
          })
      }
    }

Copy the content of JSObject in the above test
Create new JSobject
Paste the copied JSObject code
Let the save get completed and ASAP press the run button.

Public Sample App
No response
Version
1.7.5

Attached video shows how 2 complete different functions on a JS object is run when selected function on the dropdown is current function the user is working on and user hits run using keyboard shortcut mid-way when the app is still being saved (parsed)
https://www.loom.com/share/46bdc6a157cb48bb93cbde6f78a6b9c9

@satbir121 could we run an RCA here and find a potential fix?

Closing the issue as this is no more reproducible after performance improvement in evaluations.


Preventing AUTO_INCREMENT Value Comparisons in Inspect and Diff Commands

Is it possible to avoid comparing and dumping the starting value of AUTO_INCREMENT in the inspect and diff commands?
Each time I create a new branch, I take a snapshot (inspect) of the master database, and before merging, I generate the changes. I've noticed this issue only occurs when using --format "{{ sql . }}", which is necessary for my workflow.
I do not want to generate incremental changes like the following:
./db_diff.sh
-- Modify "logins" table
ALTER TABLE `logins` AUTO_INCREMENT=1212;
-- Modify "logs" table
ALTER TABLE `logs` AUTO_INCREMENT=133052;
-- Modify "pages" table
ALTER TABLE `pages` AUTO_INCREMENT=4;
-- Modify "phrases" table
ALTER TABLE `phrases` AUTO_INCREMENT=436;

Thanks for any help with this issue.

How did you solve this problem?👀


Error when upgrading Symbol-cli client to version 0.23

1.When updating  Symbol-cli 0.23 version, from previous, during the installation process, I get an error:

2..To fix it, you need to run the command:
npm update node_modules
Reason: node_modules mismatch with the current assembly.
After that, repeat npm install --global symbol-cli

Win 10 x64, previous Symbol-cli 0.22

Going to close it for now. It looks like an isolated issue. We cannot reproduce it. But feel free if this issue pops up again, we will investigate


Enhancement: add experimental support for the JPEG-XL format, requires libvips compiled with support for libjxl, prebuilt binaries will not support this

What are you trying to achieve? -> smaller images
Have you searched for similar feature requests? -> Yes, see also https://github.com/lovell/sharp/issues/2245
What would you expect the API to look like? -> Same as other formats.
What alternatives have you considered? -> AVIF, but JPEG-XL has several advantages
Is there a sample image that helps explain? -> nope
More info:
https://jpeg.org/jpegxl/
https://bugzilla.mozilla.org/show_bug.cgi?id=1539075#c18
https://github.com/mozilla/standards-positions/issues/522
https://caniuse.com/jpegxl
There is some initial implementation in Squoosh:
https://github.com/GoogleChromeLabs/squoosh
I know, it's soon, but the format spec. is finished so it's ready to be implemented. Also the comment from Facebook employee in the bugzilla thread has some good points regarding this formats (bright) future in FB.

The forthcoming libvips v8.11.0 will add experimental support for this format via the libjxl reference library.
https://gitlab.com/wg1/jpeg-xl
This library is being developed in private and the commit log is mostly "Update JPEG-XL with latest changes" which makes debugging tricky, so sadly this is not quite ready for the prime time yet.
Integrating with sharp would require at least the following upstream issues to be addressed:

Develop in public - see https://gitlab.com/wg1/jpeg-xl/-/issues/220 (this, for me, is a blocker)
ICC profile support, EXIF/XMP metadata support - see https://gitlab.com/wg1/jpeg-xl/-/issues/208
pkg-config with static builds - see https://gitlab.com/wg1/jpeg-xl/-/issues/224

FYI, we just migrated today to a public repo for development: https://github.com/libjxl/libjxl

I'm looking forward to this feature.
I was able to get the latest version of Electron to display JPEG XL (or jxl as it's also called):
app.commandLine.appendSwitch('enable-features', 'JXL');

When sharp lets me use jxl I'll be able to better handle my image-heavy application: https://github.com/whyboris/Video-Hub-App 🚀
Thank you for your work 🙇

It's been awhile since the last comment, has there been any update on this?
Looks like Libvips has added support (with caveats): https://github.com/libvips/libvips/pull/2181
Is there any other dependencies upstream blocking this from moving forward? Are we just needing a PR at this stage?

It's been awhile since the last comment, has there been any update on this?
Looks like Libvips has added support (with caveats): https://github.com/libvips/libvips/pull/2181
Is there any other dependencies upstream blocking this from moving forward? Are we just needing a PR at this stage?

@soluml Please see the list of linked issues in my comment above https://github.com/lovell/sharp/issues/2731#issuecomment-847292093 as these are all dependencies that must be implemented or addressed first. If you are able to help work on these in libjxl then please do so.

Thanks for the quick reply!
On the potential DOS issue (576), that seems to be resolved per the thread.
On external LCMS2 issue (124), per the thread at the bottom, the lcms2 issue looks to be resolved: "only the vmaf part is left". So is this resolved as well?
That leaves EXIF/Metadata support (208) which looks to be on libvips if I'm following the thread correctly. It seems for most web uses, stripping exif/metadata is a good idea anyway so I don't know if an alpha implementation of JXL could be considered in the interim?

Probably worth closing the JXL GitLab issues, and recreating them on GitHub for better tracking and prioritization. And updating the links in @lovell's comment.

Commit https://github.com/lovell/sharp/commit/a7fa7014ef9b43ecadc262939c4895bb5e9270a1 adds experimental support for JPEG-XL when used with a globally-installed libvips compiled with support for libjxl.
Please note that the prebuilt binaries will not include support for JPEG-XL. If the situation as documented by https://caniuse.com/jpegxl changes significantly then we can revisit this.

v0.31.3 now available with support for a globally-installed libvips compiled with support for libjxl.
If you'd like support for this in the prebuilt binaries, please direct your energy and constructive feedback towards web browser vendors rather than asking here.

@lovell, thanks for your stellar work here.
Might we be able to re-visit this now that Safari includes JPEG-XL support[1]?  According to BrowserStack, Safari is the 2nd most popular browser with a 24.36% market share[2].  Pre-built binaries would be immensely helpful in serverless environments where we can't install our own global binaries.
With Google it seems a bit of a chicken-or-the-egg issue; but of course, that's been discussed much elsewhere.  Presumably, however, the easier it is for developers to adopt this technology, the more use we'll see.  And there are some great wasm libraries to convert or render in unsupported browsers.
Thanks again for being so ahead-of-the-curve here... it was wonderful to find this issue already solved last year! :100:
[1] Version 17.  Shipped on iOS; Tech Preview on Desktop.
[2] https://www.browserstack.com/guide/understanding-browser-market-share#:~:text=Overall Browser Market Share 2023,-Browser Market Share&text=A recent market study by,the remainder of the list.


Boundary integrator, boundary face integrator

Hi all,
I've been always confusing about the difference between AddBoundaryIntegrator and AddBdrFaceIntegrator that both are member functions of class BilinearForm. Are they both OK for computing $\int_{\partial\Omega} u v dx$ ?
Thanks in advance!

The AddBdrFaceIntegrator is for DG methods where computation on the face requires access to the two elements that contain that face.

Thanks for your reply @tzanio ,
For DG methods, is it right that AddBdrFaceIntegrator is for boundary faces and AddInteriorFaceIntegrator is for interior faces?
If it's right, then AddBoundaryIntegrator is also for boundary faces, so what's the difference with AddBdrFaceIntegrator?

The difference is that the AddBoundaryIntegrator requires information only on the face, while AddBdrFaceIntegrator requires information also from the element containing the face, see e.g. DGTraceIntegrator

Thanks @tzanio , I understand it.


Fix fp16 arithmetic detection for Cortex-X1 device

FP16 arithmetic detection for Cortext-X1 is not covered.
CPUs of type Cortext-X1: Snapdragon 888, Samsung Exynos 2100

The AArch32 part is superseded by #168. AArch64 part is presumably unnecessary, as all devices with Cortex-X1 have a recent enough Linux kernel to report FP16 support via getauxval(AT_HWCAP).


Ensure Service class successfully deploys for all valid scenarios

The Service class needs some ❤ . Currently it works for the most common uses, but there are real but less frequent cases that we do not handle correctly. #265 & #483 target two documented issues, but this issue is to audit the class to ensure we haven't missed any other service configurations that are valid but would lead to a failed deploy.

I read through https://kubernetes.io/docs/concepts/services-networking/service/ and the only case we aren't covering that jumped out at me was:

[ ] type: LoadBalancer we could verify that status.LoadBalancer is populated.

Not required but exploring https://github.com/Shopify/kubernetes-deploy/issues/135 as part of this task might be worthwhile

The only other thing I found specifically related to Service is that NodePort may require port validation. I 🎩 and the tool already works as expected, so I think there's nothing to do for this case.
With invalid port:
[FATAL][2019-09-10 09:05:08 -0400]      WARNING: Any resources not mentioned in the error(s) below were likely created/updated. You may wish to roll back this deploy.
[FATAL][2019-09-10 09:05:08 -0400]
[FATAL][2019-09-10 09:05:08 -0400]      Unidentified error(s):
[FATAL][2019-09-10 09:05:08 -0400]          The Service "test-lb" is invalid: spec.ports[0].nodePort: Invalid value: 123123: provided port is not in the valid range. The range of valid ports is 30000-32767

With a port already in use:
[FATAL][2019-09-10 09:07:28 -0400]      WARNING: Any resources not mentioned in the error(s) below were likely created/updated. You may wish to roll back this deploy.
[FATAL][2019-09-10 09:07:28 -0400]
[FATAL][2019-09-10 09:07:28 -0400]      Unidentified error(s):
[FATAL][2019-09-10 09:07:28 -0400]          The Service "test-lb2" is invalid: spec.ports[0].nodePort: Invalid value: 30001: provided port is already allocated

I'm surprised 'port is not in the valid range' isn't detected in --dry-run. Do you know if  --server-dry-run detects it. Might add strength to the argument we should be using that everywhere.

Do you know if --server-dry-run detects it?

It does, but only if the initial Service that required that port was already scheduled:
If neither exists:
$ k --context minikube -n dirceu-test apply -f ~/Desktop/test-lb.yml --server-dry-run=true
service/test-lb created (server dry run)
service/test-lb2 created (server dry run)

If we create one and then try to --server-dry-run the other:
$ k --context minikube -n dirceu-test apply -f ~/Desktop/test-lb.yml --server-dry-run=true
service/test-lb unchanged (server dry run)
The Service "test-lb2" is invalid: spec.ports[0].nodePort: Invalid value: 30001: provided port is already allocated

In any case, I believe it would be valuable to add support to that everywhere.

I think we can close out this issue :). I think linting the yaml files isn't really the responsibility of Krane.


Make the two methods tables() and columns() return json content

This is a proposed fix for the conflict here has been between the two-last PR merged.
I'm afraid that I did not manage to run the test suite, so I'm not too confident with that fix.

Has been made obsolete by #10


Types Sinon

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   65.18%   65.18%
=======================================
  Files          11       11
  Lines         293      293
  Branches       20       20
=======================================
  Hits          191      191
  Misses        102      102

Continue to review full report at Codecov.

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


Streamline web app creation

Refactored the streamlined creation with PR fixes from
https://github.com/Microsoft/vscode-azuretools/pull/197

The build will break because of the ui package (which might be a good reason to make two separate PRs).  I'm guessing lint is complaining because line 85 is
executeSteps.push(new ResourceGroupCreateStep());
which wouldn't be a type until the index files in the ui package are updated.


Release request for windows version 0.47

Following https://github.com/microsoft/win32metadata/issues/1506, could you release a new version of the windows crate with the updated metadata?
Thanks!

Sure, I'm still waiting for an update to the Win32 metadata, but I can ask them to publish another update.

OK, was able to ingest the latest version here: https://github.com/microsoft/windows-rs/pull/2400.

This update has now been published: https://github.com/microsoft/windows-rs/releases/tag/0.47.0


Add list of reserved identifiers

https://github.com/google/cel-spec/blob/master/doc/langdef.md
The following identifiers are reserved to allow easier embedding of CEL into a host language.
as break const continue else for function if import let loop package
namespace return var void while

Completed in #8


Let's Encrypt handshake error on Android 6

Describe the bug
I/flutter ( 8191): 00:47:31.046247| [DB] error: mbedTLS(C): x509_verify_cert() returned -9984 (-0x2700)
I/flutter ( 8191): 00:47:31.048299| [DB] error: mbedTLS(C): SockPP: mbedtls error -0x2700 from mbedtls_ssl_handshake: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
I/flutter ( 8191): 00:47:31.050706| [DB] error: mbedTLS(C): SockPP: ---closing mbedtls_socket with error (mbed status -0x2700, last_error -9984) ---
I/flutter ( 8191): 00:47:31.209377| [WS] error: TCPSocket TLS handshake failed; cert verify status 0x01
I/flutter ( 8191): 00:47:31.214290| [WS] error: {N8litecore9websocket16BuiltInWebSocketE#2} WebSocket failed to connect! (reason=Network error 7)
I/flutter ( 8191): 00:47:31.217310| [Sync] error: {Repl#1} Got LiteCore error: Network error 7, "The certificate validity has expired"

To Reproduce
Using replicator with gateway hosted in a server with Let's Encrypt TLS configuration, and try to make a sync in a device with Android 6
With other devices (Windows, Android 9+, iOS) this problem never happend.
Expected behavior
The replicator cannot recognize the trust of intermediate chains like explain in this thread:
https://stackoverflow.com/questions/69511057/flutter-on-android-7-certificate-verify-failed-with-letsencrypt-ssl-cert-after-s
I try to use use the solution posted in this post https://stackoverflow.com/a/71090239/5956942 but couchlite core not reconize the Security Context Certificate.
Can you make couchlite works with SecurityContext.defaultContext or provide some another solution for this problem with Let's Encripty?
Environment (please complete the following information):

OS: Android 6
cbl: ^1.2.0
cbl_flutter: ^1.0.0+3
cbl_flutter_ce: ^1.1.1

PS.: I tried to use a self signed cert like doc sugest in https://docs.couchbase.com/sync-gateway/current/authentication-certs.html#creating-a-self-signed-certificate but still not works

Thanks for reporting this.
As a workaround, you can set pinnedServerCertificate to the certificate issued by Let's Encrypt for your server, when creating your ReplicatorConfiguration.
I'm going to provide a way to set your own root certificates when creating your ReplicatorConfiguration, so you can configure the Let's Encrypt root certificate.

Thanks for reporting this.
As a workaround, you can set pinnedServerCertificate to the certificate issued by Let's Encrypt for your server, when creating your ReplicatorConfiguration.
I'm going to provide a way to set your own root certificates when creating your ReplicatorConfiguration, so you can configure the Let's Encrypt root certificate.

Can you give some price of code with this workaroud?
Can i use self signed cert with this workaround?

import 'dart:convert';

// The cert in PEM
const cert = '''
...
''';

ReplicatorConfiguration(pinnedServerCertificate: Uint8List.fromList(utf8.encode(cert)));

A self-signed cert should work too.

Using Let's Encrypt certificates should work normally in the 2.1.0 release of cbl_dart, cbl_flutter_ce and cbl_flutter_ee. Please comment if the issue persists.

Hi,
Thank you for workaround, and for the fix on cbl 2.1.0
But i still have some problems.
Your version of cbl 2.1.0 update dependences (specially ffi) and force the anroid minimum sdk to 33. This put all my clients with android 6 out of game.
About your workaround, the problem is the let's encrypt renew certificates after 3 months. So every time the certificates renews, i need build another version of app.
Let me know if you have better solution for this.
Regards.

Your version of cbl 2.1.0 update dependences (specially ffi) and force the anroid minimum sdk to 33. This put all my clients with android 6 out of game.

I was not aware of those changes to the minimum SDK in dependencies. Couchbase Lite itself has a minimum of 22 and that is what I try to support, too. I'll look into lowering the dependency constraints where possible, but it would be helpful if you could point out the specific dependencies that require these minimum SDK versions.

About your workaround, the problem is the let's encrypt renew certificates after 3 months. So every time the certificates renews, i need build another version of app.

I believe those are the leaf certificates issued to end users of Let's Encrypt. The root certificates of Let's Encrypt are valid for a much longer amount of time. Since cbl 2.1.0 pinnedServerCertificate supports not just leaf certificates but also intermediate and root certificates.

Your version of cbl 2.1.0 update dependences (specially ffi) and force the anroid minimum sdk to 33. This put all my clients with android 6 out of game.

I was not aware of those changes to the minimum SDK in dependencies. Couchbase Lite itself has a minimum of 22 and that is what I try to support, too. I'll look into lowering the dependency constraints where possible, but it would be helpful if you could point out the specific dependencies that require these minimum SDK versions.

About your workaround, the problem is the let's encrypt renew certificates after 3 months. So every time the certificates renews, i need build another version of app.

I believe those are the leaf certificates issued to end users of Let's Encrypt. The root certificates of Let's Encrypt are valid for a much longer amount of time. Since cbl 2.1.0 pinnedServerCertificate supports not just leaf certificates but also intermediate and root certificates.

As i said,  the dependece is FFI. I know the other package mentioned is not you responsability, but because you update of FFI, then this force update various packages in cascade. If i update fille_picker, then update another, and another, and lastly, Android6 is not supported anymore.
Can you keep the previous version of FFI ?
Because cbl >=2.1.0 depends on ffi ^2.0.1 and file_picker 4.6.1 depends on ffi ^1.1.2, cbl >=2.1.0 is incompatible with file_picker 4.6.1.
So, because memodu depends on both file_picker 4.6.1 and cbl 2.1.0, version solving failed.

Your version of cbl 2.1.0 update dependences (specially ffi) and force the anroid minimum sdk to 33. This put all my clients with android 6 out of game.

I was not aware of those changes to the minimum SDK in dependencies. Couchbase Lite itself has a minimum of 22 and that is what I try to support, too. I'll look into lowering the dependency constraints where possible, but it would be helpful if you could point out the specific dependencies that require these minimum SDK versions.

About your workaround, the problem is the let's encrypt renew certificates after 3 months. So every time the certificates renews, i need build another version of app.

I believe those are the leaf certificates issued to end users of Let's Encrypt. The root certificates of Let's Encrypt are valid for a much longer amount of time. Since cbl 2.1.0 pinnedServerCertificate supports not just leaf certificates but also intermediate and root certificates.

Ok, my fault. Now i'm here on cbl 2.1.0. I remove the pinnedCertificate param, and ...
... now i got this error:
I/flutter ( 9941): 15:12:29.157395| [DB] error: mbedTLS(C): x509_verify_cert() returned -9984 (-0x2700)
I/flutter ( 9941): 15:12:29.165543| [DB] error: mbedTLS(C): SockPP: mbedtls error -0x2700 from mbedtls_ssl_handshake: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
I/flutter ( 9941): 15:12:29.226430| [DB] error: mbedTLS(C): SockPP: ---closing mbedtls_socket with error (mbed status -0x2700, last_error -9984) ---
I/flutter ( 9941): 15:12:29.230412| [WS] error: TCPSocket TLS handshake failed; cert verify status 0x01
I/flutter ( 9941): 15:12:29.233735| [WS] error: {N8litecore9websocket16BuiltInWebSocketE#2} WebSocket failed to connect! (reason=Network error 7)
I/flutter ( 9941): 15:12:29.236445| [Sync] error: {Repl#1} Got LiteCore error: Network error 7, "The certificate validity has expired"

Access url with browser show me valid TLS/Certificate status.
I still need to add a pinned certificate for Let'Encrypt?

Regarding the dependencies: I do need version >2.0.0 of ffi, but looking at the android part of file_picker you should be able to support Android SDK 16, since that's the minSdkVersion. Only the compileSdkVersion is 33.

Sorry, I probably was not clear enough about the Let's Encrypt certificate. You still need to provide a certificate in pinnedServerCertificate, but it can now be the root certificate of Let's Encrypt, which is valid for much longer than 3 months.
You most likely need to use the ISRG Root X1 Let's Encrypt certificate.

Sorry, I probably was not clear enough about the Let's Encrypt certificate. You still need to provide a certificate in pinnedServerCertificate, but it can now be the root certificate of Let's Encrypt, which is valid for much longer than 3 months.
You most likely need to use the ISRG Root X1 Let's Encrypt certificate.

I try to use the root ISRG Root X1, but still got this error on Android 6 device and CBL 2.1.0

Hmm. What is your setup to make the server available through TLS? Are you using a proxy?
The server needs to serve the complete certificate chain. If you are using certbot that should already be the case.
In any case, you could try setting the ISRG Root X1 certificate as the only trusted root certificate through trustedRootCertificates instead of using pinnedServerCertificate.

If your server is publicly available, it would be helpful if you could share its hostname with me. That would allow me to take a look at the configured certificate chain.

Hmm. What is your setup to make the server available through TLS? Are you using a proxy?
The server needs to serve the complete certificate chain. If you are using certbot that should already be the case.

This is my setup:
https://dev.to/filipenanclarez/protegendo-a-comunicacao-do-flutter-com-o-couchbase-19jo#chapter-3

In any case, you could try setting the ISRG Root X1 certificate as the only trusted root certificate through trustedRootCertificates instead of using pinnedServerCertificate.

Ok, i will try e back here...

If your server is publicly available, it would be helpful if you could share its hostname with me. That would allow me to take a look at the configured certificate chain.

Yes, of course. But not entire server is over TLS, only sync_gateway, so you can check on this endpoing:
https://memotai.com:4984/
Also, a relevant point: This error do not occur in another devices, even with or without pinnedServerCertificate. Only on this specific device with Android 6.0.1 (Samsung Tab SM700) we have this problem.

That's great! Thanks for letting me know.


[ux] Explore Dioxus for web application

This is rust-native, supports HTML rendering with a react-like interface. It is the predominant frontend library for Rust (by yearly downloads) and is a very active codebase.
https://dioxuslabs.com/

thx for sharing, know https://tauri.app but dioxus seems interesting too
not building any UI for now, just focus on making infra/lib work well


FaceLandmarker not saving data when Include are not specified

If we leave these two empty, then no blendshapes or landmarks are saved
IncludeBlendshapes='',
IncludeLandmarks = '',
The same if they are not specified, then no blendshapes or landmarks are saved
#IncludeBlendshapes='',
#IncludeLandmarks = '',
e.g. see tests/Testcase_landmarker.py

This should be fixed now.


Add cartridge support for adjustQueryProperties()

The goal is to allow the selectivity of substructure queries to be tuned.
The piece of this that I'm most concerned about is commit 0f652101e8785e67ce, which breaks backwards compatibility in a feature which is, likely, not yet heavily used. There's more info in the commit message.

This looks fine.  It also looks like a place we can put the query preparation we were talking about on the mailing list?  I didn't actually know this existed, but it looks to be appropriate.

Yeah, I think this is the place for that. It's still a bit too specialized, but I think the outline is right
On Tue, Jun 21, 2016 at 8:38 PM +0200, "Brian Kelley"<EMAIL_ADDRESS>wrote:
This looks fine.  It also looks like a place we can put the query preparation we were talking about on the mailing list?  I didn't actually know this existed, but it looks to be appropriate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Debugger import does not deserialize dates

Elm version: 0.18
Code:
import Html exposing (beginnerProgram, div, button, text)
import Html.Events exposing (onClick)
import Date

main =
  beginnerProgram
    { model = Date.fromTime<PHONE_NUMBER>
    , view = view, update = update
    }

view model =
  div []
    [ div [] [ model |> (Date.dayOfWeek >> toString) |> text ]
    , button [ onClick (Increment model) ] [ text "+" ]
    ]

type Msg = Increment Date.Date

update msg model =
  case msg of
    Increment date ->
      date

Steps to reproduce:

Build with elm-make Main.elm --debug
Click the plus button.
Export debug history
Import debug history

Result:
The date from the import.json file is not deserialized and our model is now of type String instead of Date.

Tracking in #98. Thanks for the report!


fix: fix webhooks list

Fixed Webhooks UI
Added delete popup and delete handlers
Added Webhooks preview

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


grid.update() is not working

Hi all, i have this code lines
var grid = $('#gridstack-panel').data('gridstack');
var $widget = $('#widget-1');
var widgetValues = {
x = $widget.data('x'),
y = $widget.data('y'),
width = $widget.data('width'),
height = $widget.data('height')
}
$widget.addClass('newclassname');
grid.update($widget, widgetValues.x, widgetValues.y, widgetValues.width , widgetValues.height );
but the object not change.
What i'm doing wrong?
Thanks for your time and reply

Well, i was checking my code, and the error i had was getting two jquery objects (in html had two elements with same id).
So, corrected this error all work fine.


Incorrect Calorie and Protein Calculations

The calculations for total calorie and protein intake were inaccurate due to type mismatches (Decimal vs. float) and summation errors between searched and manually entered items.

Standardize data types and refactor the summation logic to ensure consistency.


About how EventBus#getDefault() is used

For the EventBus#getDefault() method to get EventBus, do you recommend using EventBus.getDefault() directly to get it, or hand it over to the Spring container for management and injection upon invocation?

this is not a library-related question. there's no right answer, depends on your code style.
If you want to follow DI principles to the letter, you should instantiate EventBus object on a @ Bean factory method, then inject it.

this is not a library-related question. there's no right answer, depends on your code style.
If you want to follow DI principles to the letter, you should instantiate EventBus object on a @ Bean factory method, then inject it.

I'm glad to receive your answer. I'm using what you said right now, but I'm not sure if I see examples on the official website that are being used by EventBus.getDefault().

I don't think there's a need for such documentation. This library is written in pure Java SE, doesn't depend on any other library and it is framework agnostic. That means you can use it on top of any java framework you want, anyway you want.
Usually when you see documentation online on "how to integrate technology X with spring", it's about libraries that deeply and magically integrates with spring, via annotations. It's not the case here. A quick example: the Jedis library is a Redis client, it's framework agnostic, it doesn't tell you how to use it with spring, or require you to use it with spring or other framework in a very specific way. On the other hand, the @ Cacheable annotation, tells you specifically how to cache on Redis with spring, but you can't reuse the same code outside of spring.

I don't think there's a need for such documentation. This library is written in pure Java SE, doesn't depend on any other library and it is framework agnostic. That means you can use it on top of any java framework you want, anyway you want.
Usually when you see documentation online on "how to integrate technology X with spring", it's about libraries that deeply and magically integrates with spring, via annotations. It's not the case here. A quick example: the Jedis library is a Redis client, it's framework agnostic, it doesn't tell you how to use it with spring, or force you to use it with spring or other framework in a very specific way. On the other hand, the @ Cacheable annotation, tells you specifically how to cache on Redis with spring, but you can't reuse the same code outside of spring.

I think I understand what you mean. Thank you very much for your answer. I will close this Issues and thank you again


Default username/password not working

The provided default username/password combination is not working for me.
Also tried setting BACKUPPC_WEB_USER and BACKUPPC_WEB_PASSWD via env but I can't access the admin interface.
Any ideas?

Didn't fix it, but by adding a new user in /etc/backuppc/htpasswd I am to log in.


Improvements to docs infrastructure

Closes #495
Closes #496
Also fixes some typos in https://turinglang.org/docs/versions.html ('Documention' -> 'Documentation')
Adds some extra files that should be gitignored (Quarto requires a python venv to run, so I added the typical venv and .venv paths)

Please see issues for more details!

Unfortunately, GitHub is still running the version of the workflows on the main branch, so the current PR preview doesn't show the correctly built docs (for example, it still has the UndefVarError I mentioned in #495).
To get around this, I'm going to temporarily add a new workflow file that runs on this branch, then remove it after it's done running.

(@shravanngoswamii Requesting your expertise on github actions here :))

@penelopeysm after this is merged, what will be the ideal process of updating the documentation of old versions!

@shravanngoswamii That's a good point. Am I right in saying that only 0.32 is generated via this repo?
If that's the case, I suspect the only change we need to make on the backport-v0.32 branch is to coalesce the envs into a single Project.toml with the appropriate compat entry for Turing, and it should work fine with the present workflow.... I think.

Not only v0.32, let's say we are on v0.36 and some changes are required in v0.34 (which is not backport)!

Hm. I had kind of assumed that after we upgrade master to 0.34, we would then also create a backport-v0.33 branch that would just be the contents of master prior to upgrade. Those could then be edited however we wish and should be published just fine by the current workflow.

I had kind of assumed that after we upgrade master to 0.34, we would then also create a backport-v0.33

Actually, we created the backport of v0.32 because it was released when I was developing versions workflows for this repo!
See here, we are publishing rendered docs of old versions in gh-pages itself:
https://github.com/TuringLang/docs/blob/b65e747ccc8ea125b83a1db6f3de80c0bb839947/.github/workflows/publish.yml#L45C1-L52C55
https://github.com/TuringLang/docs/blob/b65e747ccc8ea125b83a1db6f3de80c0bb839947/.github/workflows/publish.yml#L93C1-L99C23
gh-pages: https://github.com/TuringLang/docs/tree/gh-pages/versions

In current workflow, we have to create a branch from some old commit and then update the old docs by changing version number in _quarto.yml

In current workflow, we have to create a branch from some old commit and then update the old docs by changing version number in _quarto.yml

Yeah. I think we are agreeing, right? ;) The docs for v0.33 would live in a v0.33 branch (we can call it backport-v0.33 for consistency, or we can take a different name, not a big deal). The Project.toml and _quarto.yml on that branch would be kept at 0.33. Then we make edits on that branch if we want to change old docs. As long as we keep the structure of those branches in agreement with the publish workflow, I don't see any problems arising.

Is it fine to create a lot of branches, because they will keep increasing!

Personally I wouldn't have a problem with it! As long as we are publishing multiple versions of the docs online, the source for those versions will have to live somewhere, and this repo is the most logical place to house them.
Most software projects I know do this too, for example the Julia core repo has release/vX.Y branches with all the docs which (I presume) is how they keep docs for old versions online :)
If we find one day that there are too many branches, then we could just stop providing online documentation for old versions. For example, we could say that we provide docs only for the 5 latest versions. We could discuss that in the future, but I can't say I feel particularly bad about using GitHub's disk space haha.

We could discuss that in the future, but I can't say I feel particularly bad about using GitHub's disk space haha.

Well, I agree to all your points! I think this PR is good to go!!

@penelopeysm Thank you for all the effort!!

Thanks everyone!


new: logout: allow return URLs to application site

Follow up on #11 which might have restricted logout redirect URLs too tight.
After consideration (this was actually in use), allow redirect back to the application.
To make this feasible, add an additional parameter id to the logout URL that takes the ID of a valid registered application.
Under certain conditions, accept also return URL to redirect to the application site (same base as application callback URL).
This only accepts HTTPS URLs not changing the port (so using 443), and rejects redirects to localhost (via hostname or IP address).
This is still guarded by requiring a valid registered application - and registration is only available to authenticated users.

Looks good to me


RUM-5977 create UploadSchedulerStrategy interface and default implementation

What does this PR do?
Creates a basic interface to let customers decide how long to wait after an upload before trying again, based on the number of upload attempts, status code and exceptions.

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

Project coverage is 70.01%.

Additional details and impacted files
@@                       Coverage Diff                        @@
##           xgouchet/RUM-5977/upload_status    #2222   +/-   ##
================================================================
  Coverage                            70.01%   70.01%
================================================================
  Files                                  726      726
  Lines                                27021    27021
  Branches                              4554     4554
================================================================
  Hits                                 18917    18917
  Misses                                6826     6826
  Partials                              1278     1278


Duplicate S on protocol

Hey man... how's going? Hope fine
I tried to download a course today using Freelibrary card now, and got this error

[] : Downloading webpage..
[] : Extracting course information..
[] : Downloading 'Learning Redis'
[] : Trying to login as organization : (freelibrary.org)...
Traceback (most recent call last):
File "lynda-dl.py", line 444, in
main()
File "lynda-dl.py", line 416, in main lynda.InfoExtractor()
File "lynda-dl.py", line 112, in InfoExtractor self.login()
File "lynda-dl.py", line 35, in login extract_info.login(self.user, self.passw, self.org)
File "F:\Udemy\Lynda\lynda_extractor.py", line 121, in login response = session.post(login_url, data=login_data, headers=std_headers)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\requests\sessions.py", line 555, in post return self.request('POST', url, data=data, json=json, **kwargs)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\requests\sessions.py", line 508, in request resp = self.send(prep, **send_kwargs)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\requests\sessions.py", line 612, in send adapter = self.get_adapter(url=request.url)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\requests\sessions.py", line 703, in get_adapter raise InvalidSchema("No connection adapters were found for '%s'" % url)
requests.exceptions.InvalidSchema: No connection adapters were found for 'httpss://lynda.com/portal/patron?org=freelibrary.org'

but, take a look in the last line.... there is an extra S on http protocol... Mind to take a look for me, please?
Cheers =)

@tofanelli for testing can you share your credentials on email as i have only tested this against a single organization and this worked fine for me. if yes you can email me.

Perfect!! =)
thanks =)


Show vault available balances and validate balances on vault transactions

Motivation and context

Screenshots:

Before
After

[before screenshot]
[after screenshot]

Testing

New environment variables:

env var : env var details

New dependencies:

dependency : dependency details

New dev dependencies:

dependency : dependency details

cannot verify if everything is ok, because when I open campaign details I get an error:
(console log:) donations.slice is not a function

cannot verify if everything is ok, because when I open campaign details I get an error: (console log:) donations.slice is not a function (src/components/campaigns/DonorsAndDonations.tsx (60:22))

Yep the response for donations are different that we expect. Please change  227 row  <DonorsAndDonations donations={donations?.items} /> with this. It will help you to test. Don`t worry about type script  it will work for tests.


Interactive page examples?

Some page examples really need to be interactive to make sense - mouseX and mouseY, cursor(), frameCount, etc. Should we use the existing processing.js sketches for these, or what?

Online lightweight interactive python sketches are now possible with e.g. Transcrypt / pyp5js -- they are small and load fast: https://berinhard.github.io/pyp5js/examples/.
However it might be misleading to learners. It would strongly imply that you can post interactive processing.py sketches to the web in the way they saw done in the reference, but really you can't-- they would be sketches made with a different mode.
Still, most simple interactive examples could probably be automatically generated in pyp5js from code, which would be nice for the site generator -- I just wonder if it would need a big disclaimer message.

I think that Python Mode should be honest and straightforward that it doesn't run on web, especially to avoid confusion with other platforms that actually do. The only reason to use Python Mode these days, as opposed to p5py or pyp5js, is its compatibility with Java libraries.


UP-4834 gradle task clean shared

Checklist

[X] the individual contributor license agreement is signed
[X] commit message follows commit guidelines
[ ] tests are included
[ ] documentation is changed or added
[ ] message properties have been updated with new phrases
[ ] view conforms with WCAG 2.0 AA

Description of change

Added cleanShared and cleanTomcat tasks in build.gradle.
You need to set serverbase property in gradle.properties correctly so that it can find corresponding files and perform clean operations on those

Coverage increased (+0.008%) to 22.888% when pulling ac6baf8b19499f2ed4e8bbd3eb973afced27388e on stalele:UP-4834_gradle_task_cleanShared into ce925e5ed28f05585fa3287b869f18bae151c405 on Jasig:master.

@stalele
You need to set serverbase property in gradle.properties correctly so that it can find corresponding files and perform clean operations on those

Is this still the case?  This requirement is not a good one, because the gradle.properties file will (therefore) permanently appear in the "Changes not staged for commit:" list in Git.
Please source the serverbase property from build.properties (which is listed in the .gitignore).

Coverage increased (+0.004%) to 22.894% when pulling ab4573608d92c699f78b69b313e1e5f28f74ea23 on stalele:UP-4834_gradle_task_cleanShared into ebaa23819e2e59943ebb90e16fccd683e02559f7 on Jasig:master.

@drewwills Using cp would also work, adding it as a gradle task mirrors the functionality in https://github.com/Jasig/uPortal/blob/c5d425de9738e73432bf4c2d066b67782495b001/assembly/build.xml#L273-L277

@ChristianMurphy...
adding it as a gradle task mirrors the functionality in https://github.com/Jasig/uPortal/blob/c5d425de9738e73432bf4c2d066b67782495b001/assembly/build.xml#L273-L277

Does it?  (I don't see that.)
The Ant task is for the Quickstart, and it knows how to change the value of server.home in the copy it makes.  This Gradle task does not appear to make that change.  Without that part, I don't think the Gradle version is needed.  (It's not sufficiently valuable to bother including.)

Coverage decreased (-0.007%) to 23.565% when pulling 0d02de0e463283449544d5c445d6adbd954a9dae on stalele:UP-4834_gradle_task_cleanShared into 323a9d3ed7a6a3280c45cb1a0f6cdcbbaaf33917 on Jasig:master.

Seems that the issue is not that the new tasks are called during CI, rather it is that the file does not exist when the gradle files are processed. If so, the cleaner solution is to add if (!file.exists()) {...} around loading the properties. Really, the task should fail if the properties file is missing.


[🐞] useComputed$ needs to do an equals check

Which component is affected?
Qwik Runtime
Describe the bug
Currently, computed does not do an equals check, so even if the result is always true, it will still trigger the task to rerun. This is clearly not the expected behavior. I hope useComputed can add an equals option and set it to Object.is, otherwise it seems pointless for it to exist.
Reproduction
https://stackblitz.com/edit/qwik-starter-2t6x22?file=src%2Froutes%2Findex.tsx
Steps to reproduce
export default component$(() => {
  const countRef = useSignal(0);
  const isGreetOneRef = useComputed$(() => {
    return countRef.value > 1;
  });
  useTask$(({ track }) => {
    track(isGreetOneRef);
    console.log(" run task ");
  });
  return (
    <div>
      <button onClick$={() => (countRef.value = countRef.value + 1)}>
        incr
      </button>
    </div>
  );
});

System Info
NONE

Additional Information
No response

Thanks for the report @FlatMapIO !
Reviewed it, seems like it's worth investigating further

Same behavior with v1.5.7.
@Varixo is it fixed in v2? can you check it please? Thanks

Same behavior with v1.5.7. @Varixo is it fixed in v2? can you check it please? Thanks

We should check this after v2 signals implementation

Thank you for the clear reproduction! This should be fixed in v2 release, so I am going to close that issue


Error messages aren't very helpful/specific

Env:
DEX_WORKER_CLIENTS=.dexconfig/clients.json
DEX_WORKER_CONNECTORS=.dexconfig/connectors.json
DEX_WORKER_EMAIL_CFG=.dexconfig/emailer.json
DEX_WORKER_USERS=.dexconfig/users.json
DEX_WORKER_EMAIL_TEMPLATES=templates/dex/emails
DEX_WORKER_HTML_ASSETS=templates/dex/html
DEX_WORKER_NO_DB=true

Getting errors like this:
FATAL: Unable to build Server: failed to create client identity repo: illegal base64 data at input byte 4

This really meant "client secrets must be base64 encoded within the connectors.json"
FATAL: Unable to build Server: remote identity already in use for another user

This wasn't too bad, but it probably could have told me what ID it was that caused this.
FATAL: Unable to build Server: invalid ID`

This was because the format of the users.json changed, and the JSON no longer had a key called users within the list of users.
Ideally these get validated before passing them to the server, and provide better context on what was wrong, because it isn't clear what configuration was wrong, or what value specifically it was referring to.

Going to close this as these specific error messages were cleaned up. @chancez please open a new issue with specific errors if there are any else you want to be addressed.


Overall concept brainstorm

Oak is a program to quickly query a codebase and expose short context prompts to be given to an LLM to do its magic. For example, quickly extract interfaces, datatypes, API, in a concise form that can be used to give the LLM all the information needed to generate good code.
This issue collects all the wild ideas that are going through my brain that I might want to implement or not.

IDEA: sqlite watcher
Implement a file watcher that parses the given data and stores it into a sqlite database. That way, we can quickly query the entire codebase once it has been cached, and don't need to potentially run complex queries when we need to prompt. This can be used to compose types from different files as well.

IDEA: server receiving IDE actions
In order to build something like copilot, it would be interesting to expose a GRPC/HTTP server that can receive a list of actions performed in the IDE: opening files, saving files, jumping around a file, renaming / deleting / inserting code. These can then quickly be queried for exposing possible completions.

IDEA: declarative treesitter query files
SInce we are using tree-sitter as a basis, and tree-sitter has a query language, we can use something like the declarative approach used for sqleton or escuse-me to formulate quick commands to be used either on the CLI or as part of a bigger pipeline declaratively.

IDEA: export the entire structure of a codebase to sqlite with a single query
It would be nice to have a single verb that contians many queries (maybe by doing loading of other verbs) and export the entire report to a SQLite database for further querying. This could make quite a nice tool to start eexperimenting with widescale static analysis or even just refactoring with LLMs


Review entra ID

DBACLD-130176 - [ODM K8S] Validate Instructions for using Azure Entra ID with ODM containers (Helm)

replace image version 9.0.0 by <IP_ADDRESS>
remove image.arch=amd64
update links to the documentation to https://ibmdocs-test.dcs.ibm.com/docs/en/odm/9.0.0

wrong target branch


DIYRuZ_R4_5

Device description
Put general device information here
MQTT message with device information
PUT here the device data you receive when publish message with topic
zigbee2mqtt/bridge/config/devices, as example
{"ieeeAddr":"0x00158d0001bd0e35","type":"EndDevice","model":"WXKG01LM","friendly_name":"0x00158d0001bd0e35"}

MQTT messages from device
Put here examples of MQTT messages with different states you've received from device, as example
zigbee2mqtt:info 2018-10-28 13:34:09 MQTT publish, topic: 'zigbee2mqtt/WeatherGuestRoom', payload: '{"temperature":24.59,"linkquality":39,"humidity":36.56,"pressure":990,"battery":"37.00","voltage":2975}'

zigbee2mqtt:info 2018-10-28 13:34:09 MQTT publish, topic: 'zigbee2mqtt/WeatherGuestRoom', payload: '{"temperature":24.59,"linkquality":39,"humidity":37.55,"pressure":990,"battery":"37.00","voltage":2975}'

zigbee2mqtt:info 2018-10-28 13:34:09 MQTT publish, topic: 'zigbee2mqtt/WeatherGuestRoom', payload: '{"temperature":24.59,"linkquality":39,"humidity":37.55,"pressure":989,"battery":"37.00","voltage":2975}'

MQTT state change commands
If device supports state change put MQTT topics + payload
{"state_bottom_left":"OFF","linkquality":65,"state_bottom_right":"ON","state_top_left":"ON","state_top_right":"ON","state_center":"OFF"}

Probably you've attached MQTT message with device information and MQTT messages from device with wrong device


5.5: Claims are not identified by ID anymore

When creating the run it says to enter the claim id. However we don't display it anymore, only in the URL.
Text must be adapted to get the ID from the ClaimDetail, or hovering over link.
Or... With new claims having been added, we can say to put it at zero to process all. <-- I think it's the best

Closed with https://github.com/rh-aiservices-bu/parasol-insurance/pull/78


First version of import_export_batches.

We can import raw csv's from Google spreadsheets, and save them in the database. We can review each batch of data, and start to analyze the data.

👍


Pause Download

Is it possible to add a pause download vod button rather than just pull off the Ethernet cable and put back in and it will reconnect just fine?

#46


cmake presets install target

it would be useful if the build preset also built the install target for release configurations (this is especially useful for palam, for the UnitTestReqTool)

completed with commit to main branch referenced above


Fixed to use ApiKeyCredentials

Changed it based on feedback from #10362
@areddish

Looks good to me
Can you make the patch version bump in the below 2 places as well?
That way, when this PR is merged, the package will be auto-published so that the changes appear on npmjs.com

package.json
trainingAPIClientContext.ts

@ramya-rao-a done

Thanks! LGTM, also we have a Prediction client that is also wrong. I created PR #10372 to apply the same changes and will add the same reviewers.


Upstream issue in html-minified-terser: <meta name="viewport" content="width=device-width initial-scale=1"> is incorrectly minified

Just linking it here so it can be more easily tracked, and others that might be affected when using html-bundler-webpack-plugin can more easily find it here.
Upstream issue: https://github.com/terser/html-minifier-terser/issues/178

@davidmurdoch thanks for the link to the issue.

@davidmurdoch
Alternatively, can be used another minify lib.
Just disable build-in minify option: minify: false and use the postprocess  callback option with other minify:
const HtmlBundlerPlugin = require('html-bundler-webpack-plugin');
const myMinify = require('ANY-MINIFY-PACKAGE'); // <= install another minify package

const HtmlBundlerPlugin = require('html-bundler-webpack-plugin');
module.exports = {
  plugins: [
    new HtmlBundlerPlugin({
      entry: {
        index: './src/home.html',
      },
      minify: false, // <= disable build-in minify
      postprocess: (content) => myMinify(content), // <= use custom minify function
    }),
  ],
};

Tag <meta name="viewport" content="width=device-width, initial-scale=1">  is valid.
Minified to valid <meta name="viewport" content="width=device-width,initial-scale=1">.


add kafka binding fuzzer

Fixes #145

Proposed Changes

Release Note

Docs

/test pull-knative-sandbox-eventing-kafka-unit-tests


Data.json change breaks (if vue-resource is behind)

Vue.js version: 1.4.51
consumed using: (browserify/webpack/pre-compiled)
FULL error message (including stack trace):
relevant code:
steps for reproducing the issue:

Uncaught (in promise) TypeError: data.json is not a function(…)

Update vue-resource to the last version. As the docs now state it requires 0.9.0 or greater.
This will also remove the params wrapper.

sorry for beeing acid.. I was in a time crisis

It breaks with axios too. 😞

It doesn't support axios. As mentioned in the docs it requires vue-resource (<=0.9.0).
I intend to implement a more agnostic approach, like I did in version 2 of this package (vue-tables-2).

That sounds weird to me, I switched from vue-resource to axious declaring it as Vue.prototype.$http = axios; and didn't have to touch a single file.
The api are pretty the same...
I'll dig into it to see if I can help you with a PR, maybe it's just how you read the json that comes from the promise