Schema validation -> Role must be verified against GLN

Synopsis
In created stories # 922, we found another issue that needs to be validated.
Volt decided to make a new story, as it is immediately outside the "scope" compared to the #922 and bugs.
Acceptance criteria
Validation of the correct role code in relation to "sender" and "receiver" of GLN (in the messages)
See bug report

@IreneDataHub must this validation be carried out by schema validation?
Background info: Schema validation has no database access, hence it has no knowledge of the allowed rule of an actor. Can we fulfill the need with a validation rule in the asynchronous validation flow?

@HenrikSommer
We are waiting for a clarified from the architect group.
Mogens are going to Martin and Søren. They have to clarification whether it is handling individual by each domains as a asynchronous validation or it is going to be rejected in a synchronous validation based on a package we receive from Titanium.
Therefore I cant give answer yet. Do you want me to set thise issue on hold or?


Features/webp support for splashscreen

Hey, I took a stab at supporting webp splash screens in a more succinct way. Please let me know what you think and if this implementation works for you too.

For sure, thanks for the effort.
I will have a look at it next week.
I am having some professional troubles with the End of the Flash era still lingering on.
And at the same time I am having bogus with some freaky native ios stuff.

Looks good to me.  I am merging this is, and I will take some time to test this.

@raphinesse  I did some testing, seems like somethings wrong. The original splashscreens are not removed in my tests.
So the png and webp are both at the destination path in my tests. Strange. Maybe something wrong with the glob script.

Fixed it in the (currently) last commit. On my system the backwards slashes must be changed to forward slashes.


Remove "autoflagging beta"  from account setting page

I forgot to do that when we first migrated over.

Well, it's gone now


[ldd-msn_surface] Add telemetry_alternate_name

Create a sibling to telemetry_source_name called telemetry_alternate_name, card 0-1.  Definition:
The telemetry_alternate_name is similar to telemetry_source_name but specifies an alternate name that may be used to additionally identify the source of the telemetry data in the parent class.

Added v<IP_ADDRESS>


Create plan for migrating service: aws-rds (and rds) - mysql

In order for our cloud.gov team to help our users migrate, we need to figure out how each service will get migrated.
Write down:

This is what you have to do to migrate it now without tools

Evaluate:

Can we expect users to do that?

Evaluate:

Do we need to build a tool?

Acceptance criteria:

[ ] We have a written document somewhere that explains this.
[ ] We've filed next steps as GitHub issues.

@frsfx Here is some relevant background info related to this issue.
https://gist.github.com/pkarman/20f4a4a022a2c59e49bd96675e8101c3
https://github.com/18F/cg-docs/blob/master/content/apps/databases.md#access-a-postgres-database-using-cf-ssh

This provides end users instructions on how to migrate their RDS MySQL database from AWS East/West region to AWS GovCloud.
Tools needed for RDS MySQL Backup
cf cli - installed locally
mysqldump - installed on app
The easiest way to set up an RDS MySQL database is via services, which are managed by Cloud Foundry itself. To see what database options are available, run cf marketplace. You will now see a list of services, each with a corresponding list of plans.
To start a RDS MySQL database service instance within AWS GovCloud (where DB_NAME is something like APP_NAME-ENV-db):
cf create-service <SERVICE> <PLAN> <DB_NAME>
cf bind-service <APP_NAME> <DB_NAME>
cf restage <APP_NAME>

If you want to use MySQL, use the rds service rather than mysql*. This gives you things like database snapshots automatically. The shared-mysql plan(s) uses an existing instance, which is preferred for staging environments or simple open data apps. For a production application with sensitive data, use micro-mysql or medium-mysql. To use the rds service with myapp in your staging environment, for example, you would do something like:
cf create-service rds shared-mysql myapp-staging-db
cf bind-service myapp myapp-staging-db
cf restage myapp

cf bind-service will provide a DATABASE_URL environment variable for your app, which is then picked up by the restage. Note that for a Rails app, bind-service will overwrite your database.yml. The full documentation for managing service instances is here.
Export
Create backup
To access and export an RDS MySQL service database, use the [cf-ssh]({{< relref "getting-started/one-off-tasks.md#cf-ssh" >}}) CLI to start an instance that is bound to the service and install the mysqldump binary to that instance:
cf-ssh APP_NAME
sudo apt-get install mysql-client-5.1
mysqldump -u username -p password -h localhost <DB_NAME> | gzip -9 > mysql_dump_file.sql

You should now have an open mysql terminal connected to the service database.
Leave the ssh connection open.
Import
In a different terminal window run the following commands to push the MySQL dump file to the App in GovCloud
$ cf ssh {app name}
$ cf files {app name} mysql_dump_file.sql.gz
$ cf push {app name}

Documentation for cf files

Restore to GovCloud RDS MySQL
Load the MySQL dump file into the newly created RDS MySQL service.
$  gunzip < mysql_dump_file.sql.gz | mysql –u username –p password –h $DATABASE_URL <DB_NAME>

Once the dump file has been restored to the new service unset Database_URL and re-deploy using cf push
cf unset-env <APP_NAME> DATABASE_URL
cf unset-env <APP_NAME> MAINTENANCE_MODE
cf push <APP_NAME>

@frsfx Overall this looks good, but since this issue is to create documentation for migrating a mysql instance I don't think we need the section on provisioning.  Also I think we need to provide some sort of direction for users that don't have the prerequisite of  mysqldump - installed on app

@jbarnicle Hi John, I wasn't sure if users would have MySQL service before migrating.  For the prerequisite for mysqldump, I put this sudo apt-get install mysql-client-5.1 in the steps.  This package provides mysqldump.  Let me know what you like me to change.

@frsfx Were you able to test your instructions against an actual mysql instance?  I don't have an app that uses mysql handy or I would do it myself.

@jbarnicle just the mysql commands not the actual migration.

@frsfx Can you verify the actual migration steps - can that be tested locally?

@jbarnicle I don't have any access to 18F's environments so it'll be very difficult for me to test. Sorry!

Problems encountered so far: cf-ssh APPNAME needs to be run in the directory with the app's manifest.yml; I don't have sudo (or I lack the password) in the container I cf-ssh'd into.

I've got a test database now and understand a little more about how this all works, but I'm now somewhat stymied by the instruction to use "cf files" to grab the dump file. When I run cf files against the webapp name, the files I see in the container I'm ssh'd into aren't the same.

Wondering if this doc wants to use the cf-download plugin, since cf files only lists the files on the instance. Also wondering whether such plugins would be okay to require in this kind of doc.

cf files does download a file if the path points to a file:
± cf files --help
NAME:
   files - Print out a list of files in a directory or the contents of a specific file of an app running on the DEA backend

Okay, @jmcarp fixed me up, I'm unblocked and moving forward with making this process understandable to users.

Sounds like @jezhumble has started on this.
https://github.com/18F/heroku-buildpack-mysql


filter documentation

Minor correction in filter, filterwhen documentation, see #100

Coverage decreased (-0.4%) to 68.511% when pulling bfb15e18dd3538ac6a2b1538d52542524accc6eb on jw3126:patch-1 into 393520a9ebd02402ca0609e1b1b95af7518f8b00 on JuliaLang:master.


Updated Minimum Python version to 3.7

Updated Minimum Python version to 3.7 at line 13  for model_personalization

Hi @lu-wang-g !
Could you have look at this PR.
Thank you!


Design Privacy Policy Page

Finished designing the 'Terms and Policies' and Privacy policy pages

Terms and Policies page

Privacy Policy page


Monster parts non-functional.

Currently the monster parts display of the latest available build on NexusMods isn't functional, "ShowUnchangedParts" setting in false seems to only occasionally display parts that have been broken, setting it to true however has nothing shown at all.
My config file is entirely stock and untouched apart from the X/Y positions of the widgets.
Quick edit: seems to only completely break in multiplayer, functions fine in singleplayer. Rarely ever play solo so I didn't notice.

On the Nexus page, there's a note that monster parts only update properly in multiplayer if you are the host. Not a bug, just how the game works, and we can't work around it unfortunately.


chore: bdd-spring-1577493423 to 0.0.1

chore: Promote bdd-spring-1577493423 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Add UI for editing Categories

The category of an item can be changed. Additionally, new categories can be created. UI could be implemented similar to the web app.

done


New tag suggestion: 'Composite'

I've noticed a lot of newer benches are made of a composite material, mostly wooden and recylced plastic, for longevity and easier cleaning.
I'd like to suggest this as an additional tag, probably next to 'wooden' when adding a new bench.
I'm not familiar with twig so wasn't sure how to add this as a PR.

Good idea. The tags are drawn from the database, so there's nothing to edit in the Twig. I've made that update.
Thanks for all the lovely photos.


Update parser.py

In the parse function in parser/parser.py, if the empty string is included in parsed_elements_list (which may be the case when parsing commands such as echo ""), the function call to are_all_individually_flags on line 39 will fail because once line 117 is reached (the first line of are_all_individually_flags), the code will attempt to access the first character of potential_flag_or_option, which will fail since potential_flag_or_option will be the empty string at this point.
I believe this slight change should fix the problem.

Thank you for this PR! Could you also add a test that checks this behavior? Then we can merge it!

This test script works for the current implementation, though I'm not sure it is the best solution as it interprets code such as echo "" as though the quotes are the operand, so when you print out the CommandInvocationInitial object, it appears as though the operand_list is empty, but it actually has a single element Operand(""), which appears as nothing when printed. I believe this to be confusing and deceptive (and potentially unnecessary) behavior, but I uploaded the tests with no additional changes to the code regardless in case you disagree with me on this point. I will gladly provide a fix that prevents any Operand("") instances from being included in the operand_list if that is what you would prefer.

@Cyerunix Thanks and sorry for the delayed response! As far as I understand the operand is now correctly parsed but it is not correctly printed. If that is the case I think we can safely merge and this can be fixed later. If I misunderstood something let me know!

I believe what happens is the printer removes the quotes around operands when it prints them, so something like Operand("Hello") will simply be printed as Hello. However, when we have Operand(""), the quotes are still removed, leaving us with just  , which I, again, believe is very unclear since it looks the same as having nothing at all. So, if we want to continue parsing "" as an operand, then my pull request should be fine to merge, and the printer should ideally be modified to handle this case. Otherwise, this PR will need to be changed to instead cause the code to ignore any instances of "" as an operand (so echo "" will be parsed as having 0 operands rather than 1, for example). If you believe treating "" as a valid operand is fine, then this PR is fine to merge and the printing ambiguity can be handled later.

Thanks for the clarification @Cyerunix !! Yes it is correct to parse "" as an operand, so the printing needs to be fixed later. If you can add an issue about it pointing to this PR too that would be great!!


