Some questions about FLIR Dataset

Thank you for your brilliant work, but I have some questions:
(1) As far as I know, the image pairs in the FLIR Dataset dataset are not aligned, how could you calculated the MACE without groundtruth?
(2) In your paper, you said "To test this vulnerability we compare Zhang et al. [44] method with the original and our biHomE loss on FLIR Dataset [7] preprocessed similar to S-COCO."  Could you please provide a more detailed description about this process?
(3) I try to replace the original FLIR dataset with the manually registered dataset (https://github.com/StaRainJ/road-scene-infrared-visible-images), but only the Zeng + Orig strategy can successfully train (maybe because there are too few training data, MACE is only 13 in test data), and the networks of other unsupervised methods cannot converge (loss does not decline, and the value is abnormally large).
I'm confused about how the FLIR experiment in your paper works....

Hi @YankeesMolex ,

The S-FLIR Dataset is constructed exactly the same way as the S-COCO dataset: we take a single image, randomly perturb it and those two images are the input to the model and since we created this perturbation by ourselves, we exactly know the gt homography matrix. The process is described in detail in DeTone's paper in section 3: DATA GENERATION FOR HOMOGRAPHY ESTIMATION. You can find this implemented here: here.
The reason I wanted to test biHomE on the FLIR Dataset is that the images look vastly different than the normal RGB images the loss network was trained on. But as shown in the paper, it turned out that ResNet34 trained on ImageNet can generalize so well, that it can be used as a loss network even for OOD datasets like FLIR. But please note, that here both training and testing images were produced synthetically as described in point 1.
Zeng is a heavily supervised approach -- it gets gradients for each pixel and maybe that is the reason why it is working in your case. But, in general, you're trying to solve multimodal registration, which is a very different problem than stated in the biHomE paper, where both input images were the same modality. It is highly likely that you can't just take an off-the-shelf feature extractor and use it as a loss network because the corresponding points won't have the same or very similar feature representation. I think it is still possible to use biHomE-like loss, but you definitely would have to unfreeze it and maybe play around with the architecture a bit.

Best,
Daniel

Hi Daniel,
Thank you for your reply.
I still confused about how the data is generated.
If the original data of the infrared-visible images have been aligned, I can indeed obtain two images and their GT homology matrix by applying random perturb to one of the images. However, as shown in the figure below, the original images in the FLIR dataset are not aligned, so the homology matrix between images or image patchs can not be obtained in any case. Is this correct?

Hi @YankeesMolex ,
However, as shown in the figure below, the original images in the FLIR dataset are not aligned, so the homology matrix between images or image patchs can not be obtained in any case. Is this correct?

Yes, exactly. Homography can be used for image registration only in two cases: the scene is planar or the camera undergoes rotational movement. Here, both assumptions are violated (AFAIK), thus using tomography to align those images will always give you registration artifacts.
Best,
D

Hi Daniel,
Thank you for your reply. I still confused about how the data is generated. If the original data of the infrared-visible images have been aligned, I can indeed obtain two images and their GT homology matrix by applying random perturb to one of the images. However, as shown in the figure below, the original images in the FLIR dataset are not aligned, so the homology matrix between images or image patchs can not be obtained in any case. Is this correct?

Hi,I also want to implement pixel registration on FLIR data. Can this method  reach a rough alignment without considering MACE?

Hi Daniel,
Thank you for your reply. I still confused about how the data is generated. If the original data of the infrared-visible images have been aligned, I can indeed obtain two images and their GT homology matrix by applying random perturb to one of the images. However, as shown in the figure below, the original images in the FLIR dataset are not aligned, so the homology matrix between images or image patchs can not be obtained in any case. Is this correct?

Hi,I also want to implement pixel registration on FLIR data. Can this method reach a rough alignment without considering MACE?

Hi @448357739,
I believe this method doesn't suitable for the rough alignment because it will get a bad result with severe geometric distortion. Perhaps a new network architecture should be proposed for rough alignment? Since there is no way to get stable rough alignment registration results in the FLIR dataset, as far as I know.

@YankeesMolex  Thank u.Do you mean that this method is feasiblewhen the multi-modal images are aliged? As far as I know, the aliged visible and infrared dataset can be LLVIP and TARDAL.  But I think that the data distribution of cross-modal data is different, and it is difficult to establish connections between the backgrounds, which is very difficult to match.

Hi @448357739 , @YankeesMolex ,

Hi, I also want to implement pixel registration on FLIR data. Can this method reach a rough alignment without considering MACE?

I think it could work for initial rough alignment, but for sure you would have to unfreeze the loss network here: https://github.com/NeurAI-Lab/biHomE/blob/main/src/heads/PerceptualHead.py#L36. However, still using images from the same modality is preferred.
Best,
D

I think it could work for initial rough alignment, but for sure you would have to unfreeze the loss network here: https://github.com/NeurAI-Lab/biHomE/blob/main/src/heads/PerceptualHead.py#L36. However, still using images from the same modality is preferred.
Best, D

Thank you. I will try it.


Asp.NetCore 2.0 RazorPages - ArgumentNullException on ActionDescriptor.Parameters in GetCustomizations

Using 7.2.0-beta1 packages or latest from master, validation on .Net Core 2.0 RazorPage throws ArgumentNullException.  Looks like this is because ActionDescriptor.Paramters is null when using [BindProperty].
private CustomizeValidatorAttribute GetCustomizations(ActionContext actionContext, Type type, string prefix) {
			var descriptors = actionContext.ActionDescriptor.Parameters
				.Where(x => x.ParameterType == type)
				.Where(x => (x.BindingInfo != null && x.BindingInfo.BinderModelName != null && x.BindingInfo.BinderModelName == prefix) || x.Name == prefix || (prefix == string.Empty && x.BindingInfo?.BinderModelName == null))
				.OfType<ControllerParameterDescriptor>()
				.ToList();

Simple work around was to add null check on that property and return new CustomizeValidatorAttribute();  Not sure of other implications of making this change though.
Attached is a clean minimum app to reproduce the issue:
FluentValidationRazorPageRepro.zip

Thanks - I've committed this change. It'll be part of the next 7.2 beta release.

Thanks for the update, confirmed this works as expected now in master.


SDF migration error after updating SI

What happened?
I am not sure if this is a bug or expected, but I experienced an SDF error after updating SI (while it was running, if that matters).
How can we reproduce this?
This is everything I ran: https://pastebin.com/pDNmERpS
This box is a VM dedicated to running SI, so there are no dev builds present that could mess with the data layer.
This is the first time I have updated SI on this box.
Operating system
Linux
Architecture
x86_64 / amd64
What browsers are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Additional context
No response

Thanks for submitting @Octogonapus and I'm sorry you ran into this!  Until now, we have been editing our migrations directly, but going forward we will authoring new migrations and ensuring we handle upgrades appropriately.  I'm going to close this issue as this is more of a procedural change we need to make!


Rebuilding on Save

Mod is rebuiliding on saves in addition to on loads.

The mod calls code via the "game.onload( ... )" event, so this is quite peculiar to be happening. I'm stumped


Inconsistent memory bandwidth spec description on HBv2-series

The document https://docs.microsoft.com/en-us/azure/virtual-machines/hbv2-series says "Each HBv2 VM provides up to 340 GB/sec of memory bandwidth," while the table on the same page says "Memory bandwidth GB/s" for "Standard_HB120rs_v2" is 350.

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

ID: 78925076-ce8f-9f7c-df0b-963dd311ab4b
Version Independent ID: 949b6afe-04eb-55c3-4ca2-375b7f0db36a
Content: HBv2-series - Azure Virtual Machines
Content Source: articles/virtual-machines/hbv2-series.md
Service: virtual-machines
Sub-service: vm-sizes-hpc
GitHub Login: @vermagit
Microsoft Alias: amverma

@atakadams Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@vermagit Can you please check and add your comments on this doc update request as applicable

I agree those values should be made consistent. Historically, this slight 2% variation is normal when running the STREAM-Triad benchmark to obtain the memory BW. Additionally the value differs based on the OS (Linux distro, Windows).
But yes, point noted and this will be corrected.

@vermagit It looks like the conflict still exists in the doc. Can you make the update?
FYI @lauradolan

Tagging @evanburness for visibility and future tags


various: replace substituteAll with replaceVars

Working my way towards removing substituteAll in #237216.
This deals with some special cases, which can't be auto-replaced easily. My goal is to deal with all special cases first, and then replace the remaining ones in one go.
Part of my overall effort for structuredAttrs in #205690.
@philiptaron @emilazy
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

ack

is this a positive (acknowledged?) or a negative (choking sound?)?

This is "acknowledged", yes.

I built each of these changes and they all go through. Merging.


Can't Use Joker Commands

This worked for netcheat L1+Up activate codes but on artemis it doesn't? :/
D1 39EF061C 00101001
39EF061C 00101001
0 399F47E7 2D000000

Artemis doesn't handle comments as good as NetCheat does. It looks like if you removed the middle line (or just moved it up or down) then it would start working. Try:
//39EF061C 00101001
D1 39EF061C 00101001
0 399F47E7 2D000000

Idk why but some of the codes that work for netcheat doesn't work for artemis

Like these
Infinite Health + Max Stats
0 009D1E18 3E00447A
0 009D1E1C 92030008
0 009D1E20 92030014
0 009D1E24 3E204B18
0 009D1E28 3E404B18
0 009D1E2C 9223004C
0 009D1E30 92230050
0 009D1E34 92230054
0 009D1E38 92230058
0 009D1E3C 9223005C
0 009D1E40 92430004
0 009D1E44 92430010
0 009D1E48 4875064A
0 00750644 489D1E1A
Invincible
0 00244CD8 4E800020
Infinite Jumps Hold R2
0 009D201C 3E00028E
0 009D2020 9090F044
0 009D2024 80840000
0 009D2028 487B231E
0 007B2318 489D201E
0 009D20A8 3E20028E
0 009D20AC 8231F044
0 009D20B0 60000000
0 009D20B4 72312000
0 009D20B8 60000000
0 009D20BC 2B912000
0 009D20C0 409E000C
0 009D20C4 60000000
0 009D20C8 935F0960
0 009D20CC 817F0924
0 009d20D0 482411F6
0 002411F0 489D20AA

MAMBA fails to write to some memory (executable mostly). It's just a problem that probably will never be fixed. If you are on DEX and you still have this problem I don't know what to say. It should be writing.
Otherwise, either install CCAPI for your firmware or convert to a DEX firmware. The CCAPI option is much easier.


Unable to click or tap on images. perform() method not supported in appium for mac.

Hi, We are trying to automate Mac standalone application developed in Xamarine platform, For check boxes and radio buttons they have used images. We are unable to perform tap option since .perform() method is not supported. getting unsupported command exception.
org.openqa.selenium.UnsupportedCommandException:
For trying to click() on image, getting webDriver exception.
Below is the sample xpath.
driver.findElement(By.xpath("/AXApplication[@AXTitle='Plugged']/AXWindow[@AXTitle='E plugged' and @AXSubrole='AXStandardWindow']/AXImage[@AXIdentifier='chkBoxTermsAndCondition']")).click();

This worked for me, https://github.com/appium/appium-for-mac/issues/80
This root cause is this repository does not support /actions for send keys to the active elements command as W3C yet. Java client sends the /actions as the command instead of session/:session_id/keys. session/:session_id/keys is MJSONWP.
As a workaround in Java client, you can try forceMjsonwp as appium/java-client#969 (comment) . Then, Java client works as MJSONWP.

ah, okay. Thanks for leaving the solution


Not work livereload after adding platform ios

Short description of the problem:
Not work livereload after adding platform ios.
What behavior are you expecting?
Livereload should work.
Steps to reproduce:
$ ionic start blankApp blank
$ cd blankApp/
$ ionic platform remove ios // It's important step!
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios --livereload

After that will launched simulator, in which infinitely spinning load indicator.

But just emulate without livereloading work well:
$ ionic emulate ios

Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.7.1
Xcode version: Xcode 7.3 Build version 7D175

I have seen a similar issue, but with ionc@beta and using Typescript, when running ionic emulate ios -s -c -l.
Your system information:

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.10.1
Xcode version: Xcode 7.3 Build version 7D175

I chalked it up to the fact that fancy things like livereload are want to break at the bleeding edge. However, curious to see if maybe it is an OS X config issue and might be able to get my issue fixed as well.

Also worth noting that I am seeing the same behavior on live-reload when using ion run ios

Hello! Thanks for opening an issue with us! So since this issue is related to the ionic cli and not the framework i will be moving this issue over to that repo. Thanks again!

This issue was moved to driftyco/ionic-cli#943


snap/ci: run all tests in the CI

/test

CIs seem happy @devimc :-)

/test

/AzurePipelines run


Request to add bot

Server: Spaceman's Retreat.
Contact: zzUrbanSpaceman#7994 on Discord is probably best, or via Github. I'd rather not put an email address that will be scraped and spammed in an issue.
Room ID:<PHONE_NUMBER>45990656
Thanks!

This is now setup with a reasonable default set of feeds.

Unfortunately this does not appear to be working - I saw an update in the feed room in the community devs discord, but I've had nothing appear in my own. It could also just be a quiet period but it seems the one in the community devs discord has got a lot quieter too.


(PUP-6115) Fix Windows cert clean instructions

Previously the instructions would say something like:

del "C:/ProgramData/PuppetLabs/puppet/etc/ssl/agent.pem" /f
This fails in a cmd.exe prompt, and is the incorrect directory anyhow
Updated so that it shows like:
del "C:\ProgramData\PuppetLabs\puppet\etc\ssl\certs\agent.pem" /f

CLA signed by all contributors.


jsonresolver: current_jsonschemas lazy loading

Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

@nharraud sorry, I forgot to move the import inside because the function could be loaded before the app and could raise a Working outside of application context.


⚠ Itaca Gallery has degraded performance

In a7076d8, Itaca Gallery ($SITE_TCGLR) experienced degraded performance:

HTTP code: 200
Response time: 9393 ms

Resolved: Itaca Gallery performance has improved in cc9014a after 8 minutes.


improved support for mutually exclusive groups

Codecov Report

Merging #8 (61e88d3) into master (5d18420) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   93.69%   93.72%   +0.02%
==========================================
  Files           5        5
  Lines         222      223       +1
==========================================
+ Hits          208      209       +1
  Misses         14       14

Impacted Files
Coverage Δ

typed_argparse/__init__.py
100.00% <100.00%> (ø)

typed_argparse/choices.py
100.00% <100.00%> (ø)

typed_argparse/typed_argparse.py
100.00% <100.00%> (ø)

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 5d18420...61e88d3. Read the comment docs.


Create an IQN example aimed at reproducing the original paper and its evaluation protocol.

Checklist:

Evaluation Frequency
After every 1 million frames (250K environment timesteps), the agent is evaluated for 500K frames.  This totals 200 evaluations  (Source:  PDF page 7 under "best agent performance" - https://arxiv.org/pdf/1710.10044.pdf)
Evaluation phase - 500K frames or 125K timesteps (Source:  PDF page 7 under "best agent performance" - https://arxiv.org/pdf/1710.10044.pdf)
-Evaluation Episode Length
Each evaluation is capped at 108K frames (or 108K/4 = 27K timesteps) (https://arxiv.org/pdf/1707.06887.pdf erratum, personal correspondence)
-Evaluation Episode Starts
Each evaluation episode begins with a random number of no-ops (up to 30), number chosen uniformly randomly (Source:  PDF page 7 under "best agent performance" - https://arxiv.org/pdf/1710.10044.pdf)
-Evaluation Episode Policy
Epsilon greedy policy with epsilon=0.001
-*Evaluation Output
The best average amongst the periodic evaluations done during training (source: personal correspondence), as well as a reevaluation of this best policy for 30 episodes (only done for ChainerRL benchmarks)

Not reviewed code yet but the checklist looks good

Results:
Asterix:<PHONE_NUMBER>67 vs. Reported 342,016
BeamRider: 35525.0 vs. Reported 42,776
Breakout: 738.0 vs. Reported 734
Seaquest: 31670.0 vs. Reported 30,140
Pong: 21.0 vs. Reported 21.0
SpaceInvaders: 43649.0 vs. Reported 28,888
Qbert: 25971.3414634 vs. Reported 25,750

Learning curves:

The learning curves you pasted are limited to 6M steps. Can you add curves with full 50M steps?

Breakout's curve does not seem to reach 738.0. Do these learning curves plots "mean" in scores.txt?  Did you apply any smoothing?


Compiler for ARM

Hi everyone,
I just wanted to have some clarity as to why the EdgeTPU compiler is no longer available for Arm architectures?
There are more and more capable, powerful devices powered by Arm (e.g. NVidia Jetson Xavier for embedded, Apple M1 SoC for desktop/laptop) so I don't get why:

Is it something permanent? Is it something the EdgeTPU modules require? Is it something that could be reintroduced in a near future?

@CarMiranda hello, I believe we made the decision due to some limited capabilities of ARM chip back then. However I do understand your point, it seems ARM is the future :)
Let me bring it up to our team today to see what will we decide for the future. For now you can use an older version: https://github.com/google-coral/edgetpu/tree/657d2b654101540164af240eacb31440ff6f535d/compiler/aarch64

Nice, thank you for the prompt and clear answer @Namburger !
Please do keep us posted when you have more info on the matter :)

@CarMiranda Will bring it up with the team today, but also, FYI you can use colab to compile your model anywhere:
https://colab.sandbox.google.com/github/google-coral/tutorials/blob/master/compile_for_edgetpu.ipynb

@CarMiranda apologies, but unfortunately for now we decided t push back this feature until there is a well defined target machine thatwe can set  and test. The issue with the M.1 chip is that it's with MacOS, which we never had a compiler build fr in the first place :/


Backend does not pass neo4J credentials to Frontend ?

When viewing the frontend I get a popup asking for neo4j database connection information but the backend is already configured with this so I do not expect the user to enter that information. Have I misconfigured or is the idea to have the user of the frontend know the login information of the neo4j DB used by the backend ? Thanks

Neo4j database Connection created from frontend will be used for processing of any source.

@kartikpersistent I hope you mean remove any use of the DB credentials in the frontend. Is there a particular developer setup you can recommend ? I would like to be able to make changes to the frontend code and have the UI update automatically and I would like to have source maps to be able to debug the javascript in the frontend.

Hi @markNZed I meat we will remove neo4j credentials env variables from backend environment in future

That creates quite a barrier to demoing as people will expect  a chat-like interface. Why not route the requests to neo4j through the backend (like the LLM). I guess you see why it would not be a good idea to put LLM API keys into the frontend but it is unclear to me why it is a good idea to put DB keys into the frontend.

Actually, let's discuss this, the original idea was that e.g. team or department can configure the backend to talk to their database. And then the front-end users don't have to provide credentials.
For the publicly hosted variant that's not required but for private hosting it would be really useful, so let's not remove the feature but rather adjust it so that when the backend is configured, the front end can rely on that back-end information for connection credentials.
@karanchellani please capture.

Endpoint created and committed in DEV


Calling NavigationRegion3D.bake_nav_mesh() in the editor from an EditorPlugin causes the editor to crash

Godot version
4.0, 254778327afe7ffe389284fb09398c9ea810a2ba
System information
Arch Linux
Issue description
Calling bake_navigation_mesh on a NavigationRegion3D causes the engine to randomly crash, even if you await for the bake_finished signal. Sometimes it just works, so I believe it might be a race condition.
Steps to reproduce
From an EditorPlugin create a NavigationRegion3D add it to the tree, put your geometry as a child of it and call the bake_nav_mesh method, it will randomly crash.
Minimal reproduction project
NavigationRegionBug.zip
Open the "Bug" tab and press the magic button:

Backtrace
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.alpha.custom_build (a79dc77033c75a719e4eb44197d80232ef1d4029)
Dumping the backtrace.

Can confirm switching to single threaded mode fixes it, but it's just a workaround IMO

You can create a fresh NavigationRegion and NavigationMesh and immediately  add them to the SceneTree but you cannot immediately bake them cause the (child) nodes are not ready at that time to parse geometry as they need a tick to setup and also to register with the NavigationServer.
If you make a deferred call to the bake function it does not crash even with on_thread enabled. The baking process is reported in the log as cancelled due to errors. There are tons of errors related to the added source geometry that multiply with every button-press. In fact for me after 5+ button-presses without deferred call the MessageQueue dies / await crashes due to the number of errors stacked up.

So I guess the fix would be blocking bake_navigation_mesh() (with an error) until everything is properly initialized.

A lot of Godot functions return err such as var error = connect(...).
Perhaps this would be a nicer way to make sure this is initialised?
If not then we must also provide the user with a way to understand when it's safe to call this method.

It would be mentioned in the error message and docs.

The remaining 10% of issues are thread issues or when users delete objects immediately for whatever reason so the refs turn invali. Those could get custom error messages and warnings.

This would be a great solution! Saves me from doing it in GDscript.

Current workaround is in this order:

Add you procedural objects or stuff you do in _ready()
Start the bake deferred on the NavigationRegion3D node with call_deferred("bake_navigation_mesh") to make sure every node in the SceneTree is ready for the navmesh geometry parsing.
Block any duplicate call to bake_navigation_mesh() before baking is not finished
Wait for the bake_finished signal
Wait now for one physics tick for the NavigationServer to update and sync with the new navmesh.
Query your navigation path

This means at best even with an instant navmesh bake process you have to wait 1-2 frames / physics ticks before you can query any path from the NavigationServer.


Travis test Python 3.5

Added in Fantomas42/django-blog-zinnia@7cbf5f2
Regards

Thanks! welcome back.


Will the release file for 1.2.3 be released?

Clipper2 1.2.2 has the release file : https://github.com/AngusJohnson/Clipper2/files/11071418/Clipper2_1.2.2.zip
Will Clipper2 1.2.3 have the release file?

It has the zipped source code so I don't see the problem.


[+WATCH_FULLVIDEOs!] Brownwin Aurora Viral Leaked Video On Social Media X Twitter [ZNOW26K]

26 sec ago Brownwin Aurora Leaked Video Viral On Social Media. [+WATCH_FULLVIDEOs!] Brownwin Aurora Viral Leaked Video On Social Media X Twitter [ZNOW26K]

Brownwin Aurora’s latest video has gone viral, igniting conversations across numerous social media platforms. This rising digital creator, recognized for her engaging content—particularly her recent Spiderman-themed clip—has experienced a surge of interest from fans eager to find the full version. Many are flocking to platforms like Instagram, X (formerly Twitter), and Discord to check out her latest creations.
As the buzz intensifies, fans are actively sharing their reactions online, highlighting the vital role social media plays in elevating creators like Brownwin Aurora. With her distinctive style and creative approach, she has quickly made a notable impact in the digital landscape, leaving many curious about her upcoming projects.


Default task no longer running

Issue Type: Bug
My default task that has worked for 1+ years is no longer working. When I hit ctrl+shift+b the choose task menu comes up but nothing happens when I select the task.
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:59:35.033Z)
OS version: Windows_NT x64 10.0.17134

Can you share your task?

{   // See https://go.microsoft.com/fwlink/?LinkId=733558   // for the documentation about the tasks.json format   "version": "2.0.0",   "tasks": [     {       "type": "npm",       "script": "build-deploy",       "problemMatcher": [],       "group": {         "kind": "build",         "isDefault": true       }     }   ] }

I can't reproduce this. Does your npm script still work if you run it from the integrated terminal as npm run build-deploy?

Yes it does. That is how I am running it now. However I am also unable to reproduce the issue on my work machine. I will try to reinstall VSCode and update here with the results.

Reinstalled everything and I am still experiencing the same issue. I will try to re-install and wipe all of my extensions and other data next.

Can you try disabling all extensions? I'd also like to see all of your settings.json (user and workspace).


Add Ingestion Job management API for Feast Core

What this PR does / why we need it:
PR to implement a Ingestion Job Management API into feast core.
This PR adds:

extends CoreService API to  give the ability to list, stop, and restart ingestion jobs.
extends Python sdk's Client to add support for the additions to the core service API.
tests for the additions where appropriate.

Which issue(s) this PR fixes:

Fixes:  #302
Does this PR introduce a user-facing change?: Yes

Added Ingestion Job Management to Feast Core and the Python SDK:
- Listing Ingestion Jobs with filters
- Restarting Ingestion Jobs
- Stopping Ingestion Jobs

/ok-to-test

/test test-end-to-end-batch

/retest

/test all

/test test-end-to-end

/test test-end-to-end

/retest

/test all

/test all

/test test-core-and-ingestion

/test end-to-end

/test test-end-to-end

/test test-core-and-ingestion

/test test-end-to-end

/test test-end-to-end-batch

/test test-python-sdk

/test test-core-and-ingestion

/test test-end-to-end

/test test-end-to-end-batch

/test test-python-sdk

/retest

This PR is non longer a work-in-progress and is ready for review.
I have manually tested to this to work with both Direct and Dataflow runners, although I like to ask a reviewer to double check that the integration with Dataflow is fully working.

This PR is non longer a work-in-progress and is ready for review.

Thanks for this @mrzzy. Much needed

I have manually tested to this to work with both Direct and Dataflow runners, although I like to ask a reviewer to double check that the integration with Dataflow is fully working.

How would the reviewer double check integration with Dataflow is working? Normally a reviewer only reviews the code, and the code should ideally contain all the necessary automation to test the functionality that is implemented.

I agree that this is the ideal case, however the current end to end tests are only configured to test with the Direct runner, leaving a correctness blind spot with the Dataflow runner that has be addressed with manual testing.

I agree that this is the ideal case, however the current end to end tests are only configured to test with the Direct runner, leaving a correctness blind spot with the Dataflow runner that has be addressed with manual testing.

Ideally the tests would be updated to incorporate Dataflow testing as well. We can possibly leave it out of scope for now. The reviewer in this case won't have time to actually spin up Dataflow and test this all out.
@mrzzy would you mind creating a new GitHub issue to add a Dataflow based test?

I opened issue #595 for Dataflow Test Coverage.

/test test-core-and-ingestion

/test test-end-to-end

/test test-end-to-end-batch

/test test-python-sdk

/test test-end-to-end

/retest

/test test-end-to-end

/test test-end-to-end

/test test-end-to-end

/test test-end-to-end

/retest

/test test-core-and-ingestion

/test test-end-to-end-batch

/test test-python-sdk

@zhilingc Thanks for the review and taking the time out of your day to test the dataflow runner.
I have implemented your comments into the PR:

disabled stopJobs() for suspended or aborted jobs due to possible race condition.
added __str__() and __repr__() to IngestJob to render it in a human readable format.
Added feast ingest-job list, describe, stop, restart to feast CLI
Renamed Job to RetrivalJob to prevent confusion with IngestJob in python sdk.

/lgtm


Update tag expression limit in documentation

According to this: https://feedback.azure.com/forums/218849-notification-hubs/suggestions/12880704-increase-tag-limit-expression
I think that limit is now 10, right?

Hi @gattimassimo, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@gattimassimo - Thanks for your contribution. We are in the process of refactoring the Azure technical articles, so we can’t merge this PR. When the refactoring is complete, we can give you a link to the new location of the article you updated so you can resubmit your update, if you want to.

@gattimassimo - Thanks for your contribution to the Azure docs. On November 16th, we announced the availability of our Azure technical documentation in a new location on docs.microsoft.com. You can read about it on our team blog. This change means the article source lives in a new GitHub repository. Because there are some changes in the source markdown as a result of the move, we can’t pull your contribution over to the new repo without creating a ton of merge conflicts. We invite you to resubmit the change (if you are willing) to the new version of the article at https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-tags-segment-push-message. Thanks for your understanding.


improve invalid sub command tips

Codecov Report

Merging #8 (0499208) into master (e41a462) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   71.21%   71.21%
=======================================
  Files           6        6
  Lines         330      330
=======================================
  Hits          235      235
  Misses         95       95

Impacted Files
Coverage Δ

lib/cli.js
71.42% <0.00%> (ø)

commands/run.js
50.81% <0.00%> (ø)

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 e41a462...0499208. Read the comment docs.


Possible issues on the Typescript client

We've been developing (@davidmartos96) a Dart implementation of the electric client (Available here https://github.com/SkillDevs/electric_dart). We found some issues/ had some concerns and some questions from the client implementation. We will post them all here in different sections, you can later organize them as you wish, or discard them.
Issues
Electric tables sqlite types
Some metadata tables that Electric creates (oplogTable, metaTable, etc) use the column type STRING. Which does not exist.
The affinity for the column defaults as numeric. We had some issues here where we encountered a number instead of a string.
This works in Typescript but might be a source of problems in the future.
Here is an example: https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/migrators/schema.ts#L20
Union return types
Some functions in the satellite client and process have a return type of Promise<void | Error> or Promise<void | SatelliteError>. This is fine but we found some places where the promise is rejected instead of returning the Error. It may be confusing to have a header which returns an union type and the promise actually fails.
The implementation method.
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/client.ts#L239
The interface method.
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/index.ts#L60
Unused property
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/process.ts#L71
Throttle cleanup
The following lodash throttled never gets cleaned up. The output of throttle has a method cancel.
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/process.ts#L113
Maybe it could be instantiated in the start and cleaned up in stop?
Connectivity change subscription cleanup
This subscription never gets unsubscribed, maybe it could be unsubscribe right before subscribing again?
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/process.ts#L150
Typo?
This probably should be refreshToken.
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/process.ts#L282
Untyped tests
There are some tests which we had some questions while replicating. Mainly because they were not typed. Mostly working with any.  One example is the test 'apply empty incoming'.
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/test/satellite/process.test.ts#L525
Here this function has 3 parameters, but the second and the third don't allow undefined. Are undefined values in this function supposed to exist in a real usage case?
Also, in 'compensations: using triggers with flag ' There are no expectations, just a single t.true(true).
In:
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/test/satellite/process.test.ts#L1075
This test is actually failing silently. When the setTimeout resolves the test already finished so even though the expectation is failing it doesn't throw. If we update:
 // OLD
setTimeout(async () => {
  const lsn2 = await satellite._getMeta('lastSentRowId')
  t.is(lsn2, '2')
}, 200)

// NEW
await sleepAsync(200)
const lsn2 = await satellite._getMeta('lastSentRowId')
t.is(lsn2, '2') // This now fails

It actually fails.
Questions

Here it is assumed that secondValue is not undefined. But it has not been checked. Is that correct?
https://github.com/electric-sql/electric/blob/a52c752236699d8dfb289cbb10f5a15b9bf2c9b8/clients/typescript/src/satellite/merge.ts#L31

Would it be possible to have the Docker images and the Electric web client updated to the protocol 1.x? Currently the version in npm is 0.4.3, which uses the electric protocol 0.2. It would be nice to have a version upgrade so that the Flutter Dart client can easily be tested without manually building the web client.

There seems to be an issue when deleting an updated entry. We found this using the todoMVC example. It seems to be replicable on the web client. Steps to reproduce:

Create a TODO.
Mark it as done.
Delete this todo. (It will reappear instantly)
Delete this todo. (Now it works)

What happens sometimes is that right after deleting the TODO it appears again marked as done.
Maybe related to this. When a new client appears and it replicates from the empty state. Some todos will appear even though they were deleted. We think these could be the same TODOs that showed the previous bug.

Hi @js2702, thanks for this. Really appreciate the feedback. We’ll look through and come back to you on both issues and questions.


hey at least autogpt works on github issues now :-)

vaishak > poly :-) xD

start a process and eat yo haaats !

/agent-action
start a process and eat yo haaats !


Structure won't generate on spigot/paper 1.16.1

I got a problem with the lastest version of multiverse on spigot 1.16.1 and paper 1.16.1 : the structure won't generate even when I create a world specifying -a true at the end that still wouldn't work, I've tried recreating the world, that still doesn't work.
I'm running spigot and now paper on 1.16.1 on a server hosted by omg serv, i'm creating vanilla normal world. Also spawner generate but not stronghold/mineshaft/village/shipwreck/etc...
Thank you for reading me and sorry for bad english.

Same problem

I'm also having that issue on spigot 1.16.1

I'm having the opposite problem, I'm trying to make a superflat world with no villages and when I specify -a false the villages still generate and testing if the issue above affected my I also tried running the command without -a false and the villages still generated.  I tested this on 1.16.1 spigot and paper.

Looking into how the /mv create command works, it would appear this is a Spigot issue. I'll let them know.

It seems the server is using the generate-structures from server.properties instead of listening to MV. Can someone confirm this for me.
So, if no structures are generated for you, I expect the setting to be false, and if structures are always generated, I expect it to be true.

I checked my settings and I do have generate structures set to true.

As was just discussed on Discord:
It appears the server uses the setting of the main world. So once the setting is changed in server.properties, you can delete the main world and then every world will be generated using the new setting.

I need structures on some of my other worlds though so I think I'll wait till spigot fixes the issue, as I only have one world that doesn't need structures while the rest do need structures.

I've just reported the issue here, so keep an eye on it!

It's just been marked as fixed! I'll keep this issue open until someone confirms it's working. Reminder: Update using BuildTools if you're using Spigot, and if you're using Paper you'll need to wait for them to update their upstream sources.

Not working on latest paper yet, will keep an eye out for a new version of that to see when it gets fixed.  I'll reply here when that happens.

Just tested on a spigot server, made a super flat world with structures off and no villages were found, while the main world that had structures on did have structures, so seems fixed on spigot atleast.

Should be working on Paper #27, could someone confirm?

I am having the same issue. Just to confirm I just need to run build tools to fix this?

Yes, that's correct. I'm unsure on whether you'll need to regenerate your worlds though.

Ok sorry for not updating earlier but I fix the issue, as you said it multiverses use the settings in server.propertie and in my case the default world was a void. So I switch my classic and void which fix the issue. Also I have reported a bug in multi nether portal which doesn’t exist anymore because player can only take portal in the default world.

I just tested it on my Testserver with Paper Spigot 27.
The only difference now is that i can actually use the locate command and it will find structures. However they still wont generate. Not sure to what this is related tho

I used the most recent Build Tool and regenerated my nether, but there is still no buildings generating.

Same Problem for me. I made a custom world with WorldPainter in the 1.14 times without generatining structeres. With the switch to spigot 1.16.1 new worlds wont generate anymore structures. (another overworld, nether & end) After updating with build tools the /locate command works, but it shows me just where would be structures, when there where there.
Every of my possible configs have active structure generation.
It seems for me spigot or multiverse didn't reads a config, instead information in the standard world map.

I just checked with NBTExplorer and my Generate_Features was already set to 1

Sorry for the radio silence everyone, I've been a bit busy lately. I will see if I can get this sorted this weekend.

Hoping to clarify exactly what this is affecting for myself, if you all can help - Are a normal world, world_nether, and world_the_end created outside of Multiverse going to be affected by this at all? Or is it only going to affect worlds created through /mv commands or by importing through mv?

I have figured out the source of the issue and determined some predictability to it. This should lead us to who and where should be patching it.
https://github.com/Multiverse/Multiverse-Core/issues/2339

I'm going to have my Spigot ticket reopened.
https://hub.spigotmc.org/jira/browse/SPIGOT-5901

It has been marked as fixed again.
Someone please confirm.

I've just confirmed it to be working on my end. I'll close this once the fix lands in Paper and another user confirms it's working for them!

This problem should be fixed in Paper Build 93, but I'm not home to test it myself.

@nicegamer7
Using Paper Build 98.
Nether structures seem to now generate correctly.
End structures still seem to fail to generate and /locate command option now no longer works with the output of "Could not find that structure nearby".

@nicegamer7
Using Paper Build 98.
Nether structures seem to now generate correctly.
End structures still seem to fail to generate and /locate command option now no longer works with the output of "Could not find that structure nearby".

Is this a fresh world? Once a chuck is generated it wont retry to make a structure in the same spot. Essentially causing minor map damage if your running a map with a playerbase during this issue. I've also found the maps think they see it in /locate but nothing is generated. However setting the main mans level.dat in two places to allow structures fixes it in newly generated chunks, not old ones.
I'll do a deep test tomorrow to see if this is patched or if any behavior of the issue has been altered. However someone who can code and understands this topic could probably figure it out by just looking at the code changes...

@nicegamer7
Using Paper Build 98.
Nether structures seem to now generate correctly.
End structures still seem to fail to generate and /locate command option now no longer works with the output of "Could not find that structure nearby".

Is this a fresh world? Once a chuck is generated it wont retry to make a structure in the same spot. Essentially causing minor map damage if your running a map with a playerbase during this issue. I've also found the maps think they see it in /locate but nothing is generated. However setting the main mans level.dat in two places to allow structures fixes it in newly generated chunks, not old ones.
I'll do a deep test tomorrow to see if this is patched or if any behavior of the issue has been altered. However someone who can code and understands this topic could probably figure it out by just looking at the code changes...

Yes, this was from both fresh install worlds of both Nether and End. Yes, it is a map with a playerbase going, however myself being the first and currently still the only user to have entered.

As of Paper Build 99, End locate command and Structures seem to now be spawning correctly.

As of Paper Build 99, End locate command and Structures seem to now be spawning correctly.

Did spigot fix this as well?

Yes, I believe it's been fixed. If anyone still has this issue on newly generated worlds (and has instructions on how to reproduce), feel free to reopen this issue.


dtl changes testing

there seem to be a lot of breaking changes, what's the idea behind this PR? better split it in parts?

i thought i put all breaking changes into one pull request so we only have to do it once ^^


Update to project confg

https://docs.djangoproject.com/en/4.0/intro/reusable-apps/
Link for updating configuration in project to explain some touch points for distribution

#16 Closes issue


Encountered Access Issue of E-mail

Dear Julian,
I hope this message finds you well. I am a student specializing in anomaly detection at Lanzhou University of Technology.
I attempted to contact you through your email address<EMAIL_ADDRESS>but unfortunately, I encountered access issues. In order to ensure that I can get in touch with you, I am reaching out via this method. I appreciate your understanding.
If it's convenient for you, please feel free to reply to this message, or provide an alternative contact method where I can reach you.
I have been following your work on the AnoDDPm model with great interest. I kindly request your assistance in obtaining the checkpoints of the AnoDDPm model. Access to these checkpoints would significantly benefit my research and help me better understand its implementation.
I deeply appreciate your contributions to the field and would be grateful for your support. Rest assured, I will use the resources responsibly and provide proper attribution.
Thank you for your time and consideration.
Sincerely,
Zhiqiang Feng
Lanzhou University of Technology
<EMAIL_ADDRESS>

Hi Jonathan,
Yeah I graduated from Durham not long after the publication, and am now at oxford, you would be best to discuss things here ideally.
I'm not overly keen on providing checkpoints - due to the size of them and using the online storage - I'm not even sure I still have them; however with that said, I am more than happy to help you to replicate the work to see if you can make additional progress?
Cheers,
Julian


Illegal var name 'let' is allowed

The following code should not be legal, I expected an error on the let let
class set {
	foo(): set {
		let let = new set();
		return let;
	}
}

#1727


Remove workaround for FireFox Selenium test

Remove Selenium test Firefox workaround introduced in #151: https://github.com/appveyor/ci/issues/873#issuecomment-229251900

/cc @AlekseyMartynov

:cool:
Merge


Usage?

Please add usage instructions to the readme. Both times I've used this polyfill I've had to read the source code to figure out what I'm meant to do to have it run.

For posterity, with webpack it was require('element-dataset')(), but with browserify I needed require('element-dataset').default().

So were you going to add something to the readme, or not...? Something along the lines of "this module exports a function. Call this function to set up the polyfill."

I had the same trouble. In my case I'm using Webpack (with vue-loader) and had to do require('element-dataset).default()

