issue with djcelery in admin panel: KeyError at /admin/djcelery/taskmeta/add/

Error during template rendering
In template /usr/local/lib/python2.7/dist-packages/material/templates/material/layout/fieldset.html, error at line 5
Key 'result' not found in 'TaskMetaForm'
1	{% load material_form_internal %}
2
3
4	        {{ parent.label|default:"" }}
5
{% for element in parent.elements %}
{% render element %}
{% endrender %}{% endfor %}
6
7
8

how to fix it?

@kmmbvnr any help?

admin part of django-material is not complete and in the lowest priority.

any suggestion where I can contribute regarding these?


Add cleanup and uninstall functions

It implements

uninstall()

Remove what install() created and call cleanup()

cleanup()

Remove directory joinpath(DEPOT_PATH[1], "asysimg")
Remove all SysimagePreferences.toml files

Both function has optional named arguments (;verbose::Bool = true, dry::Bool = false).
Also, it fixes julia_args.jl for the case of non-existing active directory and removes clean.sh script.

Maybe we could keep trace of all packages with Preferences.toml files (added when building sysimages) in a file and run over that list for the cleaning ?

Do you suggest not to remove SysimagePreferences.toml files here? These are small files. So, it makes some sense.
https://github.com/petvana/AutoSysimages.jl/blob/195ac009cb226b2ad513cccfd3a0797cc6989aa4/src/AutoSysimages.jl#L482

Maybe we could keep trace of all packages with Preferences.toml files (added when building sysimages) in a file and run over that list for the cleaning ?

Do you suggest not to remove SysimagePreferences.toml files here? These are small files. So, it makes some sense.
https://github.com/petvana/AutoSysimages.jl/blob/195ac009cb226b2ad513cccfd3a0797cc6989aa4/src/AutoSysimages.jl#L482

Maybe a parameter can be added to clean all the packages instead of only the current one

I've decided that SysimagePreferences.toml will be kept because they are tiny and can be versioned for some projects. Although this PR is not perfect, I'll merge that, and we can polish some details in the future.


Create Power of n element

I have fix #403
It will calculate power of element using divide and conquor approch.
Time complexity-thetha(logn)

I have fixes the issue and have put proper extension on file.
Thanks for guideing.


[Feature] add  recursive implode function for ArrayHelper

implode can Join array elements with a string,but the array can't be multidimensional. So it will be perfect if the ArrayHelper Class could provider a method to join multidimensional array with a string.

What is a practical use case?

Class A{
public function b($paramA,$paramB){
    $cacheKey = __MEHTOD__ .implode('_',func_get_args());
    $cache = Yii::$app->cache->get($cacheKey);
    ....
    //if the $paramA or $paramB was array,the implode function will have some question~
}
}

In case you decide to add this feature I've got working method and can PR.

@bizley-code thanks a lot, but where is the repositories? i think i could add into my Helper class file.

Here is gist https://gist.github.com/bizley-code/23b0b29540f284440313

In case, get errors model return array recursive, we need simple way to assign the error to session flash, simple like php exception $ex->getMessage();


Bump slave mem to 1532MB in vagrant.yml

Currently Chronos fails to start under Marathon because when
slave goes up it has less then 512MB mem free
(at least on OSX Yosemite + VirtualBox 4.3.30 + vagrant 1.7.4)

true that, thanks!


Is this plugin still maintained?

Till now it's not possible with the official package release to use Gatsby (using it on Gatsby Cloud) with Strapi in production, cause build fails at least with empty RichText fields.
Are there any plans to fix those issues in the near future?

The empty text is fixed in the alpha version mentioned here: https://github.com/strapi/gatsby-source-strapi/issues/321
However, that comes with its own problems regarding image extraction.
I do have the same concerns with the plugin being maintained though.

it would be good to know what the plans are. right now i have to leave either gatsby or strapi, neither would be nice

I too had a similar concern but was able to get it working perfectly by:

install by using the hotfix alpha version or another developer's fork to fix some of the latest bugs.
in development mode make sure your strapi has data in every field then take a snapshot of the schema for production using the plugin gatsby-plugin-schema-snapshot. Be sure to turn off the schema generation in production using the options described (update: process.env.GATSBY_UPDATE_SCHEMA_SNAPSHOT == "true")

That said, I love the open source community and am grateful for these contributions that make it possible to do our work. I would like to see a release bump asap so that users don't have to go hunting for the hot fix. Cheers.

Hey all, we have shared this issue with the team to try and get an answer, once we have something we will share it.

Hey @derrickmehaffy , do we have any updates on this one? We are currently stuck in a middle of a project due to the fact that the richText is null in preview mode.

I'm happy to see more people are on the bandwagon. Really hoping we can create some momentum for the team to do a new development cycle on this.
In the mean while, the 2.1.0 alpha fixed the rich content but broke image relations. I fixed it at https://github.com/strapi/gatsby-source-strapi/pull/348, I've been running this commit for a while now in production and it get's the source plugin back into the modern world!
For those who do not want to use anything but the official releases. Turn off cloud builds, it will do a full data source every time, including working rich content. All you need is lots of patience 💤

@t-kietzmann , I'll probably stick with Strapi. I have this love and hate relationship with it.
I just hope this will be fixed as soon as possible (soon as possible as in TOMORROW would be ideal), we have a client sitting on our head and waiting for a project to be finished. I just feel like everything I do that is gatsby-strapi related ends up being some hacky stuff that I need to ask people around and ask why it isn't working as it's supposed to be. It's like that for the past 3 years and it's starting to get on my nerves. But I guess I get it, there are other priorities.

Small update, we are still discussing in the team at the moment. I don't have anything to share for now but the convo has been raised and some solutions are being discussed.

Hi @derrickmehaffy, any updates?

@derrickmehaffy, any updates?

@derrickmehaffy, any updates?

Apologies everyone I was out on vacation for 2 weeks. I've added this to my to do to check in with our product engineering teams to confirm.
Unofficially I believe our intention is to transfer this repo to a different maintainer as it's unlikely that we will continue to maintain it ourselves. Again treat this as unofficial until I confirmed it, ideally we want to reach out to the Gatsby team to see if they are willing to take up maintainership of it themselves but in lieu of that we would be willing to transfer it over to someone else.
Currently our team lacks the capacity to effectively maintain this ourselves and it also goes against our agnostic approach to front-end frameworks. Are in goal would be to create a generic JavaScript SDK that would work on any front end not just something like Gatsby. It puts us in a precarious position to maintain something that only affects a single front end framework and goes against our agnostic nature.

Again please allow me to confirm what the team as the above is just my personal opinion not the opinion or position of Strapi itself.

I confirm what @derrickmehaffy previously shared with you, we can't maintain this integration ourselves anymore; we lack the bandwidth and internal resources, and it hasn't been identified as a priority. We are looking for new maintainers, and we would like to start the discussion with the Community Organization to see if it's something they could help us with 😊
Note: you can consider my message as a final decision on our end

@Aurelsicoko Hey! I started the Gatsby User Collective for cases just like this. @laurenskling has offed to help maintain the plugin if we can bring it into the Gatsby UC. I'd love to make it possible for the community to continue maintaining this plugin into the future, If you're interested in moving forward, please open an issue.

@Aurelsicoko Hey! I started the Gatsby User Collective for cases just like this. @laurenskling has offed to help maintain the plugin if we can bring it into the Gatsby UC. I'd love to make it possible for the community to continue maintaining this plugin into the future, If you're interested in moving forward, please open an issue.

This is absolutely awesome to hear! Tomorrow morning I'll get the issue created and start preparing to see if we can transfer the repo and npm package if it's approved. @laurenskling  is a very familiar face to us and has been around the Strapi community for a long time, I would love to see him as a maintainer!

Thanks for the trust @derrickmehaffy <3
I hope the UC would be a good place for this, where everyone in need of this package can get involved. I hope that won't just be me ;)

@derrickmehaffy - Awesome to hear! First steps are listed below. The repo transfer also requires the person doing the transfer be added to the GUC organization. I'll get that setup for you and @Aurelsicoko. This will allow y'all to contribute in the future as well should you ever want to do so.

[ ] transfer the repo to the gatsby-uc organization.
[ ] Add moonmeister as a maintainer on your npm package.

Thanks for the trust @derrickmehaffy <3
I hope the UC would be a good place for this, where everyone in need of this package can get involved. I hope that won't just be me ;)

Of course, this is exactly the same reason we help fund/found the Strapi community org as well. It's easier when you have quite a few people willing to help step in and assist. Certainly I think even some devs from the Strapi team would be willing to put in some PRs in the future as well.
We just couldn't plan anything in the short term as other higher priority stuff has come up that needs our focus and we didn't want people to have to wait on us to move in the project.

I'll double check with the team but I see zero problems with us transferring to the Gatsby UC, I just want to dot all the Is and cross all the Ts :)

@derrickmehaffy - Awesome to hear! First steps are listed below. The repo transfer also requires the person doing the transfer be added to the GUC organization. I'll get that setup for you and @Aurelsicoko. This will allow y'all to contribute in the future as well should you ever want to do so.

[ ] transfer the repo to the gatsby-uc organization.
[ ] Add moonmeister as a maintainer on your npm package.

Sounds good thank you. I'll probably wait til next week just in case anyone in our team has a protest but I highly doubt that will be an issue.
I may need to have you add a different person instead of @Aurelsicoko and instead make that @alexandrebodin as he is our CTO and main admin on GitHub who will likely assist me in the transfer (he is also our main admin on NPM too).

I may need to have you add a different person instead of @Aurelsicoko and instead make that @alexandrebodin as he is our CTO and main admin on GitHub who will likely assist me in the transfer (he is also our main admin on NPM too).

done.
P.S. my philosophy is that you all have whatever access you want. I don't normally remove your NPM access and I'm happy to add whatever teammebers to the GUC team as maintainers so y'all can work on the plugin if needed.

I may need to have you add a different person instead of @Aurelsicoko and instead make that @alexandrebodin as he is our CTO and main admin on GitHub who will likely assist me in the transfer (he is also our main admin on NPM too).

done.
P.S. my philosophy is that you all have whatever access you want. I don't normally remove your NPM access and I'm happy to add whatever teammebers to the GUC team as maintainers so y'all can work on the plugin if needed.

Awesome to hear, thanks again and I'm very happy to see this going into a well known community focus organization.

