Fix race in GN pod for out-of-order RemoteEndpoint events

When there is a gateway migration in a remote cluster or if there is any stale endpoint on the Broker associated with the remoteCluster, the events might come in out of order which can create issues for datapath connectivity. This PR includes the necessary checks in Globalnet pod to ignore any stale events.
Related to: https://github.com/submariner-io/submariner/pull/2399
Signed-off-by: Sridhar Gaddam<EMAIL_ADDRESS>

Backport PRs:
release-0.15: https://github.com/submariner-io/submariner/pull/2536
release-0.14: https://github.com/submariner-io/submariner/pull/2537


:LspInfo results in vim errors

When enabling nextls I see the following error in vim when running :LspInfo:

If I disable nextls and use elixirls :LspInfo works no problems.
I'm using lunarvim and this is my config:
lvim.plugins = {
  {
    "vim-test/vim-test",
    config = function()
      vim.g["test#strategy"] = "kitty"
    end,
  },
  { "duggiefresh/vim-easydir" },
  { "tpope/vim-eunuch" },
  {
    "elixir-tools/elixir-tools.nvim",
    version = "*",
    event = { "BufReadPre", "BufNewFile" },
    config = function()
      local elixir = require("elixir")

      elixir.setup {
        nextls = {
          enable = true,
          spitfire = true,
          version = "0.18.0",
          init_options = {
            experimental = {
              completions = {
                enable = true, -- control if completions are enabled. defaults to false
              },
            },
          },
        },
        elixirls = {
          enable = false,
          settings = {
            enableTestLenses = true,
          },
        },
        credo = {
          enable = false,
        },
      }
    end,
    dependencies = {
      "nvim-lua/plenary.nvim",
    },
  },
}

You might try updating your plugins. I’m not sure that stacktrace lines up with what is current in lsp config.
Also works on my machine

I've done that dance and everything says it is up to date. I've also killed lunarvim, reinstalled and have the same problem with the same stacktrace. It's likely an issue with my setup but definitely related to nextls as disabling nextls :LspInfo works. I will try investigating.

I installed lunarvim and was able to replicate, will dig into it

lspconfig is not up to date, not exactly sure why. might be related to mason

aright, you need to start lunarvim with LVIM_DEV_MODE=1 lvim for it to allow you to update its "core plugins"
once i did that, it updated a ton of plugins and then it works

I'm sure this is a my problem but I did LVIM_DEV_MODE=1 lvim, updated plugins and now I have no syntax highlighting and none of the language servers are running. Probably should have debugged this after work.

You might need to reinstall the treesitter parsers.
What's weird i had no highlighting and tons of treesitter errors until I updated all the plugins.
It was probably using my existing parsers from my normal nvim install.


Is this correct Mordrag?

You make a project folder & then you initialize the flake in it:
nix flake init -t github:MordragT/nix-templates#python-poetry
Create the dev environment:
nix develop
create the project with poetry:
poetry new my_app
Enter a virtual environment:
poetry shell
..........................
e.g.
me@nixos:~/Poetry_Projects/Beta]$ tree
.
├── beta
│   ├── beta
│   │   └── init.py
│   ├── pyproject.toml
│   ├── README.md
│   └── tests
│       └── init.py
├── flake.lock
├── flake.nix
├── package
│   ├── init.py
│   ├── main.py
│   └── main.py
├── poetry.lock
├── pyproject.toml
├── README.md
└── tests
├── init.py
└── test_poetry.py

Hi sorry for the late reply. You dont really have to create the project with poetry as it is already part of the template. So it would just be:
nix flake init -t github:MordragT/nix-templates#python-poetry
nix develop
python ./package/

I have done that so across all of the different templates but i am considering to let the users initialise their own projects

Thanks Mordrag


Upgrade golang watch tool

For a while we had other solution working, but it went obsolete and then we are with stock go command now, but live reload is a nice comfort feature.
As a suggestion, I've found this tool to solve the same problem: https://github.com/cosmtrek/air
Modify agent's Makefile. The 2 build targets go-crane & go-dagent are to use the tool above. :ok_hand:
The issue is done if running the targets above and modifying code results in live-reloading.

Hey, could I work on it?

Yes, feel free to work on it, don't hesitate to ask if you have any questions, you can find us on discord.

Hi, unfortunately, because of my busy schedule I will not be able to solve it, sorry for that. But maybe someone else would like to pick it up

Thanks for the update @katarzynakawala!

took over.


3.1.0 has broken padding / spacing

<Component p{x} /> seems to be ignored, going back to 3.0.3 resolves (component generated by system-components/emotion)

Thanks! There are a handful of breaking changes in 3.1 that I'm working to debug/resolve. In the meantime, I'd say stick to 3.0.3 – I'll publish 3.0.4 as the latest to help prevent further issues


arch: arm: replace main thread switching assembly to C using cmsis

use cmsis functions to avoid using direct assembly for main thread
switching.
This patch uses cmsis functions to:
- set PSP(process stack pointer) to main stack
- enable interrupts
Signed-off-by: Vikas Manocha<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #12952   +/-   ##
=======================================
  Coverage   53.53%   53.53%
=======================================
  Files         239      239
  Lines       27052    27052
  Branches     6521     6521
=======================================
  Hits        14482    14482
  Misses       9900     9900
  Partials     2670     2670

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 66b9e95...4f408e0. Read the comment docs.

Also, this overlaps, in part with #12954, basically cancelling the required push/pop re-work in this file, since this will now be C code.

configure_mpu_stack_guard() is being called as before within
CONFIG_MPU_STACK_GUARD.
the only thing I removed was push/pop of {r2, LR}, not sure why it was
there, we never used these registers in code.
Cheers,
Vikas
On Fri, Feb 1, 2019 at 3:02 AM Ioannis Glaropoulos
<EMAIL_ADDRESS>wrote:

@ioannisg requested changes on this pull request.
Thanks for the patch. I think configure_mpu_stack_guard needs to be included (just browsed CI failure)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,

On Feb 1, 2019, at 6:07 AM, Ioannis Glaropoulos<EMAIL_ADDRESS>wrote:
configure_mpu_stack_guard() is being called as before within CONFIG_MPU_STACK_GUARD. the only thing I removed was push/pop of {r2, LR}, not sure why it was there, we never used these registers in code. Cheers, Vikas
…
On Fri, Feb 1, 2019 at 3:02 AM Ioannis Glaropoulos @.***> wrote: @ioannisg requested changes on this pull request. Thanks for the patch. I think configure_mpu_stack_guard needs to be included (just browsed CI failure) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Now it is C code, not assembly, I think it now requires including the declaration. But I am not sure ,pls, check. :)

It makes sense, I will fix it in next pull request.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@ioannisg , please find the updated pull request fixing the missing the function prototype issue.

Could you please rebase, @manochavikas ?

Some function calls have been recently updated.

Done, Rebased to master.

On Feb 5, 2019, at 3:44 PM, Ioannis Glaropoulos<EMAIL_ADDRESS>wrote:
Could you please rebase, @manochavikas ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Also: in the commit message body, could you add a line with:
Fixes #12878.
This would make #12878 automatically close, once the PR is merged.

You can just edit the PR description to accomplish this, which I have done just now.

Also: in the commit message body, could you add a line with:
Fixes #12878.
This would make #12878 automatically close, once the PR is merged.

You can just edit the PR description to accomplish this, which I have done just now.

Thanks Andrew.


WordPress Auth Adapter

Can someone please try this new WordPress Auth adapter and send some feedback:
Thanks!

The Auth Adapter is working.

WP adapter has been updated and included in the main repo with https://github.com/filegator/filegator/commit/15c386fe088cb93dad21053e617b7dcf0d438dfa


Grouping options

We'd love to replace our internal combobox/select component with the Hotwire Combobox component. Our current implementation relies on generating JS in the frontend, which means its not compatible with Turbo 8 morphing.
One of the features we currently need and is missing from this component is grouping. Sometimes we have long lists of options that are grouped. We use optgroup in our HTML and render specific headers before each group. When we filter the list, the groups always stay visible when they contain a matching option.
Full list:

Filtered list:

Are there plans to add this feature to this component?

Let's move this conversation to a GH discussion: https://github.com/josefarias/hotwire_combobox/discussions/88


Special characters in URL don't turn out right

Thanks for the example, this is working great!
I had some problems running this on node when there were special characters in the text, e.g. accented characters. Calling e.g. 'más' in Spanish works fine in my browser, but doesn't come out right here.
What I found is that for some strange reason, I had to set a User-Agent header in my node request, like so:
var r = request({uri: url, headers: {'User-Agent': 'Mozilla/5.0'}}, function (error, response, buffer) {
    ...
});

This  way, special characters turn out right just the way they do in the browser.

Thanks for replying.. I am currently not supporting this project..


A suggestion: Make DiskCacheSize as a property

Are there methods that I'd use the calculated size of DiskCacheSize as a property instead of closure?
At this point I can only
var cacheSize: Int{
	var rawSize = 0
	ImageCache.default.calculateDiskCacheSize { size in
		rawSize = Int(size)
	}
	return rawSize
}

which doesn't work.
It'd be helpful if I could just use the DiskCacheSize as a property. Just like SDWebImage, where I can:
var cacheSize: Int{
	return Int(SDImageCache.shared().getSize())
}

And really, thanks a lot for your work!

Hi,
It is intended to have only async method for getting disk size. If there are quite a few (like thousands) files in the disk, getting the total size of them could be a time-consuming work and it might cause your UI freezing if not used properly. Making it an async method instead of a sync one could be a tip for users for that.
You code will fail since the return statement happens before the block has a chance to be invoked. If you need to get the size (and maybe display it in UI), you need:
ImageCache.default.calculateDiskCacheSize { size in
print("size is (size)");
self.label.text = "Size (size)" // The callback is already in main thread so you have no need to dispatch it again.
}
If this could not solve your problem, could you tell me why do you need a sync way to get the size?

Thanks! This solves my problem.


X11rdp build system fixes

Stripping X11rdp is unhelpful for anyone trying to debug it or run it in Valgrind. Let's keep the uninstalled binary unstripped.
Saying in a comment that X11RDPBASE needs to be set is not enough, let's check that it's set.
Linking static libraries two times is sloppy. It's not hard to reorder them properly.

looks good for me, please merge.


Multiple workers sharing same thresholds

Hey, thanks for sidekiq-throttled, I love it!
My question is: Can I set a threshold that will be used by multiple workers?
Example:
I am using a 3rd-party API that allows me to send 100 requests per minute and I have three workers. All three of them are sending requests to this API.
If I set a threshold at 100 requests per minute on these workers, sometimes due to higher load, 2-3 workers will all try and execute 100 requests per minute and I'll hit the API rate limits.
If I set the threshold of every worker to 33 requests per minute, then I will be fine if all 3 of them get under a higher load. However, if only one of them is under higher load it will only process 33 requests per minute even though I have 67 requests per minute to spare on the API.
Is there a way to solve this problem?

