Publish on http://www.powershellgallery.com/

Publishinging posh-gvm on http://www.powershellgallery.com/ will make the installation easier for Windows 10 users (using the bundled OneGet provider)

Also, could you sign this and put into chocolatey.org, that's also a great way to install components like this


count method warning in php7.2

https://github.com/ErickTamayo/laravel-scout-elastic/blob/85bc852ca059910c77d98c6960e7999a6cec5ea6/src/ElasticsearchEngine.php#L206
since php7.2, count a number will generate a warning, also count a number seems to be meaningless, I suggest change it to be if ($results['hits']['total'] === 0)

A PR is very welcome!


Fix issues with data commands on chopped blocks

https://github.com/hammertater/treechop/issues/61#issuecomment-1887970085
Commands like /data modify block X Y Z Chops set value 2 aren't updating visuals for chopped blocks

Fixed in 0.18.7


[Question]: Getting ValueError Invalid literal for base 10 while vectorizing

Question Validation

[x] I have searched both the documentation and discord for an answer.

Question
I am vectorizing using the below code

embed_model = llm_class(api_key=os.getenv("OPENAI_API_KEY"), deployment=model_type, model=model_type, **kwargs)
Settings.embed_model = embed_model

def save_llama(content, metadata, storage_context):
    document = Document(text=content, metadata=metadata)
    VectorStoreIndex.from_documents(
        documents=[document],
        storage_context=storage_context,
        show_progress=True
    )

After debuggin I got that no index_struct is being returned.
        with self._callback_manager.as_trace("index_construction"):
            if index_struct is None:
                nodes = nodes or []
                index_struct = self.build_index_from_nodes(
                    nodes + objects  # type: ignore
                )

And that's why VectoreStoreIndex is not being initialized
class VectorStoreIndex(BaseIndex[IndexDict]):
    """Vector Store Index.

    Args:
        use_async (bool): Whether to use asynchronous calls. Defaults to False.
        show_progress (bool): Whether to show tqdm progress bars. Defaults to False.
        store_nodes_override (bool): set to True to always store Node objects in index
            store and document store even if vector store keeps text. Defaults to False
    """

    index_struct_cls = IndexDict

    def __init__(
        self,
        nodes: Optional[Sequence[BaseNode]] = None,
        # vector store index params
        use_async: bool = False,
        store_nodes_override: bool = False,
        embed_model: Optional[EmbedType] = None,
        insert_batch_size: int = 2048,
        # parent class params
        objects: Optional[Sequence[IndexNode]] = None,
        index_struct: Optional[IndexDict] = None,
        storage_context: Optional[StorageContext] = None,
        callback_manager: Optional[CallbackManager] = None,
        transformations: Optional[List[TransformComponent]] = None,
        show_progress: bool = False,
        # deprecated
        service_context: Optional[ServiceContext] = None,
        **kwargs: Any,
    ) -> None:
        """Initialize params."""
        self._use_async = use_async
        self._store_nodes_override = store_nodes_override
        self._embed_model = (
            resolve_embed_model(embed_model, callback_manager=callback_manager)
            if embed_model
            else embed_model_from_settings_or_context(Settings, service_context)
        )

        self._insert_batch_size = insert_batch_size
        super().__init__(
            nodes=nodes,
            **index_struct=index_struct,**
            service_context=service_context,
            storage_context=storage_context,
            show_progress=show_progress,
            objects=objects,
            callback_manager=callback_manager,
            transformations=transformations,
            **kwargs,
        )

I don't think this is related to anything with VectoreStoreIndex -- I think your embedding model is not returning raw floats for embedding values.
I don't know what llm_class is doing, but that is likely the issue.
You can easily check with embeddings = embed_model.get_text_embedding("Hello world") and ensure the returned type is a list of float. Seems like it might be returning numpy or something else


Break out install method so it can be called on its own

We have a need in our app to do the install outside of actually wanted CEF to be initialized. I simply moved the install logic into its own method so it can be called separately.

Thank you for this contribution - looks good :). Will be included in version 109 and upwards.


BUG🐞 : Netlify Routing Navigation Errors For The Pages

Describe the bug
Hey @Priyaaa1
I was just checking the website and I found that The navigations to the pages only work for a short time, when you refresh the page, it shows Page Not Found error.

Also this error occurs when we try to navigate to the pages through Footer links or after we refresh it will show the error except at Home page
"Log in/About Us/How it Works/FAQ/Contact Us/Blog/Vision & Mission/Privacy Policy/Terms & Conditions"
Above are the pages/section which gives page not found error due to routing errors after netlify deployment.
Feature solution:
To rectify the {Page Not Found Error}, it is necessary to establish redirect and rewrite rules for the web application in _redirects file in your public folder. These rules will assist the application to prevent the "Page Not Found" error.
Expected behavior
This configuration ensures that when we initiate a redirect with a child path, netlify will redirect it to the root path, effectively preventing the occurrence of the Page Not Found Error.
Could you please assign this issue to me under GSSOC'24??

@Priyaaa1 Please review this issue and assign it to me, I can solve it.


Fix tests with latest dependencies

The commits tested with latest dependencies in #2328.

I am going to close this as outdated as we've just updated the testing framework for flask-admin after it was incorporated into the pallets-eco project.
I do think we need to address the testing situation to have better variant testing on some key dependencies, however that may be best to look at from a fresh slate now. Please don't take this as discouragement from helping tighten this up, but as this PR is fairly stale now I think a reboot would be best.


mpvScripts.uosc: 5.5.0 -> 5.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for mpvScripts.uosc is: Feature-rich minimalist proximity-based UI for MPV player
meta.homepage for mpvScripts.uosc is: https://github.com/tomasklaen/uosc
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.6.0 with grep in /nix/store/012i1ax3pb0p0fw9a6m9vz4zpvchvff3-uosc-5.6.0
found 5.6.0 in filename of file in /nix/store/012i1ax3pb0p0fw9a6m9vz4zpvchvff3-uosc-5.6.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

mpvScripts.uosc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/012i1ax3pb0p0fw9a6m9vz4zpvchvff3-uosc-5.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mpvScripts.uosc https://github.com/r-ryantm/nixpkgs/archive/d7c610e6edf8f636d915c65fe6bf9a7f2cf44d56.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d7c610e6edf8f636d915c65fe6bf9a7f2cf44d56#mpvScripts.uosc

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/012i1ax3pb0p0fw9a6m9vz4zpvchvff3-uosc-5.6.0
ls -la /nix/store/012i1ax3pb0p0fw9a6m9vz4zpvchvff3-uosc-5.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

mpvScripts.uosc

Maintainer pings
cc @apfelkuchen6 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

@ofborg eval


Added Popup dialog to warn users about changing file extensions

Adds enhancement for issue #1340
https://github.com/files-community/Files/issues/1340
Added warning to warn users before changing file extension. Mirrors the wording of the classic Windows File Explorer.
I'm also happy to:

Move warning message to common strings file
Create separate private method that contains popup dialog logic
Perform any other changes to conform with project standards

Great project! thanks a lot for the review :)

@jusso-dev Seems like shortcut renaming is now broken.

@jusso-dev Seems like shortcut renaming is now broken.

I'm investigating a clean approach to fix this.

@jusso-dev Now renaming doesn't working at all.

@tsvietOK - Pushed another fix, things I manually tested as working:
Renaming files - ✅
Renaming Shortcuts - ✅
Renaming folders - ✅
Selecting Yes on rename of file, folders and shortcuts - ✅
Select No on rename of file, folders and shortcuts - ✅

@jusso-dev Now dialog is displayed when changing file name without extension change.

@tsvietOK When you are free I would appreciate you reviewing this again and merging if possible

@jusso-dev Now dialog is not displayed when changing file extension. By the way, resolve conflicts, please.

@tsvietOK - Hate to be that person but it's working for me, every test I run locally works, so not sure what to say. If it's still not working for you I'll close this PR.

@jusso-dev I'll check again a bit later.

😳

@d2dyno1 I don't know how that happened, all these commits, merges, merge conflicts have stuffed this pull request, my change is small less than 20 line code change, plus some other unnecessary, unrelated changes that were introduced into this specific branch.

Branch fixed.

@jusso-dev Thank you, great work!


fix batch test error

fix some compile error

What is the exact error you are encountering?
The master branch compiles without any problems on my machine, a windows and a linux box.

It seems to be an error with rust-analyzer, not rustc. Sorry for the misunderstanding.

What is the exact error you are encountering?
The master branch compiles without any problems on my machine, a windows and a linux box.

It seems to be an error with rust-analyzer, not rustc. Sorry for the misunderstanding.


Remove aware/capable interfaces?

Hey!
We have removed in Service Manager the various Aware/Capable interfaces to encourage injection. Should we do the same here?

The "Capable" interfaces indicate something is composed. In the case of
SharedEventsCapable, we need this to allow collaborators ready access to
the shared manager in order to attach shared listeners.
I already removed the Aware interfaces. :wink:
On Sep 29, 2015 12:18 PM, "Michaël Gallego"<EMAIL_ADDRESS>wrote:

Hey!
We have removed in Service Manager the various Aware/Capable interfaces to
encourage injection. Should we do the same here?
—
Reply to this email directly or view it on GitHub
https://github.com/zendframework/zend-eventmanager/issues/11.


print error msg when plugin binary is missing

thanks for the review Ivan. I have addressed the review comments. made a small change in error msg to include the plugin name explicitly. I hope that is ok.


argsEnhancers are not applied

Is your feature request related to a problem? Please describe.
The interactions addon replaces action arguments with jest mocks that can be inspected in play functions. It would be great to be able to run play functions in jest to test them during CI. This currently does not work because the arguments don't get enhanced.
Describe the solution you'd like
argsEnhancers from global config or other presets should be applied. Then it would be possible to use ...
https://github.com/storybookjs/testing-react#interactions-with-play-function
... in combination with ...
https://storybook.js.org/docs/react/essentials/interactions#writing-interactions
Or specifically the await waitFor(() => expect(args.onSubmit).toHaveBeenCalled()); part.
I think this would have to happen during argument combination:
https://github.com/storybookjs/testing-react/blob/main/src/index.ts#L121-L124

