text:
How to disable saturday and sundays

I have tried using the below code snippet
DisabledDaysCriteria criteria = new DisabledDaysCriteria(Calendar.MONDAY, Calendar.FRIDAY, DisabledDaysCriteriaType.DAYS_OF_WEEK);
calendarView.setDisabledDaysCriteria(criteria);
it disables the weekdays and changed the code with the below snippet
DisabledDaysCriteria criteria = new DisabledDaysCriteria(Calendar.SATURDAY, Calendar.SUNDAY, DisabledDaysCriteriaType.DAYS_OF_WEEK);
calendarView.setDisabledDaysCriteria(criteria);
But it disables the whole dates in the calendar not able to select

Same here, what I did was this.
        calendarView.setDisabledDaysCriteria(new DisabledDaysCriteria(Calendar.SATURDAY, Calendar.SATURDAY, DisabledDaysCriteriaType.DAYS_OF_WEEK));         calendarView.setDisabledDaysCriteria(new DisabledDaysCriteria(Calendar.SUNDAY, Calendar.SUNDAY, DisabledDaysCriteriaType.DAYS_OF_WEEK));
Not a very good solition, but it works.

repo: ApplikeySolutions/CosmoCalendar


text:
Add layout images to readme

Maybe we could add some images of layouts to README besides ascii layouts. Some people might want to save an img of their new layout and have a quick look at it when they are still learning it.
Canary staggered keyboard layout

Canary orthogonal keyboard layout

These are great, thanks for the suggestion! I'll probably add them soon.

source: gharchive/issue

authors: Apsu rszyma

repo: Apsu/Canary

license: MIT

license_type: permissive

license_source: github-api


text:
saveMcamFrame causes a seg fault ~50% of the time

In the Mantis C api saving an Mcam frame using the function saveMcamFrame causes a seg fault maybe every other operation. Requesting the most recent frame doesn't seem to cause it to faullt.

@camerongivler I believe you looked into this yesterday. If not, I believe this is something you will need to look at.

I have not looked into this, but will make it a priority

