"I accept the terms of use" accessibility issues

From the VT accessibility audit:

On step 1, the text “To continue, please accept our terms of use” is tagged as a < label > but is not
associated with a form control. Although this is transparent to the user, as a best practice we
recommend removing the < label > structure here. See Labels. 4-Recommendation

and

The “I accept the terms of use” checkbox is contained within a < fieldset > having a visually-hidden
< legend > of “Checkboxes (select at least one)”. Since there is only one checkbox, the legend is illogical
and the fieldset structure is unnecessary. The checkbox can stand on its own. We recommend removing
the fieldset/legend structure in this and any other instances where the “group” consists of only one
form control. 3-Moderate

Might be possible to fix upstream, but we are also using checkboxes here with one specific checkbox. Might be worth some extra validation code and a different datatype for better form / fieldset structure in DA.

This is one we should be able to fix by May 30th

A quick grep on the repositories I have checked out locally reveals dozens of matches, particularly in automated tests, to the current dictionary. Fixing it will break a lot of other people's existing automated tests.
One thought is to add a "feature flag" to use a new version of the question. we can add a log entry when people use an "old" interview that doesn't have the feature flag turned on. then we can gradually turn it off

Maybe I'm misunderstanding what we need, but as far as tests go, I suspect we can just make the variable a little funky. On the plus side, it will probably make translation easier. Here's an example of what I'm thinking if we use yesno:
objects:
  - acknowledged_information_use: DADict
---
question: Terms
fields:
  - I accept: acknowledged_information_use["I accept the terms of use."]
    datatype: yesno
validation code: |

I see, that would be just fine. I wasn't sure what kiln would expect there

Note we explored this more today and found that even a single checkbox (datatype yesno) has the redundant label "choices", which is a bit better but still redundant.


Documentation: workaround for limited overlay support

This is probably not the best place to submit this, but I did not know how else to contact the author of the package. I am using animate for a Beamer presentation and it is fantastic. As acknowledged in the documentation, though, there is currently no support for overlays (multi-page slides), which means that: a) animations in different pages of a frame work independently (so advancing a page stops a playing animation) and b) animations do not respect overlay specifications, and they are visible always since the first page of the frame. The documentation includes a reference to a TeX.SE post to overcome the first problem, but not the second one. After trying a few things, I found out that the second problem can actually be avoided quite simply with tikz, which provides full overlay support:
\documentclass[11pt]{beamer}
\usepackage[draft]{animate}
\usepackage{tikz}
\begin{document}
\begin{frame}{A slide}
Some text first.
\begin{tikzpicture}
\node<2-> {\animategraphics[width=3cm]{10}{anim/frame_}{1}{10}};
\end{tikzpicture}
\end{frame}
\end{document}

I don't know if this works in all cases, and it has its caveats, like the size of the animation is not taken into account (this is just how TikZ overlays work, I found it can in turn be worked around by creating an invisible TikZ node on every page without animation of a similar size), but I thought you might consider adding a note in the documentation, since it took me a while to find a solution almost by chance.

@agrahn Yes, you are right, that also works and it is far simpler :) I used TikZ to add also empty nodes on the slides without animation to reserve the space where needed (still unnecessary to use TikZ, I know, but I was using it already and I am actually more fluent with it than LaTeX...). Far from ideal, though, it took me a while of trial and error to find just the exact placeholder size so everything stays perfectly still between pages... Probably the easiest thing would have been a permanent fixed-size \makebox and then \only with a textblock (from textpos package) on top...
Anyways thanks for your answer and for your work in animate.

Just another option, if you want to reserve space on "silent" slides. There is the user-command \alt<...>{}{}. We could use it as follows (note the draft option in the alternative clause):
\alt<2->{
  \animategraphics[width=3cm]{10}{anim/frame_}{1}{10}
}{
  \phantom{\animategraphics[draft,width=3cm]{10}{anim/frame_}{1}{10}}
}

I have made an edit to the TeX.SX topic which incorporates this idea. Do you think we can close the issue?


repro: "'set' on proxy: trap returned falsish for property" error with Vue v3.2.45

This comes from the fact that mocks are set via a mixin (Options API) and we run into the more strict behavior of Vue v3.2.45 introduced in https://github.com/vuejs/core/commit/f73925d76a76ee259749b8b48cb68895f539a00f#diff-ea4d1ddabb7e22e17e80ada458eef70679af4005df2a1a6b73418fec897603ceR404
First spotted by @Akryum and reported on internal discord
The test succeeds with Vue v3.2.44 and not with Vue v3.2.45

This one is trickier.
Until now, we used a mixin with a beforeCreate to populate the mocks (the code is probably inherited from VTU v1). But the recent changes in Vue makes such a modification to a script setup component impossible if they come from a component written with the Options API. See https://github.com/vuejs/core/commit/f73925d76a76ee259749b8b48cb68895f539a00f#diff-ea4d1ddabb7e22e17e80ada458eef70679af4005df2a1a6b73418fec897603ceR404
I have not found a way to make it work in all cases. If someone thinks about a potential fix, feel free to take a stab.

I now have a potential fix, by still using a mixin, but updating setupState directly in case we are in a script setup component. This hopefully does the trick.


Update README.md

Use npx for running examples with npm

Pull Request Test Coverage Report for Build 2226

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 90.943%

Totals

Change from base Build 2217:
0.0%

Covered Lines:
1111

Relevant Lines:
1163

💛  - Coveralls

Thanks for the contribution!


Use Discord OAuth and create API for the bot to improve identification

The current identification process is clunky and involves the user finding their own User ID, and then messaging that to the bot in the form !identify <id>.

It also means that if a user changes any of their HS details (e.g. joins/leaves a team), they would have to re-identify with the bot for these changes to register.

I'm not really sure of the best way to approach the first problem, it might be good to implement OAuth for hs_auth but this would require a significant rewrite of hs_auth.
As for the second issue, we could have hs_auth use Discord webhooks, and setup a webhook in a private text channel. If there is a change to the user's team, hs_auth could post to the webhook, and the bot could listen to messages in that channel and use it to update the roles and channels.

For the first problem, I agree that we should look into adding OAuth on hs_auth at some point, but for now how about we do the following:

Button on hs_hub to join the discord channel
On the discord channel they get a message from the bot containing a link like https://hub.studenthack2020.com/discord/identify/<discord_id>
Have a basic route on the hub that sends a POST request to a webhook (either created beforehand or URL encoded in the initial link?) with the message contents as something like { discord_id: <discord_id>,  auth_id: <auth_id> }
That webhook posts the message to a hidden channel, the bot would parse the message to get the discord user id and hs_auth user id

I'm not completely familiar with the discord API but from my understanding I think that it's possible,  @amishshah let me know if it's not possible the way I described above 😄
I think we can do that for the second issue, @kzalys what do you think?

Sounds good!
I'm guessing the link would have to be messaged directly to the user so they don't accidentally click on someone else's. There's a slight issue here in where some Discord users can have their DMs disabled for people they aren't friends with, so the bot won't be able to message them and they won't be able to message the bot.
We could just tell people to enable their DMs for the Hackathon server, since they wouldn't be able to identify any other way without OAuth.

So to get this working, the following things need to be done:

Setting up a route on the hub to handle the OAuth response from Discord
Creating an API for the bot so that this data can be sent to it. Using the webhooks probably isn't the best idea since it will be ratelimited if a lot of users try to verify at once.

Completed in https://github.com/unicsmcr/hs_discord_bot_api


Blockquote and paragraph tag leaves a big vertical gap

When I render a regular Markdown quote

like this

Hugo/Blackjack renders this as

like this

, which leaves a large gap above the quoted text:

Is it possible to add a CSS rule for blockquote p to make this gap smaller?

Sorry for posting in the unrelated issue, I don't want to create new one for such insignificant event: I'm not sure github sent notifications to mentioned authors, so posting double there: theme highlight blog post is out, this very theme is in it, additional info on https://github.com/paskal/terrty/issues/1.


Add components to set native-x story GTM context

Requires: https://github.com/parameter1/base-cms/pull/805 merged, released & dep upgrades run
This will utilize the new marko-web-gtm-native-x-story-contex tag
<marko-web-gtm-native-x-story-context|{ context }| obj=content>
  <marko-web-gtm-push data=context />
</marko-web-gtm-native-x-story-context>

 Olytics on NativeX articles


hello!   can you code Fast Neural Style Transfer with Arbitrary Style ?

plase tell me ,thanks

Isn't it already done ?

What do you need ? The title is not clear at all.
And this is not my code or my repo, can you see the nickname of the author ?

do you have use  wechat?


Fix status control position on multi-monitor system

This should fix #342 .
When multiple monitors are connected and the main monitor is not the most top / left one, the monitors whose position are even left / above the main monitor may have a negative coordinate as boundary.
However, the current cursor point is always starting from the most top / left corner as 0, 0, no negative value is obtained.
So, when you really draw something on the main monitor, the current cursor point may exceed the boundaries of all the monitors, and as a result, no status control toolbar is displayed.
This commit recalculates the current cursor point by taking the negative coordinate into consideration, to make sure it falls into the proper monitor.

Thank you.
I also found a bug with the AdjustControls() method inside the RecorderNew.cs class.
The same bug, that code was not taking into consideration the negative bounds of the screens.


Null checking does not follow through functions: Object possibly 'null' or 'undefined'

TypeScript Version:  2.4.2
Code
function hasValueGeneric<T>(value: T): boolean {
    return value !== null && value !== undefined;
}

function hasValueAny(value: any): boolean {
    return value !== null && value !== undefined;
}

function test (value: string|null|undefined) {
    if (hasValueGeneric(value)) {
        return value[0]; // currently throws error but shouldn't
    }
    if (hasValueAny(value)) {
        return value[0]; // currently throws error but shouldn't
    }
    if (value !== null && value !== undefined) {
        return value[0]; // does not throw error, as expected
    }
}

tsconfig.json
{
    "compilerOptions": {
        "strictNullChecks": true
    }
}