yeah, you can "register" shared bucket and re-use it in multiple workers:
https://github.com/sensortower/sidekiq-throttled/issues/44#issuecomment-370945016

@ixti maybe you can help me with two questions.
I have the same task. I need to throttle my requests to an external API. Not more than 30 requests per second.
To check the proposed solution, I created a simple demo:
Sidekiq::Throttled::Registry.add(:telegram_api, {
  threshold: {
    limit: 1,
    period: 1.seconds,
    key_suffix: ->(chat_id) { chat_id }
  }
})

class TestMeJob
  include Sidekiq::Worker
  include Sidekiq::Throttled::Worker

  sidekiq_throttle_as :telegram_api

  def perform(chat_id)
    ap "tm1_#{chat_id}"
  end
end

class TestMe2Job
  include Sidekiq::Worker
  include Sidekiq::Throttled::Worker

  sidekiq_throttle_as :telegram_api

  def perform(chat_id)
    ap "tm2_#{chat_id}"
  end
end

And then: 100.times{|i|TestMeJob.perform_async(rand(2)); TestMe2Job.perform_async(rand(2))}
In logs of Sidekiq, I see the next picture:
2021-01-07T10:05:49.572Z pid=95312 tid=1stw class=TestMeJob jid=35c8b92fa78a20b6ce8a8eb3 INFO: start
2021-01-07T10:05:49.573Z pid=95312 tid=1swc class=TestMeJob jid=1bb3bb4280bac32c0e7c7229 INFO: start
"tm1_0"
"tm1_1"
2021-01-07T10:05:49.575Z pid=95312 tid=1swc class=TestMeJob jid=1bb3bb4280bac32c0e7c7229 elapsed=0.002 INFO: done
2021-01-07T10:05:49.575Z pid=95312 tid=1stw class=TestMeJob jid=35c8b92fa78a20b6ce8a8eb3 elapsed=0.002 INFO: done

2021-01-07T10:05:51.580Z pid=95312 tid=1swc class=TestMe2Job jid=4ade8ec0b3310fac6c8139c2 INFO: start
"tm2_0"
2021-01-07T10:05:51.583Z pid=95312 tid=1swc class=TestMe2Job jid=4ade8ec0b3310fac6c8139c2 elapsed=0.002 INFO: done

2021-01-07T10:05:53.587Z pid=95312 tid=1swc class=TestMeJob jid=1ab21069173279d8850a6369 INFO: start
2021-01-07T10:05:53.587Z pid=95312 tid=1stw class=TestMeJob jid=d5b612a32bd152eb635b7d97 INFO: start
"tm1_1"
2021-01-07T10:05:53.589Z pid=95312 tid=1stw class=TestMeJob jid=d5b612a32bd152eb635b7d97 elapsed=0.002 INFO: done
"tm1_0"
2021-01-07T10:05:53.589Z pid=95312 tid=1swc class=TestMeJob jid=1ab21069173279d8850a6369 elapsed=0.002 INFO: done

2021-01-07T10:05:55.595Z pid=95312 tid=1swc class=TestMe2Job jid=4177aefa52b4bfcd53b2557d INFO: start
"tm2_0"
2021-01-07T10:05:55.597Z pid=95312 tid=1swc class=TestMe2Job jid=4177aefa52b4bfcd53b2557d elapsed=0.002 INFO: done
2021-01-07T10:05:55.603Z pid=95312 tid=1swc class=TestMe2Job jid=0087e523886b521395608feb INFO: start
"tm2_1"
2021-01-07T10:05:55.604Z pid=95312 tid=1swc class=TestMe2Job jid=0087e523886b521395608feb elapsed=0.002 INFO: done

2021-01-07T10:05:57.609Z pid=95312 tid=1stw class=TestMe2Job jid=30080410bda2864586e4332b INFO: start
"tm2_0"
2021-01-07T10:05:57.611Z pid=95312 tid=1stw class=TestMe2Job jid=30080410bda2864586e4332b elapsed=0.002 INFO: done

2021-01-07T10:05:59.617Z pid=95312 tid=1swc class=TestMe2Job jid=7dd1fad843eff5dbd54bad16 INFO: start
"tm2_1"
2021-01-07T10:05:59.618Z pid=95312 tid=1swc class=TestMe2Job jid=7dd1fad843eff5dbd54bad16 elapsed=0.002 INFO: done

2021-01-07T10:06:01.622Z pid=95312 tid=1stw class=TestMeJob jid=27b9406641b291d0eb44e972 INFO: start
"tm1_1"
2021-01-07T10:06:01.624Z pid=95312 tid=1stw class=TestMeJob jid=27b9406641b291d0eb44e972 elapsed=0.002 INFO: done

for some reason it runs not every second
periodically it uses "tick" to run only one job, while there are still jobs in the queue with a unique chat_id

My goal is to process these jobs as fast as possible, so tyring to find a solution for these questions. Can I somehow change this behaviour?

@ixti maybe you can help me with two questions.
I have the same task. I need to throttle my requests to an external API. Not more than 30 requests per second.
To check the proposed solution, I created a simple demo:
Sidekiq::Throttled::Registry.add(:telegram_api, {
  threshold: {
    limit: 1,
    period: 1.seconds,
    key_suffix: ->(chat_id) { chat_id }
  }
})

class TestMeJob
  include Sidekiq::Worker
  include Sidekiq::Throttled::Worker

  sidekiq_throttle_as :telegram_api

  def perform(chat_id)
    ap "tm1_#{chat_id}"
  end
end

class TestMe2Job
  include Sidekiq::Worker
  include Sidekiq::Throttled::Worker

  sidekiq_throttle_as :telegram_api

  def perform(chat_id)
    ap "tm2_#{chat_id}"
  end
end

And then: 100.times{|i|TestMeJob.perform_async(rand(2)); TestMe2Job.perform_async(rand(2))}
In logs of Sidekiq, I see the next picture:
2021-01-07T10:05:49.572Z pid=95312 tid=1stw class=TestMeJob jid=35c8b92fa78a20b6ce8a8eb3 INFO: start
2021-01-07T10:05:49.573Z pid=95312 tid=1swc class=TestMeJob jid=1bb3bb4280bac32c0e7c7229 INFO: start
"tm1_0"
"tm1_1"
2021-01-07T10:05:49.575Z pid=95312 tid=1swc class=TestMeJob jid=1bb3bb4280bac32c0e7c7229 elapsed=0.002 INFO: done
2021-01-07T10:05:49.575Z pid=95312 tid=1stw class=TestMeJob jid=35c8b92fa78a20b6ce8a8eb3 elapsed=0.002 INFO: done

2021-01-07T10:05:51.580Z pid=95312 tid=1swc class=TestMe2Job jid=4ade8ec0b3310fac6c8139c2 INFO: start
"tm2_0"
2021-01-07T10:05:51.583Z pid=95312 tid=1swc class=TestMe2Job jid=4ade8ec0b3310fac6c8139c2 elapsed=0.002 INFO: done

2021-01-07T10:05:53.587Z pid=95312 tid=1swc class=TestMeJob jid=1ab21069173279d8850a6369 INFO: start
2021-01-07T10:05:53.587Z pid=95312 tid=1stw class=TestMeJob jid=d5b612a32bd152eb635b7d97 INFO: start
"tm1_1"
2021-01-07T10:05:53.589Z pid=95312 tid=1stw class=TestMeJob jid=d5b612a32bd152eb635b7d97 elapsed=0.002 INFO: done
"tm1_0"
2021-01-07T10:05:53.589Z pid=95312 tid=1swc class=TestMeJob jid=1ab21069173279d8850a6369 elapsed=0.002 INFO: done

2021-01-07T10:05:55.595Z pid=95312 tid=1swc class=TestMe2Job jid=4177aefa52b4bfcd53b2557d INFO: start
"tm2_0"
2021-01-07T10:05:55.597Z pid=95312 tid=1swc class=TestMe2Job jid=4177aefa52b4bfcd53b2557d elapsed=0.002 INFO: done
2021-01-07T10:05:55.603Z pid=95312 tid=1swc class=TestMe2Job jid=0087e523886b521395608feb INFO: start
"tm2_1"
2021-01-07T10:05:55.604Z pid=95312 tid=1swc class=TestMe2Job jid=0087e523886b521395608feb elapsed=0.002 INFO: done

2021-01-07T10:05:57.609Z pid=95312 tid=1stw class=TestMe2Job jid=30080410bda2864586e4332b INFO: start
"tm2_0"
2021-01-07T10:05:57.611Z pid=95312 tid=1stw class=TestMe2Job jid=30080410bda2864586e4332b elapsed=0.002 INFO: done

2021-01-07T10:05:59.617Z pid=95312 tid=1swc class=TestMe2Job jid=7dd1fad843eff5dbd54bad16 INFO: start
"tm2_1"
2021-01-07T10:05:59.618Z pid=95312 tid=1swc class=TestMe2Job jid=7dd1fad843eff5dbd54bad16 elapsed=0.002 INFO: done

2021-01-07T10:06:01.622Z pid=95312 tid=1stw class=TestMeJob jid=27b9406641b291d0eb44e972 INFO: start
"tm1_1"
2021-01-07T10:06:01.624Z pid=95312 tid=1stw class=TestMeJob jid=27b9406641b291d0eb44e972 elapsed=0.002 INFO: done

for some reason it runs not every second
periodically it uses "tick" to run only one job, while there are still jobs in the queue with a unique chat_id

My goal is to process these jobs as fast as possible, so tyring to find a solution for these questions. Can I somehow change this behaviour?

Should be fixed in v1.0.0.alpha - I have removed cooldowns.


Document and put on file decision to remain silent on liability

Request from Robert

Documentation saved here: https://014gc.sharepoint.com/:u:/r/sites/GCDevEx/Shared Documents/Legal stuff/Decision on Limitation of Liability - Micro-Acquisition contracts.msg?csf=1&web=1&e=ZMGj8I


Revisions blog defining policies to turn a team and project around

Revisions on the "Defining Policies to Turn a Team and Project Around" blog post, given the email feedback thus far.

Thanks for the updates, Jason.


URL Change: Animetake

Source information
Animetake
Source language
English
Source new URL
https://animetake.su/
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL is not updated yet.
[X] I will fill out all of the requested information in this form.

?
The link above is denied for me, while animetake.tv,which is currently used by the extension v14.4 works just fine.


⚠ Fortnite has degraded performance

In a140d04, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1520 ms

Resolved: Fortnite performance has improved in 642e580.


Bar chart doesn't update when data updated.

Describe the bug
Bar chart doesn't update when data updated on swiftui version
To Reproduce
Steps to reproduce the behavior:

change data after chart is displayed
chart doesn't get updated.

Can you send code snippet which you use for updating the data and also iOS version and Xcode version you are using?

Closing because of missing reaction from issue creator.


Add blackjack

command line blackjack!

I started coding this as soon as my previous game was accepted. I hope you like it :)

I like the dedication and attitude toward contribution in open source projects.
keep working !!!

