text:
How can I test JMS with volume request in Azure WebLogic Cluster environment ?

How can I test JMS with volume request in Azure WebLogic Cluster environment?
The result should be visible in Azure WebLogic report console with request count and time sequence.
for example :
https://medium.com/wlsdmforweblogic/oracle-weblogic-jms-overview-and-monitoring-jms-servers-messages-queues-by-using-wlsdm-ec02b3158159

Issue reported:
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
Make sure dependent wlthint3client.jar and webloic.jar libraries are in  classpath for JMeter.

Related lib was put in the JMeter lib folder.

Hello @Lighter100 ,
With the help of Reza, we finally resolved the Jmeter T3 connection issue.
Root cause is that the older weblogic client library uses iiop to connect the server.
We should use the latest weblogic client lib (you can get it from weblogic 14c installation directory $ORACLE_HOME/wlserver/server/lib/ wlthint3client.jar).
Please follow the steps to fix the error.
1. Enable T3 access to managed server
Currently, the WebLogic cluster that deployed from Azure Oracle WebLogic Server Cluster application does not allow T3 access to managed server, see issue #314
Workaround to enable T3 access to managed servers:
-  Open to admin console portal
-   Click Lock&Edit
-   Go to Servers -> msp1
-   Remove value of Listen Address, keep it empty
-   Save and activate changes
-   Restart managed server msp1:
-   Shutdown server: Servers -> Control -> msp1 -> Shutdown
-   Start server: Servers -> Control -> msp1 -> Start
-   Apply the same changes to other managed servers

Create JMS server and JMS modules
2.1. Create JMS server, specifying the following properties.
Target: msp1
2.2. Create JMS module
Name: MyJMSModule
Scope: Global
Target: msp1
Would you like to add resources to this JMS system module? Yes.
2.3. Create resources for MyJMSModule
Connection Factory
Name: MyConnectionFactory
JNDI Name: weblogic.examples.jms.QueueConnectionFactory
Distributed Queue
Name: MyDistination
JNDI Name: weblogic.examples.jms.exampleQueue

Use latest wlthint3client.jar
Close Jmeter.
Clean all weblogic lib that you have added to the Jmeter lib folder. If you do not remember which jar to remove, please install a clean Jmeter.
Download and unzip wlthint3client.jar, put it to Jmeter lib folder, for example: C:\temp\apache-jmeter-5.4.1\lib

4 Start Jmeter

Create JMS Publisher
Initial Context Factory: weblogic.jndi.WLInitialContextFactory
Provider URL: your-t3-string-t3://13.92.229.223:8001
Use Authenrization: Yes, input User/Password
Connection Factory: weblogic.examples.jms.QueueConnectionFactory
Destination: weblogic.examples.jms.exampleQueue

Create JMS Subscriber
Initial Context Factory: weblogic.jndi.WLInitialContextFactory
Provider URL: your-t3-string-t3://13.92.229.223:8001
Use Authenrization: Yes, input User/Password
Connection Factory: weblogic.examples.jms.QueueConnectionFactory
Destination: weblogic.examples.jms.exampleQueue

Run test
You should find successful log like:

More
You can also test the JMS server with Jmeter JMS Point to Point Sampler, set value as following:
Initial Context Factory: weblogic.jndi.WLInitialContextFactory
Provider URL: your-t3-string-t3://13.92.229.223:8001
QueueConnectionFactory: weblogic.examples.jms.QueueConnectionFactory
JNDI name Request queue: weblogic.examples.jms.exampleQueue
JNDI name Revive queue: weblogic.examples.jms.exampleQueue

Thanks a lot , it works~

authors: Lighter100 galiacheng sanjaymantoor

repo: wls-eng/arm-oraclelinux-wls


text:
vite_ssr_import_0.NextAuthHandler is not a function

to reproduce:

npm update
npm run dev

09 h 43 min 56 s [vite] Internal server error: __vite_ssr_import_0__.NextAuthHandler is not a function
      at getServerSession (/src/server/auth/auth.ts:83:45)
      at eval (/src/server/auth/withSession.ts:7:31)
      at async eval (/src/utils/endpointBuilder.ts:5:42)
      at async next (/home/bbigras/src/qwik-next-auth-example/node_modules/@builder.io/qwik-city/vite/index.cjs:26808:33)
      at async loadUserResponse (/home/bbigras/src/qwik-next-auth-example/node_modules/@builder.io/qwik-city/vite/index.cjs:26821:3)
      at async /home/bbigras/src/qwik-next-auth-example/node_modules/@builder.io/qwik-city/vite/index.cjs:27192:32 (x3)

Hello. I updated dependencies to the latest here https://github.com/wmalarski/qwik-authjs-example/pull/5. I switched from next-auth to new auth.js. This example should work fine for dev and preview modes. But there are still some issues with running the express adaptor.  I don't know what's happening there yet.

here are still some issues with running the express adaptor. I don't know what's happening there yet.

If you mean this error:
TypeError [ERR_INVALID_STATE]: Invalid state: WritableStream is closed
It seems that updating qwik and qwik-city fixes it!
diff --git a/package.json b/package.json
index 578600a..5202e14 100644
--- a/package.json
+++ b/package.json
@@ -23,8 +23,8 @@
     "qwik": "qwik"
   },
   "devDependencies": {
-    "@builder.io/qwik": "0.16.2",
-    "@builder.io/qwik-city": "0.1.0-beta9",
+    "@builder.io/qwik": "0.17.5",
+    "@builder.io/qwik-city": "0.1.0",
     "@types/compression": "^1.7.2",
     "@types/cookie": "^0.5.1",
     "@types/eslint": "8.4.10",

source: gharchive/issue

authors: bbigras wmalarski

repo: wmalarski/qwik-authjs-example

license: MIT

license_type: permissive

license_source: github-api


text:
docs: style referenced tokens

Create UX-desired style for referenced tokens in TokenTable.
Unfortunately the specification only happened in chat.
Also replace the "primary value" information and custom style with a
dash because that apparently is more clear.
Bug: T256024

Snarky commit message :D

Not my brightest moment.

source: gharchive/pull-request

repo: wmde/wikit


text:
What's the meaning from 0x04b0 to 0x053e?

I just received my bt820 and successfully put the dongle into HID mode. But I still can't get the paired keyboard connect via HID proxy mode. I then used PSTool to see what each address means but found nothing from 0x04b0 to 0x053e. Can anyone give an explaination on these addresses?

Does https://github.com/wmertens/textblade-dongler/blob/master/doc/virgin-dongle-output.txt help? It's been three years, I'm not sure what's what any more :)

Nope, there's still no explanation in it...
On Tue, Nov 26, 2019, 05:37 Wout Mertens notifications@github.com wrote:

Does
https://github.com/wmertens/textblade-dongler/blob/master/doc/virgin-dongle-output.txt
help? It's been three years, I'm not sure what's what any more :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wmertens/textblade-dongler/issues/7?email_source=notifications&email_token=ACQGQJQFMP3BWRASADKUOMDQVRAPZA5CNFSM4JRONQGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFD4GHQ#issuecomment-558351134,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQGQJWMHXX3EDE5PL2AKG3QVRAPZANCNFSM4JRONQGA
.

@awh-tokyo do you perhaps have this information?

authors: ClassicOldSong wmertens

repo: wmertens/textblade-dongler

license: mit

license_source: bigquery


text:
update pywiscat CLI

Note: this PR is pending https://github.com/wmo-im/pywiscat/pull/11 and a new pywiscat (0.2.0) release.

FYI pywiscat 0.2.0 now released and this PR is ready for review.


text:
Add nacks for php-calendar.

We already had these in php, but they apply to the subpackage.

Advisories are already in php!

authors: dlorenc pdeslaur

repo: wolfi-dev/advisories


text:
Screen-OCR Documentation Need

Hello?
I've encountered screen-ocr[winrt] and I'm going to try it.
like.. lang=language, psm=6..etc.. used by tesseract..  How do I set the config parameter with screen-ocr??
I want to control parameters that psm, lang... ect.
If the block area is recognized using ocr_reader.read_screen(area),
the string is not output continuously.
Depending on the +/- number value or color of the letter, the order is not continuous and the order is mixed up.
I want to solve this problem.
Like using config parameter in tesseract..
What is the definition of kwargs in create_quality_reader(cls, **kwargs)?
I'd appreciate it if you could show me an example of how to use it.
I'm asking because I can't figure it out even if I look at the example.
thank U.

You can pass any of the following keyword arguments to create_quality_reader:
https://github.com/wolfmanstout/screen-ocr/blob/ef2dcd10ff3df2d8742c7e1c3f839211de2f5fbb/screen_ocr/_screen_ocr.py#L93-L102
https://github.com/wolfmanstout/screen-ocr/blob/ef2dcd10ff3df2d8742c7e1c3f839211de2f5fbb/screen_ocr/_screen_ocr.py#L166-L174
Please note that some of the arguments in the first set only apply to one backend or another. It is unclear from your question whether you plan to use winrt or tesseract -- you will need to choose one or the other, and the former only works on Windows. If you do want to use tesseract, currently there is no way to directly override the config that gets passed to pytesseract, although it wouldn't be too difficult to plumb this through if that's what you need. Here is where the call to pytesseract actually happens:
https://github.com/wolfmanstout/screen-ocr/blob/ef2dcd10ff3df2d8742c7e1c3f839211de2f5fbb/screen_ocr/_tesseract.py#L45-L46

Thank you for your answer.
My questions, It's all about winrt.
In tesseract, whether to treat images as blocks, lines, or columns can be controlled by delivering psm values, but I wonder how it is possible in winrt.
Thank you~

Got it. WinRT has very minimal configuration options: https://learn.microsoft.com/en-us/uwp/api/windows.media.ocr.ocrengine?view=winrt-22621

Thanks for your help.
Then, I don't think it would be easy to extract text from the image block in order. If It use winrt libarary..
But I don't understand why it's not output in order. For example, a table consisting of rows and columns with +/- numbers, winrt printout later some columns are  ahead of other numbers. The same image on the tesseract with block config parameter, it will be printout in order..

I'm assuming you are referring to the ordering in the ScreenContents.as_string function. This is just a convenience function that concatenates in the original order that the OCR library produced:
https://github.com/wolfmanstout/screen-ocr/blob/ef2dcd10ff3df2d8742c7e1c3f839211de2f5fbb/screen_ocr/_screen_ocr.py#L440-L448
If you want to do your own order, you are welcome to check the bounds of the OcrLines and concatenate these however you want, using a separate function.

Thanks. :-)
Very similar to what I want. I'll test it in many ways.

repo: wolfmanstout/screen-ocr


text:
feat: Add support for index in query

Add support for specifying index in QueryQueryBuilder
Mostly copy-pastaed the code for limit

