[file path error] Instructions/Labs/04-create-dax-calculations-in-power-bi-desktop.md

All the file paths for the images are incorrect, hence the images are not rendering in the lab instructions.
Solution: The Linked_image_Files folder needs to be moved under the Labs folder in order for the current image paths to work.

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Issue has been resolved with the following commit: https://github.com/MicrosoftLearning/PL-300-Microsoft-Power-BI-Data-Analyst.ko-kr/commit/cd198afd2b0e002ca0cd3f26a8834182515d8cca


JABX error from CLI importer/exporter

Hi,
I'm using CLI to import GML files everyday on a linux server.
However, since few days, scripts are not working anymore, because someone updated the Java version to Java 11.
Here the error log :
Erreur : impossible d'initialiser la classe principale org.citydb.ImpExp Causé par : java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
It's means something like  Error: Could not initialize main class org.citydb.ImpExp. Caused by : java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
And and extract of the scripts used to import the gml files :
for file in ~/importer-exporter-3.3.1/data/Building/*.gml  do    java -jar ~/importer-exporter-3.3.1/lib/3dcitydb-impexp.jar -shell -config ~/importer-exporter-3.3.1/data/config.xml  $file done
From what i've seen, the bug comes from the fact that Java 11 do not supports JABX anymore.
What i tried to resolve the problem :

Adding -import --add-modules java.xml.bind to force him use this module --- Didn't worked

Updating the importer/exporter to 4.2.2    --- Didn't worked

Adding the module dependency to the "build.gradle" of the imp/exp client and rebuild  ---- Didn't worked

You're right, Java 11 does not include JAXB anymore. In order to support Java 11 and higher, we have added JAXB as separate library dependency to the Importer/Exporter already in version 4.0. If you install the latest version 4.2.2 and check the lib folder, you will find the JAXB libraries in there.
So, updating to version 4.2.2 should solve your problem. I just ran this version on my machine with Java 11 and had no issues. Do you get any error messages when using the 4.2.2 release?

Do you get any error messages when using the 4.2.2 release?
Yes, i have the same error message, i could not find the jaxb-api-2.3.1.jar in the \impexp-client\build\lib folder after building from source with gradle.

But after building and using the installer I was able to find the file in lib.
I'd know tomorrow if it worked. I'll keep you informed, thanks !

Problem solved, thanks again !


Add Nav2 slack to WG

not sure what happened with mergify there, thanks for taking care of the backports @clalancette!


Restructure documentation and simplify top page

Instead of here, I could see the Kconfig options moving under the "API" heading, and change that heading to be "APIs and Configuration" (drop the word "Documentation")

Or move API Documentation under "Developer Guides" which fits even better...

Yep, that would work too.


fix(deploy): allow the container to raise in MIGs

Motivation
The Managed Instance Groups in GCP were not raising the container as those were expecting the device name and the correct RW/RO mode to match between the created disk and the disk we're mounting in the container.
This also fixes monitoring, and uses the same caching directory as in CI, as the Container Optimized Image does not allow mounting in non-standard linux paths for security reasons.
Fixes: #5644
Fixes: #6891
Specifications
See: https://cloud.google.com/sdk/gcloud/reference/compute/instance-templates/create-with-container#--container-mount-disk
Solution

Add the missing --boot-disk-size 300GB to the MIGs template, just as we have on CI and Single instance deploy
Allow user output and container stdin and tty to standardize with other approaches
Enable Google Monitoring for single and long-live instances (MIGs)
Use ZEBRA_CACHED_STATE_DIR with /var/cache/zebrad-cache as we do on CI, as the cos-cloud doesn't behave correctly with non-standard paths.

Review
Anyone from DevOps
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

Follow Up Work
We should make further changes in a following PR:

For releases, it should sync from scratch (1). Currently it's 2-4 weeks between releases, so a 3 day mainnet sync is ok.

For main branch pushes, it should have a cached state (2 or 3, whatever is easier or more reliable). We merge new PRs multiple times a day, so a cached state is needed.

For releases, it should sync from scratch (1). Currently it's 2-4 weeks between releases, so a 3 day mainnet sync is ok.

These further changes could be optional. For testing, it's enough to just run a scheduled full sync in our test environment. To support the network, using a cached state will be better because the instances are live faster.


Is it possible to split a polyhedron by a plane?

I want to split a parent convex polyhedron (3D) using a plane (2D) into 2 child closed convex polyhedrons. Is it possible to do it with pyclipper?
Note: It is not an issue but a question regarding capabilities of the library.

I don't think so, pyclipper only works for 2D polygons

Do you know if any package is able to do this for 3D polyhedrons in Python
3?
On Mon 20 Dec, 2021, 8:04 PM Cosimo Lupo, @.***> wrote:

I don't think so, pyclipper only works for 2D polygons
—
Reply to this email directly, view it on GitHub
https://github.com/fonttools/pyclipper/issues/45#issuecomment-998193126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL5K3EPCMJOT4QSQLWF72YLUR545HANCNFSM5KOMIKHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

I personally do not know, but I'll keep open in case other pyclipper users may help if they come across this


More realistic build cache performance tests

In this way, the outputs will need to be re-snapshotted anyway and
the use case is closer to the branch switching case.

@wolfs Is this still planned to be reviewed and merged?

We are not actively working on this PR. I'll close it.


Double pointer are not well managed in tests

I am trying to mock a function that uses a pointer pointer (**) for a 2d array. When I populate that 2d array, the mock function returns me wrong values. The function being tested uses different (random) values instead of the ones I init the array with. Is someone having similar issues?

CMock doesn't yet support double-pointers, unfortunately. When you use it
in this way, it's comparing the second layer of pointers instead of the
things being pointed to. That makes for some cryptic errors and potential
problems.
This is already on our list of things to improve upon.
Sorry for the inconvenience!
Mark
On Fri, Jun 11, 2021 at 8:39 AM AlexandreMarkus @.***>
wrote:

I am trying to mock a function that uses a pointer pointer (**) for a 2d
array. When I populate that 2d array, the mock function returns me wrong
values. The function being tested uses different (random) values instead of
the ones I init the array with. Is someone having similar issues?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ThrowTheSwitch/Ceedling/issues/603, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEA7ZWDKAMXXKK6LMIUITTSH7ZHANCNFSM46QU5UQQ
.

CMock doesn't yet support double-pointers, unfortunately. When you use it in this way, it's comparing the second layer of pointers instead of the things being pointed to. That makes for some cryptic errors and potential problems. This is already on our list of things to improve upon. Sorry for the inconvenience! Mark
…
On Fri, Jun 11, 2021 at 8:39 AM AlexandreMarkus @.*> wrote: I am trying to mock a function that uses a pointer pointer () for a 2d array. When I populate that 2d array, the mock function returns me wrong values. The function being tested uses different (random) values instead of the ones I init the array with. Is someone having similar issues? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#603>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEA7ZWDKAMXXKK6LMIUITTSH7ZHANCNFSM46QU5UQQ .

Thank you for your quick answer! I will try to test this function in a other way


update the demo

Please check it. Thank you

Merge demo for 04/16/18 demo at ECenter, Map Out Project, Seed Grant


Please correct the options-for-encryption-and-compression sample

https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/sql-server-backup-to-url-s3-compatible-object-storage?view=sql-server-ver16#options-for-encryption-and-compression
The Syntax is incorrect in the sample it has an extra "," which is not needed and executing the statement fails.
-- Backup database
BACKUP DATABASE AdventureWorks2019
TO URL = 's3://<IP_ADDRESS>:9000/sqlcssbk1/AdventureWorks2019_Encrypt.bak',
WITH FORMAT, MAXTRANSFERSIZE = 20971520, COMPRESSION,
ENCRYPTION (ALGORITHM = AES_256, SERVER CERTIFICATE = AdventureWorks2019Cert)
GO
-- Backup database
BACKUP DATABASE AdventureWorks2019
TO URL = 's3://<IP_ADDRESS>:9000/sqlcssbk1/AdventureWorks2019_Encrypt.bak'
WITH FORMAT, MAXTRANSFERSIZE = 20971520, COMPRESSION,
ENCRYPTION (ALGORITHM = AES_256, SERVER CERTIFICATE = AdventureWorks2019Cert)
GO

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

ID: 3cb0792d-9a47-6a41-4e6b-700798775797
Version Independent ID: 3cb0792d-9a47-6a41-4e6b-700798775797
Content: SQL Server backup to URL for S3-compatible object storage - SQL Server
Content Source: docs/relational-databases/backup-restore/sql-server-backup-to-url-s3-compatible-object-storage.md
Product: sql
Technology: backup-restore
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

Thanks @pradm. Good catch. This doc update is in flight and should be live later today.


Julian/android fixes

all android scrolling and button bugs fixed

I am not very sure why it formatted the file IndividualPageScreen a bit different when I saved but I dont think thats a problem


Certificate and Key mismatch leading to continuous logging by envoy-proxy

Title: Certificate and Key mismatch leading to continuous logging by envoy-proxy
Description:
When a wrong key for a certificate is passed to envoy-proxy, it is continuously logging the below message:
gRPC config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) https_listener: Failed to load private key from , Cause: error:0b000074:X.509 certificate routines:OPENSSL_internal:KEY_VALUES_MISMATCH
Is there a way to suppress this (or any) message to certain number of times (say 3 or 5), rather than continuously logging it?
Repro steps:
Pass incorrect key and certificate pair to envoy-proxy.

That message is logged once each time updating the listener config fails due to the key mismatch. I'm not sure why your listener config is being continuously. How are you configuring envoy? Are you using LDS or SDS?


Support password rotation using a credential provider, such as IAM roles, in core

Support password rotation using a credential provider, such as IAM roles

duplicate , need to set canceled status


Feat/comdex integration

Description and Motivation
Integrates the WhiteWhale Liquidity Hubs deployed on the Comdex chain into the Migaloo-frontend.
Users can now select the chain Comdex on mainnet or testnet
On mainnet there are 2 pools, 1 vault. CMDX-ATOM, CMDX-CMST and CMST.
On testnet there are 2 pools, 2 vaults; tbd
Related Issues
Checklist:

[ ] I have read Migaloo's contribution guidelines.
[ ] My pull request has a sound title and description (not something vague like Update index.md)
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation.
[ ] The code is formatted properly yarn lint.
[ ] The project builds and is able to deploy on Netlify yarn build.

Testing
Testing:

[X] Swaps
[X] Provide Liquidity
[X] Vault deposit+withdraw

We don't have a USDT vault on comdex, it is CMST @0xFable


Possible Target

There is a project going on where common lisp was ported to run on top of the llvm.  The name of the project is clasp.  I wanted to let you know since you are doing quite a bit of interop with c/c++.
https://github.com/drmeister/clasp
https://drmeister.wordpress.com/author/drmeister/
I am not sure of where performance is right now, but it is something to keep an eye out for =)

Had a chat with drmeister at ELS in april, great guy and a great project. I would love to get cepl on there when it speeds up as using the bullet physics library would be SOO simple :)
Thanks for the heads up!


Module: exchange link broken

the Module: exchange link at the top of the page lands on a 404 not found

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

ID: 32336a14-3346-1850-13f1-665df4927cc6
Version Independent ID: b941743d-319c-41b9-9c9b-6e707756261d
Content: Get-UserPrincipalNamesSuffix (exchange)
Content Source: exchange/exchange-ps/exchange/active-directory/Get-UserPrincipalNamesSuffix.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

@AlBrough, this is a known issue that we've almost fixed.

The Exchange module link issue was fixed this week. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


icons overridden by extensions that contribute language icons

Thank  you very much for the beautiful Icons.
While, everything looks elegance, the .astro file icons appear in color and they become distracting.
Thank you for your attention to this issue.

@kimagin thanks for submitting this issue. I noticed this too, but I'm not sure the best way to resolve it.
it seems like this happens when other extensions provide icons that we don't (in this case Astro), the default file icon gets overridden. a solution may be to add .astro to the supported file extensions and just default to the generic file icon for now.
is this what you're seeing?

Hello,
I've tried my self to find the JSON file containing all the Icon sets inside the extension folder and added a new .astro to the object. Then I've used a black and white version of Astro icon from Iconify and added it to the JSON object and it worked fine. Having said that, this should be implemented from your side, otherwise every time that I install the extension, I have to do it manually. Hope this will be helpful.

kicking myself for just discovering "showLanguageModeIcons":false.
@kimagin, this should be fixed next release 🙌🏽


Ignore Code Feature Request

Assalam O Walikum Sir,
Sir if you add the ignore code feature its will be good in sqlmap the ignore code feature is looking like this --ignore-code=<401>
In ghauri when we give him a request file then ghauri check first if the site allow us or not if the status code of the site is 401 ghauri say the request session is expired i face this issue multiple time so Sir plz add this feature.
I have a sql injection vulnerable site that have bug bounty but sqlmap fail and ghauri is good but in this case i fail. and also ghauri.
Thanks SIr.  plz add this feature.

That is specific to authenticated injection. If your session is expired then it is useless to hammer server with payloads that is why I added this 401 session check if session doesn't exists update the file with new session and ghauri will resume

Sir i am talking about the "Authorization: Basic admin:admin" header.
the first admin is username and the second is password.
The problem is that the username and password is base64 encoded : is also
Sir me bat kr rha ho un site ke jo direct pop-up krta ha aik box aur
credentials mangta ha sqlmap me o feature b nai ha
usko krny kelyi suffix and prefix ka use krky hoskta ha lkn ghauri me pr
base64 encoding wala tamper b nai ha aise waja sy o waly site scan nai ho
parhe ha.
aur is me session nai hota agr apka login theek howa tb session server
generate krta ha aur header me add hojataa ha.
Sir me Screen Shot add krdonga Plz agr is pe kaam hojaye to Best rhega.
aur sir plz agr Graphql kelyi b koyi Option add kry to best hoga.
Aik chota sa Request.
Thank you Sir.
On Mon, Dec 11, 2023, 2:05 PM Nasir Khan @.***> wrote:

That is specific to authenticated injection. If your session is expired
then it is useless to hammer server with payloads that is why I added this
401 session check if session doesn't exists update the file with new
session and ghauri will resume
—
Reply to this email directly, view it on GitHub
https://github.com/r0oth3x49/ghauri/issues/112#issuecomment-1849602325,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQM42XWXKDCAD3TNSTLFT7DYI3EEBAVCNFSM6AAAAAA7GVNUJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGYYDEMZSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

you can simply base64 encode and pass the header to ghauri with --header="Authorization: basic BASE64ENCODESTRING" it should work with that. for GraphQL i will check. i don't have any specific lab setup for that which i need to and i don't have enough time due to other projects for setting up a lab. if you have one share it on my email and i will try things out on that.
email<EMAIL_ADDRESS>

Hello, we encountered this message [WARNING] It seems the session got expired, update the session and re-run too. In our case, we were testing POST log-in functionality, where we used --data to set up the POST username and password variables. We defaulted them to "test" and "test" (mimicking a currently unknown user name and password - this was on OWASP Juice Shop, which we know is vulnerable), and we were running it on the login form unauthenticated. Our aim was to have Ghauri test the username and password POST entries for injection. Ghauri tried the nonexistent username and password as a sanity check (I guess) and got 401 unauthenticated responses, which was expected from our end, but Ghauri reacted as if the session had expired.
Could you please let us know if this is expected and if we approached this in the wrong way? Thanks!

Same Issue in phase multiple time. Previously i request that if you add a
feature like --ignore-code so it will be good so the ghauri will not
closing and ghauri will be process like for other status code.
On Mon, 5 Feb 2024 at 10:12, Andrej Mohar @.***> wrote:

Hello, we encountered this message [WARNING] It seems the session got
expired, update the session and re-run too. In our case, we were testing
POST log-in functionality, where we used --data to set up the POST
username and password variables. We defaulted them to "test" and "test"
(mimicking a currently unknown user name and password - this was on OWASP
Juice Shop, which we know is vulnerable), and we were running it on the
login form unauthenticated. Our aim was to have Ghauri test the username
and password POST entries for injection. Ghauri tried the nonexistent
username and password as a sanity check (I guess) and got 401
unauthenticated responses, which was expected from our end, but Ghauri
reacted as if the session had expired.
Could you please let us know if this is expected and if we approached this
in the wrong way? Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/r0oth3x49/ghauri/issues/112#issuecomment-1927222869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQM42XUYTI74QINNWJGHMODYSDZEJAVCNFSM6AAAAAA7GVNUJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGIZDEOBWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


refactoring timecode oiio subprocess

Brief description
Coping implementation of oiio timecode extractor plugin into the slate extractor plugin

Going to close this since it was clashing with some code i did, copied by hand the relevant bits. Thanks Juan!


[core-lro] Use core-util's delay

Packages impacted by this PR
@azure/core-lro
Issues associated with this PR
N/A
Describe the problem that is addressed by this PR
Re-use the delay function with abort signal instead of a custom cancellable promise.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
N/A
Are there test cases added in this PR? (If not, why?)
N/A
Provide a list of related PRs (if any)
N/A
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Use fonts loaded by PowerShell script

I was just wondering if there is a way to use fonts that are loaded by the PowerShell script.  I've used some of the code from here to embed a font but I can't seem to figure out how to use it in the script (possible because it isn't possible).  I used this website to convert the font file to a base64 string.
Here's the part of the code I have used (I've shortened the base64 string just to make things more readable in the post):
Add-Type -AssemblyName System.Drawing

$fontBase64 = 'T1RUTwAOAIAAAwBg.......'
$fontBytes  = [Convert]::FromBase64String($fontBase64)
$fontPtr = [System.Runtime.InteropServices.Marshal]::AllocCoTaskMem($fontBytes.Count)
[System.Runtime.InteropServices.Marshal]::Copy($fontBytes, 0, $fontPtr, $fontBytes.Count)
$privateFonts = [System.Drawing.Text.PrivateFontCollection]::new()
$privateFonts.AddMemoryFont($fontPtr, $fontBytes.Count)
[System.Runtime.InteropServices.Marshal]::FreeCoTaskMem($fontPtr)
$myFont = [System.Drawing.Font]::new($privateFonts.Families[0],12)

Am I attempting something that isn't possible?

@Tarterman my web font understanding is a little rusty, but, yes I'm about 80% sure you couldn't get from point A to point B here (at least like this).
Most of the fonts on a Windows machine will be True Type (.ttf) or OpenFont (.otf) format.
Web fonts, on the other hand, are Web Open Font Format (.woff)
There are a few converters online you can use, but just hoping for the font to carry right over would be asking the browser to have more communication with the OS than browsers tend to like.
Just my $0.02 from too long doing PowerShell + web stuff.
If you want to find a good WOFF font, I'd suggest Google Fonts.

Here's a way to convert font-woff as mentioned above to "local/offline" way.

https://github.com/EvotecIT/PSWriteHTML.Helper/blob/master/Public/Repair-FontsAwesome.ps1

I use this code to make sure font awesome/font simple are usable when using PSWriteHTML in offline mode.
Maybe you want to use some font that has WOFF available.

Thanks for the responses.  I forgot to mention what font I was using which is Open Sans (which is a TTF font).  I know when websites want to use a TTF that isn't on Windows by default, they will do something like this to allow them to reference the fonts:
<link href='[//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600,700,800](https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600,700,800)' rel='stylesheet' type='text/css' />

I found a TTF to WOFF converter online so I could go that route (@PrzemyslawKlys, I tried the link you provided but it took me to a "404 page not found").  If I have a WOFF font, how would I use that in PSWriteHTML?

It should show up now. Was private project as it's really useful only for me.

Alright, I got this working and figured I would share how for anyone else.  First thing I did was download the entire family of fonts for Open Sans.  I don't know how it is with other fonts but with Google Fonts, there is a button at the top of the page for the font you are looking.  It downloads a zip file that, at least in the case of Open Sans, contains two .ttf files along with some other files.  One of them was standard fonts and the other was italic.  The TFF files are variable font file so they contains all variations of weight and such.
If you only need a specific variation of the font, there are ways to get the WOFF2 file specific to just that variation.
I'm only interested in standard so I grabbed that one and uploaded it to Font Squirrel which is a site to convert the TTF file to WOFF and WOFF2.
Once I finished that, I took the WOFF2 file that it created and uploaded it to Woff2Base which converts font files to Base64 strings to include directly in your CSS files.
Once I got that string, I added this inside my New-HTMLHeader section (I shortened the base64 string below to not flood this post with a bunch of text):
New-HTMLTag -Tag 'style' -Attributes @{type ='text/css'} -Value {
   "@font-face {
      font-family: 'Open Sans';
      font-style: normal italic;
      src: url(data:application/octet-stream;base64,d09GMgA...............);
   }"
}

Now I can reference that font anywhere you can do a -FontFamily parameter.
The thing I can't figure out now, and might not be possible, is if I can use it for the font of the buttons (Copy, Excel, CSV, PDF, Show X Rows, and Search Builder) and if I can use it for the font that is inside the filter boxes when you use the -Filter parameter.

So the way to do this is something like this. You are basically adding another style which is added after original body which defines different font for the whole document. If you would like to have different styles for different places you need to find out which classes those are using and apply them to specific classes. You may also need to use !important as part of the style to overwrite things properly.
$DataTable = @(
    [PSCustomObject] @{ Name = 'Service Desk 1'; Incidents = 1; Resolved = 0; Year = 2001 }
    [PSCustomObject] @{ Name = 'Service Desk 2'; Incidents = 20; Resolved = 15; Year = 2002 }
)

New-HTML {
    Add-HTMLStyle -Placement Header -Css @{
        "@font-face" = @{
            "font-family" = 'Open Sans'
            "font-style"  = "normal italic"
            "src"         = 'url(data:application/octet-stream;base64,d09GMgA...............)'
        }
    }
    Add-HTMLStyle -Placement Header -Css @{
        'body' = @{
            'background-color' = '#34ebeb'
            'font-family'      = '"Raleway", sans-serif'
            'font-size'        = '16px'
        }
    }
    $SectionStyle1 = New-HTMLSectionStyle -RequestConfiguration
    Add-HTMLStyle -Placement Header -Css @{
        "$($SectionStyle1.SectionHead)" = @{
            'background-color' = 'yellow'
            'font-size'        = '50px'
        }
        "$($SectionStyle1.Section)"     = @{
            'margin' = '10px'
            'width'  = 'calc(100% - 20px)'
        }
    }
    New-HTMLSection -HeaderText 'Test' {
        for ($i = 0; $i -le 1; $i++) {
            New-HTMLTable -DataTable $DataTable -HideFooter
        }
    } -Direction column -StyleSheetsConfiguration $SectionStyle1
} -ShowHTML -Online -FilePath $PSScriptRoot\Example-StyleChange.html

One could also improve Get-ConfigurationCSS and Add-ConfigurationCss and remove-configurationcss and set-configuraitoncss that are private functions to directly write to main configuration and then use Enable-HTMLFeature to enable things if not already enabled. This would allow you to replace current defaults with new defaults without having double style for same thing.
But those never were meant for external use so would require some work

Awesome!  Thanks for this.  It will give me something more to play around
with next week.
On Fri, Aug 18, 2023, 11:13 PM Przemysław Kłys @.***>
wrote:

So the way to do this is something like this. You are basically adding
another style which is added after original body which defines different
font for the whole document. If you would like to have different styles for
different places you need to find out which classes those are using and
apply them to specific classes. You may also need to use !important as part
of the style to overwrite things properly.
$DataTable = @(
[PSCustomObject] @{ Name = 'Service Desk 1'; Incidents = 1; Resolved = 0; Year = 2001 }
[PSCustomObject] @{ Name = 'Service Desk 2'; Incidents = 20; Resolved = 15; Year = 2002 }
)
New-HTML {
Add-HTMLStyle -Placement Header -Css @{
@.***" = @{
"font-family" = 'Open Sans'
"font-style"  = "normal italic"
"src"         = 'url(data:application/octet-stream;base64,d09GMgA...............)'
}
}
Add-HTMLStyle -Placement Header -Css @{
'body' = @{
'background-color' = '#34ebeb'
'font-family'      = '"Raleway", sans-serif'
'font-size'        = '16px'
}
}
$SectionStyle1 = New-HTMLSectionStyle -RequestConfiguration
Add-HTMLStyle -Placement Header -Css @{
"$($SectionStyle1.SectionHead)" = @{
'background-color' = 'yellow'
'font-size'        = '50px'
}
"$($SectionStyle1.Section)"     = @{
'margin' = '10px'
'width'  = 'calc(100% - 20px)'
}
}
New-HTMLSection -HeaderText 'Test' {
for ($i = 0; $i -le 1; $i++) {
New-HTMLTable -DataTable $DataTable -HideFooter
}
} -Direction column -StyleSheetsConfiguration $SectionStyle1
} -ShowHTML -Online -FilePath $PSScriptRoot\Example-StyleChange.html
One could also improve Get-ConfigurationCSS and Add-ConfigurationCss and
remove-configurationcss and set-configuraitoncss that are private
functions to directly write to main configuration and then use
Enable-HTMLFeature to enable things if not already enabled. This would
allow you to replace current defaults with new defaults without having
double style for same thing.
But those never were meant for external use so would require some work
—
Reply to this email directly, view it on GitHub
https://github.com/EvotecIT/PSWriteHTML/issues/399#issuecomment-1684850760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKDLW7VEUXOH6JINVI64MYTXWBKQJANCNFSM6AAAAAA3UVAWAM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Template variables are not evaluated. What am I doing wrong?

This is my template.html
<!doctype html>

    <meta charset="utf-8">
    <title>{%=o.htmlWebpackPlugin.options.title || 'Webpack App'%}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

And my plugin config
new HtmlWebpackPlugin({
      title: 'My App',
      filename: 'index.html',
      template: 'template.html',
      inject: true
    }),

In the output the title is still {%=o.htmlWebpackPlugin.options.title || 'Webpack App'%}. What am I missing?
Since I'm at it maybe someone would like to clarify 2 things for me as well:

Why doesn't the default template have a div element to attach your app to? Doing this on the body tag directly is considered bad practice afaik. It's the only reason I'm creating my own template here...
I don't quite understand the new html loader feature in v2. Why whould you want to use an html loader?

I had the same issue fwiw, new install.

The template language changed from 1 to 2: https://github.com/ampedandwired/html-webpack-plugin/tree/feature/loaders
Try:
<!DOCTYPE html>

    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
    <title><%= htmlWebpackPlugin.options.title %></title>

The loader allows you to use any template language you like, jade, ejs, even react.

Aha! :+1:
Can you maybe also tell me in what scenario you'd want to use an html loader?

You can use your prefered template language and it gathers resources like images for your result bundle.
It also allows you to prerender a single page application.

Sounds good :smile:  Any example code you could point me to?

Take a look at the 2.0 readme:
https://github.com/ampedandwired/html-webpack-plugin/tree/feature/loaders


TransactionTooLargeException occuring

Hello,
when using the Library, I get TransactionTooLargeException.
What could be the reason? Is it consuming too much data in a transaction?
Thanks!

Hi, could you please post the stacktrace of the exception?


Pool configuration utility

As a dotmesh user, I want to be able to use more than 10GiB in /var/lib/dotmesh to store my dots, so I'm not limited in size and can use more performant storage options such as raw partitions or dedicated log/cache SSDs, without needing to learn how to set up ZFS pools myself.
Therefore, we could wrap the zpool commands and expose them through the Dotmesh API (to admin users only!), and then document them in Dotmesh-friendly language, thereby saving people that. I am imagining an interface to CRUD pool members - be they mirror sets, caches, or logs. We can still start off with the default 10GiB in /var/lib/dotmesh unless overriden by dm cluster init or k8s yaml, and let people add more disks (and then remove the original 10GiB file) if they want later.

Filed into https://docs.google.com/document/d/1tEl-hLmnf5trfAJZMm9-F6lW4G0BAJk0_1vxl3rgpTE/edit#


[Issuance Portal] Issuance Login and Register

Figma Link
Login:

Use the following logo:

Add the following header section throughout the portal, with text "This is reference solution implementation for Issuance Portal. Check documentation here" and toggle switch to change theme (dark/normal)

Login Flow: Common Login screen to register and login. If issuer is registered, then navigate to dashboard.

Register:
Common Login screen to register and login. If issuer is not registered, then navigate to 'Register' screen, where issuer should be able to register with basic details (as defined in configuration by adopter)
Later Releases:
Issuer should be able to register with identification (example GSTIN - as configured by adopter) and authorised by 2 factor authentication.

Super!

Modified UI to make it generic across all portals:

Generic Login for all demo portals:

Nice!

Looks good @jayadinni ! @Pratikshakhandagale pls plan unifying these


Issues with webdav backend

Hello,
Thanks for the great work. I was trying juicefs with webdav as storage backend but encountered issues. I used http://ajaxfilebrowser.com for testing, which provides a temporary webdav server.

Running the following command with the latest release version 0.17.0 (2021-09-24T04:17:26Z e115dc4),

juicefs -v format  --storage webdav --bucket http://ajaxfilebrowser.com/User2fdbb37/  sqlite3://webdavjfs.sqlite3 webdavjfs

I got
2021/10/17 23:50:23.954912 juicefs[23236] <INFO>: Meta address: sqlite3://webdavjfs.sqlite3
[xorm] [info]  2021/10/17 23:50:23.955122 PING DATABASE sqlite3
2021/10/17 23:50:23.956194 juicefs[23236] <DEBUG>: Creating webdav storage at endpoint http://ajaxfilebrowser.com/User2fdbb37/
2021/10/17 23:50:23.956230 juicefs[23236] <INFO>: Data use webdav://ajaxfilebrowser.com/webdavjfs/
panic: interface conversion: interface {} is *bytes.Buffer, not *[]uint8

goroutine 1 [running]:
github.com/juicedata/juicefs/pkg/object.(*webdav).Put(0xc00099b990, 0xc0008c2800, 0x1c, 0x6e064c0, 0xc00016b440, 0x0, 0x0)
        /go/src/github.com/juicedata/juicefs/pkg/object/webdav.go:109 +0x565
github.com/juicedata/juicefs/pkg/object.(*withPrefix).Put(0xc0008bd9e0, 0xc0008c22a0, 0x12, 0x6e064c0, 0xc00016b440, 0x6e07040, 0xc0008bddc0)
        /go/src/github.com/juicedata/juicefs/pkg/object/prefix.go:61 +0xa6
main.doTesting(0x6e8b160, 0xc0008bd9e0, 0xc0008c22a0, 0x12, 0xc0002a82a0, 0x64, 0x64, 0x6a16cc8, 0xc0011a1840)
        /go/src/github.com/juicedata/juicefs/cmd/format.go:100 +0x6cf
main.test(0x6e8b160, 0xc0008bd9e0, 0x0, 0x0)
        /go/src/github.com/juicedata/juicefs/cmd/format.go:132 +0x1dd
main.format(0xc000990c80, 0xd, 0x18)
        /go/src/github.com/juicedata/juicefs/cmd/format.go:208 +0xc92
github.com/urfave/cli/v2.(*Command).Run(0xc000820120, 0xc0009908c0, 0x0, 0x0)
        /go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4ed
github.com/urfave/cli/v2.(*App).RunContext(0xc0008009c0, 0x6e605c0, 0xc00019e008, 0xc0005ace00, 0x9, 0x10, 0x0, 0x0)
        /go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313 +0x81f
github.com/urfave/cli/v2.(*App).Run(...)
        /go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224
main.main()
        /go/src/github.com/juicedata/juicefs/cmd/main.go:100 +0x1b6c

This can be fixed by reverting https://github.com/juicedata/juicefs/pull/800.

After fixing that error, rerun the command and I got

2021/10/18 00:19:57.628568 juicefs[35628] <INFO>: Meta address: sqlite3://webdavjfs.sqlite3
[xorm] [info]  2021/10/18 00:19:57.628813 PING DATABASE sqlite3
2021/10/18 00:19:57.629894 juicefs[35628] <WARNING>: The latency to database is too high: 1.097259ms
2021/10/18 00:19:57.630117 juicefs[35628] <DEBUG>: Creating webdav storage at endpoint http://ajaxfilebrowser.com/User2fdbb37/
2021/10/18 00:19:57.630146 juicefs[35628] <INFO>: Data use webdav://ajaxfilebrowser.com/webdavjfs/

2021/10/18 00:20:10.558519 juicefs[35628] <FATAL>: Storage webdav://ajaxfilebrowser.com/webdavjfs/ is not configured correctly: Failed to put: 409 Conflict: <error xmlns="DAV:"><responsedescription xmlns="DAV:">Item's parent doesn't exist</responsedescription></error>

I dig into this and turns out that the function https://github.com/juicedata/juicefs/blob/main/pkg/object/webdav.go#L98-L100 is not able to catch all the possible cases.
I managed to fix the issue with the following very hacky patch:
diff --git a/pkg/object/webdav.go b/pkg/object/webdav.go
index 1105ec57..c0b6623f 100644
--- a/pkg/object/webdav.go
+++ b/pkg/object/webdav.go
@@ -96,7 +96,7 @@ func (w *webdav) mkdirs(p string) error {
 }

 func (w *webdav) isNotExist(err error) bool {
-       return strings.Contains(err.Error(), "Not Found")
+       return strings.Contains(err.Error(), "Not Found") || strings.Contains(err.Error(), "Item's parent doesn't exist") || strings.Contains(err.Error(), "Parent node does not exist")
 }

 func (w *webdav) Put(key string, in io.Reader) error {

The two additional conditions are based on what I see from webdav server of http://ajaxfilebrowser.com and Box Drive.
After fixing these, I managed to run juicefs on webdav. However my solution to 2 is obviously a bad one, and I am not sure what would be the correct way.

@Marlin-Na Thanks for reporting these, we will fix them soon.


Fixed import statement for faker package

The import statements in flexo/faker were truncated, and would not work correctly due to the module name. This should be resolved now.

Not a damn clue why the Gosec tests are failing, but I don't think i changed enough for it to be me 😬


BleakDBusError('org.bluez.Error.InProgress', 'In Progress')

I get this error when running multple functions for the event "when_play":
It does not occur when my code is runned thru the python web playground
Task exception was never retrieved
future: <Task finished name='Task-7' coro=<play() done, defined at /home/ubuntu/roomba-lofibeats/python-sdk/explore.py:245> exception=BleakDBusError('org.bluez.Error.InProgress', 'In Progress')>
Traceback (most recent call last):
  File "/home/ubuntu/roomba-lofibeats/python-sdk/explore.py", line 254, in play
    sensors = (await robot.get_ir_proximity()).sensors
  File "/home/ubuntu/.local/lib/python3.9/site-packages/irobot_edu_sdk/create3.py", line 55, in get_ir_proximity
    await self._backend.write_packet(Packet(dev, cmd, inc))
  File "/home/ubuntu/.local/lib/python3.9/site-packages/irobot_edu_sdk/backend/bluetooth_desktop.py", line 75, in write_packet
    await self._client.write_gatt_char(self.TX_CHARACTERISTIC, packet.to_bytearray(), True)
  File "/home/ubuntu/.local/lib/python3.9/site-packages/bleak/__init__.py", line 593, in write_gatt_char
    await self._backend.write_gatt_char(char_specifier, data, response)
  File "/home/ubuntu/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/client.py", line 801, in write_gatt_char
    assert_reply(reply)
  File "/home/ubuntu/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply
    raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.InProgress] In Progress

It would be helpful if you could please supply your test code, as well as giving us some details about your environment (Python version, OS) so that we can try to reproduce.

I wrote a minimal example that can reproduce this bug with BlueZ, but it does not happen in Windows 10. (I don't have a Mac handy to test). I have some ideas about how to fix it, though. Below is my minimal example:
from irobot_edu_sdk.robots import event, hand_over, Color, Robot, Root

import random

backend = Bluetooth()
robot = Root(backend)

@event(robot.when_play)
async def play1(robot):
    while True:
        print('light')
        await robot.set_lights_rgb(random.randint(0,255), random.randint(0,255), random.randint(0,255))

@event(robot.when_play)
async def play2(robot):
    while True:
        print('beep')
        await robot.play_note(440, .25)

robot.play()

Thanks for your quick response.
I have a while True: running so I quick-fixed it by adding a sleep(0.1) at the end of it and some try: except:
It's running on Ubuntu 20 server on a raspberry pi 4 (arm64)
BlueZ 5.53-0ubuntu3.6

If you're comfortable, give this branch a try; if not, we'll do some more testing over the next few days before cutting a patch release.

If you pip install --upgrade the SDK, you should get 0.1.2 which fixes this bug


Does Group Writeback feature allow updates ?

There is a Hybrid AD environment setup, where In-house AD changes are automatically synced with Azure AD for specified user attributes on a set frequency.
And the requirement is to do other way, i.e Sync Azure AD user changes back to In-house AD.
Idea is to use Azure Graph APIs and do custom integrations from outside network, by keeping In-house AD within VPN.
Does "Group Writeback" feature does this?
Meaning, by enabling this feature, can client update Azure AD user, say for an AD attribute called "Department" and this change is synced back to user account on In-House AD?
Client is on Azure Premium P1 tier and is licensed to use "Group Writeback" feature.
Please comment

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

ID: 470ff3b2-2ef4-d4ed-ef31-6e281d30ed9c
Version Independent ID: e1664fe8-8dfe-aa9f-c700-22f7585f7c10
Content: Azure AD Connect: Features in preview
Content Source: articles/active-directory/hybrid/how-to-connect-preview.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

What are the detailes steps to enable "Group writeback" feature ?

@udbach Thanks for your feedback! We will investigate and update as appropriate.

Thanks @SaurabhSharma. Can you please update your investigations ?

@udbach Group Writeback is only for O365 Groups and cannot be utilized to write back the attributes of users who are member of these groups. We do not support writeback (Azure AD to On-prem AD) for users or user attributes. There are however some exceptions like, password writeback or Exchange Hybrid Writeback where certain user attributes are written back to on-prem AD but we can't sync all or any desired user attributes from Azure AD to On-prem AD.

@udbach I am closing this thread. Feel free to tag me in your reply if you have any question.


live-server continuously automatically updates

Latest version works great, but seems to auto update every 15 secs or so?
When I'm developing an app requires working through and debugging in the browser/UI, I only want it to update when a file changes have been saved. This is the intent?

You can open Developer Tools of Atom and see what file triggered liver-server to reload.


How to setup desktop short-cuts

How can we set up short cuts to launch? is there anything like ctrl+space ?
How can we set themes

How can we set up short cuts to launch? is there anything like ctrl+space ?

What do you mean by ctrl+space ?

How can we set themes

https://github.com/oknozor/onagre/wiki/Theming

shortcut to launch it

What operating system/desktop environment are you using ?

Linux kali 6.5.0-kali3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1kali1 (2023-10-09) x86_64 GNU/Linux

Well you should configure a keyboard shortcut according to that specific distro documentations to launch onagre.

how the .desktop file should look like ?

like any other:
Exec=onagre
That said I would use a shortcut rather than a desktop entry.


Further Information Required on Timer Functions

The only information that exists in the "Start/Stop VMs" section of documentation describing the timer-based functions is the list in the table, and the following description:
"All timer-based triggers are used to perform the availability test and to monitor the health of the system."
The "TriggerAutoUpdate" function has sufficient information in the table, but the "HeartBeatAvailabilityTest", "CostAnalyticsFunction" and "SavingsAnalyticsFunction" are lacking some information.
I can't seem to find where any of this information is being sent to, but I can see them being invoked under the monitor section on each of the functions. I can't look at the code to try to find out myself since this is a deployment from the marketplace app. Is this data intended for access, or is this something that is being sent to Microsoft instead?
If this is intended to be user accessible data, it seems some more information on how to access this is needed, otherwise if this is not meant to be accessible, that should be specified as well.

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

ID: 95ba76f8-580a-a119-f4c0-19c47bdd8fed
Version Independent ID: d2c1d2a3-b468-02d7-4698-973fa7642ccc
Content: Start/Stop VMs v2 overview
Content Source: articles/azure-functions/start-stop-vms/overview.md
Service: azure-functions
Sub-service: start-stop-vms
GitHub Login: @ggailey777
Microsoft Alias: glenga

@tyler-the-freeman
Thanks for your feedback! We will investigate and update as appropriate.


move back the weight for pod antiaffinity term.

Merge #14038 to master

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: morvencao
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [morvencao]

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

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
cd75b2d4c186a5285cc2d50d8cf43dc9461389fc
link
/test istio-pilot-e2e-envoyv2-v1alpha3-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e-envoyv2-v1alpha3-master

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
cd75b2d4c186a5285cc2d50d8cf43dc9461389fc
link
/test istio-pilot-e2e-envoyv2-v1alpha3-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao 1.2 backports should not be needed as mergify will automatically generate these backports.  See following screenshot for details on annotations:

/test istio-pilot-e2e-envoyv2-v1alpha3-master

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: morvencao, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [morvencao,sdake]

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

@sdake Thanks, it's awesome!

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
cd75b2d4c186a5285cc2d50d8cf43dc9461389fc
link
/test e2e-simpleTests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-simpleTests-master

@sdake Thanks, it's awesome!

agreed.  @geeknoid has really done a nice job here 👍 Should save the maintainers significant time.
Cheers
-steve

@morvencao it appears the work with mergify is not completed for istio/istio.  Can you cherry-pick with -x flag?
Cheers
-steve

@sdake Done, see: https://github.com/istio/istio/pull/14418/commits/dbaf20f607c6aa5d30defbba9db8b36b6f113394


Theme Kit not Detecting New Sections

With the theme watch command running, I added a new liquid file to the sections folder of my theme. Theme kit detects any changes made to the header.liquid file that I made earlier. Theme kit shows the updates and deletions of the new section files, but I do not see any of the new sections on the website.

This is not the themekit repo. If you are still using this version, please uninstall and move to themekit https://shopify.github.io/themekit/

Oops. Wrong repository.


Named parameters don't work

test.py:
class Test:
    def __init__(self, fixarg, one = 1, two = 2):
        print(fixarg, one, two)

Test(0)
Test(4, 5, 6)
Test(15, 25)
Test(9, one = 4)
Test(9, two = 6)
Test(9, two = 11, one = 34)

compiled it with:
transcrypt -b -p .none --nomin test.py
run it with:
node __javascript__\test.js
printed:
0 1 2
4 5 6
15 25 2
9 1 2
9 1 2
9 1 2

Last 3 outputs are clearly wrong. Named parameters are ignored.

http://transcrypt.org/docs/html/special_facilities.html#keeping-your-code-lean-pragma-kwargs-and-pragma-nokwargs

Thanks a lot!
__pragma__("kwargs")

class Test1:
    def __init__(self, fixarg, one = 1, two = 2):
        print(fixarg, one, two)

__pragma__("nokwargs")

class Test2:
    def __init__(self, fixarg, one = 1, two = 2):
        print(fixarg, one, two)

Test1(0)
Test1(4, 5, 6)
Test1(15, 25)
Test1(9, one = 4)
Test1(9, two = 6)
Test1(9, two = 11, one = 34)
Test1(9, 2, one = 34)

print("")

Test2(0)
Test2(4, 5, 6)
Test2(15, 25)
Test2(9, one = 4)
Test2(9, two = 6)
Test2(9, two = 11, one = 34)
Test2(9, 2, one = 34)

prints:
0 1 2
4 5 6
15 25 2
9 4 2
9 1 6
9 34 11
9 34 2

0 1 2
4 5 6
15 25 2
9 1 2
9 1 2
9 1 2
9 2 2

might want to close this one if it's taken care of for you,

I have the same issue. If I understand correctly, the recommended solution is to add "pragma" before and after each function with which I want to use named arguments. However, I have Python code that I use in other server-side projects (in fact, for me, that's the whole point of using Transcrypt in the first place - being able to use the same code for server-side and client-side). Since the "pragma" is not recognized by the Python 3.7 interpreter, I cannot put pragma in this code. Is there another solution?


[FEATURE_REQUEST] Wake Up Server Icon when a Server is Down

Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
When a server is down, it would be nice to send a magic packet to wake up the server.
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
No

Hi @HenkVanHoek
Thanks for your idea. But I think that strays a little bit outside what a dashboard app should be used for, so I'm going to mark as out of scope.
Instead, there are dedicated services which can do just this. But you could just write your own simple script to ping your server at pre-defined intervals, and trigger a wake on lan request if it's not responding.
If you'd like to still use Dashy for this, then you can write a widget to implement this functionality.


Flatten API structure

Writing plonky2::field::extension_field::quadratic::QuadraticExtension makes me sad.

If nothing else field::extension_field seems like it could be shortened to field::extension


Fix git push error for protected CLA branch

The pull request is created from master636960445390163809 to master to fix git push error for protected CLA branch

@opbld17 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[BUG] The charts are not refreshing when created for the first time

So, after adding that ENV var to my heroku backend app that is hosting my strapi admin panel, it created the charts this time, but the data doesnt show up in the Chartbrew plugin/dashboard (until I went into the Chartbrew Admin panel, and hit the refresh button on each chart). Then the charts showed up with their data, as seen below. Im wondering why it doesnt show up right away, and wondering if it would show up in my Chartbrew Plugin after xx amount of time passing (and without any human intervention)?
Originally posted by @scottdevopsgithub in https://github.com/chartbrew/strapi-plugin-chartbrew/issues/7#issuecomment-1235038347

closing as could not replicate anymore


Theoretical Combined Tree Size

i wish there was a way to tell instantly what the combined tree size would be
right now you actually have to combine to know, which makes combining things for difficulty way too time consuming

debug stats for nerds option maybe to show this among other debug stats


Add LinkedIn Information

Added Missing LinkedIn Information for the following Advocates:

Cecil Phillip
Chloe Condon
Nina Zakharenko
Thomas Lewis

Docs Build status updates of commit 4bb2699:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/cecil-phillip.yml
:white_check_mark:Succeeded
View

advocates/chloe-condon.yml
:white_check_mark:Succeeded
View

advocates/nina-zakharenko.yml
:white_check_mark:Succeeded
View

advocates/thomas-lewis.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

:shipit:


Allow user to set IWebSocket.ConnectInterval and KeepAlive

This would allow users to set IWebSocket.ConnectInterval and KeepAlive, such as below:
			var exchangeAPI = new ExchangeBittrexAPI();
			var tempSymbols = await exchangeAPI.GetSymbolsMetadataAsync();
			using (var socket = exchangeAPI.GetTradesWebSocket(kvp =>
				{
					Console.WriteLine($"{kvp.Key}, {kvp.Value}");
				}, new string[] { "USDT-BTC", "BTC-LTC", "BTC-ETH" }))
			{
				socket.ConnectInterval = TimeSpan.FromDays(0);
				socket.Connected += async s =>
					Console.WriteLine("connected");
				socket.Disconnected += async s => Console.WriteLine("disconnected");
				Console.WriteLine("Press ENTER to shutdown.");
				Console.ReadLine();
			}

Thanks for putting this together, I appreciate you taking the time


Feature Request:  Allow Merchant sheets to be able to have an applied discount

Many merchants after successful diplomacy checks offer discounts to a party
For example in Abomination Vaults in Otari almost all of the shops offer discounts

woops sorry, didn't realize there was one open already

Duplicate of #2056


error validate Claims: role: [] not found when using Azure AD App

Hi - can oyu give any advice on whay I get the error "error validate Claims: role: [] not found".  Azure AD is logging that the authentication is successfull, so I am assuming its somthing to do with the Azure AD App registratrion not returning the correct info to pam-exec-oauth2, but I can find no info on how to set up the Azure AD end so have had to base it off guesswork :-)
Dec 23 18:45:44 fedora35-aad pam-exec-oauth2[35348]: 2021/12/23 18:45:44 version: version not set, please build your app with appropriate ldflags, see https://github.com/metal-stack/v for reference, go1.16.5 gccgo (GCC) 11.2.1 20211203 (Red Hat 11.2.1-7)
Dec 23 18:45:44 fedora35-aad pam-exec-oauth2[35348]: 2021/12/23 18:45:44 using config file:/opt/pam-exec-oauth2/pam-exec-oauth2.yaml
Dec 23 18:45:44 fedora35-aad pam-exec-oauth2[35348]: 2021/12/23 18:45:44 PAM_TYPE:auth
Dec 23 18:45:44 fedora35-aad pam-exec-oauth2[35348]: 2021/12/23 18:45:44 user test.user already exists
Dec 23 18:45:44 fedora35-aad pam-exec-oauth2[35348]: 2021/12/23 18:45:44 call OIDC Provider and get token
Dec 23 18:45:45 fedora35-aad audit[35348]: AVC avc:  denied  { name_connect } for  pid=35348 comm="pam-exec-oauth2" dest=443 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket permissive=1
Dec 23 18:45:46 fedora35-aad pam-exec-oauth2[35348]: 2021/12/23 18:45:46 error validate Claims: role: [] not found
Thanks
Robin

Hi in azure then a claim would need to be created with the name role. In the claim role the AD groups should be mapped with the name. If you use the ID then the guid of the AD groups will be included in the claim roles.  see here https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-fed-group-claims  and set claim name to role


docs(migrate): add migration docs and update README

Closes IBM/carbon-components-react#1992
Add initial migration docs and update README.md
Changelog
New

docs/migration

Changed

README.md and .github/CONTRIBUTING.md content has been updated to reflect other package READMEs, also includes migration guides

Removed

A note to reviewers, I'm not sure all the breaking changes in React so feel free to edit with content updates!


In-browser mouse over is smarter about calculating values of expressions

When one mouse over in in-browser DevTools over array[i] it can calculate values for array, i, and array[i].
Vscode DevTools only can do first two and not the last. The problem is even more prominent when you need to iterate over string, all you can see in this case is just the whole string and current index.

Thank you for reporting the issue, I have filed a request on the javascript debugging team: https://github.com/microsoft/vscode-js-debug/issues/1082


No Options?

Your source project notion-page-to-html has options to filter output HTML. But we cannot do the same with vercel API. Do you plan to add?

Yeah. Would like the same :)

Added support for this in the PR https://github.com/asnunes/notion-page-to-html-api/pull/8
Hopefully it gets reviewed :)
Until then you can use my hosted fork
(Please don't use it in production as i don't know if i keep it online forever)
https://notion-page-to-html-api-five.vercel.app/html?id=4d64bbc0634d4758befa85c5a3a6c22f&bodyContentOnly=true

This looks great, let's hope it gets reviewed and merged :)

Added support for this in the PR #8 Hopefully it gets reviewed :)
Until then you can use my hosted fork (Please don't use it in production as i don't know if i keep it online forever) https://notion-page-to-html-api-five.vercel.app/html?id=4d64bbc0634d4758befa85c5a3a6c22f&bodyContentOnly=true


Upgrade Babel, eslint, react, webpack, yarn

Upgrade

[x] Babel
[x] eslint
[x] react
[x] webpack
[x] yarn

Fixed: https://github.com/ganeshrvel/openmtp/pull/166


Zero-copy local deep storage.

Reduces disk usage and makes Historicals able to load segments instantaneously.
Two changes:

Introduce "druid.storage.zip" parameter for local storage, which defaults
to false. This changes default behavior from writing an index.zip to writing
a regular directory. This is safe to do even during a rolling update, because
the older code actually already handled unzipped directories being present
on local deep storage.

In LocalDataSegmentPuller and LocalDataSegmentPusher, use hard links
instead of copies when possible. (Generally this is possible when the
source and destination directory are on the same filesystem.)

2 for Uncontrolled data used in path expression

LGTM traced this back to a Task object, which is safe because task IDs are path-safe thanks to IdUtils.validateId.


[Feature] Please add a way to remove power useage requirement (config?)

I dont have any power generation systems in my modpack, and I really want to use this remote.
I could not find a config file when I looked, is there any way to just toggle off the power consumption? So even if it has zero remaining it still works?
Or you could add a creative-only mode version if that is easier

Yes, both those things are planned.
0.9.0 will have config file including the option to disable power. That might be a little OP though...
Later on maybe there should be option to power it by consuming redstone or enderpearls?
The 0.8.X series is about compatability and bug fixes to the remote functionality itself.
After that comes config, upgrades, and the multislot advanced remote.

Config file with required options added in 0.9.0 which was just released. Closing feature request.


ipywdigets in jupyter lab

For people using Jupyter lab, we'll need to instruct them on how to get ipywidgets working in lab notebooks. see here:
https://ipywidgets.readthedocs.io/en/latest/user_install.html#installing-the-jupyterlab-extension
I use them here: https://github.com/ericmjl/bayesian-stats-modelling-tutorial/blob/master/notebooks/02-Instructor-Parameter_estimation_hypothesis_testing.ipynb
it boils down to running the following in a terminal (you'll need node installed)
jupyter labextension install @jupyter-widgets/jupyterlab-manager

The command is taken from here.
2nd note
Also, I thought we had a section in the README on opening a NB or something like point 4 in this README:
https://github.com/datacamp/datacamp_facebook_live_nlp
to do:

[x] add note to README about ipywidgets
[x] add something about opening NBs/lab

Resolved in commit https://github.com/ericmjl/bayesian-stats-modelling-tutorial/commit/e54dd837f5d33ab28978ff5f0b4715479da07028


On LiveWatch, html does not exist errors occur frequently

While using {N} LiveWatch on an Android 7.1.1 (Moto Z Force Droid edition if that helps) from a Windows 10 Creator's update PC, I often get errors about an HTML file not existing. This is not the same file all the time and is most oftentimes the file that I have recently been editing (to update with LiveWatch). In order to fix this error, I have to stop and restart my build process entirely
Stopping tsc watch
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
JS: ERROR Error: Uncaught (in promise): Error: File /data/data/pro.wireflare.Linkd/files/app/modules/dashboard/dashboard.component.html does not exist. Resolved from: /data/data/pro.wireflare.Linkd/files/app/modules/dashboard/dashboard.component.html.

@crutchcorn Does the file app/modules/dashboard/dashboard.component.html really exist in your application?
If yes, try to uninstall the application from your emulator, then wipe the emulator data (via AVD) and finally rebuild the application (with deleted platforms folder) and redeploy using tns run android (or iOS)

I do indeed have the file in my application and I already know how to fix the problem, as I mentioned above. However, this is such a common occurance that I felt I should file a bug against, as it's caused many headaches in development. It really stinks to have to restart my entire build process for seemingly every change. It ruins most of the point of LiveWatch

@crutchcorn closing this issue as it seems not to be reproducible with the latest nativescript-angular.


Add cache-version to tile url

Fixes #6422
Now a cache-version is added to the tile / image url (https://b.tile.openstreetmap.org/15/19160/11042.png?v=1644357627558).
This means if redraw() is called, it changes the cache-version and the tiles are reloaded instead of loaded from the browser cache.

Yes makes sense. A solution would be to keep the version in the LocalStorage of the Browser but I would say that we keep away from stroing things between sessions.


ROCm build broken

TensorFlow cannot build AMD GPUs using ROCm at head right now. The compilation error is:
tensorflow/core/kernels/scatter_nd_op_gpu.cu.cc:68:5: note: in instantiation of function template specialization 'tensorflow::GpuAtomicMin<long long, long long>' requested here
    GpuAtomicMin(out, val);
    ^
tensorflow/core/kernels/scatter_nd_op_gpu.cu.cc:118:9: note: in instantiation of member function 'tensorflow::(anonymous namespace)::LeftUpdate<long long, tensorflow::scatter_nd_op::UpdateOp::MIN>::operator()' requested here
        update(out + i + si, ldg(updates + (index * slice_size + si)));
        ^
tensorflow/core/kernels/scatter_nd_op_gpu.cu.cc:156:33: note: in instantiation of function template specialization 'tensorflow::ScatterNdOpKernel<long long, int, tensorflow::scatter_nd_op::UpdateOp::MIN, 1>' requested here
    TF_CHECK_OK(GpuLaunchKernel(ScatterNdOpKernel<T, Index, op, IXDIM>,
                                ^
/opt/rocm/hip/include/hip/hcc_detail/hip_atomic.h:141:5: note: candidate function not viable: no known conversion from 'long long *' to 'int *' for 1st argument
int atomicMin(int* address, int val)
    ^
/opt/rocm/hip/include/hip/hcc_detail/hip_atomic.h:147:14: note: candidate function not viable: no known conversion from 'long long *' to 'unsigned int *' for 1st argument
unsigned int atomicMin(unsigned int* address, unsigned int val)
             ^
/opt/rocm/hip/include/hip/hcc_detail/hip_atomic.h:153:20: note: candidate function not viable: no known conversion from 'long long *' to 'unsigned long long *' for 1st argument
unsigned long long atomicMin(

The problem seems to be in our code, our templates need gpuAtomicMin for also signed types, but they are not available for signed types in AMD code.
@chsigg FYI
@whchung could you take a look

@deven-amd Would you mind take this ticket?
@gunan I'm mostly spending my time on MLIR code generation now and I'd like @deven-amd to help look into this. It seems I couldn't assign the ticket to him though.

We can't assign this issue to @deven-amd because he is not part of the TF org.

I already filed PR #40164 yesterday to fix this issue

Thanks Deven for the quick fix. I'm working on getting it merged.


Create Cold Medicine Cabinet

CMC upgrade that uses differently-colored shapes instead of all circles

addressed in #147 w/ the new CMC tile there


Refactored functions to Arrow functions

changed function() {} to arrow function form.
using destructuring for module imports.

Destructuring module imports, ok, thanks. Change functions to arrow functions just for the shake of it, definitely no.

Should I then undo the modification to function and leave the destructuring? And then open another PR? @piranna

Undo, and also left the two-spaces indentation.

meaning, undo all my changes?


[sles] Add suse tag

Suse is a company (https://www.suse.com/company/about/) and we will have soon another product using that tag (see #4073).

@endoflife-date/everyone, are you OK with this change ?

Looks like everybody is OK or at least not against. Merging.


gem: attempt to build a darwin gem that works on multiple darwin versions

related to #2079
See #2075 and #2079 for context. This branch attempts to generate a x86_64-darwin gem, following some of the patterns in the grpc gem but using x86_64 instead of universal.

:white_check_mark: Build nokogiri 1.0.674 completed (commit https://github.com/sparklemotion/nokogiri/commit/75392a921f by @flavorjones)

:white_check_mark: Build nokogiri 1.0.678 completed (commit https://github.com/sparklemotion/nokogiri/commit/3bfeb4a5d2 by @flavorjones)

@flavorjones Sorry for being so unresponsive in the last months! I was very busy at work. I plan to invest some time into rake-compiler-dock the next week and would like to add the MacOS cross compiler and a darwin target. Did you do anything with this cross compiler? Or everything native on MacOS?

@larskanis I was also pretty busy with work and haven't had time to investigate using the cross-compiler. Was planning on queuing that work up for January if you hadn't gotten to it first. (I'm building the darwin images natively on my macbook for now.)


Color Layer Change, shouldn't be simply random

In theory it should allow a more proper selection of color you'd like to use rather than simply randomly choose a new one. The code in there is mostly stub as an example of what it needs, and how to update multiple largely unrelated things (The DrawView and the Fragment for the ColorLayerList)

Added a colour picker.


stage asstes not using the right directory

Describe your problem here.
I made a custom stage with a direcotry called "genericfolder" for some reason it doesn't set the assets folder and instead remain as shared since it's the default.
When checking the command prompt Loading state was saying "Setting assets oath to shared". Weirdly enough the  genericfolder directory does in fact EXIST and I already added it in the xml.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

But where have you placed genericfolder?

outside of shared like the base weeks

outside of shared like the base weeks

The images inside of it are in the images folder like genericfolder/images

yes

yes

Then, in the stage hx file itself, what is the path that it's trying to use as an image?

I'm using 0.6.3, which has all the stages inside PlayState.hx. I hope I don't have to change the version for my mod

I'm using 0.6.3, which has all the stages inside PlayState.hx. I hope I don't have to change the version for my mod

Ok but what image is the stage object trying to load (like, the path that you put there)

Check this

They're inside that karlson folder in genericfolder/images?

Also you don't need to call updateHitbox() if you're not using setGraphicSize

They're inside that karlson folder in genericfolder/images?

Yes they are

Also you don't need to call updateHitbox() if you're not using setGraphicSize

Ok

Have you put "genericfolder" as an directory in the stage json?

yes

yes

But is it called genericfolder or genericFolder?

"genericfolder" I already checked. The problem is LoadingState.hx. For some reason it doesn't change the directory needed for loading the paths


swiss: mark a Map as "noCopy"

It isn't safe to copy a Map by value, so mark it as "noCopy" so that go vet
will emit a warning if it is copied.

This change is

@RaduBerinde Anything else to do on this PR?

TFTR!


Can't browse season folders anymore

I'm submitting a ...

[*] bug report
[ ] feature request
[ ] support request

General infomration
Season folders seem to be broken. Can still see 'Season 1', 'Season 2', ... folders; but opening them throws an error.
Prerequisites
[*] Are you running the latest version?
Found on 0.12.6; can reproduce on 0.12.5
Description
Opening a Title throws error:
13:31:26.811 T:140160447330048 WARNING: Invalid media type ""
Opening a season folder throws:
13:31:49.246 T:140160333301504 WARNING: Previous line repeats 42 times. 13:31:49.246 T:140160333301504   ERROR: Traceback (most recent call last): 13:31:49.246 T:140160333301504   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock 13:31:49.246 T:140160333301504   ERROR:     self.process_request(request, client_address) 13:31:49.246 T:140160333301504   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request 13:31:49.246 T:140160333301504   ERROR:     self.finish_request(request, client_address) 13:31:49.246 T:140160333301504   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request 13:31:49.246 T:140160333301504   ERROR:     self.RequestHandlerClass(request, client_address, self) 13:31:49.246 T:140160333301504   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__ 13:31:49.246 T:140160333301504   ERROR:     self.handle() 13:31:49.246 T:140160333301504   ERROR:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle 13:31:49.246 T:140160333301504   ERROR:     self.handle_one_request() 13:31:49.246 T:140160333301504   ERROR:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request 13:31:49.246 T:140160333301504   ERROR:     method() 13:31:49.246 T:140160333301504   ERROR:   File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/NetflixHttpRequestHandler.py", line 60, in do_GET 13:31:49.246 T:140160333301504   ERROR:     result = getattr(RES_HANDLER, method)(params) 13:31:49.246 T:140160333301504   ERROR:   File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/NetflixHttpSubRessourceHandler.py", line 215, in fetch_episodes_by_season 13:31:49.246 T:140160333301504   ERROR:     response_data=raw_episode_list) 13:31:49.246 T:140160333301504   ERROR:   File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/NetflixSession.py", line 1242, in parse_episodes_by_season 13:31:49.247 T:140160333301504   ERROR:     genres=response_data.get('value', {}).get('genres')) 13:31:49.247 T:140160333301504   ERROR:   File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/NetflixSession.py", line 1301, in parse_episode 13:31:49.247 T:140160333301504   ERROR:     'plot': episode['info']['synopsis'], 13:31:49.247 T:140160333301504   ERROR: KeyError: 'info' 13:31:49.248 T:140160447330048   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--                                              - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!                                             Error Type: <class 'httplib.BadStatusLine'>                                             Error Contents: ''                                             Traceback (most recent call last):                                               File "/home/kodi/.kodi/addons/plugin.video.netflix/addon.py", line 42, in <module>                                                 NAVIGATION.router(paramstring=REQUEST_PARAMS)                                               File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 45, in wrapped                                                 result = func(*args, **kwargs)                                               File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 140, in router                                                 tvshowtitle=params.get('tvshowtitle'))                                               File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 342, in show_episode_list                                                 'cache': True}))                                               File "/home/kodi/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 883, in call_netflix_service                                                 data = urllib2.urlopen(full_url).read(opener)                                               File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen                                                 return opener.open(url, data, timeout)                                               File "/usr/lib/python2.7/urllib2.py", line 429, in open                                                 response = self._open(req, data)                                               File "/usr/lib/python2.7/urllib2.py", line 447, in _open                                                 '_open', req)                                               File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain                                                 result = func(*args)                                               File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open                                                 return self.do_open(httplib.HTTPConnection, req)                                               File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open                                                 r = h.getresponse(buffering=True)                                               File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse                                                 response.begin()                                               File "/usr/lib/python2.7/httplib.py", line 453, in begin                                                 version, status, reason = self._read_status()                                               File "/usr/lib/python2.7/httplib.py", line 417, in _read_status                                                 raise BadStatusLine(line)                                             BadStatusLine: ''                                             -->End of Python script error report<-- 13:31:49.267 T:140163585194304   ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/?action=episode_list&season_id=80025272&tvshowtitle=TmFyY29z 13:31:49.267 T:140163585194304   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/?action=episode_list&season_id=80025272&tvshowtitle=TmFyY29z) failed

Already fixed in latest version 0.12.7

I just noticed that on the master branch; 0.12.7 doesn't show up in the Addon as an update however.

Maybe you need to refresh the Repo itself. Kodi 18 sometimes has this problem (it’s still pre-alpha)

Working now. Thanks!


More advanced fediverse blocklist integration?

We automatically benefit from the Bluesky team's moderation for Bluesky => AP, but we don't have an equivalent for AP => Bluesky yet. We should integrate a basic, conservative blocklist.
Candidates:

IFTAS DNI.
Oliphant's
Seirdy's

May start with Seirdy's Fedinuke.

OK, I've started with Fedinuke, using opt_out.py:
xargs -n 1 env PYTHONPATH=. GOOGLE_APPLICATION_CREDENTIALS=service_account_creds.json \
  python scripts/opt_out.py web
# ...paste in the Fedinuke list of domains

I don't think blocking pawoo.net is conservative.

Threads just published their blocklist: https://www.threads.net/moderated_servers
Here's a comparison with existing blocklist projects: https://pastebin.com/UJFQpZr7

A few more projects: IFTAS FediCheck, Fediseer (thanks @FurblandChannel!)


feat: provide HA instance via compose.yaml

Related Issues
n/a
Proposed Changes:
Provides a Docker container defined in a compose.yaml, to spin up a Home Assistant stable version where developers can test their changes. This method is optional, so developers can still test the way they want their changes.
Testing:
Start the container through docker compose up -d and install the integration as you would normally do.
Extra Notes (optional):
n/a
Checklist

[x] Related issues and proposed changes are filled
[x] Tests are defining the correct and expected behavior
[x] Code is well-documented via docstrings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.249%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
504

Relevant Lines:
536

💛  - Coveralls


Monitor based API

Provide an API in rekor that a monitor can use to tail and build its own tree that can then be processed accordingly to the monitors functional needs (parse out a provenence file for whatever its monitoring).
Having taking a cursory look, I believe we need to make use of the GetLeavesByRange \ GetLeavesByIndex calls. A monitor can then pull down leafs from index value of 0 to the complete treesize. They can then monitor the treesize and an increment of >1 means new entries are available to pull down.
A good example here:
https://github.com/benlaurie/trillian-examples/blob/39a83ab3df9b83997733e2c05c730accb7e336b9/registers/trillian_client/client.go#L46-L88
func (t *trillianClient) Scan(logID int64, s LogScanner) error {
	ctx := context.Background()

	rr := &trillian.GetLatestSignedLogRootRequest{LogId: logID}
	lr, err := t.tc.GetLatestSignedLogRoot(ctx, rr)
	if err != nil {
		log.Fatalf("Can't get log root: %v", err)
	}

	ts := lr.SignedLogRoot.TreeSize
	for n := int64(0); n < ts; {
		g := &trillian.GetLeavesByRangeRequest{LogId: logID, StartIndex: n, Count: chunk}
		r, err := t.tc.GetLeavesByRange(ctx, g)
		if err != nil {
			return fmt.Errorf("Can't get leaf %d: %v", n, err)
		}

		// Deal with server skew, if tree size has reduced.
		// Don't allow increases so this terminates eventually.
		rts := r.SignedLogRoot.TreeSize
		if rts < ts {
			ts = rts
		}

		if n < ts && len(r.Leaves) == 0 {
			return fmt.Errorf("No progress at leaf %d", n)
		}

		for m := 0; m < len(r.Leaves) && n < ts; n++ {
			if r.Leaves[m] == nil {
				return fmt.Errorf("Can't get leaf %d (no error)", n)
			}
			if r.Leaves[m].LeafIndex != n {
				return fmt.Errorf("Got index %d expected %d", r.Leaves[n].LeafIndex, n)
			}
			err := s.Leaf(r.Leaves[m])
			if err != nil {
				return err
			}
			m++
		}
	}
	return nil

Need to think about the two use cases:

I am a monitor and I want everything
I am monitor, I have everything, I just want the latest index entry.

Method 1 is going to be quite resource intensive (unless I have missed something). If we have a massive tree and a monitor wants the whole lot, how are we going to manage that. We can add in some form of rate limiter to protect the service, but is there a cheaper way of catering to this use case.

feel free to comment @dlorenc , this is more a planning / design discussion.

I think we'll need a way to fetch pages of them. Something like 100 entries max at a time, paginated. Then rate-limiting, eventually.


Will the AddDbContextFactory connection string normally be read from config files?

[Enter feedback here]

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

ID: 055bb8db-139d-beb5-61c1-47cf1ea6ea93
Version Independent ID: b0a3d5ad-b62c-1ff4-386a-f11e350eea0c
Content: DbContext Lifetime, Configuration, and Initialization - EF Core
Content Source: entity-framework/core/dbcontext-configuration/index.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @ajcvickers
Microsoft Alias: avickers

@RannyMeier There is nothing in EF Core that will automatically read a connection string from a config file. However, if you are using the default ASP.NET Core configuration and options system, then you can use the name= syntax, as shown in DbContext in dependency injection for ASP.NET Core. Beyond that, the connection string should be read from whatever config file you have and passed to UseSqlServer or similar.


Parsing accessory forever..

Running this setup on a raspberry pi model b.
When I running sudo Core.js it's just "Parsing accessory: Light_accessory.js" forever
I'm getting no error only warnings
"pi@raspberrypi ~/HAP-NodeJS $ sudo node Core.js
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of                                                                                Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libd                                                                                ns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not su                                                                                pported (or only supported partially) in the Apple Bonjour compatibility layer o                                                                                f Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libd                                                                                ns_sd&e=node&f=DNSServiceRegister>
HAP-NodeJS starting...
Parsing accessory: Light_accessory.js"

I think that means HAP is working. Did you try pairing the accessory with your phone?

If you want to see more "action" try starting it wit DEBUG=* node Core.js
Then it shows the debug log messages.
Von meinem iPhone gesendet

Am 12.09.2015 um 06:04 schrieb Amruth Pabba -<EMAIL_ADDRESS><EMAIL_ADDRESS>I think that means HAP is working. Did you try pairing the accessory with your phone?
—
Reply to this email directly or view it on GitHub.

I'm having the same issue:
"HAP-NodeJS starting..."
But it never reaches "HAP-NodeJS is listening"
None of my HomeKit iOS apps can find HAP-NodeJS (or in my case, homebridge) through "add device" via the apps. I'm convinced the issue lies with BridgedCore not completing the process to "HAP-NodeJS is listening".

@leoneleone Can you run the project with "DEBUG=* node BridgedCore.js " and see what happens there?

EventedHTTPServer Server listening on port 51826 +0ms
It doesn't take me back to home/pi though. Just hangs after DEBUG output

It should print some debugging output if you try to connect to it using your homekit app (EVE e.g.)

My problem was that my Pi was connected through Lan, while my iphone was on Wi-Fi. So they couldn't reach each other. With a Wi-Fi module on Pi everything worked flawless.

Then your wifi access point has an issue with multicasts or broadcasts. Had one of these too, and with it AirPlay was not reliably working.

Thanks for the input. Got the HAP server working now.
Currently running into a problem while running Homebrige, same problem as detailed in this issue post:
https://github.com/nfarina/homebridge/issues/209
Adding Homebridge as an accessory via iOS results in "Adding Accessory Failed!"
I believe this is due to a ZWave door lock which is part of my ISY setup. This is probably why the "Homebridge" accessory can't be added.
I'm still new to Raspberry Pi and Node so don't know how to solve the problem.
I realise this is the wrong place to be asking about Homebridge specifics, but if anyone can have a look at the link and enlighten me, it would be greatly appreciated.
Thanks guys


Odd permissions

Hey!
I wanted to use Headi but found it has the permissions of:

prevent phone from sleeping
run at startup
run foreground service
view network connections

Are all of these permissions required for the app to work?
I haven't read the code so this might just be a permission that is requested but never used.
Please fix / respond so I'll feel safer entering my personal information into the app

prevent phone from sleeping
run at startup
run foreground service

Yes, these are needed so that the timer in the background and the notification display always work.

view network connections

I have not set the permission. You can see it in the manifest. Either this is a bug or Android sets it itself. If you have installed the app, you will see in the permissions that no network is required.

@georgettica Now I can remember why network connection can be established. In the "About" screen there are links to the Github page and to the translation.
You can read the discussion in the F-Droid repo.
https://gitlab.com/fdroid/rfp/-/issues/1680


Add support for soundcloud

For playing Soundcloud tracks by track ID.

Can you run the build step as well?

Awesome! Thanks for this. Could you create the pull request against the develop branch (I've just updated it) so I can check it out and test it before updating master?

Sure, just create a new pull request


Subcodes

As mentioned in one of the comments, I need to check the implementations in the other components.

So it looks like sub codes are collected by the backend on code lookup requests. They are then appended to the JSON and sent back to the backend for storage.
There is one place in the frontend, where the scope property is still referenced. But this pull request removes it completely.
https://github.com/Onto-Med/top-frontend/pull/348/files#diff-5cad3941000b5cd3e9a4e64737429d1ee2b5fecf2aa3a8e0c0811a0898917127R153

The top-frontend and top-backend are free of references to Code.scope now. Idk if one of the extensions references it though.


Create shaded jar for pinot containing all dependent jars.

Current coverage is 64.22% (diff: 100%)

No coverage report found for master at d24a6d2.

Powered by Codecov. Last update d24a6d2...c7881f9


disorder after typing in tmux

The content in "fzf" widget becomes disordered after typing some characters. Please see the screen recording: https://dl.dropboxusercontent.com/u/12474941/fzf_disorder.mp4
I experience this when using fzf inside tmux.

duplicated with https://github.com/junegunn/fzf/issues/77


How can I using File type instead of filename?

Because my file is in memory, not in file system.

I can do that with subprocess.Popen
ffmpeg = subprocess.Popen('ffmpeg -i - -f wav -acodec pcm_s16le -ar 16000 -'.split(), stdin=file,  stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)

Something like this:
out, err = (ffmpeg
    .input('pipe:')
    .output('pipe:', format='wav', acodec='pcm_s16le', ar=16000)
    .run(capture_stdout=True)
)


VECTOR-SEARCH-54: Add VECTOR type support to COPY command

This patch adds a converter that allows parsing vector literals passed via csv files to the COPY command (https://github.com/riptano/VECTOR-SEARCH/issues/54).
The test that covers the change has been implemented as a dtest - https://github.com/datastax/cassandra-dtest/tree/vsearch-54.

Butler comparison: http://butler-stargazer.aws.dsinternal.org/#/ci/upstream/compare/ds-cassandra-pr-gate/vsearch-54/to/ds-cassandra-build-nightly/ds-trunk

Bret, can you review?

Will do, thanks @jbellis !

I'm not sure what the right answer is re: merging your dtest @szymon-miezal.  I agree with you that merging to dtest ds-trunk doesn't seem right... is there an equivalent dtest branch for vsearch?  @jbellis is there a simple answer to @szymon-miezal 's question?

Thank you @absurdfarce. I think there are two possible solutions:

create a separate branch in dtests that will be based on ds-trunk and merge vector-related tests to it.
keep merging to ds-trunk but introduce a marker for vector tests and exclude them in the regular CC pipeline.
Do you have any opinions about which one you prefer going forward?

It seems like I am not able to merge this PR, it probably requires approval from someone with write access.

@JeremiahDJordan not yet but it's on my list.


Implement sweet stats UI

Overview
Once the stats data has been retrieved, it needs to be displayed on the screen.  Try running `sweet stats --table`

Sub-tasks

[x] Print the output of the metrics into a table
[x] Print a plot using the arrays of the previously mentioned map
[x] Print the rows returned by SQL into a table

~Truncate after 10 rows~
~Print a message saying use sweet stats --table if you wanna see more~

[x] ~Add sweet stats --table flag to only show the table, and avoid truncating the table.~

If the output is too big, then just pipe the output into less

If it's a feature that people actually want, then it should be requested.

Success criteria
Unit testing the printing functions can be accomplished by having the functions returning a string, and then comparing strings with expected output within a file.
The expected output will depend on the output produced by the third party libraries, and may not consider color.

Notes
Notes
Getting the avg, min, max, first, last, and change of a recorded stat
Here's an example if I need to return the average for just wpm. To get everything for wpm, miss, errs, or acc, I should
// conversion of data from within the rep to a format that can be consumed
// by metrics.
type repData map[string]float64

// These metrics should not be rounded.
// Rounding should only happen when rendering the information.
type metrics struct {
  avg   float64
  min   float64
  max   float64
  first float64
  last  float64
}

// The string of the returned map correspond to the column within a rep.
// For instance, "wpm", or "acc".
// Metrics that are not fetched will not be included in the returned data.
func getMetrics(reps []repData, keys []string) (mmap map[string]metrics) {
	mmap = map[string]metrics{}

	for _, key := range keys {
		first := float64(reps[len(reps)-1][key])
		last := float64(reps[0][key])

		// for avg
		sum := 0.0
		total := float64(len(reps))

		min := math.MaxFloat64
		max := 0.0

		for _, r := range reps {
			if min > r[key] {
				min = r[key]
			} else if max < r[key] {
				max = r[key]
			}
			sum += r[key]
		}

		avg := sum / total
		m := metrics{
			avg:   avg,
			min:   min,
			max:   max,
			first: first,
			last:  last,
		}
		mmap[key] = m
	}
	return mmap
}

Rendering the stats table by myself
// key of stat name "wpm", "acc", and value of an array of floats
// metrics struct is the same as above
type statsTable map[string]metrics

func (table statsTable) String() (s string) {
	// print header
	headerOrder := []string{"avg", "min", "max", "1st", "last", "delta"}
	s += "\t"
	for _, header := range headerOrder {
		s += "\t" + header
	}
	s += "\n"

  // print the rows, one per stat
	statsOrder := []string{"wpm", "acc"}
  // in case I want to print each column of the map in a specific way.
  // must be the same length as the number of headers in the column.
	formatMap := map[string][]string{
		"wpm": {"%.f", "%.f", "%.f", "%.f", "%.f", "%.f"},
		"acc": {"%2.f%%", "%2.f%%", "%2.f%%", "%2.f%%", "%2.f%%", "%2.f%%"},
	}
	for _, key := range statsOrder {
		s += key + "\t\t"
		currMetrics := table[key]
		// avg
		s += fmt.Sprintf(formatMap[key][0]+"\t", currMetrics.avg)
		s += fmt.Sprintf(formatMap[key][1]+"\t", currMetrics.min)
		s += fmt.Sprintf(formatMap[key][2]+"\t", currMetrics.max)
		s += fmt.Sprintf(formatMap[key][3]+"\t", currMetrics.first)
		s += fmt.Sprintf(formatMap[key][4]+"\t", currMetrics.last)
		s += fmt.Sprintf(formatMap[key][5]+"\t", currMetrics.last-currMetrics.first)
		s += "\n"
	}
	return
}

Produces this output with some random data
                avg     min     max     1st     last    delta
wpm             66      50      66      64      55      -9
acc             95%     90%     100%    97%     98%      1%

Completed with #75


Add support for custom sort function for columns

Adds a sortFn prop to column.options.
When given, the column sorting will be made using that function.
sortFn Interface
(order: 'asc'|'desc') => ({data: val1}, {data: val2}) => number

example:
columns = [
  {
    name: "Name",
    options: {
      sort: true,
      sortFn: order => ({data: val1}, {data: val2}) => (val1.length - val2.length) * (order === 'asc' ? 1 : -1)
    }
  }
]

Gotchas

Doesn't work when customSort is provided (for the whole table).
The reason is that there is a specially crafted payload when calling sortedData.sort(...) (whereas usually we would expect an interface of (a,b) => number where a,b are the actual values).
sortFn (and customSort) need to know about the possible values of order instead of accounting for the comparison only. I think this should be refactored, something like:

const sortWrapper = (order: number, compareFn: function) =>({data: val1}, {data: val2}) => (order === 'asc' ? 1 : -1) * compareFn(a,b)
sortedData.sort(sortFn(order, compareFn))

That way neither the custom sortFn (or sortCompare) need to know about order.
Any thoughts?

Coverage decreased (-0.005%) to 76.63% when pulling b90680c03bfc79ca89bac6ce41ef614e4f7524d4 on GuyShaanan:add-column-custom-sort into f0ea9e58d82839c57a4dfd4a342b6649932660a7 on gregnb:master.

Hey @GuyShaanan, this is an interesting feature, thanks for working on it. I'm also glad you provided an example, and that certainly helped me understand the potential use cases better.
Here are some of my thoughts:

I would expect a custom column sort to override the behavior of the overall custom sort in cases where that column is specifically being sorted. I think we should be able to do this by checking if the columnSortFn argument is null. If it isn't, I think we should resort the table in that case.
It's an interesting proposal to handle order such that the custom functions don't need it, however, there are probably existing use cases for treating asc and desc in a special way, so I'm wary of changing this. Already, your sample code and the customize-sort example don't agree on how to value the order.
I'd prefer a name for the function that would keep it a bit more obviously distinct and consistent with the existing customSort: perhaps customColumnSort would do.
As far as the function shape/arguments, I'd also prefer this to use the same format (for consistency) as customSort, meaning just passing all the arguments in at once, without currying.

This is a pretty cool feature, and it greatly simplifies custom sorting. This feature has been mentioned a few times in the last 2 months, so I'm merging it into another branch to finish it up for the 3.3.0 release.


Star data automatic generation

Hi.
First I would like to congratulate you for the code. Very easy to follow and well written.
I was trying to make some modifications to it and add a few more names to some stars and maybe draw the constellations. I would like to ask you, how do you generate the stars data in universe.js?
Thanks.

Hello. Star data was taken from the Bright Star Catalog. http://tdc-www.harvard.edu/catalogs/bsc5.html

Hello. Star data was taken from the Bright Star Catalog. http://tdc-www.harvard.edu/catalogs/bsc5.html


A11y ci

Hit the button too soon! Closing this - not quite ready yet.

Deploy preview for pf-next ready!
Built with commit eca4f220d7d723eac6ebba566e836349b1eee309
https://deploy-preview-608--pf-next.netlify.com


Smooth

Would you be interested in an analogous function to geom_smooth()?
If so, what kind of user interface would you have in mind? How do we pass all those extra arguments?
https://ggplot2.tidyverse.org/reference/geom_smooth.html

Yes, definitely interested but I'm not sure about the UI side (incl. extra args).
Do you have any thoughts?
See also Achim's comment here: https://github.com/grantmcdermott/tinyplot/issues/93#issuecomment-1902802784

In principle, this would be nice to have. I feel it would be important to either not introduce further arguments or to encapsulate them in such a way that they are not direct arguments of the main tinyplot() function.
Otherwise, if there are new arguments for the main function, it would make it harder to generalize tinyplot() to plots with factor variables (see https://github.com/grantmcdermott/tinyplot/issues/2) which I still haven't given up hope for.

Sorry, I missed the master issue with types. Will follow up elsewhere.