@all-contributors please add @Pelvis-Fresley  for code


high cpu consume

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.58.2 (Universal)
OS Version: macOS Big Sur 11.4(M1)

Steps to Reproduce:

I open a workspace that add three folders in a vscode window.
the vscode has high cpu consume

This is the process that runs searches. Did you trigger a search? If not, an extension could have. See this page for some details

This is the process that runs searches. Did you trigger a search? If not, an extension could have. See this page for some details

I disabled all the extensions, But it is  still high cpu consumes when I open the workspace.
I just open the workspace, and do nothing. I have no idea how I search the process that runs searches

This is the process that runs searches. Did you trigger a search? If not, an extension could have. See this page for some details

it trigger the process, when I put the folders and workspace file in same directory.
.
it not run the process that runs searches, when I put the folders and workspace in different directory.
Is that the reason? I'm not sure

You can see the steps on this page to get logs to see what triggered the search https://github.com/microsoft/vscode/wiki/Search-Issues

You can see the steps on this page to get logs to see what triggered the search microsoft/vscode/wiki/Search-Issues

thanks for your help.
This time, I disabled all extension. And again, there's nothing to open with it.
here is  the code --status informations
Version:          Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:09:06.581Z)
OS Version:       Darwin arm64 20.5.0
CPUs:             Apple M1 (8 x 24)
Memory (System):  16.00GB (1.78GB free)
Load (avg):       3, 4, 3
VM:               0%
Screen Reader:    no
Process Argv:     --crash-reporter-id c2d1eebe-7647-4279-94a2-b71670296ed1
GPU Status:       2d_canvas:                  enabled
                  gpu_compositing:            enabled
                  metal:                      disabled_off
                  multiple_raster_threads:    enabled_on
                  oop_rasterization:          enabled
                  opengl:                     enabled_on
                  rasterization:              enabled
                  skia_renderer:              disabled_off_ok
                  video_decode:               enabled
                  webgl:                      enabled
                  webgl2:                     enabled

CPU %   Mem MB     PID  Process
    2      131    6818  code main
    0       66    6821     gpu-process
    0       33    6823     utility
    1      262    6824     window (欢迎使用 — iceworks-lab (工作区))
    0      115    7080       extensionHost
    0       49    7081       watcherService
    0       49    7090       searchService
   46       16    7120         electron_node package.js
   46        0    7122         electron_node package.js
    0      147    7079     shared-process
    0       49    7083       ptyHost
    0        0    7084         /bin/zsh -l
    0        0    7397           bash /usr/local/bin/code --status
    6       49    7407             electron_node cli.js
    0       33    7082     utility

Workspace Stats:
|  Window (欢迎使用 — iceworks-lab (工作区))
|    Folder (adp): 813 files
|      File types: js(293) map(243) ts(153) json(25) ejs(6) tsx(5) md(3)
|                  log(3) tsbuildinfo(2) yml(2)
|      Conf files: package.json(2) tsconfig.json(2)
|    Folder (builder-gog-lint-tbfed): 193 files
|      File types: json(12) js(10) md(3) gitignore(2) eslintignore(1)
|                  npmignore(1) html(1) css(1) jsx(1) DS_Store(1)
|      Conf files: package.json(2)
|    Folder (iceworks-idp): 1129 files
|      File types: js(316) map(257) ts(171) tsx(95) scss(61) json(42) ejs(6)
|                  log(4) md(3) tsbuildinfo(2)
|      Conf files: package.json(2) tsconfig.json(2)


redefine the intput parameter of tasks

As I changing the event structure, I need input more parameter into tasks, I have two options:

event and pointer of parameter
pointer event struture

done


google_map field not working in Production env

Bug report
google_maps seems not to be working when changing env=production, but all working fine in local.
This is my code inside my controller.
        CRUD::field([
            'name' => 'latlong',
            'label' => 'Establishment Location',
            'type' => 'google_map',
            'map_options' => [
                'default_lat' => env('DEFAULT_LAT'),
                'default_lng' => env('DEFAULT_LONG'),
            ]
        ]);

I'm getting this error everytime I change my env to 'production'
Uncaught SyntaxError: Unexpected token '<'
google_places_api_script-1dd93d87.js:1 Uncaught SyntaxError:

I tried to replicate it on my other laravel backpack projects and it happen the same, google_map is not working in production env.
Backpack, Laravel, PHP, DB version
php 8.1
When I run php artisan backpack:version the output is:
backpack/basset: 1.3.4
backpack/crud: 6.7.17
backpack/generators: v4.0.5
backpack/permissionmanager: 7.2.1
backpack/pro: 2.2.4
backpack/theme-tabler: 1.2.10

Hey @mkt-van
Sorry for the inconvenience. I have escalated the issue for the bug fix.

Hi , i have the same issue
BACKPACK PACKAGE VERSIONS:
backpack/backupmanager: v5.0.2
backpack/basset: 1.3.4
backpack/crud: 6.7.12
backpack/generators: v4.0.5
backpack/logmanager: v5.0.1
backpack/newscrud: 5.1.0
backpack/permissionmanager: 7.2.1
backpack/pro: 2.2.0
backpack/theme-tabler: 1.2.10

Hi @NeftaliRJ @mkt-van please make sure that you have added working "GOOGLE_MAP_KEY" in your .env file. Let us know if this helps.

@munjaldevelopment
I did that, I even tried using the API key directly on the code but still the same.

@mkt-van,
Just to re-confirm, it is working for you in local env, right? That should mean the API key is fine.

Yes, there is issue with API key.

Hi, yes, my API works fine locally, but not in production. Currently, I can't see any new errors in the console. As I mentioned, it works fine locally with the same API key. I configured the API key without restrictions to test, but it still returns the same error.

Hello, any update? When can we expect to be released for the fix? We need it for all our projects.
Thanks

Hi @mkt-van - Please share your screenshot of error so our team can check & find best possible solution.

Hey guys, thank you all for the effort. 🙏
We have identified the issue and are already testing the solution for it.
I will ping you here with further instructions on how to get the fixed version 🙏

Hey everyone.
This has been fixed. Please run a composer update to get the fixed versions.
Basset: 1.3.5 - the issue causer
Pro: 2.2.7 - has an updated loading script for maps scripts
Please don't forget to clear all the caches with: php artisan optimize:clear && php artisan basset:clear.
Let us know if you are still experiencing issues.
Cheers

Hi @pxpm ,
Thank you for the update. I ran the composer update but encountered an issue with the availability of backpack/pro version 2.2.7.
Problem 1
    - Root composer.json requires backpack/pro 2.2.7, found backpack/pro[2.2.6, 2.2.5] but it does not match the constraint.
  Problem 2
    - backpack/newscrud is locked to version v5.0.0 and an update of this package was not requested.
    - backpack/newscrud v5.0.0 requires backpack/pro ^2.0 -> found backpack/pro[2.0.0, ..., 2.2.6] but it conflicts with your root composer.json require (2.2.7).

I checked the available versions using the command composer show backpack/pro --all  and only the following versions are listed:
versions : 2.2.6, 2.2.5 ....

Could you please let me know when version 2.2.7 will be released?
Thank you for your assistance.
Best regards,
Neftali

@adrsudmuntenia it's possible that you didn't clear the caches ?
Make sure your google script is updated and using ...&libraries=places,marker... on the url.
The old marker api was deprecated, this is the new api, but you have to include it when loading the script.
I've just re-tested everything and it seems to be working as expected:

Your payload to load the google script should be something like this:

Let me know if you are still experiencing issues.
Cheers

Hi @pxpm ,
Thank you for the update. I ran the composer update but encountered an issue with the availability of backpack/pro version 2.2.7.
Problem 1
    - Root composer.json requires backpack/pro 2.2.7, found backpack/pro[2.2.6, 2.2.5] but it does not match the constraint.
  Problem 2
    - backpack/newscrud is locked to version v5.0.0 and an update of this package was not requested.
    - backpack/newscrud v5.0.0 requires backpack/pro ^2.0 -> found backpack/pro[2.0.0, ..., 2.2.6] but it conflicts with your root composer.json require (2.2.7).

I checked the available versions using the command composer show backpack/pro --all  and only the following versions are listed:
versions : 2.2.6, 2.2.5 ....

Could you please let me know when version 2.2.7 will be released?
Thank you for your assistance.
Best regards, Neftali

It should now be available. Sorry I forgot to mention, we have an automated script that pick the changes and release the versions. It took a bit more this time to run.
Let me know if you are still experiencing issues. 🙏
Cheers

yes, same issue

Hi @pxpm! Thanks for quick response! All caches are cleared and payload is:
v: 3
key: xxxxxxxxx
loading: async
libraries: places, marker
callback: initGoogleAddressAutocomplete
language: ro

but field not working.
UPDATE: I think there is a space in payload between places and marker: ... places,%20marker... After delete this space in google_map.blade.php, on development server, search box working good, pin is displayed but cannot be moved. After search and select, in console the error is now TypeError: marker.setPosition is not a function

Thanks, will investigate the issue 👍

Thanks for the feedback @NeftaliRJ and @adrsudmuntenia
I've just tagged 2.2.8 of backpack/pro. It should take a bit for our private repository to pick it up, but it will be available soon with a composer update.
Let me know if you experience other issue after the update. Don't forget to clear the caches php artisan basset:clear && php artisan optimize:clear.
Cheers


Adding Plugins to svelte-datagrid

I am trying to add plugins to svelte-datagrid. I am using the latest Svelte-kit and basically doing the sample code in one of the plugins:
<script>
	import { RevoGrid } from '@revolist/svelte-datagrid';
	import { defineCustomElements } from '@revolist/revogrid/loader';
	import Plugin from '@revolist/revogrid-column-date';

	defineCustomElements();
	const columns = [{ prop: 'name', columnType: 'date' }];
	const rows = [{ name: '2020-08-24' }, { name: '2022-08-24' }];

	const columnTypes = { date: new Plugin() };
</script>

<RevoGrid source={rows} {columns} {columnTypes} />