Thanks for your PR! I think I need to dive a bit into the index documentation before moving forward, I don't think the addition will this simple.

authors: Veikkosuhonen woltsu

repo: woltsu/tsynamo


text:
added patato.live to the ring

<3

@dtinth I've added a notable projects section. I'll be adding an about me section sometime soon.

@PathonScript Nice, thanks! Welcome to the webring!

authors: PathonScript dtinth

repo: wonderfulsoftware/webring


text:
Update 15-agent-config.md

Document DOCKER_HOST environment variable as described at https://github.com/woodpecker-ci/woodpecker/pull/763

That's the wrong version I guess. It was added to 0.15

It is used in 0.15

Though it should be added also for next

authors: anbraten inflatador lafriks

repo: woodpecker-ci/woodpecker


text:
Can't parse html tag correctly

can parse
div
  and
pre

foo and foo

It looks inline tag can't be parsed.
coffee> mdast.parse('foo').children[0]
{ type: 'paragraph',
  children:
   [ { type: 'html',
       value: '',
       position: [Object] },
     { type: 'text',
       value: 'foo',
       position: [Object] },
     { type: 'html',
       value: '',
       position: [Object] } ],
  position:
   { start: { line: 1, column: 1 },
     end: { line: 1, column: 11 } } }

It’s a feature, from the time this was marked.
It allows for markdown inside HTML: so hello *world*! will still work
In fact, commonmark does a similar thing (check out the AST tab).
What arroyo trying to accomplish?

I understood what it is.
Then I want to know where open tag and close tag, but it is my own task, not mdast.
Thank you your teaching!

Cool! No problem :)

authors: mizchi wooorm

repo: wooorm/mdast


text:
added a lie about myself

added a lie about myself

Thank you!

authors: rachciav workergnome

repo: workergnome/lies


text:
Newtonsoft.Json.JsonSerializationException: 'Error converting value "validating" to type 'WorkOS.DirectoryState'.

Looks like the .net sdk is missing a few states in the DirectoryState enum
From workos-dotnet
    public enum DirectoryState
    {
        [EnumMember(Value = "linked")]
        Active,

        [EnumMember(Value = "unlinked")]
        Inactive,

        [EnumMember(Value = "invalid_credentials")]
        InvalidCredentials,
    }

From workos-node
 export type DirectoryState =
  | 'active'
  | 'deleting'
  | 'inactive'
  | 'invalid_credentials'
  | 'validating';

Fixed in https://github.com/workos/workos-dotnet/pull/174, thanks again!

authors: PaulAsjes WillyPain

repo: workos/workos-dotnet


text:
Update version to 1.23.1

Description
Update version to 1.23.1
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Codecov Report

Merging #175 (fe8c843) into main (46950f2) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #175   +/-   ##
=======================================
  Coverage   86.30%   86.30%
=======================================
  Files          27       27
  Lines         964      964
=======================================
  Hits          832      832
  Misses        132      132

Impacted Files
Coverage Δ

workos/__about__.py
100.00% <100.00%> (ø)

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

authors: awolfden codecov-commenter

repo: workos/workos-python


text:
Add deps and extra deps for rules_jvm_external.

This also updates rules_jvm_external to 5.2.

This change is

authors: SanjayVas wfa-reviewable


text:
🛑 Download-Server is down

In aa2c780, Download-Server (https://dl.worldofplayers.de/wog/gothic1/sonstiges/GothicFps-108.zip) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Download-Server is back up in ad17fa0 after 9 minutes.

repo: worldofplayers/status


text:
Detailseite wird nicht angezeigt

Ich kann das Issue nicht wieder aufmachen
https://github.com/wort-schule/wort.schule/issues/440
Aber ich vermute, der Fehler hängt daran. (Firefox 127, Chrome Windows 11)

@frankjmueller Entschuldige, funktioniert wieder!

authors: frankjmueller phylor


text:
Non-dagger 1handers showing as upgrades for Assassination spec.

Describe the bug
Non-dagger items showing up as sim upgrades in the drop down when selecting a weapon to replace as Assassination spec in Rogue class.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on 'Any weapon slot, mainhand or offhand'
Scroll down to 'Non-daggers show as upgrades, including maces and axes, etc.'
See error

Expected behavior
Maces axes swords should not show as upgrades for Assassination spec.
Sim Links and Screenshots
Desktop (please complete the following information):

OS: [Windows 10 Enterprise]
Browser [Firefox]
Version [106.0.2 (64-bit)]

Smartphone (please complete the following information):
Additional context

The EP calculation is just an approximation so it doesn't handle this. We have now added filters though, so you can filter out the unwanted weapon types.

Makes sense. Thanks for filter option.

repo: wowsims/wotlk


text:
Arpen total is incorrect for Arms Warrior

Describe the bug
The total displayed for Armor Penetration does not match the sum of individual fields.
To Reproduce
Steps to reproduce the behavior:

Hover the Armor Penetration line of the Stats table.
Compute the sum of individual fields and compare with the total.

Expected behavior
I would expect the total to always match the sum of individual stat fields.
Sim Links and Screenshots

https://wowsims.github.io/wotlk/warrior/#eJztk0FoE0EUhve9xHSzBDLNQcZISlw8BKEwO2uQXtxJT3oQmhyEiiBFKoIeShCqPaXRYvGiJ4kBkXoQQcFTxAqCpEIRmxBY8eBJKsZISw3alEhFOrvTo4Kl8eYPO7N8s+//H8sbI6IjwwnoAjYQh/Uk3gJ4CBDT4p09RQiNXBy7Mp7XAyQcr4IRJYstpF8SZujpAj6ZRyNIasWAESEbP5B+SJiBimRR0viM9I1uhuQXdQli5NN3pN2EGV6ax4piUfJWspkBM6SYBK+kdUda1xUIk0ITzcCDpne2Kf2/qjMvto+8+Ih0c6/Mf/7L6+Lbureutb11xa943ERakxXSSiYYmjx4tI6mdh87aLxE7b92pRjbacVUUAeK+WPGMAE5Y0nIKH5UHPf3QkZkFRkVo+plSEzAZSgAzAKUAOZA4cMijhRuQMpmnMvH4rZtM4ulGePM4tyyuW3xtDVos/QgZ7a9DFS/5yIpu0hLLiavu5i65iK76mILwm3AMmhV1N6DVkbNLAXCqqGTol8FHhT7ync8vXaGFGk4B875eufwFk5FRsYunT0/OZ6/kOTpZO7QP56v9rToic/swq58xOT+TE/6+I38/1y4vSy2E1qOnIGcf3VzzwZmVrIo1N51ehvcdtbO1PuPLPaJ2pKnn85q1gvqbOcExUbq9M1qp/3H3BMVOrdavNvjvnqnGPMnt5kSf1txaseXfQvP/bEb
Desktop (please complete the following information):

OS: openSUSE Leap 15.4 (Linux/x86_64).
Browser: Firefox 115.1.0esr (64 bits)

Additional context
I refreshed the page and even restarted the browser but it did not help. I also tried loading the exported link into a different browser [Chromium 116.0.5845.110 (openSUSE Build) stable (64 bits)] but that didn't help.
I only see this issue for my warrior. My feral druid and rogue aren't affected.

The Gear line looks good to me, it does match the sum of Armor Penetration rating from my gear and gems. The incorrect value is the Total.

The total is correct but the ui is a bit unclear: You are gaining 16% arp from Battle Stance + your set bonus, but that isn't showing up in any individual field. If you go to settings and change the stance to Berserker Stance, you'll lose the 16% arp and return to just the total of your gear.

Thanks! I totally missed that Battle stance was increasing Armor Penetration in the first place. This explains why I hit the arpen soft cap earlier than I expected.
Either a new line should be added for the Stance in the stats recap, or the bonus from the stance should be included on every individual line. This latter option may cause rounding errors, so I think a separate line would be preferable (and more in line with how it is implemented in the game, presumably).
The same will have to be implemented for Melee Crit in Berserker stance.

authors: jdelvare where-fore


text:
Crash Report 1686012839

Link:
https://wowsims.github.io/wotlk/deathknight/#eJztU01oE1EQ3pndbjaLNc+QwxraEhcPoafFkx7krYLosbaXIh7sweLBQ/Vk6yWIkZYIepCa5mhFchDxEmnQQGm8BJTmkLSgHrRF2CLamBoMxb/Z99ZjadTqyYFvd2befN/M2/fWtA1k6OA5GIMUQB7gIcA8QBXAA2gDVhGPsgQ64MIw1UyKmqgSv6ZfAX3g/Mj42YsGMDNeBzPCvE201npt/VEZC0U0wyx/XbXVRXJ3seZN1Xrda6sFEbUyqvWZovsVJN4HWmsTj9aWvqPZzVZpOd1naytFVEzGNii81WOHSKngZyLsSUa1wyUR+oIR9pEk1qWETCwSZ7rH1mURzZL2ZykJ91UucDX2eEqlp9f0h7q3gVY+LkdUKFv8hHbEQKf7IAxow9olf/d3sIXmPCr/7Y8s6vwqY0IzwMJNGDGPZekYYL+JRpgABCSoBJ3QRQgRNMJug67tCbggFRp8XLwny24VMG7t+ZlOQL/iwJGgkbsCljFdQ3a7htb7t5jI1jCZraMzU0cPtAaEcqAsoPIClBwqdkYNC1pq1A0EY+7e3IxvFX5IZqp836iwJX7gJSaGrK7+v3yFklPuTsikKk+30RnakT6/Y/Lbltbd4ODa/AwMip+z3EqevrEQdpdnxw6by6u8U0V5amtc8utb8Bp8ri/97uTcNz4oHI9L3ld+12836/HYg+NvJmLNLfteFgVXO57rX1vUef7MN8OVO/qy7aSngt+50fGefgAx4cDm
RNG Seed: 0
runtime error: invalid memory address or nil pointer dereference
Stack Trace:
goroutine 6 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.21.1/x64/src/runtime/debug/stack.go:24 +0x6
main.computeStats.func1()
/home/runner/work/wotlk/wotlk/sim/wasm/main.go:49 +0x10
panic({0x11b6e0, 0x17598b0})
/opt/hostedtoolcache/go/1.21.1/x64/src/runtime/panic.go:914 +0x2c
github.com/wowsims/wotlk/sim/deathknight/dps.(*DpsDeathknight).SetupRotations(0x30e9e40)
/home/runner/work/wotlk/wotlk/sim/deathknight/dps/dps_deathknight.go:195 +0xac
github.com/wowsims/wotlk/sim/deathknight/dps.(*DpsDeathknight).Initialize(0x30e9e40)
/home/runner/work/wotlk/wotlk/sim/deathknight/dps/dps_deathknight.go:210 +0x1a
github.com/wowsims/wotlk/sim/core.(*Environment).initialize(0x294d560, 0x2b79b80, 0x2b519d0)
...

fixed with #3925


text:
Missing items: [ITEMS]Deathfrost Boots, leggings of woven death

Links to WOTLK Wowhead for each item:

https://www.wowhead.com/wotlk/item=49890/deathfrost-boots
https://www.wowhead.com/wotlk/item=49893/sandals-of-consecration
https://www.wowhead.com/wotlk/item=49892/lightweave-leggings
https://www.wowhead.com/wotlk/item=49891/leggings-of-woven-death

these are already in

authors: jarveson urzafyffe


text:
Check if class exists

Isn't it a good idea to check if the class exists?
I didn't get any errors until now but I ended up getting to this ticket for example:
https://wordpress.org/support/topic/wpconfigtransformer-class-redeclaration-fatal-error/
And I thought it could be a good idea to check if the class exists in order to prevent possible errors.
Amazing work!
See you

We're using autoloading via Composer throughout WP-CLI and this library, so there's no need for class_exists() checks.
However, I've just read through that support ticket you've linked, and it seems that both Duplicator and this library fail to use either a namespace or a proper prefix.
While this is worse for a plugin than it is for WP-CLI, I'll look at namespacing our library in a major version bump from our side anyway.
I'll close this PR, as I don't think the class_exist() check does much. It will just move from the redeclaration fatal to a different fatal when it is actually needed, as the actual implementation of both classes is different. So one of them will break either way, even with the checks.
But I'll open a new issue to namespace the library here in a future update.
Thanks anyway for your effort, it is much appreciated, even though the PR is not merged!

No problem :)
Ok, namespacing seems like a good idea

