Getting Started With .NET MAUI To Build Cross-Platform Apps In Visual Studio

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[X] Have you used the correct folder and file structure? - see Contribution Guidelines

[X] Is your article properly formatted in Markdown? - see Github Markdown guide

[X] Have you used our preferred heading structure? - H3 (###) and up

[X] Does your article follow any of the suggested structure formats? - see example formats

[X] Is your article over 750 words? - Tool: Wordcounter.net

[X] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[X] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[X] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[X] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[X] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[X] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[X] Have you checked your article for readability? - Tool: Hemmingway
[X] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[X] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

`This closes #5150

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Good afternoon and thank you for submitting your article for publishing.
With the recent increase in article volume out team has been working diligently to review every article. Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

Plagiarism check done.

Great article @Geo-free.
@LinusMuema - Please give this PR a final review.

Hi @Geo-free
Great job on the article.
cc: @Kayere


missing VMCS unit tests

Signed-off-by: Rian Quinn<EMAIL_ADDRESS>

@JWZepf With this PR, the VMM is at 100% minus the intrinsics which you are working on, so make sure when you provide your PR that the VMM is at 100%.


Chat details panel update changing title and adding and removing participants

Update it in what way?

What is this? @Bricktheworld

Similar to the other bug. Basically if someone is removed or added to a chat, the panel needs to synchronize with those changes, which it doesn't atm

Not entirely related, but here is an issue with the details panel.

I'm backlogging this until the server's bundle can do this via private API


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

This change is

Coverage: 88.758% (+0.09%) from 88.67% when pulling 87b205e200a4b87c7b5a12b1121e574902c9b53d on analysis-4waYBw into a3aacf776235b9f7af6e7d64c962a0ce164d7ba3 on master.

Coverage: 88.112% (-0.6%) from 88.67% when pulling 87b205e200a4b87c7b5a12b1121e574902c9b53d on analysis-4waYBw into a3aacf776235b9f7af6e7d64c962a0ce164d7ba3 on master.


please correctly spell "occurred"

The word "occurred" is spelled with double-"r". Please use its correct spelling in FreeRDP...
[mike@minobo FreeRDP (master)]$ grep -ri occured
winpr/libwinpr/comm/comm_serial_sys.c:		/* FIXME: "is 80 percent full" from the specs is ambiguous, need to track when it previously occured? /
winpr/include/winpr/nt.h:#define STATUS_MCA_OCCURED						((NTSTATUS)0xC000036A)
winpr/include/winpr/error.h:#define ERROR_MCA_OCCURED							0x0000028B
channels/drive/client/dirent.h:         / the very last entry has been processed or an error occured */
channels/urbdrc/client/urbdrc_main.c:				WLog_ERR(TAG,  "No Device from receive_device(). An error occured.");
libfreerdp/core/tcp.c:		WLog_ERR(TAG, "an error occured when writing (num: %d)", num);
libfreerdp/core/errconnect.c:		"A undefined connection error occured."
client/common/cmdline.c:					WLog_ERR(TAG, "A problem occured while mapping the layout name to id");
client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/presentation/BookmarkActivity.java:		// if an error occured - display toast and return false

These ones became API typos, but not from us:
winpr/include/winpr/nt.h:#define STATUS_MCA_OCCURED ((NTSTATUS)0xC000036A)
winpr/include/winpr/error.h:#define ERROR_MCA_OCCURED 0x0000028B
see https://www.winehq.org/pipermail/wine-patches/2006-September/030453.html

@hardening it's actually the same spelling as in the windows headers ;)

@bmiklautz yeah that was my point, we won't correct these ones as it's the way they are supposed to be spelt the microsoft way :)


chore: Update .nvmrc to 16.17.0 and highlight it on CONTRIBUTING

Description
Fixes https://github.com/radix-ui/primitives/issues/2159

chore: Update .nvmrc to 16.17.0 and highlight it on CONTRIBUTING

Thanks! 🙏


Short solution needed: "Redis unlink example" (php-redis)

Please help us write most modern and shortest code solution for this issue:
Redis unlink example (technology: php-redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Redis unlink example


resolve issue #5 by extending api options

adding page and page_size to the available options enables getting more results back.
I've extended the code and api_payload.txt
Sample run of the extended options attached here:
sample test.txt

Hi
Not sure if something has changed or if I messed up the original attachment.  If you use
content_types=['movie']

(lower case rather than upper case) it should work ok
just_watch = JustWatch(country='GB')
required_page_size = 4  #as a demonstration
#do an initial call to get the number of pages
results = just_watch.search_for_item(query="mission",content_types=['movie'],page=1,page_size=required_page_size)
results['total_pages']

gives me 59 pages back.
just_watch.search_for_item(page_size=30, content_types=['movie'], genres=['comedy'])['total_pages']

gives me 50 pages

If you have a look at #7 there is a maximum number of results you can pull back


Relax float16 tolerances in ChainerX binary math tests

Fixes #7845
pytest --count 1000  -s -v -rfEX --tb=short tests/chainerx_tests/unit_tests/routines_tests/test_arithmetic.py -k '_Sub_ and float16 and cuda'

Before: 7 failed, 59993 passed, 26690000 deselected in 4267.15 seconds
After fix: 60000 passed, 26690000 deselected in 4166.01 seconds

pfnCI, test this please.

Jenkins CI test (for commit 401bcf880ad2ed6de4eea65ebf1099f7a281e8cf, target branch master) failed with status FAILURE.

Jenkins failure seems unrelated to this PR. LGTM.

@asi1024 This pull-request is marked as to-be-backported, but the corresponding backport PR could not be found. Could you check?


Fix #12259

Brief Information
This pull request is in the type of:

[X] bug fixing
[ ] new feature
[ ] others

What does this PR do?
Update function of calculating updated height & width for rotated axis labels
Fix issue #12259
Fixed issues
Close #12259
Details
In previous rotateTextRect() in axisHelper.js, take cos value of negative rotate will got negative result, which causes calculated width/height of rotated axis label is smaller than actual size. In grid, it will cause axis labels be cut.
After: How is it fixed in this PR?
As physically we need cos/sin of rotate angle to be positive (or 0), add Math.abs here to solve this issue,
Usage
Are there any API changes?

[ ] The API has been changed.

Related test cases or examples to use the new APIs
NA.
Others
Merging options

[X] Please squash the commits into a single one when merge.

Other information

@susiwen8 Thanks for kind reminder. Revert changes in dist  back to previous version in new commit. Accordingly please squash to one during merging.

@quillblue Could you add a test case for this PR?

@susiwen8 Sure. In latest commit I added a test case using same option as original issue using
and below are before&after comparision
Before:

After:

@Ovilia combined to axisLabel.html case 2 per your idea. The existing case has animation to show the rotate of labels, which has greater idea than my demo.
Though rotate: 330 is same as rotate: -30, I set xAxis rotate from -180 to 180 (instead of 0-360) as users are more used to use negative value to represent clockwise rotation.


document how to run tests in README (#65)

and change the overall structure by adding a level to all headings,
as a first of perhaps more improvements to the README to come.

I think it would be better to document how to run cekit test in the cekit documentation (or improve the cekit documentation). python3-behave and python3-lxml are not the only requirements to run tests (and those package names, and the use of dnf, only make sense on some build host environments, e.g. RHEL8 or Fedora >?; we don't stipulate anywhere that Fedora or RHEL8 are required on the builder host, so we shouldn't implicitly require them either).
We could expand the existing "You need to install Cekit to build these images", perhaps -- to explicitly mention testing, and maybe explicitly say "see the cekit documentation for more information on building/running cekit" although the latter seems almost superfluous. But Trying to fix cekit usage problems here is the wrong place IMHO.


Suggestions

Bug
N/A
Steps to reproduce the bug
N/A
What is your Kaku version?
2.0.1
What is your OS (with version number)?
Windows 7 Ultimate (64 bit)
Note for Linux Users: Please provide here the result of uname -srmv
Which platform are you using to listen to music?
YouTube
Which track format are you using?
best video
Is there any error coming from Inspector?
N/A
Others
Hi, I would like to make few suggestions:

The thumbnails images currently shown in the list view of YT search results are simply too small. Can you please increase the size of the thumbnail image?

Please add an option for us to choose the resolution of the videos. This is a must have feature in video service sites like YT. Currently what does 'best video' mean? Is it 1080p/2k/4k???

After searching for something, I see the results only as videos. What about playlists, Channels, users??? Can you please add these in the search results? Moreover, make it like a browser so that when we click on the username, it should open that page in the app.

I noticed a slight delay when clicking on the play button of any video from the search results. YT when played in the browser plays immediately. Can you please check if there is some issue here between the time when we click on the play button and when the video actually starts playing?

And ofcourse, why not add a download feature? When you are not affiliated to YT in anyway, you are at liberty to design the app the way you want. Please consider this useful feature.

Thanks!

thanks, we'll keep this into list

A dark mode would be amazing as well.


SML/NJ IDE

Description
I would like to suggest that the core team for SML/NJ engineer a lightweight IDE with compiler, debugger, project workflow, online documentation, examples etc.

There is also a debugger, mulligan, by @brandonspark!

We need a bigger “core”!!!

On Sep 13, 2022, at 11:09 PM, Andrew Goh S M @.***> wrote:
Description
I would like to suggest that the core team for SML/NJ engineer a lightweight IDE with compiler, debugger, project workflow, online documentation, examples etc.
—
Reply to this email directly, view it on GitHub https://github.com/smlnj/smlnj/issues/257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGXNPJ2VVZKSE6PJWNCXEDV6FT2ZANCNFSM6AAAAAAQMCHBIQ.
You are receiving this because you are subscribed to this thread.

David MacQueen
@.***


error: Cannot provide a value for property 'ScrollManagerExtended' when using a ComboBox

I tried to add a ComboBox to my application, but it failed to load, and it threw the exception in the title. I did not intend to use any kind of scrollmanager though.
I literally just copied the combobox's code from the documentations:
https://mudextensions.codebeam.org/mudcombobox#basics--visual
Please, help me out! :)

It look like you didn't install package properly. Please read Readme file and add js and css content to your application first. The installation process is the same as MudBlazor core, you should be familiar

thanks, it seems like it resolved the issues


Improvements to assigning composition grading

From @papajohn:

It's hard to tell from the "assign grading" page whether someone has run the process already. Maybe some status at the top telling how many assignments have already been queued?
I had to unselect 45 TAs (twice, because I realized I needed to add people). Would be handy to have buttons to select/unselect all people of each category (staff, grader, instructor)
There are people with the wrong role in 61A: ~5 graders are marked as staff. here's the first place where it ever mattered to me. I couldn't figure out how to change their role from the enrollment page. Probably doesn't matter much.
Edit: This point has been moved into #866 - Since every page is titled the same, when I hold the back button on Chrome to figure out my path through OK, it's impossible to pick the previous page I want. So, I don't know whether I'm jumping back to a particular assignment or the assignments overview page, for example.

I've split the page titles point into it's own issue (#866) since it seems kind of tangential to composition.

I'll take selecting by category


[don't merge] testing if starting packager is needed for travis

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
(You can skip this if you're fixing a typo or adding an app to the Showcase.)
Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
Look around. Match the style of the rest of the codebase. See also the simple style guide.
For more info, see the "Pull Requests" section of our "Contributing" guidelines.

By analyzing the blame information on this pull request, we identified @avaly and @ide to be potential reviewers.

closing, will come via fbsource


Update README to full ES6 goodiness

Is it a bugfix ?
No
Is it a new feature ?
No
Describe what you've done:
Add some ES6 to the README example where it was lacking.
How to test it ?
Shouldn't need to be tested, not a direct feature upgrade.

Thank you !


[TFLite, Bug] Unexpected weights changes after conversion

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: no
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): VERSION=2.0.0, GIT_VERSION=v1.12.1-15611-g025365a736
Python version: 3.6.8
Bazel version (if compiling from source): 0.26.1
GCC/Compiler version (if compiling from source): GCC 8.3.0
CUDA/cuDNN version: CUDA Version: 10.1
GPU model and memory: GeForce GTX 1080 Titan 11GB

Describe the current behavior
In this issue code from tensorflow/models is used (tensorflow/models/official/nlp/bert_modeling.py). After conversion weights of model seriously changes. After some minimal fixes in source code of tensorflow/models it is solved but program mustn't changes. Below I show some cases. Code of keras layer EmbeddingPostprocessor:
def call(self, inputs):
    """Implements call() for the layer."""
    unpacked_inputs = tf_utils.unpack_inputs(inputs)
    word_embeddings = unpacked_inputs[0]
    token_type_ids = unpacked_inputs[1]
    input_shape = tf_utils.get_shape_list(word_embeddings, expected_rank=3)
    batch_size = input_shape[0]
    seq_length = input_shape[1]
    width = input_shape[2]

    output = word_embeddings
    if self.use_type_embeddings:
      flat_token_type_ids = tf.reshape(token_type_ids, [-1])
      one_hot_ids = tf.one_hot(
          flat_token_type_ids,
          depth=self.token_type_vocab_size,
          dtype=self.dtype)
      token_type_embeddings = tf.matmul(one_hot_ids, self.type_embeddings)
      token_type_embeddings = tf.reshape(token_type_embeddings,
                                         [batch_size, seq_length, width])
      output += token_type_embeddings

    if self.use_position_embeddings:
      position_embeddings = tf.expand_dims(
          tf.slice(self.position_embeddings, [0, 0], [seq_length, width]),
          axis=0)

      output += position_embeddings

    output = self.output_layer_norm(output)
    output = self.output_dropout(output)

    return output

Without changes in source code. Weights are incorrect.
Fixes are shown under this point. In this case weights are correct.

if self.use_type_embeddings:
      flat_token_type_ids = tf.reshape(token_type_ids, [-1])
      token_type_embeddings = tf.gather(self.type_embeddings, flat_token_type_embeddings)
      token_type_embeddings = tf.reshape(token_type_embeddings,
                                         [batch_size, seq_length, width])
      output += token_type_embeddings

Use EmbeddingPostprocessor without position_embeddings. In this case weights are correct. Example with full code is in the part "Code to reproduce the issue"

outputs = EmbeddingPostprocessor(
    use_type_embeddings=True,
    token_type_vocab_size=2,
    use_position_embeddings=False,
    dtype=tf.float32)(input1, input2)

Code to reproduce the issue
import tensorflow as tf
import numpy as np

from official.nlp.bert_modeling import EmbeddingPostprocessor

size = 100

input1 = tf.keras.layers.Input(shape=(size, size), dtype=tf.float32, name='1')
input2 = tf.keras.layers.Input(shape=(size,), dtype=tf.int32, name='2')
outputs = EmbeddingPostprocessor(
    use_type_embeddings=True,
    token_type_vocab_size=2,
    dtype=tf.float32)(input1, input2)
model = tf.keras.Model(inputs=[input1, input2], outputs=outputs)

example1 = tf.constant(np.random.random_sample(size=(1, size, size)), dtype=tf.float32)
example2 = tf.constant(np.random.randint(2, size=(1, size), dtype=np.int32))
example = {'1': example1, '2': example2}

output1 = model.predict(example)

converter = tf.lite.TFLiteConverter.from_keras_model(model)
tflite_model = converter.convert()

interpreter = tf.lite.Interpreter(model_content=tflite_model)
interpreter.allocate_tensors()

input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

interpreter.reset_all_variables()
interpreter.set_tensor(input_details[0]['index'], example[input_details[0]['name']])
interpreter.set_tensor(input_details[1]['index'], example[input_details[1]['name']])
interpreter.invoke()

output2 = interpreter.get_tensor(output_details[0]['index'])

print(np.sum(np.abs(output1 - output2)))

Other info / logs

With error:

*** INFO MESSAGES ***
691.0672

Without error:

*** INFO MESSAGES ***
0.0021286607

@Vooblin, Since the associated PR has been merged. Can we close this issue.

@Vooblin, Can you please let us know if you are happy to close if no issue persists. Thanks!

@gadagashwini Sorry, I missed your last comment and forgot about this issue. Associated PR fixed only code in tensorflow/models. I think that this issue related to problem with tflite converter and PR didn't fix it. So I think that problem wasn't solved but if you think that it's not so important and it doesn't need to be fixed then I won't mind closing this issue.

@Vooblin,
Is this still an issue? Could you please update TensorFlow to v2.3 and check if you are facing the same issue. Thanks!


How to serve static files in Vestigo

Given a "static" directory of files you wish to serve in the path "./static/" you can do the following to serve from that directory:
func main() {
    router := vestigo.NewRouter()
    // strip the prefix "static" and serve files from the directory "static"
    // router.Get takes a handler func, so append .ServeHTTP to the end of the handler
    router.Get("/static/*", http.StripPrefix("/static/", http.FileServer(http.Dir("static")    )).ServeHTTP)
    log.Fatal(http.ListenAndServe(":9000", router))
}

Hope that helps, thanks!

Great, working very well.
Sorry, I can't found a way to get support so openned ticket here.
Anyway , thanks.


Getting error on Installation

Can you any one help me on installation. I am unable to Build the software and install. Getting attached Error.

This is fixed on commit 6488dc2925cb02a344170b59de65d1a305beab9a
Basically, you need to execute first in npm install in AccountGoWeb project. I added this is csproj to automatically run it on build.


Missing minimum requirements

This only has licensing requirements and does not specify required internet access, etc.

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

ID: b8aca66a-5a8b-64d2-7201-a7b915c5d309
Version Independent ID: c3cc0543-db20-a8f2-288c-d1dea5ea479f
Content: Minimum requirements for Windows Defender ATP
Content Source: windows/security/threat-protection/windows-defender-atp/minimum-requirements-windows-defender-advanced-threat-protection.md
Product: w10
GitHub Login: @mjcaparas
Microsoft Alias: macapara

We've moved the onboarding requirements to the onboarding topic: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-atp/onboard-configure-windows-defender-advanced-threat-protection


Error: [wildcard] query does not support [case_insensitive]

After adding 'case_insensitive' in release 3.3 (file: src/Domain/Syntax/Wildcard.php) I get this error: [wildcard] query does not support [case_insensitive]
I'm using elastic 7.9.3

Check the ES docs if your version supports that parameter, I don't know to be honest.

The parameter can be used from version 7.10. I am using the version that is indicated in the Explorer documentation (7.9.3), in Quickstart. Could you tell me which version is appropriate to use with your package?
Thanks!

Elastic is so huge and with so many options, I am not always sure. If the upgrade to 7.10 is not to hard for you I'd say that newer is better.
I will think of a way to put that case insensitive feature behind a feature flag check of some kind. And in the future I should better check which ES versions a given feature supports, because 7.9 should work fine with Explorer.

I tested it with version 7.10 and it works. Additionally, I have updated my project to version 7.17.8 without any problems.

Closing this issue, since you resolved this by updating.
Making syntax nodes differ between elastic versions seems excessive.
If someone wants to support other or older elastic query nodes, one can easily extend the syntax interface and add them in there own package.
Maybe this will change in the future if a lot of people want other behavior depending on the elastic version, if so, feel free to speak up (or create an PR)


Import schema from enterprise-chef-server-schema

Enterprise-chef-server-schema often needs to change alongside the code
that makes use of the new schema.  Having the schema in a separate
repository introduced unncessary friction into the development
process.
deps/chef-server-schema is an import of chef-server-schema at 1.0.4
If you have stumbled upon this repository via git-log or git-blame and
need more history, see the following upstream repositories:
https://github.com/chef/enterprise-chef-server-schema
and
https://github.com/chef/chef-server-schema

See also: https://github.com/chef/opscode-omnibus/pull/711
Todo/Open Questions:

[ ] Determine why tests are failing on travis but working locally
[ ] What should the next "sqitch tag" be?
[ ] How would this impact Hosted Chef?

What should the next sqitch tag be?

How would this impact Hosted Chef?

When we end up moving the oc_erchef tarball package deployment into Travis, we could also package up the schema for the deploy to pull down as well.

A follow-on question here:
It looks like we've also consolidated chef-server-schema into this repo as well. Is there a path forward where we can move this out of the deps subdir and expose it at the top level?

It looks like we've also consolidated chef-server-schema into this repo as well. Is there a path forward where we can move this out of the deps subdir and expose it at the top level?

We could do that now.  We'll just need to change the path in omnibus and in the test helpers.

As long as this work with OCS and EC 11.latest upgrade to this and we answer the remaining questions, I am a huge :+1:

Did you get a chance to put more thought into this? It sounds like the options are:
Bump the oc_erchef tag to be above the schema tag and move them forward in step
Just use text-based tags in the schema

Those are definitely our options.  I don't have a strong leaning one way or the other.  I think we could just roll forward with the versioning in the plan file and accept that there won't be a git tag to go with them for now.  Since we aren't using the Makefile for deploys I don't think it matters on the technical side.

I would be a fan of the schema version matching the oc_erchef version just for simplicity.

So can we have sqitch use a different filename other than sqitch.plan? If so, we might be able to keep all of the sql in t/, deploy/ and revert/?
Alternatively, would it be possible to just combine the plan files? (I suspect not, because of the hashing...)

:+1: other than minor comments/questions above.

@chef/lob I've updated this and the related opscode-omnibus branch to use schema/baseline rather than schema/deps/chef-server-schema, updated the Makefiles and READMEs to hopefully prevent confusion, and made minor updates to the test and deploy logic to account for the directory move.
I've tested the following (on a Standalone):

Clean install
Upgrade from 12.0.0
Upgrade from EC 11.2.6

I can't see why this would behave different on Tier or HA.  Open Source 11 -> 12 upgrades take a completely different path, so I think we should be OK there as well.
From the discussion, I think that the next "sqitch tag" should line up with the Chef Server (no oc_erchef) version we plan to ship the change in.  While it might be a little confusing, at least it will make it clear where a given change shipped.  This might also help in the future if we combine opscode-omnibus and oc_erchef.
For Hosted, the schema is part of the release that the oc_erchef project creates, so it is likely we can construct some suitable deploy process using that.
Any other concerns that can't be taken care of iteratively that people can think of?  If not, I'd vote to merge this so new feature work can build on top of it.

Honestly given that the schema doesn't use the version numbers as aanything other than tags, I think we should drop it and start sqitch tagging by feature name.  That'll make it easier to resolve conflicts as well, without having to edit version numbers already in the plan file.
MWR.

@marcparadise Ahh, interesting idea.


chore: package.json dependency change

It seems that the packages in the dependencies should be moved to dev dependencies.

@2jordan3 I think this is fine in the monorepo. wdyt?

@2jordan3 I think this is fine in the monorepo. wdyt?

👌


Improve robustness of database scripts

Improve robustness of simtools-db-add-model-parameters-from-repository-to-db application and upload_from_model_repository_to_db.sh scripts. No functional changes.
This is triggered by:

a leading space in the argument of upload_from_model_repository_to_db.sh for the database name is removed now (I have been puzzled quite a while why I can't read from a newly generated local database of name "CTAO-Simulation-Model-v0-0-1" (it was uploaded as " CTAO-Simulation-Model-v0-0-1")
ask user for confirmation before upload_from_model_repository_to_db.sh is uploading to a remote DB (because I did this accidentally...). This requires upload_from_model_repository_to_db.sh to read the .env file and therefore the local DB variables in the script had to be renamed.

@orelgueta - this one should be ready for final review. Thanks for your comments.


app file structure

I've already worked with django, sorry if this is a silly question.
This is the usual file structure:
project:
mydata_app
manage.py
I should add the tasks to a file called tasks.py?
It should be inside mydata_app or in the projects directory?
the call for the tasks can be placed in the views.py?

Hi @Summer88,
I recommend placing all your tasks for related to a app in a file named tasks.py
example:
project:
    my_app/
        tasks.py

   my_other_app/
        tasks.py

   manage.py

The location you where you call a tasks is depend on where you want the task to go to the background.
Nice examples of this are available in the documentation.
https://django-q.readthedocs.org/en/latest/examples.html

Django Q does not enforce a location for your task. It can be any function inside your environment.
As long as it's importable, you can run it as a task. However it is always good practice to keep things together in once place.
You can use imports:
from my_app import somefunction

async(somefunction, somearguments)

or full paths:
async('my_app.somefunction', somearguments)

both do the same thing.

Thanks for the explanation, I will try it out asap!


[web] Split the engine into smaller libs

This issue is for the ongoing effort of splitting the web engine into smaller libs, instead of the current monolithic library with part files.
Initial PR to kick this off: https://github.com/flutter/engine/pull/25569

This is complete!


migrate to remult kit

Very much I already used it 😄
But I miss the index.ts file with the entities

Should be back soon 😊

I also think that some tests around the generation of the files are a must

There are several in:
https://github.com/noam-honig/remult-kit/blob/main/src/lib/cli/getEntity.test.ts
What do you feel is missing?
On Thu, Sep 19, 2024 at 4:44 PM yedidya rashi @.***>
wrote:

I also think that some tests around the generation of the files are a must
—
Reply to this email directly, view it on GitHub
https://github.com/remult/remult/pull/519#issuecomment-2361030415, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD65PU2GQR6CVEFK63MEFRDZXLIKLAVCNFSM6AAAAABOPOPUFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRGAZTANBRGU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Oh i missed it. never mind


Added ref input to all CI workflows

Current dependencies on/for this PR:

main

PR #186   👈

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Stack job ID: 9zMgd20JGCtQTT05BBaI.
See details on graphite.dev


Add immediate-promise

https://github.com/sindresorhus/immediate-promise

Yes! Thanks for the module btw.
tempted to make a single-line module to simply return (typeof setImmediate === 'function' ? setImmediate : setTimeout)...

Already have that: https://github.com/sindresorhus/set-immediate-shim


GitHub Issues should default to having the "Ruby Engineering Board" project

It seems like it would be handy to have "Ruby Engineering Board" be the default project for new GitHub Issues.

It looks like we're using "Projects (classic)" and if we plan to continue using the GitHub project, should migrate to the new "Projects" tool.
Once we do that, we can use a GitHub action to make sure all issues are added to the project when they're created: https://github.com/actions/add-to-project

Closing in favor of https://github.com/newrelic/newrelic-ruby-agent/issues/1951


File missing after command "wsl --update" showing "WSL is finishing an ugrade... Update failed (exit code:1603) Error code:Wsl/CallMsi/E_ABORT"

Today I want to check the volume of my virtual machine. Therefore, I just want to update my wsl. However, it shows the message "WSL is finishing an ugrade... Update failed (exit code:1603) Error code:Wsl/CallMsi/E_ABORT" which seems unable to update. However, after that, my virtual machine and all of my files on it were gone. I am using the Ubuntu 20.04

Thank you for reporting this @ChenLiangYin. Which version of WSL are you running ? What's the output of wsl --version ?

In fact I am looking for some solutions in
https://answers.microsoft.com/en-us/windows/forum/all/wsl-files-missing-after-windows-11-update/a13c4a14-f67e-488b-8259-0340a7cf503e and I uninstalled the app I just installed (windows subsystem for linux). And the linux distribution has come back. However, if I open the vscode with wsl. It fails to connect to the wsl.
I am in wsl2. "wsl --version" shows "invalid command line option --version".

It looks like you reverted to inbox wsl. Can you try to run wsl --update and see if that solves the issue ?

If you install WSL > 2.0 again, can you collect logs during the installation so we can see where the issue is ?
/logs

#Requires -RunAsAdministrator
[CmdletBinding()]
Param (
$LogProfile = $null,
[switch]$Dump = $false
)
Set-StrictMode -Version Latest
$folder = "WslLogs-" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss")
mkdir -p $folder
if ($LogProfile -eq $null)
{
$LogProfile = "$folder/wsl.wprp"
try {
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/wsl.wprp" -OutFile $LogProfile
}
catch {
throw
}
}
reg.exe export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss $folder/HKCU.txt
reg.exe export HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Lxss $folder/HKLM.txt
reg.exe export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\P9NP $folder/P9NP.txt
reg.exe export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2 $folder/Winsock2.txt
$wslconfig = "$env:USERPROFILE/.wslconfig"
if (Test-Path $wslconfig)
{
Copy-Item $wslconfig $folder
}
get-appxpackage MicrosoftCorporationII.WindowsSubsystemforLinux > $folder/appxpackage.txt
get-acl "C:\ProgramData\Microsoft\Windows\WindowsApps" -ErrorAction Ignore | Format-List > $folder/acl.txt
Get-WindowsOptionalFeature -Online > $folder/optional-components.txt
bcdedit.exe > $folder/bcdedit.txt
$wprOutputLog = "$folder/wpr.txt"
wpr.exe -start $LogProfile -filemode 2>&1 >> $wprOutputLog
if ($LastExitCode -Ne 0)
{
Write-Host -ForegroundColor Yellow "Log collection failed to start (exit code: $LastExitCode), trying to reset it."
wpr.exe -cancel 2>&1 >> $wprOutputLog
wpr.exe -start $LogProfile -filemode 2>&1 >> $wprOutputLog
if ($LastExitCode -Ne 0)
{
    Write-Host -ForegroundColor Red "Couldn't start log collection (exitCode: $LastExitCode)"
}

}
try
{
Write-Host -NoNewLine -ForegroundColor Green "Log collection is running. Please reproduce the problem and press any key to save the logs."
$KeysToIgnore =
      16,  # Shift (left or right)
      17,  # Ctrl (left or right)
      18,  # Alt (left or right)
      20,  # Caps lock
      91,  # Windows key (left)
      92,  # Windows key (right)
      93,  # Menu key
      144, # Num lock
      145, # Scroll lock
      166, # Back
      167, # Forward
      168, # Refresh
      169, # Stop
      170, # Search
      171, # Favorites
      172, # Start/Home
      173, # Mute
      174, # Volume Down
      175, # Volume Up
      176, # Next Track
      177, # Previous Track
      178, # Stop Media
      179, # Play
      180, # Mail
      181, # Select Media
      182, # Application 1
      183  # Application 2

$Key = $null
while ($Key -Eq $null -Or $Key.VirtualKeyCode -Eq $null -Or $KeysToIgnore -Contains $Key.VirtualKeyCode)
{
    $Key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
}

Write-Host "`nSaving logs..."

}
finally
{
wpr.exe -stop $folder/logs.etl 2>&1 >> $wprOutputLog
}
if ($Dump)
{
$Assembly = [PSObject].Assembly.GetType('System.Management.Automation.WindowsErrorReporting')
$DumpMethod = $Assembly.GetNestedType('NativeMethods', 'NonPublic').GetMethod('MiniDumpWriteDump', [Reflection.BindingFlags] 'NonPublic, Static')
$dumpFolder = Join-Path (Resolve-Path "$folder") dumps
New-Item -ItemType "directory" -Path "$dumpFolder"

$executables = "wsl", "wslservice", "wslhost", "msrdc"
foreach($process in Get-Process | Where-Object { $executables -contains $_.ProcessName})
{
    $dumpFile =  "$dumpFolder/$($process.ProcessName).$($process.Id).dmp"
    Write-Host "Writing $($dumpFile)"

    $OutputFile = New-Object IO.FileStream($dumpFile, [IO.FileMode]::Create)

    $Result = $DumpMethod.Invoke($null, @($process.Handle,
                                          $process.id,
                                          $OutputFile.SafeFileHandle,
                                          [UInt32] 2,
                                          [IntPtr]::Zero,
                                          [IntPtr]::Zero,
                                          [IntPtr]::Zero))

    $OutputFile.Close()
    if (-not $Result)
    {
        Write-Host "Failed to write dump for: $($dumpFile)"
    }
}

}
Collect networking state relevant for WSL
Using a try/catch for commands below, as some of them do not exist on all OS versions
Write-Host "`nCollecting additional network state..."
$networkingFolder = "$folder/networking"
mkdir -p $networkingFolder
Host networking info
try
{
Get-NetAdapter -includeHidden | select Name,ifIndex,NetLuid,InterfaceGuid,Status,MacAddress,MtuSize,InterfaceType,Hidden,HardwareInterface,ConnectorPresent,MediaType,PhysicalMediaType | Out-File -FilePath "$networkingFolder/Get-NetAdapter.log" -Append
}
catch {}
try
{
Get-NetIPConfiguration -All -Detailed | Out-File -FilePath "$networkingFolder/Get-NetIPConfiguration.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVVMCreator | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVVMCreator.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVVMSetting -PolicyStore ActiveStore | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVVMSetting_ActiveStore.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVProfile -PolicyStore ActiveStore | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVProfile_ActiveStore.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVPort | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVPort.log" -Append
}
catch {}
try
{
& hnsdiag.exe list all 2>&1 > $networkingFolder/hnsdiag_list_all.log
}
catch {}
try
{
& hnsdiag.exe list endpoints -df 2>&1 > $networkingFolder/hnsdiag_list_endpoints.log
}
catch {}
try
{
foreach ($port in Get-NetFirewallHyperVPort)
{
& vfpctrl.exe /port $port.PortName /get-port-state 2>&1 > "$networkingFolder/vfp-port-$($port.PortName)-get-port-state.log"
& vfpctrl.exe /port $port.PortName /list-rule 2>&1 > "$networkingFolder/vfp-port-$($port.PortName)-list-rule.log"
}
}
catch {}
try
{
& vfpctrl.exe /list-vmswitch-port 2>&1 > $networkingFolder/vfpctrl_list_vmswitch_port.log
}
catch {}
$logArchive = "$(Resolve-Path $folder).zip"
Compress-Archive -Path $folder -DestinationPath $logArchive
Remove-Item $folder -Recurse
Write-Host -ForegroundColor Green "Logs saved in: $logArchive. Please attach that file to the GitHub issue."

