DBTP-457 - s3 object for healthchecks

Adds a custom resource to upload an object to and s3 bucket:
my-s3-bucket-with-an-object:
  type: s3
  services:
    - "s3proxy"

  environments:
    development:
      bucket-name: my-bucket-dev

  objects:
    - key: healthcheck.txt
      body: HEALTHCHECK WORKS!

I'll bump the version correctly on approval.


Add Theta video extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

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 yt-dlp 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?

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

Added Theta video extractor

Theta stream extractor matches Theta video URLs. I can't think of any way to fix this

Fixed


completed german translation

deutsche Übersetzung ist fertig.
Sobald Simona mit der rumänischen Übersetzung auch fertig ist mache ich noch ein PR
Kevon from India started a translation of Hinglish (Hindi with latin letters)

Hey,
first of all, thank you so much for your work on the translations!
Note that the app, and thus the translation, follows a feature-by-folder design (see the README). Thus, you might want to set up your weblate instance so that it reads translations from the files in the respective feature's folder.
I will push the romanian translations to their respective folders, so there is no need to update that yourself :))
We're currently discussing the set up of a HeiGIT-wide weblate instance for translation as well, and might consider using a different service such as transifex. We'll inform you about our decisions, since you won't have to host any HeiGIT-project on your weblate instance anymore (though you're free to continue doing so :) ).
If you look at the existing translations in any feature's folder, you'll also notice that there is already a german translation. In some places, this is however definitely worth improving.
I'll therefore update the existing german translations with your translation wherever applicable and push those changes as well.
Expect two commits over the day :)
Best regards :))

Oh damn, I closed this accidentally by force-pushing what I thought would be the split up romanian files to your master branch… I'll look into fixing this, sorry for this!


Supporting bootstrap sampling as in sklearn

I am trying to convert a sklearn based code that uses sklearn.ensemble.BaggingRegressor and am wondering if Ensemble-pytorch can have bootstrap argument as sklearn has.

Hi @hmishfaq, could you further explain which argument do you want to use. Currently, the Bagging estimators in Ensemble-pytorch only use the sample data with replacement technique.

Hi @xuyxu, I would like to use the argument bootstrap as described in the link above:
bootstrapbool, default=True
Whether samples are drawn with replacement. If False, sampling without replacement is performed.

This argument equals True in BaggingRegressor internally.


Ultrawidescreen mods disabled after update

When users update and re-run the launcher, ultra-widescreen plugins are disabled.
A user reported to reproduce:

Install a version of WL (e.g. 1.1.12)
Use launcher to set ultra-widescreen (and unsure plugin is active)
Update WL (e.g. to 1.1.13)
Re-run launcher (with saved ultra-widescreen preference)
widescreen_skyui_fix.esp is disabled (should be enabled)

Note
This was reported by user thx4nothing on Discord. Perhaps they can be updated when this is fixed.

It looks like this might be caused by the fact the plugin does not exist in plugins.txt on a clean install of WL. This means it will only be available after the game is run for the first time (but disabled). First time run of WL for ultra-widescreen users will cause this plugin to be disabled.

This was the issue and has been solved by including the plugin in plugins.txt.
Solved with Wildlander 1.1.15 release. https://github.com/Wildlander-mod/Support/wiki/Change-Log#v115---release-290622


azure-servicebus-jms-spring-boot-starter remove hyphens from properties

Is your feature request related to a problem? Please describe.
injecting spring properties from env vars works locally but not in kubernetes because the names include hyphens.
this is true for connection-string and pricing-tier
The same applies for any of the azure java starters using hyphens.
Describe the solution you'd like
remove hyphens or replace with underscore. Alternatively add new alias' so the code is backwardly compatible.
Describe alternatives you've considered
workaround is to include them in application.properties / .yaml and reference an env var with a different name:
spring:
  jms:
    servicebus:
      pool:
       idle-timeout: 20000
       enabled: 'true'
      connection-string: ${SERVICEBUS_CONNECTION_STRING}
      pricing-tier: ${SERVICEBUS_PRICING_TIER}

Additional context
Add any other context or screenshots about the feature request here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Description Added
[x] Expected solution specified

Hi @MartinGolding515, the Spring Boot properties support relaxed binding, which means you can use kebab case or camel case when defining the properties in your application .properties or .yaml files. How about trying
spring:
  jms:
    servicebus:
      connectionString: xxx
      pricingTier: xxx

Hi @saragluna , thanks. That works locally and on kubernetes using env vars directly:
apiVersion: apps/v1
kind: Deployment
spec:
  template:
    spec:
      containers:
      - env:
        - name: SPRING_JMS_SERVICEBUS_CONNECTIONSTRING
          value: "Endpoint=xxx"
        - name: SPRING_JMS_SERVICEBUS_PRICINGTIER
          value: "xxx"


feat(drawer): add rail drawer support

Add rail support for the drawer.
Added a new mode for drawer rail mode="rail" inline with https://material.io/components/navigation-rail
This PR will resolve #1728 https://github.com/angular/components/issues/1728

This needs further design discussion between the Angular Components and MDC teams before we can proceed.  The spec seems to consider the navigation drawer and navigation rail to be different components. It may make sense to combine them, but I don't think this is something we can say for sure without further discussion.

@mmalerba  the specs state its different, however then it goes onto say it can be used as a drawer. Angular Material  still need a different component  for rail itself. But it doesn't make sense to add the drawer functionality into rail itself

Useful features are always deposited

@googlebot I fixed it

Hey, please re-open the pull request if still valid. The PR got auto-closed by GitHub when we renamed our primary branch.

Hey, please re-open the pull request if still valid. The PR got auto-closed by GitHub when we renamed our primary branch.

Depends if you want it. Still have it updated on a separate package. But last thing I heard, you was waiting on specs from material design.

I can't unfortunately give you a better response/update here since I haven't been involved in potential discussions here with the Material Design team. It's great to hear that you are maintaining this effort as a separate project though.
I would need to defer for updates/feedback on this to @mmalerba.


Bug when add image on a table

Steps to reproduce the bug

create a table
add an image
Bug: why are created more two div's after and before the image element? how can I removed them?

After inserting the component(img, video, table..), the format tag is added under the component.
And img component is div.
The structure of the gif: td[ div[div[img]] div ]
You can just delete it with backspace.

@JiHong88, first thanks for your reply. Let me explain in more detail and see the comments in html.
The structure created by the editor interface:

I would like to have this without the

 automatically created by the editor because it is not possible to remove it through the editor interface.

The 2.30.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


First Release

Description
Final preparations before the first release.
Tasks

[x] Hide competition link
[x] Hide tickets link
[x] Add CTF link
[x] Review website behaviour on desktop and mobile devices

All looks good, although I find it a bit weird that the "Bilhetes" link in the navbar takes you to a section on the page with a text saying that we won't want to lose this edition, makes on think like there is something missing. Don't know what others think about this.

All looks good, although I find it a bit weird that the "Bilhetes" link in the navbar takes you to a section on the page with a text saying that we won't want to lose this edition, makes on think like there is something missing. Don't know what others think about this.

Fair point. Now I think about it I'm not even sure we'll have the event on eventbrite since it's remote. @andrefmrocha can you confirm this?

All looks good, although I find it a bit weird that the "Bilhetes" link in the navbar takes you to a section on the page with a text saying that we won't want to lose this edition, makes on think like there is something missing. Don't know what others think about this.

Fair point. Now I think about it I'm not even sure we'll have the event on eventbrite since it's remote. @andrefmrocha can you confirm this?

We'll still have a form of tickets, by the webinar platform

Alright, then maybe we can replace the text with "Tickets will be available soon"?

I agree.
On Sun, Oct 11, 2020, 13:36 Pedro Fernandes<EMAIL_ADDRESS>wrote:

Alright, then maybe we can replace the text with "Tickets will be
available soon"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/semanadeinformatica/website-2020/pull/13#issuecomment-706698617,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIBRGRW4VVPUKQGTNAA45KDSKGRGHANCNFSM4SLTPNGQ
.


Max-width to breadcrumb text

Before

After

Do we have a tooltip when the line is too long

@nLight , no , but I think that's a good idea. @mperrotti , what do you think?

Sure, I think a tooltip would be good

@mperrotti @nLight
This is what I have right now.
It looks alright for service with large, but not super large names.

For super large names, the tooltip isn't fully visible, but I don't think these cases are common. And it's nevertheless much better than before.

I intentionally made this only in ServiceBreadcrumbs. If I add a max width and a tooltip for all breadcrumbs, we have to pass all children to the tooltip, including the link, and I think that this looks ugly.

merging as this is clearly better than before.
before long names could prevent you from even seeing the edit-button without any way to access it after all as overflow is just hidden.

i would love to have a width-option for Tooltip, like the Legacy.Tooltip has.
what do you think @GeorgiSTodorov 	, @mperrotti ?

@pierrebeitz , it's @mperrotti 's call, but I would like to see what you suggested and also some other imrpovements for the ui-kit tooltip like it not being div, since it is currently harder to style.

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


Pin version of grpc

Is it possible to include a specific version of grpc in Setup script setup.py#L151? We would like to control when we take dependency on grpc updates

Sorry missed concluding on the version. We do want to stick to 1.0.x to be consistent worth other language workers. Tying the host and language workers version numbers might easier to track but does not make sense and they are version independently

Fixed in dev.


zgui: expose api for managing custom DrawList

Thanks! Looks good.
One question, it is not obvious why we need another render pass for new draw list in the demo, could you please explain?

Hi michal, happy holiday!
About additional render pass, I'm not so sure actually, as I haven't  dipped my toes into zgpu yet. If you know better, please correct me.

After some digging, a separate render pass is indeed uncalled for. However, the sample need to create separate pipline/vertex buffer/index buffer/bind group, is that correct? Do you think it's a bit too much for this sample?


Feature request: Use a single port

Would it be possible to use a single port shared for http and websocket? It would simplify hosting a little bit.

I am sorry but it is not possible for now. I will work for it.
Related to #21

#25 has been Merged. Thank you for the great feature request.


Huge Update: Refactoring and Optimizations

Refactor

Added RW mutex for faster resources mutexes access

Wrapped errors

Removed stat()

Optimized code