authors: pablo-sg-pacheco schlessera

repo: wp-cli/wp-config-transformer


text:
Fixed #109

I have no idea what the change does, but if fixes #109...

Thanks! The list is a list of keys to search for translations in. The keys are keys in objects generated by the php-parser module.

authors: marekdedic rasmusbe

repo: wp-pot/wp-pot


text:
Barcode scanning crashes on first use after permission popup

Barcode scanner for QR code cannot be used when the camera permission was granted right before. App needs to be killed, until the QR scanning works again.

https://github.com/Redth/ZXing.Net.Mobile/issues/741#issuecomment-406638487
That workaround could fix this bug. I will take a look at this later today / tomorrow.

fixed for android. if it is a problem in iOS too, please reopen.

authors: danielsteiner robo-w

repo: wrk-fmd/CoCeMoCl


text:
Update version for 0.3.0 release

Update version for 0.3.0 release

Codecov Report

Merging #522 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #522   +/-   ##
=======================================
  Coverage   64.45%   64.45%
=======================================
  Files          34       34
  Lines        1176     1176
  Branches       98       98
=======================================
  Hits          758      758
  Misses        365      365
  Partials       53       53

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 ad8d336...4dc83e5. Read the comment docs.

authors: azinneera codecov-io


text:
APIM GW becomes unresponsive when malformed requests are received with Analytics enabled.

Description
In APIM 4.0.0, the GW becomes unresponsive when requests with context "/" is received, with Choreo Analytics enabled.
In GW logs, following WARN can be seen.
WARN {org.apache.synapse.transport.passthru.ServerWorker} - Server worker thread queued time exceeds the expected max queueing time. Expected max queueing time : 30000ms. Actual queued time : 33664ms, CORRELATION_ID : xxxx
In thread dumps, PassThroughMessageProcessor threads are blocked in AnalyticsMetricsHandler, when going through org.wso2.carbon.apimgt.keymgt.model.impl.SubscriptionDataStoreImpl.getApiByContextAndVersion method, which has a synchronized block.
Steps to Reproduce

In APIM 4.0.0, enable Choreo Analytics.
Send requests with the context "/" in a high frequency (~1000 TPS)
Observe the following WARN in the logs after some time.
WARN {org.apache.synapse.transport.passthru.ServerWorker} - Server worker thread queued time exceeds the expected max queueing time. Expected max queueing time : 30000ms. Actual queued time : 33664ms, CORRELATION_ID : xxxx
Get a thread dump and check the state of PassThroughMessageProcessor threads.

Affected Component
APIM
Version
4.0.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Same issue as https://github.com/wso2/api-manager/issues/2203. This is already resolved.


text:
TM cannot publish events to the broker after the following error of more than 100

Description
Hi All,
Once the following error is observed more than 100(by default there are 100 connections in the connection pool[1]), it is impossible to connect to the broker via JMS publisher.
ERROR - pool-55-thread-1 - JMSConnectionFactory Object AMQConnection:
Host: x.x.x.x
Port: 5672
Virtual Host: carbon
Client ID: clientid
Active session count: 0 has been closed
javax.jms.IllegalStateException: Object AMQConnection:
Host: x.x.x.x
Port: 5672
Virtual Host: carbon
Client ID: clientid
Active session count: 0 has been closed
	at org.wso2.andes.client.Closeable.checkNotClosed(Closeable.java:75) ~[andes_3.3.29.2.jar:?]
	at org.wso2.andes.client.AMQConnection.createSession(AMQConnection.java:715) ~[andes_3.3.29.2.jar:?]
	at org.wso2.andes.client.AMQConnection.createSession(AMQConnection.java:707) ~[andes_3.3.29.2.jar:?]
	at org.wso2.andes.client.AMQConnection.createSession(AMQConnection.java:701) ~[andes_3.3.29.2.jar:?]
	at org.wso2.andes.client.AMQConnection.createSession(AMQConnection.java:86) ~[andes_3.3.29.2.jar:?]
	at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSUtils.createSession(JMSUtils.java:438) ~[org.wso2.carbon.event.output.adapter.jms_5.2.57.jar:?]
	at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory$PoolableJMSConnectionFactory.makeObject(JMSConnectionFactory.java:358) [org.wso2.carbon.event.output.adapter.jms_5.2.57.jar:?]
	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181) [commons-pool_1.5.6.wso2v1.jar:?]
	at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory.getConnectionFromPool(JMSConnectionFactory.java:286) [org.wso2.carbon.event.output.adapter.jms_5.2.57.jar:?]
	at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSMessageSender.send(JMSMessageSender.java:88) [org.wso2.carbon.event.output.adapter.jms_5.2.57.jar:?]
	at org.wso2.carbon.event.output.adapter.jms.JMSEventAdapter$JMSSender.run(JMSEventAdapter.java:284) [org.wso2.carbon.event.output.adapter.jms_5.2.57.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Regards,
Janitha
[1]https://github.com/wso2/carbon-analytics-common/blob/639d15457f4024b7abc0511a0ba8e1eed646ca79/components/event-publisher/event-output-adapters/org.wso2.carbon.event.output.adapter.jms/src/main/java/org/wso2/carbon/event/output/adapter/jms/internal/util/JMSConnectionFactory.java#L110
Steps to Reproduce
Thrown the same error as above by patching the Andes code
Affected Component
APIM
Version
3.2.1.11
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

This is fixed through https://github.com/wso2/carbon-analytics-common/pull/846


text:
Synchronise the getTenant method.

Purpose
This PR adds synchronisation for getTenant method.
Fixes https://github.com/wso2/product-apim/issues/4959
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: IsuraD:white_check_mark: pamodaaw:white_check_mark: DimalChandrasiri:white_check_mark: tharindu-bandara:white_check_mark: menakaj:x: wso2-jenkins-botYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant menakaj


text:
Error in building publisher Jaggery app.

Hi team, I have customizing the publisher jaggery app, but when try to build the app using npm build command, i am getting below error.
ERROR in ./source/src/app/components/Apis/Details/NewOverview/MetaData.jsx
2020-12-10T05:25:40.3559920Z Module not found: Error: Can't resolve 'AppData/stringFormatter' in '/__w/1/s/publisher-UI/src/publisher/source/src/app/components/Apis/Details/NewOverview'
2020-12-10T05:25:40.3561138Z  @ ./source/src/app/components/Apis/Details/NewOverview/MetaData.jsx 35:0-64 84:66-87 211:5-26 247:5-26
2020-12-10T05:25:40.3561752Z  @ ./source/src/app/components/Apis/Details/NewOverview/Overview.jsx
2020-12-10T05:25:40.3562474Z  @ ./source/src/app/components/Apis/Details/index.jsx
2020-12-10T05:25:40.3562812Z  @ ./source/src/app/components/Apis/Apis.jsx
2020-12-10T05:25:40.3563123Z  @ ./source/src/app/ProtectedApp.jsx
2020-12-10T05:25:40.3563415Z  @ ./source/src/Publisher.jsx
2020-12-10T05:25:40.3563900Z  @ ./source/index.jsx

You need to make sure that the stringFormatter.(js|jsx) file is located in the /publisher/source/app/data/ folder.
Or update the webpack config to add an alias like OverrideAppData and link it to the /publisher/override/.../data directory and use that in the file.

You need to make sure that the stringFormatter.(js|jsx) file is located in the /publisher/source/app/data/ folder.
Or update the webpack config to add an alias like OverrideAppData and link it to the /publisher/override/.../data directory and use that in the file.

Closing Since the issue has been stale for a long time.


text:
Configuring OAuth/OpenID Connect via SOAP API does not save the grantTypes

The SOAPAction "registerOAuthApplicationData" against the OAuthAdminService does not save the grantTypes.
Steps to Reproduce:
# Download
wget https://github.com/wso2/product-is/releases/download/v5.3.0-rc3/wso2is-5.3.0-rc3.zip
# Unzip
unzip wso2is-5.3.0-rc3.zip
cd wso2is-5.3.0
# Start
bin/wso2server.sh
# Switch Console---
# Register the OAuthApplication
curl -k -X POST -H "Content-Type: text/xml" -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "SOAPAction: registerOAuthApplicationData" --data "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\" xmlns:xsd1=\"http://dto.oauth.identity.carbon.wso2.org/xsd\"><soapenv:Header/><soapenv:Body><xsd:registerOAuthApplicationData><xsd:application><xsd1:OAuthVersion>Oauth-2.0</xsd1:OAuthVersion><xsd1:applicationName>TestApp</xsd1:applicationName><xsd1:callbackUrl>http://localhost:8080/essTournamentSystem/auth</xsd1:callbackUrl><xsd1:grantTypes>refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer implicit password iwa:ntlm client_credentials authorization_code </xsd1:grantTypes></xsd:application></xsd:registerOAuthApplicationData></soapenv:Body></soapenv:Envelope>" https://localhost:9443/services/OAuthAdminService
# Get the OAuthApplication
curl -k -X POST -H "Content-Type: text/xml" -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "SOAPAction: getOAuthApplicationDataByAppName" --data "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\"><soapenv:Header/><soapenv:Body><xsd:getOAuthApplicationDataByAppName><xsd:appName>TestApp</xsd:appName></xsd:getOAuthApplicationDataByAppName></soapenv:Body></soapenv:Envelope>" https://localhost:9443/services/OAuthAdminService > getOAuthApplicationDataByAppNameResponse.xml
# View the Rsponse:
vi getOAuthApplicationDataByAppNameResponse.xml

See Documentation: https://docs.wso2.com/display/IS530/Service+Provider+Configurations+used+with+APIs#ServiceProviderConfigurationsusedwithAPIs-ConfiguringOAuth/OpenIDConnect

I can confirm i have the same issue. Also, after registering the oauth application data, editing the oauth/openid configuration from the identity server management portal doesn't display the usual options.

The provided screen-cast is not accessible. I could check the functionality using a 5.3.0 GA pack and it worked fine. If you are creating the OAuth service provider via SOAP services, in order to have it properly populated in UI, there are few steps to follow as described at [1]. Just calling the 'registerOAuthApplicationData' method in OAuthAdminService does not populate all the details required by the UI.
[1] - http://blog.lasindu.com/2014/12/wso2-identity-server-provision-service.html

@Pushpalanka Thank you for your answer. I haven't described fully the flow that i am following, but it should be correct. In either case, the grant types are not saved anywhere.
I have been following the following flow:
1)Create Service Provider via the ApplicationManagementService createApplication method.
2)Create the OAuth application via the OauthAdminService
3)Update the Service Provider configuration via the updateApplication method of the ApplicationManagementService with the newly created Oauth application
This results in what i described in my previous comment. By using the SOAP service i can get all the relevant information correctly(except grant types which do not persist) but trying to access the OAuth2/OpenIDConnect configuration via the UI results in what appears on the screenshot.

