fix(codelabs): Update create instance parameters for GCE codelab

Publishing a new image for the GCE codelab based on spinnaker 1.5.4,
which requires a change to the parameters we use to create an instance
from this image.

@lwander @dorbin : Mind taking a quick look at this change?

LGTM


[WASM] ListView - add virtualization

GitHub Issue (If applicable): #234 #46
Add basic ItemsStackPanel implementation supporting virtualization, allowing WebAssembly ListView to display large item sources.

I'm impressed.. I Thought you were going to code a lot in javascript to implement that feature.
Good job!


Provisioner plugins?

Are there plans to allow provisioner plugins or at least to allow a driver plugin to bring its own provisioner with it?
Background is the discussion in https://github.com/hypriot/docker-machine-hypriot/issues/1 to fully implement the Hypriot driver plugin to connect eg. to a Raspberry Pi and provision Docker on ARM there.
The hard part seems to be adding the little different provision steps. I could send a PR to this repo, but I've seen eg. the photon provisioner which is needed for eg. the vmwareappcatalyst driver plugin. But adding more and more provisioners lead to the same situation as with the drivers some months ago, I think.
So what I was thinking off is the possibility to either
1.) allow provisioner plugins (the user then needs probably two plugins, one for the driver, one for the provisioner) or
2.) allow a driver plugin to also register a provisioner that is needed only for this driver. (the user then only needs docker-machine + 1 binary with the driver plugin)

+1 for need of additional/external provisioning support.
On different use case, I am working on machine to build docker host for production environment. Usually in production, docker host requires more then just docker and swarm.
e.g. Volume managers like Flocker or Openstorage

Creating OS image with such third party software's are not clean way to do it.

+1 for pluggable provisioners


Capture Express route path

It would be nice if Express (http server) spans could include information about the route path so I can use that path (instead of the "raw" URL) to view traces in the Instana GUI.
For example, Instana currently captures requests that look like /people/1234, and I need to manually configure Endpoints in the Instana GUI for every parameterized route in all of my applications.
Instead, I'd like for Instana's NodeJS sensor to capture the parameterized route path (ie. /people/:id) for each request, and have the option to utilize that path instead of the raw URL when mapping endpoints (and viewing traces) in the Instana GUI.

This landed in 1.43.0 🍾

@bripkens will it works when using Instana Collector in AWS Fargate?
I added Instana in my Dockerfile and Instana works, but route path didn't work in dashboard

routes on Instana's dashboard
If I analyze the calls, the correctly route path is there.

Please do not report issues in Github issues that are already closed. Instead, open a ticket either at https://support.instana.com/hc/en-us/requests/new or by sending an e-mail to<EMAIL_ADDRESS>Thanks.
PS: The routes you are showing there have a placeholder (:apiVersion) which basically proves that the feature discussed here works. There is no difference with respect to URL/route capturing, whether you run Node.js on a host or in Fargate.


Fixed #34595 format_html() docs should explicitly mention that format_string is not escaped

Ticket #34595

Hey -- thanks for the PR.
Likely the commit message should be something like
Fixed #34595 -- Doc'd that format_string arg to format_html() is not escaped

@apjama Thanks for the patch :+1: Welcome aboard :boat:


[Bug]: Part of my map was deleted

A significant portion of my mindmap was also deleted.
The branch that got deleted was the whole branch with old nodes (few weeks), and nodes that i am working on)
(I was able to recover everything with obsidian file recovery)

can you give me a demo ?

Thank you for your quick response.
i still cannot consistently replicate this. so i cannot at the moment.
But will try to update with console error or steps when I can replicate this.

Some deleted.md
Full.md
Im not sure if it help, but these are the file for now. (from file recovery)
I will try to update if this happen again

Im not sure if this is the same problem. But this time the mindmap added a top level heading. This error show up in the console:
Uncaught (in promise) TypeError: Cannot read property 'start' of null
    at eval (eval at <anonymous> (app.js:1), <anonymous>:379:35)
    at Array.forEach (<anonymous>)
    at Node._delay (eval at <anonymous> (app.js:1), <anonymous>:349:51)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:506:18)

。我不确定这是否是同样的问题。一次但这导思维图产品添加了一个顶级标题此错误显示在控制台中：
Uncaught (in promise) TypeError: Cannot read property 'start' of null
    at eval (eval at <anonymous> (app.js:1), <anonymous>:379:35)
    at Array.forEach (<anonymous>)
    at Node._delay (eval at <anonymous> (app.js:1), <anonymous>:349:51)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:506:18)

It's not this reason ， this is used to parse ![ ]]

Thank you for the prompt response!
Then i'll still keep monitor this.

I still could not replicate this again.
So I will close this for now.
Thank you for your work!


Added some missing dependencies for Linux

@jakobhellermann and I found that bevy on linux was missing some dependencies here: https://github.com/orhun/kmon/issues/2
Here is the part of the discussion that he found it: https://discord.com/channels/691052431525675048/789987800014651412/847858021907300352
And here is the entire discussion: https://discord.com/channels/691052431525675048/789987800014651412/847854179312468009

Hmm these dependencies look really internal / nasty. Are we sure there isn't some "parent package" that should be installed instead?

I'm not sure.  All I know is I couldn't compile or run the bevy program without those dependencies and I already had those ones that are currently in the Linux dependencies installed.

Is there a way we can query the package database for a parent package containing this dependencies?

@jakobhellermann Found a parent package that is much cleaner.  I updated the PR accordingly: libxcb-xfixes0-dev
https://discord.com/channels/691052431525675048/789987800014651412/848988258721464401

A little googling seems to indicate that libxcb (X c-binding) goal is to replace Xlib, that we're already adding as a dependency as libX11.
I don't know which is the way to go, but I don't think we should have both

@mockersf How far away are they from that goal?  Currently it doesn't work and leaves things broken for Ubuntu users such as myself.  Once they reach the goal, then I agree that we should remove the package.

@mockersf How far away are they from that goal?

No idea...

Currently it doesn't work and leaves things broken for Ubuntu users such as myself.

I don't think it is... Our CI is using ubuntu and it works. The packages installed by default are listed here and we install a few additional: https://github.com/bevyengine/bevy/blob/22eddfcc55209264849339b9b32498bdec5c2c55/.github/workflows/ci.yml#L32
Could you check on a clean ubuntu?

@mockersf I'll spin up a VM when I get a spare moment and see what happens.

I'm going to close this out for now; the CI argument is compelling to me. If you can reproduce it feel free to open it back up or make a new PR.

I'm going to close this out for now; the CI argument is compelling to me. If you can reproduce it feel free to open it back up or make a new PR.


Error using eurobis_name2id

When trying to use the eurobis_name2id function, I receive the following error:

In the first instance it does seem to recognize the species name as it gives another error when I type it wrong. Also trying to call the eurobis_occurrences() function using the scientific_name input gives the same error. This is probably related to this as giving the aphiaid instead resolves the problem.

Indeed, on the lifewatch server it works. I was working on R version 4.2.2


How to pass 'image/*' to allowedExtensions?

It is as simple as the title suggests ,
I have the following code but it does not seem to work
<Grid item xs={12}>     <Stack spacing={1} sx={{ paddingX: '20px' }}>       <InputLabel>Thumbnail</InputLabel>       <FileUpload title="Thumbnail for the main Experience" allowedExtensions={'image/*'} onFilesChange={fileChangeHandler} />     </Stack>   </Grid>
and this
<Grid item xs={12}>     <Stack spacing={1} sx={{ paddingX: '20px' }}>       <InputLabel>Thumbnail</InputLabel>       <FileUpload title="Thumbnail for the main Experience" allowedExtensions={['image/*']} onFilesChange={fileChangeHandler} />     </Stack>   </Grid>

