Preserve reset hint during histogram deduplication

Penalty based deduplication can over-skip samples when switching between replicas because it uses a penalty of 2 times the estimated scrape interval. This works okay for float counters because the reset is detected based on the value of the counter. With native histograms, detecting a reset is much more expensive which is why there is a hint stored in the first sample of a chunk, indicating whether the chunk has been created because of a reset.
It can easily happen that the dedup iterator switches replicas, and skips the first sample of a chunk because of the added penalty. In this case we will not read the hint and will assume that no histogram reset happened.
This commit fixes the issue by explicitly calling DetectReset if a replica stream has been switched. The result is then stored and set in the histogram returned by AtHistogram and AtFloatHistogram.

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Fix counter reset detection during deduplication of native histograms.
Verification
I added a unit test, and also verified this against a case we saw in production.

Will do, looks like the test got lost when I moved the struct to a new package.

Any update on this?

I'll get it done this week, got tangled up in something else.


Update the message for $HOME/R

The existing message for $HOME/R was written seemingly with Rstudio in mind. However, the folder is applicable to R as a whole, not just Rstudio (I use nvim-R instead of Rstudio).
The link in the original did not work for me; I found the specific section of the docs about this from a stackoverflow post.

This will require a $HOME/.Renviron file, which isn't quite ideal. I think it's probably possible to put the .Renviron file somewhere else, but I have not found out where yet.

Thanks!


Add more icons

NFC, Priority Mode, Auto Sync, etc...

The icon of headphones is needed

Also a new circular battery icon similar to the CyanogenMod's one.

@MrNikhilGupta Just added a headphones icon :+1:

A VPN icon could also be useful, but it looks a bit complicated as the broadcast receiver is deprecated after ICS so it doesn't seem like there are many good ways to listen for status changes.

Oh, that's bad. Maybe only the GPS it's fine.

@chrisdlc119 Ah. I forgot about the GPS icon xD

I could still add a couple icons, but all the essential icons have been added (with the exclusion of #15) so this isn't really an issue anymore...

User suggestions: orientation icon, carrier name, VPN (ugh).

Skipping the VPN icon for now. If I find any good examples of how to listen for network changes like this I might implement them, but currently it seems about as easy to add as the dual sim icon :P


Smarty templating support for ZF expressive.

Hello
I know there is support for various template engines ( Twig, Plates etc ) but as you know :) always is not enough  .. is there any support for Smarty template engine and if not any plans to be supported in your future releases ? By the way I tried to install smarty through composer and I got all sort of nasty errors.
Can you please shed some light on this ?
Cheers
Sergiu C.

By the way I tried to install smarty through composer and I got all sort of nasty errors.

What kind of nasty errors? Did you report them to the smarty developers at https://github.com/smarty-php/smarty/issues ?

well.. I think those errors are rather related to ZF expressive composer.json dependencies.

Those errors (not actual errors, your dependencies are simply incompatible) are unrelated to smarty and expressive: please check your composer.json dependencies.
Closing here, as it is an issue not related to expressive itself.

@webdesign7 probably show your composer.json so may be we can help you with. Regarding smarty template engine support, you could actually make use of https://github.com/zendframework/zend-expressive-template and smarty to build a separate package. See https://github.com/zendframework/zend-expressive-twigrenderer/blob/master/src/TwigRenderer.php as  a starting example.
You only need to implement this https://github.com/zendframework/zend-expressive-template/blob/master/src/TemplateRendererInterface.php .
Hope that helps you to build one yourself.
Thank you.

@Ocramius I wouldn't say that the problem is in my composer dependencies as I all I do is download a fresh copy  through composer  and then going and require additional libraries through composer .. you probably want to give it a go yourself  and also just FYI I tried to download other composer packages ( like Zend-DB for instance )  and it didn't go through as well.  I don't mind you can close the ticket however I think you might need to tweak your composer.json a little .. I believe  there would be other similar requests in the future.
Regards

@harikt thanks!  good answer ! it all makes sense  and that's what I expected , just wanted to double check.

I wouldn't say that the problem is in my composer dependencies as I all I do is download a fresh copy through composer and then going and require additional libraries through composer.

That last part is precisely what ocramius was telling you. You are adding other dependencies which are incompatible with the ones already exist. e.g. If you have zend-servicemanager 3 as a dependency and try to add a zendframework package that is not yet ready for zf3 and needs zend-servicemager 2.x it can't install the dependency. You need to stick to zf2 components only in that case.


transparent background navigationcontroller

HI,
I have a strange problem. If I make transition by navigation controller from 1 to 2 view controller and 2nd  viewcontroller has a transparent background so it get for some ms black. but it is possible to observe. Do you know how to solve it?
Thanks.

I would be happy to help. Please connect on Material Gitter and we can help. Thank you!


consider about Ref as props when using mount api

I found VTU use this code to make reactive of props when mount:
const props = reactive({
    ...options?.attrs,
    ...options?.props,
    ref: MOUNT_COMPONENT_REF
  })

but if I have const someRef = ref({}) and pass it to mount:
mount(App, {
  props: {
    someRef: someRef
  }
})

it will break the Ref structure

What happens if you attempt to put a ref inside reactive in VTU at the moment? Something weird?
Btw, what is your real-world use case (assuming there is one) for passing a ref as a prop? I am guessing this is supported in Vue 3.x (never thought about it).
I do believe we need props to be reactive for the setProps function.

I'm not sure if my case will be a common case. Since I write my components using composition api
<Child ref="child">

this.$refs.child.doSomething()

this code not work anymore because I did not put the doSomething method on vm. So I figure out and try to use:
const contextRef = ref({})
<Child contextRef={contextRef}>

// in child
contextRef.value = {
  doSomething() {}
}

and it worked.
This breaks when using mount(App, { props: { contextRef } }), I did not find the reason by now and I am also not sure whether this need to be fixed.

