Question regarding the algorithms

I have 400K * 50 dataset, all numeric columns with a continuous numeric target variable. I have a supervised regression task. My aim to detect absolute outlier points that reduce the generalization power of regression models. Which outlier detection algorithms you suggest me? I thought to use an ensemble of several outlier detection algorithms but which ones are suitable for the dataset?

given your dataset, I will say try isolation forest first. It is much more scalable than most of the other algorithm. Be careful of setting "contaimination": the percent of the outliers you assume that hides in your data.


Update README

What
Updated the README with some CMD information and extra details about what other applications are required to get Florence running end-to-end.
How to review
Quick check of the README should suffice.
Who can review
Anyone but me.

@mattrout92 Good point, I've added those into the README too.


Highlight "namespace" as a GDScript keyword in the syntax highlighter

Like "trait" and "yield", "namespace" is currently not implemented but is still reserved for future use.
See https://github.com/godotengine/godot/issues/41865.
Note: Not cherry-pickable to the 3.x branch as the "namespace" keyword is not reserved there.

How does one await for a specific signal? According to godotengine.org, signals are now first-class, but how to use them?
I want to do this:
await get_tree().create_timer(1.0) # timeout

yield(get_tree(), "idle_frame")

Becomes:
await get_tree().process_frame

Thanks!


[feature request] Content reordering

I would love to see your solution for that :D

@philipwalton - One thought: for the "Holy Grail", how would you get both .HolyGrail-nav and .HolyGrail-ads to appear below the main content in the "mobile" view? I tried a couple solutions to do with order:, but failed miserably. :confused:
(Rationale: there is a de facto "standard" emerging that mobile views expect content first, nav at the bottom.)
Thanks!

@dajare since the content is already first in the source, the way to get it to appear first on mobile is to just remove all order declarations.
Also, can you point me to some examples of this emerging standard? It seems to me that primary navigation is still usually at the top.

@philipwalton

Also, can you point me to some examples of this emerging standard? It seems to me that primary navigation is still usually at the top.

I should have styled my "Rationale: it seems there is..." more like: "Rationale: it seems there is..."! But having said that, I think I might have picked up this idea from a tuts+ tutorial that referenced other articles, in particular, Luke Wroblewski (this recent video provides analysis and explanation). It seems to be implied in some of the navigation threads on UX.StackExchange (one example).
This is highly impressionistic on my part, and perhaps I've got the wrong end of the stick (or screen, as the case may be). But that's what prompted my comment.
Thanks (once again! you gave me some flex-related "sticky footer" tips on Twitter) for your help.

Not really sure if this is the right use for it, but I recently had code like the following:

Logo

  <button>Foo</button>
  <button>Bar</button>

I used order so that it would appear button, button, h1. It made sense to me because, in my head, h1 should semantically (and for screen readers) come first but visually I wanted it to come last.

Quoting Phil Walton:

... the way to get it to appear first on mobile is to just remove all order declarations.

