New project: could not find the file @herbsjs/herbs-cli/src/build/templates/knexFileTopostgres.ejs

Occurs an error when generating a new project with herbs new and selecting postgres as database. It says the template file  @herbsjs/herbs-cli/src/build/templates/knexFileTopostgres.ejs was not found.
To Reproduce

Run the following command to generate a new project: herbs new
Choose Postgres on What database do you want to use?

Expected behavior
The new project should be created succesfully.
Screenshots

Additional context
Herbs CLI version: 1.4.0
Operation System: Linux
Possible problem:
The file templates/knexFileTopostgres.ejs is actually named knexFileToPostgres.ejs, so the Linux file system can't find the file.

:tada: This issue has been resolved in version 1.4.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Best way to autostart onedrived-dev

Dear Developer,
What is the best way to start the "onedrived" app during start-up. I now added the command to the "Startup Applications Preferences" but I was wondering If it is not smarter to add the command to the default startup bash script? What way would you suggest?
Thanks a lot in advance,
Greetings,
Rick,

I don't think that this is an issue specific to this project.
Anyway, If your idea is to restrict this to only your user (what makes sense), this is the best place to put it. If you want to run it, no matter what user, then you will need to double check your files permission and add it on /etc/rc.local before the exit 0.

Ah, thanks a lot for your response :).


chore: validate onBlur and only conditionally onChange

Description of changes:

Validate on blur
Don't validate onChange unless there is error

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #635 (0f1fbf1) into tagged-release/forms-and-views (72f6d67) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@                        Coverage Diff                         @@
##           tagged-release/forms-and-views     #635      +/-   ##
==================================================================
+ Coverage                           89.79%   89.80%   +0.01%
==================================================================
  Files                                  96       96
  Lines                                3576     3581       +5
  Branches                              966      966
==================================================================
+ Hits                                 3211     3216       +5
  Misses                                339      339
  Partials                               26       26

Impacted Files
Coverage Δ

...codegen-ui-react/lib/forms/form-renderer-helper.ts
90.51% <100.00%> (+0.42%)
:arrow_up:

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 72f6d67...0f1fbf1. Read the comment docs.


Rename utf16 → ucs2

Since JavaScript uses UCS-2 encoding (which is not exactly the same as UTF-16) we should probably rename the utf16 object (with the encode and decode functions) into ucs2.

Q: What is the difference between UCS-2 and UTF-16?
A: UCS-2 is obsolete terminology which refers to a Unicode implementation up to Unicode 1.1, before surrogate code points and UTF-16 were added to Version 2.0 of the standard. This term should now be avoided.
UCS-2 does not define a distinct data format, because UTF-16 and UCS-2 are identical for purposes of data exchange. Both are 16-bit, and have exactly the same code unit representation.
Sometimes in the past an implementation has been labeled "UCS-2" to indicate that it does not support supplementary characters and doesn't interpret pairs of surrogate code points as characters. Such an implementation would not handle processing of character properties, code point boundaries, collation, etc. for supplementary characters.

Also:
 [23:50:20] <TabAtkins> Be precise: JS uses UCS-2, not UTF-16.
 [23:52:03] <leaverou> TabAtkins: I'm pretty sure I saw UTF-16 in the spec. What's UCS-2?
 [23:52:50] <TabAtkins> leaverou: UCS-2 was an older version of what became UTF-16. Difference is that UCS-2 is *always* 2-byte units, like JS has.  UTF-16 has variable-width characters, as some are two-byte and some are four-byte.
 [23:53:52] <jdalton> http://es5.github.com/#x2
 [23:54:46] <TabAtkins> Right.  JS, as an instantiation of ES, uses UCS-2.
 [23:59:05] <jdalton> i was merely pointing to it in spec ;P
 [00:00:53] <TabAtkins> Heh, kk.

@jdalton, thoughts?

yap, do it to it.

I looked into the differences between UCS-2 and UTF-16 a bit more… And it seems UTF-16 is actually the appropriate description here.


Roll engine 9aa7c9a48e93..1bb2c0cf0697 (6 commits)

https://github.com/flutter/engine/compare/9aa7c9a48e93...1bb2c0cf0697
git log 9aa7c9a48e9342a450c3078e15c8d7923a338ede..1bb2c0cf06977f0aed2190347a08f58c71871e6b --no-merges --oneline
1bb2c0cf0 Remove unused import in FlutterActivityDelegate (flutter/engine#8563)
ad04340e5 Add missing <memory> include to text_input_model.h (flutter/engine#8562)
fcd717e28 Update README.md to point to flutter.dev (flutter/engine#8557)
501892a92 Roll src/third_party/skia 35f1c154c5e5..25071cc52b4b (7 commits) (flutter/engine#8560)
db99c86ab Roll src/third_party/skia 41476708db86..35f1c154c5e5 (1 commits) (flutter/engine#8559)
a88cd8032 Roll src/third_party/skia f74fff660084..41476708db86 (1 commits) (flutter/engine#8558)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.

AutoRoller is stopped; closing the active roll.


pull request for e2e test at 11/27/2016 16:56:04

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Remove version: Tencent.QQMusic version 19.02

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: http://dldir1.qq.com/music/clntupate/QQMusic_Setup_1902.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)

URL: http://dldir1.qq.com/music/clntupate/QQMusic_Setup_1902.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)


Add 'next' version documentation

This adds the 'next' version of the docs to the website alongside previous and current versions.
I have not updated the 'default' version, so a user will need to explicitly select this.
I chose next instead of the specific version because otherwise we'll break links when we promote a version from v0.14-docs/ to docs/. At least this way we never break a URL once we introduce it (provided we never 'break' a URL when we remove a page, and instead replace it with a redirect).
/assign @meyskens

/lgtm


feat(web/applications): create ui for the file uploader

Describe your changes

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

@lutamKC let's have a chat about the folder structure of this - it is going to be reused in the Appeals section as well so it makes sense to have it sitting outside Applications


Support for /v2/_catalog calls on non-admin accounts

Description
Current implementation forbids /v2/_catalog calls to non-admin users (source). Can it be modified to -at least- show repositories in which the user has pull rights?
Steps to reproduce

Configure namespaces' visibility:

global namespace: anyone can pull
ns1: logged-in users can pull
ns2: ns2-team members can pull

Call /v2/_catalog with an admin user:

~$ REGISTRY=xxx
~$ SCOPE="registry:catalog:*"
~$ TOKEN=$(curl -s --user "admin:xxx" "https://${REGISTRY}/v2/token?service=${REGISTRY}&scope=${SCOPE}" | jq -e -r '.token')
~$ curl -s -H "Authorization: Bearer ${TOKEN}" "https://${REGISTRY}/v2/_catalog"
{"repositories":["hello-world", "ns1/hello-world", "ns2/hello-world"]}

Call /v2/_catalog with a non-admin user:

~$ TOKEN=$(curl -s --user "user:xxx" "https://${REGISTRY}/v2/token?service=${REGISTRY}&scope=${SCOPE}" | jq -e -r '.token')
~$ curl -s -H "Authorization: Bearer ${TOKEN}" "https://${REGISTRY}/v2/_catalog"
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"registry","Class":"","Name":"catalog","Action":"*"}]}]}

Expected behaviour: the user -who does not belong to any team- should be able to see hello-world and ns1/hello-world
Actual behaviour: 401 Unauthorized

Deployment information
Deployment method: docker-compose
Portus version: opensuse/portus:2.3 (ID: 9cbab1e53959)

I'm really not sure about this one. Calling /v2/_catalog semantically speaking means that you want to fetch all the catalog. When this request goes to Portus, it's all or nothing: there's no way to filter this, the registry will return everything on success.
Hence, technically speaking it might not be doable from the Registry's standpoint with this setup. That being said, why don't you use Portus' API for this? Take a look at the documentation here. It will allow you, for any user, to fetch the namespaces available, images, etc. The API is not finished yet, so feedback is welcome if you need something more from it :smile:

Yay! The Portus API seems to do exactly what I were trying to achieve :smiley:
As you pointed out, it is more related to the Registry than to Portus, so I guess this issue can be closed. Thanks @mssola!


Dependency on Autofac 4.6 not required

My current project has a strict dependency on the maximum version of Autofac being 4.4. I'd like to use Tweetinvi, but I can't because it has a dependency on Autofac 4.6.
However, this doesn't seem to be a strict dependency, because the project builds fine with Autofac 4.4.
Is it possible to lower the Autofac minimum version dependency to 4.4?

I will investigate but I am not sure this is possible for all the platforms. Usually I check to ensure that all type of platforms are supported and work as expected.

In the meantime, I would suggest that you download Tweetinvi and compile it on your side.
The project is very easy to build ;)

@linvi I am trying to build the project using MS VS Enterprise 2017 and getting error related to The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.. Also not able to change the netstandard version. I wanted to change tweetinvi, .net framework to 4.7.1.

Hello. I have tried reinstalling and compiling with VS 2017 and did not get any issue.
Have you installed the netstandard/encore sdk?

No. I wanted to use it with .Net Framework 4.7.1 and existing Nuget package not compatible, so need to upgrade it.
Can you please share the link to install netstandard/encore sdk?
I changed the csproject file and able to build some solution but whole solution not compiling successfully

Tweetinvi is fully based on netstandard which is compatible with .NET framework. Go to Visual Studio installer and when modifying you should have options.
I am not on my computer right now but this is fairly simple to find.

If I am trying to utilise Nuget package latest version on .net framework 4.7.1 based project then it's not allowing,due to lesser version of Tweetinvi.
You can check.

In VS 2017 it's giving me error to add reference of netstandard 2.0 assembly but not able to change version from manage Nuget package options because upgrade option disable for higher version.

Tweetinvi is currently building towards .NET Standard 1.4.
It is therefore compatible with .NET Framework 4.7.1.
If you are trying to build tweetinvi you just need to install the SDK...
https://docs.microsoft.com/en-us/dotnet/standard/net-standard

As per table compatibility with .net framework 4.7.1 not mentioned for .net standard.

.net standard 1.4 supports all versions of .net framework above 4.6.1.

The following table lists the minimumplatform versions that support each .NET Standard version. That means that later versions of a listed platform also support the corresponding .NET Standard version. For example, .NET Core 2.2 supports .NET Standard 2.0 and earlier.

It's not, please try creating the 4.7.1 based project and use the Nuget package

In addition

For .NET Framework projects that need to use such libraries, we recommend that you upgrade the project to target .NET Framework 4.7.2 or higher.

Tried without any problem on version 4.7.1.

With Nuget package?
BR,
Amit Kumar
Sent from Mobile. Please ignore typos & brevity.

