Adding a validation error to the "[field]_confirmation" field instead of the main field

I think it's more logical to add an error to the field which an user is supposed to enter the confirmation information into

Thank you. I am sticking with Rails convention that adds it to the regular attribute. Unless there is a strong evidence one is better than the other, I would keep it this way. :)

@josevalim Hmm, I may be wrong but I think Rails adds the error to the [field]_confirmation field as well

You are right. Rails adds it to the #{field}_confirmation, thank you. @jeregrine @chrismccord @drewolson any preference?

Adding the error to #{field}_confirmation makes sense to me.

:+1:
On Sun, Aug 16, 2015 at 11:19 AM, Drew Olson<EMAIL_ADDRESS>wrote:

Adding the error to #{field}_confirmation makes sense to me.
—
Reply to this email directly or view it on GitHub
https://github.com/elixir-lang/ecto/pull/885#issuecomment-131578003.


Looking for a member by email doesn't work if we only have AppleId

There is a very good chance this fixes #9973
We've been mostly using client.user string, which is a "username" (AppleID), but... usernames could be email or non-email. You can no longer create a username that isn't an email, but for a number of years, you could.
This means, if you search for a member using the currently logged-in user, you'd be searching using an AppleID, so if you compare AppleID to email, it can fail.
Now, we hold both the AppleID and the email address associated with it.

          1 Error

:no_entry_sign:
Tests have failed, see below for more information.

Tests:

Name
File

Pilot::TesterManager Manages adding/removing/displaying testers when app manager asks to create new tester in the default group creates a new tester and adds it to the default group
tester_manager_spec.rb

Pilot::TesterManager Manages adding/removing/displaying testers when admin asks to create new tester in the default group creates a new tester and adds it to the default group
tester_manager_spec.rb

Pilot::TesterManager Manages adding/removing/displaying testers when asked to add an existing internal tester to a specific existing custom group adds the tester to the custom group
tester_manager_spec.rb

Pilot::TesterManager Manages adding/removing/displaying testers when external tester is removed without providing app removes the tester without error
tester_manager_spec.rb

  Generated by :no_entry_sign: Danger

Thank you @fastlane-bot-helper, I don't know how I missed this ❤ ❤ ❤

          1 Error

:no_entry_sign:
Tests have failed, see below for more information.

Tests:

Name
File

Fastlane Fastlane::FastFile Unlock keychain Integration set default keychain
unlock_keychain_spec.rb

  Generated by :no_entry_sign: Danger


Value types as required fields

Why does not Swashbuckle generate the required constraint for all the not Nullable value types? Anyway, is it a good idea to do so?

Please elaborate with some examples of expected vs actual behavior

I think he is referring to the fact that by default Swashbuckle generated value types as Nullable. Like:
// this will be defined as int? in specification
public int Something { get; set; }
There is workaround for this over here: https://github.com/domaindrivendev/Swashbuckle/issues/1077#issuecomment-339554277

@domaindrivendev I think @att741 is referring to the fact that by default Swashbuckle generated value types as Nullable. Like:
// this will be defined as int? in specification
public int Something { get; set; }

There is workaround for this over here: https://github.com/domaindrivendev/Swashbuckle/issues/1077#issuecomment-310541949


[tiktok] rewrite for new API and website

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fix the TikTok extractor by using the raw HTML from the page.
You should consider merging https://github.com/ytdl-org/youtube-dl/pull/25895 instead, but it is possibly more fragile as it relies on unwatermarked older APIs.

It will extract watermarked h264 stream? Tiktok can give h265 tho

I floated this PR locally and manually tested to download a video and it worked!
Also hi @StephenFluin o/

What's holding this pull request back?


how i can create VM from template

i have templates and i want to create VM how i can do it ?

A template is similar to a VM. What you'd want to do is perform a Clone from it.
This sample: https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/clone_vm.py should do what you want.

i have problem

template not found
but i have +7 templates
what i should do ?


feat(atomic-commerce): products-per-page

refactor:PageGuard to be "generic" (results->items)
refactor: PageGuard for atomic-per-page
fix: page # label interpolation
feat: atomic-commerce-products-per-page
tests: e2e for ☝

https://coveord.atlassian.net/browse/KIT-3407

Something is wrong with the URL management. Whenever the search page loads with the #perPage= attribute in the URL, 2 search queries are triggered. The second being the value in the perPage value from the URL
However, when first loading a listing page, the perPage value does not have any effect on the component.

fixed with this !
   this.bindings.engine.dispatch(setPageSize({pageSize: this.initialChoice!}));
instead of
    this.pagination.setPageSize(this.initialChoice!)
because of this
https://github.com/coveo/ui-kit/pull/4107#discussion_r1681257270


Color test

We need to run further local test to verify that this change will fix the colors in the RtD deployment.


KAFKA-13802: handle uncaught exception

handle uncaught exception
KAFKA-13802
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@JoeCqupt , thanks for the PR. But I think this PR already addressed this issue: https://github.com/apache/kafka/pull/11605 , which should include in v3.2.0. Thank you.

ok fine!


Refactor validateFuncCoreToolsInstalled logic

UserCancelledErrors get suppressed and there's no way to discern whether the user canceled.

So here's where the issue was added: https://github.com/microsoft/vscode-azurefunctions/pull/525/files#diff-e5aae51200151ee2e65bf7e21c8db7aaR51

Imma just close this because it's been a long time and we have no idea what was supposed to happen here


Remove "name" field from tokens

The field isn't used anywhere and will become especially duplicative when I follow up with a PR that removes the category name from the id.
To-do:

[x] Add changelog entry
[x] Fix failing documentation build

@tomgenoni — I made a bit of a mess with the PRs, but this one is now ready for review.


[UI] Inconsistence between build and product env for some ui widgets

The modal background color and some icons' background color show differently in built product env for... at lease windows built....


1 scoping

Description
This is a refactor of the work Adeola did in training the model, but this time using batch.
The full flow can be run by running:
cd asf_floorplan_interpreter/pipeline/
python train_yolo.py --package-suffixes=.txt,.yaml,.jpg --datastore=s3 run --config_file window_door_config.yaml

or the smaller test version:
cd asf_floorplan_interpreter/pipeline/
python train_yolo.py --package-suffixes=.txt,.yaml,.jpg --datastore=s3 run --config_file window_door_test_config.yaml

This will train the model and output the best model in this S3 location.
The metaflow files are in this location: https://s3.console.aws.amazon.com/s3/buckets/open-jobs-lake?prefix=metaflow/FloorPlanYolo/&region=eu-west-1
It is super quick too! took about 5-10 minutes to train.
Still lots to do - e.g. add newly labelled data, make sure the validation is outputting properly? But I think thats for another PR!
Fixes #5
Instructions for Reviewer
Try out
export METAFLOW_PROFILE=floorplan
cd asf_floorplan_interpreter/pipeline/
python train_yolo.py --package-suffixes=.txt,.yaml,.jpg --datastore=s3 run --config_file configs/window_door_test_config.yaml

you will need to create the correct metaflow config (and save it in ~/.metaflowconfig/config_floorplan.json), which I can send you.
Checklist:

[ ] I have refactored my code out from notebooks/
[ ] I have checked the code runs
[ ] I have tested the code
[ ] I have run pre-commit and addressed any issues not automatically fixed
[ ] I have merged any new changes from dev
[ ] I have documented the code

[ ] Major functions have docstrings
[ ] Appropriate information has been added to READMEs

[ ] I have explained this PR above
[ ] I have requested a code review

I had to manually add the metaflow env vars e.g. "METAFLOW_BATCH_JOB_QUEUE".
There are issues with the conda decorator finding ultralytics (even though it is here), so I couldnt get from ultralytics import YOLO to work at all in batch.
Even commenting out the ultralytics bits so that the train step is just results=2 I got it to work once, but then it failed with:
2023-10-10 17:02:43.759 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792] Task is starting.
2023-10-10 17:02:44.378 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792] Bootstrapping environment...
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792] Traceback (most recent call last):
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]   File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]     return _run_code(code, main_globals, None,
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]   File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]     exec(code, run_globals)
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]   File "/metaflow/metaflow/plugins/conda/batch_bootstrap.py", line 104, in <module>
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]     bootstrap_environment(sys.argv[1], sys.argv[2], sys.argv[3])
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]   File "/metaflow/metaflow/plugins/conda/batch_bootstrap.py", line 16, in bootstrap_environment
2023-10-10 17:02:46.468 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]     packages = download_conda_packages(flow_name, env_id, datastore_type)
2023-10-10 17:02:46.469 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]   File "/metaflow/metaflow/plugins/conda/batch_bootstrap.py", line 75, in download_conda_packages
2023-10-10 17:02:46.469 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]     shutil.move(
2023-10-10 17:02:46.469 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]   File "/usr/local/lib/python3.8/shutil.py", line 791, in move
2023-10-10 17:02:46.469 [1696957156421451/train/3 (pid 16813)] [a59e97ec-aa3a-4426-ad2d-65236f6a7792]     os.rename(src, real_dst)
2023-10-10 17:02:49.781 [1696957156421451/train/3 (pid 16813)] Data store error:
2023-10-10 17:02:49.782 [1696957156421451/train/3 (pid 16813)] No completed attempts of the task was found for task 'FloorPlanYolo/1696957156421451/train/3'
2023-10-10 17:02:49.863 [1696957156421451/train/3 (pid 16813)]

@cmbrennan002 I've addressed your comments in https://github.com/nestauk/asf_floorplan_interpreter/pull/4/commits/200d5113d40c31f85348e4ca20df84b6ae4ee543
Am I ok to merge now?


SVD bugs

Somewhat related to #17 and #46.
There are two known bugs in the SVD implementation.
When computing the bidiagonal blocks we use the wrong criteria.
// This is wrong:
diag_abs_sum = T::min_positive_value() *
                                   (b_ii.abs() + *b.get_unchecked([i + 1, i + 1]));

// Instead:
diag_abs_sum = T::min_positive_value() *
                                   (b_ii.abs() + b.get_unchecked([i + 1, i + 1]).abs());