Hey there! I wanted to thank you for using @storybook/testing-react!
@storybook/testing-react has been promoted to a first-class Storybook functionality in Storybook 7. This means that you no longer need this package, and this package will not be worked on anymore (especially regarding Storybook 6, unless there are security issues). Instead, you can import the same utilities, but from the @storybook/react package. Additionally, the internals of composeStories and composeStory have been revamped, so the way a story is composed is way more accurate, and it's possible this issue doesn't happen there anymore.
Please do the following:

Upgrade to Storybook 7 if you haven't already
Uninstall @storybook/testing-react
Update your imports from @storybook/testing-react to @storybook/react

// Component.test.jsx
- import { composeStories } from '@storybook/testing-react';
+ import { composeStories } from '@storybook/react';

// setup-files.js
- import { setProjectAnnotations } from '@storybook/testing-react';
+ import { setProjectAnnotations } from '@storybook/react';

For now, I'll be closing this issue. Please, if even after migrating, you are still experiencing issues, report them in the Storybook monorepo.
Thank you so much for this journey!


Accompany TF_LoadLibrary with TF_DeleteLibrary

The pull request addresses issue #3213. Please let me know

if I should add a comment to the new function, and
if I should also change tf_session.i or load_library.py.

Thanks!
Regards,
Ivan

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@IvanUkhov Thanks a lot for the PR. Although your TF_DeleteLibrary frees up the memory owned by a TF_Library handle, I am not sure how useful that is. The reason that we didn't bother adding this function in the first place is that we don't know of a reliable way to unload the library from the process' address space. If you know of an implementation for unloading the library on linux and mac, that would make this a much stronger PR.

@keveman, please have a look at issue #3213 and the comment there. This function is not for unloading libraries; it’s for freeing memory. Freeing memory is the caller’s responsibility, but the caller doesn’t know what it was allocated and, hence, cannot do it properly. For unloading libraries, one might add something like TF_UnloadLibrary in the future.

@IvanUkhov, sure, I read your comment. What I'm wondering about is the utility of just deleting the handle without unloading the library.

@keveman, I see. Thanks for the clarification! I think it depends on what TF_DeleteLibrary is supposed to do. If we agree that its sole purpose is to dispose TF_Library then the current implementation of the function satiates the purpose. It eliminates a memory leakage, and it makes one more confident about the usage of the API as one knows exactly what to do this the pointer given by TF_LoadLibrary. Imagine what people calling the function from other languages think when they are given a pointer and told that they own it and the underlaying data. If, however, TF_DeleteLibrary is also responsible for unloading the library then, I agree, it’s better to do not have any function at all than a half-working one.
It might be interesting to note that there is a certain analogy between TF_DeleteSession and TF_DeleteLibrary and between TF_CloseSession and TF_UnloadLibrary (potential).

Is dlclose() not sufficient for a TF_UnloadLibrary implementation?

@dauba-dauba Reading the documentation here, it doesn't seem like there are any guarantees about the shared library being unmapped from the memory space. Also, with a multithreaded application like TensorFlow, I don't know how we can reason about dlclose when there is another thread executing a kernel loaded from the shared library. @IvanUkhov, while I share your sentiment about avoiding memory leaks, I can't imagine people loading hundreds of shared libraries via TF_LoadLibrary and leaking the handles. If we get into a situation like that, we can definitely revisit this, but until I see some compelling reason, I would rather have libraries loaded and remain in memory.

@keveman, I phrased it poorly, but I was actually referring to confidence. Leakage is an unpleasant but indeed minor issue. In any case, I appreciate your time and respect your opinion. Please feel free to close both the issue and the pull request. Thank you.

IIRC, the spec reads that way because some implementations on now-rarely-used flavors of Unix (e.g. AIX, or maybe HP-UX) never removed libraries from the process address space. Both Linux and OS X man pages for dlclose() state that it decrements a ref count and, if zero, unloads the library.
That said, if semantically there's no good way of tracking symbol references into the loaded library, then I agree it's easier to just declare that such libraries are "load-only".

@dauba-dauba, right, even if the OS removed it from the address space, it would be hard to track currently running threads that have ops and kernels from the library.
@IvanUkhov Thanks a lot for your time. Expecting more PRs in the future :)


Add appsettings.json to EmptyWeb

Fixes #512.

@mkArtakMSFT would you like to review or should I just merge?


Remove scope from procedure FindStreetNameFromAddress in codeunit 11401 "Post Code Management"

Hello,
Is it possible to remove the scope from the following function:
[Scope('OnPrem')]
procedure FindStreetNameFromAddress(var Address: Text[100]; var Address2: Text[50]; var PostCode: Code[20]; var City: Text[50]; CountryCode: Code[10]; var PhoneNo: Text[30]; var FaxNo: Text[30])

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Can I generate a view if I pass the azimuthal and polar values?

Hello team,
I want to get a specific view by giving the azimuthal value and polar value. Would I be able to do this? If yes, could you give me a helper code?

You can use Zero123 XL for novel view synthesis directly.


Agular not compatable facing below issues

Angular version facing issues Uncaught SyntaxError: Cannot use import statement outside a module

This open source library is not built for Angular, nor states that the Angular framework is supported. Closing this issue as this is not a bug, and we don't have immediate plans to add an Angular version. Feel free to fork the project and convert it to Angular.

This open source library is not built for Angular, nor states that the Angular framework is supported. Closing this issue as this is not a bug, and we don't have immediate plans to add an Angular version.


add commonjs module file

Hi, I've just added a file to make it work on npm, if you could push this to https://www.npmjs.com/package/angular-toasty that'd be great, thanks.
Also great work with the plugin, really neat and simple.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Ehesp:x: warrendodsworthYou have signed the CLA already but the status is still pending? Let us recheck it.


DataFrame msgpack objects written from linux cannot be read on windows

eg. on linux:
df2 = pandas.DataFrame([['100']], index=[1], columns=['v'])
df2.to_msgpack(r"/mnt/C/temp/p2.msgpack")

then on windows:
df = pandas.read_msgpack(r"C:\temp\p2.msgpack")
ValueError: Shape of passed values is (1, 1), indices imply (1, 2)

pls show versions. This IS tested in master for cross-platform compat. Its possible that you are hitting an old bug.

0.16.2 tested

and 0.14.2

pls try on master.

where is pandas nightly these days?

ah, found it, but stale for a year

that's going to make it difficult for me to test windows reading.

hmm, this is only partially working, will mark as a bug.

cc @kawochen want to have a look
The reads cross platform work but are just returning a byte stream, so the tests don't fail. odd.

it seems to be an issue between the index being picked up as dtype np.int32 vs np.int64 but i'm well out of my depth trying to dig into this

OK I will take a look, but the cross platform issue itself should have been fixed on master already in pandas.io.packers.dtype_for.

do you mean https://github.com/pydata/pandas/commit/b0c14c18aa52992c4c2b9cdc7b0da34e88a0ade2 ? can you reproduce my problem above?
If you can no longer reproduce since your fixes i'll have to find/merge all the related fixes as we need to still run 0.14.2 for compatibility reasons

@kawochen yes I think they are fixed on same-platform reading, but the cross-platform is returning odd results (and the tests dont catch this).
@ruidc If you have compat with 0.14.2 you are on your own. (it should work, and their are not too many fixes, but that will be tricky)

... and actually seems to not just be the index, for some larger test cases, happens on the data too. Again forcing int64 dtype on the windows side seems to fix it for me.


Please add a version tag

Please add a version tag like the rest of your other projects, it will help packaging everything nice while building RPMs.

Done https://github.com/prometheus/promu/releases/tag/v0.1.0


Inferencing data using RoBERTa finetuned model

Hi, I encounter some problems of inferencing data using finetuned model when I am following the official instructions.

Loading model

Below is my command,
roberta = RobertaModel.from_pretrained('checkpoints/lr1e-05_mp512', checkpoint_file='checkpoint_1_10.pt')

When I run this command, there are following errors
No such file or directory: '~/project/fairseq/checkpoints/lr1e-05_mp512/input0/dict.txt'
No such file or directory: '~/project/fairseq/checkpoints/lr1e-05_mp512/label/dict.txt'

I put the dict.txt into the folder ~/project/fairseq/checkpoints/lr1e-05_mp512/ like official pretrained model folder. Why is it correct for official pretrained model? Is there any difference between my model and official model?

Dictionary

My task is the sentence pair classification. Do I need to prepare following folders for loading model?
~/project/fairseq/checkpoints/lr1e-05_mp512/input0/dict.txt'
~/project/fairseq/checkpoints/lr1e-05_mp512/input1/dict.txt'
~/project/fairseq/checkpoints/lr1e-05_mp512/label/dict.txt'

The default name of classification_head

I saw the predict function needs a name of classification head
prediction = roberta.predict('mnli', tokens).argmax().item()

What's the default name of the classification head? I just finetuned model using following command
python train.py <parameters>

Inferencing data
Could I encode entire data firstly and then inference it like training phase? Is there any instruction?

What command did you use for finetuning your model? If you followed: https://github.com/pytorch/fairseq/blob/master/examples/roberta/README.finetune_custom_classification.md then you should have the two folders input0 and label.
and then you should be able to give path as following:

roberta = RobertaModel.from_pretrained('checkpoints/lr1e-05_mp512', checkpoint_file='checkpoint_1_10.pt', data_name_or_path=/path/to/data/folder/)

If you followed the readme as mentioned above, you should already have these.

It's "sentence_classification_head"

yes, you can do that. Look at checkpoint_utils.load_model_ensemble function. If you need detailed code snipped, I might be able to write one. Lemme know first, if above 3 steps still doesn't work you.

I will close this issue. Feel free to ask if there are any further questions

Thanks, it works now


Issues with BIOS modding on Razer blade 15 2020 version

