@link not resolving across packages

Search terms
link url package resolve
Expected Behavior
This is typedoc.json for my documentation project:
{
  "$schema": "https://typedoc.org/schema.json",
  "plugin": [
    "typedoc-github-theme"
  ],
  "entryPoints": [
    "../core",
    "../utility",
    "../gs1"
  ],
  "entryPointStrategy": "packages",
  "includeVersion": true,
  "out": "api",
  "theme": "typedoc-github-theme",
  "sourceLinkExternal": true
}

Every package has a similar typedoc.json; this is the one for the "gs1" package:
{
  "$schema": "https://typedoc.org/schema.json",
  "sourceLinkExternal": true,
  "groupOrder": [
    "Enumerations",
    "Type Aliases",
    "Interfaces",
    "Classes",
    "Variables",
    "Enumeration Members",
    "Properties",
    "Constructors",
    "Accessors",
    "Methods",
    "*"
  ],
  "sort": [],
  "name": "GS1",
  "entryPoints": [
    "src/index.ts"
  ]
}

This is from variable documentation in the "gs1" package in my code:
/**
 * GS1 AI encodable character set 82 creator. Supports {@linkcode Exclusion.AllNumeric}.
 */

Exclusion is an enumeration in the "utility" package, of which AllNumeric is a member.
What I expect to see in the HTML is this:

GS1 AI encodable character set 82 creator. Supports Exclusion.AllNumeric.

Actual Behavior
What I'm getting instead is no link at all:

GS1 AI encodable character set 82 creator. Supports Exclusion.AllNumeric.

Steps to reproduce the bug
As above. If I change the link target to something unresolvable, I get a warning message in the console:
[warning] Failed to resolve link to "ExclusionX.AllNumeric" in comment for GS1.AI82_CREATOR

It seems that TypeDoc is resolving the link, but not rendering it.
Environment

TypeDoc version: 0.26.5
TypeScript version: 5.5.4
Node.js version: 21.7.3
OS: macOS Sonoma 14.6.1

https://github.com/Gerrit0/typedoc-packages-example/compare/typedoc-gh2681 seems to work... without a reproduction, I can't possibly fix this. The fix for #2680 might possibly have fixed this... impossible to say.

Not fixed. I'll see what I can do about setting up a reproducible case for this and for #2680.

Here you go.
https://github.com/KDean-Dolphin/TypeDoc

So there's a couple things here...
TypeDoc should be reporting a broken @link here. (also for @link Generator) because it is not fully resolved. The link is rendering as expected, but should be producing warnings.
The link is not resolved because TypeDoc is resolving imports for unrelated projects via file paths and when converting utility TypeDoc finds that Exclusion is created/owned by ../utility/src/character_set.ts. When converting gs1, TypeDoc finds that Exclusion is owned by ../utility/src/index.ts because tsup generates a bundled declaration file rather than referencing the associated ts file.
There are a few ways to fix this.

Build utility with rm -r dist && npx tsc --outDir dist --declaration --declarationMap before generating docs.
The existence of the declaration map + non-bundled declaration files allows TypeDoc to figure out that the Exclusion referenced by the gs1 project is actually the one declared in utility.