Contribution table in readme
TODO: tests, check if resource exists

P.S. I think that db is not ACID compliant now

Hey, @illiafox thanks for your contributions, they would be a great addition to the codebase
There are a few things I would suggest you update

add the database directory that will be created from the running example. go file to .gitingnore
Change the contribute section in the readme to Top Contributors then add your name without mentioning changes (this is the most common practice followed )

#3d6bd90

By the way,  what's the purpose for creating .tmp files? With Mutex db can write directly

By the way, what's the purpose for creating .tmp files? With Mutex, db can write directly

Thanks for pointing it out, I didn't remove it after adding mutexes, could you  change that as well in this pr

already done

All looks good, merging it !!!


Witness: LEB128 for integers

Addressing https://github.com/ethereum/stateless-ethereum-specs/issues/30 .
LEB128 was chosen over big-endian VLQ because it has less awkward syntax, it is less awkward to implement, and it is used elsewhere in the ecosystem. But big-endian VLQ would also be a reasonable choice. And this change is modular -- any integer encoding can easily be swapped-in by changing the definition of rule <Integer(n)>.
This change allows using LEB128 to encode balances and nonces, a size optimization.
An early implementation is here https://github.com/poemm/eth_witness_experiments/blob/integers_leb128/parse_generate_spec.py. Tests pass, but more tests are needed.
Don't merge yet. I still have to write more tests and generalize the notation to support this new rule.

hmm, merge conflicts...

Added tests for important edge-cases, see tests here: https://github.com/poemm/eth_witness_experiments/blob/ea81357b18f72d8ac539522b3208f0681019374b/tests/filled/leb128.json and see corresponding test fillers in neighboring directory. Also passed custom fuzz testing.
Generalized notation, and updated other rules to use this generalized notation.
Ready for review and merge.

@poemm thank you!


Bumped to Kubernetes 1.26.0

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold
updating kops first

/unhold


intercept logs in the app itself - stopgap fix

fixes issue with using console logs in the console itself

@jrainville I think this is intercepting logs outside of the context of the plugin?


Firebase auth

Description
Added  a _redirects file to correctly route app and instead of using a pop-up to authenticate user it redirects user being more mobile friendly.
Fixes # (issue)
1-Fixed issue with nettlify showing a not found error after redirecting from auth
2-Fixed issue with auth pop-up, now redirect user from our app to google and then back to our app
Type of change
-Added  a _redirects file to correctly route app with netlifly
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[x] Test A
[ ] Test B

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Hey Fritz, can you take a look at the conflicting files?

Check the conflicts in package.json and DashBoard.js


Allow using the decorators on non-module-level functions

I am trying to decorate the methods of a class as API calls but I can't make it ignore the 'self' parameter. Is it possibly to manually set the accepted parameters, or set it to ignore one?

Hi @kostasdizas,
Thanks for reporting this! There are some round-about ways to work around it, but I think it should be fixed within the project itself so that you can attach hug routes to methods without modification. Ill work on getting a fix up soon.
Thanks!
~Timothy

Actually, thinking about it some more - I think I need better background on what your trying to accomplish.
You can easily make hug "ignore" the self parameter by providing a default value:
class API(object):

    @hug.call()
    def hello_world(self=None):
        return "Hello World!"

api_instance = API()
assert api_instance.hello_world.interface
assert api_instance.hello_world()
assert hug.test.get(api, '/hello_world').data == "Hello World!"

Or you could wrap the method in the staticmethod decorator and it wouldn't require self at all. But, I'm assuming that since the API call is a method on an object that you want the API call to have access to that object and it's methods / properties. The problem being that hug cant know what instance of the object you want, if you're attaching to a class definition. So another way to accomplish the above, if you want it to actually have self defined:
class API(object):
    def hello_world(self):
        return "Hello World!"

api_instance = API()

@hug.call()
def hello_world():
    return api_instance.hello_world()

I've going ahead and written tests to verify both of these methods work here:
https://github.com/timothycrosley/hug/compare/feature/fix-issue-82?expand=1#diff-8107272ea49a7ea4505985b05542ce00R45
And I've insured that the auto-documenter wont document that an exposed API call takes a 'self' argument.
Let me know if this solves your issue, or if there is a more robust framework level solution that would help.
Thanks!
~Timothy

Hello Timothy,
I was actually trying two things at the same time. In the beginning I was only trying to group together similar endpoints, more specifically CRUD operations for a specific model. It worked like a charm:
class BlogEndpoints():

	base = "blog"
	model = Blog

	@hug.get(["/{0}".format(base), "/{0}/{{id}}".format(base)])
	def get(id:int=None):
		result = __class__.model.get(id) if id else __class__.model.get()
		return result

	@hug.post("/{0}/new".format(base))
	def add(title:str, content:str):
		__class__.model.create(title=title, content=content)
		return "ok"

	@hug.put(["/{0}".format(base), "/{0}/{{id}}".format(base)])
	def edit(id:int, title:str, content:str):
		x = __class__.model.update(id).values(title, content)
		return "ok"

	@hug.delete(["/{0}".format(base), "/{0}/{{id}}".format(base)])
	def delete(id:int):
		__class__.model.delete(id)
		return "ok"

Here's my sample code including pseudo access to the model.
Secondly, I wanted to create something more abstract that can be inherited, and essentially automate the process of creating those basic endpoints. I've experimented with different things and decided to just use a method that registers all the endpoints.
...
def __init__(self, base, model):
	self.base = base
	self.model = model

def register_endpoints(self):
	hug.get(["/{}".format(self.base), "/{}/{{id}}".format(self.base)] )(self.get)
	hug.post("/{}/new".format(self.base))(self.add)
	hug.put(["/{}".format(self.base), "/{}/{{id}}".format(self.base)] )(self.edit)
	hug.delete(["/{}".format(self.base), "/{}/{{id}}".format(self.base)] )(self.delete)
...

This sort of works but the hug.call decorator won't accept class methods. I get an error saying:
AttributeError: 'method' object has no attribute 'interface'

All in all I'm pretty pleased with the first method, but it involves a lot of code repetition. Using self=None can work but limits the flexibility of the method since it cannot access any class variables. I'll keep working on it and see how far I can take it. Ideally I want to get to the point where you only need this to create the CRUD endpoints:
class BLogEndpoints(hugCRUD):
	base = "blog"
	model = Blog

@kostasdizas,
Thanks for adding these useful usage scenarios, I certainly see merit in your initial register_endpoints approach. I'll go ahead and implement support for that approach now and if in the future you think of more clean ways to implement the re-use you want let me know, and I'll try to implement them as well (or certainly accept a pull-request if you have time). I'll try to get a new release out ASAP that implements this feature.
Thanks!
~Timothy

I just released version 1.6.0 which has built-in support for attaching hug routes to methods
Thanks!
~Timothy

Hey @timothycrosley,
I've created a small module called hugpee that automatically does what I described above. It's in its early stages and only supports peewee models for the time being. I'd greatly appreciate your comments and suggestions on this.
Kostas

@kostasdizas,
Haven't had a great deal of time to look at it yet, but on the surface it looks great! Once I release a new version of hug that includes all the features hugpee is dependent on, and you feel okay with hugpee itself - I'll go ahead and link it on the main repo. Hopefully I'll have some more time to look at hugpee tonight.
Thanks!
~Timothy

@timothycrosley Any updates on this ? I quite like hug and have been using for a project but it lacks features related to exposing CRUD operations on models (at the moment we have to expose certain routs for each operation we want and add the code manually). I'm also using pewee, so hugpee sounds like a good call. However, if one doesn't use this module, what would be a good way to best expose a models CRUD operations ?


Update pre-industrial configuration with latest payu updates

This pull request completes the pre-industrial half of #40. It modifies the configuration with the following changes:

Remove um_env.py file now that it has been replaced by the um_env.yaml file.
Remove unused atmosphere configuration files #27.
Add/update the following settings in the config.yaml file:

Add commented out shortpath and project settings
Add sync settings with default false setting. Add comment explaining compatibility with postscripts
Add restart_freq setting with default value of 5.
Add runlog and platform settings with default values.
Add  manifest:  reproduce:    exe: True as in the OM2 configurations.

It would be great to get a check over these changes, especially to confirm that the default values for several of the new config.yaml settings are suitable for ESM1.5.

I'll wait until #38 is merged and update this branch with the changes before trying to merge.

Thanks for the review! There will be a similar one soon with the same changes for the historical configuration. I've added in all the changes from the discussion here and so hopefully that one won't be too involved!


There is no error message in Signup, if server is down

Thank you for taking the time to file a Bug report.
I killed the backend service and tried to sign up, there was no error message.*

You can assign to me

Hey @hazardemircan , thankyou for raising this, we already have an error page, feel free to use that.

Thanks, i will work on this

@hazardemircan any updates on this?

@padmajabhol i will let you know, thanks


Move support for Unitful to extension?

While support for Unitful is very nice, we often don't use it, so would it be more appropriate to move it to an extension to lighten the dependencies?

I tested it once and it was mostly fairly trivial to do, but i had some issues with the current definition of  Duration which is now
# Durations can be provided as real numbers or as a Quantity with time dimension
Duration = Union{Real,Unitful.Quantity{V,Unitful.𝐓} where {V}}

Now I do not think this is crucial to keep. It just restricts the duration to have time dimension if using units, and is not required for any functionality. Letting Duration = Number would then work.

I see. That is a nice feature, but I think I still lean towards reducing the number of dependencies.
I tried to think of a workaround, but since type definitions depend on Unitful, I don't see how it can be done.

Added as part of PR #15


/etc/nginx/ssl/nginx.crt: No such file or directory. Use tls.crt