I'm trying to mod BIOS on Razer blade 15 2020 version and I'm getting this error -
18 - Error: Secure Flash Rom Verify Fail
How do I resolve this issue and has anyone tried this repo on 2020 model?

Are you using AFU with the version5.02.0031, basically it is a security check error, BIOS you saved is not signed BIOS since it's a direct chip dump, so can't be used with AFU like you are trying. If the version is latest, try mod on other computer. I also ran into some issues on AFU, like software crashed while trying saving modded BIOS, which solved by doing this on another computer. Wish this could help you.
Also, I'm sorry to tell you that I have not seen any repo on 2020 model, but since only cpu(IGPU still the same[UHD630]), graphic card(not really matter for Hackintosh), Network Card(for AX201 try itlwm), Screen and Audio not sure, other should be fine.

Thanks for the response.

Are you using AFU with the version5.02.0031, basically it is a security check error, BIOS you saved is not signed BIOS since it's a direct chip dump, so can't be used with AFU like you are trying.
Yes Im using AFU v5.02.0031. For sanity test, I dumped the rom from the chip directly, and tried to flash it with the same rom. Thats when I got this error.

I also ran into some issues on AFU, like software crashed while trying saving modded BIOS, which solved by doing this on another computer. Wish this could help you.
I do have mac, but if can send me the links to do this, it will very helpful.

Also, I'm sorry to tell you that I have not seen any repo on 2020 model, but since only cpu(IGPU still the same[UHD630]), graphic card(not really matter for Hackintosh), Network Card(for AX201 try itlwm), Screen and Audio not sure, other should be fine.
Yes. I've not seen it anywhere. TBH, I wanted to give it a try because most of the configs were more or less same. I've a compatible network card, and doing it on separate sabrent ssd.

Sorry to reply you at this time, I'm really busy at this week. But, if that still does not work, I can not give your more useful information, because as you know, our BIOS not the same one, Razer might change something which could effect this error appear. But that doesn't mean you can not use Hackintosh, we mod BIOS for some hidden option, however we can use quirks in OpenCore to help us boot Hackintosh. Such as AppleCpuPmCfgLock and AppleXcpmCfgLock, these could help the machine who can't unlock cfg. DisableIOMapper for the machine who can't disabled VT-D in BIOS. You could check the detail in OpenCore Install Guide, Wish you join the Hackintosh and the process of making EFI :)


(IMPORT FAILED): C:\ComfyUI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-FaceChain

I was trying to use this custom node but I'm facing an import failure.
It says "ModuleNotFoundError: No module named 'datasets' ": I tried to add the import 'datasets' into the requierments.txt file and it worked.
After that I got an 'ImportError: cannot import name 'OfflineModeIsEnabled' from 'datasets.utils.file_utils' (C:\Users....\AppData\Roaming\Python\Python310\site-packages\datasets\utils\file_utils.py)' and I'm stuck here.
Am I the only one facing this error?
Thank you in advance!

Same error,have you solved it?


add tutorial of MySQL

I have switched H2 to MySQL. You can have a check.
However, I cannot access https://mozafari.github.io/verdictdb/ after deploying it. It works fine on localhost. I do not know whether it is due to my Internet problem.

Codecov Report

Merging #191 into yongjoo will increase coverage by 0.19%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           yongjoo     #191      +/-   ##
===========================================
+ Coverage    73.06%   73.24%   +0.19%
===========================================
  Files          141      141
  Lines         8333     8333
  Branches      1325     1325
===========================================
+ Hits          6088     6103      +15
+ Misses        1888     1875      -13
+ Partials       357      355       -2

Impacted Files
Coverage Δ

.../core/scrambling/FastConvergeScramblingMethod.java
88.93% <0%> (-0.65%)
:arrow_down:

.../verdictdb/core/execplan/ExecutableNodeRunner.java
93.14% <0%> (+7.85%)
:arrow_up:

...ictdb/core/resulthandler/ExecutionTokenReader.java
72.73% <0%> (+9.1%)
:arrow_up:

...rg/verdictdb/core/execplan/ExecutionInfoToken.java
82.76% <0%> (+20.69%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f8e525...535b4f5. Read the comment docs.


Documentation for this feature for Java Springboot application

Is there a similar support for Java based application for Sensitive information to be passed as Spring boot environment variables?

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

ID: ba5deb43-08e3-09fe-1696-29f49764580b
Version Independent ID: 0c910667-1d39-47dd-c70b-ab40999ea160
Content: Securely saving secret application settings for a web application - Azure Key Vault
Content Source: articles/key-vault/vs-secure-secret-appsettings.md
Service: key-vault
GitHub Login: @CawaMS
Microsoft Alias: cawa

@mahesh-raghunandanan Thank you for your query. We will check it with the engineering internally and let you know accordingly.

Hey @mahesh-raghunandanan
We do have some documentation on Azure Keyvault and Java Spring, but the documentation is not as up to date. If there are any issues with it I suggest filing an issue against the respective github issue here :
https://docs.microsoft.com/en-us/java/azure/spring-framework/configure-spring-boot-starter-java-app-with-azure-key-vault?view=azure-java-stable
https://docs.microsoft.com/en-us/java/azure/spring-framework/?view=azure-java-stable
@mahesh-raghunandanan Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day tomorrow, as this doc is specifically for the C#/.net apps.
Please reopen this git issue if you have anymore concerns. Thanks

@mahesh-raghunandanan Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day tomorrow. Please reopen this git issue if you have anymore concerns. Thanks


Fixed Product_Hunt_bot.py

Added support for January 1st. Hope it helps :)

Looks good, thank you! 👍


Configuration menu for Service Catalog Items containing Add a new Button/Group

@lgalis Is this a bug report?

@chessbyte - yes - I do not think the 2 menu items should be present for this tab - adding  @dclarizio

Not a bug - a button can be added to the Catalog item.

@lgalis If you are talking about the Add buttons for button groups and buttons, they do apply.  This is to allow buttons (and groups of buttons) to be displayed on the resulting service after it is provisioned.  For example "Start this service", "Do something else to this service", etc.
So, I'm thinking this isn't a bug, but we can discuss it you'd like.


⚠ Bofrost.lu has degraded performance

In 701d010, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1299 ms

Resolved: Bofrost.lu performance has improved in 9621a79 after 6 minutes.


python37Packages.google_cloud_error_reporting: 1.0.0 -> 1.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.google_cloud_error_reporting is: "Stackdriver Error Reporting API client library"
meta.homepage for python37Packages.google_cloud_error_reporting is: "https://github.com/googleapis/python-error-reporting"
meta.changelog for python37Packages.google_cloud_error_reporting is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.1.0 with grep in /nix/store/sdp6i4pfgjl8cl1nvlm7pzsk1486p11b-python3.7-google-cloud-error-reporting-1.1.0

directory tree listing: https://gist.github.com/d726f87bab1fa1449a4ae5394ca677e7

du listing: https://gist.github.com/f0c11f1444388b72839a9996b82b0cdf

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.google_cloud_error_reporting
python38Packages.google_cloud_error_reporting
python39Packages.google_cloud_error_reporting

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sdp6i4pfgjl8cl1nvlm7pzsk1486p11b-python3.7-google-cloud-error-reporting-1.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.google_cloud_error_reporting https://github.com/r-ryantm/nixpkgs/archive/0733c6c77d48c5520101a10a6f1911e5f307ad3d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sdp6i4pfgjl8cl1nvlm7pzsk1486p11b-python3.7-google-cloud-error-reporting-1.1.0
ls -la /nix/store/sdp6i4pfgjl8cl1nvlm7pzsk1486p11b-python3.7-google-cloud-error-reporting-1.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package failed to build:

python39Packages.google_cloud_error_reporting

2 packages built:

python37Packages.google_cloud_error_reporting
python38Packages.google_cloud_error_reporting

Maintainer pings
cc @costrouc for testing.

Result of nixpkgs-review pr 105809 run on x86_64-darwin 1

1 package failed to build:

python39Packages.google_cloud_error_reporting

2 packages built:

python37Packages.google_cloud_error_reporting
python38Packages.google_cloud_error_reporting


Partial CMT activation configuration for non CMake workspace folder not persistent

Brief Issue Summary
When connecting to a remote multi-root workspace where one folder doesn't contain a CMakeLists.txt file, clicking the "Don't show again" button on the "CMakeLists.txt was not found in the root of the folder..." notification does not persist, i.e. the notification appears each time the workspace is opened.
Expected:

Connect to remote development environment via remote-ssh extension.
Open multi-root workspace with one root folder that doesn't contain a CMakeLists.txt file.
Click "Don't show again" button on the "CMakeLists.txt was not found in the root of the folder..." notification.
Close and re-open workspace.
"CMakeLists.txt was not found..." notification is not shown again.

Apparent Behavior:

Connect to remote development environment via remote-ssh extension.
Open multi-root workspace with one root folder that doesn't contain a CMakeLists.txt file.
Click "Don't show again" button on the "CMakeLists.txt was not found in the root of the folder..." notification.
Close and re-open workspace.
"CMakeLists.txt was not found..." notification is shown again.

Platform and Versions

Operating System: Windows 10 (local), Ubuntu 19.10 (remote)
CMake Version: cmake version 3.14.5
VSCode Version: 1.45.1
CMake Tools Extension Version: 1.4.0
Compiler/Toolchain: 8.0.0-3

This should be fixed in CMake Tools 1.4.1 which was published today.
Let us know if you encounter any issues with this release.


Add support for Circle

This PR adds support for <Circle />. I also updated the geolocation example to show a circle around the coords. Hope I've done the things right with this conventional changelog and build etc. :-)

Everything is perfect, just don't bump the version in PR next time :)
Circle works perfect!


API-led integration doc and diagrams - first draft

New page on API-led integration added.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Shall we update the overview page as well by pointing to this doc?


refactor: removed unused NODE_ENV var

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add basic project skeleton

