Doesn't work with Tailwind 2.1 JIT mode

Seems like the new filter plugins added to Tailwind breaks the sorting.
https://github.com/tailwindlabs/tailwindcss/releases/tag/v2.1.0
./node_modules/tailwindcss/lib/plugins/backdropBlur.js:26
matchUtilities({
  ^

  TypeError: matchUtilities is not a function
at ./node_modules/tailwindcss/lib/plugins/backdropBlur.js:26:7
at ./node_modules/tailwindcss/lib/util/processPlugins.js:69:5
at Array.forEach (<anonymous>)
  at TWClassesSorter._default [as processPlugins] (./node_modules/tailwindcss/lib/util/processPlugins.js:63:11)
  at ./node_modules/tailwind-classes-sorter/lib/index.js:179:52
  at Array.forEach (<anonymous>)
    at TWClassesSorter.getAllSelectors (./node_modules/tailwind-classes-sorter/lib/index.js:167:14)
    at new TWClassesSorter (./node_modules/tailwind-classes-sorter/lib/index.js:47:37)
    at Object.<anonymous> (./node_modules/prettier-plugin-tailwind/lib/index.js:10:25)
      at Module._compile (node:internal/modules/cjs/loader:1092:14)

Looking into the code, it seems like it's caused by the new jit mode being enabled.
Looking at the failing line, it's only enabled when using the new jit mode:
if (config('mode') === 'jit') {
      matchUtilities({

Any up? Author doesn't seem to be active on this package

Any up? Author doesn't seem to be active on this package

I've switched to https://github.com/francoismassart/eslint-plugin-tailwindcss - it's working really great, also with JIT. Use --fix on save/precommit to sort classes.


Lose the term "codegen" in code and documentation

This word is intimidating and means different things to different people. Let's replace it with a better way of explaining what Serde does.

Fixed in https://github.com/serde-rs/serde/commit/6d55501dab17ab025dd570e19d0861ca60005268 and https://github.com/serde-rs/serde-rs.github.io/commit/80d6c770fd07b49ded4231067da455253f41747b.


devenv: don't try to build gdb in macos devshell

Please hold any merge on this until after #123 goes in, as it will be easier to resolve the merge here.

This went in with #123


Remove extra slash

PS_CACHE_DIR ends with forward slash

Is there some other reason than just prettiness?
Such a change breaks code if these constants don't add the slash, like all the PHP libraries do. That's why I intentionally added them.

I can't tell because I didn't have any issues with this.
It just make sense because PS_CACHE_DIR returns '.... /cache/'
on my previous PR https://github.com/thirtybees/coreupdater/pull/1 i encounter an error, so I figured it could be the same case here.

Picked as part of 64f93fa8f1f21e4a0672381e793b1b45b41f42fd. Thank you very much for the contribution!


fix internal links

Minor change for more usability!
To work, an internal link should not include emoji.

Nice catch, I totally forgot about that today.


[AutoPR automation/resource-manager] [Automation] Adding new API spec for 2018-01-15 version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2690

(message created by the CI based on PR content)


Link in editor is not clickable

Link in editor is not clickable...

Can you explain. I can't picture the scenario.

Links are clickable only in preview mode. Closing now.


Each of one work on an specific question and then we met to check the final results as group, to send the merge pull request.
First, as group we did the import of the database and the best way to establish the first steps of the job. Then, we try to divided the task .
Exercise 1 Sofia
Exercise 2 Gisella and Sofia
Exercise 3 Pablo
Exercise 4 Pablo
Exercise 5 Gisella
Exercise 6 Pablo


Go panic on SQL query

This seems like a fun one, when you compare a list to a string you get this cool panic:
Query Failed - unknown error: unable to cast []interface {}{"DirectoryOfThisScript", "MakeRelativePathsInFlagsAbsolute", "FlagsForFile"} of type []interface {} to string

The query generating this is indeed incorrect, but the error message should be better.
  SELECT UAST_EXTRACT(UAST(f.blob_content, LANGUAGE(f.file_path, f.blob_content), '//Identifier'), 'Name') as names
  FROM   files AS f
  WHERE  names != ''

Replacing the condition with WHERE names IS NOT NULL will fix the error, but the message should be more clear.

current gitbase master does not complain on this query

The error comes from spf13/cast package. This PR: https://github.com/src-d/go-mysql-server/pull/556, makes an error clearer but less tech. detailed. You'll get:
incompatible conversion to SQL type:...


Cannot read property 'fluid' of null

Hi Jason,
I just discovered your package and tried out the demo example site.
After running gatsby develop I get the following error when trying to load the site:
Cannot read property 'fluid' of null
This is related to the following error during build (gatsby develop):
The GraphQL query from /Users/markus/repositories/Bitbucket/gatsby-cloudinary/src/examples/fluid-silly.js failed.

Errors:
  Request failed with status code 400

  GraphQL request:4:7
  4 |       fluid(transformations: ["e_blackwhite"], chained: ["e_vectorize:colors:2:d
    |       ^
    | especkle:20,e_tint:100:tomato:0p:white:100p", "l_beard_png,w_0.77,fl_relative,g_
Plugin:
  none
Query:
  query usersMarkusRepositoriesBitbucketGatsbyCloudinarySrcExamplesFluidSillyJs3123034595 {
    image: file(name: {eq: "marisa"}) {
      cloudinary: childCloudinaryAsset {
        fluid(transformations: ["e_blackwhite"], chained: ["e_vectorize:colors:2:despeckle:20,e_tint:100:tomato:0p:white:100p", "l_beard_png,w_0.77,fl_relative,g_face,a_-5,y_0.06"]) {
          ...CloudinaryAssetFluid
        }
      }
    }
  }

  fragment CloudinaryAssetFluid on CloudinaryAssetFluid {
    aspectRatio
    base64
    sizes
    src
    srcSet
  }

I think I found the problem:
l_beard_png is the key to an image in your repo?
Then it's no wonder Cloudinary throws an error here.

Oh, whoops. Yeah, I didn't actually expect folks to try and run the demo with those images in place. 😕
I don't think we can demo overlays without referencing images in the account. Named transforms are also a cool feature to highlight that are tied to the account.
I'm not sure what the proper solution is. A disclaimer, maybe?

I'm not sure what the proper solution is. A disclaimer, maybe?

Okay, cool. I'll add this to my Todo list. Thanks!

Unless someone wants to get their Hacktoberfest underway?

Closed by #7


Fix "no data", "prev_value", and a tooltip issue

This should fix the issue described here: https://rilldata.slack.com/archives/CTZ8XBQ85/p1699976127305919
before:

after:

Thank for the review and for catching those @djbarnwal! I've cleaned it up!


accessibility

I got these issues when i analysed with web accessiblity analyzer

I can resolve these if you assign it to me. Im a GSSoc contributor

Explain the error in broef/

Missing semantic HTML tags, using more than one tags which are not supposed to, wrong structure of headings: like h1 inside a h2 these are some examples of this kind of errors. These cause accessibility issues and site rating decreases.


Test oceanv4

toward #111

DT.deployPool(
        pool_create_data["ssParams"],
        pool_create_data["swapFees"],
        pool_create_data["addresses"],
        {"from":account0}
    )

hasn't successful yet. Something is wrong with pool_create_data

Not sure if unsuccessful installing brownie pm install<EMAIL_ADDRESS>would cause problem later
A work around: Because Bpool.sol and FactoryRouter.sol only use console.sol from hardhar library, so I copied that file into sol080/contracts/oceanv4/hardhat
Compiled successfully

test_erc721_factory has problem we have faced before:

separated test runs successfully
if run all test, test_createBPool_via_util fails

Units test for oceanv4 contracts is almost done, I'm working on other branch for oceanv4 netlist, getting pool created and interact with it. Might need to loop back and fix oceanv4util


docker-prune.service should start after the  docker service.

Describe the bug
While deploying a machine via deploy-rs, I had this error:
activating the configuration...
setting up /etc...
restarting systemd...
reloading user units for nova...
setting up tmpfiles
reloading the following units: bazel-remote.service, dbus.service, firewall.service, reload-systemd-vconsole-setup.service
restarting the following units: dhcpcd.service, docker-prune.timer, nix-daemon.service, sshd.service, systemd-journald.service
starting the following units: audit.service, datadog-agent.service, docker.socket, gitlab-runner.service, kmod-static-nodes.service, logrotate-checkconf.service, mount-pstore.service, network-local-commands.service, network-setup.service, nscd.service, resolvconf.service, systemd-modules-load.service, systemd-sysctl.service, systemd-timesyncd.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket
the following new units were started: systemd-vconsole-setup.service
warning: the following units failed: docker-prune.service

× docker-prune.service - Prune docker resources
     Loaded: loaded (/etc/systemd/system/docker-prune.service; linked; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-09-22 12:30:31 UTC; 13s ago
TriggeredBy: ● docker-prune.timer
    Process: 1114607 ExecStart=/nix/store/yqjry4lvgglk5dhb9crsvc42cdq76lxv-unit-script-docker-prune-start/bin/docker-prune-start (code=exited, status=1/FAILURE)
   Main PID: 1114607 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 31ms

Steps To Reproduce
  virtualisation.docker = {
    enable = true;
    autoPrune = {
      enable = true;
   };
};

Then stop docker or deploy the service from scratch, my belief is that docker-prune can start before docker.service and thus fail since it can't access the docker daemon.
Expected behavior
No systemd error whatever the configuration. I believe a patch like this should fix it but I am no systemd expert:
diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix
index 66c94f30088..f8bcb7d62fb 100644
--- a/nixos/modules/virtualisation/docker.nix
+++ b/nixos/modules/virtualisation/docker.nix
@@ -216,6 +216,9 @@ in

         serviceConfig.Type = "oneshot";

+        after = [ "docker.service" ];
+        requires = [ "docker.service" ];
+
         script = ''
           ${cfg.package}/bin/docker system prune -f ${toString cfg.autoPrune.flags}

Notify maintainers

@bachp from blame
Metadata
current unstable

@teto I think the patch you propose makes sense. Could you open an PR for it?


Nifi Cluster commands

It would be nice if the CLI had commands to add/removes nodes to an existing cluster, and setup an initial cluster. Maybe being able to update users/authorizers as well which is important for cluster mode.

You can actually manage the nodes of a cluster through the existing "node manager" tool:
https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#node-manager
We will have to see where to draw the line with the intent of the CLI. So far the goal is more for interacting with existing instances, so I could see adding commands for managing users/groups/policies, but I'm not sure about setting up an initial cluster.

I had not seen that node-manager script before, but if there is an existing tool to do it, I agree it is better to keep the CLI focused on adding new capabilities. I was mainly thinking of users/authorizers for the use in clustering, but they would have a more general use also.


Expose additional information on object store errors

Describe the bug
Additional details from object store error is not emitted, this makes it harder to understand the kind of error hit.
To Reproduce
Running below benchmark returns the following error in many runs.
cargo run -r --bin bencher --features="bencher" -- db --duration 300 --put-percentage 50 --key-generator FixedSet --key-len 1024 --val-len 1024 --flush-ms 500 --l0-sst-size-bytes 26214400 --object-cache-path /tmp/slatedb_cache --block-cache-size 104857600 --concurrency 1
Error
`
2024-10-21T03:28:44.980974Z  INFO bencher::db: stats dump [elapsed 40.0, put/s: 100741.227, get/s: 100705.172, window: 40s, total puts: 4038359, total gets: 4036934]
2024-10-21T03:28:50.952046Z ERROR slatedb::mem_table_flush: error from memtable flush: Object store error
2024-10-21T03:28:54.891852Z  INFO bencher::db: stats dump [elapsed 50.0, put/s: 98778.859, get/s: 98741.203, window: 50s, total puts: 4948132, total gets: 4946008]
`
Exposing additional details on the kind of object store error would be helpful. This was for azure.
Build

SlateDB Version: https://github.com/slatedb/slatedb/pull/272
Object Store: azure

@vigneshc can i try to do this one? im not familiar with the project yet but would like to use this issue as a starting point.


0.17 wBTC stuck in wormhole.

Hello,
I used the wormhole to send 0.17 wBTC from Solana network to Eth network. The transaction was confirmed on Solana side, here it is: https://explorer.solana.com/tx/48vvsedVSZrmUPaqpysDJ8qx8cZg4ywESoeDHEeCWPYNJonEtsjQTxozEerD4XvVW7MuLLiNU2gf1gSTZoQeN7to
However, I accidentally rejected the signature request in my metamask and I don't know where the 0.17 wBTC is. Very grateful for any help so that I can get this 0.17 wBTC back.

Wow EVERYONE is having this problem, including me! I'm pretty sure we need to figure out how to call the transaction again from the ETH side, here's the contract. Not sure what to put into "Submit VAA" though https://etherscan.io/address/0xf92cd566ea4864356c5491c177a430c222d7e678#writeContract

this was solved by using : https://www.interstellar.tk/ !


Generic derivation overhaul (with configurability)

Supersedes #163 and #79. Also fixes #69, although I'm not entirely sure why. Still needs tests before it gets merged.

The build is failing because of an interaction between macro-compat and sbt-unidoc on 2.10 that I'll investigate later.

Current coverage is 76.52%

Merging #164 into master will increase coverage by +0.01% as of 4731779

Powered by Codecov. Updated on successful CI builds.

For what it's worth, these changes may speed up compilation a bit (at least they do on my machine, from over a minute for tests/test:compile to under 50 seconds).

Quick update: there's a problem here for e.g. the following nested case classes:
case class Foo(someField: Int)
case class Foos(foos: List[Foo])

In this case if you ask for a snake-case decoder for Foos the decoder it uses for each Foo won't be configured to use snake case.
I'm working on a fix that switches the inheritance relationship between Decoder and ConfiguredDecoder, and will update the PR soon.

Any updates on this? Would love to see this PR move forward ;)

Really looking forward to seeing this released :)

@wennergr @sveinnfannar Unfortunately configurability won't be in 0.4.0, which will be out very soon (possibly today), but 0.4.0 does include an overhaul (see #247) in preparation for configurability that's bringing huge improvements in compile times and stability—see the 0.4.0-RC1 release notes, the link here, etc.
I'm hoping to have 0.5 out with configurability in the next couple of weeks, but no promises yet.

Thanks for the update @travisbrown!

Any updates on this (in light of the 0.5.x releases)? Will this land in 0.6.x?
By the way, thanks a lot for this awesome library 👍 !

Superseded (mostly) by #429.


Design for the notify task

Slack notify task and launch
Here are 3 options of what the launch command could look like with the notify task for Slack:

We use a Slack hook

iter8 launch \
--set "tasks={ready,http,assess,notify}" \
--set "notify.platforms={slack}" \
--set notify.slack.hook="https://hooks.slack.com/services/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"

We could break down the Slack hook into its components but it is not immediately clear how the user and channel are encoded.

iter8 launch \
--set "tasks={ready,http,assess,notify}" \
--set "notify.platforms={slack}" \
--set notify.slack.user="TQ3FN6N01" \
--set notify.slack.channel="B03MU7JBRTM" \
--set notify.slack.token="UeCidAgabhq7Sr47WTznXZpl"

In tasks, you specify the notification platform you would like to use. In this case, both slack and github.

iter8 launch \
--set "tasks={ready,http,assess,slack,github}" \
--set slack.hook="https://hooks.slack.com/services/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"

Additional questions:
a) In the current examples, it is not possible to send notifications to multiple Slack channels. Do we want to make it possible?
GitHub workflow notify task and launch
Here is what the launch command could look like for triggering GitHub workflows:

Using repository_dispatch

iter8 launch \
--set "tasks={ready,http,assess,notify}" \
--set "notify.platforms={github}" \
--set notify.github.owner=...
--set notify.github.repo=...
--set notify.github.token=...
--set notify.github.event_type=...

Using workflow_dispatch

iter8 launch \
--set "tasks={ready,http,assess,notify}" \
--set "notify.platforms={github}" \
--set notify.github.owner=...
--set notify.github.repo=...
--set notify.github.workflow_id=...
--set notify.github.token=...
--set notify.github.ref=...

Additional questions:
b) There are two ways for triggering GitHub actions that we can use, with a workflow_dispatch or with a repository_dispatch. They have some differences.
i) They have different inputs. workflow_dispatch has more inputs
ii) According to this, repository_dispatch can only trigger workflows on the default branch. This makes workflow_dispatch the more general approach.
iii) workflow_dispatch requires you to define the inputs for the workflow. This means that if we want to allow the user to use report data in their workflow, then we would need to define what is in the report data. This may not be possible for SLOs and metrics if we want to provide them. Therefore, we may be forced to provide the report data in a stringified form, and the user would need to parse it inside the workflow. repository_dispatch, on the other hand, uses client_data which does not need to be defined.
To illustrate, for workflow_dispatch we would need to define the inputs.
We can do it like the following:
on:
  workflow_dispatch:
    inputs:
      completed:
        description: 'Experiment completed'
        required: true
        type: boolean
      noTaskFailures:
        description: 'No task failures'
        required: true
        type: boolean
      numCompletedTasks:
        description: 'Number of completed tasks'
        required: true
        type: number
      completed:
        description: 'Experiment completed'
        required: true
        type: number
...
      slos:
        http/error-rate:
          description: 'Number of completed tasks'
          required: true
          type: number
...
      metrics:
        http/error-rate:
          description: 'Number of completed tasks'
          required: true
          type: number
...

But it may not be feasible to do it this way because the names of SLOs or metrics are not always the same. Also, it is not clear that the nesting pattern for SLOs and metrics are possible. Additionally, inputs only allow 10 fields (need to find source again), which means we may not be able to provide SLOs or metrics at all.
Alternatively, we can stringify the report data:
on:
  workflow_dispatch:
    inputs:
      report:
        description: 'Experiment report'
        required: true
        type: string
...

But this would force the user to parse the report data in the workflow. This is an additional step, may not be obvious to users, and seems a bit hacky.
For repository_dispatch, the data does not to be defined:
on:
  repository_dispatch:
    types: iter8

I am personally leaning towards repository_dispatch.
c) If we were to use repository_dispatch, there are potentially interesting things we can do with event_type and types. When you make the HTTP call to trigger the repository_dispatch, you can also provide an event_type, which will allow you trigger different workflows based on their types. For example, we can create an onSuccess type as well as an onFailure type, and depending on how the experiment fared,  we can trigger certain workflows.
There are reasons why we may not want to do this. Firstly, if we provide the report data, then this information is redundant. Secondly, it adds complexity. We can altogether hide event_type and types from the user. In that case, we can have the user add the following:
on:
  repository_dispatch:
    types: iter8