I've tested the aforementioned scenario on wso2is 5.8.0 pack and I was able to view the grant types via the UI. Please refer [1] to check if you have missed any steps.
[1] https://medium.com/@dewni.matheesha/admin-services-for-service-provider-configurations-in-wso2-identity-server-7530f04d974e

authors: MihStVita Orfen-0 Pushpalanka dewniMW


text:
[Docs] Custom OAuth 2.0 Grant Type - Sample response incorrect

The token_type in the response is set as “mobile” from the sample app[1] and the response token received contains token_type: mobile, but it is shown as ‘token_type: bearer’ in the documentation.
Documentation

Actual Resonse
{
    "access_token": "d9b46507-0300-4a8e-839f-0b856a64c481",
    "refresh_token": "45a82bd4-ef55-4368-bc20-9cbc340308d1",
    "token_type": "mobile",
    "expires_in": 10000
}

[1] https://github.com/wso2/samples-is/blob/master/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/mobile/MobileGrant.java#L102

This is verified to be already fixed: https://github.com/wso2/product-is/issues/19421

authors: Lakshan-Banneheke himeshsiriwardana


text:
Validate scopes against user roles during token generation

We only have role based scope validation in token validation step. If scope validator is configured in the application, validation should happen during token generation as well.

Fixed with https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/919


text:
Page  will be redirected to an empty Sign In page when click on the Confirm button in the respective Account Confirmation

Affected: wso2is-5.10.0-alpha3
Identity app: 0.9.24-SNAPSHOT
Describe the bug
When a user is created by the Self Registration via REST API, and click on the Confirm button in the respective Account Confirmation and it will be redirected to an empty Sign In page.
provided ""properties": [{"key":"callback","value": "https://localhost:9443/authenticationendpoint/login.do"}]}" with REST API
To Reproduce
Steps to reproduce the behavior:

Hit Self Sign-Up REST API-> Register user
curl -X POST -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -d '{"user": {"username": "kim","realm": "PRIMARY", "password": "Password12!","claims": [{"uri": "http://wso2.org/claims/givenname","value": "kim" },{"uri": "http://wso2.org/claims/emailaddress","value": "kim.anderson@gmail.com"},{"uri": "http://wso2.org/claims/lastname","value": "Anderson"},{"uri": "http://wso2.org/claims/mobile","value": "+947721584558"} ] },"properties": [{"key":"callback","value": "https://localhost:9443/authenticationendpoint/login.do"}]}' "https://localhost:9443/api/identity/user/v1.0/me"

click on the Confirm button in the respective Account Confirmation

Then it will,  navigate to https://localhost:9443/authenticationendpoint/login.do

Related to https://github.com/wso2/product-is/issues/10504

Ideally, the callback URL should be the client application that the user should be redirected once the confirmation is done. Need to update the document as in #10504.
Ex:
curl -X POST -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -d '{"user": {"username": "kim1","realm": "PRIMARY", "password": "Password12!","claims": [{"uri": "http://wso2.org/claims/givenname","value": "kim" },{"uri": "http://wso2.org/claims/emailaddress","value": "kim.anderson@gmail.com"},{"uri": "http://wso2.org/claims/lastname","value": "Anderson"},{"uri": "http://wso2.org/claims/mobile","value": "+947721584558"} ] },"properties": [{"key":"callback","value": "https://localhost:9443/myaccount"}]}' "https://localhost:9443/api/identity/user/v1.0/me"

authors: NilukaSripalim NipuniBhagya ayshsandu


text:
Bump product kernel version to 4.7.0-beta5

$Subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2519443273

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2519443273
Status: success

authors: AnuradhaSK jenkins-is-staging


text:
Fixing names and descriptions in samples

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

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

authors: CLAassistant tgtshanika


text:
implot_demo.jl Time Formatted Axis not working

Time Formatted Axis should behave like this:
https://traineq.org/implot_demo/src/implot_demo.html
(Click generate huge data set).
ImPlot:

But instead we see the following. It "undraws" the rendering as it zooms in.
ImPlot.jl:

One mousewheel roll up to zoom in:

I've seen this bug a while ago, and I'm not sure if it is related to Julia wrapper.
Maybe it is from C library?

I've definitely seen this happen before with simple line plots. I can't recall what the solution was off the top of my head, but my first guess is there's an off by one offset/count error that isn't segfaulting.

authors: jhgorse sairus7 wsphillips


text:
Sticker inside a ScrollView

Is there a way to put the sticker inside the scroll view. Right now, it doesn't show up when inside a scroll view.

+1，Can you solve it?

repo: wuapnjie/StickerView


text:
Loading pre-trained models..

Hi,
Thanks for sharing your fantastic work!
I'm trying to test your code, but faced an error when I loaded your pre-trained models.
After reading the previous issues regarding the access of your pre-trained models, I downloaded 'realismCNN_all_iter3.npz' files
on https://drive.google.com/drive/folders/0Bybnpq8dvwudVjBHNWNHUmVSV28?resourcekey=0-PIycD56YyYthmbURb4VKMg&usp=sharing

Is realismCNN_all_iter3.npz correct file?
If so, is it supervised one or unsupervised one?
Actually I'm facing an error message as below, at line 66, 'serializers.load_npz(args.g_path, G)'
** KeyError: 'encoder/0/W is not a file in the archive'

If it's incorrect file, could you share the correct files again?

Thanks in advance!

It's the wrong model, please see here.

It works, thanks a lot!

authors: mshinp wuhuikai

repo: wuhuikai/GP-GAN


text:
(perl) StaticText generates wrong code if wrapping

widgets/static_text/perl_codegen.py generates:
my $label_3 = Wx::StaticText->new($self, ... )

When the 'wrap' attribute is used, this line is followed by
my $label_3->Wrap(...);

This creates a new variable, shadowing the previous $label_3, with an initial undefined value, leading to a crash
Can't call method "Wrap" on an undefined value

A workaround is to check 'Store as attribute' which forces the object name to become $self->{label_3}.
I'm not sure what would be the correct fix... Enforce store_as_attr when Wrap is checked? Or
*** widgets/static_text/perl_codegen.py~        2021-12-09 00:26:29.717772891 +0100
--- widgets/static_text/perl_codegen.py 2024-09-04 11:38:21.255087408 +0200
***************
*** 15,21 ****
      def get_more_properties_code(self, obj):
          ret = []
          if obj.wrap>0:
!             ret.append( '%s->Wrap(%d);\n'%(self.tmpl_dict['name'], obj.wrap) )
          return ret

--- 15,24 ----
      def get_more_properties_code(self, obj):
          ret = []
          if obj.wrap>0:
!             name = self.tmpl_dict['name']
!             if not self.tmpl_dict['store_as_attr']:
!                 name = name[3:] # strip 'my'
!             ret.append( '%s->Wrap(%d);\n'%(name, obj.wrap) )
          return ret

Thanks for reporting. I should have used self.format_widget_access(obj) instead of self.tmpl_dict['name'].
It's fixed now in the repository.

authors: DietmarSchwertberger sciurius

repo: wxGlade/wxGlade


text:
Null value is evaluated as Empty Object when used inside #each -> #if blocks.

Handlebars is evaluating null value as Object when used inside #each and then inside #if block
ref: https://jsfiddle.net/aniltallam/6oawbvL1/10/

Closing due to inactivity, please add a comment if you still need this.

authors: aniltallam nknapp


text:
Hello

/assign

/close

repo: wzshiming/gh-ci-bot


text:
左侧菜单宽度无法自定义设置

导致容易出现滚动条，可以考虑做成自适应宽度的，然后可以通过鼠标来调整宽度，当然还得提供配置项给开发者设置。

可通过 NavigationWidth属性进行设置，其他功能要求暂时不计划支持，还有很多基础功能没有

authors: caopengfei wzxinchen

repo: wzxinchen/BlazAdmin


text:
Endpoints of the UBKG API return empty responses when called with v3 UBKG neo4j

The new version of the UBKG neo4j  (v3 architecture) is currently not compatible with endpoints of of the UBKG API.
We recently deployed a HuBMAP/Sennet instance of UBKG to the DEV environment. @yuanzhou noticed that the following endpoints return empty arrays:

https://ontology-api.dev.hubmapconsortium.org/assaytype?application_context=HUBMAP
https://ontology-api.dev.hubmapconsortium.org/organs/by-code?application_context=HUBMAP

We have backed out the deployment to DEV.
I will review the code behind the endpoints. The solution could be as simple as revising the Cypher code that the endpoints use.

Backed out the previous CSVs (the current PROD too) https://g-24f5cc.09193a.5898.dn.glob.us/projects/data-distillery/Validated/Distribution/HMSN12July2023.zip on DEV and the two calls are returning non-empty results now.
This confirms the new CSVs caused such compatibility issue.