Hello @DawoodAli23,
To allow image/*, juste pass an empty array like this:
allowedExtensions={[]}
or you can remove this prop from the component props list to allow image/*. Let me know if the suggestion works.

Hello @DawoodAli23,
To allow image/*, juste pass an empty array like this:
allowedExtensions={[]}
or you can remove this prop from the component props list to allow image/*. Let me know if the suggestion works.

sadly both doesn't work, if I pass an empty array it accepts all types of files such as json etc and same with when I remove the prop

Hello @DawoodAli23,
The features you wanted have been integrated in version 0.4.0, do not hesitate to consult the README.md and CHANGELOG.md files to discover these new features.
Regards,


feat: add LinearCmp class

The main idea is to make Std.Classes.Order more usable.

Add the LinearCmp class and some lemmas for OrientedCmp and TransCmp.

Add class abbreviations OrientedOrd, TransOrd, LinearOrd for the case when Ord.compare is the comparator.

Rename OrientedOrd.symm to cmp_swap_symm. I think "swap symmetry" is a better name for this property, this is analogous to "conjugate symmetry" and "skew symmetry" in linear algebra.

Rename cmp_eq_gt to cmp_gt_lt_symm. This lemma was widely used but I couldn't figure out what cmp_eq_gt was supposed to mean. The new name makes more sense to me, hopefully nobody is strongly attached to the old name.

Rename cmp_refl to cmp_eq_refl to avoid ambiguity.

Add cmp prefixes everywhere to avoid name clashes. This allows opening the OrientedOrd, TransOrd, LinearCmp namespaces. (This was tested for RBMap, with no issues.)

There was some discussion on Zulip about this PR. The outcome was unclear but I personally liked the idea of this PR being adapted and moved to the Ord namespace. (Or even ditched entirely for a better API in the Ord namespace.)
@JamesGallicchio I remember you had ideas about this. Would you like to discuss these further?

No particular thoughts. I think maybe adding LinearCmp class should be separated out from the rest of this PR (which seems to just be QOL improvements/fleshing out the existing Order file).
Do we have a use case yet for LinearCmp?

I'm closing this for now but I still need the TransOrd and LinearOrd classes, so there will be some kind of modern revival in the future.


Binding for Markers/Ranges

Binding for markers and (more) ranges.
See
https://nvidia.github.io/NVTX/doxygen/index.html#MARKERS_AND_RANGES

Marks were added (minimally) in release v0.11.0 today. Thread ranges already exist in minimal fashion as well.
Process ranges remain and more detailed typing and coloring remains.

This has been completed


yarn install showing error in windows 10

PS D:\vs projects\gifbar> yarn install yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... error<EMAIL_ADDRESS>The platform "win32" is incompatible with this module. error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I am getting this error when i do yarn install on the repository.
Is it not compatible with Windows ?

I don't have a windows computer to test this but welcome a PR if you want to try to fix it :)


Resize portrait images to same size as landscape

With the current approach images are resized along the width, which means images in portrait mode are substantially smaller than landscape images. This change resizes portrait images along the height so that they will cover the exact same area.

I don't remember the exact logic behind my initial choice. It's probably that the current logic makes theming easier. With your solution you get images with different width and height.
Before implementing this in sigal, did you check if there is a similar "processor" in pilkit ? If not, I think we need a setting to change the current behavior.

Before implementing this in sigal, did you check if there is a similar "processor" in pilkit ?

As far as I can see, pilkit does not ever checks if an image is in portrait orientation and just passes width and height verbatim.

If not, I think we need a setting to change the current behavior.

Okay, I will add an option even though I do not see how the current behavior helps with theming.

Okay, I will add an option even though I do not see how the current behavior helps with theming.

It allows to have a regular grid, otherwise you will have portrait images higher than landscape ones.

The change affects the resized images not the thumbnails which still have the same aspect ratio and allow for regular grids.

Oh indeed, sorry for the confusion ! So this choice is probably because originally there was only the galleria theme, which display images in a fixed-height frame. But I agree it would make sense to respect the orientation of the image to adjust the requested size. And after some thoughts I don't think we need a new setting for this, as there is no real drawback (only that the generated vertical images will be bigger).
So the only thing I would ask you is to update the tests to check the sizes for both horizontal and vertical images, just to be sure it works and does not break in the future.

Thanks @matze !


feat(callback-api): moving shipping options patch into payment patch

Looks good to me; coupla things:

Can we get a coupla tests in here?
Can you document a few example actions.payment.patch() calls and run them by Kushal Sheth to make sure they'll work when he builds out support in the actual api?

Thanks!


Don't use define private public in test files

Bug Report
I wanted to check whether Catch 2.1.0 fixed all perf. regression from Catch Classic on a real world test suite, but using #define private public in test files causes compilation errors because of ODR violations.
One example:
In file included from /mnt/c/ubuntu/json/src/json.hpp:1800:0,
                 from /mnt/c/ubuntu/json/test/src/unit-iterators1.cpp:32:
/usr/include/c++/5/sstream:300:7: error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access
       struct __xfer_bufptrs
       ^
test/CMakeFiles/test-iterators1.dir/build.make:62: recipe for target 'test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o' failed

This is caused by Catch no longer including <sstream> everywhere, so an attempt to redefine private to public also hits <sstream> header. It can be temporarily fixed by just force including <sstream> before including the json.hpp header, but it should be noted that doing #define private public ~and having it affect any part of the standard library~ in any TU using the standard library is UB.
Note: There are also several test files that rely on transitive stdlib includes from Catch and will not compile with newer version.
OS & Compiler: g++ 5.4 under WSL

#define keyword is an undefined behavior in C++ std. And in gcc, access may change managed function name. I think using friend is a better way.


PR from m-labs/nmigen-boards not in nmigen/nmigen-boards

Is there any reason why my pull requests from m-labs/nmigen-boards are no longer present in this fork ? Will it be accepted if I pull request again here ?

I missed it, fixed now.


Be stricter on what's considered a scene path in CLI argument parsing

Only consider the positional argument to be a scene path if it ends with a file extension associated with Godot scenes. This makes it possible for projects to parse command-line arguments for custom CLI arguments or other file extensions without trouble. This can be used to implement "drag-and-drop onto executable" logic, which can prove helpful for non-game applications.
PS: Is the game_path == "" check useful here? That variable is initialized to an empty string above, and isn't being modified above.
This closes #8721.

Export now fails on CI:
ERROR: start: Command line param --export passed but no destination path given.

Please specify the binary's file path to export to. Aborting export.

   At: main/main.cpp:1500.

-------------------------------------------------------------------------

ERROR: No PCK file was created while exporting the project.

I've updated my parser PR based on this: https://github.com/godotengine/godot/pull/26213/commits/b042d60eafaf76f8ab969cc3bb5a1ece30f757dc
@Calinou Could you explain about the "drag-and-drop onto executable" line? I don't know what does that mean or how it is implemented. I may be relevant to my PR.

@lupoDharkael What I mean here is that my PR makes drag-and-drop functionality possible (just like file associations, which also become possible). On most desktop OSes, when you drag and drop a file over an executable, it will be started with the absolute path to the file as an argument.
Of course, the application still needs to read command-line arguments, but it will no longer exit as soon as it's started because the scene path isn't valid.

CLI exporting should be fixed now, if all goes well.

Thanks!


Provide 'variation' change data as part of API response for ROS to derive 'current' data from it

Currently ROS team has added dummy 'variation' delta data but Kruize to provide this as part of API response
ROS will then derive 'current' data from it.
Delivered as part of Epic #716

Merged as part of #738


question about  the model

Given an original image and a mask image for the model, can the model generate a repaired image to complete the mask region?
Best

I think the pre-trained models we provided cannot do this. But, you can train a new model according to the training setting of the inpainting task, and it may be possible.

thank you for your reply and i will try that!


IPv6 anonimization

Hi Snowplow Team!
According to GDPR rules I have to anonymize IP addresses.
IP anonymization enrichment work fine for IPv4 addresses but I'm not sure about IPv6.
Please update documentation if IPv6 support already done or add IPv6 IP anonymization support
https://github.com/snowplow/snowplow/wiki/IP-anonymization-enrichment
Thanks in advance

Actually I have no sensitive data except IP addresses.
So IP anonymization is enought for me.

Closing, support questions should go to our forums: https://discourse.snowplowanalytics.com/


A change in the parent's scale property causes all bullet positions to change

The problem is shown in the following figure，When the player's orientation changes, all bullets change position and direction：

By the way, the Spawner node is under the Gun node


Only works with setup commands

For some reason it only works with the setup scripts, When i try +forward; sprintwait 40-sprint; -forward it doesnt work, HOWEVER when i copy and paste it from the other script files it works, So i cant use yaw or pitch because when I edit it it doesnt work but when it comes from a other script or the setup ones

Is there any error message that pops up?

I'd put my finger on typos for this

Is there any error message that pops up?

Sorry For Late Reply and No There Is No Error Message It Just Doesnt Work When I Start The Script File

Can you send the contents of the script that is giving you trouble?

yaw and pitch

I mean the exact contents of the file, copy and paste them

Ohh alr just hold on

+forward; +sprintwait 40 -forward; -sprint yaw 45pitch 5; +forward; +sprint; +jump

Is this all on one single line? Or was it compressed by github

a single line

The TAS will execute one line per tick, so if the entire command is on one line it will execute every single command in one tick
The correct format for this script is this (assuming line breaks occur where there are missing semicolons)
+forward; +sprint
wait 40
-forward; -sprint
yaw 45
pitch 5; +forward; +sprint; +jump

Ok hold on let me try this

wait where do i find fabricapi 1.16.3?

Nevermind

Wait now when i load up the mod i cant see the script file in .minecraft

Is your script a .script file or a .script.txt file?

Click this to check and make sure it is just .script

No its not that its that the script folder where i type the scripts hasnt generated

Oh in that case you can just make the folder yourself

Oh

Another problem (Sorry Much) The pitch and yaw dont set, When the script finishes and i move the cursor, Then the pitch and yaw will change

Yes this is a known bug that I will fix eventually. Due to the nature of how mouse movement is implemented it is a bit tricky to fix.

Oh thanks

Also Um (Sorry Again) The yaw command more of like Adds 45 yaw more than set the yaw to 45

It does? If you press F3 and rerun the script, the yaw should be set to 45 no matter your original facing angle.

Yes I did look at F3
Apparently it went from -31 82 to 76 5

What version of the mod are you using?

1.16.3

I fixed the issue with yaw in the most recent version, but a hack-fix you can do is to insert two copies of the yaw command like so:
+forward; +sprint
wait 40
-forward; -sprint
yaw 45
yaw 45
pitch 5; +forward; +sprint; +jump

HOLY MOLY TYSM

1 last question tho? (sorry) Tell me if you have time I wont bother u if u dont

When asking a question online it is better to just ask the question rather than ask permission to ask the question. So go ahead and ask your question

How do i change a slot in my inventory?
Like Theres a iron sword in my inventory and i will place it in my 1st hotbar slot How will i do it?

Inventory TASing is only available in version 0,4.1 and above. I recommend updating to the most recent release 0.4.2 in order to use inventory TASing. There are example scripts for inventory TASing here https://github.com/RubiksImplosion/Minecraft-TAS/tree/master/run/scripts

Ohh

all it did was open my inventory and close it

What script did you use?

InventoryTestScript

With version 0.4.2 for 1.17.1?

Oh Um wait nvm false alert im going to download that version

inventoryTestScript also assumes you have a stack of logs in the first slot of your hotbar, since it crafts and places down a crafting table.

wow

You put alot of effort into this mod

thanks alot

Thank you for your compliment


NTR: inferred from text mining (ITM)

For HPO annotations we use ITM, I always assumed this was in ECO, but it seems not. Can we have this?
cc @drseb @mbrush @DoctorBud

It looks like there was some talk about this in tracker issue #66 (debate about assertion or evidence), but it doesn't look like it was resolved.
There is the class 'author statement' under evidence. Perhaps 'author statement from text mining' or 'author statement inferred from text mining' would be logical? Though it might fit better under 'traceable author statement', since you would have a known/cited reference... Would love some thoughts on this!

This isn't really an author statement, since in many cases, a humanbeing will never have personally examined the results of text mining. The HPO was using both IEA for "guided text mining" (an extremely accurate mining that exploited structures in dociments) and ITM (for traditional mining from free text). Does that make any sense?

I have some thoughts on what people have said so far:
Regarding #66, @rctauber I emailed the author of that term request. She has moved on and no longer requests this term. I haven't updated the ticket yet, and I might migrate this issue, as we still could stand to make this and some related terms.
I agree with @rctauber that a term for 'author statement from text mining' might be useful - if author statements were the evidence being text mined - but there are many other types of evidence that could be gotten via text mining, as well. Regarding 'combinatorial evidence' terms, I think those are really about combining evidences to draw a larger picture that isn't possible by constituent evidence types. Although text mining may be mentioned in the comment, it should not be considered as a single evidence type for this term, so it is inappropriate here.
I agree with @pnrobinson that ITM is not an author statement, but to be clear, I believe that in ECO we could actually have an author statement that is not personally examined by a person. Author statements could be gotten via text mining. [We must distinguish between the statement printed in the literature and the means by which it is extracted/interpreted.] At present we only have a term for 'author statement used in manual assertion' (ECO:0000302). We do not have the counterpart for 'author statement used in automatic assertion', likely because most of the annotation is being done by biocurators manually reading the literature. But if it is possible to computationally extract an author statement and then make an annotation based on that statement, then I'd say it is possible for us to have such a term. In fact, I think that very soon we need to revisit the 'assertion method' node, and I have been considering how techniques like text mining fit into this...

#106 includes a request for ITM from HPO - going to close this issue to consolidate discussion on one thread.


fact files of WikiMovies

Dear Haitian
I except to have a fact file for each question in WikiMovies dataset which allows me to run the preproccessing steps on in order to generate its question-subgraph (same as WebQuestionsSP, I could find the related folder for WebQuestionsSP but in the case of WikiMovies, I can not).
Could u please which link allows me to get the related files for WikiMovies.
Thanks in advance,

I would greatly appreciate it if u can tell me what I am missing here :)


Should we point the Docker file to clone the repo under wavefrontHQ ?

https://github.com/wavefrontHQ/wavefront-slackbot/blob/master/docker/Dockerfile#L8 -> Still refers to https://github.com/krisclarkdev/wfslackbot.git

Checked offline with Kris. Decided to leave as is for now.


docs: editorial updates

Description
Small editorial updates to the open PR #2:

simplify wording
remove "new" from create (can't create something existing)

For line 20, if the list of endpoints is not a list of examples but is the full list, let's change that to

Attach a security group to one the following targets in the VPC: VSI network interface, VPC load balancer, Virtual Private Endpoint gateways, VPC VPN servers

Types of changes in this PR
No release required

[ ] Examples or tests (addition or updates of examples or tests)
[x] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other changes that don't affect Terraform code

Release required

[ ] Bug fix (patch release (x.x.X): Change that fixes an issue and is compatible with earlier versions)
[ ] New feature (minor release (x.X.x): Change that adds functionality and is compatible with earlier versions)
[ ] Breaking change (major release (X.x.x): Change that is likely incompatible with previous versions)

Release notes content
Replace this text with information that users need to know about the bug fixes, features, and breaking changes. This information helps the merger write the commit message that is published in the release notes for the module.

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Merge by using "Squash and merge".

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author.
The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).

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


add remove_data_bags, Fix issue #242

Fix issue #242

Otherwise looks good!

Change None to False.

Great, thanks!


problem in execution?

Hello :)
Congratulations, for your very interesting project :)
I'm trying it for study purposes, and in my lab testing, I'm attempting to execute:
Reflective_PE_Loader.exe EXE C:\Windows\System32\calc.exe
Analyzing the execution, I noticed that it reaches up to
exe_entry_addr()
Is there something I'm not understanding? (very likely) :)

Hey @massimiliano-dalcero
I already came across the same issue. I wasn't sure why, seems the issue is that calc.exe is a GUI program so it'll have a different entry point signature.
I'm yet to check this fix.
Check with any console program with the main function signature as BOOL(WINAPI* main)();

I managed to run other .exe but I didn't understand why it didn't run anything else.  Thanks for your feedback  😊
Thanks for your feedback 😊
could it be that the Windows GUI application main is named WinMain?

Yes for GUI applications the function signature is as that of WinMain or wWinMain
A friend of mine helped me fix this issue. @dosxuz
The below change is able to execute calc.exe
#include <Windows.h>
#include <iostream>
#include <stdio.h>

struct PE {
	DWORD64 base;
	DWORD64 entry = NULL;
};

typedef int(WINAPI* pEXEEntry)(HINSTANCE, HINSTANCE, LPSTR, int);

#include "PE Mapper.hpp"

int WinMain(HINSTANCE hInst, HINSTANCE hInstPrev, PSTR cmdline, int cmdshow) {
	HANDLE hPE = ::CreateFileA("C:\\Windows\\System32\\calc.exe", GENERIC_READ, NULL, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
	DWORD pe_size = ::GetFileSize(hPE, NULL);
	void* pe_content = ::HeapAlloc(::GetProcessHeap(), HEAP_ZERO_MEMORY, pe_size);
	::ReadFile(hPE, pe_content, pe_size, NULL, NULL);
	::CloseHandle(hPE);

	PE pe = MapPE((BYTE*)pe_content);
	::HeapFree(::GetProcessHeap(), NULL, pe_content);

	pEXEEntry exe_entry_addr = (pEXEEntry)pe.entry;
	// printf("exe_entry_addr : %p", exe_entry_addr);
	exe_entry_addr(hInst, hInstPrev, cmdline, cmdshow);

	::Sleep(INFINITE);
	::VirtualFree((LPVOID)pe.base, NULL, MEM_RELEASE);
}


gpu: Add devicerm API for conditional deletions

This PR provides an API to avoid deletion of GPU data before jumping back to Python land

The tests make it fairly clear how this works in practice

The tests make it fairly clear how this works in practice

We need MPI+GPU CI for this PR right? Do we have it ?

not sure what makes you think we need MPI+GPU here, but the answer is no (why?)

We need MPI+GPU CI for this PR right? Do we have it ?

not sure what makes you think we need MPI+GPU here, but the answer is no (why?)

We need MPI+GPU CI for this PR right? Do we have it ?

not sure what makes you think we need MPI+GPU here, but the answer is no (why?)

I thought in general since the deviceid is used in MPI code as well:
  /* Begin of OpenMP+MPI setup */
  if (deviceid != -1)
  {
    omp_set_default_device(deviceid);
  }
  /* End of OpenMP+MPI setup */