This never needs to change.
But if we want to make event_type and types available, then the user will need to play around with this and adjust according to their use case.
on:
  repository_dispatch:
    types: onSuccess

on:
  repository_dispatch:
    types: onFailure

This may be an additional parameter that the user will need provide in the launch command.
Additionally, we are not sure what the behavior is for multiple types
on:
  repository_dispatch:
    types: [onSuccess, onFailure]

Data
There is also the question of what data we should make available to Slack notifications and GitHub workflows.
There are a few options:

Dump the report
Dump the report in a JSON format
Provide a subset of the report of JSON format

Slack and GitHub workflows may have different requirements. Slack may need something more human readable whereas GitHub workflow requires the data to be usable in code.
For the time being, we can just focus on one method of reporting and try to expand later.
We were originally thinking of providing the experiment summary and the SLOs in JSON (and not metrics). However, it may be easier to explain if we provide all of the report. Both ways set some kind of potentially undesirable precedent.
In any case, it seems that we should first explore outputting the report data in JSON. We already have the -o option under iter8 report. Outputting the report in JSON seems to be generally useful.
Additional questions:
d) What data do we want to send? I am personally leaning towards the entire report in JSON.

iter8 launch \
--set "tasks={ready,http,assess,slack,github}" \
--set slack.hook="https://hooks.slack.com/services/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"

seems like the simplest option. Similarly for github.
iter8 launch \
--set "tasks={ready,http,assess,slack,github}" \
--set github.parameter1=value1 \
--set github.parameter2=value2