We zero the off-diagonals incorrectly
We also zero the off-diagonals incorrectly before running the Golub-Kahan step. Currently we use a givens rotation to zero the off diagonal element in b. This is essentially equivalent to setting the value to zero directly... Instead we should use a (implicit) Given's rotation on the whole matrix and update the orthogonal matrices in turn.
In addition to these known issues we should explore the following:

Should the algorithm order the singular values automatically?
Why does the algorithm return negative singular values?

These last two may not be bugs but rather things we clean up after the algorithm.

I had a little time to look into this issue. It's really hard to find details of the implementation anywhere - but I checked out the netlib/eispack code. Their algorithm returns the singular values out of order but they are non-negative. Moreover it looks like they enforce the non-negative behaviour explicitly (you can see near the end of the file).

I had a little time to look into this issue. It's really hard to find details of the implementation anywhere - but I checked out the netlib/eispack code. Their algorithm returns the singular values out of order but they are non-negative. Moreover it looks like they enforce the non-negative behaviour explicitly (you can see near the end of the file).

Well, that certainly is no easy read! With all this goto jumping around, I can't tell from a quick glance what their criterion for flipping the sign is, but the fact that they do this suggests that you seem to be right in your assumption that the Golub-Reinsch algorithm seems to be able to return negative singular values. That's some good detective work right there!

By the way, I'll just leave this here as it's something we should consider.
Currently, the SVD implementation makes several tests against T::min_positive_value(). As you stated in #46, it's preferable to use the machine epsilon for the specific type instead, which is why you've made a PR to the num crate. However, I think we should probably multiply this factor by a small multiple (somewhere between 2-9, maybe?), because if we check against macheps directly, I think it's possible we will make a number of redundant iterations due to lack of precision. The "small multiple" is also very briefly mentioned in the paper you've previously mentioned.

Ticked off the problems tackled in #46 .

@AtheMathmo: The stopping criterion was also "fixed" in #46, in the sense that it uses 3 * eps where eps is machine epsilon instead of T::min_positive_value().

Thanks! Ticked that off too


monorepo: do not assert fail with flexible compiler versions

Right now if the ocaml dependency is not strictly =<version>, we get an assert failure in the build:
https://ci.ocamllabs.io/github/ocamllabs/opam-monorepo/commit/51adf6c57ac869210e517818a902fc864da85f3d/variant/(analysis)
2021-05-05 12:43.24: Job failed: "Assert_failure lib/opam_monorepo.ml:60:9"

Need to be able to specify >= and < patch versions so lifting this constraint would be useful in the CI.

see #302

This issue was closed on opam-monorepo. Is this mechanism available in the project or should we consider closing this issue and leaving opam-monorepo with fixed ocaml versions?
(cc @emillon)

I see! Thanks for your answer 😄

Closing as it does not seem to be required by opam-monorepo for now. Feel free to reopen.


fix markdown formatting for links for CONTRIBUTING.md

The links now display as clickable, and still have backtick code formatting.

Thank you @PatNeedham for the PR :)


Still maintained?

Is this repo still being maintained? Since the last commit was one year ago, I am wondering if that's either because the code is stable or because it has been abandoned. :-)

Well, kinda both. I changed the industry from augmented reality to robotics so I only work with unity in my free time. Feel free to test and update to the newest unity and meteor version.

Thanks for the info. I could not get it to work, though. The sample Unity client won't connect to the server.

The code was/is stable, that's the whole world around which is not :-)
I also don't have time to maintain it as I am not using Meteor anymore. PR are welcome.

Works for me now, the error was on my side.


Disable prettier in typescript files and only use eslint?

I'm working with a company who doesn't want to use prettier in their .ts (typescript) files, how could I disable prettier and use eslint on save instead?

Have you looked at this https://github.com/hlissner/doom-emacs/tree/develop/modules/editor/format#defining-your-own-formatters? It looks like this should allow to register your own formatter. However I have no idea what function you should call to call eslint.

See SPC h f set-formatter\! (or C-h f set-formatter\!) for docs on how to define a formatter.

In the future, please ask questions like these on our Discord or, when it's up, our Discourse, as our issue tracker is for bugs and feature requests, not how-to-questions.

Thank you!
Sorry, saw this and assumed it was the correct place:

Note that I finally managed to use:
(set-formatter! 'eslint "eslint --stdin" :modes '(typescript-mode))
However it's very buggy and slow.
I am now trying to figure out how to simply disable prettier for typescript files.