@romanslonov Im using it with Gatsby v5 and so far it's working.

@jonadeline Interesting. How did you solve this issue?
`gatsby-strapi on  main via  v18.12.1
❯ npm i gatsby-source-strapi
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/gatsby
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/gatsby-source-strapi
npm ERR!   gatsby-source-strapi@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/romanslonov/.npm/eresolve-report.txt for a full report.
npm ERR!      /Users/romanslonov/.npm/_logs/2022-12-19T07_38_20_405Z-debug-0.log`

@romanslonov I force the resolution using npm install --force
in my CI/CD pipeline I dont have the issue as npm ci must include the force option by default.

I've created the issue here: https://github.com/gatsby-uc/plugins/issues/330 and will start working on our tasks to get things moved over!

Thanks @derrickmehaffy , i will try to find the time asap to work on this :) Thanks again for the trust in me and hope we can work together on the plugin in the future :)

Thanks for your interest in this project. This plugin has moved into the Gatsby User Collective and this repo will be archived. Please open an issue in that repository, submit a PR if you'd like to implement fixes or features, or join us on Discord if you have questions!


Preserve submap elements when merging

(I'm not sure the current design is the best for what I'm trying to accomplish, but opening this up to start discussion.)
Currently, the mapref process merges all maps into a single map, with a <submap> grouping element in place to mark boundaries as needed (such as for key scopes / precedence, or to retain chunk information). However, it loses a lot of information from the submaps:

Most attributes from the submap itself (like @outputclass, @audience, @xml:lang, etc)
Titles from the submap
<topicmeta> from the submap

In most cases, this isn't a problem. For my use case, some of the submaps correspond to distinct output artifacts (similar to what chunk="to-navigation" was originally intended for). This is a straightforward step that runs after preprocess, with a tweak to the clean-map step so they're not removed -- I simply key off of the appropriate <submap> elements and chunk the maps.
However, in my case, losing the title means I cannot produce the output I need - the title is a critical part of the individual artifacts.
This pull request preserves that information, using namespaced elements and attributes (the namespace is the same dita-ot: prefix used to preserve a small number of attributes today, like dita-ot:orig-format and dita-ot:orig-href). The information is preserved as follows:

All attributes from the original referenced map are added to the generated <submap> element, using the prefix dita-ot:submap-XXX where XXX is the local name of the attribute. So, the 3 I mentioned above would become @dita-ot:submap-outputclass, @dita-ot:submap-audience, and @dita-ot:lang. Some of these probably are not useful, but I saved them all because a) they won't cause any problems and b) I would rather not pick the ones I consider useful and miss ones others need.
Any title in the map is preserved as <dita-ot:submap-title class="+ topic/foreign ditaot-d/submap-title ">. This is where I'm not sure about the design. In a map, this would be the first child, and would be a title. - topic/title  is not allowed inside <topicref> so using it directly would break things. Making it a specialization of foreign means our processes should happily ignore it, and also means that whatever elements appear in that title would be legal as well. (Another thought - because the name of an element is not really relevant, this probably should be <submap-title> rather than <dita-ot:submap-title>?)
Any topicmeta in the map is preserved as <dita-ot:submap-topicmeta class="+ topic/foreign ditaot-d/submap-topicmeta ">. Again, making it foreign means this will be ignored by default (nothing existing today will break), and means the overall structure is valid against core DITA (2 foreign elements as a child of the container is good, while a foreign title followed by topicmeta would not be). The primary purpose here is that when needed, any general metadata for the submap is now available for use by those who need it.
In the clean-map step today that strips out generated <submap> elements, the additional dita-ot:submap-title and dita-ot:submap-topicmeta are also stripped out. So, no customization or transform type that uses preprocess as a whole will not see any change.

The change has been tested against the gradle test and integration test with no impact (and I've verified that the test includes submaps with titles). Also tested with my own specialized maps, and it preserves both map/@title and map/title so that I can restore them later.
There is currently no documentation in our dev section about the <submap> element, so if you don't dig into the preprocess code, you never know it's there. I'm not sure if this is by design (probably not?), but it might be useful to have a topic in the developer docs that explain how <submap> is used, along with a description of these elements if/when the pull request is accepted.

It is not a DITA error for topicgroup to have title--the spec simply requires that topicgroup titles be ignored, just as submap titles are.
It can be useful to have titles on topicgroups, e.g.:
<topicgroup>
  <topicmeta><navtitle>Keydefs</navtitle><topicmeta>
  <keydef .../>
</topicgroup>

@drmacro I hadn't pictured that use, but can envision using it that way.
Testing just now, we don't generate a warning, but we do put out a message (which would definitely be annoying in this submap case):
 [DOTX072I][INFO]: Ignoring navtitle within topicgroup.

@drmacro, I do exactly that in my maps.

@robander how about we explictly skip throwing DOTX072I for submap wrapper?

@jelovirt sounds good to me. I'll update for that.

Discovered we didn't need to skip that message. The code that generates that message is in clean-map, and is done with normal fallthrough processing. By dropping the new generated topicmeta element during the clean-map stage, we never hit the message.


Player flags do not change on Firefox

Title says all. They don't change at all on Firefox.
Looking at the config object that the script pushes to yt.config_ the player context configs are nowhere to be seen.

Update: Player flags do not change on Chrome, if there are many of them.


Server Role

List available roles per server type. USe description to give info what the role gives.
servers:
  snowflake_prod:
    type: snowflake
    ...
    roles:
      - name: read-role
         description: My description
      - name: read-pii-role
         description: My description

Will be realized in v1.1


[bug] Windows will be created with a blank space before the content is displayed on Win11

Describe the bug
When the window appears, there is a few seconds when the window content is blank before the window content is displayed normally. Even if I set visible to false and then wait for DOMContentLoaded before displaying the window, I still have this problem.
Reproduction

pnpm create tauri-app
cd tauri-app
pnpm install
pnpm tauri dev
then you can see the window content is blank, then the normal content is displayed after

Expected behavior
Show the contents of the window directly when it appears without a moment of blankness
Platform and versions
## pnpm run tauri info

><EMAIL_ADDRESS>tauri D:\Dirs\Desktop\tauri-app
> tauri "info"

Environment
  › OS: Windows 10.0.22621 X64
  › Webview2: 112.0.1722.48
  › MSVC:
  › Node.js: 19.5.0
  › npm: 9.3.1
  › pnpm: 8.3.1
  › yarn: Not installed!
  › rustup: 1.25.2
  › rustc: 1.67.0
  › cargo: 1.67.0
  › Rust toolchain: stable-x86_64-pc-windows-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.2.3

Stack trace
No response
Additional context
It may seem like a small and insignificant problem, but when users use the software at night, even if the software is set to dark mode, this moment of blankness will make me go blind.

Even if I set visible to false and then wait for DOMContentLoaded before displaying the window, I still have this problem.

Maybe DOMContentLoaded is too early and your frontend didn't load yet? This could especially be an issue if you use css-in-js styling. Is there a later point in time to show the window (in React i'd probably suggest an useEffect hook for when the component mounts)

in React i'd probably suggest an useEffect hook for when the component mounts

I tried this, but the problem still exists.

This is my current approach to multi-window implementation:
const windowRouter = {
    "persistent": <Translator />,
    "translator": <Translator />,
    "popclip": <Translator />,
    "config": <Config />,
    "ocr": <Ocr />
}
const rootElement = document.getElementById("root");
        const root = ReactDOM.createRoot(rootElement);
        root.render(
            <React.StrictMode>
                <Provider store={configStore}>
                    <BrowserRouter>
                        {
                            windowRouter[appWindow.label]
                        }
                    </BrowserRouter>
                </Provider>
            </React.StrictMode>
        );

https://user-images.githubusercontent.com/59004461/233962443-8223568f-0ea6-49ff-99ff-b4062eed9d45.mp4

Unfortunately we can't do much about this, it is just the webview takes some time to render, the only thing we can do is to maybe allow you to set the webview background color to something that matches your HTML background color so the white flash is less visible, see https://github.com/tauri-apps/tauri/issues/1564

I found that in my multi-window application, if a window exists, even if this window is hide state, the next new window will not appear white blinking, I hope this information is useful for you.

And under Windows, you need to check Maximize Minimize Animation in System - Advanced System Settings - Performance.

I found that in my multi-window application, if a window exists, even if this window is hide state, the next new window will not appear white blinking, I hope this information is useful for you.

This probably (just speculating here) is because the web render engine has warmed up when rendered the first window.
Anyways, you can still notice this issues in maybe your browsers or electron-based apps, sometimes it is a white blink and sometimes it is black blink.

I don't find such a problem in Linux, if the window is displayed while useeffect, there is no flicker, is this specific to webview2?

More like a chromium issue which webview2 uses under the hood.

更像是 webview2 在底层使用的 chromium 问题。

Is it possible to refer to electron's did-finish-load


protocol Enumerable not implemented for %Mongo.Cursor

Hi there. Thanks for this great library! I have been struggling with a few other libraries that are basically dead. Everything works as expected until this issue came up. I can't figure out how to get past it, and using the code for find that you're using in the tests. I understand this is basically pre-alpha, but my requirements are limited at the moment.
  defmodule MongoPool do
    use Mongo.Pool, name: __MODULE__, adapter: Mongo.Pool.Poolboy
  end