Running the example into a katacoda environment I get this error message:
(77) error setting certificate verify locations:
CAfile: /etc/nginx/ssl/nginx.crt
$ kubectl exec curl-deployment-f8c5c685b-9sphf -- ls /etc/nginx/ssl/
tls.crt
tls.key
$ kubectl exec curl-deployment-f8c5c685b-9sphf -- curl https://my-nginx --cacert /etc/nginx/ssl/tls.crt
...
Welcome to nginx!
...
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:12:17Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
$ kubectl describe secret nginxsecret
Name:         nginxsecret
Namespace:    default
Labels:
Annotations:
Type:  kubernetes.io/tls
Data
tls.crt:  1164 bytes
tls.key:  1708 bytes

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remember to delete this note before submitting your pull request.
For pull requests on 1.17 Features: set Milestone to 1.17 and Base Branch to dev-1.17
For pull requests on Chinese localization, set Base Branch to release-1.16
Feel free to ask questions in #kubernetes-docs-zh
For pull requests on Korean Localization: set Base Branch to dev-1.16-ko.<latest team milestone>
If you need Help on editing and submitting pull requests, visit:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
If you need Help on choosing which branch to use, visit:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thanks!
/lgtm
/approve

/assign @daminisatya

@melvinrmc , looks good. Would you check that your commit
message is less than 70 characters? Thank you.
https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#6-squashing-and-commit-titles

Commit message to <70 characters

Thanks!
/approve


Warn that autotiles from 3.x cannot be converted automatically to 4.x

May close https://github.com/godotengine/godot/issues/64006 if I have confirmation that the original project was using autotiles, like the MRP.

Thanks!


Complete EKS configuration

[x] Setup basic Deployments and Services
[x] Install AWS Ingress Controller:

https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.5/deploy/installation/
https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html
https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.5/examples/echo_server/

[x] Deploy ingress

Completed with https://github.com/CheriseCodes/ai-flash-cards/pull/77


Revision ofannotation

Dear all, please find here the PR for the revision of the annotation.schema.json and related schemas according to #27:

update of annotation.schema.json
deletion of annotationFile.schema.json
addition of visualizationParameters.schema.json (docu will be added to the wiki after the PR is accepted)
update of definitions.json

Hope everything is in order. Please double check.

The wiki needs to be updated accordingly, here as well :)

open is still the point of whether relatedAtlasTerm should be one or many. I guess this one can be many.
What about definingTerm, though? this is one now, but could it be many as well (from different terminology versions)?

open is still the point of whether relatedAtlasTerm should be one or many. I guess this one can be many. Use case:
I have an annotation that I named "blub" but that is related to "V1" (some functional atlas), "hOc1" (Julich-brain), "BA 17" (Brodmann)....
What about definingTerm, though? this is one now, but could it be many as well (from different terminology versions)?
@UlrikeS91 & @aeidi89 : what do you think?

I would leave this up to @aeidi89 from my side. I guess there is always a used case that could benifit from allowing several. But I don't know how strict it needs to be for an atlas or if it could stay more open and instead is added in some sort of documentation for how to use it correctly to qualify as an atlas.


Debug CI

What does this PR do?
Fixes #<issue_number>

Before submitting

[ ] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

📚 Documentation preview 📚: https://torchmetrics--2439.org.readthedocs.build/en/2439/

carried by #2447


Can't build wiedemeyer fork of libfreenect2

Using the linked fork from the readme or making the modifications manually I get a bunch of undefined referenced to udev when building Protonect.cpp.  The errors seem to originate from "Change line 102 from 'usb-1.0' to 'usb-1.0.a'".  If I leave this as usb-1.0 it builds and runs.  However, when changed to usb-1.0.a I get the output below.  Thanks, Brett.
...
Scanning dependencies of target Protonect
[ 97%] Building CXX object CMakeFiles/Protonect.dir/Protonect.cpp.o
Linking CXX executable bin/Protonect
lib/libfreenect2.so: undefined reference to udev_monitor_unref' lib/libfreenect2.so: undefined reference to udev_enumerate_scan_devices'
lib/libfreenect2.so: undefined reference to udev_new' ... lib/libfreenect2.so: undefined reference to udev_enumerate_add_match_subsystem'
collect2: ld returned 1 exit status
make[2]: *** [bin/Protonect] Error 1
make[1]: *** [CMakeFiles/Protonect.dir/all] Error 2
make: *** [all] Error 2

Hi,
this is the same error than issue #29. The solution there should also work in your case.

As suggested in issue issue #29, added udev to libfreenect2 CMakeLists.txt:
TARGET_LINK_LIBRARIES(freenect2 ${LIBRARIES} udev)

Protonect now compiles.


Closing a script triggers unwanted save of that script

Godot version:
Godot 3.2.4 rc3
OS/device including version:
Windows 10 64 bits
Issue description:
When I close a script from the editor using CTRL+W, Godot saves that script without my consent, even if that script was not modified.
When the script is tool, it has the consequence of triggering reloading, which almost always breaks plugins. So I ended up in a loop of being unable to close open scripts while testing my plugin because it constantly broke it, and it took me a while to understand why that happened.
Closing a script should not be a modification operation. It should just close the script. Saving should happen only after the user confirmed to do so (which is the case when the script is modified with a popup).
Steps to reproduce:

Open a project which had open scripts (or open one, but I havent tested this way)
Close it with Ctrl+W
Observe the file modification date changes