Import from the src directory, not the dist directory.
diff --git a/gs1/src/check.ts b/gs1/src/check.ts
index 6f6e2a1..0a32aa3 100644
--- a/gs1/src/check.ts
+++ b/gs1/src/check.ts
@@ -1,4 +1,4 @@
-import { Exclusion } from "../../utility/dist/index.js";
+import { Exclusion } from "../../utility/src/index.js";

 /**
  * Do something with an {@link Exclusion} parameter.

This appears to be supported by tsup and is supported by TypeScript/TypeDoc. You can even take this a step further and set up project references so TypeScript knows how to more intelligently create projects (generally resulting in better intellisense performance, depending on the project size, sometimes significantly better)
This also has the benefit of no longer having to build the utility project to make intellisense work in the gs1 project.

I'll look into that and let you know.
The repository I gave you was vastly simplified. In reality, the utility package appears in the gs1 package.json as a dependency, with "npm link" used to bridge the directories. In that architecture, my import looks like this:
import { Exclusion } from "@myorg/utility";
I replaced it with a reference to the dist/index.js file because I specifically didn't want TypeDoc looking at the source, because it can't see the source in the real implementation.

One more thought...
The reason I expected it to work was because I was explicitly declaring, in my core doc project, the projects in order of dependency. In other words, I was expecting TypeDoc to use what is in utility to resolve some of what is in gs1.

I specifically didn't want TypeDoc looking at the source, because it can't see the source in the real implementation.

But when generating docs for utility, TypeDoc is told to look at that source! That's what's causing the disconnect here. TypeDoc doesn't just match on symbol names as they aren't necessarily (or even likely!) globally unique. It also considers the file name that symbols originate in.
If you generated docs for the utility module with the tsup generated declaration file, then the links would have worked as you expected. (Even if you had generated gs1 first, TypeDoc stores a ReflectionSymbolId for elements not in the documentation which is effectively file path + name, and the projects are merged together after all have been created, so the order doesn't matter)


Images are lost after update

I have updated this module now twice this week. In both cases my slider images were gone. They don't show up in backoffice and also not in front office.
It could be related to multistore!? TB Version is 1.0.3.
For the themconfigurator I noted the same problem...

It seems to happen on the standard non multi-store as well. I just got a report about it in my support queue.

It smells a bit like an somehow changed update process. Code changes of the last two releases are limited to pretty much comment and whitespace edits. Now I wonder why these images did not go with earlier releases.

I believe, they did get lost already before. When I migrated, I had the same issue. Back then, I thought it was because of the migration process... Now I know it better ofc.

Same thing happened to me. I logged into my admin interface and had a whole bunch of modules that needed updating. I updated them all and all my images for these module have all been deleted from the server. This specific homeslider module no all of a sudden has css not in another location where it never was before, which means my theme is not applying the styles at all

This specific homeslider module no all of a sudden has css not in another location where it never was before, which means my theme is not applying the styles at all

Obviously a result of the new packaging script, which no longer forgets one file or another.
CSS files in the theme override those in the module, so creating an empty file themes/<theme>/css/modules/homeslider/<file>.css should solve the issue (and won't get overwritten with the next module upgrade either).

I tested this, the only thing I can come up with is a permissions issue on the /images directory that caused the issue. I added a build script and tested an upgrade from the current version to the new version and did not have the issue. I am closing this for now and making a new release.

Proposed solution: don't store these images in the module folder. Images go to img/. Those in the module folder are only templates and should get copied to img/homeslider/ on installation. Front end HTML should expect them there.
Reason: when updater updates a module, it removes the entire directory, then unpacks the new release. Accordingly, all files inside the module folder are gone.

Proposed solution: don't store these images in the module folder. Images go to img/. Those in the module folder are only templates and should get copied to img/homeslider/ on installation. Front end HTML should expect them there.
Reason: when updater updates a module, it removes the entire directory, then unpacks the new release. Accordingly, all files inside the module folder are gone.

This would be an awesome solution, It gets pretty irritating when each time an update runs, then we have to re-upload the images again, Love this way of handling the images

Just a heads up to anyone. With the new changes, it never backups or transferred my images to the new location and I lost everything again... Fortunately I still have my backups


backgroundUpload not working in foreground but only works when app is in background

Current behavior
When uploading video, it only uploads in background. when i try in foreground, it start uploading then restarts. basically it works in background but not in foreground. any solution to this ?
Expected behavior
it should start/continue/complete upload in foreground and continue/complete in background
Platform

[X] iOS

React Native Version
0.64.3
React Native Compressor Version
^1.5.1
Reproducible Steps And Demo
try uploading while app is in foreground and you will same o progress or restart process, when you let go app in background then it just works and completes upload
try {
        const uploadResult = await backgroundUpload(
          presignedUrl,
          eventData.uri,
          {
            httpMethod: 'PUT',
            headers: {
              'Content-Disposition': `filename="${eventData.fileType}.${fileType}"`,
              'Content-Type': `${eventData.fileType}/${fileType}`
            }
          },
          (written, total) => {
            console.log(written, total);
          }
        );

        if (uploadResult) {
          console.log('Completed!', uploadResult);
        }
      } catch (error) {
        console.log(`Error: `, error);
 }

let me know if there is a possible solution to this or in next update to resolve this.
Thanks

@ParthNandaniya is working for foreground on my side.  can you make a minimal repro if it reproduces on my side then I can fix it?

@nomi9995 i'm not sure if i will get time to build separate repo, test and recreate it. let's see if anyone else report this issue. currently this featuer is not at highest priority so i can wait

@nomi9995 have the same issue. Any update on this? When compressing, it fails as soon as the app is foregrounded on IOS. This is fine in android.


initImage fails when using hashlocked operator image

Report
initImage doesn't match that of operator resulting in failure
More about the problem
I hash-lock (i.e. use a digest) to run the operator, i.e. the operator deployment has image: percona/percona-xtradb-cluster-operator:1.15.0@sha256:6f7d8d4e472b8c4d166573cc7bb714bbb0fdf1535142b6138c62fdecbf881df9
When the operator attempts to figure out the init image to use (at https://github.com/percona/percona-xtradb-cluster-operator/blob/fc46e369c9cc1bfca4552fdc6b204f9b5b243227/pkg/k8s/utils.go#L45-L56) it looks at it's own image and tries to figure out what init image to use.
With the above image, that results in a different image (probably takes the imageName = strings.Split(imageName, ":")[0] + ":" + cr.Spec.CRVersion path)
However, my cluster has security rules that prevent unhashlocked images. So the pod fails to get created.
admission webhook "validate.kyverno.svc-fail" denied the request:

resource StatefulSet/fleet/fleet-database-pxc was blocked due to the following policies

require-image-checksum:
  autogen-require-image-checksum: 'validation error: Images must use checksums rather
    than tags. rule autogen-require-image-checksum failed at path /spec/template/spec/initContainers/0/image/'

create newStatefulSetNode
github.com/percona/percona-xtradb-cluster-operator/pkg/controller/pxc.(*ReconcilePerconaXtraDBCluster).deploy
	/go/src/github.com/percona/percona-xtradb-cluster-operator/pkg/controller/pxc/controller.go:643
github.com/percona/percona-xtradb-cluster-operator/pkg/controller/pxc.(*ReconcilePerconaXtraDBCluster).Reconcile
	/go/src/github.com/percona/percona-xtradb-cluster-operator/pkg/controller/pxc/controller.go:330
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.4/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.4/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.4/pkg/internal/controller/controller.go:261
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.4/pkg/internal/controller/controller.go:222
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1695

Steps to reproduce

hash-lock your operator image (e.g.  image: percona/percona-xtradb-cluster-operator:1.15.0@sha256:6f7d8d4e472b8c4d166573cc7bb714bbb0fdf1535142b6138c62fdecbf881df9)
look at the initContainer image for you database statefulset
observe that it doesn't match

Versions

Kubernetes
Operator
Database

Anything else?
No response

hi @james-callahan the workaround is to set custom initImage via CR

hi @james-callahan the workaround is to set custom initImage via CR

Yes I have had to use that as a workaround for now.
However it introduces unwanted coupling between deploying the CR and the version of the operator in use.

hi @james-callahan the workaround is to set custom initImage via CR

Yes I have had to use that as a workaround for now. However it introduces unwanted coupling between deploying the CR and the version of the operator in use.

I see your point. I think we can improve it but you will need to have *:1.15.0* in your tag. Without it operator can't understand the operator version. I will create jira task for this improvement.

@james-callahan I have created jira task https://perconadev.atlassian.net/browse/K8SPXC-1469


Small fry for ADM explained article

pdstools version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pdstools.

Issue description
looking at https://pegasystems.github.io/pega-datascientist-tools/Python/articles/ADMExplained.html and comparing to https://pegasystems.github.io/pega-datascientist-tools/R/articles/adm-explained.html

auto-hide the not-so-interesting-bits of the code blocks (like the plotting plumbing)
can we beautify the tables, highlighting the columns/rows of importance
in the final classifier the resulting bin is hard coded to 6
the adjusted propensity in the table is wrong, is all the same for all bins

The order of the fields is different but the python version is preferable (sorted)
Reproducible example
See python doc

Expected behavior
At par with R version
Installed versions

Replace this line with the output of pdstools.show_versions(), leave the backticks in place

Updated with the points you mentioned.

the adjusted propensity in the table is wrong, is all the same for all bins: You can't see this point from the article but it is also fixed. You can check the source actual notebook with code: https://github.com/pegasystems/pega-datascientist-tools/blob/master/examples/articles/ADMExplained.ipynb
Additional point: Urls are not hidden in the article, will be updated with the next PR

Cool. I can't see it in the article because that only gets republished with
a new version?
Op di 23 mei 2023 om 18:10 schreef yusufuyanik1 @.***>:

Updated
https://pegasystems.github.io/pega-datascientist-tools/Python/articles/ADMExplained.html
with the points you mentioned.

the adjusted propensity in the table is wrong, is all the same for
all bins: You can't see this point from the article but it is also fixed.
You can check the source actual notebook with code:
https://github.com/pegasystems/pega-datascientist-tools/blob/master/examples/articles/ADMExplained.ipynb
Additional point: Urls are not hidden in the article, will be
updated with the next PR

—
Reply to this email directly, view it on GitHub
https://github.com/pegasystems/pega-datascientist-tools/issues/95#issuecomment-1559748913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEVTKGZLAENECNPSKLSD7DXHTONTANCNFSM6AAAAAAYKGW6WA
.
You are receiving this because you authored the thread.Message ID:
@.***>

The article should be fully in sync with whatever's there in the repo, it's not tied to any versions. Let's check tomorrow.

R version changed with better formulae and selected a different predictor, one with AUC < the model itself

@operdeck @yusufuyanik1  just a check - have we fixed this one?

@StijnKas Yes, we aligned them


train_syncnet history，waiting the result

I have spend 21h, the train loss is 0.34, How long I will to use.

it will take more than a week

@primepake thank you. I will continue to do it and share  the result of train loss on the issue.

@primepake thank you. I will continue to do it and share the result of train loss on the issue.

Hello, What dataset are you using ? if you can give me the number of hours (sum of all videos length)
thank you .


ktlint: 0.42.0 -> 0.42.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/pinterest/ktlint/releases.
meta.description for ktlint is: "An anti-bikeshedding Kotlin linter with built-in formatter"
meta.homepage for ktlint is: "https://ktlint.github.io/"
meta.changelog for ktlint is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1/bin/ktlint passed the binary check.

/nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1/bin/.ktlint-wrapped passed the binary check.

1 of 2 passed binary check by having a zero exit code.

2 of 2 passed binary check by having the new version present in output.

found 0.42.1 with grep in /nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1

found 0.42.1 in filename of file in /nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1

directory tree listing: https://gist.github.com/b89769445aac5bc7ba4f3f24864024aa

du listing: https://gist.github.com/191e568d9ebf969932ff45b9fa63c01e

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
ktlint

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ktlint https://github.com/r-ryantm/nixpkgs/archive/6d15e844789a7c47b34a085bfc4ded30b49d0910.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1
ls -la /nix/store/vspwi48cpxh9bq4avyxdnh4gq6g0avra-ktlint-0.42.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ktlint

Maintainer pings
cc @tadfisher @SubhrajyotiSen for testing.

Result of nixpkgs-review pr 133004 at 6d15e844 run on aarch64-linux 1

1 package built successfully:

ktlint

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/ktlint/default.nix:16:3:
   |
16 |   installPhase = ''
   |   ^


Add a subcommand for generating a config file template from Dependabot config

Custom labels specified in a dependabot.yml file must be created by the user manually.  labelmaker can help with this by gaining a subcommand that takes a path to a dependabot.yml file, parses it, and generates a labelmaker config file listing the labels specified therein.

This just seems too trivial and excessive.


Add events to the viewer API.

Based on https://github.com/hypothesis/h/blob/document-pdfjs/docs/internals/pdfjs.rst:

[ ] Need an event when document loaded -- documentloaded
[ ] Need an event when metadata is loaded -- metadataloaded
[ ] Need an event when page is cleared (removed from the cache) -- pageremoved

Also add state properties to indicate that those events were already triggered.
/cc @csillag

I can confirm that this would make integration between PDF.js and other projects (like Hypothes.is) easier.

I like the idea, but for my purposes, instead of listening to an event, I use the PDFViewerApplication.pdfVieweronePageRendered promise instead.  Don't you think providing a nice set of promises would be better than emitting a bunch of new events?

I would like to work on this bug. So should these remain as events or should these be impelmented as promises like @speedplane suggested.

Promises are called only once and will not be suitable for "pageremoved". Also, if we want to scale and have multiple PDFs per main page, it will be useful to have 'documentloaded'/'metadataloaded' as events too.

So I've been looking aroung the code and found these locations where these can be implemented.

documentloaded: https://github.com/mozilla/pdf.js/blob/master/web/pdf_viewer.js#L259
metadataloaded: https://github.com/mozilla/pdf.js/blob/master/web/viewer.js#L1023
pageremoved: https://github.com/mozilla/pdf.js/blob/master/web/pdf_page_view.js#L105

I'm not sure if I have the right location for metadataloaded. If someone could look over the these locations that'd be great.
Let me know the locations are okay.

from IRC:
documentloaded and metadataload shall be in https://github.com/mozilla/pdf.js/blob/master/web/viewer.js#L834
... somewhere after documentFingerprint is set
...
[pageremoved at] https://github.com/mozilla/pdf.js/blob/master/web/pdf_page_view.js#L130

My approach to pageremoved event.
https://github.com/mbbaig/pdf.js/commit/e4203d70bab321e80c80d54f4ba181d7576804b9

Here are dcumentloaded and metadataloaded.
https://github.com/mbbaig/pdf.js/commit/58e9c0fdce8bcbdbe17669724b79209d175efd67
waiting on feedback

This looks good enough to me to open a pull request for. Make sure to remove the debug statements before doing so. After a pull request has been made, we can do a more thorough review.

If I'm reading this right, this doesn't provide a way for a page using the built-in Firefox PDF.js to determine when the PDF is done rendering (i.e. to trigger printing or the like)?

Desarrolladores y líderes de Mozilla, que son travestis culo!
Alguien debe colgar ustedes para arriba en sus propias bolas y dejar que su perro muerda su caricatura de una polla!
Posteriormente deben ponerlo tiempo que sea necesario por la garganta hasta que traga a sí mismos en el suicidio!
Ustedes Mozilla está ... Estúpido de mierda coños!
Developers and leaders of Mozilla, which are shemales ass!

They should then put it long as needed by the throat until he swallows themselves in suicide!
You Mozilla is...

Developers and leaders of Mozilla, which are shemales ass!

They should then put it long as needed by the throat until he swallows themselves in suicide!
You Mozilla is...

 And to do a favour... I'm going to do that!
I kicked her so hard failure golden eggs until they are ringing and sing you all the melodies of forward and back pain in an instant!

Was it expected?
Oh, Yes, that was!
A movement such as the Mozilla!
So happy that I never upgraded to Firefox 29 and beyond!
Let me tell you something Mozilla developers! If I would be still using your latest crap-ware that really my mission would at this time to find out where you live and then drill him often in Golden's failure until you analyzes and understands how to threaten power users in the correct way!
Without a doubt, has been said before - but may not be repeated enough... You are...

Developers and leaders of Mozilla, which are shemales ass!

They should then put it long as needed by the throat until he swallows themselves in suicide!
You Mozilla is...

 And to do a favour... I'm going to do that!
I kicked her so hard failure golden eggs until they are ringing and sing you all the melodies of forward and back pain in an instant!

Was it expected?
Oh, Yes, that was!
A movement such as the Mozilla!
So happy that I never upgraded to Firefox 29 and beyond!
Let me tell you something Mozilla developers! If I would be still using your latest crap-ware that really my mission would at this time to find out where you live and then drill him often in Golden's failure until you analyzes and understands how to threaten power users in the correct way!
Without a doubt, has been said before - but may not be repeated enough... You are...

I had no idea pdf.js could be so controversial. But it does make for some
amusing friday afternoon reading.
On Fri, May 15, 2015 at 4:23 PM, Lord-of-Darkness<EMAIL_ADDRESS>wrote:

Developers and leaders of Mozilla, which are shemales ass!

They should then put it long as needed by the throat until he swallows
themselves in suicide!
You Mozilla is...

 And to do a favour... I'm going to do
that!
I kicked her so hard failure golden eggs until they are ringing and sing
you all the melodies of forward and back pain in an instant!

Was it expected?
Oh, Yes, that was!
A movement such as the Mozilla!
So happy that I never upgraded to Firefox 29 and beyond!
Let me tell you something Mozilla developers! If I would be still using
your latest crap-ware that really my mission would at this time to find out
where you live and then drill him often in Golden's failure until you
analyzes and understands how to threaten power users in the correct way!
Without a doubt, has been said before - but may not be repeated enough...
You are...

—
Reply to this email directly or view it on GitHub
https://github.com/mozilla/pdf.js/issues/5765#issuecomment-102517305.

Developers and leaders of Mozilla, which are shemales ass!

They should then put it long as needed by the throat until he swallows themselves in suicide!
You Mozilla is...

 And to do a favour... I'm going to do that!
I kicked her so hard failure golden eggs until they are ringing and sing you all the melodies of forward and back pain in an instant!

Was it expected?
Oh, Yes, that was!
A movement such as the Mozilla!
So happy that I never upgraded to Firefox 29 and beyond!
Let me tell you something Mozilla developers! If I would be still using your latest crap-ware that really my mission would at this time to find out where you live and then drill him often in Golden's failure until you analyzes and understands how to threaten power users in the correct way!
Without a doubt, has been said before - but may not be repeated enough... You are...

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org
Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org
Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org
Mozilla team! You betray the spirit of code open and another time! Fortunately, more and more people are realizing that kind of hypocrites you are!
You are never going to be the number one in the browser market! Stop thinking you could be a leader, never exceed Chrome! So stop running behind Google and again focus on geeks and power users, bring personalization back, stop adding more "Chrome parity"! Add place better "Vivaldi parity"-not from the development team, you can learn how users should be treated! With respect and with the aim of satisfying your needs instead of fleeing as it operates and betray its user base kernel and other time and again and again...
You is the Mozilla developers have a brain at all, or are you just treacherous opportunists in Google Paylist? Australis is an imitation without value of Google user interface - you betray your Open Source origins with the addition of DRM and ads... well, another step to sell, the same as add mess owner as of Pocket!
You're traitors to all related open source!
I only say vivaldi.com - palemoon.org - otter-browser.org or seamonkey-project.org

is there an ability for viewier.html?file=<file> to have hooks? I would like to display a loader is while the XHR is in progress and stop the loader when the XHR is done. Can this be done using just viewer.js? Any help is appreciated!

+1

EventBus was added in #7254, we need to raise these events there

While there's now an event bus, do I read the viewer code correctly when I say that there's no way to know from the outside (e.g. an <iframe> referring to the viewer.html) when PDFViewerApplication itself has finished initializing? Before it finishes there's no eventBus property to at all...

I need to webViewerPrint() from viewer.js to viewer.html. My scenario is i have button in the viewer.html when i click the button it needs to trigger the print event in viewer.js.
Can anyone help here.

Based on https://github.com/hypothesis/h/blob/document-pdfjs/docs/internals/pdfjs.rst:

That document is no longer available, and hence the use-cases for having the default viewer dispatch new events which are used nowhere in the code-base are difficult to justify at this point (in my opinion).

Need an event when document loaded -- documentloaded

There's already both documentinit and documentloaded events dispatched on the eventBus, representing when the document is ready for user-interaction respectively when the entire document has been loaded.

Need an event when metadata is loaded -- metadataloaded

This seems like a fairly specialized use-case, and it could probably be achieved by simply waiting for the documentinit event and then manually access the metadata through e.g. the PDFViewerApplication.pdfDocument.getMetadata() method instead.

Need an event when page is cleared (removed from the cache) -- pageremoved

There's no real substitute for such an event (which based on the "removed from the cache" part probably ought to be placed in PDFPageView.destroy, if it were ever implemented).

Given the age of this issue, and that the use-cases might be "special", should this be closed as WONTFIX at this point?


Community Meeting September 4, 2024

Overview

At 10am Eastern, 7am Pacific, 2pm UTC; find your time
Video call link: meet.google.com/ved-ivnv-aen

dial-in: (US) +1<PHONE_NUMBER>

PIN: 873 550 579#

More phone numbers: tel.meet/ved-ivnv-aen?pin=7872592963542&hs=1
Add topics you'd like to discuss below!

I'd like to discuss our build process.
We currently build two container images. One in Konflux and one in GitHub. Should we consolidate these?
What about the image that gets used in Konflux itself? It should probably be the one built in Konflux.


[WIP] Documentation, Test cases and CI for trx_file_memmap

Extended docstrings for trx_file_memmap.py
Added type annotations to trx_file_memmap.py
Added test cases [WIP]
Created a GitHub workflow for CI

I added a setup.cfg file in https://github.com/ValHayot/tractography_file_format/pull/1.
I also added a license file. @frheault : are you OK with BSD 2-clause?

I just realized a small error:
In deepcopy there is a conversion in case the user assigns an affine as numpy array and convert it to a list for the json file.
BUT if the affine (and dimensions) are already lists it crashes, a check should be done with isinstance first.
tmp_header["VOXEL_TO_RASMM"] = tmp_header["VOXEL_TO_RASMM"].tolist()
tmp_header["DIMENSIONS"] = tmp_header["DIMENSIONS"].tolist()


Unable to get the md5 subject_hash

Hi all,
First time posting here. I am looking to get the subject_hash (md5) for my pem file, as you would with command line openssl
wmachs-iphone:platform-tools user$ openssl x509 -noout -subject_hash_old -in ../charles-ssl-proxying-certificate.pem
e64b345
I tried using the spacemonkey library but was not successful. What am I doing wrong?
data,_ :=ioutil.ReadFile("/Users/kevinliang/Desktop/charles-ssl-proxying-certificate.pem")

newMd5,err:=openssl.NewMD5Hash()
pemfile,_ := openssl.LoadCertificateFromPEM(data)
pemblock,err:=pemfile.MarshalPEM()
_=err
newMd5.Write(pemblock)
fmt.Println(newMd5.Sum())
val,_:=newMd5.Sum()
fmt.Println(hex.EncodeToString(val[:]))

RESPONSE
[150 21 143 243 26 230 95 234 154 135 143 103 234 127 200 228]
d41d8cd98f00b204e9800998ecf8427e

Hello.
The hash produced by subject_hash_old is not a hash over the entire certificate (which is what your code is calculating). It is instead an md5 hash of the asn.1 encoding of the certificate subject extension (the first four bytes of the digest are then stuffed into an uint32 in little endian ordering). You don't need this library to accomplish this.  No luck but I do want to point out that my cert is in the format as so:
-----BEGIN CERTIFICATE-----
BLOCK
-----END CERTIFICATE-----

kevins-mbp:CSVReader kevinliang$ go run hash.go
68880a30
this is the response i get, so no error. Oddly when i outpued the error it did complain at
block,err4 := pem.Decode(pemBytes)

if err!=nil{
	fmt.Println(err, "ERROR")
}

your error handling above is not correct. try the following:
package main

import (
	"crypto/md5"
	"crypto/x509"
	"encoding/asn1"
	"encoding/binary"
	"encoding/pem"
	"errors"
	"fmt"
	"io/ioutil"
	"os"
)

func main() {
	if err := run(); err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
}

func run() error {
	if len(os.Args) < 2 {
		return errors.New("missing path to certificate")
	}

	pemBytes, err := ioutil.ReadFile(os.Args[1])
	if err != nil {
		return fmt.Errorf("unable to open certificate: %v", err)
	}

	block, _ := pem.Decode(pemBytes)
	if block == nil {
		return errors.New("failed to decode PEM")
	}

	cert, err := x509.ParseCertificate(block.Bytes)
	if err != nil {
		return fmt.Errorf("failed to parse certificate from PEM: %v", err)
	}

	sub, err := asn1.Marshal(cert.Subject.ToRDNSequence())
	if err != nil {
		return fmt.Errorf("failed to asn.1 encode certificate subject: %v", err)
	}

	digest := md5.Sum(sub)

	hash := binary.LittleEndian.Uint32(digest[:4])

	fmt.Printf("%x\n", hash)
	return nil
}

I am still getting 68880a30 , there was zero error output

¯_(ツ)_/¯
Not sure what is happening exactly. If I had your certificate I could probably figure it out. In any case, if you are interested in the exact behavior of openssl, you could always add some methods to the Certificate struct that wrap the X509_subject_name_hash and X509_subject_name_hash_old methods out of openssl (with appropriate stubs, since X509_subject_name_hash_old didn't always exist, and is also not available if MD5 support is compiled out of openssl).

You could use my repo for doing this: rsa
There are both subject_hash_old and issuer_hash_old


solve OS X dependencies in nightly builds

affects azure-conda-osx-clang-py37-r40 and azure-conda-osx-clang-py36-r36
there is a dependencies problem (Unsatisfiable dependencies for platform osx-64: {'arrow-cpp=3.1.0.dev802'})
Reporter: Mauricio 'Pachá' Vargas Sepúlveda / @pachadotdev
Note: This issue was originally created as ARROW-12674. Please see the migration documentation for further details.

Closing as stale.


helpers.h: xasprintf function, replace ... with ap_list ap, init vars

Minor changes, feel free to drop var init stuff if you want. The other replacement is per the following.
MISRA C:2004, 16.1 - Functions shall not be defined with a variable number of arguments.
CERT, DCL50-CPP. - Do not define a C-style variadic function

please actually test/understand code before making suggestions.  this code change is unnecessary, makes no sense, as is objectively wrong.  you're confusing asprintf and vasprintf.

@wltjr The concern about this p/r is the way we are going to call xasprintf(). It will be called like this:
xasprintf(buffer, format, arg1, arg2, ...);

So think of it as being like sprintf() but with allocation.
So, I'm not sure why  your scanner is objecting to it.

I understand the intentioned usage. It is the following that says it should not be done. I am not sure what the alternative replacement is at this time.
MISRA C:2004, 16.1 - Functions shall not be defined with a variable number of arguments.
MISRA C++:2008, 8-4-1 - Functions shall not be defined using the ellipsis notation.
CERT, DCL50-CPP. - Do not define a C-style variadic function
Per
https://www.sonarsource.com/products/codeanalyzers/sonarcfamilyforcpp/rules-c.html#RSPEC-923
It is also in MISRA 2012
https://en.wikipedia.org/wiki/MISRA_C
Some further documents say
"There are a lot of potential problems with this feature. Users shall not write additional functions that use a variable number of arguments. This precludes the use of use of stdarg.h, va_arg, va_start and va_end. "
http://clinker.soltel.es/sonar/rules_configuration/index/13#rule_1826

@wltjr ok, there is a lot of info there, but I need a way to achieve the same functionality if I am going to remove the variable argument list. so please let me know once you know what the replacement should be.

openrc does not aim to be MISRA compliant, nor do i think there is any usefulness for the project to do so.  its goals are specifically for embedded systems where reliability is paramount and assumes/imposes limitations that make no sense for openrc (such as focusing on limiting memory heap usage).

I can appreciate not wanting to be MISRA compliant. Though in most cases I do not see harm in much of the recommendations. That said, some recommendations like the variable argument and related preprocessor handling do not seem to have examples of alternatives. Where most other things do. I cannot find replacements for such. Which makes compliance that much harder, if possible in some cases.
Regarding embedded I think there is potential for usage in embed. Systemd is used in some embedded systems. Tizen uses it for some devices, not sure which all. Not sure where mobile/watches fall wrt to embedded.


Using SassCompiler in a multitarget build causes file contention on Windows

Would you accept a PR to use a Mutex around the compilation process here
https://github.com/koenvzeijl/AspNetCore.SassCompiler/blob/6e063ee468b5429a6a066d31c0b59ae0dab6577b/AspNetCore.SassCompiler.Tasks/CompileSass.cs#L273
We have a large multi-project solution and some of our users are having problems with file contention.
Multiple builds occurring around the same time due to transitive project references to the same library.
Error running sass compiler: Error reading wwwroot\MudBlazor.min.css: Cannot open file

Is the following summary of the problem correct?
MudBlazor is a multi target framework project. AspNetCore.SassCompiler is configured using a sasscompiler.json file. During the build process both the net8 and the net9 are simultaneously compiling SCSS to CSS and want to write the result to the file MudBlazor.min.css. If that happens in parallel, one of the two Dart Sass processes is unable to access the output file and the error Error running sass compiler: Error reading wwwroot\MudBlazor.min.css: Cannot open file. occurs.
If so, I am not sure this can be considered a problem of this library. And introducing a Mutex feels like a hack to me. If you look at where MSBuild is placing the MudBlazor.dlls, you'll notice that one is created in the folder MudBlazor\bin\Debug\net8.0\MudBlazor.dll and one in MudBlazor\bin\Debug\net9.0\MudBlazor.dll – maybe something similar should be done with the CSS files?

The main point being is that MudBlazor.min.css is an input to MSBuild.  Skipping  that by placing it in output directorys bypasses a whole load of necessary processing.

Sure, the normal MSBuild pipeline should not have to be altered. Ideally
the SCSS compilation should only happen once per project, not for every
target framework. I found the following post about basically the same
problem, maybe something like this could be implemented?
https://lizzy-gallagher.github.io/msbuild-run-target-once-per-project/
On Fri, 13 Dec 2024, 22:46 Mike Surcouf, @.***> wrote:

The main point being is that MudBlazor.min.css is an input to MSBuild.
Skipping that by placing it in output directorys bypasses a whole load of
necessary processing.
—
Reply to this email directly, view it on GitHub
https://github.com/koenvzeijl/AspNetCore.SassCompiler/issues/209#issuecomment-2542432754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKBDNYAZL6GHZOOHB3IME2D2FNITZAVCNFSM6AAAAABSCGKDOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBSGQZTENZVGQ
.
You are receiving this because you commented.Message ID:
@.***>

Thanks for the reply I already looked at that.  It doesn't work for project references though https://github.com/dotnet/msbuild/issues/2781.  It's common to build libraries through a project reference. In addition, with MSBuild parallel build proceses and a multi project solution it's conceivable that multiple projects could be building the library at the same time.  I have spent a lot of time investigating this, but I am still open to an obvious solution.

My naive attempt to solve it was changing it to BeforeTargets="DispatchToInnerBuilds". It works great, while we have only one project, but if we try to build solution, which contains project, referencing us, our build could be executed from ResolveReference target of other project, which will start inner-loop build for our project - DispatchToInnerBuilds will be executed in parallel in this case, so we run compilation now before we was able to generate source.

In addition despite the above which wont work Sasscompiler already specifies its targets
see
https://github.com/koenvzeijl/AspNetCore.SassCompiler/blob/1fdd305dadb474bbd94cc6eac0763a904f4c549b/AspNetCore.SassCompiler/build/AspNetCore.SassCompiler.targets#L15


Bug: Selecting text ending in bold and then typing produces one character without bold and the remainder in bold

Lexical version: Playground version (0.3.7?)
Testing with Firefox Nightly (104) and Safari desktop.
Steps To Reproduce

Open lexical playground
Select all the text and delete it
Type "Hello there"
Select "there" and make it bold, e.g. by pressing Ctrl + B
Select the whole string, "Hello there", from left to right
Type something, like "Hi again"

The current behavior
"Hi again" is produced with "H" not in bold, and "i again" in bold.
The expected behavior
I guess none of it should be bold. That would match Word's behavior.
If that's difficult, at least making all of the typed text would be more consistent.
Screen shots
With the text selected:

After typing "H" (notice we have the text node for "H" with no format but the selection has { format: bold }).

After typing "i again" (notice the selection format has been applied to the remaining text

I suppose we need to detect that text is being replaced and reset the selection's format to the format of the anchor node?

I tried to understand better the behaviour here, I think there is a misalignment when RangeSelection "is" method is called (see packages/lexical/src/LexicalSelection.ts)
Looking at this.format and selection.format, the latter (selection.format) gets updated a character after "this" is updated. I think if "selection" would be in sync with "this" there wouldn't be this behaviour (but I couldn't be able to fix it).
Anyone else has any hint on how to address this bug?


I revived it

https://github.com/hbashton/spotify-ripper

Thanks - updated the scripts to use your repo.


Accidental argument

Hello author, may I ask that TypeError occurs when I run train_process for the first time: make() got an unexpected keyword argument 'world_name', of course, the following parameters are also redundant, I am a novice, hope the author can help point out

Then I got ImportError: this platform is not supported: ('failed to acquire X connection: Bad display name ""', DisplayNameError(''))
Try one of the following resolutions:

Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly

Hi,
For the first poroblem, it may be caused by the version of gym, please try to install the older version.
For the second problem, the most likely cause is the package pynput. you can reinstall or test this package Individually, or comment out the import code, which does not influences the functionality of the project.


Prepare gem for open source

Go through the steps of preparing the gem for being open sourced.

https://github.com/Shopify/rails_ruby_lsp/pull/28
https://github.com/Shopify/rails_ruby_lsp/pull/27

Todo:

[x] Add a license
[x] Add a code of conduct
[x] Review content of README for accuracy and clarity
[x] Enable branch protection for main
[x] Create shipit stack https://shipit.shopify.io/stacks/new - link
[x] Create Helpdesk ticket to make repo public.
[ ] ~Plan any external announcement/communication.~ This will come later.
[x] Ensure all GitHub Actions runners are using ubuntu-latest rather than shopify-ubuntu-latest.

Repo is now public.


Token length type fixing

Hi,
I encountered a conversion from 'size_t' to '_ty' requires a narrowing conversion error, during a Windows 11 build.
Traced back the issue here and static cast these parameters to unsigned.
Now compiles and able inference.

Sorry for the slow response on this! Will merge pending the CI.

@microsoft-github-policy-service agree


Watson.Lite: Fixes Client Stream crashing webserver if client closed the wire.

Watson.Lite: Fixes Client Stream crashing webserver if client closed the wire.
This fixes the issue according to the recommendations of the C# documentation.
The issue always existed even in httpserverlite, but somehow it was masked before...

@dotnet-policy-service agree [company="{MultiServer Corp}"]

@dotnet-policy-service agree
@dotnet-policy-service agree [company="{MultiServer Corp}"]

Thanks for this @GitHubProUser67 I will get this integrated right now!

NuGet v6.1.7 for Watson.Lite, cheers!


Language

Very minor language fix

Whoa whoa whoa, a change like this needs a major version bump, can you imagine all the code you're breaking??
/s
👍 from me

You just gave me a heart attack. :koala:

OK, I'll put it on the roadmap for Mido 3.0.
Hmm no, maybe I'll just wing it and merge it right away. Yeah, let's live life on the edge.


CocoaPod Installation - CGImage error

Hello Tim,
I've tried installing WebPKit via CocoaPods and have several issues:
When installing without version or github specification the majority of the features are missing because the pod is very outdated.
I've then added it via the .git URL and the Encoding functionality was back.
The recent problem now is that Xcode throws a compiler error that it cannot find the cgImage.webpdata() function
(Attached Screenshot)

If you got any idea on whats going wrong please hit me up.

Hey @DwieDave!
I'm 99% sure this is fixed so I'm going to close the issue now. If you get the chance to test it, and it's still broken for you, please feel free to re-open this issue. :)
Thanks!


ChangeFieldName also renames fields in nested classes

If a Java class contains a field and also a nested class with a field with the same name then the ChangeFieldName recipe incorrectly also renames the field of the nested class.
If I add the following test case to https://github.com/openrewrite/rewrite/blob/master/rewrite-test/src/main/kotlin/org/openrewrite/java/ChangeFieldNameTest.kt it fails:
    @Test
    fun dontChangeNestedFieldsWithSameName(jp: JavaParser) = assertChanged(
        jp,
        recipe = changeFieldName("collection", "list"),
        before = """
            import java.util.List;
            public class A {
                List collection = null;
                class Nested {
                    Object collection = A.this.collection;
                }
            }
        """,
        after = """
            import java.util.List;
            public class A {
                List list = null;
                class Nested {
                    Object collection = A.this.list;
                }
            }
        """
    )

Thanks for the test!

Thanks for the test!


Provide possibility to use Elasticsearch Data Stream

Is your feature request related to a problem? Please describe.
Elasticsearch has introduced Data stream in version 7.9 [1], which provides a simple way to utilize ILM on time series data. Data streams can unfortunately not be used in the current release because on a data stream the methods to add documents to an index are limited. [2]
Describe the solution you'd like
The plugin fluent-plugin-elasticsearch supports data streams from version 5. [3] Therefore the plugin should be updated to the current version and the corresponding output type should be made usable.
Describe alternatives you've considered
An alternative would be to utilise write_operation: create, however this requires that the key _id must be set or generated. For the generation the plugin fluent-plugin-elasticsearch provides in the current used version a filter type. This filter cannot be used in the current release of logging-operator. As an alternative to the proposed solution, this filter could be made available to make the data stream usable
Additional context
[1] https://www.elastic.co/guide/en/elasticsearch/reference/7.9/release-highlights.html#_data_streams
[2] https://www.elastic.co/guide/en/elasticsearch/reference/7.11/use-a-data-stream.html#add-documents-to-a-data-stream
[3] https://github.com/uken/fluent-plugin-elasticsearch/tree/v5.0.0#configuration---elasticsearch-output-data-stream
[4] https://github.com/uken/fluent-plugin-elasticsearch/tree/v4.3.3#generate-hash-id

I am also interested in shipping logs to a data stream, it would be great if the plugin could be updated.

I've now a little dependency problem in our fluentd dockerfile. If it is solved we can deal with this.
https://github.com/atomita/fluent-plugin-aws-elasticsearch-service/pull/70

@ahma do you know when could this be released?

Is there anywhere an example how to configure this ? Thanks


EnumsTest shouldn't fail on extra values

If Enums_en.properties has a key that doesn't match any enum values, but does
have keys for all the values of all the enums, EnumsTest should pass.
This was causing CI failures after we deleted an enum value; the old English
display name was still in Phrase's string list and Phrase added it to back to
the properties file on export.

Current dependencies on/for this PR:

main

PR #1191   👈

This comment was auto-generated by Graphite.


is there a problem while 'ovr' and categorical feature?

while 'ovr' and categorical feature, we have worst scores (underfit)

this turned out to be the bug in compute_bin_partition

after fixed bug in compute_bin_partition, it seems no more this heavy underfit problem while 'ovr' and categorical feature


Refactor: gather all basic constrains as a gadget

I've seen some dup-constrains in xxx.configure. Like MemoryTableConfig.configure_enable_as_bit  and the JumpTableConfig.enable_is_bit.
Seems like it's better to gather all basic constrains as a gadget to make the code structure clearer.
The zkevm did a good job. Maybe we can learn from it.
https://github.com/privacy-scaling-explorations/zkevm-circuits

It is closed as it is a bit too generic.


Get Droplet's tags

Hi :).
In this PR we can get  tags for each droplet.

Hello @ahmedash95, thank your for the PR. I will look at it asap.


Having problems in understanding the implement of 10-fold Cross validation ?

Hi, WuJie！this is a great work! I am interested in tuning the model.
I am having problems while debugging "mainpro_CK+.py".
parser.add_argument('--fold', default=1, type=int, help='k fold number')
My questions:

fold default is 1,while I has not input,It turn to 10.I really want to know how to realize.
Could you please give me more detail about the implement of 10-fold Cross validation?

Thank you in advance!

please use "python k_fold_train.py"

Thank you for your prompt!
there are my understands:for 1~9 fold , we count test number in order,for 10 fold,we count in the reverse order,In that way,we ignore some overlaps or discard some pictures,such as angry(135),we count 120,disgust (177) we count 180.But It doesn't matter.every time,we choose the fix test number,and the rest for train.Do I understand correctly?
Recently, I am stuck in data augment in CK+, your work help me a lot.Thank you once again.

Yes

Thank you！


Add ability to do a code compare.

I found that your library is maintained. But it misses the code compare feature. So I added it.

Thanks @shivan for your contribution. Could you also add a few tests, to validate what happens in different cases:

from and to refer to valid commits that are different
from and to point to the same commit
from or to are invalid

Hi @louis-z, I implemented your suggested changes.
I also tried to implement some tests, but these did not run successfully. Seems like it needs somehow a docker container to run the tests.

Hi @louis-z, I implemented your suggested changes. I also tried to implement some tests, but these did not run successfully. Seems like it needs somehow a docker container to run the tests.

Yes, you indeed need to have the Docker engine installed, as mentioned in our README.

@louis-z can you have a look again, I think I fixed everything (even got the tests running)


ci: update renovate to maintain lock file

Codecov Report

Merging #38 (f22be71) into main (bef71bc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   98.73%   98.73%
=======================================
  Files           4        4
  Lines          79       79
  Branches       14       14
=======================================
  Hits           78       78
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bef71bc...f22be71. Read the comment docs.


Enable test_subprocess again

Now that we are using the SYCL RT these tests pass even when running them in parallel. Putting the tests back into CI.

I run the test 2 times and the CI did not expose the "print out of order" issue now that we use the SYCL RT instead of the L0 runtime. Running it a third time now... if it passes then we can merge this in.


Concurrency issues when using Mapper

When using cassandra-driver-mapping OpenTracing instrumentation doesn't work well. E.g. some spans are missing.
I think I have a fix for that, will prepare the PR soon after internal testing yields positive results.

@tmszdmsk cool! please provide also test case if possible.

test CassandraMappingTest added.
There is no proper way to propagate active span into mapper's futures.
Most likely we need to open issue against Cassandra Mapper to add such kind of support.


Commands passed to the shell using EJSON syntax are not converted to mongo shell syntax

For commands through the API, using syntax such as db.coll.find({ "_id": {"$oid": <sampleID>}}) is fine, since the arguments get converted to objects via EJSON.parse
We do not make an conversion of "$oid" : x to ObjectId(x) when we pass commands to the shell.

Not clear what the issue here is.


Add icons to navbar

Hello,
Can I contribute by adding attractive icons to the NavLinks present on the navbar section.

Please assign me this issue under ggsoc'24 and hacktoberfest.
Thank you

Thank you

Hey I want to contribute in this . Kindly Assign me this under hacktoberfest2024 and gssoc-ext


Numbers with commas are ambiguous

Many European languages use a comma as a decimal separator: €1,50
This is currently parsed by the NumberParser, but is ambiguous when English usage has the comma as a thousands separator: £1,500
Sometimes the number is unambiguous (1,234.56 = 1.234,56), but other than these cases I think accepting commas is potentially introducing errors — we don't know if 1,100m is on a mountain or by the sea.
This needs investigation of prevalence of decimal commas.  It's easy to export numbers with decimal commas from Excel if the locale is set accordingly.

I live in one of those countries and this is by far the nastiest locale difference. I would expect even careful people to mostly keep the native locale and export decimals with comma.
But should this not at least be a problem for the entire dataset? I would suggest to keep a dataset specific setting that we can manually activate to use a comma based decimal


feat: Add repository name to meta data on open issue page

What does this PR do?

Fixes https://github.com/formbricks/oss.gg/issues/58

How should this be tested?

Test A
Test B

Checklist

Required

[ ] Filled out the "How to test" section in this PR
[x] Read How we Code at oss.gg
[x] Self-reviewed my own code
[x] Commented on my code in hard-to-understand bits
[x] Ran pnpm build
[x] Checked for warnings, there are none
[x] Removed all console.logs
[x] Merged the latest changes from main onto my branch with git pull origin main
[x] My changes don't cause any responsiveness issues

Appreciated

[ ] If a UI change was made: Added a screen recording or screenshots to this PR
[ ] Updated the Formbricks Docs if changes were necessary

/award 100


Allocators should take a ubyte[] memory block instead of a void[] one

Allocators that rely on taking a block of unused memory to manage and allocate
from it should take a ubyte[] instead of a void[] in order to prevent users
from accidentally passing valid data and cause memory corruption/leaks.

I think this is not good. You can't use a ubyte[] to store pointers, because the GC assumes that you don't. The GC would prematurely collect the referenced stuff, because it doesn't recognize the pointers to it.
With ubyte[] implicitly converting to void[], one can make this mistake already:
import core.memory: GC;
import std.stdio: writeln;
import std.experimental.allocator: make;
import std.experimental.allocator.building_blocks: NullAllocator, Region;

struct S { int* p; }

void main()
{
    auto buf = new ubyte[](S.sizeof); /* !! */
    auto r = Region!(NullAllocator, 1)(buf);
    S* s = r.make!S(new int);
    *(*s).p = 42;
    writeln(*(*s).p); /* prints "42" as expected */
    GC.collect();
    *(new int) = 13;
    writeln(*(*s).p); /* prints "13" - whoopsie */
}