According to @bjschwa2, this was fixed in the latest API release (the one that didn't compile).

@bmaione could you verify if this is still an issue?

Please include the version info provided with the -h option to make sure we know what version the issue comes from.

@bmaione can you post the code that is causing the seg fault? I can't seem to reproduce this error without passing the saveMCamFrame method a NULL image buffer in the FRAME struct.
Aside: Should we perform a NULL pointer check on the FRAME struct given to the saveMCamFrame function, or should the burden be on the user to check that they are giving the method a valid FRAME struct?

We should check for a null frame and generate the appropriate message. Developers may not be experts, especially for the python api
Sent using OWA for iPhone

From: Andrew Ferg notifications@github.com
Sent: Thursday, May 18, 2017 2:29:00 AM
To: Aqueti/mantis_examples
Cc: Steve Feller; Comment
Subject: Re: [Aqueti/mantis_examples] saveMcamFrame causes a seg fault ~50% of the time (#12)
@bmaionehttps://github.com/bmaione can you post the code that is causing the seg fault? I can't seem to reproduce this error without passing the saveMCamFrame method a NULL image buffer in the FRAME struct.
Aside: Should we perform a NULL pointer check on the FRAME struct given to the saveMCamFrame function, or should the burden be on the user to check that they are giving the method a valid FRAME struct?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Aqueti/mantis_examples/issues/12#issuecomment-302313297, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AE_1Fq2LRBstqKiEJy3HhJKnexA3_793ks5r6-UsgaJpZM4NYCy3.

@bmaione is this the issue we fixed today? I doubt it's the same, but could be.

Not the same issue. I haven't had a chance, (or a need to rather) to verify saving capability through a the mantis API.

Added checks to saveMCamFrame that:

Check m_image buffer for nullptr
Check file name char* for nullptr
Check allocated CamImage size to prevent segfault when writing

@bmaione can you check if this fixed the issue for and close if it's resolved? I haven't been seeing the seg fault to begin with, so I can't verify myself that this changed anything.

authors: bjschwa2 bmaione camerongivler sfeller uberferg

license: mit

license_source: bigquery


text:
Add OpenStack Packages and SUSE Cloud Packages pages

SCRD-4309 Added two new pages under the Services menu: OpenStack Packages page and SUSE Cloud Packages page (for Ardana packages)
To test, you can point your shimurl in config.dev.js to Jack's machine at http://192.168.200.88:3000. I'm not sure what's the official name for Ardana is, so I'm using 'SUSE Cloud' for now. I can update if if/when we decide to use a different name.

I updated the code per Gary's suggestion. Please take a look again.

source: gharchive/pull-request

repo: ArdanaCLM/ardana-installer-ui


text:
Setup Windows for GitHub Actions

https://github.com/ArkEcosystem/cpp-client/commit/a188803b7cbc67931010be0b645c4b7c1343eff6 moved everything CI related to GitHub Actions. Missing is windows to ditch appveyor which is a bit unreliable.

@ciband @sleepdefic1t could you look into what configurations you need to get the tests and build working on GitHub Actions with windows? Should be fairly simple like the rest of the workflows.

Definitely not as straight forward as the others. lol
I've got it triggering and building in a fork branch atm, but not finding the test .exe that it supposedly made..
I'll try to get it wrapped up this week.

Battled this on and off for a while.
Still not much progress.
tl;dr
issues building/linking to cURL on Windows.
If any Windows devs would like to take a look, that could be helpful.
I'm not too familiar with that env.
Another solution would be to re-add Hunter for package management,
but it'd only be for handling cURL.
C++ Client & Crypto otherwise just use Git via CMake.

resolved in #204

repo: ArkEcosystem/cpp-client


text:
Rename IDelgatable to IDelegable

The adjective form of delegate is delegable, not delegatable. IDelegatable should be renamed to reflect this.
This is a breaking change, and all dependent libraries will need to be updated to use the new interface name.

https://github.com/Arlodotexe/OwlCore.ComponentModel/commit/a4a018d933186c08eefeb73b6f824b2fbc0b8ba5


text:
[Feature Request] rolling 1 or max on a die should display with a font effect.

When rolling any die x a 1 and an x should be displayed in bold or italics or underscore. Perhaps it should even be customizable!

This would be awesome for lots of pen and papers, so you can define positive and negative crit values.
I would also vote for a comment to add if 1 or max are reached. Of course customizable.
example:
roll 1d20, if ==1 bold and print defined comment, if ==20 bold and print defined commen

repo: ArtemGr/Sidekick


text:
v14.1 broken path for tailwindcss-data

error - ./node_modules/@tailwindcssinjs/macro/lib/tailwindcssinjs.js:9:0
Module not found: Can't resolve '../../tailwindcss-data/lib/utilities'

After upgrading from v13 to v14 now getting this coming from macros

Closing this, not totally certain what is happening. Likely something weird with my config. I got it re-working but not certain why ha

I encountered the same problem (using next.js)
ready - started server on http://localhost:3000
info  - Using external babel configuration from /Users/narze/Code/redacted/.babelrc
event - compiled successfully
event - build page: /
wait  - compiling...
error - ./pages/index.tsx
Error: /Users/narze/Code/redacted/pages/index.tsx: Cannot find module '../../tailwindcss-data/lib/utilities'
Require stack:
- /Users/narze/Code/redacted/node_modules/@tailwindcssinjs/macro/lib/tailwindcssinjs.js
- /Users/narze/Code/redacted/node_modules/@tailwindcssinjs/macro/lib/macro.js
- /Users/narze/Code/redacted/node_modules/babel-plugin-macros/dist/index.js
- /Users/narze/Code/redacted/node_modules/@babel/core/lib/config/files/plugins.js
- /Users/narze/Code/redacted/node_modules/@babel/core/lib/config/files/index.js
- /Users/narze/Code/redacted/node_modules/@babel/core/lib/index.js
- /Users/narze/Code/redacted/node_modules/next/dist/compiled/babel-loader/index.js
- /Users/narze/Code/redacted/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js
- /Users/narze/Code/redacted/node_modules/loader-runner/lib/loadLoader.js
- /Users/narze/Code/redacted/node_modules/loader-runner/lib/LoaderRunner.js
- /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/NormalModule.js
- /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js
- /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/Compiler.js
- /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/webpack.js
- /Users/narze/Code/redacted/node_modules/next/node_modules/@next/react-dev-overlay/lib/middleware.js
- /Users/narze/Code/redacted/node_modules/next/dist/server/hot-reloader.js
- /Users/narze/Code/redacted/node_modules/next/dist/server/next-dev-server.js
- /Users/narze/Code/redacted/node_modules/next/dist/server/next.js
- /Users/narze/Code/redacted/node_modules/next/dist/server/lib/start-server.js
- /Users/narze/Code/redacted/node_modules/next/dist/cli/next-dev.js
- /Users/narze/Code/redacted/node_modules/next/dist/bin/next
event - build page: /next/dist/pages/_error
wait  - compiling...

@narze delete .next folder and run dev again.
On Sun, Oct 18, 2020, 11:47 PM narze notifications@github.com wrote:

I encountered the same problem (using next.js)
ready - started server on http://localhost:3000
info  - Using external babel configuration from /Users/narze/Code/redacted/.babelrc
event - compiled successfully
event - build page: /
wait  - compiling...
error - ./pages/index.tsx
Error: /Users/narze/Code/redacted/pages/index.tsx: Cannot find module '../../tailwindcss-data/lib/utilities'
Require stack:

/Users/narze/Code/redacted/node_modules/@tailwindcssinjs/macro/lib/tailwindcssinjs.js
/Users/narze/Code/redacted/node_modules/@tailwindcssinjs/macro/lib/macro.js
/Users/narze/Code/redacted/node_modules/babel-plugin-macros/dist/index.js
/Users/narze/Code/redacted/node_modules/@babel/core/lib/config/files/plugins.js
/Users/narze/Code/redacted/node_modules/@babel/core/lib/config/files/index.js
/Users/narze/Code/redacted/node_modules/@babel/core/lib/index.js
/Users/narze/Code/redacted/node_modules/next/dist/compiled/babel-loader/index.js
/Users/narze/Code/redacted/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js
/Users/narze/Code/redacted/node_modules/loader-runner/lib/loadLoader.js
/Users/narze/Code/redacted/node_modules/loader-runner/lib/LoaderRunner.js
/Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/NormalModule.js
/Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js
/Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/Compiler.js
/Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/webpack.js
/Users/narze/Code/redacted/node_modules/next/node_modules/@next/react-dev-overlay/lib/middleware.js
/Users/narze/Code/redacted/node_modules/next/dist/server/hot-reloader.js
/Users/narze/Code/redacted/node_modules/next/dist/server/next-dev-server.js
/Users/narze/Code/redacted/node_modules/next/dist/server/next.js
/Users/narze/Code/redacted/node_modules/next/dist/server/lib/start-server.js
/Users/narze/Code/redacted/node_modules/next/dist/cli/next-dev.js
/Users/narze/Code/redacted/node_modules/next/dist/bin/next
event - build page: /next/dist/pages/_error
wait  - compiling...

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Arthie/tailwindcssinjs/issues/12#issuecomment-711782005,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANCT4LUMIA5EENHSDTID6DSLPVHLANCNFSM4SVEDTKA
.

I had the same issue, for me it was because of typescript-tailwindcssinjs-plugin that caused @tailwindcssinjs/tailwindcss-data to stay in an older version.
❯ yarn list | grep tailwind
├─ @tailwindcss/custom-forms@0.2.1
├─ @tailwindcss/typography@0.2.0
├─ @tailwindcss/ui@0.6.2
│  ├─ @tailwindcss/custom-forms@^0.2.1
│  ├─ @tailwindcss/typography@^0.2.0
├─ @tailwindcssinjs/class-composer@0.17.0
├─ @tailwindcssinjs/macro@0.17.0
│  ├─ @tailwindcssinjs/class-composer@^0.17.0
│  ├─ @tailwindcssinjs/tailwindcss-data@^0.17.0
│  ├─ @tailwindcssinjs/tailwindcss-data@0.17.0
├─ @tailwindcssinjs/tailwindcss-data@0.9.1
├─ emotion-tailwind-preflight@1.2.0
├─ tailwindcss@1.9.6
├─ typescript-tailwindcssinjs-plugin@0.3.2
│  ├─ @tailwindcssinjs/class-composer@^0.9.0
│  ├─ @tailwindcssinjs/class-composer@0.9.0
│  ├─ @tailwindcssinjs/tailwindcss-data@0.9.1

Worked around by removing the typescript plugin.
@Arthie the npm page for the typescript plugin is returning a 404 : has it been discontinued ?

Hello @clement-buchart, I am currently figuring out how to rebrand @tailwindcssinjs (see #13). I have removed the typescript-tailwindcssinjs-plugin since it was due for an update and plan on deprecating the other packages for a while. The typescript plugin will be updated and re-released soon using a different name.

Understood, thanks for the update 🙂
On Sat, Oct 24, 2020, 19:24 Arthur Petrie notifications@github.com wrote:

Hello @clement-buchart https://github.com/clement-buchart, I am
currently figuring out how to rebrand @tailwindcssinjs (see #13
https://github.com/Arthie/tailwindcssinjs/issues/13). I have removed
the typescript-tailwindcssinjs-plugin since it was due for an update and
plan on deprecating the other packages for a while. The typescript plugin
will be updated and re-released soon using a different name.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Arthie/tailwindcssinjs/issues/12#issuecomment-716021700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHL3ROLZ7PGVXXGJAJOT4MTSMMEU7ANCNFSM4SVEDTKA
.

authors: Arthie browniefed clement-buchart narze

repo: Arthie/tailwindcssinjs


text:
State saving

Could you please handle onSaveInstanceState in ImageCropActivity? Some devices are doing somthing weird with screen orientation when photo intent returns to mainCode. And in this case this activity can loose state too.

What state the activity need to save?

ArthurHub, ImageCropActivity must save image path, and reuse it on restore state.

It should also be handled by the view... will look into it.

Any update for this issue?

authors: ArthurHub iamthevoid tdinhv

repo: ArthurHub/Android-Image-Cropper


text:
Update Modal not working

the tag system is not usable yet. The modal needs to be updated.

Requirements:

Add Tags / Labels like the Upload page. Just press enter or type a comma to add a new label.
Enter should not exit the modal and submit the update. It should only be possible to add a label by pressing Enter.
just two radio buttons to confirm the update. This should look like the delete modal. One radio button to keep the current item and the other to confirm the update.
There should be an Update button and a Cancel button as the main options for the user. The update should only be sent to the server if the appropriate radio button is checked.

fixed with v0.4.0


text:
ide无法正确识别嵌套方法

其他包正常，唯独此框架不可用

最好加一下我的微信，帮你看看，你这张截图，我没法很好的找出问题，初步看是你没下载PowerLib这个依赖库

感谢您的回复！我通过rm -r .idea解决了问题

ok, have fun!

authors: Matrix-X Mr-Ao-Dragon

repo: ArtisanCloud/PowerWeChat


text:
I want to dark mode toggle button .

I want to add dark mode toggle button by clicking it we can switch the theme of webpage.

Please assign it to me
@Arun9739

@Aarav238 Go ahead
Star the repo 🌟 to showcase your support.

I want to work on this feature. Please assign it to me.

@Aarav238 Plz finish your task early.

ok thank you

@Arun9739 can i work on this feature ?

@Shreyas-R-7925 Thank you for your interest.
Plz look for other issues or create new issue.

@Aarav238 Due to inactivity this issue will be unassigned
Anyone can take up.

@Shreyas-R-7925 Do you want to work on this?

@Shreyas-R-7925 Do you want to work on this?

I'd like to work on this issue #205, so if you could possibly assign me this issue.

@Shreyas-R-7925 Go ahead
Star the repo 🌟 to show your support

@Shreyas-R-7925 PLz finish your task early


text:
Test Build

This PR fixes:
Containers

openwisp-freeradius
openwisp-postifix
openwisp-nginx
openwisp-dashboard (mainly autocomplete filter errors)

Others

Docker tests and QA checks

Closing for now


text:
Initialize() in helpers panics with nil value

Initialize() for auxiliary panics for nil value
https://github.com/AssetMantle/modules/blob/8963be3376df53e9816ecfd7ea61b667814da1d7/schema/helpers/base/auxiliary.go

since this is a pre-application start initialization, panic is expected output of nil initialization

panic is expected

repo: AssetMantle/modules


text:
Only possible to select one word at a time on iOS

Selection almost works fine in the iOS emulator, with the one exception that it isn't possible to pull the selection handles to change the selection once it's there. The only way to select multiple words is to press and drag.
On the device (iOS), it is impossible to select multiple words by pressing and dragging. The selection moves, but stays on maximum one word, unless you quickly tap + press real quick, which is unintuitive and still pretty difficult to achieve. And it is impossible to pull the selection handles here, either.
Any idea what's going wrong?

hi @jonasfrid i just made a pull request with a fix for this issue on iOS #50
@fakenickels  pls review and merge when you get a chance and the fix works for you
i think this issue is related as well #36

Many thanks, @mohamed-aleem and @fakenickels! I noticed this is now merged to master, but not yet published to npmjs (latest version 1.3.0), any chance of landing it there soon as well?

Published @jonasfrid https://github.com/Astrocoders/react-native-selectable-text/commit/ef1a646b858cfeb042feaca490e36b76728de71a! Thanks all!

authors: georgelima jonasfrid mohamed-aleem


text:
Create operations should not require an ID

Do you want to request a feature, improve documentation, or ask a question?
None of the above...
Are you reporting a bug?
Yes
What is the current behavior?
When creating a patient, the ID field is not being automatically generated as per the FHIR Guidelines
HTTP/1.1 500 Internal Server Error
X-DNS-Prefetch-Control: off
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Access-Control-Allow-Origin: http://localhost
Vary: Origin, Accept-Encoding
Content-Type: application/json; charset=utf-8
Content-Length: 515
ETag: W/"203-b4WRIKU+c2+znPe7TnZzljwwPVQ"
Date: Thu, 04 Oct 2018 13:36:37 GMT
Connection: keep-alive

{
   "resourceType":"OperationOutcome",
   "text":{
      "status":"generated",
      "div":"

Operation Outcome

error
E11000 duplicate key error collection: fhir.Patient_3_0_1 index: _id_ dup key: { : null }

"
   },
   "issue":[
      {
         "severity":"error",
         "code":"exception",
         "diagnostics":"E11000 duplicate key error collection: fhir.Patient_3_0_1 index: _id_ dup key: { : null }"
      }
   ]
}

What is the expected behavior?
What are the steps to reproduce?
You can make this POST request twice.
POST /3_0_1/Patient HTTP/1.1
Host: localhost:3000
User-Agent: curl/7.47.0
Accept: */*
content-type:application/fhir+json
Content-Length: 2744
Expect: 100-continue

{
    "resourceType": "Patient",
    "text": {
        "status": "generated",
        "div": "

Name	Peter James Chalmers ("Jim")

Address	534 Erewhon, Pleasantville, Vic, 3999

Contacts	Home: unknown. Work: (03) 5555 6473

Id	MRN: 12345 (Acme Healthcare)

"
    },
    "identifier": [
        {
            "use": "usual",
            "type": {
                "coding": [
                    {
                        "system": "http://hl7.org/fhir/v2/0203",
                        "code": "MR"
                    }
                ]
            },
            "system": "urn:oid:1.2.36.146.595.217.0.1",
            "value": "hhPTufqen3Qp997382",
            "period": {
                "start": "2001-05-06"
            },
            "assigner": {
                "display": "Acme Healthcare"
            }
        }
    ],
    "active": true,
    "name": [
        {
            "use": "official",
            "family": "Smith",
            "given": [
                "Peter",
                "James"
            ]
        },
        {
            "use": "usual",
            "given": [
                "Jim"
            ]
        }
    ],
    "telecom": [
        {
            "use": "home"
        },
        {
            "system": "phone",
            "value": "(07) 7296 7296",
            "use": "work"
        }
    ],
    "gender": "male",
    "birthDate": "1974-12-25",
    "deceasedBoolean": false,
    "address": [
        {
            "use": "home",
            "line": [
                "255 Somewhere Rd"
            ],
            "city": "Pleasant Valley",
            "state": "Somewhere",
            "postalCode": "3999"
        }
    ],
    "contact": [
        {
            "relationship": [
                {
                    "coding": [
                        {
                            "system": "http://hl7.org/fhir/v2/0131",
                            "code": "CP"
                        }
                    ]
                }
            ],
            "name": {
                "family": "Smith",
                "given": [
                    "Jane"
                ]
            },
            "telecom": [
                {
                    "system": "phone",
                    "value": "+33 (237) 123456"
                }
            ],
            "gender": "female",
            "period": {
                "start": "2012"
            }
        }
    ],
    "managingOrganization": {
        "reference": "Organization/hhPTufqen3Qp-997382-RZq1u"
    }
}

What OS are you using and what version of node.js, @asymmetrik/node-fhir-server-core, and @asymmetrik/node-fhir-server-mongo are you running?
Node 8.3.0
Ubuntu 16.04
"@asymmetrik/node-fhir-server-core": "git+https://github.com/Asymmetrik/node-fhir-server-core.git"
@asymmetrik/node-fhir-server-mongo -> 1.1.0

Hey @vosmith,
Thanks  for reporting this. You are absolutely right. This would probably need to be applied to all other services with create functionality as well. Luckily mongodb has a nice class for generating unique ObjectID's, which will make this really easy, so we'll add this as a high priority item to our todo list and try to create a patch as soon as possible.

This is now resolved, thanks again for reporting this. We will try to finalize some things before we move the code to our master branch but we should hopefully have that done later today or tomorrow depending on schedules.

authors: Robert-W vosmith

repo: Asymmetrik/node-fhir-server-mongo


text:
locationManager.requestLocation

locationManager.requestLocation never returned even it didn't throw any error @humblehacker

I also encountered the same problem. What solution did you use?

@NrmeenTomoum @TopOneLee
I've had the same issue and it turned out that I didn't initialized AsyncLocationManager on the main thread.
Adding the @MainActor attribute to the location function solved this issue for me.
Example code:
@MainActor // <- Perform this task on main thread
func getCurrentLocation() async throws -> CLLocation {
  var locationManager = AsyncLocationManager()
  // Do rest of the work here
}

locationManager.requestLocation never returned even it didn't throw any error @humblehacker

If you call requestLocation() from Task, then the error will not get into the result, because the Task inside has a throws closure using do { } catch { } the error will end up in catch

This nuance caught me too.
@kubastick thanks for the solution!
@gre4ixin thanks for the very helpful library!

authors: NrmeenTomoum TopOneLee gre4ixin kubastick larrylegend

repo: AsyncSwift/AsyncLocationKit


text:
Registering the package

@JuliaRegistrator register()

Do you anticipate to provide an interface for other compression libraries as well? Because at the moment the ZfpCompression.jl and our interface is hardcoded in (which is fine!) but then I would suggest to maybe rename this package to SequentialZfpCompression.jl? Otherwise users might be confused that it's not about any compression?

@JuliaRegistrator register()

also you have to write register without ()

Hey @milankl  I created another repo to avoid breaking the link to this one from the juliacon schedule. Here it is https://github.com/AtilaSaraiva/SequentialZfpCompression.jl. I am archiving this one.

authors: AtilaSaraiva milankl


text:
does this turn server run on windows?

Hi
i was using free turn server and video call was working fine
then i have install this turn server on windows and run the cmd without error and it show node turn start and node start
but no video call can made
connection.iceServers.push({
url: 'turn:publicip:port',
credential: '',
username: ''
i did not set any username or password

yes, it work on windows.
need sample code and logs(turn debugLevel to  'ALL') to help.

connection.iceServers.push({
url: 'turn:publicip:port',
credential: '',
username: ''
i did not set any username or password
i get this on Log file
[2019-03-13T20:51:12.368] [FATAL] WIN-52RARMA9562 - { Error: bind EINVAL 2002:3624:a3d7::3624:a3d7:3555
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at _handle.lookup (dgram.js:266:18)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
code: 'EINVAL',
errno: 'EINVAL',
syscall: 'bind',
address: '2002:3624:a3d7::3624:a3d7',
port: 3555 }
i think it mean that my server already use the ip address because my port address is not used
and i have try different port but i think i cant try different ip because i think i should use my server ip
which i use to connect to server
anyway i have stop apache and try again
same things
but i never try to stop iis because i host my testing files there
so what you suggest
cmd is clean no error it show turn start node start

see #1

authors: atiertant webleb

repo: Atlantis-Software/node-turn


text:
Remove smurf naming conventions on types

There are a lot of types which begin with the prefix Nimbus (or soon to be Cumulus), e.g. NimbusSubscriptionMessageReceiver or INimbusMessageReceiver.
It should be obvious to anyone that these classes are a part of Cumulus, making the prefixed naming convention useless. We should get rid of them. Type names should only convey information about what the implementation does.

Done in the same commit as the renaming of namespace Nimbus -> Cumulus 9fd4dd82f4316c10f85b39c3f20eb4fb3a9ca79f

authors: allansson cbird

repo: AtmosphereMessaging/Cumulus


text:
Flake8 rule 'E231' reported an invalid point

Flake8 reported an invalid point for the rule E231, with the messge missing whitespace after ','.

Debug information:
Atom version: 1.12.4
Flake8 version: 3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 2.7.14 on Darwin

Duplicate of #493

authors: Arcanemagus mmaja


text:
'Continue reading' button breaks the markdown formatting

It looks to me like the truncation needs to support finishing all the open markdown elements; both by adding trailing * for italics and bold formatting and by not counting non-rendered metadata like links towards the length limit.  Example:

This happens because the markdown is trimmed before it is converted to HTML. I'm currently working on a solution that uses a dfs to trim the markdown after it is converted to HTML.

authors: DaveShuckerow Mac-Genius

repo: AuburnACM/auacm


text:
How to install AudienceHero/ImageServerBundle?

Hello,
I can not install the AudienceHero bundle, that you are using in UploadAction.php file.
composer require audience-hero/image-server-bundle "~1"
I tried all composer options, it is just not working.
Could not find a matching version of package audience-hero/image-server-bundle. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Could you fix the bundle?

Hi! At present time, the bundles cannot be installed independently.

repo: AudienceHero/AudienceHero


text:
update create-market to remove extraInfo

Extra info is going away because it's a relic that we don't need now with augurnode. @epheph is updating the augur-node to help processes this better in his work with adding scalarDenomination.
...
To be clear, extraInfo can go away from the perspective of the UI, augur.js will be the packager, and augur-node will be the unpacker.
-epheph
...
Not sure if i should do this? The PR in augur.js makes me think this is on hold based on @tinybike's statement, @epheph @sprinkle Post MVP or no? https://github.com/AugurProject/augur.js/pull/284
-JohnDanz
...
Moving to Peccary for now; maybe good to do but don't want to get into this kind of reorganization for MVP.
...
:thumbsup:
-sharkcrayon
...
@epheph Is this done?
-bthaile
...
My understanding of this ticket is that nothing changes in augur-node, extraInfo is still passed along. It was just that the UI was doing a bunch of stuff in the UI code that was more appropriate for augur.js to deal with. This ticket is not done, we decided to punt for MVP
-epheph

closing

authors: bthaile petong

repo: AugurProject/augur


text:
Textview update highlighting after change

Textview update highlighting after change
see:
https://github.com/AuroraEditor/AuroraEditor/blob/main/AuroraEditor/Base/AuroraEditorTextView/STTextViewController%2BSTTextViewDelegate.swift#L54-L59

Fixed that in multiple commits
https://github.com/AuroraEditor/AuroraEditor/commit/906d3ea9d5088feb3890650617d145fab6dc64e1
https://github.com/AuroraEditor/AuroraEditor/commit/0a5d0b5243209b41a75c534f35f6aeb498b6d8f9
https://github.com/AuroraEditor/AuroraEditor/commit/1b53ce5fcd38428073689a79610fe3f5212254bd
https://github.com/AuroraEditor/AuroraEditor/commit/6f76085e5b25eb48186c3de627995de1d83570d1

repo: AuroraEditor/AuroraEditor


text:
fizzbuzz.cpp : added a function fizz_buzz that does the job.

I added a function fizz_buzz(n) that does the job. Now the main function is more compact.

I really like the extra effort of putting this into a function, but it doesn't necessarily need to replace the current code available. What I would suggest is that you put this as a second solution in the FizzBuzz>C++>Your Solution Thanks so much for the submission, and keep up the awesome work!

@AustinTice Thanks. I will change the PR

Thank you!

authors: AustinTice christianbender

repo: AustinTice/JobInterviewAlgorithms


text:
ndk-sys checksum fails in CI on Ubuntu, and some Debian distros

CI failure on some Debian-based systems related to a failed checksum on the ndk-sys crate.

Fixed in b358e1b

repo: Authentura/codectrl


text:
add test case for models_

Description
Add a basic test case for the BMS models_ parameter

@TheLemonPig , if you're happy with these changes, then you should click on merge pull request, and it'll automatically update your PR branch. Don't forget to pull the changes once you've done that.
Alternatively, you can use them as inspiration for your own update to your PR.

repo: AutoResearch/autora


text:
[QUESTION] untransform encoded categorical values and change type of problem

Hello, I'm testing featurewiz with a dataframe with numerical and categorical variables, and a target variables that ranges from 0 - 55, with most of my values (for the target variable) between 0-6.
My first question comes to the fact that when I run:
outputs = FW.featurewiz(train_df, target='unique_offers_cut', feature_engg='', category_encoders='OneHotEncoder', dask_xgboost_flag=False, nrows=None, verbose=2)

Everything runs fine, but the final output is like this:
['OneHotEncoder_property_type_1',
 'OneHotEncoder_property_type_6',
 'OneHotEncoder_itv_region_10',
 'OneHotEncoder_itv_region_5',
 'OneHotEncoder_itv_region_8',
 'OneHotEncoder_listing_pricetype_12',
 'OneHotEncoder_property_type_3',
 'first_listed_price',
 'OneHotEncoder_property_type_4',...

Is there any change that I know what is property_type_1? Or at least have it transformed back to its original name?
On the other hand, for the type of problem, is there any way to override this? I do want to set it to a regression problem, but it is assuming the target variables as multi classification (and the XGBoost part ends up not working).
Thanks

Hi @fjpa121197 👍
There are two mistakes you are making:

You didn't need to transform the variables. For feature selection, featurewiz automatically transforms categorical variables internally to feed it to XGBoost. So you can simply remove OrdinalEncoder from your input. That should solve your first problem.
You can try solving the second problem with another model if you first let featurewiz select the best variables.
Hope this helps,
AutoVIML

Hi @AutoViML,
But the last part, using XGBoost, it gives the following output:
[15:33:59] [C:/Users/Administrator/workspace/xgboost-win64_release_1.5.1/src/objective/multiclass_obj.cu:120](): SoftmaxMultiClassObj: label must be in [0, num_class).
Regular XGBoost is crashing. Returning with currently selected features...

Hi @fjpa121197 👍
There is one quick and easy way to resolve this. Just change your target variable to float before feeding it to Featurewiz. If it is float, it will treat it as a Regression problem. That should work.
If you still have a problem, just cut and paste the first 10 rows of your dataset here or attach a zip file with a sample dataset and I will try to trouble shoot it.
AutoViML

Hi @AutoViML,
That did solve my problem, and was able to run the last part that without problem.
I do still have questions about this:
"when looking at the transformed dataset (or the dataset with selected features) to find my categorical variables encoded using OrdinalEncoder? Is this the default on how the XGBoost part finds the most important features? Not sure if assuming an ordinal relationship is appropiate for all categorical columns."
Is there any way to see if the results are different when using One-hot encoding? But to be able to see the actual features after encoding? For example:
Lets says I have a categorical column type_transportation with the following unique values: ['car', 'boat', 'bike', 'plane'], after one-hot encoding, it will create the following columns  ['type_transportation_car', 'type_transportation_boat', 'type_transportation_bike'].
However, after using featurewiz, the returned features (selected) and returned like that:
['OneHotEncoder_property_type_1',
 'OneHotEncoder_property_type_6' ... ```

Is there any way to know the actual value or to which type does it refer to?

Hi @fjpa121197 👍
I will look into it. In the meantime, as I said earlier, you can one-hot encode categorical variables in your dataframe before you send it to featurewiz. The other option is to remove one-hot encoding from your featurewiz calling statement since featurewiz automatically transforms variables and detects which variables are important and sends you the list of features untransformed.
Check out both options.
Thanks for trying out featurewiz.
AutoViML

Hi @AutoViML,
The first option sound good for me! And I can handle the inverse/untransformation of the columns with the output from Featurewiz, and do not assume an ordinal relationship for my categorical features.
Sorry for another question, but I'm really interested and amazed by the automation part.
Is there any way to know the performance of the XGBoost estimator at the different stages where it reduces features?
I think it will be good to know, since the feature importance is also impacted by the estimator performance.

Hi @fjpa121197 👍
Great question.
Is there any way to know the performance of the XGBoost estimator at the different stages where it reduces features?
I think it will be good to know, since the feature importance is also impacted by the estimator performance.

You should not worry too much about performance since each time Recursive XGBoost uses fewer and fewer features to use in its modeling. That means the actual performance is falling: hence that is not what matters. What matters is that we need to know among the fewer variables, which one stands out as being at least the most important. That's why I don't show the performance since that will give a misleading picture. If you don't believe this method will work for you, the best thing to do is to compare featurewiz with other methods and see which one does feature selection better. That is one way to find out.
If this answers your question, please consider closing this issue.
Hope this helps,
AutoViML

That is understandable, I think I will compare results with other techniques.
But overall, great tool. Thanks for the help and answering these questions!
Closing this.

repo: AutoViML/featurewiz


text:
VDE End-to-End with Molviewer

Branched off of molviewer PR https://github.com/Autodesk/molecular-design-applications/pull/80
Issue https://github.com/Autodesk/molecular-design-applications/issues/72
Ignore the branch name!
This PR adds the molviewer to the project in place of 3dmol and gets the VDE workflow working end-to-end with the new viewer.

@avirshup Either one should be fine to go in first.  Conflicts should be minimal

repo: Autodesk/molecular-design-applications


text:
IO functions

Add some io functions to load and save data

nice

repo: Autonomobile/AutoPylot


text:
Add cuda Dockerfile for arm64

New feature implementation
Implemented feature
Implements https://github.com/Autoware-AI/docker/issues/21
Implementation description
The minimum cuda version available is 11.0 but 11.1 was chosen for tensorRT compatibility.

Unfortunately, we can't accept this feature. See explanation in #21.

Unfortunately, we can't accept this feature. See explanation in #21.

authors: JWhitleyWork ambroise-arm

repo: Autoware-AI/docker


text:
add test for wallet idempotent creation

Add a new test case to show that we won't return dup default salt walle

@chrisli30 please review. added test to prove that no dup wallet willbe shown up

please ignore the failure on staging

repo: AvaProtocol/ava-sdk-js


text:
How to apply a new theme using the MaterialThemeBase

Hey there, I'm updating my code from using the old PaletteHelper to the new MaterialTheme but cannot find a way to update the current theme.
I simply want to toggle between dark/light, everything worked as expected previously...
My App.xaml:
  <Application.Styles>
    <themes:MaterialThemeBase />
    <StyleInclude Source="avares://Material.Avalonia/Material.Avalonia.Templates.xaml" />
    <StyleInclude Source="avares://Material.Icons.Avalonia/App.xaml" />
    <StyleInclude Source="/Styles/Styles.xaml" />
  </Application.Styles>

My OnFrameworkInitializationCompleted:
  var theme = Theme.Create(Theme.Light, Primary, Accent);
  var themeBootstrap = this.LocateMaterialTheme<MaterialThemeBase>();
   themeBootstrap.CurrentTheme = theme;

My toggle theme code:
var materialTheme = Application.Current.LocateMaterialTheme<MaterialThemeBase>();
materialTheme.CurrentTheme.SetBaseTheme(Theme.Dark);

Hello, @teocomi
Sorry for the long wait for an answer
materialTheme.CurrentTheme is a property that generates a new theme object for you each time, so that users cannot change the internal theme from the outside (since changing the theme will not change the styles). So when you do materialTheme.CurrentTheme.SetBaseTheme(Theme.Dark); you change an object that has nothing to do with what's inside MaterialThemeBase. You need to change the properties you want in the theme object and then assign it back, you do that:
var materialTheme = Application.Current.LocateMaterialTheme<MaterialThemeBase>();
var theme = materialTheme.CurrentTheme.SetBaseTheme(Theme.Dark);
materialTheme.CurrentTheme = theme;

Does this solve your problem?

Hey @SKProCH thanks for your support! I just tried unfortunately this doesn't seem to work either.
I can put together a quick sample app if that helps...
And thanks for the great library!

@teocomi
Yes, I think it would make it easier to find the problem if you gave me an sample app. Or you can just share link to the actual one.

Hello, @teocomi
I took a look at your project. Apparently this problem was fixed in the nightly builds. At least with 3.0.0-rc0.90-nightly everything works.
I hope that soon I will have enough time to post a stable rc, in the meantime, use the nightly build.

It does indeed work! Sorry for opening a non-issue & thanks for checking 💥

authors: SKProCH teocomi


text:
[11.2.0-rc1] Content of Popup not rendered correctly after changing size of content

Describe the bug
After upgrading from 11.1.4 to 11.2.0-rc1, the content of Popup cannot be rendered correctly after changing the size of content. There are two symptoms:

Content will flickers after changing size.
Sometime the content will be stretched into incorrect size.

Please refer to screen recording for mentioned symptoms:
https://github.com/user-attachments/assets/7baacf1d-7865-45ea-8304-8370222a6701
Sample code:
PopupNotRenderedProperly.zip
To Reproduce

Add a Popup with content.
Open the Popup.
Change the size of content.

Expected behavior
Content should be rendered correctly with correct scale and without flickering.
Avalonia version
11.2.0-rc1
OS
macOS
Additional context
The symptom occurs only in 11.2.0.

I had similar problem and in my case it was related to Metal as the default rendering backend. In my case sometimes popups were like 1px tall, making them unusable.
If you add
.With(new AvaloniaNativePlatformOptions()
                {
                    RenderingMode = new[] { /*AvaloniaNativeRenderingMode.Metal, */AvaloniaNativeRenderingMode.OpenGl, AvaloniaNativeRenderingMode.Software }
                })

to Program.cs, then it should work fine.
But of course since Metal is now default, some action should be taken I guess.

repo: AvaloniaUI/Avalonia


text:
Gamepad/controller input support

Is your feature request related to a problem? Please describe.
Controller (xbox controller or remote control) should be treated as valid user input that should be mapped into XY focus navigation.
So users can use Avalonia applications using only their controllers.
Additional context
UWP APIs:
High level integration of controller with app navigation (similarly how it's done with keyboard input):
https://docs.microsoft.com/en-us/windows/apps/design/input/gamepad-and-remote-interactions
Lower level Gamepad API:
https://docs.microsoft.com/en-us/uwp/api/windows.gaming.input.gamepad?view=winrt-22000
I guess it's very low priority requests, but still would be nice to have somewhere in the future.  Majority of UI frameworks don't treat controllers as they should and from my knowledge it works only with UWP apps.

The problem with gamepads is the key mapping. What button is X again?

@kekekeks xbox contoller style mapping is expected.
We don't have native ps4-5 controller support anyway - it is always mapped to xbox buttons on Windows.
And in the end it might be an issue only if we want to have full support for gamepad input (just like MonoGame has for example).
Though I just checked, they decided also to support only Xbox style buttons - https://github.com/MonoGame/MonoGame/blob/develop/MonoGame.Framework/Input/GamePadButtons.cs (which might be legacy of XNA).
And for XY focus navigation it should be clear on Windows. And for other platforms/input methods we might want to have customizable mapping service, just like we have for platform-depended hotkeys.
Xbox layout, quite simple, but sufficient:

Keyboard
Gamepad/remote

Arrow keys
D-pad (also left stick on gamepad)

Spacebar
A/Select button

Enter
A/Select button

Escape
B/Back button

It seems HTML JS standard just gave up about xbox-vs-ps mapping and used index based standardization.
https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/mapping
And that actually makes more sense.

I think we should stick to the HTML JS standard since it covers more platforms and even has some VR/AR controllers for future-proofing.

Also on windows we don't have native ps4-5 controller support anyway

Ah, yes, I remember the horrors of reflashing and effectively disabling your entire bluetooth adapter so it could work with dualshock. Use Windows, they said, gaming works out of the box, they said.
On Linux and macOS those are supported natively by the built-in Bluetooth stack.

I would like to put my hand up for work on implementing some sort of gamepad interface.

@kekekeks at least xbox contoller style mapping is expected. Also on windows we don't have native ps4-5 controller support anyway - it is always mapped to xbox buttons. Would like to know if it's different on macOS/Linux.
And in the end it might be an issue only if we want to have full support for gamepad input (just like MonoGame has for example). Though I just checked, they decided also to support only Xbox style buttons - https://github.com/MonoGame/MonoGame/blob/develop/MonoGame.Framework/Input/GamePadButtons.cs (which might be legacy of XNA).
And for XY focus navigation it should be clear on Windows. And for other platforms/input methods we might want to have customizable mapping service, just like we have for platform-depended hotkeys.
Xbox/remote mapping to keyboard, quite simple, but sufficient:
Keyboard	Gamepad/remote
Arrow keys	D-pad (also left stick on gamepad)
Spacebar	A/Select button
Enter	A/Select button
Escape	B/Back button

Thinking about this, gamepads are typically polled rather than receiving events like one would with WM_* messages. Do we want these controllers always mapping to keyboard inputs? What if an app developer wants to talk to the controller specifically and not have these inputs translated into keyboard events?
I don't want to be super-formal about it, but if you're able to craft up some specifications for what the interface should look like (I can get started making something like the web-API linked above).
I would also ask how should the app developer ask for the controllers/gamepads, did we want to provide a static reference to getting the controllers like with the web API?
AvaloniaGamepadProvider.GetGamepads() returning an array of Gamepad objects matching the web API?
I could definitely get an implementation working in Windows, maybe Linux/Unix (Don't know if libudev works under MacOSX), but would not know how to do that on Android, iOS, and the Web JS/WASM.
Do note that the GDK GameInput API isn't always available on Windows 10, it was included in a newer build and may not be present in older builds. It was not available in Windows 10 IoT 2019 LTSC, it is in Windows 10 IoT 2021 LTSC.

Since handheld devices like the Steam Deck are becoming very popular, I'd be awesome to support for their hardware buttons as well. For the Steam Deck specifically, I'm guessing it appears an Xbox controller for compatibility?

We don’t need full gamepad api to support steam deck, we only need dpad to be mapped on arrow keys. Not sure if steam deck does it already, normal windows doesn’t map gamepad controller like this.

ShadowMarker789 commented: "I could definitely get an implementation working in Windows..."
Well, that would be all I wish for! It would greatly improve comfort for everyone who runs Ryujinx on a HTPC. Thanks for whatever may be done here.

ShadowMarker789 commented: "I could definitely get an implementation working in Windows..."
Well, that would be all I wish for! It would greatly improve comfort for everyone who runs Ryujinx on a HTPC. Thanks for whatever may be done here.

As it happens, I spent a while smacking my head about controller input in another project, trying to run clean minimal controller input without relying on SDL.
Here's the summary of the research and findings.

DirectInput
XInput
Raw Input
Windows.Gaming.Input
GameInput

Availability
Windows 2000 and above
Windows XP and above
Windows 95 and above
Windows 8.1 and above
Windows 10 and above *1

Xbox Triggers
One Axis
Two Axes
One Axis
Two Axes
Two Axes

Limitations
One Axis for Xbox Controllers
Only works with Xbox Controllers
Annoying to use, uses the WM_INPUT window message, and only one axis for Xbox controllers.
Only provides values whilst the window is in focus. No background input.
Requires the GDK to develop applications with, the license for GameInput.h precludes redistributing the header or keeping it in source-control.

Header
dinput.h
xinput.h
hidpi.h, winuser.h
winrt/Windows.Gaming.Input.h
gameinput.h

Header file found in
Windows SDK
Windows SDK
Windows SDK
Windows SDK
Microsoft GDK

API Style
NanoCOM
Simple C-API
Windows Messaging and HID
WinRT classes
NanoCOM

Bugs?
None Known
None Known
None Known
None Known
Does not work with bluetooth controllers.

This is a problem. If we want to support reading both triggers on Xbox controllers on Windows, we don't have a good solution for that. This has been such a problem that the work has stalled completely on that other project.
When I reached out to other projects (Such as FNA, etc) about what they do for Controller input - everyone said that they just use SDL.
So, I would like to raise questions for the maintainers - is background input desirable? How should the API look like, should applications want to enable/suppress controller UI navigation? I only know Windows APIs myself, but on Linux one would use libevdev if one didn't want to take a dependency on SDL.
Or... we could just taken a dependency on SDL and call it a day? But that's a big dependency to pull in!
I would need some guidance on what direction the project maintainers want to go into before I make any proof-of-concepts or spawn a draft PR.

Yuzu had the option "Controller navigation" under Controls -> Advanced. This was working perfectly fine in Windows with both Xbox Controllers and Switch Pro Controllers. I do not own other controllers, so I have not tried alternatives.
I'm not sure how it was implemented, it's probably XInput since that was mentioned for another option as well. However, the exact implementation might be checked in the source code and then... well, just replicated.
I do not know anything about the details but could it be that XInput does not only support Xbox controllers, but also all other controllers with similar layout (like it did work for me with Switch Pro Controller)?

Yuzu had the option "Controller navigation" under Controls -> Advanced. This was working perfectly fine in Windows with both Xbox Controllers and Switch Pro Controllers. In both cases I had Bluetooth connection. I do not own other controllers, so I have not tried alternatives.
I'm not sure how it was implemented, it's probably XInput since that was mentioned for another option as well. However, the exact implementation might be checked in the source code and then... well, just replicated.
I do not know anything about the details but could it be that XInput does not only support Xbox Controllers, but also all other controllers with similar layout (like it did work for me with Switch Pro Controller)?
It would be already a big win if those two controller types work, because that's probably what the majority of users will want to use.

I know that controller support is difficult enough that projects will sometimes import the entirety of SDL JUST for its controller support. I'm fairly sure that's how Dolphin runs its controller support. It might just be SDL.

Not wanting to sound dumb... but what I don't get is:
Within the options I configure which controller I have. Ryujinx then recognizes it and it's working perfectly fine within a game.
Then why can't the same input style not be used within the GUI as well? Why should there be a need to implement another API for that?

Not wanting to sound dumb... but what I don't get is:
Within the options I configure which controller I have. Ryujinx then recognizes it and it's working perfectly fine within a game.
Then why can't the same input style not be used within the GUI as well? Why should there be a need to implement another API for that?

It looks to me like Ryujinx is using SDL2 for its Gamepad driver.

https://github.com/Ryujinx/Ryujinx/tree/master/src/Ryujinx.Input.SDL2

If Ryujinx so decided, they could take controller input and inject keystrokes into the Gui application if they wanted to.
For instance, I got this working earlier in a previous version of Avalonia.
https://github.com/user-attachments/assets/d7b1a6fa-13e1-4047-840d-2eb6fd62a5c3
And, correct me if I'm wrong - this is exactly what you want, right?

More or less, yes!
The D-pad should just navigate the tiles and one of the buttons A/B/X/Y should start a game.
However, it must be ensured that also the tiles that are currently not visible on screen can be reached. So when the user navigates beyond the last tile, the tiles need to move up or down accordingly. Or as an alternative another button could to do the scrolling: for instance use D-pad to move and analog stick to scroll.
And as a bonus - but that would be real luxury - it would be great if an active emulation could be stopped just by using a controller button (e.g. Xbox Share) or a certain button combination.

More or less, yes!
The D-pad should just navigate the tiles and one of the buttons A/B/X/Y should start a game.
However, it must be ensured that also the tiles that are currently not visible on screen can be reached. So when the user navigates beyond the last tile, the tiles need to move up or down accordingly. Or as an alternative another button could to do the scrolling: for instance use D-pad to move and analog stick to scroll.
And as a bonus - but that would be real luxury - it would be great if an active emulation could be stopped just by using a controller button (e.g. Xbox Controller "Share" or Switch Pro Controller "Home") or a certain button combination.

Please keep in mind that Avalonia is a general-purpose Gui solution that runs on many platforms, used by many.
So, any changes to Avalonia need to keep this in mind. The API provided by Avalonia would need to be able to be implemented cross-platform and be maintainable in the future.
Trying to keep the discussion relevant to Avalonia, the Gamepad Navigation:

Should permit end-users to navigate and interact across the set of standard controls within a single window.
Be reasonably consistent across devices and platforms.

That already sounds hard. If we're not leveraging a library like SDL2 then cross-platform controller input is very difficult.

That's totally understandable. But just to mention again: Yuzu was also cross-platform and had such an option implemented.
Also, cross-platform does not necessarily mean that each and every option needs to work on all platforms, right?
But of course, if it does then all the better...

If it's any helpful; I made a library for this just over 2 years ago: https://github.com/Sewer56/Sewer56.UI.Controller
No Avalonia impl, but it has WPF, which is similar.
It's split into the following:

Core: The core library, contained in Sewer56.UI.Controller.Core.
IPlatform: Abstracts a UI platform like WPF or WinForms. (e.g. Sewer56.UI.Controller.WPF).
IController: Provides input support to the library. (e.g. Sewer56.UI.Controller.ReloadedInput)

Demo (original url):
https://github.com/user-attachments/assets/47b747a9-3ee6-4469-ac42-15c99360dc7f
(The above is WPF)
[Feel free to use/study/etc. the code. If Avalonia wants to copy any of it, I'd happily also slap the MIT sticker on it]

Anyway, having previously worked on this problem; there's some other factors to take into account that may not have been brought up. I'll use my own WPF application as an example and hopefully provide some pointers.
Partially Occluded Windows

When displaying a modal dialog, or another item that overlays the screen, you must be careful as to not make items not reachable by the mouse selectable.
In this specific example, you wouldn't want pressing the DPAD buttons to cause a selection on the tiles below the semi-transparent background.
When implementing this for WPF, I needed to perform Hit Testing. Specifically I tested each of the corners of a control and its middle to determine if they are clickable.
If that is not the case, and the control is not easily reachable by mouse, it should not be selectable.
Selection Logic
Gamepad selection works quite differently in general compared to Tab navigation. With Tab navigation, you set a fixed order of elements, while with the D-Pad you generally expect the cursor to go in the same direction as the gamepad input.

Suppose you are at the red dot, and you press DPAD Right (Green Arrow). You need to be able to decide how to
'rank' the individual selectable items that are towards that direction.
The way I did it is this:

Calculate the vector from the current position to the target element.
Compute the angle between this vector and the selection direction. (e.g. right)
Apply the scoring formula: Score = Angle * (Distance^2 * DistanceBias)

The item with the LOWEST score is selected. If no item matches, I select first item as a failsafe, but in practice that never gets triggered.
The angle in this case is between the two vectors. So if your direction is RIGHT then an angle of 90 degrees means a direction of UP or DOWN. In my case I constrained the angle to 89, but the choice here was arbitrary as to not allow it to go up/down directly.
The scoring formula here is arbitrary, and it can be adjusted as needed. But you need to account for both distance and angle to determine what the user wants to select. My implementation is naturally biased a bit towards distance, but it tends to work relatively well.
Also be careful not to divide by 0 here.
Interactions with Controls
Optimal interactions with controls are a tricky subject; the controls can be divided up into:

Works out of the Box
Requires extra UI/buttons (that aren't A/B [Xbox] or Cross/Circle [PlayStation])
Requires manual implementation

Works out of the Box
e.g. Buttons, RadioButtons, Hyperlinks etc.
Pressing A/Cross opens the buttons
Requires Extra UI/Buttons

Some controls like NumericUpDown(s) cannot be interacted with without some extra logic.
(Arrows here are also very misleading)
Either the user would need to press A to bring up a popup or press/hold a button to 'focus into the control'. It may also be useful to have additional bindings for faster access to these controls. In my case I had a Decrement and Increment button, bound to LB/RB (L1/R1). [You can see that in action in video clip above]
I used that Increment button to let you change the value of ComboBox(es), ToggleButton(s) and NumericUpDown(s) without expanding/opening them. In the case of NumericUpDown, it was the only way to manipulate it, as I didn't have a pop-out window for finer input.
There is also a Modifier key, to get alternative behaviour when pressing buttons on a control.
In my case, you can also use the same Modifier key to use Up/Down to increment/decrement the NumericUpDown, that's the focus into the control part.
Notably, sorting elements in a list in the video above was done by holding the modifier key, and using arrows ... which brings us to ...
Requires Manual Implementation

When dealing with more complex items like ListItem(s) etc. sometimes you'll want to manually implement some interactions. For example here, pressing A on a row disables/enables the item. You don't really want the user to be focusing on the individual checkbox.
To support these sorts of manual interactions, I had an API called void ProcessInputs(in ControllerState state);, that gets fired after every controller state update (state is different than last).
An additional interaction that may be desired here but needs to be opt-in is closing dialog windows with B/Circle button.
Input Localization
Notably, in Japan the meaning of the X and O buttons on a PlayStation controller are swapped. If you press O, you have to go forward in a menu, not backwards. There may be other cases.
Stick to DPAD
Users also expect to be able to navigate the menu using the left stick. That can be logically translated to simple DPAD inputs, i.e. stick pointing right should do same action as DPAD right.
Controller Library
I will agree with the posts above and would suggest using SDL2.
The reason for me actually isn't to do with difficulty of cross platform controller APIs; I've already written a general purpose controller manager library that lets you easily manage information from multiple APIs, rebind keys, etc. Adding evdev for Linux in addition to existing xinput and dinput modules wouldn't be much work.
The reason is actually to do with controller presets. People today expect to plug in a controller and it should 'just work', regardless of platform or controller. The expectation today is that you shouldn't have to manually bind controller buttons.
SDL2 has something called the Game Controller Database, it's rather massive; that alone, enabling simple 'plug and play' is what makes it stand out. I wish I knew about this 2 years ago.
As for how to bundle SDL2, it's generally a rather heavy dependency as a whole. If it were up to me, I'd make a Rust or a Zig project (they're both easy to cross compile with) that exposes only the slice of the controller API that Avalonia would need. This way; all of the unrelated non-controller code not used is not included in the shared library (.so, .dll etc.).
As for polling, I'd just poll at the beginning of each 'display frame'. I don't know the details of Avalonia's rendering stack, but what I essentially mean is at the same rate as the display/monitor, at the start of a new 'frame'.
WPF Specific Shenanigans
Just some odd things I experienced implementing this in WPF.
Focus Visuals (a.k.a. selection/highlight box)
In WPF, focusing an element did not update the visuals on the control.
You could only make the selection box appear by using a private API, which was called
by the keyboard Tab handler.
When a user focuses a control from code, there should be a way to display the focus selection.
Styling Focus Visuals (a.k.a. selection/highlight box)
In WPF, the focus visuals were painfully hard to style, as it often delved into the territory of making entire custom control templates from scratch. Many controls had multiple focusable elements too, that were not tab stops; and did not render focus visuals. These should not be picked up by a controller.
In Avalonia, this appears to be much easier, with the selector syntax.

Anyway, these are some notes having done this in the past. Hopefully they're useful.
There's a bunch of considerations in here to be made, both API and UX wise.
I think the best approach is first making sure Avalonia has the right APIs to support this sort of use case, and after that, something like Controller Support could be added via an extension package like AvaloniaUI/TreeDataGrid.
Having the controller behaviour opt-in in some manner would also help us keep binary sizes small. At least personally I don't want to have code I'm not using present in NativeAOT builds.


text:
Fix "Run Avalonia" instructions so they point to ControlCatalog.Desktop sample.

ControlCatalog is a class library while ControlCatalog.Desktop is a Windows Applicstion.

Thanks @tfreitasleal, welcome to Avalonia :)

authors: danwalmsley tfreitasleal


text:
VSCode Extension v0.0.26 still not working

Type: Bug
Code completion and preview are not working - always says "Previewer is not available. Build the project first.". I tried close vscode -> build project from terminal -> open vscode. I tried the old versions of expansion, they also did not work.
Build target dotnet 8.
dotnet --list-sdks

8.0.100 [C:\Program Files\dotnet\sdk]
8.0.101 [C:\Program Files\dotnet\sdk]

VSCode Extension:

Code completion:

Extension version: 0.0.26
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22621

System Info

Item
Value

CPUs
AMD Ryzen 5 5500U with Radeon Graphics          (12 x 2096)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.34GB (19.47GB free)

Process Argv
C:\projects\AvaloniaApplication1 --crash-reporter-id e6bedc8e-f7ac-4bab-b84a-d2053dd65313

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
0bi6i642:30933247
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
dsvsc019a:30933241

Duplicate of issue: https://github.com/AvaloniaUI/AvaloniaVSCode/issues/86

authors: SignalMQ carver-mdg

repo: AvaloniaUI/AvaloniaVSCode


text:
Proximity Chat

Describe the bug
Radio and phone voice works just fine. But for proximity voice doesn't
Server Info:

Server Version: 4685
Client Version: Not sure
Client Build: b2189

Additional context
Only modified the keymapping for radio talk, default and exports for gcphone.  Onesync Legacy on. Attached below are the commands on server.cfg

Hi, sorry for the late response. I'll try that ASAP and let you know the result.

repo: AvarianKnight/pma-voice


text:
🛑 Minecraft.net website is down

In 8a998bb, Minecraft.net website (https://www.minecraft.net/en-us) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Minecraft.net website is back up in 7149419 after 20 minutes.

repo: AventiumSoftworks/helios-status-page


text:
Check that everyone has received the registration messages

What

Check that registration messages do not go to trash.

Open question

Who checks what

Pending at the service provider 28.7.


text:
data-overflow in Mobile-view

The description of ZUSTAND on the main page overflows in the mobile view

Another suggestion is to try to sync the animation of the button on the main page so they may sync with each other and look attractive

Thank you for your suggestion. I'll take it

repo: AwesomeDevin/zustand-vue


text:
BackendBasepath problem exporting SOAP API with apim-cli

APIM-CLI version
1.12.0
API-Management version
7.7.20210330
Bug description
Hello,
So I have a SOAP API created on the HMI.
I export this API with apim-cli in order to integrate it in a CI/CD pipeline.
I noticed that in the api-config.json file, in the backendBasepath object instead of having my host/basepath I find my host/basepath/path from wsdl.
Ex :
Instead of : _https://myhost/api/v1_
I have _https://myhost/api/v1/some/more/path/from/wsdl_
For now I would have to modify the backendBasepath  to  _https://myhost/api/v1_  in order for the API to work.
Wouldn't it be more logical to retrieve in the api-config.json file, the url that is in the backend service URL field in the Outbound part of the API frontend?
Steps to reproduce
No response
Relevant log output
No response

That is correct. So when I export this API with apim-cli, in the configuration file, the backendBasepath contains the full path : _**http://test.axway.com/services/Calculator.CalculatorHttpsSoap12Endpoint/.**_
But I would expect getting only :  http://test.axway.com.
Yo explain my problem, in my ci/cd workflow:

first the wsdl is uploaded on the server
then the url is put in the api-config.json file in the apiSpecification.resource field
finally  the API is imported with the apim-cli (apim api import).

But I have a duplication problem, backendBasepath becames :  http://test.axway.com/services/Calculator.CalculatorHttpsSoap12Endpoint/services/Calculator.CalculatorHttpsSoap12Endpoint/)
Since the api manager adds once more the WSDL's service location as backendBasepath.
So shouldn't apim-cli export only http://test.axway.com in the api-config file ?

I agree with you. It should contain http://test.axway.com based on the above use case.  Let me double check on the fix is not going to break anything else.

authors: AyseErg rathnapandi

repo: Axway-API-Management-Plus/apim-cli


text:
生放送　時間表示

内容
時間表示がおかしくなった
参考画像
https://drive.google.com/open?id=1rcpaW6pccsPNfG48YiN-JHb-lK6vyBY-
問題が発生したURL
https://sp.live.nicovideo.jp/?cmnhd_ref=device%3Dsp%26site%3Dnicolivespweb%26pos%3Dheader_logo%26page%3Dtop
環境
Chrome
From
bkjnectf@i.softbank.jp from GForm

#198 と同様

repo: AyumuNekozuki/niconico-darkmode


text:
want to add kahn's algorithm and its implementations

@Ayush7614 please assign me this as a part of LGMSOC'21. I will try to write clean and optimise code

@yashgehi can u mention the language.

c++

@Amit366  Assign me this in Java problem in java

@Ayush7614 @Amit366 Assign me this in C language  under LGMSOC21

I can do this in C or C++ or pyhon.
Assign me plz.
LGM_SOC

could you please assign me in python


text:
Use SPDX OR syntax in license

See grammar at https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields and https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: AzHicham jayvdb

repo: AzHicham/philips-isyntax-rs


text:
Allow querying the gates in a Program in a single request

Migration of https://github.com/noir-lang/noir/issues/4851
See https://github.com/noir-lang/noir/issues/4962
https://github.com/AztecProtocol/aztec-packages/blob/ed84fe3bcc29c69b1e9d9caafd2c2c2134a67dce/barretenberg/cpp/src/barretenberg/bb/main.cpp#L295-L312
We want to be able to query the number of constraints in a multi-circuit program in a single go. It should also be easy to generate a report for a whole workspace of programs.

@vezenovm assigning you to this as you've been working on the noir-gates-diff action as well. Ideally the bb gates command should respond with the same json format we're using to feed into the action.
We can have a nice human readable report later on (making ASCII formatting in c++ :vomiting_face:).

repo: AztecProtocol/aztec-packages


text:
fix: cpp cache and add other e2e

fix cpp make timestamps. Investigated ccache but while elegant, it hurt non-cached builds too much seemingly
enable rest of e2e tests, commenting out ones that didn't work (TODO look into or would appreciate eyes but would like this in to get mostly covered)
e2e tests use earthly ls to read the targets

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit ea072b6d and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
676
676
676

l1_rollup_calldata_gas
6,412
6,412
6,412

l1_rollup_execution_gas
585,745
585,745
585,745

l2_block_processing_time_in_ms
1,308 (-1%)
4,817 (+3%)
9,151 (-2%)

note_successful_decrypting_time_in_ms
256 (-2%)
503 (-11%)
968 (-6%)

note_trial_decrypting_time_in_ms
61.5 (-4%)
119 (+43%)
98.5 (+75%)

l2_block_building_time_in_ms
12,078 (-1%)
43,862 (-2%)
89,580 (+1%)

l2_block_rollup_simulation_time_in_ms
7,346 (-1%)
25,256 (-3%)
51,052 (-1%)

l2_block_public_tx_process_time_in_ms
4,710
18,557
38,428 (+3%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,216 (+3%)
26,863 (-1%)

note_history_successful_decrypting_time_in_ms
1,297 (+1%)
2,409 (-4%)

note_history_trial_decrypting_time_in_ms
85.2 (-10%)
135 (-9%)

node_database_size_in_bytes
18,628,688
34,832,464 (-1%)

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
181 (-1%)
44,379
28,214

private-kernel-ordering
167 (-2%)
52,880
14,296

base-parity
3,423 (-7%)
128
311

root-parity
1,248 (-1%)
1,244
311

base-rollup
14,725 (-2%)
165,760
861

root-rollup
49.1 (-1%)
4,359
725

private-kernel-inner
225 (-1%)
73,795
28,214

public-kernel-app-logic
95.8
35,252
28,217

public-kernel-tail
138 (-1%)
40,928
28,217

merge-rollup
8.01 (-8%)
2,568
861

public-kernel-teardown
92.4 (-2%)
35,252
28,217

public-kernel-setup
91.0 (-2%)
35,252
28,217

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.87 (-1%)
15.9 (-2%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.575 (-2%)
0.489 (-2%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
46.0 (-4%)
71.1 (-1%)
228 (-2%)
437 (-2%)
867 (-1%)
1,718 (-1%)
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.466 (-5%)
0.438 (-1%)
0.415 (-1%)
0.408 (-2%)
0.410 (-1%)
0.412
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
54.1
105 (-1%)
335
640 (-3%)
1,316
2,601 (-1%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.477
0.472 (-2%)
0.457
0.440 (-3%)
0.455
0.453
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
60.1 (-2%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.525 (-2%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
14,968
495,320

Transaction size based on fee payment method

Metric
none fee payment method
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
773
905
1,161
1,377

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,818
1,189 (-1%)
5,695

Metric
0 public data writes
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
10.9 (-3%)
582
443
1,177 (-2%)
585 (-3%)
2,033 (-1%)
562 (-1%)

@charlielye mind reviewing?

authors: AztecBot ludamad


text:
feat: Use bbs sha256.

Profiling a tx I noticed ~10% of time was taken inside sha256.
Our wasm version is about 3x faster (edit: no it isn't) so seemed like an easy performance win.
Not sure it'll translate that much into a noticeable performance improvement but every little helps.
edit: NOPE. I read the data wrong, wasm is actually 3x slower. Think due the various marshalling over the wasm boundary. Might be fixable but would then prob achieve parity with js version. Not a quick win. Closing.

#5613  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @charlielye and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

l2_block_rollup_simulation_time_in_ms (8): 7,190 (-40%)
l2_block_rollup_simulation_time_in_ms (32): 24,584 (-43%)
l2_block_rollup_simulation_time_in_ms (64): 47,518 (-44%)
l2_block_public_tx_process_time_in_ms (8): 4,754 (-23%)
l2_block_public_tx_process_time_in_ms (32): 18,658 (-23%)
l2_block_public_tx_process_time_in_ms (64): 37,725 (-22%)
note_successful_decrypting_time_in_ms (8): 204 (-24%)
note_trial_decrypting_time_in_ms (8): 9.92 (-86%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 4e4f8434 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
676
676
676

l1_rollup_calldata_gas
6,424
6,412
6,400

l1_rollup_execution_gas
585,757
585,745
585,733

l2_block_processing_time_in_ms
1,305 (+1%)
4,699 (+1%)
9,800 (+6%)

note_successful_decrypting_time_in_ms
:warning: 204 (-24%)
554 (-3%)
1,018 (+8%)

note_trial_decrypting_time_in_ms
:warning: 9.92 (-86%)
65.2 (-21%)
33.4 (-49%)

l2_block_building_time_in_ms
11,985
43,369
85,489 (+1%)

l2_block_rollup_simulation_time_in_ms
:warning: 7,190 (-40%)
:warning: 24,584 (-43%)
:warning: 47,518 (-44%)

l2_block_public_tx_process_time_in_ms
:warning: 4,754 (-23%)
:warning: 18,658 (-23%)
:warning: 37,725 (-22%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,404 (+3%)
26,794 (-1%)

note_history_successful_decrypting_time_in_ms
1,185 (-9%)
2,450 (+1%)

note_history_trial_decrypting_time_in_ms
46.9 (-24%)
104 (-4%)

node_database_size_in_bytes
18,645,072
35,004,496

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
180
44,377
26,164

private-kernel-ordering
162 (+1%)
50,830
39,325

base-parity
4,160 (+6%)
128
311

root-parity
1,170 (+7%)
1,244
311

base-rollup
14,454 (+1%)
116,608
861

root-rollup
49.9 (-1%)
4,359
725

private-kernel-inner
218
71,744
26,164

public-kernel-app-logic
119 (-1%)
47,695
40,661

public-kernel-tail
162 (-1%)
53,372
13,269

merge-rollup
10.2 (+5%)
2,568
861

public-kernel-teardown
118
47,695
40,661

public-kernel-setup
117
47,695
40,661

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.0 (-1%)
16.1 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.584 (-1%)
0.498 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.8 (-1%)
72.5
231
445 (-1%)
872 (+1%)
1,732
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.470 (-1%)
0.447
0.420
0.416
0.414
0.414
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
54.2
107
340 (+1%)
660
1,308
2,625 (+1%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.479
0.480
0.462 (+1%)
0.454
0.454
0.454
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
61.3

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.534

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
40,548
501,142

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
905
1,161
1,377

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,671 (-3%)
1,083
5,403 (-1%)

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
575
435 (+7%)
1,072 (-2%)
519 (-2%)
1,752 (-2%)
582 (-3%)

Read the data wrong.

authors: AztecBot charlielye


text:
chore(CI): remove end-to-end/Earthfile

Fixes #9221

note errors in summary tab:
CI
Error when evaluating 'strategy' for job 'e2e'. .github/workflows/ci.yml (Line: 193, Col: 15): Error parsing fromJson,.github/workflows/ci.yml (Line: 193, Col: 15): Error reading JToken from JsonReader. Path '', line 0, position 0.,.github/workflows/ci.yml (Line: 193, Col: 15): Unexpected value ''

authors: ludamad spypsy


text:
Error in train.py when loading data

Describe the bug
When running the train_pipeline we encountered 2 issues:

torch and torchvision cannot be imported -> added to library.json to solve it
the training data can't be loaded (presumably in train.py)

To Reproduce
Run train_pipeline.
Additional context
Console output from Databricks cluster stderr:
IndexError                                Traceback (most recent call last)
<command--1> in <module>()
     13
     14 with open(filename, "rb") as f:
---> 15   exec(f.read())
     16

<string> in <module>()

IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number

Hi,
I have faced the same issue a while ago. I just sent a PR that may fix the issue. @jobvisser03 can you please check wether the changes on riserrad/data-collection fixes it for you or not, please?
Please check this specific change

repo: Azure-Samples/MLOpsDatabricks


text:
Azure start_continuous_recognition

Hello @glharper,
While running this piece of code.
speech_recognizer.recognizing.connect(lambda evt: print('RECOGNIZING: {}'.format(evt)))
speech_recognizer.recognized.connect(lambda evt: print('RECOGNIZED: {}'.format(evt)))

speech_recognizer.session_started.connect(lambda evt: print('SESSION STARTED: {}'.format(evt)))
speech_recognizer.session_stopped.connect(lambda evt: print('SESSION STOPPED: {}'.format(evt)))
speech_recognizer.canceled.connect(canceled_cb)

I got output like this

instead of this
RECOGNIZING: SpeechRecognitionEventArgs(session_id=a9a54e348c6e4b4a9e614b2f51200476, result=SpeechRecognitionResult(result_id=0d0c91269fea4535ae3836a93f076190, text="hello can you start speaking", reason=ResultReason.RecognizingSpeech))
C
i just only require "hello can you start speaking".
The output is printing in terminal.How to publish the terminal output into streamlit webapp ?
start_recognition = threading.Event()
stop_recognition = threading.Event()
def recognize_speech():
speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
# create a speech recognizer instance
speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config)
speech_recognizer

def canceled_cb(evt):
    try:
        result = evt.result
        if result.reason == speechsdk.ResultReason.Canceled:
            cancellation_details = result.cancellation_details
            print('CANCELED: {}'.format(cancellation_details.reason))
            if cancellation_details.reason == speechsdk.CancellationReason.Error:
                print('Error details: {}'.format(cancellation_details.error_details))
    except Exception as e:
        print(e)

# connect callbacks to events fired by the speech recognizer
speech_recognizer.recognizing.connect(lambda evt: print('RECOGNIZING: {}'.format(evt)))
speech_recognizer.recognized.connect(lambda evt: print('RECOGNIZED: {}'.format(evt)[2]))

speech_recognizer.session_started.connect(lambda evt: print('SESSION STARTED: {}'.format(evt)))
speech_recognizer.session_stopped.connect(lambda evt: print('SESSION STOPPED: {}'.format(evt)))
speech_recognizer.canceled.connect(canceled_cb)

# wait for a notification to start recognition
start_recognition.wait()

# start continuous speech recognition
speech_recognizer.start_continuous_recognition_async()

# wait for a notification to stop recognition
stop_recognition.wait()

# stop continuous speech recognition
speech_recognizer.stop_continuous_recognition_async()

if name == 'main':
thread1 = threading.Thread(target=recognize_speech)
thread1.start()
input("Press a key to start recognition...\n")
start_recognition.set()
input("Press a key to stop recognition...\n")
stop_recognition.set()
thread1.join()
Can we write seperate functions to call start_recognition and stop_recognition?

Please see below for some examples. recognize_speech() now writes into a queue and consume_results() reads from it, result contains the latest text (recognizing or recognized). Remove any prints you don't need. Call start_recognition() and stop_recognition() from where you want to start and stop. If only final recognized text is needed, remove or comment out speech_recognizer.recognizing.connect(recognizing_cb). Note that some more error handling in case of cancellation due to an error would be probably very good to have. Add/modify threads, queues, globals as necessary.
import threading
import queue

try:
    import azure.cognitiveservices.speech as speechsdk
except ImportError:
    print("""
    Importing the Speech SDK for Python failed.
    Refer to
    https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-python for
    installation instructions.
    """)
    import sys
    sys.exit(1)

# Replace with your own subscription key and service region (e.g., "westus").
speech_key, service_region = "YourSubscriptionKey", "YourServiceRegion"

# Global events to control recognition start/stop in a separate thread
event_start_recognition = threading.Event()
event_stop_recognition = threading.Event()
end_of_results = object()

def recognize_speech(out_q):
    print('ENTER recognize_speech')
    speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)

    # create a speech recognizer instance
    speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config)

    def canceled_cb(evt):
        try:
            result = evt.result
            if result.reason == speechsdk.ResultReason.Canceled:
                cancellation_details = result.cancellation_details
                print('CANCELED: {}'.format(cancellation_details.reason))
                if cancellation_details.reason == speechsdk.CancellationReason.Error:
                    print('Error details: {}'.format(cancellation_details.error_details))
        except Exception as e:
            print(e)

    def recognizing_cb(evt):
        if "RecognizingSpeech" in str(evt.result.reason):
            out_q.put(evt.result.text)

    def recognized_cb(evt):
        if "RecognizedSpeech" in str(evt.result.reason):
            out_q.put(evt.result.text)

    # connect callbacks to events fired by the speech recognizer
    speech_recognizer.recognizing.connect(recognizing_cb)
    speech_recognizer.recognized.connect(recognized_cb)
    speech_recognizer.canceled.connect(canceled_cb)

    # wait for notification to start
    event_start_recognition.wait()

    # start continuous speech recognition
    speech_recognizer.start_continuous_recognition()

    # wait for notification to stop
    event_stop_recognition.wait()

    # stop continuous speech recognition
    speech_recognizer.stop_continuous_recognition()

    # indicate end of results
    out_q.put(end_of_results)
    print('EXIT recognize_speech')

def consume_results(in_q):
    print('ENTER consume_results')
    while True:
        result = in_q.get()
        if result is end_of_results:
            in_q.put(end_of_results)
            break
        else:
            print(result)
    print('EXIT consume_results')

def start_recognition():
    event_start_recognition.set()

def stop_recognition():
    event_stop_recognition.set()

if __name__ == '__main__':
    q = queue.Queue()
    thread1 = threading.Thread(target=consume_results, args=(q, ))
    thread1.start()
    thread2 = threading.Thread(target=recognize_speech, args=(q, ))
    thread2.start()

    input("Press a key to start recognition...\n")
    start_recognition()
    input("Press a key to stop recognition...\n")
    stop_recognition()

    thread2.join()
    thread1.join()

Thanks @glharper Your code is working.I'm getting output like this.

But I only require last  line as output.
Hello, can you start recognizing something?

hello @pankopon @glharper
while Calling  start_recognition() and stop_recognition()  to start and stop.Its not working in the code.Can you please check once


text:
App crashes with error has unexpected e_machine: 40 on Android 19

Describe the bug
App crashes at creation of SpeechConfig using api SpeechConfig.fromEndpoint on Android 19
To Reproduce
Steps to reproduce the behavior:

set app minSdkVersion to 19 (as the speech sdk supports this)
integrate speech sdk into your app or any test project
make sure the speech recognizer is configured on app launch in your main activity
now on launching the app, it crashes at line SpeechConfig.fromEndpoint

Expected behavior
Ideally it should create the SpeechConfig object and return its instance
Version of the Cognitive Services Speech SDK
1.2.0
Platform, Operating System, and Programming Language

OS: Android, version 19 (i.e. 4.4 - KitKat)
Hardware - ARM
Programming language: Java
Browser [e.g. Chrome, Safari] (if applicable) - please be specific

Additional context

Error messages, log information, stack trace, …
02-07 11:27:55.012 14266-14266/com.test.android.testapp E/dalvikvm: dlopen("/data/app-lib/com.test.android.testapp-1/libMicrosoft.CognitiveServices.Speech.java.bindings.so") failed: dlopen failed: "/data/app-lib/com.test.android.testapp-1/libMicrosoft.CognitiveServices.Speech.java.bindings.so" has unexpected e_machine: 40
02-07 11:27:55.452 14266-14266/com.test.android.testapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.test.android.testapp, PID: 14266
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/com.test.android.testapp-1/libMicrosoft.CognitiveServices.Speech.java.bindings.so" has unexpected e_machine: 40
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:526)
at com.microsoft.cognitiveservices.speech.SpeechConfig.(SpeechConfig.java:65)
at com.test.android.testapp.stt.SpeechRecognizerImpl.(SpeechRecognizerImpl.java:45)
at com.test.android.testapp.stt.SpeechRecognizerImpl.Get(SpeechRecognizerImpl.java:57)
at com.test.android.testapp.stt.SpeechRecognizerFactory.initialize(SpeechRecognizerFactory.java:13)
at com.test.android.testapp.stt.SpeechRecognizerFactory.Get(SpeechRecognizerFactory.java:18)
at com.test.android.testapp.SendSMSLayoutFragment.initializeSpeechRecognizer(SendSMSLayoutFragment.java:195)
at com.test.android.testapp.SendSMSLayoutFragment.onViewCreated(SendSMSLayoutFragment.java:492)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:871)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1040)
at android.app.FragmentManagerImpl.addFragment(FragmentManager.java:1142)
at android.app.Activity.onCreateView(Activity.java:4966)
at android.support.v4.app.BaseFragmentActivityApi14.onCreateView(BaseFragmentActivityApi14.java:41)
at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:68)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.test.android.testapp.ConversationActivity.onCreate(ConversationActivity.java:226)
at android.app.Activity.performCreate(Activity.java:5411)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396)
at android.app.ActivityThread.access$800(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5257)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
at dalvik.system.NativeStart.main(Native Method)

considering the error message, I would assume your hardware ABI is not supported.
could you please provide more information about your device.
currently, the speech sdk supports these ABIs:
armeabi-v7a, arm64-v8a, x86, and x86_64
we do currently NOT support ABI
armeabi
that might be the issue in your case.
kind regards,
friedel

We have build our apk targeting armeabi-v7a only, we have another dependency library which has support for armeabi-v7a only, however the library works fine on the same device.
I tried to fetch the supported hardware abi's for the device, however I was not able to find out this info.
Will update if any clue on the same.

i can reproduce your issue.
will investigate

ok, found the reason.
problem is that api level 19 does not export some symbols that the library uses internally.
you will need an updated version.

just an update - this is not fixed in the 1.3.1 release.
we are still evaluating api level 19 for an upcoming release

please see #277
closing this one

authors: PradeepAmradi fmegen wolfma61


text:
SPXERR_SWITCH_MODE_NOT_ALLOWED

I'm trying to figure out what SPXERR_SWITCH_MODE_NOT_ALLOWED means.
I want to use the speech to text from a wav file.

Thank you, that solved it.


text:
Speech service timeout quickly and cut off dictation

Describe the bug
when using enable dictation mode, user pauses in their speech for a second or 2 which is natural, but the speech to text interprets this as being done. It should have a way to disable that so that you can just speek all text and punctuation then stop at the end.
To Reproduce
speak paragraphs with pauses where user thinks about next statement and speech recognition fires events and inserts punctuation automatically and thinks the user is finished/finishing. but they are just thinking about the next statement, or continuation of the same sentence and just thinking of what they want to say
Expected behavior
be able to just tell speech recog to not have silent detection for a timeout.
Version of the Cognitive Services Speech SDK
1.12
Platform, Operating System, and Programming Language
windows, C# project, winforms.
Additional context
no errors logged.

Please see https://stackoverflow.microsoft.com/questions/183670/ for information on configurability of the silence timeouts used by the service. Unfortunately there is currently no way to configure or disable the timeout after which a phrase is detected and a final result is generated.

Just to update, I've added a work item to our backlog, to make the timeout for phrase detection configurable if possible (it has a service dependency). We will consider it for a future release and update this issue once the work is done.

@pankopon Hi ... the stack overflow link is internal. We also want to configure the VAD to be a little more patient. We have played around different variables but it doesn't work properly for the end of speech. Here are a couple:
PropertyId.SpeechServiceResponse_RecognitionLatencyMs
PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs
PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs

we tried them all but no luck.

Was the ability to customize the silence timeout ever implemented? I haven’t been able to find it in the documentation. I created a prototype using this service and noticed this issue right away. It’s very unintuitive compared to other solutions, like Apple’s speech recognition framework, but the accuracy and performance are excellent otherwise!

Yes, you can customize the end of phrase silence timeout with the Segmentation Timeout property.
There's a writeup on silence here:
https://learn.microsoft.com/azure/cognitive-services/speech-service/how-to-recognize-speech?pivots=programming-language-csharp#change-how-silence-is-handled

Thank you! I’m surprised I didn’t come across that article. I did figure out how to change the silence timeout earlier this morning and things are working as expected now.

authors: mnich0ls omidb pankopon rdelormeCHS rhurey


text:
remove humidity sensor for crashing compiler

This sensor library is unused by ST but is causing a build break for our compilation (intermittently). Removing to prevent the random breaks.
https://github.com/Azure-Samples/iot-middleware-freertos-samples/actions/runs/4288570165/jobs/7470716793#step:11:624

Our getting started guide uses it along with the temp sensor. So can't be removed.


text:
404 on VotingWeb load, all the scripts reach a 404 error.

I launched this and then tried to navigate to http://localhost:19081/Voting/VotingWeb, something looked wrong so when inspecting the console all the scripts are trying to load from http://localhost:19081/... which isn't correct.

I didn't understand that I am simply looking to navigate to localhost.


text:
Catch certain incompatible configurations in the UI

Describe the solution you'd like
I would like to have the deploy helper flag if certain incompatible configuration choices are made - an example would be choosing B2s nodes sizes and also choosing ephemeral OS disks.
Describe alternatives you've considered
The alternative is have ARM catch this at deploy time.
Additional context

I think this is a duplicate of #383 which was fixed by #412
We just need to do a release to get this out there.

0.9.0 and the helper release should fix this

authors: Gordonby liamfoneill

repo: Azure/AKS-Construction