Actually I have found the the ubuntu folder in %localappdata% where the ext4 still exists. It seems like those files are still intact. However, I don't know why after uninstalling the apps I still couldn't connect wsl.

It looks like you reverted to inbox wsl. Can you try to run wsl --update and see if that solves the issue ?

No it the problem still exists even I push the repair.

Does manually installing the latest release solve the issue ?

I am installing it manually. But it shows "you should verify you have sufficient privileges to install system services". But I am administer...

Can you collect logs during the install ?
/logs

#Requires -RunAsAdministrator
[CmdletBinding()]
Param (
$LogProfile = $null,
[switch]$Dump = $false
)
Set-StrictMode -Version Latest
$folder = "WslLogs-" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss")
mkdir -p $folder
if ($LogProfile -eq $null)
{
$LogProfile = "$folder/wsl.wprp"
try {
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/wsl.wprp" -OutFile $LogProfile
}
catch {
throw
}
}
reg.exe export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss $folder/HKCU.txt
reg.exe export HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Lxss $folder/HKLM.txt
reg.exe export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\P9NP $folder/P9NP.txt
reg.exe export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2 $folder/Winsock2.txt
$wslconfig = "$env:USERPROFILE/.wslconfig"
if (Test-Path $wslconfig)
{
Copy-Item $wslconfig $folder
}
get-appxpackage MicrosoftCorporationII.WindowsSubsystemforLinux > $folder/appxpackage.txt
get-acl "C:\ProgramData\Microsoft\Windows\WindowsApps" -ErrorAction Ignore | Format-List > $folder/acl.txt
Get-WindowsOptionalFeature -Online > $folder/optional-components.txt
bcdedit.exe > $folder/bcdedit.txt
$wprOutputLog = "$folder/wpr.txt"
wpr.exe -start $LogProfile -filemode 2>&1 >> $wprOutputLog
if ($LastExitCode -Ne 0)
{
Write-Host -ForegroundColor Yellow "Log collection failed to start (exit code: $LastExitCode), trying to reset it."
wpr.exe -cancel 2>&1 >> $wprOutputLog
wpr.exe -start $LogProfile -filemode 2>&1 >> $wprOutputLog
if ($LastExitCode -Ne 0)
{
    Write-Host -ForegroundColor Red "Couldn't start log collection (exitCode: $LastExitCode)"
}

}
try
{
Write-Host -NoNewLine -ForegroundColor Green "Log collection is running. Please reproduce the problem and press any key to save the logs."
$KeysToIgnore =
      16,  # Shift (left or right)
      17,  # Ctrl (left or right)
      18,  # Alt (left or right)
      20,  # Caps lock
      91,  # Windows key (left)
      92,  # Windows key (right)
      93,  # Menu key
      144, # Num lock
      145, # Scroll lock
      166, # Back
      167, # Forward
      168, # Refresh
      169, # Stop
      170, # Search
      171, # Favorites
      172, # Start/Home
      173, # Mute
      174, # Volume Down
      175, # Volume Up
      176, # Next Track
      177, # Previous Track
      178, # Stop Media
      179, # Play
      180, # Mail
      181, # Select Media
      182, # Application 1
      183  # Application 2

$Key = $null
while ($Key -Eq $null -Or $Key.VirtualKeyCode -Eq $null -Or $KeysToIgnore -Contains $Key.VirtualKeyCode)
{
    $Key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
}

Write-Host "`nSaving logs..."

}
finally
{
wpr.exe -stop $folder/logs.etl 2>&1 >> $wprOutputLog
}
if ($Dump)
{
$Assembly = [PSObject].Assembly.GetType('System.Management.Automation.WindowsErrorReporting')
$DumpMethod = $Assembly.GetNestedType('NativeMethods', 'NonPublic').GetMethod('MiniDumpWriteDump', [Reflection.BindingFlags] 'NonPublic, Static')
$dumpFolder = Join-Path (Resolve-Path "$folder") dumps
New-Item -ItemType "directory" -Path "$dumpFolder"

$executables = "wsl", "wslservice", "wslhost", "msrdc"
foreach($process in Get-Process | Where-Object { $executables -contains $_.ProcessName})
{
    $dumpFile =  "$dumpFolder/$($process.ProcessName).$($process.Id).dmp"
    Write-Host "Writing $($dumpFile)"

    $OutputFile = New-Object IO.FileStream($dumpFile, [IO.FileMode]::Create)

    $Result = $DumpMethod.Invoke($null, @($process.Handle,
                                          $process.id,
                                          $OutputFile.SafeFileHandle,
                                          [UInt32] 2,
                                          [IntPtr]::Zero,
                                          [IntPtr]::Zero,
                                          [IntPtr]::Zero))

    $OutputFile.Close()
    if (-not $Result)
    {
        Write-Host "Failed to write dump for: $($dumpFile)"
    }
}

}
Collect networking state relevant for WSL
Using a try/catch for commands below, as some of them do not exist on all OS versions
Write-Host "`nCollecting additional network state..."
$networkingFolder = "$folder/networking"
mkdir -p $networkingFolder
Host networking info
try
{
Get-NetAdapter -includeHidden | select Name,ifIndex,NetLuid,InterfaceGuid,Status,MacAddress,MtuSize,InterfaceType,Hidden,HardwareInterface,ConnectorPresent,MediaType,PhysicalMediaType | Out-File -FilePath "$networkingFolder/Get-NetAdapter.log" -Append
}
catch {}
try
{
Get-NetIPConfiguration -All -Detailed | Out-File -FilePath "$networkingFolder/Get-NetIPConfiguration.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVVMCreator | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVVMCreator.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVVMSetting -PolicyStore ActiveStore | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVVMSetting_ActiveStore.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVProfile -PolicyStore ActiveStore | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVProfile_ActiveStore.log" -Append
}
catch {}
try
{
Get-NetFirewallHyperVPort | Out-File -FilePath "$networkingFolder/Get-NetFirewallHyperVPort.log" -Append
}
catch {}
try
{
& hnsdiag.exe list all 2>&1 > $networkingFolder/hnsdiag_list_all.log
}
catch {}
try
{
& hnsdiag.exe list endpoints -df 2>&1 > $networkingFolder/hnsdiag_list_endpoints.log
}
catch {}
try
{
foreach ($port in Get-NetFirewallHyperVPort)
{
& vfpctrl.exe /port $port.PortName /get-port-state 2>&1 > "$networkingFolder/vfp-port-$($port.PortName)-get-port-state.log"
& vfpctrl.exe /port $port.PortName /list-rule 2>&1 > "$networkingFolder/vfp-port-$($port.PortName)-list-rule.log"
}
}
catch {}
try
{
& vfpctrl.exe /list-vmswitch-port 2>&1 > $networkingFolder/vfpctrl_list_vmswitch_port.log
}
catch {}
$logArchive = "$(Resolve-Path $folder).zip"
Compress-Archive -Path $folder -DestinationPath $logArchive
Remove-Item $folder -Recurse
Write-Host -ForegroundColor Green "Logs saved in: $logArchive. Please attach that file to the GitHub issue."