Maybe we could a test and therefore needed ?
Just ignore me if I am overlooking sth!

We need MPI+GPU CI for this PR right? Do we have it ?

not sure what makes you think we need MPI+GPU here, but the answer is no (why?)

I thought in general since the deviceid is used in MPI code as well:
  /* Begin of OpenMP+MPI setup */
  if (deviceid != -1)
  {
    omp_set_default_device(deviceid);
  }
  /* End of OpenMP+MPI setup */

Maybe we could a test and therefore needed ?
Just ignore me if I am overlooking sth!


Fixes typo in documentation

Was reading the docs and noticed a small typo in one of the headers.
No new or changed functionality, so no tests included.

Thanks!


Style change for proto packages

The style guide stipulates that proto packages end in _proto.
gRPC definitions also need their own packages.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@38e4095). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #835   +/-   ##
=========================================
  Coverage          ?   46.35%
=========================================
  Files             ?       34
  Lines             ?     2727
  Branches          ?        0
=========================================
  Hits              ?     1264
  Misses            ?     1271
  Partials          ?      192

Impacted Files
Coverage Δ

core/monitor/verify.go
0% <ø> (ø)

core/keyserver/validate.go
42.55% <ø> (ø)

impl/sql/commitments/sql.go
48.67% <ø> (ø)

core/mutation/validate.go
41.66% <ø> (ø)

core/client/kt/requests.go
0% <ø> (ø)

impl/mutation/mutation.go
33.33% <ø> (ø)

core/client/kt/verify.go
52.63% <ø> (ø)

impl/monitor/server.go
31.03% <ø> (ø)

integration/testutil.go
66.16% <ø> (ø)

core/keyserver/keyserver.go
0% <ø> (ø)

... and 8 more

Continue to review full report at Codecov.

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


Simplify Timer.stop()

Simplified the stop() method in haxe/Timer.hx by removing redundant iterations and updated NativeApplication.hx to only run on active timers.

Ah thank you!


MB and BC Search yielding results for "libraries" but not "library"

When I go to search in BC/MB English, I expect to search for "library", location: "winnipeg" and get results, but nothing shows. When I search for "libraries", location: "winnipeg", I get results.
When I go to topic in 'welcome to MB', "in your community: recreation centres, public libraries, and canada post", and search "find related services near me", libraries do show, but as #1644 states, the blurb reads "call BC211" instead of "MB211".
Acceptance Criteria

[x]  Go to search in BC/MB English

[x] search for "library" in "winnipeg"

[x] results appear

Steps for QA:

Results now appearing!


Load a saved game from the database that can be passed to the rule engine to receive the GameState object.

Description: title
Backlogged: unable to complete this due to complications with persistence team


correcting verbosity level

correcting verbosity level for log-file-metric-exporter container.

/approve
/lgtm


Update code style

** READ THIS FIRST! **
Are you implementing a new feature?
Requests for new features should first be discussed on the discussion forum.
This allows the community to gather feedback and assess whether or not there is
an existing way to achieve the desired functionality.
If it is determined that a new feature needs to be implemented, include a link
to the relevant discussion along with the pull request.
Is this a security patch?
Do not open pull requests that might have security implications.  Potential
security vulnerabilities should be reported privately to<EMAIL_ADDRESS>Once any vulerabilities have been repaired, the details will be disclosed
publicly in a responsible manner.  This also allows time for coordinating with
affected parties in order to mitigate negative consequences.

Checklist