The above was not a good solution for me I ended up using:
(setq +format-on-save-enabled-modes '(not emacs-lisp-mode sql-mode tex-mode latex-mode typescript-mode))
Which disables formatting in typescript.
Note that (format-all-mode -1) does not seem to work for Typescript buffers (Bug?)


Publish to AWS: I could not deploy to an existing cloud app

In Publish to AWS, the Existing Targets list did not show my project. I expected to see it there.

Toolkit: <IP_ADDRESS>
Visual Studio: 17.8.4

Hi, can you please provide details about the project you are trying to deploy, and what you were expecting to see as a deployment  existing target in the Publish to AWS experience?


fix a bug

per https://github.com/DataBiosphere/leonardo/pull/1124, this changed
For both listCluster and getCluster API:
tool and dockerImage fields under clusterImages field are renamed to imageType and imageUrl

How will this jibe with #1919? When does this change go into prod? Will we have to hold on merging this PR, since we deploy daily?

oh yea. good point...the change will be on prod next terra release...

@zarsky-broad @breilly2 , if we can get this approved before Tues, I think this is what needs to happen

Merge this PR Tues morning. Validate everything works in on dev.

Terra release to prod

Trigger terra-ui release to prod (how?)

What do you guys think?

fyi https://github.com/DataBiosphere/leonardo/pull/1160 per slack discussion

thanks @breilly2 for thorough review!


Mobile - Upgrade vulnerable npm dependencies

We have a couple security vulnerabilities in our package-lock that we should upgrade away

https://github.com/revelry-foundation/nightingale-mobile/pull/29


How do I install it on Android?

How do I install it on Android? I tried several ways, but the game either crashes or I simply can't find anything."

Grab the mod from the website. I forgot to release it here so you can't download it from GitHub right now. Then move it to the "mods" folder, simple as that

Cual sitio web bro? 🥲
El mar, 5 de nov. de 2024 12:10, [-=KILL MAN=-] @.***>
escribió:

Grab the mod from the website. I forgot to release it here so you can't
download it from GitHub right now. Then move it to the "mods" folder,
simple as that
—
Reply to this email directly, view it on GitHub
https://github.com/AndroidModLoader/GTASA_Rubbish/issues/1#issuecomment-2457429648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVZEVDP4OEF7AJP2H6QL43Z7DNXPAVCNFSM6AAAAABRGPW3G6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGQZDSNRUHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

"Which website, bro?"
Sorry 😭
El mar, 5 de nov. de 2024 12:25, Rafal Lewiz @.***>
escribió:

Cual sitio web bro? 🥲
El mar, 5 de nov. de 2024 12:10, [-=KILL MAN=-] @.***>
escribió:

Grab the mod from the website. I forgot to release it here so you can't
download it from GitHub right now. Then move it to the "mods" folder,
simple as that
—
Reply to this email directly, view it on GitHub
https://github.com/AndroidModLoader/GTASA_Rubbish/issues/1#issuecomment-2457429648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVZEVDP4OEF7AJP2H6QL43Z7DNXPAVCNFSM6AAAAABRGPW3G6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGQZDSNRUHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://aml-mods.ru/viewtopic.php?t=22

Thanks
El mar, 5 de nov. de 2024 13:05, [-=KILL MAN=-] @.***>
escribió:

https://aml-mods.ru/viewtopic.php?t=22
—
Reply to this email directly, view it on GitHub
https://github.com/AndroidModLoader/GTASA_Rubbish/issues/1#issuecomment-2457582214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVZEVCGVIT4KRYLSUNUZ33Z7DUDTAVCNFSM6AAAAABRGPW3G6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGU4DEMRRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


why when train liver tumor:DICE=0

why when train liver tumor:
DICE=0

Hi, here are some issues in the DICE log, just ignore it. All you need is to check whether the loss curve meets your expectations.


Color is hard to parse. Perhaps expose hexvalue?

I'd like to do a color comparison but its pretty complicated to do with color being broken up into RGBA values.
artboard.backgroundColor != "#ffffff"

Right now I have to check the values of each component which is no fun.

Here is what I ended up doing:
const backgroundColor = artboard.backgroundColor
          if (
            backgroundColor.alpha != 1 ||
            backgroundColor.blue != 1 ||
            backgroundColor.green != 1 ||
            backgroundColor.red != 1
          ) {
            utils.report({
              object: artboard,
              message: `Artboard "${artboard.name}" doesn't have a white background`,
            })
          }

I wholeheartedly agree, but the main consumer of the file format is of course Sketch itself so any changes to what is written to disk has to go via Sketch.
I wonder if there are any npm utils that could make life easier? https://github.com/sindresorhus/rgb-hex
Or perhaps we could consider adding a helper function to the rule utils object? E.g. convert a Sketch file format color object to hex?

I do like the latter option by adding perhaps some helper functions to the utils objects so you don't need to rely on another library to work with this common of a component.

I'll close this one since I don't think changing the file format in this way is particularly achievable. If you've got an idea to improve the Assistant utils, feel free to open an issue over at https://github.com/sketch-hq/sketch-assistants thanks! 🙂


how to support i18n?

how to support i18n?

Question? This helps us keep issues for... issues. :smile: Thanks!
Other than localization of date-display in DatePicker, this is application / framework specific.

when I use material-ui to build a SPA, I didn't find a solution to resolve a problem like Chinese/English or other languages page switch. Can you develop a component to support this module? Just as add a language package or other ways you know.

https://www.w3.org/International/techniques/authoring-html#direction

I need a solution like this page demo.
https://ant.design/docs/react/introduce   on the top right corner

,when you click the button ,then page will change a language.
https://github.com/ant-design/intl-example

As previously mentioned, how you change language is an application / framework concern.
Again:
Question?.


Update sbt-tpolecat to 0.1.22

Updates io.github.davidgregory084:sbt-tpolecat from 0.1.20 to 0.1.22.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.davidgregory084", artifactId = "sbt-tpolecat" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #375.


Prebuilt LLVM folder not existing anymore

I am experiencing some problems running the example program and after some time I think I figured out why. I also saw similar issues that might be solved after solving this problem. The folder pointed to by this variable doesn't exists.
https://github.com/Rust-GPU/Rust-CUDA/blob/8a6cb734d21d5582052fa5b38089d1aa0f4d582f/crates/rustc_codegen_nvvm/build.rs#L13
Any ideas on how to fix this?

have you fixed this?

No unfortunately, but I did some steps forward. You need to download the prebuilt llvm from here (link), then navigate to downloaded file and make it executable, finally set that as env variable LLVM_CONFIG. Doing this i get some linking problems, that I am trying to solve


Research on the addition of the new items to the list

Research if the stuff you're including is actually awesome. Only put stuff on the list that you or another contributor can personally recommend.

There are some community projects which are in early stage at this point. Instead of adding them immediately, per above quote, we should confirm if they can be recommended.
This is a tracking issue to add all the stuff which is possibly worth mentioning in the list.
Any good log posts can be added directly but for projects we still need some research.
Some rules:

each suggested item should be in a separate comment
once the item is added, comment can be removed

create-evergreen-app: https://github.com/ProjectEvergreen/create-evergreen-app
Current version: 0.2.0
There are some opened issues so at this point it might be a bit early to add this here.
Will reconsider once the author himself considers it stable.

lit-css: https://github.com/bashmish/lit-css
Current version: 0.1.2
My plan is to experiment with this project, also talked to author who mentioned that there might be also upcoming LitElement mixin implementation based on this solution. Will consider adding to the list after that, the "Inspired solutions" section looks like a right place for that.

haunted: https://github.com/matthewp/haunted
Current version: (no release yet)
React's Hook API but for standard web components and lit-html.
Consider adding it once it gets a release and some attraction.

create-evergreen-app
Hey @web-padawan , that's me 👋

Really appreciate all the work you've put into the community, and would definitely happy to be a part of this.
I think I would categorize our open issues as more along the lines of feature requests we are looking to explore for the project, as either code or supplemental documentation, which we have a lot of in our wiki (and are currently moving to a website as we speak)
https://github.com/ProjectEvergreen/create-evergreen-app/wiki/
So with that little intro, let me know if there are other issues i could help address.  @hutchgrant has been a big help and has been contributing actively and we're now on 0.4.2 release, and definitely have a lot more activities planned for this year which should be showing up in GitHub over the next few weeks.
Thanks, and let me know your thoughts.

lit-mvvm: https://github.com/kwaclaw/KdSoft.lit-mvvm and https://www.npmjs.com/package/@kdsoft/lit-mvvm
Based on lit-element. An alternative that replaces observable properties with an observable and shareable view model. It also separates out render scheduling to be pluggable.
There is also a fork of the pwa starter kit at https://github.com/kwaclaw/pwa-starter-kit. The template-mvvm-lit-plain branch (based on template-no-redux) is using lit-mvvm.

https://github.com/rxdi/starter-client-side-lit-html
Last updated 21 days ago. Will check the status and see how the project evolves.

https://github.com/paulchiu/lit-html-typescript-parcel-starter
Last updated 17 days ago, will keep an eye on it.

https://github.com/extensible-cms/ecms-ui-atoms
Pre-alpha with "Chrome support only". Will possibly add once it is in a better shape 😄

https://github.com/DoubleTrade/lit-datepicker
Version 0.0.7 at the moment. Will add later after when the component gets mature.


[SQL] az sql mi create/update: Add --zone-redundant to support zone redundancy

Related command

az sql mi create
az sql mi update
Description

Added --zone-redundant parameter to sql mi create and sql mi update operations that allow for creating zone-redundant managed instances and updating existing ones by enabling/disabling zone redundancy. This works currently only on the business-critical edition of managed instances and on locations that support zone redundancy.
Testing Guide
sql mi create -g resourceGroup1 -n managedInstance1 -l westeurope ' '-u username1 -p password1 --subnet subne1 --capacity 8 ' '--storage 64 --edition BusinessCritical --zone-redundant True
sql mi update -g resourceGroup1 -n managedInstance1 --zone-redundant false
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

SQL


Model Editor failed to load using Devexpress 23.1.3

Hello. I am using Devexpress 23.1.3 with VS2022 and I tried to install
Xpand.Xaf.Core.All on xxx.Module project
I add the required module
RequiredModuleTypes.Add(typeof(Xpand.XAF.Modules.Email.EmailModule));
After I building the solution, I try to open Model Editor
I got this error Could not load file or assembly 'System.Interactive, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=94bc3704cddfc263'. Reference assemblies cannot be loaded for execution. (0x80131058)
Model Editor failed to load. Found similar tickets. But their advice didn't help.
XAFWithExpand2.zip

I am trying to open a module model. What does it mean to do Xpand ME?

see https://github.com/eXpandFramework/Reactive.XAF/tree/master/tools/Xpand.XAF.ModelEditor

Thank you, I got it

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


"Before submitting a Support request"

I think this text should link to https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Thank you for considering this change.

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

ID: f647b6e3-c651-b39b-56d5-f919184c92c1
Version Independent ID: f647b6e3-c651-b39b-56d5-f919184c92c1
Content: Power BI known issues - Power BI
Content Source: powerbi-docs/troubleshoot/known-issues/power-bi-known-issues.md
Service: powerbi
Sub-service: pbi-troubleshooting
GitHub Login: @mihart
Microsoft Alias: mihart

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

Hi @djurecic0 ,
Thank you for contacting us and for your suggestion.  Since this is a known issues article, the sentence is suggesting that before submitting a Support request, check to see if we already know about the problem (and are working on it).  The current link goes to the report that lists known issues by experience -- which is the correct location.  If this is unclear, please let me know.

Hi Michelle,
Thanks for your response. I was not suggesting that the current links are wrong or should be changed.
I was suggesting that since this page mentions creating a support request, it would be nice to add a link to the page “Create a support ticket”  (https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket) to make it easier for users to learn how to submit a support request.
It does make sense that submitting a support request is not the purpose of this page since there is a separate page that deals with submitting a support request.
Best,
Dean
From: Michele Hart @.>
Sent: Tuesday, November 14, 2023 2:28 PM
To: MicrosoftDocs/powerbi-docs @.>
Cc: Dean Jurecic @.>; Mention @.>
Subject: Re: [MicrosoftDocs/powerbi-docs] "Before submitting a Support request" (Issue #4863)
Hi @djurecic0https://github.com/djurecic0 ,
Thank you for contacting us and for your suggestion. Since this is a known issues article, the sentence is suggesting that before submitting a Support request, check to see if we already know about the problem (and are working on it). The current link goes to the report that lists known issues by experience -- which is the correct location. If this is unclear, please let me know.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/powerbi-docs/issues/4863#issuecomment-1811050593, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASH4QTNCJQ7OVHAKK5CVWJTYEPA2HAVCNFSM6AAAAAA7JU6MWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJRGA2TANJZGM.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Set Terms Of Use  (API endpoint #7)

Input: OpenDPUserID, TermsOfUseID
Output: {"success": true/false}
Notes
Do we need to specify that user accepts or rejects? Or is rejecting the same as not recording an acceptance? Change TOS based on the installation
Logging
For audit trail, record a rejection.
Reference: https://docs.google.com/spreadsheets/d/1FcxCMqP6z0PUN-5cIEcpxbqlNamuL9oq_73D32ON9E8/edit#gid=0

The client side code for this is part of https://github.com/opendp/dpcreator/pull/242


PC-941: Error on the check your answers page showing 270mm loft insulation when the question asks about 100mm

Changed reference to the question being 270mm of insulation in answer summary page to 100mm
Updated string in Welsh to reflect the above change

Would you mind confirming with Gareth whether the 270mm further up on the question page is still right and something we should keep?
There's also a test that mentions 270mm: maybe it's out of date? Could you have a quick look into that for me?

LGTM

Code checker's complaining about an unused import: happy for you to merge once that's fixed


ANSI issues in PowerShell 7

While the output of Expand-7ZipArchive is correct in PowerShell 5.1, the same cannot be said for the latest stable of PowerShell, which is currently 7.4:

This is with the default terminal included in Windows 10, no special terminal app or anything.

Hmm. I can't reproduce it on my machine. can you upload the zip file?

Thanks, I missed the point that it is Windows 10, and while it is not an issue with the Windows Terminal (which is the default terminal in Win11), there seems to be a issue with the progress bar displaying in conhost.exe. I will investigate and fix it.

Although not a radical solution, a work-around approach is to revert the progress bar display style to classic.
$global:PSStyle.Progress.View = 'Classic'
Expand-7ZipArchive -Path 'F:\rclone-v1.65.1-windows-amd64.zip' $pwd


License?

I looked at the License document, and it is completely empty.  Was this an accident, or is voxelTerrain meant to be public domain?

Ur right I missed to decide it.
Most likely it will be something like MIT.


RC32: Frequent write errors

After upgrading to RC32 I'm seeing write errors ranging between 25-75% of requests for no apparent reason. Sometimes there will be no problem for an hour followed by an extended period with high error rates.
I would expect either all (or essentially all) writes to succeed or all writes to fail if there's some kind of misconfiguration. A huge percentage of writes failing, but not all, is concerning.
There isn't any obvious problem with my setup that I can see and I've had earlier 0.9.x versions running successfully for months on this host.
The service responds with the following opaque error:
write failed

I can't find a way to get the service to trace anything more useful than the HTTP request log line, e.g.,
[http] 2015/06/09 16:36:17 <IP_ADDRESS> - root [09/Jun/2015:16:36:17 +0000] POST /write?consistency=&db=xyz&precision=&rp=default HTTP/1.1 500 36 - Go Metrics a7099361-0ec5-11e5-92c2-000000000000 1.400526ms

I tried setting write-tracing to true in config to get some more diagnostic information but as far as I can tell that didn't seem to do anything.
I'm using the RC32 client from this repo in /client to send writes. The following is typical of the input I'm sending:
collector.request_duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>362984541
collector.timeout.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363035654
service.notify.clients.count,environment=devel,host=the.host.com count=0<PHONE_NUMBER>363045462
service.request_duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363051340
collector.request.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363109642
notify.delivery.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363114736
service.requests.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363124859
store.fetch.duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363128004
store.store.duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363136722
aggregator.metric.count.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363145322
aggregator.aggregate.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363171425
aggregator.timescale.duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363180985
aggregator.timescale.count.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363198635
collector.collect_duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363201891
collector.errors.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363217543
notify.routing.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363220560
notify.notifications.meter,environment=devel,host=the.host.com count=0,fifteen-minute=0.0,five-minute=0.0,mean=0.0,one-minute=0.0<PHONE_NUMBER>363229164
aggregator.metric.duration.timer,environment=devel,host=the.host.com 50-percentile=0.0,75-percentile=0.0,95-percentile=0.0,99-percentile=0.0,999-percentile=0.0,count=0,fifteen-minute=0.0,five-minute=0.0,max=0,mean=0.0,mean-rate=0.0,min=0,one-minute=0.0,std-dev=0.0<PHONE_NUMBER>363242469
notify.backlog.count,environment=devel,host=the.host.com count=0<PHONE_NUMBER>363251125

Server OS: 64-bit Ubuntu 14.04.2 LTS, from .deb package
Client OS: tested with Ubuntu 14.04.2 LTS and OS X 10.10.3
Release: 0.9 RC32

@bww RC32 had some significant changes in the write path that might be causing this - we're actively trying to stabilize that new code, so this is really helpful. is this just running on a single node? can you tell us a little more about the average write rate when this happens?

@toddboom Yeah, it's a single node. Write frequency is pretty light, it's collecting metrics sampled every 5 seconds from 5 or 6 different client hosts.

@bww thanks for the quick response. do the errors go away after a while or does it stay in a high-error state once is starts?

#2853 adds more logging to help troubleshoot write error.

@toddboom Once it gets into a high-error state (which it invariably does) it seems to remain that way. Restarting the service doesn't really seem to do anything to help. However, clearing out the database (rm -rf style) and recreating it significantly lowers the error rate for a while (although not to zero).
Just in case it's somehow significant, I'll also mention that the service runs on a different volume than its data directory.
I'll try the logging in #2853 when I get a minute and see if that yields anything useful.

I am having the same issue for what it is worth.  However, more specifically I am seeing the following:
[write] 2015/06/10 06:07:08 write failed for shard 4 on node 3: error code 1: write shard 4: input field "value" is type int64, already exists as type float
[write] 2015/06/10 06:07:08 write failed for shard 4 on node 1: error code 1: write shard 4: input field "value" is type float64, already exists as type integer
I am running a 3 node cluster.


x/pkgsite: stdlib path package missing from top results

Search for the package "path" on the pkgsite:
https://pkg.go.dev/search?limit=25&m=package&q=path
The top 5 results are:

path/filepath
golang.org/x/sys/execabs
github.com/Masterminds/glide/path
github.com/ipfs/go-path
gopkg.in/src-d/go-git.v4/utils/merkletrie/noder

What happened to the path package itself?
https://pkg.go.dev/path

dup of #41369 ?

Yes, duplicate, thank you.


Cannot read GTF: expected 2 values got 1

Hello, I am trying to read the following GTF file: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Mus_musculus/reference/GCF_000001635.27_GRCm39/GCF_000001635.27_GRCm39_genomic.gtf.gz
And got this error:
Traceback (most recent call last):   File "/home/alessandra/Desktop/Lab/isoAnnot/isoAnnot_dev/exons/layer_exons.py", line 85, in <module>     main()   File "/home/alessandra/Desktop/Lab/isoAnnot/isoAnnot_dev/exons/layer_exons.py", line 48, in main     exons_info = get_gtf_exon_locations(args.gtf_file)   File "/home/alessandra/Desktop/Lab/isoAnnot/isoAnnot_dev/exons/layer_exons.py", line 30, in get_gtf_exon_locations     gtf_contents = pyranges.read_gtf(gtf_file, as_df=True, duplicate_attr=False)   File "/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py", line 311, in read_gtf     gr = read_gtf_full(f, as_df, nrows, _skiprows, duplicate_attr)   File "/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py", line 343, in read_gtf_full     extra = _to_rows(df.Attribute)   File "/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py", line 367, in to_rows     rowdicts.append({k: v   File "/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py", line 368, in <dictcomp>     for k, v in [kv.replace('""', '"NA"').replace('"', '').split(None, 1) ValueError: not enough values to unpack (expected 2, got 1)

It is probably a nonstandard file. I’ll have a look
On Mon, 20 Feb 2023 at 13:05, Alessandra Martinez @.***>
wrote:

Hello, I am trying to read the following GTF file:
ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Mus_musculus/reference/GCF_000001635.27_GRCm39/GCF_000001635.27_GRCm39_genomic.gtf.gz
And got this error:
Traceback (most recent call last): File
"/home/alessandra/Desktop/Lab/isoAnnot/isoAnnot_dev/exons/layer_exons.py",
line 85, in  main() File
"/home/alessandra/Desktop/Lab/isoAnnot/isoAnnot_dev/exons/layer_exons.py",
line 48, in main exons_info = get_gtf_exon_locations(args.gtf_file) File
"/home/alessandra/Desktop/Lab/isoAnnot/isoAnnot_dev/exons/layer_exons.py",
line 30, in get_gtf_exon_locations gtf_contents =
pyranges.read_gtf(gtf_file, as_df=True, duplicate_attr=False) File
"/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py",
line 311, in read_gtf gr = read_gtf_full(f, as_df, nrows, _skiprows,
duplicate_attr) File
"/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py",
line 343, in read_gtf_full extra = _to_rows(df.Attribute) File
"/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py",
line 367, in to_rows rowdicts.append({k: v File
"/home/alessandra/miniconda3/envs/ranges/lib/python3.10/site-packages/pyranges/readers.py",
line 368, in  for k, v in [kv.replace('""', '"NA"').replace('"',
'').split(None, 1) ValueError: not enough values to unpack (expected 2, got
1)
—
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/292, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURURQRPDN7BSNXH65KODWYNMX7ANCNFSM6AAAAAAVBZKZRI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The file has ; within double quotes which makes it hard to parse quickly.

I propose implementing a correct but slow GTF reader that can be used if the normal one fail. There is no way to read all gtfs quickly since the format allows for such a degree of heterogeneity.


[5.3] Remove hard coded (English) prose from scheduled task email subject when description is defined

I feel as if the developer should be in control of the email subject that is used when sending the scheduled job output via email. Currently, the default behavior will always include the text "Scheduled Job Output" in the email subject. I previously submitted a separate PR that provided a less invasive solution for this desired behavior and it was shot down without conversation because "You can already customize the subject by setting a description."
So, I humbly submit this follow-up PR which changes existing functionality to grant framework consumers the ability to set the entire email subject to any value they desire, including any non-english value because sometimes people use Laravel to communicate with people whose primary language is not english.
I am happy to port the tests over from the previous PR as they would be appropriate here, but I am not going to waste my time if this is going to be arbitrarily shot down without rational discourse.

Thanks @taylorotwell


FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory

This was just introduced in 2.3.10, this script will spin and spin and never finish now: (seems to deal with update queries)
# note that contacts is an array of ObjectIds
User.update {userId: 'testarc'}, {contacts: contacts}, (err) -> # will never get here

Correction, the contacts is an array of User objects, the schema is:
  contacts       : [ { type: Schema.ObjectId, ref: 'User' } ]

can you provide a gist that i can run to recreate? i'm having no luck

sure https://gist.github.com/1348429

This is still happening to me when trying to update a document by id.


Add some logging utilities to capture whisper.cpp output

The module is whisper_sys_log is private not sure how should I use it. Tried to install your branch with the features enabled and it didn't worked.

I cloned your repo, make the modules public but still it doesn't hide it

To be clear, you did call at least one of install_whisper_log_trampoline or install_whisper_tracing_trampoline?

Yes

Gonna go ahead and merge, hopefully it's resolved with some fixes from other PRs. If not, let me know and I'll go ahead and dig into it.


Full Screen

Hello ! Thanks for this container, really cool.
I think FullScreen is not working, Firefox still in the 1280x720  ( HD resolution )...
Is possible to run with entire browser screen ?

And... Another question, not relative to this container...
Do you think is possible to do a Kodi Container ( v17 ) ?

Do you have more details about your full screen issue?

@jlesage Is there a way to set the UI to just be 100% of remote?  Currently you need to set a resolution like 10x7, but it doesnt "grow", so do I just set a higher one and have it shrink?

Currently the "remote" resolution doesn't change.  So you need to scale on client side.
However, this may change in the future by changing the vnc server inside the container...

@jlesage right, but if I have a 4k monitor, and the docker is set to 10x7, the scale does nothing, I would need to set the resolution to 4k? then on a 1080p monitor it would scale down?

Yes you are right, no upscaling is done, only downscaling.  So setting the resolution to 4k could be a solution.

The answer is in the original image configuration:
$ docker image inspect jlesage/firefox
        "Env": [
             ...
            **"DISPLAY_WIDTH=1280",
            "DISPLAY_HEIGHT=768"**

So:
docker run -d --name=firefox5 -p 5800:5800 --shm-size 2g -e "DISPLAY_WIDTH=1920" -e "DISPLAY_HEIGHT=1080"  jlesage/firefox

Thanks. very useful info, should be added to your explanations (I mean the part about only downscaling being done :-)


Add support for AKS browse in the cloud console.

@mboersma @yangl900

Comment addressed and validated that this works properly in the cloud shell environment.
w00t!

LGTM!

#7335 before it will pass.

Update the setup.py by myself. Let's see how it goes.


[Feature Request]: Improve Notebook Logout Experience

Feature description
When logging out of the Jupyter Notebook it redirects to our Dashboard -- which uses a window.location redirect to the OAuth container for that Notebook -- which then redirects back to us at a more specific location (either the control panel for the jupyter tile or the project the notebook belongs to).
What we should do is look to see if we can make a direct get call or something using fetch or axios or something -- when we get a response, we can react-router redirect and keep the flow a lot cleaner.
It's a messy back and forth right now.
Describe alternatives you've considered
Possible we spawn a new tab to do this? Not sure this is any more ideal -- and browsers could probably mute this action so we might be out of luck if the primary goal fails.
Anything else?
No response

Test results with the changes in #1792
Data science project:
No change. When the logout button is hit, it will go to ${dashboard_origin}/notebook/${project_name}/${notebook_name}/logout page, where we create a redirect component to help replace the URL with the Jupyter Notebook URL and add /oauth/sign_out to really sign out the oauth proxy. After the sign out, it will then check the annotation notebooks.opendatahub.io/oauth-logout-url, which will finally redirect the user back to the project details page and add a logout param to help show the notification to indicate successful logout.
Jupyter tile:
Similar to above, first navigate to ${dashboard_origin}/notebook/${dashboard_namespace}/${notebook_name}/logout page, then fetch the route there and add /oauth/sign_out to the URL to sign out. After that, it checks the annotation too, and navigates back to the notebook controller page. The only difference here is the Jupyter tile notebook doesn't add a search param later, so it will not even show a notification for the successful logout.
So the issue is still there and we may need to figure out a way to better handle it.

On Notebook-controller end, we are also trying to find a solution on our end for this.
Issue: https://github.com/opendatahub-io/kubeflow/issues/157

Similar but not the same issue @harshad16 -- that, however, has been discussed before so I'm glad you have something logged 🎉
This is about when our Dashboard hard refreshes/redirects after being sent back from JupyterLab -- this should be entirely a flow on our side as I understand the issue.

Thank you for clarifying the difference, if we find some insights
will share them with you.

Migrated to:  https://issues.redhat.com/browse/RHOAIENG-2744


How to use Hammer to count the number of times rate-limits are reached within an interval

Not a bug per se, I just wanted to see if anyone had thoughts.
We started using Hammer to deal with some spammers who have been using our app to send lots of emails. It works well so far, as in the amount of damage spammers cause is now limited (e.g. each IP address can now send X emails per minute, after which they get 429'd).
We want to take this one step further though, by adding an IP address to a blacklist if requests coming from it are rate-limited more than X times within a given interval Y. In other words, it's like rate-limiting, but at a "meta" level.
Is there a way to utilize Hammer for this purpose?

👋 @egeersoz
An easy way would be to check if the Y * X bucket.

we don t have anything like that. You would need to do what @ruslandoga suggests or you can create dynamic bucket and check 2 of them in the same time based on conditions you need?

We want to take this one step further though, by adding an IP address to a blacklist if requests coming from it are rate-limited more than X times within a given interval Y. In other words, it's like rate-limiting, but at a "meta" level.

My two cents: have a separate bucket with limit X for interval Y and blacklist when that limit is exceeded.
Trying to use one bucket for two different limits and timescales is a lot of complexity


Add exhaustiveness checking

Adds exhaustiveness checking for match statements which have a known (or inferred) type. Failures are logged as warnings but allow execution to continue.

(I ended up here from reddit/ProgrammingLanguages)
I have trouble understanding the exhaustiveness-checking algorithm. One property I would expect is that if one of the patterns is an Identifier, then the matching is exhaustive. But you only check for Identifier in the Number case, not in the Boolean or datatype cases. If I write match foo: | true => ... | p => ..., or match foo: | some(x) => ... | other => ..., are those correctly found to be exhaustive?
If that can help, I think the recommended publication for "exhaustiveness warnings" (and other warnings on pattern-matching programs) is Warnings for pattern-matching, Luc Maranget, 2007.


geos: 3.10.2 -> 3.11.0

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

On macos 10.15:
builder for '/nix/store/3l5wjhd8rygd565hlgl5bwaympkwcgdy-python3.9-pygeos-0.12.0.drv' failed with exit code 1; last 10 log lines:
  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
  =========================== short test summary info ============================
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry0]
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry3]
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry4]
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry5]
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry6]
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry7]
  FAILED pygeos/tests/test_constructive.py::test_float_arg_array[offset_curve-geometry8]
  = 7 failed, 2614 passed, 22 skipped, 1 xfailed, 22 xpassed, 5 warnings in 5.63s =

builder for '/nix/store/7kg4maa70cahiyw8nr9njhd2jvr3rcr1-python3.9-Shapely-1.8.2.drv' failed with exit code 1; last 10 log lines:
      raise GeometryTypeError("Splitting a Polygon with a %s is not supported" % splitter.type)

  tests/test_substring.py::SubstringTestCase::test_raise_type_error
    /nix/store/m1lyy5x531vyi8sxiy3zjabddva72f5q-python3.9-Shapely-1.8.2/lib/python3.9/site-packages/shapely/ops.py:639: ShapelyDeprecationWarning: GeometryTypeError will derive from ShapelyError and not TypeError or ValueError in Shapely 2.0.
      raise GeometryTypeError("Can only calculate a substring of LineString geometries. A %s was provided." % geom.type)

  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
  =========================== short test summary info ============================
  FAILED tests/test_parallel_offset.py::OperationsTestCase::test_parallel_offset_linestring
  ===== 1 failed, 463 passed, 18 deselected, 2 xfailed, 27 warnings in 1.97s =====

Same for the python 3.10 versions of those packages

Including @knedlsepp for questions about disabling shapely tests.

A failing test suite is an indication of broken functionality unless we know otherwise. Disabling tests does not solve this.

As with the 3.10 bump, both my (not so fast) my x86 Mac and my (little bit faster) Linux box are both hanging on their nixpkgs-review so I can’t totally confirm that the full rebuild works, but they’ve both at least gotten past the pygeos and shapely packages correctly.

As with the 3.10 bump, both my (not so fast) my x86 Mac and my (little bit faster) Linux box are both hanging on their nixpkgs-review so I can’t totally confirm that the full rebuild works, but they’ve both at least gotten past the pygeos and shapely packages correctly.

on my computer
7 packages marked as broken and skipped:
python310Packages.basemap python310Packages.descartes python310Packages.worldengine python39Packages.basemap python39Packages.descartes python39Packages.worldengine worldengine-cli

63 packages failed to build:
apacheHttpdPackages.mod_tile cloudcompare gdal gdal_2 gmt gplates grass libLAS mapcache mapnik mapproxy mapserver merkaartor openorienteering-mapper osmscout-server paraview pdal pdal_2_3 perl532Packages.Tirex perl534Packages.Tirex postgresql11Packages.postgis postgresql12Packages.postgis postgresql13Packages.postgis postgresqlPackages.postgis python310Packages.asf-search python310Packages.bsuite python310Packages.cartopy python310Packages.fiona python310Packages.geopandas python310Packages.mask-rcnn python310Packages.opensfm python310Packages.osmnx python310Packages.plotnine python310Packages.pygmt python310Packages.python-mapnik python310Packages.rasterio python310Packages.rlax python310Packages.wktutils python39Packages.asf-search python39Packages.bsuite python39Packages.cartopy python39Packages.fiona python39Packages.gdal python39Packages.geopandas python39Packages.mask-rcnn python39Packages.opensfm python39Packages.osmnx python39Packages.plotnine python39Packages.pygmt python39Packages.python-mapnik python39Packages.rasterio python39Packages.rlax python39Packages.wktutils pytrainer qgis qgis-ltr qlandkartegt qmapshack saga sumo t-rex udig valhalla

33 packages built:
cura flatcam geos haskellPackages.hgeos librttopo libspatialite moonraker python310Packages.aplpy python310Packages.flask-admin python310Packages.geoalchemy2 python310Packages.imgaug python310Packages.owslib python310Packages.preprocess-cancellation python310Packages.pygeos python310Packages.pyosmium python310Packages.pyproj python310Packages.shapely python310Packages.spectral-cube python310Packages.uranium python39Packages.aplpy python39Packages.flask-admin python39Packages.geoalchemy2 python39Packages.imgaug python39Packages.owslib python39Packages.preprocess-cancellation python39Packages.pygeos python39Packages.pyosmium python39Packages.pyproj python39Packages.shapely python39Packages.spectral-cube python39Packages.uranium readosm spatialite_tools

I've tried building some of the failed packages manually and they do build, so maybe something with nixpkgs-review

Thank you for running -- my linux box was still chewing on it with likely another day to go!

pkgsMusl and pkgsCross.aarch64-multiplatform variants also build happily.

Thank you!


Light project reorg; add coverage and basic project resources

Overview
This PR restructures the project to the beginnings of a more standard / typical python package and puts more emphasis on the test suite and related tooling.
Separate tests from main code

Pulls tests out of main code
Creates separate src and tests dirs
pyproject.toml added so the library can be installed as a local package (and eventually deployed to pypi, if ever desired)
Test-only dependencies defined in tests/requirements.txt

Note: zero changes made to the tests themselves; just a strict cut-paste.
Add coverage
Simple, standard python tooling to assess test coverage:

Includes a nice option to output interactive html to identify test suite gaps:

Misc project resources

Adds an initial README, .gitignore
Removes now-unnecessary .python-version (this is specified instead in the pyproject.toml)

This is awesome, thanks!


Mode Grammar : Option to make it precise only

Code mirror has an optimization where it will go up a few lines to find the one with the minimum indent and call startState from that point on. While in the background it will at some point resume the tokenizer that started with actual line 0. I have a TypeScript grammar that needs accurate line numbers. Without that it gives wrong results. So because of this optimization first we get a bad tokenization and then we get a good tokenization after a delay. This is shown below where because we have the initial lines as comments the initial tokenization is comment but then it updates to the correct result:

This is much worse if the first few lines in the file are funky ... we get funky tokenization for the ending lines (which ofcourse auto fix after a while):

Ideally I would prefer that it was white to begin with instead of funky.
More info
The call stack actually goes to getLineStyles -> getStateBefore but precise is not passed in (undefined / falsy).

If we pass in precise true ... it becomes slow (as it gets state for all the lines). Is there a solution to have it temporarily be white?
If Curious : Why I need exact line numbers
Because the lexical grammar was deemed too complex for JSX https://github.com/Microsoft/TypeScript/issues/5545. TypeScript also provides what they call syntactic tokenizer which basically works on a complete source file. I feed the source file to it (https://github.com/alm-tools/alm/blob/e588cccd8178f3130180586f468f5ec03a6b6ea7/src/app/codemirror/mode/classifierCache.ts#L23-L33) and then query it from the mode (https://github.com/alm-tools/alm/blob/05204a372e667e4057a457c44441413109b42ff5/src/app/codemirror/mode/typescript.ts#L143) giving it the right line numbers.
PS: Love CodeMirror :rose:

What if you add some sanity-checking to your mode so that it doesn't output any styling when the tokens in the stream don't match the tokens in its token list?
Immediately doing a synchronous parse of the whole document isn't a good approach, since it could block the UI for an arbitrary amount of time at critical moments when the user is expecting feedback, making the editor feel unresponsive.
Making it so that the editor doesn't highlight at all if it couldn't get a precise state would be possible, but that'd be somewhat invasive, since it'd require a bunch of code to know about this special state that highlighting can happen in.

Thanks for your review :rose:

What if you add some sanity-checking to your mode so that it doesn't output any styling when the tokens in the stream don't match the tokens in its token list?

I explored this option but consider the following file:
1: aaa
// ... some 300 lines
301: aaa

Now if the editor jumps to 301 (or something similar) I still might think that its valid aaa if line 1 is being passed in. Basically file contents can repeat on different lines and I can't sanely check that from the grammar

Making it so that the editor doesn't highlight at all if it couldn't get a precise state would be possible, but that'd be somewhat invasive, since it'd require a bunch of code to know about this special state that highlighting can happen in

I understand. Feel free to close. I just wanted this to be known issue and see if there was perhaps a quick win :rose:

Basically file contents can repeat on different lines and I can't sanely check that from the grammar

That's true, but large stretches of repeated text are rare, and highlighting a few lines wrong (potentially -- it might even be right) and then disabling highlighting as soon as a mismatch is found is still much preferable to the color soup in your screenshot, no?
Going to close this. I see the use case, and I'm going to rethink the way this works the next time I do major work on the highlighting system, but right now this isn't something I want to implement.

@marijnh its okay if you never implement this. I did the sanity checks on my side (https://github.com/alm-tools/alm/blob/c5834a2080a942340b3e51161a947cd3f019e139/src/app/codemirror/mode/classifierCache.ts#L38-L51) and it seems to work fine in real world testing :rose:


Make many StructureController properties Option.

These properties seem to be guaranteed undefined if they're not applicable.
Found this trying to use them, then found the complete list of sometimes-undefined properties by checking accessor code at https://github.com/screeps/engine/blob/a4e431c9ee33dcc55c04f3adc479145c210c73fd/src/game/structures.js#L263-L268.

Yeah I mean... who knows? undefined could be thought of as more semantically accurate, like the controller with level 0 doesn't have 0 progress, it has no progress? or like safe mode won't expire in 0 ticks, it isn't present.
but that's a bit of an arbitrary difference I guess. Eh


I am here to learn how to develop Rust-back end  and the libraries used to develop.

To develop a Rust backend, you'll typically start by using the Rust programming language, which is known for its performance and safety features. You can use the Actix Web or Rocket frameworks, which simplify the process of handling HTTP requests and building web applications. For database interactions, consider libraries like Diesel or SQLx, which provide safe and efficient ways to work with databases. To manage dependencies and project structure, you'll use Cargo, Rust's package manager and build system. Additionally, if you need asynchronous capabilities, Tokio is a popular runtime that you can leverage. Testing is also straightforward with Rust's built-in testing framework. With these tools, you can start building robust web applications and APIs in Rust.

To develop a Rust backend, you'll typically start by using the Rust programming language, which is known for its performance and safety features. You can use the Actix Web or Rocket frameworks, which simplify the process of handling HTTP requests and building web applications. For database interactions, consider libraries like Diesel or SQLx, which provide safe and efficient ways to work with databases. To manage dependencies and project structure, you'll use Cargo, Rust's package manager and build system. Additionally, if you need asynchronous capabilities, Tokio is a popular runtime that you can leverage. Testing is also straightforward with Rust's built-in testing framework. With these tools, you can start building robust web applications and APIs in Rust.


make-based: Add option in do.sh scripts to get path to qemu-system-x86_64 executable

Some setups may have multiple qemu-system-x86_64 executables. In that case, you want to be able to specify the exact path of the executable, and not use the default one.
Add a variable in do.sh scripts and in support scripts in include/ to have these features.
Hackathon points: 10

I'm working on this

Pull request made

Hackathon-points: 10


AutoGen.DotnetInteractive Package Compatibility Issue

Describe the issue
An issue was encountered when attempting to add the AutoGen.DotnetInteractive package to the project. Despite specifying version 0.0.13, the process resulted in a compatibility issue. The system indicated that the package Microsoft.DotNet.Interactive.VisualStudio could not be found during the restore process and ultimately reported that the AutoGen.DotnetInteractive package is incompatible with the "all" framework in the project.
Steps to reproduce

Execute the command dotnet add package AutoGen.DotnetInteractive --version 0.0.13 in the command line.
The system begins to restore the package and attempts to fetch the necessary dependencies.
A 404 Not Found error is returned when trying to retrieve the Microsoft.DotNet.Interactive.VisualStudio package from the NuGet source.
The system continues to attempt the restore but ultimately reports an error: error: NU1101: Could not find package Microsoft.DotNet.Interactive.VisualStudio.
The error message further indicates that the AutoGen.DotnetInteractive package is incompatible with the "all" framework in the project.

Screenshots and logs
info : Adding PackageReference for package 'AutoGen.DotnetInteractive' version '0.0.13' to project 'C:\Users\Feynman Loo\Workspaces\Autogen-Demo\Autogen-Demo.csproj'.
info : Restoring packages for C:\Users\Feynman Loo\Workspaces\Autogen-Demo\Autogen-Demo.csproj...
info : NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.interactive.visualstudio/index.json  1951 ms
error: NU1101: Could not find package 'Microsoft.DotNet.Interactive.VisualStudio' in the sources Microsoft Visual Studio Offline Packages, nuget.cnblogs.com, nuget.org.
error: Package 'AutoGen.DotnetInteractive' is not compatible with 'all' targeted frameworks in project 'C:\Users\Feynman Loo\Workspaces\Autogen-Demo\Autogen-Demo.csproj'.
Additional Information
No response

The dotnet interactive visual studio package can be found in the following feed https://github.com/microsoft/autogen/blob/b2d3474324f30e64071ab1e68c6d848dd2707898/dotnet/NuGet.config#L5

The dotnet interactive visual studio package can be found in the following feed (either dotnet public or dotnet tool)
https://github.com/microsoft/autogen/blob/b2d3474324f30e64071ab1e68c6d848dd2707898/dotnet/NuGet.config#L5

@LittleLittleCloud  the same

@feynmanloo try dotnet tools feed?

@feynmanloo try dotnet tool feed?

@LittleLittleCloud

NotFound https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.dotnet.interactive.visualstudio/index.json 1878 毫秒

@LittleLittleCloud

@LittleLittleCloud fixit，change to use

it works ! thx a lot !

Thanks, I will update the website to add the instructions on installing interactive package


Update README.md

Can one of the admins verify this patch?

ok to test

test this please

test this please

test this please


Cobalt penetration test (#1)

Added coverage from cobalt to markdown format`
Adjusted directory structure
Add cobaltio reports
update summary of cobalt io
Update README.md

Created an "Assessments" directory for the variety of security assessment reports. Also includes a README.md summary for both the folder and specific assessment.


[MODCLUSTER-397] potential fix for ProxyPass stickysessions issue

https://issues.jboss.org/browse/MODCLUSTER-397

@jfclere @aogburn Any news on this one?

See https://github.com/modcluster/mod_cluster/pull/158 for a master PR using notes to avoid additional table reads.  If it checks out, I can port it for 1.2 as well (although it probably wouldn't ever see an official 1.2 release?)

@aogburn @jfclere Why wouldn't it?

@Karm it wouldn't with EAP 6 at least as EAP 6.4/mod_cluster 1.2.11.Final was the last release there (we don't release new natives with EAP 6 cps)

Heads up: @jfclere @aogburn We are about to patch & release 1.2.13.  :package:

@aogburn @jfclere Closing. Superseded by https://github.com/modcluster/mod_cluster/pull/188 that combines both the original functional idea and the latter optimization from https://github.com/modcluster/mod_cluster/pull/158
Cheers
-K-


Deephaven UI - Invalid ui.panel usage should show clear error

ui.panel should only be used at the top level of a component or when layout out a ui.dashboard.
e.g. This is invalid:
import deephaven.ui as ui

@ui.component
def test_component():
    # ui.flex parent should be invalid
    return ui.flex(
        ui.panel(
            "Panel A",
            title = "Panel A",),
        ui.panel(
            "Panel B",
            title = "Panel B",),
        direction = "row"
    )

t1 = test_component()

This seems to run but produces an additional empty panel for t1

We should explicitly show an error when panels are wrapped in invalid parents.

Check in ReactPanel if the parent retrieved from useParentItem is a Panel, and if it is, just throw.
The top level ui.flex is automatically getting upgraded to a panel: https://github.com/deephaven/deephaven-plugins/blob/f10b07162cc685df1e281e79c880bff59c54991b/plugins/ui/src/js/src/widget/DocumentUtils.tsx#L50
The problem essentially boils down to we shouldn't be able to nest a panel within a panel. So this code should fail as well:
import deephaven.ui as ui

pp = ui.panel(ui.panel("Nested panel"))


Holder ID error

When i use the exact example from the readme, it will instantly throw an error, saying it can't assign holder and holderId at the same time.

When i remove the holderId prop, the editor will render, but onChange and onReady won't return any data.

@PatrickBokhove , holderId is deprecated in editor.js, you should use holder property to mount editro.js instance.
In release 1.0.3 i am refactor onChange, that callback no longer returns data and only notify about changes in editor.js instance (see onChange). OnReady was removed and to access data you should use onData prop, that prop sanitize data before emit it;


Serving *.js files as static assets

Hi Mickaël,
Thank you very much for you work and making this repo with basic-auth examples! I found these examples pretty useful!
Issue
I've tested things locally with my own repo and compared it to your examples and noticed that _static directory doesn't contain any *.js files and there are no <script src="*.js"></script> lines in the _static/index.html.
It seems that express serves all *.css and .svg files however fails on *.js (and maybe on some other extension, I didn't test it that far)
Reproduce steps

Create  an empty main.js within _static/.
Add <script src="main.js"></script> line in _static/index.html.
Deploy via now.
All *.js files will fail with 404:

(note that styles.css loaded just fine)

What I've tried

I've checked all the paths many times to make sure they are correct.
I've tried to add a second build with @now/static.
I've played with the router in now.json.

Nothing helped me but I'm new to now so I think I'm missing something.
Conclusion
I would appreciate if you could find time and try to update your examples with *.js files added. I also would be really thankful if you could give me a hint to point me in the right direction in my investigation of this problem.
Have a nice day! 👍

Hi Vladimir,
Thanks a lot for taking the time to write such a clear and detailed issue ! 👏
I'll take a look asap and (hopefully) come back to you with a solution, as I'll soon need to load JS files in one of my projects too.
I'll keep you updated 😉

I tried to reproduce and got the same results : a 404 for every JS file I try to serve.
I think it's a problem with either the now.json file or how Now handles JS files that aren't built by any builder. I've posted a message on their chat.

It looks like it's a problem with the Now platform and fs not being able to read .js files.
In the future we might be able to use the config.includeFiles property to indicate that we want the JS files to be bundled with the lamba, but it's not working for me at the moment (issue1, issue2).
In the meantime, the solution is to let @now/static build your JS files and add a route to let Now serve them (instead of doing it through Node) :
{
  "builds": [
    {
      "src": "index.js",
      "use": "@now/node"
-   }
+   },
+   {
+     "src": "**/*.js",
+     "use": "@now/static"
+   }
  ],
  "routes": [
+   {
+     "src": "/(.*).js",
+     "dest": "/$1.js"
+   },
    {
      "src": "/.*",
      "dest": "index.js"
    }
  ]
}

It means that they won't be protected by auth, and anyone who knows the exact URL of any .js file will be able to access it. But, given that these files are loaded from HTML, unauthorized users that won't see your HTML pages won't even know your JS files exist either.

Thank you a lot, Mickaël! Great investigation of the issue!
Looks like this issue might be useful to link in the README within "Known Issues" section, this could be something like that:
## Known Issues

[Serving `*.js` files is not working properly](https://github.com/flawyte/now-basic-auth/issues/1#issuecomment-482189475)

Yep! Great idea!
Closing this issue for now. Feel free to re-open if the workaround doesn't work for you :)

For the record, config.includeFiles now works as expected and examples have been updated to use it (see this commit).
This means that .js files can now be protected by basic auth too, and you don't need the above-mentioned workaround anymore.


Further development

For 2 years now, there was no update to this client and it was also removed from NuGet. May I ask why? I want to use OrientDB 3.0.x but the binary protocol was changed and requires handshake after opening the connection. Is there a plan to continue the development of this client?
Thanks

Hi @tomazk8, we adopted the driver 2 months ago and now we have developers that are working to release v3.0 soon.


Why order TLS_SM4_CCM_SM3 before TLS_SM4_GCM_SM3 by default?

In include/ssl.h#L212, the TLS_SM4_CCM_SM3 ciphersuite is placed before the TLS_SM4_GCM_SM3:
#  define SM4_CIPHERSUITES ":TLS_SM4_CCM_SM3" \
                           ":TLS_SM4_GCM_SM3"

So by default, BabaSSL server would prefer TLS_SM4_CCM_SM3 over TLS_SM4_GCM_SM3.  However, I don't see the meaning of such a behavior.  In reality, the GCM mode has far more support than the CCM mode.  For example, browsers may only support the GCM mode.
Moreover, the RFC8998 standard defines TLS_SM4_GCM_SM3 (0x00,0xC6) before TLS_SM4_CCM_SM3 (0x00,0xC7).  So I think it makes more sense that BabaSSL also adopts the same order and prefer GCM over CCM.
Any ideas?

Many thanks. I will fix the issue later.


Search Filters

[x] Search Input
[ ] Search Filters

[ ] Status (Checkboxes)
[ ]  Price (Trackbar)
[ ] Collections (Checkboxes)
[ ] Categories (Checkoces)

Hey, I would like to contribute to your project, could you specify more details about the issue.

hi, can you assign this issue to me, I would love to contribute!!

can you give more context on the issue it would be easy to contribute


Build issues with decord for Mac with Python 3.9+

Decord is listed as a dependency but there is no prebuilt binaries for Mac above Python 3.8 (see issues here). This means Mac users of LAVIS effectively have to stay below 3.8. Can we get rid of Decord and replace it with something that's more well-maintained?

Hi @jhwang7628 ,
Can you install decord if removing the requirement on its versions? E.g. decord>=0.6.0 into decord in requirement-dev.txt.
Thanks.

@dxli94 That didn't work for me. I even tried downgrading to python 3.8 and python 3.7, but kept getting the same issue. I'm on an M1 Mac. How can I fix this?

@dxli94 That didn't work for me. I even tried downgrading to python 3.8 and python 3.7, but kept getting the same issue. I'm on an M1 Mac. How can I fix this?

Hi @Nutlope , what is the error message you get?

ERROR: Could not find a version that satisfies the requirement decord (from versions: none)
ERROR: No matching distribution found for decord

is it solved ?

Hi, from the other closed issue #122 , I tried removing decord from requirements. txt but it's still required by load_model_and_preprocess function. Check screenshot attached. So I'm unable to use it for calling BLIP2

So I'm unable to use it for calling BLIP2

Obviously not a viable long-term solution, but if all you (or anyone else coming here) want to do is just calling BLIP to do e.g. image captioning, you can clone the repo, comment out the decord imports in lavis/datasets/data_utils.py as well as commenting out / removing decord in requirements.txt, and then running pip install -e ., that worked for me.

Mac, M1
I have met and solved this problem like this：
1、brew install cmake ffmpeg@4， （ffmpeg5 not work，cause decord need ffmpeg4）
2、install decord from source code
3、install lavis from source code

So I'm unable to use it for calling BLIP2

Obviously not a viable long-term solution, but if all you (or anyone else coming here) want to do is just calling BLIP to do e.g. image captioning, you can clone the repo, comment out the decord imports in lavis/datasets/data_utils.py as well as commenting out / removing decord in requirements.txt, and then running pip install -e ., that worked for me.

This worked for getting past the decord error. Especially for running the colab notebook example in LAVIS's Homepage on github

Mac, M1
I have met and solved this problem like this： 1、brew install cmake ffmpeg@4， （ffmpeg5 not work，cause decord need ffmpeg4） 2、install decord from source code 3、install lavis from source code

This worked wonders, Thanks @hiwgy

Mac, M1
I have met and solved this problem like this： 1、brew install cmake ffmpeg@4， （ffmpeg5 not work，cause decord need ffmpeg4） 2、install decord from source code 3、install lavis from source code

I tried this and it worked successfully until I hit a dependency issue with LAVIS. LAVIS requires open3d==0.13.0 which is only supported by python 3.6, 3.7, and 3.8 (see docs).
I tried to downgrade to python 3.8, but decode requires >= python 3.9. Thus, stuck in a dependency loop. Will keep exploring and update if I find anything.
For reference, I am running python 3.11.2 on an M1 Pro Mac.

Mac, M1
I have met and solved this problem like this： 1、brew install cmake ffmpeg@4， （ffmpeg5 not work，cause decord need ffmpeg4） 2、install decord from source code 3、install lavis from source code

I tried this and it worked successfully until I hit a dependency issue with LAVIS. LAVIS requires open3d==0.13.0 which is only supported by python 3.6, 3.7, and 3.8 (see docs).
I tried to downgrade to python 3.8, but decode requires >= python 3.9. Thus, stuck in a dependency loop. Will keep exploring and update if I find anything.
For reference, I am running python 3.11.2 on an M1 Pro Mac.
PS - if you have ffmpeg@5 installed, you need to overwrite the homebrew symlink. brew link --overwrite ffmpeg@4

Just to update on this, I finally got lavis to install. What worked for me was this:

install ffmpeg@4 using brew install ffmpeg@4
update the link since I had ffmpeg5 using brew link --overwrite ffmpeg@4
install decode from source using instructions here
install lavis from PyPi using pip install salesforce-lavis


Data Download Component for QA App

All (or at least most) data product pages in the QA app use the same component to select a ProductKey for QA. While on the QA page, it'd be convenient to be able to quickly download outputs for the currently viewed ProductKey.
There are a couple questions on implementation, and I'd welcome input from @caseysmithpgh and @jackrosacker here, primarily

How often are you downloading outputs of our builds manually from S3/github links/etc during the QA process? As opposed to either using the QA app itself or pulling data programmatically.
For downloading, how many different files per product do you generally download? The zipped output that some folders have? A specific qa file (like qaqc_bbldiffs for example)? What sort of functionality would be most convenient here in the app? I'd imagine we could either have

a dropdown that lists files present, so you could select one for download.
a button to download a zip of the whole output
something else?

Downloading a zip is convenient, though it would require downloading to the qa server and then zipping or something along those lines. Seems maybe not the most performant. It also might involve doing a lot in memory - the streamlit download button seems to rely on having the file in memory. Having "entities" (individual output files) defined in json or something along those lines in python and then choosing them to be downloaded is nice in that we can just use urls rather than dealing with download logic.
Would love thoughts from @alexrichey/@damonmcc/@sf-dcp on what would be nice from the user side of things as well as thoughts on code implementation

@fvankrieken Regarding "something else" functionality - a third option is to provide a link to s3 directory containing the build files.


Other ideas for visualisations...

Add visualisation for share of EPS to sector earnings over time
Dont forget to integrate World Bank, IMF, EU, ABS and other datasets

ABS indicator REST API is not open to the public at the moment, but an API key can be requested to help develop and refine the service. This may take days to receive a key. There is swagger auto-generated client code (incl. python) available for ABS data/metadata access. Plan is to store metadata in mongo and then dataframes as well, in a similar fashion to the worldbank app.

PE Trends page now includes a share of EPS (top10 for each sector) on the ASX as at the latest available date of earnings-per-share data. Looks ok, but a large plot and a large amount of data to look at.

should add a visualisation to plot historical percentage returns over a timeframe on the portfolio performance page

add EPS view per sector and also EPS * number_of_shares per sector over past 6 months to PE trends page


Panning issue in a multi series chart

When panning multi-series chart, panning is not working properly below is sandbox url:
https://codesandbox.io/s/wonderful-night-hpmyn5?file=/src/Chart.js

Are you working on this rep?
If yes let me know how you started the project because when i cloned and try npm install it is given so much deprecated warnings for some packages and also catch the error to load some packages.

using type={'svg'} fixes this for me. But it still isnt a smooth pan


fix: Off-by-one when text change longer than MAX_WORDS_PER_LINE

This PR fixes #688, and adds a test for the case.

Thanks for the PR! I ended up going with a different solution, but your comments were super helpful :)


Optionalization of additional fetch fields

Added 3 new fileds in files list:

"description": string
"hasThumbnail": boolean
"thumbnailLink": string

@tomatow Thanks! 👍
Additional fields are not required for FlySystem and can not be added as standard. As an alternative, we can add it with option "additionalFetchField".
e.g.
$googleDrive = new Hypweb\Flysystem\GoogleDrive\GoogleDriveAdapter(
    new Google_Service_Drive($client),
    'root',
    [ 'additionalFetchField' => 'description,hasThumbnail,thumbnailLink' ]
);

@nao-pon Neat, thanks!


please provide setup/install docs

e.g. example variables, defining instance size - e,g. big instances with 64 porocessors , 128 GB RAM for android os builds

Please check https://github.com/nesty92/terraform-aws-gitlab-runner-autoscaler/blob/1.2.0/examples/complete/main.tf.
You could control the instance type with the configuration variables in
https://github.com/nesty92/terraform-aws-gitlab-runner-autoscaler?tab=readme-ov-file#input_runner_instance_amd64
and
https://github.com/nesty92/terraform-aws-gitlab-runner-autoscaler?tab=readme-ov-file#input_runner_instance_arm64


Implements missing interface when adding extensions

Related to #29

Is it possible to merge this PR?

Any news? @weierophinney? Thanks

@pensiero I changed base to develop, since this ia an improvement: can you please rebase?


How do I run the code after downloading?

How do I run the code after downloading?

Hi @2589996558,
There are detailed instructions in the readme page for both training and inference. Can you elaborate what you are trying to run?
Fred.


Update after_prepare.js for cordova-android 7+

Cordova-android 7 and up got a new directory structure -> new path needed
old: 'platforms/android'
new: 'platforms/android/app/src/main'
using existing directoryExists to enable fallback for old projects

@EbilPanda  I guess it may impact the reference of google-services.json as it is currently getting copied directly to platforms/android folder

Thanks for this, I went the same route in master. see 039e29e

@robertarnesson  wont it look for google-services.json under 'platforms/android/app/src/main' then?

@robertarnesson  my bad. you did it in a slightly different way than the actual PR. Thanks


Feature request: line profiler/performance profiler

A long and often requested feature for Numba is a JIT'd code performance profiler. The basic idea is to be able to provide feedback to users about which lines of Python source are taking the most time to execute once compiled by Numba's JIT.
This is one way to do it on the CPU:

Numba parses Python bytecode to it's own IR (Numba IR).

Numba IR has ir.Loc entries which correspond to the source lines as encoded    in the byte code.

If Numba has debug=True set in the numba.*jit decorator then the line   numbers appear in LLVM IR as part of the debug metadata and then once compiled as LNS entries in the disassembly of the JIT produced ELF object.

Linux perf is a tool that can be used to profile execution and works by doing event based sampling (it's a statistical profiler). perf can be run on numba.jit compiled code but the JIT compiled code need to write out a special map to describe which addresses map to which symbol names, this comes from patching LLVM.

LLVM needs patching a bit, at present Numba uses MCJIT, applying:

https://reviews.llvm.org/D44892
https://reviews.llvm.org/D47343

with minor fixes to get it to compile and then adding the LLVM_USE_PERF option to the LLVM build makes it such that perf and LLVM know about each other and can cooperate over these map files.

llvmlite needs patching a bit so that function attributes can be key-word

From 5. frame pointer elimination needs disabling on all Numba compiled functions so that stacks are complete.

Once 1-6 are done it's possible to get a reasonably accurate performance annotated disassembly of the JIT ELF that ran following commands similar to those presented here: https://reviews.llvm.org/D44892

The problem with the performance record in 7 is that it refers to the JIT ELF which, when disassembled, looks like the (dis)assembly MCJIT produces but is not  exactly the same (there's relocations/optimisations/NOP sleds etc) it also has line number missing (obviously). As a result something is needed to match up the JIT ELF disassembly with the MCJIT assembly to line up the performance information (I did this with capstone and a custom parser).

Once 8. is done there's a map available between:
JIT ELF disassembly -> MCJIT (dis)assembly -> LLVM IR -> Numba IR -> Python source.
As there's performance information available for the bottom item in the chain it's possible to chase this through the map right up to the Python source. Practically, it makes sense to store this in a dataframe such that e.g. .groupby(by="linenumber") can be done to trivially aggregate the performance information.

Once 9 is done it just needs presenting reasonably.

I've actually implemented a load of the above locally and have managed to produce something that seems reasonable, here's some simple output from executing a trivial function:

This is more complicated output from running numba's siphash24 replication as needed for it's CPython __str__.hash()

and some level of drill down is possible:

Level of effort to complete this feature is unknown and potentially quite large as there are numerous dependencies in the R&D chain that should really be done first to make this easier. Namely:

Migrate to LLVM latest
Migrate from MCJIT to ORCJIT2 as the perf support seems considerably more  trodden path for that JIT engine.

There is also quite a lot of scope for work on the UI side too and it will likely be helpful to get input from those with expertise in jupyter notebooks / visualisation in general.
This work is also interlinked with:

disassembly and inspection views for Numba compilation stages (and tracking of these with line numbers)
CUDA profiling of the same (will open another ticket)
Computing code coverage of JIT'd code.

Wow! 😍
The UI already looks pretty great - can't wait to be able to use it!

This is very cool! Would this work with GPU jit's (CUDA & ROC)?

This looks fantastic! While I understand that it is very hard to map the optimized JIT compiled code back to the Python lines of code, I am still super excited for this feature

@seanlaw, seeing py-spy has re-ignited my interest in getting backtraces from Numba. I have a side-project that uses libunwind (so no root-privilege requirement) to get stack frames: https://github.com/numba/stacktrace. I just spent an hour trying to see if we can get further. Here's what I learnt:
Just turning on llvm frame-pointer isn't enough for dynamically generated code. Both py-spy and stacktrace cannot see the dynamic code. In stacktrace, I can see the backtrace being truncated---backtrace stops as soon as dynamic code is seen. A quick google search leads me to a similar issue in Julia (https://github.com/JuliaLang/julia/issues/3469). It mentions _U_dyn_register (http://www.nongnu.org/libunwind/man/libunwind(3).html#section_6) for registering dynamic code. I will need to try that next.

Out of curiosity, is there a way to test this out locally? I tried importing the profiler as shown but wasn't successful. I understand that this isn't released yet and I assume full responsibility for even asking but maybe you are also looking for user feedback/testing? 😊

Out of curiosity, is there a way to test this out locally? I tried importing the profiler as shown but wasn't successful. I understand that this isn't released yet and I assume full responsibility for even asking but maybe you are also looking for user feedback/testing? blush

@seanlaw I'm afraid not, it relies on a huge amount of not-even-alpha-ready code, custom LLVM and custom llvmlite, none of which are particularly easy to put into the hands of users. Once work on this can proceed I'll certainly be looking for testers and will ping you :) Thanks!

Also very, very interested in the ability to profile numba code

Also very, very interested in the ability to profile numba code

Cannot wait for the ability to profile numba code, potential even doing line profiling of it.

I am very interested in helping with this any way that I can. I'm particularly focused on using Linux perf. Line profiling is cool, but I'd even settle for a much lower bar, which is just to have the /tmp/perf-PID.map file filled out with very rough guesses at symbols. Certainly, getting it line-by-line is nice, but I'd be satisfied with less.
I'm also happy to help with debugging on real-world cases, including running the same code on a variety of CPUs I have available, and am willing to do complicated custom builds if it helps.

I came across this recent PyCon US talk regarding profiling GPU code in Python (see around the 20 minute mark):
https://www.youtube.com/watch?v=nrQPqy3YY5A
I wonder if this may be useful for numba? Their repo can be found here

very useful one! Any update on this feature? seem llvmlite has already used OrcJIT2? @stuartarchibald

I have implemented a gdb-based profiler for Numba, for more details see here: https://github.com/pythonspeed/profila
This is not as nice as what a native profiler would be able to do, but I hope it's useful; if anyone's interested, please try it out and let me know if it works!

very useful one! Any update on this feature? seem llvmlite has already used OrcJIT2? @stuartarchibald

@dlee992 unfortunately migrating Numba to use OrcJIT is quite involved. Exposing it through an interface in llvmlite is a step in the right direction, but a lot of work remains.

for the record: https://jax.readthedocs.io/en/latest/profiling.html