You need to run the script and upload the file it produces, this is just the content of the script.
/logs

WslLogs-2023-10-21_03-55-20.zip

Sorry I see.
This is the previous log file I have when installing wsl
WslLogs-2023-10-21_03-17-06.zip

You need to run the script and upload the file it produces, this is just the content of the script.
/logs

I found out the solution now. I install a new distribution Ubuntu-22.04 now and replace its ext4 file with my previous one (on ubuntu20.04) and it works! However, I am not sure if there is any problem when doing this way.
Now I feel like I should store the files on my mnt/ not on the virtual machine.

Fixed with https://github.com/microsoft/WSL/releases/tag/2.0.6


Produce a new segmentation image labels resected and remaining lobes

Is your feature request related to a problem? Please describe.
Original Post
Describe the solution you'd like
After defining a resection surface, produce a new segmentation image labels resected and remaining lobes.

Thanks！
(Please refer to the image and video in the original Post.) You only need to set several points, and a smooth surface will be generated based on these points.
After we carefully adjust the position of the point and click Apply, the two sides of the surface will be finely divided automatically and two new segments will be generated.
As an aside, I'm only using this feature in the split lung so far, so only two new segments will be generated, one on each side of the surface.

@psychicpotato this is in our roadmap. We'll try to get it implemented as soon as possible.