[x] I have read the CONTRIBUTING guidelines.
[ ] I have added test cases which verify the correct operation of this feature or patch.
[ ] I have added documentation pertaining to this feature or patch.
[ ] The automated test suite ($ make test) executes successfully.
[ ] The automated code linting ($ make lint) executes successfully.

Coverage decreased (-0.3%) to 98.592% when pulling 4ddb9111fd8c696223cf954b1e0a65d8fa22a970 on MohammadAlRifai:master into 2327a36e7c005ccc7134ad157b2f258b57aa0912 on jaredhanson:master.

Coverage decreased (-0.3%) to 98.592% when pulling 4ddb9111fd8c696223cf954b1e0a65d8fa22a970 on MohammadAlRifai:master into 2327a36e7c005ccc7134ad157b2f258b57aa0912 on jaredhanson:master.

I'm not interested in style changes.  Closing.


Microsoft.Experimental.UI.Xaml and TitleBar control

This PR brings online WinUI Labs, which adds a new dll Microsoft.Experimental.UI.Xaml.dll to the project. This dll does NOT get included in the Microsoft.UI.Xaml nuget package. Instead this dll gets included in a separate nuget package Microsoft.Experimental.UI.Xaml. This dll is for experimental controls for WinUI team to freely experiment with. There is no guarantee of these experiments to be included into the main nuget nor continued investment. This is NOT pushed to nuget.org. It is only for testing purposes to allow for rapid iteration.
The first experimental control to be added is TitleBar.

/azp run

@teaP I hit an issue with TitleBar with this build. I put a temporary fix in place. I've filed #6242 for a more thorough fix.

/azp run

@kmahone great to see the first PR relating to WinUI Labs. Is there a spec for the TitleBar control? From taking a look at the current code/style, I don't get where this control would be used?
Also, is there a plan to have a version of the Experimental library that works with WinUI3?

@kmahone great to see the first PR relating to WinUI Labs. Is there a spec for the TitleBar control? From taking a look at the current code/style, I don't get where this control would be used? Also, is there a plan to have a version of the Experimental library that works with WinUI3?

For now, this is just some experimental code that we are testing out without it going into the WinUI package. If we decide to move ahead with any of the code in this dll and move it into the main dll we will work on a full spec, etc. Since it is just 'experimental' code there is no certainty that it even will ever move beyond that stage. Checking this experimental code into this repo allows it to depend on a bunch of the 'scaffolding code' that exists in this repo.
There are no plans to bring the current experimental code to WinUI3. But if any of this experimental code 'graduates' into the main WinUI dll, it will also end up in WinUI3 at some point.

Thanks @kmahone good to understand where this fits and that developers definitely shouldn't take a dependency in any way on this package. They'd be better off borrowing the code if there's things in this package that they want to make use of

What is the proper place to discuss this TitleBar control experiment?
With the WinUI 2.6 Figma toolkit, there used to be variants of the TitleBar at both 32px height, 40 and 48 - with and without icons.  Would these variations be added to the control, or as templates and styles?
How about future Windowing modals, such as dialogs with only a close button, or without Max/Restore capability?
Does the XAML Window control which TitleBar buttons are visible/disabled?
Also how would this TitleBar control interact with the TabView and NavigationView controls?  Do those controls embed a TitleBar control when ExtendedBounds is active?


make SVG image in the notebook output optional

@AndreiKingsley What's the status?

I'm not sure if it's necessary


Render sequence diagrams on route change

Move rendering login to renderSequence() function
add onRouteChange export to gatsby-browser.js and invoke renderSequence()
Invoke renderSequence() after initial script import.

Resolves #4

This PR Is broken, this plugin is not implemented correctly, would require a complete refactor. Correct method would be to implement react-sequence-diagram


Possible bug when comparing shape

Possible bug in line 310 of UDfunction.py. We are comparing the value in the nd array and not the actual shape.

correct implementation - fault in previous testing method


Spring bean properties

We have a similar issue as described in #94, but wanted to call out explicitly as it may not be quite the same.
We have a very common pattern of something like:
private MyObject myObject;
in a class, and its value is set via spring bean property injection.
These always yield initializer warnings.
Is our best option here to use @SuppressWarnings("NullAway.Init") everywhere we have a field like this?
or register @Inject in ExcludedFieldAnnotations -- but this seems to be effectively the same as @SuppressWarnings("NullAway.Init")

it would be nice to be able to have some command line arg like: XepOpt:NullAway:TreatAsInitialized=MyObject, although that's probably painting with too wide of a brush...

Is there an annotation on the class indicating it is subject to the spring bean stuff?  If so maybe the -XepOpt:NullAway:ExternalInitAnnotations option will help?  See here.  If that's not useful, could you post a more complete code example?

We can specify an annotation on that class, but ExternalInitAnnotations doesn't help with this problem, as I understand it.  Doesn't that only help within that class itself? ("we don’t check that the zero-arg constructor initializes all non-null fields")
Our issue here is that a different class (B) has a field which is the bean class (A) and results in [NullAway] @NonNull field a not initialized

Alright, not fully following :-)  Can you post a more complete code example?

this is far from "complete" but I hope it is enough to illustrate...
public class TehBean
{
  // here be codes
}

public class ConsumerOfTehBean
{

  private TehBean tehBean;

  public TehBean getTehBean()
  {
     return this.tehBean;
  }

  public void setTehBean(final TehBean tehBean)
  {
     this.tehBean = tehBean;
  }
}

in applicationContext.xml:
	<bean id="tehBean" class="org.something.cookie.TehBean">
	</bean>

	<bean id="consumerOfTehBean" class="org.something.biscuit.ConsumerOfTehBean">
		<property name="tehBean" ref="tehBean" />
	</bean>

Ok, I see the issue here.  The problem is with ExternalInitAnnotations we don't properly handle the case where the zero-argument constructor is missing.  I can try to fix that for the next release.
For the record, here is an example where things work.
package fizz;
public @interface ExternalInit {}

package fizz;
@ExternalInit
class Example {
  private Object field;
  Example() {}
  public Object getField() { return this.field; }
  public void setField(final Object f) { this.field = f; }
}

If I pass -XepOpt:NullAway:ExternalInitAnnotations=fizz.ExternalInit then NullAway does not warn on this code.  But, if I delete Example() {} then I still see a warning at the private Object field; line (which is buggy).
I'll work on fixing this.  Thanks for the report!  Note that even after the fix, you'll have to add an annotation like @ExternalInit on classes like ConsumerOfTehBean to get rid of the NullAway warning.  No plans to parse XML config in NullAway 😄

then @ExternalInit is effectively the same in this case as @SuppressWarnings("NullAway.Init"), correct?

wait- you said:  "@ExternalInit on classes like ConsumerOfTehBean"
how does that help with private TehBean tehBean; causing [NullAway] @NonNull field tehBean not initialized ?

That message means NullAway thinks that the field tehBean (which is assumed to be @NonNull) never gets initialized properly.  Adding the annotation on ConsumerOfTehBean tells NullAway that some other external magic initializes the tehBean field so don't worry about it.  Does that make sense?

then @ExternalInit is effectively the same in this case as @SuppressWarnings("NullAway.Init"), correct?

Yes.  @ExternalInit would be helpful if you have many fields in a class and don't want to suppress warnings on each of them.  Plus it can more clearly convey how the initialization is happening.

using @ExternalInit simply results in another message: [NullAway] initializer method does not guarantee @NonNull fields upgradeManager, managerDao are initialized along all control-flow paths (remember to check for exceptions or early returns).
so it looks like the SuppressWarnings is a better option for us in this case

@ctcpip two things:

There is a real bug here for the case where the no-argument constructor is not declared explicitly.  I need to fix that.  I'll cut a new release once I do.  That will make @ExternalInit more usable for your use case.

I said before that @ExternalInit is the same as @SuppressWarnings("NullAway.Init") but this was incorrect.  @ExternalInit only kicks in for zero-argument constructors.  If there is another constructor declared that takes arguments, it will still get checked.  @SuppressWarnings("NullAway.Init") will suppress checking of all constructors / initializers.

Ok - we will try it after the next release.  Thank you @msridhar

@ctcpip the @ExternalInit functionality should be more usable in 0.4.6 which was just released

Hi @msridhar, I'm working with @ctcpip on implementing NullAway for our shared codebase. I just tested @ExternalInit using version 0.4.6, and it appears that this issue isn't fully resolved -- init errors are still being thrown unless there is an explicit zero-argument constructor.
Is there any significant advantage to using @ExternalInit over @SuppressWarnings("NullAway.Init")? Unless there is, I'm thinking we're better off just using the latter -- please advise.

@alightsleeper can you give a self-contained code example showing the problem with @ExternalInit throwing errors when there is no explicit constructor?  Here is my simple test case with no zero-arg constructor.  Are you passing the ExternalInitAnnotations option like here?
As I noted above, @ExternalInit is advantageous when you have constructors taking arguments, as those still get checked for initialization issues.  If you have no constructors at all, then @ExternalInit is the same as @SuppressWarnings("NullAway.Init") except there are fewer annotations to write.

@alightsleeper can you add @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) before  public @interface ExternalInit and see if that fixes it?  I think default retention is SOURCE which won't be good enough.

@msridhar per the javadocs default retention policy is CLASS, so setting that annotation on the ExternalInit interface had no effect. I also tried RUNTIME and SOURCE, no effect either.
For now, we'll just continue using version 0.4.5 and the more verbose @SuppressWarnings("NullAway.Init") and consider switching to @ExternalInit if we update NullAway version in the future.
Thank you for your time and effort investigating this issue.

Ok, sorry it's not working.  I'll continue to investigate.
On Wed, May 30, 2018 at 10:39 AM alightsleeper<EMAIL_ADDRESS>wrote:

@msridhar https://github.com/msridhar per the javadocs default
retention policy is CLASS, so setting that annotation on the ExternalInit
interface had no effect. I also tried RUNTIME and SOURCE, no effect either.
For now, we'll just continue using version 0.4.5 and the more verbose
@SuppressWarnings("NullAway.Init") and consider switching to @ExternalInit
if we update NullAway version in the future.
Thank you for your time and effort investigating this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uber/NullAway/issues/163#issuecomment-393252576, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALyUTfIqFnY3g-BsJek7S70WV6BpTjgks5t3tlAgaJpZM4T7-hg
.