@aG0aep6G good point, thanks. On the other hand, using void[] makes it impossible to make the function safe. Ideas?

I'm thinking this is a general problem with allocators. They need to expect the memory they receive is appropriately marked as "may contain pointers" if it originates with the GC.

I'll approve this in the interest of progress since it doesn't make matters worse.

Pardon my french, but what the fuck? This does make matters worse. The bad program I posted above still compiles (no way around that), but you just made it so that the correct version (with void[]) doesn't.
PR to revert: https://github.com/dlang/phobos/pull/5323

This does make matters worse. The bad program I posted above still compiles (no way around that), but you just made it so that the correct version (with void[]) doesn't.

Actually there is improvement. The problem with the void[] allows forging pointers:
struct A { int * p; }
auto a = new A[10];
auto r = Region!(NullAllocator, 1)(a);

At this point, the memory of A is modified in arbitrary ways creating invalid pointers. The ubyte[] signature clarifies that the allocator needs free bit-level access to the data involved.

I think ubyte[] is the correct type. First, this isn't what an allocator returns but what it uses as its source. There is no requirement for the source to be GC data. However, given that you can wildcard cast anything to void[], it makes the function less safe and more error prone to have it accept void[]. Requiring a cast to make your code work is actually helpful -- it makes you consider what it is you are doing.
Also note that the type being used doesn't have to be the deciding factor for "contains pointers" when memory comes from GC. You can allocate as void[] and then cast to ubyte[] or set the flags manually if allocating data from the GC that you intend to contain pointers, and then pass to another allocator.
@klickverbot I think as far as registering with the GC, I would say no. It's up to the caller to do that.