How to load lora weights？

After fine-tuning llama with lora, how to load through multi-gpu?
Are there any examples?

@Vincent131499 Hi!
base model LoRA adapters don't convert into tensor-parallel LoRA adapters easily. I have an idea for how to convert LoRA but it'll require a conversion script.
I'll try and write it.

@Vincent131499 Hi!
Simply calling tensor_parallel on model with already loaded adapters should just work. Auto configuration will take care of adapters.
Predefined tensor_parallel configs for transformers models might not work properly but they'll not be triggered on PeftModel anyway. I'll try and come up with an elegant solution for this later.

It would be better to support shard-loading base model and lora directly to gpu, if that's possible.

@sgsdxzy It is supported.
You can create a tensor_parallel model from a meta model and then dispatch the weights however you like.
For example this demo does it like this:

Initialize a meta model with accelerate.init_empty_weights()
Create a TensorParallelPreTrainedModel from the meta model
Load model shards and convert them with tensor_parallel.convert_state_dict
Dispatch them with accelerate.load_checkpoint_in_model

You could add LoRA to the meta model after step 1 either as real weights meta weights to be initialized later.

I'm not sure how LoRA is natively dispatched but dispatching it by hand should always work.

hi @BlackSamorez  Any plan to support PEFT LoRA models, or any examples for Lora models?
For I came acorss the same problem using other tp strategy, when Shard init a model , the lora layer just do not work well in foward step.

When I tried to adapt tensorParallism to https://github.com/tloen/alpaca-lora/blob/main/finetune.py ,
I came across  runtime error , in huggingface transformers/trainer.py,
Look in detail there be no attr for a TensorParallelPreTrainedModel?
AttributeError: 'TensorParallelPreTrainedModel' object has no attribute '_is_int8_training_enabled'
hi~ any work round for this issue @BlackSamorez

@Vincent131499 @taishiciR Hi!
I was able to reproduce the issue and I've come up with the fix. PEFT LoRA is fully functional in #68 and will be merged into main soon enough.
You can checkout lora branch and work with LoRA right away.
P.S. The only model not supporting LoRA right now is vanilla gpt2 since it uses convolutions instead of Linear layers and it really breaks everything.

@BlackSamorez @Vincent131499 @taishiciR I think you can just merge the lora before applying TP, that would provide the best performance:
lora_model = PeftModel.from_pretrained(base_model, lora_path)

# merge weights - new merging method from peft, requires > 0.2.0
lora_model = lora_model.merge_and_unload()

APPLY TP HERE

Though you need to load the entire model first, you can load in cpu and let TP dispatch it.

@sgsdxzy If we're talking about inference then yes - merging is the way to go. But for adapter training merging is, obviously, not an option.

@Vincent131499 @taishiciR Hi! I was able to reproduce the issue and I've come up with the fix. PEFT LoRA is fully functional in #68 and will be merged into main soon enough. The only problem is that it only works with peft>=0.3.0dev0, which is the latest dev version (so install with pip install git+https://github.com/huggingface/peft.git@main). You can checkout lora branch and work with LoRA right away.
P.S. The only model not supporting LoRA right now is vanilla gpt2 since it uses convolutions instead of Linear layers and it really breaks everything.
@BlackSamorez  hi ~
With the updated dependencies , I tried the example again following the steps
For example this demo does it like this:

1）Initialize a meta model with accelerate.init_empty_weights()
2.1）get_peft_model(model, lora_config) # warpper llama 7b with lora
2.2）Create a TensorParallelPreTrainedModel from the meta model
3)Load model shards and convert them with tensor_parallel.convert_state_dict
4)Dispatch them with accelerate.load_checkpoint_in_model
I came across an error from accelerate/utils/modeling.py:935 (accelerate 0.18.0) : wrapped_model.module_shards.0.model.layers.0.self_attn.q_proj.weight doesn't have any device set.
the device_map of the model turn out to be: 'wrapped_model.module_shards.0.base_model.model.model.layers.0.self_attn.q_proj.tp_wrapped_module.weight': device(type='cuda', index=0)
Can u please check this ?

@taishiciR Hi!
Are you using device_map?
You can create a device map from a meta model like this: device_map = tensor_parallel.infer_sharded_device_map(model) and then pass it to accelerate.load_checkpoint_in_model as device_map=device_map. Without it accelerate doesn't know where to dispatch tensors and produces the following error.
It can also be caused by tied weights but I've only seen it for T5 model. LLaMA should definitely work.

thank you~

Since there seems to be no more activity, I'm closing this issue.
Feel free to reopen it if anything comes up.


Enhancement in Edit Profile Page

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
I have made few changes in the wording of the edit profile section I find those little impressive
Change 1
Old :- Change Picture
New :- Change  Profile Picture
Change 2
Old :- LinkedIN
New :- LinkedIN URL
Change 3
Old :- Github
New :- Github URL
Change 4
Old :- Twitter
New :- Twitter Handle
Change 5
In place of Organisation I replaced it with user because this dashboard will be used by single person so user will look more appropriate !
Additional context

@Abhishek-kumar09


Add test for synchronous XMLHttpRequest

Related to #338

Adds failing test per request for the problem described in MSW issue

Thank you for preparing this, @esjs! It looks fantastic. Our team will look into the root cause of the synchronous XHR not being intercepted and update the pull request.

Released: v0.34.3 🎉
This has been released in v0.34.3!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Resin reminders constantly resetting

I use reminders for 120 resin and 150 resin, but they keep getting deleted. All that's left is the 160 resin alarm. I've replaced them a few times now, but they keep disappearing.
Notifications for the garden being ready also did not appear recently. Unsure if this is related or even ongoing as the time between notifications is pretty long.
Also, setting a reminder for something like furniture or materials and then deleting that reminder still sends the notification. Not sure if this has been fixed since the last update since it takes a while to test (like 12 hours).
Thanks.

Thanks to report issue. I think changing DependencyService implements is problem. I fix as soon as possible

Fix on 1.15.3 update. If this issue appear again, reopen this issue.


module integrity testing

Added tests to do basic testing of module integrity.

Test module manifest file exists arm-ttk.psm1
Test module main file exists arm-ttk.psd1 and refers arm-ttk.psm1
Test file exists: Test-AzTemplate.ps1, Test-AzTemplate.cmd, Test-AzTemplate.sh
Loops through all .\arm-ttk\testcases*.ps1 files

validates is valid PowerShell script
validates has comment/documentation block

block contains a SYNOPSIS
block contains a DESCRIPTION
[block contains EXAMPLE] skipped for now

I have also added some "stubs" for the dozen of so file missing the comment block sections

Hi @bmoore-msft,
Hope is well.
any chance you can approve my PR?

I have rebased the my branch to facilitate the merge/PR.

@bmoore-msft  >> I have rebased my branch to facilitate the merge/PR

@bmoore-msft  any chance you'll be looking at this soon ?

Hi @bmoore-msft ,
Any chance these get approuve soon?

Hi @bmoore-msft;  how are you ?  I hope all is well.
Can we take a look at this and PR these changes ?

Hi @bmoore-msft , I am not sure what do to next. Can you please point me in the right direction ?

Hi @bmoore-msft  , I have taken the time to rebase this PR.
Can you re-check it and comment ?

Hi @bmoore-msft  , I have taken the time to rebase this PR.
Can you re-check it and comment ?

Hi @bmoore-msft , I have taken the time to rebase this PR.
Can you re-check it and comment ?

Hi @bmoore-msft , I have taken the time to rebase this PR.
Can you re-check it and comment ?

Hi @bmoore-msft where do we stand on this ?


Is the code no longer updated?

I haven't seen any code submissions recently.

We are updating and we welcome contributions.


Update XAML graphics device for R 3.4.0

Tests are failing

On Release branch?

In master. Although good question, need to check Release as well. I don't think XAML device was updated to 3.4 API.


js in lua script doesn't run at all

Hi there, this is my lua script blow:
script = '''
function main(splash, args)
assert(splash:go(args.url))
assert(splash:wait(args.wait))
js = string.format("document.querySelector('#pg_paper_Performance #next_paper_Performance span').click();", args.page)
splash:runjs(js)
splash:wait(5)
return splash:html()
end
'''
the problem is when I run it in "SplashRequest", the js part didn't run at all, so i always got the first page table content, could you help me out?thank a lot!!!

Please, use StackOverflow to ask this type of questions.

Could you provide a URL to test it? Did you test it with local Splash (localhost:8050 through Docker)?

Could you provide a URL to test it? Did you test it with local Splash (localhost:8050 through Docker)?

Hi there, this is my lua script blow:
script = '''
function main(splash, args)
assert(splash:go(args.url))
assert(splash:wait(args.wait))
js = string.format("document.querySelector('#pg_paper_Performance #next_paper_Performance span').click();", args.page)
splash:runjs(js)
splash:wait(5)
return splash:html()
end
'''
the problem is when I run it in "SplashRequest", the js part didn't run at all, so i always got the first page table content, could you help me out?thank a lot!!!


allow missing 'goal' key in [liberapay] badges

closes #6254

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against 9d52d7aae21a303fd97a6691ae567ad93e626706


TLS 1.3 handshake server name indication is missing on a session resume (JDK-8211806)

Please merge the fix for this bug:
https://bugs.openjdk.java.net/browse/JDK-8211806
into AdoptOpenJDK11 LTS.

I wonder why isn't this already fixed, since it was backported to OpenJDK 11.0.2, and AdoptOpenJDK is now on 11.0.9. You're not merging http://hg.openjdk.java.net/jdk-updates/jdk11u/ ?

I wonder why isn't this already fixed, since it was backported to OpenJDK 11.0.2, and AdoptOpenJDK is now on 11.0.9. You're not merging http://hg.openjdk.java.net/jdk-updates/jdk11u/ ?

What's funny is that https://bugs.openjdk.java.net/browse/JDK-8212885 removed the fix for JDK-8211806, yet I still have the issue with the server_name extension going AWOL.

What's funny is that https://bugs.openjdk.java.net/browse/JDK-8212885 removed the fix for JDK-8211806, yet I still have the issue with the server_name extension going AWOL.

https://github.com/AdoptOpenJDK/openjdk-jdk11u/commit/6dd341a4aba2dfd023947dade8534325f019883f#diff-40689ae0fa56a251a0ccf9b3ba92375b8079d9bb1d2f7ae8a7a1b615a666b9d2 is the fix. There's a regression test included: ResumeTLS13withSNI. Because it's still included and I haven't seen it in the problem list, it's rather safe to assume that the exact problem did not reappear. So it might make sense to run it yourself and see whether you're problem actually is the same or not (writing a test yourself is a great start).