I think I might see the problem here.  @alightsleeper in your example @ExternalInit should be on the FooController class, not the fooService field.  Does that fix the problem?

@msridhar that's intentional -- we'd hoped to use @ExternalInit at the field level, to ensure that any fields added in the future that aren't initialized via spring bean injection and getters/setters are still caught.
@SuppressWarnings("NullAway.Init") is working fine for our specific use case -- you can go ahead and close this issue.

Ah, ok, @ExternalInit is only supported on classes.  I think your use of @SuppressWarnings("NullAway.Init") is the right way to go.  If you were interested in contributing a NullAway Handler some day to read the XML directly we can brainstorm about that.  Thanks!


Feature Request: Keyboard Shortcut to open Preferences Dialog

From<EMAIL_ADDRESS>on 2011-01-12T11:27:28Z
I'd like to see this added so I can map a keyboard shortcut.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=525

From pierre.raybaut on 2011-01-14T09:35:47Z
This issue was closed by revision 577038b618 .
Status: Fixed

From pierre.raybaut on 2011-04-24T07:38:15Z
This issue was closed by revision 577038b61858 .


Add support to getting content length for multiple requests.

Hi @tonyofrancis
I have case that I want to pull content length for multiple files. There is any chance to add support for it?
Eg.:
Fetch:
 fun getContentLengthForRequests(requests:List<Request>, fromServer: Boolean, func: Func<List<Pair<Id,Long>>>, func2: Func<Error>?): Fetch
RxFetch:
fun getContentLengthForRequests(requests:List<Request>, fromServer: Boolean): Convertible<List<Pair<Id,Long>>>>

@msarelo-intive I think this can be added. Going on vacation this week. Once Im back ill look into this.

@msarelo-intive this has been added to fetch. It will be in the next release.

@msarelo-intive  new version of fetch is now available with the new get content length method. see readme and changelog.


Multi-regional recombee setup missing