Hm.. can we have an allocator wrapper that registers/unregisters allocated blocks of the wrapped allocator with the GC?

Re @andralex: Yes, there's improvement in one area, but it makes things worse in another. I don't agree that the trade is good. Code as obvious as passing a new ubyte[] into a ubyte[] parameter should be correct. In my opinion, this is more important than the problems with void[] parameters.
Re @klickverbot:

I suppose the question here really is whether allocators that accept a buffer should implicitly register it with the GC.

Could make it a parameter that defaults to on. I guess ubyte[] buffer parameters would be fine then, and maybe the allocator can be @safe then. If the user knows they won't store GC pointers, they can switch it off, making the allocator unsafe.
Re @schveiguy:

Requiring a cast to make your code work is actually helpful

Yes, but you can still write incorrect code without a cast. My example of bad code still works. And a user is more likely to fall into the trap, because the correct version is less obvious and does require a cast.

You can allocate as void[] and then cast to ubyte[] or set the flags manually

Yes, you can do that. The problem is when you don't but store GC pointers anyway. The other way around, making a void[] buffer but not storing GC pointers, is less problematic.

Looks like this should be a user choice, whether or not to use GC scanned memory to back the region allocator. Now how to put this choice into an API is good question.
Any chance r.make!S(new int) could assert that the backing memory gets scanned when the constructed value has a reference to GC memory?