As it happens, not quite all order declarations. It seems Safari still doesn't play nice, so I needed to do it this way (showing commented-out bits for clarity):
.HolyGrail-nav{
    -webkit-box-ordinal-group:0;
    -webkit-order:-1;
/*    -moz-box-ordinal-group:0;
    -ms-flex-order:-1;
    order:-1 */
}
```
And that did the trick. I get the "nav" column on the left in wide view, and at the bottom in "mobile" view. (In case anyone is interested.)


is there any way to set composite key to single charactor in insert mode?

inoremap jk (
imap jk (
thank for your extension. i'm new from ideavim but dont know about original vim too much.
i usually bind j+k as single bracket key in ideavim, and i wannna apply too in my environment.
unfortunately, i haven't still have solution for that. could you tell me what i did wrong?
thanks!

This plugin does not support insert-mode maps. Your best option is to try and use vscode snippets or some vscode plugin.


glance fails with Cannot infer content type from message if emoji in user name

Hello,
so basically put an emoji in your name (doesn't matter first or last) than pm your bot and it explodes :|
reproduction code:
import telepot
bot = telepot.Bot('token')

updates = bot.getUpdates()
for msg in updates:
	content_type, chat_type, chat_id = telepot.glance(msg)
	print(chat_id)

stack trace:
Traceback (most recent call last):
  File "emobug.py", line 6, in <module>
    content_type, chat_type, chat_id = telepot.glance(msg)
  File "C:\Users\Bor\AppData\Local\Programs\Python\Python35\lib\site-packages\telepot\__init__.py", line 68, in glance
    return gl_message()
  File "C:\Users\Bor\AppData\Local\Programs\Python\Python35\lib\site-packages\telepot\__init__.py", line 51, in gl_message
    content_type = _infer_content_type(msg)
  File "C:\Users\Bor\AppData\Local\Programs\Python\Python35\lib\site-packages\telepot\__init__.py", line 44, in _infer_content_type
    raise RuntimeError('Cannot infer content type from message', msg)
RuntimeError: ('Cannot infer content type from message', {'message': {'chat': {'type': 'private', 'first_name': 'Bor', 'last_name': '691\U0001f631', 'id': 61412354, 'username': '------'}, 'date':<PHONE_NUMBER>, 'text': 'my name has an emoji', 'message_id': 157, 'from': {'first_name': 'Bor', 'last_name': '691\U0001f631', 'id': 61412354, 'username': '------'}}, 'update_id': 816132183})

the formatting thing from the other issue would've came in handy in here too. i'm looking forward for that one.
thanks in advance

update , seems like i have made a mistake in my reproduction code , and in fact telepot can handle messages with emoji in user name correctly , this is the main trace i got in main project (which i failed miserably in isolating it... )
Traceback (most recent call last):
  File "C:\w\bot\support\src\bot.py", line 23, in index
    bot.handle(cherrypy.request.json['message'])
  File "C:\w\bot\support\src\botsaz.py", line 31, in handle
    content_type, chat_type, chat_id = telepot.glance(msg)
  File "C:\Python34\lib\site-packages\telepot\__init__.py", line 68, in glance
    return gl_message()
  File "C:\Python34\lib\site-packages\telepot\__init__.py", line 51, in gl_message
    content_type = _infer_content_type(msg)
  File "C:\Python34\lib\site-packages\telepot\__init__.py", line 44, in _infer_content_type
    raise RuntimeError('Cannot infer content type from message', msg)
RuntimeError: ('Cannot infer content type from message', {'chat': {'type': 'supergroup', 'id': -1001033794483, 'title': '😍 groupname💦'}, 'date':<PHONE_NUMBER>, 'message_id': 3328, 'from': {'first_name': '🔰K E E P E R🔰™', 'username': '(removed)', 'id': 157123872}})

since i recently had other issues with emojis i assumed it was because of emojis in his name , but now that i look closer the json is in fact incomplete and lacks all message types . my bad.
i'll investigate further in my own code to see why it is missing required keys.

@zumoshi , you are testing my code more thoroughly than I ever have. Telepot is becoming more robust because of you. Thank you.
By the way, is that a roasted fish in your photo?

yes , i was in a coastal city in turkey at a restaurant that served fresh fish , one of my family members that was with me at the time was really disgusted by the look of fish's head O.o so i took a picture of it :D
do you have any idea why the update object would be missing all the content types as displayed in the trace back from real app ?

Yes, that picture is ugly. I'd rather you change it. :smile:
Are you using webhook?

yes, i am using cherrypy and a custom controller that passes requests to handle function which looks like this:
@cherrypy.expose
    @cherrypy.tools.json_in()
    def index(self, token):
        if token in self.me.bots:
            bot = self.me.bots[token]
            bot_info = bot.bot
            if 'expire' in bot_info and bot_info['expire'] < datetime.now():
                print('expire')
            elif 'disabled' in bot_info:
                print('bot_disabled')
            else:
                try:
                    bot.handle(cherrypy.request.json['message'])
                except:
                    self.me.report_bug(traceback.format_exc())
                    raise
        else:
            print("unknown bot")
        return "OK"

this was my first guess too , that perhaps there was something outside of message key that was not sent to the handle function , but i checked all the cases (e.g. group changed to super group notification , user joined group notification , ...) all of them have keys in the message which is clearly sent to the handle function completely (without any modification).

Perhaps the webhook is receiving some InlineQuery or ChosenInlineResult. Update may contain one of the three, with different keys. In other words, I think you should check whether the message field is present before passing it to the bot.
In case you haven't noticed, telepot has a webhook interface. Maybe you can consider that.
The way you call bot.handle() alarms me a little bit. I know little about CherryPy, but if it spawns a thread per request, that means your bot.handle() has to be thread-safe. You just have to be careful how CherryPy deals with many requests at the same time.
If you use telepot's webhook interface, then you don't have to worry about that, because it uses a synchronized queue to pass messages to the bot.

i thought that too , but i believe message field  won't be present in event of an inline query , in which case i would've received a keyerror before handle function was even invoked , not the error i got.
in my case message field was present but was incomplete which is strange.
i am aware of the thread safety issues , thanks for bringing it up though. at the moment my bot doesn't get enough traffic for it to be a concern but if i encountered errors i plan to refactor the code to use async functions and i'll probably use telepot delegate queue system so i can leverage context awareness too , but it seems too much work at the moment and i'm not sure if its worth it for this bot.

Then, I guess the only way is to log every request and see what they contain. But I am sure you have thought of that and may be doing it right now.

it only happened once , and i failed to reproduce it myself.
i sent a pm to the person that caused the exception but even with his help i was still unable to reproduce it. so for the time being i decided to just ignore this error , i've added the following to my code:
        try:
            content_type, chat_type, chat_id = telepot.glance(msg)
        except RuntimeError:
            return

i know this isn't the right way to handle this but it doesn't seem to cause any problems with the bot's legitimate usage. basically i just ignore all messages which glance can't handle and return 200 OK for telegram bot api.


Matrix versioning

This is only a draft of numerics matrix versioning following what we said on gitter. Versions are initialized at creation, a few assertion are made on the versions of NSM->origin or NM->storageType. All tests are ok. It is far from replacing the current mechanism now, but, if after some thinking it appears it is worth going in this direction, it may be a base for its improvement.
I tried to keep the low level versioning isolated in a NumericsDataVersioning.h file  (the version is only a number at the moment, but, for example, for debugging sha1 signatures could be added).
A few version management functions are introduced In NumericsSparseMatrix.h and NumericsMatrix.h.

@bremond It seems that there is a missing file for the compilation of this branch.
src/tools/NumericsMatrix.h:31:10: fatal error: NumericsDataVersion.h: No such file or directory
see https://my.cdash.org/viewBuildError.php?buildid=1884800

@bremond Do you think that we can merge ?

I think it can be merged as it it is very short and isolated, but note
that, at this stage, it brings only a few assertions and the system
remains the same.  The only reason to merge is to prevent some breaking
by further evolutions in numerics, but for such short code this is not
very important. There is also a «convert to draft» button, on the PR
page on github, maybe I can try ?

Ok, I am not able to merge directly. Could you have a look to choose the right code and merge ?


Validation error: Constant parameter has invalid type

Arguments passed to constant parameters (i.e. parameters of annotations or parameter explicitly marked with const) must evaluate to some constant. We can only do this for specific types, however. Thus, at the declaration-site, we should already show an error if a constant parameter has a type, that is not supported by the partial evaluator.

:tada: This issue has been resolved in version 0.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.4.0
GitHub release

Your semantic-release bot :package::rocket:


[SPARK-37442][SQL] InMemoryRelation statistics bug causing broadcast join failures with AQE enabled

What changes were proposed in this pull request?
Don't say underlying column buffers of InMemoryRelation are materialized until all partitions of the RDD have completed by checking status through BlockManagerMaster

Why are the changes needed?

Currently, when CachedRDDBuilder.buildBuffers is called, InMemoryRelation.computeStats will try to read the accumulators to determine what the relation size is. However, the accumulators are not actually accurate until the cachedRDD is executed and finishes. While this has not happened, the accumulators will report a range from 0 bytes to the accumulator value when the cachedRDD finishes. In AQE, join planning can happen during this time and, if it reads the size as 0 bytes, will likely plan a broadcast join mistakenly believing the build side is very small. If the InMemoryRelation is actually very large in size, then this will cause many issues during execution such as job failure due to broadcasting over 8GB.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Tests added

I'm not sure if this is the best way to solve this bug so I will detail the other solution I could come up with and then compare the possible problems with them.

Materialize cached rdd immediately (.count)

buildBuffers becomes a blocking call. Moves cost of materialization from execution time to planning.
Maybe there is some code that assumes the cached rdd is not materialized until execution.
If someone obtained the cached rdd, but never executes it, then with the new changes there is wasted effort materializing the rdd. From the code, it seems like obtaining the rdd is always followed up by submitting the job to DAGScheduler so I don't know why this would happen.

Never use accumulator stats for InMemoryRelation with AQE on

These accumulator stats should be more accurate than the estimated stats, so there can be missed opportunities for optimization

@cloud-fan can you take a look when you have some time?

Can one of the admins verify this patch?

Why is there no problem with AQE off?

In order for this problem to manifest, we have to do join planning between the time a InMemoryRelation is converted to an rdd and the time where the job executing this rdd completes. I guess this could happen with AQE off if there are concurrent jobs sharing the same InMemoryRelation as well.

Oh I realized if a plan containing InMemoryRelation is converted to a RDD, but the RDD is never submitted to DAG scheduler, then the stats would also be inaccurate. I think in this case we would also see the problem with AQE off. Let me try to come up with a test for this scenario.

thanks, merging to master/3.2!

Ah I missed it. @ChenMichael  can you update the PR description with the new approach we take?

I have a question as to this.
a. I have one text files that about 12G.  and this file have 5 columns, for my broadcast table, I only need to read 1 column, and I called the API :so to cache the subset DF into the memory and get size of the DF, it is only around 2G, so theoretically, it shall allow this DF to broadcast, so how the spark get the estimate the size of the dataframe?
df.cache.foreach(_ => ())
val catalyst_plan = df.queryExecution.logical
val df_size_in_bytes = spark.sessionState.executePlan(
catalyst_plan).optimizedPlan.stats.sizeInBytes


Fix non strict mode error

In Node v4.4.5, I get this error:
ascallback/index.js:4
  let p = promise.then(function (ret) {
  ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Using strict for this module helps.  BTW, I am using asCallback because socket.io-as-promised requires it. Thanks!

Pushed & Published


add: cli interface

Hi,
I would like a CLI interface to this project in order to be notified for long running tasks.
So the user will be able to add to script in his package.json:
"dev": "node my-slow-script.js && beepbeep 1000 1000 1000"

Thanks! Released as 1.3.0.


[ADD] Addition of web dev learning resources

Category Name
Learning resources
Subcategory Name
Didn't think yet
Additional Context
Hi 👋
I want to add a category with the name Learning resources because I couldn't find that. If it is already there, let me know and if it isn't then please assign me this issue.
I am thinking of adding web dev learning resources so if there is any sub-category under the frontend or backend category, please let me know as well.
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I have checked that this category does not exist
[X] I have checked that this subcategory does not exist
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

Hi @Sanchitbajaj02. We don't have learning resources section in Web Dev. we just place courses in their respective categories. For example, if you have a course on JavaScript, you'd put in the JavaScript subcategory.

Hi @Sanchitbajaj02. We don't have learning resources section in Web Dev. we just place courses in their respective categories. For example, if you have a course on JavaScript, you'd put in the JavaScript subcategory.

Ok, I will create a new issue related to that


devices.ts: Introduce FlasherDeviceInteractor

We introduce a new class FlasherDeviceInteractor to be used by boards
that need to flash balenaOS onto internal media. These boards typically
boot a flasher image from SD or USB and then self-shutdown once their
internal storage has been provisioned with balenaOS.
Change-type: patch
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@balena-ci rebase


Add fuel cost

Description of the issue
The concept is indirectly included as part of the term levelised cost of electricity here. However, it is not present as an individual concept so far and is needed to annotate certain data sets.
Ideas of solution
Implement as subclass of: cost
Definition:
Fuel costs are costs that depend on the type and amount of fuel.
Axioms:
'has unit' some 'unit of measurement'
'has unit' some currency
Workflow checklist

[x] I discussed the issue with someone else than me before working on a solution
[x] I already read the latest version of the workflow for this repository
[x] The goal of this ontology is clear to me

I am aware that

[x] every entry in the ontology should have a definition
[x] classes should arise from concepts rather than from words

I think is should be a subclass of variable cost (Variable costs are costs that depend on an amount of goods or services.). Also we prefer singulars for the definition. This leads to: A fuel cost is a variable cost that depends on the type and amount of fuel.

Thanks for the adjustments. I'm OK with this solution; if nobody else objects, I can implement it by the end of the week.
If we prefer singulars, the definitions of equipment cost, variable cost, property cost, delivery cost, and fixed cost could be adjusted simultaneously.


Pass proper user agent info to the CLI

This PR brings the user-agent info passed to the CLI up-to-date.
Resolves #124.
Specifically, the user agent info is as follows:

Environment variable
Value

OP_INTEGRATION_NAME
terraform-provider

OP_INTEGRATION_ID
TFP

OP_INTEGRATION_BUILDNUMBER
build version of the provider e.g. 1040201

Notes:

I've changed the ID compared to the issue from TP to TFP to match the 3-letter pattern that we use for the ID in other integrations.
The makeBuildVersion function is identical to the one we've done for the kubernetes-secrets-injector.

@edif2008 I tested it, but this version doesn't with those env vars set. The CLI returns the following error.
Error: op error: error initializing client: Validation: (400) (Bad Request), The structure of the request was invalid.

I can confirm if I come back to the version in the main branch, it works.

Very curious that it doesn't work. We do the same thing in the injector, so I wonder what's different.
I've also tried to set the environment to the CLI as is (so not through the provider) and it seems that it doesn't like any build number, which is very weird.

Found the issue: The server doesn't recognize this new integration type. Will make an internal issue to fix this.


Add entry about including related resources

I like having this in the README. Can you add examples of each?

Np, I added an example for the include params, but the linked serialize_to_hash section seems to be covered?

Great. Thanks.


What remains on C2SM-wiki after 18. Nov?

The status of the following Webs has to be clarified
CH-2018
Barely used, could simply be archived, check with @cschnadt
WEW-ICON
Move to MCH-confluence, check with @cschnadt
scClim
A github.io page is a solution, @jonasjucker checks with @leonie-villiger
Extremes
Old page, little content, check with @cschnadt
Other Webs are checked by @beyerle

c2sm-wiki is history

Old c2sm wiki content can maybe still be found here: https://wiki.wcr.ethz.ch/Main/OldPages


Multiple reports of usernames and passwords showing up in URLS

Over the weekend, I got three reports of people saying that when they logged in, they were seeing their login name and password appear in the URL bar, and were concerned about that.
I've asked all three for browser, device, and OS info.
From user SBolt89:
Hi! The new homepage looks quite nice! I have one little thing however, and that is the fact that my personal login and password are part of the URL in my browser. Is this a result of the new website implementation, and, if so, can displaying my password as part of the URL be mitigated? Thanks in advance!
From user with email<EMAIL_ADDRESS>I noticed when I logged in today that the username and password were shown in the address bar as zooniverse.org/login=xxxx&password=xxxx haha not the best thing to see pop up! I’m home and on personal computer, but thought you should know.
From user with email<EMAIL_ADDRESS>I found a security issue on the Zooniverse site.
Basically, I just went to reset my password using this link: https://www.zooniverse.org/#/reset-password
After resetting it, the website automatically redirected to this link (I replaced my username, password, and the reset token with asterisks): https://www.zooniverse.org/?login=&password=#/reset-password?reset_password_token=***************
From there my username and password continued to show up the URL when I browsed to other parts of the site, e.g., https://www.zooniverse.org/?login=&password=#/collections/

Heard back from one person (davies.cameronj@gmail.com): Google Chrome on Windows 8.
Doesn't seem to be happening for me on Google Chrome (though I'm on Mac).

I can't replaciate this behaviour via password reset, CAS login, zooniverse.org login nor ouroboros login. @DarrenMcRoy can you please get more information from the reporting users on how to replicate this?
@edpaget @parrish @brian-c thoughts on this one?

@camallen we can try this on Windows 8 when I get into the office.

Just tried Chrome 43 on Win 8 and couldn't replicate this by logging in to zooniverse.org.

I can't replicate either, but it's definitely a real thing, and definitely recent, as I only started hearing about it over the weekend.
Someone shared a screenshot:

@camallen What info would be most helpful in diagnosing this?

Any steps the user took / takes to recreate the issue. Did they follow links? Button presses and form submissions to create the URL you see in the screenshot above.

@eatyourgreens suggested that this could be due to there being no default method/action on the login form. That sounds plausible to me; if the user gets a JS error or for some reason their browser fails to prevent the default action then it will submit the login form with a GET request. I've reproduced this by filling in the login form, then disabling javascript, then clicking the sign in button.

@astopy neat work, i can replicate the URL behaviour with JS disabled.
Not sure how they get the page to load / login form to appear if JS is disabled but this may be on the right track.

Yeah so there are a couple ways to fix this (in the Front-End, it's not a panoptes issue).

Change the button to a type="button" and use an onClick handler instead of the form's onSubmit handler
Change the form method to "post" so if something JS-related fails it won't put the username/password in the location bar.

I'd like to emphasize this is only a security risk for the user if someone is looking over their shoulder. The query params are still encrypted when they're sent to our servers.

I heard back from justinpags, as seen above:
"I was using Chrome on Windows 10. It was the first time I had visited the site in a long time, so I probably didn't have any cookies set for it. Maybe that condition results in credentials being stored in URL parameters when someone does a password reset?"
It looks like you guys have your finger on the pulse. It's probably not a really serious security issue, as @edpaget just pointed out, but I can definitely see it being alarming to users. :-)

Bookmarks could be a problem too.

@edpaget It could also be a security risk if their browser leaks the URL in the referrer header...

Setting a method (and maybe action too) on the form tag at
https://github.com/zooniverse/Panoptes-Front-End/blob/master/app/partials/sign-in-form.cjsx#L28
would probably fix this. It's a good idea to set sensible defaults for your forms in HTML anyway.
It could be caused by e.preventDefault() not running, in the handleSubmit method. Default behaviour for forms is method=GET, which would reproduce this bug.
Perhaps a Chrome extension is causing this? I notice they've got uBlock running, and a couple of other extensions.
Wouldn't it be a serious security issue since eg. Google Analytics can see the URL params and pass them back to Google? Plus any extensions that are running. Imagine if you inadvertently tweeted a link while your username/password were in the URL.

Closed by https://github.com/zooniverse/Panoptes-Front-End/pull/1231

@DarrenMcRoy when this is deployed can you please get your user to see if they can replicate this behaviour?

You got it @camallen -- send me a Slack message wen you're sure it's deployed?


Review Notebook 03

The "Input and output shapes" image shows NHWC. Might be worthwhile to change to NCHW.
In addition to being more computationally efficient, mini-batching also gives the model more opportunities to improve. Batch Gradient Descent would calculate the gradient once per epoch and that's it. Mini-batch SGD gives you dataset_size // batch_size weight updates.
After reading this, I'm not 100% sure that torch.manual_seed(42) will give the same results for everybody.
I understood that model 0 will be ran on both CPU and GPU, but it is only run on CPU.
Image above 7.2 also uses NHWC instead of NCHW
While it is possible to type hint the accuracy_fn parameter, I decided against it, as this is a "noisy" type hint
I'm running on PyTorch 1.11 and apparently, running conv_layer(test_image) actually works without a batch dimension and returns [10, 62, 62] shape result
Added type hints where missing
Changed the model vs accuracy bar chart to be horizontal, that way the model names are more readable 🙂

Thank you!
Going to go through these today.

The "Input and output shapes" image shows NHWC. Might be worthwhile to change to NCHW.

Done.

In addition to being more computationally efficient, mini-batching also gives the model more opportunities to improve. Batch Gradient Descent would calculate the gradient once per epoch and that's it. Mini-batch SGD gives you dataset_size // batch_size weight updates.

Good tip! Included this:

It also gives your model more opportunities to improve.
With mini-batches (small portions of the data), gradient descent is performed more often per epoch (once per mini-batch rather than once per epoch).

After reading this, I'm not 100% sure that torch.manual_seed(42) will give the same results for everybody.

You're right. I've hinted at this throughout the videos.
Randomness shouldn't be expected to be 100% deterministic, even with setting seeds but the direction (e.g. lower loss etc) should be similar.
The numbers might not be exactly the same but the improvements should be similar.

I understood that model 0 will be ran on both CPU and GPU, but it is only run on CPU.

Added a note to make this clearer:

model_0 - CPU (hard-coded)
model_1 - GPU (device-agnostic)
model_2 - GPU (`device-agnostic)