Expected behavior:
Should follow through the function and compile.
Actual behavior:
Is not able to follow the function to the null check logic. Throws the below errors
(12,9): error TS2533: Object is possibly 'null' or 'undefined'.
(15,9): error TS2533: Object is possibly 'null' or 'undefined'.
Pretty sure this a bug and not a feature request, as it does not match standard user expectations based on reasonable extrapolation of documentation and isn't documented as known gap anywhere that I've found.
More than willing to submit a PR if I can get guidance on where and how to go about fixing. Not sure whether that is practical or not based on likely level of complexity for a fix. I have written in TypeScript full time for over a year now but have never contributed to the project before.

TS won't know if there's a type guard in your function unless you defined it, and auto type-guard generation looks like duplicate of #15265.
-function hasValueGeneric<T>(value: T): boolean {
+function hasValueGeneric<T>(value: T): value is {} {
    return value !== null && value !== undefined;
}

-function hasValueAny(value: any): boolean {
+function hasValueAny(value: any): value is {} {
    return value !== null && value !== undefined;
}

That looks like it absolutely fixed my problem but when I looked in the docs before logging the issue I didn't see anything like this would you have any objection to having this added to the docs? If not I take I would submit a PR to this repo: https://github.com/Microsoft/TypeScript-Handbook correct?

Actually looks like it is in the guide I was just in a sub section.  I'm just going to close this since it seems to be not an issue with code or documentation. Sorry for taking up your time with a non-issue and thanks for the great response :)


show all editors

Issue Type: Feature Request
Show editors has 2 options
'edt mru' most recently used and
and by appearance
But would be interesting to have a third option
Simply list all editors available in the project folder, meaning, if I have a vue app, show all my single file component (SFC) available
VS Code version: Code 1.48.1 (3dd905126b34dcd4de81fa624eb3a8cbe7485f13, 2020-08-19T17:12:13.244Z)
OS version: Windows_NT x64 10.0.18363

This is what I get currently

This is what I should be able to get in one shortcut key stroke, withouth having to backspace in the command line

@adrielwerlich You can open this view with the Go to file... command, which is by default bound to Ctrl+p on Windows


Configuring auth0 OIDC URL parameters

In order to configure our main tenant's login window we are obliged to use OIDC URL parameters.
When using mod_openidc for Apache, I do that by configuring:
OIDCAuthRequestParams connection=main-tenant-oidc&display=sup
How can I inject the display=sup parameter into the Auth0 request?
Tried some ways without success.
Thanks.

@nodomain - Happy to help.

the Auth0 request?

Which Auth0 request? Can you walk me through what you're trying to do and where you want to add that?

Ok perhaps I was not clear enough. 🙈
I have some Auth0 Integrations with the Apache module mod_openidc. There I can configure the request params for the Auth0 request using the parameter OIDCAuthRequestParams as described here: https://github.com/zmartzone/mod_auth_openidc/wiki#13-how-can-i-add-custom-parameters-to-the-authorization-request
Now I want to use the "native" Wordpress Auth0 plugin instead of having an Apache in front of it doing the authorization. How can I add these custom parameters to the authorization request with the Auth0 Wordpress module? Goal would be to add "display=sup" to the authorization request in order for the custom configured login form from our main tenant to display the needed "Register account" tab.

@nodomain - Thanks for the clarification. One more question for you ... are you using the Universal Login Page? The plugin does not, by default, use that but can be configured to do so.

In our scenario we use a custom hosted login page in the main tenant of our company. My Wordpress instance is configured in a sub Auth0 tenant, hence I need to use main-tenant-oidc in the "Auto Login Method" attribute.
Even if that does not answer your question directly, I hope to shed some light on it :)

@nodomain - Thanks for that, I see what you're trying to do now.
At the moment, there is no way to change that but I think it's a good candidate for a filter to add URL parameters as needed. We just put out a release today but I can add this to the next patch release if that works for you.

Sounds awesome :)


Mhp23 patch 1

Excluded arm64 simulators from the pod
Updating docs to run app on iOS simulators

Since the current stable version of TensorFlow Lite doesn't support arm64 simulators, building the app is failing for Apple Silicon (It appears that this issue is resolved in the TensorFlow Lite nightly version). Therefore, in this PR, the arm64 simulator is excluded, and instructions for running the app directly on x86_64 architecture simulators from the command line are added to the documentation.

Hey - thanks for your PR!

It appears that this issue is resolved in the TensorFlow Lite nightly version

I am building TensorFlow Lite from source from their current main - so if they fixed the issue, it should be resolved.
I did manage to run the example app on a simulator before, are you seeing errors or what was the motivation of this PR?

@mrousavy You're welcome!
Running the app on a physical device is OK, but when I've trying to run the app on a simulator with arm64 architecture, it threw the following errors and for run the app, I had to use Rosetta, and I decided to submit this PR that might be helpful for running the app on simulator with x86_64 architecture on Apple silicon chips. (Additionally, because TF doesn't support arm64 yet I excluded that)
Building for iOS Simulator, but linking in object file built for iOS, file '*/node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorFlowLiteC' for architecture arm64

Linker command failed with exit code 1 (use -v to see invocation)

Ah I see - I think this approach is not really good since it blocks simulators / makes it harder to use on simulators.
I think we can compile TensorFlowLiteC for simulator as well, I don't have any time to look into this right now though.
I'll leave this open for now for reference in the future.

See https://github.com/mrousavy/react-native-fast-tflite/pull/26

Same issue here, why it blocks simulators, I think it'd run in simulator as @Mhp23 mentioned.

I found this tensorflow PR from 2022 that was supposed to enable tflite to build for arm64 simulators: https://github.com/tensorflow/tensorflow/pull/55777
Is it possible we just need to add --config=ios_sim_arm64 to the build script as indicated in that PR?


Method presenter routing

Add MethodPresenter#routing_params

Return segment names from google.api.http.* annotation.
Update method def templates

Add _options_defaults.erb partial with MethodPresenter#routing_params.

Updated expected output for real google.api.http annotations.