collection = "broadcasts0"
Mongo.find(MongoPool, collection, %{} |> Enum.to_list

** (exit) an exception was raised:
    ** (Protocol.UndefinedError) protocol Enumerable not implemented for %Mongo.Cursor{coll: "broadcasts-0", opts: [], pool: MongoPool, query: %{}, select: nil}
        (elixir) lib/enum.ex:1: Enumerable.impl_for!/1
        (elixir) lib/enum.ex:112: Enumerable.reduce/3
        (elixir) lib/enum.ex:1265: Enum.reduce/3
        (elixir) lib/enum.ex:1807: Enum.to_list/1

Thanks :smiley:

That is very weird because we have a test that covers this: https://github.com/ericmj/mongodb/blob/master/test/mongo_test.exs#L74-L75. Try to refetch and recompile the dependency.

I cleared out cleared out all the mix related items, including mix.exs :astonished:. Fixed the mix.exs and it WORKED :+1:
Apparently there is some lingering files I am not aware of being added in with the mix stuff.

same issue :(
** (Protocol.UndefinedError) protocol Enumerable not implemented for %Mongo.Cursor{coll: "collection1", opts: [], pool: MongoPool, query: %{}, select: %{}}
     (elixir) lib/enum.ex:1: Enumerable.impl_for!/1
     (elixir) lib/enum.ex:146: Enumerable.count/1
     (elixir) lib/enum.ex:2695: Enum.enumerable_and_count/2
     (elixir) lib/enum.ex:2006: Enum.slice/2
    (invoice) lib/rates.ex:37: Invoice.Rates.update_rates/3


0.3 release

[0.3]
Added

New module analyze.py for Moss Results analysis
getShareScores() for returning frequency of shared files.
addFile() for adding files.
addFilesByWildCard() for submitting multiple files.

Changed

The plagcheck module is now more modularised. check is now a class.
__get_line_numbers() now runs in a new thread.

Removed

requests as a dependency, network requests are now 50% faster.

Hello @Bhupesh-V! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file testfiles/test_python2.py:

Line 3:22: W292 no newline at end of file


Any chance you get do a release for 5.9?

Having a hard time running 5.8 builds on latest macOS, and your scripts need to be modernized for 5.9 because of some deprecations in swift.  I did some modernization but then ran into fetching errors ("The file “swift-android-sdktermuxPackages-aarch64” couldn’t be opened because there is no such file)

Since 5.9 hasn't been released yet, you can only build the source snapshot tags. Those are regularly built and uploaded by my Android CI: you can download the swift-tests-devel Android SDKs built with the last August 7 5.9 snapshot here. My daily Android CI will start building the just-tagged August 9 5.9 snapshot in 15 mins, and it will be uploaded in a couple hours after being tested with several Swift packages.
It is possible my Swift script in this repo doesn't work with Swift 5.9 but I doubt it. I will check that and let you know.

I just downloaded the latest 5.9 snapshot toolchain and ran the following command with it to execute the Swift script in this repo, no problem:
SWIFT_TAG=swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-09-a ANDROID_ARCH=aarch64 ../swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-09-a-ubuntu20.04/usr/bin/swift get-packages-and-swift-source.swift

What problem do you see with the latest unmodified version of my Swift script?

Closing since no response.


Add map english_administration_divisions

This seems like an addition which would be of much interest. The original was a Wikimedia map, which has several contributions and is license  'Creative Commons Attribution-Share Alike 3.0 Unported'. I do not know if this is eligible, requires attribution? https://commons.wikimedia.org/wiki/File:English_administrative_divisions_2010.svg?uselang=en-gb

Hello @rcrowther  ,
Sorry for my very very late answer, I'm glad you appreciate Mapael, many thanks for your great contribution ! All seems to be OK with your new map of english administrative divisions, so I merge it to the master branch.
Thanks again !


Remove same-graph merging in resolver

Summary
This was added in https://github.com/astral-sh/uv/pull/5405 but is now the cause of an instability in github_wikidata_bot. Specifically, on the initial run, we fork in pydantic==2.8.2, via:
Requires-Dist: typing-extensions>=4.12.2; python_version >= '3.13'
Requires-Dist: typing-extensions>=4.6.1; python_version < '3.13'

In the end, we resolve a single version of typing-extensions (4.12.2)... But we don't recognize the two resolutions as the "same graph", because we propagate the fork markers, and so the "edges" have different markers on them...
In the second run through, when we have the forks in advance, we don't split on Pydantic... We just try to solve from the root with the current forks. This is fundamentally different and I fear it will be the cause of many instabilities. But removing this graph check fixes the proximate issue.
I don't really understand why this was added since there was no test coverage in the PR.

Ok this fixes two of the three instabilities that emerged after #6065.


removing errors while following readme

regarding issue #48

@Saksham20 please resolve merge conflict

this section of the library is being phased out


Response Time Emitter for external plotting and health checks

Currently the abacus-express module has the the ability to log the response time using a morgan middleware function but does not emit/ store the incoming and outgoing requests and responses.
const beforeLogger = () => {
  const morg = morgan(
    ':remote-addr - - :method :url HTTP/:http-version :status ' +
    ':res[content-length] :referrer :user-agent - :response-time ms', {
      immediate: true,
      stream: {
        write: (msg, encoding) => {
          debug('Received request %s', msg.replace(/\n/g, ''));
        }
      }
    });
  return (req, res, next) => {
    return debug.enabled() ? morg(req, res, next) : next();
  };
};

const afterLogger = () => {
  const morg = morgan(
    ':remote-addr - - :method :url HTTP/:http-version :status ' +
    ':res[content-length] :referrer :user-agent - :response-time ms', {
      stream: {
        write: (msg, encoding) => {
          debug('Processed request %s', msg.replace(/\n/g, ''));
        }
      }
    });
  return (req, res, next) => {
    return debug.enabled() ? morg(req, res, next) : next();
  };
};

I would like to have those events logged by an emitter so that I can add a module that can take that information and publish it to an external destination. This could allow for real time plotting of app response times, among other things.

Can you describe your use case in details?
The morgan middleware is just a request logger. If you would like to have

real time plotting of app response times

We have the status emitted in the /hystrix.stream and you can use hystrix dashboard to see it real time.
If you would like to store the response stats such as the response time for any other purposes, you can get it from the /hystrix.stream and do some modification on the json structure to match your external app(like grafana).
HTH

I was planning on logging the request/response and response time and send it to grafana, how can I use hystrix.stream to do that?


sys-apps/systemd: upgrade to systemd 255

Upgrades systemd 252 to systemd 255.
This is WoIP branch, the following issues are still to be resolved:

during initrd stage - dracut-cmdline-ask.service fails because systemd-vconsole-setup.service fails (/usr/bin/loadkeys fails) - fixed by adding the dracut internationalization module
check if there are some unnecessary code changes for the kbd module

Fixes: https://github.com/flatcar/Flatcar/issues/1269
Requires: https://github.com/flatcar/bootengine/pull/87
Requires a mantle fix or systemd-resolved MulticastDNS disabled: https://bugs.launchpad.net/cloud-images/+bug/2038894/comments/4

Required to be merged first: https://github.com/flatcar/bootengine/pull/87.
@pothos suggested to add a new dracut module to only install the required binary loadkeys, and not all the i18n dracut module.

Failed test case  cl.network.listeners needs to be fixed in mantle https://github.com/flatcar/mantle/blob/bd2e8e962592dac502d46d998808fd50b60365d2/kola/tests/misc/network.go#L182, as systemd-resolved now also listens on UDP port 5353. If we do not want this, we can remove the listener: https://bugs.launchpad.net/cloud-images/+bug/2038894/comments/4

https://man.archlinux.org/man/resolved.conf.5#OPTIONS
MulticastDNS=

Takes a boolean argument or "resolve". Controls Multicast DNS support (RFC 6762[2]) on the local host.
If true, enables full Multicast DNS responder and resolver support.
 If false, disables both. If set to "resolve", only resolution support is enabled, but responding is disabled.
 Note that [systemd-networkd.service(8)](https://man.archlinux.org/man/systemd-networkd.service.8.en)
also maintains per-link Multicast DNS settings. Multicast DNS will be enabled on a link only if the per-link
and the global setting is on.
Added in version 234.

Note on the size increase: amd64-generic-image .zip increased by 5MB and vmlinuz increased by 3MB.

Thats a lot for vmlinuz - what exactly is responsible for the size increase in vmlinuz?

now also listens on UDP port 5353.
If we do not want this, we can remove the listener

I would disable the listener. 99% of Flatcar users have no use for multicast dns, and homelabbers can enable it manually.

now also listens on UDP port 5353.
If we do not want this, we can remove the listener

I would disable the listener. 99% of Flatcar users have no use for multicast dns, and homelabbers can enable it manually.

https://github.com/flatcar/scripts/pull/1679/commits/37746a40b0794ef5769ea0be4039258a4672147c -> this should disable it, tests are running.

The Flatcar image built by https://github.com/flatcar/scripts/actions/runs/7970403527/job/21757956307?pr=1679 was tested on arm64 using https://github.com/cloudbase/BMK/tree/flatcar_sysext, the deployment was succesful:

k8s cluster deployed using k8s sysext on two Ampere nodes
cillium
rook / ceph (2 node ceph cluster)
kubevirt (tested with Fedora VMs using ceph pvc)

Note on the size increase: amd64-generic-image .zip increased by 5MB and vmlinuz increased by 3MB.

Thats a lot for vmlinuz - what exactly is responsible for the size increase in vmlinuz?

Hello @jepio,
According to my comparison from here: https://github.com/flatcar/scripts/pull/1684#issuecomment-1957376741, systemd and kbd/i8in dracut module are the responsible. Makes sense, as the newer version added more systemd binaries / services in the initrd (like systemd-executor, systemd-vconsole-setup).
The vmlinuz from https://github.com/flatcar/scripts/actions/runs/7970403527/job/21757956101?pr=1679 is 57236 KB vs 56868 KB the i18n one, which is only 0.5 MB more.
Basically 1.5 MB more for the systemd upgrade 252 -> 255 (vanilla one is 55860 KB).
This size increase can be reduced by adding a dracut special module for the loadkeys binary instead of installing the dracut i18n module (with the caveat that the new module might introduce technical debt for the future ). @jepio @pothos should I try with a dracut special module especially for this?
Thank you.

Note on the size increase: amd64-generic-image .zip increased by 5MB and vmlinuz increased by 3MB.

Thats a lot for vmlinuz - what exactly is responsible for the size increase in vmlinuz?

Hello @jepio,
According to my comparison from here: #1684 (comment), systemd and kbd/i8in dracut module are the responsible. Makes sense, as the newer version added more systemd binaries / services in the initrd (like systemd-executor, systemd-vconsole-setup).
The vmlinuz from https://github.com/flatcar/scripts/actions/runs/7970403527/job/21757956101?pr=1679 is 57236 KB vs 56868 KB the i18n one, which is only 0.5 MB more.
Basically 1.5 MB more for the systemd upgrade 252 -> 255 (vanilla one is 55860 KB).
This size increase can be reduced by adding a dracut special module for the loadkeys binary instead of installing the dracut i18n module (with the caveat that the new module might introduce technical debt for the future ). @jepio @pothos should I try with a dracut special module especially for this?
Thank you.

Please see https://github.com/flatcar/scripts/pull/1684#issuecomment-1963603717. I suggest to go with the upstream tested versions of systemd + dracut implementation in the case of systemd-vconsole-setup. I am afraid that if I continue to keep fixing the stripped down implementation, I will reach to a functional implementation that is the same as the upstream one.

Please see #1684 (comment). I suggest to go with the upstream tested versions of systemd + dracut implementation in the case of systemd-vconsole-setup. I am afraid that if I continue to keep fixing the stripped down implementation, I will reach to a functional implementation that is the same as the upstream one.

Makes sense - I guess we look for other tricks to reduce the size. E.g., we could remove unused kernel modules or we could compress the kernel more (there are new options in 6.x).

Please see #1684 (comment). I suggest to go with the upstream tested versions of systemd + dracut implementation in the case of systemd-vconsole-setup. I am afraid that if I continue to keep fixing the stripped down implementation, I will reach to a functional implementation that is the same as the upstream one.

Makes sense - I guess we look for other tricks to reduce the size. E.g., we could remove unused kernel modules or we could compress the kernel more (there are new options in 6.x).

I think we can revisit this part on the next overhaul of the Flatcar initrd dracut modules, as the tmpfiles dev early services and maybe more modules need some attention (removal). As it seems right now, systemd will just add more and more binaries / size as time passes because of the feature set increase.

PR is ready to be reviewed.

Ive also start a Jenkins build: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3535/cldsv/
The test reports will show up on bincache

The main blocker I see is that we have passed the 50% mark for the boot partition:
  File    Size  Used Avail Use% Type
 +/boot   127M   64M   63M  51% vfat

This is really problematic because the kernel should fit twice for the A/B update to work. Currently it's still possible to update but I fear that simple bugfix/security updates would reach the limit and lead to a situation where we can't release quickly.
I suggest we look into the following areas:

Review the kernel config for size tweaks - the new generic compression option could help and we can also disable things we don't need/want to support
Review firmware and kernel modules in the initrd - the smallest combination would be to only have what we need to mount the /usr partition and from there one we could load the other kernel modules from there. To reduce confusion I we could even try to compile all things we need into the kernel instead of having modules, and then we can bind mount the kernel module folder from /usr into the initrd.
Review binaries in the initrd - here again the smallest combination is what we need to mount the /usr partition and from that point on we can rely on the binaries from there through the wrapper trick we currently use for some stuff already.

With the commit for ader1990/bootengine https://github.com/ader1990/bootengine/commit/5fcbbee367b58d5efc08a57834c0ac6a555721a3, this is the /boot partition size in KB:
/dev/sda1<PHONE_NUMBER>1     64468  51% /mnt

Without this PR, the /boot partition size is:
/dev/sda1<PHONE_NUMBER>0 64909  51% /mnt

Note the increase of only 441 KB, which tips over the >50%.

Sorry for not asking sooner:

during initrd stage - dracut-cmdline-ask.service fails because systemd-vconsole-setup.service fails (/usr/bin/loadkeys fails) - fixed by adding the dracut internationalization module

Why do we want dracut-cmdline-ask.service to run? It doesnt feel like this makes much sense for Flatcar.

I've also started a Jenkins build: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3535/cldsv/ The test reports will show up on bincache

Started a new run http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3637/cldsv/ which should land test results for all platforms on https://bincache.flatcar-linux.net/testing/9999.0.0+ader1990-upgrade-to-systemd-255-v2

Can you squash the smaller commits that touch the systemd ebuild folder into one "Apply Flatcar changes" patch? When doing so it would be good to split the one that also changes the profiles folder. That way we can (with resolving some conflicts) apply the "Apply Flatcar changes" commit again after syncing from upstream.

Can you squash the smaller commits that touch the systemd ebuild folder into one "Apply Flatcar changes" patch? When doing so it would be good to split the one that also changes the profiles folder. That way we can (with resolving some conflicts) apply the "Apply Flatcar changes" commit again after syncing from upstream.

I left the 3 commits separate to have a better idea on what the process was. The changes to the profiles folder is related to the kbd package requirement. I will update the PR with the 3 squashed commits and split the kbd part into two: kbd enable and systemd-vconsole-setup fixes after the systemd preset issue is resolved.


Testing the automatic artefact creation and deployment

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
583

Relevant Lines:
597

💛  - Coveralls


⚠ TorrentLeech has degraded performance

In 3c580d7, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 5256 ms

Resolved: TorrentLeech performance has improved in 358a5fd after 6 minutes.


Implement View Modes

From<EMAIL_ADDRESS>on November 15, 2013 15:16:31
Most Views do not honour the 'mode' property (ie. final, read-only, read-write).
Original issue: http://code.google.com/p/foam-framework/issues/detail?id=91

Obsolete. U2 has controllerMode and property modes.


Be able to narrow down the author choice in Template Generator

https://librivox.org/add_project
When typing in a common surname for the author, or one that is a partial match to a lot of other names, it returns a long list. Example: typing in "Smith" gives you "Grossmith" and every other surname that contains "Smith" somewhere in it, and the list is getting unwieldy. There's no way to narrow it down (for example, you can't type the first/given name to narrow the list).
I don't know the best solution, but we do need a way to narrow down this list for people to find the author to select; otherwise, they'll give up and make a duplicate author.

Seems to me the behaviour we see here would be better if:

In a case where the user has specified only an author surname, the results were sorted by first name. This would mean that "Andrew Smith" would be listed in the dropdown before "Austin Smith" (I made up these examples)
In a case where the user has specified only an author first name, the results were sorted by author surname. This would mean that "Mary Bolton" was listed before "Mary Boulton" (again, I made this up)

This change would be pretty easy to implement, and while it wouldn't completely solve the OP's problem, it might go some way to allleviating the pain.

Sorry it's taken me a few days to get to look at this properly. I think the way you've tackled this is far better than my own version. I don't see any value in presenting both options at all.
What is the best way for us to proceed now to get your change implemented? I'd be perfectly happy to have my own pull request aborted/cancelled/deleted (not quite sure how this works) if the easiest way to get this done would be for you to raise a fresh pull request that implements the change whose effects you've illustrated above.

Honestly, having two options is good in any case! If you'd like to cancel #232 for now, I have no objections, but we'll at least still have the screenshots. I'll see what other admins think about them, and then I can put up either version (with added pseudonym fix) for technical review. 👍

I've closed #232. I think you solution is much better!


Allow device renaming

Allowing renaming the device in the app so that they don't all show up as Friend DevKit x

I'll look into it, I'm also interested in this!

I'm also interested in this!


Profiles take forever to show up in the profiles list

My default profile is broken and automatically loads a bunch of extensions that I keep tryin g to remove but it just loads them back on whenever I create a new codespace or open vscode so I've had to create additional profile with the extensions I want. However that seems to be broken too because nothing but the default profile shows up in my profiles list until like 20 mins later when I check it then it's finally in the list to select. It should be loading right away or something needs to be implemented to allow us to delete/changereset the default profile. It's the same on all browsers including local versions of vs code on both windows and linux for me.
Version: 1.80.0-insider
Commit: 5b7440441bbd2548a862f7321cafdfa1597132e5
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Embedder: codespaces

nothing but the default profile shows up in my profiles list until like 20 mins later when I check it then it's finally in the list to select.

I suspect this is because profiles are not getting initialised during codespace creation in Web.

It's the same on all browsers including local versions of vs code on both windows and linux for me.

I am not sure what you mean by local versions? In Dekstop, profiles should be available immediately. Can you please elaborate what you are seeing here?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Editing multiple files from command line opens in multiple windows

Describe the bug
MacVim 163 (8.2.539) shows behaviour where all files will be opened in the same window and this is an expected workflow for me
MacVim (latest master, commit d552421a21b24493ed0745980cf0bb267b021289):

opens all files in separate windows
terminal stays in the front (MacVim won't take focus)
--clear seems to take an argument for MacVim.app (issue #1058) but doesn't change any behaviour of this.

To Reproduce
Detailed steps to reproduce the behavior:

Build MacVim in directory /Users/eirnym/dev/macvim using git clean -fdx && make clean && ./configure --enable-python3interp=dynamic && make
Create test files with cd /Users/eirnym/test && rm -rf *txt && touch {1,2,3}.txt
Open Vim with command src/MacVim/build/Release/MacVim.app/Contents/MacOS/Vim *txt
When Vim (terminal) opens, execute :ls to make sure that all 3 buffers on the list, exit Vim. (it's correct behaviour)
Open MacVim with command src/MacVim/build/Release/MacVim.app/Contents/MacOS/MacVim *txt (or by listing them separately)
3 (three) windows in background will be opened
--clear seems to take an argument for MacVim.app (issue #1058) but doesn't change any behaviour of steps to reproduce

Expected behavior
Will be opened 1 (one) with 3 buffers as Vim (from the same build) does and how MacVim 163 and past versions do.
Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.
Environment:

Vim version commit d552421a21b24493ed0745980cf0bb267b021289 (currently the latest)
OS: macOS 10.15.6 (19G60d)
Terminal: Terminal.app

As discussed in #1058, Contents/MacOS/MacVim is not a valid entry point for MacVim for command-line usage, and no documentation points to it. This behavior also hasn't changed.
The proper way is really to use  scripts like Contents/bin/vim to mimic a Vim-like command-line behavior (although directly invoking Contents/MacOS/Vim would work as well, even though that's not the "official" way).


Unify postgres configurations in puppet

Merge the small outstanding differences between the primary and replica postgres hosts.
Testing Plan: No-op applied on postgres2

Yay, it's nice to have this cleaned up :).
Merged, thanks @alexmv!


Allow the part_1 and part_2 functions to have a generic argument

When experimenting with parsing it's really useful to just debug print it like this:
fn part_1(input) {
  io.debug(input)
}

However, gladvent complains that input has a generic type. I think it would be really nice if we could get rid of this limitation

good idea


Fix CI

related to #548 https://github.com/tweag/jupyenv/issues/543

I wasn't been able to update poetry lock for postgres as it fails with
Updating modules/kernels/postgres/poetry.lock
Updating dependencies
Resolving dependencies... (2.1s)

Package operations: 2 installs, 0 updates, 0 removals

  - Installing psycopg2 (2.9.10): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel

  running egg_info
  writing psycopg2.egg-info/PKG-INFO
  writing dependency_links to psycopg2.egg-info/dependency_links.txt
  writing top-level names to psycopg2.egg-info/top_level.txt

  Error: pg_config executable not found.

  pg_config is required to build psycopg2 from source.  Please add the directory
  containing pg_config to the $PATH or specify the full executable path with the
  option:

      python setup.py build_ext --pg-config /path/to/pg_config build ...

  or with the pg_config option in 'setup.cfg'.

  If you prefer to avoid building psycopg2 from source, please install the PyPI
  'psycopg2-binary' package instead.

  For further information please check the 'doc/src/install.rst' file (also at
  <https://www.psycopg.org/docs/install.html>).

  at /nix/store/jmzhpv3d2cjkhb6gam9rzz5s1c565qqc-python3.12-poetry-1.8.4/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
      160│
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│
      163│             if error is not None:
    → 164│                 raise error from None
      165│
      166│             return path
      167│
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with psycopg2 (2.9.10) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "psycopg2 (==2.9.10)"'.

Is there a way to re-trigger CI? Builder hanged for now apparent reason


fix: nightly docs.rs build fails on shadowed generics

#1947  👈
main

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

Join @Shoeboxam and the rest of your teammates on  Graphite


Update lorisleiva/cron-translator to version 0.3

Update lorisleiva/cron-translator to version ^0.3.0 which should not contain any breaking changes: https://github.com/lorisleiva/cron-translator/releases

Thanks for merging @michaeldyrynda 👍
Would it be possible to release this (can be done as a patch version) so that this package is compatible with the popular package spatie/laravel-schedule-monitor?  https://github.com/spatie/laravel-schedule-monitor/releases/tag/2.4.7

Tagged as 2.4.6 - it didn't occur to me until after I had merged that this had gone to main, rather than 2.x 🤦


[Another Question] What to write into Remote Configuration Textbox?

A URL to a "Remote Configuration" if you have one, for example on sites like pastebin https://github.com/UnamSanctam/SilentCryptoMiner/wiki/ETH-Miner#remote-configuration.

Yep, I don't have (auto-generated) config, should I write it on my own?

Sure that works fine, you can also test the JSON you write in any online JSON validator to make sure it's formatted correctly. Or you can enter the settings into the miner builder and go to the "JSON" tab for the auto-generated one.

That's great, I like the second idea lol
Thank you !

@UnamSanctam Sorry buddy, Last question!!!
Everything worked fine, the panel works also my test (VM) miner appeared but the (Hashrate is 0 H/s), should it be? And in general everything is as it should be?

I also cant see the miner on the xmr.2miners.com, When searching for my address, it throws an error "No miner data available
You need to submit at least a single share to see the stats."

Yes one share needs to be found first, what are the specifications on that VM? Does it have enough RAM and CPU resources to mine RandomX?

Lemme send you the ss

Oh and ram is currently 5.28GB, Is it lower?

As long as there's at least like 2.3 GB of RAM free for RandomX it should work, and how many CPU cores did you give the VM?

Only One..

Problem found? XD

Try increasing the cores to 2 (or more) and see, since that single core is probably already being used so it won't be used for mining.

So, I have to delete that one and build another one right?

You can stop the VM and then increase the CPU cores in the menu you took a screenshot of.

Alright, I thought I needed a new miner build

It works now bud..
But most people don't even know how or why to change the number of processors in their computer, and if I'm not mistaken it's set to 1 by default everywhere on Windows.

No, no real CPUs only have 1 core, only VMs that have been set to 1 core only have that.

Okay, Thank you so much <3


Implemented: Used HTTP get method for all the API calls to fetch data(#85zrh15tj)

Related Issues

Closes #325
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

Looks good to me.
Steps to verify-

Added pinned jobs
Logged out and logged in back
Checked network tab for errors in the pinned jobs API call

Does the following instance need changes?
https://github.com/hotwax/job-manager/blob/main/src/services/ProductService.ts#L3
Check if there are any other such instances.

Does the following instance need changes? https://github.com/hotwax/job-manager/blob/main/src/services/ProductService.ts#L3
Check if there are any other such instances.

Yes sir as we are fetching products here which is a get request.


Feat Request: Page Number

Hi, it's me again.
Thanks for your template, and I basically use it in a daily basis. I have a personal request:
Do you consider the inclusion of page numbers? (maybe set it as an option)
Since in a talk, audience often wants to point out which page is related ...
I have a workable code, but it's not the perfect. Just put it before the begin{document}
% page number

\addtobeamertemplate{navigation symbols}{}{ \usebeamerfont{footline}%
    \large{\insertframenumber} \hspace{0.5em} \vspace{0.5em}}

It looks like:

Known issues:
It counts from and is shown in the beginning title page.
Thanks for your time.
Xu Xue

Hi! Happy to know the theme is serving you well.
You can now load page numbers with the frameno options. The count start after the title page.
Let me know if this is what you needed.

wow, many thanks for your work! I tried and it's great.


[BEAM-9980] do not use hardcoded python versions in chicago taxi example flink job

This PR affects beam_PostCommit_Python_Chicago_Taxi_Flink, but currently it is disabled.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @tvalentyn

Thanks!


Not receiving video chat requests (ocjsxc)

When I send a request for videochat it open the chat windows and i can see my webcam but the recipients don't see any notification that they are being called.
We tried with Chrome and Firefox with no difference.
I followed the installation instructions here: https://github.com/sualko/jsxc/wiki/Install-ojsxc-(owncloud)
We are still able to send chat messages.

Please post your turn server configuration. Did you tried it in the same subnet?

We tried in the same network and two different network (clients) the server is in a remote location so we can't be in the same subnet as the server.
Here is my config:
http://pastebin.com/i99wSpnc
If you want I can give you access to the test server I have setup.

Please send your credentials to<EMAIL_ADDRESS>

Email sent :)

Missing ice/turn values.


Save multiple calcification rate tables per source

Enhancement of #377. Allow saving multiple tables per source (not just 1), up to a reasonable/practical limit (like 5). This could be useful if the source's data spans both the Indo-Pacific and Atlantic regions, or if specifying more regions is desired. However, this feature alone would not allow doing a source-wide export with table 1 applied to some images and table 2 applied to other images.
At export time, you can select which table to use from a list of saved tables. As mentioned in #377, each table would have a name, and this helps to distinguish the tables from each other. The table list needs a way to delete individual tables - perhaps a delete button next to each table, with an 'are you sure' prompt when you click the button. There should also be a CSV download button next to each table.
When you upload a table, this adds the table to the list of saved tables. However, if the source already has the max number of tables (e.g. 5), the upload is disallowed, and you're prompted to delete one of the previously saved tables first. (There are more complex UI flows we could do here, but this is simplest and pretty reasonable.)
If #376 also gets implemented, there has to be a rule for picking the table used in the incremental source-wide stats computations. One idea is to use the table that was most recently used for an export. However, this rule has to be made clear somewhere, and a source outsider (without Edit/Admin access to the source) should not be allowed to change the table used. When the table is changed, the source-wide stats have to be recomputed from scratch.

Done in PR #404. (Note that #376 has not been done.)


option to search by voice

it will be great to have option to search by voice and not only keyboard, great remote! thank you!

Home Assistant supports text to speech with easy to use service calls, but does not have an equivalent for speech to text. The closest thing it has is the assist action, which allows you to convert speech to Home Assistant commands through a dialogue. This action is currently supported.
custom_actions:
  assist:
    icon: mdi:assistant
    tap_action:
      action: assist

As far as I can tell, there isn't a way to send speech to Home Assistant and get text back to use without using it as a command outside of the assist dialogue. If anyone else knows how to we can work on implementing this as a new text input method.


Support Sqlite storage type

As part of my quest to look at moving the bots and bridges away from the nodejs binding layer, I'd like to talk about potentially enabling SQLite support for this binding layer. In the NodeJS project, we do https://github.com/matrix-org/matrix-rust-sdk-crypto-nodejs/blob/main/src/machine.rs#L113-L155.

I guess this would require the use of Sqlite's support for wasm. Not sure what would be involved in wiring that up.

I don't think we should use Sqlite compiled as Wasm. Instead, we should expose SQLite API via Wasm imports, and use SQLite compiled as a NodeJS bindings from C. It would be probably much faster and easier.

Instead, we should expose SQLite API via Wasm imports

You mean, build our own wrapper around the sqlite API, and somehow thread that through to the rust layer? That sounds like a lot of work.

It's probably a lot of work because the Matrix Rust SDK expects rusqlite API entirely. I wonder how it compiles to wasm32-unknown-unknown and how linking is done. We should try.
It's probably more work than maintaining matrix-rust-sdk-crypto-nodejs if you ask me 😛.

Well, the issue exists because nobody really maintains matrix-rust-sdk-crypto-nodejs right now and that leads to the integrations lagging behind the clients, causing people to pull out their hair.
But if doing the work to make our integrations support the maintained wasm bindings is more work than just having someone maintain the nodejs bindings, then that's fine too. The current situation is untenable though.

Other than the overhead of maintaining two sets of bindings, another advantage of supporting sqlite through the wasm bindings rather than maintaining matrix-rust-sdk-crypto-nodejs would be that you could also use matrix-js-sdk for nodejs projects.

Yet another option here might be to use https://www.npmjs.com/package/indexeddb, which implements indexeddb backed by the local filesystem. That said, its 35 weekly downloads aren't entirely reassuring.

it's vintage :wine_glass:

In fairness 0.0.1 was only published 4 years ago. I guess if it works, don't change it?


Revert "Added a telegram and mailing list for Ghana"

This reverts commit 4e977ec416376418badd89eaf606eb01666418a0.
Ghana already had telegram and discussion list in the resources.

good catch! 👍

BTW thanks @kmpoppe for all your contributions recently! To speed things up, I've invited you to be a maintainer on this project.  Feel free to triage issues, merge PRs, and commit directly to the main branch anything that you feel good about. 🙇

Thanks @bhousel for the honour! My time is very limited recently, other projects also experienced that, but I will do my best to keep this project afloat as well!


Docker compose version

Hello, I see that the setup is still using the docker/compose image to run docker-compose commands. This image has reached EOL and is already pretty old.
From what I can see, using a new version should be as easy as changing this line:
https://github.com/dadatuputi/bitwarden_gcloud/blob/552257c1190e8ad59157b5177bdfecce3441ac0f/utilities/install-alias.sh#L8
so that it says docker compose to use the (newer) docker image and its compose command.
Naturally, anyone with an existing setup would need to update the alias in ~/.bash_alias

Nice catch, updated. sed ommand to update ~/.bash_alias will be in upcoming changelog


frint-react:  Forward Region props to children components

What's done
Forward all Region props but children and className to the App's component by default.
Why
Make it easier to access Region props from an App's component, without having to setup observers and forward the props yourself.

Great work, @rbardini! 💖

@rbardini: let's merge it? :)


Allow Admin to Add or Remove another Admin

Allow admin to add new admin to manage their project.
The new admin can't remove the main adminstrator (a.k.a the one that registered the server)
Close #10

Will be recreated to merge into a new branch


Flutter web image

In Flutter Web, when we use RepaintBoundary, no trace of the image widget is left after the screenshot is downloaded.

Downloaded file:

Code:

Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: RepaintBoundary(
        key: repaintBoundary,
        child: Container(
          width: MediaQuery.of(context).size.width / 2.5,
          alignment: Alignment.center,
          margin: const EdgeInsets.symmetric(vertical: 12, horizontal: 8),
          padding: const EdgeInsets.all(16),
          decoration: BoxDecoration(
            borderRadius: BorderRadius.circular(15),
            boxShadow: [
              BoxShadow(
                offset: const Offset(0, 1),
                blurRadius: 5,
                color: Colors.black.withOpacity(0.3),
              ),
            ],
            color: const Color.fromARGB(255, 236, 230, 245),
            image: const DecorationImage(
              image: AssetImage(
                "assets/ic_izlogo.png",
              ),
              fit: BoxFit.contain,
              alignment: Alignment.center,
            ),
          ),
          child: Column(
            children: [
              const Text(
                'You have pushed the button this many times:',
              ),
              Text(
                '',
                style: Theme.of(context).textTheme.headline4,
              ),
            ],
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          save();
        },
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );

How can I show the image?

it can't reproduced.
u can see the new example: https://github.com/qiuxiang/flutter_image_saver/blob/main/example/lib/main.dart
https://qiuxiang.github.io/flutter_image_saver/#/


[QUESTION]

I use the below code in all index pages of my project (contacts, products, invoices, etc.), but every time a get into de index, the sidebar reloads all images of de menu items.  How can I avoid this issue? or am i doing something wrong?
@extends('adminlte::page')
@section('title', 'MyApp')
@section('content_header')
Contacts
@stop
@section('content')
My code ....
@stop
Regards...

@javierjpm Please upload a video showing the issue you are facing. For what I know, all pages are reloaded when you jump from one to another...

I mean, I would like to avoid the flicker of the icons. Regards
https://user-images.githubusercontent.com/81401360/136321096-852ead0f-d2cb-4c57-9744-5280b266373d.mp4
.


Error on Install

On start I get the following messages in the add-on log:

Starting Willow Autocorrect...
Mapping persistent storage...
Setting TypeSense environment variables...
Parsing configuration options...
Writing Home Assistant configuration to .env file...
Launching Willow Autocorrect...
2024-02-06 20:26:23 INFO     Set log level DEBUG
[2024-02-06T20:26:24] INFO:     Started server process [11]
[2024-02-06T20:26:24] INFO:     Waiting for application startup.
2024-02-06 20:26:24 INFO     Starting Typesense
2024-02-06 20:26:24 INFO     Typesense started. Waiting for ready...
Log directory is configured as: /dev/shm
E20240206 20:26:24.277977   102 raft_server.cpp:613] Node not ready yet (known_applied_index is 0).
E20240206 20:26:24.278699   115 raft_server.h:62] Peer refresh failed, error: Doing another configuration change
2024-02-06 20:26:34 INFO     WAC collection 'commands' not found. Initializing with timeout 120 - please wait.

And the following error in the HA log:
`Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:138
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 18:21:42 (1 occurrences)
Last logged: 18:21:42
Failed to to call /addons/52f98d8e_willow_autocorrect/install - The command '/bin/sh -c apt-get update && apt-get install --no-install-recommends -y wget jq git coreutils curl && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100`
WAS is unable to connect to HA.
I'm running HA on a Pi4.
Core 2024.1.6
Supervisor 2024.01.1
Operating System 11.5
Frontend 20240104.0

@stiltjack I've pushed an update to the add-on that hopefully fixes this issue, if you could let me know if v<IP_ADDRESS> works for you.
This seems like it's a problem with the add-on itself, not WAC, so we can close the issue here. If it still occurs, please open an issue on the add-on-specific repo here: https://github.com/nwithan8/hassio-addons


Built a JS package using npm for the basic scheduler

This is still not complete. So I'm not merging with the main branch. Once finished, it can be merged.


[Screen reader - ADF - Add connection] Screen reader announces 'empty document' on Azure data factory extension dialog window.

User Experience:
Screen reader user will be affected if screen reader doesn't provide name of dialog window as user won't get to know about such dialog screen.
Test Environment:
Application Version: 1.16.0-dev
Build Number: 20200921.1
Screen reader: Narrator, NVDA
Pre-Requisite:
Navigate to the storage expoler.exe and select it
Repro Steps:

Launch Azure Storage Explorer app.
Navigate and select Add data factory control at left panel.
Now, navigate to 'Connection' control and select '+New' option on Azure data factory window.
Verify dialog window after selecting +New option.

Actual Result:
Screen reader announces 'empty document' instead of 'Azure Data Factory Extension' dialog window after selecting '+New' option under Connection control of Azure data factory extension dialog window and due to this, screen reader will be confused as they will consider there must be empty document for no use.
Expected Result:
Screen reader should announce 'Azure Data Factory Extension' dialog window after selecting '+New' option under Connection control of Azure data factory extension dialog window so that screen reader user could get to know about such dialog window.
Note:

Screen reader doesn't announce Azure data factory window after selecting visual control azure data factory at left panel.
NVDA also announces 'empty document' instead of 'Azure Data Factory Extension' dialog window.

MAS1.3.1_Add connection.zip

This should be fixed by ADF team.


Adding a sample using a custom axis in revolve.rs

Adding a quick example defining a custom axis and revolving a sketch
Closes #2594

see steps 10 and 11 here for regenerating the docs! thanks! https://github.com/KittyCAD/modeling-app/tree/main/src/wasm-lib/kcl

@jessfraz I've gone and updated the docs and snapshots for the additional sample code, but looks like there are still failing tests. What should I do about that?


Skipping link https://files.pythonhosted.org/packages/7f/63/0c200f5365cb185167e1ad146be9c1df525334e122fee2e11ae2c069bddd/azure_iothub_service_client-1.4.4-py2-none-manylinux1_x86_64.whl#sha256=4b3f9d880e35919aa62031829ea4d870a7551832997848d0b6104bdbf9b02457 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/6e/de/25bd66d0e1ddcefe702073969849efa4d8b3332595bb782ee95e1ee69703/azure_iothub_service_client-1.4.4-py2-none-win32.whl#sha256=313e60b5e212f3fdd2846b99ebbc5f64e50c00a4ceb8bc9eb77bca4d08512bd3 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/4a/54/41c260764e6f049538f990783f97f1b5034706593a64d76da8665b951a80/azure_iothub_service_client-1.4.4-py2-none-win_amd64.whl#sha256=7eb36a1eacfb409c4a9483f8e30c3e42a0ddb76def3fe696f4cac9c043e6ac1a (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/04/a3/c25d67525691e3fcd4addb26a0c6592802274edddd83b6bcc3e0315524b4/azure_iothub_service_client-1.4.4-py3-none-linux_armv7l.whl#sha256=5f4d161d9335ccfa9911b279e90ad2dbc5df5a472d9ffc547aa7be20fe09b112 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/f4/15/0bcab8f175e72f5263055577eb28d0674fb813533477a742d5fc2e370910/azure_iothub_service_client-1.4.4-py3-none-macosx_10_6_x86_64.whl#sha256=91edc91017d8f8fb23610975328d1d6f78a4451ef23409998af38b648ceb74d7 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/d3/75/96dd3fa984baf53e38141c865ccbd6d1cfd07beccc064b7a3af57f40f3c8/azure_iothub_service_client-1.4.4-py3-none-manylinux1_i686.whl#sha256=da947d7e4027470218b8556c5530abd3ea02110ecd05ac20e531aa137f5d6813 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/ba/01/04d56c609a4208e1bef7f6f752d553d3f453b31b034a3e86976f524d7116/azure_iothub_service_client-1.4.4-py3-none-manylinux1_x86_64.whl#sha256=f1e4b6c6d56e3766b876644efaeb99059ce1194ca93779c2d284acf2f43300d9 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/e8/66/38a6b72dd0a8bec8bc96a240094a7bbaf33c821e0f0eb8fbd40db8e3351e/azure_iothub_service_client-1.4.4-py3-none-win32.whl#sha256=48a91395fa782b61058485ce187d9cea89415c566e114efd72c8b0bc6ccde5c6 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/2f/1c/4a19f19207b9e9876bcdfd774f2a2e755cbaea550d941c64c1248f6bf661/azure_iothub_service_client-1.4.4-py3-none-win_amd64.whl#sha256=2c76ee0b96521def8fb87e2ea62a79274f8c29d5e149ab0743b81dacf0cd1276 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/c0/87/38e338cd5f078c1b51b681abcb00d937139cf2ed80b681090d71f9942dff/azure_iothub_service_client-1.4.5-py2-none-linux_armv7l.whl#sha256=760dd650f4eef0101933ca20e9a7da12c594dd54cfd7554bdaf7d70dfb20cb35 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/35/55/e4b689cf3cacd6b00932010e21c787fd280012645c409697019843780c84/azure_iothub_service_client-1.4.5-py2-none-macosx_10_6_x86_64.whl#sha256=598fb913fb12c28148bda31dc91efb4565a70999ad0a23af18d59132a206351f (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/48/30/b18eeae8d63fde9d456b95ae686d8bfa07a80350b48a296c5c57fea902c8/azure_iothub_service_client-1.4.5-py2-none-manylinux1_i686.whl#sha256=7a5282ffb40e852d7402d0b2837e480b9dc30e6d0d07691c20d457efe110cfe4 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/18/09/f2c065fc005eccffb3dd36bc688b6b734888a648b3353f89af149fa42ca7/azure_iothub_service_client-1.4.5-py2-none-manylinux1_x86_64.whl#sha256=38887cf7c8cbcd87fc8beadbbbb5a7ef11bc0c52e907fea28d989f8e4e63b8f8 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/15/c3/3ba8c134c72b8b584de948ae98d2b5eac41127eebc317615036f24e59fb6/azure_iothub_service_client-1.4.5-py2-none-win32.whl#sha256=51a6268d8e8c3380ea0bb31bfd105de51b50bc9c0a8ffbf540e79a1e5cfdd469 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/42/86/927351e30d0aed6285405b726466ff78b1770c41d6758a90fa07153feeca/azure_iothub_service_client-1.4.5-py2-none-win_amd64.whl#sha256=fcba3d0b8791282bc79cd97f0f59a340c44824fab1b2e81a67ef98da0f62fcfc (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/6b/5c/a54793025064c4456b41ff09832716dd49890f3dcbd9c655fd956ccd9bf0/azure_iothub_service_client-1.4.5-py3-none-linux_armv7l.whl#sha256=24e008a0206ca103baed2453c6c67bec5575c971f7d4dbec1c95e09546360548 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/53/c6/39a212b37bfe3291ab5dbebd790cd67560200b178d34adf9b55d85916ff7/azure_iothub_service_client-1.4.5-py3-none-macosx_10_6_x86_64.whl#sha256=a963ebbd48b5102596668cd1642d93b0557321e8168f4f0468c589f1e49e4ee4 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/89/3a/84a5110caa105107885dbe21ab3d8b45b46253c7fee0484448c3a30749c5/azure_iothub_service_client-1.4.5-py3-none-manylinux1_i686.whl#sha256=bd29ca3d75cc9fa1d7efba13f3b198fa5e3f3f0c991dcc68146a6f84493d28f4 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/6d/28/831b7f82f2e92202827a3966bc62ca524883f34b8985d00ce3bbb5aa50ee/azure_iothub_service_client-1.4.5-py3-none-manylinux1_x86_64.whl#sha256=55f7f2c17c2b7a18f468507f06fb0b7a83830939bbe059c025007a28946c14f1 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/81/9c/7b0243fa73697e280016637ad66a26e4af7ad7b2d3f063103e4bbf2f807d/azure_iothub_service_client-1.4.5-py3-none-win32.whl#sha256=a5ebf79980eb8e36f15533ed7b1da3c5d7fe99cd1003a162f3df4bec2eab6072 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/18/e7/9a05f56fa1f9ed781af54ae6bf47c2e442db442ce0ae694f83fe8634d4e5/azure_iothub_service_client-1.4.5-py3-none-win_amd64.whl#sha256=6a9ed57f707de0111c93539bd87e8aaa0ce78486a92ac958c69ddd52b6b8d79e (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/b1/5a/8b72bbb4a9bde632ed902f2def81865b0f124c06ce64ff9f19b5f73e26fc/azure_iothub_service_client-1.4.6-py2-none-linux_armv7l.whl#sha256=18aecf7ee0f03119bbaeac37354bb915e39bc57ee7047dd186c0241d70fd88b7 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/0f/ad/246544c335db73ba467d8c72ab3a65c2c55d32e7993cc3b2f6fec64cae5f/azure_iothub_service_client-1.4.6-py2-none-macosx_10_6_x86_64.whl#sha256=b92ea444fa98b8fe89dbd07441b9c94e1d4a947117f91c55da9c530e35761a8e (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/0a/ba/67f882b5a19c027ff168b156760552c81b141a4a88dfe02d1a8cfe54a6f4/azure_iothub_service_client-1.4.6-py2-none-manylinux1_i686.whl#sha256=b1cb1fc5c19fe31e742a9a93d5bd5392a3cdef7b55970b7a1b1e33d4e03c657b (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/b2/18/45efe65620dc0a5825f8c78876f810917d44fe1060c486eada6e9b6baa27/azure_iothub_service_client-1.4.6-py2-none-manylinux1_x86_64.whl#sha256=b8c876a5732ec14908c80bdba7ccfebad68d261b1879990c54cf48c46f8e5186 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/96/64/ee2adbd9a0c5b1c76932c1fe1c9e8125148778b6455655671c9a33f52c68/azure_iothub_service_client-1.4.6-py2-none-win32.whl#sha256=498ba729a5728b45f121209a2e3994daa7bf63d2c31c821a3ec39955cc41ba1c (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/53/cb/9facd78c7290aae395395ed760e329248fd748bb0e78bcd3169d844d145c/azure_iothub_service_client-1.4.6-py2-none-win_amd64.whl#sha256=1d6a680acdfac21dcaaf49871d54cf6cecd09c34d817ae41f1084c8d0aa0ccac (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/9d/59/3bbae6b28d316286ae42a76492c1b8956ee5f34f4f814dbf487ddaef3885/azure_iothub_service_client-1.4.6-py3-none-linux_armv7l.whl#sha256=b536b9ea821097db551b9d743a06d3843bb9070df656db6039a426f3fda05512 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/7b/f1/639758277deeb76dffa7826054f533fbb744e2bf3966faa93dbbeeadeb58/azure_iothub_service_client-1.4.6-py3-none-macosx_10_6_x86_64.whl#sha256=6dfa3667595ac995755a84c3684aa223e12e828d4eebceca25ca3438bf99a224 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/0d/55/fd6d3e9016adf8f18a20ab0938b5d5acf0c0a3460819291ec35c8094ac13/azure_iothub_service_client-1.4.6-py3-none-manylinux1_i686.whl#sha256=b2e68d6cfbbe462e4b9759ef940d46e1596a0606343fafa18913773d68f1e19c (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/50/c0/0821bb75c0efa4a29489299945cdf411604afea6706598c3c3d6ea9a6e99/azure_iothub_service_client-1.4.6-py3-none-manylinux1_x86_64.whl#sha256=105746ed472f3ab39fbceaa51409ab1ac73946923baf15ca3ea346f471ac03ac (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/5d/09/81c2291ff8edd54d5d8a35c8b29cdf86b37a413dd0f39c495258603cabb1/azure_iothub_service_client-1.4.6-py3-none-win32.whl#sha256=a41daeca80ef561f3a7a72f6a195df42a4fce00695b793c173b5a5c22bf63e97 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/e9/dd/214ea30ae83da0fd804544054d1e81dd4101bfa4262466386e6e85deb7ef/azure_iothub_service_client-1.4.6-py3-none-win_amd64.whl#sha256=09f102f6c3e265f696bac764a3d128c554b6097fabb8b2102d689227fc652441 (from https://pypi.org/simple/azure-iothub-service-client/); it is not compatible with this Python
  Using version 1.4.1 (newest of versions: 1.4.1)
  Looking up "https://files.pythonhosted.org/packages/77/0a/17ce81cd429261026a7999e7f635839c3d33e714eee79b8135c7d4ba384d/azure_iothub_service_client-1.4.1-py2-none-any.whl" in the cache
  Current age based on date: 17356
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 17356
  Using cached https://files.pythonhosted.org/packages/77/0a/17ce81cd429261026a7999e7f635839c3d33e714eee79b8135c7d4ba384d/azure_iothub_service_client-1.4.1-py2-none-any.whl
  Downloading from URL https://files.pythonhosted.org/packages/77/0a/17ce81cd429261026a7999e7f635839c3d33e714eee79b8135c7d4ba384d/azure_iothub_service_client-1.4.1-py2-none-any.whl#sha256=ac7fc7c8f71656cf327bed0032dabf70e5d049d886a5b0309c7759ba08ec23fc (from https://pypi.org/simple/azure-iothub-service-client/)
Installing collected packages: azure-iothub-service-client

Successfully installed azure-iothub-service-client-1.4.1
Cleaning up...

@jebrando I see you added the v1-deprecated tag which may explain the problem, but not hot to fix it. I suspect there may be a different Quick Start example somewhere that does work but it isn't clear from the repository readme or documentation where that is or how to use.  If you have to install the depreciated v1 solution can it co-exist with the current solution or do you have to uninstall the current solution and re-install the v1 to utilize the C2D example? Is it possible to rebuild the azure-iothub-service-client locally and resolve this issue?
I am also curious why the pip install says it was successfully installed when it wasn't, thoughts?

@jebrando Also curious why a v1-deprecated error would manifest itself as a 'packages/iothub_service_client/iothub_service_client.so: invalid ELF header' error (I'm not sure what the ELF header conveys about the '.so' file).
import iothub_service_client # directory /home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client
/home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client/init.pyc matches /home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client/init.py
import iothub_service_client # precompiled from /home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client/init.pyc
dlopen("/home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client/iothub_service_client.so", 2);
Traceback (most recent call last):
File "BackEndApplication.py", line 9, in
import iothub_service_client
File "/home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client/init.py", line 1, in
from .iothub_service_client import *
ImportError: /home/xilinx/.local/lib/python2.7/site-packages/iothub_service_client/iothub_service_client.so: invalid ELF header

It appears you are trying to install and use a sample for the V1 library. The V1 library is deprecated, and no longer supported due to technical issues. As of today we have released a version 2.0.0 of both the Device libraries and the Service libraries. However, some of the documentation for usage scenarios has lagged behind.
We are working to update all samples and documentation for V2 as soon as possible. Please only use V2 clients, as they are the only ones we will be continuing to support.
pip install azure-iot-device for device libraries
pip install azure-iot-hub for iothub service libraries

Ok, thank you for the update. Any idea when the documentation will be caught up? I think that the inconsistency between the docs and code is what confused me the most.

We don't currently have a specific date, but we are actively working with our partners to ensure they're updated as soon as possible.

@jflynn129 We are looking to add this functionality.  There are a few technical hurdles that we need to get over to get this done.  This will all be tracked under Issue #458.  We will close this issue and refer to that issue.  If you have any questions please update questions there.

@jflynn129, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Help spread the word on edits to log4j2.xml

Rationale
There are multiple variants of log4j2.xml for different deployments. When we make a change to the default copy, it may need to be applied elsewhere too.
Changes

Encourage collaboration and communication
Discourage use of other NotNull and Nullable annotations

@XingY inspired by your comment https://github.com/LabKey/platform/pull/5476#pullrequestreview-2043754221


Move Stimulus stories to the one location

In our pattern library, we have a Stimulus section that was set up for the initial examples integration but it appears we were not using it for the other Stimulus stories.
I have now moved these all into one place.

Before
After

Discovered while preparing for another PR which includes a Storybook implementation.

Thanks Sage. I will not do a changelog, this is just a small clean up item.


Trailers can't be added in Lua filter if the upstream response did not have any trailers

As of Envoy 1.8.0, the trailers() function exposed in Lua returns nil (as documented) if the original stream did not contain any trailer. This makes it impossible to add trailer afterwards as the script can't get hold on a wrapper handle.

I am guessing that updating the API to return an empty header object in that case (instead of nil) is not an option as it will be a breaking change. The only backward-compatible thing I can think of would be to add some kind of resetTrailers() function that would:

create a wrapper if there isn't already one
remove all pairs in the existing wrapper otherwise

If anyone has a workaround that does not involve a custom Envoy build until we can agree on how implement this (like having another filter init a dummy trailer somehow), I am all ears!

Yeah I think the only way to do this is going to be able to do the equivalent of calling addDecoded/EncodedTrailers() in the C++ filter API (filter.h). This would need to be done in the context of headers if end_stream is true, or in the body if end_stream is true. I think it's doable, but this is going to require some thinking on the right API to expose to allow this to happen.
@bjaglin there is no way to do this with Lua without code changes. This can be done using a C++ filter today without code changes to Envoy core.


Lower the MSRV

The current version needs a minimum supported Rust version of 1.75 due to the Links trait returning an iterator.
As such a recent MSRV shouldn't be a blocker for anyone using this library, but it currently is, (see https://github.com/ipld/rust-ipld-core/pull/11 for more). We should find a way to lower the MSRV.
I currently see two ways (if anyone has others, please post here):

Returning a boxed trait instead of an impl trait. For an implementation see #12.

Pro: Also the Codec trait would work on lower versions
Con:

It's a breaking change
It uses a dynamic trait

Introduce a codec feature flag, which is enabled but default. Users that don't need the Codec trait could just disable that feature and use a lower MSRV.

Pro: Non-breaking change (as long as you use the default features)
Con:

You cannot use the Codec trait in Rust < 1.75

I'd prefer to keep it as-is or return an associated type (where implementers can choose to box).

@Stebalien I hope I understand it correctly that having an associated type would looke like this:
pub trait Links {
    type LinksError;
    type Iter;
    fn links(bytes: &[u8]) -> Result<Self::Iter, Self::LinksError>;
}

Returning a boxed iterator work, but impl Iteractor does not:
error[E0658]: `impl Trait` in associated types is unstable
  --> src/codec.rs:37:17
   |
37 |     type Iter = impl Iterator<Item = Cid>;
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information

For more information about this error, try `rustc --explain E0658`.

So if you would prefer keeping it as-is, would adding the codec feature a possible solution you could at least leave with? The the serde_ipld_dagcbor would then also need such a feature. I really want to unblock users of this library and I can see the 1.75 might be too new (although indeed IPLD is bleeding edge).

I've pushed https://github.com/ipld/rust-ipld-core/compare/codec-feature-flag to get an idea of what the second proposition looks like. I've also pushed https://github.com/ipld/serde_ipld_dagcbor/tree/codec-feature-flag to see the full chain.
@sugyan patching ipld-core and serde_ipld_dagcbor with those branches with something like that should work:
[patch.crates-io]
ipld-core = { git = "https://github.com/ipld/rust-ipld-core", branch = "codec-feature-flag" }
serde_ipld_dagcbor = { git = "https://github.com/ipld/serde_ipld_dagcbor", branch = "codec-feature-flag" }

And then setting the ipld-core and serde_ipld_dagcbor dependencies to default-features = false, features = ["std"].

@Stebalien I hope I understand it correctly that having an associated type would looke like this:

Yes, I was suggesting using concrete types for now.
But I would actually prefer a feature flag because that is easier to change in the future.

@vmx Thanks for the quick fix! I tried the change to use that branches in my library as well. It seems to be working well!
https://github.com/sugyan/atrium/pull/148


VSCODE crashes after high intensity code is ran

VSCode Version: 1.51.1
OS Version: 18363.1198

Steps to Reproduce:

Create a python (.py) file
type:

import string, random

while True:
    code = "".join(random.choices(string.ascii_uppercase, k=100000))
    print(code)

This code generates a random code with a length of 100000. It sometimes freezes and crashes after a few seconds, or if I try to highlight the code in the terminal while it is running, then it freezes.  Yes, this code needs a lot of system resources to run, and that's probably why it crashes, however, it would be a great feature if VSCODE detects of the program is about to crash and then it automatically terminates the code(s) running. This way, VSCODE automatically prevents itself from crashing.

While replicating this bug, I also came across another: even if the length of the code is 2 (k=2), and I terminate the code by clicking "kill terminal" instead of ctrl+c, VSCODE just freezes. Anything I click afterwards in VSCODE is unresponsive, I am forced to use task manager to close VSCODE. Very strange bug because generating a two-character length code does not require very little amount of system resources.

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

The hang when you kill the terminal is tracked in https://github.com/microsoft/vscode/issues/76548
Window responsiveness when running something like that is tracked in https://github.com/microsoft/vscode/issues/74620
/duplicate

The hang when you kill the terminal is tracked in https://github.com/microsoft/vscode/issues/76548
Window responsiveness when running something like that is tracked in https://github.com/microsoft/vscode/issues/74620
/duplicate


[SEO][Rollout Monikered Canonical]Add URL moniker

Enable build config to generate canonical URL with moniker

Docs Build status updates of commit 216d58a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dotnet/docfx.json
:warning:Warning

Details

docs/docfx.json
:white_check_mark:Succeeded

dotnet/docfx.json

Line 54, Column 40: [Warning: ms-prod-technology-invalid - See documentation] Invalid value for 'ms.technology': 'windows-toolkit' is not valid with 'ms.prod' value 'community-toolkit'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


issues while using custom certificates and keys in kubernetes environment

Working condition
Using below certs and key (openssl generated) in config.json
server-app-cm.yml :
{ "server": {         "http_addr": ":443",         "tls_key_file": "./certs/notary-server.key",         "tls_cert_file": "./certs/notary-server.crt"       },       "trust_service": {         "type": "remote",         "hostname": "notary-signer-svc",         "port": "7899",         "key_algorithm": "ecdsa",         "tls_ca_file": "./certs/root-ca.crt",         "tls_client_cert": "./certs/notary-server.crt",         "tls_client_key": "./certs/notary-server.key"       },       "logging": {         "level": "debug"       },       "storage": {         "backend": "mysql",         "db_url": "{{ template "metadata.database.server.cm.url" . }}"       } }
signer-app-cm.yml :
`{
  "server": {
    "grpc_addr": ":7899",
    "tls_cert_file": "./certs/notary-signer.crt",
    "tls_key_file": "./certs/notary-signer.key",
    "client_ca_file": "./certs/notary-server.crt"
  },
  "logging": {
    "level": "debug"
  },
  "storage": {
    "backend": "mysql",
    "db_url": "{{ template "metadata.database.signer.cm.url" . }}",
    "default_alias": "{{ .Values.signer.cm.passwordalias1Name }}"
  }
}
`

Not working condition
If we use organization generate certs and keys.
getting below error.

Can anyone please suggest how can we replace below certs and keys using organization generate certs and keys??
 "server": {         "http_addr": ":443",         "tls_key_file": "./certs/notary-server.key",         "tls_cert_file": "./certs/notary-server.crt"       },       "trust_service": {         "type": "remote",         "hostname": "notary-signer-svc",         "port": "7899",         "key_algorithm": "ecdsa",         "tls_ca_file": "./certs/root-ca.crt",         "tls_client_cert": "./certs/notary-server.crt",         "tls_client_key": "./certs/notary-server.key"       }
  and

  `"server": {
    "grpc_addr": ":7899",
    "tls_cert_file": "./certs/notary-signer.crt",
    "tls_key_file": "./certs/notary-signer.key",
    "client_ca_file": "./certs/notary-server.crt"
  }`

please suggest from below listed keys which got generated from organization. how can we replace with openssl certs and keys.
  1. domain.csr
  2. domain.privkey.pem
  3. domain.pem
  4. domain.ccc
  5. TrustedSecureCertificateAuthority5.ccc
  6. USERTrustRSAAAACA.CCC

@imashish-in hi! If you take a look at fixtures/regenerateTestingCerts.sh you can see how the testing certificates are being generated using OpenSSL, and hence adapt your configuration to your needs.
Also, take a look at the documentation about how to configure the notary server and the notary client.
Hope this helps!


SCALE code page link broken

Broken Link
https://docs.substrate.io/v3/advanced/scale-codec/
Expected Location
https://docs.substrate.io/reference/scale-codec/
Context and Origin
Redirected from rust docs at https://docs.rs/parity-scale-codec/latest/parity_scale_codec/

@Ank4n can you confirm if this is still active? It seems that the  links are correct.

@Ank4n can you confirm if this is still active? It seems that the  links are correct.

Seems fixed now.


 viewport breaks mail layout

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.7.10
Where did you get the app from?
Other
Android version
13
Device model
Pixel 7 Pro
Steps to reproduce
example mail
This bug affects all mails of the same sender.
Expected behavior

Actual behavior
K-9 (Sanitizer) adds this meta tag which breaks the layout of the mail above
<meta name="viewport" content="width=device-width">

Logs
No response

Possible fix?
<meta name="viewport" content="width=device-width, initial-scale=1">
It fixes the behavior in Firefox atleast.
eml attached: open with "hg"
eml-1.zip

I just noticed, that the mail already comes with
<meta name="viewport" content="width=device-width,initial-scale=1">
in the header section.
K-9 adds the same meta tag, so it exists twice. The 2nd one appear to take precedence.
K-9 could remove the first meta tag viewport and replace it fully, depend's on what's best (no idea)

The viewport meta tag <meta name="viewport" content="width=device-width,initial-scale=1" /> seems to be the good one following https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Responsive_Design#the_viewport_meta_tag

html mail is a mine-field. I cannot assume that introducing initial-scale=1 won't break any existing mail layouts. There are no guide-lines for what works or doesn't work in mail clients across the world. html mail isn't exactly standardized/enforcing standards. Often mails still use tables for layout, responsive layouts is like chasing dreams. html mail is the stone ages + modern stuff + hacks to make mails display correctly in certain clients.
Adding initial-scale=1 to all mails could improve other mails but also break their layout. I haven't done any tests.
Important for me would be that the sanitizer atleast respects the viewport meta tag that a mail comes with in-order to not break it's layout.
If it doesn't have one it could add it's own one to the DOM.