Image above 7.2 also uses NHWC instead of NCHW

Fixed!

While it is possible to type hint the accuracy_fn parameter, I decided against it, as this is a "noisy" type hint

I had similar thoughts here.

I'm running on PyTorch 1.11 and apparently, running conv_layer(test_image) actually works without a batch dimension and returns [10, 62, 62] shape result

Added a note for this, thank you.

Added type hints where missing

Thank you!

Changed the model vs accuracy bar chart to be horizontal, that way the model names are more readable 🙂

Looks better!
See updated version: https://github.com/mrdbourke/pytorch-deep-learning/blob/main/03_pytorch_computer_vision.ipynb


make FZF options customizable, e.g., to set previewer

Some previewers are suggested

Since the file is opened regardless of the position of the match, grouping all matches per file and showing a preview of those matches made sense (to me). However, making this work for arbitrary pickers is beyond my forces (and likely unsupported by some), so for the moment I restricted to the most common one, fzf.

Should it be adapter to other fuzzy finders such as peco or fzy?


Can't reset dag's start_date?

Hi all,
I create a dag for test, the start_date is set to today, and schedule_interval is 5 minutes.
Then the dag tasks keep running and the dag is scheduled every 5 min since 00:00. It's OK.
I want to stop scheduling like this. So I changed the start_time to datetime.today() in the dag source code hoping that the scheduler make execution time from now on. However it doesn't work.
What can I do to reset the start_date?
Thanks!

http://pythonhosted.org/airflow/faq.html#faq
Please read the "What’s the deal with start_date?" section

Thanks for your tips. However I'm still confused with the faq. No clear clue to the reset of start_date.
So I did some search in the source code airflow/jobs.py. From this piece of code in 'SchedulerJob. schedule_dag'
                if latest_run:
                    # Migrating from previous version
                    # make the past 5 runs active
                    next_run_date = dag.date_range(latest_run, -5)[0]
                else:
                    next_run_date = min([t.start_date for t in dag.tasks])

It seems that only clearing the history of dag runs' and task instances' can force the scheduler to use the start_date updated. And it works!


fix(data): add proper JSON-API contentType header to the response

Fixes #141

@davewasmer @knownasilya @sivakumar-kailasam Thoughts on doing things this way?

Looks fine to me, but what if we need other headers in the future?

Other headers per serializer or other headers for other serializers?

Both? lol

@davewasmer close this?


5 times Bitcoin users (accidentally) discovered it sucks

https://www.youtube.com/watch?v=6ERZqqyh3jU

The first four examples are already logged, but this gave me two new ideas: #12 & #13


Styling is broken in interfaces since latest version

I'm not 100% sure if this is caused by vscode-solidity, but it probably is. This is how my interfaces get styled now:

Notice the yellow tint to all "function" keywords except the first one. This isn't how styling was like before, e.g. last week.

Damn it!! 👍

Should be out the fix in a minutes, fixed on latest.

Thank you, ser! It works now.
Unbelievable how quickly you respond.

@paulrberg I just happened to be there :)


Publish Trust Spec

Need to get community feedback on trust ideas. Formalize a public specification and publish.

We are available to help with the specification if needed.  You are welcome to join and ask questions on the TUF mailing list or over voice chat.
FYI: Jonathan Rudenberg is meeting with us in April.  We hope to make more progress on the Go implementation and discuss the docker trust specification.

This should be closed when we finish #654.

Covered by docker/notary project.


Docs DX: Doing a manual copy paste of a schema adds extra blank lines

Here is what happens when doing a copy of a schema from the docs
Here https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases/using-prisma-migrate-typescript-postgres/

There is one extra blank line after each line, which doesn't show if using the clipboard icon.
It seems many blocks don't have the copy-paste icon, for example

https://www.prisma.io/docs/concepts/components/prisma-schema/index-configuration
We should fix if possible or as an alternative have the clipboard icon on all blocks maybe?
Browser/OS: Firefox/macOS

In Safari it copies the line numbers starting from the second line, like this:
model Post {
2  id        Int      @id @default(autoincrement())
3  createdAt DateTime @default(now())
4  updatedAt DateTime @updatedAt
5  title     String   @db.VarChar(255)
6  content   String?
7  published Boolean  @default(false)
8  author    User     @relation(fields: [authorId], references: [id])
9  authorId  Int
10}

They don't visually appear selected though:

The issues with Firefox and Safari seems to be known issues, and I cannot find any proper solutions online too. So for now, I guess it's better to add 'Copy' functionality to all code blocks. We cannot remove the line numbers too.
@Jolg42 @nikolasburk What do you think?

👍🏼 I guess it's a good tradeoff for now, could you or someone else do a search / replace everywhere to have the Copy button where it is missing?

I can do that


Ramp up James Hupp on cloud.gov team

Onboarding Checklist
Instructions
In order to get James Hupp productively contributing to the cloud.gov team, Britta Gustafson should help James complete a prescribed set of tasks that will bring them up to speed.
Directions:
James and Britta: Try to go through your checklists in order.
Britta: If you can’t complete any of the items on your checklist personally, you are responsible for ensuring that an appropriate person does it.
New Person checklist
Getting to know cloud.gov

[ ] Take judicious notes on what about this onboarding process or cloud.gov is confusing or frustrating. If you notice a problem (especially with things like documentation), you are more than welcome to fix it! At the very least, please share this information with your buddy (or someone) at some point so we can make the team/platform better. (You can also file issues and pull requests on the template for Onboarding issues.)
[x] Figure out who your onboarding buddy is (they should reach out to you) and make sure this issue is assigned to them
[x] Read the team onboarding document for more context about cloud.gov
[x] Read the "What is it?" presentation for a rundown of what cloud.gov is and does
[x] Read through the Introduction section of docs.cloud.gov for a broader understanding of cloud.gov, especially as we present it to potential customers/users
[x] Read the January 2016 cloud.gov "Executive Business Case" document for greater context about cloud.gov's potential impact in government
[x] Try to deploy a sample application to cloud.gov to get familiar with the basics of the PaaS from a user's perspective
[x] Check out the roadmap to get a high-level view of recently-completed, in-progress, and upcoming features
[x] Install the ZenHub browser extension to enable you to see kanban boards, hierarchical issues, and burndown charts in GitHub
[x] Read the Delivery Process document to learn about how we work
[x] Join the cloud.gov support Google Group, so you can see how we handle non-18F support and get visibility of technical discussions happening with outside groups
[x] Join the cloud.gov team Google Group, so you can participate in team-wide internal communication
[x] Figure out what themes you're likely to work in, and complete the checklist below that relates to it
[ ] Once you've finished the remaining checklists below, make suggestions for steps that would have improved your onboarding experience as pull requests on the onboarding checklist template used to make this issue

Required items for all team members
These items help us fulfill security and compliance requirements (including for FedRAMP). If you get stuck, or if these requirements are confusing, ask for help from your buddy or in a cloud.gov channel.

[x] Read the 18F Security Policies and Procedures. These documents (which are mostly quite short) explain the high-level policies and procedures we must comply with while running cloud.gov.
[x] Read the Incident Response Guide.
[ ] Coordinate with your onboarding buddy to go through Incident Response Training within 60 days of joining the team (and annually after that).
[x] Read the Contingency Plan.
[x] Coordinate with your onboarding buddy to go through Contingency Planning training within 10 days if you'll be taking on a significant role in our Contingency Planning processes (or annually if not).
[x] Read the Configuration Management Plan.
[x] Subscribe to the cloud.gov team calendar (click the + in the bottom right) so you know when assorted team meetings are happening in the various streams
[x] Subscribe to the cg-docs GitHub repository notifications

Theme-specific items
For explanations of our theme names, see this glossary.
Custom item:

[x] Take a look at the theme-specific onboarding items to get a sense of things the various themes work on, since content often involves reaching across themes in various ways.

Buddy checklist

[x] Introduce yourself to the new team member and give them some of your background so they know who you are
[x] Identify a straightforward, well-groomed story in progress that involves their skills domain, schedule a meeting with the owner for an introduction (if it's not you), and setup pairing sessions several times in the first week on the project.
[x] Identify a straightforward, well-groomed first story, ideally something they could conceivably complete in their first two/three weeks using their existing skills. Discuss the context with them, then make them the assignee for the card.
[x] Make suggestions for how the onboarding experience could have been improved as PRs on the onboarding template.

Required items for all team members
These items help us fulfill security and compliance requirements (including for FedRAMP).

[x] Make sure they're in the list of people working on the project
[x] Add them to the @cloud-gov-team in Slack’s Team Directory (which also adds them to the right channels)
[x] Add them to the recurring cloud.gov meetings that are relevant for them in the team calendar
[x] Ask #admins-github to add them to the @18F/cloud.gov team on GitHub

@jameshupp @brittag can we close this?

@dlapiduz The remaining bit is Incident Response Training, which a bunch of people need to do. We could close this since it's tracked at https://github.com/18F/cg-product/issues/423


License

Could you please update the license for this repo ?
Is it MIT ?

Yes, it is MIT. I just added a LICENSE file to the repo and will push it out to npm on the next update.
Thanks!

👍 💯  Thanks lot.


error with  'cls.selectors'

I just installed it and got the following errors using value 1.7.0 .
 Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.

 Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.

SublimeLinter: ERROR:
=====================

vale disabled. 'selector' is mandatory in 'cls.defaults'.
 See http://www.sublimelinter.com/en/stable/linter_settings.html#selector

Looking at similar occurrences of this error with other packages, the advice seems to be to upgrade to the latest version. Since there hasn't been a new version of this package since its release 2 years ago, I'm guessing that there was a change to SublimeLinter that causes this version of SublimeLinter-contrib-vale to have the errors.
Perhaps downgrading to an earlier version of SublimeLinter would be a (less than ideal) workaround?

@dylan-k are you still interested in maintaining this? If not I'm going to fork it and create a PR with SublimeLinter because as of a couple hours ago they were pointing to the wrong repo URL, and now that that has been fixed here it seems to only be installing the tagged 1.0.0 release which is missing the changes required to work that are on HEAD.

I no longer maintain this, but please feel free to use it however needed.

I just found out about this and am still getting the error. Would love to see this resolved

Yeah, sorry all, I am not actively maintaining this repo. Thanks for making the forks and I'll accept PRs but I don't use Sublime or Vale any more. If there's a consensus on who might be a better maintainer I'm happy to transfer ownership.

Wait a day or so if others respond. You can transfer it to me and I will add it to the org of course.

Shipping v1.0.1 now


[WIP] added all([...effects]) to yield [...effects] and updated redux-saga to 0.15.3

yield [...effects] is deprecated, use yield all([...effects])

Will pull against next. I would consider it merge-able if the e2e tests pass.

Thanks!


Divine Divinity Gamma setting gets reset to 1.0

Pretty much what the title says. When using cnc-ddraw with openGL renderer, adjusting gamma from the ingame settings gets immediately reset back to 1.0 after pressing OK. Does not happen if I launch the game without the wrapper.

Yeah, that feature isn't supported yet, only got a few stubs for it right now https://github.com/FunkyFr3sh/cnc-ddraw/blob/master/src/IDirectDraw/IDirectDrawGammaControl.c
Will have to think about a solution for it

Direct3D9 does have gamma controls.  But as far as I can tell they only work in exclusive fullscreen mode.  This might be a case where shaders are needed.
The same issue happens in d3d8to9 because Direct3D8 allows setting gamma in all modes.  Whereas, setting gamma in Direct3D9 only works when in exclusive fullscreen mode.
Last time I checked, WineD3D solved this by using Windows gamma controls.  However, that makes the whole screen change gamma, not just the specific window.
I am not sure about the OpenGL renderer, but it may have similar problems.

There's now a new shader called "image-adjustment.glsl" included - it will get the job done. Also, latest version can now combine 2 shaders, so you could upscale with one and use image-adjustments as the second shader (rename to same as upscaler and append .pass1)
Not very user friendly yet, but get's the job done. Will try to get a better solution working later
Values that can be changed in "shader-package.zip/shaders/misc/image-adjustment.glsl"

#define ia_overscan_percent_x 0.0  // crop width of image by X%; default is 0.0
#define ia_overscan_percent_y 0.0  // crop height of image by X%; default is 0.0
#define ia_ZOOM 1.0                // zoom factor; default is 1.0
#define ia_XPOS 0.0                // horizontal position modifier; default is 0.0
#define ia_YPOS 0.0                // vertical position modifier; default is 0.0
#define ia_FLIP_HORZ 0.0           // horizontal flip toggle; default is 0.0
#define ia_FLIP_VERT 0.0           // vertical flip toggle; default is 0.0
#define ia_target_gamma 2.2    // the gamma you want the image to have; CRT TVs typically have a gamma of 2.4
#define ia_monitor_gamma 2.2   // gamma setting of your current display; LCD monitors typically have a gamma of 2.2
#define ia_saturation 1.0      // color saturation; default 1.0
#define ia_contrast 1.0        // image contrast; default 1.0
#define ia_luminance 1.0       // image luminance; default 1.0
#define ia_black_level 0.0     // black level; default 0.0
#define ia_bright_boost 0.0    // adds to the total brightness. Negative values decrease it; Use values between 1.0 (totally white) and -1.0 (totally black); default is 0.0
#define ia_R 1.0               // red level; default 1.0
#define ia_G 1.0               // green level; default 1.0
#define ia_B 1.0               // red level; default 1.0
#define ia_TOPMASK 0.0         // mask top of image by X%; default is 0.0
#define ia_BOTMASK 0.0         // mask bottom of image by X%; default is 0.0
#define ia_LMASK 0.0           // mask left of image by X%; default is 0.0
#define ia_RMASK 0.0           // mask right of image by X%; default is 0.0
#define ia_GRAIN_STR 0.0       // grain filter strength; default is 0.0
#define ia_SHARPEN 0.0         // sharpen filter strength; default is 0.0

Latest build:
cnc-ddraw.zip

Pretty much what the title says. When using cnc-ddraw with openGL renderer, adjusting gamma from the ingame settings gets immediately reset back to 1.0 after pressing OK. Does not happen if I launch the game without the wrapper.

Have you tried this (?): https://www.gog.com/forum/divinity_series/divine_divinity_improve_performance


Add Taylor Barnett and intro text

Super excited about this! 💪

@tbarn I manually added yourinfo here: c6a66a35eaa8ec49ecdf11f91ab16d2f9e25e740
Want to double check with @iheanyi on the copy change. How does this look to you?  The Copy Change is great, Taylor DMed me about this before and I gave her the sign off. Let's ship it! :D

I can open a new PR with just this wording if it makes merging easier. Just let me know. :)