@epiloque: you've now had three tickets (#1, #8, and this one) asking you to add something to the readme. Why not do it?

Upgrading the bundle and testing dependencies. Will circle back to this after that & probably add a clean module exports to the commonjs bundle.

On Jul 24, 2017, at 22:40, Bart Nagel<EMAIL_ADDRESS>wrote:
@epiloque: you've now had three tickets (#1, #8, and this one) asking you to add something to the readme. Why not do it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@gmhenderson theres a missing singlequote in your example, but when fixed that works. thanks


Fix padding for sections

Should finally fix #11 :tada:

That looks a lot better on mobile.  But desktop still looks weird?

But desktop still looks weird?

Yeah, as I said in the previous PR, homepage requires a bit more work overall.


Support CRD

Is your feature request related to a problem? Please describe.
Seems like it only works for type: Ingress. It would be nice to add support for Traefiks IngressRoute for instance.
Describe the solution you'd like
Some way of configuring CRD ingress
Describe alternatives you've considered
Hardcoding the ingresses to the applications list, which seems rather pointless.

Duplicate of #33


PGSync does not allow use of the knn_vector type

PGSync version: 2.2.1
Postgres version: 12.5
Elasticsearch version: Opensearch 1.2.4
Redis version: 6.0.10
Python version: 3.10
Problem Description: PGSync does not allow fields mapped to the knn_vector type described here.
Schema:
[
  {
    "database": "mydb",
    "index": "index_v1",
    "settings": {
      "index": {
        "knn": true
      }
    },
    "nodes": {
      "table": "mytable",
      "schema": "public",
      "columns": [
        "id",
        "embedding",
        "model_tag"
      ],
      "transform": {
        "rename": {
          "id": "embedding_id"
        },
        "mapping": {
          "embedding_id": {
            "type": "long"
          },
          "embedding": {
            "type": "knn_vector",
            "dimension": 512,
            "method": {
              "name": "hnsw",
              "space_type": "cosinesimil",
              "engine": "nmslib"
            }
          },
          "model_tag": {
            "type": "string"
          }
        }
      }
    }
  }
]

