NVD CVE load for 2003, 2004, etc?

When my NVD CVE updater does a full update, it only pulls for the following years (or so it seems):
2002, 2007, 2009, 2010, 2011, 2012, 2013, 2014, 2015.
If I look at the database, it does indeed have CVE's for 2003, 2004, 2005, 2006, and 2008 - but the log never shows that those get downloaded.
Not really an issue, but I'm very puzzled.

Eh - nevermind. If I delete the database and start over, it does indeed download those. I guess those were just the ones that were up-to-date.

I've noticed similiar things. The database is being kept up to date; there just may not be changes to a few of the files so there is no need to re-download them.


Stale documentation on pythonhosted.org

Some time ago we uploaded SpacePy documentation to pythonhosted.org and it's still sitting there (https://pythonhosted.org/SpacePy/)
With the deprecation of pythonhosted.org I tried to delete the documentation and clicked the "destroy documentation"; I can see this in the journal: "docdestroy Jun 22, 2019, 11:52:56 AM".
Unfortunately the old docs are still on pythonhosted.org and they're sadly still the highest-ranked on Google, leading to issues like spacepy/spacepy#270
Any way I can actually get those docs deleted?

@jtniehof is there a redirect you'd like in place for the docs once they're removed?

A redirect to https://spacepy.github.io/ would be awesome. Thanks!

👍

Thank you!


Tests created for ExitButton and attempted to create tests for Login

Tests created for ExitButton and attempted to create tests for Login

duhas


react-navigation is not working in android.

I'm using react-navigation  and it is working fine for ios, but in android got a issue(please find screenshot).
Issue: undefined is not an object(evaluating this.props.navigation.navigate)

My code:
rowPressed(listerURL) {     var property = listerURL;     const { navigate } = this.props.navigation;     navigate('TempleDetail', { name: property})     }

You are not taking out the navigation object correctly out of props.
See this:
`render() {
const { navigation } = this.props;
return (

<Button onPress={() => navigation.navigate('MainScene')} title="Login" />
<Button onPress={() => navigation.navigate('Register')} title="Register" />

)

}`

For mee too.
"react": "16.0.0-alpha.12",
"react-native": "0.45.1",
"react-navigation": "^1.0.0-beta.11"

Can you provide more code? When you have this error, you are most likely not passing navigation as a prop to this component. Also, what versions of Android and react-navigation are you using?

resolved, thanks.


Pydantic casts contructor arguments under the hood following field type hints

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
The example code produces the following output:
<class '__main__.ConfigA'>
<class '__main__.ConfigB'>
True
config=ConfigB()

whereas, the expected output is:
<class '__main__.ConfigA'>
<class '__main__.ConfigA'>
True
config=ConfigA()

Pydantic V2 prints the expected output unlike V1.
Example Code
from pydantic import BaseModel

class Config(BaseModel):
    pass

class ConfigA(Config):
    pass

class ConfigB(Config):
    pass

class Wrapper(BaseModel):
    config: ConfigB | ConfigA | None

def read_config() -> Wrapper:

    config = ConfigA()
    ret = Wrapper(config=config)

    print(type(config))
    print(type(ret.config))
    print(config == ret.config)

    return ret

if __name__ == "__main__":
    print(read_config())

Python, Pydantic & OS Version
pydantic version: 1.10.14
            pydantic compiled: True
                 install path: /opt/homebrew/lib/python3.11/site-packages/pydantic
               python version: 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)]
                     platform: macOS-13.3.1-arm64-arm-64bit
     optional deps. installed: ['dotenv', 'typing-extensions']

Affected Components

[X] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

We're no longer actively working on V1. Closing this as resolved, given that it's fixed in V2.


Can I adjust the font size of the test result panel

Hi,
first I want to thank the author for this great package and second I would like to ask "Can I set a different font-size for the result panel?".
Thank you

I don't know any easy way to do this without introducing some customisations. You can change the overall font size of everything: Menu > Preferences > Font.

Yes. I was just wondering if I can have different size from the main font.

You can now set the font size.
Example:
Menu > Preferences > Settings
{
    "phpunit.text_ui_result_font_size": 15
}

Thank you @gerardroche

In the next version I'm renaming the font size setting from phpunit.text_ui_result_font_size to phpunit.font_size.


typing a space at the end of an instrument name will instead move the cursor before the first character in the name

namingofkindthistoleading :)

This might be fixed in the upcoming GUI refactoring/rewrite, but need to check.

This should work now, closing.


New Daily and Weekly Task

I think there is a new system daily and weekly login, it will make bot can't do other task

That's error:
[Master HamsterKombat Bot][ERROR] 2024-09-05 03:52:04 [Account 1] Failed to get daily task.

i also have the same problem after updating the script

i also have the same problem after updating the script

i think not from script, it's from hamster system. (maybe : new url for claiming daily login)

just disable auto_get_daily_task for now, everything else works fine for now.

I try to make little modification for the script (hope this will help you), and it's work for me

but i forget to distinguish the reward between key or coins, still waiting for the repo owner to update it.

Update the bot.

Update the bot.

Perfect!


Add check for ORC forced positional evolution in OrcUtils