On Sep 13, 2016, at 8:11 AM, Iheanyi Ekechukwu<EMAIL_ADDRESS>wrote:
@mrmrs Oh crap, I just got alerted about this. The Copy Change is great, Taylor DMed me about this before and I gave her the sign off. Let's ship it! :D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@tbarn Yes please. :)


Set up Node in Test PR workflow

#1191  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Update to latest egui and winit

Bumped versions in cargo.toml for compatibility with egui 0.21.0 and winit 0.28.1

I had no idea all these commits were automatically added, my bad lol


Have the MI-FGSM, TI-DIM, and TIP-IM in the paper used the ensemble attack strategy, and are the maximum perturbation of PGD, MI-FGSM, TI-DIM, and TIP-IM all 16/255 under the L Infinity distance?

Hi, we appreciate the work. However, we have 2 questions about the baseline of Tab.1 in the paper.

Have the MI-FGSM, TI-DIM, and TIP-IM in the paper used the ensemble attack strategy?
Are the maximum perturbation of PGD, MI-FGSM, TI-DIM, and TIP-IM all 16/255 under the L Infinity Distance?

Hope for your response.
Thanks.

Hi,
1.No, because one of the baselines (TIP-IM) uses a target list to calculate the best target identity, using the ensemble strategy will make it hard to apply (please refer to their paper).
2. Yes.

Thanks for your response. We hope that you could answer the following questions for further clarification.

Is there no ensemble attack strategy used in MI-FGSM, TI-DIM, and TIP-IM in the Tab.1 of the paper?
Does the maximum perturbation 16/255 means that the maximum perturbation is 16 when the range of the value of the images is [0, 255]?

Yes.
Yes.


Fix backward of F.average_pooling_nd with pad_value of None

Closes #6210 and related to #6071

[x] test_backward of AveragePoolingNDGrad.forward_cpu
[x] test_backward of AveragePoolingNDGrad.forward_gpu
[x] test_double_backward
[x] consistency regression to F.average_pooling_2d forward
[x] consistency regression to F.average_pooling_2d backward (numpy and cupy imple.)

Travis CI failures seem unrelated to this PR.

I've restarted the Travis jobs that happened to fail.

Jenkins, test this please.

Jenkins CI test (for commit d0dd12afabe13f9b168a62edf7672fb8754807f0, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit d0dd12afabe13f9b168a62edf7672fb8754807f0, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 672176483b45edc27955f23857a88162c77304e8, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM! I'm going to merge this. The Jenkins CI failure above is not related to this PR, which is because of  https://github.com/chainer/chainer/pull/6393.


How to use this library ?

I want use this library to encode information in arduino uno and send it to the web server , can you help me ? ( I want an example code for encoding )

Take a look at the arduinojwt.h file. There's not many functions so it's fairly straightforward and it explains what you should call the function and the data types the function accepts. In the issues forum, there is an early thread where someone writes a quick straightforward example.

For example, we have the following payload:
{ 'id':'1','fname':'john','lname':'snow'}
Please give an example to encode and decode this payload by 'arduinojwt'

Did you look at the source? It is pretty simple.
Create an instance of ArduinoJWT class passing in your psk then call encodeJWT passing in the JSON to encode it and decodeJWT passing in the jwt to get the payload back
From: mer30boy<EMAIL_ADDRESS>Reply to: yutter/ArduinoJWT<EMAIL_ADDRESS>Date: Saturday, 26 September 2020 at 11:08
To: yutter/ArduinoJWT<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [yutter/ArduinoJWT] How to use this library ? (#8)
For example, we have the following payload:
{ 'id':'1','fname':'john','lname':'snow'}
Please give an example to encode and decode this payload by 'arduinojwt'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/yutter/ArduinoJWT/issues/8#issuecomment-699474049, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABPU5LU3USZSVPYOHBCRDL3SHW4SHANCNFSM4E5OZDEQ.
Chris Moorhouse
CTO
m: +44(0)7970 200 907
e<EMAIL_ADDRESS>t: +44(0)1491 845 505
|
f: +44(0)1491 845 556
www.iaconnects.co.uk
Connect with us @iaconnects
Notice: This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Integrating Automation. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error.
All prices quoted are plus VAT where applicable.
IAconnects Technology Limited trading as iaconnects is a company registered in England.
Registered number: 05079414. Registered office: Chiltern House, 45 Station Road, Henley-On-Thames, Oxfordshire, RG9 1AT.
Terms and Conditions of goods and services supplied by IAconnects Technology Limited can be viewed here: www.iaconnects.co.uk/terms
MobiusFlow® and BuildingSight® are registered trademarks of IAconnects Technology Limited.

ArduinoJWT usage:
#include <ArduinoJWT.h>
char key[] = "tester";
ArduinoJWT jwt(key);
void setup() {
String a, tes;
tes = "testing";
a = jwt.encodeJWT(tes);
jwt.decodeJWT(a, tes);
Serial.println(tes);
}

I think that looking at the header file makes it pretty simple to use 😊

yeah, as your type this simple use. but i have to read ArduinoJWT.cpp
thank you 😊


test mobiles & tablets

iPhones, iPads and Android phone + tablets needs testing

android: https://code.google.com/p/chromium/issues/detail?id=118639

chrome/android does not send keyCode events at all.


Refactoring of Function to UnaryOperator interface in both Rules and …

…WrappedRule

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


Remark that ListTemplates is a member of 3 objects

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Word-VBA/articles/template-listtemplates-property-word.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Word-VBA/articles/template-listtemplates-property-word.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[BEAM-5379] Ignore go.sum files in RAT checks

R: @youngoli
cc: @boyuanzz @lukecwik @damondouglas

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Since this only impacts the RAT check and is blocking all other PRs I suggest merging when that is green.


Style .htaccess / apache listings

Feature Description
This makes me sad:

We can do this to make these pages brand aligned:
https://github.com/inasafe/data.inasafe.org/blob/master/docker/default.apache.conf
https://github.com/inasafe/data.inasafe.org/tree/master/resources
Candidates for this treatment:
https://docs.qgis.org/3.34/pdf/ (all versions)
https://download.qgis.org/downloads/

Reference to Feature
No response

@timlinux , please find below the proposed theme for the directory listing:

Please see the repo at https://github.com/Xpirix/QGIS-apache-directory-listing for more details.

Please find below the screenshot after change the links color:

@jef-n can we get some help from you to deploy this?


⚠ Bofrost.de has degraded performance

In cd2c13e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1218 ms

Resolved: Bofrost.de performance has improved in 102ea64.


Adding user:email to personal token scopes

Adding user:email to personal token scopes
:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Website update
:arrow_heading_down: What is the current behavior?
When adding only the recommended scopes and then running NuKeeper, I get the error "NuKeeper.Abstractions.NuKeeperException: user/emails was not found."
:new: What is the new behavior (if this is a feature change)?
NuKeeper succeeds
:boom: Does this PR introduce a breaking change?
No
:bug: Recommendations for testing
N/A - documentation only
:memo: Links to relevant issues/docs
N/A
:thinking: Checklist before submitting

[N/A] All projects build
[Y] Relevant documentation was updated

I don't know why but for me the docs still not say user:email is a required scope.
https://nukeeper.com/platform/github/


Error messages for "number of animals"

Assumptions
The error message text on the "number of animals" section is not optimal from a UX perspective.

We feel more intuitive language would be to remove the numbers from the errors and make them more generic.
Acceptance Criteria:
AC1:  Where the low estimate is not the lowest or the high is not the highest:
given some values have been entered into the low, high, and best estimate boxes
where the low is not the lowest
or the high is not the highest
or the best is not in between the low and high
then the message:
"The values entered are not valid

The low estimate must be the lowest value
The high estimate must be the highest value
The best estimate must be between the high and the low

"
...is displayed
AC2: Where any of the values are above 9999:
given some values have been entered into the low, high, and best estimate boxes
where any of the values (low, high or best) exceed 9999
then "The values entered are not valid. The high, best and low estimated cannot exceed 9999" message is displayed

Don't think this is needed - check next time we speak to Charlotte


Possibility of forking and add arguments

Hi, thanks for your wonderful code, may I ask if I can have your permission to fork you code and add arguments for your training, that would improve on how easy it is to use the script?
A few additional questions?

Do I have to specify number of classes I need to train
Have you compared your result with timm library yet?

Hello,

You can fork and use it for your purpose
It is designed for IMAGENET so you can change the number of classes in this line
I did not compare the results yet, I am training the network, it is still ongoing, after training is finished, I will upload the model weights trained on IMAGENET


Multiple Pages PNG

The action allows for an array of pages:  what happens when the export format is PNG and multiple pages are provided to the action?

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

ID: d92e4209-59ef-2aed-dd62-b38c443d96d3
Version Independent ID: ba65faca-8ef1-3cb3-3a32-bc23fbb1e64c
Content: Export and email a report with Power Automate - Power BI
Content Source: powerbi-docs/collaborate-share/service-automate-power-bi-report-export.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @GitWesDone. This issue has been assigned to the doc author for review.

Hi @GitWesDone, You've reached the channel for feedback about the docs. I think this sounds more like a product question, so I'd try our support page or perhaps also the Power BI Community. Good luck!


exit() should stop execution on success

We stopped doing this because we were losing log lines by exit'ing the process.  It's deprecated and tasks should use setResult.  I have to back and refresh my memory to check why again ... maybe it's not an issue anymore since we changed the process execution code

After talking to Bryan offline, we decided not to make this change since it causes issues with logger.


The protobuf-java leaks through client library dependencies

Description
The protobuf-java leaks through client library dependencies
Related Issues
Closes https://github.com/opensearch-project/OpenSearch/issues/16253

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mch2 my apologies, mind please re-approving (added CHANGELOG)? thank you


Add Continents & Countries to CompanionMenu + ItemBuilder#setName & ItemBuilder#setLore replace "&" with "§"

Makes item definitions easier to color without the use of alt-codes

@grahhnt Could you create a separate PR for this, because it contains unnecessary commits from an already merged PR.

@grahhnt Could you create a separate PR for this, because it contains unnecessary commits from an already merged PR.

Yeah this was intended to be a separate pr but I created the branch on the wrong commit

Okay great, no problem. I will close this one.


[Feature Request] Pagination Summary

We would love to have the displaySummary option for pagination built in again.
This was available in v5.x but has not been available since v7 was released.

Yeah I agree – there are times when we can't really show the summary (if we don't know the total of the result set) but there are lots of times when we do know the full result set, and having the summary was nice.


assert(std::abs(determinant) > MACHINE_EPSILON)

Hey,
I'm innocently using ReactPhysics3D and am getting this assert raised... and not sure how to go around debugging it.
Ian

This is the stack trace if it helps.

Sorry, I think I missed this issue.
Do you still having some issues ? Can you share some code so that I can try to reproduce this issue ?

Hey,
I'm innocently using ReactPhysics3D and am getting this assert raised... and not sure how to go around debugging it.
Ian

Hi there, in my opinion, that assertion just means that the determinant is zero (or too small), hence the matrix you calculated its determinant, is not invertible, which means that does not have a solution because one of the rows can be eliminated by substitution of another row in the matrix, i.e. some of the rows in the matrix is a linear combination of some other, they are not linearly dependent.

I am closing this issue. Feel free to reopen it if you have a code example that is failing with this error.


Document WebForms integration

So wondering if this is possible. Since I have finally managed to get React.NET working with my ASP.NET Web Forms project (VB.NET). I was wondering if it is possible to have some kind of way to flag when to use it.
Idea I have in my head is to somehow based on the Solution Configuration setting I can do the following.
If it is set to Release then it will build with Webpack. If set to Debug then it will use the setup I have working in #963 to run.
I am thinking of something this where IsDebug is a directive check on DEBUG
Sub Configure()
    If IsDebug() Then
        ' Debug
        ' I have multiple entry points so I guess exposing them all via an index.tsx file will fix this
        ReactSiteConfiguration.Configuration
            .SetReuseJavaScriptEngines(True)
            .SetAllowJavaScriptPrecompilation(True)
            .SetBabelVersion(BabelVersions.Babel7)
            .AddScript("~/React/index.tsx")
    Else
       ' Release
       ' Here I am confused but I guess including each entrypoint bundle?
       ReactSiteConfiguration.Configuration
           .AddScriptWithoutTransform("bundle1")
           .AddScriptWithoutTransform("bundle2")
    End If
End Sub

My questions from that setup though are:

Is it possible to get HMR working in Debug mode especially?
Will I need to call IsDebug() in each aspx.vb page code now so it doesn't error?

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
    If IsDebug() Then
        Dim env = React.ReactEnvironment.Current
        env.GetInitJavaScript()
        Dim objectModel = New With {Key .user = "React ssUser"}
        Dim reactComponent = env.CreateComponent("TestPage", objectModel)
        PageContent.Text = reactComponent.RenderHtml()
    End If
End Sub

Having a

test.aspx.vb
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        Dim env = ReactEnvironment.Current
        env.GetInitJavaScript()
        Dim objectModel = New With {Key .route = "route1"}
        Dim reactComponent = env.CreateComponent("Routes.Route1", objectModel)
        route1.Text = reactComponent.RenderHtml()
    End Sub

index.js
import { Route1 } from './Route1'
import { Route2 } from './Route2'

global.Routes = { Route1, Route2 }

Route1/index.tsx
import * as React from 'react'
export class Route2 extends React.Component<any> {
    render = () => {
        return (

Hello world from {this.props.route}

        );
    }
}

But when I run it I get
Error while rendering "Routes.Route1" to "react_0HLR35UQ05PM1": Error: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=t

Interesting!  I think for the sake of keeping the docs focused on using a single language, we should stick with C#. However adding a brief section on calling from WebForms would be very useful!

So got back on to this project after a hiatus and one situation which is strange is occurring when I create a simple component and import it into the parent.
Component.tsx
 export class ComponentTest extends React.Component {     render: any = () => {        return (
test component
)     } }

Hey @pmonty I think at this point this github issue will do a good enough job getting folks started with using WebForms :) given that MS is actively pushing people away from it (no new updates, no .NET 5 support) I hope folks will reach for an incremental MVC port before they reach for this library.