https://github.com/AdoptOpenJDK/openjdk-jdk11u/commit/6dd341a4aba2dfd023947dade8534325f019883f#diff-40689ae0fa56a251a0ccf9b3ba92375b8079d9bb1d2f7ae8a7a1b615a666b9d2 is the fix. There's a regression test included: ResumeTLS13withSNI. Because it's still included and I haven't seen it in the problem list, it's rather safe to assume that the exact problem did not reappear. So it might make sense to run it yourself and see whether you're problem actually is the same or not (writing a test yourself is a great start).

The problem happens when running on WildFly, on the same machine and JDK in a regular Java app, the server_name extension is retained. So maybe it's not that issue in AdoptOpenJDK or JDK in general, but in WildFly. Sorry, I'm confused why this happens.

The problem happens when running on WildFly, on the same machine and JDK in a regular Java app, the server_name extension is retained. So maybe it's not that issue in AdoptOpenJDK or JDK in general, but in WildFly. Sorry, I'm confused why this happens.


open collapsed option opens uncollapsed, then collapses

The un-collapsed menu is visible for a frame or two. Still, thanks for making this power menu 👍

This is normal, it's just the UI animating.


Makes Java SDK be provided at CloudSdk instantiation time.

Removes Java SDK from RunConfiguration.
This fix is instrumental in fixing a bigger issue in the IJ plugin, https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1316, so your quick review is appreciated!

Codecov Report

Merging #352 into master will decrease coverage by 0.3%.
The diff coverage is 34.78%.

@@            Coverage Diff             @@
##           master     #352      +/-   ##
==========================================
- Coverage   60.91%   60.61%   -0.31%
==========================================
  Files          64       65       +1
  Lines        1658     1658
  Branches      250      248       -2
==========================================
- Hits         1010     1005       -5
- Misses        542      546       +4
- Partials      106      107       +1

Impacted Files
Coverage Δ

...pengine/api/devserver/DefaultRunConfiguration.java
100% <ø> (ø)
:arrow_up:

...ls/appengine/cloudsdk/InvalidJavaSdkException.java
0% <0%> (ø)

...ppengine/cloudsdk/CloudSdkAppEngineDevServer1.java
43.54% <100%> (-2.61%)
:arrow_down:

...appengine/cloudsdk/CloudSdkAppEngineDevServer.java
67.24% <100%> (-1.62%)
:arrow_down:

...oogle/cloud/tools/appengine/cloudsdk/CloudSdk.java
40.15% <31.57%> (+0.47%)
:arrow_up:

Continue to review full report at Codecov.

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

@elharo why is it very strange? The library was making that decision by itself until now, using System.getProperty("java.home") (or RunConfiguration.getJavaSdkHome() for devappserver). We're giving the option to specify the JDK and only have a single place to configure it, while still assuming the default of System.getProperty("java.home").
This is useful, for example, in IntelliJ, when we want to use the Project JDK instead of the bundled JRE.

@elharo I don't recall there being an auto-discovery for Java SDKs in the common library. You might be confusing with auto-discovering the Cloud SDK path, or the Python binary. For Java, we've always assumed System.getProperty("java.home"), until we had to add a Java SDK location to RunConfiguration, to specify a JRE to run the devappserver.
 If you don't call Builder().javaSdkPath(), it will assume the default that used to be.

I'm still a little unsure why the caller of the client library can't simply
set java.home or JAVA_HOME.
On Mon, Mar 27, 2017 at 9:29 PM, João Martins<EMAIL_ADDRESS>wrote:

@elharo https://github.com/elharo I don't recall there being an
auto-discovery for Java SDKs in the common library. You might be confusing
with auto-discovering the Cloud SDK path, or the Python binary. For Java,
we've always assumed System.getProperty("java.home"), until we had to add
a Java SDK location to RunConfiguration, to specify a JRE to run the
devappserver.
 If you don't call
Builder().javaSdkPath(), it will assume the default that used to be.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/appengine-plugins-core/pull/352#issuecomment-289635236,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HdJqjnq1r0FAMNSyZfomghY1Lwvrks5rqGJmgaJpZM4Mq5OF
.

I think it can be a bit intrusive to be setting java.home on the process that's running the library client (e.g., IJ or Maven). Users may not want that to be changed, and the library call is a synchronous Java library call, so it's made in the same process.
Also, there would be an API for selecting the JRE.

We may need to back up and talk through this. My first question is why does a specific JDK need to be chosen at all? What in this library is dependent on a specific JDK?

@elharo I'm wfhing today. @patflynn might be able to explain why this is needed in person. If not, I'm happy to jump into a hangout with you at any time.

@joaoandremartins overall after discussion with Mike and Alex I think this is the right approach. It does seem like it could be bad to set the environment in the parent, and it seems reasonable to have a means of configuring the jdk in the API.

@elharo both running the dev appserver and staging should be done using the JDK of the project.

dev appserver I can sort of see, though that ideally shouldn't matter too much.
Why does the JDK used for staging matter?

jsp compilation, quickstart annotation processing, ... (who knows what
else?)
On Tue, Mar 28, 2017 at 11:13 AM, Elliotte Rusty Harold <
<EMAIL_ADDRESS>wrote:

dev appserver I can sort of see, though that ideally shouldn't matter too
much.
Why does the JDK used for staging matter?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/appengine-plugins-core/pull/352#issuecomment-289802782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HfHTVZwDYn9Z23RgkG3mpVFZ6q_eks5rqSOngaJpZM4Mq5OF
.

@patflynn PTAL, I think your comments were addressed

@patflynn PTAL


404 at /docker-for-windows/wsl/%20for%20details.

I found a broken link : https://docs.docker.com/docker-for-windows/wsl/ for details.

Hey @jiangcheng1998
Thanks for reporting the broken link issue. Could you let us know how you arrived at the broken link?

Thanks for reporting; the correct URL is now https://docs.docker.com/desktop/windows/wsl/
I found where the "faulty" URL is coming from; more details in https://github.com/docker/docker.github.io/pull/13382.
I'm closing this ticket, because the broken link is not in the docs itself, but will be fixed in Docker Desktop.


Fixes for trajectory generation

I encountered two issues when using the trajectories generated by PathPlanner on a differential drive robot:

The curvature is always positive. In trajectories that come out of PathWeaver, the curvature is negative when the robot is turning toward the right and positive when it is turning toward the left (following the WPILib axis conventions). If the Ramsete controller is disabled, this is easily seen by the robot turning toward the left when it should turn toward the right (the Ramsete controller fights the incorrect turn and makes the robot do the "right" thing, though it does not end up in the right place because of fighting the wrong turn). The fix is to use the cross product and the right hand rule for the three consecutive points in the path to determine if the curvature should be negated. Note that a positive curvature is required if the path the robot is following curves to the left side of the robot and negative if the path curves to the right side of the robot, regardless of the direction the robot is moving along the path.

The interpolation of the velocity does not use a lerp like the other interpolations. This results in a velocity that always increases between waypoints. During positive accelerations, this is not very noticeable. However, during negative accelerations, the stair-step effect this produces results in the robot moving in a very jerky manner (as it speeds up, slows down, speeds up, slows down, etc. across each virtual waypoint that is generated between the actual waypoints). Using the existing lerp to interpolate the velocity solves this problem and results in a very smooth velocity profile.

The Java version has been tested on a robot (we are a Java team). The C++ version follows the same algorithm, and builds, so it should work but it is not tested.

I was able to put together a program to test these changes in the C++ version and they work.


Italian language support added

Thanks. Hopefully I'll get to do a proper release sometime soon :)

You're welcome. I will be waiting for your release.
See you!


Cost Estimates

Suggestion from StreamingClouds community
Add cost estimation to the helper so as you configure the environment you see the costs.

NB: I believe there is a Hackathon project that takes an arm template and estimates the cost. Perhaps we can leverage that.

Found an Arm estimation project and tested it out, resulting in this PR.
https://github.com/TheCloudTheory/arm-estimator/pull/104
Think we'll need to consider how we can best integrate estimates into the Helper. It may just be at the Preset card level to provide a ballpark estimate, since the estimator needs to use whatif output to function.


[Feature] A way to convert/change headings or text

Initial checklist

[X] I agree to follow the code of conduct
[X] I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Problem
Milkdown does look good, fast, but one thing I notice, if you add a H6 how do you change it in the UI for a h3? I couldn't find a way, strange
Solution
maybe with a click on the drag icon, display heading types and p options popup
Alternatives
click is much better than select and change

Actually, I find the headings behavior confusing. Example:

Type # Title 1 => this makes a h1 heading
Add # right before the text #Title 1 => you get a h2 heading
Place the cursor before the text and hit backspace key => you get a h1 heading, the second #, which you cannot see, has been deleted

I like how Obsidian handles titles and text: when you place the cursor on a heading, the # of the heading are shown, and you know what you are doing, since you see the # added or removed. They are hidden when the cursor gets out of the heading.
Also, I think the slash commands should be able to change a heading to another, or to text, or whatever is relevant (like in AppFlowy).
Maybe at least, hitting backspace at the beginning of a title should completly remove the heading (like in Notion): all # are removed and the title becomes a simple text we can change to heading with appropriate amount of #.

You can create your own plugin to display a # before the heading. Milkdown is different from obsidian and notion. Obsidian and notion are apps that works out of box. Milkdown is an editor framework to build your own editor just like tiptap. You define the ux yourself. Crepe is my personal taste and used to show how to build editors on top of milkdown, if you have your own requirements of ux. It's not hard to build it yourself on top of milkdown.


Image path error when posting by word

Image path error when posting by word
Image not shown when posting by uploading word document
In the HTML after pandoc conversion, the image url in the html is something like
src="/assets/img/2021-05-20-Free-Revealing/media/image1.png" but it really should be like
src="../../../assets/img/2021-05-20-Free-Revealing/media/image1.png"

I am not able to reproduce this error, and not enough information is given to troubleshoot or reproduce the error.    Images are rendering properly AFAIK, you may want to follow this repo's example carefully
https://github.com/fastai/fastpages/blob/master/_word/2020-01-01-Microsoft-Word-Example-Post.docx
also make sure your _config.yaml is filled out properly.  But I'm just guessing because of the vague error message with no code or anything to look at.
Thanks.


Expand ant_pair_nums to bls to generalize partial data loading for miriad and uvfits

Previously, ant_pair_nums supported lists like [(0,1), (2,3)]. Now bls supports lists like [(0,1,'xx'), (2,3,'yy')] as well.

@nkern or @jsdillon can you add tests to cover lines 235, 242, 246 and 248 in miriad.py? These are new lines that aren't covered by the tests. Otherwise it all looks good now.

Looks good. Thanks @jsdillon !


