Debug after codelldb updates doesnt work

After I update codelldb provide by vscode to version 1.70 my debugger configured using rust-tools stopped working as the error below.

same problem

Same

It seems like the relevant changes are in this commit: https://github.com/vadimcn/vscode-lldb/commit/08dcebab314acd3ab275e6af23c8b867e6548135
Looks like a refactor so that the adapter would be able to reverse connect to a port exposed by the extension by using the --connect flag. Previously there was only the --port flag which defaulted to 0 (which means pick any random port). However it seems like there's a regression because previously codelldb would print Listening on port xyz on startup but in the new version nothing is printed, and it also doesn't respond to Ctrl-C (which 1.6.10 does).

hmm I think a good workaround (for now) would be either giving a port in the config, or trying to find an empty port (not too sure about a cross platform implementation for the latter option)

I tried to update the configuration to allow port or connect but it seems to hang for ever...
I tried to check what vscode is doing when starting a debugging session but it's not really helpful.
I would like to help on this issue but I don't know where to start...

I tried to update the configuration to allow port or connect but it seems to hang for ever... I tried to check what vscode is doing when starting a debugging session but it's not really helpful.
I would like to help on this issue but I don't know where to start...

You are probably not passing the port to dap if I had to guess

How do you pass the port to dap?

hmm I think a good workaround (for now) would be either giving a port in the config, or trying to find an empty port (not too sure about a cross platform implementation for the latter option)

How do you think we need to tackle this subject ?
Do we provide a way to define a range of port in config so that the adapter randomly take one without checking if it's free to be used ? This solution is much simpler but some failure can happened if the address is already in used.
The other solution seems more complicated because of the platform dependency to check for a free port. Do we have any way to do that for now?

hmm I think a good workaround (for now) would be either giving a port in the config, or trying to find an empty port (not too sure about a cross platform implementation for the latter option)

How do you think we need to tackle this subject ?
Do we provide a way to define a range of port in config so that the adapter randomly take one without checking if it's free to be used ? This solution is much simpler but some failure can happened if the address is already in used.
The other solution seems more complicated because of the platform dependency to check for a free port. Do we have any way to do that for now?

I have a working implementation in libuv, if we bind to port 0 then the os automatically reassigns a free port to us. I have it tested on Linux and I'm pretty sure windows does the same thing but not too sure about MacOS

@simrat39 I can confirm that passing a port 0 is ok for OSX too.
How do you fetch the generated port tho?

@simrat39 I can confirm that passing a port 0 is ok for OSX too.
How do you fetch the generated port tho?

local loop = vim.loop

local server = loop.new_tcp()

P(loop.tcp_bind(server, "<IP_ADDRESS>", 0))

P(server.getsockname(server).port)

(P is just a print function in my config)

Nice ! I can't wait to see the rest of the implementation :)

diff --git a/lua/rust-tools/dap.lua b/lua/rust-tools/dap.lua
index 8ed0fec..8a37ef4 100644
--- a/lua/rust-tools/dap.lua
+++ b/lua/rust-tools/dap.lua
@@ -1,22 +1,35 @@
 local config = require("rust-tools.config")
+local loop = vim.loop

 local M = {}

+local function get_free_port()
+  local server = loop.new_tcp()
+  server:bind("<IP_ADDRESS>", 0)
+  return server:getsockname().port
+end
+
+P(get_free_port())
+
 ---For the heroes who want to use it
 ---@param codelldb_path string
 ---@param liblldb_path string
-function M.get_codelldb_adapter(codelldb_path, liblldb_path)
+---@param port number to pass to codelldb
+function M.get_codelldb_adapter(codelldb_path, liblldb_path, port)
   return function(callback, _)
     local stdout = vim.loop.new_pipe(false)
     local stderr = vim.loop.new_pipe(false)
     local handle
     local pid_or_err
-    local port
     local error_message = ""

+    port = port or get_free_port()
+
+    P(port)
+
     local opts = {
       stdio = { nil, stdout, stderr },
-      args = { "--liblldb", liblldb_path },
+      args = { "--liblldb", liblldb_path, "--port", port },
       detached = true,
     }