The app breaks on the import with the message:
self is not defined
ReferenceError: self is not defined
    at Object.<anonymous> (/Users/ben/Development/svelte/server/node_modules/.pnpm/@revolist+revogrid-column-date@1.1.0/node_modules/@revolist/revogrid-column-date/dist/index.js:1:353)
    at Module._compile (node:internal/modules/cjs/loader:1119:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:997:32)
    at Module._load (node:internal/modules/cjs/loader:838:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:170:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:528:24)
    at async nodeImport (file:///Users/ben/Development/svelte/server/node_modules/.pnpm/vite@3.1.0-beta.2/node_modules/vite/dist/node/chunks/dep-d66eb979.js:53404:21)

Am I doing something wrong or there is something wrong with the import? This happens with all column plugins.

Hello @benquan
Please follow standard issue template with sandbox example. Will be easier to run your problem.
Check if issue exists
Search the repo and ensure your issue doesn't already exist. If so, it may:

Have already been fixed in an unreleased version.
Have been closed without a solution. Please create a new issue instead of commenting on the old one.

Describe the issue
A clear and concise description of what the issue is.
To Reproduce
Create a minimal reproduction to illustrate the issue. Here's a template to start you off.

Here is a working REPL running on sveltekit:
Working Sample
now if you simply import the plugin
import Plugin from '@revolist/revogrid-column-date';
You get the error:
'default' is not exported by https://unpkg.com/<EMAIL_ADDRESS>imported by https://unpkg.com/<EMAIL_ADDRESS>Error Sample
If you try a different plugin:
import SelectTypePlugin from "@revolist/revogrid-column-select";
You get a similar error
'default' is not exported by https://unpkg.com/<EMAIL_ADDRESS>imported by https://unpkg.com/<EMAIL_ADDRESS>Error Sample 2
If I run it on your sandbox it seems to work fine though:
Sanbox with plugin
My guess is something is ESModules is crashing with commonjs. By the way this could be the plugin's problem but I posted here because it is a common problem.

@benquan problem with svelte REPL I don't see there library version and anything else.
I have no idea why it's not working on their environment, it can be anything.
Is that possible to make same with sandbox?

Here it is with codesandbox of a skeleton sveltekit with grid sample pages:
Code Sandbox
I created a project sampling different column types.
My conclusions:
The basic sample (no plugin) works fine either SSR or Client render.
The Numeral sample works Client side but does crashed with SSR.
The Select Displays the grid with Client Side Rendering, but selection functionalty does not work (gives client side errors) and if run from SSR it will crash immediately
The Date Displays the grid with Client Side Rendering, but date functionalty does not work (gives client side errors) and if run from SSR it will crash immediately

Here it is with codesandbox of a skeleton sveltekit with grid sample pages: Code Sandbox
I created a project sampling different column types. My conclusions: The basic sample (no plugin) works fine either SSR or Client render.
The Numeral sample works Client side but does crashed with SSR.
The Select Displays the grid with Client Side Rendering, but selection functionalty does not work (gives client side errors) and if run from SSR it will crash immediately The CSR error is:
The Date Displays the grid with Client Side Rendering, but date functionalty does not work (gives client side errors) and if run from SSR it will crash immediately The CSR error is:
And the SSR error on all plugins is:
self is not defined
ReferenceError: self is not defined
    at Object.<anonymous> (/Users/ben/Development/svelte/grid-test/node_modules/.pnpm/@revolist+revogrid-column-select@2.0.2/node_modules/@revolist/revogrid-column-select/dist/main.js:1:394)
    at Module._compile (node:internal/modules/cjs/loader:1119:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:997:32)
    at Module._load (node:internal/modules/cjs/loader:838:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:170:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:528:24)
    at async nodeImport (file:///Users/ben/Development/svelte/grid-test/node_modules/.pnpm/vite@3.1.0/node_modules/vite/dist/node/chunks/dep-665b0112.js:53404:21)

Where you able to find a solution or work around?

Should be ok in v4.


"Unhandled Rejection (Bad Model): ViewCreator3d.createDefaultView: no 3D models found in iModel

Describe the bug
"Unhandled Rejection (Bad Model): ViewCreator3d.createDefaultView: no 3D models found in iModel"
Additional context
I'm getting an about mentioned error but I can see my modal in IModalweb

Please provide more details like what version of @itwin/web-viewer-react and iTwin.js you are using

The error is telling you the problem: your iModel contains no 3d models. Specifically, the following query returns zero results:
SELECT ECInstanceId FROM Bis.GeometricModel3D WHERE IsPrivate = false AND IsTemplate = false AND isNotSpatiallyLocated = false
@roopksaini, it should probably not produce an error in such a case; instead it should return a view that displays no models, with its extents based on the iModel's project extents.
@Malashree99, consider using SpatialViewState.createBlank as a workaround for now.


User interface suggestions

Here are a few suggestions for the UI:

Need a way to track the model coefficients. Have the sliders indicate the values...and maybe offer the option of typing them in a box (so you can repeat with values you like). Or is there a table that the code can read for default values? Maybe also print them with the output.

Maybe a button to reset the coefficients to the defaults?

Delay running the model until all of the coefficients are adjusted...right now it jumps right into the calcs as soon a slider is moved, but maybe you want to adjust two sliders first. Maybe change the compute segmentation to a button that changes color if the model is out of date wrt to the current settings. Oh wait, I see how that works. I can uncheck it or recheck it. Still like the button idea.

Publish the color order so people can assign colors by changing the order of the labels.

Good ideas re 1 and 2, and should be easy enough to implement. Re 3, I need to revisit the way it runs and re-runs the calcs. I should also split things up wrt implementation of RF, then CRF. Will think .... Re 4, also a good idea. I could also explore making a few different palettes available for user to toggle

Published the colors in the colormap on the last push: https://github.com/dbuscombe-usgs/dash_doodler#use

one thought and not sure how easy to implement. I could see a show/hide checkbox (separate from the "compute" checkbox) being useful for looking under the computed layer to decide if you're happy with the computation or not without having to recompute.

suggestions 1 and 3 are great but would involve a fairly major change and likely a database backend... working on it. As for 2, I have tried to change the orientation but can't figure out how using the dcc.Graph framework (https://dash.plotly.com/dash-core-components/graph) tips appreciated

Would it make sense to uncheck Compute/Show whenever a new figure is selected? I always forget to do that. Oh, I see Andy also suggested that.

FYI I'm working on a version that just has a big 'next image' button that replaces the drop-down list. Select that, and it will load the next image in, until you run out of images (it will display a warning) and you can upload more

It would be nice to have a button to reset all of the sliders to the default value. I have lost track. Plus maybe somewhere an explanation of what each one does, and the effect of increasing/decreasing it. Maybe examples of images that needed specific values.


can't get api-key

Can you provide an API-KEY? I am a Chinese developer,I can't get it from there. thanks

Use vpn

Can't you provide one?


Installation on a web hosting

Hi,
I'm trying to install the control panel on a Linux web hosting, but since it's a standard web hosting, I cannot access the console or perform commands via the terminal. Is there a way I can install this control panel without having to touch any command line?
PD: I already know how to install Composer manually.
Good work and thanks in advance.

You can install it local (or on any other device where you do have composer and php) and upload everything (including the vendor folder) to your webhosting. Don't forget to migrate, export and import your database.


SQL Developer access

Hi, as the ADB has a private IP address that is only accessible from clients and hosts that are located within, or have access to, the virtual cloud network (VCN) used by the Autonomous Database. How can we enable SQL Developer access from a developers laptop? We have downloaded the wallet but clearly SQL Dev fails to find the URL in the tnsnames.ora file. Do we need to create a VPN link to the OCI tenancy?
Many thanks

Hello, I've updated the FAQ with your question and a few options.  Hope that helps.


An activated Like button loses its fill

Bug description
An activated Like button loses its fill
Steps to reproduce the behavior

Go to any video
Open a video that you have already liked in a new tab
Wait for the new tab to finish loading

Browser
Microsoft Edge
Operating system
Windows
Extension version
2.38.7
The bug still happens in these conditions

[ ] The bug still persist when I disable all other extensions (ex. in incognito mode with only this extension enabled)
[ ] When I logged out of my YouTube account (ex. in incognito mode)
[ ] In incognito mode

Additional context and/or screenshots
https://github.com/WesselKroos/youtube-ambilight/assets/6422804/67b6869f-ef99-4bf3-8f7e-8ff821ae3428

This is a bug for YouTube. The whole like icon is removed from the html after clicking on the like button.

Man, I'm such a bug hunter 😂

I don't mind. I'm quite the bug hunter myself.
And I would rather have a few false positives than no bug reports at all 😉


Bug with q_net_constructor in DQN

I believe an else
else:
    q_net_ctor = q_net_constructor

is missing after
https://github.com/rlberry-py/rlberry/blob/8168dfc73a802dc9a6308e16a7d7bdce715d4f17/rlberry/agents/torch/dqn/dqn.py#L153
(creating this issue so that I can double-check later)

hein ?


Automated Package Upgrade

:tada: This PR is included in version 2.2.324 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Allow users to override _total=estimate

2 changes:

Change the _summary shortcut to use accurate rather than estimate
Allow app users to specify _total=accurate to get an accurate count

Coverage: 94.318% (+0.0006%) from 94.317% when pulling a6d8ba8771aa1e8cacefc47fcf5db188ddeefc97 on cody-override-estimate-mode into 0dc4e5e207e7691da239aa2cfd4b40ac942dc8f9 on main.


API-41055 UT/linting to GH actions

This PR is to remove UT/linting from code build and move it to gh actions
Link to Jira: https://jira.devops.va.gov/browse/API-41055

Approved. Reminder to change the on: to this prior to merging - https://github.com/department-of-veterans-affairs/lighthouse-oauth-proxy/blob/1bd1d3610d442c3a84ce31a1009609198be1cb7e/.github/workflows/ci.yml#L3C1-L7C25

Reminder to change the on: to this prior to merging - https://github.com/department-of-veterans-affairs/lighthouse-oauth-proxy/blob/1bd1d3610d442c3a84ce31a1009609198be1cb7e/.github/workflows/ci.yml#L3C1-L7C25

Actually, want to see lint/utest on all pushes. We want this check before the merge to master. I'd like to adjust oauth-proxy to do the same.


Missing prefix for UM (US Outlying Islands)

http://www.auslandsvorwahlen.net/en/country/268
kMapCCode2CN in NBMetadataHelper is missing object + key pair {"1", "UM"}

No, we only support the region codes for countries/regions officially recognized by ITU for allocating telephone number country calling code purposes:
http://www.itu.int/oth/T0202.aspx?parent=T0202


Error handling for test discovery

Right now if discovery crashes, there is no tests and very few useful comments.

When test discovery fails, the test should still define at least one instance of a tests and write the discovery logs to the test results.


Add user-defined function example

Good catch Pontus, I was looking into this on the plane but couldn't decide which function to add. Join is a good idea. I'll create a 3.1 branch for this PR.

Merged Manually into 3.1 branch. Thanks!


Release v0.3.0

Created to track v0.3.0 milestone

v0.3.0 released; moving open items into new v0.3.x milestone.


:bug: Log tests depend on UTC system timezone

If I run the tests on my Macbook with a local timezone they fail. If I run them with a UTC timezone set they pass.
To address this I modified the tests to construct DateTime objects with UTC timezone explicitly set. I'm not sure if this masks a more serious underlying issue.

I just tried your change and it resolved the problem for me as well. How did you get around the javadoc plugin error?
Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project okta-sdk
Then the build prints out a lot of errors about missing JavaDoc keywords. example:
`[ERROR] /Users/darrin.johnson/Dev/oktasdk-java/src/main/java/com/okta/sdk/models/apps/AppInstance.java:270: warning: no @param for val
[ERROR] public void setSettings(Settings val) {`

@drj101687 the javadoc goal still fails, but the SNAPSHOT JAR gets built which was my interim goal with this :)
I get an error about not setting JAVA_HOME in my case. That was a blast from the past. I didn't realize that was still a thing.

@lboyette-okta @guyzehavi-okta I think this could make the out of the box build experience better for contributors. Before this fix the tests involved fail unless the local system's timezone is set to UTC. My change allows contributors to have these tests pass even if their timezone is not set to UTC.


Custom Refresh Time

Would be nice to have a slider that changes the speed of the refresh interval for the classes, etc

Dude these simple suggestions can be easily added by you and put into a
merge request holy shit
On Tue, 8 May 2018, 11:39 pm KittoniuM<EMAIL_ADDRESS>wrote:

Would be nice to have a slider that changes the speed of the refresh
interval for the classes, etc
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ReClassNET/ReClass.NET/issues/65, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8s5pI_phSaaqFHo5LFrh5lsytRXRmsks5twaAsgaJpZM4T2qaL
.

but in my country it is forbidden to use Git, only svn

just for the record i banned him from my repos already

how about you stop bullying?? i dont think i ever said anything on your repos


Boss mechanics

Here are some pure mechanics, not dressed up in fancy wording, which I think could be interesting. Many of them can be combined for some pretty cool interactions.
General:

Walls that separate players.
Shrinking arena space, limiting your movement.
"Free-floating objects" that bounce around and can be pushed by players, and either:

does damage when colliding with player/boss or other objects
gives buffs when colliding with players/boss or other objects

Minions that follow players around and do damage (e.g. radiance burn).
Minions that buffs, heals, or makes boss invulnerable while alive.
Push/Teleport players around.
Areas on ground that does damage.
Large AoE spells with small safe spots to stand on.
Players can affect the defense/damage ratio of boss (e.g. channeled damage boost that sacrifices defense, players can interrupt it). I.e. making the boss tanky but low damage, or squishy but high damage.
Time limit for killing boss. "Enrage timer".
Out-heal, or "out-survive" boss; e.g. boss does damage to itself and players.
Spell reflection; Damage spells on boss hurts allies, but healing spells on boss heals allies.
Player damage affected by player and boss health ratio (when boss is low hp, you deal more damage if you are also low hp).
Bad things happens when players are full hp, and boss tries to heal players. For example, when full hp (say, 95% or more):

You loose maximum hp
It costs mana, or lowers maximum mana
Lowers stats, armor, magic defense, damage or movement speed
Increase mana cost or cooldown of spells
etc.
Any of the above effects can be applied to allies instead of self
Any of the above effects can instead be buffs to the boss

Boss imprisons player(s), whom must be helped by allies.
Link boss to player, or player to player, and either:

taking damage or being healing affects both
taking damage heals the other and being healed damages the other

Separate areas on the ground that heals and does damage respectively when standing on them.
Stacking buffs that increase damage but lowers defense.
Players gain opposite charge stacks (e.g. positive/negative). If a positive player meets a negative player, they take damage.

Interaction between two (or more) bosses simultaneously:

Bosses gains/looses power based on health difference between them.
Must be killed (roughly) at the same time.
Only one can be damaged at a time.
Shared health pool.
Health transfer between bosses; higher health gives more power, but leaves low health boss weaker.
One boss becomes "inactive" or a statue, and is vulnerable, but the other boss(es) defends.
Healer/Fighter boss combo, fighter defends healer.
Bosses be lured to damage each other.

Nice list, plus points for formating :wink:

Now this ,imo, is a true quality post. Thank you a lot for all these ideas (The player damage affected by player and boss health differences; out-heal ; gives BUFFS to the PLAYER upon collision; and many other points give us a lot of variables to work with) !
And , as #zelding said - thanks for taking your time and organizing your post. It makes a better impression  ;)

Lots of very good stuff. Has anyone given you the discord link yet?

Lizciz , mention me in the MNI discord , when you see this. (Your discord name  differs from the GitHub one and I can't find you :/ )

@VoidsKeeper I did not have an Discord account. I just created one, though, so perhaps you can find me now? I've never used it before, so I do not know how to PM you as you suggested.

First of all join the MNI channel https://discord.gg/D8n3B  and write @VoidsKeeper in the general chat. I'll find you from there

Did you join , @lizciz ?

@VoidsKeeper Sorry, the link had expired when I tried, and I've had a busy week. If you could send a new link now, I can join immediately.

@lizciz https://discord.gg/qdrcV56

@lizciz, you use that link yet?

@Haganeko Yes I have.


Syntax sugar ["literal_string"] for SHARPOPs ## and #=

This is a proposal for ["string_literals"] sugar for ## and #=, stemming from a discussion with @chenglou.
The change is fully backwards compatible, meaning foo##bar will still parse just fine. foo["bar"] parsed before too but it's invalid array access, and without this PR it will result in a type error anyway.
Before:
foo##bar;

foo##bar #= baz;

/* slightly contrived: */
foo##bar##baz #= bar##baz[0];

After:
foo["bar"];

foo["bar"] = baz;

/* slightly contrived: */
foo["bar"]["baz"] = bar["baz"][0];

If everyone's on board, I suggest merging #2050 before this PR, so that we'll get some nice precedence fixes for free (see my comments inline below).
TODOs:

[x] Currently, #= is only printed as = if the left expr is a chain of ## applications. This can be relaxed to account for e.g. foo##bar[0]##baz[2] = "1px black dashed";, i.e. array access.
- This is only useful once #2050 is in. I have a local branch with #2050 and this PR and it works great. Done
[x] Think about relaxing it as well for . record accesses

ooooh this is wonderful!

Yeah, that's a given!

Just rebased this on current master. There was some breakage caused by a refactor in the printer that was included in #2055.
Some thoughts on error messages: I'm unsure how we'd accomplish good error messages in Reason itself, since foo[bar] is valid if foo is an array and bar is an int. Sounds like if we wanna support this it'd have to go in BuckleScript?

Maybe bettererrors? if bar is a string, show a nice message

Yep, in bettererrors (eh super-errors)

@anmonteiro since everyone seems to like this, let's ship it?

Sounds good to me. Just rebased on current master.

@anmonteiro, I think @jaredly's concern is actually pretty valid. In fact there's technically a way this diff is not backwards compatible because you could have redefined an Array module in scope with a get function that accepted a "string" index. That's pretty unlikely, but the bigger issue I see is the one that Jared pointed out. People will think that this is a dynamic field access. I believe that there is a workaround or improvement which makes that confusion much less likely and provides a better opportunity to give warnings very early. That is to use single quotes for the keys here.  The reason is that string keys longer than length 1 aren't even possible to write. You could give a nice error there.
let myString = 'foo';        // ParserError here
let result = myobj[myString];

ParseError: This is a static string only to be used when indexing a data structure such as obj['foo']. It cannot be dynamically computed outside of the immediate field access`.

It isn't possible/easy to provide such an up front error for double quote strings.
Single quote string keys are also commonly used to index dictionaries in other languages including JavaScript, so I don't think it's any worse. In fact, I think FB's style guide says to use single quote keys anyways.
Of course - the remaining wrinkle is that you still have some of the same problems as the double quote string key sugar, but for single characters like 'a' because that is a valid expression. However, that is so much less frequently used than strings. I believe that by using single quote string keys the amount of confusion will be cut down by about 75% of what it would be with double quoted strings, and I don't see a lot of downside to them.

It's unfortunate that both Reason and OCaml's syntax hard codey[x] access to the Array module. I do wish we could remove that and I'm open to possible ways we can do that.
If that were possible, wouldn't the only benefit to having x['y'] be sugar for x##y be the forwards compatibility? If you had the ability to stop having x[y] be hard coded to the Array access, and instead be open to various data structures, would you rather have that? For example if you're doing UI work you have your build system make [ ] field access become Js.get/Js.set. If doing backend work, maybe you want to use it for all hash tables, regardless of their key datatype. That means you could use x[0] for integer keys, and x["foo"] for string keys.


Viability of Win 32-bit port

Hello everyone,
I see the OSPRay platform requirements are 64-bit only. Before contemplating a port to Windows x86 (32-bit) with some restricted features, what is the reason or decision behind 64-bit only? Is it a hard technical blocking issue in the dependencies, or another reason please? Some background would be much appreciated, thanks. If feasible, any pointers to key areas?
Thanks,
Nenad.

Hi,
There are a number of limitations associated with 32-bit OS support (mainly memory allocation size limits), as well as OSPRay requiring at least SSE4.2 which has 64-bit support. The vast majority of our users are on Linux, and all Windows users we have encountered are running 64-bit. Given that 32-bit only environments are relatively rare and that the limitations it imposes have been solved for a long time (i.e. 32-bit it is not the future), we've ignored it.
Of course, OSPRay is open source and you are free to use/modify it as you see fit! However, it's very unlikely that limitations that arise from a 32-bit only OS won't be interesting for us to spend any time on solving.
Hope that helps!
Cheers,
Jeff


Renaming Models & Removing Profit Metrics

Based on the eagle eyed @bbrewington , we've renamed the develop metric and removed the extra profit metrics.
#5

@callum-mcdata I think this also resolves https://github.com/dbt-labs/jaffle_shop_metrics/issues/6 since you renamed that model


Support Redis 3.x

Getting the following error when using Redis 3.2
Traceback (most recent call last):
  File "/usr/bin/rdb", line 9, in <module>
    load_entry_point('rdbtools==0.1.6', 'console_scripts', 'rdb')()
  File "/usr/lib/python2.7/site-packages/rdbtools/cli/rdb.py", line 82, in main
    parser.parse(dump_file)
  File "/usr/lib/python2.7/site-packages/rdbtools/parser.py", line 274, in parse
    self.verify_version(f.read(4))
  File "/usr/lib/python2.7/site-packages/rdbtools/parser.py", line 612, in verify_version
    raise Exception('verify_version', 'Invalid RDB version number %d' % version)
Exception: ('verify_version', 'Invalid RDB version number 7')

with the dump file
REDIS0007�	redis-ver3.2.0�
redis-bits�@�ctime�d�2W�used-mem�ؔ������helloworld��w9�=Z��

Since this repository doesn't seem to be maintained, is there a fork somewhere that can deal with RDB v7?

it's not perfect, but it works for my usecase https://github.com/mihu/redis-rdb-tools

@mihu Great. You should open a PR to this repo.

What for? This repo is apparently unmaintained.

@mihu Agreed. However, this still remains the primary repo for this tool. When people come here with issues they check the PR list to see if their issue has been fixed by someone else.
Opening a PR for RDB v7/Redis 3.x support will help others.
Furthermore, if another committer takes over maintenance, having the PR open will help to quickly get this tool in good shape again.

I think anyone willing to dig a little will find this issue as I did.

Merged most of the PRs to https://github.com/mihu/redis-rdb-tools

redis 3.2 RDB v7 added with commit https://github.com/sripathikrishnan/redis-rdb-tools/commit/8ba5e9b68daf9517e1058c21cf866b12ba126f6e
@mihu FYI, i looked at the quicklist parsing in your fork and it seems to put the ziplists as list elements rather than unzipping them.


Filter records where a field is null

I was trying to filter records having a field equal to null, how do I do that? Search builder converts null into string ‘null’.
Can you help me please thanks.

@cesarpastor did you find anyway ? I think it's related to qs querystring and we have to find a way in that library


writeCharacteristicWithoutResponseForDevice for a device which is not advertise its serviceuuids

Why it isn't possible that you can write to a device if the field serviceUUIDs is empty but the device.services() method returns services.
I found the responsible code:
https://github.com/dotintent/MultiPlatformBleAdapter/blob/master/android/library/src/main/java/com/polidea/multiplatformbleadapter/BleModule.java
BLEModule => getCharacteristicOrEmitError
final Service service = device.getServiceByUUID(UUIDs[0]);
if (service == null) {
onErrorCallback.onError(BleErrorUtils.serviceNotFound(serviceUUID));
return null;
}
How i connect and discover the device:
` connectToDevice(deviceUUIDorMac: string): Promise {
return new Promise((resolve, reject) => {
return this.manager.connectToDevice(deviceUUIDorMac)
.then((device) => {
      console.log(device);
      return this.manager.discoverAllServicesAndCharacteristicsForDevice(deviceUUIDorMac)
        .then(async (d) => {
          return resolve(d);
        });
    })
    .catch((err) => {
      reject(err);
    })
})

}`
Edit: In the documentation I found:

Notes
device.serviceUUIDs and device.serviceData are related to BLE Scan Advertisement, not to Service Discovery. They will not be populated/updated in result of device.discoverAllServicesAndCharacteristics()

I'm excited to inform you that we've released a new version of react-native-ble-plx. Many of the concerns and bugs have been addressed in this update.
If you encounter any issues or have further suggestions, please don't hesitate to open a new issue.


Update multi-domain cert to add more SAN fields.

Updates existing "multi-domain" cert to add 2 IP address and 1 RID SAN.
We will be plumbing individual SAN fields to tsi_peer - uri, dns, email, ip and other_fields. Updating multi-domain cert, helps with testing these fields.

Thanks for the review!:) merging now...


Improve NetService.IterateNodeSegments()

Code cleanup for legibility:

Added TryGetSegment() and TryGetNode() methods to make code intent more transparent and encourage short-circuit when ids are 0
Changed for loops to do .. while for more fluid flow of intent
Replaced switch statement with simple conditional.

Original code for reference: https://github.com/CitiesSkylinesMods/TMPE/blob/master/TLM/TMPE.CitiesGameBridge/Service/NetService.cs#L105-L163
Questions:

Why does ClockDirection.None iterate all non-zero segments at the node, whereas .Clockwise and .CounterClockwise only iterate a contiguous block?

The code could be cleaned up more if each ClockDirection did the same thing.

Why does ClockDirection.CounterClockwise circle to the right?

Method is used by:

Timed traffic lights
One-click timed traffic lights
Roundabout mass edit

Why does ClockDirection.None iterate all non-zero segments at the node, whereas .Clockwise and .CounterClockwise only iterate a contiguous block?

m_[start/end][Left/Right]Segment is cached allowing to avoid checking for non-existing segments. actually we can do a clockwise iteration when  dir is not specified if you do not like extra code.

Why does ClockDirection.CounterClockwise circle to the right?

it turns right if you are facing toward the junction. I know its inconsistent forexample in CalculateCorner leftSide parameter is calculated when you are facing away from the junction. we should complain to CO :sweat_smile: !

I know its inconsistent

Maybe we should be making wrapper classes so we can create consistency internal to TMPE regardless of the craziness of the CO code. Like the 'connectors' I was mentioning above in dymanoid's Real Time mod.

I noticed we're also not checking things like Collapsed flag. So a road could be literal pile of rubble and our code woul be like "yeah, that's totally fine to use".

yeah, I think that is a good idea, as long as we can make that abstraction layer thin and have almost 0 perf impact.

PR seems dead and I killed IterateNodeSegments anyway already.


The websocket returns this error message Invalid request method

The websocket returns this error message Invalid request method

Hi @Srn5333
The goal of this Github repo is not to give assistance on personal code or the whole package/plugin project,
but to improve flutter reporting bugs or feature requests.
If you encounter behavior that you believe could be a bug, please provide a completed and minimal reproducible code sample that represents the problem. Also, please provide the output of flutter doctor -v as well.
Instead, if you think that the issue might depend on your implementation, please see flutter's community for resources and ask questions like this. You may also get some help if you post it on Stack Overflow and flutterhelp.
Thank you!


Javascript added via --inject is only executed once

Description
I added some javascript via --inject and expected it to be injected into all web pages. But I only see it on the first page. It is not clear to me, if I misunderstood the feature or if it is broken.
Steps to Reproduce Issue
nativefier --inject my.js https://trello.com
Specifications

Version of Nativefier (run $ nativefier --version): v7.1.0
Version of Node.js (run $ node --version): v6.10.2
OS: <OS> macOS
Architecture <ARCH> x64

Hi @oliverandrich, thanks for the feedback. I can't reproduce the problem, though:

→ Can you precise from/to which URL fails to trigger your script? From the nativefied app, open the Devtools with Cmd+Shift+I bo, then type window.location.href. Perform the action you'd expect to trigger your script, and re-get window.location.href.

Damn, somehow it works now. I am not sure, what I did break yesterday. Thanks for the response and the effort you put into creating a video.

Hi, i have the same issue can @oliverandrich explain how dd you solve the problem. The script i use is runned only once on domcontentload and never on page change i have to manually refresh the page by F5 (disable cache in devtool doesn't help)


Preparing v0.13.0a0 pre-release

v0.13.0a0 (2024-Sep-13)
Noteworthy code-changes

Profile owners,  please take a look at the pending_review lists in your profile definitions. If you move them to exclude_checks it means you do not want the check in your profile. If you just remove from pending_review, then the check becomes effective in your profile. And if you do nothing, the checks still not reviewed will continue being automatically excluded from your profile.
This release adopts a new naming scheme for checks. We had reports of users getting confused by the meaning of the reverse domain names included as prefixes of check-IDs, such as com.google.fonts. The real meaning was that the organization identified by such domain was the first contributor of a given check implementation. But some users were confused thinking that it mean the check belong to that organization's vendor-specific profile.
Now profiles do not include that reverse domain prefix. And do not also have the "/check/" keywork anymore. As an example, com.google.fonts/check/tabular_kerning (on the Universal profile) is now simply called tabular_kerning
Also, there's been a large number of checks migrated among profiles. Mosly towards the Universal one.
The checks themselves also moved around in the code-repository, in an attempt to remove any resemblance of profile allocation within the /Lib/fontbakery/checks/ directory, which should be seen as a general pool of check implementations. As much as possible, profile definition should happen inside /Lib/fontbakery/profiles instead.
The exception to this are the checks that are surely vendor-specific. All those were placed in sub-directories inside Lib/fontbakery/checks/, such as Lib/fontbakery/checks/vendorspecific/microsoft/.
As this is the "a0" pre-release, there may be additional migrations and renames of checks, before we make an actual v0.13.0 release. Please open an issue if you have suggestions of better names or better profile allocations.

hi @felipesanches just to undertand better what I need to do. I’m a bit confused with the checks listed under pending_review there are some that I recongnized I had commented out on the previous profile but in general how did you make the list?

hi @felipesanches just to undertand better what I need to do. I’m a bit confused with the checks listed under pending_review there are some that I recongnized I had commented out on the previous profile but in general how did you make the list?

Sorry about the late reply. I've inspected the files with the definitions for each of the profiles and I used some logical inference to make by best effort in determining which checks would potentially be useful for each vendor. There were comments left by profile owners and other clues that helped me on those decisions.
For instance, I considered that whenever a profile included the entirety of googlefonts by default (using the "include_profile" field), it meant that the checks migrated from googlefonts to universal would not need to be reviewed by that profile owner (because those checks were already being automatically included, so would probably already be considered good). But for profiles that did not include googlefonts, the new checks migrated to universal profile would necessarily need to be reviewed first, so those were added to the "pending_review" list. And there were also similar cases for checks migrating among other profiles, for which I used similar logical reasoning.
I hope this clarifies the matter for you and I''ll be glad to answer any additional questions you may still have about it.

Hi, @felipesanches do you have a target date for a release including those changes?


Write unit test(s) for cleanup_expired_logs_for()

Description
In checkpoints.rs the cleanup_expired_logs_for function could use at ;least one unit test.  In order to implement it cleanly, I think we should have a FakeObjectStore type which we can feed mock ObjectMeta structs into to to allow for testing the invocation of the list and delete_stream invocations that the function makes.
Related Issue(s)

#1763

@cmackenzie1 I'm leaving this here for posterity :smiling_imp:

Hey! can I work on this issue?

Sure!

@brayanjuls - assigned it to you, thanks!

@rtyler is this still needed? If so I can take a look at it, doesn't look like it was implemented.

@asura-io go for it!

@rtyler on it, are there any other mocking implementations in the codebase that I can refer to? I'd like to ensure that I'm following established patterns, and I'm new to writing code in Rust.


Update error-code-requestdisallowedbypolicy.md

Adding
1-where to find the policy name or assignment in the error msg RequestDisallowedByPolicy
2-also how to bring cluster to success state after fixing the policy
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

@abarqawi I made editorial changes in this PR for better readability. Regarding 'The name of a policy assignment or definition is the last segment of the id string.", what/where is the id? In this article, it isn't currently displayed in the error message.

Yes @AmandaAZ for rge policy assignment name ,but the thing the error msg is very big angld better ro clarify to cx

segment

@abarqawi OK. In this case, I think that we could say "The name of a policy assignment or definition is the last segment of the id string shown in the error message" instead of writing the detailed error and id string in the article.

Ok


Atomic snapshots

Output of restic version
restic 0.9.6 compiled with go1.12.12 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
When backing up large running services, file integrity is at risk when the first file has been backed-up at quite a different time than the last one.
Add feature for atomic snapshots:

Use file-system capabilities to create a local snapshot (LVM, Btrfs, ZFS)
Backup folder within that snapshot

It would be awesome, if this would be possible with a flag (e.g. --atomic-source). Restic should determine the actions automatically based on the mount table and file system type.
It could be implemented with pre/post-hooks:

Create snapshot
Mount snapshot to folder
The mount folder is the source of the backup

What are you trying to do?
Backup a large running service on modern file systems (Btrfs, ZFS).
Did restic help you today? Did it make you happy in any way?
Restic is running quite stable for some weeks now :smile:

Why should restic do this? Why not script it?

Because it would save a lot of users from the problems of non-atomic snapshots. This type of problems is only visible when you restore a backup. Often it is not visible during premature tests since the load is significantly lower. Furthermore, features in restic are way more trustable than features in some scripts you find in the internet.
Nevertheless, if restic does not plan to add such a feature this issue can be closed.

While I completely agree that oftentimes one has to coordinate these things for larger services, each individual use case and requirements are too specific to be supported by a tool like restic. The closest to supporting it we'd come is to have pre/post hooks, which you suggested, but it's still very hard to get to a point where you don't need scripts anyway. I mean, your hooks would be scripts or commands I presume, and in the end it's easier to just wrap it all in a script or similar.
Feel free to correct me if I'm wrong in any way, or to provide more feedback on this topic, but at this point in time it won't be implemented so I'm closing this issue. The topic can be revisited in the future if need be :)


soul wars multiple trips

🐛 Bug Report
I'm pretty sure this bug is well known but was asked to report mine. Have been doing soul wars group trips in our discord, clicked to join a mass then remembered I had to do farm runs so clicked to unjoin then did farm runs. After the farm runs I started a solo soul wars. Mid way through that trip, my minion comes back from both the original soul wars mass and the solo trip. I was aware it was buggy on release but didn't try to abuse it here. Can provide pics of the trips if necessary. Happened around 10:40pm EST March 1st on steezoo#2012.

Should be fixed now.


UCP: Refine Log Searching Models

Description
The models in log searching module can be improved:

Currently it embed diagnosepb structure directly, which is a potential risk: in protobuffer field rename is a compatible change but it will break Dashboard models.
Can be changed to use the new RequestTargetNode and RequestTargetStatistics. See https://github.com/pingcap-incubator/tidb-dashboard/pull/214 for examples.

Score

900

Mentor(s)

@Deardrops

Contact the mentors: #tidb-challenge-program channel in TiDB Community  Slack Workspace
Recommended Skills

Golang
TypeScript

/pick-up-challenge


hi,now i am facing a problem when i ran ./run_test.sh

File "test_net.py", line 304, in
RCNN_loss_center, rois_label = fasterRCNN(im_data, im_info, gt_boxes,num_boxes, fixed_center)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/ld/3d-vehicle-tracking/faster-rcnn.pytorch/lib/model/faster_rcnn/faster_rcnn.py", line 46, in forward
base_feat = self.RCNN_base(im_data)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/ld/3d-vehicle-tracking/faster-rcnn.pytorch/lib/model/faster_rcnn/resnet.py", line 86, in forward
out = self.conv1(x)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/ld/.conda/envs/dave/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 301, in forward
self.padding, self.dilation, self.groups)
RuntimeError: CUDA error: out of memory

It is exactly as the msg said: CUDA out of memory
I have this issue before too, my GPU is GTX1060 6GB, it is still not sufficient to load faster-rcnn model.
So I would suggest you either use a GPU with more mem., or you use the detection result from the author.

Thanks! i have solved this problem by change a GPU with 9GB!

hi ,I run mono_3d_tracking.py
/home/work/3d-vehicle-tracking-master/3d-tracking/mono_3d_estimation.py gta test --data_split val --json_path /home/work/3d-vehicle-tracking-master/3d-tracking/data/gta5_tracking/val/label/rec_10090911_clouds_21h53m_x-968y-1487tox2523y214_bdd.json -j 2 -b 1 --n_box_limit 300 --resume ./checkpoint/616_gta_checkpoint_030.pth.tar
Using RoIAlign
=> Loading checkpoint './checkpoint/616_gta_checkpoint_030.pth.tar'
=> Successfully loaded checkpoint './checkpoint/616_gta_checkpoint_030.pth.tar' (epoch 30)
Reading /home/gejun/work/3d-vehicle-tracking-master/3d-tracking/data/gta5_tracking/val/label/rec_10090911_clouds_21h53m_x-968y-1487tox2523y214_bdd.json ...
Load single json file
Sequences [463] with total 463 frames
Input images are not normalized
Number of image to test: 463
0
1
Traceback (most recent call last):
File "/home/work/3d-vehicle-tracking-master/3d-tracking/mono_3d_estimation.py", line 539, in
main()
File "/home/work/3d-vehicle-tracking-master/3d-tracking/mono_3d_estimation.py", line 535, in main
test_model(model, args)
File "/home/work/3d-vehicle-tracking-master/3d-tracking/mono_3d_estimation.py", line 426, in test_model
for i, (image, box_info) in enumerate(iter(test_loader)):
File "/home/anaconda3/envs/pytorch041/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 336, in next
return self._process_next_batch(batch)
File "/home/anaconda3/envs/pytorch041/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
TypeError: init() missing 2 required positional arguments: 'doc' and 'pos'
Process finished with exit code 1
I find the code can iter 2 times normally ,then it broken ,can you give me some advice to solve it???
for i, (image, box_info) in enumerate(iter(test_loader)):
# measure data loading time
data_time.update(time.time() - end)
end = time.time()
    with torch.no_grad():
        box_output, targets = model(image, box_info, args.device, 'test')

    batch_time.update(time.time() - end)

=======================================================


Fail to execute script

Thank you for creating an example with vue, I am looking for some easy way that I can have a custom layout to display my altair plots
I am not familiar with the front-end stack, so please don't mind if I ask stupid question.
I am using Ubuntu16.04.
Do I need to run all the command described in README? I cannot execute the script npm run dev, do I run that in the root directory?

vue init vuetifyjs/webpack altair-app
? Target directory exists. Continue? Yes
vue-cli · Failed to download repo vuetifyjs/webpack: Response code 404 (Not Found)

The README details on how this repo was setup. When you want to reproduce the contents, don't clone the repo, just follow the steps in the README.


[3.3] Reload Foxx routes during startup

See https://github.com/arangodb/arangodb/pull/7531

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/2309/


chore: upgrade linux lib fix trivy vuln

Codecov Report

Merging #206 (a879702) into develop (2f31738) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #206   +/-   ##
========================================
  Coverage    36.86%   36.86%
========================================
  Files           19       19
  Lines         1408     1408
========================================
  Hits           519      519
  Misses         889      889


When training from scratch on ian3 scene does not converge

GOOD JOB! I tried training the model from scratch, but the results I got were strange. Is there something wrong?
This is training script:
GPU=0 CUDA_VISIBLE_DEVICES=$GPU python training/exp_runner.py --conf ./confs/pretrain_flow.conf --gpu 0 --nepoch 2000 --is_pretrain_flow
This train result:

The result is expected since the pretraining is not training on ian3 but on a dummy ball that grows from 0.5m to 1.0m, see here. Then the next step after pretraining would use those pretrained network weights (defined here) to train on a real scene.
For me, revising the run.sh as below worked well in getting reasonable results on the hanggling_ b2 scene, I've also added a few comments based on my understanding:
# 1. Pre-training of the SDF Flow: Train on a dummy sphere that grows from radius 0.5 to 1.0 over the time horizon.
python -m training.exp_runner --conf confs/pretrain_flow.conf --gpu 0 --nepoch 2000 --is_pretrain_flow

# 2. Train the SDF Flow on a scane in the Total Capture dataset (the scene id is defined in the config)
python -m training.exp_runner --conf confs/total_capture.conf --gpus 2 --nepoch 2000 --is_dist --cancel_vis

# 3. Evaluate the trained SDF Flow

# 3.1. Create .ply files for the predicted geometry.
#         My results were saved to exps/total_capture_hanggling_b2/2024_04_24_10_31_25/runconf.conf
#         And I had stopped the training in step 2 after 300 epochs (as it was quite slow)
#         So I evaluate the checkpoint for epoch 300
#         But the results already look reasonable (qualitatively and quantitatively)
python -m training.exp_runner --conf exps/total_capture_hanggling_b2/2024_04_24_10_31_25/runconf.conf  --gpu 0 --cancel_vis --is_only_plot --is_continue --checkpoint 300

# 3.2. Evaluate the predicted geometry
python -m evaluation.eval_flow_geo --conf exps/total_capture_hanggling_b2/2024_04_24_10_31_25/runconf.conf --checkpoint 300 --timestamp 2024_04_24_10_31_25

# After 300 epochs:
# Mean Accuracy: 9.314097464084625
# Mean Completeness: 22.686426527798176

The result is expected since the pretraining is not training on ian3 but on a dummy ball that grows from 0.5m to 1.0m, see here. Then the next step after pretraining would use those pretrained network weights (defined here) to train on a real scene.
For me, revising the run.sh as below worked well in getting reasonable results on the hanggling_ b2 scene, I've also added a few comments based on my understanding:
# 1. Pre-training of the SDF Flow: Train on a dummy sphere that grows from radius 0.5 to 1.0 over the time horizon.
python -m training.exp_runner --conf confs/pretrain_flow.conf --gpu 0 --nepoch 2000 --is_pretrain_flow

# 2. Train the SDF Flow on a scane in the Total Capture dataset (the scene id is defined in the config)
python -m training.exp_runner --conf confs/total_capture.conf --gpus 2 --nepoch 2000 --is_dist --cancel_vis

# 3. Evaluate the trained SDF Flow

# 3.1. Create .ply files for the predicted geometry.
#         My results were saved to exps/total_capture_hanggling_b2/2024_04_24_10_31_25/runconf.conf
#         And I had stopped the training in step 2 after 300 epochs (as it was quite slow)
#         So I evaluate the checkpoint for epoch 300
#         But the results already look reasonable (qualitatively and quantitatively)
python -m training.exp_runner --conf exps/total_capture_hanggling_b2/2024_04_24_10_31_25/runconf.conf  --gpu 0 --cancel_vis --is_only_plot --is_continue --checkpoint 300

# 3.2. Evaluate the predicted geometry
python -m evaluation.eval_flow_geo --conf exps/total_capture_hanggling_b2/2024_04_24_10_31_25/runconf.conf --checkpoint 300 --timestamp 2024_04_24_10_31_25

# After 300 epochs:
# Mean Accuracy: 9.314097464084625
# Mean Completeness: 22.686426527798176

Thank you for your answer, I get it!


CM-25773 - Support TF Plan scans

@artem-fedorov @MichalBor @MarshalX @avishaiamiel please review

Improve README so it will look better (@MarshalX maybe you can help)

i think @anna-aleksandrowicz could help with it better than me

@EfratIsrael  pls re-request review when you will be ready


bug: UUID incremental replication keys cannot be compared with UUID-strings coming from the state

Singer SDK Version
0.41.0
Is this a regression?

[ ] Yes

Python Version
NA
Bug scope
Taps (catalog, state, etc.)
Operating System
NA
Description
When a SQL tap defines a UUID column as a replication key, the step where the value coming from the record and the value coming from the state dictionary are compared to increment the bookmark crashes because the >= operation is not supported between a uuid.UUID^1 instance and a string.
We can fix by simply adding a branch to
https://github.com/meltano/sdk/blob/ae7516b8a16d625c05258570c74e242f1cf64e88/singer_sdk/helpers/_typing.py#L40-L45
that checks for an instance of uuid.UUID and returns the stringified value. The resulting string-to-string comparison should be safe down to the millisecond.

[!NOTE]
This may be only be an issue in a very narrow set of use cases, in particular where the experimental sortable UUID Version 7^2 is enabled via database extensions, such as pg_uuidv7^3.

Related:

https://github.com/MeltanoLabs/tap-postgres/issues/519
https://github.com/meltano/sdk/issues/2753

Link to Slack/Linen
No response

Added this to the v0.42 milestone to indicate that we could backport it to a v0.42.1 if we get around to this quickly.

@nikzavada in particular let me know if this

The resulting string-to-string comparison should be safe down to the millisecond.

is accurate or if there's a risk of losing data by incrementing state when the underlying timestamp hasn't really moved.

@edgarrmondragon as we use the >= operator we should be safe even when the timestamp stays the same. The string-to-string comparison feels like a good solution here.
Thank you!

Closed by https://github.com/meltano/sdk/pull/2755


Need to add documentation for new properties in Advanced page

Please add documentation for recently added 'Copy ...' properties.

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

ID: 69b82557-4a26-70f9-c7ae-ca21c91318ec
Version Independent ID: d93c9b26-7bde-7186-0d27-b37ade129b3c
Content: Advanced Property Page (Project)
Content Source: docs/build/reference/advanced-property-page.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

Completed a year ago, but not closed at the time.


2020 virtual package conflicts with/replaces the 2019 unversioned package

Describe the bug
The original unversioned package for 2019 is intended to be replaced by a versioned 2019 package, using the Conflicts and Replaces NIPKG tags. Due to sharing a control file, the 2020 package also currently does this.
Expected behavior
Only the 2019 package should provide these tags.

Closing for now because the original submission was reverted.


Dataset SQL Expression Box in Metrics Tab Hard to Use

Screenshot

Description
The SQL expression box is now very small and extremely difficult to work with... can we fix this so that it's expandable?

Hello @jamesrayoub thanks for reporting this problem. I added a few labels to draw attention to this issue. In the meantime, you could use the legacy data editor that gives you more space to work with your SQL statements. Thank you!


docs: make thresholds on demo page configurable

docs: improve anchor scrolling
docs: make thresholds on demo page configurable

:tada: This PR is included in version 1.1.0-next.4 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


32bit release?

Hi.
Is it posible to add x86 release version?
I tried replace swyh to swyh-rs, but the atom device is using licensed 32bit windows that i would like to keep.

I'm sorry but I don't have a 32 bit system to test with. In theory I could try cross compiling but even if I succeeded to compile for 32 bit I would be unable to give any support if it doesn't work.

I added a 32 bit Windows binary build (target = i686-pc-windows-msvc) to the 1.3.17 pre-release in assets.
It runs on my 64 bit Windows, let me know if you run into any issues.

Hm.
Well, now it is started, i am able to choose my dlna renderer - it even switched to playing - but no sound produced.
Will try to look into more closelyat weekend.
`
Configuration { server_port: 5901, auto_resume: false, sound_source: "Динамики (Realtek High Definition Audio)", log_level: Info, ssdp_interval_mins: 1.0, auto_reconnect: false, disable_chunked: false, use_wave_format: false, monitor_rms: false, last_renderer: "LG TV [TV][LG]42LN655V-ZD", config_dir: "C:\Users\Anton\.swyh-rs" }
Setup audio sources
Now running at ABOVE_NORMAL_PRIORITY_CLASS
Capturing audio from: Динамики (Realtek High Definition Audio)
Default audio SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
Starting SSDP discovery
The streaming server is listening on http://<IP_ADDRESS>:5901/stream/swyh.wav
Sample rate: 48000, sample format: audio/l16 (PCM)
AV Stop playing on [TV][LG]42LN655V-ZD host=<IP_ADDRESS> port=1315
AV Start playing on [TV][LG]42LN655V-ZD host=<IP_ADDRESS> port=1315 from <IP_ADDRESS> using AvTransport Play
Received request /stream/swyh.wav from <IP_ADDRESS>:45102
Streaming audio/l16 (LPCM), input sample format F32, channels=2, rate=48000, disable chunked=false to <IP_ADDRESS>:45102
`

Enabled rms tick - it doesn't show levels. It looks like it doesn't capture audio for some reason.

From the log you enclosed I can see that no audio is being captured.
Capture is using WasAPI, what is your Windows version, what application is playing music, and to what device is it playing according to the Windows Audio Mixer?

This is windows 7 starter edition updated to sp1.
All available security updates installed.
It was Firefox esr with YouTube video, but I also tried vlc.
Not sure how can I check it with windows audio mixer, please point me here.

Windows 7 volume mixer: https://www.howtogeek.com/howto/5228/simple-tips-windows-7-volume-mixer-enables-quick-access-to-sound-settings/

Well, I have it there.
I also decide to change drivers to realtek, but that doesn't help. It might be there is something wrong with wasapi for my system and it's drivers?

You could try vb audio cable or vb audio hifi cable, they are known to work with WasAPI capture. You can use the volume mixer to only use vb audio for the app that you want to stream to the LG T V, leaving other sound on the default audio output. But I can not test on Windows 7 myself, I only have W10 and Linux.

I'll close this now.


There is no example code for CupertinoSliverRefreshControl

relevant page: https://api.flutter.dev/flutter/cupertino/CupertinoSliverRefreshControl-class.html
This can be tricky to setup, an example would be nice.

#60078

Still valid on the current stable channel since there is no example in the API docs in question.


Udate SCIM open beta

#2305  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @anle-statsig and the rest of your teammates on  Graphite

🚀 Deployed on https://6732a90c9f7552fb67116c93--cozy-fox-0defec.netlify.app


12.4.0 registers ANSI keys but ISO-DE is configured

I have everything configured to have a german ISO-DE keyboard, but the new 12.4.0 version registers the ANSI QWERTY keys as keypresses instead.
I can type just fine, but the EventViewer ist showing the wrong keys and my complex modifications on keys like Ö or Ä aren't working anymore because of this.
This started with the update to 12.4.0 and was working before.

The keylayout is not Karabiner-Elements issue.
Please check the following configuration:

macOS configuration. https://pqrs.org/osx/karabiner/document.html#configuration-keyboard-type
Your Input Source configuration.

Note:
EventViewer shows HID usage which are not related with charactor name of input source.
The HID usage is generally the key name of QWERTY layout (which are defined by USB-HID specification.)

The configurations are correct, only thing showing the wrong keys ist the EventViewer.
If this is intended behaviour, 12.4.0 broke my complex modifications somehow.


New USEALLAVAILABLECORES=true ?

Hello,
Just wanting to inform about something ...
there seems to be a new attribute --> arkflag_USEALLAVAILABLECORES=true
Should it now be :
-allcores
SO -->
arkflag_allcores=true
DESC : deprecated option to utilize all available server cores
I found this info on :
http://www.ark-survival.net/en/server-command-line-arguments-gameusersettings-ini-configuration/
Thanks for informing me

That lists both options.  It also lists the -UseBattlEye option and not the -NoBattlEye option (the former was replaced by the latter when BattlEye was changed from defaulting to off to defaulting to on).

So arkflag_USEALLAVAILABLECORES should still work correct ? No reason why it should not I guess !


ci: update readme with help message

If the help message in the README file is outdated, you will get an error and you will have to update the README.

Approved with @jossef


New translations translation.json (Portuguese)

Changes / Comments
Translation of City of Mist sheet to Portuguese(BR)
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Hello @shuanz ! Your Pull Request includes changes to translation files. Unfortunately, we no longer accept translations submitted outside of Crowdin. To learn more about Crowdin and how to submit translations through Crowdin, please see our article on How to Become a Translation Volunteer. Thanks for all you do!

Thank you, @SpencerMoore! I will!

Done


NPM repo of gltf-asset-auditor is not consistent with Git source

What
My team and I are working to integrate gltf-asset-auditor into our internal tool. We installed the npm module from<EMAIL_ADDRESS>but kept on getting issues with 'KHR_draco_mesh_compression' plugin in BabylonJS while loading glbs in @khronosgroup/gltf-asset-auditor\web-example.
On further analysis, I found that if we build @khronosgroup/gltf-asset-auditor from Github repo which does not contain 'KHR_draco_mesh_compression' in Line 463: await SceneLoader.AppendAsync('', glb.getBase64String(), this.scene, () => { }, 'KHR_draco_mesh_compression');, import and run that in web-example the code works perfectly.
On analyzing the node module, I saw that it contains 'KHR_draco_mesh_compression' in version 1.0.1 and not in 1.0.0 and the Github code does not.
Node Module -

Github Source Code

Solution
@MikeFesta Can you please push a new version to npm repository without 'KHR_draco_mesh_compression' in SceneLoader.AppendAsync()?
PS: Thank you for building this respository. Great work!

Thank you for that detailed analysis!
I think what happened is that I was testing fixes for the Draco compression bug after pushing to github and forgot to stash those changes when publishing to npm.
I just updated npm to version 1.0.2, which should be good to go. I'll keep the issue open for a few more days just in case.

Another suggestion I want to make is to tag the versions in git as and when they are released to npm. It would really help with following up on which code is live.


Attempt to improve carrier micro.

Needs verification that the performance actually increased from previous versions.

didn't work


[WIP] Fix windows image lists

PR template coming soon ™
https://github.com/rancher/rancher/issues/37577

=== RUN   TestGetExternalImages
--- PASS: TestGetExternalImages (10.09s)
=== RUN   TestGetExternalImages/k3s-test
time="2022-05-04T19:29:38-04:00" level=info msg="generating k3s image list..."
time="2022-05-04T19:29:40-04:00" level=info msg="finished generating k3s image list..."
    --- PASS: TestGetExternalImages/k3s-test (3.10s)
=== RUN   TestGetExternalImages/rke2-test
time="2022-05-04T19:29:41-04:00" level=info msg="generating rke2 image list..."
time="2022-05-04T19:29:46-04:00" level=info msg="finished generating rke2 image list..."


Update EmpiricalFunction show

Codecov Report
Attention: Patch coverage is 90.19608% with 5 lines in your changes missing coverage. Please review.

Project coverage is 79.41%. Comparing base (e700e69) to head (e525302).

Files with missing lines
Patch %
Lines

src/empirical.jl
90.19%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   72.87%   79.41%   +6.53%
==========================================
  Files          35       36       +1
  Lines         896      918      +22
==========================================
+ Hits          653      729      +76
+ Misses        243      189      -54

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


API error handling

While exploring the ephemeral environment, I discovered that the wizard breaks if activationKeys is undefined:
https://github.com/RedHatInsights/image-builder-frontend/blob/224df6de1729313a07ddcae2b8a7b1d7fbcb1b56/src/Components/CreateImageWizard/formComponents/ActivationKeys.js#L78
This issue can be fixed easily in this specific case by adding optional chaining (activationKeys?.map()) but in general we need to work on error handling for the growing number of external API calls we make.

We now have added Typescript, RTK Query, and our RTKQ hooks are programatically generated from the API spec files. Our API error handling is now much more robust. This can be considered accomplished.


Update Readme

Update the readme of the project with correct spellings and make it more presentable.
Update the screenshots with the latest UI of the application.

hey @sakshampruthi , can I assign me this issue

@PriyanshuPardhi24 Yes sure, Go ahead !