python3Packages.aioasuswrt: 1.3.2 -> 1.3.3

Motivation for this change
Update to latest upstream release 1.3.3
Change log: https://github.com/kennedyshead/aioasuswrt/releases/tag/V1.3.3
HOme Assistant tests for asuswrt don't pass (Config flow issue).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 118299 at 7558fe60 run on aarch64-linux 1

2 packages built successfully:

python38Packages.aioasuswrt
python39Packages.aioasuswrt


Stop Encoding Files Poorly

VSCode does not have an option to tell it to NOT re-encode files as it sees fit.
This is destructive, and already causing problems in many projects.

Can you pls provide a concrete, reproducible scenario? Thanks.

/needsMoreInfo


Rendering tests do not distinguish between white and transparency

Describe the bug
I uploaded an image taken while designing a rendering test, but the wrong one as the background was transparent instead of while.  Despite the error the tests still passed.
Due to the white background here you will need to copy image and paste to an editor to see the difference
Wrong file:

Correct file:

Expected behavior
If the actual and expected do not match the test should fail.

Since we're comparing browser shapshots, we'll never have a transparent background. So I do not think this is something to worry about.
Out of curiosity: how did you create the image with the transparent background?

It was an export from a local mock-up where I was planning what to add to the tests.

Ok, how do you go about creating rendering tests, @mike-000? I do it like this:
Let's say I create a rendering test in a folder my-rendering-test. Then I set up main.js in that folder, just like I would create the js for an example. To start debugging the test and seeing the result, I would run
node rendering/test.js --interactive --fix --match my-rendering-test

This will open a Chrome instance where I can see the result and the bug the code.

In this case I produced the tests to match the results I was expecting having already experimented in codesandbox using setScale() to get the desired effects in the example and test scripts, which I had saved via right click on the map. Somehow the prerender fill I set for the rectangle export didn't make in into the ellipse export I initially uploaded.

So I assume we can close this?

Yes, if a copy of a single canvas without background works as with one with white background that should satisfy the test, but I was surprised that the image comparison software didn't pick up the difference.


Entire Phone crashes whenever use metal is enabled

I have an iPhone 13. I tried few models including llama 2 and orca.
Both immediately crashes the entire phone requiring a force restart if use metal is enabled. When use metal is disabled it will run but extremely slowly.

So, not sure if you have 13 or 13 pro. Makes a big difference since 13 has 4GB ram and 13 pro has 6gb.
My 14 pro has 6gb and what I've found works is a 7b model quantized to Q3 (K_M or K_S) like OpenHermes 2 Mistral quantized from TheBloke on huggingface. Then try Metal, MLock, and MMap all on and limit context to 1024 or 2048 to start and maybe try 3072.
It'll take a while to load the first time you type and may crash once or twice (especially at 3072) but should settle down. MLock especially forces everything into memory but makes the inference a lot faster.
But there's no way a 13b model will work. I'm waiting for the new version to get into TestFlight since it sounds like it supports the new 3b model from Stability. That should hopefully work with less quantization.

... I'm waiting for the new version of LLM Farm to get into TestFlight since it sounds like it supports the new 3b model from Stability. That should hopefully work with less quantization.

I sent the new version to testflight 3 days ago, apparently due to the upcoming holidays it takes more time to test it.

So, not sure if you have 13 or 13 pro. Makes a big difference since 13 has 4GB ram and 13 pro has 6gb.
My 14 pro has 6gb and what I've found works is a 7b model quantized to Q3 (K_M or K_S) like OpenHermes 2 Mistral quantized from TheBloke on huggingface. Then try Metal, MLock, and MMap all on and limit context to 1024 or 2048 to start and maybe try 3072.
It'll take a while to load the first time you type and may crash once or twice (especially at 3072) but should settle down. MLock especially forces everything into memory but makes the inference a lot faster.
But there's no way a 13b model will work or even a 7b at full 16 bit or even Q8. I'm waiting for the new version of LLM Farm to get into TestFlight since it sounds like it supports the new 3b model from Stability. That should hopefully work with less quantization.

Sadly mine is not 13 pro. It is 13 with 4gb ram. While I do believe that 4gb ram is a huge disadvantage but this particular issue doesn’t look like it is related to my ram as my entire phone is crashing(need to perform a hard restart)and only when metal is enabled.
I will try limiting the context and enabling mlock and nmap along with metal

Happening to me as well on 13 pro with Mistral 7B Instruct

... I'm waiting for the new version of LLM Farm to get into TestFlight since it sounds like it supports the new 3b model from Stability. That should hopefully work with less quantization.

I've attached the ipa file to the release. If you know how to install it, you don't have to wait for the testflight version.

Unfortunately I don't have any experience with ios development and ipa files. I think I will wait for the testflight version.

Happening to me as well on 13 pro with Mistral 7B Instruct. However it crashes the phone regardless if the Metal option is on or off. Seems that MLock was causing the crash.

Is it working with other models for you ?

Happening to me as well on 13 pro with Mistral 7B Instruct. However it crashes the phone regardless if the Metal option is on or off. Seems that MLock was causing the crash.

Is it working with other models for you ?

MLock I think tries to hold everything in ram, so it can really slow down the phone, but may improve the inference speed. Make sure very quantized and low context length and all other apps closed. Usually for me even if the phone seemingly froze, it'll get out of it eventually after a few mins when it can get ram settled again.

... I'm waiting for the new version of LLM Farm to get into TestFlight since it sounds like it supports the new 3b model from Stability. That should hopefully work with less quantization.

I've attached the ipa file to the release. If you know how to install it, you don't have to wait for the testflight version.

 I tried using one of those online services to host it with an install link but then ran into it having the same name as the TestFlight version. I'm sure I could have opened the file and edited it on my computer (or killed the TestFlight version), but just ended up waiting. It took forever to get approved but confirmed the 3b models like Rocket and Zephyr are working.
I just realized, I probably could also have backed up the data folder, deleted the TestFlight version, installed ipa, and copied the data back in. Next time...

Happening to me as well on 13 pro with Mistral 7B Instruct. However it crashes the phone regardless if the Metal option is on or off. Seems that MLock was causing the crash.

Is it working with other models for you ?

MLock I think tries to hold everything in ram, so it can really slow down the phone, but may improve the inference speed. Make sure very quantized and low context length and all other apps closed. Usually for me even if the phone seemingly froze, it'll get out of it eventually after a few mins when it can get ram settled again.

I have an iPhone 11 which has 4Gb RAM, same crashing issue.I turned off MLock and at least it responds now, although it took 221 seconds to respond to "hi". I don't know if it's just because it's the first time loading, or I have too many apps in the background, I'll have to experiment which still takes a long time, minutes to respond. Is there any way I can help troubleshoot this? I am a software developer by trade, but not an iOS developer sorry.

Happening to me as well on 13 pro with Mistral 7B Instruct. However it crashes the phone regardless if the Metal option is on or off. Seems that MLock was causing the crash.

Is it working with other models for you ?

MLock I think tries to hold everything in ram, so it can really slow down the phone, but may improve the inference speed. Make sure very quantized and low context length and all other apps closed. Usually for me even if the phone seemingly froze, it'll get out of it eventually after a few mins when it can get ram settled again.

I have an iPhone 11 which has 4Gb RAM, same crashing issue.I turned off MLock and at least it responds now, although it took 221 seconds to respond to "hi". I don't know if it's just because it's the first time loading, or I have too many apps in the background, I'll have to experiment which still takes a long time, minutes to respond. Is there any way I can help troubleshoot this? I am a software developer by trade, but not an iOS developer sorry.

Are you using metal ?
Because for me, I can run the models without crashing but at a very slow speed if I disable metal. But if I enable metal it will immediately crash. (iPhone 13 4GB ram)

Are you using metal ?
Because for me, I can run the models without crashing but at a very slow speed if I disable metal. But if I enable metal it will immediately crash. (iPhone 13 4GB ram)

Yes, I leave (left) Metal on. I tried turning it off just now (with MLock still disabled) and it seems faster, just taking a really long time as before. Maybe we need a different model/quant for us poor 4 giggers? What's the recommendation?

Maybe try one of the 3b models based on Stability? Like here is quantized versions of Rocket-3b: https://huggingface.co/TheBloke/rocket-3B-GGUF
Maybe start with one of the smaller ones and see how that goes (seems like Q3_K_M may fit in 4gb ram). I found for me (14 Pro)  it didn't seem to matter if I used MLock or not for speed (unlike with a 7b model), but I'd experiment both ways on yours.

I don't know what fixed it but now it is working perfectly fine with good performance. I haven't tried any 7B model. But all 3B models (I have tested Q4_KM versions)and they are working perfectly with metal enabled.
It was not working few days before but I recently updated to IOS 17.2.1 and now it seems to be fine.

I unchecked MLock and it seems to be working now (MMap is checked) with Metal checked.


Updated packages for several things

Changes
Updated several packages including:
GRPC.ASPNETCORE
GRPC.ASPNETCORE.HealthChecks
GRPC.Net.Client
Microsoft.ASPNetCore.TestHost
Microsoft.Net.Test.SDK
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[ ] CHANGELOG.md updated to document new feature additions
[x] Appropriate documentation updates in the docs
[x] Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.


Use class instances instead of anonymous functions

PR #808 introduced a number of class methods that return anonymous functions.
This PR removes those class methods in favour of using instances of the class instead. I think this makes the code easier to follow.

Thanks @floehopper. I've rebased on master and force pushed in preparation for merging.


Add example of unsetting a property to docs

fixes https://github.com/edgedb/edgedb/issues/4180

it might be better as a new sub-section under "Syntax" on the update documentation page

Moved :+1:


New Parent Leave

I would recommend noting if new parent leave can be taken in part or must be taken fully. And if in part can it be n parts or any fraction the parent choses. I found that being able to take it in segments helped  my wife and I tag team and extend how much time we were able to stay home with the baby before having to put her in daycare. It also allowed some extra flexibility which was welcome when dealing with issues like lactation problems, etc which can happen at various points in the first 3 months of life.

Good point! Will look more into this :+1:


Task: Add models/pipelines for extracting Volume (tone of Speech) metrics

Description
This is for the Automating the MSE project.

Clinical Observation
Observation Sub-Components
Potential Features + Approaches

Inflection and Intonation
Pitch
f0 mean, f0 variability, f0 range

Volume
Intensity (dbz), Intensity variability

Other
Energy velocity, Maximum phonation time, Total Time Talking, Jitter,Shimmer, Tremor, Aplitude Disturbance Ratio

Audible
Volume
Intensity (dbz), Audio Detection Error Rate

Tasks
See above
Freeform Notes
No response