@@ -35,24 +48,9 @@ function M.get_codelldb_adapter(codelldb_path, liblldb_path)
     stdout:read_start(function(err, chunk)
       assert(not err, err)
       if chunk then
-        if not port then
-          local chunks = {}
-          for substring in chunk:gmatch("%S+") do
-            table.insert(chunks, substring)
-          end
-          port = tonumber(chunks[#chunks])
-          vim.schedule(function()
-            callback({
-              type = "server",
-              host = "<IP_ADDRESS>",
-              port = port,
-            })
-          end)
-        else
-          vim.schedule(function()
-            require("dap.repl").append(chunk)
-          end)
-        end
+        vim.schedule(function()
+          require("dap.repl").append(chunk)
+        end)
       end
     end)
     stderr:read_start(function(_, chunk)
@@ -64,6 +62,14 @@ function M.get_codelldb_adapter(codelldb_path, liblldb_path)
         end)
       end
     end)
+
+    vim.schedule(function()
+      callback({
+        type = "server",
+        host = "<IP_ADDRESS>",
+        port = port,
+      })
+    end)
   end
 end

Looks like debugging works with this but we need to run it twice, dap is unable to connect first try, not sure why

@simrat39 Oh yes, it's because of a concurrency issue.
you can wrap:

vim.defer_fn(function()
	vim.schedule(function()
		callback({
			type = "server",
			host = "<IP_ADDRESS>",
			port = port,
		})
	end)
end, 100)

I don't know about the TTL but we can't have something listening (or polling) to the process to start listen on the given port.

The plugin didn't throw any error in my case and just web silent.
Please pin this issue or mention that debugger after version 1.6.10 is WIP.
Spent a whole day debugging this plugin.

Just chiming in here that gigablaster's patch actually works for me as well.

Should be fixed in the https://github.com/simrat39/rust-tools.nvim/tree/modularize_and_inlay_rewrite branch

Has anyone figured out how to fix this? I have this config:

if server == "rust_analyzer" then
     local keymap = vim.keymap.set
     local key_opts = { silent = true }
     **local extension_path = vim.env.HOME .. '/.vscode/extensions/vadimcn.vscode-lldb-1.7.3/'
     local codelldb_path = extension_path .. 'adapter/codelldb'
     local liblldb_path = extension_path .. 'lldb/lib/liblldb.so'**

     keymap("n", "<leader>rh", "<cmd>RustSetInlayHints<Cr>", key_opts)
     keymap("n", "<leader>rhd", "<cmd>RustDisableInlayHints<Cr>", key_opts)
     keymap("n", "<leader>th", "<cmd>RustToggleInlayHints<Cr>", key_opts)
     keymap("n", "<leader>rr", "<cmd>RustRunnables<Cr>", key_opts)
     keymap("n", "<leader>rem", "<cmd>RustExpandMacro<Cr>", key_opts)
     keymap("n", "<leader>roc", "<cmd>RustOpenCargo<Cr>", key_opts)
     keymap("n", "<leader>rpm", "<cmd>RustParentModule<Cr>", key_opts)
     keymap("n", "<leader>rjl", "<cmd>RustJoinLines<Cr>", key_opts)
     keymap("n", "<leader>rha", "<cmd>RustHoverActions<Cr>", key_opts)
     keymap("n", "<leader>rhr", "<cmd>RustHoverRange<Cr>", key_opts)
     keymap("n", "<leader>rmd", "<cmd>RustMoveItemDown<Cr>", key_opts)
     keymap("n", "<leader>rmu", "<cmd>RustMoveItemUp<Cr>", key_opts)
     keymap("n", "<leader>rsb", "<cmd>RustStartStandaloneServerForBuffer<Cr>", key_opts)
     keymap("n", "<leader>rd", "<cmd>RustDebuggables<Cr>", key_opts)
     keymap("n", "<leader>rv", "<cmd>RustViewCrateGraph<Cr>", key_opts)
     keymap("n", "<leader>rw", "<cmd>RustReloadWorkspace<Cr>", key_opts)
     keymap("n", "<leader>rss", "<cmd>RustSSR<Cr>", key_opts)
     keymap("n", "<leader>rxd", "<cmd>RustOpenExternalDocs<Cr>", key_opts)

    require("rust-tools").setup {
       tools = {
         on_initialized = function()
           vim.cmd [[
             autocmd BufEnter,CursorHold,InsertLeave,BufWritePost *.rs silent! lua vim.lsp.codelens.refresh()
           ]]
         end,
       },
       **dap = {adapter = require('rust-tools.dap').get_codelldb_adapter(
            codelldb_path, liblldb_path)},**
      server = {
        on_attach = require("user.lsp.handlers").on_attach,
        capabilities = require("user.lsp.handlers").capabilities,
         settings = {
           ["rust-analyzer"] = {
             lens = {
               enable = true,
             },
             cargo = {
              buildScripts = {
                  enable = true,
              },
              },
              procMacro = {
                  enable = true
              },
            checkOnSave = {
               command = "clippy",
             },
           },
         },
       },
    }

I'm getting Error: "Either --connect or --port must be specified" with vscode-lldb-1.7.3

Has anyone figured out how to fix this? I have this config:
I'm getting Error: "Either --connect or --port must be specified" with vscode-lldb-1.7.3

https://github.com/simrat39/rust-tools.nvim/issues/157#issuecomment-1188455733

Hi guys! I am using AstroNvim and I am having the same issue
this is part of my init.lua
rust_analyzer = function(_, opts)
        local extension_path = vim.env.HOME .. '/.vscode/extensions/vadimcn.vscode-lldb-1.9.0/'
        local codelldb_path = extension_path .. 'adapter/codelldb.exe'
        local liblldb_path = extension_path .. 'lldb/lib/liblldb.lib' -- MacOS: This may be .dylib

        require("rust-tools").setup {
          server = opts,
          dap = {
            adapter = require('rust-tools.dap').get_codelldb_adapter(codelldb_path, liblldb_path)
          }
        }
      end

This is the error:

Should be fixed in the https://github.com/simrat39/rust-tools.nvim/tree/modularize_and_inlay_rewrite branch

So for me to fix this I have to use this branch? how can I tell nvim to get the code from that specific branch? Thanks!

With AstroNvim, you could just use the community rust pack: https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/pack/rust.

@utkarshgupta137  Thank you for the info! I didn't know that package existed. Unfortunately it didn't work either... I created an issue. I am getting the same error i was describing before...


should.have.length() always gives length = 1

Seems it doesn't work. lenghtOf() too. node 0.4.10, should 0.3.2, mocha 0.0.8:
describe('Array length', function() {
  it('fails', function() {
    [1,2].should.have.length(2);
  });

  it('passes', function() {
    [1,2].length.should.equal(2);
  });
});

It seems that it wraps all the arrays in another array, because this also fails:
['abc', 23, true].should.eql(['abc', 23, true])

It gives:
AssertionError: expected [ [ 'abc', 23, true ] ] to equal [ 'abc', 23, true ]


Requesting manual approval for change to token

Hey! I'm trying to remove a tag from the Mystic Money token I created. Here is a link to the PR
https://github.com/solana-labs/token-list/pull/18731

merged


[BUG] Modus Table - When Full width is False - If the age column is resized to minimum and using tab Age column should be selected, highlighted border is not appropriate

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
Table Component - When Full width is False - If the age column is resized to minimum and using tab Age column should be selected, highlighted border is not appropriate.
Tested with the PR# https://deploy-preview-1485--modus-webcomponents.netlify.app/
Steps to Reproduce:

Pre requisite: Full width should be False and Age column should be resized to minimum
When user hit on tab key and select Age column, the header should be highlighted
Verify the highlighted border line
The highlighted border line on Age header is not even

Expected Result: The highlighted border line should be even
Actual Result: The highlighted border line is not even towards the right
Please refer the below screenshot:

Reduced test cases
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
Medium
What product/project are you using Modus Components for ?
QA
What is your team/division name ?
QA
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

Cause: This issue is caused by the overflow of the th element.

Problem:

As of now we can not add overflow: hidden to th element as it has a tooltip implemented, which will not work properly.

We are using arrow icons to display the drop location, setting overflow: hidden to th element will impact the arrows as well.

Fix: In Progress

The current status of the issue
Hit on tab and select age column, mouse hover on sort icon, the issue still exists as shown in the below screenshot:

Sort icon is partially hidden:

Hence the issue is still open.

I think this issue is irrelevant now as we don't highlight the whole header. Instead we highlight the column resize and the sort icon separately.


Feature: Implement full policy model in kubernetes

This needs some design, but likely this means implementing as a ThirdPartyResource alongside the NetworkPolicy object and supported both sources of policy implementation.
This would support features like the following, which only exist in the Calico API (not in k8s):

Ordering
CIDR based policy
Egress policy

There are two main scenarios that would need to support the TPR:
etcd datastore + policy controller
In this mode, we'd augment the Calico policy controller to read in the TPRs and populate etcd with the correct data to implement it in the Calico API.
kubernetes datastore driver
In this mode, libcalico-go is backed directly by the k8s API.  The TPR would appear as a Policy in the Calico API.
The main question here I think is what does the TPR look like?
I see two main options:

Make it look like the extensions.NetworkPolicy resource from the k8s API.
Make it look like the v1.Policy resource from the Calico API.

I'm leaning towards option 2, since it will get us the full flexibility of the Calico API easier than converting to/from NetworkPolicy syntax, and probably needs less work to implement.

Example schema proposal below.  This is just a 1:1 copy of the Calico v1.Policy schema discussed here: http://docs.projectcalico.org/v2.0/reference/calicoctl/resources/policy
apiVersion: projectcalico.org/v1
kind: Policy
metadata:
  name: allow-tcp-6379
spec:
  selector: role == 'database'
  ingress:
  - action: allow
    protocol: tcp
    source:
      selector: role == 'frontend'
    destination:
      ports:
      - 6379
  egress:
  - action: allow

There's a WIP for adding egress support via TPR here: https://github.com/projectcalico/k8s-policy/pull/96

This PR added support via a SystemNetworkPolicy TPR in the Kubernetes datastore driver (KDD).
https://github.com/projectcalico/libcalico-go/pull/434
Currently slated to be an alpha feature in v2.3, with the expectation that the TPR will change when it graduates to beta.

This will be close in 2.5, but we're missing calicoctl support so we're moving out to 2.6.

PR for finishing this off is in the works: https://github.com/projectcalico/libcalico-go/pull/523
Then we'll just need to propagate through to calicoctl.

calicoctl PR is merged https://github.com/projectcalico/calicoctl/pull/1708 - thanks @doublek!
Keeping this open to track documentation.. @doublek are you planning to work on the docs for this?

At a minimum we'll need to:

[ ] Update the requirements in the adv policy demo

@caseydavenport I was going to send out the PR for docs today. So far I've only updated the "Supported operations" section of the calicoctl policy reference doc. I am scanning the docs for other sections that need to be updated. I'll take care of the advanced policy demo docs as well.

Reopening - this won't be in v2.6 but will be in the next release.

The v3.0 alpha includes support for a NetworkPolicy and GlobalNetworkPolicy object kubetnetes API datastore mode.


Lack of Mongo GridFS support

What about GridFS support?
When I connect to local Cosmos DB Emulator from sample C# code and trying to create file in GridFS:
private MongoDatabase database;
public void testGridFs()
{
MongoGridFS gridFs = database.GridFS;
string fileName = "/txt/alafoo2";
        using (StreamWriter sw = new StreamWriter(new MemoryStream()))
        {
            sw.Write("txt file content <END>");
            sw.Flush();
            sw.BaseStream.Position = 0;
            sw.BaseStream.Position = 0;
            gridFs.Upload(sw.BaseStream, fileName);
        }
    }

I'm getting error (MongoDB.Driver, Version=<IP_ADDRESS>):
Command insert failed: Message: {"Errors":["The unique key path input '/files_id' is not valid. The value of unique key path property can only be one of these: null, false, true, Number, String."]}
ActivityId: 39bbdd66-0000-0000-0000-000000000000, Request URI: /apps/DocDbApp/services/DocDbServer7/partitions/a4cb4953-38c8-11e6-8106-8cdcd42c33be/replicas/1p/, RequestStats: , SDK: Microsoft.Azure.Documents.Common/<IP_ADDRESS>.
or (MongoDB.Driver, Version=<IP_ADDRESS>):
Command 'insert' failed: Message: {"Errors":["The unique key path input '/files_id' is not valid. The value of unique key path property can only be one of these: null, false, true, Number, String."]}
ActivityId: 020ee727-0000-0000-0000-000000000000, Request URI: /apps/DocDbApp/services/DocDbServer7/partitions/a4cb4953-38c8-11e6-8106-8cdcd42c33be/replicas/1p/, RequestStats: , SDK: Microsoft.Azure.Documents.Common/<IP_ADDRESS> (response: { "_t" : "OKMongoResponse", "ok" : 0, "code" : 2, "errmsg" : "Message: {"Errors":["The unique key path input '\/files_id' is not valid. The value of unique key path property can only be one of these: null, false, true, Number, String."]}\r\nActivityId: 020ee727-0000-0000-0000-000000000000, Request URI: /apps/DocDbApp/services/DocDbServer7/partitions/a4cb4953-38c8-11e6-8106-8cdcd42c33be/replicas/1p/, RequestStats: , SDK: Microsoft.Azure.Documents.Common/<IP_ADDRESS>", "$err" : "Message: {"Errors":["The unique key path input '\/files_id' is not valid. The value of unique key path property can only be one of these: null, false, true, Number, String."]}\r\nActivityId: 020ee727-0000-0000-0000-000000000000, Request URI: /apps/DocDbApp/services/DocDbServer7/partitions/a4cb4953-38c8-11e6-8106-8cdcd42c33be/replicas/1p/, RequestStats: , SDK: Microsoft.Azure.Documents.Common/<IP_ADDRESS>" })

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

ID: 109ed3f8-faf1-92b9-bf50-4be52e9099d4
Version Independent ID: ebc5326a-46da-6bc1-1f47-01a8e16d11fb
Content: Develop locally with the Azure Cosmos DB Emulator
Content Source: articles/cosmos-db/local-emulator.md
Service: cosmos-db
GitHub Login: @David-Noble-at-work
Microsoft Alias: danoble

@dev151 Thanks for the feedback. The Azure Cosmos DB MongoDB API and the CosmosDB Emulator do try to remain in parity but there are some limitations with the Emulator environment. These are outlined here: Differences between the Emulator and the service
Specifically:

The Azure Cosmos DB Emulator is not a scalable service and will not support a large number of collections.
The Azure Cosmos DB Emulator does not simulate different Azure Cosmos DB consistency levels.
The Azure Cosmos DB Emulator does not support the service quota overrides that are available in the Azure Cosmos DB service (for example, document size limits, increased partitioned collection storage).

Information on GridFS for reference.

GridFS is a specification for storing and retrieving files that exceed the BSON-document size limit of 16 MB.

Instead of storing a file in a single document, GridFS divides the file into parts, or chunks [1], and stores each chunk as a separate document. By default, GridFS uses a default chunk size of 255 kB; that is, GridFS divides a file into chunks of 255 kB with the exception of the last chunk. The last chunk is only as large as necessary. Similarly, files that are no larger than the chunk size only have a final chunk, using only as much space as needed plus some additional metadata.

GridFS uses two collections to store files. One collection stores the file chunks, and the other stores file metadata. The section GridFS Collections describes each collection in detail.

Thanks for your reply. I'm aware that there are some limitations between Emulator and the real Azure Cosmos DB service. My feedback is however about difference between Emulator and MongoDB API (not yet tested on real service). The same code I attached in my original post works fine with native MongoDB behind the Mongo API.
Concluding: either example shows another incompatibility between MongoDB and Azure CosmosDB (seen from the perspective of Mongo API) or I'm using Mongo API incorrectly with CosmosDB (but same code works with native MongoDB).

@dev151 I spoke with the product team:

The GridFS should be supported in the CosmosDB emulator as well.  From the Github page, looks like the failure was in creating a unique index, which is the first step.  Please ask the customer to try again with the latest emulator to check if he can still reproduce the unique index error.

Please let us know if this is still an issue for you.
Regards,
Mike

@dev151 Thanks for the additional feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@SnehaGunda Can you assist with this?

@dev151 sorry about the delay on this, I had a chat with David about this issue today, we don't have any known issues with hosted GridFS.
Did you try testing the same code against Azure Cosmos DB MongoDB API? it may not be a limitation with the emulator if it doesn't work in cloud too. We need to debug it further and take a look at your environment. Can you please send an email to<EMAIL_ADDRESS>alias, it creates a support request and someone from our team will get on a call with you. We will close this issue here and track it in the support request.

#please-close

Can either of you please share a link to the support request to get involved / get an update when the issue is fixed?


Make heightmap shape usable in PhysicsServer

Fixes #17790 and fixes #17807

Actually I found other issues similar to that one, which might be the cause of https://github.com/godotengine/godot/issues/17807.
I'm working to improve that.

I updated the PR with more fixes and improvements:

Fixed bad size check
Fixed bad member initialization
Removed unused cell_size (Bullet expects us to use localScaling)
Accept precomputed min/max height, will be calculated if not provided

Tested with a real heightmap https://www.youtube.com/watch?v=RedUqzO3Y7I&feature=youtu.be

Thanks!  On our way to an awesome terrain engine!
/goodjob

Cherry picked into 3.0.4

Is this not added? There doesn't seem to be any way to add height maps to collision...

@ConnorBP it was added at PhysicsServer level. It can be used from scripts (which I do in my GDScript plugin) but there are no high-level node or resource API for it yet. I think @BastiaanOlij has a pending PR for this.

Yup, #27156 :)

Yup, #27156 :)

That's awesome :D good work hope it gets in. I may see about trying that in my local build.


Ele/n6000 bom

Add 2 new BOM Critical Components unit test cases

Coverage increased (+0.006%) to 62.312% when pulling c622612c665f62981defd4279d6eaf95c3338b5a on ele/n6000-BOM into 5a3f7aa9cfc8427159275e8c7adb5f3d2cf85caa on master.

meged changes to master in another PR


PHP8.2 is missing from the Ubuntu 22 runner image

Description
As of currently, if a user needs to use PHP8.2 on a Microsoft hosted runner image, the only option they have is Ubuntu 20.
Ubuntu 22 should also support the most recent version of PHP.
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
20230426.1
Is it regression?
No
Expected behavior
PHP8.2 is included as a supported version in the runner image
Actual behavior
PHP 8.2 is not supported, and any PHP8.2 features (such as readonly classes) fail.
Repro steps
Use the following settings:
pool:
  vmImage: 'ubuntu-latest'

variables:
  phpVersion: 8.2

steps:
  # First, update the phpVersion to the required version
  - script: |
      sudo update-alternatives --set php /usr/bin/php$(phpVersion)
      sudo update-alternatives --set phar /usr/bin/phar$(phpVersion)
      sudo update-alternatives --set phpdbg /usr/bin/phpdbg$(phpVersion)
      sudo update-alternatives --set php-cgi /usr/bin/php-cgi$(phpVersion)
      sudo update-alternatives --set phar.phar /usr/bin/phar.phar$(phpVersion)
      php -version
    displayName: 'Use PHP version $(phpVersion)'

The runner will throw the following errors:
update-alternatives: error: alternative /usr/bin/php8.2 for php not registered; not setting
update-alternatives: error: alternative /usr/bin/phar8.2 for phar not registered; not setting
update-alternatives: error: alternative /usr/bin/phpdbg8.2 for phpdbg not registered; not setting
update-alternatives: error: alternative /usr/bin/php-cgi8.2 for php-cgi not registered; not setting
update-alternatives: error: alternative /usr/bin/phar.phar8.2 for phar.phar not registered; not setting
PHP 8.1.2-1ubuntu2.11 (cli) (built: Feb 22 2023 22:56:18) (NTS)

Hello @CxDevLead , we will take a look.

PHP 8.2 Is missing in official Ubuntu22 apt repository. GitHub recommends using the setup-php action for any customers who want to use any other (non-installed) versions of PHP or want to get latest PHP faster. You can find additional information in this tread.

I doubt any PHP developer considers this closed or a solution.
Canonical only supports 1 version of PHP for every Ubuntu release. Once a new version is released they do not include it until the next release.

@CxDevLead , maybe switching to containerized builds is an option ?
for example
name: CI

on: [ push, workflow_dispatch ]

jobs:
  build:
    runs-on: ubuntu-latest
    container:
      image: php:${{ matrix.php_version }}
    strategy:
      matrix:
        php_version: ["8.2", "8.1"]

    steps:
      - uses: actions/checkout@v3

      - name: Run a one-line script
        run: php --version


[Web Ember Bug] Overlaying the "timer-wrapper" component and the "Back" (X) button in the exercises

Open https://brainup.site/groups/2/series/1/subgroup/1/exercise/15/task/15
(for example, 15 exercise)
Actual result: Overlaying the "exercise-timer-slot"-"timer-wrapper" component and the "Back" (X) button in the exercise
Expected result: No overlay of "timer-wrapper" components and "Back" (X) button in activity
(Perhaps you need to increase rem (font-size:))

@ViacheslavFin thank you for report! Fixed

@lifeart, super!)