You may want to take a look at the error handling code in err.c and see if that sort of model is a good basis, or if we want to do something different. This PR also makes the distinction between debug and non-debug which can be controlled through the preprocessor macro NDEBUG.
The next thing we ought to do is to keep track of the window width and height (which I may need to tweak for OSX retina displays).

Well, window resolution tracking can be written in config on exit. Btw, it should be optional.


Issue#SB-22101 Course creator is not able to select different certificate templates when multiple default templates are configured

@ArtiSingh23 Can you create the new PR again..


What is linkReference actually ?

The original markdown is below:
[ABC]

remark will parse it to:
{
  "type": "root",
  "children": [
    {
      "type": "paragraph",
      "children": [
        {
          "type": "linkReference",
          "identifier": "abc",
          "referenceType": "shortcut",
          "children": [
            {
              "type": "text",
              "value": "ABC",
              "position": {
                "start": {
                  "line": 1,
                  "column": 2,
                  "offset": 1
                },
                "end": {
                  "line": 1,
                  "column": 5,
                  "offset": 4
                },
                "indent": []
              }
            }
          ],
          "position": {
            "start": {
              "line": 1,
              "column": 1,
              "offset": 0
            },
            "end": {
              "line": 1,
              "column": 6,
              "offset": 5
            },
            "indent": []
          }
        }
      ],
      "position": {
        "start": {
          "line": 1,
          "column": 1,
          "offset": 0
        },
        "end": {
          "line": 1,
          "column": 6,
          "offset": 5
        },
        "indent": []
      }
    }
  ],
  "position": {
    "start": {
      "line": 1,
      "column": 1,
      "offset": 0
    },
    "end": {
      "line": 1,
      "column": 6,
      "offset": 5
    }
  }
}
{
  "content": [
    "article",
    [
      "p",
      "[abc]"
    ]
  ],
  "meta": {}
}

but IMO, should [ABC] just be a plain text ?

A link reference is a reference to a link defined before or after: [alpha][], [alpha][], and [bravo][alpha] all refer to a link defined as [alpha]: http://example.com.
There’s one caveat though, and that is that [alpha] is rendered as plain-text (so actually [alpha]) based on whether there is or isn’t a definition, whereas [alpha][] and [bravo][alpha] both render as links even if there’s no definition.
Does that help?

If i understand correctly, I have a single markdown file, which content is [alpha], should remark parse it to plain text ?
As i mentioned above, remark parse  [alpha] as linkReference, I think this may be a bug?

No, that’s a feature.
Say we have the following file:
[foo] and [bar].

[foo]: example.com

Both [foo] and [bar] are references to links, even though [bar] is not defined.
When compiling to HTML, [bar] is compiled as plain text, whereas [foo] is compiled as a link. This is a feature of the compiler.
For more info, see the similar issue GH-209.

Even though i am much agree with https://github.com/wooorm/remark/issues/209#issuecomment-247794212, but i am ok with  current situation.
I decided to handle linkReference  in our compiler. https://github.com/benjycui/mark-twain/pull/20/files
Thanks for your explanation.

Great, thanks for using remark!


Pretty format coverage

Summary
See this comment.
I'm mocking console.error because React.createElement(undefined) prints an error to the console
Test plan
yarn test should not print an error to the console

@cpenarrieta Please don't hate me. I forgot to tell you I've tackled the issue in this PR https://github.com/facebook/jest/pull/3180. Sorry about that.

@thymikee thats fine. nice work in #3180


Stack Navigator is sensitive to space

ok
this is my first time ever sending a bug report and this is not a bug
but it could be an improvement
for developer experience
Description
Stack Navigator name is sensitive to space so if you add an space after it its not gone work
<Stack.Screen options={{ headerShown: false }} name="Home" component={Home} />
is not like
<Stack.Screen options={{ headerShown: false }} name="Home " component={Home} />
so is there any way to filter the name and remove any space and let developers only use url friendly names ?
React Native version:
"dependencies": {
"@react-navigation/native": "^6.0.6",
"@react-navigation/native-stack": "^6.2.4",
"expo": "~42.0.1",
"expo-constants": "~11.0.1",
"expo-status-bar": "~1.0.4",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-gesture-handler": "^1.10.3",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.4.0",
"react-native-web": "~0.13.12",
"react-navigation": "^4.4.4"
},
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
1.make a navigation system like this

<Stack.Navigator>
<Stack.Screen options={{ headerShown: false }} name="Home" component={Home} />
<Stack.Screen options={{ headerShown: false }} name="Login" component={Login} />
<Stack.Screen options={{ headerShown: false }} name="Detail" component={Detail} />
</Stack.Navigator>

in Stack.Screen in name field add an extra space at the end like this
<Stack.Screen options={{ headerShown: false }} name="Home " component={Home} />

Expected Results
navigation.navigate("Home") == undefined
Snack, code example, screenshot, or link to a repository:
function App() {
return (

<Stack.Navigator>
<Stack.Screen options={{ headerShown: false }} name="Home" component={Home} />
<Stack.Screen options={{ headerShown: false }} name="Login" component={Login} />
<Stack.Screen options={{ headerShown: false }} name="Detail" component={Detail} />
</Stack.Navigator>

);
}
export default App;
sorry if i waste your time as i said im a noob and this is my first time , forgive me
have good day

Issue should be here : react navigation ?

Thanks and sorry for mistake


json communication from sonalyze is string-only

A bit of friction: The only way the sonalyze formatter knows how to communicate a datum in JSON is as a string.  This is fairly annoying for clients of those data, because it induces a required parsing step that basically can't and won't fail - leading to more verbose code that's slower to read.  Fixing this means making the formatter more complex, on the other hand; that complexity is also not welcome.  But probably worth attempting.

As noted in bug #253, if we start printing numbers instead of strings we need to figure out how to handle illegal numbers: NaN and Infinity.


[ECS] Infra for comprehensive unit tests

Motivation: There are a lot of edge cases we have to handle, and every new line of code we write increases the risk of regressions. Regressions slow down dev time: a perfect example of this is what happened in #189.
Unsolved issues:

[ ] test_client_position is flakey

Test plan
cargo test -p valence_new

That sounds good to me. It's going to be most beneficial if we have good test infra before we start writing tests, so I'm going to work on that here before we merge it in.
These are mostly notes for me:
sequenceDiagram
    actor Alice
    participant socket as TCP Socket
    participant stream as PacketStream
    Alice->>socket: receive bytes
    socket->>stream: buffer_recv
    Client->>stream: try_recv
    stream->>Client: Gets Packet
    Note over Client: Emit events, etc.
    Client->>stream: try_send
    Note over Client,socket: PostUpdate
    stream->>socket: flush_send
    socket->>Alice: send bytes

Actually I just realized it would make more sense to put the semaphore permit in valence_network's impl of PacketStream so it can't be lost.

I've moved mostly everything related to accepting connections into valence_network. There's a few unsolved problems that I might need help with:

what to do with dimensions and biomes?
we need some way to configure a bundle to be added with a client, or defer actually creating the entities to a system in valence.

Because client entities need to also have an Inventory component, and importing valence would be a circular dep tree

Let me lay down a few things just so we're on the same page.

valence_network depends on valence, and not the other way around.
Dimensions and biomes stay in valence.
All of the stuff in byte_channel, connect, and packet_manager goes in valence_network.
Your config.rs in valence_network looks correct.
PlayPacketSender/PlayPacketReceiver can go away.
Within valence we can probably get rid of SharedServer and just merge all the remaining fields into Server.
Here are the fields of Server that should end up in valence_network:

address
connection_mode
compression_threshold (probably needs to be copied in both places)
max_connections
incoming_capacity
outgoing_capacity
tokio_handle
tokio_runtime
new_clients_send
new_clients_recv
connection_sema
rsa_key
public_key_der
http_client

Just a thought: The ability to enable/disable plugins in a general way in the "stageless" rearchitecture of Bevy (coming in the next release) would make a lot of sense for toggleable "Open to LAN" functionality in singleplayer mode. And even in regular servers I could see it being useful too.

From discussion on discord: this valence_network refactor is too complex for me to handle right now, so I'm just going to be adding the PacketStream trait and refactoring to integrate that.

@rj00a This is good info, but I'm not really worried about that right now, because right now this prototype is non-functional. Sorry for not being clear. We can worry about structure and semantics once it's actually working and I'm confident that the API surface for unit tests is sufficient.
Per my DM on discord: My primary concern is with MockPacketStream::collect_sent. The error that prevents this code from compiling is:
error[E0499]: cannot borrow `self.send_dec` as mutable more than once at a time
   --> crates/valence_new/src/packet_stream.rs:189:32
    |
143 | impl<'a> MockPacketStream {
    |      -- lifetime `'a` defined here
...
189 |         while let Ok(packet) = self.send_dec.try_next_packet::<S2cPlayPacket<'a>>() {
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |                                |
    |                                `self.send_dec` was mutably borrowed here in the previous iteration of the loop
    |                                argument requires that `self.send_dec` is borrowed for `'a`

The current situation is that PacketDecoder is set up such that it's impossible to collect S2cPlayPackets up into a Vec. This is necessary in order to make assertions on packet order and to assert for duplicate packets. I have run out of ideas for how to make it work.

Thanks for 04d9588, I'm just going to cherry pick it into this branch for now. Merging looks like it's going to be hell

Some things I'd love to be able to test once this is complete because the entity/chunk code is horribly complicated:

Entity update packets are only sent for entities that are considered loaded by the client.
Chunks are not unloaded twice.
Chunks and entities are unloaded when leaving the client's view.

I've implemented my previous suggestions along with the ClientConnection trait in https://github.com/valence-rs/valence/commit/0b4e9085a32a4d4ac7ba58aa277cc92654785f35 because it was quite a bit more involved than I was imagining.

Sorry about the merge conflicts 😬

There's a couple of weird quirks that I've discovered when working on example_test_open_inventory. And they somewhat harm dev ergonomics for unit tests.