Here is also what we think the JSON report could look like:
{
  "completed": true,
  "noTaskFailures": true,
  "numTasks": 2,
  "numCompletedTasks": 2,
  "group": "default",
  "timeStamp": "",
  "SLOs": {
    "http/error-rate": {
      "type": "counter",
      "isUpper": true,
      "limit": 0,
      "satisfied": true,
      "unit": null
    },
    "http/latency-mean": {
      "type": "gauge",
      "isUpper": true,
      "limit": 50,
      "satisfied": true,
      "unit": "msec"
    }
  },
  "metrics": {
    "http/error-rate": {
      "type": "counter",
      "value": 0,
      "unit": null
    }
  }
}

Any issues?

In terms of the task templates... perhaps, the following design might work?
{{- define "task.slack" }}
{{- if .Values.slack }}
# task: send a slack notification
- task: notify
  with:
    url: {{ .Values.slack.hook }}
    method: POST # default is get; but if you have a payloadTemplateURL, we switch the POST
    params:
    payloadTemplateURL: "https://github.com/iter8-tools/iter8/master/blob/slack-template.tpl"
    softFailure: {{ default true .Values.slack.softFailure }}
{{- end }}
{{- end }}

{{- define "task.github" }}
{{- if .Values.github }}
# task: send a GitHub notification
- task: notify
  with:
    url: {{ .Values.github.owner +  }}
    method: POST # default is get; but if you have a payloadTemplateURL, we switch the POST
    headers:
      Accept: "application/preview-github/json"
    payloadTemplateURL: "https://github.com/iter8-tools/iter8/master/blob/github-template.tpl"
    softFailure: {{ default true .Values.github.softFailure }}
{{- end }}
{{- end }}

It is my thought that we should implement iter8 report -o json to produce the JSON.

I'm not sure how the CLI -o json extension is going to help with the notify task.

Resolved.


Favicon related test fails for CDP on macOS

OS: macOS
connector: cdp

 connectors › collect › [cdp] Favicon is present in both the root directory and the 'link' element, but the 'link' element has empty 'href'

  /Users/alrra/projects/sonar_/tests/lib/connectors/collect.ts:110

   109:         // Should load favicon from the root even though the link element exists because 'href' is empty.
   110:         t.is(t.context.sonar.emitAsync.withArgs('fetch::end').args[0][1].request.url, faviconInRootDir);
   111:     });

  Difference:

  - 'http://localhost:3000/images/favicon-32x32.png'
  + 'http://localhost:3000/favicon.ico'

@alrra, this doesn't fail on Windows?
@qzhou1607 can you take a look?

@alrra Where PR is this?

@alrra is this still happening? I changed a few things in chrome that maybe fixed this.

is this still happening?

I do not seem to get it anymore.
Closing, I'll reopen this issue if I see it pop again.


Update fails and leaves a wreck when update-folder is open in explorer

re #52824

trigger an update via the product.json trick
be curious how this works and open C:\Users\jrieken\AppData\Local\Programs\Microsoft VS Code Insiders\_\resources\app in the explorer
apply the update
🐛 the update fails
💥 the installation is now broken

Can you show me the log file?

Already nuked everything (reinstalled)... Where would that log-file be?

%TEMP%\vscode-inno-updater.log

#47841


Update nf_ransomware_leaksite_monitoring.md

Added additional endpoints and queries

Declined PR, but merged the info in the moved PR from the day before: https://github.com/Bert-JanP/Hunting-Queries-Detection-Rules/blob/main/Threat Hunting/Ransomware - LeaksiteMontitoring.md


Action node logs error when populating characters if no characters in graph

res://addons/hyh.cutscene_graph/scripts/EditorActionNode.gd:113 - Invalid get index '-1' (on base: 'Array[Character]').

Action node no longer has character properties, so this is not relevant any more.


Admin theme display issue

Hi Guys,
Try to see if this issue had been raised already. Just letting you know I seem to be having issues regarding the vanilla admin theme for SilverStripe 3.5X. This is to do with the Filtering when contracted, hiding some content:

I don't think this is a vanilla install you have there. Please try to reproduce the issue with just installing SilverStripe CMS/Framework 3.5 and SilverShop 2.x (no additional modules).


Godot settings reset when exiting to project list

Godot version
3.3.3.stable
System information
Windows 10
Issue description
This is a rare occurrence, but has been happening since 3.2, I believe. Sometimes, when I exit to project list, I get some errors in the console, and the project list is empty, and my settings have been reset.
Here's the error list:
ERROR: Cannot open file 'C:\Users/James/AppData/Roaming/Godot/editor_settings-3.tres'.
At: scene/resources/resource_format_text.cpp:1232
ERROR: Failed loading resource: C:\Users/James/AppData/Roaming/Godot/editor_settings-3.tres. Make sure resources have been imported by opening the project in the editor at least once.
At: core/io/resource_loader.cpp:282
WARNING: create: Could not open config file.
At: editor/editor_settings.cpp:989
WARNING: cleanup: ObjectDB instances leaked at exit (run with --verbose for details).
At: core/object.cpp:2132
ERROR: clear: Resources still in use at exit (run with --verbose for details).
At: core/resource.cpp:450
ERROR: There are still MemoryPool allocs in use at exit!
At: core/pool_vector.cpp:66
Steps to reproduce
Can't really reproduce it, this has only happened around 3 times in the past 5 months.
Minimal reproduction project
No response

Duplicate of https://github.com/godotengine/godot/issues/40968.

Aha, a reoccurrence of my issue: #27124
(Be warned, in my case it was a failing ssd)

Aha, a reoccurrence of my issue: #27124
(Be warned, in my case it was a failing ssd)

I check crystal disk info, and it says everything is alright. That's scared me into backing up, though, so I'll probably do that soon!


feat: add smbios check for GCE residency detection

Current GCE residency check depends on network stack initialization and therefore error-prone.
With this fix, library will check unique environment variables to detect GCE residency.
For more details: go/auth-library-noping
Fixes #1001

messed up with a rebase


Current attributes in models become previous attributes too early

The resetting of previous attributes seems to happen too early, i.e., as soon as all event listeners are called, current attributes become previous attributes, which really should happen the next time set() is called, otherwise the following code fails:
var Model = Backbone.Model.extend({
    foo: function() {
    	this.set({key: 'val2'});
    	this.trigger('fooevent');
    }
});

var model = new Model({key: 'val1'});

model.bind('fooevent', function() {
	console.log(model.previous('key'));
});

model.foo();

The output should be val1 and in backbone 0.3.3 it's val2

+1 to this commit. It makes it easy to patch the Backbone.sync method for syncing only what has changed

The problem still persist if we have more than 1 model properties. Please see below example.

var Model = Backbone.Model;
var model = new Model({key: 'val1', key1: 'key1'});
model.on('change', function(){
    console.log(this.previous('key'));
    console.log(this.previous('key1'));
});
model.set({key: 'val2'});
model.set({key1: 'key2'});

Actual output
val1
key1
val2
key1

Expected output
val1
key1
val1
key1

Backbone version 1.1.2


fix(seo): Adjust internal links with anchors not to use trailing slashes

This PR takes one pattern of wrong links from https://github.com/prisma/docs/pull/2497 that @mkrasne2 created and fixes them: Internal links with an anchor.
They currently all use a trailing slash, but as the canonical version of the the pages do not use slashes, this requires an unnecessary additional redirect - If we link to the correct version directly instead that is not required.

TODO: We should compare the before and after on all these pages, to make sure the links are actually fixed and our internal logic that writes the links does not still break them.

@janpio I'm happy to help test this when you're ready!

That would be amazing.
Unfortunately we have no output of the changed pages via CI, so you will have to go from the filenames. Comparison I was talking about was to look at the existing link target deployed to prisma.io/docs (that would probably include a trailing slash at the end of the URL, before the anchor) and confirm that this is not the case any more with preview deployment in the PR here.

Thanks @janpio  for doing this work. I tested many links(old and new) and the PR looks great.

@janpio - awesome, thanks for looping me in here. I just did another pull of all internal links to non-canonicalized pages, and it looks like we're down about 563 from where we started, which is great to see. Now it looks like we have a little over 8,900 remaining to solve. I'll post an updated crawl in the other chat between us.


Handle Program Change Events

Hey,
I have a lot of MIDI files which are horrible. And by that I mean that all the instruments are merged into one track and the different instrument sounds are made with sending an program change event previously. Is there any plan to support that or at least parse these events?
Update:
I found that there is a code that is supposed to handle program change events, but I'm not sure how right now. I'll spend more time later and investigate that.

It does listen for program change event. i simply take the first program change event and set that as the tracks instrument so if you're changing instrument a lot on one track, it won't work right now.


support/test add_subdirectory(src/3rdparty/drishti)

Drishti can be used as a released package through hunter already using hunter_config() w/ both GIT_VERSION or GIT_SUBMODULE (as submodule), but for WIP changes, it is helpful to support other approaches.  It could be useful to support optional use of drishti through add_subdirectory() calls, and similarly drishti should be able to use acf through add_subdirectory() calls.   In this scenario both drishti and acf would be managed as submodules.

some_application -> support add_subdirectory(src/3rdparty/drishti)
drishti -> support add_subdirectory(src/3rdparty/acf)

Tested in https://github.com/elucideye/drishti_hunter_test/pull/18 ... closing


Cyber security

Description 📜
Please merge this PR. VDI (1.9.2) done.
Fixes #83

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Cyber Security

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.