Intermittent build failure

We've seen build failures crop up a couple times citing an unsuccessful package restore.
D:\a\1\SourceDirWith49CharsLengthTestForLongPaths\eng\Directory.Build.Data.targets : error : Failed to resolve SDK 'Microsoft.Build.CentralPackageVersions/2.0.36'. Package restore was successful but a package with the ID of "Microsoft.Build.CentralPackageVersions" was not installed.

https://dev.azure.com/azure-sdk/public/_build/results?buildId=109787&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774

Dup of https://github.com/Azure/azure-sdk-for-net/issues/7490


sbt: Fix check

Motivation for this change
#114462
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@GrafBlutwurst Can you check whether this addresses your issue?

Result of nixpkgs-review pr 114474 at 8cda3fef run on x86_64-linux 1

2 packages failed to build:

sbt (simpleBuildTool)
sbt-with-scala-native

2 suggestions:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/build-managers/sbt/default.nix:28:3:
   |
28 |   installPhase = ''
   |   ^

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/development/tools/build-managers/sbt/default.nix:20:3:
   |
20 |   patchPhase = ''
   |   ^

It doesn't seem so. At least with the shell.nix definition as defined in the bug report it doesn't build at all anymore, independent of if I override the jre or not.
Is there a way to get a better error message so i can provide more information?

@GrafBlutwurst Does the actual sbt build fail or the OpenJDK one? The errors posted by @r-rmcgibbo above look like JDK15 is broken.

these derivations will be built:
  /nix/store/d0dcnycw0q2014hlwygwhkwbknc4bl4j-sbt-1.4.7.drv
building '/nix/store/d0dcnycw0q2014hlwygwhkwbknc4bl4j-sbt-1.4.7.drv'...
unpacking sources
unpacking source archive /nix/store/1g5qdvbg7wycy418vxa661jnqijqqg66-sbt-1.4.7.tgz
source root is sbt
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file sbt/conf/sbtopts
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7
shrinking /nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7/share/sbt/bin/sbtn-x86_64-pc-linux
strip is /nix/store/9f8y44vmjnwdjvzlff0gm3f3g6ycyyqy-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7/bin
patching script interpreter paths in /nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7
/nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7/share/sbt/bin/sbt: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash"
checking for references to /tmp/nix-build-sbt-1.4.7.drv-0/ in /nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7...
automatically fixing dependencies for ELF files
searching for dependencies of /nix/store/mzvkfgsi8kmmlp12mx70jffqha3bx6aj-sbt-1.4.7/share/sbt/bin/sbtn-x86_64-pc-linux
  libz.so.1 -> found: /nix/store/7bgshg2z70fpcc7adxfag1lgf45yamxh-zlib-1.2.11/lib/libz.so.1
setting RPATH to: /nix/store/7bgshg2z70fpcc7adxfag1lgf45yamxh-zlib-1.2.11/lib
running install tests
builder for '/nix/store/d0dcnycw0q2014hlwygwhkwbknc4bl4j-sbt-1.4.7.drv' failed with exit code 1
error: build of '/nix/store/d0dcnycw0q2014hlwygwhkwbknc4bl4j-sbt-1.4.7.drv' failed

This is the full output i get. I also checked with --debug but couldn't find an obvious error. I also tried overriding java with both 8 and 11 versions but to no avail

OK, I think I have it reproduced. Let me check a few things and see what is going on.

@GrafBlutwurst I can now build with jre = jdk15, jre = jdk8, jre = jdk11 and without redefining jre

@GrafBlutwurst Does the actual sbt build fail or the OpenJDK one? The errors posted by @r-rmcgibbo above look like JDK15 is broken.

openjdk15 is broken for me.

@ofborg eval

@NeQuissimus how are you building it? I just stuck the file as of commit https://github.com/NixOS/nixpkgs/commit/0f4d31313d454d2eb58f1c108ceb65fe07cbde3c into a simple shell
{ pkgs ? import <nixpkgs> {} }:

let
sbt = pkgs.callPackage ./sbt.nix { };
in
pkgs.mkShell {
  buildInputs = [
    sbt
  ];
}

but it still refuses to build.

Let's take the test out :) It works for me but only sometimes, seems way too flaky.