Thanks @RafaelPalomar ! Also shoutout to @RuoyanMeng for this solution that works nicely: https://discourse.slicer.org/t/beginner-question-liver-volumetry/33887/9


feat(home): improve StarredEntities UI

Hey, I just made a Pull Request!
Improve Starred Entities UI to reduce whitespace and provide more context on the entities:

Use the Entity Presentation API (via <EntityDisplayName>) to display the entity's name
Component's kind and spec.type are displayed as a secondary text
List items are condensed to reduce unecessary spacing

Default (before/after):

Grouped by kinds (before/after):

This PR depends on #26842 to fix the icon alignment (but it's subtle here)
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[X] ~Added or updated documentation~
[X] ~Tests for new functionality and regression tests for bug fixes~
[X] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

@backstage/home-maintainers can you take a look at this please? :pray:

@squid-ney should be good now, thanks for the review 👍


iohpmevt requirement

The iohpmevt1-31 section has this sentence in a non-normative comment:

A minimum of one programmable event counter besides the cycles counter is required to comply with this specification.

Can you clarify if this is a general requirement or if it is required only if capabilities.HPM=1?  I assume the latter.
Also, it seems that this sentence should be moved to the normative text.  (It could be restating something that's already in the normative text but I didn't see it.)

In the capabilities register section we have this normative text "When HPM is 1, the iohpmcycles and the iohpmctr1 registers must be present and be at least 32-bits wide.". This non-normative text is providing guidance on how many may be a useful number to build. We can qualify this text with if capabilities.HPM=1.