[BUG] Delay when sending message to group

When sending a text message to a group, the response takes about 30 seconds.
Does anyone know what could be causing this? Sometimes it ships quickly but most times it takes a while. Another case is when you send it from time to time while a message appears that is currently unavailable because you are using an old version of Whatsapp.

When sending a text message to a group, the response takes about 30 seconds. Does anyone know what could be causing this? Sometimes it ships quickly but most times it takes a while. Another case is when you send it from time to time while a message appears that is currently unavailable because you are using an old version of Whatsapp.

First question :

CPU might at peak
Socket connection is losing (not lost yet)

Second question : use store to resend the message. See example.ts

I believe it is really a BUG. It is intermittent, does not consume CPU and regardless of the connection I use, the problem happens. Not every group text message sends it, many report it as unavailable at the moment and I believe this is the cause.

if you are sending media, that's the only way you'll ever have a delay. Media messages need to take their time and upload to whatsapp servers before actually sending the message


[Enhancement] Add default timeout parameter in Loading method

Summary
Include a default timeout parameter to automatically close the loading dialog after {N} seconds.
API Changes
Examples:
//timeout - call HideLoading() after ex: 10 seconds
public virtual IProgressDialog Progress(... bool show, MaskType? maskType, int? timeOutSeconds)

//timeout - call HideLoading() at a specific date and time
public virtual IProgressDialog Progress(...  bool show, MaskType? maskType, DateTime? timeOutAfter)

Intended Use Case
UserDialogs.Instance.ShowLoading("Loading", MaskType.Black, 10);

if an unhandled exception occurs during processing, it would be nice to have the loading popup automatically close after {N} seconds.

This is something that can easily be done outside of the library with existing calls.  The loading screen also wasn't intended for this type of auto dismissal.  Thanks for the suggestion, but I'm afraid I'll pass.


ServiceClient should dispose of root HttpClientHandler if it created it

ServiceClient creates a new root HttpClientHandler (WebRequestHandler or HttpClientHandler) when it is not passed into the constructor. This handler is never disposed.
This leads to the following behaviors when multiple serviceClients are created:

A connection leaks and is not disposed until the 120second timeout.
A this is limited to 200 connections by default, this leads to socket starvation and requests failing to be processed

See https://github.com/Azure/azure-sdk-for-net/issues/2225 and https://github.com/Azure/azure-sdk-for-net/issues/1234 for examples of this issue.
The standard recommendation is to use a singleton ServiceClient (although the guidance should more likely be to use a singleton HttpClientHandler), but in some environments (such as Azure Functions for small functions) this is not possible / practical.
Recommendation:

ServiceClient should store a flag saying whether it created / owns the HttpClientHandler
ServiceClient should dispose that as part of dispose