It happens probably because of this code in script_editor_plugin.cpp:
			case FILE_CLOSE: {
				if (current->is_unsaved()) {
					_ask_close_current_unsaved_tab(current);
				} else {
					_close_current_tab();
				}

_close_current_tab() is implemented like this:
void ScriptEditor::_close_current_tab() {

	_close_tab(tab_container->get_current_tab());
}

And _close_tab has the following default arguments:
	void _close_tab(int p_idx, bool p_save = true, bool p_history_back = true);

It saves by default. It should not.

CC @godotengine/script-editor @KoBeWi

Can this be ported to Godot 3? I fear users end up opening scripts of my plugin while using it, close them, and accidentally breaking the plugin doing so without realizing what action causes it

It has been already: https://github.com/godotengine/godot/pull/46641#issuecomment-792345797


FEAT add two-stage refine

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (d4306c4) to head (bbb7678).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #21   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         4    +1
  Lines          110       182   +72
=========================================
+ Hits           110       182   +72

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: executeTransaction and add new struct for response

@Zhangguiguang You are ignoring my pull request?

Sorry, we may not reply to the pr Immediately.
So this fix was done by @Zhangguiguang , and he may overlook your pr
Thanks so much!


BC broken for ServiceListenerFactory

Removed DependencyInjection:
https://github.com/zendframework/zend-mvc/blob/release-2.6.3/src/Service/ServiceListenerFactory.php#L88
https://github.com/zendframework/zend-mvc/blob/release-2.6.3/src/Service/ServiceListenerFactory.php#L52
is a BC violation:
https://github.com/zendframework/zend-mvc/blob/release-2.7.0/src/Service/ServiceListenerFactory.php
I'm not offending but this is just horrible, making my programmers hard life even harder, another two hours of my life wasted on useless finding of ZF2 BC issues. Isn't it possible to catch these bugs before they make to master?

@bacinsky —

I'm not offending

Yes, actually, you are.
We are trying very hard to avoid BC breaks. However, with so many moving parts, and an inability to test every single possible combination of components, this is often quite difficult. Our automated tests catch a ton, and as we make changes, no change is merged if a test is failing. But there's inevitably some breakage.
Please assume that we are trying our best, and then respectfully point out where a break occurs, and, if possible, provide a test and/or a patch that will correct it. Yelling at the contributors for:

making my programmers hard life even harder, another two hours of my life wasted

is not helping anyone. Nobody is trying to break things; accidents happen. Approach contributors with respect, and with a willingness to help.

@weierophinney Thank you for a nice comment, I agree that my report is not respectable and professional at all. I was under emotional pressure and it's like it is. I'm sorry and thank you for your hard work.


Functions mapped should respect user mappings

This function overrides a user mapping if it exists:
https://github.com/nvim-lua/completion-nvim/blob/8aecb23b5421fa3fdd34a92b2b595ce29b85b82a/lua/completion.lua#L128
We discovered this issue 3 hours into @tjdevries stream on Tuesday, July 21st, 2020.

Hmm I don't quite understand what you mean...can you give me more information? Or like an example?

I was going to clip it from the stream but the moment passed. I'll track down the exact point in the vod and paste the link here.

https://www.twitch.tv/videos/686790147?t=02h58m27s

Ahh got it. I guess the problem is not in that function though. I'll fix that. Thanks for reporting:)

The real issue is that you weren't there to watch the stream... :laughing:


OpenDSU Solution Concept

The OpenDSU Solution Concept will be based on the existing https://github.com/PharmaLedger-IMI/epi-workspace solution, but with the following architecture:

3 Enterprise Wallets (for each kind of Trading Partner supported in the MVP), each with one Self-Sovereign Application (SSApp).:  Enterprise Wallet for the drug-maker ;  SSApp for drug-maker.  ; Enterprise Wallet for the wholesaler. ;  SSApp for wholesaler ;   Enterprise Wallet for the pharmacy ;   SSApp for pharmacy.

Each SSApp will provide a web-interface to simulate the shipment (issue/receiving) events that each trading partner is involved with.
In the long-term, interactive web-interfaces are to be phased out, and replaced by web-service gateways to integrate with existing Enterprise ERPs (with the possible exception of small businesses, which may need an independent web-interface).

[x] Copy internal PDM gitlab to here refactoring sub-projects into the top level one

https://opendsu.slack.com/archives/C01DQ33HYQJ/p1616081355022500

.. but something is weird. We had just one "privatesky" folder for the whole project. Now, we have a "privatesky" folder for every fgt-xxx-ssapp folder... (editado)
15h29 (That did not happened a few days ago...)

https://opendsu.slack.com/archives/C01DQ33HYQJ/p1616083601037600

16h06
Nicu-Cosmin Ursache @João Luís (PDM) i found the cause. In fgt-mah-ssapp and any other project you don't need the freeze mechanism enabled and still have a "postinstall": "node ./node_modules/octopus/scripts/run", you need to change into "postinstall": "node ./node_modules/octopus/scripts/run dependencies devmode".  Or just delete the postinstall script if you don't need it. The idea is that for example the fgt-mah-ssapp doesn't have for the moment any particular dependency and it also doesn't need to use the freeze mechanism. The flag devmode passed as argument tells to a child octopus process to ignore the state of its parent (freeze or dev).

( npm install && npm run server ) & ( sleep 1200 ; npm run build-all )
fails with error:
Running command: cd fgt-mah-ssapp && npm run build><EMAIL_ADDRESS>prebuild /export/home/jpsl/develop/PharmaLedger/fgt-workspace/fgt-mah-ssapp
> node ./node_modules/octopus/scripts/run prebuildLooking for configuration file at path /export/home/jpsl/develop/PharmaLedger/fgt-workspace/fgt-mah-ssapp/octopus-freeze.json
Configuration file /export/home/jpsl/develop/PharmaLedger/fgt-workspace/fgt-mah-ssapp/octopus-freeze.json not found. Creating a new config object.
Looking for PRIVATESKY_REPO_NAME as env variable. It can be used to change what PrivateSky repo will be user: psk-release or privatesky./export/home/jpsl/develop/PharmaLedger/fgt-workspace/fgt-mah-ssapp/node_modules/octopus/scripts/run.js:22
    throw err;
    ^
No tasks found! [prebuild]
(Use `node --trace-uncaught ...` to show where the exception was thrown)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>prebuild: `node ./node_modules/octopus/scripts/run prebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jpsl/.npm/_logs/2021-03-18T15_10_59_556Z-debug.log
Start copying ./fgt-mah-ssapp/seed to folder ./apihub-root/fgt-mah-wallet/wallet-patch/seed/export/home/jpsl/develop/PharmaLedger/fgt-workspace/node_modules/octopus/scripts/run.js:22
    throw err;
    ^
Source directory or file "/export/home/jpsl/develop/PharmaLedger/fgt-workspace/fgt-mah-ssapp/seed" does not exists!
(Use `node --trace-uncaught ...` to show where the exception was thrown)

Working around by adding devmode to preinstall. (Based on Cosmin comments on https://opendsu.slack.com/archives/C01DQ33HYQJ/p1616080642014100 )

bash-5.1$ vi createOneDSU.js
bash-5.1$ node createOneDSU.js
Logger not available, using console
Redefining require for node
seedSSI identifier: ssi:seed:traceability:WHS000001-WHS000001-2022-04-01T13:44:02.656Z:v0:v0
Data written succesfully! :)
KeySSI identifier:  ssi:seed:traceability:49/tshkN1t9IA/vdocJXiEDxZ6ZiHQwcbAEpwO5ppH0=::v0
sReadSSI identifier = ssi:sread:traceability:AB5uAhB7jD3JhyXU6VQxQ45XADeVtdq668BDXbrFTHgi:BM5D3erKXgutqxWdeepwoKU9wCw9lh4f7uzApoOPDg6o/RbPyzo60xbnRi5Em5KTFSxgHAbUUgw/TG8LhBAQyac=:v0
sZaSSI identifier = ssi:sza:traceability::BM5D3erKXgutqxWdeepwoKU9wCw9lh4f7uzApoOPDg6o/RbPyzo60xbnRi5Em5KTFSxgHAbUUgw/TG8LhBAQyac=:v0
Data load succesfully! :) Hello world!

DSU Keys:
  KeySSI:   undefined
  Read Key: ssi:sread:traceability:AB5uAhB7jD3JhyXU6VQxQ45XADeVtdq668BDXbrFTHgi:BM5D3erKXgutqxWdeepwoKU9wCw9lh4f7uzApoOPDg6o/RbPyzo60xbnRi5Em5KTFSxgHAbUUgw/TG8LhBAQyac=:v0


thermostat systemMode (CON-1367)

I am adding a thermostat to a bridge.
endpoint::thermostat::config_t thermostat_conf;
err = endpoint::thermostat::add(ep, &thermostat_conf);
I have two questions:

How do I create a thermostat that has only heating or only cooling?
How can I limit the commands accepted by system mode (for example only 3(cool) and 6(precooling))

Matter thermostats have feature bits, section 4.3.3 of the Cluster manual.  HEAT and COOL are separate features.
As to commands, first note in the conformance column that many of the commands are controlled by feature bits. If the feature is not turned on, the command is invalid.  Next note in the Access column that many of the commands are optional.
Finally if there are still required commands that you don't want to implement, just stub them out and make them do nothing. In general you shouldn't do that because the remaining required command will be the minimal set needed to implement the function.

How do I create a thermostat that has only heating or only cooling?

By default, we have created a thermostat with heat and cool features check this. You can remove any one of them as required.

How can I limit the commands accepted by system mode (for example only 3(cool) and 6(precooling))

This is a known issue, and there is no way to limit SystemMode values. We will try to figure out something to support it.


Bump head from 0.6.0 to 1.0.3

This would involve replacing the deprecated functions Heap.extractHeap and Heap.head in MidiIO. Sorry I haven't got a PR.

/Heap.extractHeap/Heap.extractHead/

That didn't last long :). I didn't notice the PR.


Typescript types are too restrictive

In the serialize method, anything that's not null or undefined is going to get passed to the String constructor so any value that implements a toString() method should be acceptable as a table cell value.

See https://github.com/wooorm/markdown-table/pull/33#issuecomment-1528715153


SD card formatting tool

Overview
This patch adds an SD card formatting tool (SDFmt) that formats the currently inserted SD card using the ESP32 Arduino framework's SD card library.
Rationale
I had recently ordered some 256MB SD cards (Class 4)  to use with the CYD. The CYD was unable to utilize the SD card and produced the following error:
[    46][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (13) There is no valid FAT volume

I attempted to remedy the situation by formatting the card with the following tools:

Windows Disk Management
macOS Disk Utility
SD Association SD Card Formatter

Regardless, the card continued to fail to mount with the no valid FAT volume error message. However, I was able to remedy the situation using the format_if_empty flag of the SDFS::begin method. The caveat of this solution is that the resulting formatted card can be utilized by the CYD, but none of the other platforms recognize it as a valid format.
I think this is a worthwhile addition to the CYD collection for users seeking out smaller capacity SD cards that may run into the same scenario.

Also, please let me know if you would like the project moved to a different location. I added it to a new top-level Tools directory because it is not necessarily an example and I wasn't sure of a better location for it.


will open Discussions ?

@WingDust, what is the point of this issue? Anyone can create an issue to discuss anything related to this project. You need to provide more information about whatever concern you have vis-a-vis the Elvish project.

@WingDust, what is the point of this issue? Anyone can create an issue to discuss anything related to this project. You need to provide more information about whatever concern you have vis-a-vis the Elvish project.

"Discussion" is capitalized so I guess this means https://docs.github.com/en/discussions. You can find a lot of other open source projects on GitHub that use this new feature now.

I've played with discussions a while ago. I find it a somewhat confused product. Its name suggests a forum-like software, but it isn't a particularly good forum like Reddit or Discourse. Its data model resembles StackOverflow - for each discussion, you can have answers and comments on answers, and you can have accepted answers. But then I don't know why I would use it instead of just using StackOverflow.
To me, it really feels like the product managers at GitHub didn't make up their mind on what they want this product to be, so I wouldn't know how to actually use it.
If you have ideas on what values discussions add (I'm familiar with its features, but I just don't know how they translate into values) I would be happy to consider. But if it's not clear what it can be used for, there's no point in enabling it.

@xiaq, You're probably correct that the O.P. is asking if this project will enable the GitHub Discussions feature. Something I vaguely remember noticing when it was announced but immediately forgot about because it seemed pointless (at least as implemented when it was announced). I wish the O.P. had been less cryptic so we wouldn't have to guess what they meant. I love GitHub but am ambivalent about its "Discussions" feature. Like you I don't really see the point in its current implementation.
@WingDust: Can you expand on how you think using the "GitHub Discussions" feature would improve the evolution of this project? I know I'm a bit of a dinosaur but, like the suggestion to create an Elvish Discord channel, it is not clear that enabling "GitHub Discussions" for this project is a net benefit.

You can find a lot of other open source projects on GitHub that use this new feature now.

It is my experience that a lot of open source projects simply enable things like Github "Discussions", or merge new features, without a lot of thought as to whether the capability is a net benefit. See, for example, some of the issues with Zsh variable expansion syntax that I documented in this article I wrote.  These are actual examples of code that Zsh users rely on:
_comp_colors+=( "=(#i)${prefix[1,-2]//?/(}${prefix[1,-2]//(#m)?/${MATCH/$~toquote/\\$MATCH}|)}${prefix[-1]//(#m)$~toquote/\\$MATCH}(#b)(?|)*==$tmp" )
list=(${${${(0)"$(git config -z --get-regexp '^alias\.')"}#alias.}%$'\n'*})

Just because a single user thinks some feature is useful does not mean it should be enabled or merged. That a lot of Github hosted projects have enabled "Discussions" does not impress me in the slightest. Most people are happy to chase a new shiny object; e.g., enable Github "Discussions".
GitHub Discussions as a project usage issues, such as: syntax issues,
I think GitHub Discussions can be used to make Github Issues more pure
Just in my opinion, it may be wrong

@WingDust, I appreciate that English is probably not your primary language. Nonetheless, I could not understand the points you were trying to make with your prior comment. Can you answer this question by @xiaq regarding Github "Discussions":

If you have ideas on what values discussions add (I'm familiar with its features, but I just don't know how they translate into values) I would be happy to consider. But if it's not clear what it can be used for, there's no point in enabling it.

I don't understand, for example, what you mean by "make Github issues more pure". While tools like Google Translate have limitations it might be helpful if you typed your thoughts into that tool and copied its English translation here.

@WingDust Regarding "project usage issues": there are two places for people to ask them now:

On IM (in one of the user groups listed on https://elv.sh)
On StackOverflow

I don't mind it when people post questions on issues either - I assume this is what you meant by making issues more pure. Those issues end up getting closed pretty quickly when the questions are answered, and regulating where people say things is something I've given up upon.

I'll close this for now. I can revisit when GitHub Discussions becomes more compelling, for as I said right now it's a very confused product.


Add Vectored Interrupt Support To SiFive RISC-V Demo

Description
Updates the SiFive HiFive demo to allow for both use of vectored interrupts and a standard interrupt handler.
Test Steps
Not yet tested - procuring board
Related Issue
No related issue. Updating IAR demo to match GCC demo functionality.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Not sure why VSCode butchered all spacing. I will fix this.


KAFKA-13516: Connection level metrics are not closed

Here is the fix. The core of this approach is using a ConcurrentHashMap to manage connection ids and their corresponding sensors.
Committer Checklist (excluded from commit message)

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

Cc @apovzner @splett2

@dongjinleekr Could we also add a unit test which verifies that connection metrics are closed?


Inconsistent IO when reading files with \r\n line endings

NOTE: This project is for Ruby version 2.3 and older.
For Ruby versions >= 2.4 please file an issue here.
What problems are you experiencing?
IO.foreach with any params and IO.read without a length argument both remove \r characters. IO.read doesn't remove them when given a length limit argument.
Steps to reproduce
Try reading a file with \r\n line endings. Note that IO.read produces different results when providing and not providing the length limit
What's the output from ruby -v?
...

Yes this seems to be inconsistent, but the difference is due to specifying the length in bytes. When a length is given, the output of read is always in binary encoding and without any character conversions. This is expected and documented behavior.
Therefore using read with a length should be done in binary mode only, to be more consistent. You can then use IO.binread as a shortcut.


QuickPick: $(loading~spin) is broken on typing S

Steps to Reproduce:

Code:

await vscode.window.showQuickPick(['$(loading~spin) start'])

Type s

Actual result:

Expected Result:
First s of start is highlighted and icon isn't broken

verification: steps in issue are good


[Feature request] Create pages, contollers and views

To create pages, contollers and views you need to use .Net CLI. example:
Create controller:
dotnet aspnet-codegenerator --project . controller  -name "TempController" -outDir "Controllers"
Create empty view:
dotnet aspnet-codegenerator view TempView Empty -outDir Views
Create empty razor page:
dotnet aspnet-codegenerator razorpage Index Empty -outDir Pages
please make one click solution into your UI.
I suggest automatically instal following packages when web project is created:
dotnet-aspnet-codegenerator _  update globally on every restart of a project.
Microsoft.VisualStudio.Web.CodeGeneration.Design
Useful resources:
LINK-1
LINK-2
LINK-3
LINK-4

Thank you for your request, I will be implementing in the next release.


[cc13x2x7_26x2x7] Fix BLE Provisioning issues for TE#2

Adds default SLAAC configuration to enable final step of BLE
provisioning flow with GUA assignment.
Removes unused OpenThread configuration in platform_includes
Addresses runtime issues with BLE provisioning

Co-Authored-by: Alexander D'Abreu<EMAIL_ADDRESS>Problem
Enable BLE Provisioning for the TI platform in preparation for TE#2.
Summary of Changes
Updated the cc13x2_26x2 BLE manager to address some runtime failures caused by earlier merges.
Fixes #5554

Would it be proper to mark this as a TE2 cherry pick?

I will rebranch for TE2 later today, so this will be included in that branch automatically, no need for separate label.


Index out of range error in TextDecoder

Occasionally Im seeing an index out of range crash on the segmentLogProbs[index] after a long period of silence.  https://github.com/argmaxinc/WhisperKit/blob/main/Sources/WhisperKit/Core/TextDecoder.swift#L518-L521
Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range
Two ways I could see guarding against this:

Use swift zip
Check the index against segmentLogProbs count.

for (token, logProb) in zip(segmentTokens, segmentLogProbs) {
    tokenProbs.append([token: logProb])
}

for (index, token) in segmentTokens.enumerated() {
  if index < segmentLogProbs.count {
      tokenProbs.append([token: segmentLogProbs[index]])
  }
}

Happy to PR either one but unsure if Im missing a reason for this being as is.

Thanks @cgfarmer4, are you able to share an audio file to reproduces this? It sounds like the root cause could be a bug and we might need to dig deeper

I unfortunately dont have an audio file as the crash has been happening while streaming. I can record the audio in my app so Ill do that for a bit when testing to see if I can reproduce this again.

Stack trace. My AudioModifier class has equivalent to the functions to the ones used in the ContentView.

@cgfarmer4 Are you able to check the sizes of the variables when there is a crash? I suspect segmentTokens.count is 0 when there is silence, but segmentLogProbs is always initialized with at least 1 value. Will look into this further, thanks for the report.

Pushed a change to fix this now, please confirm if it resolves the crashes 🙏

Appears resolved on my side. Thanks for the quick fix!

Been able to reproduce this twice in the last week on latest main. Both times while using streaming and the new distil models but im not sure thats related.

@cgfarmer4 In the latest release https://github.com/argmaxinc/WhisperKit/releases/tag/v0.5.0 there is some new logic that should keep the tokens and log probs from getting out of sync anymore, if you see the issue again on main please let us know. https://github.com/argmaxinc/WhisperKit/blob/b2fd48d75bc0595ec2e4b9c99d76b9a276e8dd02/Sources/WhisperKit/Core/TextDecoder.swift#L583-L585

Awesome @ZachNagengast! Ill close this again and reopen with any new reports. Cheers


Add circuitbreaker

Add go-kit circuitbreaker using sony gobreaker

Fixes #26

Coverage decreased (-0.9%) to 23.245% when pulling 0011592d8fc52745bb7b96a9dfd1f846501047e1 on add_circuitbreaker into 321d41238c33601539bb2248257aaced06063dd6 on master.


ENH: parallelised brute

With the advent of the workers keyword for differential_evolution I thought I'd try and do the same for optimize.brute, as it's embarassingly parallel.

I used .. versionadded:: 1.3.0 because I wasn't sure it would get into the imminent branch.

Makes sense and LGTM, just a couple of minor comments.

Changes made

Merged, thanks @andyfaff

I've just created https://github.com/scipy/scipy/wiki/Release-note-entries-for-SciPy-1.3.0. Could you add a note about this PR?

I'll add a note, certainly.


Run configuration for GoLand

Is your feature request related to a problem? Please describe.
Ability to run tests with specific run configuration in GoLand ( as discussed in https://github.com/ozontech/allure-go/discussions/48 )
Describe the solution you'd like
New run configuration provided by plugin for GoLand

duplicate - https://github.com/ozontech/allure-go/issues/50

duplicate - https://github.com/ozontech/allure-go/issues/50


Package is not installable

The package is on PyPI but isn't installable with pip, or any other tool if you download the source code.
I would like to use this package as a dependency in a project, please!

I will try install it this weekend with pip, and also look at the failing build (permission issue).


storing all docs by id in IdMap | with/without scopes and reload | enumerable cursors

Hi, I redid my previous pull request for the current master and put each logical unit in one commit:
i) just enabling debuggig for 1.9.3
ii) make the criteria.cursor publicly enumerable via .next
iii) take default with/without scopes into account when reloading
iv) store all docs in the IdMap by id
Regards,
Frank

Thanks! I still have to wait for the moped-integration branch to go in first though, since that's got all the cursor/context changes in it as well... Then I'll go from there.


[Business-Rules] Validity check not working according to 2G rules

The app does not do certificate verification for Austria correctly. They have completely different 2G rules, so in the app it shows the certificate is valid for Austria but it is not because last vaccination was more than half a year ago. Please fix, I consider this as quite critical because it can spoil travel plans.

This issue should be closed.

Closing as suggested


Support javascript private properties defined with #

I'm trying to resuscitate #56566 now that the proposal is stage 3 and the syntax has shipped to V8 7.3 (chromium 73+, Node JS 12+).
Currently vscode throws an invalid character error when defining javascript private methods or properties started with # symbol:

Tracked upstream by https://github.com/microsoft/TypeScript/issues/9950


AWS stages-storage is not working properly

AWS refuse to store empty service images without layers.

Example of error:
Error: phase publish after image myimage stages handler failed: unable to push image ↵
XXXXXXXX.dkr.ecr.***.amazonaws.com/stages/myimage:image-metadata-by-commit-myimage-4be9e ↵
21fef8f1a44af890819598e37489a4c4f15 with metadata: write to the remote ***.dkr.ecr.u ↵
s-east-1.amazonaws.com/stages/myimage:image-metadata-by-commit-myimage-4be9e21fef8f1a44af89 ↵
0819598e37489a4c4f15 have failed: PUT https://***.dkr.ecr.***.amazonaws.com/v2 ↵
/stages/myimage/manifests/image-metadata-by-commit-myimage-4be9e21fef8f1a44af890819598e3748 ↵
9a4c4f15: UNSUPPORTED: Invalid parameter at 'ImageManifest' failed to satisfy constraint:     ↵
'Image has to have at least 1 layer'
##[error]The process '/home/runner/work/_temp/1227c8c7-ffeb-4990-b7ea-5cf0eaf3ecac/werf' failed with exit code 1

Fixed in versions:

v1.1.21+fix6 — alpha channel for now.
v1.1.20+fix10 — beta channel for now.


Build objects

Rgraph improvements and refactoring
Build object files for a modular application

I'm going to fix these notes above and merge, although I didn't review rgraph part carefully.

Ok, thank you. You can review rgraph later and I'll happily fix it.


Replacing Animated.Image

Hi,
I am currently working on an animation using the standard Image tag, I would like to use FastImage for these images however Animated.FastImage obviously doesn't work.
Doesn't anyone know a way to get this working?

const AnimatedFastImage = Animated.createAnimatedComponent(FastImage);

@ahanriat I've tried this but I was not able to make it work - it shows blank.
<AnimatedFastImage
  style={[styles.image, { opacity: this.state.imageOpacity }, this.props.style]}
  source={{
    uri: this.props.imageSource,
    priority: FastImage.priority.normal,
  }}
  resizeMode={FastImage.resizeMode.cover}
  onLoad={() => this.onLoadImage()} //function call to Animated.timing on this.state.imageOpacity
/>

@tyeon95 Did you set height or width to your image style?

I believe all the involved issues have been resolved.

It works, but when you change height and width with animation, the image is pixelated.

in typescript u need to use like this const AnimatedFastImage: any = Animated.createAnimatedComponent( 	FastImage as any )

in typescript u need to use like this const AnimatedFastImage: any = Animated.createAnimatedComponent( FastImage as any )

I believe we can use this for better typings
const AnimatedFastImage = Animated.createAnimatedComponent(FastImage as FC<FastImageProps>);

Correct me if I'm wrong. Thanks

const AnimatedFastImage = Animated.createAnimatedComponent(FastImage);
Gave error:
The signature (component: typeof FlatList, options?: Options | undefined): ComponentClass>, any> of Animated.createAnimatedComponent is deprecated.
Solved by:
const AnimatedFastImage = Animated.createAnimatedComponent<FastImageProps>(FastImage as any);
saw no difference between any and FC<FastImagfeProps>


computecullandlod - memory barrier ignored??

In buildComputeCommandBuffer() the vkCmdDispatch() call is sandwiched between two vkCmdPipelineBarrier() calls with alternating source and destination AccessMask, QueueFamilyIndex and StageMasks for the indirectCommandsBuffer. While this is meant for acquire/release operation, the validation reports:

in the first call to vkQueueSubmit() on  compute.queue in draw():

ERROR: [-1725967473][UNASSIGNED-VkBufferMemoryBarrier-buffer-00004] : Validation Error: [ UNASSIGNED-VkBufferMemoryBarrier-buffer-00004 ] Object 0: handle = 0x18d371af060, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x991fd38f | vkQueueSubmit(): in submitted command buffer VkBufferMemoryBarrier acquiring ownership of VkBuffer (VkBuffer 0x612f93000000004e[]), from srcQueueFamilyIndex 0 to dstQueueFamilyIndex 2 has no matching release barrier queued for execution.

in the subsequent calls to vkQueueSubmit() on  compute.queue in draw()

WARNING: [-882403456][UNASSIGNED-VkBufferMemoryBarrier-buffer-00003] : Validation Warning: [ UNASSIGNED-VkBufferMemoryBarrier-buffer-00003 ] Object 0: handle = 0x18d371af060, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xcb679780 | vkQueueSubmit(): VkBufferMemoryBarrier releasing queue ownership of VkBuffer (VkBuffer 0x612f93000000004e[]), from srcQueueFamilyIndex 2 to dstQueueFamilyIndex 0 duplicates existing barrier queued for execution, without intervening acquire operation.
ERROR: [-1725967473][UNASSIGNED-VkBufferMemoryBarrier-buffer-00004] : Validation Error: [ UNASSIGNED-VkBufferMemoryBarrier-buffer-00004 ] Object 0: handle = 0x18d371af060, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x991fd38f | vkQueueSubmit(): in submitted command buffer VkBufferMemoryBarrier acquiring ownership of VkBuffer (VkBuffer 0x612f93000000004e[]), from srcQueueFamilyIndex 0 to dstQueueFamilyIndex 2 has no matching release barrier queued for execution.

It's as if the second vkCmdPipelineBarrier() has no effect and totaly ignored.
To complicate matters, commenting out both vkCmdPipelineBarrier() calls OR using VK_QUEUE_FAMILY_IGNORED on source and destination QueueFamilyIndex silences the validation layer.

Validation in that sample is pretty broken and something I want to rework. And while removing the barriers may silence the validation layers it will probably break the sample on some of the more strict Vulkan implementations.

For anyone who comes across this in a Google search while struggling to get compute shader frustum culling to work,... well, that's how I got here, and to the best of my knowledge the problem is that this is only half of what's called a queue family ownership transfer. Apparently, VkBuffers and VkImages and whatnot can only be used from one queue family (graphics, compute, transfer, etc.) at a time, unless they're created using VK_SHARING_MODE_CONCURRENT, which is less performant. If you need to use one of these resources in multiple queues, without discarding all of its data as it moves from one queue to another, then you need to perform a queue family ownership transfer.
The purpose of the pipeline barrier commands (using VkBufferMemoryBarriers) is to release and acquire ownership. The problem with the example is that when we record compute commands, we'll acquire and then release ownership... but we don't do the same when recording graphics commands. The compute queue lobs the buffer over to the graphics queue across the room, but the graphics queue isn't ready to catch it and just gets donked on the side of the head, right? So we need to have the graphics command buffers also acquire and release ownership. Of course, fixing this isn't as simple as just putting pipeline barriers immediately before and after the draw-indirect call, because...

In order to use vkCmdPipelineBarrier within a render pass, the subpass during which that API is called must have a self-dependency -- that is, a VkSubpassDependency where the source and destination subpass are the same...
However, compute shaders in general can't run during a render pass, and it's a compute stage that we're trying to transfer to and from...
Therefore, the graphics-side vkCmdPipelineBarrier calls must be made from outside of a render pass -- so, before starting and after ending the relevant render pass.

There may be more fixes needed -- I can't seem to get compute shader frustum culling to work in my own renderer -- but this is what I've been able to come up with re: memory barriers after... what, an hour? two? of searching?

Sorry to hear. As noted above, the sample is in dire need for proper synchronization. I'm completely reworking sync in a new branch, and hopefully will have a fix for that sample in there too. No ETA yet, though, as it's a lot of work.

Can you talk a look at the updated code? A recent PR did some changes to how barriers are setup in this sample: https://github.com/SaschaWillems/Vulkan/commit/b2f501dc98c967ec5f49d2e47d4f4975753b2a48#diff-0e98c00a2325f74a48a971d0674f7d28c56d895b51a833a2e53eafddc336af48
Sync validation is clean now.

When I was studying these samples, the solution I found did not involve changing the underlying queue infrastructure.
For example in c_omputeCloth_, in addComputeToGraphicsBarriers() I used:
VkBufferMemoryBarrier
srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT
dstAccessMask = VK_ACCESS_MEMORY_READ_BIT
srcQueueFamilyIndex = vulkanDevice->queueFamilyIndices.compute;
dstQueueFamilyIndex = vulkanDevice->queueFamilyIndices.graphics;

vkCmdPipelineBarrier(...
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT,...)

Quick follow up to this discussion...
Before submitting the PR with barrier changes, I experimented with using VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT as above, since it works in both graphics and compute queues without validation errors.  However, I was a bit concerned with using it in the graphics queue for a buffer release, i.e. within addGraphicsToComputeBarriers() when finalizing the graphics command buffer.  Since the Draw Indirect stage occurs before the Vertex Input stage in the Vulkan pipeline, I was concerned the release would happen too quickly, i.e. before the Vertex Input processing stage was complete.  In addition, by using VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT in the graphics queue/command buffer, we would be assuming that the graphics queue also supports compute.  This is probably the case 99% of the time, but perhaps there could be cases where this is not true.
The solution I eventually chose comes from the Vulkan Synchronization Examples (Legacy synchronization APIs). See https://github.com/KhronosGroup/Vulkan-Docs/wiki/Synchronization-Examples-(Legacy-synchronization-APIs).  The example shows sync between a Graphics Queue and Transfer Queue, but the pattern is the same for Graphics and Compute.  See the example called "Command Buffer Recording and Submission for a unified transfer/graphics queue."  The name is a bit misleading since it covers both the unified and separate queues cases.
From what I can see, the advantages of using this pattern is that:

It completely separates graphics queue-specific and compute queue-specific pipeline stages, so they do not have to be mixed into a single pipeline barrier call.  The graphics pipeline barrier call uses only graphics pipeline stages, and the compute barrier call uses only compute pipeline stages.  Because of this you can specify the exact pipeline stages you are actually using without any compromises or validation errors.
It makes no assumption regarding compute capabilities in the graphics queue.
You can use the proper srcAccessMask and dstAccessMask for the graphics and compute queues without needing to use generic options like VK_ACCESS_MEMORY_WRITE_BIT and VK_ACCESS_MEMORY_READ_BIT.

The only issue with implementing this approach was that for the computecloth example was that it required parameterizing the addComputeToGraphicsBarriers() and addGraphicsToComputeBarriers() functions.  The parameters required for release and acquire are now dependent on which queue/command buffer you are referring to.  For the other compute* examples I used the same pattern but without the above helper functions, i.e. the barriers were implemented inline.
I hope this explains why I made the changes I did.  Please let me know if I have made any incorrect assumptions or if you have any suggestions for changes / improvements.


Does this still work after mLab MongoDB add-on removed from Heroku?

Sorry if this is the wrong place to ask (I didn't see any forums to ask this) and sorry if this a newb question answered somewhere else.
I started building my rig a year ago and well covid happened and I shelved the project. I'm now looking to get back into it, and buried in my spam folder was a notification from Heroku saying "mLab MongoDB add-on will be removed from all Heroku apps on November 10, 2020"
I followed the instructions word for word last year and I thought adding MongoDB was a required step,  is everything broken now? I can't tell if the instructions were updated since MongoDB has been deleted.

I just went through this (similar situation as yourself).
You can set up Nightscout with a free mongodb instance on MongoDB Atlas. It's described here: https://nightscout.github.io/nightscout/new_user/. There is another open issue about the lack of documentation here: https://github.com/openaps/docs/issues/1557
I'm not sure how you would migrate an existing nightscout instance -- I just opted to reinstall. Hope this helps!

NS page within OpenAPS is updated with a link and encouragement to follow the latest NS setup instructions before updating with the OpenAPS-related config variables.


ScriptAnalyzer

Module.Template update to 2.0.4

Moved Template CI files from __tests__ folder to CI folder make it more organized.
A ScriptAnalyzer report is generated and saved in Azure Pipelines > Artifacts > Source > ScriptAnalyzer.xlsx. In a PR the report will include the PR analysis and the target branch analysis so you can compare.

This PR is basically implementation of your example https://github.com/dfinke/ImportExcel/blob/master/Examples/InteractWithOtherModules/ScriptAnalyzer/Analyze_this.ps1
Download:

Report:

Took a quick look, looks good, will take a deeper look. I'm thinking of dropping appveyor.
@jhoneill Any thoughts?

AppVeyor advantages is that if you need to  troubleshoot something you can SSH/RDP to the VM. And you can change the powershell core version (AppVeyor is used now to test on PS7 preview 4).
The disadvantage is that the free version is very slow.

Same as you. Sounds good. I'll have more of a look and will either use it other places or will see something wrong :-)

@ili101 Good points. Haven't needed that. Wonder when/if Azure DevOps will have that? I prefer the performance Azure DevOps has. It's not really needed for the frequency of updates to this repo though.


Release 1.6.0

This PR is for the Release of Zowe 1.6.x documentation.

Updated version numbers
Added placeholders for each component Release Notes
To update TPSRs at release time

I believe that I completed all tasks to archive 1.5.x and to create the new version - (version numbers changed, Algolia search PR is open, etc...).
The only outstanding tasks are to update TPSRs (I can do this on the day we release) and ensure that your component RN's are documented. Thx

@janan07 @cZikos I noticed that you have a couple unsigned commits in this branch - you might want to add your signoff via .txt file in the dco_signoffs folder when you get a chance. Thanks!

@zFernand0 Do you know if any new features/enhancements/fixes have made it into @lts-incremental or @latest recently? For v1.6.0 we have nothing documented in Release Notes, and for @latest version we have the following documented:  https://github.com/zowe/docs-site/blob/active-development/docs/getting-started/summaryofchanges.md#version-highlights

@zFernand0 Do you know if any new features/enhancements/fixes have made it into @lts-incremental or @latest recently? For v1.6.0 we have nothing documented in Release Notes, and for @latest version we have the following documented: https://github.com/zowe/docs-site/blob/active-development/docs/getting-started/summaryofchanges.md#version-highlights

@BrandonJenkins14, The only think I can think of is: https://github.com/zowe/zowe-cli/pull/546
Because of a security vulnerability on imperative it was not able to be published two days ago, but that has been resolved in by: https://github.com/zowe/zowe-cli/pull/550
So, you can expect a 2.32.0 coming soon :smile:

@zFernand0 @ChrisBoehmCA I just added a a RN entry for the WFO/WFA options, but I'm not sure if I accurately portrayed how it works. Can you take a look when you get a chance? Thanks!

@zFernand0 @ChrisBoehmCA I just added a a RN entry for the WFO/WFA options, but I'm not sure if I accurately portrayed how it works. Can you take a look when you get a chance? Thanks!

https://github.com/zowe/docs-site/blob/docs-staging/docs/getting-started/summaryofchanges.md#whats-new-in-zowe-cli
Took me a bit to find what I was looking for :smile:

Release notes look pretty good, but instead of "or return output"  , I would say "or complete and enter OUTPUT status." Because just specifying --wfo does not return any spool output, it just waits for the job to finish

DCO sign-off should/will be addressed offline to update dco signoff folder.


fix: page cannot be created when block name is duplicate

https://github.com/ice-lab/iceworks/issues/734

CI Pass and self reviewed

CI Pass and self reviewed


Is the data type encoded into the compressed buffer?

The current Python interface requires the user to pass an existing Numpy array to decompress into, and it uses the dtype of that array to figure out which decompressor to dispatch, i.e.
https://github.com/mwlon/pcodec/blob/32eaddb384f216a4bbf34fb89d0a30c6cab21eb8/pco_python/src/lib.rs#L70-L79
I'm now working on implementing a Python function that allocates the numpy array from scratch, something like
fn auto_decompress<'py>(py: Python<'py>, compressed: &PyBytes) -> PyResult<PyArrayDyn>

However, I'm a bit stuck on how to determine the type of the resulting array (e..g. F32, I64, etc.) Assuming I have a buffer that has been compressed by pcodec, is this datatype somehow encoded into the header already? Or does pcodec always assume that the type is known a priori, from some out-of-band source of information?

Answered my own question
https://github.com/mwlon/pcodec/blob/32eaddb384f216a4bbf34fb89d0a30c6cab21eb8/docs/format.md#standalone-format
The first byte of the chunks identifies the dtype
This is read here:
https://github.com/mwlon/pcodec/blob/32eaddb384f216a4bbf34fb89d0a30c6cab21eb8/pco/src/standalone/decompressor.rs#L126-L127

Yep, you got it right. I don't have a public API for "peeking" the dtypes yet, but it's also not crazy to implement it outside the pco crate. For now one can read the first byte of the input data after the header (that is, FileDecompressor::new(...)?.1[0]).


Revert "Cardano.Wallet.Shelley.Launch.BlockfrostSpec"

Reverts the manually merged input-output-hk/cardano-wallet#3176 which

Broke nix evaluation because of the haskell.nix bump (master branch hydra status)
Didn't pass tests on windows

The first problem is easily fixed by Samuel's workaround. But then there's also test failures on windows:
Failures:

  test/unit/Cardano/Wallet/Shelley/Launch/BlockfrostSpec.hs:37:27:
  1) Cardano.Wallet.Shelley.Launch.Blockfrost, Blockfrost CLI options, modeOption --node-socket
       ParserFailure(option --node-socket: Invalid pipe name. Windows named pipes are of the form \\.\pipe\cardano-node

       Usage: <program> (--node-socket PIPENAME | --light --blockfrost-token-file FILE),ExitFailure 1,80)

  To rerun use: --match "/Cardano.Wallet.Shelley.Launch.Blockfrost/Blockfrost CLI options/modeOption --node-socket/"

  test/unit/Cardano/Wallet/Shelley/Launch/BlockfrostSpec.hs:61:17:
  2) Cardano.Wallet.Shelley.Launch.Blockfrost, Blockfrost CLI options, modeOption requires --light flag
       expected: "Missing: --light\n\nUsage:  (--node-socket FILE | --light --blockfrost-token-file FILE)"
        but got: "Missing: --light\n\nUsage:  (--node-socket PIPENAME | --light --blockfrost-token-file FILE)"

  To rerun use: --match "/Cardano.Wallet.Shelley.Launch.Blockfrost/Blockfrost CLI options/modeOption requires --light flag/"

Randomized with seed<PHONE_NUMBER>

https://github.com/input-output-hk/cardano-wallet/pull/3160#issuecomment-1071163285
If easy to fix, we could just fix them rather than reverting also, I guess.

Ah, the haskell.nix problem might have been unrelated to the PR, not sure 🤷♂  and need https://github.com/input-output-hk/cardano-wallet/pull/3160/commits/80303f89b837076df52b26af94b9314baec09970 regardless


debugging issue

sorry for the 'support-request-as-bug-report', but I have followed instructions to the letter and can't get the new select widget to work.  how best to debug?

Hi @dbinetti ,
do you have some code to share?
Cheers,
Joe

Joe, thanks for the response.  I'm digging in a bit more so that I can ask a reasonable question (with code.)  I'll close this until I have something worth sharing.  Thanks


[Error] Physical Repositories list

I've set up Redmine (2.6.2) with the git hosting plugin. Gitolite was allready working as well.
The Config Test tab ist all green, but there is also my first problem. The count of physical repositories in Gitolite is zero. The Gitolite banner is showing my indipendent created repositories. (What exactly is a physical repo?)
The log shows: 2015-10-28 20:12:41 +0100 [ERROR] Error while getting Gitolite physical repositories list
hello redmine, this is gitolite@october running gitolite3 v3.6.3-11-g2417156 on git <IP_ADDRESS>

  R W	gitolite-admin
  R W	scripts
  R W	test

These repos are accessible from my computer equipped with the ssh key pair. The newly, from redmine created repo, is not listed but also accessible.
$ ssh -i devpap_redmine gitolite@octoberinfo
hello redmine_devpap7_5, this is gitolite@october running gitolite3 v3.6.3-11-g2417156 on git     <IP_ADDRESS>

 R W    brr2
 R W    project_test2
 R W    test

Theses repos aren't listed in redmine.
I've deleted all other problems from this post. There were just configuration problems.

update:
Cloning is working good. I've changed the hooks_url to https://october/redmine
Changes are displayed in my repository tab of the project.
There still erros while pushing to remote repo:
$ git push -u origin master
Counting objects: 3, done.
Delta compression using up to 3 threads.
Compressing objects: 100% (2/2), done.
 Writing objects: 100% (3/3), 345 bytes | 0 bytes/s, done.
 Total 3 (delta 0), reused 0 (delta 0)
 remote:
 remote: Notifying Redmine about changes to this repository : 'test/brr2' ...
 remote: HTTP_ERROR : Connection refused - connect(2)
 remote:
 remote: Looking for additional global post-receive hooks...
 remote:   - Global hooks found : ["hooks/post-receive.d/mail_notifications"]
 remote:
 remote: Looking for additional local post-receive hooks...
 remote:   - No local hooks found
 remote:
 remote: Calling additional post-receive hooks...
 remote:   - Executing extra hook 'hooks/post-receive.d/mail_notifications'
 remote:     multimailhook is disabled
 remote:
 To gitbox:brr2
  * [new branch]      master -> master
 Branch master set up to track remote branch master from origin.

Where is my mistake?

What exactly is a physical repo?

A physical repo is a repository in Gitolite : hence a repository declared in Gitolite configuration file.
It must be distinguished from Redmine repositories : a repository declared in Redmine database.
(A Gitolite repo may not exist in Redmine. The contrary is also true).
This list is provided by the Gitolite command : gitolite list-phy-repos.

Thank you for this explanation. My example at the top of this page shows a valid combination for redmine and gitolite repos. The repo test is listed in both infos because of the @all flag. Is this the reason I get the error message in the log files?

Why is my physical repo count zero?

Can please you run this command as redmine user :
sudo -n -u git -i gitolite list-phy-repos

redmine@Charon:/home/pi$ sudo -n -u git -i gitolite list-phy-repos
sudo: sorry, a password is required to run sudo
I haven´t set a password for the user redmine. Even without the -n flag the command is not working.

http://redmine-git-hosting.io/get_started/#step-6-configure-sudo

Thank you, I think I got a configuration problem. I'll have to check this first. My git user doesn't have home directory.

My git user doesn't have home directory.

This is bad :)

I've checked your "Get started" guide. I think in step 5 I switched to the gitolite user and changed the .gitolute.rc file in the home directory of this user. can I stil get the pyhsical repo list or do I have reinstall and reconfigure the plugin or even git and gitolite.

an I stil get the pyhsical repo list or do I have reinstall and reconfigure the plugin or even git and gitolite.

Nope. It should work now.

Sadly it is not working. I'll have to get to it tomorrow. Still an error in my log file and count at zero for the physical repos.
2015-11-26 22:38:47 +0100 [ERROR] Error while getting Gitolite physical repositories list

I've changed my configuration variables to match this.

That's a good thing, but check that you can run this command as redmine user :
 sudo -n -u git -i gitolite list-phy-repos

Nope still nothing. Getting the error with the missing home directory. even if I'm using gitolite user. I found some differences in my configuration. maybe I'll retry the installation and configuration. This time I'll go with the user git. Just out of curiosity: Where can I find this gitolite command? This command isn't listed  gitoliteDir/bin/commands. Right now, I made a backup for this current system.
Thank you for now. I will get back to you.

Where can I find this gitolite command? This command isn't listed gitoliteDir/bin/commands. Right now, I made a backup for this current system.

It depends on how you installed Gitolite. It should be in <gitolite user home dir>/bin

Okay. I tried to reinstall the plugin and ended up with another problem.
Up to (step 7)  everything went very vell. I get a positiv response to the command in step 7. But if I want to save the configuration in git_hosting_plugin I'll get an Internal Error. Sadky my gitolite version is unknown and mirror keys are not installed.

I may have found a solution. After reinstallation and downgrading to version v1.1.5 like said in bug report #544, everything is working well.
thank you for your support.


Routing Solver: Vehicle Capacity Configuration

I've come across an interesting issue that I can't seem to solve. I'm working in C# and I've modified the cscvrptw.cs to work using pickups and drop-offs. My issue is that each pickup/dropoff can require certain properties on the vehicle (ex: extra large seat or wheelchair capable). Considering that each vehicle has a custom configuration how would I implement this in a vehicle capacity dimension, better yet is there a way in the Run function of a dimension callback to know what's currently on the vehicle?
Here's a slightly more detailed description of the problem I'm trying to solve.
I have 20 pickup/dropoffs that are wheelchairs and 20 pickup/dropoffs that don't have any need.
Vehicle 1 allows 4 people with any needs
Vehicle 2 allows 3 wheelchairs and 0 others, 2 wheelchairs and 2 others, 1 wheelchair and 4 others, or 5 others.
Vehicle 3 allows 4 wheelchairs and 2 others, 3 wheelchairs and 2 others, 2 wheelchairs and 3 others, 1 wheelchair and 4 others, or 5 others.
How do I ensure the rules for each vehicle are not broken? I appreciate any and all help I receive.

I would create two capacity dimensions i.e. one for wheelchairs and one for others.
Then you'll need to use AddDimensionDependentDimensionWithVehicleCapacity() which is not binded in C# see #339.
Also in your case, since you have both dimensions depending on each others it won't work (since dimension builder need pointer to the other dimension at build time).
An other approach would be to find an arithmetic relation between wheelchairs and others to have both in the same capacity dimension.
e.g.
wheelchair := 5
other := 3
capacity_v2 := 17
3 * wheelchair = 15 // not full capacity but you can't add others so ok
2 * wheelchair + 2 * others = 2*5 + 2*3 = 16 // not full capacity but you can't add others so ok
1 * wheelchair + 4 * others = 1*5 + 4*3 = 17
5 * others = 15

But not sure it is doable here...

I solved exactly this in Python, which also does not have access to AddDimensionDependentDimensionWithVehicleCapacity().  A bit hacky and complicated to describe completely here, but I used an equivalence approach---more or less option 2 above.  If I recall correctly, each vehicle type has an equivalence:  in vehicle A 1 wheelchair = 2 passengers.  In vehicle B, 1 wheelchair = 3 passengers, etc.  Then each vehicle gets a dimension for passengers, wheelchairs, etc etc (there can be multiple dimensions as long as they have some common denominator like passengers...if I remember right, I had an input hash where the key was the common denominator dimension, and the value was another hash of dimensions and equivalents, so here it would be
{'veh1':{ pass: 4, whlchr: 2,... ,'equivalence': {'passenger':{'wheelchair':2, 'large_wheelchair':4}} ...},
 'veh2':{ pass: 6, whlchr: 2,... ,'equivalence': {'passenger':{'wheelchair':3, 'large_wheelchair':3}} ...},}

Then, the irritant here is that the equivalent capacity that is eaten up by a passenger is a feature of the vehicle, not the passenger.  So a wheelchair has one impact on vehicle 1, and another on vehicle 2.   So my solution is that each vehicle type has its own "fingerprint" in this equivalent dimension, and then each passenger demand can be translated into each vehicle's equivalent dimension.  If a "fingerprint" doesn't apply to a vehicle, then its capacity in that dimension is increased such that it isn't binding (in practice, supply is made equal to the passenger supply plus 10, to be safe).
So every vehicle has a number of supply dimensions, some of which are non-binding.  Then prior to model run, each passenger has their "demand" value (a single value) expanded into an array, as appropriate.
In the 1 passenger, 1 wheelchair case, there is still "space" for one more wheelchair and three more passengers in the vanilla dimensions, but the type_A_equivalent will allow just one more passenger, not one more wheelchair, because a wheelchair needs two spaces in the type_A_equivalent dimension. Also note for a type A vehicle, the type_B_equivalent is non-binding no matter who gets on, because some other dimension will always fill up first.
Similarly, in the three passengers case, there is still space for two wheelchairs in the vanilla dimensions, but the type_A_equivalent will only allow one passenger to be loaded and will prevent another wheelchair pickup.
  Please hit me up with an email if you have more questions.


refactor(Examples): corrects compiler warnings about names

Closes #204

Maybe better to remove unused variables?

Or use it in some way, like examples/04_UsingMatches.rs

I considered that, but since they're examples of how to actually use the things I figure it's better that they're used exactly as they would be. Because in a real project, that variable would actually be used.

@sru That's a good idea...let me do that to a few of them. There may still be some where it's too contrived to actually demo, but we'll see. :smile:

Yeah, you are right, removing is bad idea.


Missing payex_transaction table

Problem
Some database providers don't allow indexing on large columns. This caused the payex_transactions to not get created. Which led to orders getting stuck on "Awaiting payment".
Possible solution
You should add some form of validation that the table actually gets created since this causes quite a lot of problems. I would propose that you also verify that the transactions really gets inserted.

Thanks for the report, @noaholsson. We'll investigate and provide a fix if possible.

@noaholsson Which field was large?
Plugin creates table with follow fields and sizes:

transaction_id int(11) NOT NULL AUTO_INCREMENT,
transaction_data text,
order_id int(11) DEFAULT NULL,
id varchar(255) DEFAULT NULL,
created datetime DEFAULT NULL,
updated datetime DEFAULT NULL,
type varchar(128) DEFAULT NULL,
state varchar(128) DEFAULT NULL,
number varchar(128) DEFAULT NULL,
amount bigint(20) DEFAULT NULL,
vatAmount bigint(20) DEFAULT NULL,
description varchar(255) DEFAULT NULL,
payeeReference varchar(255) DEFAULT NULL,

Plugins creates follow indexes:

PRIMARY KEY (transaction_id),
UNIQUE KEY number (number),
KEY id (id),
KEY order_id (order_id)

The id column was the one that was to large to index.

@noaholsson ok, which length of this value would be ok for you?

The way I solved it was by removing the index of this column. I figured since you almost never fetched the transactions by id, this wouldn't affect the performance noticeble.


Add a collection of (unproven) properties

Description
This PR adds a module containing a bunch of top-level properties that we should prove. Since CI won't pass if we have holes, the actual properties are commented out (and modules that become empty because of this as well, to avoid warnings).
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[x] Code is formatted according to CONTRIBUTING.md
[x] Self-reviewed the diff

These are all things that I'd like to have proven some time in the not-too-distant future, i.e. before we HF into Conway. I'm not sure transforming the code somehow, only to transform it back is worth it.


change TH language to more able to read

Summary

Closing Issues
Use Fixes #XXXX or Closes #XXXX to autoclose an associated issue.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[v ] Improvements to existing code, such as refactoring or optimizations (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[v] I have read the CONTRIBUTING document.
[v ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[v] I have added tests to cover my changes.
[v] All new and existing tests passed.

@thititongumpun this just went live with release v1.17.0 🚀 Thanks again for your contribution.


Google Org and provisioning Design

Collaborate with google and delivery partner on appropriate org structure and provisioning plan
Provision storage for CAS

We met with Shea Stewart of Arctic to discuss options of configuration of the BCGov organization.
After discussing options from fully custom/manual config to a pre-built script from google we agreed that a custom script that inherits google best practices in a light touch mode.
Assuming:
Few: Folders
Many: Teams
Many: Projects
Many: Billing Accounts
Self serve via terrafrom/ansible automation scripts and a work flow similar to github-flow


Clearer docs around variants

I am looking into variants and i feel like its a bit confusing which is the old api and which is the new one?
I feel like I should just be able to drop the variant function onto a component and give it scale="accents" and then if I pass variant="info" then it should look in the theme object for accents and pull the info key inside that yet it doesn't do that unless I write variants: { info: {}} inside the variants function.
This seems backwards it should do that be default and the variants key inside the function should be to overwrite a key in the scale or just to define locally.
I think the new version of styled-system maybe shouldn't worry about backwards compatibility and have a bit of a re write of the variant function.

Extra thoughts: I feel like having to write
    scale: "accents",
    variants: { primary: {} }
})```
to get it to pull values from the theme is a bit backwards it should pull from the scale by default and the variants prop should be used for adding specific variants to a component or to modify a variant for a specific component.

The new API allows you to define variants in the component definition, but the legacy API (which still works) lets you define variants in the theme, see https://styled-system.com/variants

Will the legacy API always be an option or will it be deprecated at some point in the future as I feel like they are both valid options of doing things and I think the legacy API works better for my project at least?

No plans to deprecate the theme-based (i.e. "legacy") API -- we could change the verbiage to clarify that in the docs


⚠ Persistent BinderHub - Health has degraded performance

In 612c36d, Persistent BinderHub - Health (https://notebooks.gesis.org/services/binder/health) experienced degraded performance:

HTTP code: 200
Response time: 992 ms

Resolved: Persistent BinderHub - Health performance has improved in 3fc810f.


screen cheese while previewing icon theme

Testing #98019

use no icon theme
pin some tabs
open icon theme picker and arrow up/down some candidates
while previewing there is screen cheese when going from no icons to icons and reverse

I feel this is a bug on the theme layer: even though we seem to be applying CSS classes when you navigate over themes or icons, we do not change the setting or emit any event. So we are only lucky that it works ok in most places but here I really need an event to react to properly: pinned tabs switch between showing icons or first letter and that is not something I can easily express using CSS rules.
I suggest to either introduce an event that everyone can adopt or change the setting value on the fly to get the correct result.