For validation purpose if not already one of the checkpoints: ingest-ui New Dataset -> Data Type dropdown menu calls the ubkg-api to fetch all the assay types. If the call (https://ontology-api.dev.hubmapconsortium.org/assaytype?application_context=HUBMAP) doesn't return desired results, we'll see an empty list:

Plan for resolution
@shirey

Wait until after UBKG-API refactoring is complete.
I will identify potential problems in the Cypher queries behind the endpoints and document them in this issue.
Assign a developer to implement changes to endpoint code.

Separately, once the UBKG is refactored and merged, I will set up a local development instance of the APIs.

Changes needed for hard-coded CodeID references
Statement of problem
A number of endpoints to support HuBMAP and SenNet are anchored in the UBKG via hard-coded references to specific codes: for example, the dataset endpoint starts by searching for all codes with a relationship to  the code with CodeID HUBMAP C004001. The change of format means that the hard-coded references also have to change.
Changes
File: neo4j_manager.py
Line numbers based on current main branch.
__subquery_data_type_info
Line 726
qry = qry + 'WHERE cParent.CodeID=\'' + sab + ' C004001\' '
changes to
``qry = qry + 'WHERE cParent.CodeID='' + sab + ':C004001' '
###get_organ_types

Line 994
 "WHERE cParent.CodeID='SENNET C000008' " \
changes to
"WHERE cParent.CodeID='SENNET:C000008' " \

Line 1006
 "RETURN DISTINCT CASE pOrgan.CUI WHEN 'C1123023' THEN 'UBERON 0002097' ELSE cOrgan.CodeID END AS OrganUBERON " \
changes to
"RETURN DISTINCT CASE pOrgan.CUI WHEN 'C1123023' THEN 'UBERON:0002097' ELSE cOrgan.CodeID END AS OrganUBERON " \

Dependency on https://github.com/x-atlas-consortia/hs-ontology-api/issues/14

authors: AlanSimmons yuanzhou

repo: x-atlas-consortia/ubkg-api


text:
源码引入了不存在的类型 VxeTablePrivateRef

可复现的链接：
https://github.com/x-extends/vxe-table/blob/44d3cd513c220fd53054380171f79e7c4d7a38c1/packages/table/src/table.ts#L21
问题描述与截图：
以下源码中倒入了一个不存在的类型 VxeTablePrivateRef
https://github.com/x-extends/vxe-table/blob/44d3cd513c220fd53054380171f79e7c4d7a38c1/packages/table/src/table.ts#L21

期望的结果：
No response
操作系统：
--
浏览器版本：
--
vue 版本：
--
vxe-table 版本：
--

原因是在 vxe-pc-ui 这个 commit 中对其重命名为 VxeTableDataRow
https://github.com/x-extends/vxe-pc-ui/commit/c7c2377a723a92561ef1ae4d6cb1151825cd94f6#diff-0adb5e91b60bf7ff333c530ba7154cc537db6ce7b48a8889deaab0a8ee5a31bd

repo: x-extends/vxe-table


text:
App freezes

Sir app get's freeze I'm on Android 13 don't know why please fix it

Hi, can you please provide more information?
Are you using a rooted or a non rooted device?

Yes in using rooted device

If it's possible may you provide back up with Neo back up

Can you please tell me in which part it freezes?
Have you enabled the module?

Please share a screenshot of the module.

App not starting up

Please share a screenshot of the module.

I am afraid that I can't see the screenshot, as it says it's uploading.

Please note that I have tested it on 3 Rooted Devices, I didn't face this issue.
Can you check if you have gave root access and enabled the module?
If yes can you share the logs from LSPosed etc...

log.zip

Thanks for providing us with the logs, I will check it and get back to you!

Can you please check this one?
https://github.com/ReSo7200/IGexperiments/blob/master/2.4 Test.apk

Additionally, can you check the LSPatch method?

Hi, I just made a test on a rooted android 13, it works just fine.
Please check your side with LSPosed, magisk, etc...

repo: xHookman/IGexperiments


text:
Create a download() method for downloading market data

MarketData.jl provides the function for downloading market data from yahoo and other sources but the primary method MarketData.yahoo() accepts only a single ticker (issue JuliaQuant/MarketData.jl#72). For the download function in TSx, I would want to have something like:
startdate = DateTime(2012, 10, 1)
options = DownloadOptions(src = "yahoo", period1 = startdate, join = JoinBoth)
download(symbols::AbstractVector{String}, options; on="timestamps")::TS

This should join all the tickers together using JoinBoth strategy on timestamps column and return a single TS object.

Join of multiple objects need to be allowed (issue #40) before download can work properly.

I don't think this feature should be a part of TimeFrames. We need to find hard and push it to MarketData.jl

@ajaynshah I think we had decided not to put this function in the package. We need to do a PR to MarketData.jl. Shall we close this issue?

authors: ayushpatnaikgit chiraganand


text:
Mehr Zeitpunkte für Helligkeitssteuerung

Ich fände es praktisch, wenn man in der Helligkeitssteuerung einen etwas flexibleren Zeitplan einstellen könnte und nicht nur zwei Zeiten (morgens und abends) wählbar sein.
Bespiel:
Abends ab 18 Uhr Helligkeit 30 %
ab 21 Uhr 10 %
ab 23 Uhr 1%
Hängt natürlich individuell von den Lichtverhältnissen des jeweiligen Tablet-Standortes ab, aber gerade in den Wintermonaten (wenn es früher dunkel wird) ist das sicherlich auch nochmal eine Einstellung, die man gut gebrauchen könnte.

Ich schau mal wie ich das noch dazu einbauen kann das würde ich dann zu der Manuelle Zeit hinzufügen.

Ich werde die Manuelle Zeit Steuerung um eins erweitern das wird dann so aussehen morgens /   mittags / abends

3 oder mehr Einstellungen z.B. nur für den Abend werde ich nicht einbauen das kann jeder über ein kleines script selbst einstellen dafür ist der manualBrightness state da.

in Version 3.0.0 integriert


text:
设计模式

https://www.adoger.com/Patterns/
《设计模式：可重用的面向对象软件的元素》一书中介绍了23种设计模式。
创建型模式（Creational Patterns）：涉及对象创建的设计模式。
结构型模式（Structural Patterns）：此类别中的设计模式涉及类结构，例如继承和组成。
行为型模式（Behavioral Patterns）：这种类型的设计模式提供了更好的解决方案，以实现对象之间更好的交互，如何提供解耦以及将来轻松扩展的灵活性。
创建型设计模式
  模式名称
  描述

  单例模式（Singleton Pattern）
  该模式限制类的初始化，以确保只有一个类的实例可以被创建。

  工厂模式（Factory Pattern）
  工厂模式承担了从类到工厂类实例化对象的责任。(单维度)

  抽象工厂模式（Abstract Factory Pattern）
  允许我们为工厂类创建工厂。(多维度)

  建造者模式（Builder Pattern）
  逐步创建对象以及最终获取对象实例的方法。

  原型模式（Prototype Pattern）
  从另一个类似的实例创建一个新的对象实例，然后根据我们的要求进行修改。

结构型设计模式
  模式名称
  描述

  适配器模式（Adapter Pattern）
  在两个不相关的实体之间提供接口，以便它们可以一起工作。

  组合模式（Composite Pattern）
  当我们必须实现部分整体的层次结构时使用。例如，由其他零件（例如圆形，正方形，三角形等）制成的图表。

  代理模式（Proxy Pattern）
  为另一个对象提供代理或占位符，以控制对其的访问。

  享元模式（Flyweight Pattern）
  缓存和重用与不可变对象一起使用的对象实例。例如，字符串池。

  外观模式（Facade Pattern）
  在现有接口之上创建包装器接口以帮助客户端应用程序。

  桥接模式（Bridge）
  桥接设计模式用于将接口与实现分离，并从客户端程序隐藏实现细节。

  装饰器模式（Decorator Pattern）
  装饰器设计模式用于在运行时修改对象的功能。

行为型设计模式
  模式名称
  描述

  模板模式（Template Pattern）
  用于创建模板方法存根并将某些实现步骤推迟到子类。

  中介者模式（Mediator Pattern）
  用于在系统中不同对象之间提供集中式通信介质。

  责任链模式（Chain of Responsibility Pattern）
  用于实现软件设计中的松散耦合，其中将来自客户端的请求传递给对象链以对其进行处理。

  观察者模式（Observer Pattern）
  当您对对象的状态感兴趣并希望在发生任何更改时得到通知时很有用。

  策略模式（Strategy Pattern）
  当我们对一个特定任务有多种算法，并且客户端决定在运行时使用的实际实现时，将使用策略模式。

  命令模式（Command Pattern）
  命令模式用于在请求-响应模型中实现丢失耦合。

  状态模式（State Pattern）
  当对象根据其内部状态更改其行为时，将使用状态设计模式。

  访问者模式（Visitor Pattern）
  当我们必须对一组相似类型的对象执行操作时，将使用访问者模式。

  解释器模式（Interpreter Pattern）
  定义一种语言的语法表示形式，并提供解释器来处理这种语法。

  迭代器模式（Iterator Pattern
  用于提供遍历一组对象的标准方法。

  备忘录模式（Memento Pattern）
  当我们要保存对象的状态以便以后可以恢复时，将使用memento设计模式。

灵活理解设计模式，对系统的开发才能得心应手。

repo: xadoger/blog


text:
Multiprocessing with multiple GPUs

Hello.
I have a server with 4 GPU devices.
Is there a way to easily instruct each process to use a distinct GPU ?
I have done something like (assuming the number of processes = the number of GPUs):
def objective(trial, ...):

    # Set device
    process_id = multiprocessing.current_process()._identity[0] - 1
    num_gpus = cp.cuda.runtime.getDeviceCount()
    gpu_device = process_id % num_gpus
    cp.cuda.Device(gpu_device).use()

However, I get an error: cupy_backends.cuda.api.runtime.CUDARuntimeError: cudaErrorInitializationError: initialization error.
Then I tried to add multiprocessing.set_start_method('spawn') at the beginning of my code but I get:
Traceback (most recent call last):
  File "/home/gagoupy/SNN/spikenn/app/hpo-multi.py", line 162, in <module>
    study.optimize(
  File "/home/gagoupy/.local/lib/python3.9/site-packages/optuna_distributed/study.py", line 192, in optimize
    event_loop.run(terminal, timeout, catch)
  File "/home/gagoupy/.local/lib/python3.9/site-packages/optuna_distributed/eventloop.py", line 61, in run
    self.manager.create_futures(self.study, self.objective)
  File "/home/gagoupy/.local/lib/python3.9/site-packages/optuna_distributed/managers/local.py", line 62, in create_futures
    p.start()
  File "/usr/lib/python3.9/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/usr/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/usr/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function <lambda> at 0x7fe188c02670>: attribute lookup <lambda> on __main__ failed

Thanks :)

Hi,
I think this question would be better suited for CuPy maintainers, as optuna-distributed has no control over the code executed within your objective function nor it should be a factor, maybe apart from the fact your objective is running in a forked process.
Guess your best bet is to try running the snippet you provided without multiprocessing first, then in a process created with multiprocessing.Process and looking for answers from there. Unfortunately, I'm not familiar enough with CuPy to help you further. If you find a solution using this toy setup, I'm sure you will be able to just use it in your objective function with distributed.
Also, optuna-distributed works by forking the process, so you shouldn't change the way to start a process.

optuna-distributed has no control over the code executed within your objective function nor it should be a factor

Yeah that's what I thought but I am not familiar at all with multiprocessing.
Alright, thanks for the suggestions !

authors: ggoupy xadrianzetx

repo: xadrianzetx/optuna-distributed


text:
For Reference: Adding Flatpickr Date Range selector to Column Filter with FilterFn

Issue Type (delete the irrelevant ones)

[x] Enhancement Request (not really)

Specs
What version are you using?
2.14.1
What browser?
Chrome
I'm posting this issue only as a reference for other users - hoping to save others some time if they need this use case.
Specifically, I needed to add a custom datepicker to multiple column filters that allowed selection of a date range (which then returned all data that contained a date which fell into the user-selected range).
It took a bit of trial and error, but in the end, it turned out to be fairly simple.
I'm using the most recent version of flatpickr for the datepicker.
I've reproduced the functionality in the below codesandbox. The sandbox doesn't have everything from my enterprise app's table, and it may look a little weird, but it illustrates the implementation of flatpickr to individual column filters, as well as a functional custom filterFn that is successfully parsing and filtering table data per the function's instructions.
In addition to the datepicker functionality, there's a few custom parse functions and other bells and whistles that users might find helpful. The code definitely isn't perfect, but it's really cool to see what this plugin can do with a little tinkering.
Thanks xaksis for the amazing plugin. I've learned the ins and outs of every corner of this plugin over the last few weeks. Without question, it's the best vue table plugin available today.
codesandbox (easier to import npm packages and just better ui/ux imo)
https://codesandbox.io/s/73vpxn13z6

For reference: this is what the completed setup looks like. @xaksis , any chance this capability could be supported natively, or at least referenced in the docs? I'd be happy to add to the documentation.
Thanks,

This is very helpful, thank you. I'm new to Vue, coming from React. Is the ideal scenario that there would be a  we could pass our own filter component into to render instead of the default input?
In addition to a date range picker, we also would want to be able to select from greater than, less than, equals, etc, and pass a number, which implies two inputs.

authors: ericdfields ow-en owensource

repo: xaksis/vue-good-table


text:
My first branch

Asi mismo

Perfecto.


text:
why Xamarin.Firebase.iOS.RemoteConfig has Analitycs as a dependency?

why Xamarin.Firebase.iOS.RemoteConfig force me to install Xamarin.Firebase.iOS.Analytics even if I don't need/use analytics at all?
Android equivalent has not this dependency.

Analytics has been removed in the most recent version. Closing this now.

authors: SotoiGhost rayita

repo: xamarin/GoogleApisForiOSComponents


text:
[Enhancement] Swipe-to-dismiss for notifications

Summary
Hi.
Currently there is no way for a user to prematurely dismiss SnackBar notifications. This is a very important feature as users are conditioned to swipe away lingering notifications, and it's impossible to select a time to display that is long enough for the users to read the contents but short enough that the notification won't become bothersome.
Furthermore, no matter how well the position of the notification has been designed it's bound to obscure some form of UI navigation.
Hence I think that swipe-to-dismiss functionality would be an essential enhancement. If it's hard to implement in the meantime I would be completely fine with a small 'X' button in the upper right corner that users could press, or other such mechanism.
Thank you!

@VladislavAntonyuk would you like to implement it?)

Ok, I will take a look.
At least for Android and iOS.

It's supported on Android out of the box (just open any SnackBar in sample app and swipe left to right on it).

@maxkoshevoi Thank you. Unfortunately the iOS SnackBar/Toast is not dismissible by swipe though :/

Thanks! However, we are no longer adding new features to Xamarin Community Toolkit, focusing on the .NET MAUI Community Toolkit.
Please open a New Feature Discussion to implement this feature in the .NET MAUI Community Toolkit.
I've posted more information about the Future Of Xamarin Community Toolkit here: https://devblogs.microsoft.com/xamarin/the-future-of-xamarin-community-toolkit/?WT.mc_id=mobile-0000-bramin

authors: AndreiMisiukevich Tommigun1980 VladislavAntonyuk brminnick maxkoshevoi

repo: xamarin/XamarinCommunityToolkit


text:
[Bug] MediaElement XCT v2.0.6 not working with UWP

Description
When creating a ContentPage to modally display videos taken in our application the MediaElement does not display the loaded video or controls, only a box with the set background color and width/height for UWP (tested on local machine and various Surface tablets with no luck).  The MediaElement works fine on Android and I have tested with all version of Xamarin Community Toolkit from v1.0.3 through 2.0.6 with various combos of Min Version and Targeting Version without any success.  The only way in which I can get the videos to play on a UWP device is by disabling the 'Compile with .Net native tool chain' in properties and debug but the app certification will not pass without that option enabled.  I have taken the basic implementation from this repo using a static web source and still get the black box, same when setting the source to use our Azure's video stream service.  I have also wired up the MediaOpened, MediaFailed, and MediaEnded but these methods only fire when running on Android and there are no errors reported in the output for UWP.
UI Implementation:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="InfoCap.Views.MediaViewerPageView"
             xmlns:vm="clr-namespace:InfoCap.ViewModels"
             xmlns:toolkit="http://xamarin.com/schemas/2020/toolkit">

    <ContentPage.BindingContext>
        <vm:MediaViewerPageViewModel />
    </ContentPage.BindingContext>

    <ContentPage.Resources>
        <toolkit:InvertedBoolConverter x:Key="InvertedBoolConverter" />
    </ContentPage.Resources>

    <AbsoluteLayout HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
        <Grid Margin="15,50,15,25" AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="SizeProportional">
            <Grid.ColumnDefinitions>
                <ColumnDefinition>
                    <ColumnDefinition.Width>
                        <OnIdiom Phone="15*" Tablet="10*" Desktop="10*"/>
                    </ColumnDefinition.Width>
                </ColumnDefinition>
                <ColumnDefinition>
                    <ColumnDefinition.Width>
                        <OnIdiom Phone="35*" Tablet="40*" Desktop="40*"/>
                    </ColumnDefinition.Width>
                </ColumnDefinition>
                <ColumnDefinition>
                    <ColumnDefinition.Width>
                        <OnIdiom Phone="35*" Tablet="40*" Desktop="40*" />
                    </ColumnDefinition.Width>
                </ColumnDefinition>
                <ColumnDefinition>
                    <ColumnDefinition.Width>
                        <OnIdiom Phone="15*" Tablet="10*" Desktop="10*"/>
                    </ColumnDefinition.Width>
                </ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="350"/>
                <RowDefinition Height="50"/>
            </Grid.RowDefinitions>

            <Label Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Text="{Binding CurrentMedia.Name}" Margin="15,0,15,0" FontSize="Subtitle" />

            <Button TextColor="White" BackgroundColor="{Binding HeaderBackgroundColor}" Grid.Column="0" Grid.Row="1" Text="<" Style="{DynamicResource ButtonStyle}" Clicked="PreviousMedia_Clicked" Margin="5,0,5,0" IsVisible="{Binding IsNavVisible}" CornerRadius="40" HeightRequest="50">
                <Button.FontSize>
                    <OnIdiom Phone="14" Tablet="20" Desktop="20"/>
                </Button.FontSize>
            </Button>
            <toolkit:MediaElement Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="2" IsVisible="{Binding CurrentMedia.IsVideo}" AutoPlay="True" KeepScreenOn="True" WidthRequest="350" HeightRequest="350"
                                  ShowsPlaybackControls="True" BackgroundColor="Black" Margin="0,0,0,25" x:Name="VideoPlayer" Aspect="AspectFit" />
            <Image Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="2" x:Name="photoImage" Aspect="AspectFit" Source="{Binding CurrentMedia.PhotoSource}" WidthRequest="350" IsVisible="{Binding CurrentMedia.IsVideo, Converter={StaticResource InvertedBoolConverter}}" />
            <Button TextColor="White" BackgroundColor="{Binding HeaderBackgroundColor}" Grid.Column="3" Grid.Row="1" Text=">" Style="{DynamicResource ButtonStyle}" Clicked="NextMedia_Clicked" Margin="5,0,5,0" IsVisible="{Binding IsNavVisible}" CornerRadius="40" HeightRequest="50">
                <Button.FontSize>
                    <OnIdiom Phone="14" Tablet="20" Desktop="20"/>
                </Button.FontSize>
            </Button>

            <Button TextColor="White" Style="{DynamicResource ButtonStyle}" BackgroundColor="{Binding HeaderBackgroundColor}" Grid.Column="1" Grid.Row="2"  Text="Delete"   x:Name="btnDelete"  Clicked="BtnDelete_Clicked" CornerRadius="40" HeightRequest="50">
                <Button.FontSize>
                    <OnIdiom Phone="14" Tablet="20" Desktop="20"/>
                </Button.FontSize>
            </Button>
            <Button TextColor="White" Style="{DynamicResource ButtonStyle}" BackgroundColor="{Binding HeaderBackgroundColor}" Grid.Column="2" Grid.Row="2"  Text="Done"     x:Name="btnDone"    Clicked="BtnDone_Clicked"   CornerRadius="40" HeightRequest="50">
                <Button.FontSize>
                    <OnIdiom Phone="14" Tablet="20" Desktop="20"/>
                </Button.FontSize>
            </Button>
        </Grid>

        <!--Spinner-->
        <ActivityIndicator IsRunning="{Binding IsWorking}" Color="{Binding HeaderBackgroundColor}" Scale="3" AbsoluteLayout.LayoutFlags="PositionProportional" AbsoluteLayout.LayoutBounds="0.5,0.5,-1,-1"/>

    </AbsoluteLayout>
</ContentPage>

Relevant code behind:
public MediaViewerPageView(ObservableCollection<UserMedia> userMedia)
        {
            try
            {
                InitializeComponent();
                if (BindingContext is MediaViewerPageViewModel vm)
                {
                    viewModel = vm;
                    viewModel.UserMedia = userMedia;
                    if (viewModel.UserMedia.Count > 0)
                    {
                        viewModel.CurrentMedia = viewModel.UserMedia[_currentIndex];
                    }
                }
            }
            catch (Exception ex)
            {
                TelemetryErrorHandling.TrackException(ex);
            }
        }

protected override void OnAppearing()
        {
            try
            {
                base.OnAppearing();
                if (viewModel.CurrentMedia.IsVideo)
                {
                    TryToDownloadCurrentMedia();
                }
            }
            catch (Exception ex)
            {
                TelemetryErrorHandling.TrackException(ex);
            }
        }

protected async void TryToDownloadCurrentMedia()
        {
            try
            {
                viewModel.IsWorking = true;

                if (viewModel.CurrentMedia.Data == null)
                {
                    InspectionVideo video = await clsWebService.GetVideoBlob(viewModel.CurrentMedia.Name);
                    if (video != null)
                    {
                        viewModel.CurrentMedia.Data = Convert.FromBase64String(video.Base64VideoString);
                    }
                }

                if (viewModel.CurrentMedia.Data != null)
                {
                    Stream videoStream = new MemoryStream(viewModel.CurrentMedia.Data);

                    string videoPath = string.Empty;

                    if (Device.RuntimePlatform == Device.UWP)
                    {
                        videoPath = await App.FileService.SaveVideo("temp.mp4", videoStream);
                    }
                    else if (Device.RuntimePlatform == Device.Android)
                    {
                        videoPath = await DependencyService.Get<IFileService>().SaveVideo("temp.mp4", videoStream);
                    }

                    viewModel.VideoPath = MediaSource.FromFile(videoPath);
                }
                else
                {
                    await DisplayAlert("Could not load video", "Error in downloading the video, it may have been deleted or renamed", "OK");
                    _ = Navigation.PopModalAsync();
                }
            }
            catch (Exception ex)
            {
                TelemetryErrorHandling.TrackException(ex);
            }
            finally
            {
                viewModel.IsWorking = false;
            }
        }

Basic Information

Version with issue: 2.0.6
Last known good version: ???
IDE: Visual Studio Professional 2022
Platform Target Frameworks:

Android: min 5.1, target 12.1
UWP:  min 1809 (build 17763), target 2004 (build 19041)

Nuget Packages: Xamarin.Community.Toolkit
Affected Devices: all UWP devices

Reproduction imagery

The only way in which I can get the videos to play on a UWP device is by disabling the 'Compile with .Net native tool chain' in properties and debug but the app certification will not pass without that option enabled.

I have built a custom renderer package in the past that performed this functionality for UWP/Android.  I was never able to get the native compile option to work, but I was able to build in release without the native compile flag.  I don't think the native compile is required for store, just a little performance hit at load time.
Have you tried release build without the native compile flag?
I can't remember details at this point, but it is possible that some required files are missing in the package for UWP...  there are some non-binary resources needed in the package for UWP that may be the issue here, if you can't build release without native compile flag.

I've been looking at creating a custom renderer and I'm thinking that is the direction to go in.

I assume that's what is being done in here in the Community TK code base as well... So, I'm not sure if there's anything that can be done about the native compile?
The issue is that the .Net MediaElement on UWP is itself a .Net wrapper around a native component, and the native compile fails to pull in that native layer, i think?  My project was for ad-hoc distribution only, so I never had to tackle the native compile problem.
I'd be interested to know if you resolve it.  I'd guess you need to look into UWP forums for help on this (compiling UWP to native with a .Net->native-interop dependency)?  Hopefully someone is still around that knows something about that platform.  Maybe the Windows store has support that could help?
What I can remember without going back and looking at code is that the actual codec/runtime is the same native code that Windows Media player uses and that WPF has a MediaElement that is very similar, though less of the native functionality is exposed.  I think you can only open files, not streams.
One thought I just had is to try to write a pure UWP app (as simple as possible) that has the video player capabilities you need and see if you can get the native compile to work there?
Not sure that helps...

@jasells thanks for the info, I'll dig into the native compile some more and see what I can find but for now my manager thought of a work around and so far so good (using a WebView pointed to a page with an html video player that gets feed an encrypted string so it streams directly from azure).  Kind of crazy we had to resort to this but this was getting to be a major issue for our product.


text:
net6.0-ios migration timeline

Hello,
There are quite a few components that need to net6.0-ios (e.g., Xamarin.SDWebImage) due to breaking changes https://github.com/xamarin/xamarin-macios/issues/13087
Do you have a timeline for this migration?
Thank you,
Cosmin

Same issue here. Would appreciate even a short comment from Microsoft regarding this problem.
I hear voices from Microsoft employees on Twitter and elsewhere asking library devs to upgrade their dependencies to .NET6, yet the Microsoft-provided bindings are still all missing .NET6 support (AppCenter, XamarinComponents etc)

This is really frustrating. I'm stuck and can't upgrade my project because of this issue.
I too need a .net 6/7 compatible Xamarin.SDWebImage in addition to Xamarin.Stripe.iOS.
Can you give us a timeline for the migration? @Redth

Any updates on this one? We want to update to .NET 7 and SDWebImage is an impediment for now

authors: cosminstirbu deyupopp petro2050 tipa

repo: xamarin/XamarinComponents


text:
Does Xamarin.Build.Download nuget has overwrite feature

The download nuget seems have an issue, when the old aar already exist, but the name is different.
Like the old aar name is play-services-base-15.0.1.aar and the task declare like this
    <ItemGroup>
      <XamarinBuildDownload Include="playservices-15.0.1/playservicesbase">
        <Url>https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-base/15.0.1/play-services-base-15.0.1.aar</Url>
        <ToFile>playservicesbase-15.0.1.aar</ToFile>
        <Kind>Uncompressed</Kind>
      </XamarinBuildDownload>
    </ItemGroup>

The download nuget cannot create a new aar named playservicesbase-15.0.1.aar

VS bug #805947

The idea is that if it's already been downloaded we don't want to download it again.  I'm not sure what the use case here is, but since the aar already exists you shouldn't need to redownload it.


text:
Crypto interface design (migrated from very old issue on original repository)

Originally posted by @drbild over a year ago to the original repository.
Though this is significantly out of date, I think the principles are still relevant, and wanted to retain the discussion.

Crypto interface design
This is a brain-dump for now of my thoughts about the crypto interface design. We can refine it into a better description & discussion over time.
Implications of Design Goals for XTT Implementation
No dynamic memory allocation required.
Support arbitrary implementations of the crypto primitives.
Allow asynchronous crypto primitives for non-blocking use of HSMs.
Be as performant (nearly) as a monolithic crypto lib.
These four goals alone pose some interesting incompatibilities. Consider the following possible implementations.
Shared header w/ arbitrary linked implementation
No dynamic memory allocation implies that all struct definitions must be visible to the calling code. The shared header thus implies that all implementations must share the same struct definitions. Of course, the different possible implementations for linking will use different underlying representations for primitives like keys. Thus, the representations must be translated at the interface boundary for every call. And that is not performant.
The translation could be done (at the cost of some cycles) were the data types always representing the same concept, e.g., different representations of an ed25519 key. The interface would define a common serialization format to translate to and from. But consider an implementation backed by an HSM. The private key would not actually be a key, but instead some opaque identifier for the key inside the HSM. Finding a clean, common representation seems difficult.
An alternative is for the interface to take pointers to opaque structs defined by the implementation. But this requires dynamic memory allocation, as those opaque structs would have to be allocated by the linked implementation code, where the full definition is known.
Shared header for functions, implementation-specific header for data types
This approach would solve the static allocation issue. The XTT library would have to be compiled against a specific implementation defining the structs. (The shared header defining the methods would just have forward declarations.)
I'm leaning towards this approach currently. My general feeling is that the crypto implementation should be statically linked to the XTT library anyway (not like openSSL with a shared lib for the crypto). So this keep everything clean.
Polymorphism - the Compile/Runtime, Global/Local matrix
The "arbitrary implementation" design goal is still ill-defined. Should the implementation be chosen at compile time or be configurable at run-time? Should it be common to the whole program or changeable for each XTT "session"?
The two approaches in the prior section are in the (compile-time, global) quadrant of the design space.
Supporting runtime selection or local per-session selection of primitives seems to require either dynamic memory allocation or a shared/translatable representation of the data structures, which are non starters.
Proposed Approach
XTT provides a shared header that forward declares the structs and methods used to access crypto primitives. The user is responsible for compiling XTT against an implementation that defines those structs and methods.
We provide two (or more) reference implementations that delegate to different libraries (say mbedTLS and wolfSSL).
These two implementations are in the (compile-time, global) quadrant above. They are applied globally to all XTT sessions within the program.
Any user is free to provide their own implementation instead if they don't like our chosen point in the design space. Such an implementation could
mix and match from various backends
support linking-based selection of the backend by implementing a translation layer (like the first approach listed above)
support runtime polymorphism at the cost of doing dynamic memory allocation from the library.
The point is that our interface doesn't preclude users from doing something more.
The one concession made to support this flexibility is the method for function dispatch. Rather than access the methods forward declared in the shared header directly by name, they are accessed via a vtable in the XTT context objects.
Implementation
I'll do a mock-up of this approach from the existing crypto lib to see how it looks and feels.

Original comment from over a year ago:

I definitely support the "compile-time/global" quadrant of that decision-space.
If the crypto primitives are a separately-compiled, statically-linked-in library, users are free to mix-and-match implementations of each of the functions, right? E.g. the implementation of aes256-gcm can be from Intel Performance Primitives, chacha20-poly1305 from libsodium, etc. I don't see any use-case for supporting different implementations for a single primitive, though (e.g. two different implementations of aes256-gcm).

Original comment from over a year ago:

I like the shared-header-for-functions/implementation-header-for-structs approach.
So, are you envisioning something like this:
XTT has a header declaring the crypto primitive functions we need:
struct ed25519_pub_key;
struct ed25519_priv_key;
int generate_ed25519_keypair(struct ed25519_pub_key *pub, struct ed25519_priv_key priv);
XTT's implementation files include some kind of preprocessor check for a definition of the struct-implementation header and include that:
/ in context.c /
#ifdef XTT_CRYPTO_STRUCT_HEADER
#include XTT_CRYPTO_STRUCT_HEADER
#else
#include <xtt_default_crypto_struct.h>
#endif
/ somewhere actually create a ed25519 key pair and pass it to generate_ed25519_keypair */
The user (really, us, for libsodium, wolfcrypto, etc) writes the struct-implementation header, which most likely is a bunch of struct wrappings of the actually implementation (they can't just typedef, since we're forward-declaring them in the shared header, right?)
typedef struct ed25519_pub_key { libsodiums_ed25519_pub_key_struct info; } ed25519_pub_key;
Finally, the user creates an implementation for the functions declared in the shared header:
#include <xtt_shared_crypto.h>
#include XTT_CRYPTO_STRUCT_HEADER
#include <sodium.h>
int generate_ed25519_keypair(struct ed25519_pub_key *pub, struct ed25519_priv_key *priv)
{
libsodium_ed25519_keypair(&pub->info, &priv->info);
}

Original comment from over a year ago:

I don't think I quite see the use-case for the dynamic-polymorphism, or understand how that would work. What's the criterion for choosing a particular function pointer for a particular primitive? E.g. why have multiple choices for aes256-gcm?
Supporting this, as you say, requires us to use function pointers, so does that mean the "shared" header would just typedef function pointers, rather than declaring functions? And we provide a setter function for the user to set which functions to use?

Original comment from drbild, from over a year ago:

I'm envisioning something like this. See the bottom file in the post for how the user picks an implementation - it's just one #include.
xtt/crypto/ed25519.h
// Forward declarations that allow the XTT code to pass around
// pointers to these things, without knowing their precise definitions.
struct xtt_ed25519_public_key;
struct xtt_ed25519_private_key;
struct xtt_ed25519_signature;
#define XTT_ED25519_SIGNATURE_BYTES_LEN  = 32;
#define XTT_ED25519_PUBLIC_KEY_BYTES_LEN = 32;
int xtt_ed25519_public_key_init(xtt_ed25519_public_key* public_key);
int xtt_ed25519_public_key_free(xtt_ed25519_public_key* public_key);
int xtt_ed25519_public_key_verify(const struct ed25519_public_key* public_key,
const uint8_t* message, const size_t message_len,
const struct xtt_ed25519_signature* signature);
int xtt_ed25519_public_key_to_bytes(const struct ed25519_public_key* public_key,
uint8_t bytes, const size_t bytes_len);
int xtt_ed25519_public_key_from_bytes(struct ed25519_public_key* public_key,
const uint8_t bytes, const size_t bytes_len);
int xtt_ed25519_private_key_init(xtt_ed25519_private_key* private_key);
int xtt_ed25519_private_key_free(xtt_ed25519_private_key* private_key);
int xtt_ed25519_private_key_sign(const xtt_ed25519_private_key* private_key,
const uint8_t* message, const size_t message_len,
struct xtt_ed25519_signature* signature);
int xtt_ed25519_private_key_get_public_key(const xtt_ed25519_private_key* private_key,
xtt_ed25519_public_key* public_key);
int xtt_ed25519_signature_init(xtt_ed25519_signature* signature);
int xtt_ed25519_signature_free(xtt_ed25519_signature* signature);
int xtt_ed25519_signature_to_bytes(const xtt_ed25519_signature* signature,
uint8_t bytes, size_t bytes_len);
int xtt_ed25519_signature_from_bytes(struct xtt_ed25519_signature* signature,
const uint8_t bytes, const size_t bytes_len);
xtt/crypto/impl/mbedtls.h
#include "mbedtls/ecdsa.h"
#include "xtt/crypto/ed25519.h"
// Put a definition on the forward declaration. A user
// simply #includes this file to pick the mbedTLS implementation.
struct xtt_ed25519_public_key {
mbedtls_ecp_group grp;
mbedtls_ecp_point Q;
};
struct xtt_ed25519_private_key {
mbedtls_ecp_group grp;
mbedtls_mpi d;
mbedtls_ecp_point Q;
};
struct xtt_ed25519_signature {
mbedtls_mpi r;
mbedtls_mpi s;
}
xtt/handshake/context.h
// The xtt code just needs the forward declarations. It only
// refers to pointers to the shared structs, so can be
// compiled without knowing their definitions.
#include "xtt/crypto/ecdsa.h"
struct xtt_handshake_context {
xtt_ed25519_private_key ephemeral_self;
xtt_ed25519_public_key ephemeral_peer;
xtt_ed25519_signature tmp_signature;
}
int xtt_handshake_context_init(xtt_handshake_context* context);
int xtt_handshake_context_free(xtt_handshake_context* context);
int xtt_handshake_context_validate_peer_signature(xtt_handshake_context* context,
const uint8_t* signature, const size_t signature_len,
const uint8_t* message, const size_t message_len);
xtt/handshake/context.c
#include "xtt/handshake/context.h"
int xtt_handshake_context_init(xtt_handshake_context* context)
{
xtt_ecdsa_private_key_init(&context->ephemeral_self);
xtt_ecdsa_public_key_init(&context->ephemeral_peer);
xtt_ecdsa_signature_init(&context->peer_hello_signature);
return 0;
}
int xtt_handshake_context_init(xtt_handshake_context* context)
{
xtt_ecdsa_private_key_free(&context->ephemeral_self);
xtt_ecdsa_public_key_free(&context->ephemeral_peer);
xtt_ecdsa_signature_free(&context->peer_hello_signature);
return 0;
}
int xtt_handshake_context_validate_peer_signature(xtt_handshake_context* context,
const uint8_t* signature, const size_t signature_len,
const uint8_t* message, const size_t message_len)
{
xtt_ecdsa_signature_from_bytes(&context->tmp_signature, signature, signature_len);
return xtt_ecdsa_public_key_verify(&context->ephemeral_peer, message, message_len,
&context->tmp_signature);
}
user/iotdevice.c
#include "xtt/handshake/context.h"
// User chooses the implementation, mbedTLS in this case, via this include.
#include "xtt/crypto/impl/mbedtls.h"
void main()
{
xtt_handshake_context context;
xtt_handshake_context_init(&context);

// do XTT stuff, e.g.:
xtt_handshake_context_validate_peer_signature(context, ...);
// In reality, lower-level stuff like validating signatures will be done in the xtt handshake code, and the call here will be something like xtt_perform_handshake(...).

xtt_handshake_context_free(&context);

}

Original comment from over a year ago

OK, yea, I think this is the same as what I was trying to say. The only difference being that I thought our implementations would have to explicitly include the implementation header (hence the preprocessor checks). But just including it in the top level works better.

Original comment from drbild, from over a year ago:

You must get notification for new comments! I need to figure out how to enable that. Didn't see yours for a while today.
My scheme above doesn't work as is, because the compiler needs to know the definitions when processing context.h to lay out the xtt_handshake_context struct. There should be someway to patch that, since the definitions are only need to calculate offsets in the struct (if context were a struct of pointers, it would work).

Original comment from drbild, from over a year ago:

A few potential ways to fix this:
External getters
Split context.h for internal and external use. Declare externed getters for the internal code to use and give the actual definitions to be #includeed into the application code. This means that the application code can only #include that header once, though.
Function pointer getters
Add function pointers to getters to the context. Requires some fiddling and maybe some boilerplate in the application code to initialize those pointers.
struct xtt_handshake_context {
xtt_ecdsa_public_key* (ephemeral_peer*)();
xtt_ecdsa_signature* (tmp_signature*)();
}
Header only library
Make the xtt handshake code a header-only library. Essentially, we're trying to templatize the xtt handshake code over the crypto primitives. Drawing inspiration from C++ templates, put all that code in headers.
I don't have a strong opinion yet, although the header-only approach seems the least icky so far.

Original comment from drbild, from over a year ago:

Regarding the runtime polymorphism, my use case there was for a server side. Say we add an HSM at some point. During transition, new connections will need to use the HSM, but existing connections won't. Or maybe the HSM becomes an upsell - only some customers have paid the premium to have HSM-backed connections.

Original comment from over a year ago:

Don't know when you'll get this. I need to look into how to turn in notifications, and if that's just for this repo or if I'm silent everywhere!
How would you do header-only in c90, without inline?
I thought the user would include the specific implementation header before any others, in the top level file. That's annoying to have a header ordering dependence, but would work, right?
Also, is there objection to using a preprocessor define like I'd mentioned previously?
Ok, yea, I hadn't thought about the polymorphism from the servers perspective. I'll have to think about that...

Original comment from over a year ago:

Looks like I had my global notification settings at "Mention" rather than "Participate". I've changed that, so hopefully should get notifications now.
How would you do header-only in c90, without inline?
Should just need static, not inline.
I thought the user would include the specific implementation header before any others, in the top level file. That's annoying to have a header ordering dependence, but would work, right?
xtt/handshake/context.c includes xtt/handshake/context.h, but doesn't include an implementation header. So the definition of xtt_handshake_context will fail.
Also, is there objection to using a preprocessor define like I'd mentioned previously?
I'd just prefer a code-only solution. Really I'd prefer to be able to compile the xtt code without knowing the specific implementation.
The preprocessor define method is roughly equivalent to the header-only approach. The xtt code just ends up in different translation units. For client code with a statically-linked xtt, the resulting executable should be nearly identical.
Ok, yea, I hadn't thought about the polymorphism from the servers perspective. I'll have to think about that...
Supporting runtime selection might make the case for the function pointer getters approach...

repo: xaptum/xtt


text:
Failed to resolve android dependency ....

Error:(27, 13) Failed to resolve: com.fisheradelakin.material:material:0.1.0

Hi,
How did you get this error message please?
Thanks for contributing ;)

Sorry for that ...... Excuse me and If u can delete r close this issue...

Ok, I will do that for you ;)
No problem!