I think passing a template ref is actually going to be a use-case people. I wonder if we can use isRef to check for a ref then use markRaw` or something like that to opt-out.
I will think about this a bit more and try some things out, lmk if you come up with anything 👍


The total balance is sufficient but the invoice cannot be paid

When I have two channels, the balance of channel 1 is 0.00031398, the balance of channel 2 is 0.0000653, and the total balance is 0.00037928. At this time, I want to pay an invoice with a quantity of 0.00035, but the payment fails, and the failure prompts Timeout No route could be found.

resolved

the sender must reserve 10% of the channel'cap. it's lnd's protocol.


Additional help for organizing bookmarks

I tend to add bookmarks to the main library and not to sections. Then from the main library I create sections and I add them to there.
Is there a way to add a sort by sites or at least an icon to show if a manhwa was already sent to a category already?
It's tough to move bookmarks to categories without accidentally adding to 2 or more bookmarks to different categories.
Tldr: add a way to show an emblem or emoji to bookmarks to easily organize bookmarks without the user accidentally  forgetting that it's already in another category

Hi there! You've created a request in the wrong repository, this is one is for the Paperback website, not the app.

Whoops sorry about that thanks


DBZ-5333 Caused by: java.io.EOFException: Failed to read next byte from position<PHONE_NUMBER>

https://issues.redhat.com/browse/DBZ-5333
This reading byte issue should happen occasionally, the MySqlErrorHandler handle following exception message to restart connector is good approach.
Caused by: java.io.EOFException: Failed to read next byte from position<PHONE_NUMBER>

Applied to main (=2.0) and branch 1.9.


Can we apply these codes to the regression problem?

Hello,
Can I use your code for regression problem with continuous variables? It seems only binary variable can be used at the moment.
Regards,
Thang

Hi,
You can use any regressor instead of the support vector machine classifier in this code. You will need at least two test samples to calculate the R ^ 2 value. Therefore, instead of leaveoneout cross validation, you can write cv = 5 or any number of splits you want.

Thank you for the comments. I can run your FFA code for feature selection in regression now.
Could you please explain a bit more:

Is this the number of iteration?
self.nFES = 1  # number of function evaluations (repeate number)

From:
`def evaluation(feature_possibilities):
feature_possibilities = np.round(feature_possibilities)
 feature_possibilities = feature_possibilities > np.float32(0.5)

 selectedX = X[:, feature_possibilities]

 from sklearn.ensemble import RandomForestRegressor as rfr
 rfr = rfr(n_estimators=100, min_samples_leaf=1, min_samples_split=3)

 evaluation = cross_val_score(rfr, selectedX, y,  cv=5, scoring=mse)

 return evaluation.mean()`

I defined a regression model (Random Forest) here using the mean square error during the CV = 5.
How can I extract the MSE values during the CV? Can I plot the iterations with the MSE?
How should I understand:
        selectedX = X[:, feature_possibilities]
here. selectedX is different from bestX in which bestX is selected features after FFA.
Many thanks,
Thang

name 'gene_take_or_not' is not defined. I got this error when I run this code. that's why I can't final accuracy. kindly help me out how it will be fix?


Fix voice hang on Audio .stop().

Turns out wait was a little too cooperative. Waiting on an audio stream that hadn't yet finished (i.e., killing all existing sounds) caused the voice thread to hang since ffmpeg would never terminate...
Holdover until we change to real ffmpeg bindings.

Thanks


feat: add @uploadcare/signed-uploads package containing helper to generate signature for signed uploads

Checks are failed because of prettier that wants to format all the jsdoc comments. I'll fix it right before merge to keep diff clean.


feat(execute): introduce remote execution command

This add a new command which allow castor to execute remote package
As an example you could do the following :
castor execute  friendsofphp/php-cs-fixer@php-cs-fixer fix --dry-run --diff

Which will

download the friendsofphp/php-cs-fixer package
execute the php-cs-fixer binary from it with args fix --dry-run --diff
remove the package once it has been executed

It could also use a specific version by doing :
castor execute  friendsofphp/php-cs-fixer:v3.57.1@php-cs-fixer fix --dry-run --diff

TODO :

[ ] Tests
[ ] Documentation

Hi ✋
It sounds pretty cool to run some PHP tools without the need to create a composer.json file 😄

Remove the package once it has been executed.

In certain scenarios, like when working locally, it might be beneficial to retain these packages rather than removing them each time. What do you think about adding an option to prevent the automatic removal of packages?

One idea that comes to mind is for running tools like PHPStan with extensions. It could be useful to provide additional dependencies, such as phpstan/phpstan-symfony
For example, you could execute the following command:
castor execute --deps phpstan/phpstan-symfony phpstan/phpstan@phpstan xxx

This would allow you to easily add the necessary dependencies for specific tools or extensions.


System.Threading.Tasks.Dataflow is being ignored

Apparently it has same public key as FSharp.Core which leads it be ignored at DependencyAnalysis.fs\ isIgnoredAssembly

Thanks, fixed in 53b958df77d1aeb721ec13bb891024689c31c3c6


A couple of weird things I have found.

Howdy! Sorry you're having trouble. To expedite your experience,
provide some basics for me:
Operating system:
Python version: Python 3.7.3
Black version: black, version 19.3b0
Does also happen on master: Yes
When I run $ black *

Mishap 1:
My requirements.txt which contains opencv-python this is getting updated to opencv - python.

Mishap 2:
A dictionary like config.settings["foo"]["bar"]["baz"] = 1 is getting converted to:

config.settings["foo"]["bar"][
    "baz"
] = 1

even within the max line.

For your first problem, you should probably run black . instead, so Black runs only on Python files, not files that aren't Python but happen to be parseable as such.

For your second problem, I cannot reproduce it locally with the same Python and Black 19.3b0 or with black.now.sh (also 19.3b0).
What config settings do you have?

I can reproduce "Mishap 2" using line length 30:
black.now.sh
But this is probably not a very typical setting.

@robin-bloehm-mck what do you prefer Black to do in that case?


Add sassc-rails as development dependency

Normally the host application needs to either depend on either
sassc-rails or sass-rails. Ensure gem is present in plugin test
suites.

Coverage remained the same at ?% when pulling c121a7f08f012078d5b2b217641d008d7091d394 on tf:sassc-dev-dep into 65e5242fa02c4d1034d6755274c87978dbebb85e on codevise:master.


bug: header ordering

Arrays headers inserted into table in reverse order.

Also, we may try to use natsort to sort headers at the end on analysis instead keeping order from schema

When doing #105, I edited the ocds-sample-data.json file to have a small number of additionalIdentifiers. When I flattened the data, the two entries from the child table had extra columns in between:

/parties/additionalIdentifiers/0/scheme
/parties/additionalIdentifiers/0/id
/parties/additionalIdentifiers/0/legalName
/parties/identifier/scheme
/parties/identifier/id
/parties/identifier/legalName
/parties/test
/parties/additionalIdentifiers/1/scheme
/parties/additionalIdentifiers/1/id
/parties/additionalIdentifiers/1/legalName


haproxy: updated to 1.6.7.

Updated to 1.6.7.
Fixed error on during building package for CentOS 7.x.

Thanks!


[FEAT] : API Endpoint for Rerieving All Subscription Plan Features

Description
Create endpoints to allow for the retrieval of every subscription/billing plan feature This will help users get to know the different perks(features) attached to any particular plan, helping them make better choices when choosing a subscription plan.

[ ]  Create an endpoint (HTTP GET /api/v1/plan-features/{feature_id) to get a single plan feature.

Not a ticket so far I can tell. Plan read is not a super admin feature

I've removed the authentication requirements. pls confirm

@Sidney2022 Please break this down into two endpoints/tickets.
And share the second ticket here

Why do we need an end point for features of a plan? @Sidney2022 ?

so the SubscriptionPlan Table would be something like
SubscriptionPlan:
id int
name str
price int
description str
features (this would be a many-to-many field to the features table that would contain the benefits(feaures) attached to each plan)
or is there another way to do it? at least that is how I thought about it. @highb33kay

How about a JSON field in the DB for features?

I dont think we are expecting up to 20 features/plan? are we?

@Sidney2022

no. probably not

Can you fix it then? The documentation and also have it fixed on the Schema?

The person doing the SubscriptionPlan already has the schema for it. #55 . should I stil add it here? Also, I just  have to seperate the tickets right?

Since features will now be stored on the subscription table, there is no need for an additional ticket.
Please link the create subscription here let's find the person working on it and have the schema changed

ok.  @davidolanrewaju  is the person working on it. issue #55
that means I'll have to close this then


unpin parquet-wasm

The latest 0.6.0 release of parquet-wasm fixes the conditional exports so this mostly works out of the box. There’s a slight wrinkle that the default path to the .wasm file is incorrect when loaded via the /+esm entry point, but we can fix that by passing in the URL to the .wasm file explicitly.
Thanks @kylebarron for the fixes!

That’s right. I also think that jsDelivr might be smart enough to rewrite the path if parquet-wasm used import.meta.resolve instead of import.meta.url, but I’m not sure.


Solution Organization

Hey i am new to this project, so i wanted to help out, started reading the code and while i was doing that i saw what a mess the solution is(at least for me), "*.Tests" projects together with normal projects and etc.
I will be starting a fork today and do some heavy modifications to the Solution and projects organization, i dont know if you will like it, but if in any case you do i will do a pull request if not i will have to develop in my fork you are free to copy and paste my code.
And a question would you mind if i started a new repo and reworkd the project in my way and continued the development there?
Sorry if i was rude, if i was i didnt mean to, my english is not that good so sometimes i might seem rude and that is not what i intended, i really liked the project and wanted to get into it, i just dislike its organization.

Hello,
the solution structure is as it was intended by me.
Why would you remove the *.Tests from the solution? If you refactor your code (Renaming things, for example), the tests are updated almost automatically. If you remove them from the solution, they are not. Also, you can let them run all the time during development...
I can’t tell you if I would merge your changes as I don’t clearly see what’s your plan ;)

I dont mean to remove them, i mean to organize them in folders so it would look like something like this
https://i.imgur.com/v7geasT.png
This way it is more friendly for other devs to read and know the project much faster, as it will be more organized.
Another critic from me, it seems like you are splitting projects just for the sake of splitting, an example MUnique.OpenMU.ChatServer and MUnique.OpenMU.ChatServer.ExDbConnector could be on the same project that way it would be way more easier to find what you need and more organized, i am just trying to help my english is not that good sometimes my words doesnt mean what i want they to mean.
Do you have discord or something similar so we could talk more easily?

If this structure of your Screenshot doesn’t require changes in the actual folder structure, I think it’s fine.
And about the ChatServer and ExDbConnector: The ExDbConnector is a side product, which is a replacement for the original ChatServer.exe. That means, it’s not used by the rest of the project. It’s also built for .net core and framework 4.6.1, while ChatServer is built for .net standard.
The only project which is currently so small that it probably doesn’t need a separate project is the LoginServer.
I don’t have Discord, just Gitter and Skype. However, I’m not much more “responsive” there as in the issues ;)

I added a folder structure to the solution (master branch). What do you think about it?

Closed since no further feedback came back.


[Feature] - Increase compiler speed by increasing efficiency of _section_signals_list

Describe the bug
Compiling experiments with many sections get's slow. Profiling the compilation shows that 60% of the compilation time is used in the _section_signals_list  method of ExperimentDAO.

As this function severely bottlenecks the performance it could be

Implemeted with a more efficient structure and
Include some caching mechanism

To Reproduce
Compile an experiment with many sections, e.g.,
experiment.zip
Versions used:

laboneq: 1.5
zhinst-core
others

Context

[ ] Do you know a workaround for the issue? If yes, please provide a short description.
[ ] Does the issue block your experiments?

Hi @GlaserN ,
Thanks for the profiling work, we will look into this.  I take it the functionality is as expected, so I am relabeling this as a feature, not a bug ;)

@GlaserN we have worked on the efficiency of the ExperimentDAO and will release a first improvement including the changes you suggested with the upcoming release 2.2

We addressed this issue in version 2.2, with further improvement already in the pipeline for 2.3 - closing this issue for now


added german translation

this change also adds support of i18n in general
this PR finalizes #205

ack squash&&merge


Log Analytics workspace -Advance Settings

When I go to Log Analytics workspace - Advance Settings the page is empty. How do I add custom logs?

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

ID: cf637b70-eb07-3fd7-4594-c52af96f5ad8
Version Independent ID: 29eced7b-1277-4ee1-21d0-0079d6b95a2f
Content: Collect custom logs in Azure Log Analytics
Content Source: articles/azure-monitor/platform/data-sources-custom-logs.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

So it appears the Log Analytics Agent is installed on the VM and connected, but again under "Advanced Settings" in the work space there are no options available.

So after wasting hours trying to solve this, it turns out this can't be done through the portal? It must been done in OMS. Why is this not specified in the documentation?

@Placid7 my 'Advanced settings' page was initially blank as well, but it loaded after a few seconds:

Could you try it again?

similar behavior - blank page when opening advanced settings. Has anybody managed to contact support? My MSDN subscription does not have an option - they encourage me to tweet about it instead....

Use Chrome. Edge is not worked at advanced setting page.

Has this been escalated? I mean Edge is a Microsoft product...
Ryan Thomas
https://www.youracclaim.com/badges/b9658791-3567-4cb3-a732-1dd62bd1ad5f/public_url[image:
AWS Certified SysOps Administrator - Associate]
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.certmetrics.com_amazon_public_badge.aspx-3Ft-3Dc-26d-3D2018-2D08-2D27-26i-3D3-26ci-3DAWS00579858&d=DwMGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=jvkAcSQ7RiMnu7HAmudKi7vIb3_7KSHix53uhg9WKcc&m=Ku-p9sLyVWyf_TWnJX3WnQHQucsR_E7PDJ1x9QgoOPQ&s=ExeFzLjWRjscGXOznuUSqApsIQpyjC66zXpe-z8K5Mg&e=
On Thu, Jul 4, 2019 at 10:43 AM Takashi Uesaka<EMAIL_ADDRESS>wrote:

Use Chrome. Edge is not worked at advanced setting page.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/19863?email_source=notifications&email_token=AD5PF4Q6AW6TCEE4UUSLACDP5YLBXA5CNFSM4GH2ZW3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHXFYQ#issuecomment-508523234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD5PF4SFDGUMQXS2B7ZCUFLP5YLBXANCNFSM4GH2ZW3A
.


[Feature] Please consider reducing error logging

Relates to version adapter version 0.6.0
When the tohma site is out of order for any reason the adapter should log this event as he already does. But if the failure last longer than 2 or 3 retries the adapter should NOT log any more identical failures but only switch info.connected to false and (hopefully) log the reestablish of the link later.
Currently hundreths of warnings fill up the log without any addition information. One could switch to debug logging if he is interested in all errors. Optional a configuration switch could be implemnted to diasable suppression of redundant loggings if it is really desired.
Example of log following (only extract, not all messages):
tahoma.0 | 2022-03-29 15:38:47.014 | warn | refresh device state failed
-- | -- | -- | --
tahoma.0 | 2022-03-29 15:38:46.893 | info | eventRegisterID = d5e67ddd-98e4-e192-4d47-d4fa74774280
tahoma.0 | 2022-03-29 15:38:28.436 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:33:26.927 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:33:26.809 | info | eventRegisterID = d5e19b88-98e4-e192-4d47-d4fa0be86c9e
tahoma.0 | 2022-03-29 15:33:09.398 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:28:06.839 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:28:06.731 | info | eventRegisterID = d5dcb939-98e4-e192-4d47-d4fa46919185
tahoma.0 | 2022-03-29 15:27:48.992 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:22:46.768 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:22:46.655 | info | eventRegisterID = d5d7d6ee-98e4-e192-4d47-d4fa97d55352
tahoma.0 | 2022-03-29 15:22:29.795 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:17:26.687 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:17:26.577 | info | eventRegisterID = d5d2f4a0-98e4-e192-4d47-d4fa4770c731
tahoma.0 | 2022-03-29 15:17:12.044 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:12:06.641 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:12:06.527 | info | eventRegisterID = d5ce126e-98e4-e192-4d47-d4faea512946
tahoma.0 | 2022-03-29 15:11:49.578 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:06:46.519 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:06:46.414 | info | eventRegisterID = d5c92ffd-98e4-e192-4d47-d4fab249a065
tahoma.0 | 2022-03-29 15:06:28.926 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:01:26.447 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:01:26.314 | info | eventRegisterID = d5c44d99-98e4-e192-4d47-d4fab944eebb
tahoma.0 | 2022-03-29 15:01:09.190 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:56:06.323 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:56:06.211 | info | eventRegisterID = d5bf6b32-98e4-e192-4d47-d4fa2c04483a
tahoma.0 | 2022-03-29 14:55:50.708 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:50:46.255 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:50:46.140 | info | eventRegisterID = d5ba88ec-98e4-e192-4d47-d4fadcac4bf8
tahoma.0 | 2022-03-29 14:50:27.965 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:45:26.174 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:45:26.055 | info | eventRegisterID = d5b5a697-98e4-e192-4d47-d4fa1e2e4662
tahoma.0 | 2022-03-29 14:45:07.421 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:40:06.101 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:40:05.997 | info | eventRegisterID = d5b0c45d-98e4-e192-4d47-d4fab2bd2af1
tahoma.0 | 2022-03-29 14:39:48.127 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:34:46.051 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:34:45.949 | info | eventRegisterID = d5abe22c-98e4-e192-4d47-d4fa760eb9f4
tahoma.0 | 2022-03-29 14:34:31.446 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:29:26.265 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:29:26.151 | info | eventRegisterID = d5a700f6-98e4-e192-4d47-d4fa2e6aa647
tahoma.0 | 2022-03-29 14:29:07.577 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:24:25.855 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:24:05.848 | info | eventRegisterID = d5a21dc8-98e4-e192-4d47-d4fa96742c4c
tahoma.0 | 2022-03-29 14:23:47.502 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:19:25.906 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:18:45.811 | info | eventRegisterID = d59d3ba4-98e4-e192-4d47-d4fadcea788f
tahoma.0 | 2022-03-29 14:18:29.275 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:14:25.744 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:13:25.738 | info | eventRegisterID = d598595b-98e4-e192-4d47-d4fa2c908d7c
tahoma.0 | 2022-03-29 14:13:07.902 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:09:25.710 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:08:05.682 | info | eventRegisterID = d5937722-98e4-e192-4d47-d4fad4069a32
tahoma.0 | 2022-03-29 14:07:56.065 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:04:25.663 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:02:45.629 | info | eventRegisterID = d58e94ee-98e4-e192-4d47-d4fa2dd340b2
tahoma.0 | 2022-03-29 14:02:30.163 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:59:25.597 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:58:08.563 | warn | Body: "\n\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n \n \n\n\n
\n

\n
\n
\n 	\n \n
\n Server is down for maintenance
\n
\n We are sorry for the inconvenience.
\n Please try again in a few minutes.\n
\n 	\n
\n
\n
\n\n\n\n\n"
tahoma.0 | 2022-03-29 13:58:08.562 | warn | Response: {"statusCode":502,"body":"\n\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n \n \n\n\n
\n

\n
\n
\n 	\n \n
\n Server is down for maintenance
\n
\n We are sorry for the inconvenience.
\n Please try again in a few minutes.\n
\n 	\n
\n
\n
\n\n\n\n\n","headers":{"date":"Tue, 29 Mar 2022 11:58:05 GMT","server":"Apache","strict-transport-security":"max-age=31536000; includeSubDomains","last-modified":"Mon, 16 Dec 2013 13:07:48 GMT","etag":"\"2c3-4eda67f9a1100\"","accept-ranges":"bytes","content-length":"707","connection":"close","content-type":"text/html"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch","path":"/enduser-mobile-web/enduserAPI/events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch"},"method":"POST","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=C1AA8A24FDE2079C970101145F9C7A11","accept":"application/json","content-type":"application/json","content-length":2}}}
tahoma.0 | 2022-03-29 13:58:08.561 | warn | error during tahomalink request: null, request path: events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch with payload:{}
tahoma.0 | 2022-03-29 13:57:26.586 | info | eventRegisterID = d589b6aa-98e4-e192-4d47-d4fa71f25dd1
tahoma.0 | 2022-03-29 13:57:22.948 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:57:10.497 | warn | Body: "\n\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n \n \n\n\n
\n

\n
\n
\n 	\n \n
\n Server is down for maintenance
\n
\n We are sorry for the inconvenience.
\n Please try again in a few minutes.\n
\n 	\n
\n
\n
\n\n\n\n\n"
tahoma.0 | 2022-03-29 13:57:10.496 | warn | Response: {"statusCode":502,"body":"\n\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n \n \n\n\n
\n

\n
\n
\n 	\n \n
\n Server is down for maintenance
\n
\n We are sorry for the inconvenience.
\n Please try again in a few minutes.\n
\n 	\n
\n
\n
\n\n\n\n\n","headers":{"date":"Tue, 29 Mar 2022 11:57:07 GMT","server":"Apache","strict-transport-security":"max-age=31536000; includeSubDomains","last-modified":"Mon, 16 Dec 2013 13:07:48 GMT","etag":"\"2c3-4eda67f9a1100\"","accept-ranges":"bytes","content-length":"707","connection":"close","content-type":"text/html"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","path":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689"},"method":"GET","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=B986E6BA830BCC1F210DDF1D719AAA1C","accept":"application/json","content-type":"application/json","content-length":2}}}
tahoma.0 | 2022-03-29 13:57:10.495 | warn | error during tahomalink request: null, request path: setup/gateways/2003-6731-1689 with payload:{}
tahoma.0 | 2022-03-29 13:55:19.790 | warn | Body: "\n\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n \n \n\n\n
\n

\n
\n
\n 	\n \n
\n Server is down for maintenance
\n
\n We are sorry for the inconvenience.
\n Please try again in a few minutes.\n
\n 	\n
\n
\n
\n\n\n\n\n"
tahoma.0 | 2022-03-29 13:55:19.789 | warn | Response: {"statusCode":502,"body":"\n\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n \n \n\n\n
\n

\n
\n
\n 	\n \n
\n Server is down for maintenance
\n
\n We are sorry for the inconvenience.
\n Please try again in a few minutes.\n
\n 	\n
\n
\n
\n\n\n\n\n","headers":{"date":"Tue, 29 Mar 2022 11:55:19 GMT","server":"Apache","strict-transport-security":"max-age=31536000; includeSubDomains","last-modified":"Mon, 16 Dec 2013 13:07:48 GMT","etag":"\"2c3-4eda67f9a1100\"","accept-ranges":"bytes","content-length":"707","connection":"close","content-type":"text/html"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","path":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689"},"method":"GET","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=B986E6BA830BCC1F210DDF1D719AAA1C","accept":"application/json","content-type":"application/json","content-length":2}}}
tahoma.0 | 2022-03-29 13:55:19.787 | warn | error during tahomalink request: null, request path: setup/gateways/2003-6731-1689 with payload:{}
tahoma.0 | 2022-03-29 13:54:25.547 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:52:05.526 | info | eventRegisterID = d584d086-98e4-e192-4d47-d4fae48364fe
tahoma.0 | 2022-03-29 13:51:47.042 | warn | refresh device state failed

same with my installation. Regardless the version of the Tahoma adapter I get the same warnings. No refresh of datapoints.
tahoma.0 | 2022-03-31 12:56:41.362 | warn | refresh device state failed
tahoma.0 | 2022-03-31 12:56:39.594 | info | Configured polling interval: 30000
tahoma.0 | 2022-03-31 12:56:39.593 | info | [START] Starting adapter tahoma v<IP_ADDRESS>
It may have to do with the last Tahoma Box update. Not sure.
Same with version 6.0 of the Tahoma adapter.
Regards
Andy

I see the samme issue now. Likely something has change on Somfy's side. I need to check it.

Hi Exodibur,
thanks! Great job! Seems to be it's working:

tahoma.0
2022-03-31 17:15:02.985
info
eventRegisterID = e08b58b6-98e4-e192-4d47-d4fa8b5e44b8

tahoma.0
2022-03-31 17:15:00.810
info
Configured polling interval: 30000

tahoma.0
2022-03-31 17:15:00.808
info
[START] Starting adapter tahoma v<IP_ADDRESS>

tahoma.0
2022-03-31 17:15:00.602
info
starting. Version 0.6.1 (non-npm: Excodibur/ioBroker.tahoma) in /opt/iobroker/node_modules/iobroker.tahoma, node: v14.19.1, js-controller: 4.0.21

I will monitor it and keep you posted.
Regards
Andy

By the way the Tahoma box is saying that an update is available again. I guess it is better to wait......

Thanks for the feedback. I just installed the latest Tahoma update, and everything looks ok with 0.6.1 until now.

Just installed v0.6.1 from github as not yet available in repo (incl. latest). (I know that repo list is updated twice a day only).
Adapter started normally without any error.
As I do not use Tahoma switch very much, I started Tahoma switch update (1.9.0 / 29.3.2022) now. I'll report tomorrow if I see any new (or old) issues.
Thanks for the support of this adapter.

@Andy-47 , @mcm1957 Thanks for the updates so far!
In case this adapter version behaves stably over the next 24 hours, I will also push 0.6.1 to the ioBroker STABLE repo, as the latest issue likely affects all users with older adapter releases.

I just updated to the lastest Tahoma version. Still no issue yet....

Just as feedback for v0.6.1
No issues and no logs until now.
Latest Repo seems to list v0.6.0 still as admin liste 0.6.0 as available version

Thanks for the feedback! I was just able to also pull 0.6.1 from latest repo by now, so it seems like it was updated.

PR zur Übernahme in den STABLE branch: https://github.com/ioBroker/ioBroker.repositories/pull/1753


Fix issue #20: Support git repo in linked/mapped path

Note: I had to create another version of ChangedProjectsTest that is running on a linked path/folder.
The alternative would have been a larger refactoring of BaseRepoTest which I didn't have the time for.

Travis build passed: https://travis-ci.org/vackosar/gitflow-incremental-builder/builds/448996413


Add CNAME to pages deployment step

I have read the Contributor License Agreement and I hereby accept the Terms.


Release v0.27.0

https://github.com/vmware-tanzu/carvel-vendir/releases/tag/v0.27.0
https://community.chocolatey.org/packages/vendir/0.27.0

https://twitter.com/rastadidi/status/1522317063326339072


[BUG REPORT]: NCEP-RTMA-RU files storing without date

Acquirables/Products have been storing in S3 and DB with only a time (no date) which has resulted in files overwriting (bad records prior to current day).
Remedy:

[ ] Add date to acquirable via airflow change
[ ] purge database productfiles without date

Good catch @adamscarberry

example file value in productfile looks like:
cumulus/products/ncep-rtma-ru-anl-airtemp/rtma2p5_ru.t1130z.2dvaranl_ndfd.grb2.tif
Will run the following sql to cleanup:
delete from cumulus.productfile
where product_id = 'e4fdadc7-5532-4910-9ed7-3c3690305d86'
and file not like '%airtemp/20%'

re-ran a small time window back.  doesn't really matter until we get https://github.com/USACE/cumulus/issues/290 resolved


MJML Online Broke My Landing Page

Hi,
I think that the MJML try-it-live version has updated, as it looks different and things no longer work on old links. Below is a landing page that I created with a simple login form, which no longer displays on 4.3.0. Would anyone be able to have a look and know why it no longer shows, as it used to in a previous version.
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-image width="100px" src=""></mj-image>
        <mj-text align="center" font-family="Helvetica" font-size="23px">Welcome back</mj-text>
        <mj-spacer height="5px"></mj-spacer>
        <mj-text padding="0" align="center" font-family="Helvetica" font-size="15px" color="#898989">Don't miss your next opportunity. Sign in to stay updated on your professional world.</mj-text>
      </mj-column>
    </mj-section>
    <mj-section padding-bottom="0">
      <mj-column padding="0" width="120px">
        <mj-text></mj-text>
      </mj-column>
      <mj-column padding="0" width="360px">
        <mj-text padding="0">

          <form style="float:center;" method="post">
              <input type="text" placeholder="   Email or Phone">

                <input type="password" placeholder="   Password">

                  <input type="submit" value="Sign in"></input>

          </form>
      </mj-column>
      <mj-column padding="0" width="120px">
        <mj-text></mj-text>
      </mj-column>
    </mj-section>
    <mj-section padding-top="0">
      <mj-column>
          <mj-text font-size="15px" font-family="Helvetica" padding-top="0" align="center">Forgot password?</mj-text>
          <mj-text font-family="Helvetica" font-size="15px" align="center">New to LinkIn? Join now</mj-text>
          <mj-divider border-width="1px" border-color="#898989"></mj-divider>
          <mj-text align="center" font-family="Helvetica">LinkIn © 2019    User Agreement    Privacy Policy    Community Guidelines    Copyright Policy</mj-text>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>```