@900miles can you please move this discussion to the issue https://github.com/orgs/sensein/projects/45/views/4?pane=issue&itemId=87451216&issue=sensein|senselab|193 and keep working from the linked branch?


Added components, assets and removed tailwind test data

Design assets were added in a directory to use as a reference. The components directory was created. Dummy test data was removed from the index file.

@yochannah

@yochannah I've noticed the merge conflict

@yochannah can you look at this PR.


Error if Description is missing in automation

Describe the bug
I have added Shortmation as a panel_iframe so it appears in the sidebar.  When I select it, I get a popup over the main screen entitled "Invalid Automations detected!"
After sone testing, I can confirm this error only appears in automations that do not have the Description: line in them.  This is optional of you are writing your automations in yaml:
To Reproduce
Steps to reproduce the behavior:

Remove Description: from any yaml automation
Click on Shortumation

Or even paste your automation file here
Expected behavior
I would expect Shortumation to handle this is an optional line in a manually written automation.
Screenshots

Desktop (please complete the following information):
n/a
Smartphone (please complete the following information):
n/a
Additional context

Home Assistant Version: Core-2022.8.7
Shortumation Version: v0.7.0
Homeassistant server type: Docker on a R-Pi 4

Add any other context about the problem here.
The workaround is to add Description: '' to each automation.
I can confirm that having added this line to every automation, I have no errors 👍
Shortumation Logs
Added as a file as report to ling to post otherwise.
logs.log

@jchhenderson this should be out in the next version v0.7.3, I misconfigured what "None" is in the backend vs "null" / "undefined" in the frontend :facepalm:
fyi, just wondering, since you are using the docker container version, how do you get notified when a newer version is out? just by looking at this repo?

@jchhenderson

great!

how do you get notified when a newer version is out? just by looking at this repo?

Correct.  I watch this repo,.


Fusion Sep release: 1.0.5

This is for fusion September release with release branch: release-20220920.  Version number: 1.0.5

Could you update the SDK Package Version in build/lib.linux-x86_64-2.7/fusion/configuration.py as well?

Could you update the SDK Package Version in build/lib.linux-x86_64-2.7/fusion/configuration.py as well?

Looks like the entire lib.linux-x86_64-2.7 directory is nuked. Is there a reason for that?

Looks like the entire lib.linux-x86_64-2.7 directory is nuked. Is there a reason for that?

I just rerun python3 setup.py bdist_wheel,  and lib.linux-x86_64-2.7 get deleted,  instead we have lib.linux-x86_64.  I think it is because we are using python3 instead of python2.7 ?

Looks like the entire lib.linux-x86_64-2.7 directory is nuked. Is there a reason for that?

@pure-cye I just rerun python3 setup.py bdist_wheel, and lib.linux-x86_64-2.7 get deleted, instead we have lib.linux-x86_64. I think it is because we are using python3 instead of python2.7 ?

I see. Make sense

LGTM. I don't have permission to approve so I'll leave it to others


Be aware of people registration on preprod server

As maintainers and moderators, it would be nice to be notified when new people register to our preprod homeserver. The easiest way would to make new users automatically join the public federation room.

done!


Investigate other sources of vulnerabilities

... and create issues to enable them.
Candidates:

https://cve.mitre.org/ (thanks to 22Maxx on r/python)
"the OSV database" (thanks to Zamaamiro on r/python)
https://ossindex.sonatype.org/

Ideally, there should be a minimal overlap with GHSA. I see an issue in that most of the databases have a huge overlap.


Figure sub-folder in the EWAS report

Meffil works nicely, and in the EWAS report folder, it used to create a sub-folder named "figure".
However, in my last EWAS report, which worked ok and generated the report folder; but the "figure" sub-folder is missing.
Any thought or solution.

Meffil works nicely, and in the EWAS report folder, it used to create a sub-folder named "figure".
However, in my last EWAS report, which worked ok and generated the report folder; but the "figure" sub-folder is missing.
Any thought or solution.


[nfc] make TypeCheckConcurrency assumption explicit with an assertion

@swift-ci please smoke test and merge


[Feature] Make UI showing backend error

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Please add a popup page when UI do GraphQL and face some errors from the backend.
Use case
We faced backend bug which causes the error response. But UI doesn't visualize it, but only could be found in the browser command. Let's bring it on the table.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

A global pop up tooltip should be enough , we don’t need to think about where to put the error message per page.

A global pop up tooltip should be enough , we don’t need to think about where to put the error message per page.

Agree. Just notice, as we request multiple GraphQL query(s) continuously, we may need be able to show multiple pop up tooltips.


Do we have router.all?

I don't think we have the functionality for router.all: http://expressjs.com/en/4x/api.html#router.all

Yes we do


Is IBM-400 and IBM on z/os supported

Yup. That's actually my primary use case for this library. The only thing is that you have to install the appropriate driver on your client machine (the one using this lib).

Any idea whether this v11.1.4fp4a_ntx64_odbc_cli driver version supports all three db2 types?


Timesheet - 24/04/2021 - Vyz

Task 1
Research and document optimal way that we can have tech docs about all of our libraries and SDKs (JavaScript libs, Python packages, Kotlin SDK, etc...). Plan of action. Re: thenewboston-developers/Management#151
Aspects researched and documented today were:

Recommended solution
Key features and requirements
UX primitive mocks:

Common Elements
Top menu
Dev menu
Breadcrumbs
Content area and left nav bar

Home Landing
thenewboston Basics

Also, proof-edited previous content.
Proof of Work
https://docs.google.com/document/d/1Y9d6FQb3jvcshPXWwvBD8Y_y1v2_iYnBZRUSR4-Plnw/edit
Time Spent
11 hours

Total Time Spent
11 hours
Account Number
0d8a4c42ece012b528dda5f469a4706d24459e2eee5a867ff5394cf869466bbe

Approved

Approved


Allow volunteers to cancel their sign-up (server-side)

Is your feature request related to a problem? Please describe.
This feature will eventually be integrated into the volunteer dashboard.
Describe the solution you'd like
Add an API call to allow users to cancel their sign up for a particular shift.
Additional context
When issue #8 is implemented, we can integrate an "un-signup" functionality into the dashboard. Each upcoming shift will eventually have an "edit" option, which will allow users to cancel their sign-up.

The request to cancel (coming from the client) should contain the unique id of the specific WorkShift that the volunteer is trying to cancel. The correct WorkShift can then be retrieved and removed, based on that unique id.


How to make .cb and .json file ?

Bundle download system works perfectly. But is there any way to generate .bundle(cb) and json?

That is what I am working on. Please wait. It will cost some days.


Allow HTML for notification messages

This would allow us to put links or a bit of formatting inside the message. For example, a link to a downloaded file.

If we do this, we should probably change the surrounding <p> tag to a <div>, so it's a little more semantic. Thoughts?

You are right. Totally missed that.

Is there any chance of an XSS from allowing HTML like this?

Is there any chance of an XSS from allowing HTML like this?

Since the HTML comes from Filament or plugins I don't see much risk here. Only if stuff gets injectected into the session data, but I guess you have other issues then 😅

I'm thinking, if people put the name of the record in the notification from user input, then it could be vulnerable.
If we allow markdown instead with Str::markdown(), does that strip dangerous HTML for us?

If we allow markdown instead with Str::markdown(), does that strip dangerous HTML for us?

Yes, I just tested that earlier this week, whether it's save to {!! Str::markdown($userInput) !!}. The result was that things like <iframes> were stripped, but normal Markdown was rendered correctly.

Great, lets do that @pxlrbt @ryangjchandler ?

I wrapped the notification messages inside Str::markdown(). As a side effect the message is wrapped in -Tags but I don't think that's an issue as we don't have any general styling.


Changed code samples in readme

Removed semi-colons from both ANN and CNN code. (Not required in python)
CNN code failed to run as proper import statements from Keras were missing. Added the required code.

Well yes, I am improving the main code as well. Your CNN Code in readme will fail to run as proper imports were not mentioned eg: you need to import Dense, Dropout, Flatten etc.

The code is an example and doesn't affect the actual library, therefore we don't consider it a necessary change.
Developers using this library will use it to create their own visualizations for their own neural networks. The code in readme is just an example/PoC.


Standalone waterline unable to use getDatastore() and use SendNativeQuery()

Hi,
I am using Waterline Standalone, from the documentation it said I can use raw SQL by using SendNativeQuery(), but to do that I need to get datastore first, but every time I use
collection.datastores or 'collection.getDatastore('default')`, it said it is not a function.
Is there any required step to use SendNativeQuery without using Sails?

Hi @rained23 we are trying to keep all Sails issues in one repo. My mistake for keeping the issues open here wail I was doing some clean up. I am going to move your issue over and give it a better look asap.


Add unimplemented scalar cache methods

The rust sdk does not currently support these scalar methods:

setIfNotExists
increment
keyExists
keysExist
itemGetType
updateTtl
increaseTtl
decreaseTtl
itemGetTtl

@pratik151192 picking setIfNotExists


Main page

Currently, the main page of http://inbo.github.io/tutorials is based on README.Rmd. I think it would be better to separate both. index.Rmd should have an introduction to http://inbo.github.io/tutorials and a reference to https://github.com/inbo/tutorials. Whereas README.Rmd should focus on the repository and just link to the rendered version on http://inbo.github.io/tutorials

Agreed. And it should be index.Rmd and README.md (regular markdown, never to be included via bookdown).

Actually, there is only a README.md and no README.Rmd ;-)

Great! Will you rerun bookdown so it's live at https://inbo.github.io/tutorials/?

We still have to change the content of index.Rmd and README.md.

handled in  976dd6ded89fc2d94bd1591d34c22ba79a4733d5 at PR #7


Graphic glitches (no flicker)

Thank you for the great repo and all the tremendous work you did put into this!
Describe the bug
I installed my NUC using the latest version of HaC-Mini. After few clicks here and there, everything worked well. The graphic card (AMD Radeon RX Vega M GH 4 GB) is recognized and my 4K monitor connected to HDMI on the back works. But I notice glitches (no flicker) when objects move through the screen, for example when I scroll or move a window.
I made a video to show what I mean.
Things I tried

I read the exiting issues regarding glitches and flickering.
I tried to change my configuration from Mac mini 2018 to iMac 5K 2017

Nothing worked so far. But, no problem when using windows 10.
I'm wondering if anyone has or had this issue. Thank you in advance for your help and sorry if I overlooked something obvious!
Configuration

