Multiple VideoJS Instances on One Page

Hello,
My usage of videojs involves having multiple instances of a videojs player on a single page. When I use videojs-ima, it generates one container as a child of each videojs player's parent div element. The issue is that all the containers and elements generated by videojs-ima are using the same id, causing problems with CSS selectors and errors in the DOM.
Would you be open to a pull request that includes the id of the videojs player element as a postfix/prefix of the id of the ad containers? Or perhaps a PR that uses classnames rather than IDs for the elements created by videojs-ima?
Any other solutions?
Thanks

Hi there,
I think your first solution would be the best - we'd definitely be open to pull requests to solve this issue. When you have something ready, be sure to look through our Contributing doc to make sure you have the required agreements signed.
Thanks,
Shawn

@shawnbuso I have submitted the paperwork for the contributing doc.
Related to this issue - I failed to account for styling when suggesting that we use solely unique id's on the elements. There needs to be a combination of both (adding classnames to the elements, as well as using unique ids) in order for the IMA plugin to function as expected. Currently if we simply change to using unique IDs, the styling from the css will no longer be valid.
I'll attempt to account for these issues and submit a pull request

Hi @kjanoudi, any updates on your PR ?

@mimse I actually no longed needed to use several instances on one page, sorry, so i never finished off the PR work.

@kjanoudi Did you make any headway on it that you could share?

@jamesgorrie see my last comment, sorry!

so i never finished off the PR work

I was wondering if you had any of the progress that you made to share - that could be super useful.

@jamesgorrie
You can have a look this branch
https://github.com/tv2/videojs-ima/tree/fix_for_multiple_instances
We are using it in production, and I have made a pull request, but it still missing a bit to get accepted. I have not had the time to correct the changes needed.

@jamesgorrie @mimse @shawnbuso
Has there been any progress on getting this PR merged in? We definitely need this resolved ASAP and would be willing to help fund the work to fix this even.

I think my last comment on the PR is still accurate - the way the changes were made makes the diff tool think everything has been changed, so I can't really do a review.

Fixed in #253. Let me know if you're still having trouble!

Do you have a test page set up to verify 2 player support? I tried testing it out by modifying our simple sample to add another player, but initializing a second player breaks the first player for me - it looks like the ad request times out and I just go straight to content.

@shawnbuso The issue in the example you highlighted is actually related to a different problem with the library in relation to using the same adTagUrl for two instances of the adsLoader. In order to use the same URL twice you need to destroy the first adsLoader instance and initialize another. This could be solved by dynamically generating the adsLoader and destroying the instance once the preroll is done, but I believe the recommended setup is to have another adTagUrl for the second player.

@Cosrnos I'm testing with 2 different ad tags already and seeing the same issue :/ Also that issue should only occur if you request the same ad twice - I'm seeing issue without even trying to request the second ad, just initializing the player.

@shawnbuso Are you using two different ids for the VideoJS players? I'm actually using this code right now (I actually put @Cosrnos up to this) and it's working for me.

Yea I pushed my test code here. Using 2 different player IDs and 2 different test tags. When I have two players on the page I'm able to play the second one but the first times out. The code for each player works on its own, they just don't work together.

@shawnbuso I'll dig into this a bit later this evening and let you know what I find!

@shawnbuso @cosrnos @ehoch
I have a new merge request i´ll submit tomorrow. It has fewer changes and @shawnbuso should be able to merge it.

@shawnbuso @Cosrnos @ehoch
Please take a look at #255


Permission updating issues with inheritances

Hello,
I set up various user groups with inheritances.

Guest as some basic permissions
User has some additional permissions and inheritance Guest
AdvancedUser has some additional permissions and inheritance User (and automatically inheritances Guest too)

and so on.
If I add a permission node to Guest for example, this takes effect for users in group Guest immediately. Unfortunately users in the group User or AdvancedUser have to relog till they have access to their new permission.
Is there a way to flush the permission cache for all online users when a change happens?
PEX1.23.3
Spigot 1.8.8
Thanks for reading.
Best regards
Olaf

PEX2.x (still in development) fixes caching issues, but until that's ready you'll want to just /pex reload

Aight, thanks.


Migrate mod to mg-discord-integration in new repo.

There are a number of build tasks/processes that are going to assume all the living world modules have "mg-" appended to the front. Simply changing the module name will cause breaking issues, so instead a new repo needs to be duplicated from this one.

Upon further consideration, this is not worth the confusion/effort, instead maintain a master list of mods that will be supported.


Licence change to BSD-3

Licensing guidelines from CTAO prefers BSD-3 licences. I suggest to change the licence to this, before we have too many contributors and this becomes complicated.

Done by https://github.com/gammasim/gammasim-tools/commit/f2975856ac94411069b4db46bdaaaff97d63ef0e


how to set service port name

Rancher versions:
2.0.6
when i new ingress in load balancing for workloads,it will product a ingress and a service discovery.
the service discovery's yaml will as below:
  ports:
  - nodePort: 32399
    port: 9102
    protocol: TCP
    targetPort: 9102

but i expected it be:
ports:
 - nodePort: 32399
   name: http
   port: 9102
   protocol: TCP
   targetPort: 9102

i can sovle it by  copy the service yaml file to xxx.yaml and increase the port name,then kubectl apply -f xxx.yaml.
but i want if is it has a method resolve it by rke config file.

i hope the ingress service can be editted.

/sig kind/bug


Multiple errors with "Correlation Significance (Freely Moving)" function