It works just fine now locally! It builds successfully with overriding the JRE or without.


HTML, CSS and live demo link

changes

add index.html with title, add to readme.md more information
add css/main.css to turn title green
add test.md( and .gitignore rule)
lint fixes

@DammyShittu Are these commit messages better?

Hi @JuanLPalacios,
Yes, they are.  Well done 👍
Cheers 🚀


added missing commons-lang3 library and project files for IDEA

Closes #66

@firewave Are you able to check if this builds on Windows under latest IntelliJ IDEA?

That's what I am doing. Windows 10 and IDEA 2021.3.1. Possibly another file within the .idea folder which needs to be added to the repo.

I checked some other plugins and the whole .idea folder was missing so there was no project at all after my last changes. This might also explain why I had some trouble getting this to work when I started building it.

@firewave I submitted 1.6.1 for moderation. I also opened #69 to track the Gradle migration if you are interested in looking into that, it would be appreciated.

1.6.1 is now live: https://plugins.jetbrains.com/plugin/8143-cppcheck/versions


Cannot play the live demo

My camera do open and I can see the virtual monitor on my browser. But I cannot see the streaming from my camera and no joints detection as well.

I dont see anything :D


$NaN prices after updating Spot Feed Configuration

I installed Kubecost v1.46.0 with Helm and after updating Spot Feed Configuration I get $NaN as Monthly Cost:

In logs I can see:
1 router.go:117] Error returned to client: MissingRegion: could not find region configuration

Here's the configuration:

Am I missing something?

Re-deploy helped

@K-DOT, just wanted to confirm that you are good now? This data is actually delayed by ~1 hour from AWS so there's a chance it was time-based. We'll investigate further though. Thanks for reporting.

I waited a day. Before that I set custom price with empty value. Maybe it's related. I changed them to correct values afterwards, but it didn't help. Now everything is great, thank you.

Glad to hear! I'll leave this open so we can investigate to make sure there's not a latent bug. Let me know if we can help with anything else.

This has highlighted an issue. Specifically when an empty string is passed for a custom price, it gets stored as NaN. Thanks again for reporting.

Glad to help

Marking as fixed because this should be addressed in v.148. Please feel free to reopen if we can get you anything else. Thanks again for reporting!


terraspace: init at 2.2.3

Description of changes

Adds the terraspace gem to nixpkgs.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 210012 run on x86_64-linux 1

1 package built:

terraspace

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1688


Update package.json

Codecov Report

Merging #12 (b48487f) into master (aaa6ceb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           54        54
  Branches         6         6
=========================================
  Hits            54        54

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 aaa6ceb...b48487f. Read the comment docs.


No feedback from analyze commands

I followed the instructions as described in readme, when trying to run every single example command in the analyze section i get no feedback.
Also, when going through the /app folder each repo only includes a .git file.
Have i missed something?

Also, when going through the /app folder each repo only includes a .git file. Have i missed something?

I expect this was due to the missing repo you reported in #412. Now that issue is fixed, try starting over with:
cd real-world-rails
git pull
git submodule update --init

Please reopen if this is still an issue.


Oscillations around global path while using teb local planner?

I am using an ackermann drive based robot with a teb local planner. However, the robot seems to oscillate around the global path, i.e. if the robot starts off to the right of the path, then goes to the left, tries to come back and again goes to the right. I am not sure what might be causing this, since the behavior with the base local planner is pretty stable compared to this. If anyone has any suggestions, please let me know. Thanks!

Hi,
My team has been encountering the same problem, and we've been trying to adjust the parameters to solve this problem. Although we haven't found a proper solution to the problem, it seems that reducing acc_lim_theta and max_vel_theta could give better results. However, by doing this the car's ability of obstacle avoidance might be affected.

I agree that reducing those two values helps a bit, but the robot is not able to make a lot of the sharper turns, without having to reverse a few times, which is not ideal behavior. I thought it might be because I was setting up the base link of the robot, but even setting it at the rear wheel correctly does not change the behavior.

Hi,
I was not able to reproduce it yet.
Could you please try your specific parameter settings with the teb_local_planner_tutorials
package?
In particular roslaunch teb_local_planner_tutorials robot_carlike_in_stage.launch and its corresponding config files.
Does the issue occur there as well? This might help us to localize the reason.
And if so, please post the configuration such that I can reproduce it.

Hi,
I will try that out. But do I use the default robot footprint, or  do I need to use my robot footprint in the teb params? Because my robot footprint will be too big to maneuver through the stage world. Also, another thing I wanted to mention was that I only have a laser scan on the robot for pose estimation. I do not have motion sensors such as imu/wheel enoder for the odometry. Will that make a significant difference to the performance? And could that be responsible for the oscillations?

Hi,
I think I am in a similar situation. The vehicle I am working on has a lidar for localization and a set of encoders for speed measurement. I've been tring with and without the data from the encoder, but I don't think accurate odometry information from the encoders helps a lot.

Hmm, I still need a setup for reproducing this. Does anybody have a simulation setup in which these oscillations occur? Or does it only occur in real experiments right now?
@kmkharche These are all different settings which we need to try out (it is simple to change the stage world to an empty one, just use a simple bitmap painting tool ;-)). And of course, the accuracy of the position and velocity measurement is crucial for success.

Hi, I met the same problem in real experiment. I am using the same parameters as that in tutorial except that for real time computation I reduce the number of iterations to 4 and 3 with respect to outer and inner iterations and make parallel planning false. Now I will try to repeat that in simulation stage.

These oscillations seem to be even more pronounced on the real robot than the simulation though.

I am facing the same issue.
I tried these things:

Fixed the robot_base_frame from the center of my robot to the rear axle
Reduced both acc_lim_theta and max_vel_theta from about 0.3 to 0.12. Contrary to @Anannf's observation this actually increased the oscillations because the car would now turn by smaller angles.
Increased weight_kinematics_forward_drive, which penalizes backward motion from 1.0 to 1000. The path planned by the planner remained the same.

Here is the video:

I tried visualizing the trajectories (nav_msgs/Path) in rviz. The global planner's trajectory looked fine, one which the human would have taken. The local planner's trajectory had back and forth motions.
@kmkharche Were you able to figure this one out?

Hi, I thought i was increase the acc_limit_x and dt_ref to resolve the oscillations around the global path.

@kmkharche sorry, I was very busy during the last weeks. Can you share your stage setup (and movebase/teb config) with me?
Indeed, the issue of @subodh-malgonde seems to be different.
The oscillations might also occur due to the model mismatch (e.g. non-modelled turning rate limits etc.)
It would be interesting to see if increasing dt_ref and acc_limit_x helps as suggested by TaoJY.
However, I am definitely interested in finding the cause of these oscillations.

Hi @subodh-malgonde, I believe your issue is a different one than mine. I think your behavior might improve by increasing the max vel theta, or decreasing the min turning radius, or maybe decreasing the min obstacle distance if those don't work. Because it seems like the robot is trying to turn on to the global path, but is not able to do so in one go. Hope that helps.

@kmkharche You were right. My problem was different and your suggestion helped me fix it. I made the following changes:

Decreased inflation_dist and min_obstacle_dist
Increased max_vel_theta and acc_lim_theta (I should have guessed that low values for these parameters are limiting the steering angle of the car)

Hi， I'm  facing the same problem, problems are very similar with that in the video by @kmkharche. This problem is only with real robot, not in Sage Simulation, right?
I checked that the robot's optimization model was correct through Rviz visualization, and tried both two circles and line type robot model. Since there is no such problem in the simulation, One important reason may be the execution of velocity command. In the following figure, you can see the velocity command from TEB  is smooth, but the execution not.

Fig. 1: velocity recording when using TEB
What I have done is to increase the weights to limit the velocity acceleration and  the maximal velocity (especially for rotational part), things got better: Oscillation remains, however, is less obvious.

Fig. 2:  velocity recording when using TEB  after tuning
Hope it helps.
It is worth noting that just when I thought it might be a problem caused by execution, I tried the DWA algorithm. Execution is still not perfect, but I can't see the oscillation.

Fig. 3: velocity recording when using DWA
Therefore, the problem has not been solved in essence.
Hope this is a useful reference for you. @croesmann

Hi， I'm facing the same problem，do you have any progress ? @zengxiaolei

@zengxiaolei thanks a lot for your analysis. Is it a car-like robot you are using?

@croesmann Hi! I have the same problem. I can reduce a lot when I set dt_ref to0.4 and acc_lim_theta=0.1, but this while limit the turning speed. The acc_lim_theta has a very big impact on this.
When I set it to 1. you can see the angular velocity oscillated before and after a sharp turn in the simulator. When the feedback has some delay will increase this oscillation. pic1 is the 1, pic2 is 0.1.
Do you think I can make some change on acceleration edge to improve this?

@croesmann Hi! I have the same problem. I can reduce a lot when I set dt_ref to0.4 and acc_lim_theta=0.1, but this while limit the turning speed. The acc_lim_theta has a very big impact on this.
When I set it to 1. you can see the angular velocity oscillated before and after a sharp turn in the simulator. When the feedback has some delay will increase this oscillation. pic1 is the 1, pic2 is 0.1.
Do you think I can make some change on acceleration edge to improve this?

@croesmann Hi! I have the same problem. I can reduce a lot when I set dt_ref to0.4 and acc_lim_theta=0.1, but this while limit the turning speed. The acc_lim_theta has a very big impact on this.
When I set it to 1. you can see the angular velocity oscillated before and after a sharp turn in the simulator. When the feedback has some delay will increase this oscillation. pic1 is the 1, pic2 is 0.1.
Do you think I can make some change on acceleration edge to improve this?

or add another edge?

Hi, I have a possible fix for this that shifts the reference control point in the trajectory to a defined amount of poses in the future (instead of always using the second pose). This virtually lowers the "control bandwidth", reducing the impact of actuation and localization delays in the control loop.
I'll PR as soon as the mbf pull request is merged or rejected to avoid re-adapting my code :)