repo: xavierfoucrier/instacam


text:
Invalid client client authentication failed after login and allow in LinkedinModel

<LinkedInModal
ref={linkedRef}
clientID=""
clientSecret="**"
redirectUri="https://www.linkedin.com/myURL"
linkText="Login with LinkedIn"
onSuccess={(token) => console.log('token', token)}
/>
ERROR    {
"type": "invalid_client",
"message": "Client authentication failed"
}
what is wrong here so getting this error clientID and clientSecret are same as developer account. Please suggest

Did you configure your keys well on linkedin?

@mensonones Attached screenshot for below, please inform me any other information required

Hi, @SanjanaTailor! It seems to be all right. You could follow the tutorial I created. Maybe it will help you or you could show me your code for better analysis.
Tutorial: https://dev.to/mensonones/login-com-linkedin-usando-react-native-288n

Thank you @mensonones. I will check it.

@mensonones, I am getting still same error.

Hi, @SanjanaTailor! We can close this issue?

resolved and closing an issue

authors: SanjanaTailor mensonones

repo: xcarpentier/react-native-linkedin


text:
Question: How can you suppress the compiler warnings?

'Custom mapping method "___" is never used'
I've tried @SuppressWarnings("unused") without success. Any hints as to how to disable Selma compiler warnings?

Looks hardcoded from what I can tell. Would like to disable it as well.

authors: cdesserich kunickiaj

repo: xebia-france/selma


text:
5454086B - Max Payne 3

Marketplace
Tested on https://github.com/xenia-canary/xenia-canary/commit/660559bd372e34f62979b43fc9bf23b81f236037
Issues:
Hangs on Loading Screen. FPS Counter Works.
Log:
xenia.log
Screenshot(s):

Labels:
state-load
tech-engine-rage
tech-middleware-euphoria

Tested on: https://github.com/xenia-project/xenia/commit/7003e54e510fa2169a9434cdb8d608bff7f7be1e
xenia.zip

nothing renders in gameplay, only text and HUD. Somehow real time cutscenes are fine.

gpu-drawing-missing | state-gameplay

repo: xenia-canary/game-compatibility