[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Thank you


Use rdf-toolkit.jar without storing in git

Best practice is not to store jar files in version control. I understand that our dev team has implemented a different approach.
@Jamie-SA @e2dubba @coltonglasgow Could that be applied to rdf-toolkit.jar?

The main requirement is that there should be reliable/available releases of each item to download.

We've identified the release we want to use at this time. It's actually now [stored in our GitHub] (https://github.com/semanticarts/third-party-tools/blob/main/rdf-toolkit.jar)


Fixed typo in README.md

npm t  ->  npm test

Lol I never knew this! You learn something new every day!


Issue parsing ePub files

I have attached 3 ePub files that fail to be parsed by ePubReader.
I found these files in the wild, by google searching by file type to build up a ePub test
dataset to test ePubReader against.
I have other files that fail too but for same reasons as the ones attached (TOC error, etc)
Good job so far.
Thanks.
childrens-literature.zip
GhV-oeb-page.zip
CF General.zip

Thanks a lot. If I find more EPUB 3 files with issues I will be sure to send them to you for your testing dataset

Sorry for a delay. Working on this.

Ok. Let me know when finished and I will run tests against an epub dataset I have.

I've released the version 3.0.0 of the library with the better EPUB 3 support. Please reopen this issue if you find any other problems with the EPUB 3 files.


Opening certain scene freezes editor

Godot version
e2ebc7d
System information
W10
Issue description
I have a scene that freezes editor when I try to open it. Also happens when I try to open a scene that instances this scene or copy it to another project and try opening it there.
It opens fine in 3.x
Steps to reproduce
Open this scene:
Clamir2.zip
Minimal reproduction project
No response

The freeze is caused by GDScript parser. The scene has a built-in script and it seems to hang on yield while being loaded.
I reduced the script as much as I could, here's almost minimal version:
extends Node2D

func on_process(delta: float):
	match state:
		DASH:
			if vulnerable:
				get_parent().add_child(explosion)
#				yield(get_tree().create_timer(1), "timeout")

Uncomment the last line to freeze editor

Just found another case, this time without using yield:
ReproductionProject.zip
It's just a scene with built-in script extending a class. You can't open it.

When I run @KoBeWi minimal version I got freeze and Godot editor ate all my 16 GB of RAM.
Also I get this error when I removed more code from MRP. Seems off so I'm sharing.

Also isn't yield removed in favor of await? Maybe there is some leftover code

Also isn't yield removed in favor of await? Maybe there is some leftover code

See https://github.com/godotengine/godot/pull/49445.

GDScript parser hangs on this loop:
https://github.com/godotengine/godot/blob/78c8b7ffec388506bc0df32d7c86e3ef45604f6f/modules/gdscript/gdscript_parser.cpp#L1718-L1743
There is a branch that makes it not advance anymore. It can be fixed by putting advance() after push_error() here:
https://github.com/godotengine/godot/blob/78c8b7ffec388506bc0df32d7c86e3ef45604f6f/modules/gdscript/gdscript_parser.cpp#L1932-L1934
but it produces error that doesn't make sense, so it's probably not a correct fix.

Reproduction case by @Scony (confirmed on master fb176d5f6e6dc2b43c630a041a8ab7d737173ec4 )
var y
func foo(x):
	match x:
		1 + 1:
			pass
		[1,2,[1,{1:2,2:var z,..,}]]:
			pass
		1 if true else 2:
			pass
		1 or 2 and 1:
			pass
		1 < 2:
			pass
		1 | 1:
			pass
		1 >> 1:
			pass
		1, 2 or 3, 4:
			pass
		_:
			pass

Reproduction case by @lyuma [ repro project ]
@tool
extends Node

func _requesting_user_content(p_user_content_type: int, p_database_id: String, p_callback: Callable) -> void:
	match p_user_content_type:
		SomeGlobalClassName.EnumValue:
			if p_database_id != "":
				var result = yield(
					AutoloadedManager.do_something_async(p_database_id),
					"completed"
				)

Closing #49293 as duplicate.
Reproduction case by @unfa :

Issue description:
Godot freezes and steadily allocates more and more memory after typing 0 before the first character in line 11 in Chat.gd script in my game.
The bug in action:
https://youtu.be/kII1XJX1LII
Steps to reproduce:
Load provided project
Go to Chat.gd file
Insert 0 before the first character in line 11
Watch Godot freeze and eat memory
Reproduction project:
https://github.com/unfa/liblast/tree/a54eb54293aa771a6b4bd642eee7312af7422e96

Specific GDScript code for Chat.gd is here: line 11 is a match expression:
https://github.com/unfa/liblast/blob/a54eb54293aa771a6b4bd642eee7312af7422e96/Game/Assets/HUD/Chat.gd

Fixed by #52081

This isn't closed yet. This happens on 3.5.1 from Steam Godot. Using an array to update firebase. The function is not running yet. error: Parse Error: value expected WIHLE CHANGING THE ARRAY

UPDATE: This error just happened as well trying to fix it on my own:


EllenTV/EllenTube issue(s?)

Same video, but two separate issues (?)
(not sure..sry)
The  EllenTube.com URL is sent to the generic extractor and downloads a 9kb 'unknown_video' file:
URL: http://ellentube.com/videos/0-dvzmabd5/
youtube-dl -v "http://ellentube.com/videos/0-dvzmabd5/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://ellentube.com/videos/0-dvzmabd5/']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-g31dfe20
[debug] Proxy map: {}
[generic] 0-dvzmabd5: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 0-dvzmabd5: Downloading webpage
[generic] 0-dvzmabd5: Extracting information
[debug] Invoking downloader on u'http://cdnapi.kaltura.com/index.php/kwidget/wid
/_1656501/uiconf_id/27358732/entry_id/0_dvzmabd5'
[download] Destination: 1 year old twin sister makes her brother laugh _ ellentu
be.com-0_dvzmabd5.unknown_video
[download] 100% of 9.60KiB in 00:00
The EllenTV.com URL fails with: "Unable to extract OpenGraph title"
URL: http://www.ellentv.com/videos/0-dvzmabd5/
youtube-dl -v "http://www.ellentv.com/videos/0-dvzmabd5/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.ellentv.com/videos/0-dvzmabd5/']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-g31dfe20
[debug] Proxy map: {}
[EllenTV] 0-dvzmabd5: Downloading webpage
ERROR: Unable to extract OpenGraph title; please report this issue on https://yt
-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  t
o update. Be sure to call youtube-dl with the --verbose flag and include its com
plete output.
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 592, in extract_info
File "youtube_dl\extractor\common.pyo", line 243, in extract
File "youtube_dl\extractor\ellentv.pyo", line 39, in _real_extract
File "youtube_dl\extractor\common.pyo", line 577, in _og_search_title
File "youtube_dl\extractor\common.pyo", line 565, in _og_search_property
File "youtube_dl\extractor\common.pyo", line 489, in _search_regex
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue
on https://yt-dl.org/bug . Make sure you are using the latest version; type  you
tube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and in
clude its complete output.
Thanks
RIngo

Will be fixed in the next version. Thanks for the report.


Issue with k8s.io/docs/reference/command-line-tools-reference/kubelet/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
Almost all options are missing from the kubelet command line help page
Proposed Solution:
Page to Update:
https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/

ouch...

/cc @kubernetes/sig-docs-maintainers
/cc @tengqm

Checking...

Looks like it is not a problem pertain to website. When I run ./hack/generate-docs.sh in kubernetes/kubernetes, the generated docs/admin/kubelet.md has a very short content. I think this is caused by the tweakings of kubelet flags (i.e. deprecated or not, hidden or not) and the spf13/pflag library. Still digging...

The reason we don't have an "incomplete" set of flags for kubelet is that kubelet is handling command line flags in a different way. It is believed that "corba" is poluting the kubelet flag sets (https://github.com/kubernetes/kubernetes/blob/master/cmd/kubelet/app/server.go#L266, https://github.com/kubernetes/kubernetes/blob/master/cmd/kubelet/app/server.go#L142). However, the doc generator still uses "Corba" for flags parsing. So ... it is 'kubelet' breaking the doc generator, not the docs generator breaking 'kubelet'.

^ @mtaufen
this seems to go back to:
https://github.com/kubernetes/kubernetes/commit/42589266407e32fdf716d1fef689f0aee7142cd9
@tengqm can the docs tool be made to handle this special case?

@tengqm I see now that this page should be updated by the gen-docs script. However I created a PR a while back to just fix it for anyone looking: https://github.com/kubernetes/website/pull/9344
I haven't looked at the  ./hack/generate-docs.sh tool to see if that would overwrite it or break anything - but it might be a good stop-gap until the script is patched.
If you disagree, let me know and I'll close the PR. Thanks!

@jimangel IMHO, getting the docs right is of a higher priority than getting the tools right. I have no objections getting #9344 merged. Let's wait a little while and see if @mtaufen can respond with a quick fix before deciding whether #9344 should go in.

This should fix: https://github.com/kubernetes/kubernetes/pull/66034


Opened tabs in widow menu are shown incorrectly

System information:

Operating system (distribution) and version Win10
DBeaver version 21.1.1
Additional extensions

Describe the problem you're observing:
Opened tabs are not highlighted in Window menu if selected from there.
Steps to reproduce, if exist:

Make sure the focus is on Database Navigator tab and you have Projects tab visible
Click Window > Projects
Click Window again

Expected: Projects option is highlighted
Actual: Projects option is not highlighted like it is not active

verified

The problem remains for database tasks menu item
https://user-images.githubusercontent.com/43252954/135572432-dd83b890-0364-4e26-a09e-282be32243d4.mp4


CakePHP 5.x compatible

Added some updates for CakePHP 5.x and Select expressions columns

I have created a 2.x branch/tag with your contributions. Thank you!
https://github.com/joacir/CakeAes/tree/2.x


Migrate Package Specific Dependencies from Image to package.xml

Description

Partially Resolves #242

Some Python dependencies needed for the local pathfinding ROS package were moved from base-dev.Dockerfile to package.xml  in the local_pathfinding repository
Verification

After removing some dependencies from base-dev.Dockerfile, I ran the build images workflow and set the new image tag in the main Dockerfile.
I then rebuilt the container and verified that the pip3 dependencies in base-dev.Dockerfile were installed in the workspace but the dependencies that were moved to package.xml were not.
Next, I ran the setup task and then verified the remaining dependencies were installed.

Resources

This PR only dealt with local_pathfinding dependencies hence only partially resolving the mentioned Sailbot Workspace issue.
Here is the related local_pathfinding PR

Setup is run in the tests run: https://github.com/UBCSailbot/sailbot_workspace/blob/b602a2023b7d0c83c96026ba50fb457be09f6c1f/.github/actions/test/run.sh#L5
I think it is failing because it is pulling the main branch of local pathfinding. You can test out your branch by changing this line: https://github.com/UBCSailbot/sailbot_workspace/blob/b602a2023b7d0c83c96026ba50fb457be09f6c1f/src/polaris.repos#L48

I think it is failing because it is pulling the main branch of local pathfinding. You can test out your branch by changing this line:

Hm I tried this but its still not working.
This is what you meant right?

Running the setup task manually and then the test task works.
But just running test does not. It also doesn't complain if I put a wrong branch name in polaris.repos either.

Hm I tried this but its still not working.

It timed out, which is a known bug: #231

I'll make separate PRs in each repo to update the package.xml files one by one

As far as I can tell what's left is syncing with NET/diagnostics about what dependencies can be migrated to their repo

After rerunning it passes

So on this branch, when you rebuild and then run the test task, it doesn't error out for you? I'm getting module not found for scipy from controller and pyproj from local_path


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
15 seconds
sanity-inspect-image

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
16 seconds
clair-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
7 seconds
sanity-label-check

✅ Succeeded
6 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
show-summary


Dnd with 2 tables, 2 routes, redux. "Cannot have two HTML5 backends at the same time"

I have 2 routes: route1 and route2, which both render a MUI-datatable.
In 3.1.1, when I switch from route1 to route2, i get an error:
Cannot have two HTML5 backends at the same time
Stacktrace shows that this is a dnd error. As such, I downgraded to 3.0.1 and now the error doesn't happen.
I hope this is useful. I can provide more details if necessary on Thursday.
Full stack trace of error:

HTML5BackendImpl.setup
node_modules/react-dnd-html5-backend/dist/esm/HTML5BackendImpl.js:403
DragDropManagerImpl.handleRefCountChange
node_modules/dnd-core/dist/esm/DragDropManagerImpl.js:38
dispatch
node_modules/redux/es/redux.js:222
HandlerRegistryImpl.addTarget
node_modules/dnd-core/dist/esm/HandlerRegistryImpl.js:101
registerTarget
node_modules/react-dnd/dist/esm/common/registration.js:3
registerHandler
node_modules/react-dnd/dist/esm/hooks/internal/drop.js:54
commitHookEffectListMount
node_modules/react-dom/cjs/react-dom.development.js:19731
commitLifeCycles
node_modules/react-dom/cjs/react-dom.development.js:19787
commitLayoutEffects
node_modules/react-dom/cjs/react-dom.development.js:22803
HTMLUnknownElement.callCallback
node_modules/react-dom/cjs/react-dom.development.js:188
invokeGuardedCallbackDev
node_modules/react-dom/cjs/react-dom.development.js:237
invokeGuardedCallback
node_modules/react-dom/cjs/react-dom.development.js:292
commitRootImpl
node_modules/react-dom/cjs/react-dom.development.js:22541
unstable_runWithPriority
node_modules/scheduler/cjs/scheduler.development.js:653
runWithPriority$1
node_modules/react-dom/cjs/react-dom.development.js:11039
commitRoot
node_modules/react-dom/cjs/react-dom.development.js:22381
finishSyncRender
node_modules/react-dom/cjs/react-dom.development.js:21807
performSyncWorkOnRoot
node_modules/react-dom/cjs/react-dom.development.js:21793
(anonymous function)
node_modules/react-dom/cjs/react-dom.development.js:11089
unstable_runWithPriority
node_modules/scheduler/cjs/scheduler.development.js:653
runWithPriority$1
node_modules/react-dom/cjs/react-dom.development.js:11039
flushSyncCallbackQueueImpl
node_modules/react-dom/cjs/react-dom.development.js:11084
flushSyncCallbackQueue
node_modules/react-dom/cjs/react-dom.development.js:11072
batchedUpdates$1
node_modules/react-dom/cjs/react-dom.development.js:21862
notify
node_modules/react-redux/es/utils/Subscription.js:19
Subscription.notifyNestedSubs
node_modules/react-redux/es/utils/Subscription.js:92
Subscription.handleChangeWrapper
node_modules/react-redux/es/utils/Subscription.js:97
dispatch
node_modules/redux/es/redux.js:222
e
<anonymous>:1:40553
(anonymous function)
node_modules/@reduxjs/toolkit/node_modules/redux-thunk/es/index.js:11
▲ 30 stack frames were expanded.
(anonymous function)
src/immutableStateInvariantMiddleware.ts:249
  246 |        )
  247 |      })
  248 |