HaC Mini version [e.g: 2.0]: 2.1.2
OSX version [e.g: 10.14.6]: 10.15.6
NUC model [e.g: NUC8i7HNK]: NUC8i7HVK
Boot SSD model and protocol [e.g: Samsung EVO 860 1TB, SATA]: WD Black SN750 NVMe 1TB
Second SSD model and protocol (if installed) [e.g: HP EX920 1TB, NVMe]: addlink SSD 1TB S70 M.2
First DIMM model [e.g: Patriot DDR4-2666 16GB]: Crucial 8GB DDR4-2400 SODIMM
Second DIMM model (if installed): Crucial 8GB DDR4-2400 SODIMM
Display port(s) used [e.g: USB-C, mini DP]: HDMI
Display resolution(s) [e.g: 4K, 5K]: 4K
Any TB3 devices:
Any USB devices:
Any Wi-Fi/Bluetooth devices [e.g:DW1820A, BCM94360CS2, Intel 8265]: Lenovo BCM94350

To be clear, you’re saying the “flickering workaround” option in the installer did not work? Can you try manually running SLForceFPS -r 20?

@osy86 Thank you for the quick reply! I just tried, no changes!

Which part did you try? Both? Post the output of the command.

I tried running the command manually. No luck. Again, my screen do not flicker, it glitches as you can see in the video. Have you experience this?

Yeah glitches/flickering is the same thing to me. I don’t know what the cause is though or if there are multiple different causes. But the effect looks like what I see.

I updated my NUC using 2.12 and the graphical glitches are gone! Thank you for the great work on this! I am closing this issue.


RHEL/CentOS 8.0 support?

Has anyone reported success building/running the drivers for CentOS 8.0? Is official support planned for the near future?

Are you running into build issue for CentOS 8.0? You can create an issue here if so.

No--precautionary inquiry as it wasn't listed as officially supported. Currently opting for Ubuntu 18.04 If I return to CentOS 8 in the future I will report any issues.


Feat/json error in core

Small change, moving part of the json error deserialization logic into rusoto_core, removing a little less than ~70K LOC across all crates (total down from 954829 to 885633).
Also adds a proto module to rusoto_core and moves the xmlerror and xmlutil modules into a single proto::xml module alongside of the new proto::json module.


[REQUEST] Add an option to filter games by tags

I don't know if its possible but i think that a good idea to search for games in the store and the library is to have game tags to identify games by gender using metadata collectors like giant bomb or the tags that repackers put in their games.

Duplicated of #139


Running from read-only location

The portable version saves data in the folder with the executable (it creates user subfolder, files configuration.xml and locations.xml).
I wonder whether it may be possible to tune this portable version so it doesn't try to save data into its folder, but uses a folder under %APPDATA%?
Maybe an extra file with a read-only configuration to change data saving location?
At the moment the app shows the error when started from read-only location
Access to the path 'D:\Programs\AntiDupl.NET-2.3.11_SingleFilePortable\user' is denied.

... and quits after that.

Changed headline -> it's valid also for the normal version

Related to https://github.com/ermig1979/AntiDupl/issues/197


view counts below 1000 (i think?) should have " views" appended to them on hitchhiker watch page

Yeah, will look into this eventually.


Update 99-configuration.sh

fixed variable definitions/usages for being able using SMB shares
Instead of accessing a mounted SMB share the script created folders for 'storage_dir' and 'import_dir' in the container's filesystem.
The quotation marks of the variable definition where part of the folder names. So it really tried to create a folder like "/mnt/papermerge/storage" (including quotation marks).

Thanks very much!


Great product, option to not close app after execution would be good

After implementing a file PowerRename, can the app window be given an option to stay open so that multiple renames can be done on the files without re-opening the app,

You should be able to make all rename parts in one try.

Not if you need to rename the file name and the file suffix.

Regular expressions are very powerful, but can be complicated if you're new to it. Have you tried?
Other then that, I would like to point out something I also mentioned for FZ Editor. If the text on the button the says Rename, but the action is "Rename and close", then that's not 100% correct. Would it be better to update the text to match the action, or to change the action to match the text? This may mean there could be two separate buttons: Rename and Close.

I have used the regular expressions, but some changes require that box ticked and some require it ticked so you can't do both at the same time. Ideally I would like a rename button and a rename & close button. As there is a preview I'm not too worried about being able to see the file explorer window or a result window as you mentioned in #888 as the preview panel should update to show the file name after the 'rename'

Duplicate of https://github.com/microsoft/PowerToys/issues/628


appchain api landing page improvements

📝 Changed routes:

/solutions/appchain-api

(view full size)

Commit 56751b67e28ca342e3c4d9265e1aa3ee04702e13 (https://thirdweb-1h4nodoke.thirdweb-preview.com).


IOError: [Errno 2] No such file or directory: 'data/*/reconstruction.json'

Using the provided Dockerfile, a docker image was created. I then followed the instructions from the main page.

root@7f41108d41c4:/source/OpenSfM# bin/run_all data/DS_2/
2016-04-17 13:37:57,367 Matching 0 image pairs
2016-04-17 13:37:57,800 reading features
2016-04-17 13:37:57,800 Merging features onto tracks
2016-04-17 13:37:57,800 Good tracks: 0
images 0
nonfisheye images 0
0 partial reconstructions in total.
Traceback (most recent call last):
File "/source/OpenSfM/bin/opensfm", line 34, in
command.run(args)
File "/source/OpenSfM/opensfm/commands/mesh.py", line 22, in run
reconstructions = data.load_reconstruction()
File "/source/OpenSfM/opensfm/dataset.py", line 289, in load_reconstruction
with open(self.__reconstruction_file(filename)) as fin:
IOError: [Errno 2] No such file or directory: 'data/DS_2/reconstruction.json'

Used the config.yaml from the berlin dataset instead, and got further along:

root@ee0fa096d028:/source/OpenSfM# bin/run_all data/DS_2/
2016-04-17 14:00:33,152 Extracting focal lengths for image IMG_20160417_150128.jpg
2016-04-17 14:00:33,167 Extracting focal lengths for image IMG_20160417_150124.jpg
2016-04-17 14:00:33,176 Extracting focal lengths for image IMG_20160417_150136.jpg
2016-04-17 14:00:33,633 Extracting ROOT_HAHOG features for image IMG_20160417_150128.jpg
2016-04-17 14:00:33,634 Extracting ROOT_HAHOG features for image IMG_20160417_150136.jpg
2016-04-17 14:00:33,633 Extracting ROOT_HAHOG features for image IMG_20160417_150124.jpg
2016-04-17 14:00:37,739 Found 5027 points in 3.67584204674s
2016-04-17 14:00:38,023 Found 5159 points in 3.90138602257s
2016-04-17 14:00:38,286 Found 5632 points in 3.94010305405s
2016-04-17 14:00:39,709 Matching 3 image pairs
2016-04-17 14:00:39,736 Matching IMG_20160417_150124.jpg  -  1 / 3
2016-04-17 14:00:39,740 Matching IMG_20160417_150136.jpg  -  2 / 3
2016-04-17 14:00:39,742 Matching IMG_20160417_150128.jpg  -  3 / 3
2016-04-17 14:00:41,234 IMG_20160417_150128.jpg - IMG_20160417_150136.jpg has 201 candidate matches
2016-04-17 14:00:41,234 Robust matching time : 0.000558853149414s
2016-04-17 14:00:41,234 Full matching 184 / 201, time: 1.49267697334s
2016-04-17 14:00:41,308 IMG_20160417_150124.jpg - IMG_20160417_150128.jpg has 222 candidate matches
2016-04-17 14:00:41,309 Robust matching time : 0.000576972961426s
2016-04-17 14:00:41,310 Full matching 213 / 222, time: 1.57349801064s
2016-04-17 14:00:42,728 IMG_20160417_150124.jpg - IMG_20160417_150136.jpg has 61 candidate matches
2016-04-17 14:00:42,728 Robust matching time : 0.000245094299316s
2016-04-17 14:00:42,728 Full matching 59 / 61, time: 1.41863298416s
2016-04-17 14:00:43,231 reading features
2016-04-17 14:00:43,260 Merging features onto tracks
2016-04-17 14:00:43,264 Good tracks: 391
images 3
nonfisheye images 3
0 partial reconstructions in total.
Traceback (most recent call last):
File "/source/OpenSfM/bin/opensfm", line 34, in
command.run(args)
File "/source/OpenSfM/opensfm/commands/mesh.py", line 22, in run
reconstructions = data.load_reconstruction()
File "/source/OpenSfM/opensfm/dataset.py", line 289, in load_reconstruction
with open(self.__reconstruction_file(filename)) as fin:
IOError: [Errno 2] No such file or directory: 'data/DS_2/reconstruction.json'

Hello I am having the same problem exactly using a dataset of my own (3 images)

It looks like the algorithm is unable to start a reconstruction. This may happen for different reasons such as the scene being flat, or the lack of parallax between the images.
Could you share the images here?

Hi!
I am having this same problem:
2017-02-09 03:55:02,799 Matching 0 image pairs
2017-02-09 03:55:03,173 reading features
2017-02-09 03:55:03,173 Merging features onto tracks
2017-02-09 03:55:03,174 Good tracks: 0
2017-02-09 03:55:03,553 Starting incremental reconstruction
2017-02-09 03:55:03,553 0 partial reconstructions in total.
Traceback (most recent call last):
File "/home/borgesjvt/Downloads/OpenSfM-master/bin/opensfm", line 34, in
command.run(args)
File "/home/borgesjvt/Downloads/OpenSfM-master/opensfm/commands/mesh.py", line 22, in run
reconstructions = data.load_reconstruction()
File "/home/borgesjvt/Downloads/OpenSfM-master/opensfm/dataset.py", line 325, in load_reconstruction
with open(self.__reconstruction_file(filename)) as fin:
IOError: [Errno 2] No such file or directory: 'data/lund/images/reconstruction.json'
As you can see, i am trying to run using the examples datasets, lund and berlim.
Any clue about  why that is not working?

@BorgesJVT there seems to be something wrong with your installation or the command you use to start the reconstruction. Did you manage to solve it?

I have the same issue, providing my own images. It seems as if the problem is with matching image pairs, which ultinately make the creation of a reconstruction.jon impossible:
017-09-07 17:17:52,092 Matching 0 image pairs
2017-09-07 17:17:52,136 Matching 281115_2772.JPG  -  1 / 10
2017-09-07 17:17:52,136 Matching 281115_2770.JPG  -  2 / 10
2017-09-07 17:17:52,136 Matching 281115_2771.JPG  -  3 / 10
2017-09-07 17:17:52,137 Matching 281115_2767.JPG  -  5 / 10
2017-09-07 17:17:52,137 Matching 281115_2768.JPG  -  4 / 10
2017-09-07 17:17:52,138 Matching 281115_2774.JPG  -  7 / 10
2017-09-07 17:17:52,138 Matching 281115_2766.JPG  -  8 / 10
2017-09-07 17:17:52,138 Matching 281115_2773.JPG  -  9 / 10
2017-09-07 17:17:52,139 Matching 281115_2765.JPG  -  6 / 10
2017-09-07 17:17:52,139 Matching 281115_2769.JPG  -  10 / 10
2017-09-07 17:17:52,750 reading features
2017-09-07 17:17:52,947 Merging features onto tracks
2017-09-07 17:17:52,947 Good tracks: 0
2017-09-07 17:17:53,418 Starting incremental reconstruction
2017-09-07 17:17:53,456 0 partial reconstructions in total.
Traceback (most recent call last):
File "/home/a/geoInteractive/OpenSfM/bin/opensfm", line 34, in
command.run(args)
File "/home/a/geoInteractive/OpenSfM/opensfm/commands/mesh.py", line 22, in run
reconstructions = data.load_reconstruction()
File "/home/a/geoInteractive/OpenSfM/opensfm/dataset.py", line 355, in load_reconstruction
with open(self.__reconstruction_file(filename)) as fin:
IOError: [Errno 2] No such file or directory: 'data/sewer/reconstruction.json'
I have tried increasing the minimum features threshold, decreasing the 'lowes_ratio' and changing the feature extractor between SIFT SURF and HAHOG. The fact that no features are matched seems strange to me, seeing as my images are of equal resolution to the berlin example set and contain good overlap and camera position change.
My own implementations of features extraction and matching using opencv's SIFT and SURF features has proved that it is possible to match features between these images. I will soon attempt to use some example visual odometry datasets from the web, to verify that features are not being matched correctly for non example datasets.

Following up on my previous comment, I was able to get some reconstruction working. To do this, I needed to change the values of the preemptive matching options. Debugging the match_features command in an ide I found that the settings matching_time_neighbors forced the matching command to not find any matches for any image pairs (I dont have GPS measurements for my data yet, but I assume I'll need to set matching_gps_neigbors when i have GPS data.) Simply by setting matching_time_neighbors to 1, I start getting a reconstruction. This is curious, because in the master config.yaml, it states "# Number of images to match selected by time taken. Set to 0 to use no limit". This is not true, as setting it to 0 results in no preemtive matching being performed.
I hope this helps others in the future.
TLDR: put this in the dataset's config.yaml to overide settings:
#preemtive matching options
matching_gps_distance: 150            # Maximum gps distance between two images for matching
matching_gps_neighbors: 1             # Number of images to match selected by GPS distance. Set to 0 to use no limit
matching_time_neighbors: 1           # Number of images to match selected by time taken. Set to 0 to use no limit
preemptive_max: 200                   # Number of features to use for preemptive matching
preemptive_threshold: 1               # If number of matches passes the threshold -> full feature matching

preemptive_threshold is gone, so it shouldn't cause more trouble.
Regarding the non-existing reconstruction, it is the case when there's no matches and/or there's not enough parallax between any pair.


Fix #35 (verilator getting stuck) and add ci test

This PR should fix #35. In addition, we should add a test case to the CI to ensure that verilator support persists. Right now, I set the environment variable SIM=verilator, however, we should test icarus and verilator before we merge this.

Thanks for the PR, but I'm not interested in making any changes here to support verilator until https://github.com/verilator/verilator/issues/2778 is fixed and cocotb works with the latest release version of verilator.

Fair enough. Let´s keep this open, since I still think there is the buggy verilator issue you mentioned, however there is a good chance that something broke in cocotb-bus > 0.1.1

Just hit this same issue trying to run test_axi_interconnect.py using a new version of verilator (with the above mentioned bug fixed)
Verilator 5.007 devel rev v5.006-7-g4a8cfe367
Switching to using cocotb-bus==0.1.1 fixed the issue for me.

Upstream verilator issue is https://github.com/verilator/verilator/issues/3919


Add a few override keywords, reflow lines past 80 columns

Did you run "clang-format" on these files? I think some of us directly run "clang-format" on the files and auto format them.

I ran it on the 80 column violations, but nothing else.  clang-format doesn't automatically insert override keywords.


Remove automatic reset after compute() in the Metric's API?

🚀 Feature
a) Remove automatic reset after compute() in the Metric API.
b) Option to automatic log running averages instead of batch-wise results
Motivation
Some of the metrics normally used, such as 'Recall', 'Intersection over Union',... etc, make no sense if calculated for a small set of images. For example, in binary classification, a batch in which there is no positive case returns 0. However, running averages are much better in these cases. Lightning metrics are automatically reset after calling compute(). Why is this behavior? isn't  better to allow calling compute() many times, allowing for example, to compute running averages in between. If at some point a reset is needed the reset() method can always be called.