It is possible that this will be a breaking change for some users who are relying on this not being disposed / extracting the client. This could be resolved by a flag (similar to the one implemented in https://github.com/Azure/azure-sdk-for-net/pull/3547).

@kiwidev the behavior you are suggesting occurs when you call Dispose() on the client? or some other scenario?
Also are you suggesting rather than setting HttpClientHandler = null in the client dispose, call HttpClientHandler.Dispose()?

Apologies, I hadn't found time to issue a PR yet.
The scenario is when Dispose() is called on ServiceClient. This particularly comes up when customers are creating a large number of service clients (> 100 / minute).
None of the handlers are disposed by ServiceClient (HttpClient is constructed with disposeHandler: false). I think this is the correct behavior for user provided handlers as often they are reused across clients etc.
However, the problem is that the underlying root HttpClientHandler is never disposed, even though this is created and owned by the ServiceClient. The HttpClientHandler is an expensive and finite resource.
So yes, I would suggest that:

keep a reference to the RootClientHandler when it is created (not when it is passed in by user)
On ServiceClient.Dispose also dispose that handler (if set).

This is a pretty bad problem. Is anything being done about it?

@shahabhijeet Is there a plan to fix this?

This has been fixed a while back. Sorry this opened issue has not been addressed for so long.
Let me know if you still see this issue with the current client runtime
Please specify the version you are currently using.

If you still see an issue with the latest ClientRuntime, please reopen this issue or open a new issue with details about the version of the SDK you are using.

@shahabhijeet I saw some changes that might be related to this when we recently regenerated our SDK code with the latest version of AutoRest, so likely this will be fixed for us with the next release of our SDK.

Hey, sorry, was it ever fix? I am investigating the same issue and still see a TODO in your source code to dispose the handlers
https://github.com/Azure/azure-sdk-for-net/blob/bddc5ff0e8120db98f4e0943b4b2602767dc5463/sdk/mgmtcommon/ClientRuntime/ClientRuntime/ServiceClient.cs#L506-L508
cc @shahabhijeet  @kiwidev


Latest Version, installed via Homebrew, doesn't work on MacOS

Current behavior
DevToys, Version <IP_ADDRESS>, doesn't work on MacOS (M2 Pro, 32GB RAM, MacOS 14.5 (23F79)).
I can install the app via brew however, it won't open and just stays there in the dock, shown as an open app.
I already cleared and reinstalled the app via brew.
Anybody experience the same?
How to reproduce it (as minimally and precisely as possible)
Install app via brew.
Open app on a MacOS 14.5 device
App doesn't open
Expected behavior
App should open
Screenshots
No response
Workaround
No response
Affected platforms
macOS
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
Version v<IP_ADDRESS>
Relevant Assets/Logs
No response

Hi,
We published v<IP_ADDRESS> a few days ago. While there's no specific change that might address your issue, I'm curious to know if updating helps.
Thanks

Still doesn't work. App doesn't open.

Thanks for sharing, and sorry about that. Would you please be able to share the logs with me so I can see if there's any interesting message inside?
Here is how you can get them: https://devtoys.app/doc/articles/sysadmin/logs.html?tabs=macos

Here are the logs:
2024-08-13T18:00:25.4659210+08:00       Information     [DevToys.Core.FileHelper]       [0]     Cleared temp files in 0.246ms
2024-08-13T18:00:25.5839440+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'CronParser' tool instance manager.
2024-08-13T18:00:25.5843110+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'DateConverter' tool instance manager.
2024-08-13T18:00:25.5866190+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'EscapeUnescape' tool instance manager.
2024-08-13T18:00:25.5870260+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'GZipEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5873750+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-08-13T18:00:25.5876950+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5880100+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'ImageConverter' tool instance manager.
2024-08-13T18:00:25.5883270+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonFormatter' tool instance manager.
2024-08-13T18:00:25.5886390+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JSONPathTester' tool instance manager.
2024-08-13T18:00:25.5889500+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonTableConverter' tool instance manager.
2024-08-13T18:00:25.5892630+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5895710+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonYamlConverter' tool instance manager.
2024-08-13T18:00:25.5898800+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'ListCompare' tool instance manager.
2024-08-13T18:00:25.5901890+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'LoremIpsumGenerator' tool instance manager.
2024-08-13T18:00:25.5905050+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'MarkdownPreview' tool instance manager.
2024-08-13T18:00:25.5908230+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'NumberBaseConverter' tool instance manager.
2024-08-13T18:00:25.5911410+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'PasswordGenerator' tool instance manager.
2024-08-13T18:00:25.5914560+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5917750+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'RegExTester' tool instance manager.
2024-08-13T18:00:25.5920880+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'SqlFormatter' tool instance manager.
2024-08-13T18:00:25.5924000+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-08-13T18:00:25.5927090+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'TextCompare' tool instance manager.
2024-08-13T18:00:25.5930210+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'UrlEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5933330+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'UUIDGenerator' tool instance manager.
2024-08-13T18:00:25.5936440+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'XmlFormatter' tool instance manager.
2024-08-13T18:00:25.5939540+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'XMLTester' tool instance manager.
2024-08-13T18:00:25.5946050+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'Extensions Manager' tool instance manager.
2024-08-13T18:00:25.5948320+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'Settings' tool instance manager.
2024-08-13T18:00:25.5951040+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'NoSearchResults' tool instance manager.
2024-08-13T18:00:25.5963920+08:00       Information     [DevToys.Core.Tools.GuiToolProvider]    [LogToolInstancesCreated]       Instantiated 32 tools in 16.306ms
2024-08-13T18:00:25.5989860+08:00       Information     [DevToys.MacOS.AppDelegate]     [2]     MEF, services and logging initialized in 175.002 ms
2024-08-13T18:00:25.5990200+08:00       Information     [DevToys.MacOS.AppDelegate]     [1]     App is starting...
2024-08-13T18:00:26.2975070+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.LastVersionRan' changed to '2.0-preview.5'
2024-08-13T18:00:26.3581770+08:00       Information     [DevToys.Blazor.Core.Services.FontService]      [LogImportThirdPartyFontsAsync] Loaded 2 font(s) in 8.648 ms and injected them in 151.275 ms
2024-08-13T18:02:58.3064010+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.MainWindowBounds' changed to '0,87,1,1'
2024-08-13T18:02:58.3071640+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.MainWindowMaximized' changed to 'False'
2024-08-13T18:02:58.3077480+08:00       Information     [DevToys.Core.FileHelper]       [0]     Cleared temp files in 0.114ms
2024-08-13T18:02:58.3082690+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Blazor.UserPreferredNavBarState' changed to 'Expanded'

I'm having the same issue.
installed by Homebrew
DevToys, Version <IP_ADDRESS>,
MacOS (M3 Pro,  MacOS 14.6.1(23G93)).
Here the logs:
2024-08-26T11:42:33.0856770+09:00	Information	[DevToys.Core.FileHelper]	[0]	Cleared temp files in 0.217ms
2024-08-26T11:42:33.0901370+09:00	Information	[DevToys.Core.Mef.MefComposer]	[LogDiscoveringPlugin]	Discovering plugin in '/Applications/DevToys.app/Contents/Resources/Plugins/DevToys.Tools'...
2024-08-26T11:42:33.1366850+09:00	Information	[DevToys.Core.Mef.MefComposer]	[LogMefComposition]	MEF composed 112 parts from 6 assemblies in 47.273ms
2024-08-26T11:42:33.1799570+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64ImageEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1802720+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64TextEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1805430+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CertificateDecoder' tool instance manager.
2024-08-26T11:42:33.1807970+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ColorBlindnessSimulator' tool instance manager.
2024-08-26T11:42:33.1810620+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CronParser' tool instance manager.
2024-08-26T11:42:33.1813370+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'DateConverter' tool instance manager.
2024-08-26T11:42:33.1831140+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'EscapeUnescape' tool instance manager.
2024-08-26T11:42:33.1833950+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'GZipEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1836440+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-08-26T11:42:33.1838900+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1841410+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ImageConverter' tool instance manager.
2024-08-26T11:42:33.1843940+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonFormatter' tool instance manager.
2024-08-26T11:42:33.1846560+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JSONPathTester' tool instance manager.
2024-08-26T11:42:33.1849020+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonTableConverter' tool instance manager.
2024-08-26T11:42:33.1851480+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1853980+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonYamlConverter' tool instance manager.
2024-08-26T11:42:33.1856460+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ListCompare' tool instance manager.
2024-08-26T11:42:33.1858960+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'LoremIpsumGenerator' tool instance manager.
2024-08-26T11:42:33.1861430+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'MarkdownPreview' tool instance manager.
2024-08-26T11:42:33.1863860+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NumberBaseConverter' tool instance manager.
2024-08-26T11:42:33.1866300+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'PasswordGenerator' tool instance manager.
2024-08-26T11:42:33.1868800+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1871380+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'RegExTester' tool instance manager.
2024-08-26T11:42:33.1874050+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'SqlFormatter' tool instance manager.
2024-08-26T11:42:33.1876510+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-08-26T11:42:33.1879080+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextCompare' tool instance manager.
2024-08-26T11:42:33.1881900+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UrlEncoderDecoder' tool instance manager.
2024-08-26T11:42:33.1884530+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UUIDGenerator' tool instance manager.
2024-08-26T11:42:33.1887140+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XmlFormatter' tool instance manager.
2024-08-26T11:42:33.1889740+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XMLTester' tool instance manager.
2024-08-26T11:42:33.1895210+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Extensions Manager' tool instance manager.
2024-08-26T11:42:33.1897000+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Settings' tool instance manager.
2024-08-26T11:42:33.1899460+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NoSearchResults' tool instance manager.
2024-08-26T11:42:33.1910760+09:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogToolInstancesCreated]	Instantiated 32 tools in 12.912ms
2024-08-26T11:42:33.1931390+09:00	Information	[DevToys.MacOS.AppDelegate]	[2]	MEF, services and logging initialized in 137.363 ms
2024-08-26T11:42:33.1931680+09:00	Information	[DevToys.MacOS.AppDelegate]	[1]	App is starting...
2024-08-26T11:42:33.8763130+09:00	Information	[DevToys.Blazor.Core.Services.FontService]	[LogImportThirdPartyFontsAsync]	Loaded 2 font(s) in 4.633 ms and injected them in 229.214 ms
2024-08-26T11:42:34.1482010+09:00	Information	[DevToys.Blazor.BuiltInTools.ExtensionsManager.ExtensionInstallationManager]	[0]	Extension DevToys.Tools is up to date

Hi,
No update so far, sorry. I'm unable to reproduce the issue on my side unfortunately, and the logs aren't showing any issue.
Question: if you downgrade to <IP_ADDRESS>, does it work?

Gotcha. How about <IP_ADDRESS> ? I'm trying to understand if this is a regression or an issue with your system / some configuration.
If <IP_ADDRESS> does not work, can you please try removing everything in ~/Library/Caches/com.devtoys, and remove the following file: Users/<username>/library/preferences/com.devtoys.plist ? This should reset DevToys to some "factory" settings.
Thanks

Doesn't work for me, even if I clean the caches / paths you've mentioned.

Thanks! Did 2.0 ever worked on your machine? Is it possible the window is hidden in a secondary monitor that is disconnected?
Any chance that by showing all opened windows, the DevToys one appears?

Same issue me too
Doesn't work for me, even if I clean the caches / paths you've mentioned.
It works on a Mac of the same model, but not on another Mac. I'll check out the link you provided.

I don't see anything on my Mac desktop.

2.0 worked for me initially, but the window was always hidden and I had to do what you mentioned to show the window. Now there is no window shown.

Application Devtoys.app ->  Show Package Content -> Contents -> info.plist delete
deleting the info.plist file, after it should work fine.
However, when I run the app after restarting my MacBook, I get the message The application ‘DevToys.app’ can't be opened.

This didn't help. If I delete the file, I can't open DevToys, getting the message:
"DevToys.app can't be opened"

Is there a 1.x build for MacOS available somewhere s.t. I can downgrade?