test experiment: 6-Expt-Filter-Calc.mcomp
filter: all except RSPd and RSPg excluded
There seems to be the same issues we had with the other related functions:
1- Total number of Free cells is wrong. It should match with what is in Freely Moving Cell Type Statistics when the 'Remove Non-Matched Cells' is NOT selected. So it must be 143 cells but we are getting 204.
2-The exclusion filter doesn't do anything on this function
3- Not clear how the significance is determined. Are we using the AHV definition for this (based on percentiles in Adam's dataframe)?
I usually assume that when there are the same bugs under a function grouping, i.e. "Angular Head Velocity Analysis", then the fixes would solve the issues in all the underlying sub-functions, i.e both "Correlation Significance (Fixed) and Correlation Significance (Freely Moving). However, it seems we have the same issues as before on this function too. Is there any way to make these higher level calculations so that we won't need to de-bug the code for the same problem in every single sub-function?

General exclusion filter has not been properly applied. This will need to be included.

Total cell count should be 143 (i.e., include all cells regardless of matching).

For point #3 above, change from using pearson coefficient < p_value (=0.05) to the percentile >= p_tile (=95%). Do this for both the negative and positive ranges (change p_value in parameters as well).

The general exclusion filter has been added to the Freely Moving functions in the AHV Analysis Functions (Distributions, Scatterplot and Significance). In addition to this, the method by which the significance cells are calculated (for the Significance Function) has been changed so that the percentile values are used instead of the pearson coefficients. Also, the user can now show either the cell counts or significant proportion Mean +/- SEM values in the table (by toggling the "Show Cell Counts" plotting parameter).
Finally, I have changed the colours of the table headers so that they now don't clash with the bar graph colours.


OK OK last PR fr, please do merge

it has come to my attention that my approach to saving was bad, and so i changed it.
this is... something you will definitely want.
@SaiyanGonzalez01
last PR i will make 'til after thanksgiving i swear

alr, I'll merge this soon, and quick question, does importing saves work for you?

alr, I'll merge this soon, and quick question, does importing saves work for you?

Importing saves?
as in importing worlds? or?

yea importing worlds

yea importing worlds. Tried a couple of times on vanilla beta 1.7.3, didnt work on my end

havent tried it... ever

well maybe its just my computer that's just freezing the game everytime it tries to import


Database pods are failing with curl: command not found

I deployed a few weeks ago and everything spun up healthy.
Today, I tried to spin up in OpenShift and am seeing errors with the heroes & villains db pods with this:
postgresql 16:14:10.52
postgresql 16:14:10.52 Welcome to the Bitnami postgresql container
postgresql 16:14:10.52 Subscribe to project updates by watching https://github.com/bitnami/containers
postgresql 16:14:10.52 Submit issues and feature requests at https://github.com/bitnami/containers/issues
postgresql 16:14:10.52
postgresql 16:14:10.53 INFO ==> ** Starting PostgreSQL setup **
postgresql 16:14:10.54 INFO ==> Validating settings in POSTGRESQL_* env vars..
postgresql 16:14:10.54 INFO ==> Loading custom pre-init scripts...
postgresql 16:14:10.55 INFO ==> Loading user's custom files from /docker-entrypoint-preinitdb.d ...
/docker-entrypoint-preinitdb.d/..2022_10_06_15_42_44.4190271301/get-data.sh: line 3: curl: command not found

I love this demo, I hope this can be fixed soon! I use this to test OpenTelemetry things. Thank you!
Here is how I deployed:
oc apply -f https://raw.githubusercontent.com/quarkusio/quarkus-super-heroes/main/deploy/k8s/java17-openshift.yml
oc apply -f https://raw.githubusercontent.com/quarkusio/quarkus-super-heroes/main/deploy/k8s/monitoring-openshift.yml

Thank you for reporting @sallyom I will look into it

@sallyom #155 has been merged. Those k8s descriptors will be re-generated on the next CI run, which should kick off momentarily. Should take an hour or 2 to run to completion.
You can follow its progress at https://github.com/quarkusio/quarkus-super-heroes/actions
Thank you again for submitting this!


meta data bug

Hi there,
version: 3.0.0-rc1
There is a nasty bug, which prevents metadata (e.g. info.meta) to be accessible inside formatter unless there is at least one splat along with meta data.
Reproducing this bug is simple:
// THIS IS THE EXAMPLE THAT DOESN'T WORK AS EXPECTED
// If you try to log meta data, it will NOT work (u won't be able to access info.meta inside formatter),
// unless there is at least one 'splat' included.
logger.info('my message', { reason: 'whatever', promise: 'whenever' });
// THIS EXAMPLE WORKS FINE
// In order to properly log meta data along with 'my message' you are forced to include at least one splat.
logger.info('my message%s', 'It needs one splat that i do not need', { reason: 'whatever', promise: 'whenever' });
https://github.com/winstonjs/winston/blob/3b6da2c00b24a90bb6c99f2ae69fa8302f9f03d9/lib/winston/logger.js#L173
line 173:
const info = Object.assign({}, meta, { [LEVEL]: level, level, message: msg });
Should be changed to:
const info = Object.assign({}, { [LEVEL]: level, level, message: msg, meta });
With this change ,info.meta is accessible inside formatter regardless if there are any 'splats' included or not and it is now also sorted properly if you do a console.log on the info object (same order with splats or without any splat).
Can someone please test this bug and if the 'code fix' looks good, please apply this patched code to the project.
Best regards,
Jim

@teneon can you make a pull request for your fix?

This change will break test case log(level, message, meta) at test/logger-legacy.test.js:105.
However, I think it is correct behavior, and we should remove that assume(info.one).equals(2);, and let end-user decide whether to merge meta with info object in their formatters.

@teneon I included your fix in this pull request https://github.com/winstonjs/winston/pull/1229

@guiguan thank you for quick response. It was a bug that needed fixing, so we can use meta data now as expected.
Kind regards

Thanks for highlighting this @teneon. This is not a bug. Hopefully this example clears it up for you: https://github.com/winstonjs/winston/pull/1235


Investigate large pull performance

Using Android 1.3.1-27 and sync_gateway 1.3.1-15
I am using Nexus 4 - API 15 Genymotion emulator

Add 10000 4k docs to sync_gateway
Create a continuous pull replication, LiteServ <- SG via POST _replicate on LiteServ
Time how long it takes for all documents to replicate

I am seeing anywhere from 170-200 seconds to replicate all of the documents. @hideki or @pasin, can you verify that the numbers I am seeing are expected?

@pasin, Can you run Pull performance test with  10000 docs of 4KB/doc on iPhone? I will do Android.

Pull repl 10000 4K docs, Office Wifi

Nexus 9 (Android N) - 35384ms (35.4sec)
Nexus 6 (Android M) -

@sethrosetter Slowness could be come from REST API (Router) Codes.

@hideki Did @pasin run the iOS replication for comparison?

IOS perfromance:  https://github.com/couchbaselabs/iOS-WorkerBee/wiki/Test-Result
Android: https://github.com/couchbase/couchbase-lite-java-core/wiki/Performance-Test-Result
With 1000 1K docs pull replication test: iOS is 5 times faster than Android

I was thinking about doing it yesterday at home but my home wifi is way slower than the office wifi based on my observation when running perf tests in android. I will need to do this next week in the office.

Also I belive android replication slowness (compared to iOS) is not a regression so we most likely will not try to fix in 1.3.1. But it's really worth to do more investigation and measurement after 1.3.1.

I have measured the iOS pull replication performance with iPhone 6, iOS 9.3.4. iOS took about 5 seconds to finish. Even though, Android seems to be a lot slower, but I think this is not a regression issue.

Testing with my Google Nexus 4 - API 16 - Genymotion emulator and using 1.3.1-28 SQLite, the replication was 115s which is much closer to what you are seeing.

When using the setup in the previous comment, I tried using Continuous replication. The test is to poll _all_docs every 1s and see if we have received all the docs we are expecting. Running this way took 164 seconds. If I set the _all_docs polling down to every 10 seconds, the replication took ~130s.
When removing the _all_docs polling altogether and monitoring _active_tasks, the continuous pull took 115s, which is analogous to the One Shot replication above.


[Feature Request] Find Wrapper by Data Attribute

Feature Description
Its not a best practice to find elements by css classes. A better and concise solution is the use of data attributes. So we can give those testable elements a data-testId with a specific name
eg.
<input data-testId="passwordInput" />
Now I can use this data attribute across my test frameworks (unit and e2e testing) without touching other unwanted elements.
Problem
If I search an element by
const firstTypeBasedTicketCard = wrapper.find(
      '[data-test="typeBasedTicketCard-support-request"]'
)

expect(firstTypeBasedTicketCard.exists()).toBe(true)

I get an error
Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

So I can assume my element does not exist, which is wrong, since the e2e test with nightwatchJs finds the element.
Expected behaviour
I expect to find an element via data attributes.
Edit: Here is my Component HTML
as you see I declared:
:data-test="`typeBasedTicketCard-${ticketType.id}`"

<template>

{{ $t('common.createTicket') }}

    <v-row class="mt-n2">
      <v-col
        v-for="ticketType in ticketTypes"
        :key="ticketType.id"
        cols="12"
        lg="4"
      >
        <v-hover v-slot="{ hover }">
          <v-card
            :elevation="hover ? 16 : 2"
            height="100%"
            nuxt
            exact
            :data-test="`typeBasedTicketCard-${ticketType.id}`"
            :to="
              localePath(
                `/dashboard/product/${productId}/ticket/wizard?type=${ticketType.id}`
              )
            "
          >
            <v-card-title>

{{ $t(ticketType.title) }}

            </v-card-title>
            <v-card-text>
              {{ $t(ticketType.description) }}
            </v-card-text>
          </v-card>
        </v-hover>
      </v-col>
    </v-row>

</template>

Hi!

Its not a best practice to find elements by css classes

Totally agree on that :)
Since wrapper.find accepts any valid DOM selector, you can already write something like
wrapper.find(`[data-test="typeBasedTicketCard-${ticketType.id}"]`)