This fixes https://github.com/NVIDIA/spark-rapids/issues/1922
This is to keep OrcUtils in sync with Spark's code. In the Spark PR https://github.com/apache/spark/pull/29737/ they have added a check for 'orc.force.positional.evolution` for matching top level column by position.
This is specifically for ORC file written by newer version  of Hive, haven't added any tests.
Please let me know if we any tests are required.

Adding a test is always a good idea, even if it's a simple one just to do a sanity check

This looks good, but agree it would be nice to have a test to show this works.  The original Spark PR could be a reference of how to approach testing this.

build

build


upstream-community-operators [CI] api-operator (1.2.2)

Signed-off-by: Renuka Fernando<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

Relevant changes in WSO2 repository https://github.com/wso2/k8s-api-operator/blob/master/operatorhub-resources/api-operator/ci.yaml


Add explicit bundle parameter to support frameworks

Carry over changes from https://github.com/AliSoftware/SwiftGen/pull/255 with some added fixes for Swift 2.3. I've also implemented the same changes for storyboards.
This still needs some work to add this to the other commands, for example:

images: the way to load assets from catalogs in bundles is different between iOS (UIImage(named:in:compatibleWith:)) and macOS (bundle.image(forResource:))
fonts: the fonts need to be registered using CTFontManagerRegisterFontsForURL before use. I've done this using an override of initialize()  in a Font extension, but we could also just check in our init if it's already loaded. Would love some input on the preferred method for this.

Do note I first want to merge the other PRs related to linting and compilation, to avoid further issues with the output code.

I like that change and approve this PR, but wouldn't it a breaking change, because Image now doesn't have an init(name: Asset) anymore with that PR, so people relying on that wouldn't be able to use it and their code will break?

So either we mark that PR as breaking and only merge it as part of 5.0 as the default image template
Or we merge it but make the images template a separate template different from the default, but I think it should then be the default in 5.0, so not sure it's worth this intermediate step
Or we restore the init again… at least for iOS (which should be possible because it still invokes an init, while for OSX I'm guessing the problem was that to build that NSImage from a bundle you had to use a method on NSBundle and not an init and Swift wasn't happy with a convenience init not calling another init?)

Oh yeah I didn't notice that. I'd vote for keeping the initializer.

Yeah, in Swift you can't return a different object in the init like in Objective-C 😞
I've re-added the init for both platforms. On macOS it falls back to the old behaviour.

Cool!
One last question, I'm wondering if the ImageConvertible protocol is worth it? I mean, don't get me wrong, I love Mixins obviously. But given that it means declaring a protocol so adding ImageConvertible in the global namespace, that means a new type and name that people won't be able to use in their own code for other stuff (e.g. if they already had a protocol named ImageConvertible in their own codebase, it would conflict)
It's not much, but given that this Mixin isn't necessary per se and generating the init directly doesn't change the amount of code or the complexity, maybe it's not worth it risking a name conflict?

@djbe now that inits are back, this should be mergeable right now, even in upcoming 4.2, as it isn't breaking anymore, right?

Jup, should be 👌


update curl command and fix misspellings

Let me do it  all

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: michakinchen1988 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@michakinchen1988 can you please sign the CLA?


Update bug report template

Hi @andrewleader
Can you review?

What do the issues generated by this new format look like?

Whoa this is super cool! I didn't know this was possible @ghost1372, thanks for opening the pull request! We'll review and work on this some throughout the week.

What do the issues generated by this new format look like?

Whoa this is super cool! I didn't know this was possible @ghost1372, thanks for opening the pull request! We'll review and work on this some throughout the week.

Thanks
Checkbox template is also available if needed


GSplats many engine examples fails to compile shaders (Engine v2)

Also, both gsplat examples do not run on WebGPU due to shader transpilation issues - likely a feature that our parsing does not support is used.

fixed


Feature request: change app language

Sometimes when looking for specific settings or developing translations it would be helpful to have the app in different language than the system.
I think this is somehow natively supported by Android as in Settings -> apps -> YouTube Music there is an option for language which also appears with some other apps, although not in Voice Notify that this issue is about.

I've thought about doing this, but I was not aware of the native support, which should make it much easier to implement than I expected. Thanks for pointing it out!


Why static render methods?

Just curious why mercury component render methods are static since naively it would be convenient for a parent component to call foo.render() as an instance method. Is that mainly to enforce separation from the state object and discourage mutating local state?
Thanks very much for the excellent docs and examples. Mercury is an enlightening project.

You can definitely do that. I advocate separating render functions completely into their own files because

Hot reloading is easier to do
It makes it more difficult for the view to update model state in unexpected ways (the only sanctioned way is by binding channels to the DOM) There is always the possibility for local state in renderers, what you want is for the model to control access to itself via channels
Ideologically, model and view should be separate. There are many ways one might want to render a boolean state; so instead of duplicating the state in several components (tickbox component, switch component), separate state and renderer (boolean state + tickbox renderer or switch renderer)

2 and 3 are just my opinion. Raynos does seem to lean more componentwards in some of the examples, for example how most render methods are attached to an object, not completely free.

@shoover  is not a requirement of the library just a way in which Raynos do the examples,  because he likes more functional programming,  in your I see that you want to use and OO paradigm, a option then is create local state in each component, at attach them to his parent component state,  and the parent state to its parent-parent state, and soon on till the root State (making you State tree in the process) when the class are loaded, using observ-struct, observ-array, or observ-varhash. if you are careful and understand the code that  is really small and easy to comprehend, you will archive the same using the OO paradigm.
this approximation is good  for me because In my case when I think about  the model of the app, I relate it more with the db data (users, tasks, messages, etc. very similar and what you should have in a db).  the ui for me can represent  that data in different ways, so the state of db-data like should not be tied to a UI component. and the Ui component should has its own state. (is just my approximation)
I archive this in this way: ( Warning: this is pseudo code can contains  many errors)
    // Create global variable that you will use  ref the db models
    GLOBAL_VARIABLE = {};

    // load your model here, you can define all your model structure like  you do when use db- schemes
    // and use observ-struct (prefer this), or be more be scheme less and use observ-varhash
    // and a reference to the db model in the global variable

    GLOBAL_VARIABLE.model = mercury.varhash({});

    // load the ui classes tree
    var ui = new UI()

    // Create the app state
    var appState = mercury.struct("model": GLOBAL_VARIABLE.model, "ui": ui.state);

    mercury.app(document.body, appState, ui.render);

    // is important that you UI.render has the state as argument,  you just can ignore it after, because you
    // are using the component state for render

    class UI{
         constructor():{
                state = {}
                //load your component 1
                this.c1 = Component1();
                state["c1"] = c1.state
                // load your component n
                this.cn = Component_n();
                state["cn"] = cn.state

               //the magic occurs here
              this.sate = mercury.struct(state);
         }
        render(state):{
           //just ignore the state
            return mercury.h("div", {}, this.c1, ...., this.cn);
         }
    }

For this has effect the child state should be Observ-values, Obsev-Arrays, Observ-Struct, or Observ-Varhash, or some similar object.

you can access to you db model from the component using the global variable.

also I will recommend you use EventEmmiter or EventEmmiter2 or any similar thing for communication between components ( to  communicate events-things-stuff like Modal.onClose), just avoid modify  state outside of its  component.

Sorry for my broken English I hope that this example can help you.

Thank you, @eightyeight and @criloz, for the helpful explanations. I can see there is room for changing designs to suit the application but the examples seem to do it one particular way that ensures a functional perspective. I see this separation enforced in many Elm designs, as well.


SameSite not set on cookies

Amplitude doesn't appear to be setting SameSite on cookies, so Chrome 80 appears to cause problems:
https://www.chromestatus.com/feature/5088147346030592

Thank you for letting us know. Do you get any errors on this?

Yes, the following:
A cookie associated with a cross-site resource at http://<URL>/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

@daveisfera, The SDK now explicitly sets the SameSite flag to None by default. This can also be overridden to something like Lax or None if you prefer. We set it to Lax for our own application.


Correct note shortcode for run-replicated-stateful-application.md

Correct shortcode {{< note >}}.

/assign @kbhawkey

/lgtm
/approve


Http1 test refactor

Use protocol.http1.Connection replaced original send plain text socket for testing on layer.test_http1
And add missing unit test case

Coverage increased (+0.4%) to 71.51% when pulling 635d813b3a16ce49d712a2fd3770a8ef99d5a99a on http1-test-refactor into f7f20fe8e6cc2b8b310f7e42a4337e8120df2958 on master.

LGTM, ready to merged?

Yes!


Svelte Guide

The project is compatible with Svelte and is even used in official SvelteKit create-svelte examples, but it would be best for us to to write some formal documentation for it on the Fontsource website to make usage more well known and compatible.
I've never used Svelte and thus I'm not confident writing anything about it. It would be great if someone would help write some documentation for it and I'll do my best to assist if needed.
To add new docs, you just need to create a new Markdown file in website/docs/guides.

I was able to get Fontsource fonts loading via the provided Sass mixins with SvelteKit by customizing fontDir (or woff2Path in the case of Material Icons) like:
@use '@fontsource/jost/scss/mixins' as Jost;
@include Jost.fontFace($fontDir: '/node_modules/@fontsource/jost/files');

Here are the SvelteKit instructions, which do not mention this as a setup option:
https://fontsource.org/docs/guides/sveltejs
It would be ideal to update with instructions for using the Sass mixins with SvelteKit, and ensure it works with Playwright as Playwright is a create-svelte setup option and, therefore, will be used by many projects.

I was able to get Fontsource fonts loading via the provided Sass mixins with SvelteKit by customizing fontDir (or woff2Path in the case of Material Icons) like:
@use '@fontsource/jost/scss/mixins' as Jost;
@include Jost.fontFace($fontDir: '/node_modules/@fontsource/jost/files');

Here are the SvelteKit instructions, which do not mention this as a setup option:
https://fontsource.org/docs/guides/sveltejs
It would be ideal to update with instructions for using the Sass mixins with SvelteKit, and ensure it works with Playwright as Playwright is a create-svelte setup option and, therefore, will be used by many projects.

Closed in #575 a while ago. 👀


GUI Slot Issue

Not sure if the my machine type may help identifying the issue but, running on Mac M2 - Fabric Loader.
Slot for Catalyst seem to bugged out. I supposed it a visual glitch as I am playing in survival, haven't found a catalyst for testing.

Hey, thanks for helping to find bugs! Could you let me know the Minecraft version, TWISB enchanting mod version and which other mods you have installed?

Hey there sorry I couldn't give a quick reply.
Minecraft: 1.21
Fabric: 0.16.0
TWIS Enchant: I am using this version https://modrinth.com/mod/twisb-enchanting/version/0.2.1
As for my mod lists

BetterF3-11.0.1-Fabric-1.21.jar
BetterPvP_24.2.1_Fabric_1.21.jar
BetterThanMending-fabric-2.1.0.jar
Clumps-fabric-1.21-<IP_ADDRESS>.jar
EasyAnvils-v21.0.2-1.21-Fabric.jar
EasyMagic-v21.0.1-1.21-Fabric.jar
FallingTree-1.21-<IP_ADDRESS>.jar
ForgeConfigAPIPort-v21.0.6-1.21-Fabric.jar
ForgeConfigAPIPort-v21.0.6-1.21-Forge.jar
InventoryProfilesNext-fabric-1.21-2.0.2.jar
MouseTweaks-fabric-mc1.21-2.26.jar
PuzzlesLib-v21.0.18-1.21-Fabric.jar
ShoulderSurfing-Fabric-1.21-4.2.1.jar
YetAnotherConfigLib-3.5.0+1.21-fabric.jar
Zoomify-2.14.0+1.21.jar
architectury-13.0.6-fabric.jar
balm-fabric-1.21-21.0.14.jar
cardinal-components-api-6.1.1.jar
cicada-lib-0.8.3+1.21-and-above.jar
cloth-config-15.0.128-fabric.jar
cookingforblockheads-fabric-1.21-21.0.4.jar
customizableelytra-fabric-2.2.5+1.21.jar
dynamic-fps-3.6.1+minecraft-1.21.0-fabric.jar
enhancedblockentities-0.10.1+1.21.jar
entity_model_features_fabric_1.21-2.1.3.jar
entity_texture_features_fabric_1.21-6.1.3.jar
fabric-api-0.100.7+1.21.jar
fabric-language-kotlin-1.11.0+kotlin.2.0.0.jar
iris-1.7.3+mc1.21.jar
jamlib-fabric-1.0.9+1.21.jar
jei-1.21-fabric-<IP_ADDRESS>.jar
libIPN-fabric-1.21-6.0.1.jar
libjf-3.16.0.jar
lithium-fabric-mc1.21-0.12.7.jar
modmenu-11.0.1.jar
respackopts-4.10.0.jar
rightclickharvest-fabric-4.3.1+1.21.jar
show-me-your-skin-1.11.2+1.21.jar
shulkerboxtooltip-fabric-5.0.4+1.21.jar
skinlayers3d-fabric-1.6.6-mc1.21.jar
sodium-fabric-0.5.11+mc1.21.jar
trinkets-3.10.0.jar
twisb-enchanting-1.0.0.jar
veinmining-fabric-5.0.0-beta+1.21.jar


Fixed ObjectFactories and added deserialization test.

As discussed in this SO post.
I get the following XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<repository id="test-repository" policy="mixed" implementation="file-system" layout="Maven 2" type="hosted" secured="false" status="In Service" trash-enabled="false" indexing-enabled="false" allows-force-deletion="false" allows-deployment="true" allows-redeployment="false" allows-delete="true" allows-directory-browsing="true" checksum-headers-enabled="false">
    <aws-configuration bucket="test-bucket" key="test-key"/>
    <google-cloud-configuration bucket="test-bucket" key="test-key"/>
    <group/>
</repository>

It also cleanly unmarshals.

@cs-devops-bot add to whitelist @cs-devops-bot build

Hi Alexey!
Thanks for taking a look at it and giving it a go!
I'm afraid this still doesn't quite work. I had already gotten it to that stage. The problem is that the test you tried is the simpler one, which just serializes a Repository into <repository .../>. This indeed works fine until it has to enter the bigger picture -- when Repository is used in the real-life scenario. Things should look something like this:
<configuration>
    <storages>
        <storage id="storage0">
            <repositories>
                <repository id="test-repository" ...>
                    <aws-configuration bucket="test-bucket" key="test-key"/>
                    <google-cloud-configuration bucket="test-bucket" key="test-key"/>
                    <group/>
                </repository>
            </repositories>
        </storage>
    </storages>
</configuration>

What it is currently printing instead is this:
<configuration>
    <storages>
        <storage id="storage0">
            <repositories>
                <repository id="test-repository" ...>
                    <custom-configuration/>
                    <custom-configuration/>
                    <group/>
                </repository>
            </repositories>
        </storage>
    </storages>
</configuration>

So, it's printing out two empty <custom-configuration/>-s.
Any ideas how this can be fixed?
Once again, many thanks for your time and help!

You should be a little bit more specific about "real-life scenario". Do you want to marshal/unmarshal without specifying custom configuration classes at all? Because this is what I see here:
https://github.com/highsource/strongbox/blob/SB-710/strongbox-storage/strongbox-storage-api/src/test/java/org/carlspring/strongbox/storage/repository/RepositoryTest.java#L73

Good catch! Seems like I've forgotten to pass CustomConfigation.class as a parameter to the GenericParser's constructor.

@highsource ,
I tried it like this:
GenericParser<Configuration> parser = new GenericParser<>(Configuration.class, CustomConfiguration.class);

But this doesn't seem to have any effect. Do you see anything else that could be wrong?

Your JAXBContext should know all your custom configuration classes.

But the thing is -- in the test case, they're there for the purpose of testing. However, in the "real-life" scenario, these will be coming via "plugin" jars, so we won't know their names in advance in order to list them. So... is there a way to do this sorcery somehow?

This is why I wrote you should describe what you mean by "real-life". Really, how could I have guessed about "plugin" jars?
The point is, JAXB needs to know this classes otherwise it won't unmarshal/marshal them. You have to feed these classes or packages to the JAXBContext, period. So you'll have to implement some kind of autodiscovery solution. One of the possible solutions to have some META-INF/com.acme.foo.CustomConfiguration resource in each plugin, listing custom configuration classes. Then you could gather all these META-INF/com.acme.foo.CustomConfiguration resources from all JARs (trivial via ClassLoader.getResources(...), load and register classes from there.
There are surely mor options for the autodiscovery, but in any case you will need the classes or names of packages containing ObjectFactory classes.

@highsource,
Many thanks for your advice and help! I have now implemented this according to your suggestion using a service loader and gotten it to work in #183.
I will close this pull request.
Thanks again and all the best!
Martin


[Teams] Port action based messaging extension scenario

closing this ticket to open new ones that are better scoped.


pkg/k8s: use subresource "nodes/status" to update node annotations

We can use the "status" subresource to update node annotations which
also allow us to reduce the clusterrole's permissions of the cilium
DaemonSet even further.
Signed-off-by: André Martins<EMAIL_ADDRESS>

/test

/test

/(test-1.22-4.19

/test-1.22-4.19

:heavy_check_mark: LGTM


[1.20.1] Can't Harvest Crops

When harvesting any of the crops (even after fully grown with bone meal), I can break them but they don't drop anything!

Place farmland next to water
Place garlic, ginger, lemongrass, or ube on the farmland
Bone meal
Harvest

It's supposed to drop the crop, right?
Windows 11
fabric-0.2.0-beta-1
Fabric 0.15.11

Thank you for opening the bug! They are indeed supposed to drop the crop, looks like the loot table generator doesn't want to generate those anymore. I'll add them in manually and release a 0.2.0-beta-2 shortly to fix them. Apologies for the bug, appreciate your time!

V0.2.0-beta-2 has been released. Thanks again!
Fabric Versions - Modrinth | CurseForge.


Add GitHub workflow for E2EV2

Description
Adds E2EV2 to validating GitHub workflows
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Tested on my fork.
https://github.com/OliverMKing/aks-app-routing-operator/actions/runs/6237297390
You can see the new stuff (E2EV2) working here. e2e (the old one) is failing because I didn't set up full Azure OAuth permissions on my fork. It should work in this repo.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1964

Relevant Lines:
2208

💛  - Coveralls

/ok-to-test sha=b86e5ad


less dangerous. better text for vespa-set-node-state

Curious:
C02VL04PHTDH-lm:vespa kraune$ git grep "Node type to query"
vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm:                'Node type to query. This can either be 'storage' or '
vespaclient/src/perl/test/Yahoo/Vespa/Bin/SetNodeStateTest.pl: -t --type                : Node type to query. This can either be 'storage' or
vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp:                  "Node type to query. This can either be 'storage' or "
what is stateapp.cpp - something we could remove? looks redundant ... tested this in my docker image, it is the perl script which is called:
[root@vespa-container app]# which vespa-set-node-state
/opt/vespa/bin/vespa-set-node-state
[root@vespa-container app]# tail -1  /opt/vespa/bin/vespa-set-node-state
exec $VESPA_HOME/libexec/vespa/SetNodeState.pl "$@"

It's the old non-REST client for state changes. It can probably be removed, assuming we don't have any hidden users of this functionality.


View bug correction with good base

BugCorrection #292
Two bugs are fix:
Some view interaction glitches: for example drop the 4d image of the heart, then the heart mesh. If you interact with the view, it will change the window level of the first layer (image) even though the mesh is selected on the right. In addition if that view is linked to others (eg do a 4 view split after dropping the two data), then this window leveling is not synchronized with the others
Drop the 4d heart image, switch to 3d mode, click on play in the navigator -> the image doesn't move. It does work in 2d but not 3d anymore...
Correction consists of:
-replace SetInputData by SetInputConnection;
-Create an individual windowLevel filter for x,y,z actors.

Perfect, working -> merge on the way


Container image release version discrepancies

Component
other
Describe the bug
While the latest release here is tagged with v1.0.0-rc1
On Docker Hub there is already a v1.0 which I would interpret as final stable 1.0 release
see -> https://hub.docker.com/r/woodpeckerci/woodpecker-server/tags?page=1&name=1.0
In addition the Website also makes someone believe that 1.0.0 is already released, as there is no mention of the rc1 status.
To not confuse users, a stable image tag and the updated website/documentation should only be available after the release is out of the door.
System Info
N/A

Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

about v1.0 I created a pull to clarify it -> #2043
as for making v0.15 marked as unsupported. that was done at  #2034 as the rc1 did not had any bug regressions that people did complained about. And we dont want new users to look at the docs and still use v0.15 - the code has matured in so many ways since then.
the real v1.0.0 will come soon as we fix the last incoming complains e.g.  #2038


[FEAT]: Add ability to retrieve documents from paperless-ngx

What would you like to see?
I use paperless-ngx ( https://docs.paperless-ngx.com/ ) as a local document store and classification system.  It helps me to add metadata and groupings for things like correspondent, document type, tags, etc.
I think it would be useful to be able to have anything-llm have the ability to find and pull documents from paperless-ngx based on things like title, date(s), tags, type, and so on, as context for queries.

This would be 1000% awesome! Paperless already handles all the OCR and has the text of the PDF's already available along with aging and filenames.  :-)


startTime.preciseDiff is not a function

Issue started in https://github.com/decaffeinate/bulk-decaffeinate/commit/1a26aa73166ae9997be31f4d6a95ea203c303acd
➜  dredd git:(master) bulk-decaffeinate check
Doing a dry run of decaffeinate on 97 files... (8 workers)
97/97
TypeError: startTime.preciseDiff is not a function
    at runWithProgressBar$ (/Users/xo/.config/yarn/global/node_modules/bulk-decaffeinate/dist/bulk-decaffeinate.js:1543:51)
    at tryCatch (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:117:21)
    at tryCatch (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:65:40)
    at invoke (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:155:20)
    at /Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:165:13
    at <anonymous>

Thanks for reporting. Unfortunately, it seems to be working for me. From the stack trace, looks like you have bulk-decaffeinate globally installed via yarn on macOS, which is the configuration I used as well.
From the commit you linked, import 'moment-precise-range-plugin'; is supposed to have a side-effect of attaching preciseDiff to the moment object prototype, but it looks like somehow that's not happening here. It looks like that plugin has a direct dependency on the moment package, meaning that depending on how yarn is feeling it's possible that it would get its own copy of moment rather than modifying bulk-decaffeinate's copy. Probably the plugin should have used a peer dependency instead.
Maybe try reinstalling bulk-decaffeinate? (yarn global remove bulk-decaffeinate and then yarn global add bulk-decaffeinate). Or maybe try installing it within your project (not globally) or using npm or some other configuration like that?
Another thing you can do is check if moment-precise-range-plugin is properly installed and has no explicit dependencies. For me, /Users/alanpierce/.config/yarn/global/node_modules/moment-precise-range-plugin does not have any node_modules subdirectory, meaning it'll use the shared moment instance.
Other questions that might help if that doesn't work:

What node and yarn version are you using?
Did you have bulk-decaffeinate installed before the October 28 diff that you linked?

I'm using node v8.9.1 and yarn 1.3.2.
I installed bulk-decaffeinate as well as decaffeinate about 10 hours ago. I haven't used either of them before.
➜  dredd git:(master) yarn global remove bulk-decaffeinate
yarn global v1.3.2
[1/2] Removing module bulk-decaffeinate...
[2/2] Regenerating lockfile and installing missing dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>success Uninstalled packages.
✨  Done in 276.18s.
➜  dredd git:(master) yarn global add bulk-decaffeinate
yarn global v1.3.2
[1/4] 🔍  Resolving packages...
warning bulk-decaffeinate ><EMAIL_ADDRESS>Use mz or fs-extra^3.0 with Promise Support
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] 📃  Building fresh packages...
success Installed<EMAIL_ADDRESS>with binaries:
      - bulk-decaffeinate
✨  Done in 33.12s.

➜  dredd git:(master) bulk-decaffeinate check
Doing a dry run of decaffeinate on 97 files... (8 workers)
97/97
TypeError: startTime.preciseDiff is not a function
    at runWithProgressBar$ (/Users/xo/.config/yarn/global/node_modules/bulk-decaffeinate/dist/bulk-decaffeinate.js:1543:51)
    at tryCatch (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:117:21)
    at tryCatch (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:65:40)
    at invoke (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:155:20)
    at /Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:165:13
    at <anonymous>

➜  dredd git:(master) ls ~/.config/yarn/global/node_modules/moment-precise-range-plugin
LICENSE.md              README.md               moment-precise-range.js node_modules            package.json
➜  dredd git:(master) ls ~/.config/yarn/global/node_modules/moment-precise-range-plugin/node_modules
moment

Removing the moment dir from node_modules doesn't seem to make a difference.
➜  dredd git:(master) mv ~/.config/yarn/global/node_modules/moment-precise-range-plugin/node_modules/moment ~/.config/yarn/global/node_modules/moment-precise-range-plugin/node_modules/moment_old
➜  dredd git:(master) bulk-decaffeinate check
Doing a dry run of decaffeinate on 97 files... (8 workers)
97/97
TypeError: startTime.preciseDiff is not a function
    at runWithProgressBar$ (/Users/xo/.config/yarn/global/node_modules/bulk-decaffeinate/dist/bulk-decaffeinate.js:1543:51)
    at tryCatch (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:117:21)
    at tryCatch (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:65:40)
    at invoke (/Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:155:20)
    at /Users/xo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:165:13
    at <anonymous>

Thanks for the info. The existence of the separate moment installation definitely suggests the plugin is modifying the wrong moment instance. Unfortunately, I still can't repro, that's annoying. 😕
My current guess: some existing globally-installed package had already installed some version of moment, maybe moment 1.x. Yarn needed to install bulk-decaffeinate and moment-precise-range-plugin and both of those have version ranges specifying moment 2.x, so yarn decided to do a separate moment installation for each, so that's 3 moment installations total. When you renamed the node_modules package, the plugin switched from modifying its own moment and instead modified the top-level moment, but it still wasn't modifying bulk-decaffeinate's moment.
I sent a PR to change the dependency to a peer dependency https://github.com/codebox/moment-precise-range/pull/32 , but I'm still a little unsure if that would fix this case.
Given the fragility of moment-precise-range-plugin, I think I'll just release a change to drop that dependency and copy the relevant source code to my project, at least for now. I think I should be able to get that released in the next few hours.

Ok, I just released bulk-decaffeinate 3.3.1, which hopefully should fix the issue.


Loss function and Optimizer

What kind of loss function and what kind of optimizer are you using for this? I couldn't find them in the code. According to the paper, it is cross entropy and adam resp.

That's correct, cross entropy and adam.

I didn't see any lines in the code referring to the loss function or optimizer. May I know where in the code you're using those? Thanks.

Hm, there's no lines for those in this repo. Adding them in Keras is trivial.


electrum: fix check without qt

Description of changes
Resolves the following build error:
nix-build --expr '(import <nixpkgs> {}).electrum.override { enableQt = false; }'

electrum> ============================= test session starts ==============================
electrum> platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
electrum> rootdir: /build/Electrum-4.5.4
electrum> collected 679 items / 1 error
electrum> ==================================== ERRORS ====================================
electrum> ___________________ ERROR collecting tests/test_qml_types.py ___________________
electrum> ImportError while importing test module '/build/Electrum-4.5.4/tests/test_qml_types.py'.
electrum> Hint: make sure your test modules/packages have valid Python names.
electrum> Traceback:
electrum> electrum/gui/qml/__init__.py:8: in <module>
electrum>     import PyQt6
electrum> E   ModuleNotFoundError: No module named 'PyQt6'
electrum> The above exception was the direct cause of the following exception:
electrum> /nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/importlib/__init__.py:126: in import_module
electrum>     return _bootstrap._gcd_import(name[level:], package, level)
electrum> tests/test_qml_types.py:5: in <module>
electrum>     from electrum.gui.qml.qetypes import QEAmount
electrum> electrum/gui/qml/__init__.py:11: in <module>
electrum>     raise GuiImportError(
electrum> E   electrum.GuiImportError: Error: Could not import PyQt6. On Linux systems, you may try 'sudo apt-get install python3-pyqt6'
electrum> =========================== short test summary info ============================
electrum> ERROR tests/test_qml_types.py
electrum> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
electrum> =============================== 1 error in 1.06s ===============================

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Resolves the following build error:

Could it be because of this:
checkInputs = with python.pkgs; lib.optionals enableQt [
    pyqt6
];

This should be nativeCheckInputs.

Could it be because of this:
This should be nativeCheckInputs.

Well not really, afaik the build does work normally and the package isn't broken when enableQt = true. It's only when building without qt in any build inputs that the test needs to be removed/disabled (you could unconditionally add it to the check inputs but that would kind of defeat most of the purpose of disabling qt and building without it).
As an aside, sure, perhaps it should be moved and the derivation could use strictDeps = true; to enforce it, but that's not what I'm trying to address in this PR.

@arcnmx checkInputs were renamed to nativeCheckInputs a long time ago.

Well not really, afaik the build does work normally and the package isn't broken when enableQt = true. It's only when building without qt in any build inputs that the test needs to be removed/disabled (you could unconditionally add it to the check inputs but that would kind of defeat most of the purpose of disabling qt and building without it).

Right I misunderstood the purpose of this PR. In anycase, for sure checkInputs was renamed to nativeCheckInputs a long time ago and the checkInputs attribute should be removed from this expression which could benefit from nixfmt as well...
Why would you object adding it unconditionally to the nativeBuildInputs? Makes more sense to me.


Error connecting to environment Trade work

I just change all "trade" ”Exporter“ to some other names. Then I cant build the environment successful. And I got this: Error connecting to environment test: Error querying channels: Could not get all channel names, received: Failed to connect before the deadline on Endorser- name: peer0.thuorg.review.com, url:grpcs://localhost:8051, connected:false, connectAttempted:true.
I'm sure I didnt use sample node.  And I cant finger out what happended a week. Can you give me a hint what should I do.

If you have the book, please follow the step-by-step instructions provided in the relevant chapters. If you change names of nodes and organizations, you'll need to edit several files (configtx.yaml, crypto-config.yaml, and several of the docker-compose YAML files). You'll also need to edit the trade.sh script, as it has names hardcoded (like importerorg.trade.com). Also, for connectivity, you may need to edit your system hosts file (on a Linux machine, this is /etc/hosts) and map your network's node names to <IP_ADDRESS>.
Besides this, I can't give you any more advice at present. If you have a specific failure you'd like to seek an opinion on, please provide details: command(s) you attempted to run, the contents of the scripts and configuration files you made changes to, your environment. (Note that I can get to this only on a best effort basis as I work full-time. But I'll try whenever possible, and perhaps other users may also volunteer advice.)

Closing for lack of activity.


Protobuf converting a class inheriting up model classes

Describe the bug
KeyError when using the protobuf converter when defining a class derived from InstantaneousAction.
Example:
File "<..>\unified_planning\grpc\converter.py", line 36, in convert
    f = self.functions[type(element)]
        ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: <class 'up_types.actions.sequential.drive_harv_to_field_and_init.ActionDriveHarvToFieldAndInit'>

In this case ActionDriveHarvToFieldAndInit inherits from  InstantaneousAction.
To Reproduce
Steps to reproduce the behavior:

Create a class that inherits from  InstantaneousAction
Use the ProtobufWriter convert, to convert the up problem.

Expected behavior
The problem is correctly converted to the protobuf representation.
I've localized the problem in the converter.py file, a simple modification like the following will convert the problem using the base class:
def convert(self, element, *args):

        if type(element) not in self.functions.keys():
            f = self.functions[type(element).__bases__[0]]
        else:
            f = self.functions[type(element)]
        return f(element, *args)

Thank you for the very clear report. I am not sure I agree with the expected behavior though. In general, the converter can not exactly converter your specialized class. By definition your specialized class will have something more than InstantaneousAction that the converter will not know how to encode (in fact it wont even be aware of its existence).
There are some use case were it could make sense, e.g. if the class just add methods for syntactic sugar. But I am not sure its worth introducing surprising/inconsistent behaviors for them.
What is your use case exactly?

Fair point. I'm converting the model for the agricultural use case, and yes the instance here is about adding methods to a class to be used elsewhere.

Having thought a bit more about this, I think it would be reasonable to support this use case. While I still agree with my former self, I also think it makes sense to align the planning-through-protobuf part of UP with the planning-through-python part. And indeed using subclasses of InstantaneousAction or others is transparent there.
I won't have time to do it soon, but if a PR was to be submitted I would be happy to review it =)
Beyond what is in the original message, I think it simply needs

to be a bit more general (indirect inheritance, ...)
to have a test case for it
to be careful about error message (the class of the original object should appear in the error message, not the one of an ancestor class)


cargo-show-asm: 0.2.22 -> 0.2.23

Diff: https://diff.rs/cargo-show-asm/0.2.22/0.2.23
Changelog: https://github.com/pacak/cargo-show-asm/blob/0.2.23/Changelog.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

1 package built:

cargo-show-asm


Pass the vxlan port in network endian order

Signed-off-by: Santhosh Ram Manohar<EMAIL_ADDRESS>

Good catch. LGTM.

I see a clear bug in NativeEndian() function in the vendored netlink code: nativeEndian is always set to  binary.LittleEndian no matter what.
Then I checked the latest netlink code in github and I see that the issue was fixed.
This is the commit which fixed it.
Can we try pulling the latest netlink in libnetwork instead ?

BTW, I doubt you are running on a bigendian machine, so issue should still be there with latest netlink.

@aboch good catch on the netlink dependancy issue. It is now resolved via https://github.com/docker/libnetwork/pull/448. I think this PR works now across platform.

LGTM

Would have better if the kernel code does the translation to network order. Its done for the vni for example. The problem with the port will affect other user space tools as well.  iproute2 package code changes the port to the network order, similar to this change.


Badge status N/A

⚠ Please verify that this question has NOT been raised before.

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

🛡 Security Policy

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

📝 Describe your problem
Everything is working with the previous monitors, but now the badges for the new ones all show as N/A instead of UP, DOWN, etc.
Anyone can help me?

📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
Ubuntu 20
🌐 Browser
Google Chrome
🖥 Deployment Environment

Runtime: nodejs
Database: sqlite
Filesystem used to store the database on: VM
number of monitors: 543

Im checking the logs and i have:

Did you click "safe" on the status page after adding the monitor to it? Without that, you will likely see N/A

@CommanderStorm :) you right.
The monitor need to be in a Status page or the status will be N/A.


Workaround for dynamic Var holding a SecureRandom instance

Hi there,
First of all many thanks for this repo - it contains some super valuable information! I just wanted to say that I was recently trying to create a native-image for cryptohash-clj, and it turns out that the problem was statically initialised instances of SecureRandom. You see, the library has a dynamic Var initialised with an instance of SecureRandom, and no matter what I did, I wasn't able to generate a working image (I tried literally everything). I wrapped that instance in a delay (see here), and now the native-image is working as expected.
I just thought you (or someone else) might find that information useful.
Kind regards

Hi @jimpil ,
thanks for the tip, for the Sercure initialization you should check the following links:

JCA Security Services on Substrate VM
Assisted Configuration of Native Image Builds

anyway, I think that your one is a neat trick, would you be able to make a hello-world project with your example and push it here as a PR?
More people could benefit from an example in a project.

Hi @BrunoBonacci ,
Yeah, I did try re-initializing at runtime, --enable-all-security-services, and various other things, but nothing worked. I think the problem here is a combination of the dynamic Var (which can't be direct-linked) and the pre-initialised SecureRandom instance.
I'll try to put together a tiny project to demonstrate by the end of the week. :+1:
Kind regards

example merged, thx


KaTex failed to load Chemical equation

I tried the below latex snippet, which is a some chemical equation. Katex failed to render the below.
S{O}_{4}+\downarrow 2H\overset{{H}_{2}S{O}_{4}+2{S}_{4}}\rightarrow{H}_{2}+S{O}_{4}\uparrow \xrightarrow[{\Delta }]{{H}_{2}}HCl+H2\phantom{\rule{0ex}{0ex}}
I created this equation from the below online tool.
http://www.imatheq.com/imatheq/com/imatheq/math-equation-editor-latex-mathml.html
Added the image with the equation for the reference.

KaTeX does not support some of the functions that the formula uses, c.f. the wiki.
However, there is a workaround for overset and you could try to emulate the xrightarrow manually using dashes and negative spacing, like -\mkern{-0.38em}-\mkern{-0.38em}\rightarrow ...

https://github.com/Khan/KaTeX/pull/605 has been merged so there is now support for overset on master.

+1

LaTeX and KaTeX both render the given equation as:

In order to have a stretchy arrow between the two sides of the equations use:
S{O}_{4}+\downarrow 2H\xrightarrow{{H}_{2}S{O}_{4}+2{S}_{4}}{H}_{2}+S{O}_{4}
\uparrow \xrightarrow[{\Delta }]{{H}_{2}}HCl+H2\phantom{\rule{0ex}{0ex}}

This produces the following output in LaTeX and KaTeX:

I believe that imatheq.com's LaTeX output is incorrect in using:
\overset{{H}_{2}S{O}_{4}+2{S}_{4}}\rightarrow

and should instead be
\xrightarrow{{H}_{2}S{O}_{4}+2{S}_{4}}


can't download, whether zip or git download

Please consider making a Pull Request if you are capable of doing so.
Library Version:
2.x.x
Affected Device(s):
Google Pixel 3 XL with Android 9.0
Describe the Bug:
A clear description of what is the bug is.
To Reproduce:
1.
2.
3.
Expected Behavior:
A clear description of what you expected to happen.

You're trying to download the repository code and can't? That's not something that I can fix.


broken basic ci testing

our tests are broken so this will fail
someone with admin permissions must add each of the variables of .env.example to settings > secrets > add new repository secret
these github hosted runners, until we host our own runners.
we can stop commenting out the majority of tests and let this automation exhaust all tests.

Added task to add github repo secrets from envfile.

to programatically set the secrets used in workflow. suppose to make it easier when you or wampa need to set/update them
...
    env:
      PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
      WALLET_ADDR: ${{ secrets.WALLET_ADDR }}
      SNOWTRACE_KEY: ${{ secrets.SNOWTRACE_KEY }}
...


updating Invoke-DbaDbUpgrade for #5047

Type of Change

[x] Bug fix (non-breaking change, fixes #5047)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
fixes #5047
Approach
Checking if each object is in the array instead of containing the array. Found the issue also applied to the ExcludeDatabase option, fixed here as well.
Commands to test

Screenshots

Learning

excellent, thank you. works 💯


Error: failed to get info about account

INFO Upload complete! Now you can update the index with 'candy-machine-cli.ts upload' using the full assets directory (see documentation) arweave all look right
and i found this when i start the next steps
ts-node src/candy-machine-cli.ts upload metafak -k /home/bom/.config/solana/metafak.json --env mainnet-beta
Beginning the upload for 3636 (png+json) pairs
started at:<PHONE_NUMBER>041
wallet public key: 9BNJRejrb1Rsd1We5nJsCTsA1htdb8StFNLhD8nUt21Z
(node:375) UnhandledPromiseRejectionWarning: Error: failed to get info about account 63N3bBDCVVzdCaofQAnY5s4kcZodw1evomptDgNQ4feK: FetchError: request to https://api.mainnet-beta.solana.com/ failed, reason: connect ECONNREFUSED <IP_ADDRESS>:443
   at Connection.getAccountInfo (/home/bom/metaplex/js/node_modules/@solana/web3.js/src/connection.ts:2404:13)
   at processTicksAndRejections (internal/process/task_queues.js:95:5)
   at async Function.fetchIdl (/home/bom/metaplex/js/node_modules/@project-serum/anchor/src/program/index.ts:309:25)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:375) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:375) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This is a candy machine error, can't do much about it, except retrying
Il ven 19 nov 2021, 06:54 weck25 @.***> ha scritto:

INFO Upload complete! Now you can update the index with
'candy-machine-cli.ts upload' using the full assets directory (see
documentation) arweave all look right
and i found this when i start the next steps
ts-node src/candy-machine-cli.ts upload metafak -k /home/bom/.config/solana/metafak.json --env mainnet-beta
Beginning the upload for 3636 (png+json) pairs
started at:<PHONE_NUMBER>041
wallet public key: 9BNJRejrb1Rsd1We5nJsCTsA1htdb8StFNLhD8nUt21Z
(node:375) UnhandledPromiseRejectionWarning: Error: failed to get info about account 63N3bBDCVVzdCaofQAnY5s4kcZodw1evomptDgNQ4feK: FetchError: request to https://api.mainnet-beta.solana.com/ failed, reason: connect ECONNREFUSED <IP_ADDRESS>:443
at Connection.getAccountInfo @./web3.js/src/connection.ts:2404:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Function.fetchIdl @./anchor/src/program/index.ts:309:25)
(Use node --trace-warnings ... to show where the warning was created)
(node:375) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:375) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/0xEnrico/arweave-nft-uploader/issues/8, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AWB7QNDGOXPM5UF5UMGNEQLUMXRA7ANCNFSM5ILLAKSA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I've tried it many times but the only thing that comes out is an error

I've tried it many times but the only thing that comes out is an error

some news? i have this error too(((


Some cmake tunes.

@yangyanli thanks for these changes, they were used as a base to significantly improve the CMake python support in #382. Closing this as incorporated


Sort item events by year (from 1266)

Problem description: It is unclear how the list of Exhibitions is sorted on an object record.  Also, the events are showing duplicate event names, so need a way to distinguish.
Expected behaviors:

Sort events by year (middle tier)
Display Event title only

Needed

[x] Sort ascending or descending? - Decision:  chronological ascending
[x] Should event show month/year and location?  YES
[x] Decision about what the event list should show (date? location)
[x] wireframe/mockup to show final decision

Dependency

[ ] New HAL link ticket -  Update itemEvents HAL Link To Sort Events (from 105) #8
Old ticket - 105

Links

Bugherd: https://www.bugherd.com/projects/284041/tasks/1020
https://lux.collections.yale.edu/view/object/9d51c432-68dd-4d58-b393-32dba4dcb245

@prowns @jffcamp This is set to this weeks deployment, Is it ready to be reviewed? It also says blocked but I checked the dependency and old 105/new 8  is closed.

Propose close - looks implemented using examples from 1266. Exhibitions sorting in order:  https://lux-front-sbx.collections.yale.edu/view/object/9d51c432-68dd-4d58-b393-32dba4dcb245


(PDB-3745) Increase autovacuum vacuum threshold

Prior to this commit, the factsets, catalogs, and certnames tables
were autovacuumed far too frequently.
This commit changes the percentage change threshold before the table
is considered for autovacuuming.

Not sure how to add tests that would make sure that future migrations don't accidentally remove these autovacuum settings.  But it'd probably use a query like this to confirm the settings are there.
https://github.com/npwalker/pe_databases/blob/master/manifests/set_table_attribute.pp#L10

Build finished.
Test FAILed

Test FAILed

CLA signed by all contributors.

@mullr it looks like all PRs are failing tests... is that an underlying issue with tests?  or is there actually something wrong with my PR?

Build finished.
Test PASSed

Test PASSed

Build finished.
Test PASSed

Test PASSed

@npwalker iirc @wkalt had some misgivings on this; can we summarize those here?

I believe Wyatt's objection can be summed up as "the PostgreSQL docs say that generally speaking you want to vacuum more often not less often, how do we know that reducing the scale factor won't make things worse?"
Based on observations and making these changes at customers, I feel confident that reducing the scale factor causes a reduction in CPU use, reduces your chances of maxing out your autovacuum_workers, and does not cause too many dead tuples to pile up.

Test PASSed

@mullr yes, @npwalker has summarized my issues. For reference I was talking about the postgres scaling guide here: https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server .
I think we need to replicate the underlying autovacuum issue in-house (in a way that allows us to adjust the dimensions too), and see that the fix works in that environment. None of that is dismissive of the fix, to be clear, it's just the only way we can be confident.

@wkalt How is progress going on replicating this? I've just been at an installation with horrific vacuum issues so if you need some advice on how to replicate I think I can be of help. The settings @npwalker has suggested are the default in the pe_databases module which has over 12,000 downloads, combining that with the fact that @npwalker is arguably the most experienced person on this subject of anyone in the world, I think this is ready for merge (assuming the testing hasn't shown anything to the contrary).

@rbrw, have any of the current team looked into this?  especially interesting given @dylanratcliffe 's recent email.  thoughts?

@er0ck no, we haven't yet, but generally speaking, I agree with @wkalt's position, i.e. that ideally we'd like to have the time/resources to reproduce the problem in-house first.  I don't think we're quite ready for that yet, but was hoping to pursue this after we finish some of the current priorities.

@rbrw I think we should weigh the pros and cons of making this change without an in-house reproduction.  I know I saw these same issues when I did scale testing on PE 2015.3 and I've seen them at numerous customers.
In CS we recommend use of the pe_databases module which implements these same changes so even if these changes we going to cause harm somehow we are already causing that harm at our largest most performance sensitive customers.
I definitely think we should investigate this further in-house but I don't see why not having an in-house reproduction should preclude inclusion in the product.  It's unclear to me what negative affect we're trying to avoid by waiting on this change.

@rbrw I'm with @npwalker on this. While imperative testing data is much better than trust/anecdotal evidence (and maybe once we have a proper setup internally we'll be able to improve these values further) the risk/reward ratio for this change should certainly sufficient to get it merged, even if it is a stopgap solution in lieu of better testing.

To clarify - I'm not proposing that we defer this indefinitely (I know it has languished while puppetdb development dramatically slowed for the past year or more).  In any case, my intention is for us to pursue this once we're a bit further along in the process of restoring the resources/people available to puppetdb, and we finish handling some other immediate work.
At that point, I'd like for at least two of us to make sure we understand the broader context, refresh ourselves on the current state of the pg vacuum machinery, and then get together with you to discuss what you've found in more detail.  After that, we should be ready to proceed (and fwiw, I do suspect we'll want these, or related changes).
While I'm not certain yet, barring any unforeseen escalations, I'd hoped we'd get to that point in the next few months if not sooner (given the holidays) with an eye toward possibly including the changes in the next Y release.


Network flows is per VM and not per NIC of a VM

[Enter feedback here]
In this link
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#networking-limits
it is stated there is a flow limit of 500K per NIC (!) per VM.
However,
In another document
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-machine-network-throughput#network-flow-limits
the number of flows is limited to a VM, a total of 1M. So this is a limitation regardless the SKU of the VM.
(so basically the number of NIC has no impact)
Ask:
Clarify if this is per NIC or per VM - my understanding is that it's per VM regardless of the NIC count so this current document should be updated to clarify that.
Thanks
Omri Gaon

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

ID: 36f49a06-90b1-cbe1-3853-2c38277b79f8
Version Independent ID: 02ff6f6c-3ef6-b48f-060d-b290419e0aba
Content: Azure subscription limits and quotas - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/azure-subscription-service-limits.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@omrigaonms - I have reached out to the internal team and waiting to hear back from them. I will get back to you as soon as I can. Thank you

@omrigaonms

Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can review and update accordingly.

@asudbring - can you take a look at this issue about clarifying network flow limits? Thanks

It looks like these documents are in sync. If that is incorrect, please reopen.
#please-close


analytics enabled in dartdev makes it much slower

The title says it all.
$ time dart --help
[.... help output]

real    0m0.682s
user    0m0.369s
sys     0m0.105s

Dart SDK Version: Dart SDK version: 2.18.2 (stable) (Tue Sep 27 13:24:11 2022 +0200) on "linux_x64"
System: AMD 4700U with 16G Ram and Samsung 980 SSD

I'd say anything below a second is a reasonable time.
Core issue here is that, unfortunately, these days it needs to run a bunch of Dart code to print help message and that takes time. Speeding this thing up is possible, but complicated - and likely not worth the effort.

these days it needs to run a bunch of Dart code to print help message and that takes time

Dont know all the details, but that doesn't sound like a problem which should take that much time.

For anyone else who gets here, running dart --disable-analytics makes it much faster.

@mit-mit is this intentional? should analytics maybe be batch uploaded instead of making every single CLI command slower? This might be especially relevant if users are sitting on slower networks.

I haven't looked at the analytics code in awhile, but I would assume it's all asynchronous. Maybe we're blocking waiting for the analytics network request to finish? I'll take a look once I have some spare time.

For anyone else who gets here, running dart --disable-analytics makes it much faster. Also speeds up all other tools such as dart format and what not.  I suspect you mean that theres a small fixed cost per command (and not a general slowdown)?
From here:
https://github.com/dart-lang/sdk/blob/main/pkg/dartdev/lib/dartdev.dart#L300
We'll wait <= 200ms after a command finishes, in case there a is any analytics pings that haven't completed (and for FYI for other people seeing this issue, you can disable analytics generally via dart --disable-analytics).

What time differences are you seeing? I suspect you mean that theres a small fixed cost per command (and not a general slowdown)?

with analytics disabled, it's taking 150 - 200 ms. When I enable it, its + 300 - 600 ms

Analytics should never delay the command exit by more than 200ms (hopefully frequently less than that). This is intentional but could definitely be improved - that analytics call isn't adding any user value for that specific command (though hopefully, value in aggregate for broad tool improvements).
We can use this issue to track improvements here. As Slava says, that could be an un-sent queue on disk, reducing the explicit delay value, ...

The new unified_analytics may have similar problems, I'll try looking at this after the cut.

This can be reproduced at head.   unified_analytics doesn't make things worse, but doesn't make them better either.

Closing as fixed, with the caveat that the "fix" biases us toward dropping analytics on the floor rather than impacting the interactive performance of the command for our users.    Without writing to disk, the legacy analytics does a pretty good job of avoiding I/O blocking and other common reasons for delays.


Add Validator and ValidatorOperator role checks to LibraSystem

@tzakian, can you give a little bit more context? What exactly needs to be done?

Currently validator and validator operator accounts don't have their role definitions published under them (but a PR adding these will be going up today). Once that is in, we'll need to add checks when an account is added as a validator/validator operator to make sure that the account has the correct role (e.g., so that treasury compliance can't be added as a validator).


Argument of type 'ImageBitmap' is not assignable to parameter of type 'HTMLCanvasElement | HTMLImageElement | HTMLVideoElement'

Hello! I am a very huge fan of typescript, and I'm sure adding ImageBitmap to the d.ts file responsible for canvas definitions should work.
Just to be clear, MDN lists the following things for CanvasRenderingContext2D.protortype.createPattern
A CanvasImageSource to be used as the image to repeat. It can be an:

- HTMLImageElement (<img>)
- HTMLVideoElement (<video>, by using the capture of the video)
- HTMLCanvasElement (<canvas>)
- CanvasRenderingContext2D
- ImageBitmap
- ImageData
- Blob

TypeScript Version:  2.9.2
Search Terms: Canvas. ImageBitmap, createPattern
Code
const image = await createImageBitmap(blob);
const pattern = ctx.createPattern(image);

Expected behavior:
Well I expect typescript to not report this as a problem.
Actual behavior:
Currently reported like this in my IDE.
Argument of type 'ImageBitmap' is not assignable to parameter of type 'HTMLCanvasElement | HTMLImageElement | HTMLVideoElement'.
  Type 'ImageBitmap' is not assignable to type 'HTMLVideoElement'.
    Property 'msHorizontalMirror' is missing in type 'ImageBitmap'.

Playground Link:
http://www.typescriptlang.org/play/#src=
fetch("path%2Fto%2Fimg.png")
    .then(e %3D> e.blob())%0D%0A%20%20%20%20.then(e%20%3D>%20createImageBitmap(e))%0D%0A%20%20%20%20.then(e%20%3D>%20document.createElement("canvas")%0D%0A%20%20%20%20%20%20%20%20.getContext("2d")%0D%0A%20%20%20%20%20%20%20%20.createPattern(e%2C%20"repeat-x"))%3B%0D%0A%0D%0A
Related Issues: There are a few issues that involve definitions, not sure where to put this.

Can I fork TypeScript and change this line?
https://github.com/Microsoft/TypeScript/blob/02547fe664a1b5d1f07ea459f054c34e356d3746/src/lib/dom.generated.d.ts#L1786
It's my understanding that this is a generated file, so my guess is probably "no."

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

@mhegazy I think I'm confused as to how to fix these files.
What's interesting is that this file notes createPattern has a parameter of CanvasImageSource. The createPattern definition is here.
https://github.com/Microsoft/TSJS-lib-generator/blob/master/inputfiles/idl/HTML - Canvas.widl#L96
  CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);

However, it's properly defined here:
https://github.com/Microsoft/TSJS-lib-generator/blob/master/inputfiles/idl/HTML - Canvas.widl#L21
typedef (HTMLOrSVGImageElement or
         HTMLVideoElement or
         HTMLCanvasElement or
         ImageBitmap or
         OffscreenCanvas) CanvasImageSource;

I am unsure how to make the proper change to these files.  Any ideas?

Looks like it is already fixed in https://github.com/Microsoft/TSJS-lib-generator. We port these regularly. so it should be in an upcoming TS release.

Thank you!
In the meantime, my IDE still barks at me over this function. Looks like I'll have to just wait for the files to update.
Cheers.


cannot access elements in iframes when after_hook accesses the DOM

Meta -
Watir Version: 6.16.5
Selenium Version: 3.142.7
Browser Version: Chrome 79.0.3945.79
Browser Driver Version: Chromedriver 79.03945.36
OS Version: Linux Mint 19.1
Expected Behavior -
calls to elements in an iframe work even if an after_hook is accessing the DOM
Actual Behavior -
cannot find elements in an iframe
Steps to reproduce -
slightly modifying the test here  passes successfully when the hook accesses the browser's title
    it 'runs after_hooks after FramedDriver#switch!' do
      browser.goto(WatirSpec.url_for('iframes.html'))
      @page_after_hook = proc { @yield = browser.title == 'Iframes' }
      browser.after_hooks.add @page_after_hook

      expect(browser.h1.text).to eq 'Iframes'
      expect(browser.iframe.element(css: '#senderElement')).to exist

      expect(@yield).to be true
    end

but when changing the hook to look at an element in the DOM, we get an error that it cannot find the element in the iframe
    it 'runs after_hooks after FramedDriver#switch!' do
      browser.goto(WatirSpec.url_for('iframes.html'))
      @page_after_hook = proc { @yield = browser.h1.text == 'Iframes' }
      browser.after_hooks.add @page_after_hook

      expect(browser.h1.text).to eq 'Iframes'
      expect(browser.iframe.element(css: '#senderElement')).to exist

      expect(@yield).to be true
    end

     Failure/Error: expect(browser.iframe.element(css: '#senderElement')).to exist
       expected #<Watir::HTMLElement: located: false; {:tag_name=>"iframe"} --> {:css=>"#senderElement"}> to exist

in browser.ensure_context, we flip to the default context and run the hook
i went ahead and took a quick pass at having it then flip back to the frame when the after_hook completed
i exposed a new property on the Browser called current_frame and set that in the iframe code
    def switch!
      @browser.current_frame = @element # <---- this is new
      @driver.switch_to.frame @element
      @browser.default_context = false
      @browser.after_hooks.run
    rescue Selenium::WebDriver::Error::NoSuchFrameError => e
      raise UnknownFrameException, e.message
    end

and then when we aren't in the default context, we flip back to the frame
    def ensure_context
      return if @default_context

      driver.switch_to.default_content
      @default_context = true
      after_hooks.run
      driver.switch_to.frame @current_frame
      @default_context = false
    end

it looks like it got my test to pass, but if i attempt to make a second call to an element inside the iframe, the second call fails :cry:
i'm also about 99% sure that this behavior is now actually running the checker in both contexts - the main frame and the iframe - as a side effect, it breaks a handful of tests :sob:
I'm not sure if this is the change we are looking for... :thinking:

i can get moving again if i revert https://github.com/watir/watir/pull/837, but not sure that's the change we're looking for either

So, just wanted to update this since I didn't work on a fix for the 6.17 release...
I really want to provide an easy way to specify which afterhooks get run where, but that's out of scope for a bit still...
Reverting #837 might make the most sense and then update nokogiri to monkeypatch the class.


Logout button

Add as a simple button to the Hub > Settings screen for now.
Will make testing login and registration a whole lot easier!

Executing this code:
DSOSession *session = [DSOSession currentSession];
[session logout:nil failure:nil];

is producing this error:
2015-05-12 18:42:47.949 Lets Do This[2972:59994] [Error] POST 'https://api.dosomething.org/v1/logout' (200) [0.5148 s]: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set.) UserInfo=0x7fee39e87260 {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}

@ryangrimm Is this related to https://github.com/DoSomething/northstar/issues/84 ?

Comment above refs #20


Replace sync.Pool with zeropool

Generated pool code currently uses sync.Pool which is nice because there are no external dependencies.
However, there is a small dependency we use instead that avoids a known allocation issue with sync.Pool (and introduces type safety, but it doesn't really matter since this is generated code).

From their own README:

It is approximately ~2x slower than sync.Pool if what you are storing are pointers: it doesn't make sense to pay the price in that case.

Seems this wouldn't make sense here even to the author. I haven't double checked, but I assume we're always storing pointers.

Yes, I don't think this applies here @jzelinskie. zeropool was designed for the common case where slices (mostly byte slices in practice) are stored in a pool, which causes double allocations. But vtprotobuf stores pointers to structs in the pool, so the only thing we get by using zeropool is a performance loss!


Broken link: VNet-only ARM template

The link to the VNet-only ARM template does not work:
https://github.com/Azure/azure-quickstart-templates/tree/master/101-databricks-vnet-for-vnet-injection
Would appreciate info on how to create the VNet with subnets and proper configuration without the template in question.

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

ID: 93bd5c16-e0ec-5064-9bc0-1c527c328a7e
Version Independent ID: 5342d01e-c2da-f7a8-d22e-86995a17af79
Content: Deploy Azure Databricks in your Azure virtual network (VNet injection) - Azure Databricks - Workspace
Content Source: databricks/administration-guide/cloud-configurations/azure/vnet-inject.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@rplati Thanks for your feedback! We will investigate and update as appropriate.

@leifbro @tfitzmac here's another for the same missing ARM template I think.

Same fix here is needed.
VNet Template for Databricks VNet Injection - https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.databricks/databricks-vnet-for-vnet-injection

Confirmed it was already fixed last week. THanks!
#please-close


mocap_msgs: 0.0.3-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository mocap_msgs to 0.0.3-1:

upstream repository: https://github.com/MOCAP4ROS2-Project/mocap_msgs.git
release repository: https://github.com/MOCAP4ROS2-Project/mocap_msgs-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.7
previous version for package: 0.0.2-1

mocap_msgs
* Change license
* Update README.md
* Contributors: Francisco Martín Rico

Hi,
@jacobperron ask me to set the license properly in #29554. This version fixes this situation.
Thanks!!


How to reuse existing connection when client replay a request to Http2 Server?

Problem Description
I am trying to replay client requet in mitmweb and mitmdump. The remote server supports Http2 which means that the proxy server will keep the connection alive after original request. and subsequent Request indeed use the same connections.
But Everytime I replay Request, no matter in mitmweb or mitmdump, It will Open a New Connection. Although I am sure the original connection is alive .  It will cosume lot of time to Open a new connection, and the remote server may refuse connect frequently.
Proposal
When processing client replay, check whether the Original Connection is connected, if yes then reuse it.

class ReplayHandler(server.ConnectionHandler):
......
def init(self, flow: http.HTTPFlow, options: Options) -> None:
......
context.server = Server((flow.request.host, flow.request.port))
context.server.tls = flow.request.scheme == "https"
......
self.layer = layers.HttpLayer(context, HTTPMode.transparent)
......
ReplayHandler construct new Server object and new HttpLayer, then function get_connection() in HttpLayer Can't get the existing connection.
I have couple days trying to set the existing connection into new HttpLayer. But failed.
the processing flow too comlicate to understand for me.......
Need Help！

Could AnyOne provide some infomation to solve?

You're looking at the right bits of code, but as you say it's not trivial to implement. I actually don't recall if there's anything that stops us from reusing the same replay handler for multiple requests, I guess that becomes a bit clearer once https://github.com/mitmproxy/mitmproxy/issues/6090 is resolved.


Transactions

Added Test Files for create,update & delete
Code Coverage of Package 34.3%

First squash all your commits into a single one then pull upstream master to resolve merge conflicts.


Repeated invocation of gherkinfmt on the same file increasingly adds blank lines between scenarios

If you repeatedly run gherkinfmt on a .feature file, it will repeatedly add newlines between Scenarios. It seems to be related to the handling/preservation of blanklines between steps (mentioned in #3)
formater.go#L303-L305
Unfortunately the go Examples library doesn't lend itself well to adding a unittest to cover trailing whitespace.
Ideally you could re-run gherkinfmt on a previously formatted .feature file and it would essentially be a no-op. If that also didn't introduce any trailing whitespace that would be an added bonus :)

@dnwe the issue should be fixed now… just pushed a new release of gherkinfmt: https://github.com/muhqu/gherkinfmt/releases/tag/v1.0.2


separate network capacity contracts from deployment capacity contracts

currently, using the same capacity contracts for network resource and deployments would create not so minor complexities, and maybe lead to unwanted behavior. so, maybe using a separate capacity contract for each network workload would simplify things.

how can you guarantee that the capacity contract for this network will go to the same node that will contain the VM?


updated german translation (de)

Some new translations for german language

Thanks @mosenturm much appreciated.
It seems like the file django.mo has been corrupted, it is now empty?

Hi, the *.mo files are not empty. I've checked and everything is working.

Sorry, my mistake. The GitHub interface seemed to say the file was empty, but if you actually open the file, it is not

Thanks for the contribution :)


List of supported XEPs

Greetings!
Do you have a list of supported XEPs?
Do you support PubSub? (i.e. XEP-0060: Publish-Subscribe)
Thanks in advance,
Schimon

Unfortunately not. That being said, I haven't been able to touch this repo for quite some time...

Thank you for your prompt respond!
It would be great to have PubSub support as it would allow to content publishers to host their contents on XMPP PubSub nodes.
Here are discussions about incorporating PubSub on PHP based projects which would be useful for "push" (so called) notifications (no http pulling) and for viewing contents directly from XMPP clients.
https://backdrop.zulipchat.com/#narrow/stream/218635-Backdrop/topic/XMPP.20and.20PubSub
https://github.com/xenocrat/chyrp-lite/issues/250
https://github.com/FreshRSS/FreshRSS/discussions/6379


Compile "more info" content

Ward/party structure
How they're elected
How to run for committee/ward
Street money
Sample ward ballot

Perhaps this could be more like an FAQ page, and include questions like, "Where are the republican ward leaders" ?

SLEEP


Reference doc updates

:tada: This PR is included in version grc-stamp-fronted-v1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ensure all rendering libraries that worked with webviews, work with native notebooks (Plotly wasn't working for me)

What else would this be besides plotly? Vega? Altair?

What else would this be besides plotly? Vega? Altair?

This is not working for anything but plotly. Vega and Altair fail to run.

This is not working for anything but plotly. Vega and Altair fail to run.

Latex cells with magics, as follows:
%%latex
$sin(x)/x$

This is not working for anything but plotly. Vega and Altair fail to run.

Works for Altair for me.
What's wrong with Vega and Altair? Please could you provide code sample and errors.

Latex cells with magics, as follows:
%%latex
$sin(x)/x$

This is not working for anything but plotly. Vega and Altair fail to run.

Works for Altair for me.
What's wrong with Vega and Altair? Please could you provide code sample and errors.

This doesn't work if you run it in native, works fine in old webview.
# Cell 1
import altair as alt
import pandas as pd

# Cell 2
df = pd.read_json('cars.json')

alt.Chart(df).mark_point().encode(
    x='Horsepower',
    y='Miles_per_Gallon',
    color='Origin',
)

Attaching cars.json
cars.zip

This doesn't work if you run it in native, works fine in old webview.
# Cell 1
import altair as alt
import pandas as pd

# Cell 2
df = pd.read_json('cars.json')

alt.Chart(df).mark_point().encode(
    x='Horsepower',
    y='Miles_per_Gallon',
    color='Origin',
)

Attaching cars.json
cars.zip

Note: It works if you just open a notebook. Doesn't work if you run it. Same results for vega and altair.
I got a bunch of notebooks from here:
https://github.com/vega/ipyvega/tree/master/notebooks

Note: It works if you just open a notebook. Doesn't work if you run it. Same results for vega and altair.
I got a bunch of notebooks from here:
https://github.com/vega/ipyvega/tree/master/notebooks

Sorry altair does work. I had the wrong bits. Vega doesn't.

Sorry altair does work. I had the wrong bits. Vega doesn't.


Docs vanished

http://docs.ceph.com/ceph-ansible/ is no more! It gives a 404!
Looks like docs.ceph.com domain moved to new readthedocs.org hosting yesterday (16th).
$ curl -svL http://docs.ceph.com/ceph-ansible/
> GET /ceph-ansible/ HTTP/1.1
> Host: docs.ceph.com
...
< HTTP/1.1 302 Found
...
< Location: https://docs.ceph.com/en/latest/ceph-ansible/
...
* Server certificate:
*  start date: Sep 16 00:00:00 2020 GMT
...
> GET /en/latest/ceph-ansible/ HTTP/2
> Host: docs.ceph.com
...
< HTTP/2 404

i added ceph-ansible as a subproject and added a redirect rule, hopefully this could address the issue you had.

Now the url is working again do we need to do something else ? Like changing the jenkins doc job ? or is it only something about vhost and redirection ? @tchaikov

Now the url is working again do we need to do something else ? Like changing the jenkins doc job ?

no need. as RTD is now subscribed to github events. so whenever a new commit is pushed to master, RTD will clone and rebuilt the document.

or is it only something about vhost and redirection ? @tchaikov

something like that. to be specific, we just added a CNAME record to point docs.ceph.com to ceph.readthedocs.io and also updated the settings of our RTD project to use docs.ceph.com as the canonical domain name.

The documentation appears to now be located at https://docs.ceph.com/projects/ceph-ansible/
The old URL published in README.rst (ie. without /projects/) is still broken.

The old URL published in README.rst (ie. without /projects/) is still broken.

added a redirect rule for http://docs.ceph.com/ceph-ansible/master/. should be good now.

The old URL published in README.rst (ie. without /projects/) is still broken.

added a redirect rule for http://docs.ceph.com/ceph-ansible/master/. should be good now.

This README and the associated link are still broken

This README and the associated link are still broken

@SLongofono could you be more specific ? which URLs are broken?

The ones in the comment I quoted:
https://github.com/ceph/ceph-ansible/blob/master/README.rst
http://docs.ceph.com/ceph-ansible/master/
I'm still getting a 404 for the latter.
This one is accessible:

The documentation appears to now be located at https://docs.ceph.com/projects/ceph-ansible/
The old URL published in README.rst (ie. without /projects/) is still broken.

i am able to access http://docs.ceph.com/ceph-ansible/master/ though. could you try it again?

i am able to access http://docs.ceph.com/ceph-ansible/master/ though. could you try it again?

It is still broken on my end, I tried from several networks and devices to rule out any local problems/caching.

i am able to access http://docs.ceph.com/ceph-ansible/master/ though. could you try it again?

It is still broken on my end, I tried from several networks and devices to rule out any local problems/caching.

thank you @SLongofono ! i asked my workmate to verify this. and it turns out i was using chrome / chromium to test this link. but when it comes to firefox and curl, they just have 404. i created a fix last night. it should address this 404 issue once and for all. no redirect needed anymore.

Same issue with Safari for http://docs.ceph.com/ceph-ansible/master/
" SORRY            /
\                         /
\    This page does     /
]   not exist yet. "
Is it possible that the right link is following?
https://docs.ceph.com/projects/ceph-ansible/en/latest/index.html

@mschindl yes. just updated README.rst.

@tchaikov I know this is not the right way to do this, but the create issue button is hidden on the various Ceph projects.
The same documentation issue seems to be happening on the ceph-deploy repo as well.
This link is broken in README.rst there.

@SLongofono quite a few Ceph projects are using http://ceph.com/ceph-deploy/docs for tracking bug reports. but yeah, it's a convenience venue to report the issues. =(
i just fixed ceph-deploy's README.rst.
but jewel is EOL, and i am not able to change Google's behavior. so probably we need to wait longer.
the api links are known issue. as we cannot build them on RTD at the time of writing.