Address in PR #170

OK.  Thanks.


Publish a jar containing only Terrastore APIs

Terrastore provides interfaces to customize:
- Update functions.
- Predicate conditions.
- Key comparators.
- Event listeners.

Those interfaces should be extracted and published in a separated jar so
that users could easily develop Terrastore extensions without having to
import the whole Terrastore dependencies.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 26 Feb 2010 at 12:48

Original comment by<EMAIL_ADDRESS>on 27 Feb 2010 at 11:57

Changed state: Fixed


Suggestion | Beta mechanics

I've wanted to use fabric for a classic experience for the longest time because of your mods but because of another mod on forge that restores beta mechanics and has tons of configuration options I couldn't give that up. I don't know how to write code or make mods but can you make a fully fledged configurable mod that restores beta mechanics?
Configurable options include

Remove hunger
Attack cooldown and sweeping edge (also gets rid of op axe damage)
Food stack (disabling food stack enables instant eating from beta)
No pull bow
Disable sprint
Old main menu

I don't know the chances of this becoming a reality especially because of another mod out there that does the exact same thing on forge but if it does I'm definitely going to fabric.

I appreciate the suggestion, and I definitely would like to see a mod like this.  Unfortunately, I am a little too busy to be the one to write it, sorry!

I appreciate the suggestion, and I definitely would like to see a mod like this.  Unfortunately, I am a little too busy to be the one to write it, sorry!