@MartinNowak I was thinking placing the code in GCAllocator is the best way to go. Perhaps make it a template parameter flag that controls whether or not the memory allocated may contain pointer. By default, it would be expected that the memory allocated is available fully generically, so the "has pointers" flag is true by default. Allocators build on one another so it makes sense to have GCAllocator provide the backing memory for others. We can't expect allocators to work out of the box with new.


Does this repo contain the changes for 1.4.3?

The repo has 1.4.2:
https://github.com/hanshoglund/monadplus/blob/7f1bfd12f66c33db503c6ff0b4f6965681d95c8d/monadplus.cabal#L2-L3
However, hackage has 1.4.3 and points to this repository.
Ollie @ocharles, where are the latest sources hosted if not here?
(Or maybe you didn't merge the changes in here yet.  In this case, please do so, so that you can receive contributions.)
(Or is just the version bump not committed yet?)

Strange, I must have missed a push. I'll push later today

https://github.com/hanshoglund/monadplus/commit/a091862c8f11d3d0b1a4779834aeb3d81c5b10e0 pushed, along with tag (https://github.com/hanshoglund/monadplus/releases/tag/1.4.3).


Visualizing extensions by their parent classes

In this example:
https://neurosift.app/?p=/nwb&url=https://fsbucket-dendro.flatironinstitute.org/dendro-outputs/2d2b13fd/2d2b13fd.ec254350/output&dandisetId=000871&dandisetVersion=draft&dandiAssetId=407d6e5f-2a16-4879-b38f-b74cad7b9e24&st=lindi
There is a neurodata object of type "EllipseEyeTracking". Looking at the spec in the Raw, this type inherits from the core type "EyeTracking." In cases like this, would it be possible to inspect the type hierarchy of the cached spec and try rendering this object with the visualization of the parent class?
This is how NWB Widgets works, not just for extensions but in fact for all neurodata types. If there is no widget defined for that neurodata type, it traverses the line of inheritance looking for the nearest parent for which a widget is defined. In this way, all neurodata objects have at least some corresponding widget.

Okay I'll work on that. But quick question. What's the deal with the different versions in the specifications?

Why are multiple versions embedded in the NWB and how do I know which to use?

I really don't know. @rly, should this be permitted?

Good question. If there are multiple versions, the latest version according to semantic versioning should be used. I don't recall why multiple versions are allowed in the file given that individual neurodata type objects are not versioned and PyNWB/HDMF (and I think MatNWB) just uses the latest. This happens when appending to a file that was written with an older version of NWB than what is currently loaded. Probably the old schema was just not deleted. I created a ticket in HDMF to resolve it.

@bendichter Neurosift now respects all neurodata type inheritance in the way you suggested.
There is also a new tab called "specifications" that provides tables of all the namespaces, spec-groups, and spec-datasets in the file.

the widget works great on this example and the spec tab is great too!


Added getExtensionFromUri function

For #3403
Added a getExtensionFromUri function and updated KmlDataSource and added tests.

Looks good to me.

Welcome @TomPed!  Thanks for this.  Please add yourself to CONTRIBUTORS.md.


Types not published on npm

Hey, this repo has types merged 3 weeks ago. when the new release will get published on npm?

Hi, when is the new version getting published?

Hi @vividvilla, any update on this? the types update getting published on npm would be a massive improvement for developer experience

Hi @vividvilla, any update on this? the types update getting published on npm would be a massive improvement for developer experience

@vividvilla bump ^

@brayn003  @anishmitta1 @NithinBiliya
There were a couple of refactors needed in ts, and currently in progress. We are reviewing this refactor MR. Once that is done, we will publish the new version on npm.

@brayn003  @anishmitta1 @NithinBiliya
The new version with types is published on npm v5.0.0. Please refer to the CHANGELOG for updates and migration details.


Merged master to dev 1.18

As a part of 1.18 docs release teamwork. Syncing up branches between master and dev-1.18
@sftim @zacharysarah

This looks the way I understand it's supposed to.
/lgtm

/approve


OSError when downloading/unzipping NLTK data (Python 3.5.1)

I'm getting an OSError when I try to download data via the NLTK command line interface. This occurs when unzipping corpora/panlex_lite.zip
Running NLTK 3.1 on Python 3.5.1 (Python installed via Homebrew, NLTK installed via pip) on Mac OS X 10.11.3
Tried running python3 -m nltk.downloader all as suggested on http://www.nltk.org/data.html
sandip ~> python3 -m nltk.downloader all
[nltk_data] Downloading collection 'all'
[nltk_data]    |
[nltk_data]    | Downloading package abc to /Users/sandip/nltk_data...
[nltk_data]    |   Package abc is already up-to-date!
[nltk_data]    | Downloading package alpino to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Package alpino is already up-to-date!
[nltk_data]    | Downloading package biocreative_ppi to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Package biocreative_ppi is already up-to-date!
[nltk_data]    | Downloading package brown to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Package brown is already up-to-date!
[nltk_data]    | Downloading package brown_tei to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Package brown_tei is already up-to-date!
[nltk_data]    | Downloading package cess_cat to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Package cess_cat is already up-to-date!
[nltk_data]    | Downloading package cess_esp to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Package cess_esp is already up-to-date!
[nltk_data]    | Downloading package chat80 to
[nltk_data]    |     /Users/sandip/nltk_data...
...
[nltk_data]    | Downloading package panlex_lite to
[nltk_data]    |     /Users/sandip/nltk_data...
[nltk_data]    |   Unzipping corpora/panlex_lite.zip.
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 2267, in <module>
    halt_on_error=options.halt_on_error)
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 664, in download
    for msg in self.incr_download(info_or_id, download_dir, force):
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 543, in incr_download
    for msg in self.incr_download(info.children, download_dir, force):
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 529, in incr_download
    for msg in self._download_list(info_or_id, download_dir, force):
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 572, in _download_list
    for msg in self.incr_download(item, download_dir, force):
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 549, in incr_download
    for msg in self._download_package(info, download_dir, force):
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 638, in _download_package
    for msg in _unzip_iter(filepath, zipdir, verbose=False):
  File "/usr/local/lib/python3.5/site-packages/nltk/downloader.py", line 2039, in _unzip_iter
    outfile.write(contents)