Also, this is kind of solved in user-land by Testing Library (there's a specific version for Vue, too). Testing Lib uses data-testid,  but it would serve your needs, too.
Hope it helps!

Thank you,
It seems it's a problem with rendering. You pointed out that data attributes are already functional, it's also in the docs. Then I ask myself, why I can find my data attributes.
I try the testing library and update this issue if I get anything to work. If no update comes, assume I still have that issue :D

Okay I close this issue, since i found the magic.
The problem is not about the data-*, its about the rendered HTML. I used the snapshot function to show the generated HTML

common.createTicket

  <v-row class=\"mt-n2\">
    <v-col cols=\"12\" lg=\"4\">
      <v-hover></v-hover>
    </v-col>
    <v-col cols=\"12\" lg=\"4\">
      <v-hover></v-hover>
    </v-col>
    <v-col cols=\"12\" lg=\"4\">
      <v-hover></v-hover>
    </v-col>
  </v-row>

as you see, v-hover has no content, which is actually a problem. So I think the issue is about vuetify testing.

https://github.com/vuetifyjs/vuetify/discussions/13836


Many to many relationship not working?

Hi, I've two collections that have a many to many relationship. The 'parent' has 13,000 documents and the 'child' has about 20. I'm storing the foreign keys in the parent document only  (as I don't want arrays 000s long in the child document).
I've set up the belongsToMany methods on each Model.
I get an empty collection back when I call parent->children(). Do I need to store the parent keys in the child document to make this work?
Thanks

Yes, it works only that way. You can just check the query which is made when you call $parent->children, it is something like:
children.find({"parent_ids":"parent_object_id_here"}


Grammar correction

Grammar correction:
In this article, we'll walk you through the steps of adding an existing domain your already own or buying a new one.
In this article, we'll walk you through the steps of adding an existing domain you already own or buying a new one.

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

ID: fc903dd4-94b0-1461-d9a4-5b457d5ac3b6
Version Independent ID: 7a8eff98-2ba7-81f7-2a3d-71bdd7e1994a
Content: Set up Microsoft 365 Business Standard with a new or existing domain - Microsoft 365 admin
Content Source: microsoft-365/admin/setup/setup-business-standard.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@Russel-Thomas , Thanks for pointout.

@RAJU2529 Thank you very much for the contribution and updating the documentation with PR. @Russel-Thomas Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also

Always a pleasure, thanks for the quality response everyone 👍


Unable to Transform publishing page with OOTB web parts whereas those web parts are upgraded when the page was not publishing type

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Category
[ x] Bug
[ ] Enhancement
Problem Area
[ ] Page Transformation: Error during the setup/use of the Page Transformation UI solution (did you check our troubleshooting guide?)
[x ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...

Hi,
I am trying to upgrade a publishing page using PnP PowerShell command as shown below. Text web part is upgraded. But Calendar web part is not transformed.
ConvertTo-PnPClientSidePage -Identity "WebPart_TestPage_R2.aspx" -AddPageAcceptBanner -PublishingPage -TargetWebUrl $communicationsiteurl -PublishingTargetPageName $item.Name -LogType File -LogFolder "D:\Scripts\log" -LogVerbose
It is failed when trying to map the calendar list web part to Events web part in a publishing page.
This calendar web part is open in the classic page.
Please find the transformation log.
Modernisation Summary Report

Date
Duration
Source Page
Target Page Url
Status

8/20/2019 2:06:00 AM
00:00:02
/pages/webpart_testpage_r2.aspx

A issue prevented successful transformation

Errors during transformation

Date
Source Page
Operation
Message

8/20/2019 2:06:02 AM
/pages/webpart_testpage_r2.aspx
Web Part Mapping
An error occurred processing functions - Exception has been thrown by the target of an invocation.    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at SharePointPnP.Modernization.Framework.Functions.BaseFunctionProcessor.ExecuteMethod(Object functionClassInstance, FunctionDefinition functionDefinition, MethodInfo methodInfo)

at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.ExecutePropertyFunctions(String[] functionsToProcess, WebPart webPartData, WebPartEntity webPart, Property property)

at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.Process(WebPart& webPartData, WebPartEntity webPart)

at SharePointPnP.Modernization.Framework.Transform.ContentTransformator.Transform(List`1 webParts)

at SharePointPnP.Modernization.Framework.Publishing.PublishingPageTransformator.Transform(PublishingPageTransformationInformation publishingPageTransformationInformation)

8/20/2019 2:06:02 AM
/pages/webpart_testpage_r2.aspx
Summary
A critical error occurred - transformation did not complete    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at SharePointPnP.Modernization.Framework.Functions.BaseFunctionProcessor.ExecuteMethod(Object functionClassInstance, FunctionDefinition functionDefinition, MethodInfo methodInfo)

at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.ExecutePropertyFunctions(String[] functionsToProcess, WebPart webPartData, WebPartEntity webPart, Property property)

at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.Process(WebPart& webPartData, WebPartEntity webPart)

at SharePointPnP.Modernization.Framework.Transform.ContentTransformator.Transform(List`1 webParts)

at SharePointPnP.Modernization.Framework.Publishing.PublishingPageTransformator.Transform(PublishingPageTransformationInformation publishingPageTransformationInformation)

Critical Errors during transformation
8/20/2019 2:06:02 AM - /pages/webpart_testpage_r2.aspx
Exception has been thrown by the target of an invocation.   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at SharePointPnP.Modernization.Framework.Functions.BaseFunctionProcessor.ExecuteMethod(Object functionClassInstance, FunctionDefinition functionDefinition, MethodInfo methodInfo)
at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.ExecutePropertyFunctions(String[] functionsToProcess, WebPart webPartData, WebPartEntity webPart, Property property)
at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.Process(WebPart& webPartData, WebPartEntity webPart)
at SharePointPnP.Modernization.Framework.Transform.ContentTransformator.Transform(List`1 webParts)
at SharePointPnP.Modernization.Framework.Publishing.PublishingPageTransformator.Transform(PublishingPageTransformationInformation publishingPageTransformationInformation)
Individual Page details
Transformation Details: /pages/webpart_testpage_r2.aspx

Report date: 8/20/2019 2:06:00 AM
Transform duration: SharePointPnP.Modernization.Framework.Entities.TransformationLogAnalysis
Transforming site: /teams/IT
Cross-Site transfer mode to site: /sites/Comm9
Transforming page: /teams/it/pages/webpart_testpage_r2.aspx
A critical error occurred - transformation did not complete

Page Transformation Settings

Property
Setting

Overwrite
False

Target Page Name
WebPart_TestPage_R2.aspx

Keep Page Specific Permissions
True

Remove Empty Sections And Columns
True

Handle Wiki Images And Videos
True

Publish Created Page
True

Disable Page Comments
False

Skip Url Rewrite
False

Skip Telemetry
False

Transformation Operation Details

Date
Operation
Actions Performed

8/20/2019 2:06:00 AM
Input Validation
Validation checks complete

8/20/2019 2:06:00 AM
SharePoint Connection
Loading client context objects

8/20/2019 2:06:00 AM
SharePoint Connection
Loading target client context object

8/20/2019 2:06:01 AM
Page Creation
Detect if the page is living inside a folder

8/20/2019 2:06:01 AM
Page Creation
Just try to load the page in the fastest possible manner, we only want to see if the page exists or not

8/20/2019 2:06:02 AM
Load
Page does not exist in current web

8/20/2019 2:06:02 AM
Page Creation
Checking Page Exists

8/20/2019 2:06:02 AM
Page Creation
Modern page created

8/20/2019 2:06:02 AM
Article page handling
Transforming source page as Article page

8/20/2019 2:06:02 AM
Article page handling
Recognized source page as a Publishing Page. - Analyzing web parts and page layouts

8/20/2019 2:06:02 AM
Article page handling
Splitting images and videos from wiki text - as modern text web part does not support embedded images and videos

8/20/2019 2:06:02 AM
Set Page Title
Setting the modern page title: WebPart_TestPage

8/20/2019 2:06:02 AM
Article page handling
Preparing content transformation

8/20/2019 2:06:02 AM
Article page handling
Transforming content

8/20/2019 2:06:02 AM
Content Transform
Transforming web parts

8/20/2019 2:06:02 AM
Web Part Mapping
Web Part:'WikiText' of type 'SharePointPnP.Modernization.WikiTextPart' is being transformed

8/20/2019 2:06:02 AM
Web Part Mapping
Processing selector functions

8/20/2019 2:06:02 AM
Web Part Mapping
Combining mapping data

8/20/2019 2:06:02 AM
Adding Web Parts to Target Page
Added 'Client Side Text Web Part' to target page

8/20/2019 2:06:02 AM
Web Part Mapping
Web Part:'RCal' of type 'Microsoft.SharePoint.WebPartPages.ListViewWebPart' is being transformed

8/20/2019 2:06:02 AM
Web Part Mapping
Processing selector functions

Thx for reporting this @RajiVenkat242 , I'll look into this and provide feedback.

Hi @RajiVenkat242 ,
When you transform a publishing page holding a calendar web part we assume you've setup a calendar list with the same name in the target site collection. In your case this is not the case and the code failed on this. Other lists (XSLTListViewWebPart based) handled this situation and simply skipped the web part, but for ListViewWebPart based lists (like Calendar) this was not the case. I've updated the mapping to handle this correctly now.
So in summary for you the fix will to create the calendar list in the target site using the same name as was used in the source site.

Hi @RajiVenkat242 ,
Did above help? Can we close this issue?

Hey @RajiVenkat242 ,
Did the above feedback get you unblocked?

Since the fix to handle non existing calendar lists in the target site is checked in I'm closing this issue. Please create a new issue if you still face problems when using the September release which will be released soon.


chore(cryostat3): various cleanups

Welcome to Cryostat! 👋
Before contributing, make sure you have:

[x] Read the contributing guidelines
[x] Linked a relevant issue which this PR resolves
[x] Linked any other relevant issues, PR's, or documentation, if any
[x] Resolved all conflicts, if any
[x] Rebased your branch PR on top of the latest upstream main branch
[x] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[x] Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Related to #710
Description of the change:

cleans up some unused volume mounts and env vars
removes Grafana basic auth secret - no longer needed, since Grafana is placed behind the same auth proxy as Cryostat
configures Grafana for anonymous access (not really anonymous since traffic must go through auth proxy first)
corrects environment variables so Cryostat UI "View in Grafana" correctly opens Grafana UI
renames some CR fields to better reflect what they mean in 3.0
updates docs/config.md
removes AuthProperties CR field since this is replaced by AuthorizationOptions now

Motivation for the change:
General clean up, get Grafana working.
How to manually test:

Check out, build, and test PR. Use OPENSHIFT_OAUTH_PROXY_IMG=quay.io/andrewazores/openshift-oauth-proxy:test-14 (rebuild with golang 1.22) so the UI is usable without the proxy path redirect bug.
Create Cryostat CR with cert_manager integration disabled
Note Application Route URL, open a new private/incognito browser tab and visit ex. http://cryostat-cryostat.apps-crc.testing/grafana to go directly to the Grafana dashboard. This should prompt you to log in with OpenShift, just like visiting the Cryostat UI.
In Cryostat UI, log in with OpenShift, then define a localhost:0 custom target, start a recording, and "View in Grafana" it. This should pass you directly through to Grafana without re-auth.
Copy and paste the "View in Grafana" tab URL into a new incognito window to simulate a different, unauthenticated user. Paste and go. You should be prompted to log in.
Archive the recording and repeat the same "View in Grafana" tests.

I was able to create a recording from the Topology view, but can't access the Recordings view:

Are you using the plain upstream OpenShift OAuth Proxy or a golang 1.22 rebuild?

Are you using the plain upstream OpenShift OAuth Proxy or a golang 1.22 rebuild?

It should have been the rebuild.


'occludeSpecular' : no matching overloaded function found

I am still using playcanvas-gltf (or rather a modified version of that), but with the latest rewrites in the engine some shaders fail to compile:
One full error:
Failed to compile fragment shader:
ERROR: 0:486: 'occludeSpecular' : no matching overloaded function found
481:	    dAtten *= getLightDiffuse();
482:	    dDiffuseLight += dAtten * light0_color;
483:	    dSpecularLight += getLightSpecular() * dAtten * light0_color;
484:
485:
486:	    occludeSpecular();
487:
488:	    gl_FragColor.rgb = combineColor();
489:
490:	    gl_FragColor.rgb += dEmission;
491:	    gl_FragColor.rgb = addFog(gl_FragColor.rgb);

Different glTF models produce different errors:

Now I wonder if backwards-compatibility is abandoned or should the engine still support these shaders?

Which version of the engine are you using? 1.54.1?

Looks like this is triggered from adding a height map to a standard material (for parallax mapping)?

Hi @kungfooman, sorry about this. I took a quick look at the custom chunks in playcanvas-gltf and I don't think they are the problem. Can you provide a repro so we can investigate further?

Can you provide a repro so we can investigate further?

Download https://github.com/playcanvas/playcanvas-gltf/archive/refs/heads/main.zip
Extract it in web server of choice (lighttpd, Apache2, ...)
Open playcanvas-gltf-main/viewer/index.html
Change the lines:

        <script src='https://code.playcanvas.com/playcanvas-stable.js'></script>
        <script src='../src/playcanvas-anim.js'></script>
        <script src='../src/playcanvas-gltf.js' defer></script>

to:
        <script type="module">
          import * as pc from "http://<IP_ADDRESS>/playcanvas-engine/src/index.js";
          window.pc = pc;
        </script>
        <script src='../src/playcanvas-anim.js'></script>
        <script src='../src/playcanvas-gltf.js' defer></script>

(defer statement in last <script> is important)
Or alternatively just rewrite playcanvas-stable.js to playcanvas-latest.js or to your local build.
If you have DamagedHelmet glTF, that should be enough for testing it.

Ahh interesting. A week ago I found and fixed a bug in glb-parser.js which was setting occludeSpecular flag incorrectly here.
Looks like the bug originated in playcanvas-gltf.
In general I wonder how how the chunk system should handle invalid parameters like this...

Fixed in https://github.com/playcanvas/engine/pull/4379

Thank you for the quick resolution, it works perfectly!

In general I wonder how how the chunk system should handle invalid parameters like this...

Since the error originated from options.occludeSpecular supposedly containing a number, but being "true", I think the closest solution is to simply do a simple type-check in standard-material.js in defineValueProp/setterFunc:
// define a simple value property (float, string etc)
const defineValueProp = (prop) => {
    const internalName = `_${prop.name}`;
    const dirtyShaderFunc = prop.dirtyShaderFunc || (() => true);

    const setterFunc = function (value) {
        const oldValue = this[internalName];
        // <newTypeCheck>
        console.log({internalName, oldValue, value});
        if (oldValue !== undefined) {
            if (typeof oldValue !== typeof value) {
                console.log(`Cannot change type of ${internalName} from ${oldValue} to ${value}`);
                return;
            }
        }
        // </newTypeCheck>
        if (oldValue !== value) {
            this._dirtyShader = this._dirtyShader || dirtyShaderFunc(oldValue, value);
            this[internalName] = value;
        }
    };

    definePropInternal(prop.name, () => prop.defaultValue, setterFunc, prop.getterFunc);
};

If then someone tries to set a wrong type, it will show this:

Then you can also go back to simply check if (options.occludeSpecular) because the type/value is "trustable".
I think this makes the code also more future safe after adding more SPECOCC_* enums and the if's don't need to be reconsidered/rewritten.

assigning @GSterbrant as he's currently refactoring the options.

This should've been fixed in #4900, where both the standard material options and the lit shader options have documented types and are also not anonymous classes.

So can we close this then?

Best is to test the playcanvas-gltf example procedure again.
I couldn't find any "type change checking" in my quick look over the PR at least so far.

playcanvas-gltf e.g. has no typing/Intellisense enabled, but then again, it is also obsolete.

But perhaps you were thinking more that we should be more strict in asserting the types?

Right, my idea was just that once we know a property is a string for example, it shouldn't be allowed to assign a number / bool anymore?
It could be just in a Debug.call(() => { ... });
Right now this is just a could-be-nice-to-have-in-few-situations-that-may-or-may-not-occur for me, otherwise @slimbuck fixed the issue :100: :+1: Right now I don't have such situations luckily :sweat_smile:


⚠ Processors has degraded performance

In b9ae73a, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 97 ms

Resolved: Processors performance has improved in ba8dff1.


Rename makeAddr() to makeAddress()

This refers to the following two functions from StdCheats.sol which look out of place next to their more verbose brethren:

makeAddr() -> makeAddress()
makeAddrAndKey() -> makeAddressAndKey()

This naming is consistent with the vm.addr cheat upstream. Renaming would be a breaking change, and it's easy to introduce a makeAddress alias in your own code, so I'm going to close this 🙂


Custom configuration for start of Docker container

hey ghost!
I'm wondering if you have documentation somewhere to describe how to deploy a ghost blog with:

an already created user account and password
registration disabled by default

I'm looking for the equivalent setup of launching a jupyter notebook with a token, and in the context of a blog a pre-generated user account with registration disabled would do the trick. Thanks muchly!

We don't provide any additional behavior above what Ghost itself provides, so I'd recommend reading through the Ghost configuration docs (https://docs.ghost.org/docs/config) and if those aren't sufficient, the best I can recommend is checking to see if https://help.ghost.org/ has anything useful (perhaps Stack Overflow?).

Actually I think this config file might do the trick! I'll test it out, and is it ok if I leave the issue open in case I have any questions?

Going to close the issue being that it's resolved.
If you have future questions you should ask the Docker Community Forums, the Docker Community Slack, or Stack Overflow. As these repositories are for issues with the image and not necessarily for questions of usability


FSM Blueprint don't have relative paths

The paths in the FSM Blueprint's Service Desk page are all set for Pat Burma's NS in dev. as we are now in internal, this issue has shown up.
If you allow me @pburma , I can try to fix it in the pageset.

this is addressed as well in the ongoing Pull Request "Td blueprint fsm v1 - fix https://github.com/Vantiq/Blueprints/issues/12"


Specify external dependencies of dependencies

It would be nice if the deps parameter would also work for dependencies of dependencies.
For example I want to specify a version of @tiptap/core. Within @tiptap/starter-kit some other packages are loaded, e.g. @tiptap/extension-blockquote. @tiptap/extension-blockquote also depends on @tiptap/core but esm.sh loads a different version of it (2.0.0-beta.99). Setting deps on @tiptap/starter-kit doesn’t help unfortunately.
Can be tested with this html file.
<!doctype html>

  <meta charset="utf-8">

@philippkuehn i think this is a bug, i will fix this, thanks 🙏

Any update?

Encountering this for packages that rely on React (I'm trying to force everything to use react@17.0.2).

@ije this makes esm.sh unusable for packages that transitively depend on React or THREE, which have to be globally unique. For example @react-three/fiber imports react-use-measure which imports<EMAIL_ADDRESS>(the latest version is 18.1.0).

Some news here? I'm facing this "issue", do we have a workaround? In my case i can't use importmap 😞

i just added a patch for this, needs v136 deployment for working, will deploy later


Panel with fixed position content

Hi,
Is it possible to use the Library to show fixed position content. What I mean by that is the the content of the panel will stay in the same position on the screen when the panel is expanded.
For example my panel needs to contain a title and a listview with a varying number of rows. The panel is positioned at the top of the screen. When the panel is anchored I want to display the title and the first row in the list. when the panel is expanded I want to show the title and the rest of the list.
Is something like this possible? is it on the road map?
Thank you

I think you can take advantage of the panelSlideListener and reposition your content yourself when the panel moves.


Add installation guide for JS users to README.md

For me, as a JS user, installing this plugin is confusing since I have never worked with Rust. Thank you very much for your work!

Soon this crate will be archived, and the functionality will be integrated into tauri and since the instructions are simple, it is enough to write it here.

Add this line in src-tauri/Cargo.toml under dependencieswindow-shadows = "0.2"

in your src-tauri/src/main.rs add this inside the setup hook:   let window = app.get_window("main").unwrap();
   let _ = set_shadow(&window, true);

see this link for an exmaple: https://github.com/tauri-apps/window-shadows/blob/3fa601ce2ca1b719add4f769f9397f25d94c4693/examples/tauri/src-tauri/src/main.rs#L16-L18


Audio stream stops when background mode is enabled

My problem is that my html 5 audio stream stops after approx 10 minutes when the app is running in the background. To tackle this problem ive installed this plugin. But if i read the docs right than i need to enable the background mode. So ive added
document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() {     window.open = cordova.InAppBrowser.open;     cordova.plugins.backgroundMode.setEnabled(true); }
but now when i tap the play button my stream blibs and stops. when i remove the cordova.plugins.backgroundMode.setEnabled(true); sentence, the stream works. how can i activate background mode and still use a stream?
here is my html
<audio id="yourAudio" preload='none'><source src='https://media1.hostin.cc/punt24.mp3' type='audio/wav' /></audio>
and the js
var method = 'pause'; var yourAudio = document.getElementById('yourAudio'); if(this.$root.playStream){ this.$root.playStream = false; method = 'pause'; }else{ this.$root.playStream = true; method = 'play'; } yourAudio[method]();
my plugins:
<plugin name="cordova-plugin-remotecmd-playinginfo" spec="0.4.5" /><plugin name="cordova-plugin-background-mode" spec="0.7.3" />

Same here, Can I hide the notification without stopping the application after 20 minutes for multimedia applications using exoplayer?

I had this issue recently and had to mesh together a few different background mode plugins to make it all work. Here's my repo with the cordova-plugin-background-mode functining on iOS 13 https://github.com/thompsd3/cordova-plugin-background-mode

You must add this line to AndroidManifest.xml:

You must add this line to AndroidManifest.xml:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>


version problem

this code can't work on tf2.x,
and i don't know the exact version the writer uses.

This is version 1.2.
Sorry for the inconvenience.


Add test for all the new addressBook functions

Add test for all the new addressBook functions, also add test to confirm that when saveContract a second contract with the same name and network, it actually overwrite the previous contract and simply add it to the history file

Added in #41


Fix Open-ended VLM Generation Metrics

I corrected the max_tokens in the Unicorn scenario to 1, the results look fine now.
I modified the input prompt for three open-eneded VLM generation tasks --- Crossmodal_3600, Bingo, Flickr30k, to make VLMs generate more aligned answers with the reference, I have tested 50 instances on these three scenarios (model=model=openai/gpt-4-vision-preview with _get_vibe_eval_critique_metric_specs()), and the results look good.
I changed the metrics of these 3 scenarios to _get_vibe_eval_critique_metric_specs(), which can also be easily changed to _get_prometheus_vision_critique_metric_specs() as they do almost the same job.

@teetone would you take a look? And please let me know how I can improve it. Thanks!

@ImKeTT Could we make the default Prometheus for now so use _get_prometheus_vision_critique_metric_specs()?

I changed metrics for all four open-ended VLM generation taks (Bingo, Flickr30k, Crossmodal 3600, Vibe-Eval) to _get_prometheus_vision_critique_metric_specs(). The credentials.conf is like:
critiqueModelName: huggingface/prometheus-vision-13b-v1.0-hf
critiqueType: model

I set the max_tokens for the Prometheus Vision to 200, or the rating might be truncated out.
I've tested 100 instances for Bingo and Vibe-Eval, the results look good. Take a look when you have time, thanks @teetone!


Long filtering Results and Big size data base

Hello everyone, faced the problem of long retrieval of objects from the database. I use UITableView + Search + NotificationToken + Results. When I open the controller or use the search, I have to wait 1-2 seconds. If extracting profiles without filtering, it works quickly. There are 30.000 Profiles and 60.000 Relations in db. I don't use PrimaryKeys.
30.000 records take 150mb is this normal?
import RealmSwift

class Profile: Object {
    var account = LinkingObjects(fromType: Account.self, property: "profiles")
    @objc dynamic var id: Int64 = 0
    @objc dynamic var login = ""
    @objc dynamic var fullName = ""
    @objc dynamic var avatarPath = ""
    @objc dynamic var status = 0
    @objc dynamic var relation1: Relation?
    @objc dynamic var relation2: Relation?
    @objc dynamic var relation3: Relation?
    @objc dynamic var relation4: Relation?
    @objc dynamic var relation5: Relation?
    @objc dynamic var relation6: Relation?
}

class Relation: Object {
    @objc dynamic var isNew = false
    @objc dynamic var date = Date()

    convenience init(isNew: Bool = false) {
        self.init()
        self.isNew = isNew
    }
}

realm().objects(Profile.self).filter("ANY account.id = \(accountId) && relation1.isNew == true && (login CONTAINS[c] '\(search)' || fullName CONTAINS[c] '\(search)')")

@losasha
I hope this isn't too late of a response. Are you still seeing this slowdown?

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.


Create Routing for Isolation Segments on Bosh v1

Hi All,
I am researching about isolation segments.
I have deployed cf and diego on bosh-lite.
About compute isolation, i have added 2 isolation segment (segment1, segment2) on diego.yml file and enable to  org. Now, i want to create 2 routing for isolation segment for segment1 and segment2 but i  don't how to do it.
Can you tell me how to do it?
In cf.yml file, i found isolation segments as below:
properties:
consul:
agent:
services:
gorouter: {}
metron_agent:
zone: z2
router:
isolation_segments: []
routing_table_sharding_mode: all
Question:
Isolation segments within cf.yml use to do?
I am using BOSH v1 to deploying cf and diego.
Thanks,
Van

Hi, @ngocvanho,
Documentation for setting up dedicated routing to isolation segments is located at https://docs.cloudfoundry.org/adminguide/routing-is.html. If the documentation there is insufficient or incorrect, I suggest you open an issue on routing-release instead of on diego-release, as that release is responsible for routing concerns.
Best,
Eric, CF Diego PM

Hi @emalm,
Thanks for your response.
About documents on Cloud Foundry page at  https://docs.cloudfoundry.org/adminguide/routing-is.html link, i have read it, but this guideline is working on BOSH v2, current i have deployed cf and diego on bosh-lite bosh v1 (not cloud config file)
Question:
1. On Bosh v1, can create routing for isolation segment? If created, is it created directly in the cf.yml file?
2. Current, cf-release and diego-release have been deployed on bosh-lite BOSH v2 ?
Please help me if you know my questions.
Thanks,
Van

Hi, @ngocvanho,
As I mentioned on my earlier reply, I suggest you open an issue on the Routing release at https://github.com/cloudfoundry-incubator/routing-release/issues/new for assistance configuring dedicated routers for your isolation segments. To my knowledge, none of the Diego components or the VMs in the Diego manifest are involved in that router configuration, and the Diego contributors do not have much context on the required configuration. I'll close this issue out so you can raise one there if you are still confused about the configuration procedure.
If you don't care about routing isolation, and are solely interested in deploying the separate isolation segments of cell VMs, the gorouter instances will by default route traffic to all the app instances on all of the cells.
Also, BOSH deployments that use cloud-configs and links (so-called "v2" manifests) and those that don't ("v1") can exist side by side as long as they do not interfere with shared infrastructure resources such as networking. The cf-deployment repository is the preferred way to deploy a "v2"-style CF manifest that incorporates Diego as the container backend, and contains explicit instructions for deploying to BOSH-Lite.
Best,
Eric


Orders Page Not Updating With Database

Hello, First of all great work ! one small thing I noticed is the orders pages is not dynamic, when I add another market it indeed creates a new page for it but I cannot see the orders of that new market.
Best Regards !

You mean http://gitbitex.cloud/account/order This page? You need to click the [btc-usdt x] button, and then you can display all products in the drop-down list. This design is not very good. I will redesign it


Sorting and Pagination

Please add pagination and sorting

Pagination
About pagination, the mybatis provide the RowBounds class.
Reference Document says:
The RowBounds parameter causes MyBatis to skip the number of records specified, as well as limit the number of results returned to some number. The RowBounds class has a constructor to take both the offset and limit, and is otherwise immutable.
int offset = 100;
int limit = 25;
RowBounds rowBounds = new RowBounds(offset, limit);
...

Different drivers are able to achieve different levels of efficiency in this regard. For the best performance, use result set types of SCROLL_SENSITIVE or SCROLL_INSENSITIVE (in other words: not FORWARD_ONLY).
Sorting
Could you provide an image of sorting feature?
At currently, the MyBatis core module hasn't plan to provide a feature that generates a SQL automatically as framework processing.
We can consider adding a sorting feature if the JDBC spec has sorting feature.
Thanks.

I've closed this because no reply.


Ragdoll/Dead chams

Good idea!

that's not my idea. i just did it: https://github.com/danielkrupinski/Osiris/issues/2655

nice, thx!)

but it works only for 1 enemy(

This won't work, not all entities get passed thru DME.

This won't work, not all entities get passed thru DME.

do you know how I can fix this? <3

This won't work, not all entities get passed thru DME.

and why is it bad

but it works only for 1 enemy(

please show a screenshot

This won't work, not all entities get passed thru DME.

do you know how I can fix this? <3

you need to hook/spoof r_drawothermodels and make it 2.
https://www.unknowncheats.me/forum/counterstrike-global-offensive/366471-dme-weapon-chams.html

You need to hook r_drawmodelstatsoverlay and return true on the desired _ReturnAddress.


Changes needed to install on Ubuntu 16.04 LTS.

With the release of Ubuntu 16.04 LTS PHP5 is no longer available and has been replaced by PHP 7.0. A check for Ubuntu 16.04 LTS needs to be added so that php7.0 packages are installed instead of php5 packages.

The proper PHP packages are now installed for Ubuntu 16.04 LTS.
Commit 1f7541f82f91b7b96645e9882d071388d4782626.


Problem with run tests in different browser than chrome (Selenide+TestNG+...)

Hi,
I'm new here. I have problem with running tests with different browser than Chrome. I'm using Selenide+TestNG + some other stuff (see my pom.xml below). In example I've tried to open IE using:
System.setProperty("webdriver.ie.driver", "src\test\Resources\IEDriverServer.exe");
System.setProperty("selenide.browser", "Internet Explorer");
but it doesn't work.  Chrome browser  is opened.
Same situation with code:
WebDriverManager.iedriver().setup();
I put this code in my abstract class with tag:
@BeforeMethod
public void before()
{
//2nd try to open IE
WebDriverManager.iedriver().setup();
// 1st  tryto open IE, now commented
// System.setProperty("webdriver.ie.driver", "src\test\Resources\IEDriverServer.exe");
//  System.setProperty("selenide.browser", "Internet Explorer");
}

TestCases which I run extends this abstract class. I've also tried to put this code directly in the TC class. Also doesn't work.
Still got (TC is run but all the time in Chrome browser):
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
lut 06, 2019 10:25:29 AM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002.  I would like to have possibility to use IE or Firefox too.
Regards
Tomes

Hi. To set needed browser type I use
import com.codeborne.selenide.Configuration
Configuration.browser = "firefox"
In your case use "ie"
Following documentation description for this Selenide property
/**

Which browser to use.
Can be configured either programmatically or by system property "-Dselenide.browser=ie".
Supported values: "chrome", "firefox", "legacy_firefox", "ie", "htmlunit", "phantomjs", "opera", "safari", "edge", "jbrowser"

Default value: "chrome"
*/
public static String browser = defaults.browser();

And Selenide handles webdriver automatically.

Cool, it works. Checked with IE (works very slowly but works) , Firefox and Edge Thanks for quick response.
Last question. How set maximized window.
Now I have:
Configuration.startMaximized = true;

Regards
Tomes

WebDriverManager.iedriver().setup();
The above does nothing for the driver instantiation, this just directs webdriver manager to aquire the binary if necessary.  you simple want to set the Configuration.browser = "ie";
Also: be careful of using slashes, try to use File.separator(); instead for cross platform execution, for maven try to put versions inside your  and reference them using ${property.name} instead too.
Configuration.startMaximized should help you full screen, what operating system are you running on?  as for slow IE this is a problem on the side of IE, the support is lackluster at best


Fix the multiplication overflow check in ArithmeticIR

Our current mul check implementation is incomplete, we only check the signed integer case a>0 && b>0 as we use the neg instruction and check the overflow/underflow with positive a and b .
Additional info:
GNU lib = https://github.com/coreutils/gnulib/blob/master/lib/intprops.h#L135
LLVM = https://github.com/hdoc/llvm-project/blob/release/15.x//llvm/include/llvm/Support/MathExtras.h#L976
more =https://vladris.com/blog/2018/10/13/arithmetic-overflow-and-underflow.html
We need to add the other case check with a<0, b<0 and b==-1 (Artem was trying to solve this case in the fix he made)
@akroviakov demonstrated the problem by comparing our implementation vs GNU https://godbolt.org/z/hxYfc79jc

With the new LLVM Pass Manager, our Test are failing, see #335


Open "participating" notifications by default

I love the "open notifications in tabs" feature, I'm switching from tracking e-mails to viewing GitHub notifications in the browser.
Most of the time I care about notifications for discussions I'm participating in (creator/mentioned/...). Would you be supportive of a tweak that selects the "participating" notifications by default when opening notifications? For now I'm working around with a bookmark. Thanks!

While I understand why this feature could be useful, I don't think that the tabs should be opened when the user visits the notifications page. What if, for example, a user who doesn't know about this feature visits the notifications page, doesn't notice the tabs opening, later closes them to declutter his tabs and never sees the notifications again because GitHub thinks he has already seen them?
An alternative solution would be to add a small  icon next to the Participating tab on the left allowing the user to open all the issues he's participating in in new tabs. We could also allow this feature to be triggered using a special URL like /notifications/participating?rgh-open-all=1 making it bookmarkable.

I think he just wants the bell icon to open /notifications/participating instead of /notifications. We can't do that and we don't add options like that. Refined GitHub only changes things to improve them, not as options (even though improvements can be disabled)

Oh, now I get it. I agree that this is out of scope for RGH.
@krlmlr You can also use a user script to accomplish what you want:
document.querySelector('js-notification-indicator')
	.setAttribute('href', '/notifications/participating');

// code golfing 😅
document.querySelector('.notification-indicator').href += '/participating';

Thanks, I'll try my luck at the other extension.


fix(README): Updating README

:tada: This PR is included in version 4.0.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Unable to start the app

Getting this error when i run open-intent project start mychatbot
Starting: /Users/xxx/Sites/mychatbot/app.js...
  project will restart on model changes.
module.js:435
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: dlopen(/Users/xxx/Sites/mychatbot/node_modules/open-intent/lib/chatbot-api/open-intent.node, 1): no suitable image found.  Did find:
       	/Users/xxx/Sites/mychatbot/node_modules/open-intent/lib/chatbot-api/open-intent.node: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
    at Error (native)
    at Object.Module._extensions..node (module.js:435:18)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/xxx/Sites/mychatbot/node_modules/open-intent/lib/chatbot-api/chatbot-factory.js:40:18)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)

Environment
node - 4.2.6
npm - 3.10.8

Although running using docker works fine

Hello rmdort, I will have a look at the issue. It seems the C++ core is not in the npm package.

Hello @rmdort, this is due to the fact that we do not support Mac operating system yet. I created issue #60 for this gap and I'm closing this one. Thanks.


Add support multipart upload

Amazon S3 only support upload objects up to 5 GB with a single PUT operation.
http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
When app try to upload a object which is more than 5 GB size, this library returns 'success' without actual uploading.
If AmazonS3RequestManager supports multipart upload, it will be fixed. : )!

@Laeyoung This is absolutely a good feature for the library to have! I don't have any production need for this personally currently, so I can't make it a priority right now, but I will add it to the backlog!
If you would like to implement this and make a PR I'd be happy to discuss design with you can then review a PR.

I will try to implement it and make a PR soon : )!

Hi @Laeyoung !
Have you had any luck on the PR? for multipart ?

Matt

I would love to see this feature as well. I unfortunately don't have the
time and means to implement this currently. I am hoping I will be able to
get to this some time in the near(ish) future... If someone would like to
make a PR, I am happy to pull it in though!


Default Q value for unexplored nodes

Here
https://github.com/werner-duvaud/muzero-general/blob/18cad41cacd8c113303e6ffcc460e69bf4a68a7b/self_play.py#L370
you assign value 0 to nodes that haven't yet been visited. However, since values are normalized to the range [0,1] a better estimate to assign to unexplored nodes would be 0.5. Otherwise it seems that the exploration-exploitation trade-off will lean towards exploitation (after the first arbitrary choice, that branch will likely have the maximum value in min_max_stats, and therefore have value 1, particularly when values and rewards are positive).

In AlphaZero, they initialize unexplored nodes to value=0 where 0 corresponds to a loss.  See:
http://talkchess.com/forum3/viewtopic.php?f=2&t=69175&start=70#p781765
The argument is that most moves in chess, at least, are terrible and so you should assume they're losing until proven otherwise:
"Yes and 0 seems to work best. Assumption being that most positions have 1 or at most a few good moves. All other moves are akin to passing or worse. In most equal-ish positions, passing will give the opponent a big advantage."
While it's true that this strategy discourages exploration, that may be a desirable feature, at least for some games.

I see, thanks for the clarification! However, one should probably be more careful with MuZero: even if most moves are "bad" like in chess, MuZero doesn't really know that until after some training (reward and value heads produce garbage initially), so it can get stuck into exploring only some branches of the game tree, and then after the policy head is trained on a skewed set of initial games those branches may never get to be explored.
In any case, I guess this could become a game-specific hyperparameter, especially relevant for games with small action spaces...

Yeah, I agree.  Just because that was a useful heuristic for chess doesn't mean it's universally true.  It definitely strikes me as something worth exploring more, at least.

Hi,
This is a sensitive subject as it has not been developped in the original paper and the choice of adding a new hyperparameter to control node initialization could be interesting to test.
Concerning our implementation, we decided to follow the pseudocode by initializing value to 0 regardless of the game. As this was used by DeepMind for both board games and Atari, this initialization could be appropriate for all kind of environments.
Running some tests would be great to clear the matter.

My experiments (not using this implementation though) show that at least CartPole and TicTacToe can benefit a lot from this change, especially when using max of pairs (ucb_score, action) in select_child as in the original pseudocode (this results in always choosing the last action in case of draws, and has been corrected here in https://github.com/werner-duvaud/muzero-general/blob/98cb784a06a8c25fe4a99a3c71d5358b357c5ef0/self_play.py#L341 )

This is an interesting question to explore.
On the few tests that I did, the impact of this hyperparameter was not very clear, especially since there are already hyperparameters to increase exploration. For the moment I think that there are already too many hyperparameters and that adding a hyperparameter for that will not help much. I prefer to wait until the importance of this value is clearly demonstrated.
Please, keep me posted if you still notice strong improvements thanks to this hyperparameter!


Expose Rancher authentication as a k8s authentication webhook endpoint

Currently, our authentication functions solely as a proxy that sits in fronts of clusters. It does the necessary authentication of the supplied token and then uses a k8s service account to forward the request to the appropriate cluster with impersonation headers added.
We should also expose our authentication service as a stand alone service capable of functioning as an endpoint for k8s webhook authentication. This will allow us to configure it in the kubelet api server. This would allow, for example, prometheus to work properly.

For a proof of concept I have generated an image which authenticates all requests, where we can authenticate as a user and/or one or more groups. The kube-api webhook auth image was setup with the RKE control plane and does not interfere with provisioning.
To accomplish this goal we will need to complete the following tasks:

[ ] Refactor Auth handler into Auth webhook
[ ] Cluster-scoped tokens
[ ] New params on cluster, api config for webhook image & port
[ ] Generate new kube config from cluster keys
[ ] External user/group refreshing

As per discussion with @cjellick, will add a cluster ID to the token type, and modify the token controller to sync token data to the cluster, as a secret, for create, update, & delete operations (if cluster ID value is present on the token).

@erikwilson can you close this issue and just use this issue: https://github.com/rancher/rancher/issues/13698
You can change the title of the other issue and copy over comments as necessary, i just want to have a single issue to track.
I would do it myself, but i dont know where you are referencing these issues


Port could not be cast to integer value as ' 11434'

Describe your problem
try to have a try  ollama model integration, but don't known how, maybe it needs more document. related to  #
can't wait to use ollama in local.

RAGFlow has already supported ollama. Configure it in settings >> model providers

RAGFlow has already supported ollama. Configure it in settings >> model providers
please give a live example picture better than hundreds of words.

in mac , after running ollama, we checked it with curl localhost:11434 it returns "ollama is running".

I don't think localhost is the right IP since it is not reachable in docker container. So, try to use the real machine IP.

I don't think localhost is the right IP since it is not reachable in docker container. So, try to use the real machine IP.

I don't think so , becuz I installed the ollama with dmg, also curled "curl localhost:11434" got "ollama is  running" response,  if localhost not working, how to integrate it in rag flow model configure window ? or only inference  works?

I don't think localhost is the right IP since it is not reachable in docker container. So, try to use the real machine IP.

after export OLLAMA_HOST=<IP_ADDRESS>:11434 , ollama serve , still got  Fail to access model(qwen).ERROR: [Errno 111] Connection refused ```

I don't think localhost is the right IP since it is not reachable in docker container. So, try to use the real machine IP.

我不认为 localhost 是正确的 IP，因为它在 docker 容器中无法访问。所以，尽量使用真机IP。

之后，仍然得到 '''无法访问 model（qwen）。错误：[Errno 111] 连接被拒绝 ''export OLLAMA_HOST=<IP_ADDRESS>:11434``ollama serve

你解决了吗？


error: cast from pointer to smaller type

I use x86_64 gcc and I encounter this error. how can I fix that ?
seems that is because my pointer is 64bits.
In file included from /usr/local/lib/gcc/x86_64-pc-linux-gnu/11.4.0/../../../../include/c++/11.4.0/memory:72:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/11.4.0/../../../../include/c++/11.4.0/bits/align.h:66:25: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information
   66 |   const auto __intptr = reinterpret_cast<uintptr_t>(__ptr);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

still, it's the problem of headers. uintptr_t are the same length of pointers by design.
Please provide the concrete os versions and how to re-produce it, otherwise I cannot handle it.

still, it's the problem of headers. uintptr_t are the same length of pointers by design.
Please provide the concrete os versions and how to re-produce it, otherwise I cannot handle it.

seems that :
'uintptr_t' (aka 'unsigned int') is alwasys 4bytes.
but pointer is 4bytes at 32bit system and 8bytes at 64bit system.

NO. see https://en.cppreference.com/w/cpp/types/integer

uintptr_t(optional) | unsigned integer type capable of holding a pointer to void(typedef)

I somehow knowns the problem, but I need an environment to reproduce it. Please wait.
A potential solution is to not rely on auto-detection, specify includes by your self. For example:
cppsafe a.cpp -- -isystem/usr/include -isystem/usr/local/include

Remember to replace these -isystem to your local c/c++ includes.

I somehow knowns the problem, but I need an environment to reproduce it. Please wait.
A potential solution is to not rely on auto-detection, specify includes by your self. For example:
cppsafe a.cpp -- -isystem/usr/include -isystem/usr/local/include

Remember to replace these -isystem to your local c/c++ includes.

seems that I can't use compile_commands.json if I use --

seems that I can't use compile_commands.json if I use --

Can you show me your compile_commands.json?

Can you show me your compile_commands.json?

sorry, I can't , because It's so big . And it's my company's project , and I'm not allowed to share in Internet.

sorry, I can't , because It's so big . And it's my company's project , and I'm not allowed to share in Internet.

I will show you part of it tomorrow.

I somehow knowns the problem, but I need an environment to reproduce it. Please wait.
A potential solution is to not rely on auto-detection, specify includes by your self. For example:
cppsafe a.cpp -- -isystem/usr/include -isystem/usr/local/include

Remember to replace these -isystem to your local c/c++ includes.

so you still think is because the headers ?
how can I make sure I got the right header by auto-detection?
my header directory search way is like this: https://github.com/qqiangwu/cppsafe/issues/42#issuecomment-2003065472

fix by:
cppsafe -p xxxx a.cpp --extra-arg=-m32
because cannot detect my cpu.

Can you show me your compile_commands.json?
I somehow know the reason of why I got so many headers error.

Firstly, I compile my project with gcc7.3.0, so My compile_commands.json is generated by gcc 7.3.0;
Secondly, I upgrate my gcc to 11.4.0, and compile cppsafe .
Lastly, I use cppsafe -p compile_commands.json xxx.cpp.
Are these error all about I use a wrong version of gcc in my compile_commands.json?
And I need to downgrade my gcc to 7.3.0?
Is it right ?
Thanks for helping.


After registering wallet, there is no feedback - accessibility issue

Clicking "Register" on the external website, there is no feedback on whether it was successful or not. This goes for both sighted users and screen reader users. The only thing that changes is that the white text in the button goes black and becomes unreadable. I recommend loading a success/error page that tells the user what happened. Doesn't need to be fancy, can just say "Wallet Registered! You may now close this page and return to your wallet." Or something like that. Similar language for if there was an error, but potentially add a button to try again or some text instructions on how to proceed.

Dmitri: In code of website, 1) display success message (in register function) and kickoff redirect back to wallet (show spinner), via deeplink.


Set up express-fileupload for processing POST-ed files at /contactLists

Adds the npm 'express-fileupload' to the package.json list of
depedencies.
Adds the express-fileupload middleware function to the route handler
only for POSTs to /contactList.
Adds logic to the saveNewContactList controller to console log the file.

How did you test this?

Just manually for now, I didn't realize the intension was for us to put up automated tests yet. I'll add those next.


Workspace ID is just based on name

you cant have two workspaces with the same name.

case sensitive tho so:
"abc" and "ABC" can both exist.

I guess this isnt a problem, we should just add error checking to make sure you can't name a workspace the same as an existing workspace.

Done for saving new workspace with the "Save as" button
need to add it for uploads.


feat: Partner in-game integration.

Tell us about your concept
A new tab like “leaderboards”.
Partnered servers can be joined.
Partnered streamers can be opened via a link.

The overall concept and idea is decent, but we're choosing to add hyperlinks on our partner page instead, as implementing a whole menu in-game for partnerships is pretty pointless and far fetched. The hyperlinks will be discussed with partners on a user basis depending on what type of partnership it is. Thank you for the overall idea!


Missing sha1 keys check

Go to: https://iati.cloud/api/datasets/?format=json&page=9&page_size=1000
Some sha1 keys are missing.

As sha1 key generation is part of a Parser specific function and that sha1 key is used by validator to check/sync we have now added a second sha1 field that will be exposed to the sha1-field on API level the Validator makes use of.. FIXED


2 things that might be useful

I use fluent reader everyday. It's awesome, and these two suggestions might make it even better.

Be able to pin the menu/sources list (on the left hand side) open like in Outlook. This would allow rapid navigation through the categories (groups) and individual feeds, being able to right click them and mark as appropriate.  At the moment, each time you select a source or feed, the menu closes.
Make the "mark all" icon a one click operation, instead of having to click it, and then select a time interval to mark.

I hope you find this feedback useful, and thank you for your work so far. I really appreciate the app.

I assume that this is for the desktop app instead of this one? For the desktop app, you can pin the menu simply by making the window wide. There's no plan to change the behavior of marking all as read though since that's a potentially destructive behavior.


New rule: avoid non explicit null check

Hi,
I am not sure if this the right place to ask but one common bit of frustrating syntax usage in my current code-base is the usage of implicit null check inside a if condition. By that I mean:
var obj = GetStuff();
if (obj)
{
   // some code Here
}

instead of
var obj = GetStuff();
if (ob != null)
{
    // some code Here
}

The second version looks better to me because it is explicit. I read every analyzer documentation in this repo and I didn't find one that does this. So if it the case what do you think of a rule to detect and hopeful fix this?

Isn't depend of what the GetStuff() returns? If returns a bool then the first looks better. If it returns a type then the second is preferable. If it's a void method it will return an exception.

Yeah of course. It only make senses for any type that isn't a boolean. Arguably it could change the behavior for type that have an override for the bool operator. Because you will go in that very case from a implicit bool conversion to a null test. Still, I like languages where an if test block should always evaluate to a boolean and having "behind the scene" null checks is a bad idea imo, thus the reason why I am asking this.

Yes I agree with you. I forgot about nullable bool. I also rather null checks on front.

The first case is not valid C# syntax, so I'm not sure what the request here is.

My bad, I see this code so much often these days that I thought it was legit C# code.  The thing is that the API I use (Unity's) define a custom bool operator for their base class that return true when the object is non null and false when null (see here for reference. I find this rather confusing as many variables in the code base I am working with are poorly named and it hard to tell which one is a boolean and which one a Unity's object just by name, which in turn make it hard to deduce the intent of the test. So the initial request might be rephrased as "Avoid using implicit bool operator in if test clause", but I guess it is a little specific to this use case. From a more global POV, one might argue that there could be a warning against using implicit operator at all since it is quite easy to not realize that a function is called when using them.

Yes, for that case I would recommend deleting the implicit conversion to bool.

How so? Is this possible to override it? Because in this case it is defined in Unity API which is closed source and 3rd parties are probably also taking advantage of it.

BannedApiAnalyzers should be able to prevent use of this operator. If it doesn't currently support banning implicit operators, that would be a bug we'd like to fix.

Seems neat. I will give this a shot. Thanks for the help!

@sharwell
I am trying to test what you said yesterday by using the analyzer for banned APIs. I struggle a bit with the format for the operator bool. I have this:
M:UnityEngine.Object.operator bool(UnityEngine.Engine.Object);Use explicit null check

but it doesn't work. Yet the thing is configured correctly since I tested other method and the warning showed up correctly. What' s the syntax for the impilicit bool operator using this?

You can find the syntax for any given item by enabling XML documentation output for the project, and then finding that item in the resulting XML file. I'm not sure what the syntax for this one would be off the top of my head. :)

Thanks again! Do you have a reference page for enabling documentation output? I am not sure what you are refering to and would like to make sure I use it correctly.


More field tests + JSONField

I did some more Field tests, and ported JSONField to be more generic.
Items of work:

[x] Test all data fields
[x] Test that nullable works
[x] Test behaviour specs of fields (DecimalField/DateTimeField)
[x] Generic IntegrityError
[x] DecimalField → fix quantization misbehaviour for SQLite
[x] DB-executor level to_db_value overrides (for SQLite)
[x] JSONField is now generic
[x] Update docs re supported PostgreSQL versions.
[x] Added queryset.get() method (currently just a shortcut for filter.first)
[x] values() and values_list() now converts field values to python types

Bugs uncovered/fixed:

FloatField was never mapped to DB type
SQLite doesn't respect Decimal quantization (easily emulatable)
SQLite requires BOOL to be emulated as integer. So 0, 1 & null
PostgreSQL 9.4 needed for JSONB type (updated travis and should update docs)
Fixed an assert on values_list() to not REQUIRE flat=True if only one parameter is provided

Out of scope, because this PR is getting quite big:

Make fields overrideable on a per-db-driver level, so that we can contain all related logic in one place
Fields Schema generation refactoring

Pull Request Test Coverage Report for Build 14

39 of 45 (86.67%)  changed or added relevant lines in 7 files are covered.
65 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-1.5%) to 80.801%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tortoise/backends/sqlite/client.py
1
3
33.33%

tortoise/backends/sqlite/schema_generator.py
2
4
50.0%

tortoise/fields.py
27
29
93.1%

Files with Coverage Reduction
New Missed Lines
%

tortoise/backends/base/db_url.py
1
78.18%

tortoise/backends/sqlite/schema_generator.py
1
62.5%

tortoise/fields.py
2
76.45%

tortoise/backends/sqlite/executor.py
9
30.77%

tortoise/backends/sqlite/client.py
52
32.43%

Totals

Change from base Build 12:
-1.5%

Covered Lines:
1405

Relevant Lines:
1694

💛  - Coveralls

@Zeliboba5 Could you pore over commit 88a2b82d40d978992a9a77bdcfda6d443be4ca58 as it is easily the most invasive change I have done so far.
I tried to structure it in a way that would minimise excessive overhead, but we will have to profile it to actually see if it is a real opportunity for optimisation.
(e.g. only one field type needs wrapping for asyncpg, whereas five for sqlite. We could identify this isn't a needed step and skip it in those cases.)

@Zeliboba5 I also think we should leave the field refactoring out for the next PR, as this PR is already doing 3 different things:

Fields tests (and fixes)
JSONField
values() and values_list() now converts field values to python types

88a2b82 seems perfectly sane to me.
Regarding fields refactoring - it really seems to be out of the scope of this PR, it is already quite big.
I will publish this as 0.9.2 version.
Thanks for your great work 👍


Issue243

Solving #243

@dianef77 - can you please assist to approve and merge the content for this PR based on issue https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/243?
Thanks.

@dianef77 - I would like to follow up on this. Can you possibly approve and merge the content for this PR so we can close issue https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/243?
Thank you.

@dianef77 - I would like to follow up on this.  Kindly approve and merge the content for this PR so we can close issue #243
Thank you.

@dianef77 - I would like to follow up on this. Can you possibly approve and merge the content for this PR so we can close issue #243?
Thank you.

Thank you @dianef77


Countdown system is broken in multi player

If I understood this issue correctly, this should be fixed with the latest commit to master, https://github.com/WyndevCodes/Minestom-Tower-Defense/commit/943cd6a7ddbdd15551c0fc22c14941584cf27672. However, I did not have time to test.


Commonalities release

Problem description
As we have now moved all the commonalities deliverables to this new repo, we need to start planning for the release.
Some points we need to discuss and agree to go ahead:

Release number: Is v0.1.0 fine to start with? Any other preferences?
Considering the kind of artifacts in Commonalities, release branch wouldn't be needed. Tag and release should be sufficient. Does anyone see a need for a release branch?
Any urgent issues, pull requests we want to get through as a part of this release?
Depending on the above point, we need to agree on the release date.

Expected action
Feedback on the above points & any other points I might have missed w.r.t release prep, would be helpful so that we can try to get a consensus in the upcoming commonalities call.
Additional context

Do we individually version all commonalities document deliverables? - No better to use them as a group
No individual versioning of documents.
What does the version number mean?

Major version indicates breaking changes for subprojects
Patch version is irrelevant.

My request is to release the first version of design guidelines without all the TMF references - I have several comments to make and the TMF reference is confusing in my opinion for Camara API Provider developers. We used to have an earlier version of the guidelines that is simpler to consume and conform to.
Once we have that release, we can review the contents around TMF and release the next version.

Just for my (and maybe others) convenience here with the links generated by Github:

PRs that will be merged before release:
#35 , #33, #23
Issues which can be closed with minor PRs before release:
#5, #9

@murthygorty to which PR/Issue do you refer (which introduces the TMF reference)?

Thanks for the comments @hdamker. I went back and looked for the version of the guidelines I'm thinking of - in the original location under WG and as far back as I could go (link) I still couldn't find the version I have in mind. Not sure what I was thinking of :-(
What I had in mind was the guidelines version without some of the sections in apification principles without domain-driven designs etc.
Since I cant point to the specific version, I suggest that we simply go ahead and ignore my comment. I can go ahead and open a new issue with my concerns around sections 2.1 and 2.3.
what do you think?
cc: @gmuratk


Multi-Patient API DELETE request

https://inferno.healthit.gov/suites/test_sessions/0a997c5a-8a22-425f-bf1c-318d3fa27184
It looks like 7.2.07 test is sending a GET request instead of a DELETE request?
I removed all redirect logic from our server just in case that was causing it to redirect as a GET.
I also tested using postman and it was able to do the delete correctly, and the server was correctly able to see the REQUEST_METHOD as DELETE.
The test "passes" because sending a GET is triggers the status check logic, which also returns a 202.   But it is not triggering the actual remove logic.

The test does sent DELETE request. This is the messages from Inferno demo server:

I assume this is caused by redirect

The content-location we were giving ended with /async/, which then redirected to a GET to /async/index.php
Resolving this fixed the issue, thanks!


fix: trigger onchange event Safari

Hi!
I encountered a small bug while using FileKit for the JS target in Safari. To open the file picker programmatically in Safari, it is not enough to simply trigger a click on the input element. Safari doesn't always trigger the onchange event in this case. The input element must also be added to the DOM for the event to work properly.
This bug can be reproduced by running the following command:
./gradlew samples:sample-core:composeApp:jsBrowserDevelopmentRun
After running the command, attempt to upload a file in the Safari browser, and the issue will be evident.

Solution:
The solution is to add the file input element to the DOM and then remove it after the file(s) are processed or if the user cancels the upload. The input should be hidden visually as well, as display: none alone might not suffice.
After applying the fix, the issue is resolved, as shown below:

Hi @ztn0! Thanks a lot for submitting this PR!
I successfully reproduced and tested your fix! I'm going to add my remarks below.
And finally, the same problem is also present in the WASM target. Could you please port the changes to FileKit.wasmKs.kt? Thank you very much 👌

Hi @vinceglb!
Thanks for your comments and suggestions.
I've made the changes you suggested.
I used visually-hidden styles first because I thought display: none had issues in Safari, but that was probably years ago, and it seems fine now. Safari display: none
Testing the wasmJs target in Safari might not work because Safari doesn’t support the needed WebAssembly features (GC). That’s why I can see the error: "WebAssembly.Module doesn't parse at byte." docs safari/webkit


Feasibility of Running Code on GPU

Hi,
Thanks for all of your complete answers in other issues. Also, thanks for your awesome work shared.
I used the following config:
number of epoch = 1
number of fold = 1
model checkpoint = bert_mini (uncased_L_4_H_256_A_4)
batch_size = 64
The memory consumption is as follows:
CPU RAM = 80G
GPU RAM = 6.5G
Your model is training after about 10 hours for just 1 epoch and 1 fold and it did not finish
I changed batch_size to 128 and then the memory consumption is as follows:
CPU RAM = 120G
GPU RAM = 6.5G
Your model is training after about 14 hours for just 1 epoch and 1 fold and up to now did not finish
Would you please tell me are you sure I can train your code on GPU? (according to #14)
Thanks in advance

Do you mean that you're using CPU for model training? also, I don't think you can use a batch size of 128.
You can also check the capreolus implementation for GPU. https://github.com/capreolus-ir/capreolus/blob/master/docs/reproduction/PARADE.md

I checked it as you told but unfortunately, Andrew told a TPU or GPU(s) with 48GB RAM are really needed to run this with reasonable hyperparameters.
Colab Pro version has tpu v.2 and keep run for 12 hours. Is it possible to run your code by it? (I mean after each 12 hours I save loss function, model, ... and then again load it from that check point and continue running? Do you think it is possible?
If yes, would you please guide me these changes where in your code should be applied?
Thanks in advance

you should be able to run one fold within 12 hours on a tpu v2. so you don't need to worry about reloading the checkpoint.

Thanks.
If I do not have had gcp, can I use google drive to load data and save the result?

maybe, you can google for it
you can generate the training/testing data on your local machine, upload the google drive, then train the model. you can paste the code there and run the code......
predicted seperately. merged for evaluation.

Thank you.
In which model of BERT I can run each fold less than 12 hours?


Docs failed to build on Hackage

Here's the report: https://hackage.haskell.org/package/entwine-0.0.3/reports/2

Fixed for entwine 0.0.4 https://hackage.haskell.org/package/entwine-0.0.4/reports/1


http/2 corruption

Scenario: Simple transparent mitm https proxy
config.yml
config.yml
apps:
  layer4:
    servers:
      https:
        listen:
         - ":443"
        routes:
          - match:
             - tls:
                  alpn:
                    - http/1.0
                    - http/1.1
                    #- http/2
            handle:
              - handler: tls
                connection_policies:
                  - alpn:
                    - http/1.0
                    - http/1.1
                    #- http/2
              - handler: proxy
                upstreams:
                  - dial:
                      - "{l4.tls.server_name}:443"
                    tls: {}
  tls:
    certificates:
      automate:
        - "*"
    automation:
      policies:
        - on_demand: true

I don't seem to be able to either get http2 working, or properly downgrading it as a workaround.
$ curl -s https://google.com >/dev/null && echo works || echo fails
fails
$ curl -s https://google.com --http1.1 >/dev/null && echo works || echo fails
works
$ curl -s https://google.com --http1.0 >/dev/null && echo works || echo fails
works
$ curl -s https://google.com --http2 >/dev/null && echo works || echo fails
fails

The first surprising thing is that from the clients perspective, the two first requests look mostly the same and it's already using http1.1 for both:
$ curl -v https://google.com -o/dev/null 2>&1 | grep -v '^[{}]'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:443...
* Connected to google.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: [NONE]
*  start date: Jun 26 00:45:52 2024 GMT
*  expire date: Jun 26 12:45:52 2024 GMT
*  subjectAltName: host "google.com" matched cert's "google.com"
*  issuer: CN=Caddy Local Authority - ECC Intermediate
*  SSL certificate verify ok.
* using HTTP/1.1
> GET / HTTP/1.1
> Host: google.com
> User-Agent: curl/7.88.1
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Received HTTP/0.9 when not allowed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection 0
* TLSv1.3 (OUT), TLS alert, close notify (256):
curl: (1) Received HTTP/0.9 when not allowed

vs
$ curl -v https://google.com -o/dev/null --http1.1 2>&1 | grep -v '^[{}]'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:443...
* Connected to google.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: [NONE]
*  start date: Jun 26 00:45:52 2024 GMT
*  expire date: Jun 26 12:45:52 2024 GMT
*  subjectAltName: host "google.com" matched cert's "google.com"
*  issuer: CN=Caddy Local Authority - ECC Intermediate
*  SSL certificate verify ok.
* using HTTP/1.1
> GET / HTTP/1.1
> Host: google.com
> User-Agent: curl/7.88.1
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/1.1 301 Moved Permanently
< Location: https://www.google.com/
< Content-Type: text/html; charset=UTF-8
< Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-f9FaZXifkL3edkqOwNRPvg' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
< Date: Wed, 26 Jun 2024 01:17:59 GMT
< Expires: Fri, 26 Jul 2024 01:17:59 GMT
< Cache-Control: public, max-age=2592000
< Server: gws
< Content-Length: 220
< X-XSS-Protection: 0
< X-Frame-Options: SAMEORIGIN
< Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

Putting Wireshark between caddy and upstream, it seems the caddy<>upstream requests somehow get messed up after the initial successful CH.
Successful request
$ curl --http1.1 https://google.com

Unsuccessful request
$ curl https://google.com

The difference wrt out-of-order packets observed in Wireshark reproduces consistently.
Upstream requests for clients with support for h2 fail unless http/1 is explicitly forced from the client side, despite http1.1 being negotiated on the client side.

Thanks for posting the solution! (Sorry I've been behind on my notifications.)


Messed up lat long on call

Lat long on the declare, I am passing both lat's as the lat and the long.

20171015 release resolved this


To delete all deployments older than five days...

Shouldn't this be

Where-Object Timestamp -lt ((Get-Date).AddDays(-5))
instead of
Where-Object Timestamp -gt ((Get-Date).AddDays(-5))

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

ID: 36faf39e-c76a-9579-3d3f-963290ce2efe
Version Independent ID: 96e4bea0-80b1-be2c-c41a-4980190d08d7
Content: Azure deployment quota exceeded
Content Source: articles/azure-resource-manager/deployment-quota-exceeded.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@vellemansf Thanks for the comment. We are actively looking into it and will update you soon.

Thanks for catching this. A PR has been successfully initiated to resolve this issue. The change  will be live in roughly 24 hrs.
We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


failed to upload metrics: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp :4317: connect: connection refused

Hi，I start a server with obs-opentelemetry and get error: failed to upload metrics: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp :4317: connect: connection refused
I try to check is port in use with: netstat -tuln | grep 4317 but nothing return，how can i debug it?

The code is: https://github.com/cloudwego/kitex-examples/blob/main/opentelemetry/server/main.go

@hmldd Have you followed this ReadMe to start the related components?

@DMwangnima Thank you for your reply. I skipped the guide and thought it was a data pull port of the server.


How many epochs does DeepSpeech2 need to converge on LibriSpeech

I read the issue regarding the performance of DeepSpeech2 and noticed the CER result reported by @Soonhwan-Kwon is 0.15648 at epoch 3.
It seems really promising so I'm trying to reproduce the result. But right now I'm at epoch 5 and my validation CER (vali-clean and val-other) is still 0.3122.... So I'm wondering whether I did anything wrong or was that the intended result.
Also, the test other CER on LibriSpeech reported in DeepSpeech2 paper was 0.1325. Have you guys ever come close to this number? And if so, how many epochs do you need to get there?
Thanks in advance!

I'm middle of testing bucketing model, but cer was 0.177740, 0.144390,0.126324,0.1210941 from Epoch 1 to 4 for test-clean dataset (There is no Epoch 0 result because at Epoch 0 and about 80% of data was through I accidentally powered off the server).
And I have no accuracy result for val-clean and val-other or test other, but I'll post them when the model is converged.

Can you post your cfg file or what is your training data?

@Soonhwan-Kwon Thanks for your response! I checked my cfg again and realized I'm only using three bigru layers. I guess that's the reason why I'm not converging as fast as expected...

It's a relief you found the cause. Above accuracy was from the 5 bi-gru layers but if you have sufficient equipment please try 7-layers architecture. Thank you for your feed back.


Potential issue with file watching of large pcap files

https://github.com/dmachard/go-dns-collector/issues/176#issuecomment-1331136003
Placeholder for this issue, will add more detail next week.

I am using the following library to watch a folder: https://github.com/fsnotify/fsnotify
maybe it can help

I succeed to reproduce in my side. I pushed a fix.
I fixed two things:

move a file in the watching directory is now properly detected
with cp, the collector now wait some seconds when no writing is detected before to read the file.

Thank to have report this issue, let me know when you test this fix.

Fix is embedded in the v0.26.0-beta3 release!

Thanks for working on this, can confirm it's handling it as expected.