Error Message (if any):
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/bin/bootstrap", line 59, in main
    sync: Sync = Sync(
  File "/usr/local/lib/python3.10/site-packages/pgsync/sync.py", line 95, in __init__
    self.create_setting()
  File "/usr/local/lib/python3.10/site-packages/pgsync/sync.py", line 238, in create_setting
    self.es._create_setting(
  File "/usr/local/lib/python3.10/site-packages/pgsync/elastichelper.py", line 250, in _create_setting
    mapping: dict = self._build_mapping(node, routing)
  File "/usr/local/lib/python3.10/site-packages/pgsync/elastichelper.py", line 279, in _build_mapping
    raise RuntimeError(
RuntimeError: Invalid Elasticsearch type knn_vector

is knn_vector a custom type?
We often have to keep updating the list of supported Elasticsearch types sourced from here
This is defined here

This might be a "works-as-intended" case, but knn_vector is an OpenSearch type (docs are here).
There is also a workaround in that you can always create the index mapping ahead of time and leave off mappings in the pgsync schema. It would be really nice to be able to specify the mapping for documents that use knn_vector from the schema though.

Hi,
I haven't quite worked out how to handle differences between opensearch and elasticsearch yet and there is bound to be more of these differences.
I'm happy to add knn_vector for now.
Is this sufficient for your immediate use case?

Yes that should be good enough 👍

thia has now been added to the master branch

how to define the dimension and method fields in knn_vector type ?  Getting an issue that dimension invalid elastic search mapping parameter .


Only Admin can delete users

Any user can delete another user.
So i need to implement roles and make an admin user which will be the only one capable of deleting users.
Time estimate : 2 days.

Added Security and Roles when registering.

Modified User Entity and SecurityController.
In UserController, added : @Security("has_role('ROLE_ADMIN')") to the delUserAction function.
Added a RequestParam named role who asks when registering to choose between ROLE_USER and ROLE_ADMIN.
If an user is ROLE_USER, can't delete another user.
Modified two diagrams accordingly.

Now, just need to verify everything is working as intended and that the diagrams and documentation are up to date (issue #4).
Done in : 1 day.


Update permissioned network tutorial to v3

Closes #888

👍  Thanks Dan, and sorry about the bad writing.


Add bucketed metrics and kinesis configuration to send logs to kibana

What?

Updates auth0-instrumentation
Adds bucketed metrics so we can measure latency in a more accurate way.
Adds kinesis config so we can send logs to Kibana
Adds sentry error reporter

Why?

So we have easy access to the basic service logs, and can have more accurate
metrics for the reviews

We are already merging process.env (https://github.com/limitd/limitd/blob/master/conf/index.js#L56) but the parser is discarding any property that is not part of the schema: https://github.com/limitd/limitd/blob/master/conf/parser/env.js#L56 I've added node_env property (lowercase because the rest is lowercase, but it is uppercased afterwards) to the schema.


Better handling of markdown body

The current BODY handling for newlines has a lot of pretty bad edge-cases. For instance, if we want to use triple-quote markdown in the BODY, we have to put a newline between every code line, e.g.
// BODY: ```rust
// BODY:
// BODY: test
// BODY:
// BODY: ```

This is, obviously, extremely suboptimal. In this PR, I properly parse the markdown, and output it back as "proper" markdown that avoids the soft-break behavior of github comments. It does so by rendering the markdown as HTML and back as Markdown thanks to showdown, a bidirectional (markdown to html and html to markdown) renderer.

Hey @roblabla - thanks for opening this! I'm not sure I understand what this change accomplishes. Can you elaborate on what the intended use is after this change? If you could add a test showing it off that'd help as well.

So Github comments have this annoying rule where it's not your usual markdown, it has an additional weirdness where linebreaks in the comment will cause a linebreak in the rendered version (in normal markdown, a linebreak in source will not result in a linebreak in the rendered document - you need to end the line with two spaces to get that).
To fix this annoyance, I had done a PR that used a simple heuristic to join all lines that were not separated by an empty lines. This works okay for normal text, but will break badly for code blocks - see here.
To fix that, this PR uses showdown, which can turn markdown to html and back. The interesting thing is that the markdown returned from doing this has all paragraphs on a single line with no line breaks inserted, which is exactly what we want to send to the github comment!
I'll try to add a test when I have some time.

Gotcha - thanks for the explanation! The comment in the issue you linked should definitely be rendered differently, with the code block. I'm not sure that converting it to HTML then to Markdown is the only way to go though; TODO should simply be the messenger, and not alter the contents of a comment if possible. Instead, I'd investigate why those individual // BODY lines are being concatenated into one line in the first place.
In this GraphQL query, you can see that the space between the code block and the text above it only has one newline character; I believe that that's the issue we should be solving.


shipit

Latest dev version is pretty sweet.  Lets get that pushed out to makemap.alaskamapped.org for next week's booth time.

Saved maps branch has been merged to master and is running on the production site


Load two flexible routes after another does not work

Route:

/accounts/:accountId/

Try to:

load /accounts/1/
load /accounts/2/

Does not work!
Workaround:

app/config.json: framework7parameters.allowDuplicateUrls = true

Related to Framework7-Vue:
https://github.com/framework7io/Framework7-Vue/issues/264
Workaround:
Add :allowDuplicateUrls="true" parameter to any <f7-view> component.
So, close this issue here.


Update to V0.0.3

It looks like "Fixed typos" pull request. https://www.youtube.com/watch?v=WDiB4rtp1qw

lol

EPIC MERGE THIS RN YES YES OK LISTEN YES MERGE LMAO YES YES!!!>!>!!>!>!>!>!123rwret


Difference between model_loss and model_opt_loss

Hey,
I was just going through the logs for one of the runs generated using DreamerV3 and noticed that the code logs two different model losses (1) model_loss and (2) model_opt_loss. I found that the value of model_opt_loss is generally way higher than the model_loss for the Crafter environment.  I was wondering if you could explain me the differences between the two? If you could point me to the equations in the paper they refer to, that would be great. Thanks!

Hi, I think that's because of dynamic loss scaling that happens when you train in mixed precision (float16) mode.


Fasta should copy default values of forwarding constructors

Kernel should copy default values of forwarding constructors.
For instance
class C {
  C({a: 0});
}
class M {}
class D = C with M;

the a parameter in constructor D. has null and not 0 as its default argument.

Slightly extended test case to show that this is only a problem when the mixin is applied outside of an extends clause:
class C {
  C({a: 0}) {
    print(a);
  }
}
class M {}
class D = C with M;
class E extends D {}
class F extends C with M {}

main() {
  new C();
  new D();
  new E();
  new F();
}

Prints:
0
null
null
0

Fasta isn't adding these constructors correctly:

Fasta doesn't add constructors to anonymous mixin applications (the VM's mixin transformer adds the constructor in this case, and correctly clones the default values).

Fasta adds constructors to named mixin applications, but forgets to clone the default values (in this case, the VM's mixin transformer uses the constructor added by Fasta).

Part 1: create all the constructors in Fasta, not in the transformer: https://dart-review.googlesource.com/c/sdk/+/79241

As expected, the CL above changes @askeksa-google's example to output:
0
null
null
null

This does not appear to work yet. Example:
class C {
  final int w;
  C.foo(int x, [int y = 0, int z = 0]) : w = p("x", x) + p("y", y) + p("z", z);
}

int p(String name, int value) {
  print("$name = $value");
  return value;
}

mixin M on C {
  int get w2 => w * w;
}

class D = C with M;

main() {
  C.foo(1, 2);  // Prints: x = 1, y = 2, z = 0
  D.foo(1, 2);  // Prints: x = 1, y = 2, z = null, then throws `null` error.
}


order_by and limit params to find()

includes a little ordering in find to IMHO make it a bit clearer, allowing more type declarations, even though it's still not perfect.
docs not added yet, is an API proposal for consideration.
have been using this a couple of weeks in production happily.

Hi @antont,
First of all, thanks a lot for your contribution and I'm really sorry it has taken us so long time to reply.
We had a look at it and the PR looks really good. However, by checking the Firestore docs we noticed that a query can contain multiple order_by statements. Thus, we would like to make the order_by a list of tuples, instead of just a tuple. For example:
_OrderDirection = Union[Literal["ASCENDING"], Literal["DESCENDING"]]
_OrderBy = List[tuple[str, _OrderDirection]]

def find(order_by: Optional[_OrderBy]):
    pass

find(order_by=[("created", Query.ASCENDING)])
find(order_by=[("created", Query.ASCENDING), ("name", Query.DESCENDING)])

The example above also tries to increase readability of the type annotations.
Before approving and merging this PR, we would like to see the changes in order_by, updated doc strings and examples added to the README.
It's been a long time since you opened this PR, so we would like to understand whether you're still interested in making these changes, and if you have time for that. Otherwise, we can create a new branch on top of yours and make the changes ourselves, preserving the history, so you will still be a contributor of the project.
How does this sound to you?

Hi, great to hear, thanks! And no problem, we've been using my fork happily.
For me it'd be good if you just take the branch/PR and modify like you said. I could also, but do have my plate full now with other things, and you already studied the underlying API (good catch there!) and planned it.
So please just go ahead! I'm happy to adapt our application code to the changes then.


feat: use quote for making a message to sign

PR reworks the way message to sign is constructed, now it will use real quote to assemble a message.

:tada: This PR is included in version 1.17.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


feat(crypto): CRP-2624 Move tECDSA/tSchnorr/vetKD fake canister to separate repo

We decided to move the tECDSA/tSchnorr/vetKD mock/fake canister to a separate repository, as it is not really an example dapp, so this example dapp is deleted again. Originally, the code was added in https://github.com/dfinity/examples/pull/1029.
The new repository is https://github.com/dfinity/chainkey-testing-canister.

Looks like we need another round of reviews here because Github "dismissed stale reviews" when I merged the master branch to resolve merge conflicts.


Not working on nextjs

I am trying to setup envsafe in a NextJs project, but it is not working.
The values are printed in console, on the server side also client side but still the validation is showing them as missing.
Printed value in NextJs dev server:

Browser console is showing the value and also the validation error.

The validation code:
import { str, envsafe, url, bool } from 'envsafe';

console.log('NEXT_PUBLIC_RUM_KEY' + process.env.NEXT_PUBLIC_RUM_KEY);

export const env = envsafe({
  NEXT_PUBLIC_RUM_KEY: str(),
});

Node version: v16.18.1
NextJs version: 13.2.4

you should probably use input for next.js public variables as shown here


Dask Array graph optimization functions

Sometimes in constructing a computation with Dask Array's dead ends will show up. While it is true that these get removed at computation time, it is nice to be able to some cleanup periodically to keep the Dask Graph size reasonable. Particularly this cleanup is nice if we know a dead end will show up (e.g. slicing).
Previously this happened automatically with slicing, but it proved problematic in general ( https://github.com/dask/dask/issues/1732 ). A reasonable alternative would be to provide these optimization operations directly to the user. That way it is up to them to make the appropriate decision.
While it is true that there are optimization functions for Dask graphs, it remains unclear (at least to me) how one applies these to an array in general outside of Dask. To get the relevant keys, one must call _keys, which appears to be part of the Private API. Trying to get at this from the Public API does not appear to be straightforward. Even once one performs this sort of optimization, there remains the question of how to get the resulting Dask Graph back into a Dask Array.
Below is what I found works to get cull to act on a Dask Array. However this seems to require using the private API to get the job done. It seems a reasonable solution to this problem would be to create a wrapper function using a workflow like the one below (with any other things I may have missed) and add the wrapper to the private API. Then every function in dask.optimize can be wrapped with this wrapper function and added to the public API.
import dask
import dask.array
import dask.array.core
import dask.sharedict

d = dask.array.ones((10, 12), chunks=(5, 6))

sd = dask.sharedict.ShareDict()
sd.update(dask.optimize.cull(d.dask, d._keys())[0])

do = dask.array.core.Array(sd, d.name, d.chunks, d.dtype)

Any thoughts on this?

Now that there is a proper interface, this should be more approachable.


Add 'validate' command to sbt

fixed scalastyle issues in tests

Current coverage is 68.32% (diff: 100%)

Merging #47 into master will increase coverage by 4.96%

@@             master        #47   diff @@
==========================================
  Files             9          9
  Lines           262        262
  Methods         259        259
  Messages          0          0
  Branches          3          3
==========================================
+ Hits            166        179    +13
+ Misses           96         83    -13
  Partials          0          0

Powered by Codecov. Last update bdecef0...a34900d


Check and upgrade highlights

The problem
The highlights node library is used to highlight code. However, the line installing it declares its version should be lower than 2.0
That's causing some problems with the Docker build #2525, namely, there's some library (oniguruma) that needs to be recompiled for some reason. Adding npm rebuild to the Makefile seems to fix the problem, but still.
There are also some warnings about possible security problems.
Suggestions
Check with the author, @samcv , if there's a reason for that and upgrade or just use the latest if possible.

The reason the version was kept back is from what I remember, the CSS changing in version 2. So if my memory is correct we will need to port our highlights CSS theme to the new version at the same time we upgrade the library.
On December 27, 2018 4:30:01 AM PST, "Juan Julián Merelo Guervós"<EMAIL_ADDRESS>wrote:

The problem
The highlights node library
is used to highlight code. However, the line installing it declares its
version should be lower than
2.0
That's causing some problems with the Docker build #2525, namely,
there's some library (oniguruma) that needs to be recompiled for some
reason. Adding npm rebuild to the Makefile seems to fix the problem,
but still.
There are also some warnings about possible security problems.
Suggestions
Check with the author, @samcv , if there's a reason for that and
upgrade or just use the latest if possible.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/perl6/doc/issues/2526

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Is that a simple thing, or it involves major refactoring?

I don't remember. But I think it should just involve renaming the CSS tags with how the new highlighter outputs them. So shouldn't involve major refactoring.
On December 27, 2018 8:52:08 AM PST, "Juan Julián Merelo Guervós"<EMAIL_ADDRESS>wrote:

Is that a simple thing, or it involves major refactoring?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/perl6/doc/issues/2526#issuecomment-450189558

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Expense Tracker

🛠 Fixes Issue (Number)
Closes #652
👨💻 Changes proposed and Brief Description
Keep track of income and expenses. Add and remove items and save to local storage
Created UI for project
Display transaction items in DOM
Show balance, expense and income totals
Add new transation and reflect in total
Delete items from DOM
Persist to local storage
✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Implemented and learn about the local storage
📷 Screenshots

Demo:
https://user-images.githubusercontent.com/49890655/167378402-70ec335e-ffd0-4e08-b1c5-ae6fc3a1423a.mp4


Download to CSV shows a special characters in Arabic

Bug description
Hello, I am encountering an issue with special characters appearing when exporting Arabic data as a CSV from SQL Lab. Note that version 2.1.3 was working fine for me with this parameter in superset_config.py, but this problem started after I upgraded to version 4.01.
# CSV Options: key/value pairs that will be passed as argument to DataFrame.to_csv
# method.
# note: index option should not be overridden
CSV_EXPORT = {"encoding": "'utf-8-sig'"}

How to reproduce the bug
1- Run query.
2- Export the query results to a CSV file.
Screenshots/recordings

Superset version
4.0.1
Python version
3.11
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

@dosu
Where I should add this part of the code?
csv_data = df_to_escaped_csv(df, index=False, encoding='utf-8', **config["CSV_EXPORT"])

@dosu
Where is this class file path?

This did not solve the problem. I am still facing the same issue with version 4.01, while version 2.1.3 did not have this problem. I am unsure if it is related to the Python version or something else.

The issue has been resolved by downgrading the package with the following command: pip install Werkzeug==2.3.8.


Initial Chaos-Mesh integration

As a step towards https://github.com/celestiaorg/knuu/issues/287, we can start by not integrating chaos-mesh in knuu programmatically, but instead install it in the Robusta cluster and expose its dashboard.
Then, whoever is running a workload on Robusta that has a ton of validators and want to play with the validators, they can just use the dashboard and target validators with the different kind of failures.
If we find this useful, then we can start integrating little by little the fault types we want to run in our tests so that we have test suites with the different failure types we interested in.
Note: installing chaos-mesh in the cluster is all about adding a few workloads to the cluster. Check here
Note 2: In order to avoid accidentally playing with others' tests, we can ask devs to run the workloads in a separate namespace if they want to use chaos-mesh on them.

We just deployed chaos-mesh to Robusta.
URL: https://chaos-mesh.celestia-robusta.com/
Token: 1Password -> Shared -> chaos-mesh token
When you run a simulation with knuu, please copy the scope as shown in the logs of knuu.
Use the scope name as a namespace selector when creating chaos to avoid interfering with other tests and simulations.

please copy the scope as shown in the logs of knuu.

What do you mean by copy the scope?

please copy the scope as shown in the logs of knuu.

What do you mean by copy the scope?

When running a simulation or test with knuu, you will see something like:
time="2024-05-08T11:53:11+02:00" level=info msg="LOG_LEVEL: info" file="knuu/knuu.go:175"
time="2024-05-08T11:53:11+02:00" level=info msg="Initializing knuu with scope: 20240508-115311-361" file="knuu/knuu.go:80"

In this case, the scope is 20240508-115311-361, which you must use as the label selector.

Aaah, I see. Thanks


Flex.as_af_unchecked does not work as expected.

when I use Flex.as_af_unchecked() in my code, There is a strange  problem. The gpio moder will be analog mod rather than alternate.
impl<'d, T: usart::Instance> UsartPin<T, Tx> {
    pub fn new_tx(pin: impl Peripheral<P = impl TxPin<T>> + 'd, output_type: OutputType) -> Self {
        into_ref!(pin);
        let af_num = pin.af_num();
        debug!("usart pin af num: {}", af_num);
        let mut flex = Flex::new(pin);
        flex.set_as_af_unchecked(af_num, AfType::output(output_type, Speed::VeryHigh));
        UsartPin {
            phantom: PhantomData,
        }
    }
}

Because of as_af is a private method so i can only use this way to get a good type hint.
When I want to use directly method to change moder in this function there are no any change.
The moder is also analog.
impl<'d, T: usart::Instance> UsartPin<T, Rx> {
    pub fn new_rx(pin: impl Peripheral<P = impl RxPin<T>> + 'd, pull: Pull) -> Self {
        into_ref!(pin);
        let af_num = pin.af_num();
        debug!("usart pin af num: {}", af_num);
        let mut flex = Flex::new(pin);
        flex.set_as_af_unchecked(af_num, AfType::input(pull));
        critical_section::with(|_| {
            //! no use the mode is also analog
            use embassy_stm32::pac::GPIOA as regs;
            regs.moder().modify(|w| w.set_moder(10, Moder::ALTERNATE));
        });
        UsartPin {
            phantom: PhantomData,
        }
    }
}

I use embassy_stm32 hal. The mcu is STM32F407Zgt6. I hope hal can add more method to custom the driver.
When I put the code in main function or anywhere else，it can work properly.
let tx = UsartPin::new_tx(p.PA9, OutputType::PushPull);
    let rx = UsartPin::new_rx(p.PA10, Pull::None);
    // this code is work
    {
        use embassy_stm32::pac::GPIOA as regs;
        regs.moder().modify(|w| w.set_moder(9, Moder::ALTERNATE));
        regs.moder().modify(|w| w.set_moder(10, Moder::ALTERNATE));
  }

Flex restores the pin to Analog when dropped. If you want it to stay in AF mode, store it as a field in UsartPin, this way it stays in AF mode until you drop the UsartPin.

Flex restores the pin to Analog when dropped. If you want it to stay in AF mode, store it as a field in UsartPin, this way it stays in AF mode until you drop the UsartPin.

The code run normally, thank you

Flex restores the pin to Analog when dropped. If you want it to stay in AF mode, store it as a field in UsartPin, this way it stays in AF mode until you drop the UsartPin.

The code run normally, thank you


bug: using a noice action deletes the first line in my buffer

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0-dev-969+ga79694a08
Operating system/version
kali-rolling 2023.3
Describe the bug
preface: I'm not sure if thisis a nui bug or noice bug.
Opening any noice menu (command, forward search, backward search, etc.) deletes the first line of any open buffer. See below video:
Kooha-2023-09-04-01-32-52.webm
Notes:

This is only happening on my Kali laptop,my work laptop running MacOS and the same nvim config is completely fine.
The deleted line never goes into the undo history, it is simply gone.

Steps To Reproduce

Open any file
Attempt to use noice command

Expected Behavior
The first line of the buffer shouldn't be removed.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "folke/noice.nvim",
    config = function()
      require("noice").setup({})
    end,
    dependencies = { "MunifTanjim/nui.nvim" }
  }
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

nevermind, seems fixed on latest version NVIM v0.10.0-dev-1031+gc431d820e


App Engine / Google Cloud Monitoring metrics support issues

Please answer these questions before submitting a bug report.
What version of OpenCensus are you using?
0.28.1
What JVM are you using (java -version)?
Whatever App Engine is using. The latest release notes from Google say "Updated Java SDK to version 1.9.84."
What did you do?
Used OpenCensus to create metrics for Google Cloud Monitoring in a Java8 App Engine Standard app.  I am only using OpenCensus (at least for now) to push metrics using a View, Measure Map.
It appears to be working, once I spent a few hours tweaking various settings. This bug is sort of a laundry list of small issues. I am going to mix actual/expected here, realizing that some of these may be best forked off into their own issues and others addressed all at once.
RPCs worked.
Actual: Data flowed just fine from App Engine to Google Cloud Monitoring.
Expected: The documentation at https://opencensus.io/integrations/google_cloud/google_cloud_appengine_standard/ says it would not work at all due to GRPC issues. This appears not to be the case.
Workaround: Ignore documentation.
Labels were incomplete/insufficient
Actual: Only label was opencensus_task with value java-1@localhost
Expected: Some sort of per-instance label. Simplest if the random number were more random.  Best if it were to use something App Engine specific (see next section).
Workaround; Use setConstantLabels to set a variety of labels. I also added opencensus_task with value java@$instance_id, which would be sufficient. I cannot quite tell if this is necessary/useful, or I should remove opencensus_task as there are now good labels.
I am using the following labels:
("module_id", "App Engine Module ID"): modulesService.getCurrentModule()
("version_id", "App Engine Version ID"): modulesService.getCurrentVersion()
("instance_id", "App Engine Instance ID"): modulesService.getCurrentInstanceId()

Resource type shows up as GCE VM
Actual: Resource type shows up as gce_instance. Various metadata is also blank
Expected: Resource type shows up as gae_instance. Metadata shows up using App Engine values. Perhaps this needs a contrib module, or perhaps it can easily be read through the os Environment variables and other system properties.
Workaround: Not sure yet. I imagine this can be solved by using StackdriverStatsConfiguration.setMonitoredResource .
Uncertain if there's any other concerns.
Actual: Seems to work
Expected: Will continue to work. But I'm concerned there may be some gotcha. For example, losing data with an inappropriate exportInterval. (The defaults should generally be good here.).
Additional context
Simply documenting all of this, which I've started in the 'workarounds' above, may be sufficient.  Alternately, guidance as to how to use OpenTelemetry instead.

Hey, since you didn't get any activity, just wanted to say thank you much for the feedback!
Yes sending metrics from AppEngine to GCM does seem to work.  There's subtle bugs waiting in the weeds which is one reason we don't recommend it yet.   Most of them revolve around data loss on eviction, and offering some AppEngine-specific setup to help ensure the defaults you use work in the environment.
Regarding a lot of your concerns:

Resource labelling and autodetection is still being worked on in OpenTelemetry, so likely not ready there yet.  If you're using OpenCensus you'll have to do this by hand (sorry!)
Depending on how many instances you run, be careful of "high carnality" labels because these can tank the performance of your custom metric TimeSeries in dashboard + alerts.
We've seen some reports of issues with OpenCensus flushing its queues on containerless environment (Cloud Run, e.g.).  While this likely shouldn't be an issue in AppEngine, we can't offer any guarantees.

Hey, since you didn't get any activity, just wanted to say thank you much for the feedback!
Yes sending metrics from AppEngine to GCM does seem to work.  There's subtle bugs waiting in the weeds which is one reason we don't recommend it yet.   Most of them revolve around data loss on eviction, and offering some AppEngine-specific setup to help ensure the defaults you use work in the environment.
Regarding a lot of your concerns:

Resource labelling and autodetection is still being worked on in OpenTelemetry, so likely not ready there yet.  If you're using OpenCensus you'll have to do this by hand (sorry!)
Depending on how many instances you run, be careful of "high carnality" labels because these can tank the performance of your custom metric TimeSeries in dashboard + alerts.
We've seen some reports of issues with OpenCensus flushing its queues on containerless environment (Cloud Run, e.g.).  While this likely shouldn't be an issue in AppEngine, we can't offer any guarantees.


Extract profiles from PyPSA's Network objects

Pull Request doc
Purpose
Extract generator and demand profiles from a PyPSA Network object
What the code is doing
Loop through the Generator, StorageUnit and Store components of a Network object and build user specified profiles through a dictionary mapping profile type (hydro, solar, wind) to carriers (onwind, PHS, etc.).
Inflow profiles are normalized as follows:

if the maximum of the profile is larger than the nameplate capacity of the carrier, we divide all values by the max
if the maximum of the profile is lower than the nameplate capacity of the carrier (p_nom), we divide all values by p_nom

Testing
New unit tests
Where to look
The get_pypsa_gen_profile function
Usage Example/Visuals
>>> from powersimdata.input.converter.pypsa_to_profiles import get_pypsa_gen_profile
>>> from powersimdata.network.constants.resource import get_resource
>>> from powersimdata.network.europe_tub.model import TUB
>>> profile2carrier = get_resource("europe_tub")["group_profile_resources"]
>>> profile2carrier
{'hydro': {'hydro', 'PHS', 'ror'}, 'solar': {'solar'}, 'wind': {'onwind', 'offwind-dc', 'offwind-ac'}}
>>> tub = TUB("Europe", reduction=1024)
Title: PyPSA-Eur: An Open Optimisation Model of the European Transmission System (Dataset)
Keywords: power system model, capacity expansion model, energy system model, electricity system model, python
Publication date: 2022-09-10
DOI: 10.5281/zenodo.6913032
Total size: 2075.6 MB

Link: https://zenodo.org/api/files/7528030f-2993-4f54-83e4-9fdd223b9ba5/networks.zip   size: 2075.6 MB
networks.zip is already downloaded correctly.
All files have been downloaded.
>>> tub.build()
INFO:pypsa.io:Imported network elec_s_1024_ec.nc has buses, carriers, generators, lines, links, loads, storage_units, stores
>>> profile = get_pypsa_gen_profile(tub.network, profile2carrier)
>>> profile["hydro"]
                     AT1 0 ror  SE2 15 ror  IT1 42 ror  CH1 3 ror  DE1 48 ror  ...
IT1 8 hydro     1.000000
IT1 61 hydro    1.000000
SE2 19 hydro    0.937136
SI1 0 hydro     1.000000
SE2 14 hydro    0.937136
Length: 587, dtype: float64
>>> profile["wind"]
                     FR1 138 onwind  SE2 19 onwind  DE1 154 onwind  FR1 145 onwind  ...
DE1 141 onwind       1.0000
DE1 131 onwind       1.0000
FI2 25 offwind-dc    0.8855
FR1 103 onwind       1.0000
PT1 12 onwind        1.0000
Length: 1454, dtype: float64
>>> profile["solar"]
                     GB0 1 solar  FR1 45 solar  DE1 83 solar  GB0 43 solar  ES1 33 solar  ...
FR1 125 solar    0.853304
IT1 1 solar      0.804377
SK1 3 solar      0.801634
GB0 95 solar     0.833428
NL1 23 solar     0.827604
Length: 987, dtype: float64

One can see that some hydro plants have a peak inflow lower than the nameplate capacity (max value < 1). Note also that PHS does not have inflow profile.
>>> sum(tub.network.storage_units_t["inflow"].columns.str.contains("PHS"))
0
>>> sum(tub.network.storage_units_t["inflow"].columns.str.contains("hydro"))
267

Time estimate
15min

Moving the conversation here: I've been discussing with @rouille that it might be cleaner to deal with all inflow profiles in this way -- always normalize the profile based on profile max and assign the Pmax of the added plant to be the profile max (we could transform the normalized profile into MWh via such Pmax later in the workflow). Then assign the pnorm to be the capacity of the added dcline in the subsystem. What do you think @FabianHofmann ?

Moving the conversation here: I've been discussing with @rouille that it might be cleaner to deal with all inflow profiles in this way -- always normalize the profile based on profile max and assign the Pmax of the added plant to be the profile max (we could transform the normalized profile into MWh via such Pmax later in the workflow). Then assign the pnorm to be the capacity of the added dcline in the subsystem. What do you think @FabianHofmann ?

Done in last commit:
>>> from powersimdata.input.converter.pypsa_to_profiles import get_pypsa_gen_profile
>>> from powersimdata.network.constants.resource import get_resource
>>> from powersimdata.network.europe_tub.model import TUB
>>> profile2carrier = get_resource("europe_tub")["group_profile_resources"]
>>> tub = TUB("Europe", reduction=1024)
Title: PyPSA-Eur: An Open Optimisation Model of the European Transmission System (Dataset)
Keywords: power system model, capacity expansion model, energy system model, electricity system model, python
Publication date: 2022-09-10
DOI: 10.5281/zenodo.6913032
Total size: 2075.6 MB

Link: https://zenodo.org/api/files/7528030f-2993-4f54-83e4-9fdd223b9ba5/networks.zip   size: 2075.6 MB
networks.zip is already downloaded correctly.
All files have been downloaded.
>>> tub.build()
INFO:pypsa.io:Imported network elec_s_1024_ec.nc has buses, carriers, generators, lines, links, loads, storage_units, stores
>>> profile = get_pypsa_gen_profile(tub.network, profile2carrier)
>>> profile["hydro"].max().loc[profile["hydro"].columns.str.contains("hydro")]
ES1 25 hydro    1.0
BG1 10 hydro    1.0
SE2 44 hydro    1.0
NO2 0 hydro     1.0
NO2 12 hydro    1.0
               ...
SE2 15 hydro    1.0
ES1 37 hydro    1.0
BG1 5 hydro     1.0
ME1 0 hydro     1.0
NO2 11 hydro    1.0
Length: 267, dtype: float64
>>> profile["hydro"].max().loc[profile["hydro"].columns.str.contains("hydro")].max()
1.0

@BainanXia yes, I think this makes sense. Whether to normalize or not does not really make a difference as long as it is consistent. (Just a comment, the profile is rather added to the generator in the subsystem than to the dcline which connects to the system)

I believe this is good to go. See latest commit where column name of carriers with inflow profiles have been renamed:
>>> profile2carrier = {'hydro': {'hydro', 'ror', 'PHS'}, 'solar': {'solar'}, 'wind': {'onwind', 'offwind-ac', 'offwind-dc'}}
>>> from powersimdata.input.converter.pypsa_to_profiles import get_pypsa_gen_profile
>>> from powersimdata.network.europe_tub.model import TUB
>>> tub = TUB("Europe", reduction=128)
Title: PyPSA-Eur: An Open Optimisation Model of the European Transmission System (Dataset)
Keywords: power system model, capacity expansion model, energy system model, electricity system model, python
Publication date: 2022-09-20
DOI: 10.5281/zenodo.7251657
Total size: 1702.1 MB

Link: https://zenodo.org/api/files/44276d06-8d1e-4dd7-bed7-57f8fbf9f4d5/networks.zip   size: 1702.1 MB
networks.zip is already downloaded correctly.
All files have been downloaded.
>>> tub.build()
INFO:pypsa.io:Imported network elec_s_128_ec.nc has buses, carriers, generators, lines, links, loads, storage_units, stores
>>> profile = get_pypsa_gen_profile(tub.network, profile2carrier)
>>> profile["hydro"]
                     AL1 0 ror  AT1 0 ror  AT1 1 ror  BE1 0 ror  ...


Buffer Overflow

Directly after starting Polybar crashes due to a buffer overflow.
I compiled from source with the build.sh script.
OS is Kubuntu 16.04.1 (LTS) with i3-gaps; my config worked fine on Ubuntu 16.10 with i3-gaps.
This is the crash message:
$ polybar Bar
warn: No monitor specified, using "eDP1"
*** buffer overflow detected ***: polybar terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f43ec2b27e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f43ec35356c]
/lib/x86_64-linux-gnu/libc.so.6(+0x116570)[0x7f43ec351570]
/lib/x86_64-linux-gnu/libc.so.6(+0x1184b7)[0x7f43ec3534b7]
polybar(_ZN7polybar6v2_0_010controller11read_eventsEv+0x35e)[0x5cb4be]
polybar(_ZN7polybar6v2_0_010controller3runEb+0x72b)[0x5d113b]
polybar(main+0x1a33)[0x4bd3c3]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f43ec25b830]
polybar(_start+0x29)[0x4bed99]
======= Memory map: ========

what's the output of polybar -vv?

$ polybar -vv
polybar 2.4.4

Features: +alsa +curl +i3 +mpd +network

Build type: RelWithDebInfo
Compiler: /usr/bin/g++
Compiler flags:  -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors
Linker flags:

ALSA_SOUNDCARD              default
BSPWM_SOCKET_PATH           /tmp/bspwm_0_0-socket
BSPWM_STATUS_PREFIX         W
BUILDER_SPACE_TOKEN         %__
CONNECTION_TEST_IP          <IP_ADDRESS>
PATH_ADAPTER                /sys/class/power_supply/%adapter%
PATH_BACKLIGHT_MAX          /sys/class/backlight/%card%/max_brightness
PATH_BACKLIGHT_VAL          /sys/class/backlight/%card%/brightness
PATH_BATTERY                /sys/class/power_supply/%battery%
PATH_CPU_INFO               /proc/stat
PATH_MEMORY_INFO            /proc/meminfo
PATH_TEMPERATURE_INFO       /sys/class/thermal/thermal_zone%zone%/temp

@ThiloFischer could you verify that the issue is still valid using the latest version

The problem does not appear using the latest version.
Thanks :)