> 249 |      const dispatchedAction = next(action)
      | ^  250 |
  251 |      measureUtils.measureTime(() => {
  252 |        state = getState()
View compiled
dispatch
node_modules/redux/es/redux.js:638
_temp3
src/createAsyncThunk.ts:383
  380 |          finalAction.meta.condition
  381 |
  382 |        if (!skipDispatch) {
> 383 |          dispatch(finalAction)
      | ^  384 |        }
  385 |        return finalAction
  386 |      })()
View compiled

Tech
Version

Material-UI
4.10.1

MUI-datatables
3.1.1

React
16.13.1

reduxjs/toolkit
1.3.5

redux
4.0.5

redux-thunk
2.3.0

react-redux
7.2.0

redux-thunk
2.3.0

@AkselAllas thank you for the report! I'm looking into it now.

I'm having trouble re-creating this. However, I found this:
https://github.com/react-dnd/react-dnd/issues/186
It looks like this problem occurs when multiple react-dnd components are used in an application. Though it appears as if the latest versions of react-dnd have solved this issue. Are you using react-dnd in your app? If so, which version?
If not, if you grep through your node_modules, do you see any of your dependencies using react-dnd?

Thank you! It now works :)
I tried my error case again. In 3.1.1 the error was always reproducible. Then with both 3.1.2 and 3.1.3 the reproducible case didn't give error anymore.
Also I grep'ed my node_modules. After removing mui-datatables from package.json, I didn't have any react-dnd files. (except babel-loader cache and material-ui changelog files.)
Thank you for maintaining this package.

Also faced with the same problem. After updating the package, everything went smoothly. Thanks you

Glad to hear, thank you all for the report!

I'm getting this error on mui-datatables 3.4.1 after upgrading from v2 - another part of my application uses react-dnd Html5backend.
When switching between the two screens I still get this crash.
Any solution?


Merge secure-root.yml into server.yml