[closes #104]

@quartzmo You changed the gapic generator expected output, but you didn't change the cloud generator's default output. Since cloud is inheriting the gapic generator's templates, this changes the cloud output.


vdirsyncer: fix build

Motivation for this change
https://hydra.nixos.org/build/117749868
Things done

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

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

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

@GrahamcOfBorg build vdirsyncer vdirsyncerStable

@GrahamcOfBorg build vdirsyncer vdirsyncerStable

I also wanted to do that but I wasn't thinking of deselecting these tests like that. Nice :+1:. Unfortunately my PR got stale: https://github.com/NixOS/nixpkgs/pull/85993 :/


Updated to 1.10.2

Didn't create a tag as I am not sure how you want to do that.

Oh, 1.10 is out already? Seems like 1.9.4 was just a snapshot a few weeks ago... alright, I'll prepare a new release then.

It sure seems like that.


Add MVC system

Need to build and add an MVC system for handling the routing of pages.

what are your requirements ?

what are your requirements ?

I am looking to add php based routing and mvc framework to my project.


No speed when dumping

[frida-ios-dump]: dlopen libswift_Concurrency.dylib success. 0.00B [00:00, ?B/s]
os version: iOS 15.0.1
root state: rootful

just some specific app block

just some specific app block


⚠ Bofrost.lu has degraded performance

In 82f815e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1373 ms

Resolved: Bofrost.lu performance has improved in 2b83541 after 6 minutes.


Version bump to 2.9.0

Version Bump: Added new API endpoints
Added account onboarding API (create, fetch, edit, delete)
Added stakeholders API (create, fetch, fetchAll, edit)
Added product configuration API (requestProductConfiguration, fetch, edit, fetchTnc)
Added webhooks API (create, fetch, fetchAll, edit, delete)
Added token sharing API (create, fetch, delete, processPaymentOnAlternatePAorPG)
Added Documents API

Codecov Report

Merging #353 (76c1ad3) into master (69dd174) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #353   +/-   ##
=======================================
  Coverage   91.44%   91.44%
=======================================
  Files          27       27
  Lines        1076     1076
=======================================
  Hits          984      984
  Misses         92       92


optional use of ulimit

fix for https://github.com/CGATOxford/CGATPipelines/issues/297

Closing as per https://github.com/CGATOxford/CGATPipelines/issues/297


As soon as output window is opened, vim enters into insert mode

How to reproduce:

On a normal mode
:lua require("neotest").output.open()
The main editor enters insert mode, which should not happen.

Exactly -- you've got a right hunch.
This is the autocmd I have; disabling this would make the bug not happen.
  " Automatically enter insert mode when entering neovim terminal buffer
  augroup terminal_autoinsert
    autocmd!
    autocmd BufWinEnter,WinEnter *  if &buftype == 'terminal' | startinsert | endif
    autocmd TermOpen * startinsert
  augroup END

However the latest commit (after fcc2337) still doesn't fix the issue. You could probably reproduce the bug with the autocmd settings above. What's strange is the startinsert option is supposed to work on the terminal buffer, but it affects the editor window.

This happens because the TermOpen autocmd fires when a terminal is opened, regardless of if it's the current window or not. You can demonstrate this by sourcing this file:
-- test.lua  :source % will enter insert mode
  local buf = async.api.nvim_create_buf(false, true)
  local chan = async.api.nvim_open_term(buf, {})

Since that is exactly what output.open() is doing, it's going to hit your autocmd and startinsert.
You can fix this on your end by adding a guard (optionally with a delay). My config looks like this:
vim.api.nvim_create_autocmd("TermOpen", {
  desc = "Auto enter insert mode when opening a terminal",
  pattern = "*",
  callback = function()
    -- Wait briefly just in case we immediately switch out of the buffer
    vim.defer_fn(function()
      if vim.api.nvim_buf_get_option(0, 'buftype') == 'terminal' then
        vim.cmd([[startinsert]])
      end
    end, 100)
  end,
})

On the neotest side, you may want to do something to work around this. We expect this autocmd to be relatively popular because it's literally in the neovim help docs (see :help :terminal):
To enter |Terminal-mode| automatically:
      autocmd TermOpen * startinsert

One possibility (that is still a gross hack to be sure) is the code below.
  local mode = vim.api.nvim_get_mode().mode

  -- Open terminal here

  vim.defer_fn(function()
    local new_mode = vim.api.nvim_get_mode().mode
    if new_mode ~= mode then
      if string.find(new_mode, "i") == 1 then
        vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<ESC>", true, true, true), "n", false)
        -- Optionally restore visual selection if we came from visual mode (is this common?)
        if string.find(mode, "v") == 1 or string.find(mode, "V") == 1 then
          vim.cmd([[normal! gv]])
        end
      end
    end
  end, 10)

Ah yes the TermOpen command is not affectted by the nouatocmd setting. I'm not really a fan of introducing a hacky solution. This is not unique to neotest (I use it in nvim-dap-ui, nvim-dap also uses it), it's much easier to fix the autocmd. I'll leave it up to users to adjust their config.
I'd recommend changing the autocmd to something like this
autocmd TermOpen * lua if vim.startswith(vim.api.nvim_buf_get_name(0), "term://") then vim.cmd("startinsert") end

which should then behave how you want it to

Thanks for the comments. I thought this is something that can be addressed by the plugin, but I agree that user's custom autocmd config is more responsible for the behavior. The startinsert autocmd were implictly assuming the terminal is opened in the current window (or focus is gained), but this assumption is not necessarily true in some cases.

I'd recommend changing the autocmd to something like this
autocmd TermOpen * lua if vim.startswith(vim.api.nvim_buf_get_name(0), "term://") then vim.cmd("startinsert") end

which should then behave how you want it to

Can confirm this works as expected. Or a non-lua version if someone would care the backward compatibility:
autocmd TermOpen *  if nvim_buf_get_name(0) =~# '^term://.*' | startinsert | endif

Perfect I'll close this so :+1: Perhaps an update to neovim docs would be good, will open a PR when I get a chance if no else has

I just ran into this with a TermOpen autocommand as well that looks like this:
-- start terminal in insert mode vim.api.nvim_create_autocmd("TermOpen", {   group   = "custom_buffer",   pattern = "*",   command = "startinsert | set winfixheight" })
I implemented what @stevearc suggested as a workaround. Is there a more preferred solution?

This seems to be working for me, do you see any issues with it?
local autocmd = vim.api.nvim_create_autocmd -- Create autocommand

-- Enter insert mode when switching to terminal
autocmd("TermOpen", {
  command = "setlocal listchars= nonumber norelativenumber nocursorline",
})

autocmd("TermOpen", {
  pattern = "term://*",
  command = "startinsert",
})

-- Close terminal buffer on process exit
autocmd("BufLeave", {
  pattern = "term://*",
  command = "stopinsert",
})


Update to pytorch-0.4

Using pytorch-0.4.1 to run this code, I encountered several problems. I'm creating this pull request to propose a solution to these issues.
One blocking issue is related with generate_fast() that raise a RuntimeError: the number of sizes provided (1) must be greater or equal to the number of dimensions in the tensor (2)
I also modified to code to avoid warnings:

nn.functional.tanh and sigmoid are deprecated in favor of torch.tanh and sigmoid
scalar should be accessed with item()
Variable are deprecated in favor of requires_grad args

Unfortunately, I could not verify that these modifications are functional on pytorch < 0.4. I'll try to install pytorch 0.3 on another system and see if it is backward compatible.
Thank you very much for this nice code, I was a huge help to understand WaveNet! I hope I could contribute to this project.

Works for me on 0.4

Also you need to move the model to cuda
if use_cuda:     model.cuda()


Add indicator, fixes #148672

This PR fixes #148672
We can finally obtain the correct extension source for extension-contributed language-specific default value overrides. Therefore, the PR adds in the default value source in the case of language-specific settings, so that the default override indicator can be displayed for language-specific settings where applicable.

It turns out that language tag settings like [markdown] were also getting default override indicators. These settings show up when a user searches something like "markdown" in the Settings editor search bar while there is no language filter.
We don't want to show indicators for language tag settings because the user would not see these settings when applying the language filter anyway. If we showed the indicator, the user might be confused on where the setting went after they apply the language filter to try and see the overridden values for that setting.


Excel Export Revision

Add 3 columns into the Export CSV file for Private Cloud

Total App Compute Quota (Cores)
Total App Memory Quota (Gb)
Total App Storage Quota (Gb).
The columns would contain the sum of resource quota for all 4 namespaces within a project set. For example, for an X-Small project Set, the number in the Total App Compute Quota (Cores) column will be 2.

The new Quota columns are present in the .csv document with all the lister parameters:


Fix #1510 - use relative path when possible

Fix #1510 - use relative path when possible

@scurest Can you please have a look?

Just one thing: on Windows, a relative path may not exist (eg. between C:\file.blend and D:\image.png). In that case, bpy.path.relpath raises a ValueError. So in the if-body I would do
try:
    path = bpy.path.relpath(path)
except ValueError:
    # May happen on Windows if on different drives, eg. C:\ and D:\
    pass

This still uses the absolute path if no relative path exists, which is what happens if you load the image by hand.

Oh, you should really get rid of the outer try that swallows all exceptions too though. It existed to guard the tempdir with a finally. Since there's no tempdir it's not needed and swallowing all errors is bad.

The relpath code is messed up. There's no abspath and there's two relpaths now.


404 error on "Check for Updates"

Describe the bug
By clicking on the "Check For Updates" button it returns me a 404 error.
Failed to fetch com.readyplayerme.core releases. Error: HTTP/1.1 404 Not Found  UnityEngine.Debug:Log (object) ReadyPlayerMe.Core.Editor.ModuleUpdater/<FetchReleases>d__9:MoveNext () (at Library/PackageCache/com.readyplayerme.core@39d3c866dc/Editor/Module Management/ModuleUpdater.cs:88) UnityEngine.UnitySynchronizationContext:ExecuteTasks () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)
To Reproduce
Steps to reproduce the behavior:

Install the core module
Click on "Check For Updates"

Mac Editor :

Ready Player Me Core version

Thanks for reporting this issue!
Can you check the manifest.json in your project? I believe this issue was caused by the changed of repository names.
You should be able to fix by either manually updating the URL's of the modules in there

or you a clean install of the latest core module should also fix.
I can add this to the docs But after a clean install of Unity Core 0.1.1 this should no longer occur.

That was exactly this.
Fixed it by modifying :
"com.readyplayerme.core": "https://github.com/readyplayerme/Unity-core.git"
into
"com.readyplayerme.core": "https://github.com/readyplayerme/rpm-unity-sdk-core.git#v0.1.1"
Thanks !


Update comments to provide sphinx markup

E.g. so the object documentation shows on Read the Docs.

Realizing we've already done this before with the client library, I'll send a PR.


Support configuring the marker function name

The default in webpack is __, so that's what I'd like to use. My script looks like this:
#!/usr/bin/env node

var fs = require('fs');
var extract = require('i18n-extract').extractFromFiles;

var messages = extract([
  'src/client/**/*.jsx',
  'src/client/**/*.js'
], {
  marker: '__',
});

messages.sort();

var obj = {};
messages.forEach(function(msg) {
  obj[msg] = msg;
});

fs.writeFileSync('i18n/en.json', JSON.stringify(obj, null, 4), 'utf8');

Whoops, accidentally pushed an extra commit here. Rolled it back.

Thanks @brandonbloom :+1: . I'm gonna add a new test for this option.

released as 0.1.0


[Data] failed in ODE parameter estimation with Japan data: IndexError

Summary
As @_Kaira commented on Kaggle Notebook, ODE parameter estimation with complemented Japan data raises IndexError.
Codes
https://gist.github.com/lisphilar/5ea32421ab34760767c5953462ad5558
Outputs
IndexError: index 0 is out of bounds for axis 0 with size 0
Environment

CovsirPhy version: 2.24.0
Python version: 3.7.13
Installation: pip
System: Google Colaboratory

In-correct: 66,702,086
Correct: 6,702,086
Source: https://www.mhlw.go.jp/stf/newpage_25006.html

I fixed this error of Japan data uploaded to https://github.com/lisphilar/covid19-sir/tree/master/data

Revision of data fixed this issue without update of CovsirPhy codes.
https://gist.github.com/lisphilar/7c1b6b6eb37c89abba78f399baa516f3


Distance between cameras

Hello there,
I'm trying to find out what the coordinates that represent the location of the sensors are equal to?
For examples, If added two cameras at (0, 0.5, 0) and (0, -0.5 ,0), what is the horizontal distance between them?

Turns out the coordinates are represented in meters


ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.

venv\Lib\site-packages\onnx_init_.py", line 77, in
from onnx.onnx_cpp2py_export import ONNX_ML
working with all solutions, but no luck to bypass this error

I can successfully install version 1.16
pip install onnx==1.16.0

worked for me thanks


Big file is freeze the micro for a while