Brief bug description
Recombee added multi-regional support to their product - it is currently being initialized via their recombee-api-client (https://www.npmjs.com/package/recombee-api-client). The integration is linking an older npm version and the RecombeeClient wrapper (https://github.com/kontent-ai/integration-example-recombee/blob/main/src/functions/model/recombee-client.ts)  does not support this new parameter hence not allowing users to select the correct server to connect to.

Fixed by #10


add a Readme

added but needs improvements.

why this package.

example of zero config / usage.

move "under the hood" below.
...


DroidKaigi 2023 Roadmap

By the end of the third week of June (〜6/23, 2023)

[Design] Designing the Application-wide Aspects (Theme, Navigation, and Screen Structure)

By the end of June (〜6/30, 2023)

Create Screen structure implementation

By the end of the first week of July (〜7/7, 2023)

[Design] Design for essential features

〜7/23, 2023

Stamps design

By the end of July (〜7/31, 2023)

Create essential features

By the middle of August (〜8/13, 2023)

Create issues for Contributors
Adjust for publishing
Stamps feature
[Design] App Icon
[Design] Create other screen designs

8/14, 2023

Publish the application as OSS

9/14, 2023

DroidKaigi 2023

test


npm start

var express = require('express');
I am just using this much code in my server.js file and after running
npm install express successfully. I ran
npm start server.js then it throws error as:
<EMAIL_ADDRESS>start D:\dinkar\node_js_installed\npm_setup
node server.js "server.js"
D:\dinkar\node_js_installed\npm_setup\server.js:1
(function (exports, require, module, __filename, __dirname) { ��v
^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node server.js "server.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  C:\Users\NITIKA\AppData\Roaming\npm-cache_logs\2018-01-19T19_51_14_091Z-debug.log
Why this is happening on simple code? Is something missing in it!
Thanks for any kind of suggestions

Closing since @nitikabhanot never responded.


edited project euler problem 20

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Updated Project Euler problem 20, added more test and changed the task.

@alvinkl This is good, but I worry that if we make the numbers larger, we may start bumping up against freeCodeCamp's infinite loop detection. I think if anything, the numbers tested should be lower than the original number. Also, I don't think we should use the function name euler20 and instead have a better name for it. In this case, sumFactorialDigits() would be a better name.

@alvinkl Awesome work! This is much better. I'm going to merge this. Congratulations on your first accepted pull request to this repository!
If in the process of updating these challenges you could also solve them, then include your working solution in the "solutions" attribute, the tests should be run against the solution upon building the repository.


PriorityBillsCard

This will eventually use the generic card component in #807 for common styling.
Complete the story at stories/profile/PriorityBillsCard.stories.tsx

Hey @MarkTrepanier I’m using Zenhub in GitHub, click this link to join my workspace and see other features available in GitHub or download the Zenhub extension and sign up with your GitHub account.
Posted using Zenhub


Version 3 issue with swing mode and fan speed

Hi just tried using the latest version for a V3 a/c and the swing mode does not function at all works fine for V2 A/C also the fan speed returns unknown for Full changes the speed ok but does not seem to report status correctly in both V2 and V3 and in V3 all other speeds except High return unknown for status V2 returns fine but V3 seems to return different value ie V2 low returns 40 in debug in V3 low returns 30 in debug same for medium and silent as well

sorry, I didn't get it.
can you redescribe the problem?
If you are chinese, you can use chinese.


feat(tiup-publisher): add notify when publish failed

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Not able to import NguCarouselConfig in component from '@ngu/carousel'

@prajaktatkare1234 Please check with latest version. Thanks


Custom encryption key length

Add support to custom encryption/decryption key length
Update Julia ver in CI

Codecov Report

Merging #14 (cb7197a) into main (87e11f9) will increase coverage by 0.12%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   76.87%   76.99%   +0.12%
==========================================
  Files           1        1
  Lines        1016     1030      +14
==========================================
+ Hits          781      793      +12
- Misses        235      237       +2

Impacted Files
Coverage Δ

src/OpenSSL.jl
76.99% <66.66%> (+0.12%)
:arrow_up:

Continue to review full report at Codecov.

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


Set up to all computers synchronously according to the account number！

Issue Type: Feature Request
I want to be able, like the edge browser, based on the accounts that are landed in the VS Code, and then synchronize the settings (including the installed plug-ins, some configurations, such as fonts, topics, etc.) to the VS Code on all computers!
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.17134

Try settings sync extension


the file wont decrypt even when everything is in the folder

I swear to god I own the game on steam but whenever I run the .py file in a folder with the .bin and data.win it always says
"make sure the folder this script is ran in has exactly one .bin and exactly one .win file. (will not work if there's two of the same extension, because I don't know which one you want!)"
And after that message appears if I right click on the python window it prints the file path to the original data.win file from pizza tower for some reason.
C:\Program Files (x86)\Steam\steamapps\common\Pizza Tower\data.win
I might be really stupid, but I have spent hours by now trying to do the same thing over and over and expecting a different result.
Help me.

I had a similar issue before actually, read through #34, that may help you

I had a similar issue before actually, read through #34, that may help you

The script works now, But I cant find the nsp file anywhere

It should just be in the same place you ran the script in I believe? I didn't have any issues after that, so I can't really help much outside of that.

It should just be in the same place you ran the script in I believe? I didn't have any issues after that, so I can't really help much outside of that.

thats ok, thanks for helping


Update oracle-connection-manager.md

Added info about connector name in logs and how to create TNS_Admin environment variable for TNS_Names file (since you aren't required to install an Oracle client with this connector).

@chugugrace
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


docs: Add SoundCloud to adopters list

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Add SoundCloud to list of adopters.

Hi @marctc, thanks for the contribution!
I found that the logo is a bit overflowing. Can you please help take a look?

Hi @marctc, thanks for the contribution! I found that the logo is a bit overflowing. Can you resize the image a little bit?

Done. Is it better now?


[AJ-1166] Pass workspace ID to overrideAppsWithLocalWDS

https://broadworkbench.atlassian.net/browse/AJ-1166
ajaxOverrideUtils.overrideAppsWithLocalWDS is a development utility to make it easier to use a local WDS with a local Terra UI. Originally, it overrode the Leo apps list for all workspaces that had matching instances in WDS.
However, when using the local profile, WDS does not create a default instance. Thus, a fresh WDS starts without any instances.
To improve the developer experience, this adds a workspace ID parameter to overrideAppsWithLocalWDS which creates an instance for that workspace if it does not already exist and then overrides the Leo apps list for that workspace to return the local WDS for the WDS proxy URL.

The workspace ID passed to overrideAppsWithLocalWDS needs to match the workspace viewed in Terra UI.


Add an experimental torch optimization wrapper

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue
@lopezpaz is that what you wanted in order to mimic torch workflow?

How Has This Been Tested (if it applies)

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[x] All tests passed, and additional code has been covered with new tests.

Yes, this is awesome!
Any reason why you loop over module.state_dict().items() instead of module.parameters()?
For instance, in torch the Adam optimizer would be instantiated as: torch.optim.Adam(net.parameters()).
Thanks @jrapin!

Any reason why you loop over module.state_dict().items() instead of module.parameters()?

I just found it simpler to implement (I already had some code), and simpler to analyze since this way the arguments are named in nevergrad, but I'm fine both ways.
Any reason why net.parameters() is better? Feels more natural?
I'll give it a try

Thx, very cool :-)


[dvsim] Document and slightly improve subst_wildcards in utils.py

When messing around with config files, I managed to trigger an
infinite loop in the subst_wildcards function. This patch fixes that,
and also adds a big documentation comment and tests.
Changes:

Document exactly what subst_wildcards does (it's quite
complicated!)

Spot circular recursion rather than blowing the call stack.

Fix some odd behaviour in {eval_cmd} support.
The previous code would transform "foo {eval_cmd} echo bar" to
"bar", ignoring the "foo" prefix entirely. Similarly, it would
transform "{eval_cmd}xecho foo" to "foo" (skipping over the 'x',
which it assumed to be a space).

Be more explicit about how values get stringified

Make the interaction between {eval_cmd} and ignore_error=True a
more uniform.
The previous code performed partial evaluation when ignore_error
was true except when doing {eval_cmd}, when it would discard the
partially evaluated command string.

Add some simple tests.
These correspond to documentation examples. You can run them with
pytest. Note that this doesn't add a dependency on pytest unless
you actually want to run the tests (since Python will merrily
"parse" code where the named modules aren't in scope!)

Differences in behaviour from the original code:

Clearer eval_cmd behavior (see above)

Circular references are now spotted. Before, a call to
subst_wildcards('{a}', {'a': '{b}', 'b': '{a}'})
would cause an infinite loop. This is the sort of thing that you
can trigger by a mistake in your config files, and what caused me
to look at the function in the first place. Now it reports an
error or unfolds one layer of the recursion (if ignore_error=True).

List items are now stringified recursively in
_stringify_wildcard_value. This makes rules like {'a': ['b', 10]}
work. The functionality isn't used in dvsim at the moment (because
all lists are lists of strings), but it's probably a bit cleaner.

Computed wildcard names are now possible. Probably not a
particularly useful feature, but it comes for free with the
"iterate over matches from the left" implementation, so it can't
hurt to support explicitly.

(This patch was split out of PR #3325)

Force-push rebases onto master

Force-push rebases onto master (it's been a while). No other change.

Force-push rebases onto master. No other change.


Kubernetes workers fail after a few hours

Hello,
Please excuse me if this is the wrong place for an issue.
I've been having this issue for quite a while trying to bring up a kubernetes cluster in AWS. I believe I've followed the manual very closely and I'm starting to run out of things to look for.
I'm using an auto scaling group for nodes, which are placed in three subnets.
When I bring the cluster up, I see that everything runs normally, I create my services and pods and all is fine. After a some time, worker nodes start disappearing from kubectl get nodes. The master has never failed so far.
You can find the kubelet systemd units in the gist below along with the aws system log of two nodes. I'd be happy to share more information if need be, but I would like to mask some information first.
https://gist.github.com/alexkappa/71f7fbdc566d5cedb318
I've looked for a common issue everywhere and my searching has led me to:
https://github.com/kubernetes/kubernetes/issues/20096
https://github.com/docker/docker/issues/5618
https://github.com/docker/docker/issues/20871
https://github.com/coreos/bugs/issues/965
But even after upgrading the cluster to v1.2.0-beta.0 and setting the --hairpin-mode to promiscuous-bridge and none the problem was not fixed.
I was using version v1.1.8 prior to that.
Any help is greatly appreciated!

@alexkappa Are you still able to SSH into the disappearing nodes? If so, do you see docker hang when you run docker ps?

I was monitoring it today until I observe the problem, you can find the journal log in this gist.
I can't remember if I tried docker ps to be honest, I believe I tried it another time and it was hanging. I can try it next time if you like to be sure.
Towards the end of the log, I notice an oom-killer, could it be that some of the services get killed? My cloudwatch metrics don't show that memory is all that high (~35%).

Yeah. If it is a docker ps issue similar to what I a facing, we are basically stuck as i could not find a definitive answer as to what is causing the problem. Having said that, I am now using k8s version 1.2.0-beta.0 on CoreOS alpha version 976.0.0 and the cluster is a lot more stable (I left the hairpin mode as the default --hairpin-mode="promiscuous-bridge").
I am not sure the problem has gone away though (we have not stress tested it yet). The docker ps hang seems to a symptom of a basket of issues and I could not find any consensus on what the underlying cause is (just conjecture that the problem is in the kernel).

I think I figured out what was causing nodes to fail, and evrything points to a container using up all the resources, causing the kernels oom killer to take effect, killing processes randomly.
What I recommend is having default limits per namespace, to prevent containers from drowning your nodes. Ever since I set limits, I notice two elasticsearch pods in status OOMKilled and restarting. The issue hasn't occurred since.
Hope this helps!

@alexkappa If your observation pans out, it is probably a vital breakthrough in understanding this problem (the docker ps hang). Thanks for sharing.

This (and docker ps hang) sounds like resource exhaustion.
We have an open issue to bump the default memory limits on the vagrant examples (https://github.com/coreos/coreos-kubernetes/issues/311), but in this case it would be up to the operator to ensure that the pods being scheduled do not exhaust available resources on the nodes. See http://kubernetes.io/docs/user-guide/compute-resources/ for more info.
I'm going to close this for now, but if we can provide additional assistance, please let us know.


Can you add a CHANGELOG.md/releases?

Description
I noticed that v7 is out but was unable to find out why it is a major, and if I should expect to see a breaking change in my codebase.
Proposed solution
Would it be possible to add a CHANGELOG.md?
This would be wonderful for Dependabot or Renovate, plus for users.
Alternatives considered
Alternatively, adding GitHub releases with some release notes would be useful as well.
Ideally both.
Thanks!
Do you want to create a pull request?
No

There is a changelog


AppBarTheme data not properly initialized

I think the AppBarTheme should not return null values. For instance take the following problem:
My them of my MaterialApp is set to:
ThemeData(
    primarySwatch: Colors.indigo,
    appBarTheme: const AppBarTheme()
)

My AppBar therefore has an indigo background colour according to the documentation of the backgroundColor of the AppBar.
But let's say I want something to be styled the same as the AppBar, e.g. my DrawerHeader:
DrawerHeader(
    decoration:
        BoxDecoration(color: AppBarTheme.of(context).backgroundColor),
    child: Text(
      "DrawerHeader",
      style: AppBarTheme.of(context).toolbarTextStyle,
    )
)

I would expect my DrawerHeader now to be styled similar to my AppBar but that's not the case since AppBarTheme.of(context).backgroundColor is null, and I didn't reimplement the logic behind the backgroundColor switch of the AppBar. So I would implement that logic to be the same as in the AppBar. If it changes through an update I have to reimplement it again and again, and it's still no guarantee that my other stuff is styled the same as the AppBar

So in summary please implement the logic of picking the colours if something isn't initialized in the AppBarTheme and not in the AppBar itself. This would require the AppBarTheme to know about the surrounding ThemeData though.

Hi @Toorero, not an official reply, just helping out.
The component themes, like AppBarTheme in ThemeData by default, and all default constructors of the component themes, like  AppBarTheme(), that you assigned to ThemeData.appBarTheme all have null property values by default. This is by design, there is therefore nothing to be found in your inherited widget lookups of the theme as far as any usable values go.
If you want a particular style in the AppBarTheme, that you can find and use with AppBarTheme.of(context).backgroundColor you need to actually define it with a value in ThemeData any such those properties.
By default widgets implement, fall back to their own built in defaults, that they use when its component theme and widget property values are null.
The widgets then in their build typically look up the widget tree and use ThemeData.colorScheme for default colors, and e.g. ThemeData.textTheme for text styles.
You can do the same in custom widgets, so that if it has a component theme with a none null property, it will use it, otherwise use a fallback to some preferred theme color or text style, or whatever property it is, to a value that is your own preferred default if it has not been defined by a built-in or even custom theme extension.
Example:
DrawerHeader(
    decoration:
        BoxDecoration(color: AppBarTheme.of(context).backgroundColor) ?? Theme.of(context).colorScheme.primary,
    child: Text(
      "DrawerHeader",
      style: AppBarTheme.of(context).toolbarTextStyle ?? Theme.of(context).textTheme.bodyMedium,
    )
)

Above, if you actually add an AppBarTheme with some values for the properties in question, you would get them, otherwise you get some selected values from the ambient theme, that always has default or defined values.
Thus if you theme your app or add component themes, that only happen in one place and your custom styled DrawerHeader follows those theme definitions. Actually assignment happens only in one place in your app. Hope this helps and clarifies the intended usage pattern in Flutter a bit.
BR
Mike

Thanks @rydmike for your detailed insights on it.
@Toorero Please check above which should clarify your case.

By default widgets implement, fall back to their own built-in defaults, that they use when its component theme and widget property values are null.

Yes I understand this, but I think that's not what should be.
As I already stated in my example it's somewhat unexpected and unintuitive.
I think fallbacks should rather be implemented in the getters of the AppBarTheme for example, so that they can't return null, so I can theme my stuff the same as the AppBar. Sure I can achieve the same by carefully studying the fall-backs in place for the AppBar, but there is always the risk of breaking and unnecessary code duplications. I think it's just a bad design and should be fixed.

Thanks for the update and feedback. Treating this as a proposal to inherit the colors if the same isn't initialized in AppBarTheme.

MIke's wonderfully comprehensive explanation is correct, AppBarTheme is working as in intended. The approach we've taken, where themes are a way to override a component's defaults, rather than defining them (something that's typically not practical), was laid out about three years ago in flutter.dev/go/material-theme-system-updates.


Add missing sensors

Useful registers
  //  87    0x00 0x08 0x57 0x20: Uptime in seconds     546.592 s / 3600 = 151.83 h    s
  //  108   0x00 0x17: Number of pulses per week # meaning!?
  //  110   0x01: Relay switch
  //  115   0x0D: Cell with the highest voltage        Cell 13
  //  118   0x09: Cell with the lowest voltage         Cell 9
  //  132   0x00 0x00 0x00 0x00: Battery is in balance bitmask (Bit 1 = Cell 1, Bit 2 = Cell 2, ...)
  //  136   0x11 0x62: System log / overall status bitmask?

Probably not important
  //  106   0x03 0xE8: Tire length                                                    mm
  //  124   0x00 0x00: Discharge MOSFET, voltage between D-S                          0.1 V
  //  126   0x00 0x73: Drive voltage (discharge MOSFET)                               0.1 V
  //  128   0x00 0x6F: Drive voltage (charge MOSFET)                                  0.1 V
  //  130   0x02 0xA7: When the detected current is 0, the initial value of the comparator

@lucasimons Do you know the meaning of the relay switch register? Is the BMS equipped with a relay or something?

in the bms there aren't relays so I don't know what it refers to to interrupt the current there are mosfets

//  87    0x00 0x08 0x57 0x20: Uptime in seconds     546.592 s / 3600 = 151.83 h    s
This is the most useful sensor that has not been added

Do you know the meaning of "Number of pulses per week"?

@lucasimons Could you check something: Is the value the "current uptime" (since the last restart) or should we call the sensor "total runtime" / "operating hours"?

I don't know what it could be ... It should be total Uptime

Could you check your Android app and restart the BMS once + check again?

it is a total uptime, i also checked via app to restart.....this is my 2020 bms integrated in HA via bluetooth  you can see that it has been running for 316 days

@lucasimons The new sensor total runtime is available in main now. Please update your external_components source.

Yeah, you can format the uptime sensor by days, hours, seconds? The balancer button what it should do?

I don't want to expose the numeric value as formatted string. Please use a template sensor to apply some special format.

Please adapt something like this: https://esphome.io/components/sensor/uptime.html#human-readable-sensor
  - platform: uptime
    name: Uptime Sensor
    id: uptime_sensor
    update_interval: 60s
    on_raw_value:
      then:
        - text_sensor.template.publish:
            id: uptime_human
            state: !lambda |-
              int seconds = round(id(uptime_sensor).raw_state);
              int days = seconds / (24 * 3600);
              seconds = seconds % (24 * 3600);
              int hours = seconds / 3600;
              seconds = seconds % 3600;
              int minutes = seconds /  60;
              seconds = seconds % 60;
              return (
                (days ? to_string(days) + "d " : "") +
                (hours ? to_string(hours) + "h " : "") +
                (minutes ? to_string(minutes) + "m " : "") +
                (to_string(seconds) + "s")
              ).c_str();

Hmmm. I've changed my mind. I will implement a second sensor tomorrow to provide some formatted text.

the second sensor is better than hour sensor, so  i can use this in HA
bms_uptime:
friendly_name: "Time BMS"
value_template: "{{ states('sensor.timebms') | int | timestamp_custom('%j d %H h %M m %S s', 0) }}"

If you multiply the hours by 3600 you have seconds again. ;-)

There is a second sensor called total_runtime_formatted now. The unit of the total_runtime sensor is seconds instead of hours now:
[text_sensor:067]: 'ant-bms total runtime formatted': Sending state '6d 7h '
[sensor:124]: 'ant-bms total runtime': Sending state<PHONE_NUMBER>0 s with 0 decimals of accuracy

I will close this issue because the added value of the other sensors is unknown.


Optimizer inherits from Sampler

Makes most of the Sampler base methods inherited in the Optimizer instead of re-implementing.

Expected tests pass. Merging.


Glitching tiles

This is the result I'm getting from the realesrgan-x4plus-anime algorithm:

How do I fix this?

I have been having the same issue, it seems to be dependent on the source material.  I tried the same command with two different episodes of the same show and in one case I had the issue, in the other I did not.
I believe that this: https://github.com/xinntao/Real-ESRGAN/issues/193 is a similar issue but I am not technical enough to understand what specifically is going on.  It only seems to be an issue with the executable not the pytorch version.  If your computer is beefy enough you can try running that.

There is issue with scale system. If you use x4 model and set scale to 2 it will make issues. Use x2 model if you want to upscale x2.


Particles.js crashes in Google Chrome

I am running version 2.0.0 of particles.js as a background in a Zurb Foundation based site using particles.json for configuration as suggested in the README.
Using Chrome Version 44.0.2403.157 (64-bit) on Linux Mint, the page with particles.js crashes sporadically; i.e. the browser content area turns gray and is not clickable any longer (cannot access console to see an error message). I have to refresh the browser and reload the page.
Any idea what could cause that?

Hi @4Digits,
Are you on a retina display, or have you set an svg image as a particle for example?
These two cases involve heavy calculations and may crash the browser unfortunately.

Thanks for your quick response. I am not working on a retina display nor do I use svg particles. However, retina detection is set to 'true'. Don't know if that has a performance implication. Would appreciate your comment on my json configuration, which I adapted from the original setting:
{
  "particles": {
    "number": {
      "value": 100,
      "density": {
        "enable": true,
        "value_area": 1920
      }
    },
    "color": {
      "value": "#fff"
    },
    "shape": {
      "type": "none",
      "stroke": {
        "width": 0,
        "color": "#000000"
      },
      "polygon": {
        "nb_sides": 5
      }
    },
    "opacity": {
      "value": 1,
      "random": false,
      "anim": {
        "enable": false,
        "speed": 1,
        "opacity_min": 1,
        "sync": false
      }
    },
    "size": {
      "value": 7,
      "random": true,
      "anim": {
        "enable": false,
        "speed": 40,
        "size_min": 0.1,
        "sync": false
      }
    },
    "line_linked": {
      "enable": true,
      "distance": 150,
      "color": "#fff",
      "opacity": 1,
      "width": 1.2
    },
    "move": {
      "enable": true,
      "speed": 3,
      "direction": "none",
      "random": false,
      "straight": false,
      "out_mode": "out",
      "attract": {
        "enable": false,
        "rotateX": 600,
        "rotateY": 1200
      }
    }
  },
  "interactivity": {
    "detect_on": "canvas",
    "events": {
      "onhover": {
        "enable": false,
        "mode": "repulse"
      },
      "onclick": {
        "enable": false,
        "mode": "push"
      },
      "resize": true
    },
    "modes": {
      "repulse": {
        "distance": 400,
        "line_linked": {
          "opacity": 1
        }
      },
      "bubble": {
        "distance": 400,
        "size": 40,
        "duration": 2,
        "opacity": 8,
        "speed": 3
      },
      "repulse": {
        "distance": 50
      },
      "push": {
        "particles_nb": 4
      },
      "remove": {
        "particles_nb": 2
      }
    }
  },
  "retina_detect": true
}

Hi @4Digits, sorry for the late reply!
I just tested your configuration, and i have no problem. I tested the script on Windows, OSX, but not on Linux, i hope this is not the problem :s

Hi @VincentGarreau, great library.
I'm playing around with it but if I put a svg image it crashes both on Chrome and Firefox on Mac.
It happens even if I choose a very small amount of particles (10-20 of them).
Have you got any suggestions?
Thank you

Hi @Serse, thanks!
Load svg image is actually a heavy process unfortunately, i'll try to improve it. If your svg image is heavy it may crash with a very small amount of particles. Try with a lighter image maybe :)

Thank you @VincentGarreau
Keep up the good job ;)

Something similar happens here.
The tab in Chrome starts consuming more and more RAM over the time.
In 5-10 minutes the tab itself is on 3Gb of memory, and CPU hitting 90%
Any clue on possible memory leaks or unclean loops/intervals?
Thank you!

Something similar happens here.
Memory consumption in Chrome starts growing at a rate of ~2Mb per second...
At some point, the only way to continue using Chrome is to kill the tab (f it doesn't crash by itself)
Any clue on possible memory leaks or unclean loops/intervals?
Thank you!

Bad memory leak .. chrome, firefox , everywhere.... My workaround was to destroy the instance and recreate to free memory and re allocate, but this is not a solution ..

I have used particle.js as a background of a website! The problem is, it is running only in firefox 46. but not in chrome or chromium or Microsoft edge! Not able to understand the problem! :(

I had an issue where chrome would crash, I fixed it by changing this:
case 'circle':
pJS.canvas.ctx.arc(p.x, p.y, radius, 0, Math.PI * 2, false);
break;
To this:
case 'circle':
try {
pJS.canvas.ctx.arc(p.x, p.y, radius, 0, Math.PI * 2, false);
} catch(err) {
//alert(err);
}
break;
You'll see the error that occurs if you uncomment the alert

I'm currently also experiencing the memory leaks. Is there a proven fix for this already? As you can see I use the script as a dependency of pagekit/theme-avion.

Thanks @ashking08 that indeed seemed to do the trick.

No worries @jdegger glad I could help


Feature Request: Separate Turning from Direct Movement Function

There is a control convention where direct or teleport movement is located on the dominant hand along with strafing (which present XR-tools supports) but then the off hand just has snap or smooth turning and can utilize the Y axis up /down for non-movement in-game controls, like quick switching between weapons, or jumping and crouching.  This is fairly trivial to hack with the current tools by copying the direct movement scene and script and scraping out anything related to direct movement but it would be good to officially have its own module so people could mix and match, similar to what has now been done with separating out flight movement from direct movement.
My hacked files are here for turn only: https://drive.google.com/drive/folders/1osoVU7tWHyNJwMDtK8jpxOt9aVN4Rsgb?usp=sharing

I've got a pull request implementing this change and also added it to https://github.com/Malcolmnixon/godot-xr-tools-demo.

I think we can close this issue now right?

I think this one has had enough testing, so yes we can close it.


Extract strings contained within eval()

Some build systems can result in the built files gettext functions being inside eval() calls.
One such example of this, is a webpack'd built file in this plugin: https://plugins.trac.wordpress.org/browser/mathml-block/trunk/dist/mathml-block.js?rev=2276811#L245
Currently, the relevant output is this:
#: src/mathml-block.js:35
msgid "MathML formula:"
msgstr ""

#: src/mathml-inline.js:10
msgid "MathML"
msgstr ""

which doesn't work for WordPress Translation files, as those src files are never enqueued, only the built files.
After the change, here's the output:
#: dist/mathml-block.js:245
#: src/mathml-block.js:35
msgid "MathML formula:"
msgstr ""

#: dist/mathml-block.js:257
#: src/mathml-inline.js:10
msgid "MathML"
msgstr ""

The unit tests keep timing out on trunk only - I'm not sure why as I've not been able to run then locally.

Interesting edge case & nice solution for the line number!
Would you be able to add some Behat tests for this? Could probably just copy some lines from the MathML plugin and then verify that strings are extracted as expected with the correct line number.

I'll get some tests added @swissspidy - Hopefully I can figure out how to run the tests locally

Unfortunately I wasn't able to get tests running locally, and there are no existing tests for the JS set of extraction methods, so I can't really fly into it blind either.

There are no unit tests for it, but Behat tests, starting here:
https://github.com/wp-cli/i18n-command/blob/b02ecdc9a57f9633740c254d19749118b7411f0f/features/makepot.feature#L1559-L1580
If it's not working, feel free to add me to your fork so I could amend, otherwise I can open a new PR with your commit in it and the tests.

@schlessera Any idea about the test timeouts? I can't re-start Travis in case it's just a flake.


Add Status class

Merging without completing CI check

Coverage decreased (-0.5%) to 88.027% when pulling 08b7178e02d6f8ffeba6d1879b33723bde0f1448 on add-status-class into 8f433371e732c1770961eab5fcbc4e6f50236c6d on master.


 I'm not deeply committed to any other them; please feel free to cherry-pick those that you want and ignore the rest.

LGTM thanks.


Signal to tell eye daemon to reopen eye log file?

I’m using logrotate to rotate the eye daemon’s log file. When rotation occurs, I need to tell the eye daemon to reopen its log file to begin logging to the new file.
Does the eye daemon support a signal (e.g. USR1 like nginx, Unicorn and others) that will tell it to reload gracefully, or is there some other way to do this?

You can use copytruncate option in logrotate. Just keep in mind that logrotate will copy the log file and then truncate the original file (so it may not work if the log file size takes more than 50% of available disk space)

Using copytruncate is not an option for me, because I’m using rsyslog to transmit the log to a log aggregation server. For rsyslog to pick up the new log file correctly, the file must have a new inode on disk, which you don’t get when you truncate the existing log file.

there is also usr1: https://github.com/kostya/eye/blob/master/bin/loader_eye#L64
or use can rotate it by eye:
Eye.config do
  logger "/tmp/eye.log", 7, 10.megabytes
end

Thanks, @kostya!

eye also support logger to syslog:
https://github.com/kostya/eye/issues/81

@kostya so does eye reopen only its own log? Or does it reopen logs files, set by stdall options?

Only own logger. It not reopen stdall files, and not sure this is possible. You also can just restart process to reopen stdall.

Ok, I have an idea: when spawning child process, create a IO.pipe and send its write_io to child process as :stdout (same goes with :stderr). Then eye just reads read_io of that pipe and redirects to appropriate log file (set by stdall). What do you think, @kostya?

i not actually know, how it would work when there is gigabytes of logs of 100 processes, whould consume cpu or not?
right now there is a way to send command to reopen logs, if process self-daemonized and write logs by itself, and support signal to reopen, like this: https://github.com/kostya/eye/issues/104


DCD Frontend: Create asset name component

I have begun on this, within Fredriks repo.
Moving back to Prioritized, as other priorirties came ahead.


Remove old PCBs before propagation

Check the freshness of PCB and remove the outdated PCBs before propagate them.

This change is

DO NOT MERGE YET!
This is not an ideal solution for real network since the sending BS doesn't know the policy of the receiving BS.

Outdated PR, we're not using the python beacon server any longer.


How can I get a result like the simulation gif？

run the warehouse_test.py file
screen recording
convert the video format file to a gif file


Bigelow rasf

Adds rasf for Ben Tupper.
Currently failing until some Conda Forge dependencies are up to date.

postBuild failed with  lpsolve https://github.com/oceanhackweek/jupyter-image/pull/13/checks#step:3:3485
But for some reason it didn't cause the entire build to fail.

From @ocefpaf

Note that jupyter and jupyterlab are already there from the pangeo metapackage, so re-specifying them was making it more complicated for the solver.


feat: DIA-1415: Add LabelConfig->ResponseModel generator

Hi @niklub!
This PR was automaticaly generated via Follow Merge.
Please ensure that all linked upstream Pull Requests are merged before proceeding with this one.

https://github.com/HumanSignal/label-studio-sdk/pull/327 linked by Workflow Run

Follow Merge downstream workflow has been failed.

Workflow run

Follow Merge downstream workflow has been failed.

Workflow run

Follow Merge downstream workflow has been failed.

Workflow run

Follow Merge downstream workflow has been failed.

Workflow run

Follow Merge downstream workflow has been failed.

Workflow run


Add AERecord and AEAppVersion

Project URL
https://github.com/tadija/AERecord
https://github.com/tadija/AEAppVersion
Description
I've added AERecord - Core Data wrapper in Swift (under Database), and AEAppVersion - app version tracker (under Utility).
Checklist:

[ ] One project per pull request
[ ] Travis CI pass

Thank you for contributing to awesome-ios :smile:


URL-decode the textual params coming from the GET query or POST body

Actually, I think, not only textual, but all params should probably be decoded prior to parsing.

and maybe also body? I am writing a service that accepts XML and I see it come through as raw urlencoded.

related : #321


MSID: 87318 Version: 1 DOI: 2<IP_ADDRESS>86398

"msas": "Epidemiology and Global Health", "Medicine"
"msid": "87318"
"preprintDoi": "10.1101/2<IP_ADDRESS>86398"
"Reviewed Preprint posted": "2023-07-06"
"Sent for peer review": "2023-03-27"
"Posted to medRxiv": "2023-02-25" (link: "Go to medRxiv": "https://www.medrxiv.org/content/10.1101/2<IP_ADDRESS>86398v1")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/by-publisher/elife/get-by-manuscript-id?manuscript_id=87318)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/87318/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews
Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>86398)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/87318/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/87318)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/87318

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/87318

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/87318/v1/87318-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/87318)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Corresponding author information needs fixing.


Discovergy API changed

Hi,
the Disvoergy API changed, meteringLocationNumber has been added to DiscovergyMeter.
Cheers,
Stephan
021-03-08 21:59:45.534	info	(69134) cleaned everything up...
discovergy.0	2021-03-08 21:59:45.510	error	(69134) The state contains the forbidden properties street, streetNumber, zip, city, country!
discovergy.0	2021-03-08 21:59:45.510	error	at IncomingMessage.emit (events.js:326:22)
discovergy.0	2021-03-08 21:59:45.510	error	at Object.onceWrapper (events.js:420:28)
discovergy.0	2021-03-08 21:59:45.510	error	at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
discovergy.0	2021-03-08 21:59:45.510	error	at Request.emit (events.js:314:20)
discovergy.0	2021-03-08 21:59:45.510	error	at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
discovergy.0	2021-03-08 21:59:45.510	error	at Request.emit (events.js:314:20)
discovergy.0	2021-03-08 21:59:45.510	error	at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
discovergy.0	2021-03-08 21:59:45.510	error	at Request._callback (/opt/iobroker/node_modules/iobroker.discovergy/main.js:90:13)
discovergy.0	2021-03-08 21:59:45.510	error	at Discovergy.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5935:21)
discovergy.0	2021-03-08 21:59:45.510	error	at validateSetStateObjectArgument (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5848:23)
discovergy.0	2021-03-08 21:59:45.510	error	(69134) Error: The state contains the forbidden properties street, streetNumber, zip, city, country!
discovergy.0	2021-03-08 21:59:45.508	error	(69134) unhandled promise rejection: The state contains the forbidden properties street, streetNumber, zip, city, country!
discovergy.0	2021-03-08 21:59:45.508	error	(69134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
discovergy.0	2021-03-08 21:59:45.506	info	(69134) Discovergy meter found at your account with serial : XXXXXXXXX
discovergy.0	2021-03-08 21:59:45.504	error	(69134) State type : meteringLocationNumber unknown, send this information to the developer ==> meteringLocationNumber : "DE0XXXXXXXXXXXXXXXXXXXX"
discovergy.0	2021-03-08 21:59:45.371	info	(69134) Discovergy Adapter startet, trying to discover meters associated with your account
discovergy.0	2021-03-08 21:59:45.349	info

Which version did you try ? I cannot reproduce it with the semi account and version 0.5.4

Hi,
it strange. I am a new ioBrooker user. Installed version seems to be 0.5.0. In ioBroker UI i cann only update to 0.5.0
Verfügbare Version:0.5.0
Installierte Version:0.5.0
In Git hub I can see Tags fpr 0.5.2.
I noticed the change also in my own JavaCode (Own Discovergy cod to fill an influx db) I had to add meteringLocationNumber. But sadly I am not able to debug JavaScript because I dont have JavaScript knowledge.
Cheers,
Stephan

Update for stable version requested : https://github.com/ioBroker/ioBroker.repositories/pull/1182


Br 02

Description
Fixing errors and re-submitting a new app thingswifesays
Copilot

🤖 Generated by Copilot at 7042ac3
Summary
📝🎭🗣

This pull request adds a new applet called Things Wife Says, which displays random phrases that the user's wife says on the Tidbyt device. It consists of two files: manifest.yaml for the applet metadata and configuration, and things_wife_says.star for the applet logic and rendering. It uses the Starlark language and the Tidbyt API to implement the applet functionality.

Things Wife Says app
Starlark script and manifest
Autumn leaves scroll by

Walkthrough

Add a new applet Things Wife Says that displays phrases that the user's wife says on the Tidbyt device (link, link)
Define the metadata and configuration for the applet in manifest.yaml, such as the id, name, summary, description, author, file name, and package name (link)
Implement the logic and rendering for the applet in things_wife_says.star using the Starlark language and the Tidbyt API (link)
Use the cache, base64, http, re, render, and schema modules to perform various tasks, such as storing the index of the selected phrase, encoding and decoding data, making HTTP requests, matching regular expressions, creating the layout and content, and validating the user input (link)
Define a main function that takes a config object and returns a render.Root object that contains a render.Row with an icon and a render.Marquee with the phrase (link)
Define a get_schema function that returns a schema.Schema object that defines the fields and options for the user to configure the applet, such as the name of the wife, the default phrases, and the custom phrases (link)

I have read the CLA Document and I hereby sign the CLA

hi @matslina @betterengineering , I've addressed your feedback. Would you mind giving this a review?