@oterobaguer currently the reset is called because processes are synced whenever compute is called. Since we sync by doing a all_gather operation by default, the metric states on all processes are being accumulated, which means that if we do not do reset in between calls to compute then we would basically end up accumulating metric states multiple times.

cc: @teddykoker
Should we provide some way of computing running accumulated values?

That would be great
On Thu, Nov 19, 2020 at 3:59 PM Nicki Skafte<EMAIL_ADDRESS>wrote:

cc: @teddykoker https://github.com/teddykoker
Should we provide some way of computing running accumulated values?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PyTorchLightning/pytorch-lightning/issues/4641#issuecomment-730431088,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6MM4B6SZHVAJFFRKY5O5DSQUXEJANCNFSM4TTN72UQ
.

Sorry I missed this. In hindsight i think it would make sense to not call reset() on compute() see comment here: https://github.com/PyTorchLightning/pytorch-lightning/pull/5193#issuecomment-755680377

Sorry I missed this. In hindsight i think it would make sense to not call reset() on compute() see comment here: https://github.com/PyTorchLightning/pytorch-lightning/pull/5193#issuecomment-755680377

Fixed by #5409. Closing now.

Fixed by #5409. Closing now.


Only validate if a simple element parse succeeds

Currently, restriction validation logic takes place in a finally block of the ElementParserBase combinator when the parse status is "success". However, if an exception is thrown (e.g. Runtime SDE) then we stil hit this finally block, parse status could still be "success", but we likely won't have any data to validate. This can lead to a confusing exception that hides the original exception.
To fix this, this moves validation to the end of the try block, so that we only ever attempt validation if all aspects of a parse succeed. And if an exception is thrown, then this code is simply skipped.
This also modifies the TDML runner so it correctly sets validationMode even when errors are expected. This allows us to test this case where we expect a Runtime SDE error when validation is enabled.
DAFFODIL-2895

Agreed, I don't think I want to mess with early returns in this PR. We do have DAFFODIL-1492 to find all the uses of returns and replace them. We'll probably want to do that all at the same PR in a consistent way.


Incomplete code example

[Enter feedback here]
Build fail with code snippet from Code Example
It might be that I'm missing some step or doing something wrong (this is my first time attempting this),
but I was merely using the information provided by the page. If you manage to find what I did wrong,
please consider including the reply as additional instructions for the page to help clarify the steps for future visitors :)
Steps to reproduce:

run in powershell

dotnet new console

install NuGet package according to page .NET Cli

dotnet add package Microsoft.Azure.Management.Compute.Fluent

Remove the commented namespaces from Program.cs

using Microsoft.Azure.Management.Compute.Fluent;
using Microsoft.Azure.Management.Compute.Fluent.Models;
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;

IVirtualMachine windowsVM = azure.VirtualMachines.Define("MyVirtualMachine")
    .WithRegion(Region.USEast)
    .WithNewResourceGroup("MyResourceGroup")
    .WithNewPrimaryNetwork("<IP_ADDRESS>/28")
    .WithPrimaryPrivateIPAddressDynamic()
    .WithNewPrimaryPublicIPAddress("MyIPAddressLabel")
    .WithPopularWindowsImage(KnownWindowsVirtualMachineImage.WindowsServer2012R2Datacenter)
    .WithAdminUsername("UserName")
    .WithAdminPassword("Password")
    .WithSize(VirtualMachineSizeTypes.StandardD3V2)
    .Create();

Run the code with

dotnet run

Receive the following error message in the console:

~\Program.cs(6,29): error CS0103: The name 'azure' does not exist in the current context.
The build failed. Fix the build errors and run again.

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

ID: 1a2b138b-2471-5e90-0a7d-07f8ba5e7ce3
Version Independent ID: 695b4a2a-7975-075d-db2c-c16250098824
Content: Azure compute libraries for .NET - Azure for .NET Developers
Content Source: api/overview/azure/virtualmachines.md
Service: virtual-machines
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Hi @scottaddie If I read you right, I need to include the Azure Authentication as they did in the link provided:
IAzure azure = Azure.Authenticate(credFile).WithDefaultSubscription();

Well, after attempting to install Microsoft.Azure.Management.Fluent package (like shown in step 2 of my recreation guide), I got 3 new errors I need to figure out.

The namespace for getting the IAzure interface
The namespace for getting the Azure
How the credFile should be structured, as it currently doesn't mention any references in the provided link.

I wanna include that these are problems while using .NET CLI and VSC.
Thankfully, If I open Visual Studios instead, then I get some help with the namespaces and learn that I need to include
using Microsoft.Azure.Management.Fluent;

This solved problems 1. and 2. from my list, but might be a good idea to include for any potential VSC users reading through the documentation. Sadly I'm still stuck on question 3.
Thanks for the help so far though!

For question 3, you can create a JSON file containing the following fields:

subscription
tenant
client
key
managementURI
baseURL
authURL

The credFile parameter represents the path to the JSON file on disk. Note there are 2 other Authenticate method overloads that you can use instead: https://github.com/Azure/azure-libraries-for-net/blob/026c759303f9f4eb2c68c456cccdb56d64edb294/src/ResourceManagement/Azure.Fluent/Azure.cs#L736-L755

@scottaddie Sorry for the late reply,
Thanks for the extra details and structure.
Could please include it in the documentation as well?
Might be able to prevent more devs from reopening a similar question in the future.

@scottaddie this example is still using our track 1 SDK, I'd like update this page to use our track 2 SDK, how do you think?

@xboxeer This page is intended to describe an API in the Track 1 package. For that reason, it wouldn't make sense to replace the code sample with the equivalent Track 2 package sample. Until the Track 1 package is officially deprecated, we'll need to provide a working sample on this API ref page.

Track 2 SDK for compute already released and track 1 is deprecating, how about we add both?

Close this one, docs updated with auth part


Modified Beta Geometric model

Description

Add Modified beta geometric model.
Credit to @ColtAllen and @CamDavidsonPilon, this is basically a copy and paste of their methods
Related Issue

[x] Closes #94
[x] Related to #1230

Checklist

[x] Checked that the pre-commit linting/style checks pass There are mypy errors unrelated to this PR
[x] Included tests that prove the fix is effective or that the new feature works
[x] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[ ] MMM
[x] CLV