Description of the problem or steps to reproduce
It seems like the micro editor performance issue: "re-analyze" (re apply the color scheme or something else what it does) whole file on every char input.
It freezes for a while and then hangs again on every char input,
the htop shows big CPU consumption in that time (see attached screenshots) :(
Steps to reproduce:

Open a big file. e.g. 26k+ lines of php code
Try to add something - the micro will be freezed on every char entered

Specifications
Micro Commit hash: 68d88b57 (Version: 2.0.13)
OS: Manjaro Linux 23.1.4 (Arch Linux)
Terminal: kitty
Lsp version: 0.6.2
Editing:

First opening:

This is likely because of the onRune handler that sends the entire file to the language server on every change.
It would be a good idea to use the (undocumented) onBeforeTextEvent(buf, textevent) handler instead. Having access to the textevent makes it feasible to use the more complicated form of textDocumentContentChangeEvent which lets you specify the edited range and the new content of that range.


Make the Audit Trail thread-safe

This PR fixes a thread-safety bug which has resulted in user actions being misattributed in document history timelines.
The class attribute AuditTrail.whodunnit was used to hold the current user whose request is being served by the app. This class attribute value is shared with all Threads on the Process which the app runs in.
This never used to be an issue because the web server used to serve requests via multiple single-threaded processes. So there was no risk of the variable being shared between multiple requests. However this recently changed so Whitehall is now served in a multi-threaded environment. This has resulted in multiple Threads having shared access to the same AuditTrail.whodunnit variable.
When multiple HTTP requests were served in parallel by the same Process (in separate Threads), the AuditTrail.whodunnit variable would sometimes be written by one Thread and then overwritten by the second Thread before Audit Trail records were written. The result was that the wrong user would sometimes be attributed to a document change.
In this commit, I've introduced a new Current model which has a thread-safe user attribute. This has been achieved with the help of the Rails ActiveSupport::CurrentAttributes super class, which ensures that attribute values are thread-isolated and reset automatically before and after each request.
So now the current user will be available at Current.user rather than AuditTrail.whodunnit throughout the app.
Race condition test
A test has been written which demonstrates the thread-safety bug.
bundle exec rails test test/integration/race_condition_test.rb

This test originally failed, and now it passes.
I'm undecided whether or not this test is valuable to keep long-term. It's pretty heavy-weight because it includes sleep statements to reproduce the desired environmental conditions within two threads. So it'll add a good couple of seconds to the overall test suite run time.

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

This looks good to me and thank you for the commit messages, makes it much easier to follow.
Regarding the test, I would kind of like it kept in for a short about of time just to protect against the issue occurring again. But I'd also be ok with it being removed as a separate commit so there is a record of it in the PR.

I've merged this keeping the integration test in place.
The previous implementation of "whodunnit" hadn't really changed in about 10 years – so I expect this implementation will be equally unlikely to change, meaning there's probably a low risk of regression. So at some point in the future, if anybody cares and remembers about it, it should be safe to remove that test.


[BugFix] Can't ingest data via starrrocks external table from starrocks' lower version to higher version

What type of PR is this：

[X] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

In #11871,  to support authentication for StarRocks external table, we add three fields in thrift struct TAuthenticateParams: host, db_name and table_names, and they are marked required which leads to a compatible problem. Denote the starrocks before #11871 as v1, and starrocks after #11871 as v2, and we can ingesting data to v1 via  the starrocks external table on v2 , but can't ingest data to v2 via external table on v1. The exception is as follows

#11871 adds host, db_name and table_names to TAuthenticateParams as required
struct TAuthenticateParams {
    1: required string user
    2: required string passwd
    3: required string host
    4: required string db_name
    5: required list<string> table_names;
}

The reason is that

external table on v1 will issue a RPC to v2 to request the meta of destination table
The RPC carries a parameter TAuthenticateParams created on v1 which not contains fields host, db_name and table_names
thrift requires these fields on v2, so the RPC failed
when ingesting data from v2 to v1, the RPC created on v2 does not carry TAuthenticateParams, so there is no problem

How to fix it
Mark host, db_name and table_names in TAuthenticateParams as optional
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[x] 2.4
[x] 2.3
[x] 2.2

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3

@Mergifyio backport branch-2.2


Importing AFT Management/ Control Tower Audit/ Control Tower Log Archive Accounts?

Describe the outcome you'd like
I would like to import the AFT Management, and Control Tower generated Audit and Log Archive accounts into AFT.
A clear and concise description of what you want to happen.
So that I can manage these accounts the same way I manage regular accounts, by using the account-request repository for example, to deploy resources everywhere at the same time.
Is your feature request related to a problem you are currently experiencing? If so, please describe.
I do not know if this will impact any workings of Control Tower or AFT by having these accounts managed by AFT itself?
A clear and concise description of what the problem is.
A clear indication I can import these accounts without worrying of anything being impacted, as I can't find anything about this in the documentation.

Hey @Chainshark!
You can add these account to be managed by AFT as long as they meet the prerequisites to add an existing account to AFT please see, https://docs.aws.amazon.com/controltower/latest/userguide/aft-update-account.html

were you able to import these accounts into AFT?

Heya,
Yeah it worked without issues! :)
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg

From: cjblastpoint @.>
Sent: Wednesday, January 24, 2024 5:57:30 PM
To: aws-ia/terraform-aws-control_tower_account_factory @.>
Cc: aws-architect @.>; State change @.>
Subject: Re: [aws-ia/terraform-aws-control_tower_account_factory] Importing AFT Management/ Control Tower Audit/ Control Tower Log Archive Accounts? (Issue #369)
were you able to import these accounts into AFT?
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-ia/terraform-aws-control_tower_account_factory/issues/369#issuecomment-1908546950, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF5JGXB4YZRNKL2CRU2EEH3YQE4PVAVCNFSM6AAAAAA2ENGT7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYGU2DMOJVGA.
You are receiving this because you modified the open/close state.Message ID: @.***>

if you do not mind me asking, did you have sso first and last names configured for these shared accounts or did you just use random values? wanted to be sure before trying so I don't muddle things up with the accounts


install conda in unbuntu 20--conda command not found

"conda command not found" after install miniconda3
So, i switch to anaconda, and follow the instruction as shown here: https://docs.anaconda.com/free/anaconda/install/linux/
conda config --set auto_activate_base True

conda config --set auto_activate_base False

something wrong with the path, solved by modify  PATH
see
cat ~/.bashrc
for more detail


Marker sizes

make sb-vision marker size aware.
This involves re-adding game_specific.py, but that's okay because we can remove it from robotd now.

Please re-review

Actually, I'll revise that -- I'm still concerned about the regenerated c270 model.

@PeterJCLaw I've mitigated this risk by grabbing the old calibration, and manually adding the marker size to the pkl file


Reference in LU editing

For reference, I want to be able to do this in LU content
- [trogger1](dialogName#triggerName)

This is extremely useful. Different inputs in different dialogs could be able to reference to same set of 'Expected responses'.

A real scenario:
In show todo, mark todo, delete todo dialogs, they all need display todos and local show next, show previous intents are needed.
The related input can't be shared because they also expect something different like 'mark the first item' or 'delete the second item'.
Then if show next, show previous intents are shared, it will make it easier and cleaner

dup with https://github.com/microsoft/BotFramework-Composer/issues/2241


Errors trying to compile

Trying to compile the project I get the following errors:
Compiling .pio/build/pico/lib74c/home-assistant-integration/HAMqtt.cpp.o
src/HAIntegration.cpp:15:26: error: no matching function for call to 'HASwitch::HASwitch(const char [4], bool)'
15 | HASwitch led("led", false);
|                          ^
src/HAIntegration.cpp:36:9: error: 'class HASwitch' has no member named 'onStateChanged'
36 |     led.onStateChanged(switchHandler);
|         ^~~~~~~~~~~~~~
Compiling .pio/build/pico/lib74c/home-assistant-integration/device-types/HABaseDeviceType.cpp.o
*** [.pio/build/pico/src/HAIntegration.cpp.o] Error 1

Setting up an Adruino MEGA with platformIO and Home Assistant worked.
Looking at the difference between both I see that with this implementation for the PicoW the Class HASwitch does not have a member "onStateChanged" while with the Arduino MEGA HASwitch contains the member., using the same library<EMAIL_ADDRESS>I'm quite new to all this, used to do simple things with the Arduino One and Arduino IDE. I have no clue how to solve it.
I started interest in VSCode with PlatformIO because of this project. Now I'm stuck totally unable to understand how to fix this.
I followed the exact instructions with a fresh installation on both Windows and Ubuntu platform, so the issue is not related to any configuration on my end (I hope).
Many thanks.

With<EMAIL_ADDRESS>HASwitch was modified between different versions of the library above.
onStateChanged is no more, and has been replaced by onCommand.
This needs to be modified in HAIntegration.cpp
Also HASwitch led...
definition is different.
Now it compiles, and I was able to transfer it to the pico w (but manually copying firmware.uf2
MQTT Feedback is not working yet,
So, not all is in it's place on the configuration for this git project. A pity that this isn't fixed (who knows when).
Kudos

Thanks for the heads-up here—changes to that dependency really did foul things up. Confirmed your fix and updated the project.
As to your MQTT issues, couldn't reproduce that locally with a fresh install to a Pico W, though I did see a couple hiccups propagating state between HA and the device, so there may be something else going on with the new code. I know that the rework on arduino-home-assistant was substantial.
I'll look into it more, and feel free to share anything notable from the logs in your MQTT broker, @pdcq


How to remove via tag

It's not clear from the document how to remove the "via" tag from the recipient side. I'm getting this behavior with an allowed sender and the document says that this shouldn't apply to people in a user's individual allowed sender list. I don't see the domain pair show up under the spoof intelligence insight section in security and compliance. As a side note, the hyperlink is missing from the page for this document https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/walkthrough-spoof-intelligence-insight.

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

ID: 83c7c32e-6f64-353b-0822-f6c7b4072998
Version Independent ID: 1a0d4ab3-c309-daa2-7855-93257071c29e
Content: Unverified Sender
Content Source: microsoft-365/security/office-365-security/unverified-sender-feature.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

Hello @microsoftsearch
Related to the tag that you're getting mistakenly working or partial working please contact support about it.
Related to the missing or broken link can you be more specific?

Thank you for the response. Under this section "How to manage which messages receive the unverified sender treatment" there is this bullet "Add the domain pair through the Spoof Intelligence Insight. For more details, see Walkthrough: spoof intelligence insight". The walkthrough: spoof intelligence insight is not a hyperlink and I believe that it should be to this document https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/walkthrough-spoof-intelligence-insight

Added information on PR #784

@microsoftsearch - From our understanding, the issue has been resolved based on this merged commit https://github.com/MicrosoftDocs/microsoft-365-docs/commit/3fdb521b9d2d576e2aafac1778688113e10f793d. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@arourke, bit of a late response, but it's my understanding that individual senders in a user's Safe Senders list are honored, but domain entries are not (at least from an anti-spam perspective). Could that be part of the issue?


Refine the maintainer role

Action item from the 2023 F2F meeting.
Define the maintainer role in a way that it becomes clear that it goes beyond just reviews. Ensure no stagnation in some of the areas.
First step is to survey the current maintainers and gather data about responsibilities maintainers are currently fulfilling.

Summary from Process WG
Items to query from maintainers:

Do you understand your responsibilities?
How much time is spent on maintainer activities?
Are you overloaded with maintainer responsibilities
@nashif - provide link to existing maintainer survey
Are you open to co-maintaining?

General consensus that multiple maintainers per area will help the project.  This should not be done at the expense of quality - co-maintainers must agree to same set of responsibilities.

@kartben - Items to capture from survey.  How much time is spent doing maintenance?
Can we support co-maintaining?  Is this done now, what's the format look like.
@fabiobaltieri - It would be good to set expectations for time to respond to PRs and RFCs that overlap.
@fabiobaltieri - would like to see 2 names per area - but the project largely assumes one maintainer.  zephyr-bot doesn't handle multiple maintainers.   This has lead to PRs stalling because assignee hasn't responded, but a maintainer has approved.
@fabiobaltieri - We should encourage maintainers/collaborators to mark status on github (OOO for instance).
@keith-zephyr - can we do multiple assignees?
@fabiobaltieri - this could allow a CI check that blocks merging until an assignee approves.
@fabiobaltieri - can we realistically expect to get multiple maintainers in all areas?
@kartben - hardly any areas have multiple maintainers.  @fabio - this is largely because of push by @nashif .
@kartben - we need some sort of backup for maintainers that are offline.  Collaborators doesn't really cover this.
@gregshue - we have maintainers for sample applications.  Is the role of sample application maintainers different than maintainers in tree?  This is managed a module to Zephyr.  Would like the project to have same requirements as the in tree.
@gregshue - mcuboot as an example.  Has a folder upstream that maintains compatibility with Zephyr main.  mcuboot maintainer has to verify compatibility.  The CI does build mcuboot as part of some samples.
@gregshue - should modules have a responsibility to verify compatibility with latest Zephyr release and/or Zephyr main?
@dleach02 - modules are part of the Zephyr ecosystem.  We need to identify maintainers for each module so that modules are tested against Zephyr.  Releases check some key modules are compatible.  If there is no maintainer, the module will bitrot and likely should be identified for removal.
@fabiobaltieri - Sees responsibilities are the same for subsystem vs module.
@gregshue - Not all code in modules is relevant to Zephyr.  Some support other RTOS - maintainers are responsible for portions that integrate with Zephyr.
@gregshue - wants consistency between in tree and modules
@fabiobaltieri - can we have 2 maintainers with every area?  @nashif - yes this a good plan.  But we can't have too many in a given area.   This is supported by the tooling.
@dleach02 - do collaborators help offload maintainers?  @fabiobaltieri - generally no.  The assignee comes from the maintainer.
@dleach02 - collaborators should be helping review.  What's the point of collaborators if they aren't sufficient to merge?  @nashif - maintainer must approve otherwise there's no difference between maintainer/collaborator.  Typically there should be one or more collaborators to approve plus the maintainer.
@dleach02 - does CI prevent merging without maintainers approval? @nashif - No.  Release team generally knows which areas should have a maintainer review and wait on a case by case basis.
@fabiobaltieri - Can we use multiple assignees, so that the release team can have more rigid rules about merging?
@nashif - need to be careful about diffusion of responsibility if we use multiple assignees.
@nashif - there is probably not consensus among current maintainers what their responsibilities.
@nashif - shouldn't force co-maintainers.  Anyone designated as a maintainer needs to go through the same qualification/ responsibility sign-off.
@fabiobaltieri - Can we capture some metrics to help determine if maintainers/collaborators are effective?
@fabiobaltieri - metrics could also help identify good candidates for maintainers/collaborators.
@kartben - how do we make the survey results actionable?

Hey I'm thinking it may be interesting to also ask the maintainers what they think about to tooling that they have available to get the job done. I suspect that the general vibe is that the current tooling is somewhat inadequate and inefficient, thinking that maybe this could be a good start to thinking about putting together some project tooling to make the maintainers life easier and the general process more efficient. That may also help in having a more uniform experience from a user perspective.
For example, IIUC we still can't give a person a link to get a list of the PR they're blocking. I'm imagining a situation where we put something together to aggregate the PR and commit data and at the same time obtain:

some data we can review to understand what area could use some help, who's overloaded, if we need to organize a search and rescue etc... but also
a dashboard where a maintainer can quickly identify the backlog, maybe set up an OOO notice, set up some delegation to co-maintainers/collaborators etc
a view where we can identify PR that don't get assigned, get assigned with low confidence, other indications that something is wrong with the maintainers file

The usual disclaimer here is that the project mission is to build an RTOS, so it's not ideal to put energy into building development tools instead, but some proper monitoring here may help taking the right decisions.

It looks like we already have a number of explicit requirements upon module maintainers, along with several recommendations/expectations.

I am not really sure I am following. How does any of that relate to the maintainer role? This is general expecations from any contributor.

Yeah, you missed it. Let's try this again.
From (https://docs.zephyrproject.org/latest/contribute/external.html):

The submitter of the proposal to integrate external source code must therefore commit to maintain the integration of such code for the foreseeable future.

From Submitting changes to modules:

Once the module is merged, the revision will need to be changed either by the submitter or by the maintainer to the commit hash of the module which reflects the changes.

From Zephyr Project Roles - Maintainer:

Maintainers have the following rights and responsibilities, in addition to those listed for Contributors and Collaborators:

Right to set the overall architecture of the relevant subsystems or areas of involvement.
Right to make decisions in the relevant subsystems or areas of involvement, in conjunction with the collaborators and submitters.
Responsibility to convey the direction of the relevant subsystem or areas to the TSC
Responsibility to ensure all contributions of the project have been reviewed within reasonable time.
Responsibility to enforce the code of conduct.

From Contributing to Zephyr modules (emphasis mine):

Module owner: Each module shall have a module code owner. Module owners will have the overall responsibility of the contents of a Zephyr module repository. In particular, a module owner will:

coordinate code reviewing in the module repository
be the default assignee in pull-requests against the repository’s main branch
request additional collaborators to be added to the repository, as they see fit
regularly synchronize the module repository with its upstream counterpart following the policies described in Synchronizing with upstream
be aware of security vulnerability issues in the external project and update the module repository to include security fixes, as soon as the fixes are available in the upstream code base
list any known security vulnerability issues, present in the module codebase, in Zephyr release notes.

The module roles list does not include a "maintainer" role. These responsibilities fall to the required role of "module owner" and are assigned to initial module submitter. When looking at the rest of the responsibilities it seems "module owner" == "maintainer (module)".
From Maintaining the module codebase(emphasis mine):

The responsibility for keeping the module codebase up to date is shared between the contributor of such updates in Zephyr and the module owner. In particular:
...

the module owner has the overall responsibility for synchronizing and testing the module codebase with the zephyr main tree. This includes occasional advanced testing of the module’s codebase in addition to the testing performed by Zephyr’s CI. The module owner is required to fix issues in the module’s codebase that have not been caught by Zephyr pull request CI runs.

The above paragraphs identifies several specific maintenance activities (integration testing, advanced testing, issue fixing, regular synchronization with upstream counterpart, update Zephyr release notes) are assigned specifically for the module owner to perform.
As you see, the current Zephyr documentation already lists many things special about being a maintainer (owner) of a module. ;-)

As you see, the current Zephyr documentation already lists many things special about being a maintainer (owner) of a module. ;-)

just like a platform maintainer or an architecture maintainer or a driver maintainer each are "special" in their own way.  This does change the overlall maintainer role definition and we do not need to go into different types of maintainers.

Summary from 2023-07-27
@nashif and @kartben to finalize survey based on notes below.
@gregshue to draft language to include module maintainer responsibilities to general maintainer responsibilities.

@nashif and @kartben started working on maintainer survey.
@nashif - to provide survey link
@dleach02 - suggest follow on questions to see if maintainer actually understands role
@keith-zephyr - suggestions for "How you monitor PRs".  Github GUI: https://github.com/pulls/review-requested, scripts using Github CLI, other scripting using REST API
@nashif - "Assigned" button from review-requested dashboard provides a better interface for maintainers specifically
@gregshue - There are already responsibilities documented.  Should we check them for additional questions to the survey.
@gregshue - maintenance of modules and in tree subsystems need to apply uniformly.  Module documentation already enumerates responsibilities that should be pulled into the general maintainer responsibilities.
@gregshue - "Maintainers should ensure the code is secure".  @gregshue to refine this language on this issue.
@dleach02 - consolidating this info will allow us to de-dup some of the module documentation.

@teburd - how to handle disagreements between co-maintainers?  @keith-zephyr Use defined escalation path (Arch WG and TSC).
@fabiobaltieri - don't need a different process for maintainer disagreements vs PR author and maintainer disagreement.
@teburd - an alternative would be primary/secondary maintainer
@dleach02 - even with single maintainer, there needs to be an escalation path to potentially overrule the maintainer
@nashif - there is the potential for multiple maintainers causing delays when they don't agree
@fabiobaltieri - with multiple assignees, we need define the requirements to merge a PR. e.g. only one maintainer needed, not both

Proposed changes to the Maintainer role description:
Change:

A Maintainer is a Collaborator who is also responsible for knowing, directing and anticipating the needs of a given zephyr source code area.

to

A Maintainer is a Collaborator who is also responsible for knowing, directing and anticipating the needs of a given zephyr source code area. The zephyr source code area covers in-tree and out-of-tree code integrated with Zephyr.

Add the following bullets:

Right to request additional collaborators to be added to the zephyr source code area repositories, as they see fit
Responsibility to coordinate code reviewing in the source code area.
Responsibility to be the default assignee in pull-requests in the zephyr source code area.
Responsibility to regularly synchronize externally sourced content with its upstream counterpart following the policies described in Synchronizing with upstream.
Responsibility to be aware of security vulnerability issues in all eternally sourced content.
Responsibility to update externally sourced content to include security fixes, as soon as the fixes are available in the upstream code base.
Responsibility to list in Zephyr release notes any known security vulnerability issues, present in the zephyr source code area.
Responsibility for synchronizing and testing the zephyr source code area with the zephyr main tree.
Responsibility to perform occasional advanced testing of the zephyr source code area in addition to the testing performed by Zephyr’s CI.
Responsibility to fix issues in the zephyr source code area that have not been caught by Zephyr pull request CI runs.

@nashif - Waiting on @kartben  to return from OOO before sending out the survey.
@gregshue - proposed changes to change repository/external code to source code area.
@nashif - does not agree with language for "code area".  @gregshue - is the module owner responsible for fixes?
@nashif - external modules are not maintained by Zephyr.  @gregshue Module owner is already identified as the maintainer for code integrated with Zephyr.
@nashif - we need agreement on source code area.
@nashif - responsibilities proposed are too specific and detailed.  Changes effectively repeat contribution guidelines into the maintainer responsibilities.
@nashif - in favor of leaving module responsibiliies in the module area only.
@nashif - module owner is not necessarily the same as the module maintainer.  e.g. embedTLS module maintainer isn't a contributor/owner of the embedTLS source.
@nashif - secure guidelines are a separate activity from maintainer responsibilities
@nashif - problem is that areas are not maintained or not getting enough attention
@keith-zephyr - what are the gaps?
@nashif - overloaded maintainers, maintainers not aware of their responsibilities.  Coverage for maintainers OOO. Maintainers not always driving PRs to mergable state.  Need mechanisms for assigned maintainers for orphaned areas.
@fabiobaltieri - can we do something at the project level to make maintainership more efficient.  Adding responsibilities could just add to the burden.
@keith-zephyr - propose tabling this issue until maintainer survey completed
@gregshue - maintainer yaml file includes maintainers under modules and for code in the tree.  We may need a new term if the responsibilities are different.

Process WG action items
@kartben - to provide link of the final maintainer survey to @kestewart for review.

@kartben presented a draft survey to the Process WG.
@henrikbrixandersen - suggests adding a free-form text to respondents to expand on the questions.
@gregshue - What's the difference between "embedded software" and "firmware" developers? From "What is your role" question. @henrikbrixandersen - agrees with collapsing the two options.
@henrikbrixandersen - suggests a separate question regarding time spent on non-technical aspects for Zephyr.  @nashif - this is already covered by the meeting attendance question.
@kartben - suggests changing time commitment to hours spent instead of percentage.
@henrikbrixandersen - what about surveying collaborators?  @nashif - this is covered by the general developer survey.
@jfischer-no - suggests other challenges for maintainers includes reviewing open issues.
@henrikbrixandersen - suggests expanding question about asking for more maintainers and collaborators
@nashif - more maintainers is meant to cover OOO gaps when primary maintainer not available
@nashif @henrikbrixandersen - Send survey to the existing maintainer mailing list.  Need to sanitize the mailing list and make sure it's up to date.
@nashif suggests asking for maintainer name as an optional response.

@kartben, @nashif - maintainer survey was completed.  What are the next steps here? Is this something you want to bring back up to the Process WG?

@nashif and @kartben to discuss and come up with next steps (if any).


Added videos to Gallery

To finish covering #499.

@andreadelrio The black thumbnails aren't really ideal. Is there a way to have the same thumbnail as the larger image, with a small play button? I'm mainly thinking of the homepage, if say someone only uploads a video and no photo, we'd like a thumbnail image with a play button, not a black box, to show up on the homepage. Does that make sense?

@jesicarson can you provide a mockup of how you'd like the thumbnail to appear on the homepage when the case has nothing but 1 video?

@andreadelrio
50% black overlay
80% white play button (https://material.io/icons/#ic_play_circle_filled)
The question is... when a user clicks the play button, should the video play on the homepage, or should they be taken to the case and have the video play there, larger? I'm wondering what is the most user friendly, open to thoughts here. Thanks!

@andreadelrio you should also be able to see the video thumbnails in the case entry form and "star" a video to be the featured media item.

@jesicarson I'd say let's let them play the video from the homepage. That would also make getting the preview image from the video easier.
I'll need to look into how to get thumbnails from video services (youtube, vimeo, etc) to make videos 'starrable' as well. I'll keep you posted.


API-s my org uses

In point no. 5. I didn't find Azure Smart Space Service in the list, however there is Azure Digital Twins that has the same effect.

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

ID: 90b8d974-13d8-7d18-7c6c-c191f15680e9
Version Independent ID: da08a3d8-feb4-ef8f-63c0-5c7e488d20bc
Content: Tutorial: Deploy Azure Digital Twins
Content Source: articles/digital-twins/tutorial-facilities-setup.md
Service: digital-twins
GitHub Login: @alinamstanciu
Microsoft Alias: alinast

@loup73 Thanks for bringing this up to our attention. It looks like this step needs a new screen shot. I have assigned the issue to the content author to evaluate and update as appropriate.

@loup73 - Thanks for your great question! Can you verify that you DO NOT see the following?

The Azure Smart Spaces Service is the one you'll want to use. You may also see:

While it is related to the overall service, it IS NOT recommended for use.

I can confirm what @loup73 has described. In my test tenant I see:
.
Nothing shown for 'Azure Smart':

Thanks @robmaw and @loup73 - I've pinged the engineering team.

@robmaw , @loup73 - Thank you very much. I've confirmed with the engineers that the exact search result may vary depending on the tenant you belong to. I've corrected our documentation and you should see a change shortly. Thanks again!

Dear All,
I don’t see any service starting with Azure Smart, search result list is empty.
I can find Azure Digital Twins, but no deployer or dev strings at the end. But the id is the one you display below.
Thanks & Br,
Lorant
From: Adam Gerard<EMAIL_ADDRESS>Sent: Monday, August 12, 2019 10:36 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Farkas, Lorant (Nokia - HU/Budapest<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] API-s my org uses (#36796)
@loup73https://github.com/loup73 - Thanks for your great question! Can you verify that you DO NOT see the following?
[1]https://user-images.githubusercontent.com/43044425/62896412-db1b5b00-bd05-11e9-960e-ebda669ffd93.PNG
The Azure Smart Spaces Service is the one you'll want to use. You may also see:
[2]https://user-images.githubusercontent.com/43044425/62896472-fc7c4700-bd05-11e9-9032-2515cc91c7b7.PNG
While it is related to the overall service, it IS NOT recommended for use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/36796?email_source=notifications&email_token=AAU7WC43V3JKO64Y5RQWH3DQEHCTRA5CNFSM4IKSP7OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DX3YY#issuecomment-520584675, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAU7WC3YQODLE7V46GIWA7DQEHCTRANCNFSM4IKSP7OA.

Hi @loup73 - You are seeing the correct one - the Azure Digital Twins result (no developer or dev as a suffix) I think due to the instance you are on.

@loup73 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@loup73 - I've gone ahead and further updated the documentation to improve clarity about this issue. Thank you!


Compiling Microsoft's MS-DOS 4.00 sources under V86

Hello,
out of curiosity I'm trying to compile the recently released source code of Microsoft's MS-DOS 4.00 using V86.
In around 50% of the V86 test runs it compiles as it is supposed to, but in the other cases it either freezes, generates a DIV0 error or starts printing garbage. I'm using current releases of Firefox and Chrome under Windows 10 Pro for testing.
For my tests I've created a 64MB image, installed MS-DOS 6.22 from floppies, and copied Microsoft's source tree into that image (which also includes the full toolchain to build MS-DOS 4.00, i.e. nmake, masm, C-compiler and -runtime, etc.). Note that Microsoft's sources need to be patched in order to compile. In case it matters, I can provide a copy of that image. It compiles reliably under 86Box and PCem (tested both under Windows and Linux), however under qemu it's unstable too (but in a deterimnistic way different from V86).
I've compiled bochs' current BIOS and VGABIOS for these tests, first I thought it was more stable than SeaBIOS, but I'm not anymore sure about this at all, I'm tending to believe that they behave equally (un)stable.
Here some of the versions of Microsoft's toolchain being used:
NMAKE.EXE:
    Microsoft (R) Program Maintenance Utility   Version 1.00.05
    Copyright (c) Microsoft Corp 1987, 1988. All rights reserved.
MASM.EXE:
    Microsoft (R) Macro Assembler Version 5.10
    Copyright (C) Microsoft Corp 1981, 1988.  All rights reserved.
CL.EXE:
    Microsoft (R) C Optimizing Compiler Version 5.10
    Copyright (c) Microsoft Corp 1984, 1985, 1986, 1987, 1988. All rights reserved.

Any ideas as to what could cause these instabilities in V86, or any tips to try out to get a better understanding? Except for BIOS, VGABIOS and HDA I'm using V86 defaults as I think these should be ok.
There is really no urgency to this matter.
Thanks!

however under qemu it's unstable too (but in a deterimnistic way different from V86)

Did you try building in FreeDOS? https://fosstodon.org/@freedosproject/112350709089041734
I tested on QEMU 9.0-RC3, it builds on MS-DOS 6.22 and FreeDOS 1.3 without any problems.
On v86 I successfully built patched source code that you mentioned (https://fabulous.systems/posts/2024/05/the-broken-source-code-for-ms-dos-4-has-been-restored/) on FreeDOS, but on MS-DOS I get hangs, but no errors or garbage print.

Any ideas as to what could cause these instabilities in V86, or any tips to try out to get a better understanding?

Did you install MS-DOS in 86box/PCem or QEMU?
How you copy files in your emulated system? (maybe some files could be corrupt and this cause to glitches in build process?)

I haven't tried FreeDOS, yet. I know that video, but I didn't think the OS would make the difference.
I've constructed my image in different ways, since it's a raw image I thought it should be interchangeable (specifically to V86). I've used 86Box (Windows) plus WinImage (to copy the SRC file tree into the image) as well as qemu (Linux and MSYS2) to build the image, I think also PCem (Linux) at some point. Under Linux I simply mount the raw image to copy the file tree into it. In any case, when building an image I go through the MS-DOS 6.22 installer to partition and format the hard disk and to make it bootable.
In qemu (ver 9.0.0 under MSYS2 and I believe 7 under Debian) it fails with about a 50% chance with a bogus "File not found" error when compiling select8.asm (pretty late into the build), however the error is not only deterministic but also recoverable, all you need to do is to return to the C:\SRC build directory and run nmake a 2nd time, it will pick up where it failed and complete the build successfully.
Anyways thanks a lot for your input, will try FreeDOS next. I am currently using MS-DOS 6.22 installer disks from winworldpc.com.

In case it matters, I can provide a copy of that image

Yes, that would be useful.
There are some (older x86) features that are not fully implemented in v86 yet:

segment checks (bounds checks, read-only, etc.)
some parts of far calls/returns and hardware task switching
single stepping
self-modifying code in jit mode (but it should be detected and logged)

Additionally, there are probably bugs in segmentation wrap-around, especially with the instruction pointer in jit mode.
You could some of these things:

use debug.html, which has a fair amount of assertions and should log SMC:  when writes to the jitted page are detected
disable the jit (add &disable_jit=1 to the url)

Here's my image file: MSDOS622-dos4src.7z (6MB download, 64MB unpacked). Build instructions after booting:
cd src
setenv
nmake

I will come back after testing without jit. Thanks a lot!

And here's my image with FreeDOS if you need it: fd-msdos4.tar.gz.
Source code, toolchain and build instruction are identical to the image above.

SuperMaxusa, thanks to you I've made some progress!
First I disabled JIT which unfortunately did not help, V86 froze again while building DOS 4.
Next I gave FreeDOS 1.3 a try, and after the 12th consecutive, perfectly successfull build I gave in. FreeDOS is rock-solid in my use-case, unlike the MS-DOS 6.22 distribution I used with which I had about a 50/50 chance. Isn't it ironic?
So unless there's something wrong with my MS-DOS 6.22 distribution, there is something peculiar going on here between V86 and DOS6.22 which isn't between V86 and FreeDOS1.3, most likely rooted in some behaviour in the binary toolchain which comes with the DOS4.00 sources.
I removed the image file I had published earlier as it is broken. Here the step-by-step instructions how I build the working FreeDOS image:

Download FreeDOS 1.3 (I used the floppy disks) and unpack.
Download v400_src_plain.zip from fabulous.systems.
Unzip the SRC directory from v400_src_plain.zip, edit SRC/SETENV.BAT line 7 to: set BAKROOT=c:, save.
Use 86Box to create a raw hard disk image (I used 65MB with CHS: 1024/5/26).
Install FreeDOS to the hard disk image.
Close 86Box and open the hard disk image file using WinImage.
Drag&Drop the SRC directory into the image (C:\SRC).
Close WinImage, done.

And to Copy and all contributers, V86 is an impressive piece of work, a bold idea which works really well, I love it and encourage you to keep on with this project!


Spark can't connect to Google Cloud Storage

I have created a notebook using zeppelint. Inside it I am trying to acces a file in GC Storage.
It is getting this error:
Py4JJavaError: An error occurred while calling o72.csv.
: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem not found

@dbanda I saw that this chart came from your personal repo. I would like to be able to use google cloud connector and install prophet on spark executors. How can I do it? I tried using my own spark image which contains the connector jar.
However, after adding spark.jars property in zeppelin interpreter. It doesn't get loaded!

What spark interpreter are you using on zeppelin? Judging by your error message, Im assuming you are using %spark.pyspark. You have to add your dependencies as the first line in your notebook file. You will also have to make sure you update the path. There is an bug in zeppelin where the paths  to python aren't properly updated. Could you share with me your notebook so that I can investigate?


I can't add class for ul or li tag.

Hi , Its good package and I like it so far but I have an issue. I can't add any ul or li class when im in source code.

Alanya Pamukkale Tour

Sorry it's taken this long to get back to you on this.
I'll keep looking for a way to make this better, but tiptap and prose mirror are very strict about what attributes can be saved to a tag or mark.
So to make this work I would basically have to extended all of the default extensions, which i'm not willing to do at the moment.
Also custom extensions will be released soon in this plugin, which you can use to extended the tags and marks that you need to be able to do this with.
Sorry.


changed slow tokenizer tokenize

What does this PR do?
I pulled from @SaulLu's changes and then changed SPMTokenizer's tokenize() to ensure parity with Debertav2TokenizerFast's tokenize()
I have also changed the respective tests for the slow tokenizer to make it not spit out [UNK]
Who can review?
@alcinos @SaulLu

These changes are perfect for me! Thanks :hugs:
Ps: I can't use the official github feature to do the review


MS Surface Pro 9 Win 10 file not found

download from https://download.microsoft.com/download/e/9/a/e9a35d1b-7b4c-48d4-8619-5301d4c09f65/SurfacePro9_Win10_19044_22.101.15507.0.msi
file not found.  Any help would be appreciated.

Same. I checked MS and it shows the files:
SurfacePro9_Win10_19044_23.044.40192.0
SurfacePro9_Win11_22621_23.044.40352.0

Hey, I think my fork might fix the Surface driver issue, we had the same issue with Windows 11 22H2. I haven’t figured out compiling the .exe or .msi like the repo owner, so you have to run the .ps1 directly from an Admin Powershell window.
https://github.com/ajn142attamu/DriverAutomationTool/blob/master/Current Branch/7.2.2/DriverAutomationTool.ps1
Let me know if that helps and I can see about putting in a PR.

Hey, I think my fork might fix the Surface driver issue, we had the same issue with Windows 11 22H2. I haven’t figured out compiling the .exe or .msi like the repo owner, so you have to run the .ps1 directly from an Admin Powershell window.
https://github.com/ajn142attamu/DriverAutomationTool/blob/master/Current Branch/7.2.2/DriverAutomationTool.ps1
Let me know if that helps and I can see about putting in a PR.

This works correctly!  thanks!

I have your ps1  a try and it does not solve the issue. it looks like the Dev needs to update the json file with new information.
because the links in there for the SP9 give me a 404 error
https://[raw.githubusercontent.com/maurice-daly/DriverAutomationTool/master/Data/OSDCatalogMicrosoftDriverPack.json

I have your ps1 a try and it does not solve the issue. it looks like the Dev needs to update the json file with new information. because the links in there for the SP9 give me a 404 error
https://raw.githubusercontent.com/maurice-daly/DriverAutomationTool/master/Data/OSDCatalogMicrosoftDriverPack.json

You may find the master branch (or possibly the SelfHostMSCatalog branch) on my repo more helpful. In short, my patch fixed the issue at-the-time, but like you found, DAT also depends on a catalog, and if the catalog is outdated, you're hosed. In the time since I posted my initial patch, both Dell and MS have changed their download site format, and MS has released new driver packs as well. From what I worked out, Maurice uses a tool called OSDeploy/OSD to generate the catalogs, and then hosts his own catalog files in this repo. My main branch changed that, and points at the OSDeploy repo instead, where those catalogs are updated ~1x/week to 1x/month.

Thanks I got is to download with your selfhosted ps1 file. going to test it tomorrow

Sounds good. My self-hosted files may be out of date, if I have time today I’ll commit new catalogs and stuff.

From: ChemKroonri @.>
Sent: Wednesday, September 13, 2023 10:28:28 AM
To: maurice-daly/DriverAutomationTool @.>
Cc: Nelson, Andrew @.>; Comment @.>
Subject: Re: [maurice-daly/DriverAutomationTool] MS Surface Pro 9 Win 10 file not found (Issue #487)
Thanks I got is to download with your selfhosted ps1 file. going to test it tomorrow — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. Message ID: <maurice-daly/DriverAutomationTool/issues/487/1717858539@ github. com>
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Thanks I got is to download with your selfhosted ps1 file. going to test it tomorrow
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/maurice-daly/DriverAutomationTool/issues/487*issuecomment-1717858539__;Iw!!KwNVnqRv!G8JEyft5ipFLpkMLYkynPXVtOI30o8puzE8vRq36GkgFXAskFP4hpRMrqM2tyvGTjPrh9rgJajwqSOIjGeyl6rOlMw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AU47NXPK37MQTYZHSMKJNRDX2HGJZANCNFSM6AAAAAAYVQCXUU__;!!KwNVnqRv!G8JEyft5ipFLpkMLYkynPXVtOI30o8puzE8vRq36GkgFXAskFP4hpRMrqM2tyvGTjPrh9rgJajwqSOIjGewhhlYMMg$.
You are receiving this because you commented.Message ID: @.***>

@ajn142attamu are you able to update the catalog again?  Thanks!

Workaround for the catalog here: https://www.microsoft.com/en-us/download/details.aspx?id=57439

@cjmx2000 I'm sorry, I've been stuck buried under other issues, but I may revisit soon. In the meantime, if you change line 26 of your OEMLinks.xml to the value below it should fix things.
		<Link Type="JSONSource" URL="https://raw.githubusercontent.com/OSDeploy/OSD/master/Catalogs/MicrosoftDriverPackCatalog.json"></Link>

@cjmx2000 I'm sorry, I've been stuck buried under other problems at work, but I may revisit soon. In the meantime, if you change line 26 of your OEMLinks.xml to the value below it should fix things.
		<Link Type="JSONSource" URL="https://raw.githubusercontent.com/OSDeploy/OSD/master/Catalogs/MicrosoftDriverPackCatalog.json"></Link>

This catalog is current?

@ajn142attamu
this is the link I have already

It tries to download from here and never connects

This catalog is current?

Yes @GeoSimos updated as of 2 days ago. https://github.com/OSDeploy/OSD/blob/master/Catalogs/MicrosoftDriverPackCatalog.json

https://download.microsoft.com/download/e/9/a/e9a35d1b-7b4c-48d4-8619-5301d4c09f65/SurfacePro9_Win10_19044_22.101.15507.0.msi

Really odd, because if you look at the online catalog, it should be trying to pull the link below for any Surface Pro 9:
https://download.microsoft.com/download/e/9/a/e9a35d1b-7b4c-48d4-8619-5301d4c09f65/SurfacePro9_Win10_19044_24.012.27594.0.msi

https://raw.githubusercontent.com/OSDeploy/OSD/master/Catalogs/MicrosoftDriverPackCatalog.json

This is not the same filename, have you cleaned any cached files from the tool and restart it?

@GeoSimos this is the correct link per @ajn142attamu  https://raw.githubusercontent.com/OSDeploy/OSD/master/Catalogs/MicrosoftDriverPackCatalog.json
removed all files and started over.  Success!  thanks for the assistance, I should have started with that.

DriverPackage: Drivers copied to - S:\Driver Packages\Microsoft\Surface_Pro_9_for_Business_2038\Windows11-22H2-x64-24.012.27601.0\StandardPkg\

@GeoSimos this is the correct link per @ajn142attamu https://raw.githubusercontent.com/OSDeploy/OSD/master/Catalogs/MicrosoftDriverPackCatalog.json
removed all files and started over. Success! thanks for the assistance, I should have started with that.

DriverPackage: Drivers copied to - S:\Driver Packages\Microsoft\Surface_Pro_9_for_Business_2038\Windows11-22H2-x64-24.012.27601.0\StandardPkg\

Glad it worked for you, have pulled my hair some times and this was the solution ;-)


No provisioning to run on a CPU

I know nobody would want to run image models on a CPU, but I wanted to edit the architecture locally before deploying it on my cloud but it appears to fail:
seresnet = timm.create_model(model_name="seresnet34", pretrained=True, num_classes=4)
Fails with-
C:\Users\makul\AppData\Local\Continuum\anaconda3\python.exe C:/Users/makul/PycharmProjects/kaggle/edge/work/seresnet/seresnet.py
Downloading: "https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/seresnet34-a4004e63.pth" to C:\Users\makul/.cache\torch\checkpoints\seresnet34-a4004e63.pth
Traceback (most recent call last):
  File "C:/Users/makul/PycharmProjects/kaggle/edge/work/seresnet/seresnet.py", line 34, in <module>
    model = create_resnet_with_bottleneck()
  File "C:/Users/makul/PycharmProjects/kaggle/edge/work/seresnet/seresnet.py", line 15, in create_resnet_with_bottleneck
    seresnet = timm.create_model(model_name="seresnet34", pretrained=True, num_classes=4)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\timm\models\factory.py", line 37, in create_model
    model = create_fn(**margs, **kwargs)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\timm\models\senet.py", line 423, in seresnet34
    load_pretrained(model, default_cfg, num_classes, in_chans)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\timm\models\helpers.py", line 65, in load_pretrained
    state_dict = model_zoo.load_url(default_cfg['url'], progress=False)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\hub.py", line 463, in load_state_dict_from_url
    return torch.load(cached_file, map_location=map_location)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\serialization.py", line 386, in load
    return _load(f, map_location, pickle_module, **pickle_load_args)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\serialization.py", line 573, in _load
    result = unpickler.load()
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\serialization.py", line 536, in persistent_load
    deserialized_objects[root_key] = restore_location(obj, location)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\serialization.py", line 119, in default_restore_location
    result = fn(storage, location)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\serialization.py", line 95, in _cuda_deserialize
    device = validate_cuda_device(location)
  File "C:\Users\makul\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\serialization.py", line 79, in validate_cuda_device
    raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

Process finished with exit code 1

Maybe a parameter to pass in the device location would fix it

Hmm, yeah, that shouldn't be the case, these models should load on CPU. All of the pretrained checkpoints were supposed to be on CPU tensors which is why I don't have a map for the pretrained load. It looks like that one at least is not.
Quickest way to fix it, in timm/models/helpers.py , load_pretrained()
state_dict = model_zoo.load_url(default_cfg['url'], progress=False, map_location='cpu')
I'll look at replacing that checkpoint with a CPU one soon.


Installation Instructions Need To Be Clearer

I just wasted a few minutes messing with your extension. I would create a pull request, but I am fairly busy.
You don't show an example or mention that you need to echo the $parser->parse($markdown)
It should be like this (I am using GitHub version):
$markdown = file_get_contents<EMAIL_ADDRESS>);

$parser = new \cebe\markdown\GithubMarkdown();
echo $parser->parse($markdown);

I was confused at first, wondering why I had a blank page 👍

added some echos, better now?


Wants to Add Among Us

I want to add among us game, which will be look like this.

@souvikpramanikgit started to contribute


Make drones animate smoothly on the map

Thank you for your help :heart:
What is this project?
DAV (Decentralized Autonomous Vehicles) is a new non-profit foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.
As an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.
Missions
The DAV project you are looking at is Missions. Missions is the client facing side of the marketplace connecting DAV users looking to ship packages, with autonomous vehicles such as drones.
How you can help
The Issue
When drones are in a mission and travelling, their coordinates keep updating. The problem is, they jump from coordinate to coordinate, instead of animating smoothly.

Fix it so that it animates smoothly.
Note that you will have to have both missions and Mission Control projects running. Then order and sign for a delivery to see it start moving.
Once you've completed a delivery, you will need to clean redis before being able to start the next delivery (this will be fixed soon). You can clean it by calling docker exec -it missioncontrol_redis_1 redis-cli FLUSHALL
Contributing to Missions

[ ] Make sure this issue is labeled up-for-grabs and not labeled claimed, to verify no one else is working on it.
[ ] Comment in this issue that you would like to do it.
[ ] Open the Missions GitHub page and click the ★ Star and then ⑂ Fork buttons.
[ ] Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/missions.git
[ ] Make changes in the LICENSE file
[ ] Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master
[ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missions) and create a pull request for your changes.
[ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #5)
[ ] Please do not fix more than one issue at a time. Your pull request should only fix what is described in this issue.

Asking for help
We appreciate your effort in taking the time to work on this issue and help out the open source community and the foundation. If you need any help, feel free to ask below or in our gitter channel. We are always happy to help 😄

How are you doing with this one, @tolupatrick004?

Hey @TalAter I was unavailable to work on the task because I fell ill but I am back and would start work on it. Apologies, for my long absence.

Glad you're feeling better @tolupatrick004
Looking forward to your contribution 👍

Hi @tolupatrick004 - any estimation as to when you can get this issue fixed?

Closing this old issue for now.


Report Generation Audit Table

Is your feature request related to a problem? Please describe.
When a user generates a report, the system should record this event in a new ReportAudit table
Describe the solution you'd like
The ReportAudit table should have the following properties

generated by (user Id)
generated date
assessment ID

This is going to be rolled into the branch for #484


How to: Process multiple requests simultaneously

I think there is only 1 thread running for my server application causing requests to be blocked. To be able to process requests asynchronously and/or simultaneously, would I create more threads each running a Hub like in https://github.com/uNetworking/uWebSockets/issues/530, or should i set up more Group<Server>, group->addAsync(), and use REUSE_PORT (similar to testReusePort() in https://github.com/uNetworking/uWebSockets/blob/master/tests/main.cpp)?
Could somebody also please give a high level description of what a Hub, Group, and Node are?

examples/multithreaded_echo is the way to go. A group is a palette of callbacks and a set of sockets using these callbacks. A Hub is a per:-thread resource / event-loop. 8 cpu cores = 8 threads and 8 Hubs in total.

Got it, I really appreciate the answers. Will give this a shot

@alexhultman I was able to get my server application running with multiple threads using your example. When testing, I noticed that although requests do not block every time like in the scenario with only 1 thread, there are times when multiple requests are passed to the same thread causing them to block. Do you know of anything else I can do to make all requests not block? Will doing group->addAsync() somehow help?

Either you follow the rules of the event loop (see Node.js) or you go with Apache doing 1 thread per request. There is no cheating this. I cannot help more than this. addAsync does not change anything for you.

Ok, I was thinking in terms of how Nginx does things asynchronously. Quick question, what do you mean by rules of the event loop? Are there a few articles/links I could read to understand what you mean?


Error 404

Hi, this was working yesterday, I'm on debian wheezy, this what a I get now:
user@debian:~/mongo_edu$ npm install mongo_edu -g
npm ERR! 404 Not Found
npm ERR! not ok code 0
Is it me? or a momentary connection error?

npm install mongo-edu -g

LoL, my bad, thank you very much


Fix markdown checkboxes on Blink

Blink still requires a vendor prefix for mask-image and mask-size, so add that here to fix the rendering.

CI failure is unrelated.

🚀


No thumbnail urls in Story

Hello. Just updated my project and get v0.8.17,
and there are no thumbnails and other image urls, except main one.
["imageLowResolutionUrl":protected]=>   string(0) ""   ["imageThumbnailUrl":protected]=>   string(0) ""   ["imageStandardResolutionUrl":protected]=>   string(0) ""

Same problem with getMediaByCode(). Tried #315 but that give me the same url for getImageHighResolutionUrl() and getImageThumbnailUrl() and nothing from getImageLowResolutionUrl().

I've already created pull request with fix, hope it will be merged soon.

Awesome, thanks!
On Tue, Mar 27, 2018, 17:07 Pasha Verdi<EMAIL_ADDRESS>wrote:

I've already created pull request with fix, hope it will be merged soon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/postaddictme/instagram-php-scraper/issues/312#issuecomment-376560410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuzLYQWhHIAdmDfWEa3kYJItD9aZ2bBks5tilW9gaJpZM4S6_fB
.


Add parameter for scaling SOAP center contribution

This PR adds a new parameter for scaling the center contribution of SOAP.
TODO

[ ] Tests

Thanks! Regression tests are failing because they are missing the new parameter. The corresponding files are in rascaline/tests/data.

Thanks I will take a look!


For an if statement typing i inserts the if frame and then, if you type f it gets swallowed, but else if does not do the same

I don't think this is a bug (at least one with a solution that satisfies everyone, but I don't think it belongs in Discusssions)

Typing e now produces

the focus is moved to the next field (a possible if) and any typing of lse is swallowed (as you'd expect).
Now typing i produces

the focus is moved to the next field (again as you'd expect) but if you then type the f, which I'd expect to be swallowed, you get

This might be the same issue as with cla inserting abstract. It's very difficult because you might actually want to write

Currently, the swallowing of 'overtyping' is implemented only when selecting an option from the new code selector, so I am not surprised that the f flows into the field, here. So this isn't strictly a bug (as you say).  But it would be nice if 'optional keywords' supported 'overtyping' also.
(But that does not explain the cla inserting abstract example).

I think the answer here is to implement the 'if clause' as a single field, which is optional overall, but which covers both the if keyword and the condition. The prompt can say if condition and you will then get syntax completion - if you type i you will be offered the f  to tab/cursor over.

Now covered by #838