If the client is not assigned an instance as soon as it connects, update_one_client fails the first check, and the client is immediately disconnected.
MockClientHelper is unable to expose collect_sent without doing some lifetime voodoo. (Likely a similar problem as before when collect_sent wouldn't compile.)

And regarding the merge conflicts, it seems like I'm probably going to have to rewrite most of this.

If the client is not assigned an instance as soon as it connects, update_one_client fails the first check, and the client is immediately disconnected.

Perhaps you could wrap up all the initialization boilerplate (create an app, create an instance and client, add client to instance, etc.) in a helper function? Immediately disconnecting the client when not in an instance was a deliberate design choice, but maybe we could afford to be a bit lax there.

I think this is ready to review. I'm happy with the verbosity of the example tests.


We experienced  ~1 minute latency while sending messages to EventHub from the upstream application on 01.04.2021, and it happened for couple of times

Describe the bug
We experienced  ~1 minute latency while sending messages to EventHub from the upstream application on 01.04.2021, and it happened for couple of times.
Code Snippet
Add the code snippet that causes the issue.
eventhubClient.sendSync()
Expected behavior
A clear explanation of why is this not a bug or a feature request?
As per the previous discussion with AZURE support colleague from Microsoft, there was a suggestion came to integrate with the newer azure sdk, azure-messaging-eventhubs 5.3.1 instead of using azure sdk 2.1.0. But that did not yield any visible results.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: Kubenetes
IDE : IntelliJ
Version of the Library used 5.3.1

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[ ] Setup information Added

@conniey PTAL

If you enable the environment variable, AZURE_LOG_LEVEL=2, and then configure a logger that supports slf4j, can you give me some logs for this issue? Do you have a repro?
https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK#configuration-examples

Ok sure, I try to repro that and get some log with this process

Can you reopen this when you have logs? We also fixed many reliability bugs in 5.10.0 which may have contributed to it.


Send StreamMetadata to the Glimesh API

Once we have https://github.com/Glimesh/rtmp-ingest/issues/1 we need to actually send the resulting metadata to the API (if configured).

Completed in https://github.com/Glimesh/rtmp-ingest/commit/848c17996ee2c9d239484a72dbf8dc714471c810
Still missing some attributes but critical ones are in.


How to use svg sprites?

I would like something like that
import Sprite from "../../../public/sprite.svg";

const page = () => {
  return (
    <div>
      <Sprite />

      <svg>
        <use href={`#like`} />
      </svg>

    </div>
  );
};

But this doesn't work

It is not supported.

For anyone encountering the same issue, SVGO removes SVG defs by default. You can override the svgoConfig to make it work.
FYI： https://github.com/svg/svgo/issues/1896#issuecomment-1866798474
vite config example:
import svgr from '@svgr/rollup';

...
  plugins: [
     svgr({
        svgoConfig: {
          plugins: [
            {
              name: 'preset-default',
              params: {
                overrides: {
                  removeHiddenElems: false,
                  cleanupIds: false,
                },
              },
            },
          ],
        },
      }),
 ],
...


Security Issue CVE-2022-22980

I'm willing to use this library in my project, but I'm a bit concerned about this issue:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22980
I discovered it here: https://mvnrepository.com/artifact/com.bol/spring-data-mongodb-encrypt/2.8.0
Is anybody working on it?

No, this library does nothing with @Query or the sorts; it hooks much deeper in spring-data-mongodb, at the point where it serializes/deserializes documents.
As such, the CVE you mentioned has no effect.


chore: bdd-nh-1587996986 to 0.0.1

chore: Promote bdd-nh-1587996986 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


You should be able to edit your data in this mode

JIRA ref: https://cartodb.atlassian.net/browse/CDB-238

We have just received another ticket about it (SB / 3432212).

Hi,
I guess it is my support ticket you refer to, Xatpy. I'd like to stress that we have 48 000+ long table, which is just for one of three territories which are of interest for us, I'm awaiting a doubling of our database when it comes to names, though I might prune it for non-Sami-language place names.

One more time, we've just been asked about this again. :smile:

One more time! @saleiva push? :)

Hi, another user asking for this, S/B: 5454984

@javisantana  what do you think?

There's something that still needs to be done. This how it's working right now:

As a result of this, the UI is a bit inconsistent because the filters haven't been refreshed/updated and we're still seeing a row that shouldn't be there according to the filters. I think a good solution would be to update the filters so that it shows the new value and "enable" it so that the row is not removed from the table.

+1

Agree

Mola, and :+1:

This is now working very good with discrete filters (on string columns):

I found a problem with regular filters (numbers and columns) and I'm working on fixing that now.

Supper dupper!


Snap version doesn't match semgrep version

The snap is currently at version 1.1 but ships semgrep version 1.50.0.
Not sure if this is intended but it is definitely misleading.
To currently check given #4,
$snap run --shell semgrep
root@path$ semgrep --version
1.50.0

Hi @artivis,
Thanks for your proposal! I agree that it can confuse the users. I made the modifications and will release a new version in a couple of minutes.
Thanks 🙌🏿!

@iosifache Thanks for the fixes.
Rather than manually updating the version, I'd suggest to retrieve the version directly from the pip package, something along the lines of,
# Identifier
name: semgrep

# Version of the snap retrieved from the pip package
adopt-info: semgrep

# Base snap
base: core22

# Maturity, either devel or stable
grade: stable

# Minimal access level, with permissions provided by the interfaces above
confinement: strict

# Build and run architectures
architectures:
  - build-on: [amd64]
  - build-on: [arm64]

# A Python part for "proxying" the wheel from PyPi
parts:
  semgrep:
    plugin: python
    source: .
    python-packages:
      - semgrep
    override-build: |
      craftctl default
      version="$(python3 -m pip show semgrep | sed -n 's|^Version: ||p')"
      craftctl set version="$version"

This, coupled with a github action to release the snap, makes this packaging mostly automated.

@artivis, that would be a nice feature! As you already have the code proposal, could you please create a PR with the changes to the snapcraft.yaml file?


chore(main): release faro-shop 0.67.0

:robot: I have created a release beep boop
0.67.0 (2024-11-14)
Features