Type of change

[x] New feature / enhancement
[ ] Bug fix
[ ] Documentation
[ ] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--1301.org.readthedocs.build/en/1301/

Thanks for the quick review. Let me address your suggestions during the day.

Can you also add a dev notebook for this model to docs/source/notebooks/clv/dev?

Added.
The watermark states:
pymc    : 5.19.1
pytensor: 2.26.4
This is a bit ahead of the current main and related to #1269, but shouldn't affect the PR itself

Only comment left to be addressed is the removal of expected_num_purchases.
If this is to be deleted, then we should as well delete the associated BetaGeoModel.expected_num_purchases. Notice that we are inheriting, and a user may by mistake call the method.

Best to do this in a separate PR, as I'm not sure if it should be added to the release notes.

expected_probability_no_purchase

Added raise NotImplementedError. Removed the part in the notebook.

expected_probability_no_purchase

Added raise NotImplementedError. Removed the part in the notebook.

Let's remove the corresponding tests as well.

Added Weibull prior section

View entire conversation on ReviewNB

Added raise NotImplementedError on this method

View entire conversation on ReviewNB

Let's remove the corresponding tests as well and add one that catches the NotImplementedError.

Done

Only comment left to be addressed is the removal of expected_num_purchases.
If this is to be deleted, then we should as well delete the associated BetaGeoModel.expected_num_purchases. Notice that we are inheriting, and a user may by mistake call the method.

Let's leave it as-is for now and we can remove expected_num_purchases from both models in a follow-up PR.

Nice work so far! It'd be a lot easier to review the docstrings if the readthedocs preview was working properly, but lately that CI job has been crashing: https://github.com/pymc-labs/pymc-marketing/issues/1286

We'll also need to add the notebook to./docs/source/notebooks/index.md so that it shows up in the docs, and add links to the README, Index, and top of the CLV Quickstart. Again, all stuff that's easier to check if the CI task is fixed.

Let's remove the Weibull comparisons; thanks for checking them.

View entire conversation on ReviewNB

Deleted

View entire conversation on ReviewNB

Just remove it for now

View entire conversation on ReviewNB

Thanks for adding this @PabloRoque! I'll review the pre-release docs and make some minor edits in charts, docstrings, etc. before the next release.

Nice Xmas gift!
Thanks for all the feedback and the time you took to dig into the details


Schoology

Domain
schoology.com
Link
https://schoology.kleinisd.net/link?a=2345837224&path=https%3A%2F%2Fquizizz.com%2Fjoin%3Fgc%3D22846925
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
The link will likely not work for you because you need to be logged in but I included it so you can see the formatting.

i believe i can make something, jus not sure if it will work if i cant login >.<

nope i was wrong, thers a hard redirect, doesnt seem to be bypassable without logging in

@yodaluca23 give the dev an account for testing


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52462

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53875

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54409

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/73559


[4.0 and below] "Submit" button has no localization key.

The Submit button has no location key available in the en.json.
It does exist, however, and is simply called “Submit”, which is about as precise as it gets. If I translate “Submit”: “Translation”, in my fr.json, I get the translation.
I would have made a PR but I'm not sure how to handle the fact that the key is just called “Submit”.

(Edit Source windows)

It is part of core.

~It is part of core.~ e: nope, it sure ain't!

"Save" is part of core, so maybe that is what we should use instead.

~It is part of core.~ e: nope, it sure ain't!

"Save" is part of core, so maybe that is what we should use instead.

That or "Confirm" .


Added 01_knapsack in Python

🛠 Issue (Number)

Issue no #72
👨💻 Changes proposed

Added 01_knapsack in Python & updated ReadMe accordingly
✔ Check List (Check all the applicable boxes)

[ x] My code follows the code style of this project.
[ x] This PR does not contain plagiarized content.
[ x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Please send the screen shot of your implementation

Here, is a screenshot of the implementation. & above there is already a screenshot of the code


Package sb3-contrib

Comment:
Hello everyone @conda-forge/stable-baselines3, once https://github.com/conda-forge/stable-baselines3-feedstock/pull/15 is merged, I am interested also in packaging sb3-contrib (https://github.com/Stable-Baselines-Team/stable-baselines3-contrib) in staged-recipes, I opening this issue to collect any feedback on this.

fyi @YYYasin19 given your interest in the repo.

hey, thanks for your work!
I've started the process here.

This is done, right?

Yes: https://github.com/conda-forge/sb3-contrib-feedstock .


Openh264v1.0

830E9C5A45A805B87FDDF591DABD883705EE.pdf

closed (?) red

download pdf

this is not a valid pull request. close.


Examples

It would be great to supplement the articles with real-world examples, e.g. by putting them into this repository and also inviting the scientific community to contribute more via pull requests.
@sje30 suggested "before and after" comparisons of Dockerfiles (https://github.com/nuest/ten-simple-rules-dockerfiles/issues/16#issuecomment-599195079), which I really like!
The examples directory is open for these.

Other ways to find examples:

https://zenodo.org/search?page=1&size=20&q=dockerfile
https://osf.io/search/?q=Dockerfile&page=1
https://figshare.com/search?q=Dockerfile&searchMode=1

I don't think most of the Dockerfiles that I write satisfy these conditions, to be honest (and ironic)! Maybe one that has a few (cleaning up, small reliable base, multistage build, label) would be https://github.com/singularityhub/singularity-docker/blob/v3.5.3-slim/Dockerfile.

In my own dabblings, I've started forsaking Dockerfiles and moving to REES / MyBinder builds (apt.txt, requirements.txt, postBuild etc). These have the upside of being largely syntax free and quick to produce in an ad hoc fashion, but with the downside of not providing a linear narrative, as well as separating out elements that are grouped (eg grouping together a Linux package installed wrapped by a Py API/extension that is enabled in a Jupyter environment via postBuild and with a service enabled in start. It could be useful to tag lines at the end so they could be grouped in someway, perhaps? (Thinks: @betatim do we need a 10 simple rules for REES configs?!))
The most complex setups I did were still quite simple, for personal use only, and tended to use docker-compose (so that I could reuse other people's containers  (example).
The other extreme are really simple single app containers, which I guess could be interesting trying to "bring up to spec" (candidate example?.
The most complex single container builds I done have also tended to be experimental in the way I've constructed them, essentially based on a flakey "stack" model (example).
FWIW, I'm happy for any of the Dockerfiles I've created to be used as examples of bad practice (I tend to share all my work in progress because the bad practice / errors are useful reference points when it comes to writing teaching materials ("pragmatically, you might think you should do X, because Y, but actually, that sucks because Z". (My own work rarely gets past Y...;-))
I also note that a lot og good practice comes from good habits, eg always starting a file with X (eg some metadata) always finishing it with Y (an example of usage for example) which can come from good cookie cutters / templates and, if you use them (auto)linters.

@vsoch The fact that most of the Dockerfiles won't satisfy the conditions is the idea behind have "before and after" in the examples directory.
@psychemedia Thanks for the example links, especially if you consider them "bad" practice (though they worked for you, right?). Will you rewrite them yourself to demonstrate the rules?

https://github.com/sje30/eglen2015/blob/master/Dockerfile (suggested by @sje in https://github.com/nuest/ten-simple-rules-dockerfiles/issues/6#issuecomment-616487743)

Candidate for rewrite: https://github.com/nuest/docker-qgis-model/blob/master/workspace/example/Dockerfile based on https://github.com/nuest/docker-qgis-model/blob/master/ubuntu/Dockerfile.xenial used in https://www.mdpi.com/2072-4292/9/3/290/htm

Candidate for rewrite: https://science.sciencemag.org/content/suppl/2020/04/22/368.6489.420.DC1 is a supplement to a paper with a Dockerfile and even an image tarball.

@psychemedia I took a look at the Ergast F1 example, and don't think it is a good fit for a rewrite because the goal seems to be a job for regularly updating a copy of a database.
I did a review of the OpenRefine Dockerfile, let me know what you think: #75

Checklist for me:

[ ] https://github.com/sje30/eglen2015/blob/master/Dockerfile
[ ] https://github.com/nuest/docker-qgis-model/blob/master/workspace/example/Dockerfile together with https://github.com/nuest/docker-qgis-model/blob/master/ubuntu/Dockerfile.xenial (paper: https://www.mdpi.com/2072-4292/9/3/290/htm)
[ ] https://science.sciencemag.org/content/suppl/2020/04/22/368.6489.420.DC1

Here is a nice example of how to use target for multistage builds, although I've never done one like that. https://www.hackdoor.io/articles/1vpakaJw/docker-multi-stage-build-to-create-optimal-images-for-dev-and-production

Hi @nuest, so I applied the rules to the VCN regularity Dockerfile last night and then found out that the original no longer builds (could be due to disappearing Python 2 libraries or a change in the conda dependency solving algorithm). Presumably you only want Dockerfiles that build included in the examples, right? If so, do you have any other good candidates in mind to work on instead? It also occurred to me that it could be nice to have a no-Dockerfile example i.e. demonstrate Rule 1 by reducing an existing Dockerfile to a simple environment.yml for use with Binder. What do you think?

I have a "no dockerfile" example already if it is helpful:
https://github.com/sje30/rescience-hor

Hi @nuest, so I applied the rules to the VCN regularity Dockerfile last night and then found out that the original no longer builds (could be due to disappearing Python 2 libraries or a change in the conda dependency solving algorithm). Presumably you only want Dockerfiles that build included in the examples, right? If so, do you have any other good candidates in mind to work on instead? It also occurred to me that it could be nice to have a no-Dockerfile example i.e. demonstrate Rule 1 by reducing an existing Dockerfile to a simple environment.yml for use with Binder. What do you think?

Hi @bdevans It would be nice if they build, but if you make it clear in the corresponding README why it does not build, and can point out how to avoid that problem as much as possible in the "updated" verison, then I'd say it is useful to include.
I really like the idea to have examples for Rule 1! :+1:  That should be pretty straightforward for the VCN example as they already have a Binder button, right? I think the repo predates some features that MyBinder has today.

@sje30 The repo https://github.com/sje30/rescience-hor is already the "after", right? Can you point to some supplemental material where there is the "before" state? I think then we can just have a example-name/README.md explaining what you did, and actually don't need a before Dockerfile.

Ok, I'll submit a PR with the revamped Dockerfile (and other minor edits for now) but happy to take a look at replacing it with a no-Dockerfile example once Dan and I upgrade everything to work again.

@nuest there was no before!  but given that we are talking about not writing a dockerfile, it is okay I think.


Busboy file validation

related to https://github.com/eddienubes/validness/issues/4

rejected since we have multer which is built on top of it