Thanks in advance,

Hi @FasterThanGoogle there is a closing tag </mj-text> missing after your </form> tag, if you add it then it renders fine.
Also, your style should rather be in the <mj-head>, in a <mj-style> tag, so that it will be inserted in the  of the page.
Finally, note that mjml is made for making emails, not for making a regular web page, but i think iryusa already told you this ;)

@FasterThanGoogle also note that you can avoid repeating mjml attributes (i.e. your font-family) by using mj-attributes : https://mjml.io/documentation/#mjml-attributes


scripts: kconfig: Add min/max functions

Similar to arithmetic functions, min/max can be useful to use in kconfig.

We need to have all of these arithmetic functions documented in https://docs.zephyrproject.org/latest/build/kconfig/preprocessor-functions.html


How to make page as default?

I initialized site as CMS.
Then I want to have just a single page without any menus.
I created page.
How to set it as default? To be open with no route specified

In the definition of the Page content type, go to the AutoroutePart settings and check 'Show homepage options'.
Then, edit your page and you will see a 'Set as homepage' checkbox.


Copy data only when there are fields

In case the migration has removed all fields but before dropping the
table (in case some other one-to-one relationship is still referencing
it).
An example is a migration that removes the last foreign key field of a model that is referenced by the model whose foreign key is being removed (e.g. one-to-one relationship).
After removing the last field, doing the copy generates an invalid INSERT such as this:
INSERT INTO "app_model__new" () SELECT  FROM "app_model"