Add app to showcase with source link

3 small changes
Added a published android app to the showcase.
Modified the rendering of the apps.
When there's a source property on the app object, the link will show up as shown in this screenshot.

Also, external links have the _blank target and not just blank (without the underscore), so a new tab/window will always be opened.

idk if we need source in the showcase. @brentvatne your call.

Travis CI seems to be failing because of wordwrap not being installable via npm (even though it's on npmjs.com). Is there anything I can do to solve this issue?

ping @brentvatne

I think adding a source link is fine!

@facebook-github-bot shipit

@manonthemat Seems there are conflicts. Can you fix them before I merge?

I did, but travis is still failing :(

@manonthemat - please rebase against master, and squash to one commit :) thanks!

@facebook-github-bot shipit


Problem with python 3 shebang

Hello,
I have a simple script I'm trying to run in bitbar:
#! /usr/bin/env python3
print('hello world')

When I run in bitbar, I see an error message:
env: python3: No such file or directory
This would indicate that my PATH variable doesn't contain a path to my Python 3 interpreter. But if I choose "Run in Terminal", it runs fine in the terminal, so that's not the issue.
If I change my shebang to just:
#! /usr/bin/env python

Everything works, however it's now using the crummy old Python 2.7.1 that comes installed in OSX. Setup is Imac running MAC OSX 10.12.1 (Sierra).
Btw, I'm just using 'hello world' to test, I have another script that relies on the modules installed to my Python 3 folders and not python 2, hence the script requiring Python 3.
Thank you kind sirs.

@matryer

No matter, I used this shebang from another answered issue
#!/usr/bin/env PYTHONIOENCODING=UTF-8 /usr/local/bin/python3
That seems to work.

...?!
Maybe I don't belong here


ensure that final report on metrics is shown at end of session

This was previously carried by a custom result type known as ExecutionMetricsResult, which was a specialization of ExecutionResult.
Now that ScenarioResult the primary result type from a scenario execution, this should probably be the basis for handing results back to the session layer or similar for reporting a scenario summary (which was where the list of metrics dumped to screen previously came from.)
Ideas from Discussion:

There is no longer one definitive stopping point for all scenarios and activities at which time a singular report should be given.
We do not want to maintain any ghost copies of components or their decorating state, like metrics. Thus, any post-results should be buffered to an appropriate channel within the normative component life-cycle hooks.
One implementation idea would be to provide an output buffer within the component tree, (the session by default), and any component that wants to send to such a thing would find the first one at it's or a parent's level and send via that found service directly.

code complete and pull request created


ftw run: "FsExtra error: The system cannot find the path specified. (os error 3)"

I'm on Windows and godot is in my PATH; I'm able to run it from the command line.
I've created a new project: ftw new foo. Then I try to run it with cd foo; ftw run; and I get the following error after it successfully builds: "FsExtra error: The system cannot find the path specified. (os error 3)".

Ah, I see now that this is happening in the build step:
c:\projects\kopernikus\depot\infra\godot-kcp>ftw build
Project is valid...
    Finished dev [unoptimized + debuginfo] target(s) in 1.90s
FsExtra error: The system cannot find the path specified. (os error 3)

Because... no apparent windows support at the moment. If I run godot manually I see as well that it doesn't find the dll.

Resolved with an update to the template: https://github.com/godot-rust/godot-rust-template/pull/33

Hi @photex , thankyou for filing this issue. In order for the windows targets to work in ftw, changes must be made to the godot-rust-template first, then remove the windows targets from targets_to_filter vector from ftw_command.rs. If you want you could work on this issue and file a PR.

Is this really fixed? I just tried to install latest main as follows:
cargo install --git https://github.com/macalimlim/ftw --branch main

I previously had the published version from crates installed. It mentioned Replaced package `ftw v0.4.0` with `ftw v0.4.0 (https://github.com/macalimlim/ftw?branch=main#2a9bca15)` (executable `ftw.exe`).
However, when I execute ftw --version, I still get ftw 0.4.0, not sure if that's just the output or if didn't actually install the latest version.
Anyway, on ftw run I get the following error:
> ftw run
Project is valid...
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
Error: Das System kann die angegebene Datei nicht finden. (os error 2)

which means "system can't find the specified file". Note that OS error is 2 and not 3 as above (could be localization, whatever).
ftw run works.
Manually launching Godot with godot.windows.tools.64.exe --path godot also works.
Probably it's not finding the Godot executable, which one are you looking for?

Hi @Bromeon can you show using the tree command the generated game project? Is godot.exe on your $Path?

ftw will try to execute a godot binary in $Path, I guess its different for batch files compared to exe files.I filed an issue here #9

does the batch file accept the same arguments as godot?

does the batch file accept the same arguments as godot?

Yes, it's really just forwarding the arguments, I could as well have just renamed the .exe file.
godot.bat:
godot.windows.tools.64.exe %*

It should be enough on Windows to invoke godot (not godot.exe), that will work for both .exe and .bat files.
Or are you already doing that?


Bug video and notification

I installed the plugin and nothing works. The video only works out of ten, I don’t have an alert when a person rings at the door. The HomePod doesn't ring either. Do you need special settings in the Eufy application? I hope that an update will soon be made of the plugin

There is no HomePod ring...yet. As the files state, you get video live feed. No audio either.

There is no HomePod ring...yet. As the files state, you get video live feed. No audio either.

With the old 0.1.1 Version the HomePad has ringed!

With the old 0.1.1 Version the HomePad has ringed!

@karesake Is this version 0.1.1 you have? I’ll try to install it to see if it works.

@karesake Is this version 0.1.1 you have? I’ll try to install it to see if it works.

The ringing worked with 0.1.1. The problem is that the video stream no longer works with this version and the problem with the notifications at that time is not resolved.
I'm back to 0.1.6 and hope that the HomePod will finally return @birkir

The ringing worked with 0.1.1. The problem is that the video stream no longer works with this version and the problem with the notifications at that time is not resolved.
I'm back to 0.1.6 and hope that the HomePod will finally return @birkir

Huh?
Shawn Skalinski
<EMAIL_ADDRESS>
On Jan 16, 2021, at 10:55 AM, karesake<EMAIL_ADDRESS>wrote:

With the old 0.1.1 Version the HomePad has ringed!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Huh?
Shawn Skalinski
<EMAIL_ADDRESS>
On Jan 16, 2021, at 10:55 AM, karesake<EMAIL_ADDRESS>wrote:

With the old 0.1.1 Version the HomePad has ringed!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

It doesn’t work with version 0.1.1 for the sounding on the HomePod and I still don’t have an iPhone notification if someone rings. I hope to have an update

It doesn’t work with version 0.1.1 for the sounding on the HomePod and I still don’t have an iPhone notification if someone rings. I hope to have an update

I've just came back to v0.1.1 and now it works as expected:
I get notification on:

iDevices
Apple TV
Homepods

I even get a picture attached to notification.
After, it's similar behavior than with 0.1.6. Video live feed come sometimes (70% of time) but with 5 or 10 seconds delay.

I've just came back to v0.1.1 and now it works as expected:
I get notification on:

iDevices
Apple TV
Homepods

I even get a picture attached to notification.
After, it's similar behavior than with 0.1.6. Video live feed come sometimes (70% of time) but with 5 or 10 seconds delay.

Now we just need everything to come together
Shawn Skalinski
<EMAIL_ADDRESS>
On Jan 31, 2021, at 9:54 AM, sverspecht<EMAIL_ADDRESS>wrote:

I've just came back to v0.1.1 and now it works as expected:
I get notification on:
iDevices
Apple TV
Homepods
I even get a picture attached to notification.
After, it's similar behavior than with 0.1.6. Video live feed come sometimes (70% of time) but with 5 or 10 seconds delay.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Now we just need everything to come together
Shawn Skalinski
<EMAIL_ADDRESS>
On Jan 31, 2021, at 9:54 AM, sverspecht<EMAIL_ADDRESS>wrote:

I've just came back to v0.1.1 and now it works as expected:
I get notification on:
iDevices
Apple TV
Homepods
I even get a picture attached to notification.
After, it's similar behavior than with 0.1.6. Video live feed come sometimes (70% of time) but with 5 or 10 seconds delay.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Wow - .1.1 does appear to work... nice.

Wow - .1.1 does appear to work... nice.

How do you scale back to .1.1?
Shawn Skalinski
<EMAIL_ADDRESS>
On Jan 31, 2021, at 10:48 AM, PeterAlexander75<EMAIL_ADDRESS>wrote:
Wow - .1.1 does appear to work... nice.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/birkir/homebridge-plugin-eufy-security/issues/31#issuecomment-770429933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2ONOAX6UCJBLMYINLJTL3S4WQXVANCNFSM4V2CTQVQ.

How do you scale back to .1.1?
Shawn Skalinski
<EMAIL_ADDRESS>
On Jan 31, 2021, at 10:48 AM, PeterAlexander75<EMAIL_ADDRESS>wrote:
Wow - .1.1 does appear to work... nice.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/birkir/homebridge-plugin-eufy-security/issues/31#issuecomment-770429933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2ONOAX6UCJBLMYINLJTL3S4WQXVANCNFSM4V2CTQVQ.

I’m using homebridge ui on the Mac. Under plugins, there’s an icon which when clicked, included the option to rollback to any prior version.
The push token timeout doesn’t seem to be an issue in this version. But it seems the notifications are sometimes duplicated and that motion detection /  do rebel press definition isn’t working well. Also, it’s much slower than the official app.  If you turn motion on, it won’t save and reverts back to off upon opening the settings again.

I’m using homebridge ui on the Mac. Under plugins, there’s an icon which when clicked, included the option to rollback to any prior version.
The push token timeout doesn’t seem to be an issue in this version. But it seems the notifications are sometimes duplicated and that motion detection /  do rebel press definition isn’t working well. Also, it’s much slower than the official app.  If you turn motion on, it won’t save and reverts back to off upon opening the settings again.

(It's in french but, it must be similar in others languages.)
Hello, little update after 2 days. Notifications still works but with empty pictures. I don't get live feed anymore. Maybe there is a problem with a token/authentification to get videos and image

Actually, with this message claiming, someone else viewing live feed, I wonder if the problem juste don't come from a previous non-clean closing feed...

(node:8538) UnhandledPromiseRejectionWarning: RequestError: getaddrinfo EAI_AGAIN security-app-eu.eufylife.com
at ClientRequest. (/homebridge/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:327:22)
at ClientRequest.origin.emit (/homebridge/node_modules/homebridge-plugin-eufy-security/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at TLSSocket.socketErrorListener (_http_client.js:469:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
(Use node --trace-warnings ... to show where the warning was created)
(node:8538) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8538) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Ok... It's finally unusable in this version. I'll try to deep into both versions (0.1.1 and 0.1.6) to see if I can (understand and) mix them.

Nothing's happening here anymore. Is the developer still interested in it? The old 0.1.1 version works better and more extensively than 0.1.6. No more fixes and no further development. Sorry, but then you could have left it, too.

Hey, maybe the guy is working on integrating all the suggestions as well as the bug fixes and maybe it is abandoned. But I don't think we should be criticising the dev for trying to build something for the community, whether it worked or not.

Nothing's happening here anymore. Is the developer still interested in it? The old 0.1.1 version works better and more extensively than 0.1.6. No more fixes and no further development. Sorry, but then you could have left it, too.

LOL.
I have other things happening in my life right now and can't spend as much time on open source as I usually do.
I am super happy to accept pull-requests though, and can cut a release on npm as often as you guys like.
Maybe @karesake can help us fixing some of the bugs?
Thanks

Thanks @birkir  - very much appreciated. Drop a "donation" button on the plugin and I'll be delighted to contribute as a thank you.

Was getting the same situation with 0.1.6. Cameras show up in Homekit but don't load. No notifications. I rolled back to 0.1.1 but now the cameras don't show up at all. Would gladly pay money to get this working.

We are all agree: this plugin has big potential and we will very happy if it fully work.
@birkir, if we can help you, don’t hesitate. I can try multiple versions, output logs, ...
Sébastien
Le 6 févr. 2021 à 18:51, daviddigregorio<EMAIL_ADDRESS>a écrit :

Was getting the same situation with 0.1.6. Cameras show up in Homekit but don't load. No notifications. I rolled back to 0.1.1 but now the cameras don't show up at all. Would gladly pay money to get this working.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/birkir/homebridge-plugin-eufy-security/issues/31#issuecomment-774514740, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFHYAV4CFG4FAOGYLB5UOY3S5V6RTANCNFSM4V2CTQVQ.


PPF-333: get draw text coordinates bug fixes

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (63344f0) compared to base (3de150f).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##            master      #334   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines          565       577   +12
=========================================
+ Hits           565       577   +12

Impacted Files
Coverage Δ

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

PyPDFForm/core/patterns.py
100.00% <100.00%> (ø)

PyPDFForm/core/template.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


When ran on win7, it was always failed.

tested on Win10 works fine.
But when ran on win7, it was always failed.
I tracked the problem was :
// Check the signature and return the result.
return signedXml.CheckSignature(Key);
Always false on Win7

any answer !


Translation to Spanish of the Bonfires

This is a partial translation of the bonfires to Spanish. Most of the
translations of technical terms are taken from
https://developer.mozilla.org/es/docs/Web/JavaScript/Guide

A mí me gusta más la palabra "arreglo", fuera de tecnicismos a la mayoría de los hispanohablantes que programan, novatos o expertos, les he oído decir "arreglo" o "array".
Vector me viene más a la cabeza con la clase std::vector de C++

¡Hola @edgarshurtado, mil gracias por tus comentarios! I will revise my translation taking into account your comments, which seem very accurate. In the case of the word arreglo, I agree with luishendrix92, I've found the word arreglo in many programming websites in Spanish, but I guess we can discuss that with the other translators in the chatroom:
https://gitter.im/AlexTrapp/FreeCodeCampEspañol
By the way, I don't know if I should make the corrections and send another pull request with the corrections, or reverting this one (newbie here).

Normally I would recommend doing:
git add .
git commit --amend
git push -f

to amend and force push, but since your branch naming doesn't match the guidelines in Pull Request Contribute perhaps a new PR from a more informatively named branch would be in order. Really appreciate all the work you're putting into this!

Thanks for the help! I was not aware of the guidelines for naming he PRs. I will make a new one with a better name including the corrections so far.


manually sign in and keep session

Hi there,
I need to manually sign in a user, and keep the logged in session when user goes to other pages.
I have tried:
warden.set_user user
sign_in :user, user

It can sign in the user, but cannot keep the session if browsing other pages.
It should be a popular question, however I cannot find any good answer online. Thanks a lot in advance.

Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only. Thank you!


Twitter feed

From @kyyberi on October 15, 2015 5:30
WE need to have apiops twitter feed on the page, possibly a bit like rebelmouse https://www.rebelmouse.com/ApiOps/
Copied from original issue: APIOps/portal#6

This issue was moved to APIOps/apiops-meetup#23

Implemented.


Add monthly downloads badge to README

Added a monthly downloads badge by pip Trends to the README.
View more at - https://piptrends.com/widgets/poetry-core

This person tried to open this exact PR against a project I'm the maintainer for as well (https://github.com/ixmatus/inflector/pull/16). This is a promotional campaign and they (or colleagues) appear to be doing it on reddit too, I think this is suspicious activity. They are creating an external dependency on a web property that (as far as I can tell) is not officially blessed by pypi. I recommend rejecting this PR.
Users can get package statistics from libraries.io which is linked to directly by pypi itself.

Yeah I don't see how this is better than shields.io:

Thank you for your feedback and concerns. I'd like to clarify that this is not a promotional campaign. As stated in the PR description, our intention is simply to share a tool we have developed, which we believe could be beneficial to the community.
Our badge system offers highly accurate statistics, which is why we wanted to make it available. If the link to the pip trends page is a concern, we are more than willing to remove it.
We respect your decision if you prefer not to add more badges to your README. Our primary goal is to address any misunderstandings and assure you that this is a genuine effort to contribute to the open-source community by sharing our work on GitHub.
Thank you for considering our contribution.

Yeah I don't see how this is better than shields.io:

Here's how our badge is better than the existing badges -
Sheilds.io -
pepy.tech -
pip trends -
You can see the difference in the download counts on all these badges. The pip trends badge count is the most accurate count and can be verified using -
SELECT COUNT(*) AS num_downloads
FROM `bigquery-public-data.pypi.file_downloads`
WHERE file.project = 'poetry-core'
  -- Only query the last 30 days of history
  AND DATE(timestamp)
    BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
    AND CURRENT_DATE()

You can read more and verify using this link - https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads/#counting-package-downloads

Yeah, I don't think this is really needed, pass