OSError: [Errno 22] Invalid argument

The error could have been caused by a variety of reasons:

the server hosting the panlex file is somehow busy
you don't have enough space on your disk on directory that you're working on
you don't have extended access to download a file over the net for quite a long period of time
somehow your internet connection broke while downloading the file

If you don't need the panlex_lite package, try:
$ python
>>> import nltk
>>> nltk.download('all', halt_on_error=False)

Thanks, didn't know about the halt_on_error parameter.
I don't need panlex_lite at the moment, but I think the issue might not be caused by those reasons mentioned... the issue seems to occur during the Unzipping corpora/panlex_lite.zip stage, after the file has already been downloaded, and trying multiple times results in the same error (after downloading the file). Could be an issue with the downloaded file itself?

Your panlex_lite.zip might have been corrupted from multiple download tries. Delete the file from your nltk_data directory manually, then redownload the file while you have stable internet connection for quite some minutes. I managed to get it downloaded and unzipped after a pretty long coffee break.

I just tried removing corpus/panlex_lite.zip and the panlex_lite directory before (re)downloading and ran into the same OSError at the "unzipping" stage.
I tried running import nltk;nltk.download('all', halt_on_error=False) with Python 2.7.11 on my system and the download/unzipping finished successfully for all files, including panlex_lite.zip... so maybe something exclusive to Python 3.5? (or some weird issue with my system)