The problem does not appear using the latest version.
Thanks :)


Add flashinfer to database.

Added flashinfer to database.

@guillesanbri would be great to get this merged as soon as we can , Thanks alot!


Put Code into MavenCentral?

Hi @macg33zr,
i do really appreciate your work done here! I saw the code, mostly under testsupport copy'd into several projects. Have you thought about putting it into maven central?
Regards, Max

Thanks Max - I'm glad this is of use. Do you mean split this off as a separate library and get it available for consumption as a jar / binary? Yes, I think that would make sense, though I'm not sure how to get approval for that. The other approach is to create a PR against JenkinsPipelineUnit and get the declarative pipeline test code included there in one place. I've been meaning to revisit this project but life and the day job (where I do have code based on this too) is getting in the way...

Sure, a PR would be nice, especially for Spock Base Classes. Maybe this is a thing which takes some more time. It might make sence to put it into it's own jar for distribution in the first place. Even if it then does not 100% fit into JenkinsPipelineUnit we could open a PR for adding a link to the Library.
What do you mean by getting approval? For uploading it to mavenCentral?

Hi, are there any updates on getting this into Maven Central or even JenkinsPipelineUnit? This functionality is very useful and it would be great if we could make it easier to consume. Thanks for all your hard work @macg33zr !


Add support for Polygon Amoy testnet