Summary. Instead of having a separate playbook to run (secure-root.yml), just set secure_root: true and run server.yml. Consolidates sudoers and github_ssh_keys roles into the existing users role.
New secure_root variable. It is in group_vars/all for parity between environments (note: doesn't do anything for development). Just change this to true on the first or any subsequent run of server.yml and that's all you need to do
New admin_user variable. Used in users list and remote_user parameter of server.yml. Convenient for people who might prefer ubuntu user (see AWS discussion). There's some risk people could confuse this admin_user with wordpress_sites['example.com']['admin_user'] in group_vars/development
Conditional remote_user. New task in server.yml checks which remote user to use (e.g., root vs. admin; inspiration: this and this). You might be concerned that if/when you add a new host IP to web in your inventory, the new host wouldn't yet have root secure but the preexisting hosts would. In that case you'd need to use --limit (see also) to first run the playbook on just the new host so that is has root locked down like the other hosts (or maybe the blacklist approach would be more convenient to your situation). The logic for the playbook's remote_user parameter tries to get the right user for you -- just checks whether it can ssh as root to the first host in the web group. As a different edge case, you can also handle different machines needing different user accounts or ports
New users variable; SSH keys. This PR is partly followup to discussion at https://discourse.roots.io/t/configure-domain-for-github-ssh-keys-to-point-at-a-gitlab-server/4066.  The new users variable subsumes the old sudoers and github_ssh_keys variables. I put it in group_vars/all because probably most people will want users consistent across staging and production. I left the entire list present and uncommented (except github keys) because I don't think any of it can hurt, and will be most likely to achieve successful ansible runs when people change secure_root: true (and do nothing else). By default it will attempt to add a key from ~/.ssh/id_rsa.pub (like it did before). Note that since ansible 1.9 the key parameter can accept a url, so we no longer need a separate task to fetch and store keys in /tmpbefore the ansible task that loads them.
Ansible requirement. This Bumps Ansible requirement to 1.9+. See 'SSH keys' section above for why.
Quotes on path variables. I removed quotes on local_path (in wordpress_sites lists) because our other vars with paths don't use quotes.
Idempotency. All tasks are idempotent except "Setup users" task, due to Ansible bug @swalkinshaw already noted here
Sudo issues. I just left sudo: yes in server.yml always, after finding out that because it is not currently templatable, I can't set it's value with conditional logic. Maybe in Ansible v2. As for --ask-become-pass (formerly --ask-sudo-pass, ref), you won't even need it the first time you run server.yml with secure_root: true because that run will still be as root (but you'll need it for subsequent runs). Did you want programmatic conditional --ask-become-pass? It is not currently possible, but people can make ansible always ask for sudo pass by adding ask_sudo_pass=True to ansible.cfg (but that would just get annoying when running dev.yml and deploy.yml which don't need the sudo pass).
Wikis. If/when this PR is accepted, I have notes ready for wikis (ssh keys and security)

After some discussion with @swalkinshaw I see that it will be better to process these changes as separate pull requests, one that combines the github_ssh_keys role with the users role, and another that handles the potential merge of the secure-root.yml playbook into the server.yml playbook. So, I'll close now and prepare the revised PRs.

Man Phil, you write some of the best documentation. Its seriously a pleasure to read what you write. Bravo, sir, bravo.
—
Sent from Mailbox
On Mon, Jun 22, 2015 at 11:11 PM, Phil Nelson<EMAIL_ADDRESS>wrote:

Closed #246.
Reply to this email directly or view it on GitHub:
https://github.com/roots/bedrock-ansible/pull/246#event-337408881


Add Element Should Not Contain keyword

Adding an Element Should Not Contain keyword would be very useful.

Added in #373


keypoints array with dynamic size based on kNumberOfPoints (#1570)

Add the generation of multi-class pose engines

Change grids in forwardGpu to one-dimensional arrays

Update README.md

Update types.h

keypoints array with dynamic size based on kNumberOfPoints

merged


[Improvement][Common] Optimize HashMap Initial Capacity

What is the purpose of the pull request
Optimize HashMap Initial Capacity

Codecov Report

Merging #4896 (a1693c0) into dev (b8788f0) will decrease coverage by 0.16%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##                dev    #4896      +/-   ##
============================================
- Coverage     47.07%   46.90%   -0.17%
+ Complexity     3639     3625      -14
============================================
  Files           567      567
  Lines         23811    23812       +1
  Branches       2742     2742
============================================
- Hits          11209    11170      -39
- Misses        11588    11632      +44
+ Partials       1014     1010       -4

Impacted Files
Coverage Δ
Complexity Δ

...lphinscheduler/service/quartz/QuartzExecutors.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...olphinscheduler/api/controller/BaseController.java
53.75% <100.00%> (ø)
10.00 <1.00> (ø)

...dolphinscheduler/common/utils/CollectionUtils.java
92.64% <100.00%> (+0.10%)
30.00 <0.00> (ø)

.../server/master/runner/DependentTaskExecThread.java
51.57% <0.00%> (-16.85%)
10.00% <0.00%> (-5.00%)

...ver/master/consumer/TaskPriorityQueueConsumer.java
43.62% <0.00%> (-9.40%)
16.00% <0.00%> (-4.00%)

...olphinscheduler/server/utils/DependentExecute.java
61.84% <0.00%> (-9.22%)
17.00% <0.00%> (-4.00%)

...olphinscheduler/plugin/alert/email/ExcelUtils.java
78.18% <0.00%> (-3.64%)
8.00% <0.00%> (-1.00%)

...r/server/worker/processor/TaskCallbackService.java
38.09% <0.00%> (-3.18%)
8.00% <0.00%> (ø%)

...inscheduler/server/master/config/MasterConfig.java
42.42% <0.00%> (-3.04%)
11.00% <0.00%> (-1.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
65.85% <0.00%> (+4.87%)
8.00% <0.00%> (+1.00%)

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 b8788f0...a1693c0. Read the comment docs.


500: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.','type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

As the title indicates, it's says I don't have openAI quota, but I'm not wanting to use openAI or anything else outside of my own system. I have a local OLLAMA, with many local models,  which works with standard chat clients, I have SearXNG local, everything is to me in house, except for the need to access the internet for search.
below is my my compose file. My computer network has everything local anything could ever need, latest ollama engine, 2 types of databases, redis, memcache, etc, all running bare metal local, I don't understand where I'm going wrong
networks:
default:
driver: bridge
docker4:
name: docker4
external: true
driver: bridge

services:
backend:
build:
context: .
dockerfile: ./src/backend/Dockerfile
restart: always
ports:
- "8000:8000"
environment:
- OLLAMA_HOST=${OLLAMA_HOST:-http://<IP_ADDRESS>:11434}
- TAVILY_API_KEY=${TAVILY_API_KEY}
- BING_API_KEY=${BING_API_KEY}
- SERP_API_KEY=${SERP_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GROQ_API_KEY=${GROQ_API_KEY}
- ENABLE_LOCAL_MODELS=${ENABLE_LOCAL_MODELS:-True}
- SEARCH_PROVIDER=${SEARCH_PROVIDER:-searxng}
- SEARXNG_BASE_URL=${SEARXNG_BASE_URL:-http://host.docker.internal:8080}
- REDIS_URL=${REDIS_URL:-redis://<IP_ADDRESS>:6379}
develop:
watch:
- action: sync
path: ./src/backend
target: /workspace/src/backend
extra_hosts:
- "host.docker.internal:host-gateway"

frontend:
depends_on:
- backend
build:
context: .
dockerfile: ./src/frontend/Dockerfile
restart: always
environment:
- NEXT_PUBLIC_API_URL=http://<IP_ADDRESS>:8000
- NEXT_PUBLIC_LOCAL_MODE_ENABLED=true
ports:
- "3009:3000"
develop:
watch:
- action: sync
path: ./src/frontend
target: /app
ignore:
- node_modules/

searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
restart: unless-stopped
networks:
- docker4
ports:
- "8082:8080"
volumes:
- ./searxng:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=http://<IP_ADDRESS>:8082

the .env file
OLLAMA_HOST=http://<IP_ADDRESS>:11434
OPENAI_API_KEY=
TAVILY_API_KEY=
BING_API_KEY=
SERP_API_KEY=
GROQ_API_KEY=
SEARXNG_BASE_URL=http://<IP_ADDRESS>:8082
REDIS_URL=redis://<IP_ADDRESS>:6379

the response from :http://<IP_ADDRESS>:11434
Ollama is running

Have you switched to local mode in the UI?

 Can you try running ollama serve, then making a query from Farfalle. There might be something in the ollama serve logs to look at.


Vickel: Watch 24caratnews.com

Vickel requests the watch of the watch_keyword 24caratnews\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

24caratnews\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Managed to get around this at least for now:

Deleted package-lock.json
Removed the engine section from package.json
Added .npmrc to root folder with the line legacy-peer-deps=true

Mostly resolved by #33 but legacy-peer-deps is still required


sha/keccak1600.c: implement bit interleaving optimization.

This targets 32-bit processors and is discussed in section 2.1 of
"Keccak implementation overview".

Sorry to bother you, Rich. There was additional commit :-) Note that this code is not actually build yet, so it was no point waiting for ci (and which is why second commit is marked with [skip ci]).

no problem.  reconfirm my +1

The ROL64 32-bit optimization shouldn't be used for x86-64 with the x32 ABI (32-bit pointers in 64-bit mode).

Absolutely correct. Plan actually is that by the time it reaches production quality and gets fully "wired" to EVP there will be x86_64 assembly implementation. And since x86_64 modules are usable in either native 64-bit context or x32, x32 will be covered. It's also correct that x32 is not the only platform where this check would be inadequate. Besides x32 equivalent for AArch64, there are MIPS n32 ABI, and ... [drum roll] ... [post-VAX] VMS. AArch64 would probably the only one covered by assembly.  But given that there are more remaining, it would be appropriate to provide a way to override sizeof(void*) >= 8. I'll think of something... Thanks!

See #3629.

@dot-asm: keccak looks tricky to SIMD since it 5 * uint64_t doesn't fit in a 256b vector.  I was looking at this code in the first place while looking for existing SIMD implementations, just out of curiosity (not because I need it for anything).
I found https://github.com/gvanas/KeccakCodePackage/blob/master/SnP/KeccakP-1600/OptimizedAVX2/KeccakP-1600-AVX2.cpp, which looks interesting, with an asm loop that keeps things in registers.
Some other code I found seems to do a lot of store/reload, if the compiler doesn't manage to optimize it away.  e.g. https://github.com/gvanas/KeccakCodePackage/blob/master/PlSnP/KeccakP-1600-times4/SIMD512/KeccakP-1600-times4-SIMD512.c using gather/scatter intrinsics with pretty simple index vectors that would probably be better done with movq/pinsrq.
And worse, IIRC it might even create store-forwarding stalls by doing loads that partially overlap recent stores.
Anyway, keccak can probably really benefit from AVX512, since one reg can hold 5 * uint64_t (with a ton of wasted space, unfortunately), and it has powerful two-register shuffles (vpermt2q), not to mention SIMD rotate instead of shift+shift+OR.   But vectorizing with only AVX2 looks hard.
I wish I had some time to spend on playing with this, but I have other things half-finished...


Pass encoding into its attribute

This fixes a bug (introduced in #5)  where a user was unable to set the new encoding attribute when the object is instantiated.

This gets my up vote. Here we have a configuration that doesn't work with the gzip encoding, and this is blocking us from using the latest version.

Change seems sane to me. Thanks!

Thanks @stuartskelton and @dcramer.


Typo

"New features and changes in the 19.10 SDK release
The 19.09 release"...

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

ID: b0ed2e36-f487-37a8-8cff-05022dc22770
Version Independent ID: 4503a566-0ccf-063f-6855-0b22cc3bc5fe
Content: Release Notes 19.09
Content Source: AzureSphere/articles/resources/release-notes-1910.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

Good catch! Thanks for the feedback. We'll fix this the next time we publish the docs.

@gregsmi As Penny Mentioned, We will fix this documentation in the next release.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


OCPBUGS-20204: Invalid ConfigurationPolicy names

Description:

In the NewSafeResourceName function, TALM truncates the policy name if needed. It could happen that the policy name is truncated such that the last character is ".". In this situation, the policy name would then be concatenated with "-" and a randomly generated suffix resulting in a policy name that follows this model: "policy_name.-suffix". This type of name is not accepted.
In NewSafeResourceName, when policy names are truncated, make sure the last character of the obtained base string is either '-' or an alphanumerical character.

/lgtm

/cherrypick release-4.13

/cherrypick release-4.12


liquibase.properties with classpath is not working

Search first

[X] I searched and no similar issues were found

Description
I am trying liquibase with cassandra and have downloaded the required jars, liquibase-cassandra-4.29.1.jar and cassandra-jdbc-wrapper-4.13.0-bundle.jar.
The liquibase version I am using is 4.29.0.
Here is my liquibase.properties contents
url=jdbc:cassandra://localhost:9042/cycling?compliancemode=Liquibase&localDatacenter=datacenter1
driver=com.ing.data.cassandra.jdbc.CassandraDriver
classpath=/Users/admin/Downloads/lib/liquibase-cassandra-4.29.1.jar:/Users/admin/Downloads/lib/cassandra-jdbc-wrapper-4.13.0-bundle.jar

The changelog.xml is
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
  xmlns:pro="http://www.liquibase.org/xml/ns/pro"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
    http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
    http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd
    http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd">

  <changeSet id="1" author="my_name">
    <createTable tableName="test_table">
      <column name="test_id" type="int">
        <constraints primaryKey="true"/>
      </column>
      <column name="test_column" type="INT"/>
    </createTable>
  </changeSet>

</databaseChangeLog>

If I copy those jar files to lib folder of liquibase then it is working without classpath but my use case demands to pass those jar files as part of classpath. If I pass the path of jars in classpath then it throws below error
ERROR: Exception Details
ERROR: Exception Primary Class:  SyntaxError
ERROR: Exception Primary Reason:  line 1:42 no viable alternative at input '(' (CREATE TABLE DATABASECHANGELOG (ID [VARCHAR](...)
ERROR: Exception Primary Source:  Cassandra 5.0.0

When I tried running liquibase --changelog-File=changelog.xml in debug mode then I saw below error
liquibase.exception.DatabaseException: Error executing SQL call current_schema: The Cassandra implementation does not support this method.
Steps To Reproduce
Steps to reproduce are mentioned in the description
Expected/Desired Behavior
Expected behaviour is to pick thejar files with classpath
Liquibase Version
4.29.0
Database Vendor & Version
Cassandra-5.0
Liquibase Integration
CLI, nodejs
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
MacOs
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

Hi @sumit-kumar-iitm, thank you for reporting this issue.
Could you try replacing classpath with searchPath and trying again?
If that doesn't work, could you try running liquibase update-sql and providing us with the output?
Thank you,
Tatiana


Documentation not populating to Hackage

Cabal not wanting to pass arguments to Haddock to build manually. Try again in a non-Nix environment

Fixed


HADOOP-18969. S3A: AbstractS3ACostTest to clear bucket fs.s3a.create.performance

Add the option to the removeBaseAndBucketOverrides() list
How was this patch tested?
On a test configuration with a per bucket setting.
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[x] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
4m 34s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
48m 50s

trunk passed

+1 :green_heart:
compile
0m 43s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 32s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 31s

trunk passed

+1 :green_heart:
mvnsite
0m 40s

trunk passed

+1 :green_heart:
javadoc
0m 26s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 33s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  6s

trunk passed

+1 :green_heart:
shadedclient
37m 45s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 29s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
compile
0m 26s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 26s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 31s

the patch passed

+1 :green_heart:
javadoc
0m 15s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  6s

the patch passed

+1 :green_heart:
shadedclient
38m  2s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m 42s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

144m 22s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6264/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6264

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 025f6167fea1 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / aeb7aa867af25e066c2cdb7a0c0608a7f1500302

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6264/1/testReport/

Max. process+thread count
602 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6264/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Can I get a quick review of this @mukund-thakur @ahmarsuhail @HarshitGupta11


[swift-ide-test] Add -debug-constraints option; add logging to typeCh…

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

…eckUnresolvedExpr
I keep wanting to debug type-checking of unresolved members, so add the
logic so I can enable it from swift-ide-test rather than having to
modify the source.

@swift-ci Please smoke test and merge

@swift-ci Please smoke test


[clang-tidy] Vote: Naming style

Since clang-tidy offers countless options that can be used for checking the code base I believe it makes sense to split them into several groups. These groups will then be voted on as whole in order to speed up the process.
This PR deals with our naming style. To make it easier to interpret this is what the current proposal will change:

All macros will be written in UPPER_CASE
Everything that is used as parameter inside a template <> expression will be written in Camel_Snake_Case
Everything else will be written in lower_case (a.k.a. snake_case)

I chose this naming style to be more aligned with the C++ ecosystem style (standard library, boost, ...). I would have preferred to write template parameters as Slightly_different_snake_case but unfortunately clang-tidy does not offer this option.
Since there should be enough time to view all the different options (see description here) this PR will be closed in two weeks (meaning Tuesday, 03 November 2020, 18:00 HZDR time) - the vote will then be final.
Use the following template for voting:
Option | `lower_case` | `UPPER_CASE` |  `camelBack` | `CamelCase` | `camel_Snake_Back` | `Camel_Snake_Case` | `aNy_CasE` |
-------|--------------|--------------|--------------|-------------|--------------------|--------------------|------------|
default | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Macros | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Template parameters | 0 | 0 | 0 | 0 | 0 | 0 | 0 |

Feel free to add specific options to the vote. If you don't care about a particular option don't increase its counter.

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
1
0
0
0
0
0
0

Macros
0
1
0
0
0
0
0

Template parameters
0
0
0
0
0
1
0

I think having everything except macros and template parameters have the same case is a severe restriction. The check itself supports ample configuration options that we could specify, or just leave them unspecified. I do not think we need to nail down everything. We could just pick the most important 5 items and leave the rest.

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

Macros
0
2
0
0
0
0
0

Template parameters
0
0
0
1
0
1
0

This table appears to be missing type names. Currently PIConGPU and Alpaka use CamelCase for type names and camelBack for other identifiers. Are both subsumed under "default" in this table? Is there a way to split this up?
I prefer variations of camelCase (no underscores) because it is easier on the eye. Macros on the other hand should have underscores, they need to look ugly.

Are both subsumed under "default" in this table?

Right now they are. "Default" should be interpreted in a "catch-all" way, meaning that it covers all options that haven't been explicitly mentioned.

Is there a way to split this up?

Yes. Feel free to add new rows to the vote covering the cases you want to take out of the "default" set. See the documentation for all the options that are available: https://clang.llvm.org/extra/clang-tidy/checks/readability-identifier-naming.html

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
1
0
1
0
0
0
0

Macros
0
3
0
0
0
0
0

Template parameters
0
0
0
2
0
1
0

ClassCase
0
0
0
1
0
0
0

Suggestion: If you add a new line be sure to derive the according votes from the "default" set. In the example above there would be a lower_case vote for ClassCase. Otherwise everyone has to constantly update their votes whenever there is a new line.

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
2
0
1
0
0
0
0

Macros
0
4
0
0
0
0
0

Template parameters
0
0
0
3
0
1
0

ClassCase
1
0
0
1
0
1
0

I am a big fan of camel case but for types I see that _t and for variables _v like in std is very nice.

@psychocoderHPC There dedicated options for prefixes and suffixes. We could vote on e.g. ClassSuffix = _t and ClassMemberPrefix = m_ vs. ClassMemberSuffix = _ (I grew up with the Qt/KDE style, so I am probalby opposed to the STL style in most cases). This is orthogonal to the case option.

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
2
0
2
0
0
0
0

Macros
0
4
0
0
0
0
0

Template parameters
0
0
0
3
0
1
0

ClassCase
1
0
0
2
0
1
0

EnumCase
2
0
1
1
0
0
0

TypeAliasCase
2
0
1
1
0
0
0

UnionCase
2
0
1
1
0
0
0

I am a big fan of camel case but for types I see that _t and for variables _v like in std is very nice.

I can't wait to see you write:
for (int i_v = 0; i_v < n_v; i_v++) { ... }

:D

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
3
0
2
0
0
0
0

Macros
0
5
0
0
0
0
0

Template parameters
0
0
0
4
0
1
0

ClassCase
1
0
0
3
0
1
0

EnumCase
2
0
1
2
0
0
0

TypeAliasCase
2
0
1
2
0
0
0

UnionCase
2
0
1
2
0
0
0

I am a big fan of camel case but for types I see that _t and for variables _v like in std is very nice.

I can't wait to see you write:
for (int i_v = 0; i_v < n_v; i_v++) { ... }

I see both your points: The _t is more explicit, but if you mark all things with some suffix or prefix, your are marking one thing too many.

I think @psychocoderHPC meant only for type traits and metaprogramming things like how the standard library names things: X_t<...> == typename X<...>::type, X_v<...> == X<...>::value. Not for normal type and variable names.

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

ClassCase
2
0
0
3
0
1
0

EnumCase
3
0
1
2
0
0
0

TypeAliasCase
3
0
1
2
0
0
0

UnionCase
3
0
1
2
0
0
0

So we are going to have classes spelled with CamelCase but enums, aliases and unions with lower_case? That seems wrong to me.

So we are going to have classes spelled with CamelCase but enums, aliases and unions with lower_case? That seems wrong to me.

@bernhardmgruber you are the one who split the CamelCase vote to chose camelBack for enums, aliases and unions. I presume these setting apply to the enum/alias/union type name not to members (would make not sense otherwise for aliases). Maybe you should reconsider your choice ;) .

@bernhardmgruber you are the one who split the CamelCase vote to chose camelBack for enums, aliases and unions. I presume these setting apply to the enum/alias/union type name not to members (would make not sense otherwise for aliases). Maybe you should reconsider your choice ;) .

This is not how I understood the vote to work. I did NOT choose camelBack in my vote for enums, type aliases and unions. I added 3 rows to the table, so I must duplicate all values from the default row. Since there was 1 vote for camelBack at default (by @jkelling), I must duplicate these into the 3 new rows. Therefore, @jkelling now votes for camelBack on enums, type aliases and unions. Then I added my vote for CamelCase on these 3 new rows. And I added my vote to the default row for camelBack.
In general, I think these copying of the previously voted on defaults is wrong. It punishes new options added later to the vote.
Example: I just found out, that ClassName does not affect struct names. So I will add it. Copying the defaults now (-1, because I remove my default) gives us:

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

ClassCase
2
0
0
3
0
1
0

EnumCase
3
0
1
2
0
0
0

TypeAliasCase
3
0
1
2
0
0
0

UnionCase
3
0
1
2
0
0
0

StructCase
4
0
1
1
0
0
0

And now if not all of the people who voted already reconsider, we might have an unwanted outcome.

we might have an unwanted outcome.

Depends on whom you ask ;-) I assume that everyone who cares monitors this PR and adjusts their vote as needed. But to be honest I also assume some sensible extensions to the vote. For example I would have implicitly set StructCase / AbstractClassCase to ClassCase's value. Or made template <typename Parameter>, template<template <typename Parameter>> and template <int Parameter> the same case.

Since these objections are kind-of last minute: Shall we extend the vote or go with the current results? Pinging @psychocoderHPC @sbastrakov @SimeonEhrig

Along the line of what @j-stephan wrote, I assumed, that the case of everything which is a type would also be ClaseCase, if not stated otherwise. So I thought @bernhardmgruber derived my votes for UnionCase/StructCase/TypeAliasCase from the ClassCase vote as the enclosing group, and himself voted for camelCase on those. Let me fix this then:

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

ClassCase
2
0
0
3
0
1
0

EnumCase
3
0
0
3
0
0
0

TypeAliasCase
3
0
0
3
0
0
0

UnionCase
3
0
0
3
0
0
0

StructCase
4
0
0
2
0
0
0

It seems the same thing happened in the StructCase post? Someone who voted for ClassCase=CamelCase had default=lower_case and thus got their vote for StructCase set to lower_case? Is there anyone who actively wants CamelCase for classes and lower_case for struct at the same time? Maybe it would be better to have everyone update their vote themselves when new rows are added to avoid confusion.
Regarding the vote:

In case there is no absolute majority on a setting, there should be a new vote with all 0 columns and the lowest non-zero column removed. Repeat until one column get an absolute majority. First-past-the post is bad.
As it does not appear to be clear to everyone what we are effectively voting, due to differing assumption about implied votes, we should look at a code example of the outcome of this vote and have another vote.

Since these objections are kind-of last minute: Shall we extend the vote or go with the current results? Pinging @psychocoderHPC @sbastrakov @SimeonEhrig

Yes please give us two more days to vote also for the added options.

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

ClassCase
2
0
0
3
0
1
0

EnumCase
3
0
0
3
0
1
0

TypeAliasCase
3
0
0
3
0
1
0

UnionCase
3
0
0
3
0
1
0

StructCase
4
0
0
2
0
1
0

I added my votes for the last 4 (new) options

I added my votes for the last 4 (new) options
@psychocoderHPC You need to also remove your votes from the lower_case columns, because your default was lower_case. Currently, the new rows have seven votes in them, while only six people voted.

I guess we need to count from the start or start over.

Vote extended until 06 November 2020, 18:00 HZDR time.

Cleaned vote count for better visibility:

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

ClassCase
2
0
0
3
0
1
0

EnumCase
2
0
0
3
0
1
0

TypeAliasCase
2
0
0
3
0
1
0

UnionCase
2
0
0
3
0
1
0

StructCase
3
0
0
2
0
1
0

Remember that voting will be closed today at 18:00. @bernhardmgruber @jkelling @SimeonEhrig @psychocoderHPC @sbastrakov

Could the person that voted for CamelCase classes but lower_case structs please reconsider? Who is that btw?

I agree with @bernhardmgruber  and doubt that all votes (specifically that one) were counted in accordance with the voter's intend. The probably actual vote count is likely:

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

AnyTypeName \ TemplateParams
2
0
0
3
0
1
0

Who is that btw?

I think that was (unwillingly) you. Looks like your example vote above got copied around.

Who is that btw?

I think that was (unwillingly) you. Looks like your example vote above got copied around.

I ran through all the votes again and that is what I end up with:
lower_case class:  jan sergei
lower_case struct: jan sergei simeon
CamelCase class:  jeffrey bgruber simeon
CamelCase struct: jeffrey bgruber
Because Simeon never changed his vote after we added the row with StructCase. @SimeonEhrig could you please reconsider?

Simeon isn't working today. I'll extend the vote again until Tuesday, 18:00 to give him the chance to reconsider.

@bernhardmgruber @j-stephan  you two should agree on what default means. According to @bernhardmgruber @SimeonEhrig meant to say: "classes should look differently from structs" when he cast his ClassCase vote. According to @j-stephan  @SimeonEhrig should have assumed, that voting on ClassCase implied to vote the same way on StructCase, in which case he does not need to reconsider, but move his vote to the correct column.
I think it would be best to remove people's votes on new columns, which they did not explicitly vote on, i.e have them abstain on these until they update their votes. It is probably better to abstain, then have votes counted counter to their intention.

I think it would be best to remove people's votes on new columns, which they did not explicitly vote on, i.e have them abstain on these until they update their votes. It is probably better to abstain, then have votes counted counter to their intention.

Absolutely in favor! We should do that in the future! For this poll, it breaks @j-stephan's request: https://github.com/ComputationalRadiationPhysics/contributing/pull/42#issuecomment-714348325

I'm totally confused. Is it enough, If I say, that want to write class and struct names both in CamelCase?

Yes. This would leave us the following votes:

Option
lower_case
UPPER_CASE
camelBack
CamelCase
camel_Snake_Back
Camel_Snake_Case
aNy_CasE

default
4
0
2
0
0
0
0

Macros
0
6
0
0
0
0
0

Template parameters
1
0
0
4
0
1
0

ClassCase
2
0
0
3
0
1
0

EnumCase
2
0
0
3
0
1
0

TypeAliasCase
2
0
0
3
0
1
0

UnionCase
2
0
0
3
0
1
0

StructCase
2
0
0
3
0
1
0

Is everyone happy with this being the final result?
@sbastrakov @SimeonEhrig @bernhardmgruber @psychocoderHPC @jkelling

I am happy with the results we voted on so far. I still undertstand your statement

Right now they are. "Default" should be interpreted in a "catch-all" way, meaning that it covers all options that haven't been explicitly mentioned.

as: We can still vote on further options at a later stage. But lower_cast will be the default for everything not mentioned so far. Is this correct?

But lower_case will be the default for everything not mentioned so far. Is this correct?

Indeed.


[5.9] "Read only" ❌ "Read-only" ✅

Explanation: Updates text from "Read only" to "Read-only"
Scope: Impacts docs for REST APIs with read-only object fields
Issue: rdar://107896158
Risk: Low, only config change
Testing: Verified that new string renders where expected for a REST API
Reviewer: @dobromir-hristov and @marinaaisa
Original PR: #668

@swift-ci test


Fixes after IP BOM 7.0.0.CR4 upgrade

downgrade surefire&failsafe from 2.19.1 to 2.18.1
as 2.19.1 is buggy

remove some config which is already brought in by
jboss-parent

All PRs mentioned in https://github.com/errai/errai/pull/180 need to be merged together, at the same time.

+1


Request: Add og:image to SEO/Metadata

As you can see, Facebook and Twitter's social card debugger isn't picking up any image(s) in the metadata (should be in the og:image format). The og:title and og:description seem to be pulling from the regular site metadata just fine. I hate to open an issue (a request) for this, but I have been banging my head against this issue for awhile now and can't seem to figure it out. The SEO.js file isn't in a format I'm familiar with even though I've worked with Gatsby before. I have even tried to add a meta tag manualy to the index.js layout to no avail. Sorry if this is lacking detail or isn't a feature you're looking to add – feel free to close if that's the case and I'll keep working on it/post a solution back here in a PR if I figure it out.

So, Helmet already enables this, I think I was just confused by the syntax at first.
So, I added a unique og:image to my homepage by adding this to my index.js file:
<meta property="og:image" content="/example-image.png"/>
This was added underneath the <meta name="description" content="..." part within <Helmet></Helmet> of the index.js file (around line 14 from this repo).
To add a dynamic og:image on the individual service pages, for example:

Import Helmet to the service.js template (templates/service.js) like so: import Helmet from 'react-helmet';
Create a Helmet like so, below the <Layout bodyClass="page-service"> opening around line 12:

<Helmet>
        <meta property="og:image" content={ image }/>
        <meta property="og:image:width" content="1200"/>
        <meta property="og:image:height" content="630"/>
</Helmet>

It's important to include the og:image:width and :height because of some issue with Facebook not being able to render it otherwise. I went kinda quick and forgot/can't find the exact error message it gave me, but the specified width/height fixes it.


transform.setFromMatrix not working for

This is related to #2574
The decomposition is not really working for some cases.
If the rotation has been set and at least one scale component is negative, the rotation and the scale are no longer preserved.
I also would like to kow if it is possible to transform the decomposed skew values into a local container space?
-Trixt0r

BTW, scale.set(-1,-1) is the same as rotation=Math.PI, so its not possible to recover it, unless we talk about some conventions, like "dont use scale negative values, use texture rotation instead" http://pixijs.github.io/examples/#/demos/texture-rotate.js

Not sure there is an easy way to decompose these 100% correctly and multiple values affect multiple matrix positions (see scale/skew).


Add dotnet/cli release/2.1.5xx to CI

cc @livarcocc

@tannergooding @mmitche to have this merged.


jax.scipy.special.logsumexp raises OverflowError

jax.scipy.special.logsumexp seems to be broken in jax 0.2.9.
The following code:
import jax, scipy
print(jax.scipy.special.logsumexp(jax.numpy.array([-1, 1])))
print(scipy.special.logsumexp(jax.numpy.array([-1, 1])))

Raises the following error:
  File "txt.py", line 2, in <module>
    print(jax.scipy.special.logsumexp(jax.numpy.array([-1, 1])))
  File "/opt/conda/lib/python3.7/site-packages/jax/_src/scipy/special.py", line 107, in logsumexp
    amax = lax.reduce(a, _constant_like(a, -np.inf), lax.max, dims)
  File "/opt/conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 335, in _constant_like
    return np.array(const, dtype=_dtype(x))
OverflowError: cannot convert float infinity to integer```

While the line from scipy runs fine. This was reproduced for the handful of other inputs I tried

jax.scipy.special.logsumexp does not work on integers. If you use floats like
jax.scipy.special.logsumexp(jax.numpy.array([-1., 1.]))
# -> DeviceArray(1.1269281, dtype=float32)

it works. You may still consider this a bug, just FYI.

Thanks for the report. Indeed I think the issue is that logsumexp currently fails for integer input (although the error is more explicit on master due to changes in #5872). The fix will be to internally promote inputs to floating point.


Not working with APT

When I enable 'net.ltgt.apt' plugin the build starts to fail. Maybe this has something to do with APT overriding default compile targets and ErrorProne has to be additionally configured? I've seen this in README.md, but could you provide a way to do that for already existing 'compileJava' and 'compilteTestJava' targets? Unfortunately, I have not that much Gradle experience to do that myself.
> Task :compileJava FAILED
error: plug-in not found: ErrorProne
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

I also attach a sample project to reproduce the issue:
demo.zip

As a matter of fact, to resolve the issue I managed to use 'annotationProcessor' instead of 'apt' while declaring my dependencies, so I could remove 'net.ltgt.apt' plugin. I'm using Gradle 4.6+, so this works perfectly. I guess I'm just closing the issue, as 'gradle-errorprone-javacplugin-plugin' is intended for use with Gradle 4.6+ anyway.

This is because you're using an old version of net.ltgt.apt that predates the annotationProcessor configurations. Use at least 0.14, otherwise it would overwrite the default Gradle behavior.
net.ltgt.apt could still be useful though, see https://github.com/tbroyer/gradle-apt-plugin/issues/80


⚠ Bofrost.at has degraded performance

In d888aca, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2510 ms

Resolved: Bofrost.at performance has improved in 2c77188 after 307 days, 19 hours, 32 minutes.


Add volume calculator

Much like the length calculator, I want to add the volume calculator doing necessary volume conversions under JWOC'23.

@zugzwang03 Go for it.