Sounds like https://code.djangoproject.com/ticket/24424. Please see the discussion there. If you want to author a patch, please also include a regression test and send the pull request to master. Thanks!

Thanks @timgraham . Let's try again.


Allow exposing pages as govspeak based on an env variable

To simplify coordination of content change requests between content designers
and developers we're going to expose Smart Answer outcomes as govspeak by
appending .txt to Smart Answer outcome URLs. This will allow content designers
to copy, paste and modify (in their text editor) govspeak. Currently they are
'reverse-engineering' it from HTML outputs.
We do not want to expose this feature to the wide public, but we want to enable
it on preview. The main concerns for not exposing it in production are:

a fear of needing to support it in a long term
it is an internal 'tool' and it feels clunky to have it available in production

This also sets EXPOSE_GOVSPEAK=true on heroku instances and documents it in README.
NB.: I've submitted a PR to the private repo that sets this env variable to true on dev VMs and in the preview environment.

Other than my small suggestions, this LGTM :+1:

Thanks for feedback. I've made some tweaks, could you have another look please?

LGTM :+1:


Bump version of submodules.

Bumping: ot-comissioner,
ot-br-posix,
openthread

Thanks @canisLupus1313. We should align the Nordic Connect SDK SHA to a similar OpenThread commit.


Tabs container receives visual focus indicator when clicking in the container

https://angular-step-6-carbon-tutorial.netlify.com
Clicking on "What is Carbon?" or anywhere in the tab container that doesn't have its own focus puts visible focus on the tab container, resulting in an unexpected browser focus indication on the tab container. See blue in this screenshot:

This is a discrepancy with the React implementation, e.g.:
https://react-step-6--carbon-tutorial.netlify.com/#/

This is to follow the W3 tabs aria guidance - https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-1/tabs.html
Tab panels should have a tabindex="0" to allow assistive technology users the ability to navigate to the panel content. In this case we may be able to use the tabs isNavigation property, but we'll still need to make sure the content can be reached.


Separated serialization and validation schemas.

Codecov Report

Merging #16 (c8f8293) into develop (b206c84) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@            Coverage Diff            @@
##           develop       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          313       313
=========================================
  Hits           313       313

Files Changed
Coverage Δ

aiohttp_deps/swagger.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bypassed sensor desabeling

Hi,
Can I suggest to change the use of bypassed sensors, when we activated alarm with an open windows (for exemple) this windows sensor it's in bypassed sensor, but when we closed this windows, the windows sensor didn't go out of bypassed sensor.
It is possible to allow this fonctionnality to go out of bypassed sensor when for this exemple the windows was closed. (useful in this season while I have à lot of windows open at night, but if my children closed the windows the sensor not trigger the alarm)
Thanks a lot (I'm sorry for my bad english, this isn't my mother language)

Can I suggest to change the use of bypassed sensors, when we activated alarm with an open windows (for exemple) this windows sensor it's in bypassed sensor, but when we closed this windows, the windows sensor didn't go out of bypassed sensor.

This setting should give you exactly that effect:

It is possible to allow this fonctionnality to go out of bypassed sensor when for this exemple the windows was closed. (useful in this season while I have à lot of windows open at night, but if my children closed the windows the sensor not trigger the alarm)

I don't understand this.
If the sensor is bypassed (using the setting above) you can open+close the window, it will not trigger the alarm.
If you want to be able to open the window without being bypassed, you need to remove it from the alarm.