It's a Python3.5 thing, see #1204

This issue would have been resolved with the latest version of NLTK, see #1338 for an explanation on why.

when i run the command

python -m nltk.downloader all
i get this error
HTTP Error 503: first byte timeout

I went back and forth many times until I did the installation right.  If you are running from windows terminal try to install nltk from their site first
http://pypi.python.org/pypi/nltk
Once you have done that run from terminal

install nltk

From Mac run from the terminal

sudo pip install -U nltk
then you can import
import nltk
Remember you need python 2.7 or 3.4 to run it correctly.  Hope this helps


Download Latest/Edited SimBrief OFP Pack with API

Is your feature request related to a problem? Please describe.
No, it is a new feature request.
Describe the feature you'd like
As you may know, it is possible to edit a SimBrief OFP once it is generated and API (according to its docs) allows re-downloading an edited ofp pack.
Is it possible to add this feature to our own API integration so we would be able to edit a generated ofp (via SimBrief interface of course) and then with a click of a button we can download that latest ofp to our database (with updating current record)
We can build a static_id as per SimBrief requirements easily for generated flights with our current form like
$user->id."_".$flight->id or (if it needs a shorter string) $user->id."_".$flight->number
then we can use that static_id we created to pull the latest/edited/regenerated ofp.
Describe alternatives you've considered
None, continue using current code, edit if needed and download manually and use that downloaded file with vmsacars.
From SimBrief API Documentation