Bump app to 0.42.3 (#994) (5eab1e9)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

faro-shop-0.67.0
:sunflower:


How to train the basline?

Hi,
Thanks for your great work!
I have a question,how to train the basline?

Hey,
You can turn off location_scale and saliency_balancing_fusion in the comfig/config.yaml by setting them false. Then, you can train the baseline model with the modified config files.

Hi, the resutls on source-only are copied from our baseline CSDG. Compared with CSDG, there are two minor differences, i.e., in_channels (1 v.s. 3) and batch_size (32 v.s. 20). Nonetheless, we also cannot reproduce the results of source-only reported in CSDG. You can try it with CSDG source code. GOOD LUCK!


{dns-resolver} HTML tags are rendering as empty parameter values in reference docs

Describe the bug
Problem to solve:
HTML tags in source code are causing build warnings in MicrosoftDocs/azure-docs-cli. More importantly, customer-facing reference docs are not instantiating properly -- parameter values formatted with `<>` are missing. Here's an example:

Requested solution:
These values should be escaped with a backtick. Here's an example from az webpubsub.

Related GitHub issues:
This is the same issue as these GitHub issues.
List of HTML tag instances that need update:

File name
Build error

latest/docs-ref-autogen/dns-resolver/vnet-link.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/dns-resolver/vnet-link.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

Related command
az dns-resolver
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Azure CLI 2.62.0
Additional context
No response

Thank you for opening this issue, we will look into it.


run error when add --tor

[14:01:42] Initializing CloudFail - the date is: 13/10/2020
Traceback (most recent call last):
  File "/root/CloudFail/socks.py", line 729, in connect
    _BaseSocket.connect(self, proxy_addr)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/local/lib/python3.6/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
  File "/root/CloudFail/socks.py", line 740, in connect
    raise ProxyConnectionError(msg, error)
socks.ProxyConnectionError: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.6/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 976, in send
    self.connect()
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd1c825b208>: Failed to establish a new connection: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests-2.24.0-py3.6.egg/requests/adapters.py", line 449, in send           timeout=timeout
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/dist-packages/urllib3/util/retry.py", line 399, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='canihazip.com', port=80): Max retries exceeded with url: /s (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd1c825b208>: Failed to establish a new connection: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cloudfail.py", line 293, in <module>
    tor_ip = requests.get(ipcheck_url)
  File "/usr/local/lib/python3.6/dist-packages/requests-2.24.0-py3.6.egg/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests-2.24.0-py3.6.egg/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests-2.24.0-py3.6.egg/requests/sessions.py", line 530, in request        resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests-2.24.0-py3.6.egg/requests/sessions.py", line 643, in send           r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests-2.24.0-py3.6.egg/requests/adapters.py", line 516, in send           raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='canihazip.com', port=80): Max retries exceeded with url: /s (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd1c825b208>: Failed to establish a new connection: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cloudfail.py", line 300, in <module>
    print(e, net_exc)
NameError: name 'net_exc' is not defined

check your local SOCKS5 proxy on <IP_ADDRESS>:9050, it is probably not listening / running.

I need help I think my socket not working can u help


tpl: Fix Unix time test case in TestDateFormat()

Fixes #2855

@anthonyfok wouldn't it be easier if you moved to a compatible time zone?

@bep, the problem is that dateFormat will always return a string based on time.Local when converting Unix epochs (thanks to time.Unix()).  I scratched my head for a while trying different ideas, but there's not really anywhere to alter what dateFormat is doing.  Anthony's PR is a simple fix that should pass in any location.

@moorereason It was a joke! (reminder to self: Put smilies after jokes)


How to run it properly with Intel CPU

What is the best way to run on macOS on intel CPUs, but still want to use Metal
There are multiple cases

only CPU no GPU
very small memory integrated GPU
default AMD GPU ( they also have less memory in general )
external GPU

how can we select which GPU to use?
in many cases there is no unified memory. how to work in those cases?

It can be successfully run on Intel GPU if https://github.com/liuliu/ccv/blob/unstable/lib/nnc/mps/ccv_nnc_mps.m#L169 StorageMode all changed from Shared to Private.

Thanks  a lot
what about selecting GPU?, if i have both Intel GPU and AMD GPU

I don't own these machines so I don't think we solved that. It should be how you associate with MTLDevice, but right now, we associate with whatever default is: https://developer.apple.com/documentation/metal/mtldevice and don't do any enumeration. We can do that and then it will just be like how we work with CUDA GPUs (the index for GPU). BTW, if you have any other questions, feel free to reach out to me at<EMAIL_ADDRESS>

Okay thanks a lot

ERROR: /private/var/tmp/_bazel_samantha/4f6a78530e36bdde0cc1fcfc9213482e/external/local_config_cc/BUILD:48:19: in cc_toolchain_suite rule @local_config_cc//:toolchain: cc_toolchain_suite '@local_config_cc//:toolchain' does not contain a toolchain for cpu 'darwin_x86_64'
I get this error, when building with MPS.

https://github.com/liuliu/ccv/commit/8c745f2a4b19a750a22cab093d9a6094456a4260
What to you mean by partially working. what all is not working?

I get this error if i compile it on Intel and run it.
-[MTLHeapDescriptorInternal validateWithDevice:]:335: failed assertion Heap Descriptor Validation
Placement heap type is not supported.`

Try to update to the latest s4nnc. The issue is that CPU & GPU Shared buffer type not support for MTLHeap on Intel. Latest s4nnc / ccv combo changed that to Private for x86 chips (that's how we support Intel experimentally in DT).

liuliu/ccv@8c745f2
What to you mean by partially working. what all is not working?

Float16 is not working. Also, it still doesn't work within simulator for unknown reasons.

Yeah, basically this line: https://github.com/liuliu/ccv/commit/8c745f2a4b19a750a22cab093d9a6094456a4260#diff-f95a613d81a5aa4e357a86d8b20fcf4e9b12ef67b6ce586195e3e58471f10812R129

Maybe check what's the version of the OS? I only tested it with Ventura.

Yeah, i am getting the -[MTLHeapDescriptorInternal validateWithDevice:]:335: failed assertion
i am on Monterey. and i wanted to test it from MacOS 11.0 to 13.2

Thanks. But Ventura worked? Yeah, it might be related to how we use MTLHeap type placement. Unfortunately, I don't have an easy solution as our internal memory allocation algo relies on this property (we can place MTLBuffer at our own given offset on MTLHeap).

Have not tested it with Ventura.
I also tried running DrawThings with Intel Monterey, and it crashes with MTLHeap error in sdterror.
Maybe you could try creating a VM and testing it with macOS 12.5.

do you think just this line : https://github.com/liuliu/ccv/commit/8c745f2a4b19a750a22cab093d9a6094456a4260#diff-f95a613d81a5aa4e357a86d8b20fcf4e9b12ef67b6ce586195e3e58471f10812R129
and no changes in pagesize etc, could work?

These changes shouldn't be relevant though. The page size mainly to fix in simulator, PAGE_SIZE macro is from iPhoneOS header, so it is 16K while the actual page size is from the OS, which is 4K (and should get the correct one from the global variable).
Let me know if macOS 13.x worked for you, and we can look into what exactly is not supported on macOS 12.x if this is confirmed.

I dont have 13.x right now. i will maybe try it on aws or something in the future.
I tried some dumb things like replacing "ModeShared" to "ModePrivate" in all code.
that gives this error:
-[MTLIOAccelBuffer initWithDevice:pointer:length:options:sysMemSize:vidMemSize:args:argsSize:deallocator:]:105: failed assertion `storageModePrivate incompatible with ...WithBytes variant of newBuffer'
why do some parts still use ModeShared? :
https://github.com/liuliu/ccv/blob/8c745f2a4b19a750a22cab093d9a6094456a4260/lib/nnc/mps/ccv_nnc_mps.m#L161

what are the potential things causing this not working in 12.x?

I used MTLHeapTypeAutomatic and that error goes away.
Any idea why thats the case?

My understanding is MTLHeapTypePlacement with Intel Mac is not supported in 12.x. I actually remember testing that now.
MTLHeapTypeAutomatic probably won't be what you want since it might have errors (or silent issues) because we cannot specify offset for heap allocation any more.

Okay, then what is the solution?
How to run it on Intel 12.x?
If it is not possible, probably you should mention drawthings.ai site, that it does not work witn 12.x

I think it still works with Apple Silicon 12.x. But I need to double-check. The problem is I don't have access to these machines any more (all my machines upgraded to 13.x).

Yes it works with Apple Silicon, but not with Intel 12.x . Is there any way it would work with 12.x on Intel?

I think it is a driver level thing. It may be possible to use Automatic, but need to think through how exactly (we rely on allocating a heap and then all reuses are through Placement offset at the same offset).

I was testing it on Ventura with Intel. That also has some errors.
To fix those i replaced all MTLResourceStorageModeShared with MTLResourceStorageModePrivate
Now it works fine if I dont load weights to the model. But if i load weights to the model, then i get this error:
-[MTLIOAccelBuffer initWithDevice:pointer:length:options:sysMemSize:vidMemSize:gpuAddress:args:argsSize:deallocator:]:119: failed
 assertion `storageModePrivate incompatible with ...WithBytes variant of newBuffer'

Yeah, my understanding is that to load weights, we have to use Shared. Are you using a Intel Mac with discrete card? The a few places we do Shared is basically for copying data over.

I am running it on the AWS dedicated host. Its expensive AF, so i am trying to resolve the issues ( atleast on Ventura ) ASAP.
If i dont do shared everyday, I get this error.
-[MTLIOAccelHeap newSubResourceAtOffset:withLength:alignment:options:]:256: failed assertion `The requested storage mode (MTLStorageModeShared) is not compatible with the heap's mode (MTLStorageModePrivate)'

Yeah, it works now, i had to replace all ModeShared with ModePrivate, except mem copy. now it works.

If you can share your diff, that would be great! I thought all the ModeShared are gated to be ModePrivate when it is x86, am I missing anything?

@@ -13,6 +13,14 @@
 #import <sys/utsname.h>
 #import <sys/mman.h>

+
+#ifdef __x86_64__
+   #define MTL_RESOURCE_STORAGE_MODE MTLResourceStorageModePrivate
+#else
+   #define MTL_RESOURCE_STORAGE_MODE MTLResourceStorageModeShared
+#endif
+
+
 id<MTLDevice> ccv_nnc_default_device(void)
 {
    static dispatch_once_t once;
@@ -149,11 +157,11 @@ void mpheapfree(int device, void* ptr)

 void* mpobjmalloc(int device, size_t size)
 {
-   id<MTLBuffer> buffer = [ccv_nnc_default_device() newBufferWithLength:size options:MTLResourceStorageModeShared];
+   id<MTLBuffer> buffer = [ccv_nnc_default_device() newBufferWithLength:size options:MTL_RESOURCE_STORAGE_MODE];
    if (buffer == nil)
    {
        mptrigmp();
-       buffer = [ccv_nnc_default_device() newBufferWithLength:size options:MTLResourceStorageModeShared];
+       buffer = [ccv_nnc_default_device() newBufferWithLength:size options:MTL_RESOURCE_STORAGE_MODE];
        assert(buffer != nil);
    }
    return (void*)buffer;
@@ -168,13 +176,13 @@ void mpobjfree(int device, void* ptr)
 void* mpobjcreate(void* ptr, off_t offset, size_t size)
 {
    id<MTLHeap> heap = (id<MTLHeap>)ptr;
-   MTLSizeAndAlign sizeAndAlign = [ccv_nnc_default_device() heapBufferSizeAndAlignWithLength:size options:MTLResourceCPUCacheModeDefaultCache | MTLResourceStorageModeShared];
+   MTLSizeAndAlign sizeAndAlign = [ccv_nnc_default_device() heapBufferSizeAndAlignWithLength:size options:MTLResourceCPUCacheModeDefaultCache | MTL_RESOURCE_STORAGE_MODE];
    assert(offset % sizeAndAlign.align == 0);
-   id<MTLBuffer> buffer = [heap newBufferWithLength:sizeAndAlign.size options:MTLResourceCPUCacheModeDefaultCache | MTLResourceStorageModeShared offset:offset];
+   id<MTLBuffer> buffer = [heap newBufferWithLength:sizeAndAlign.size options:MTLResourceCPUCacheModeDefaultCache | MTL_RESOURCE_STORAGE_MODE offset:offset];
    if (buffer == nil)
    {
        mptrigmp();
-       buffer = [heap newBufferWithLength:sizeAndAlign.size options:MTLResourceCPUCacheModeDefaultCache | MTLResourceStorageModeShared offset:offset];
+       buffer = [heap newBufferWithLength:sizeAndAlign.size options:MTLResourceCPUCacheModeDefaultCache | MTL_RESOURCE_STORAGE_MODE offset:offset];
        assert(buffer != nil);
    }
    [buffer makeAliasable];
@@ -203,10 +211,10 @@ @implementation MTLFileBackedBuffer
        madvise(bufptr, size, MADV_SEQUENTIAL | MADV_WILLNEED);
        if (ccv_nnc_flags() & CCV_NNC_DISABLE_MMAP_MTL_BUFFER)
        {
-           obj = [[ccv_nnc_default_device() newBufferWithBytes:bufptr length:size options:MTLResourceCPUCacheModeDefaultCache | MTLResourceStorageModeShared] autorelease];
+           obj = [[ccv_nnc_default_device() newBufferWithBytes:bufptr length:size options:MTLResourceCPUCacheModeDefaultCache | MTL_RESOURCE_STORAGE_MODE] autorelease];
            munmap(bufptr, size);
        } else
-           obj = [[ccv_nnc_default_device() newBufferWithBytesNoCopy:bufptr length:size options:MTLResourceCPUCacheModeDefaultCache | MTLResourceStorageModeShared deallocator:^(void *ptr, NSUInteger len) {
+           obj = [[ccv_nnc_default_device() newBufferWithBytesNoCopy:bufptr length:size options:MTLResourceCPUCacheModeDefaultCache | MTL_RESOURCE_STORAGE_MODE deallocator:^(void *ptr, NSUInteger len) {
                munmap(ptr, len);
            }] autorelease];
    }

You probably missed some commits :) https://github.com/liuliu/ccv/blob/unstable/lib/nnc/mps/ccv_nnc_mps.m#L153


Changing the position of a Path2D does not properly update the position of PathFollow2D nodes

Godot version:

3.0.5
Issue description:

Here's an image to show what I mean: https://i.imgur.com/OkT3h2D.png
The red dots are the ACTUAL positions of the path followers (they have random v and h offsets).
The blue line is the path with its position currently set to (-16, 0).
The magenta line is the original path position.
The frogs are shown at the correct place but their actual positions are the original points of the path, instead of the points + position.

I've recently observed that moving the path in the editor doesn't update the positions of the PathFollow2D nodes until their offsets are changed individually.

@Calinou I recall your fine work polishing to the curves tool recently, have you noticed this by chance?  Wondering if I'm missing something...

@avencherus I didn't test PathFollow2D while working on the curve editor, so I don't know.

Still valid in 3.2.3

Noticed that get_baked_points() returns original world coordinates, not considering Path2D transform position.

Trianle is moving by this code
func _ready():
	points = get_node("/root/Node2D/Path2D").curve.get_baked_points()

func _physics_process(delta):
	var target = points[target_index];
	if position.distance_squared_to(target) < 10:
		target_index = posmod(target_index + 1, points.size())
		target = points[target_index]
	linear_velocity = (target - position).normalized() * speed

Any idea how to fix this, or is there any workaround? I really need this for a project, in which I move around the parent of the Path2D which seems to totally displace and misform the path I created.

If you are able to compile the engine, make a custom build with #43399 included.

Sadly I am not that of an advanced of an programer, so that is kinda out of my reach at this point. I will try to get a workaround to work tho, as I really need that. Thx for ur help anyways!


fix: #9 lib like Picasso cause relayout in loop

Implements solution from Eric Silverberg
https://github.com/Diolor/Swipecards/issues/9#issuecomment-71345256

@Diolor Any chance of merging this? It would provide a massive performance boost!
Thanks

Hey guys, took me a while but this is merged on the 1.0.9.


BUG: BiasOp/BiasGradOp causes AMD GPU driver crash

System Info
  Name:						 Hawaii
  Vendor:					 Advanced Micro Devices, Inc.
  Device OpenCL C version:			 OpenCL C 2.0
  Driver version:				 1912.5 (VM)
  Profile:					 FULL_PROFILE
  Version:					 OpenCL 2.0 AMD-APP (1912.5)
  Extensions:					 cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_gl_depth_images cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes

ComputeCpp 0.2.1
To reproduce
bazel test --config=sycl --local_test_jobs=4 -k --test_lang_filters=cc,py --action_env=LD_PRELOAD=/usr/lib/libOpenCL.so.1  --runs_per_test=10 --test_timeout 300,750,1200,3600 //tensorflow/contrib/slim/python/slim/nets:inception_v1_test

Error
Above command _can_ cause AMD driver to crash. After the crash not even clinfo responses with any information.
The machine affected needs to be re-booted.

This looks like it's resolved now that MaxPool is running on SYCL devices. I've run the Inception test 1000 times over the weekend and had no problems.
I'm not sure why forcing BiasOp to run on the CPU was fixing this problem, but having BiasOp run on SYCL was not the cause of the problem. I ran the Inception model times without any of the bias_add nodes and it would still cause the crash.

That seems to be resolved along the way.


How to proceed when Azure DNS and AFD in different subscriptions with different Azure AD

I can't see the AFD in the subscription where DNS lives for the reasons stated above. How might I proceed ? Thanks.

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

ID: 02772612-08a7-06a1-f0ca-d6d8c5de3ed7
Version Independent ID: 97b248ee-d8e4-901c-c399-e5b75b9f8236
Content: Onboard a root or apex domain to an existing Front Door - Azure portal
Content Source: articles/frontdoor/front-door-how-to-onboard-apex-domain.md
Service: frontdoor
GitHub Login: @sharad4u
Microsoft Alias: sharadag

@golfalot ,  We are looking into this query and will update you as soon as possible.

@golfalot , Appreciate your patience. From your Azure DNS zone you can create a DNS record that CNAMEs to any domain, whether it’s of another Azure resource in another subscription, or even outside of Azure. Also, you can add a custom domain name to Azure resources where the custom domain name is a DNS zone (even in another subscription).


[Breaking change]: Regex.CompileToAssembly is marked as Obsolete with diagnostic id SYSLIB0037

Description
The Regex.CompileToAssembly API has been marked as Obsolete. References to this API will now produce diagnostic ID SYSLIB0037.  See https://github.com/dotnet/runtime/pull/59734 for the change.
Version
Other (please put exact version in description textbox)
Previous behavior
Version: .NET 7 Preview 1
In all versions of .NET Core as well as .NET 5 and .NET 6, this API would threw PlatformNotSupportedException. In .NET Framework, this API allowed a regular expression instance to be compiled into an assembly.
New behavior
References to this API will result in a build warning; the diagnostic ID reported is SYSLIB0037.
Type of breaking change

[ ] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
[X] Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.

Reason for change
This functionality will not be carried forward into .NET. Instead, .NET 7 is introducing a Regular Expression Source Generator that can be invoked using the RegexGeneratorAttribute feature.
Recommended action
Use the RegexGeneratorAttribute feature, which invokes a regular expression source generator, allowing for compile-time production of an API specific to a regular expression pattern and its options.
Feature area
Core .NET libraries
Affected APIs

System.Text.RegularExpressions.Regex.CompileToAssembly

@jeffhandley This is actually SYSLIB0036, not 0037, correct?

Great catch, @gewarren. You're correct. I've updated the title and issue description to reflect that.


Issue with DataFrame.rename and the columns named argument

Environment data

Language Server version: 2020.6.1
OS and version: Windows 10.1903
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.7
Pandas version: 1.0.5

Expected behaviour
When using df.rename() and passing columns as a named argument, no error is raised as this is per the documentation:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.rename.html
Actual behaviour
Pylance shows an error saying no parameter named "columns". I've recreated the issue in the code below. It seems to have something to do with using groupby which leads Pylance to believe the DataFrame is a Series object

Code Snippet / Additional information
import pandas as pd

df = pd.DataFrame({'col1': ['a', 'b', 'b', 'd'], 'Data': [1, 2, 3, 4]})
print(df)
df = df.groupby('col1').last().reset_index()
print(df)

df.rename(columns={'Data': 'Test'}, inplace=True)
print(df)

Thanks for the bug report.
@gramster, this looks like a bug in the pandas type stub?
As for the error, I've changed the diagnostics related to argument/parameter matching to be suppressed when type checking mode is disabled. This change will be in the next version of Pylance.

Yes, that stub is an older one from when a single scaler ‘by’ argument
would return a SeriesGroupBy. That is no longer true and the overload
should be removed. Will fix it tomorrow.
On Tue, Jul 7, 2020 at 9:41 PM Eric Traut<EMAIL_ADDRESS>wrote:

Thanks for the bug report.
@gramster https://github.com/gramster, this looks like a bug in the
pandas type stub?
As for the error, I've changed the diagnostics related to
argument/parameter matching to be suppressed when type checking mode is
disabled. This change will be in the next version of Pylance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/pylance-release/issues/71#issuecomment-655279406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVCPCBVZS4I4H3DJBXUGDDR2P2HZANCNFSM4OUEM73A
.

Pylance also infer the below code incorrectly:
import pandas as pd

df = pd.DataFrame({"a": [1, 2, 3]})
print(df.fillna("")) # Error: No overloads for "df.fillna("")" match parameters

Some functions have no intelligent suggestions in Pandas.  For example  :
import pandas as pd
frame=pd.DataFrame()

@gramster, this looks like a bug in the pandas type stub. The __init__.pyi stub is importing DataFrame, but it's not re-exporting it in the top-level namespace for the pandas module.
To re-export a symbol from a type stub, you need to use the "as" syntax (as per PEP 484). Something like this...
from .core import DataFrame as DataFrame

That's #13.

This issue has been fixed in version 2020.7.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202070-9-july-2020


New version web-proxy-useracl.

The active tab seems to be "Lists" but it load HTTP access from rules?

The Apply button looks a bit misplaced and most lists only display description but not content in volt.

@kekek2 Is this the new version you are talking about here

This is still an old version.

This is still an old version.

Okay. If you have time to work on this, i would be happy to help you!
Such a feature is extremely needed.

@kekek2 Plugin broken in 20.7. I was using code from your useracl2 branch. Are you still working on it?

Yes, I'm still working on it.

I am glad to hear it. Can you share source code or give pkg? :)
Get Outlook for Androidhttps://aka.ms/ghei36

From: Alexander Shursha<EMAIL_ADDRESS>Sent: Monday, August 10, 2020 7:19:42 PM
To: opnsense/plugins<EMAIL_ADDRESS>Cc: Petr Kejval<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [opnsense/plugins] New version web-proxy-useracl. (#1115)
Yes, I'm still working on it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/opnsense/plugins/pull/1115#issuecomment-671482398, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALOKP44M3OG2URTKBPK5X43SAAT25ANCNFSM4GMZLSRQ.

All right, I'll do it.

All right, I'll do it.

@kekek2 Any progress on sharing code? :)


Belinda_Androis_Sprint_2_Fix_Duplicate_Text

Fixe the duplicate description bug in the update product page.
The is the origin page with bug

Here is now the update page with bug fixed

Looks Great! I tested this and the duplicate text has been removed. Good job!


Select Server CI

When adding a task "Latest Version"  or "Deploy" the dropdown box for selecting the Server CI is empty.
XLR 4.7.1
xlr-xldeploy-plugin 1.1.5

Did you define/create an XLD server under Settings - Configuration?

Yes, I have multiple xld servers defined and they are being used in releases

Oke, I read your reply too fast.
I had already defined XLD servers, under Settings->XLD servers. But I need to redefine them under Settings->Configuration. Thanks!


updating to 1.12 GA, worker+manager are parameters

@arun-gupta LGTM. Can you sign the PR? https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work


For #13116: fix serialization issues.

Convert AnyDictionary to dict to avoid JSON serialization issues when calling sg.find
Note: we use .metadata all over the place, and this fixes the problem at hand, but I'm worried about this being an issue whenever the data returned from our classes etc is used for querying SG.
Not sure what the best approach is to wrap everything.

Not approving because the very first thing which should have been done is writing tests to reproduce the problem, and then fixing it. It looks as well that the fix should be with X.metadata so it is a regular dict, or JSON serialisable instead of patching things everywhere?

hey @gplsteph, there are tests in place, lines modified are already covered by tests normally (as reported by codecov).
We use X.metadata all over the place, and the problem is that even if you do something like metadata = dict(X.metadata) that does not work, because nested dictionaries will be AnyDictionaries too.
I tried to figure out a way of changing this (serialization, type of metadata) without disrupting the code too much, but I did not find any solution. Like I said in the description, "Not sure what the best approach is to wrap everything."
If you have any ideas I'm all ears.

@gplsteph I updated mockgun in the tests, so now without my modifications some tests fail, and with it they pass. Not sure how to centralize the serialization of metadata, if you have an idea please let me know.

Should the fix actually be in otio? Where are defined those AnyDictionary?


MAINT: Use platform.python_implementation to determine IS_PYPY

I noticed this in a test and it seems less hacky.
https://docs.python.org/3/library/platform.html#platform.python_implementation
After this change these are the mentions of to 'PyPy' in non c/cxx files
$ grep -ri --exclude={*.c,*.cxx} 'pypy' scipy
scipy/_lib/tests/test__gcutils.py:                                 ReferenceError, IS_PYPY)
scipy/_lib/tests/test__gcutils.py:@pytest.mark.skipif(IS_PYPY, reason="Test not meaningful on PyPy") (4 copies)
scipy/_lib/_gcutils.py:IS_PYPY = python_implementation() == 'PyPy'
scipy/_lib/_gcutils.py:    This check is not available on PyPy.
scipy/_lib/_gcutils.py:    if IS_PYPY:
scipy/_lib/_gcutils.py:        raise RuntimeError("assert_deallocated is unavailable on PyPy")
scipy/interpolate/tests/test_interpolate.py:from scipy._lib._gcutils import assert_deallocated, IS_PYPY
scipy/interpolate/tests/test_interpolate.py:    @pytest.mark.skipif(IS_PYPY, reason="Test not meaningful on PyPy")
scipy/integrate/_quad_vec.py:        # occurs on pypy
scipy/io/tests/test_netcdf.py:from scipy.io.netcdf import netcdf_file, IS_PYPY
scipy/io/tests/test_netcdf.py:            # Using mmap is the default (but not on pypy)
scipy/io/tests/test_netcdf.py:            assert_equal(f.use_mmap, not IS_PYPY)
scipy/io/tests/test_netcdf.py:            if IS_PYPY:
scipy/io/tests/test_netcdf.py:    if not IS_PYPY:
scipy/io/matlab/mio5.py:        # NumPy scalars are never mappings (PyPy issue workaround)
scipy/io/netcdf.py:IS_PYPY = python_implementation() == 'PyPy'
scipy/io/netcdf.py:                # Mmapped files on PyPy cannot be usually closed
scipy/io/netcdf.py:                mmap = (not IS_PYPY)
scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py:from scipy._lib._gcutils import assert_deallocated, IS_PYPY
scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py:@pytest.mark.skipif(IS_PYPY, reason="Test not meaningful on PyPy")
scipy/sparse/linalg/isolve/tests/test_lgmres.py:    @pytest.mark.skipif(python_implementation() == 'PyPy',
scipy/sparse/linalg/isolve/tests/test_lgmres.py:                        reason="Fails on PyPy CI runs. See #9507")
scipy/spatial/tests/test_kdtree.py:@pytest.mark.skipif(python_implementation() == 'PyPy',
scipy/spatial/tests/test_kdtree.py:                    reason="Fails on PyPy CI runs. See #9507")
scipy/spatial/qhull.pyx:        # call PyObject_GetAttrStr(self, "close") which on Pypy

test failure is from timeout.

Thanks @sethtroisi


Show device information on vulnerability screen

Since people are using this to screenshot things, it would be nice to get build version, kernel version, device model, etc.. and show it on screen along with the device vuln info.

:+1:

This is done!


setup: update readme & upload to pypi

Codecov Report

Merging #42 into master will decrease coverage by 0.75%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   78.08%   77.32%   -0.76%
==========================================
  Files         100      101       +1
  Lines        2788     2726      -62
==========================================
- Hits         2177     2108      -69
- Misses        611      618       +7

Impacted Files
Coverage Δ

py_hcl/compile/__init__.py
0% <0%> (ø)

py_hcl/core/expr/convert.py
68.75% <0%> (-4.94%)
:arrow_down:

py_hcl/core/expr/or_.py
54.16% <0%> (-4.33%)
:arrow_down:

py_hcl/core/expr/and_.py
54.16% <0%> (-4.33%)
:arrow_down:

py_hcl/core/expr/xor.py
54.16% <0%> (-4.33%)
:arrow_down:

py_hcl/core/stmt/error/__init__.py
72.72% <0%> (-4.2%)
:arrow_down:

py_hcl/core/expr/error/__init__.py
72.72% <0%> (-4.2%)
:arrow_down:

py_hcl/core/stmt/connect.py
51.85% <0%> (-3.83%)
:arrow_down:

py_hcl/core/expr/add.py
66.66% <0%> (-3.15%)
:arrow_down:

py_hcl/core/expr/__init__.py
74.28% <0%> (-2.04%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c73b6f...a6640c9. Read the comment docs.


[Question] Is local cache realy a filesystem cache?

The documentation says that the local cache uses the filesystem, but I can't the filesystem call in the code. As far as I understand github.com/leprosus/golang-ttl-map is a in memory map that is used as local cache. So is it possible that the documentation is wrong and the local cache is an in memory cache?

Hello @trunneml,
You are right.
We will clarify that.


full_app_name and full_setting_name  for additional filters in DEFAULTS context

It is not possible yet, because defaults are inside of type initiation, and type initiation does not know anything about the name of the setting itself


Double check non-wear time detection edges

Sometimes, mainly when long time gaps have been imputed, the nonwear time detection gets compromised, and the period of time prior the transition from nonwear to wear time seems to be misclassifed as wear. For example:

Proposed solution
After the nonwear detection, the edges of the identified nonwear periods could be double checked for additional windows of nonwear. In this double check, GGIR could look whether the sdcriter is met in 2/3 axes within window2 (long epoch size, default 15 min) instead of within window (default 60 min).

As discussed, it would also be good to then use this moment to review the vignette paragraph about nonwear detection https://cran.r-project.org/web/packages/GGIR/vignettes/GGIR.html#53_Non-wear_detection
and where necessary expand/improve it.

Yes, this was my plan for this:
1. Investigate if we can increase speed of nonwear detection
Regarding this, I have investigated some alternatives to the for loops for the clipping and nonwear detection:

sapply: it gets around 5% faster using sapply instead of for loops (but code is more difficult to read, maybe just for me)
vapply: marginally better than sapply.
data.table package: I am getting problems to aggregate the data using overlapping windows with the data.table package.

2. Write unit tests for the new version of the algorithm
3. Extend documentation and vignettes
Should I invest more time in improving speed or should we go ahead with the for loops for now? If so, I will write a unit test and then improve documentation/vignettes.

Should I invest more time in improving speed? If so, do you have any other suggestion? Or should we go ahead with the for loops for now? If so, I will write a unit test and then improve documentation/vignettes.

The algorithm has not become slower because of this enhancement, so let's skip this. I think we should consider this as part of a more general review of GGIR speed later this year.


Update stable version in repo from 2.13.5 to 2.13.6

Think about update stable version to 2.13.6
Version: stable=2.13.5 (53 days old) => latest=2.13.6 (15 days old)
Installs: stable=669 (27.74%), latest=144 (5.97%), total=2412
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

Is there any reason to delay updating stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 16.4.2024 we could decide to update anyway.


add superset version

This PR adds a version object to the superset package.
https://www.python.org/dev/peps/pep-0396/
@john-bodley @michellethomas   @mistercrunch

I’m not certain we need this as the version is specified in the node package.json file.

I see. It's a pattern I've seen across most python packages and the PEP recommends it.
Do I link the config file to the value set in the package.json file?

Codecov Report

Merging #5988 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5988      +/-   ##
==========================================
+ Coverage    63.5%   63.55%   +0.04%
==========================================
  Files         393      393
  Lines       23654    23655       +1
  Branches     2638     2638
==========================================
+ Hits        15022    15033      +11
+ Misses       8619     8609      -10
  Partials       13       13

Impacted Files
Coverage Δ

superset/__init__.py
73.59% <100%> (+0.21%)
:arrow_up:

superset/connectors/sqla/models.py
81.13% <0%> (+0.75%)
:arrow_up:

superset/db_engine_specs.py
55.7% <0%> (+0.87%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 458b2b5...b268c31. Read the comment docs.


ImportError undefined symbol: xmlSecCryptoAppKeysMngrCertLoad

ImportError: /data/wwwroot/powerdns-admin/flask/lib64/python3.6/site-packages/xmlsec.cpython-36m-x86_64-linux-gnu.so: undefined symbol: xmlSecCryptoAppKeysMngrCertLoad
centos8

Hello,
I've run the setup for CentOS 7 inside a CentOS 8 container successfully.
Regards

Hello,
This request is stale for too long. Regarding our policy to cleanup this project, we are closing it. Feel free to open a new issue later if you still encounter this problem.
Regards
PowerDNS Admin Team
See #1153 for the policy