Cool, I am going to check and merge recent PRs on Friday :)

I just merged the mbf PR.
Moving the reference control point to the future seems to me like a workaround rather than a real fix. Did you run tests with real robots? To my mind, the oscillations may be caused by the model mismatch. Ignoring or merging multiple control intervals in the front potential removes degrees of freedoms that could be necessary for other scenarios, e.g. for parking maneuvers (the planner provides a plan which cannot be followed). However, in case this really resolves the oscillations, I am open for this feature ;-)

Thankyou very much :) I will PR this evening or Monday.
I agree that moving it to the future is conceptually wrong in the ideal case, and indeed when testing it on a simulator I didn't notice any relevant oscillation. However, when moving to real hardware (that usually has control and position feedback delay), a shift of 1 or 2 poses ahead helped me increasing the control-dt without sacrificing the resolution of the path (that would happen increasing the dt_ref).
As commented above by others, reducing the angular acceleration constrain below the real limits of the platform also helps reducing the oscillations, but of course limits the overall performance.

Sorry for the later reply.
Based on my testing experience, differential-drive, omni-directional and car-like robots can all have this oscillation,  especially when the robot inertia is large or  when the delay between velocity command and execution is long.  When the inertia is large, small acc_lim_theta  and large weight_acc_lim_theta can reduce oscillations. When delay is also large,  relative higher control rate can help some in addition.
@croesmann

I might think that I'm experiencing the same issue, I posted this in the ROS forum:
https://answers.ros.org/question/330868/oscillation-using-teb-local-planner-with-car-like-setup/
However, I haven't pulled the latest update if there have been some changes in the repo.
I will try with the suggestions above and reply with the results!
@croesmann

If you could give a try to the fix in this pr
https://github.com/rst-tu-dortmund/teb_local_planner/pull/164/commits
setting the parameter "control_look_ahead_poses" to a value bigger than the default one (for example 3), it would help to understand if the approach generalizes to different platforms or has other side-effects @r91andersson  @zengxiaolei

I'm using Kinetic version, I saw that this PR is for melodic. Is there an simple way to make a PR for Kinetic so that I can test? @nirwester

I'll port the PR to Kinetic too

Done @r91andersson
https://github.com/rst-tu-dortmund/teb_local_planner/pull/166

Thanks! Unfortunately, our GPS got broke, so we're waiting for the replacement board.
However, when I ran the teb_local_planner but excluded the GPS, the robot did not oscillate, but follow ed the global plan just perfectly! I'm really confused.. When the GPS worked, the odometry was really good, and I couldn't see any problem with it. I verified the GPS and the odometry by driving the robot approx. 100 m in different directions and then back to the initial position, and it was spot on, so I can't really see why the GPS could cause this.
I will test the PR as soon as I get back the GPS!! Thanks @nirwester

Ok, we've finally solved the problem with the oscillation around the global plan. It was a missing transfomration between base_link and navsat_link. The strange thing is that in simulation it worked, so I guess it could handle the transformation internally, but when running in real environment, it simply couldn't. Thanks for all the help! @nirwester

@r91andersson @nirwester Guys can you please point me to the part of code where the model is specified ? @croesmann mentioned earlier that the oscillations could be down to model mismatch.
Thanks.

You mean the model of the robot? @gsh89 Mine is just specified within a .xacro file.

@r91andersson I was referring to the motion model not the model of the robot itself.

I guess he meant the configuration of the acceleration and velocity limits: constraining the optimization with values bigger than those that can be actuated by the platform can lead to oscillations.

Here are some of my opinions:

In a real robot, there is usually another controller that is in charge of tracking the velocity command published by the ROS node.

The tracking is not perfect, there might be under/overshoots, const error, etc. It depends on the particular robot and its lower-level motor controller.

When the odometry information (the real speed of the wheels) is feedback to the TEB controller, there might be a stability issue.

Imagine a lower-level motor controller that is poorly executed and the real yaw speed of the robot always overshoots our velocity command.

If we give command yaw_speed_cmd = 1.0, the overshoot leads to yaw_speed_true = 1.5, the "1.5" value is feedback to the TEB, and since in TEB we have a limit on the yaw acceleration, it effectively limits the bandwidth of the whole system.

In other words, if we keep sending  yaw_speed_cmd = 1.0, the underlying controller will cause an overshoot (yaw_speed_true = 1.5) but converges to yaw_speed_true = 1.0 very fast, because it has no limit on yaw_accleration. However, if we feedback the real state back to TEB, it would reset the initial planning state to yaw_speed_planning = 1.5, and if the yaw_acceleration_limit is small, it could take a much longer time for the system to converge to the desired value.

This is in fact, an introduced delay that could cause oscillation and instability.

A possible solution that has some theoretical backup is to use a Tube-Based-MPC design. In this case, instead of initializing the linear/angular velocity of the TEB with the measured odometry, we use the previous command value. The lower level controller's task is to track the linear/angular velocity command so that the error is bounded. We then adopt a logic to reset the initial planning speed

References: https://arxiv.org/abs/1902.08967
https://web.stanford.edu/~pavone/papers/Singh.Pavone.Slotine.CDC16EV.pdf

In my case, I found something different. My teb was working ok (not perfectly ofcourse) before I published /odom message in to ROS. After that, my robot will stop and move periodically.  I think this may result from that teb tried to do some kind of closed loop control velocity control when odom is enabled. But there maybe lag between the real odom and planned state (or maybe my odom time stamp was not precise enough).

I was having the same oscillation issue, but after providing the teb with /odom topic (which contains velocity and rad information), the teb planner worked perfectly. Turns out it needs odom topic to do a closed loop control, although it could still plan a path without it.
Try this.

@paszoujp How did you implement closed loop control to the odom topic?

@paszoujp How did you implement closed loop control to the odom topic?

What I mean is that teb local planner seems to have an internal closed loop trajectory control. If odom topic is not provided, serious oscillation will occur because the algorithm thinks the robot didn't carry out its velocity command correctly. With correct odom feedback, the oscillation is gone, which is my case.
You simply need to feed the right robot vel and rad in topic /odom, which is required specifically by teb_local_planner, you may get a better performance.

I think the main reason for these oscillations for the car-like robots is the immediate reverse movement with opposite steering angle.
If you can not find the exact acc_lim_theta or max_vel_theta values, the robot is having difficulty to catch the right steering angle for keeping itself on the path that's required to achieve the requested goal threshold. If the planner decides to fix this move by sending reverse speed and opposite steering angle, this time the robot tries to turn steering wheel to the opposite side while it is moving. This causes another miss and it starts from beginning. So after a while it becomes an oscillation. Planner should wait for a short while to let the robot move the steering wheel closer to the necessary angle as drivers mostly do while turning real cars. We first turn the steering wheel and then give some throttle to turn the car.

I actually think the control_look_ahead_poses is not a workaround per se. It is an attempt to model the control delay (dead time) of the vehicle, hence vehicles with large inertia has bigger oscillation problem. If low level pid needs 0.2 seconds to reach the desired velocity, why not using the future velocity (to compensate for the delay) instead of using the velocity at the current pose.


proposal: net: add Control-only SyscallConn to Listeners

Go 1.9 added RawConn to some net.Conns, allowing access to the OS' FD. It seems like a similar function could be added to Listeners.
We have a use case where we'd like to set a sockopt on a TCPListener, which could be simplified by being able to call TCPListener.RawConn (or similar) with the same semantics as for net.Conn.
cc @mikioh (?)

So maybe *net.TCPListener etc should have a SyscallConn that returns a syscall.RawConn for which Read and Write return errors, but Control works? That seems like enough, and without hardly any new API.

Yep, that's enough for us. We just need some reliable interface to specify our custom SetSockOpt options.

OK, let's do https://github.com/golang/go/issues/22065#issuecomment-333661800

I'm happy to send a CL tomorrow or the day after, if no one beats me to it.
On 16 October 2017 21:58:06 Russ Cox<EMAIL_ADDRESS>wrote:

OK, let's do https://github.com/golang/go/issues/22065#issuecomment-333661800
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/golang/go/issues/22065#issuecomment-337039048

I have a CL, but currently can't figure out how to use the corporate CLA that is already in place.

Send me the CLA details offline<EMAIL_ADDRESS>and I'll see if I can get it figured out.  Thanks.


refactor(orderXmlMapping): Remove project specific code

Summary
This PR removes project specific code - loading payment info from custom objects when mapping order to XML.
Resolves #60
Hello @hajoeichler - I know it will be hard to remember but please check this PR because it removes a feature you added a few years ago. Let us know if it will make any breaking change on projects you did this feature for.

Coverage decreased (-0.1%) to 94.433% when pulling 49ed4af494dc4335574981ffafd143b800cbe17d on 60-remove-project-specific-code into e069a55e4360783859c77c922a1391e73e3ccada on master.


Fix some lint errors

I left the promql ones and some others untouched as I remember that @fabxc
prefers them that way.

👍
I think it has been a while, which PromQL ones were that again?

@fabxc Oh just like doc comments above various boilerplate messages, and I believe you also preferred to use unkeyed fields in simple composite literals like labels.


Cannot install via Homebrew

Just found this project, followed the install instructions on the landing, and ran into this issue.
~/Documents/Workspace $ brew install Caskroom/cask/keycastr
==> brew cask install Caskroom/cask/keycastr
Error: Cask 'keycastr' definition is invalid: Bad header line: parse failed

Any clue whats going on?

+1, same problem for me

have you tried brew cask install keycastr ?
Worked for me on a freshly installed homebrew.

@akitchen Error: Cask 'keycastr' definition is invalid: Bad header line: parse failed

Is brew doctor otherwise happy? It worked for me.
On Sun, Jan 17, 2016 at 15:32 Joeseph Rodrigues<EMAIL_ADDRESS>wrote:

@akitchen https://github.com/akitchen Error: Cask 'keycastr' definition
is invalid: Bad header line: parse failed
—
Reply to this email directly or view it on GitHub
https://github.com/keycastr/keycastr/issues/49#issuecomment-172395493.

Had the same issue. Try brew update && brew uninstall --force brew-cask. Details are here.

Thanks very much for the info.  @DoWhileGeek @codeHatcher  please give it a whirl and let us know.  The cask recipe passes their lint and worked for me, so I'm pretty sure it's not an issue with KeyCastr
In the meantime, please feel free to grab a release from the GitHub releases page https://github.com/keycastr/keycastr/releases/download/v0.9.2/KeyCastr.app.zip

brew cask install keycastr
worked for me :)

Thanks for validating -- that's been my experience as well.
On Sun, Mar 6, 2016 at 05:10 Patrick Arminio<EMAIL_ADDRESS>wrote:

brew cask install keycastr
worked for me :)
—
Reply to this email directly or view it on GitHub
https://github.com/keycastr/keycastr/issues/49#issuecomment-192885866.

Please open a new issue if this persists - we believe it to be fixed and have validated.


Remove Points for images that do not fit the prompt

In playtesting, we often just put something at the prompt, hoping it will somehow pass, but also fully expecting it to be deleted.
My idea would be to remove one point for each image a user deletes.
This should be an option on the set prompts page if this feature should be enabled or not.

All done


Test with custom install dir

Summary
Testing with UV_PYTHON_INSTALL_DIR environment variable has some problems. This PR fix them.

UV_PYTHON_INSTALL_DIR must be an absolute path.

Cargo tries to find Python executables from each crates in test. If it is relative path, cargo searches in different directories for each tests.

Skip the test asserting help messages.

Clap shows the current value of the environment variables. If UV_PYTHON_INSTALL_DIR is set, the test fails.

Test Plan

All tests pass with UV_PYTHON_INSTALL_DIR=/path/to/my/home/uv/target/testpython.

One test fails, but it seems not to be related to this change.


Remove the fixed offsets on grass drawing

This makes grass look nicer in position, even if the seasons are still off.

Not.... quite good enough yet.

FYI I wrote a different fix for this.


Test manifests have missing customization

https://github.com/gocd/helm-chart/blob/master/gocd/templates/tests/gocd-test.yaml
I cannot change images for tests.
Or additional flag in values.yaml should be added.

Fixed in #28 - although probably of limited value given how specific the tests and containers are.


Release enterprise-suite-1.0.0-rc.1

Hmmm.  Gonna do another round so don't anybody get excited and merge this.
I'm going to to let the tests run for now though.


HHVM not running after reboot

After rebooting HHVM was not running
I was watching server page requests in htop and noticed HHVM was not firing so I ran this command to force HHVM to start on reboot sudo update-rc.d hhvm defaults and rebooted, - all appears well.
Terminal feedback as follows:
root@fuega:~# sudo update-rc.d hhvm defaults
Adding system startup for /etc/init.d/hhvm ...
    /etc/rc0.d/K20hhvm -> ../init.d/hhvm
    /etc/rc1.d/K20hhvm -> ../init.d/hhvm
    /etc/rc6.d/K20hhvm -> ../init.d/hhvm
    /etc/rc2.d/S20hhvm -> ../init.d/hhvm
    /etc/rc3.d/S20hhvm -> ../init.d/hhvm
    /etc/rc4.d/S20hhvm -> ../init.d/hhvm
    /etc/rc5.d/S20hhvm -> ../init.d/hhvm
root@fuega:~# reboot

I hope this correct. Or maybe this makes HHVM run for all sites if your server has more then one site but only configured HHVM for one in EE
Question: So a good question maybe is sudo update-rc.d hhvm defaults the correct command to use in conjunction with an EE configured server?
ref:
********************************************************************
* HHVM is installed. Here are some more things you might want to do:
*
* Configure your webserver to use HHVM:
* $ sudo /usr/share/hhvm/install_fastcgi.sh
* $ sudo /etc/init.d/nginx restart
* $ sudo /etc/init.d/apache restart
* $ sudo /etc/init.d/hhvm restart
*
* Start HHVM at boot:
* $ sudo update-rc.d hhvm defaults
*
* Run command line scripts with HHVM:
* $ hhvm whatever.php
*
* Use HHVM for /usr/bin/php even if you have php-cli installed:
* $ sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/hhvm 60
********************************************************************

@shaneholloman
sudo update-rc.d hhvm defaults

Above command is correct one to start service when system boot and its kill service when system reboot/shutdown.

Question: So a good question maybe is sudo update-rc.d hhvm defaults the correct command to use in conjunction with an EE configured server?

@gau1991 @harshadyeola Is there any special handling require for this ?

@gau1991 When you fix the issue mention issue number in your commit message so ee users are aware of we are working on this issue/task.
Refer: https://github.com/rtCamp/easyengine/commit/d2542db434fd8a0d59b179f37cb21a0c8138c535

Hello..
This issue is fixed in EasyEngine 3.1.1

Still not running on clean install
I have not yet put any WP yet cause just installing all system and reading.
Did new cloud server
from root made 2nd user
From 2nd user
ee stack install --all
witch installed different things under ip:22222
sudo ee stack install --hhvm
sudo ee stack install --admin
service hhvm status