Static ID***
static_id
ABC_12345

*** Note regarding Static ID: This option allows you to set a reference static ID string that will remain the same, even if your user subsequently edits/regenerates their flight plan through the SimBrief website. The Static ID can be any combination of letters, numbers, and the underscore (_) character.When specified, the Static ID can be used to subsequently pull up the options or data for this API flight, even if the user has since edited the flight or generated a new flight plan on the SimBrief website.To redirect a user to the SimBrief Options page for this API flight, the following link can be used:CODE: SELECT ALLhttps://www.simbrief.com/system/dispatch.php?editflight=last&static_id={your_static_id}To pull up the latest XML data for this flight through the XML fetcher script, use the following link:CODE: SELECT ALLhttps://www.simbrief.com/api/xml.fetcher.php?userid={user_id}&static_id={your_static_id}

If you find this useful or applicable to core, just let me know ... I already have it working , able to send a full pr.

Yeah, let's get this into core, thanks.

My pleasure, will do a test with the default theme :) Config, controller
and service changes are working fine but I need to be sure it works on pure
default theme too 'cause I used a modal to open SimBrief webpage to edit
and keep our button to download in the same window.
Expect a new pull request soon
On Sun, Jun 6, 2021 at 4:02 PM Nabeel S. @.***> wrote:

Yeah, let's get this into core, thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/1226#issuecomment-855395848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKVMNSPJUY2SU5WSTKEFTTRNWXXANCNFSM46E7VYGQ
.

Is that static ID different from the one that's generated? Because we pass an ID to it on the original generation and that forms the SB ID. But if it's different, use something like {user-id}-{flight-id}-{hash-id} - where the hash ID comes from:
use App\Support\Utils;

Utils::generateNewId(10);

See what the max length is from SB, and maybe adjust the above-generated ID to fill in the remainder of that length.

Yes it is something different, needs to be sent when we are sending the
form fields with the api I think. Maybe Derek wanted to have something more
basic or thought something else for it, when I checked our current requests
and returned xml I saw that the static_id field was empty, thus added a new
hidden field to the form
$user->ident."_".flight->airline->icao.$flight->flight_number
I do not think that it needs to be that unique (with hash) 'cause it is
always loading the last ofp that user generated, even the static id seems
pointless but we may never know the inner details of course.Maybe Derek
needs to have some separation while selecting ofp's generated via api and
the ones generated from web interface for the same user. Like he generates
one via api, then generates another (totally different one) via web
interface, in this scenario that static id may be needed to identify the
api generated one.
Anyway, pr is ready, sending soon but I have little problem.
When I use config to read the url and then use str_replace to change it my
test server generates an error and stops.
[2021-06-06 13:18:48] prod.ERROR: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found {"userId":3,"exception":"[object] (ErrorException(code: 0): simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found at /home/u9681834/ vms7.turksim.org/app/Services/SimBriefService.php:73) [stacktrace]
I am using the same code at my live server, which works fine.
I just dashed out that part and defined the $uri in the service file
directly for you to examine.
On Sun, Jun 6, 2021 at 4:06 PM Nabeel S. @.***> wrote:

Is that static ID different from the one that's generated? Because we pass
an ID to it on the original generation and that forms the SB ID. But if
it's different, use something like {user-id}-{flight-id}-{hash-id} -
where the hash ID comes from:
use App\Support\Utils;
Utils::generateNewId(10);
See what the max length is from SB, and maybe adjust the above-generated
ID to fill in the remainder of that length.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/1226#issuecomment-855396415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKVMOHIQ2PL6FFMPSB26LTRNXGBANCNFSM46E7VYGQ
.


INTEL TDX tee_qv_get_collateral failed: 0xe019

Hello! I have an installation of Intel TDX in a server. I've used the quickstart to deploy the pod of CoCo. But when I deploy the pod I get the next error (I am using the v10 of the operator and ccruntime):
encrypted-image-test-busybox

docker logs kbs-kbs-1

In which basically the error is Verifier evaluate failed: TDX Verifier: tee_verify_quote failed: 0xe019.
docker logs kbs-as-1

I dont know if I have to configure something that does not appear in the quickstart.

Verifier evaluate failed: TDX Verifier: tee_verify_quote failed: 0xe019

The quote verification lib tries to reach out to the PCS/PCCS. There's more on the configuration in the AS documentation.

Thank you very much for your help! The pod is running now, I am closing this issue


Can we get image height and width from network before the image is complete? I mean the image size in loading state.

see demo ，onstateChange
extendedImageInfo

extendedImageInfo is always null when in LoadState.loading; I want to get the size for loading placeholder.

can't get size before decode is finished

ok, i thought i can get the size beforehand. thanks


[Don't merge] Update to version 1.0.3.

Just want some eyes on it. Did I miss anything?
@pranavkm @Eilon @halter73 @pakrym

Also add a SDK version to the global.json. I think older branches are missing those. Looks :shipit: otherwise.


Fix interface-app mapping, recored mapping init status for each unique interface key.

Related issue https://github.com/apache/dubbo/issues/9992

Codecov Report

Merging #10003 (e42cf97) into 3.0 (3d7266f) will decrease coverage by 0.51%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.0   #10003      +/-   ##
============================================
- Coverage     65.70%   65.19%   -0.52%
+ Complexity      319      294      -25
============================================
  Files          1213     1215       +2
  Lines         52949    53038      +89
  Branches       8018     8010       -8
============================================
- Hits          34791    34577     -214
- Misses        14364    14646     +282
- Partials       3794     3815      +21

Impacted Files
Coverage Δ

...che/dubbo/metadata/AbstractServiceNameMapping.java
85.08% <100.00%> (+0.68%)
:arrow_up:

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-67.31%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
16.34% <0.00%> (-52.89%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
55.55% <0.00%> (-33.34%)
:arrow_down:

.../remoting/api/SingleProtocolConnectionManager.java
61.53% <0.00%> (-23.08%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
46.15% <0.00%> (-15.39%)
:arrow_down:

... and 93 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d7266f...e42cf97. Read the comment docs.

LGTM


Missing {"@ in body

Hi,
I have been using serilog for some time now, and have noticed that we once in a while are missing some logs. When I looked into what might caused this I found the following:
First I created a test API that recieved a call and when logged it into a bufferFile (That never miss a log btw).
I when created a program, that sent 5000 requests to the API. I could see 5000 logs in the bufferFile, but only 4999 logs when I looked at kibana.
I when looked at the network traffic, and found the following:

If we take a look on the server running elasticsearch it gives this error:

So, from what I can see is that serilog sometimes cuts {"@ away from timestamp. I've tried to run it multiple times, but it does not always happen. (Often need to run it 4-10 times before I see the error again). It is however always the second log that fails.
The bufferFile does not cut away {"@ as shown below:

Not sure why this happens, and especially why this only happens sometimes?
Currently running with ElasticSearch 5.2.1 and Kibana 5.2.1.
The nuget package I use is Serilog.Sinks.Elasticsearch version 5.0.0 (depend on serilog version 2.2.1)

This sounds like https://github.com/serilog/serilog-sinks-seq/issues/28 - caused by HttpLogShipper expecting the (three-byte) Unicode BOM, but more recent versions of Serilog.Sinks.File (and RollingFile) defaulting to no-BOM.

I have now tried to upgrade Serilog.Sinks.File to version 3.2.0, but the behavior is still the same. (Even though, the original dep. was => 3.0.1, and therefore still newer than the mentioned in the link you provided).

If the issue is the linked one, a fix will be required in this repository.
The fix is: https://github.com/serilog/serilog-sinks-seq/commit/6c0b308efab7aba2062f00b1b83d3749e6d43bfb
If anyone can PR this I can help with review etc.
Cheers,
Nick


Add a default value for disable-mea-culpa-retries

Lgtm though agree on integration comment

Added a test: also, currently submit_time can be nil, but the schema didn't allow it (which would cause the same error in prod)
I made the schema more inclusive, let me know what you think.