EH Filter status extractor

This script extracts the filter status of each call representing a distinct sample/locus combination. Filter status is either PASS/LowDepth and is excluded currently from the mergedVCF.
Output is a TSV file that will be used to annotate the Hail Matrix Table associated with this dataset.

Not sure how to fix: str/eh_filter_extractor.py:46:49: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)?
Tested the current script on 10 VCFs and seems to be ok :) Output file: gs://cpg-tob-wgs-test-analysis/hoptan-str/expansionhunter/test-eh-filter-extractor/eh.json


the  element disappear when i use lazy loading.

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I have a simple application with 3 tabs, two of the tabs are loaded without "lazy loading", and one of them uses "lazy loading", when I navigate to the tab that uses "lazy loading" and I reload the application, the element "  "disappears.
Steps to reproduce:

Related code:

lazyPage
import { Component } from '@angular/core';
import { NavController, NavParams, IonicPage } from 'ionic-angular';

/**
 * Generated class for the LazyPage page.
 *
 * See http://ionicframework.com/docs/components/#navigation for more info
 * on Ionic pages and navigation.
 */
@IonicPage()
@Component({
  selector: 'page-lazy',
  templateUrl: 'lazy.html',
})
export class LazyPage {

  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad LazyPage');
  }

}

BibliotecaPage
import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';

import { FrasesPage } from '../frases/frases';
import { Frase } from '../../data/frase.interface';
import frases from '../../data/frases';

@Component({
  selector: 'page-biblioteca',
  templateUrl: 'biblioteca.html',
})
export class BibliotecaPage {

  private frasesPage = FrasesPage;
  private frasesCollection: { category: string, quotes: Frase[], icon: string }[];

  constructor(
    public navCtrl: NavController,
    public navParams: NavParams
  ) {
    this.frasesCollection = frases;
  }

}

TabsPage
import { Component } from '@angular/core';

import { FavoritosPage } from '../favoritos/favoritos';
import { BibliotecaPage } from '../biblioteca/biblioteca';

@Component({
  templateUrl: 'tabs.html',
  selector: 'page-tabs'
})
export class TabsPage {
  private favoritosRoot: any = FavoritosPage;
  private bibliotecaRoot: any = BibliotecaPage;
  private lazyRoot: any = "LazyPage";
}

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (c:\Users\user\Documents\Visual Studio 2017\Projects\IonicApp2\2.UdemyIonicFrasesFav\node_modules)

    @ionic/cli-utils  : 1.18.0
    ionic (Ionic CLI) : 3.18.0

local packages:

    @ionic/app-scripts : 3.1.0
    Ionic Framework    : ionic-angular 3.9.0

System:

    Node : v6.11.0
    npm  : 4.2.0
    OS   : Windows 10

Misc:

    backend : pro

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!

I tried to create an example in "stackblitz", but when I tried to use lazy loading the example failed, I think the "lazy loading" does not work correctly. https://stackblitz.com/edit/ionic-dxo3yb

@CristianG540 how about this issue?

i don't know, they never answered me, until today the issue persist

@CristianG540 - must have gotten lost in the shuffle as we are all concentrating on trying to get v4 out right now. Sorry about that.
Your StackBlitz link above just gives me a GitHub 404 error. Maybe it is formatted wrong in the markdown of your comment? Can you get me the correct link and I will have a look at it?
Is your project itself online? That would be another option.

@kensodemann :3 don't worry and yes the link is broken but now it works :D

@smallg oh sorry it´s a misunderstanding,the issue persist, i mean that the avobe link now works

@CristianG540 - It appears that you are just trying to lazy load part of the app. We suggest that any application use a consistent navigation strategy throughout the app, so in your case you should use lazy load throughout, otherwise the navigation system is going to get messed up. Here is an example where the full app is lazy loaded:
https://github.com/kensodemann/lazy-load-tabs/commit/d0757d2934d4cf939065ad9040879b32ff56643a

Hi all,
I've having the same issue even though I'm loading all the pages in my app via LazyLoading.
When I load my app via the root page:
http://localhost:8100/#/
The URL reroutes to:
http://localhost:8100/#/home/home
the tabs work fine...
then when I reload the browser the URL reroutes to:
http://localhost:8100/#/home
and the tabs are gone...
It's only when I edit the url back to "http://localhost:8100/#/" that the tabs work again.
Note: This happens on the navigation before I've even developed anything... I simply changed the default tabs app, into LazyLoading:
`import { Component } from "@angular/core";
@Component({
templateUrl: "tabs.html"
})
export class TabsPage {
tab1Root = "HomePage";
tab2Root = "AboutPage";
tab3Root = "ContactPage";
constructor() {}
}
`

@webcraftniray - are you also lazy loading the tabs page? Can you post your code to a GitHub repo
@acittar - that repo is probably long gone since this is an old issue and I clean up my personal repos after a while.

Hi @kensodemann,
I have exactly the same problem of @webcraftniray, can you please check what's wrong in my github repo? https://github.com/acittar/ParkSharing
thanks,
Alessandro

@acittar - how do you run your app? It appears I need some sort of login credentials.
Looking at your code, however, it appears that the crux of your issue is this: https://github.com/ionic-team/ionic/issues/13394#issuecomment-351861003 Specifically, you are not lazy loading the tabs page.
I would like to test that, but I cannot without proper login credentials and instructions on running the application (I assume I have to run the stuff in the server folder as well, but cannot be sure due to lack of a README).
I have submitted a PR that shows making the tabs page lazy loaded, but it is mostly untested due to the above.

Great @kensodemann it works! Changing from
rootPage:any = TabsPage;
to
rootPage: String = 'TabsPage';
did the trick!
Thanks a lot!


2 update codeowners file for MinaFoundation Mina repo

Explain your changes:

The current CODEOWNERS file matches the upstream repository. It needs to be updated to match MinaFoundation/mina repository

Explain how you tested your changes:

These are permissions files, the validity can be checked through the Github UI: https://github.com/MinaFoundation/mina/blob/2-update-codeowners-file-for-minafoundation-mina-repo/CODEOWNERS

Closes #2

This PR includes some unwanted changes


cyclic window shifting in the (256,256) tensor

Hi,
Awesome repo. I have a question regarding the architecture are token interaction. Don't you think the way HTSAT creates (256, 256) tensor from (1024,64) spectrogram causes problematic token interaction when cyclic window shifting?
What I understood is that you cut the spectrogram (1024,64) into 4 PIECES along dim=0 (256,64) each. Later these 4 are concatenated along dim=1 resulting in the final tensor of shape (256,256). On this when you do cyclic window shift, results in window comprises of tokens from two different PIECES, that is some from low-frequency region of PIECE 1 and some from high frequency region from PIECE 2.

Hi,
Sorry for the late reply, I was busy with other stuff this quarter.
You ask a good question that if the cyclic window shifting will cause the overlapping or wrong information loss of the feature during the downsampling process.
My answer is not. And it is not because we downsample it by 2 each time and with 2 x 2 x 2 = 8 three times in total. In this case, all features "at the edge" of each (256, 64) piece will not share any wrong information into other piece because the downsample rate 8 is not big enough to compress (256, 64) into (1,1). This is considered when I did the project and that is why I think it would be not a problem.
But if you increase your downsample rate, it should be a problem. In this case, I think giving up converting from (1024, 64) to (256, 256) and directly process (1024, 64) shape will be an option. In all, the reason why I do the conversion is because we need to use the swin-transformer checkpoint.


Feature X

This is a checklist task that has the following subtasks.

[x] #6
[x] #7
[x] #8

Issue has been updated.

[ ] One more item needs to be added here


Unclear sv-prioritize output

cc @lbeltrame
Hi,
I have a question regarding the sv-prioritize output (e.g. samplename-sv-prioritize.tsv).
I attach here the first line of the file with the header.
ex_bcbio_issue.txt
What is unclear to me is how to interpret the output: "lof" (loss of function) refers to multiple genes which actually belong to that region, however in the "annotation" column it has been reported only the deletion of the exon of LRRC47 gene. Which is the real deletion?
Thanks

Laura -- thanks for the question. The annotation column is the initial report on the event from snpEff and the lof column is our attempt during prioritization to make it more complete. The actual event that CNVkit is calling is quite large (2Mb) so covers multiple genes. snpEff often just reports likely events around the end points to avoid incredibly large output lines for larger deletion type events. So the real deletion affects all the genes listed in lof while the endpoint hits in the LRRC47 gene mentioned in annotation. Hope this helps.

Hi Brad,
now it's clear.
Thank you so much.


Fix typos and make minor language edits

Fix a few typos and make minor language edits for clarity
"allows" is not wrong, but here "lets" is better (less formal) and easier to read.
"it is builds" is grammatically incorrect, so I edited for consistency with other parts of the document

[ ] Changes have been thoroughly tested to not break existing functionality.
[ ] New functionality has been documented or existing documentation has been updated to reflect changes.
[ ] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Thanks!


Fix right-click selection behaviour

In my humble opinion, the right-click behaviour of jExcel might cause some misunderstanding.
When you right-click on a cell, it keeps the last selected cell selected.
In some cases, it can cause problems.
With this PR, I've implemented the standard behaviour from others spreadsheet programs.
If you right-click on the selection (one or more cells), the selection will remain as is...
If you right-click outside from the selection, the new cell (the one you clicked) will be selected.

Thanks


Elytra boosting (firework) controls

This pull request adds:

a player boosts elytra event, with with: and elytra: switches for the firework item and elytra used, and
<context.item> returns the firework item used to boost.
<context.entity> returns the firework entity that was spawned.
<context.should_keep> returns whether the firework item is kept.
a keep: determination that controls whether the firework rocket is kept or taken

a firework_boost mechanism that takes an ItemTag (firework rocket) input and boosts the player with it

Both are paper-only.

Both fixed