hhvm.service - HHVM PHP/Hack runtime
Loaded: loaded (/lib/systemd/system/hhvm.service; disabled; vendor preset: en
Active: inactive (dead)

Isnt it faster if ill make some WP commands when HHVM running? Wont HHVM make WP faster? Do i put also Nginx fastcgi? Will thouse work with caching plugins if execute wp install with some cache plugin? Witch cache plugin is best? I want max performance.

This did not work : sudo update-rc.d hhvm defaults
I use this and it works: sudo update-rc.d hhvm enable


Describe your issue and include the command you're running, flutter_web version, browser version
Channel beta, v1.12.13+hotfix.6 flutter  on Microsoft Windows [Version 10.0.18362.295]
if the letter is 'ע' is outside from underline

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


FEATURE: New realtime model

We need to update the model names? (for the latest model)
I noticed that the main customgpt number is no longer working (I tried yesterday) .. are we using a bad key?

Fixed and updated to the latest 12-17 model
Also, tested that main CustomGPT number works , though the latency was too high (need to see why)


Fees + remove reserve

Its time we represent fees properly in the UI, and get rid of the depletion attack reserve thing.
To do so would mean also having to go sub-satoshi for the balance, which I think looks ugly as it includes decimals, but if we make the decimal smaller, greyed out, maybe it wont look too bad!
Ideas welcome.

What about this?

Ooooo, thats nice

But dont we need sub sats to show fees? So like a
104,175.325sats

Or if we need the reserve still we could try and educate folks as to why

Are you saying we don't need the reserve? I don't know if we can get rid of it. Maybe we can make it configurable through an environment variable so each host decides.
Maybe someone wants to subsidize, and someone else is using a provider that won't charge fees so it doesn't make sense to have a reserve.


New version

Coverage remained the same at 100.0% when pulling 809db59cc557f38b90ad64969b57371bc02104db on new-version into 319e67ebbdb0e71a495fefa1a41c11f234cd5965 on master.


Secconf is not yet implemented.

Haven't really gotten around to this yet.. Should be easy though.

Update: Secconf is probably not what I'm looking for in production use, so I'm not sure I'm inclined to replicate it. It's easy enough to drop in if someone needs it, though...


[Release 1.19] Ubuntu 21.04 - vxlan failing to route

Backport of: #4188

Validated k3s version: v1.19.16-rc1+k3s1 by performing the same steps as https://github.com/k3s-io/k3s/issues/4259#issuecomment-958170687


[BUG]-Stream Debug throws exception

Describe the bug
When enabling stream debugging an exception is thrown
Stacktrace
Include a stack trace of the exception if possible.
PRO3>setdevicestreamdebug lights-com both

PRO3>[10:18:17.000]App 1:Saving debug settings
Error: SimplSharpPro.exe [App 1] # 2021-04-02 10:18:17  # CustomApplicationCMDProcessorThread: FormatException -    at System.Text.StringBuilder.FormatError()
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider providerError: SimplSharpPro.exe [App 1] # 2021-04-02 10:18:17  # , String format, Object[] args)
   at System.String.Format(String format, Object[] args)
   at PepperDash.Core.Debug.Console(UInt32 level, String format, Object[] items)
   at PepperDash.Essentials.Core.DeviceManager.SetDeviceStreamDebugging(String s)
Error: SimplSharpPro.exe [App 1] # 2021-04-02 10:18:17  #    at PepperDash.Essentials.Core.DeviceManager.<Initialize>b__3(String s)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.k()

Found it. I'll get a build with the fix published shortly.

Cool, is it in Essentials or in Core?

Essentials. Core doesn't really have anything to do with it actually being turned on. It just provides the interfaces and the StreamDebugging classes that devices that implement IBasicCommunicationsWithStreamDebugging and ISocketStatusWithStreamDebugging implement. The console command is Essentials-only, which is where the issue is.
1.8.3-hotfix-1272 should have the fix, if you want to test it with the same command that triggered the exception.


Kintsugi :tea: (the Merge November sprint PR)

Motivation

PR is to implement Kintsugi :tea: (the Merge November sprint)
Description
Consensus specs PR to implement. https://github.com/ChainSafe/lodestar/issues/3410

[x] Add terminal block hash override ethereum/consensus-specs#2617
[x] Modify Merge Gossip Block Validation Conditions ethereum/consensus-specs#2621~~ (Already Changed)
[x] add TBH_ACTIVATION_EPOCH ethereum/consensus-specs#2682
[x] remove prepare_payload ethereum/consensus-specs#2683
[x] Remove Union from ExecutionPayload transaction type ethereum/consensus-specs#2684
[x] fix gossip and tx size limits for the merge ethereum/consensus-specs#2686
[x] remove extraneous p2p condition ethereum/consensus-specs#2687
[x] remove gas validations from CL ethereum/consensus-specs#2699-
[x] Add payload id as a return value to notify_forkchoice_updated ethereum/consensus-specs#2711
[x] update penalty params for Merge ethereum/consensus-specs#2698
[ ] https://github.com/ethereum/consensus-specs/blob/dev/specs/merge/p2p-interface.md#configuration

Test Milestones

[x] Spec tests 1.1.4
[ ] geth interop
[ ] Review the diff on the whole w.r.t. the 1.1.4 diff so as to not miss any changes

Qs:

--terminal-block-hash-override

--terminal-block-hash-epoch-override

Closes #issue_number
#3410
Steps to test or reproduce

@g11tech New specs version released already :100:  https://github.com/ethereum/consensus-specs/releases/tag/v1.1.5 please take a look. You can either do the changes on top of this PR or let's merge this one first and do the new 1.1.5 changes in a follow up PR.

@g11tech New specs version released already 100 https://github.com/ethereum/consensus-specs/releases/tag/v1.1.5 please take a look. You can either do the changes on top of this PR or let's merge this one first and do the new 1.1.5 changes in a follow up PR.
@dapplion
this is done and committed into this PR as tasks were minor :+1:
also the geth merge interop is done for m1, a a small part of m2 as well (runGethPostMerge)

To keep this PR simple can you please drop all the commits regarding optimistic sync and add them in a new PR?

Looks great! Thank you so much for leading this push fire excellent!
For upcoming PR on fast moving targets like this please keep PRs focus and atomic to prevent reviewers from having to review the same work +10 times. For example in this case building a new branch that fork from this PR head and creating the new PR once this is merge after a rebase.

:+1:  and Thank you! :slightly_smiling_face:


subversion: 1.14.4 -> 1.14.5

Changes: https://svn.apache.org/repos/asf/subversion/trunk/CHANGES

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Fixes CVE-2024-46901.
https://subversion.apache.org/security/CVE-2024-46901-advisory.txt

Good point! Completely missed it. Switched to master.

@ofborg build subversion subversion.passthru.tests


error after build --prod angular

When I build no prod, It works, but After i build prod, have error when I load website . error "Super expression must either be null or a function"

Can you share how you cinfigured?

Two months ago I tried to use ExcelJS in my Angular project, it seemed to me an excellent library, everything works fine but it has a problem when building with "ng build --prod" it does not work, I read in several Issues with the same problem but nobody had the solution and it is because the .min does not recognize it. I would appreciate @Subhajitdas298  to provide us with a repository with an example of how you configured it and what version of node and CLI you used. Thank you.

Spent a lot of time to find the right fix for angular / exceljs combination. My current issue was related to version "exceljs": "^4.2.0", and Angular 8. In production mode received the same error as an author: from static-xform.js file of the library and this function
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
My current solution is to import library from the dist folder, because if we use standard import - Angular removes some classes from the final bundle:
import {
  Buffer, Column, Row, Workbook, Worksheet, WorksheetView,
} from 'exceljs';
import * as ExcelJS from 'exceljs/dist/exceljs';
import saveAs from 'file-saver';
---
private workbook: Workbook = new ExcelJS.Workbook();

Please be careful with the resource - some people are writing about import of the minified version of the library. For me it doesn't work. So the main point 'exceljs/dist/exceljs'.

Spent a lot of time to find the right fix for angular / exceljs combination. My current issue was related to version "exceljs": "^4.2.0", and Angular 8. In production mode received the same error as an author: from static-xform.js file of the library and this function
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
My current solution is to import library from the dist folder, because if we use standard import - Angular removes some classes from the final bundle:
import {
  Buffer, Column, Row, Workbook, Worksheet, WorksheetView,
} from 'exceljs';
import * as ExcelJS from 'exceljs/dist/exceljs';
import saveAs from 'file-saver';
---
private workbook: Workbook = new ExcelJS.Workbook();

Please be careful with the resource - some people are writing about import of the minified version of the library. For me it doesn't work. So the main point 'exceljs/dist/exceljs'.

Hi,
My angular version is 6 and exceljs": "^4.3.0", I am getting the same message error "Super expression must either be null or a function"
Please advice.


FranceTVSite ERROR: Unable to extract video ID

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.10.05

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

BUG REPORT
For FranceTVSite, prior to youtube-dl and ffmpeg updates — ffmpeg was 2016 and youtube-dl was I don’t remember — donwload was OK but A/V multiplex was NG.

https://www.france.tv/spectacles-et-culture/theatre-danse-opera/737497-heiva-i-paris-2018.html
https://www.france.tv/france-o/heiva-2018/737499-meilleurs-moments-du-heiva.html
https://www.france.tv/spectacles-et-culture/musique-concerts/716645-l-outre-mer-fait-son-olympia.html

Then I updated both youtube-dl and ffmpeg and it is now worse as download itself is now NG (ERROR: Unable to extract video ID):
E:\TV>youtube-dl --verbose https://www.france.tv/spectacles-et-culture/theatre-danse-opera/737497-heiva-i-paris-2018.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.france.tv/spectacles-et-culture/theatre-danse-opera/737497-heiva-i-paris-2018.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.10.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-92132-g0a41a8bf29, ffprobe N-92132-g0a41a8bf29
[debug] Proxy map: {'http': 'http://proxy__._________.__:80', 'https': 'http://proxy__._________.__:80'}
[FranceTVSite] 737497-heiva-i-paris-2018: Downloading webpage
ERROR: Unable to extract video ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 507, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\francetv.py", line 280, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 986, in _html_search_regex
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 977, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract video ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Same problem with France TV Info:
bapt@dell:~$ youtube-dl --verbose https://www.francetvinfo.fr/replay-jt/france-2/13-heures/jt-de-13h-du-jeudi-18-avril-2019_3255555.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.francetvinfo.fr/replay-jt/france-2/13-heures/jt-de-13h-du-jeudi-18-avril-2019_3255555.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.15+ (CPython) - Linux-4.18.0-17-generic-x86_64-with-Ubuntu-18.10-cosmic
[debug] exe versions: avconv 4.0.2-2, avprobe 4.0.2-2, ffmpeg 4.0.2-2, ffprobe 4.0.2-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[francetvinfo.fr] jt-de-13h-du-jeudi-18-avril-2019_3255555: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/francetv.py", line 377, in _real_extract
    webpage, 'video id').split('@')
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 1004, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicates: https://github.com/ytdl-org/youtube-dl/issues/20639 https://github.com/ytdl-org/youtube-dl/issues/20619
The workaround is to open the browser console before loading the video and then get the m3u8 URL in the network tab.

I was able to download two documentaries indeed this week so I guess it's why you closed this ticket. It's fixed. Thanks! 😀

Actually the issue is still there.
Where is the open ticket?
We reopen this one?

@jesus2099 please open a new issue with URL and version. and paste the issue number here.

@jesus2099 @cappert it may be better to keep the original issue open instead of closing and creating a duplicate issue every time. If you create a new issue, it would be nice to mention this issue also.

Thanks for adding the URL.

https://www.france.tv/spectacles-et-culture/theatre-et-danse/328767-37e-festival-international-du-cirque-de-monte-carlo.html downloads fine for me.
I'm downloading from France. Where are you located?
It might be geo-blocked.
the segments URLs are something like:
https://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2019/S30/J2/209283653-5d377c0c9603e-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/segment2_4_av.ts?null=0
(notice france-dom-tom)


SAA-184 AM Events Endpoint: Incorporate activities (AM API)

Altered ScheduledEventService to use activities management service for 'activities' if prison hasn't been rolled out

Codecov Report
Base: 62.22% // Head: 62.70% // Increases project coverage by +0.47% :tada:

Coverage data is based on head (c0a369b) compared to base (c3c7557).
Patch coverage: 93.87% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #83      +/-   ##
============================================
+ Coverage     62.22%   62.70%   +0.47%
- Complexity      401      405       +4
============================================
  Files           103      103
  Lines          2139     2169      +30
  Branches         39       44       +5
============================================
+ Hits           1331     1360      +29
+ Misses          784      783       -1
- Partials         24       26       +2

Impacted Files
Coverage Δ

...activitiesmanagementapi/util/TransformFunctions.kt
90.57% <85.00%> (-0.59%)
:arrow_down:

...activitiesmanagementapi/entity/ActivitySchedule.kt
90.90% <100.00%> (+2.22%)
:arrow_up:

...ivitiesmanagementapi/model/ActivityScheduleLite.kt
94.73% <100.00%> (+1.40%)
:arrow_up:

...tiesmanagementapi/model/PrisonerScheduledEvents.kt
94.73% <100.00%> (ø)

...tiesmanagementapi/service/ScheduledEventService.kt
94.28% <100.00%> (+3.80%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove no-dh, etc., configuration option

DH, ECDH, DHE, DHE_KX should all be assumed and it should not be possible to turn it off.
#29 turns it off from the daily CI build.  (Yeah, perhaps should be a separate PR; oh well)

There probably are some other ones we should tweak. Probably has to involve removing the ifdefs as well.

See #39


Incorrect error with pointer as return type

Please describe the problem.
For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html
If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).
Logs
Please attach the clangd stderr log if you can. (Usually available from the editor)
If possible, run with --log=verbose - note that the logs will include the contents of open files!
If this is a crash, try to put llvm-symbolizer on your PATH per the troubleshooting instructions.
System information
Output of clangd --version: ubuntu 11.0.0-2
Editor/LSP plugin: neovim with Coc-clangd
Operating system: pop_os (ubuntu)
I get this error, I dont get this error in vscode using another LSP, but i get it using clangd in neovim.

If i write the code like this clangd doesnt throw an error, but i shouldnt have to write it like this.

What compiler are you using to build your code? It looks like accepting the first version may be a non-standard extension.

What compiler are you using to build your code? It looks like accepting the first version may be a non-standard extension.