Migrate from Mumbai to Amoy.
https://polygon.technology/blog/introducing-the-amoy-testnet-for-polygon-pos

⚡🟣


context.Student.Any() should be context.Students.Any() - note the plural: Students

context.Student.Any() should be context.Students.Any() - note plural: Students

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

ID: 634dfb2c-2626-9ec5-35fe-2bd2f27c5e23
Version Independent ID: 7a77b058-f005-8d68-ae46-e487c597f18e
Content: Razor Pages with EF Core in ASP.NET Core - Data Model - 5 of 8
Content Source: aspnetcore/data/ef-rp/complex-data-model.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @tdykstra
Microsoft Alias: riande

It should not, because SchoolContext  has property Student. So, the code is working.
Otherwise we need to rename  Student property to  Students with all references.

This is fixed in the 3.x version of the tutorial -- all references are changed to plural.

Thanks tdykstra - that works


(PDB-3354) Hash strings directly

Before this commit, string values were converted ot JSON and the
results of that were hashed. We can just hash the string directly and
avoid the JSON roundtrip.

Test PASSed

CLA signed by all contributors.

Test PASSed


2 issues

Hello,
i have following issue:
the set default icon questionmark option doesnt work. i created a new makro and used the questionmark as icon. my old macros work just fine, but the new one doesnt chance the questionmark.
i hope you can help me
thx and greeting
tebe