@nielsfaber I'd like to have the possibility to activate the alarm with a window open but if the windows closed and open back it's trigger the alarm.
In france we have windows tilt and turn then in summer we will stay wndows open during the night to cold the house.
But if a burglar would come in home he closed the window an open it again to come in. (but with the option Bypass automatically the alarm wouldn't trigger.

If you really want this, you should clear the type of the sensor empty and select the ‘allow open’ setting.
This is intended for motion sensors but has the effect that the initial state is ignored.

Yes thats work great thanks


Crash? Crash.

Here's the report, it happens when I create a new world: http://pastebin.com/89bZ6Ad8

What version of Tall Worlds Mod are you using? What Version of M3L are you using? Posting your log would help too.
I should really hack the crash reports to include these things...

@cuchaz It seems if you use M3L v0.3 & TWM it crashes.
(To solve, uninstall v0.3, and install v0.2)

Again, what version of Tall Worlds Mod? If you're mismatching versions between TWM and M3L, that probably won't work.

Actually, looking at the current TWM build.Gradle, the dependency, and the error thrown relates to binary compatibility (I think) so there was probably a breaking change in M3L. This could be considered an M3L bug I guess.

Latest version required M3L 0.3 (it's 0.2 in build.gradle because until recently 0.3 wasn't available in maven repository).
Previous beta release of TWM won't work with new M3L (compatibility breaking changes). I don't think backwards compatibility (or any compatibility at all, except what is required to actually run it) is Cuchaz's priority in this development stage.

Yup. Backwards compatibility is not a goal at this point. These are 0.x releases.


General: Fix responsiveness in user list view

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context

There are some responsiveness issues in the header of a course user list view:

Description

Fixed those issues by replacing some weird float styles with proper flexboxing
Steps for Testing

Prerequisites:

1 Instructor

Log in to Artemis
Navigate to a Course Page
Scroll down, click the name of the student group (or instructors, tutors ...)
In the list view, resize your viewport horizontally like in the video and make sure that everything looks good and is responsive

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Screenshots

@jschmautzer That's not too weird, the reason is that on smaller screen widths the borders around the content vanish to use the space more effectively (looks at the left and right borders of the screen)

@ge65cer @Hialus I pushed a suggestion in 71eb849
https://user-images.githubusercontent.com/23171488/182680130-e5a3ee90-1a9a-4681-856f-71a4365b745b.mov


Manage the sync over the Graph Api

Similar to this document https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/export-import-provisioning-configuration I was wondering if you can leverage the actions that we can do with the AAD DS enterprise app over the MS Graph API.
There are 2 requests here:

Empower us to make a restart (Full Sync and run a Full Re-Evaluation) as we can do over the other SaaS Applications. By doing the "https://graph.microsoft.com/beta/servicePrincipals/ObjectID/synchronization/jobs/ DCS.123456/restart"
Let us manage this scope over the Graph Api

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

ID: 9aa065e4-a8b1-5986-8778-b63d5c509db8
Version Independent ID: d28e4ec6-17e6-446c-89fc-7a8658d13185
Content: Scoped synchronization for Azure AD Domain Services
Content Source: articles/active-directory-domain-services/scoped-synchronization.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@aleazofeifam

Hello @aleazofeifam unfortunately the active directory domain services are not supported with the Microsoft Graph API. All APIs related to AAD DS can be found here : https://docs.microsoft.com/en-us/windows/win32/ad/using-active-directory-domain-services
@aleazofeifam Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day monday. Please file a new git issue with a reference to this one if you have anymore concerns. Thanks


Return value from select query if passed to jsonutils causes null pointer

Description:
The select query on a jdbc:Client returns a table event if the result of the query is a table of subrecord type and returned value is a super record type. In this case (result is empty) if the table returned is called with the jsonutils:fromTable(tableVal) then a null pointer appears in ballerina-internal.log
[2019-11-06 15:14:12,892] SEVERE {b7a.log.crash} - null
java.lang.NullPointerException
	at org.ballerinalang.jvm.JSONUtils.toJSON(JSONUtils.java:577)
	at org.ballerinalang.stdlib.jsonutils.FromTable.fromTable(FromTable.java:46)
	at ballerina.jsonutils.jsonutils.fromTable(jsonutils.bal:37)
	at choreo.api.$value$ApplicationService__service_1.findApplicationByCriteria(application_service.bal:63)
	at choreo.api.$value$ApplicationService__service_1.call(application_service.bal)
	at org.ballerinalang.jvm.values.connector.Executor.lambda$submit$0(Executor.java:76)
	at org.ballerinalang.jvm.scheduling.SchedulerItem.execute(Scheduler.java:411)
	at org.ballerinalang.jvm.scheduling.Scheduler.run(Scheduler.java:202)
	at org.ballerinalang.jvm.scheduling.Scheduler.runSafely(Scheduler.java:175)
	at java.lang.Thread.run(Thread.java:748)

Steps to reproduce:
Select query that returns table of ApplicationResponse :
table<domain:ApplicationResponse> result = check connection->select(QUERY_SELECT_ALL_APPLICATIONS, domain:ApplicationResponse,  userId);
The function returns a table of Application that is a supertype of ApplicationResponse
Pass the result(table of Application) to jsonUtils:
jsonutils:fromTable(result)
public type Application record {|
    string id;
    string name;
    string description;
    string user_id;
|};

public type ApplicationResponse record {|
    string id;
    string name;
    string description;
|};

Affected Versions:
1.0.2
OS, DB, other environment details and versions:
Mysql 8.0.17

Can you please share the reproducible code?

This is an issue discussed with @anupama-pathirage

Sample code to reproduce the issue
import ballerinax/java.jdbc;
import ballerina/io;
import ballerina/jsonutils;

jdbc:Client testDB = new ({
    url: "jdbc:h2:file:./testissue/testdb",
    username: "test",
    password: "test",
    poolOptions: { maximumPoolSize: 5 }
});

public type Application record {|
    string id;
    string name;
    string description;
    string user_id;
|};

public type ApplicationResponse record {|
    string id;
    string name;
    string description;
|};

public function main() returns error? {
    populateData();
    table<Application> t = check getResult();
    io:println("table:", t);
    json j = jsonutils:fromTable(t);
    clearData();
}

function populateData() {
    var ret = testDB->update("CREATE TABLE APPLICATION (id VARCHAR(30), name VARCHAR(30), description VARCHAR(30), userid  VARCHAR(30))");
    io:println(ret);

    ret = testDB->update("INSERT INTO APPLICATION(id,name,description, userid) VALUES ('AAA', 'app1', 'app1-desc', '1')");
    io:println(ret);
}

function clearData() {
    var ret = testDB->update("DROP TABLE APPLICATION");
    io:println(ret);
}

function getResult() returns  @tainted table<Application>|error {
    table<ApplicationResponse> result =  check testDB->select("Select id, name, description from APPLICATION where userid = ?", ApplicationResponse,  "1");
    return result;
}

Thank you!
Without the println in the following code also the error was noticed if I am not mistaken:
public function main() returns error? {
    populateData();
    table<Application> t = check getResult();
    io:println("table:", t);
    json j = jsonutils:fromTable(t);
    clearData();
}

I think the following should fail at compile time:
function getResult() returns  @tainted table<Application>|error {
    table<ApplicationResponse> result =  check testDB->select("Select id, name, description from APPLICATION where userid = ?", ApplicationResponse,  "1");
    return result;
}

Here we have allowed assigning a super-type table<ApplicationResponse> to a subtype table<Application>. A simple sample is bellow:
table<ApplicationResponse> appResp =  checkpanic testDB->select("Select id, name, description from APPLICATION where userid = ?", ApplicationResponse,  "1");
table<Application> app = appResp;

But this is not correct IMHO since it violates the sub-typing.  table<Application> can be assigned to table<ApplicationResponse>, but not the other-way around.
@hasithaa Thoughts?

@riyafa Despite the type validation issue, seems like you are trying to get a result with 3 columns, and pass it to someone who expect a result with 5 columns.. Thats doesn't seems correct to me. Is that a valid use-case?

This is not a valid usecase. It doesn't give me a pointer to why this is not valid. It gives a null pointer later on in the processing step. I fixed it by changing the return value:
function getResult() returns table<domain:ApplicationResponse> {
    table<domain:ApplicationResponse> result = check connection->select(QUERY_SELECT_ALL_APPLICATIONS, domain:ApplicationResponse,  userId);
    return result;
}

Ack. Thanks for the update.
So the root cause/issue is the table type validations are being not properly implemented, and as a result it doesn't give a proper error at compile-time/runtime. This is a spec deviation in the implementation. I have created a separate issue https://github.com/ballerina-platform/ballerina-lang/issues/19970 for tracking.
Im closing this one, since the specific use-case is resolved. Feel free to reopen if you need further assistant with this.


Expose called in master thread error using Electron + Vite

I have an electron application I have created using Vite and Vue 2 that I wish to use the ThreadsJS plugin for. Vite uses Rollup under the hood to do the bundling, and so I came across this package to do the Rollup Configuration setup for ThreadsJS for me.
Overview of Error
I am experiencing the following error when following your example creation of a BlobWorker in the Renderer Process of my Electron applicaton:
Uncaught Error: expose() called in the master thread.
    at expose (:8080/@fs/W:/Lab/exp/moseq-reports/node_modules/.vite/threads.js?v=a8553044:2108)
    at :8080/components/Worker.ts:2

This error would indicate to me that perhaps the rollup configuration is picking up of the Worker files I have defined and therefore it is not bundling them to be imported properly into other files. It gets generated when the default import of the Worker file executes.
Reproducing Error
I used this  repository to generate the boilerplate files for me. I then created a test component listed below called Hello.vue to test the ThreadsJS library.
The worker file I have created is called Worker.ts and is an exact clone of the Worker example in the README in this repository. For completeness, the file is copied below.
// Worker.ts
//Imports
import { expose } from "threads";

//Expose the worker
expose((input: string) => {
    return `Worker received: ${input}`;
});

//Export (TypeScript only; replaced by bundled worker code)
export default "";

My usage of the Worker file is the following which is invoked in a Vue component in the Renderer Process of the electron application. The intended behavior is to launch the worker thread (mainly for testing purposes) via a button press and then simply print the output to the console (much like the example does in the README).
// Hello.vue
<template>
    <div>
        <b-button v-on:click="this.buttonClick">Test</b-button>
    </div>
</template>

<script lang="ts">
import Vue from "vue";
import { BlobWorker, spawn, Thread } from "threads";
import WorkerText from "./Worker";

export default Vue.extend({
    methods: {
        buttonClick: async function () {
            const worker = await spawn(BlobWorker.fromText(WorkerText));
            console.log(await worker("Hello, World!"));
            await Thread.terminate(worker);
        },
    },
});
</script>

Configuration Details

Node: 16.13.2
Yarn: 1.22.17
Threads: 1.7.0
Rollup-plugin-threads: 1.2.0
Typescript: 4.5.5
Vite: 2.8.3
Rollup: 2.67.2
Electron: 16.0.9

My Rollup configuration file is nested in the vite.js file I use to configure Vite itself, but it is below:
// vite.js
const Path = require("path");
const { createVuePlugin } = require("vite-plugin-vue2");
const { defineConfig } = require("vite");
const threads = require("rollup-plugin-threads");
const urlResolve = require("rollup-plugin-url-resolve");
const commonjs = require("@rollup/plugin-commonjs");
const resolve = require("@rollup/plugin-node-resolve");

/**
 * https://vitejs.dev/config
 */
const config = defineConfig({
    root: Path.join(__dirname, "..", "src", "renderer"),
    publicDir: "public",
    server: {
        port: 8080,
    },
    open: false,
    build: {
        outDir: Path.join(__dirname, "..", "build", "renderer"),
        emptyOutDir: true,
    },
    plugins: [
        threads.default({
            plugins: [resolve.default(), commonjs(), createVuePlugin()],
            verbose: true,
            include: ["../src/**/Worker.ts"],
            external: ["events", "os", "path", "tty", "util"],
        }),
        createVuePlugin(),
        urlResolve(),
    ],
    resolve: {
        alias: {
            "@": Path.join(__dirname, "..", "src", "renderer"),
        },
    },
    external: ["child_process", "events", "os", "path", "tty", "util"],
});

module.exports = config;

If there is anything else you need to know, let me know and I will do my best to provide what is requested.

I believe you're correct - the parent Rollup bundler (Vite) is bundling the worker, not the child bundler.
I'm a bit suspicious of the include option. Can you post the full build output (Especially containing the Bundling worker at... lines)? That way, we can confirm your hypothesis. If you don't see that line in the logs, you may want to update the plugin's config to :
include: [Path.join(__dirname, "..", "src", "**", "Worker.ts"]

Hi, sorry for the inactivity. I have changed the include path to what you have suggested, but I am still getting the output you requested regarding the build process for the rollup plugin. This may be due to Vite, and the way the build process is configured with the Main and Renderer process being bundled together in different steps.
The only output I can get is from the expose called in master thread error which I will post below:
Error: expose() called in the master thread.
    at expose (W:\Lab\exp\electron-vue-template\node_modules\threads\dist\worker\index.js:146:15)
    at Object.<anonymous> (W:\Lab\exp\electron-vue-template\build\main\Worker.js:6:22)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (W:\Lab\exp\electron-vue-template\build\main\main.js:19:34)

Let me know if this helps. I can try and dig further for more output, but in my initial exploration, it seems like things are a little bit "hidden" for lack of a better word.

I admittedly haven't tried Vite with this plugin but have you tried setting Vite's logLevel? We're looking for a log entry along the lines of [Threads Plugin 📦] Bundling worker at /full/path/to/worker/entrypoint.

Closing due to inactivity.


Add Pseudo Inverse to linalg

[WIP] unit test and using for_each is left

Cool! Remeber to add also a unit test to check your implementation (so that we know that it works correctly).


Set initial focus

With this change, we set the focus on a button toward the center of the
board, initially.

This makes the initial game state look weird for users using touch/mouse:

I'll have a think on ways to work around this.

https://deploy-preview-473--gravitongame.netlify.com/?no-cache


Failed to read a named property 'href' from 'Location': Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.

In which versions of the package (and relevant enviroment tools such as Node.js) have you observed the bug?
1.7.0
What steps will reproduce the bug?
Try to use iframe with different origin
What behavior did you expect?
No more error
What actually happened?
Failed to read a named property 'href' from 'Location': Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.
Workaround
No response
Proposed fix
Fix waitForLoad function, which is reading contentWindow?.location.href
Other remarks
No response
Contribution

[ ] I would like to try to contribute a fix

What would you propose instead? The iframe system needs a way to check that the iframe is ready. You can also use the lower level transport if that unblocks you, btw.


[feature request] Add purge cache option to "react-native bundle" command

Hi,
It cost me over an hour to figure out why my pre-bundle js not get updated after some code changes, it's because "react-native bundle" command is using caches.  I find where the cache is by using the "--verbose" option.
The command line help doesn't provide any option relates to the cache used, it will confuse people who meet the same issue.

+1

cd /var/folder && sudo find -name react-packager*

@skatou Thanks, for reporting good to see I'm not alone with this issue.
I also wasted few hours on it until found this thread.
@fov42550564 thanks, deleting the cache worked for me.
Any plans for permanent  solution?

+1

While there is no command to ONLY clear the cache, the packager now can clear cache at startup.
react-native start --reset-cache
It would be a great PR to separate this functionality into a separate command!


Rust API Misspellings

The following API function definitions incorrectly spell privilege as both privlidge and priviledge. Additionally, OnCupboardDeauthorize incorrectly Puts("OnCupboardAuthorize...").
void OnCupboardAuthorize(BuildingPrivlidge priviledge, BasePlayer player)
{
    Puts("OnCupboardAuthorize works!");
}

void OnCupboardClearList(BuildingPrivlidge priviledge, BasePlayer player)
{
    Puts("OnCupboardClearList works!");
}

void OnCupboardDeauthorize(BuildingPrivlidge priviledge, BasePlayer player)
{
    Puts("OnCupboardAuthorize works!");
}

The first is actually right, it has to be spelled that way for Rust as it
is misspelled in Rust. The second can be fixed though.

Fixed what can be fixed, thanks. ;)

Thank you.


Detect usage of env() function outside from config folder

Hello,
In order to be able to use the config:cache command, we need to ensure that our project only use the env() function inside config files.
See related laravel documentation: https://laravel.com/docs/10.x/configuration#configuration-caching
Unfortunately, it seems that many developers are not aware about this and I can found usage of env() function in most of the projects I joined in the last few years.
I am looking for a solution to detect usage of env() outside of config files and make our CI to fail if that happens, so we can safely use the config:cache command during deployments.
I did not find any rule to detect that in Larastan and I was thinking that it could be a good feature to add.

Very nice feature request!
PHP-CS-Fixer is not able to do that.
I use PHPCS: https://github.com/szepeviktor/running-laravel/blob/530dce9bb68f27e1b02d4cc41842e077051d43c5/phpcs.xml#L7-L77


grammer mistake in documentation of delfin

Issue/Feature Description:
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

done


csv-report - script, pipeline, samples

Script and sample pipeline for querying the GHAzDO alert APIs and uploading a CSV report of an org's alerts for each repo as an artifact.
See: Sample Report
Script Filters include:

individual repo vs all repos
severities ("critical", "high", "medium", "low")
states ("active", "fixed", "dismissed")
alert types ("code", "secret", "dependency")
SLA based on severity and # Days open

Columns include:

"Alert Id"
"Alert State"
"Alert Title"
"Alert Type"
"Rule Id"
"Rule Name"
"Rule Description"
"Tags"
"Severity"
"First Seen"
"Last Seen"
"Fixed On"
"Dismissed On"
"Dismissal Type"
"SLA Days"
"Days overdue"
"Alert Link"
"Organization"
"Project"
"Repository"
"Location Paths"
"Logical Paths"

I think the one metacomment I might make is whether we should consider any changes to improve support for running both in and outside of pipelines.
In a similar vein - would it make sense to support passing in a scope to grab alerts from via Param vs. the inline variable?

Script started from another template that was meant for AzDO pipeline, but i have modified it so you can run a bit easier with params.  Added a scope param to control org/proj/repo reporting


Implement a package and original package or fallback version check for special cases

Includes:
Implementing a package and original package or fallback package name version check for special cases, such as the renamed "app.grapheneos.pdfviewer"  and likely in the future, the trichrome apps.
Now includes: refactor of InsatllStatus.Pending callback and a separate function for filtering InstallStatus.Updatable apps.

At the moment, this is hardwired because original-package only is applicable towards system apps.
This also provides a future infrastructure for checking a version check for static library apk by a case-to-case basis

Futthermore, this will now install and update its own lastly.
Currently, there is no implementation to pass along the number of updated apps automatically upon app restart, if it includes updating itself.

will open in main repo instead


Blackbox Exporter guide

cc @brian-brazil @juliusv @RichiH
This is now ready for review.

I likely won't get to this until Tuesday. One initial comment is that building out a custom Python app including a full framework is unnecessary. Use what you have already, such as the node exporter.

One initial comment is that building out a custom Python app including a full framework is unnecessary. Use what you have already, such as the node exporter.

If we just want to probe for a 200 response status code, I agree.
Another option would be to make the example more complex and return a specific string that we probe for in the HTTP response (you know, like checking that some API call contains expected fields) - that would be a better reason for introducing custom code, but it would also make the example less basic.
As a third option (and one I generally like), we could omit running the probe target altogether and just probe public targets like https//google.com, https://prometheus.io/, and https://twitter.com.

A fourth option, which is probably out of scope here, would be to extend blackbox_exporter to tackle more complex checks.
More within scope would be the keep a truly basic howto (Julius #3) and extend to a more complex custom API checker thing later (Julius #2)

@juliusv I do like the simplicity of probing a public target like that. I'll push a new draft that takes that approach and we'll see what Richie and Brian have to say 😄

The risk with public targets is that the content may change, or we could be limited by anti-abuse stuff. You will also run into v6 issues on all those endpoints. Something local is safest.

@lucperkins Are you still interested by this?

@roidelapluie I'm no longer with the CNCF, so it's unlikely that I will ever complete this.

@lucperkins Can I take over your branch and take it to the finish line?

@roidelapluie Absolutely! You have my full endorsement 💯


GitHub Authentication: Select Authentication Browser

When signing in to GitHub from vscode, my default browser (Edge) opens a tab for authentication.
The problem is that I want to authenticate to a user which is logged in on a different browser (Firefox) (***).
It would be nice to have some sort of settings configuration to specify what browser (or app) should be used for authentication, or an additional authentication command that dynamically asks the user to specify what browser (or app) to use for authentication.
Another solution for this issue would be to have a list of accounts that are signed in, and a new interface for selecting the current active one.  Something like the following vscode commands:

"GitHub Authentication: Sign In to New Account"
"GitHub Authentication: Sign Out of Account"
"GitHub Authentication: Select Active Account" (meaning the account for push/pull e.t.c)
"GitHub Authentication: Sign Out of All Accounts"
"GitHub Authentication: Show All Signed in Accounts"

This could also help streamline managing GitHub Copilot access with:

"GitHub Authentication: Select Copilot Provider Account"

(***) Of course an 'easy fix' would be to log in to that account on the default browser, the reason this is problem for me
is because I need to manage multiple GitHub accounts and using multiple browsers is my way of doing so without constantly logging in and out of accounts.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


chart: Allow to disabling kube-rbac-proxy and expose metrics

corrections to PR
chart: Allow to disabling kube-rbac-proxy and expose metrics #511
this chart will allow setting in the values.yaml
        kube_rbac_proxy:
            enabled: false

then metrics will be accessible via
http://actions-runner-controller-mojanalytics-metrics-service.actions-runner-system:8080/metrics
assumming the actions-runnner-controller is deployed at namespace actions-runner-system
this is an alternative to
chart: Add service monitor and remove kube_rbac_proxy leftovers #527
which i could not get to work.
sorry. just thought i would submit this as an alternative. you folks decide what you want to do. I'm just trying to get a metrics endpoint to work -)

Can you open this against my branch instead of master? So we don't step on each other's work

Can you open this against my branch instead of master? So we don't step on each other's work

but its incompatiable with your change. its an alternative as i couldn't get your change to work on my EKS 1.9 cluster.
I'm not trying to tell you folks how to change your product just sharing my experiences so you can figure out best way to change it -)

tested chart changes in
chart: Add service monitor and remove kube_rbac_proxy leftovers #527
and my pr is no longer necessary
thanks for all your work


Allow for export to subfolder or possibly override datatype

Currently, default file locations are used (share/results/<datatype>). This can get confusing when one datatype is represented by another. E.g. "polygons" is exported to share/results/polygons when an XTgeo polygon object is used, but when multiple polygons are gathered in the same file, they go to share/results/table.
Suggest to allow for overriding where to export so that a pandas dataframe can also be exported to polygons.
Also, with lots of export, this can become messy as some local interaction still happens with the exported files. Consider allowing output_subfolder as an input argument.
E.g. if output_subfolder is given, export will happen to default/output_subfolder.
Example:
output_subfolder="MyFolder" --> Export folder: share/results/<datatype>/myfolder
Use cases for this:

Post-process clean-up scripts are based on folder, not filenames
Find-all mechanisms in visualisation functions or aggregation functions are based on "take all files in this folder".

Closing this as partially solved in #65


created folders for infographics products of the data teams

@elashahar01 why splitting the infographics suggestions and use cases?
Why not have per use case the relevant code and the infographics suggestions in it's directory?

I disagree with Atalya, every infographic suggestion might rise from investigating an use case, but it should be generic for any other relevant use cases.

As Mano wrote, suggestions don't have to be directly related to use case investigations. Furthermore, I believe that this separation will encourage creating clear documentation for FE volunteers.

@elashahar01 @Mano3 ok, thanks! Approving


Scaffold does not detect existing primary key name

Trying to switch a database from database first using flyway to code first using EF. Whenever I scaffold the database (with -d or not), the fluent api (or data annotations) do not register the fact that the existing primary keys on the database are structured like '{entity}_pkey' and assume they are the default 'PK_{entity}'. Looks like I'm going to have to manually specify each as a workaround or rename all of the primary keys.
Table Definition
CREATE SCHEMA "TestSchema";
CREATE TABLE "TestSchema".newtable (
	id varchar NOT NULL,
	CONSTRAINT newtable_pk PRIMARY KEY (id)
)
WITH (
	OIDS=FALSE
) ;

Followed up by running
dotnet ef scaffold "{connectionString}" Npgsql.EntityFrameworkCore.PostgreSQL -d
dotnet ef migrations add DummyCreate

Gives following c# definitions
public partial class npgsqlErrorTestContext : DbContext
{
	public npgsqlErrorTestContext(){}

	public npgsqlErrorTestContext(DbContextOptions<npgsqlErrorTestContext> options)
		: base(options){}

	public virtual DbSet<Newtable> Newtable { get; set; }

	protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
	{
		if (!optionsBuilder.IsConfigured)
		{
			optionsBuilder.UseNpgsql("");
		}
	}

	protected override void OnModelCreating(ModelBuilder modelBuilder)
	{
		modelBuilder.Entity<Newtable>(entity =>
		{
			entity.Property(e => e.Id).ValueGeneratedNever();
		});
	}
}

[Table("newtable", Schema = "TestSchema")]
public partial class Newtable
{
	[Column("id", TypeName = "character varying")]
	public string Id { get; set; }
}

public partial class DummyCreate : Migration
{
	protected override void Up(MigrationBuilder migrationBuilder)
	{
		migrationBuilder.EnsureSchema(
			name: "TestSchema");

		migrationBuilder.CreateTable(
			name: "newtable",
			schema: "TestSchema",
			columns: table => new
			{
				id = table.Column<string>(type: "character varying", nullable: false)
			},
			constraints: table =>
			{
				table.PrimaryKey("PK_newtable", x => x.id);
			});
	}

	protected override void Down(MigrationBuilder migrationBuilder)
	{
		migrationBuilder.DropTable(
			name: "newtable",
			schema: "TestSchema");
	}
}

@roji Updated original comment. I ended up working around the problem by manually adding entity.HasKey(e => e.Id).HasName("{entity}\_pkey"); to each fluent api definition.

@WarrenFerrell thanks for the extra information, it's clear now.
This actually seems to be an EF Core issue - I've just filed https://github.com/aspnet/EntityFrameworkCore/issues/12821. I'm going to close this for now, but will reopen if attention on the Npgsql side is required.


Refactor code and add sh file

Refactor code according to the guidelines
and also add the sh file

.sh is done but refactoring is not


git lfs import causes disconnect with git tfs remotes

Hi,
I'm running v0.28 with TFS client library <IP_ADDRESS> (64-bit), was able to more or less clone with the history we want.
My local repo looks like this:

master
remotes/tfs/BME/BranchMain
remotes/tfs/BranchMain
remotes/tfs/Branches/3-matic_10_0
remotes/tfs/Branches/3-matic_7_0
remotes/tfs/Branches/3-matic_8_0
remotes/tfs/Branches/3-matic_9_0
remotes/tfs/Branches/3-matic_9_1
remotes/tfs/Clinical/BranchMain
remotes/tfs/Clinical/Branches/3-matic_ACE_1_0
remotes/tfs/Core/BranchMain
remotes/tfs/Core/Branches/ApplicationStateService
remotes/tfs/Core/Branches/Renderer
remotes/tfs/Core/Branches/Scripting
remotes/tfs/Core/Maintenance/3.x
remotes/tfs/Core/Maintenance/4.x
remotes/tfs/Core/Maintenance/5.x
remotes/tfs/Features/Renderer
remotes/tfs/Maintenance/6.x
remotes/tfs/Maintenance/7.x
remotes/tfs/Maintenance/8.x
remotes/tfs/Maintenance/MaintenanceSTL7.x
remotes/tfs/ReleaseCandidates/ACE4.0
remotes/tfs/SAM/BranchMain
remotes/tfs/SAM/Branches/3-matic_STL_10.0
remotes/tfs/default

However, since TFS was quite lenient in regards of binary files, our code base contains a lot of binaries files which should be handled by LFS in git.
When looking into how to solve this retroactively after the clone, I noticed that there is a git lfs migrate command which can migrate history of your branch(es).
So there are 2 issues:

For it to work properly on all branches, all those remotes need to be local branches. Is there a way to somehow convert these tfs remotes to local branches ( I think now they are in some packed format in the .git folder). Worst case, I can do this manually.
After running git lfs migrate it seems the rewritten history of the cloned branch become separate from the history in the remote tfs branches. I assume this would cause problems when later on I fetch newer changesets from the clone branch, as the rewritten master and the remotes/tfs/default branch are no longer related to one another?

I hope I'm making sense :).
Is there a way to solve these issues?

Ah, yeah, git lfs import would make git-tfs get confused. Git-tfs relies on there being a common ancestor between its tracking branches and your working branches.

For it to work properly on all branches, all those remotes need to be local branches. Is there a way to somehow convert these tfs remotes to local branches ( I think now they are in some packed format in the .git folder). Worst case, I can do this manually.

Git-tfs's tracking branches are intentionally in refs/remotes/tfs/ and not in refs/heads/, because otherwise it would be far too easy to accidentally change them and make git-tfs really broken. Updating the tfs tracking branches manually is definitely an option. Another one would be teaching git-tfs how to do an lfs import.

After running git lfs migrate it seems the rewritten history of the cloned branch become separate from the history in the remote tfs branches. I assume this would cause problems when later on I fetch newer changesets from the clone branch, as the rewritten master and the remotes/tfs/default branch are no longer related to one another?

git-tfs can operate without caring about your working branches. So, e.g. git tfs fetch --all should update all the tracking branches, regardless of the state of your working branches. You're correct that the tracking and working branches will have diverged, because git lfs rewrites your history. Git's rebase and cherry-pick commands could be useful in moving things around between them, but that's obviously not ideal.

Assuming that

git lfs is installed.
I modify git tfs to commit a .gitattributes file before cloning starts, the same way a .gitignore file gets commited

Will the checkins done by git tfs use the present .gitattributes file?
If yes, I probably will go that route and implement it (and create a pull request for it).

I've answered my own question by actually trying to implement it.
Unfortunately it didn't work, so I went a bit further and

made sure git lfs install was run in the repository working directoy
an lfs filter was configured in libgit2sharp's GlobalSettings that would call the appropriate git lfs commands during commits and pulls

But after all it still doesn't work. I assume this is because Git-Tfs directy manipulates the repositories objectdatabase and filters never get called or checked at all.
This seems like a dead end to me, unless the approach Git-Tfs commits cloned/fetched changes is radically altered (which I don't have time, nor confidence, for to implement).

We are trying to clean up old/stale issues. As this issue hasn't seen any updates (or progress with pull requests) in quite a while, the issue will be closed. In case further information is provided, we can revisit that and reopen the issue again.


what is login admin and pass

https://github.com/lubusIN/laravel-gymie#installation
use the following credentials to log in
email<EMAIL_ADDRESS>password: password

On Mon, Mar 2, 2020 at 2:03 PM Ajit Bohra<EMAIL_ADDRESS>wrote:

Closed #81 https://github.com/lubusIN/laravel-gymie/issues/81.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lubusIN/laravel-gymie/issues/81?email_source=notifications&email_token=AMFUKUPD5EUYULE2UXZSGNDRFNY7HA5CNFSM4K7CINX2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW7766QI#event-3087003457,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMFUKUO2RJWWU53NPHLPU3DRFNY7HANCNFSM4K7CINXQ
.

Its not working when i run it on my local host

Hope you have followed the installation instruction https://github.com/lubusIN/laravel-gymie#installation

On Mon, Mar 2, 2020 at 2:17 PM Ajit Bohra<EMAIL_ADDRESS>wrote:

Hope you have followed the installation instruction
https://github.com/lubusIN/laravel-gymie#installation
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lubusIN/laravel-gymie/issues/81?email_source=notifications&email_token=AMFUKUJ6M7F2RQMNECF5VQDRFN2RRA5CNFSM4K7CINX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENOQ5SI#issuecomment-593301193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMFUKUJTPJFZSNH73UMHR5TRFN2RRANCNFSM4K7CINXQ
.

Yes sir

kindly share the error you are receiving


[FEAT] Export As HTML Document

The project is really cool! I think it would be great to add an option to export the generated code as an .html file since the current implementation only saves the code in local storage. This would also reduce the steps needed to visualize the code locally, as the current setup requires copying twice. What do you think?

Thanks for your feedback! I'll look into implementing this

Feature implemented and pushed! Thanks for your suggestion.


Fix bad type names

A PR for issue 597.
We return str(t) from human_readable_type_name if there's no __qualname__ attribute.

Do we wanna write tests for the change?

A test would be nice, but this is pretty minor so it's not essential. It'd probably be best to catch the exact exception here (AttributeError?) instead of a plain except.

Sounds good. If it is not an AttributeError, we'll just let python help us throw that error.

Yes! Thanks @TommyDew42!

@all-contributors please add @TommyDew42 for code


PEG.buildParser efficiency

What's the proper way to efficiently define a grammar that includes hundreds (if not thousands) of possible values for a given rule?
I'm using PEG.js to drive an autocomplete on my site and it was working great until the number of values grew into the couple hundred.  The parser is built on the fly from a dynamically generated grammar, and it typically locks up the browser for a good 20-30 seconds while building the parser.
Here's an example gist you can try out to see the delay I'm talking about.
https://gist.github.com/1435954

Running a quick profile gave me the following biggest offenders:
indentMultilineParts   42.26%	peg.js?body=1 (line 4429)
formatCode             35.47%	peg.js?body=1 (line 4403)
replace                 8.57%	xregexp.js?body=1 (line 336)
map	                    6.61%	peg.js?body=1 (line 59)

As you correctly discovered, the code emitter is the slow part here. Both the old and new emiter have performance problems with your example.
As a workaround, you may try to split the big choice into many smaller ones. For example, instead of
start = a1 / a2 / a3 / a4 / a5 / a6 / a7 / a8 / a9

you can use
start = a13 / a46 / a79
a13 = a1 / a2 / a3
a46 = a4 / a5 / a6
a79 = a7 / a8 / a9

This causes less passes through the templating engine in the emitter.
I'll keep this issue open because the emiter performance clearly is a problem, but it isn't a big priority for me (performance of the generated parser is).

Thanks I'll keep in that mind.  Right now I'm still using the old version
with the patch above and it's working fine for my needs.

The original Gist is gone (so this is not reproducible anymore), the code generator was rewritten meanwhile, and there are no users complaining about this bug since 2012. Closing.


Support for DotNet 5.0 preview

Changes include new builders for dotnet 5.0 and code to detect if target framework of the project is 5.0

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


Only enable locale support if glib have freelocale()

newlocale() and freelocale() are available since glibc 2.10,
on the Intel Galileo SDK we have glibc 2.00.
Signed-off-by: José Roberto de Souza<EMAIL_ADDRESS>

Please fix the commit message: it's glibc, not glib (different libraries).


Update Protobuf

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2586
https://travis-ci.org/ingenue/hunter/builds/290467727?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2588
https://travis-ci.org/ingenue/hunter/builds/290646072?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.129


Fixed the datetime date format issue

Fixes the Issue: https://github.com/open-admin-org/open-admin/issues/98
Also, the datetime format needs to be in accordance with: https://flatpickr.js.org/formatting/

@SachinBahukhandi  thanks for the fix

The solution is partial (dont think it should not have been merged)
$this->options['format'] = $this->format; <--- wants php date format structure
$this->options['dateFormat'] = $this->format; <--- wants javascript date format structure
To make it work in my case italian date format I hacked it like this:
In date.php:
$this->options['dateFormat'] ='d/m/Y'; //hard coded needs to go from php format to javascript format
In my controller I had to do this:
protected function form()     {
$form->date('date', __('Date'))->default(date('d-m-Y'))->format('DD/MM/YYYY')->customFormat(function ($date) {
$dt=explode("-",$date);
return  ($dt[2]."/".$dt[1]."/".$dt[0]) ;
});;
an in app.php my locale is:
'locale' => 'it',
All very ugly...
Thanks for the reply and help

But what is the Italian date format?
And this was just a fix because it was not taking up the format.
Maybe we could push a FR, if I am not wrong, You mean to set a global default date format right?

Italian date format is DD/MM/YYYY. I think a built in global date format makes sense.
$this->options['dateFormat'] < -   javascript format string "DD/MM/YYYY"
$this->options['format']  <-- php date format string "d/m/Y"

Correction
$this->options['dateFormat'] < - javascript format string "d/m/Y"
$this->options['format'] <-- php date format string "DD/MM/YYYY"

I suppose we're only using datepicker based on the JS Date format so using a PHP default formatted would make sense?

I think it makes sense to use php date format and convert into javascript
Also it would be usefull to add a function in date.php something like this:
if config("app.format") set then $format = config("app.format") else $format='YYYY-MM-DD'
Instead of :  protected $format = 'YYYY-MM-DD';
It would also be better to open this ticket again it needs discussion and fixing
Not hearing much from admins are they not interested in their project any more?

Not sure about the admins, but I think on my perspective it would be an overhead to ask the user to post a PHP-based time format as it has been mentioned clearly here: https://open-admin.org/docs/en/model-form-fields#date-time-fields
But yeah it would be great if the user is allowed to enter php based date-time formats as the IDE would significantly help them.

Will take a more detailed look at this next week. It indeed needs some rethinking to allow other formats. Thanks for all the feedback.


wrong path to VERSION in Homematic Addon

This week I tried to install Homematic Addon. Everything went right except on little error. In HomeMatic WebUI (OCCU) it wasn’t possible to access Einstellungen > Systemsteuerung (Settings> system control)
I got this error in log file:
syntax error in expression "*1"
    while executing
"expr $product*1"
    (procedure "getProduct" line 6)
    invoked from within
"getProduct"
    (file "/opt/hm/www/config/control_panel.cgi" line 1)

It happens because in common.tlc the first line in proc get_Version was commented out
#return [read_var /boot/VERSION VERSION]
and a new line was put under it
return [read_var /VERSION VERSION]
The mistake: there is no file in /VERSION
My fast fix: I just copy the file from /boot/VERSION to /VERSION

Hi,
because I have exactly the same problem I wanted to try your fast fix. But how will I get access to /boot/Version? Just found a file named Dockerfile in supervisor\addons\core\homematic\ on the SD.
Did you use DEBUG SSH or how did you get there?
Thanks
Christophe

Hi,
it is not that hard to get access.
Firstly I did it like this https://developers.home-assistant.io/docs/en/hassio_debugging.html#hassos-based-hassio. I always use ssh keys for server access.
Second step is ssh<EMAIL_ADDRESS>-p 22222 via console. I always use cygwin terminal under Win10. I also generated my ssh-keys there.
After ssh login (on Hass.io CLI I use command login for access to host system.
With a docker ps  I found my container name, which was 'addon_core_homematic'
Last thing  was to do docker exec -it addon_core_homematic /bin/bash and I was inside the container. You just need a cp /boot/VERSION /VERSION and done.
Only problem, it is not static. After restart of docker container you have to do it again. But as I see, it is not really needed to have access to "Systemsteuerung" of HomeMatic CCU.
Hope I could helped you.
Best Regards
Micha

Can you make a PR to fix that?

This has been addressed in the latest release of the add-on.


feat: add build metadata support

fixes #24
This pull request adds the optional parameter buildMetadata, thus enabling the addition/support of build metadata to the semantic version.

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Signed-off-by: Aditya Srivastava<EMAIL_ADDRESS>

Can I participate to reviews or it's only for  maintainers ?

Please feel free to review @philippart-s,  I am unfortunately unaware of the permissions. But would like to get your feedback.

Perhaps you can add an example in the README.MD with this option activated ?

Done! Thank you @philippart-s


Pirate Arrr

Is it possible to add Pirate to the wallet ?
https://pirate.black/

Not at this point. It depends on when z-transactions will be officially supported by Ledger/Trezor. As far as I know it's work in progress on their end.

closing


Update instances of cloud.redhat to console.redhat.

Updated for recent console URL change.
Links:

URL change summary sheet
Jira

Thank you @wtrocki ! You read my mind :)


feat: improve rbac settings of yurt-manager component

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

/kind enhancement
What this PR does / why we need it:

remove list/watch secrets rbac from base controller
remove create pods rbac from daemon updater controller
add patch nodes rbac for nodelifecycle controller

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/LGTM


RP: PEERING

Enable CodeGen for service PEERING
[1] Please check with Azure Cli team first in case the service will be excluded
[2] PM spec/status can be found at https://dev.azure.com/azure-mgmt-ex/Onboarding/_boards/board/t/Onboarding Team/Features

Release


TilingSprite requires render() call twice in order to begin to initially draw.

http://jsfiddle.net/mcoc32rt/

Interesting!

sorted to v3! thanks for sharing @edankwan


Invalid route component path

https://github.com/HackYourFutureBEHomework/class2-project-bementor-group2/blob/master/client/src/App.jsx#L18
Should be just component={(Home)}

bugs fixed


nidcpower and nifgen have incorrect data type for Import/ExportAttributeConfigurationBuffer

In the MI ImportAttributeConfigurationBuffer and ExportAttributeConfigurationBuffer functions, the configuration parameter is an array of bytes. The bytes contain a UTF-8 JSON string, but the API documentation doesn't document this, so it's appropriate for grpc-device to treat this parameter as an array of bytes.
nidcpower.proto and nifgen.proto incorrectly represent this parameter as repeated fixed64 configuration.
nidmm.proto, nifake.proto, and niscope.proto correctly represent this parameter as bytes configuration.
AB#2108035

Both NI-DCPower and NI-FGEN .proto files updated so those arguments are now bytes configuration.
NI-DCPower ImportAttributeConfigurationBufferRequest and ExportAttributeConfigurationBufferResponse
NI-FGEN ImportAttributeConfigurationBufferRequest and ExportAttributeConfigurationBufferResponse