I use clang++ to compile.

I put together a minimal example that matches what's on your screen:
template <typename T>
struct RBTree {
  struct Node {};

  Node* searchTree(T element, Node* currNode);
};

template <typename T>
Node* RBTree<T>::searchTree(T element, Node* currNode) {
  return nullptr;
}

and clang++ (tested with version 12) does indeed reject it.
Perhaps you're using a different version of clang, or with different flags, that accepts this? Or perhaps your code is different in a relevant way (in which case, please post a complete code example that shows the problem).

I put together a minimal example that matches your screenshot:
template <typename T>
struct RBTree {
  struct Node {};

  Node* searchTree(T element, Node* currNode);
};

template <typename T>
Node* RBTree<T>::searchTree(T element, Node* currNode) {
  return nullptr;
}

and clang++ (tested with version 12) does indeed reject it.
Perhaps you're using a different version of clang, or with different flags, that accepts this? Or perhaps your code is different in a relevant way (in which case, please post a complete code example that shows the problem).

Okay, no you are right compiler does throw an error. Im not sure what i did before that made it compile. Maybe just trying to many different things and not saving properly...
Sorry to waste your time!

As a general point of interest, the shorter form works with the C++11 late-specified return type syntax:
template <typename T>
auto RBTree<T>::searchTree(T element, Node* currNode) -> Node* {

The reason is that the class's scope starts when the compiler sees RBTree<T>::, so if Node* appears lexically after that, it knows to look up Node in the class scope (but if it occurs lexically before, it does not).

As a general point of interest, the shorter form works with the C++11 late-specified return type syntax:
template <typename T>
auto RBTree<T>::searchTree(T element, Node* currNode) -> Node* {

The reason is that the class's scope starts when the compiler sees RBTree<T>::, so if Node* appears lexically after that, it knows to look up Node in the class scope (but if it occurs lexically before, it does not).

Oh wow, didn't know late-specified return type was a thing.
That's very informative thank you again!!


Don't merge, just a test: Electron to 11.3.0

Is same npm major version, and no breaking changes according to electron docs.
Let's see if upgrade path would be easy, and getting back to supported electron versions (support for electron 9 has just been dropped when we finally got to it...)

Hey @mfonville the CI is failing because of the native modules that Atom uses. They need to be updated in order for Atom to build successfully. We build native packages using nan, which means we have to update our native modules whenever we update electron. Different electron versions use different V8 header files.
Our plan was to migrate the native modules to use the N-API provided by Node. That way we would be shielded from V8 changes.

@sadick254 I also got a successful build already with Electron v11 on my Linux machine that I think gave the same error when running. I will check it out once more and see if it is so.
Otherwise indeed going to v10 would be more easy. Could you still point me in the direction how to make sure I get native modules correctly? Is that just npm rebuild or does it need more magic?
I also noticed during building that we are using an outdated, no longer supported version of highlight.js. Maybe that needs attention from a developer too for an upgrade?

There are still many bugs in the Electron 9 upgrade. It is better to have a working and stable Atom before we rush into upgrading Electron again.
Here are some of the issues:
https://github.com/atom/tree-view/issues/1371
https://github.com/nteract/hydrogen/issues/2034

@aminya Sorry for giving the impression wanting to rush an Electron 11 upgrade.
I just wanted to see where we are, and what would have to be done to work to such an upgrade. Also to get exactly these kind of deprecation notices and other kind of issues already in view on time. So that they won't be too much of a surprise, which happened when lagging a lot behind Electron development.
So this is not meant at all at as "let's rush to new Electron" but more as "let's see what issues needs resolving before we can think of an upgrade". Because we are kind of "lucky" that at least no major breakage of Electron itself is expected from 9 to 11. The step to 12 will probably be much harder with API changes and a major npm bump.
From your comment I understand that getting N-API / context-aware support in all packages should be one of the priorities. Because we can expect many more Electron upgrades in the future.

@sadick254 (or any of the other devs) could you please have a look and help me out with my current draft?
https://github.com/mfonville/atom/tree/customElement
I am fixing up those registerElement calls with the new CustomElementRegistry as is the new "v1" method for web components (more info: https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade ) but I am now stuck at:

which refers to this line:
https://github.com/mfonville/atom/blob/customElement/src/styles-element.coffee#L34
Could you give it a look and please help me move forward. And maybe someone should have a look it if moving from v0 to v1 would even need a bigger overhaul than this quick patching.
In our current electron these methods are already deprecated, and from M80 they are dropped completely.

I am fixing up those registerElement calls with the new CustomElementRegistry as is the new "v1" method for web components (more info: developers.google.com/web/updates/2019/07/web-components-time-to-upgrade ) but I am now stuck at:

Having separate PRs to the "master" branch to attack separate issues can be easier to manage, test, verify, and review (compared to putting everything in one giant PR). That's why in Electron 9 PR, there are still bugs that are not fixed.

@aminya I know, about those links, I am using them. But after updating the parts as per that new CustomElementRegistry I am now hitting that error from the StylesElement Coffeescript. Which doesn't directly touch the part I have changed, so some other mechanism has changed with it, and I lack the knowledge/overview to deal with it at the moment.
This code is also not filed as a PR yet, and would become a separate PR anyhow, since it even benefits the current Electron-9 branch and is something that needs work before we could even upgrade Electron.
If you please could look at the error I am dealing with, to put me in the right direction to fix it, that'd be much appreciated.

I am still stuck on this error. If anyone could please help me out, otherwise I'd have to abandon the effort to migrate to the customElements.

@mfonville I have opened another PR to upgrade electron to version 11.4.7. I think it will be better for us to collaborate on that PR https://github.com/atom/atom/pull/22687. I am going to close this for now.


feat: support cache resources configurable #7

What type of PR is this?
/kind feature

What this PR does / why we need it:
To improve performance of webhook and use less memory.
Which issue(s) this PR fixes:

Fixes #7
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

Add one new args pre-cache-resources to configure which resources to cache, for example:
... // other arguments
--pre-cache-resources=Deployment/apps/v1,Replicas/apps/v1

on go files?

what happen? where is my code


Reduce the number of global vars

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.68%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5193

Relevant Lines:
7145

💛  - Coveralls


Fixes GCP components failing to authenticate

Description
GCP cert tests were failing after switching to dapr/dapr master, due to the way the context used for initialising the connection to GCP was managed.
Issue reference
This PR closes https://github.com/dapr/components-contrib/issues/3129
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[ ] Created/updated tests - N/A
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

@elena-kolevska Can you change the target branch to be release-1.12?

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


Release to get rid of pagetreeContainerElement is null

Done:
https://github.com/tombreit/mkdocs-pagetree-plugin/releases/tag/v0.0.13


Improve energy efficiency by applying Cache Energy Pattern

This improves the energy efficiency of SecondScreen by applying the Cache Energy Pattern for mobile applications.
The energy pattern was applied in TaskerConditionReceiver.java. The general idea is to avoid performing unnecessary operations by using cache mechanisms. In particular, the operations in method onReceive will only execute if the bundles changes.

Thanks!


Video extractor issue at MTV

Please find the verbose output attached
outube-dl --verbose "http://www.mtv.de/artists/8620-tiemo-hauer/video/60929-adler"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.mtv.de/artists/8620-tiemo-hauer/video/60929-adler']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.3 - Linux-3.2.0-61-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[generic] 60929-adler: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 60929-adler: Downloading webpage
[generic] 60929-adler: Extracting information
ERROR: Unsupported URL: http://www.mtv.de/artists/8620-tiemo-hauer/video/60929-adler; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 421, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1396, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
raise err
ParseError: mismatched tag: line 69, column 119
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 682, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.mtv.de/artists/8620-tiemo-hauer/video/60929-adler; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Hope thate and you can fix the MTV extractor...
Regards,
Nico

This URL seems to be now supported in the latest version (2015.11.21).
I think the issue can be closed.


[Feat]: gpu inference

Description
Will we see gpu inference to speed up generation
Use Case
In all use cases we want more speed.

Which device are you referring to? If iPhone, Metal is already supported.

Android, if I am remembering correctly i was able to compile llamacpp on my device and it ran fairly quick.

Also interesting, I downloaded Qwen-2.5-3B and it worked great, then downloaded some more models and all a sudden all models are extremely slow, only producing 0.5 token per second. it is 6 t/s when removing and installing again. Pixel 8 / Android 15

Android GPU support would be very welcomed


Improve clarity of set up in documentation

Docs don't have any mention of environment set up e.g. npm install ___ or import ___ from '___'
Would be helpful for new devs to easily figure out what they need to do to get started

hey @jaycoolslm I have some additions to the readme here - https://github.com/hashgraph/hedera-wallet-connect/pull/224
does that help?

Hey @jaycoolslm - we have a new PR that will help on this: https://github.com/hashgraph/hedera-wallet-connect/pull/317
Keen for any feedback you might have.

Apologies for delay, see its already approved. Looks good @kantorcodes


Parent dialogue refresh from child dialogue refresh

Hi , opening another dialogue parent dialogue but once after updating record on child form parent data is not getting refresh .
buttons.push({
title: 'Move',
cssClass: 'alocate-button',
onClick: () => {
if (this.entity.AlocaitonStatus == 'Checkin') {
new Asset.AssetAlocateDialog().loadByIdAndOpenDialog(this.entity.Id );

Try Q.reloadLookup('yourEntity')

No luck I tried after loading the entity .
Remember I am opening dialog from another dialog

In mine, I have
protected subDialogsDataChange() {
        super.subDialogDataChange();
        Q.reloadLookup('MyModule.MyEntity');

    }

Write reloadLookup in onSaveSuccess method of your subdialog.

Hope it resolved this. Reopen if not.


nuBScript

https://github.com/eantcal/nubscript

We already have nuBASIC: https://github.com/ChessMax/awesome-programming-languages/issues/132

Reopen to close as completed.

Generic link to awesome-basic curated list added.