From: linvi<EMAIL_ADDRESS>Sent: Thursday, September 26, 2019 12:56:20 PM
To: linvi/tweetinvi<EMAIL_ADDRESS>Cc: Amit Kumar<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [linvi/tweetinvi] Dependency on Autofac 4.6 not required (#722)
Tried without any problem on version 4.7.1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/linvi/tweetinvi/issues/722?email_source=notifications&email_token=AGYRRK7EPQMF77MZ3OS637TQLRPZZA5CNFSM4FGZBYT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7UTAKQ#issuecomment-535375914, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGYRRK3LQLLF4CSOUDYLQQDQLRPZZANCNFSM4FGZBYTQ.

I converted the code for .net framework 4.7.1 by changing the csproject files but i am getting authenticatedUser = Id = 18, Status = WaitingForActivation, Method = "{null}", Result = "{Not yet computed}" response while var authenticatedUser = UserAsync.GetAuthenticatedUser(creds);
Any pointers to resolve this issue?

@AmitKumar-AK sorry but you need to understand how to use .NET for using this library. Please read more about .NET.
In the meantime for your question :
// this is returning a Task<IAuthenticatedUser> so you need to await for the result
var authenticatedUser = await UserAsync.GetAuthenticatedUser(creds);

// or use non async  methods
var authenticatedUser = await User.GetAuthenticatedUser(creds);

I followed below mentioned code but still getting null for authenticated user in ASP.NET MVC Project:
[ActionName("About")]
public async Task SearchAsyncTweetinvi()
{
ViewBag.Message = "Your application description page.";
IAuthenticatedUser x;
string CONSUMER_KEY = "";
string CONSUMER_SECRET = "";
string ACCESS_TOKEN = "";
string ACCESS_TOKEN_SECRET = "";
var creds = new TwitterCredentials(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
var authenticatedUser = await UserAsync.GetAuthenticatedUser(creds);
x = authenticatedUser;
		return View();
	}

Hi. null means something went wrong. To receive more information you can disable the ExceptionHandler as explained here : https://github.com/linvi/tweetinvi/wiki/Exception-Handling#global-application-handling-mechanism.
Let me know what the error is and I will be able to help you further.

((System.Exception)latestException).Message = The underlying connection was closed: An unexpected error occurred on a send.
((Tweetinvi.Exceptions.TwitterException)latestException).TwitterDescription coming as null.

((System.Exception)latestException).Message = The underlying connection was closed: An unexpected error occurred on a send.
((Tweetinvi.Exceptions.TwitterException)latestException).TwitterDescription coming as null.
Qury url : https://api.twitter.com/1.1/account/verify_credentials.json?skip_status=true&include_entities=true&include_email=true

Hi,
Please check this one out : https://github.com/linvi/tweetinvi/wiki/ASP.NET-consideration
Cheers,
Linvi

ex = {"https://api.twitter.com/1.1/account/verify_credentials.json?skip_status=true&include_entities=true&include_email=true web request timed out."}
Twitter was not able to perform your query within the Timeout limit of 10000 ms.

Did this get solved?

Not yet. I am planning to spin up the Win Azure VM and will try inside that to check the n/w error. May be organisation firewall blocking the request to twitter api's.

Any luck here with the firewall?

Not tried yet in VM. Will update you.


LSP Stop working

Description
When writing code, lsp stops working periodically
For example, I want to import a library from cmp hints
Here's an example

Everything works as it should
But if I work with the code for a while, it stops working.

If I run the :LspStop command and then :LspStrat, everything starts working again
and :LspLog has errors
[START][2023-08-22 18:34:47] LSP logging initiated
[ERROR][2023-08-22 18:34:47] ...lsp/handlers.lua:535	"[tsserver] Exited. Code: null. Signal: SIGABRT"
[ERROR][2023-08-22 19:28:40] ...lsp/handlers.lua:535	"Notification handler 'textDocument/didChange' failed with message: TS client not created. Did you forget to send the \"initialize\" request?"
[ERROR][2023-08-22 19:28:43] ...lsp/handlers.lua:535	"Notification handler 'textDocument/didChange' failed with message: TS client not created. Did you forget to send the \"initialize\" request?"

Tried different lsp settings but nothing helps. Although on another computer everything works as it should.
Neovim version
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
Nvim-lspconfig version
No response
Operating system and version
macOS 13.4.1
Affected language servers
tsserver
Steps to reproduce
Here are my configs
lsp.lua
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
-- Sntup language servers.
local lspconfig = require("lspconfig")
-- lspconfig.pyright.setup {}
lspconfig.tsserver.setup({})
lspconfig.prismals.setup({})
lspconfig.cssls.setup({capabilities = capabilities})

-- lspconfig.golangci_lint_ls.setup {}

-- Global mappings.
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
vim.keymap.set("n", "<leader>lD", vim.diagnostic.open_float)
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
vim.keymap.set("n", "<leader>ld", vim.diagnostic.setloclist)

-- Use LspAttach autocommand to only map the following keys
-- after the language server attaches to the current buffer
vim.api.nvim_create_autocmd("LspAttach", {
    group = vim.api.nvim_create_augroup("UserLspConfig", {}),
    callback = function(ev)
        -- Enable completion triggered by <c-x><c-o>
        vim.bo[ev.buf].omnifunc = "v:lua.vim.lsp.omnifunc"

        local opts = {buffer = ev.buf}
        vim.keymap.set("n", "gD", vim.lsp.buf.declaration, opts)
        vim.keymap.set("n", "gk", vim.lsp.buf.hover, opts)
        vim.keymap.set("n", "gs", function()
            vim.diagnostic.open_float(0, {scope = "line"})
        end, opts)
        vim.keymap.set("n", "gi", vim.lsp.buf.implementation, opts)
        vim.keymap.set("n", "<C-k>", vim.lsp.buf.signature_help, opts)
        vim.keymap.set("n", "<M-CR>", require("actions-preview").code_actions)
        -- vim.keymap
        --     .set('n', '<Leader>sa', vim.lsp.buf.add_workspace_folder, opts)
        -- vim.keymap.set('n', '<Leader>sr', vim.lsp.buf.remove_workspace_folder,
        --                opts)
        -- vim.keymap.set('n', '<Leader>sl', function()
        --     print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
        -- end, opts)
        -- vim.keymap.set('n', '<Leader>D', vim.lsp.buf.type_definition, opts)
        vim.keymap.set("n", "<Leader>lr", vim.lsp.buf.rename, opts)
        -- vim.keymap.set({ "n", "v" }, "<Leader>la", vim.lsp.buf.code_action, opts)
        -- vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
        vim.keymap.set("n", "<Leader>lf",
                       function() vim.lsp.buf.format({async = true}) end, opts)
        vim.keymap.set("n", "<leader>li", function()
            local params = {
                command = "_typescript.organizeImports",
                arguments = {vim.api.nvim_buf_get_name(0)},
                title = ""
            }
            vim.lsp.buf.execute_command(params)
        end, opts)
    end
})

cmp.lua
local cmp = require 'cmp'

cmp.setup({
    snippet = {
        -- REQUIRED - you must specify a snippet engine
        expand = function(args)
            vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users.
            -- require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
            -- require('snippy').expand_snippet(args.body) -- For `snippy` users.
            -- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users.
        end
    },
    window = {
        completion = cmp.config.window.bordered(),
        documentation = cmp.config.window.bordered()
    },
    mapping = cmp.mapping.preset.insert({
        ['<C-b>'] = cmp.mapping.scroll_docs(-4),
        ['<C-f>'] = cmp.mapping.scroll_docs(4),
        ['<C-Space>'] = cmp.mapping.complete(),
        ['<C-e>'] = cmp.mapping.abort(),
        ['<CR>'] = cmp.mapping.confirm({select = true}),
        ["<Tab>"] = cmp.mapping(function(fallback)
            if cmp.visible() then
                cmp.select_next_item()
            else
                fallback()
            end
        end, {"i", "s"}),
        ["<S-Tab>"] = cmp.mapping(function(fallback)
            if cmp.visible() then
                cmp.select_prev_item()
            else
                fallback()
            end
        end, {"i", "s"})
    }),
    sources = cmp.config.sources({
        {name = 'nvim_lsp'}, {name = 'vsnip'} -- For vsnip users.
    }, {{name = 'buffer'}, {name = 'nvim_lsp_signature_help'}})
})

-- Set configuration for specific filetype.
cmp.setup.filetype('gitcommit', {
    sources = cmp.config.sources({
        {name = 'cmp_git'} -- You can specify the `cmp_git` source if you were installed it.
    }, {{name = 'buffer'}})
})

-- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline({'/', '?'}, {
    mapping = cmp.mapping.preset.cmdline(),
    sources = {{name = 'buffer'}}
})

-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline(':', {
    mapping = cmp.mapping.preset.cmdline(),
    sources = cmp.config.sources({{name = 'path'}}, {{name = 'cmdline'}})
})

-- Set up lspconfig.
local capabilities = require('cmp_nvim_lsp').default_capabilities()
require('lspconfig')['tsserver'].setup {capabilities = capabilities}

Actual behavior
The lsp server drops all the time
Expected behavior
No response
Minimal config
I tried different configs and came to the conclusion that it doesn't depend on the config

LSP log
https://gist.github.com/mr-scrpt/1f780d2cf365a3e51ae1bd928bdad365#file-lsp-log

I can't reproduce and please try the min config that we provide

I can't reproduce and please try the min config that we provide

Thank you for your response. You will not be helped by my config, I tried it on two other devices and everything works there without any problems. I just can't understand what exactly is breaking, I'm not good with vim and don't know how to properly debug the whole process to find the cause of this behavior. Perhaps you could suggest how to debug properly to localize the problem?
I think it's about third-party packages - maybe node.js or something else.

I can't reproduce and please try the min config that we provide

Here I have built a config from scratch and it is showing this problem
https://github.com/mr-scrpt/dotfile_mac/tree/minimal_conf/nvim
Also I checked the project in vscode on which the problem is observed and in vscode everything works fine. So I conclude that it is still on the side of vim and its plugins

there has min config https://github.com/neovim/nvim-lspconfig/blob/master/test/minimal_init.lua

I encountered the same issue when I tried to navigate from one monorepo repository to another monorepo repository using "go to definition".

Thanks for your report. The configs in this repo are unsupported and provided only as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and send improvements.
If you found a bug in the core Nvim  vim.lsp module (not part of this repo), the best way to get it fixed is to report to Nvim (not nvim-lspconfig) with:

steps to reproduce it without the particular LSP server and other factors particular to your environment
(optional, but very helpful): by adding a failing test case to lsp_spec.lua, which has code to setup a fake LSP server to simulate various scenarios


the tutorial is outdated

I got error in init steps.
Minhs-MacBook-Pro:substratekitties minhdoan$ ./scripts/init.sh
*** Initializing WASM build environment
info: syncing channel updates for 'nightly-x86_64-apple-darwin'

  nightly-x86_64-apple-darwin unchanged - rustc 1.40.0-nightly (87cbf0a54 2019-11-01)

info: checking for self-updates
info: syncing channel updates for 'stable-x86_64-apple-darwin'

  stable-x86_64-apple-darwin unchanged - rustc 1.38.0 (625451e37 2019-09-23)

info: checking for self-updates
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
/Users/minhdoan/.cargo/bin/wasm-gc
Minhs-MacBook-Pro:substratekitties minhdoan$ ./scripts/build.sh
Building webassembly binary in runtime/wasm...
    Updating git repository `https://github.com/paritytech/substrate.git`
error: failed to load source for a dependency on `srml-aura`

Caused by:
  Unable to update https://github.com/paritytech/substrate.git?branch=v1.0#fc206f3a

Caused by:
  failed to fetch into /Users/minhdoan/.cargo/git/db/substrate-7e08433d4c370a21

Caused by:
  failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
  no authentication available
Minhs-MacBook-Pro:substratekitties minhdoan$ cargo build --release
    Updating git repository `https://github.com/paritytech/substrate.git`
error: failed to load source for a dependency on `substrate-basic-authorship`

Caused by:
  Unable to update https://github.com/paritytech/substrate.git?branch=v1.0#fc206f3a

Caused by:
  failed to fetch into /Users/minhdoan/.cargo/git/db/substrate-7e08433d4c370a21

Caused by:
  failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
  no authentication available

The init.sh script worked as expected. The build.sh script failed. The cargo build --release also failed which is not surprising since the second step already failed. The error messages are
Caused by:
  failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
  no authentication available

are you able to git clone https://github.com/paritytech/substrate.git manually? Seems like maybe git only wants to use ssh.

This sounds like an intermittent issue with your network. @mikedoan can you confirm you are still able to reproduce?

Please feel free to reopen if you have not solved this issue :)


[Bug]: Right nav menu elements are initially hidden on https://beam.apache.org/get-started/

What happened?
Steps to reproduce:
Open the website https://beam.apache.org/get-started/
Look at the right nav menu
Actual result: no bullet points, elements are hidden. User should scroll the page to see them
Expected result: elements are visible, no scroll needed
Same bug is present on https://beam.apache.org/documentation/basics/

Issue Priority
Priority: 3
Issue Component
Component: website

.take-issue


KAFKA-12508: Emit records with same value and same timestamp

Emit on change introduced in Streams with KIP-557 might lead to
data loss if a record is put into a source KTable and emitted
downstream and then a failure happens before the offset could be
committed. After Streams rereads the record, it would find a record
with the same key, value and timestamp in the KTable (i.e. the same
record that was put into the KTable before the failure) and not
forward it downstreams. Hence, the record would never be processed
downstream of the KTable which breaks the at-least-once
processing guarantee.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review: @vvcephei, @ableegoldman, @mimaison

One unrelated test failure: kafka.server.ListOffsetsRequestTest.testResponseIncludesLeaderEpoch()
Merging now

Merged to trunk and cherrypicked back to 2.6 & 2.7. Waiting for @vvcephei to approve this blocker before merging to 2.8
The integration test was relying on the new uncaught exception handler which does not exist prior to 2.8, so I replaced that with just using two StreamThreads. This should have the exact same effect

Cherrypicked to 2.8 cc @vvcephei


Last fixes to contributors manual

@daren-thomas i worked intensively in the contributors manual and would need your help to finish the next sections for the milestone. would you mind taking care of them?

Quick start Team convention / Communication / Github
Architecture
Architecture / Code structure
Architecture / Workflow

@daren-thomas would this be ok?

Sure. I'll work on it.

Moving this to the next milestone because I don't think I'll get it done in this one in time.

Architecture / Workflow: how do the modules interconnect with each other?


Revert "Implement Guarded Route Feature for Enhanced Security"

Reverts iotum/iotum-samples#26

removing the hardcoding of iotum.callbridge.rocks is a good thing that ought to be restored, but separately from the other things changed in #26


Build multi-arch docker images

Signed-off-by: Prabhu Jayakumar<EMAIL_ADDRESS>Fixes flyteorg/flyte#2935

@evalsocket , what's the best way to test this change?

@prabhu43 Please create a draft PR in flyteadmin/propeller, You just need to add your branch name here https://github.com/flyteorg/flyteadmin/blob/master/.github/workflows/checks.yml#L23, And then please first check all the PR checks
For the Merge pipeline, please fork the admin and make all the changes needed for using your branch and then test.
cc: @eapolinario

Hi @evalsocket
I forked this repo and worked on it. Shall I refer forked repo "prabhu43/flytetools" in the separate branch in flyteadmin ?

@evalsocket Do you mean checks should run in the fork itself? What secret should I add in the fork of flyteadmin?

Please add these secrets https://github.com/flyteorg/flyteadmin/blob/master/.github/workflows/checks.yml#L71-L72

this has been fixed.  thanks!


Byte range statements are contradictory

[Enter feedback here]
Here are statements in this page:

You can upload the entire file, or split the file into multiple byte ranges, as long as the maximum bytes in any given request is less than 60 MiB.
If your app splits a file into multiple byte ranges, the size of each byte range MUST be a multiple of 320 KiB (327,680 bytes).
A byte range size of 10 MiB for stable high speed connections is optimal.
The recommended fragment size is between 5-10 MiB.
Use a byte range size that is a multiple of 320 KiB (327,680 bytes).

and then with all of these confusing statements, the example on this page uses a 26 byte range as it uploads bytes 0 through 25.  I am confused.

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

ID: c42d74d1-8c6f-5282-9fba-30fdd6449362
Version Independent ID: 88bd8f18-730d-6970-8a02-641346661404
Content: driveItem: createUploadSession - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/driveitem-createuploadsession.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: MSGraphDocsVteam

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Error for some resources while make run

What happened?
Will have error ror the make run command after adding test resources:

Reproduced now for next resources: azurerm_cdn_frontdoor_firewall_policy
azurerm_cdn_frontdoor_security_policy, azurerm_storage_account_customer_managed_key
add resources to the config/externalname.go
make generate
apply crd
4.make run

make run failed:
17:17:45 [ .. ] go build linux_amd64
package github.com/upbound/provider-azure/cmd/provider
imports github.com/upbound/provider-azure/apis
imports github.com/upbound/provider-azure/apis/alertsmanagement/v1beta1
imports github.com/upbound/provider-azure/apis/insights/v1beta1
imports github.com/upbound/provider-azure/apis/compute/v1beta1
imports github.com/upbound/provider-azure/apis/network/v1beta1
imports github.com/upbound/provider-azure/apis/cdn/v1beta1
imports github.com/upbound/provider-azure/apis/network/v1beta1: import cycle not allowed
17:17:47 [FAIL]
make: *** [go.build] Error 1
How can we reproduce it?

Reproduced now for next resources: azurerm_cdn_frontdoor_firewall_policy
azurerm_cdn_frontdoor_security_policy, azurerm_storage_account_customer_managed_key
add resources to the config/externalname.go
make generate
apply crd
4.make run

Actual result: Have an error  "import cycle not allowed 17:17:47 [FAIL]"
What environment did it happen in?

Provider Name: provider-azure
Provider Version: 3.41.0

The issue still reproduced:
make run
15:41:26 [ .. ] go build linux_amd64
package github.com/upbound/provider-azure/cmd/provider
imports github.com/upbound/provider-azure/apis
imports github.com/upbound/provider-azure/apis/alertsmanagement/v1beta1
imports github.com/upbound/provider-azure/apis/insights/v1beta1
imports github.com/upbound/provider-azure/apis/compute/v1beta1
imports github.com/upbound/provider-azure/apis/network/v1beta1
imports github.com/upbound/provider-azure/apis/cdn/v1beta1
imports github.com/upbound/provider-azure/apis/network/v1beta1: import cycle not allowed
15:41:28 [FAIL]
make: *** [go.build] Error 1


Improve logic to scrape data, target to achieve is to get >10K words

Logic to get the standard Json is already written in /docs/scripts/Scraping_Logic.ipynb. The aim is to get better scraping logic which will increase our dataset to be produced as a dictionary.
The standard json is expected in the following format:
[
    "satisfaction": {
        "word": "satisfaction",
        "meaning": [
            {
                "value": "A giving of something in order to release oneself from, or to satisfy, some outstanding obligation, be it legal or moral. Satisfaction requires the giving of one thing for another and should be distinguished from performance, which requires only the promising to give something. Also, payment in full, done to fulfill a contractual obligation or debt",
                "type": "NOUN",
                "index": 1
            }
        ]
    }
]


422 Adding In Service Alert component

The system uses alerts on occasion, these have now been styled for error (failure), warning, success and notice alerts
As there is no GOVUK component for this, we created our own component and styled it

LGTM :shipit:


xen-dom-mgmt: Use correct domid for domain_post_create

Currently, when domid auto allocation is used, we pass 0 to domain_post_create, causing it to fail. Fix this by returning the allocated domid from domain_create and passing it to domain_post_create.

Reviewed-by: Grygorii Strashko<EMAIL_ADDRESS>

Actually this is not compatible neither with xrun neither with aos where domain_create return value  is checked as !ret


A core dump occurs during TCP communication.

进程间正常 tcp 通信
type masterProcessSlave struct {
	conn            net.Conn
}

func (sc *masterProcessSlave) ProcessSlaveMsg() {
	if sc.conn != nil {
		br := bufio.NewReader(sc.conn)
		dec := json.NewDecoder(br)
		var exit bool
		for {
			if exit {
				break
			}
			var content Message
			err := dec.Decode(&content)
			if err != nil {
				fmt.Println(err)
				panic(sc.SlaveLabel + " lost connected")
			}
			fmt.Println(content)
               }
      }
}

func masterProcessSlave(listen net.Listener) {
	for {
		client, err := listen.Accept()
		if err != nil {
			panic(err)
		}
		slave := tcp.NewMasterProcessSlave(client)
		go slave.ProcessSlaveMsg()
	}
}

func (s *SlaveProcessMaster) SendMsgToMaster(no MsgNo, data []byte) {
	if s.conn != nil {
		req := &Message{MsgNo: no, Data: data}
		bytes, err := json.Marshal(req)
		if err != nil {
			panic(errstd.JsonSerializerErr)
		}
		_, errTcp := s.conn.Write(bytes)
		if errTcp != nil {
			fmt.Printf("send master err %v", errTcp)
			panic(errstd.CommunicationErr)
		}

	}
}

What did you see happen?
 The receiving-end page terminal reports EOF, and the sending-end process experiences coredump. The stack information is as follows. The IP address used for communication is <IP_ADDRESS>.
(gdb) bt
#0  0x0000000000572350 in net.init () at /usr/local/go/src/net/addrselect.go:231
#1  0x00007fc8c8709c58 in ?? ()
#2  0x00007ffd24f38d90 in ?? ()
#3  0x0000000000465361 in runtime.name.name (n=..., ~r0=...) at /usr/local/go/src/runtime/type.go:459
#4  0x00007fc8c8709c20 in ?? ()
#5  0x0000000000000000 in ?? ()
What did you expect to see?
The service is normal.

Related Issues and Documentation

net/http: panic at Transport.roundTrip getConn #55127
Segfault when writing to a TCPCon #277 (closed)
sync/atomic: generalCAS64 broken #6440 (closed)
net: panic: runtime error: invalid memory address or nil pointer dereference #36357 (closed)
json crash on {} input #1017 (closed)
net/http or io: panic (reduced test case included) #7848 (closed)
net/http: crash in Transport.queueForIdleConn(...) #42810 (closed)
runtime: panic in conn.ok() #41694 (closed)
Go DLL with net package cause random panic #54644 (closed)
net: deadlock connecting to erroneous listener #46392 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

1.20 isn't a supported release anymore.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


heap snapshot format is broken by unboxed fields

Heap snapshot serializer assumes that pointers form a continous region inside the object, but this is not the case with unboxed fields.
This causes a skew between field names and outgoing references when viewing profiles.
/cc @mkustermann @rmacnak-google @bkonyi

/cc @bkonyi


Can't remove dockge agents

⚠ Please verify that this bug has NOT been reported before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Maybe I'm missing something, but I can't remove a dockge agent.  This causes errors to appear in the log.

👟 Reproduction steps

Install dockge on two different machines
Link them together via the UI (Home / Add Agent)
Destroy the remote instance, should become unavailable
Cannot delete the agent.

👀 Expected behavior
Need a trash bin icon next to the name to delete the agent.
😓 Actual Behavior
Not possible to delete agent
Dockge Version
1.4.2
💻 Operating System and Arch
Docker / Linux
🌐 Browser
Firefox
🐋 Docker Version
27.1.1
🟩 NodeJS Version
No response
📝 Relevant log output
2024-10-22T14:49:21Z [AGENT-MANAGER] ERROR: Error from the socket server: hoarder.lan:5001

I was unable to reproduce the issue. Do you have any other reproduction steps to provide, or could you clarify how Docker was installed/launched?

I see that you're using the white theme, which is normally not available. Check if the button is just not visible because of that.

After some tests, the issue does indeed come from the white theme. I recommend resetting Docker to its default theme.

Cool... would do that if I could figure out how.  Where is the light/dark setting?

I was unable to reproduce the issue. Do you have any other reproduction steps to provide, or could you clarify how Docker was installed/launched?

I see that you're using the white theme, which is normally not available. Check if the button is just not visible because of that.

Can confirm this is the problem.  I am able to remove the agent by clicking the invisible trash can to the right.

Cool... je le ferais si je pouvais comprendre comment. Où est le réglage clair/obscur ?

Normally, the setting is not available, and the dark theme is applied by default 🤨 Do you have a browser plugin that changes the theme? If not, try switching your browser to dark mode to see if it makes a difference.

I'm not running any browser plugin and the mode is set to automatic.  Forcing the browser to dark mode doesn't change the behavior, but I did notice if I open in in "private" mode (which has a different color scheme), dockge does in fact use dark mode.
Quite strange as I have another dockge instance (one of the agents), and connecting directly brings it up in dark mode.
Running Firefox on Windows 11, latest version.

I have never encountered this issue. I will try to conduct more in-depth tests to reproduce the problem

Happy to help if you need it. Quite strange. I am not sure how dockge decides light vs dark theme. If you can tell me, maybe I can assist.

Normally, in the code, Docker is supposed to force the dark theme... It shouldn’t switch to the white theme or automatically choose a theme

Try to clear localStorage and refresh.
https://www.leadshook.com/help/how-to-clear-local-storage-in-google-chrome-browser/
Since the core is very similar to Uptime Kuma, if you had ever hosted Uptime Kuma on same port and same hostname, Dockge could use Uptime Kuma's settings. Just my guess.


[WIP] Support multiOpeReg with same Operator

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #635
TODO:

[ ] Unit Test
[ ] e2e test

/test e2e-test-kind-operand-deployment-lifecycle-manager-amd64

@Daniel-Fan: The following test failed, say /retest to rerun them all:
Test name	Commit	Details	Rerun command
kind-e2e-test-operand-deployment-lifecycle-manager-amd64	b7eb385 link /test e2e-test-kind-operand-deployment-lifecycle-manager-amd64

The issue could be solved after PR https://github.com/IBM/operand-deployment-lifecycle-manager/pull/640 is merged and rebase on that PR>

@horis233
Please take a look at the above two comments when you are available, really appreciated it!

Anyway, I still add the unit test for supporting multi registry. following the correct logic, now It could pass the test on prow.
Also I manually go through the test procedure on the cluster, it has the normal behavior.
But it is still weird that sometimes jenkins operator could pass both positive and negative tests about checking its existence.

@bitscuit
PR is ready for merging, could you please review it?

@bitscuit
The comments are updated, please review it again, Thank you!


how can we predict a new input

when we want to predict a new input ,but we don not know the polarity and the aspect, we just know the sentence, how can we predict it?

Our method can only predict a new input with several possible pre-defined aspects.

How to predict a new input with several possible pre-defined aspects?


bro

Error: No school_user_id passed
await api.authorize();

const usersList = await api.getUsers();

const lessonPlan = await api.lessonsPlan({
    from: Date.now() - 86400,
    to: Date.now(),
    school_classes_id: usersList[0].school_classes_id,
    school_user_id: usersList[0].school_user_id,
});

console.log(lessonsPlan)

========
throw new Error(response.data.error.message);
^
Error: No school_user_id passed
at MykoobAPI. (C:\Users\user\node_modules\mykoob-api\lib\mykoobAPI.js:277:23)
at Generator.next ()
at fulfilled (C:\Users\user\node_modules\mykoob-api\lib\mykoobAPI.js:4:58)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
====
npm 7.3.0
node v15.5.1

Broo, It looks like Mykoob has changed their API responses structure, but I don't have a working Mykoob account to check this.
Anyway, you can try using this method: (although it probably won't work)
await api.authorize();

const user = await api.userData()

const lessonPlan = await api.lessonsPlan({
    from: Date.now() - 86400,
    to: Date.now(),
    school_classes_id: user.school_classes_id,
    school_user_id: user.school_user_id,
});

console.log(lessonsPlan)

Also, you can try logging into the mobile version of the Mykoob, if you fail, maybe your account is somehow limited.
I do not plan to support this library, so if you find fix, feel free to make a pull request.


Is it possible to get the current URL / headers from a stream response?

A little confused as to how Hyperquest is working (is it just a wrapper for requestjs with a few more options?) so unsure how to achieve the following:
Some of the domains that I am requesting follow a redirect to a new domain. For example, I request learnable.com and it redirects to https://www.sitepoint.com/premium/ I'd like to get the final ending URL and pass it to the cb() callback function. Here's my current code:
var options = {
        headers: {
          'User-Agent': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3pre) Gecko/20070330'
        }
      };
      var uri = 'http://' + url;

      var req = hyperquest(uri, options, function(err, res) {
        if (err) {
          console.log(uri + ": " + err);
          cb();
          req.end();
        } else {
          var bod = '';
          res.setEncoding('utf8');

          res.on('data', function(chunk) {
            bod += chunk;
          });

          res.on('end', function() {
            cb(bod);
            req.end();
          })
        }
      });

Note, when using Request I'd achieve this via:
request(url, function(err, res, body){
    // get final redirect url
    if(this.redirects.length){
        var destUrl = this.redirects[this.redirects.length-1].redirectUri;
        console.log(destUrl);
    }
});

As Request creates a redirects object. Any way to implement something similar with the stream code above?


Funny fixes.

Renamed CanvasRenderingContext2D.SetTransfrom to SetTransform.
Removed duplicate generic arguments in all overloads of CanvasRenderingContext2D.DrawImage.

Hi @VladimirAngelov,
Thank you for the pull request!
Before a review of the pull request we would need the CLA form accepted. You can find more information in CONTRIBUTING.md.
The full CLA is available here.
When you get a chance, please review the CLA and complete the CLA Acceptance Form. If you have any questions, please just let us know.

Done.

Alright, it is reviewed and merged. Thank you for contribution, @TriEdgeAI!


Classifier-free Guidance for training

Hi authors. Thanks again for your great work! I have noticed that your methodology incorporates the use of classifier-free guidance both during the training and testing phases. The configuration parameter 'MODEL.U_COND_DOWN_BLOCK_GUIDANCE' has been set to False, which seemingly implies that the model has not undergone training in an unconditional pose setting.  I would greatly appreciate clarification on your approach in this regard.

This should be set to True.
But in fact, there is not much difference whether these two are enabled or not in the experiments we found.
Hope this can help.


Missing folder when evaluate on YCB_Video Dataset

Hi Jeremy,
I tried to run the evaluation on YCB dataset with your matlab codes.
It shows missing folder called 'results_3DCoordinate' coming from the code below:
https://github.com/j96w/DenseFusion/blob/dd8ff1a4d67faac1149e378045135b45b6f810f1/replace_ycb_toolbox/evaluate_poses_keyframe.m#L55
Could you please tell what this folder contains?
Thank you.
Regards,
Stacey

You can find this folder in the result_PoseCNN.zip(https://github.com/yuxng/YCB_Video_toolbox). For more information, please refer to their work.

Thank you for your quick reply. @j96w
I met another problem of missing defined functions 'quat2rotm'.
I cannot find it in the repository.
Have you met this problem, and how do you solve it?
Thank you very much : )

That's just a basic Matlab function. https://it.mathworks.com/help/robotics/ref/quat2rotm.html

Thanks 👍 @j96w

The Folder results_3dCoordinate is no longer part of the YCB_Video_toolbox or I am blind and can not find it.
How to get it?


Roll Plugins from ded5528fa022 to 5bb51296b00e (4 revisions)

https://github.com/flutter/plugins/compare/ded5528fa022...5bb51296b00e
2022-09-28<EMAIL_ADDRESS>[tool] Adds a fix command (flutter/plugins#6512)
2022-09-28<EMAIL_ADDRESS>[file_selector] Add all iOS files to example app (flutter/plugins#6513)
2022-09-28<EMAIL_ADDRESS>Enable no_leading_underscores_for_local_identifiers (flutter/plugins#6509)
2022-09-28<EMAIL_ADDRESS>Roll Flutter from f57c2fe8ff49 to 9bf849184d6c (29 revisions) (flutter/plugins#6510)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Ticket #32345: Preserve quoted "&" in i18n.set_language

Fixes #32345, by unquoting the next_url too early information about which & were quoted and which weren't was lost, which meant that originally quoted & would be unquoted in the RedirectResponse.

Just in case: ticket-32345

Just in case: ticket-32345

Thanks for your getting back and for your review. I added the query string to the test, and through that, I see that the issue is a bit deeper, reverse returns an unquoted string and translate_ur combines unquoted and quoted strings together. This could be fixed in translate_url by unquoting the result of reverse before combining them back.
Or it could be addressed in the reverse function itself, but that would probably affect a lot more, so I think changing it there would need more discussion. I don't know if it makes sense to quote or unquote the view arguments in the reverse function.
What would you propose to continue?

Thanks for your getting back and for your review. I added the query string to the test, and through that, I see that the issue is a bit deeper, reverse returns an unquoted string and translate_ur combines unquoted and quoted strings together. This could be fixed in translate_url by unquoting the result of reverse before combining them back.
Or it could be addressed in the reverse function itself, but that would probably affect a lot more, so I think changing it there would need more discussion. I don't know if it makes sense to quote or unquote the view arguments in the reverse function.
What would you propose to continue?

Hi @sacovo,
So, the only reason we need to unquote the path is for translate_url to work properly. Otherwise, there is no need to unquote the URL, since the Location header also requires a quoted URL according to RFC 1630. However, Django will handle quoting for you in the response.
My suggestion is to only unquote the path in tranlsate_url here: https://github.com/django/django/blob/257dfce6c87ebf11c429e65cd4eff30d852a14de/django/urls/base.py#L166
I would also recommend changing the test case again and include a full URL with schema and fragments, since a client does not send relative REFERRER headers.
Let me know if you have any further questions.
Best,
Joe

Hi @sacovo,
So, the only reason we need to unquote the path is for translate_url to work properly. Otherwise, there is no need to unquote the URL, since the Location header also requires a quoted URL according to RFC 1630. However, Django will handle quoting for you in the response.
My suggestion is to only unquote the path in tranlsate_url here: https://github.com/django/django/blob/257dfce6c87ebf11c429e65cd4eff30d852a14de/django/urls/base.py#L166
I would also recommend changing the test case again and include a full URL with schema and fragments, since a client does not send relative REFERRER headers.
Let me know if you have any further questions.
Best,
Joe

@sacovo this seems to solve our problem :) thanks for the work.

@sacovo this seems to solve our problem :) thanks for the work.

@sacovo, I flaged the patch for checkin. A fellow will review it next. If you want to make their life easier, feel free to rebase and squash your changes into a single commit and improve your commit message. translate_url handles quoted URLs now, that is different from your initial approach. Your commit message should reflect that.

@sacovo, I flaged the patch for checkin. A fellow will review it next. If you want to make their life easier, feel free to rebase and squash your changes into a single commit and improve your commit message. translate_url handles quoted URLs now, that is different from your initial approach. Your commit message should reflect that.

@sacovo Thanks for the patch :+1: Welcome aboard :boat:

@sacovo Thanks for the patch :+1: Welcome aboard :boat:


"extends" property not supported in .jshintrc

If I use a .jshintrc like the following, it says: Bad option: 'extends'. @ line 0 char 0
{
"extends": "../.jshintrc"
}
Couldn't it be supported?

I get this as well when using extends:
WARNING in ./public/index.js
jshint results in errors
  Bad option: 'extends'. @ line 0 char 0

Is this an issue with jshint-loader or something else?

I am also getting this issue using the "extends" property.

@benstaker Do you remember what jshint version were you using?

@kostasmanionis the latest version at the time of writing the comment, however I'm now using ESLint.

I am experiencing the same issue:
jshint results in errors
      Bad option: 'extends'. @ line 0 char 0

Versions:

jshint-loader: 0.8.3
jshint: 2.9.4


Remove the TabWrapper class

Instead, let Tab and Browser just call certain methods on each other.

Merging this one now too. I'm sure there are some dangling references in the text that I missed, let's fix those in other passes.
I was very careful to do this CL in small steps and test along the way that all the browser features work, so I'm pretty sure I did it correctly.


Distribute logic to multiple specialized ROS nodes to improve maintainability

Work in progress. Looking at having dedicated node for WMS client, field of view projection, pose estimation, and mock GPS message publishing each to improve maintainability and better leverage ROS features.

Initial refactoring into multiple ROS nodes is now done. Will next focus on cleaning everything up. This is a major PR so will also update the documentation before merging.


[CI] Improve ci check and delete unused streampark-tests module

Improve ci check and delete unused streampark-tests module

cc @RocMarshal PTAL, thx.


Vector2's floor() causes exported executable to close immediately

Godot version:

3.1.dev.calinou.68676c7 (downloaded it today)
Update: still occurs with  v3.1.alpha.calinou.9eb4d4a
OS/device including version:

Windows 10 64-bit
Issue description:

I'm gonna tell the whole story, so I can share my saltiness with you. To save your precious time there's a TL;DR at the end.
So it started like this - I had a problem that was fixed by using a dev build (Thanks for helping me with that btw). Unfortunately, I wasn't able to export an executable that worked - it immediately closed after the Godot splash screen. I then tried making a new project, and then was able to export properly. So what did naive me do? I thought the problem was some kind of incompatibility with the project files, and decided to re-do everything in a new project - obviously I copied all the scripts, but it still took much more than I wanted it to and was quite troublesome. Finally, I was done! I was sure everything would work this way, but no! The problem was still there. The next logical step was to see which Scene was the problem, so I went over every scene, set it as main, exported it, and checked if the problem occurs.
After making sure there's no mistake, I found that the Player's scene was the problem. I started removing nodes & scenes inside the Player's scene till I had none, but it still didn't work! So I removed the script. It worked! Okay, so the problem is the script, but which part? I started removing methods until I ended up removing the problematic one - it was a simple method that did a basic math calculation for diagonal jump vector (for wall-jumps). I was really surprised, is this really what was causing me all these problems? So I start breaking it apart part by part, eventually figuring out it was the floor() at the end. I shed a tear. The end.
TL;DR:
Basically it's as the title states - calling floor() on a Vector2 type causes the executable to close immediately. I've added a super basic example in the project below.
I would like to add that I did not have this problem in 3.0.5.
Update:
It might be a combination of multiple Vector methods, as unlike on the previous version, this time it only occurs with a line of code that's similar to the one I have in my project, which also includes rotated().
Another finding is that it doesn't happen in a debug executable. (which wasn't the case earlier)
Steps to reproduce:

Use the floor method on a Vector2 type.
Cry when your exported executable closes immediately.

Minimal reproduction project:

floor_ruined_my_life.zip
Update: New version -
Floor Still Ruins My Life.zip

Checked with both release and debug export templates, in current master its fixed. Closed by bugsquad

Reopening, one tester being unable to reproduce it doesn't mean that it's fixed, especially if it was reported only 12 days ago.

That said, I can't reproduce the issue either on Linux x86_64.
Does the issue happen when running the project from the editor, or only once exported? If the latter, are you using export templates that match the commit you're using for the editor?
Please post the output from running the project in a terminal.

It's the latter, and yea I did. Is there anywhere I can download that version again? I've since removed it. I can also confirm it doesn't happen with the latest nightly build.

I updated my new findings and the reproduction project.
TL;DR - Still occurs with yesterday's nightly build, but not in debug executable. Also, this time just 'floor()' isn't enough, so I just copied the actual line that causes the bug in my project. (some variables changed to hard-coded numbers)

Thanks, I could reproduce the bug with 3.1-alpha1 released today, exporting a release binary for Linux x86_64 with the provided project.
Stacktrace:
(gdb) bt
#0  0x00000000017af909 in Variant::get_method_return_type(Variant::Type, StringName const&, bool*) ()
#1  0x00000000008cbc3b in GDScriptParser::_reduce_function_call_type(GDScriptParser::OperatorNode const*) ()
#2  0x00000000008cd193 in GDScriptParser::_reduce_node_type(GDScriptParser::Node*) ()
#3  0x00000000008d436a in GDScriptParser::_check_block_types(GDScriptParser::BlockNode*) ()
#4  0x0000000000000000 in ?? ()

CC @vnen

Hm, this should be available in release (at least in my opinion).


Bug/disable text explanation when no textual variable

Disabled the Text tab when there was no text variable and added a tooltip explain to the user why this feature isn't available

For some reason this branch looks to include several unrelated commits


Hangs after entering auth code

It seems to hang for me after entering my auth code on Ubuntu 16.04.3.
I assumed this may be where it builds its cache, however, the google drive that I'm using is empty outside of two (empty) folders. I have deleted .plexdrive and the mount folder I was using and retried but I get the same issue.

I had same issue, I ran it -v so I could see what was going on.

same with me. hangs after entering OAUTH response code. this only happens to plexdrive version 5 on ubuntu. currently i revert back to v 4.

@kmnb our group sticks with plexdrive4. always been rock solid.

same issue, even on version 4


Multiple texts with footnotes on the same page?

Hello!
I was wondering if it would be easy to implement the possibility of having multiple texts with footnotes on the same page? So far, it works great but only if the numbering of the footnotes does not reset with the different block of texts.
For example, if I use two texts with 3 footnotes each and if their footnotes have the same numbers (1, 2, 3), your script grab the footnotes' content of the first text (footnote #1 of text #2 get footnote #1 content of text #1, in other words).
Thx for the help!
Best
MB

Could you link or attach an example of the HTML you are trying to get this working on. I ask because the HTML may be malformed. The script works by linking <sup> elements which have unique IDs to particular footnotes. If two <sup> elements have the same ID, the script may behave the way you describe, but that is illegal HTML (two elements shouldn't have the same ID for this exact reason). If that's not the issue, then there may be things to be done. I'd have to see the HTML in question.


Issue with links to build instructions

Steps to reproduce:

open main repository page
scroll down to the "How do I read the documentation?" and click on this link
scroll down to "Building and Running" section of README
click on first bulletpoint "Build Instructions:

Result:
Error 404 - Page not fount
Cause:
Typo in link to file

Duplicate of #52
//close


Content stay in english in a french tenant

I've installed the Custom learning for Office 365 portal but it stay in English language.  @karuanag

I have the same issue.   The Provisionning of the portal  language is English.  I switched my users favorite language to FR.  I opened the site with my user in FR,  Cirled in Blue in the attached image you can see the SharePoint action Menus are in FR.  The navigation menu are in English, I manually transtated a part of the navigation menu in FR, to test out (Circled In Yellow in the attached picture).  The content is also displayed in English (Circled in Red in attached email).  Is there a way to have the menus and content in FR.?
 thanks

Validated solution navigation and chrome does not follow default language for Tenant or site collection.  Processing for further troubleshooting.

Hello @karuanag any updates about this issue ? cc @SergePoint

Hello,
We are currently working on multilingual support for the following languages and are looking to have this released for CY19 Q3 (French being among them):
Chinese (Simplified)
Dutch (Netherlands)
French
German
Italian (Italy)
Japanese (Japan)
Portuguese (Brazilian)
Russian (Russian)
Spanish
Please let us know if you have any other questions or concerns. Apologies for any inconvenience this may cause in the meantime. Thank you!
Regards,
Justin

Oh great news Justin 😉
Kevin TRELOHAN
Consultant Freelance
Mobile. :<PHONE_NUMBER>
Mél. :ktrelohan<EMAIL_ADDRESS>Skype Entreprise : ktrelohan<EMAIL_ADDRESS>[cid:cde47299-a641-4878-869a-b68fea980c90]
De : Justin Lisi<EMAIL_ADDRESS>Envoyé : mardi 28 mai 2019 14:00
À : pnp/custom-learning-office-365<EMAIL_ADDRESS>Cc : Kevin TRELOHAN<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Objet : Re: [pnp/custom-learning-office-365] Content stay in english in a french tenant (#15)
Hello,
We are currently working on multilingual support for the following languages and are looking to have this released for CY19 Q3 (French being among them):
Chinese (Simplified)
Dutch (Netherlands)
French
German
Italian (Italy)
Japanese (Japan)
Portuguese (Brazilian)
Russian (Russian)
Spanish
Please let us know if you have any other questions or concerns. Apologies for any inconvenience this may cause in the meantime. Thank you!
Regards,
Justin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pnp/custom-learning-office-365/issues/15?email_source=notifications&email_token=ALUDZREGDZKBMVF42MFGEPDPXUNEZA5CNFSM4HABK6C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWL4TAA#issuecomment-496486784, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALUDZREWZFTF5RUEZAC3JSLPXUNEZANCNFSM4HABK6CQ.

Dear Microsoft,
I saw on the Learning Pathways website that the new feature, multilingual support for the Dutch language (among aothers), is moved to Q4 2019. Because in a month's time, Q4 2019 will be over, can you give us the latest status? Do you plan on releasing this soon? My company is beginning the adoption of Office 365 so it would be great if this feature would be released soon, because then we can offer Learning Pathways in the native language (otherwise I will have to translate the lot).
Thanks for letting me know.
Kind regards,
Sylvester

Could language be configurable? Or is there any plan for Swedish.... ?

If you have a desire to translate into your own language you could do so, but you'd have to maintain it yourself via a separate custom content pack.  I personally cannot answer if or when they might support Swedish.

This will be coming in the new Multilingual release of learning pathways. Look at the Learning pathways Feature Updates and/or follow my twitter to keep up to date.


Duplicate inline image rendering

For large images, the image gets rendered twice.
The first image renders on its own page and is fully rendered.
The second image shows up on the next page, left aligned and is only partially visible i.e. the left half is missing.
Using Prawn

Can you please provide a link to an image that can be used for testing? The original image size is ideal since we don't want the problem to be lost in transfer.

A little example for issue (see included zip):

big_image_test.txt - example project
big_image.png - original image [1274x1215]
image.png - a little scale of original image  [944x900]
small_image.png - half scale of original image [500x477]

As you may see in big_image_test.pdf:

big image not show at all
middle image have twice rendered (with strange crop)
small image render as expexted

big_image_zip.zip
Some remarks:

If I manually set a width to fit the image into the page (image:big_image.png[width="100"]) it scaled well and render normally
I played with image sizes - in some cases it may render thrice.

I also encounter the same issue.
And the problem may be using inline image "image:" (one colon) instead of "image::" ([two colon](two colon)).

As @roentgenium points out, you are using an inline image when you mean to use a block image. Use two colons after image in the image macro instead of one. (e.g., image::filename.png[]).
Inline images are meant to fit without the line of text (i.e., the line height). If they exceed that area, then the behavior is undefined.

I figured out why this is happening. It has to do with how we arrange inline images. We first put blank spaces where the image will go. Then we come back and lay the image into the place. However, if that blank space wraps, then we end up displaying the image multiple times, once for each line. (We also have a rounding error that causes this blank space to be too large in certain conditions).
We need to figure out some way to detect the end of the line and only allow the image to be as wide as the remaining space on the line (or wrap it to the next line so it does have enough space).
We may have to solve this one in stages since there are several problems at play here.

This is related to #620.

Actually, this is simpler than I thought. The spacer is wider than the available width and Prawn attempts to render the image again on each wrapped line. We just need to ensure the spacer is no wider than a single line.
Unfortunately, we still have the problem that the spacer width is only approximate (so the placement of the image will be a little off). We essentially have to trick Prawn into leaving us space to render the image. But we can only reserve space by using repeating characters. We might be able to use character_spacing to get the width to be more precise. Long term we need to get Prawn to allow us to make proper spacer fragments.

(As an aside, inline image rendering is always going to be a little quirky because of how Prawn works).

Here's my proposal:
if (spacer_cnt = (fragment[:image_width] / spacer_w).ceil) * spacer_w > available_w
  spacer_cnt -= 1
end
fragment[:text] = ImagePlaceholderChar * spacer_cnt

I'm still looking to see if we can fine-tune that spacing using character spacing on the last character.

@fap- Did you want to send a PR?

Yeah, I'll get to it tomorrow, if that's alright.

Absolutely. I just wanted to make sure to give you the chance to author it.
I'll wait for your PR.

I'm excited to say that the character spacing works perfectly to allow us to fine-tune the reserved space. I'm able to get an inline image to line up exactly with a block image on the previous line for just about all permutations.
The one case we're still not handling is when the inline image is taller than the height of the content area. I'll handle that in a separate issue...but all the groundwork is in place.

I'm seeing this issue with the asciidoctor-pdf-1.5.0.beta.2

Please provide a test case.


Day430

Resolves #884.

Pull Request Test Coverage Report for Build 1653

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

Totals

Change from base Build 1650:
0.0%

Covered Lines:
5

Relevant Lines:
5

💛  - Coveralls


Adding k3s package

This package is intended to be used as a superset for the containerd package. Thus in the image.yml we will eventually do:
init:
  - K3S_TAG

Note, that the way we're building it is compressing containerd, ctr and k3s-* into a single binary (zedbox/busybox style)
This is something we may need to consider for all our go code

Weird that GH would label it as binary -- it is a config file for containerd:
TZif2UTCTZif2UTC
UTC0


RFE: allow OCRed suggestions

Not really sure how to title it properly, but idea is more or less, that as part of training, it might be worth to have capability that job input would contain also OCRed text based on currently available model.
This would be extremely helpful in case of updating model and long texts, where existing model would be making just small mistakes.
Instead of retyping full text it might be way easier to check it visually and correct prior submit.
One more check box in such scenario would be required.
This check box would be by default un-checked.
Typing anything in the text box (including any changes should box be pre-filled with OCRed text) would automatically tick the checkbox.
Should no changes be made in the textbox (i.e. it would contain correctly recognized text) it would be required to manually tick the checkbox, confirming text has been correctly recognized and reviewed. This is to avoid situation where "turk" would by accident submit mistakenly reviewed text (or due to laziness).
This is extremely helpful in case of repeating lines of text, i.e. training Ocropus on different fonts.
I can see pros and cons for the approach as it can lead to some mistakes but overall value seem to be very good.
Hopefully I'm not over-complicating anything.
Thanks for help if possible.

Further tests didn't lead to final solution, but probably a simple change would allow this.
Creating tasks.csv with:
input1,line1
./0001/010001.bin.png,abc
./0001/010002.bin.png,def

and template with:

<input type="text" name="line1" size=60 value=${line1} />

Gives almost expected results.
The only problem is that in this case it is now raising error and storing incorrect data in output.csv
HTML for first task is generated correctly (has correct "value") but when submit it generates incorrect output to be stored and returns back to first line.
Running local turk on http://localhost:4321
{ input1: './0001/010001.bin.png', line1: 'abc' }
Saved {"input1":"./0001/010001.bin.png","line1":["abc","changed_abc_to_this"]}
{ input1: './0001/010001.bin.png', line1: 'abc' }

Note that the original value was "abc" and modified prior submission to "changed_abc_to_this".
This is then stored as separate columns and localturk returns to first line again.
This is more a bug now than a RFE, hence as opening as new issue as bug and closing original RFE.

Just use a different name for the input & output fields, i.e.
<input type="text" name="output-line" size=60 value=${input-line} />

Many thanks - it does the job.
It even saves the suggested (input-line) as well as submit output-line. This is great as allows to run also stats on errors.
Example output:
input1,iline1,output1
./0001/010001.bin.png,abc,1manual
./0001/010002.bin.png,def,2manual
./0001/010003.bin.png,ghi,3manual

Thanks again!


Error when running generate

Can anyone point me in the direction of how to fix this error?

Which version or jdk are you using? Can you run with --stacktrace and share the errors?

Sorry , I seem to figure that out
Just to confirm
I had android gradle plugin 4.2.0
Gradle version 6.7.1
it started working when I swtiched gradle version (in wrapper properties) to 7.0.2
should that be an issue?

So looks like a Gradle issue. Can you try Gradle 6.9?

I'll try it tomorrow and give an update here, for me the issue looks closedm it's just not clear from the description that plugin is not working with specific gradle versions.

Thanks. I also don't expect the plugin to not work with some Gradle versions, as long as it's higher than the minimum version required by AGP 4.2 which is enforced by AGP.

I can see that this plugin depends on Kotlin 1.5. That could be the reason. Can you try to explicitly add Kotlin 1.5 to your build scripts' dependencies?

@tasomaniac I'm using this in a project that uses Kotlin 1.4.32 in buildscript and it works fine. It might be a small bug in Gradle but it shouldn't require Gradle 7.

What about 1.3? I'm asking because I remember listBuilder was introduced in newer versions of Kotlin.

Interesting! I'll have a look and see if it's worth changing the builder to something else. Thanks!

I confirmed that the min Gradle version required is 6.8 which bumped the embedded kotlin version to 1.4.
I'll add a check to require Gradle 6.8 which I think is quite reasonable given minimum AGP required is 4.2.1.


Incorrect code is unreachable error when a call method is defined using class_eval

I've come across an issue where when defining a method call inside a class_eval block (originally this was inside a rspec context) sorbet seems to think method blocks are never reached
In the below example I don't get an error if:

I comment out the definition of call
I define call in the main body of Dummy (ie class Dummy; def call; end; end
I remove the Nilable from the sig

I also get the error if I replace the definition of Dummy with
Class.new do
  def call
  end
end

Input
→ View on sorbet.run
#typed: true
class Dummy
end
Dummy.class_eval do
  def call
  end
end

extend T::Sig
sig { params(block: T.nilable(T.proc.params(record: Integer).void)).void }
def foo(&block)
  T.must(block).call(1)
end

foo {|value| value}

Observed output
editor.rb:15: This code is unreachable https://srb.help/7006
    15 |foo {|value| value}
              ^^^^^
    editor.rb:15: This expression always raises or can never be computed
    15 |foo {|value| value}
        ^^^^^^^^^^^^^^^^^^^
Errors: 1

Expected behavior

Duplicate of #3609


3D Navigation? or any options for generating 2D map from 3D map ?

Hi @koide3  ,
First of all, I would like to say thank you to your great 3d pipeline packages. I have used your package for almost 3 months. I did tune so many parameters including the scan_matching parameters and hdl_graph_slam. I successfully got a very decent map.
I want to use your 3d map also with your hdl localization to make the robot navigate in 3-dimensional space. Because there is no stable 3d navigation pkg on the internet, I decided to use 2d navigation instead. I try to generate a 2d map from 3d map using octomap. But I have a problem with the 2d map generation. I pass the whole 3d pointcloud to the octomap server and set the raytracing to true. I set the raytracing to true because I want to get an output map that is very similar to the 2d mapping like gmapping. The problem is every time the graph is changed (i.e. loop closing), the 2d map on octomap won't be updated according to where the aligned 3d map is located. So the 2d and 3d map is unaligned each other.
I also tried using individual samples from raw lidar to build an octomap representation, but it's the same.
My questions are:

Is there any 3d navigation package that is suitable with hdl_graph_slam ?
If there's no 3d navigation pkg, what should I do to get 2d map that is also updated when 3d map is updated/optimized ?

I'm waiting for your reply. Any help from you will be very helpful for me and the community.
Thanks :)

@dionesiusap have you manged to implement dynamic 2d map?

@robertsenps @dionesiusap @arjunskumar Well have anybody got solution of 2d mapping? I was going to use @koide3's pcdto2dmap but changed direction to octomap since I couldn't run those properly.

@arjunskumar Have u tried octomap or pointcloud_to_2dmap mentioned?

Has anyone found the solution for realtimr  conversion from 3d map to 2d map? Can anyone post the link and the documentation?


IE 11 failed to instantiate module

Hi,
I recently installed the ng-admin demo as one of my first node.js projects and ít works well on Chrome version 42 and Firefox version 31. However, when I use Internet Explorer 11, I get an error:
JavaScript runtime error: [$injector:modulerr] Failed to instantiate module myApp due to:
TypeError: Object doesn't support property or method 'order'
at addField.value (http://localhost:3000/bower_components/ng-admin/build/ng-admin.min.js:26:18714)
Because of this, the ng-admin UI does not appear at all.
Sincerely,
Jeroen

On my test, the UI appears, but navigating away from the dashboard fails with the following error:

State Change Error: 'Promise' is undefined

@jpetitcolas are we missing a shim?

Indeed, we need a Promise shim: https://github.com/github/fetch/issues/114
Will look at it later today.


Is it possible to add support for NativeScript Svelte?

https://svelte-native.technology/docs has additional bindings for NativeScript UI.
Currently these bindings are marked as invalid with this extension.

Actually I think we just need to add these bindings to https://github.com/UnwrittenFun/svelte-language-server/blob/master/src/plugins/html/dataProvider.ts


increase substitution and reaction range

This allows to do substitution and reactions on more than 9 messages in the buffer

Looks great, thanks!


Output

I have successfully trained the model on the NewsQA dataset. How do I use the trained model to generate questions on other data or strings?
And what does this output indicate in the model.py file?
https://github.com/Maluuba/qgen-workshop/blob/master/qgen/model.py#L150-L154
Output:
Question: who is the the ? ?
Answer: customers
Question: how many the will the ? ? ?
Answer: than 2,000
Question: what what is the ? ? ?
Answer: international
Question: who is the the ? ?
Answer: sonia
Question: what did the the ? ?
Answer: meet its oil supply obligations in nigeria
Question: who is is the ? ? ?
Answer: mend

Are these the new questions that have been generated after training the model or this is something else?

And where are questions stored that have been generated after training the model?

I don't think we have an example in this repo with how to load a trained model but you can look up how to load a trained TensorFlow model since our training code saves the model.
That code shows a generated questions and answers from the test data once the model has finished training.
I don't think questions are stored after the model has finished training.

Yep, you can just write the questions to a file.

Can you please tell where the change in code have to be made so as to get the output to a file?

@surbhitkapoor Just change these lines to write to a file instead of standard out: https://github.com/Maluuba/qgen-workshop/blob/master/qgen/model.py#L152
If you're wondering how to do that in Python, it's something like this:
with open("path/to/target/file.txt", "w") as f:
    print("The line to print", file=f)
    ...


Remove unused allow telemetry preference.

Telemetry setting is stored in the telemetry extension.
Related to https://github.com/lensapp/lens-ide/issues/117
Signed-off-by: Juho Heikka<EMAIL_ADDRESS>

Why is this marked 6.0.0?

6.0.0 is not even planned yet, the milestone is mostly for issues that require breaking the extension API for.


Login and Registration Workflow

On launch, the user will be taken to the login screen (unless they have an existing authentication token we can use instead). From the login screen, the user can sign in with SSO (Apple or Google) or register a new account.
For registration, a user will use SSO with Apple or Google, then provide a username to create their account.
As a new account is created, a new user instance will be created in our database to store user information about their progress. Then, the user will be taken to the home screen.

Create a login and register frontend
Connect login button to database (Firebase??)
Perform a check for the account
Connect registration button to database
Create a new DB record for fresh registered users
Take users to a username selection screen
Redirect all users to the home page

Color Scheme? https://coolors.co/fdf0d5-003049-669bbc-780000


Auto-Repeat/Loop GIFs/Videos

Is your feature request related to a problem? Please describe.
I would like a GIF to automatically restart after it plays once, without having to manually play it again.
Describe the solution you'd like
I would like to have an option to enable/disable automatic looping of GIFs/videos, preferably enabled by default.
Describe alternatives you've considered
Using my phone's built-in gallery to watch GIFs with auto-loop.

That's a great idea!


windows: Use a global completion port by default

One part about mio is that you can register an I/O handle with multiple event loops, and event loops can also migrate between threads. On Windows, however, an I/O handle can be associated with at most one completion port and that completion port is tough to move between threads. To emulate the same semantics as other platforms, Windows should have a global event loop.
Whenever the first event loop is spun up it should spawn a global background worker thread which all event loops then communicate with. "Registering with an event loop" is then just making sure the handle is on the global completion port. Communication between event loops and the global event loop would then happen to negotiate events.
There should also be an option to not use a global event loop and instead opt-in to using a local completion port. This should probably be a windows-specific extension trait.

It's been decided that we will not use a global event loop on windows in favor of #308


Did not find SecurityContext in HttpSession xxxx using the SPRING_SECURITY_CONTEXT session attribute

Expected behavior
Store the security context after redirect to target uri from oauth2/authorize endpoint
Actual behavior
The security context is lost when redirect to login form from oauth2/authorize endpoint
The error is:
Did not find SecurityContext in HttpSession f911c965-141f-4880-9518-a316c05cd1c9 using the SPRING_SECURITY_CONTEXT session attribute
Steps to reproduce
Just try the new oauth2-authorization-server with spring security 5 and spring boot 3.
Create the formLogin() to protect the oauth2/authorize enpoint and try to make the login with the authentication_code PKCE flow.
Just follow this tutorial:
https://www.youtube.com/watch?v=DaUGKnA7aro&t=1791s&ab_channel=SpringI%2FO
Reactor Netty version
JVM version (e.g. java -version)
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu122.04)
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu122.04, mixed mode, sharing)
OS version (e.g. uname -a)
Linux  5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

this is happening to me too


Unturned rocket is broken

My unturned server rocket is broken so if i write for example /tpa it does nothing, it doesn´t say anything. And yes the tpa plugin is installed. If i write for example /abcd it says command not found. I removed all the plugins, but it didn´t help. I can´t even do /rocket reload.

If it does in-fact say Command not found. then Rocket is working fine. It's an issue with the plugin not working. Most likely a bad xml configuration for the plugin, or a bad install. Put the configuration file for the plugin through an xml validator such as https://www.xmlvalidation.com/ and fix all the errors it mentions.

Well as i said it doesn´t say anything like command not found. It doesn´t say anything

So what it says is
[12/13/2018 4:08:48 PM] [Info] [World] Greg_the_worker [Greg]: "/i"
[12/13/2018 4:08:48 PM] [Info] General: Exception raised when RPC invoked askChat:
[12/13/2018 4:08:48 PM] [Error] NullReferenceException: Object reference not set to an instance of an object - Rocket.Core.Permissions.RocketPermissionsManager.HasPermission (IRocketPlayer player, System.Collections.Generic.List`1 permissions)
Rocket.API.IRocketPermissionsProviderExtensions.HasPermission (IRocketPermissionsProvider rocketPermissionProvider, IRocketPlayer player, IRocketCommand command)
Rocket.Unturned.Permissions.UnturnedPermissions.CheckPermissions (SDG.Unturned.SteamPlayer caller, System.String permission)
Rocket.Unturned.U+<>c.b__16_3 (SDG.Unturned.SteamPlayer player, System.String text, System.Boolean& shouldExecuteCommand, System.Boolean& shouldList)
SDG.Unturned.ChatManager.process (SDG.Unturned.SteamPlayer player, System.String cmd)
SDG.Unturned.ChatManager.askChat (CSteamID steamID, Byte mode, System.String text)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
SDG.Unturned.SteamChannel.receive (CSteamID steamID, System.Byte[] packet, Int32 offset, Int32 size)
UnityEngine.Debug:LogException(Exception)
SDG.Unturned.SteamChannel:receive(CSteamID, Byte[], Int32, Int32)
SDG.Unturned.Provider:receiveServer(CSteamID, Byte[], Int32, Int32, Int32)
SDG.Unturned.Provider:listenServer(Int32)
SDG.Unturned.Provider:listen()
SDG.Unturned.Provider:Update()

I removed entire permissions and it's still broken.

I got the rocket working, i don´t know what i did but it´s working. Thanks for the effort!

RockedMod is not broken. Your configuration is.


fix: add refresh when inserting media article

So that the article can be searched right after insertion.
This is to fix the issue found during 20240916 test.
Analysis: https://g0v.hackmd.io/UHKMm7h_QIe5EB4Z0cGQ3g?view#nonumpa-的-grouping-issue
After fix is applied
LINE bot sending 4 images (2 new, 2 existing)

Cooccurrence can now be correctly grouped

coverage: 88.507%. remained the same
when pulling af002bd8b48d85e645f6227dff107de23f110a12 on fix-media-cooccurrence-error
into 14a6b66fc8211ef12867d40373b1cf1b5ae5acb6 on fix-list-cooccurrence.


can i define util name start with $ in /utils ？

Environment

Operating System: Darwin
Node Version:     v18.15.0
Nuxt Version:     -
CLI Version:      3.10.0
Nitro Version:    -
Package Manager:  unknown
Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction

Describe the bug
util name start with $，when use in template can not find the util
Additional context
No response
Logs
No response

Added a reproduction myself this time ☺ https://stackblitz.com/edit/nuxt-issues-24422?file=utils%2Fcode.ts,app.vue
Please provide a runnable one next time 🙏

Resolved in unimport (see linked issue)


Resource pool created even when allocation fails

If we fail to allocate a clustered resource pool, the pool is still created (probably in some invalid state).
To reproduce, launch a TCServer in local with the following configuration
<?xml version="1.0" encoding="UTF-8"?>
<tc-config xmlns="http://www.terracotta.org/config"
             xmlns:ohr="http://www.terracotta.org/config/offheap-resource">

  <plugins>
    <config>
      <ohr:offheap-resources>
        <ohr:resource name="primary-server-resource" unit="GB">1</ohr:resource>
      </ohr:offheap-resources>
    </config>
  </plugins>
</tc-config>

The launch the following test. The first creation will fail (requested memory is too low) and the second will also fail (pool already exist).
The second creation should have work.
public class AlreadyExists {

    @Test
    public void test() {
        try {
            createCacheManager(10);
        } catch(StateTransitionException e) {
            assertEquals(InvalidOperationException.class, getRootCause(e).getClass());
        }
        createCacheManager(100);
    }

    private static PersistentCacheManager createCacheManager(long size) {
        ClusteringServiceConfigurationBuilder clusteringServiceConfigurationBuilder = ClusteringServiceConfigurationBuilder.cluster(URI.create("terracotta://localhost:9510"));
        ServerSideConfigurationBuilder serverSideConfigurationBuilder = clusteringServiceConfigurationBuilder.autoCreate()
            .defaultServerResource("primary-server-resource");

        CacheManagerBuilder<PersistentCacheManager> cacheManagerBuilder =
            CacheManagerBuilder.newCacheManagerBuilder()
                .with(serverSideConfigurationBuilder)
                .withCache("test-cache", CacheConfigurationBuilder.newCacheConfigurationBuilder(Long.class, String.class,
                    ResourcePoolsBuilder.newResourcePoolsBuilder()
                        .with(ClusteredResourcePoolBuilder.clusteredDedicated(size, MemoryUnit.KB))
                ).add(new ClusteredStoreConfiguration(Consistency.EVENTUAL)));

        return cacheManagerBuilder.build(true);
    }

    private static Throwable getRootCause(Throwable e) {
        Throwable current = e;
        while(current.getCause() != null) {
            current = current.getCause();
        }
        return current;
    }
}

The ServerStore initialization fails due to too low memory requirement, because some math went wrong during OffHeapChainMap initialization. Due this fact, that pool allocation was successful, server store creation failed which failed to clean up already done pool allocation. The fix is simple to do the clean up, but I am confused, Is there a lower limit for sizing caches? If yes then we should rather validate that before allocating pool itself.

For a clustered cache, minimum amount of memory is 2KB * No. of segments. Since no. of segments per cache is 16(which is hardcoded for now), the minimum memory required for successful allocation is 32 KB.

For dedicated resource pools this can be calculated, but this can really misfire with shared resource pools, wondering what can be the minimum for shared resource pools.


Low* tests: restore verification, improve platform coverage

This pull request tries to:

restore verification for EverCrypt Low* tests, removing most admits.
The remaining admits are:

disjointness of plaintext and aad buffers for AEAD. There is at least one solution to this problem, e.g. https://github.com/project-everest/hacl-star/tree/taramana_tests_disjoint_plaintext_aad_vectors, but stumbling upon extraction issues, so that solution is not yet included in this pull request.
false preconditions on legacy EverCrypt.fst functions

ensure that all tests (hash, hmac, hkdf, aead, aes128gcm, cipher, curve25519, poly1305, chacha20, chacha20poly1305) are performed on all platforms (Vale, HACL*, HACL*+AVX, HACL*+AVX2, OpenSSL, BCrypt).
At this point I am not sure that it is really the case, we should have a closer look.

Thanks Tahina, this is much cleaner and much better now.


frequent  No such file or directory when using jfrsync

I'm getting frequent [WARN] Failed to open JFR recording at ... when running async-profiler as an agent on process exit. When I check for the recording the JFR file exists and contains jfr events but no data from async profiler. On some runs everything works and I get a jfr output file with both events and profiling data.
I use the folloing jvm arguments:
-agentpath:/opt/async-profiler/build/libasyncProfiler.so=start,event=itimer,loop=1h,file=/home/jenkins/agent/workspace/Sandbox/job/recording-second-%p-%t.jfr,jfrsync=/home/jenkins/agent/workspace/Sandbox/job/acs-profiling.jfc,threads

I'm using async-profiler-2.8.3-linux-x64 and the following java:
openjdk version "<IP_ADDRESS>" 2022-08-12
OpenJDK Runtime Environment Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1)
OpenJDK 64-Bit Server VM Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1, mixed mode, sharing)

The process runs as part of a jenkins pipeline inside a kubernetes container.
[WARN] Failed to open JFR recording at /home/jenkins/agent/workspace/Sandbox/job/recording-second-100420-20221012-191159.jfr: No such file or directory

The problem is understood; I'll work on a fix.

Timestamp placeholder %t in the file name was independently expanded twice: for the JDK Flight Recording and for the async-profiler recording. This could happen at different seconds resulting in different file names.
I committed the fix.

great, thanks for looking into it and fixing it that fast


add docker-publish.yml

Build and publish docker image to ghcr.io (Github Packages).

Hello, thank you for your contribution. I am not super familiar with Docker, so let's wait for @markus-wa to review the PR as well.

thanks @Sporesirius :slightly_smiling_face:

do you know how to fix this 403 error @Sporesirius ? https://github.com/saiko-tech/mmproxy-rs/actions/runs/5049654565/jobs/9059379254

Hm, I didn't get that error, maybe a permissions problem?
These are the settings on the forked repo, I have not changed anything.


Its possible for download to fail but for key fee to be charged anyway (aka proof of purchase)

Quick update - we're working on a solution for proof-of-purchase. So far we've found that there are several simple but wrong answers here. We have some ideas for a proper fix, but that will take us some time. We'll update this issues as we make progress.

Jack wrote up his findings here

part of LBRY proposal process


Readd ndarray type to y

Closes https://github.com/cupy/cupy/issues/3092
Closes https://github.com/cupy/cupy/issues/3110
cc @leofang

I think you can add that this PR closes #3092 and #3110.

This PR  is tested locally btw.

Ah ok. So this worked for you? 🙂

Yes!

Thanks Leo!
Yeah I'm also a bit fuzzy on why this helps, but that doesn't mean much (given I'm not as familiar with the codebase as all of you 🙂).

Jenkins, test this please

@jakirkham This is the very same error that I made multiple times in the past! The offending line is
y_ptr = <void *>y.data.ptr

If y is a Python object (since cdef was removed; can be confirmed by inspecting the generated cpp file; Cython is to be blamed -- it should deduce y's type!), then this cast is just giving us a pointer to the Python object y.data.ptr, not the actual pointer to the data.
Refs:

https://github.com/cupy/cupy/pull/2455#discussion_r325234488
https://github.com/cupy/cupy/blob/43c3c21e1fea5f0fc8a449aa97f10227c8ae6f91/cupy/cuda/texture.pyx#L328-L329

Thanks @emcastillo! 😀 Sorry for the silly typo (autocomplete 😞)
That makes sense! Thanks for the clarification Leo! 😀

Jenkins CI test (for commit 957f09ad12c3df0f97bd1db4d3f033faf44a3217, target branch v7) succeeded!


Transaction coordinator InitPID handling

Extracted PIDManager to talk to ZK for grabbing pid blocks (1000 at a time).
Dummy TransactionLogManager for owning the transaction topic partition.
Transaction Coordinator with handleInitPID function only.

Also renamed appID to txnID, and added unit tests for the above logic.
@hachikuji @apurvam for reviews.

I used persistent sequential zk node on the /pids/pid_block_ path to grab one block of PIDs at a time; each write to this path will be ordered by zk with an index such like /pids/pid_block_00000001, and the index is used to indicate which block of PIDs does the controller allocates.

Thanks for your comment. So the path name would be /pids/pid_block_00000001 and the contents would be a JSON blob that includes the version of the pID block and the brokerId which claimed the block. And this path is created everytime the broker is restarted. Correct?
My major concern with this logic is that we allocate a new block of thousand on each restart of a broker. This seems unnecessarily wasteful to me, though I guess with 64bit PIDs, we will never really run out no matter how old the cluster

@guozhangwang By the way, I think we need to retarget this patch for exactly-once-idempotent-producer.

My major concern with this logic is that we allocate a new block of thousand on each restart of a broker. This seems unnecessarily wasteful to me, though I guess with 64bit PIDs, we will never really run out no matter how old the cluster

Personally I feel it wouldn't be a major issue, but let's wait and see in practice. In the first version I think it's better to keep the logic simple and optimize it if necessary in the future. WDYT?

@guozhangwang By the way, I think we need to retarget this patch for exactly-once-idempotent-producer.

I will close this PR and create a new one.

@hachikuji @apurvam please review again: unit test passed with ZookeeperConsumerConnectorTest ignored since it seems to be halting on latest exactly-once branch.

Replaced by https://github.com/confluentinc/kafka/pull/126


Literate Coffeescript

Seems that none of the themes supports literate coffeescript syntax highlighting (*.coffee.md files), zed thinks that this is basic markdown. :(

Does ACE support this? If so, it's easy to enabled.