Hi
What version are you running?  GSE is currently at version 2.0.14 with a 2.1.0 version in beta still for WoW 7.2.
Support for myMacros ended with version 1.3.  Edits should all occur in game as changes to the text files out of game are not recognised unless the mod has been updated to support GSE2 like the HP Macros plugin was.
On part 2, I can't answer that without more information.
TimothyLuke

On 16 Apr 2017, at 12:24 am, tebethto82<EMAIL_ADDRESS>wrote:
Hello,
i have 2 issues:
when i chance a macro in my my-macro folder it changes not ingame. it just uses the old macro and not the new one with the old spells
the set default icon questionmark option doesnt work. i created a new makro and used the questionmark as icon. my old macros work just fine, but the new one doesnt chance the questionmark.
i hope you can help me
thx and greeting
tebe
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing as there is no further information


Add a Landing Page and CTA Button

@faizi-7  I don't think we need a landing page

@dotslashbit agree

@faizi-7 If you want to improve the effects and animations on the web app, then I'm fine with it.
Let me know what do you think about it?


Fix RuboCop issues

Hi!
This PR contains the following fixes for RuboCop:

Follow up RuboCop v0.77

The Layout/IndentFirstHashElement cop has renamed to Layout/FirstHashElementIndentation (https://github.com/rubocop-hq/rubocop/pull/7468).

Remove the unnecessary disabling of Style/IfUnlessModifier cop to resolve the failed CI:

https://travis-ci.org/ruby-grape/grape-entity/jobs/606754710

Coverage increased (+0.01%) to 95.865% when pulling adc29e1653810bc7a707f1ef89e003be334cf200 on tatsuyafw:rubocop-fixes into 1515b253fb6130510855e833062ca3495cf23057 on ruby-grape:master.

thanks @tatsuyafw


21 rename xsd schemas

Thanks Thodoris.    I took your PR and did a few things with it:

add the copyright (added "and others" phrasing as well, not just IBM)
I kept the old base name (camel case) formatting for continuity, but moved the files into the src/main/resources/jakarta/xml/batch/  dir to show the association with batch.  (Not sure why Git didn't flag this as a move/rename rather than a delete add.
)
I kept the old formatting mostly for the jobXML_2_0.xsd ;  I think it's helpful to more easily compare and see that it's exactly the same except for the namespace
I fixed a mistake we made with the namespace...
It's actually https://jakarta.ee/xml/ns/jakartaee not https://jakarta.ee/xml/ns/jakartaee/  (no trailing slash '/' ).   Will have to watch out for that.

TODO

https://eclipse-ee4j.github.io/jakartaee-platform/publish-xml-schemas
https://docs.google.com/spreadsheets/d/1cCGLYsCVz9pkUnMCdwaiLraepcxuemMbmUymgdMKUQY/edit#gid=0
Decide if we're keeping the schema  .adoc  as well.

Thanks a lot @scottkurz, I must have missed the /batch indeed.

I kept the old base name (camel case) formatting for continuity, but moved the files into the src/main/resources/jakarta/xml/batch/  dir to show the association with batch.  (Not sure why Git didn't flag this as a move/rename rather than a delete add.

I think the TODO points can be initiated once this one is merged, right?

Just noticed this actually, so my last comment can just be ignored
I was planning to start that in parallel anyway, but apparently the timezone difference kicked in :-)
Good job @scottkurz !


Implemented new command: spo orgassetslibrary remove

Implemented new command: spo orgassetslibrary remove solving #1042

Coverage remained the same at 100.0% when pulling d99c5a83766d79c785ae6791dc1ef5a758a48897 on appieschot:feature/spo-orgassets-remove into 65b2c66495667d59a9f86c3c032097bc8bcb06b7 on pnp:dev.

The output doesn't really add anything, but we could leave it in JSON output mode in case there is a need for it in scripts.

Agree on removing the output. Not sure why I missed that response. Do you want me to update the PR? Or will you do so when merging in?

Thanks! I will update it tomorrow.

I've updated the output when merging the PR

Merged manually. Thank you! 💪