text:
Manually Import Model Files?

Hello could a feature be added to allow importation of a .th Demucs model file from a local directory please?
Not a code-warrior, so I would appreciate an option to import model files manually from my hard drive.

I like this idea too. I've wanted an option to add my own models without issues

Importing your own models is very possible in UVR. For Demucs, only custom v3 and v4 models can be imported. You will need to create a .yaml for them and reference the models accordingly.

Importing your own models is very possible in UVR. For Demucs, only custom v3 and v4 models can be imported. You will need to create a .yaml for them and reference the models accordingly.

Importing your own models is very possible in UVR. For Demucs, only custom v3 and v4 models can be imported. You will need to create a .yaml for them and reference the models accordingly.

How does one create a .yaml file and correlate it to the .th file so that UVR recognizes them as a pair?
And then would the model show up in UVR automatically after relaunch, under one of the Demucs categories?
Very specific directions appreciated. Thank you :)

Importing your own models is very possible in UVR. For Demucs, only custom v3 and v4 models can be imported. You will need to create a .yaml for them and reference the models accordingly.

How does one create a .yaml file and correlate it to the .th file so that UVR recognizes them as a pair?
And then would the model show up in UVR automatically after relaunch, under one of the Demucs categories?
Very specific directions appreciated. Thank you :)

Here's an example:

Download and rename this file and use it as a template as a template yaml file
Change the yaml file name to whatever you want (obviously keep the .yaml)
Edit the yaml file to reference your Demucs model.

Example: Change the "955717e8" in the yaml to the name of the .th model you wish to associate with it.
models: ['955717e8']

Make sure the yaml and .th model are in the following directory - models/Demucs_Models/v3_v4_models

Thank you, this process worked! UVR found the model and was able to begin the separation process.
However an error occurs straight away, "bag_num" not defined. I am sure there may be subsequent errors that need troubleshooting to get this to work; is there an email I can contact you at for a little bit of guidance through any errors that may pop up?

authors: Anjok07 Dyslexicon sabaasa


text:
🛑 AnnAngela.cn is down

In d650034, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in 63de86a.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
✨: Create issue forms for respective buttons

Is your feature request related to a problem? Please describe.
Currently, we lack issue forms which is kinda crucial in making the whole process of raising an issue smooth for newbie contributors
Describe the solution you'd like

Describe alternatives you've considered
NULL
Additional context
Add any other context or screenshots about the feature request here.

this actually makes sense, thanks for this idea.
if you have the template ready can you raise a PR for this?

@Ansub yes will be raising one shortly.

@dakshsinghrathore This is pretty cool

@dakshsinghrathore Can you still upload photos in the forms?

Yes @epoll31 check this out

That's neat! I didn't realize those were md fields.

@epoll31 github recently added this feature, do give it a read.

#72

Merged PR #72

authors: Ansub dakshsinghrathore epoll31

repo: Ansub/SyntaxUI


text:
Bug: Can't load ESM module in Node.js

Environment:

Node v16.3.0
npm v7.10.0

What I did
Tried to load the plugin in an ESM file like this:
import figuresPlugin from "markdown-it-image-figures";

What happened
Got the following error:
import figuresPlugin from "markdown-it-image-figures";
       ^^^^^^^^^^^^^
SyntaxError: The requested module 'markdown-it-image-figures' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:121:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:171:5)
    at async Loader.import (node:internal/modules/esm/loader:178:24)
    at async Object.loadESM (node:internal/process/esm_loader:68:5)

Notes
From looking through the dist folder locally, it appears that all of the generated files that should be ESM are actually CommonJS, including the ones marked as .module.js and .mjs. I'm guessing this has something to do with microbundle.

Has been released as 2.0.2, @nzakas could you double-check on your end?

Confirmed! This fixes the issue. Thanks so much.

Thanks for confirming! Closing this!

authors: Antonio-Laguna nzakas


text:
Feature/background color

Add ability to enable/disable the background fog
If fog is disabled then default background color is set based on your theme.
Background color can be customized using a hex value eg. #3c3c3c if fog is disabled

Thanks for your contribution, i think we need to add to the setup flow too, not just environment variables, I can work on this in a few weeks, if you dont have time.

I added it in the setup also. please take a good look since I'm rusty on js/html

the setup looks good, one issue though:
default behaviour has now changed fog is now disabled by default, consider calling the flag disable fog, at least internally.
this will change behaviour for people who auto update with docker.

I added it as a "migration" method in IndexService. Can be moved to a separate migration service if needed

looks good will merge soon, just a minor suggestion but doesn't matter.

source: gharchive/pull-request

authors: AntonyLeons nicandris

repo: AntonyLeons/Ward


text:
[GSSOC' 23 ]  HOVERING IS NOT WORKING FOR TWO BUTTONS

I  am an Open source Contributor
DESCRIPTION:-
The hovering effect of the Instagram and LinkedIn icons  aren't working in the site so please give me an opportunity to correct those and also I would like to change the ui a bit to make it more impressive.

I CAN FIX THIS AND MAKE THIS MORE GOOD WITH GOOD ICONS
CODE OF CONDUCT
-I Follow Contributing Guidelines of this project

Hello, I already worked on a food recipe app, so I'm good to handle this issue. please assign me this issue.
I'm GSSOC'23 contributor.


text:
Fixed #1

feat : added requirements.txt and .gitignore files
fix : removed .idea file as it is specific to pycharm configs

Minor Bug Detected. Will resend after fixing that.


text:
【紧急】虚拟机安装Apollo开发环境-构建失败-[ERROR] Build failed!

vmware虚拟机安装apollo3.5 失败，，拉取Apollo源代码成功，docker安装成功，docker内apollo镜像拉去成功，之后编译失败。安装指导文件参考的是“ https://www.cnblogs.com/iors/p/10862713.html”

该错误是由于内存不足引起的。你有一个至少8 GB可用内存的系统吗？ @fenghongjian

ok  ，thank you。

@fenghongjian you are very welcome. Closing this issue currently

authors: fenghongjian natashadsouza

repo: ApolloAuto/apollo

license_source: bigquery


text:
Impressive

Your bot is so impressive!!  It really helped me get to the leader place!!!

That's pretty nice. I guess Terminators aren't so bad after all.

I hope you will add the auto-split feature/ option. It will be a lot better.

I had one hit 6k score. Got no screen sadly. :(

Little sneak peak of what I'll be working on today: ![http://i.imgur.com/x9crfEF.png]

ragegaming.net/Screenshots/2015-07-11_12-38-27.mp4

18k eh

I've showed this numerous amount of times. But it's pretty sweet. 5 hours. Did it while I was asleep.

If I've seen this before, I probably wasn't looking at those numbers. :D

xD

authors: Apostolique KickingRG laxika marcocc

license: mit


text:
Agario update

I think agar updated today, and this brilliant bot no longer works. I have been using it for a few weeks now and it always amazes me how well it did. Could someone please fix it so it works again? Please?

Refer to #616.


text:
Appscale dashboard cron page

Hi!
I implemented basic system to view/run cron jobs from Appscale dashboard. It looks like this:

What do you think about it?
I still have one issue about how to give an access to /etc/cron.d/ and /var/apps/ directories for appscaledashboard application. I did this through by modifying the file
AppServer/google/appengine/tools/devappserver2/python/sandbox.py.
Peter

Hi! I made changes regarding:

not used method
parsing 7-elems cron entries (changes reverted)
2 new tests for 4-elems cron entries.

About cron parser implementation. I think default Appscale implementation is definitely better because when we consider the schedule like "every 30 minutes from 6:45 to 7:50" we would usually expect cron job will be executed at 6.45, 7.15 and 7.45.
Anyway one possible improvement can be done 7-elems cron entries. That is instead of creating separate cron entry for the same minutes but different hours we can use only one cron entry.
For example:
30,35,40,45,50,55 1 * * *
0,5,10,15,20,25,30,35,40,45,50,55 2 * * *
0,5,10,15,20,25,30,35,40,45,50,55 3 * * *
0,5,10,15,20,25,30,35,40,45,50,55 4 * * *
0 5 * * *
can be replaced with
30,35,40,45,50,55 1 * * *
0,5,10,15,20,25,30,35,40,45,50,55 2-4 * * *
0 5 * * *

Hi! Yeah, actually compressing should be done carefully. I think about different one commit. Maybe not even this PR. Is that ok?

Of course! More PRs are always welcome. :)
I will start a build for this branch.

https://ocd.appscale.com:8080/job/Daily Build/2387/

@RaiaN Thank you for your contribution! :)
P.S. Feel free to reach out with more ideas or questions.

authors: RaiaN cdonati menivaitsi

repo: AppScale/appscale


text:
Sporadic "key not found errors" in reaching def pass

We need a solution or a workaround for this exception. So far, tried adding JAVA_OPTS to increase heap memory which didn't work. Merely running parsedeps command against a repo like scipy or requests is enough to replicate this.
atom parsedeps -l python -o /tmp/atom-deps-sIUOi7/app.atom --slice-outfile /tmp/atom-deps-sIUOi7/slices.json /home/almalinux/work/sandbox/scipy -Dlog4j.configurationFile=/tmp/atom-deps-sIUOi7/log4j2.xml

Data-flow overlay is not detected, applying now
Failure: java.util.NoSuchElementException: key not found: io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; id=2346266]
 2023-06-11 00:02:29.712 ERROR CpgPassBase: Pass io.joern.dataflowengineoss.passes.reachingdef.ReachingDefPass failed
java.util.NoSuchElementException: java.util.NoSuchElementException: key not found: io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; id=2346266]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
	at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:562) ~[?:?]
	at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:591) ~[?:?]
	at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:689) ~[?:?]
	at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:927) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) ~[?:?]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:693) ~[?:?]
	at io.shiftleft.passes.NewStyleCpgPassBase.runWithBuilder(CpgPass.scala:152) ~[io.shiftleft.codepropertygraph_3-1.3.600.jar:1.3.600]
	at io.shiftleft.passes.ForkJoinParallelCpgPass.createApplySerializeAndStore(CpgPass.scala:74) ~[io.shiftleft.codepropertygraph_3-1.3.600.jar:1.3.600]
	at io.shiftleft.semanticcpg.layers.LayerCreator.runPass(LayerCreator.scala:53) ~[io.joern.semanticcpg_3-1.1.1742.jar:1.1.1742]
	at io.joern.dataflowengineoss.layers.dataflows.OssDataFlow.create$$anonfun$1(OssDataFlow.scala:31) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) ~[org.scala-lang.scala3-library_3-3.3.0.jar:3.3.0]
	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) ~[org.scala-lang.scala3-library_3-3.3.0.jar:3.3.0]
	at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1300) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.joern.dataflowengineoss.layers.dataflows.OssDataFlow.create(OssDataFlow.scala:32) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at io.shiftleft.semanticcpg.layers.LayerCreator.run(LayerCreator.scala:32) ~[io.joern.semanticcpg_3-1.1.1742.jar:1.1.1742]
	at io.appthreat.atom.parsedeps.package$.parseDependencies(package.scala:32) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at io.appthreat.atom.Atom$.generateSlice$$anonfun$2(Atom.scala:250) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at scala.util.Using$.resource(Using.scala:261) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.appthreat.atom.Atom$.generateSlice(Atom.scala:250) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at io.appthreat.atom.Atom$.run$$anonfun$1$$anonfun$1$$anonfun$1(Atom.scala:114) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at scala.util.Either.flatMap(Either.scala:352) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.appthreat.atom.Atom$.run$$anonfun$1$$anonfun$1(Atom.scala:115) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at scala.util.Either.flatMap(Either.scala:352) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.appthreat.atom.Atom$.run$$anonfun$1(Atom.scala:115) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at scala.util.Either.flatMap(Either.scala:352) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.appthreat.atom.Atom$.run(Atom.scala:115) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at io.appthreat.atom.Atom$.run(Atom.scala:99) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at io.appthreat.atom.Atom$.main(Atom.scala:55) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
	at io.appthreat.atom.Atom.main(Atom.scala) ~[io.appthreat.atom-1.0.0.jar:1.0.0]
Caused by: java.util.NoSuchElementException: key not found: io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; id=2346266]
	at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:635) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:633) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at scala.collection.immutable.HashMap.apply(HashMap.scala:132) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.joern.dataflowengineoss.passes.reachingdef.ReachingDefFlowGraph.pred(ReachingDefProblem.scala:72) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at io.joern.dataflowengineoss.passes.reachingdef.ReachingDefFlowGraph.pred(ReachingDefProblem.scala:71) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at io.joern.dataflowengineoss.passes.reachingdef.DataFlowSolver.$anonfun$1(DataFlowSolver.scala:20) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:118) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:105) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at scala.collection.mutable.ListBuffer.flatMap(ListBuffer.scala:39) ~[org.scala-lang.scala-library-2.13.10.jar:?]
	at io.joern.dataflowengineoss.passes.reachingdef.DataFlowSolver.calculateMopSolutionForwards(DataFlowSolver.scala:33) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at io.joern.dataflowengineoss.passes.reachingdef.ReachingDefPass.runOnPart(ReachingDefPass.scala:31) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at io.joern.dataflowengineoss.passes.reachingdef.ReachingDefPass.runOnPart(ReachingDefPass.scala:23) ~[io.joern.dataflowengineoss_3-1.1.1742.jar:1.1.1742]
	at io.shiftleft.passes.NewStyleCpgPassBase$$anon$2.accept(CpgPass.scala:147) ~[io.shiftleft.codepropertygraph_3-1.3.600.jar:1.3.600]
	at io.shiftleft.passes.NewStyleCpgPassBase$$anon$2.accept(CpgPass.scala:146) ~[io.shiftleft.codepropertygraph_3-1.3.600.jar:1.3.600]
	at java.util.stream.ReduceOps$4ReducingSink.accept(ReduceOps.java:220) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:960) ~[?:?]
	at java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:934) ~[?:?]
	at java.util.stream.AbstractTask.compute(AbstractTask.java:327) ~[?:?]
	at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

cc: @mpollmeier

Added a temporary working by adding custom passes that set queue length to 1

repo: AppThreat/atom


text:
Pin click==8.0.4

See: https://github.com/psf/black/issues/2964#issuecomment-1080971383.
This is also the version we pin click to in applied2.
Seeing this error without click pinned
Traceback (most recent call last):
  File "/home/young/.local/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/home/young/.local/lib/python3.8/site-packages/black/__init__.py", line 6609, in patched_main
    patch_click()
  File "/home/young/.local/lib/python3.8/site-packages/black/__init__.py", line 6598, in patch_click
    from click import _unicodefun  # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/young/.local/lib/python3.8/site-packages/click/__init__.py)

Does this give substantially better UX than say pip install click==8.0.4? We're working on removing our dependency on this fork and favor of using vanilla black and would rather avoid touching this unless necessary.

we're deprecating this fork soon anyway, so closing this

authors: jl-applied youngxguo

repo: AppliedIntuition/black


text:
Couldn't get BlueALSA PCM list: Rejected send message

Hello.
I'm brand new to the world of Bluetooth, and I hope you can point what I (probably) did wrong.
I have my Jabra headset paired to my computer.
I set up my /etc/asound.conf
pcm.btheadset {
   type plug
   slave {
       pcm {
           type bluealsa
           device 30:50:75:43:F4:AE
           profile "a2dp"
       }
   }
   hint {
       show on
       description "BT Headset"
   }
}

Then I run bluealsa ...
% sudo src/bluealsa
src/bluealsa: D: ../../src/bluez.c:497: Creating media endpoint object: /org/bluez/hci0/A2DP/SBC/Source/1
src/bluealsa: D: ../../src/bluez.c:413: Registering media endpoint: /org/bluez/hci0/A2DP/SBC/Source/1
src/bluealsa: D: ../../src/bluez.c:497: Creating media endpoint object: /org/bluez/hci0/A2DP/SBC/Source/2
src/bluealsa: D: ../../src/bluez.c:413: Registering media endpoint: /org/bluez/hci0/A2DP/SBC/Source/2
src/bluealsa: D: ../../src/bluez.c:792: Creating hands-free profile object: /org/bluez/HSP/AudioGateway
src/bluealsa: D: ../../src/bluez.c:726: Registering hands-free profile: /org/bluez/HSP/AudioGateway
src/bluealsa: D: ../../src/bluez.c:792: Creating hands-free profile object: /org/bluez/HFP/AudioGateway
src/bluealsa: D: ../../src/bluez.c:726: Registering hands-free profile: /org/bluez/HFP/AudioGateway
src/bluealsa: D: ../../src/main.c:396: Acquiring D-Bus service name: org.bluealsa
src/bluealsa: D: ../../src/main.c:401: Starting main dispatching loop

But none of the tools are succeeding.
% amixer -D bluealsa
ALSA lib ../../../src/asound/bluealsa-ctl.c:972:(_snd_ctl_bluealsa_open) Couldn't get BlueALSA PCM list: Rejected send message, 1 matched rules; type="method_call", sender=":1.186" (uid=1000 pid=23605 comm="amixer -D bluealsa ") interface="org.bluealsa.Manager1" member="GetPCMs" error name="(unset)" requested_reply="0" destination="org.bluealsa" (uid=0 pid=22707 comm="src/bluealsa ")
amixer: Mixer attach bluealsa error: No such device

Can you give me a push?

OK, I think I found my first mistake.  I had to be running bluealso before I paired the headphones.  Now I run bluealsa and I have this:
src/bluealsa: D: ../../src/dbus.c:59: Called: org.bluez.Profile1.NewConnection() on /org/bluez/HFP/AudioGateway
src/bluealsa: D: ../../src/ba-rfcomm.c:1285: Created new RFCOMM thread [ba-rfcomm]: HFP Audio Gateway (CVSD)
src/bluealsa: D: ../../src/ba-rfcomm.c:901: Starting RFCOMM loop: HFP Audio Gateway (CVSD)
src/bluealsa: D: ../../src/bluez.c:616: HFP Audio Gateway (CVSD) configured for device 30:50:75:43:F4:AE
src/bluealsa: D: ../../src/ba-transport.c:669: Starting transport: HFP Audio Gateway (CVSD)
src/bluealsa: D: ../../src/sco.c:245: IO loop: START: sco_thread: HFP Audio Gateway (CVSD)
src/bluealsa: D: ../../src/ba-transport.c:1043: Created new transport thread [ba-sco]: HFP Audio Gateway (CVSD)
src/bluealsa: D: ../../src/at.c:161: AT message: SET: command:+BRSF, value:923
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:+BRSF, value:2272
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/ba-rfcomm.c:126: RFCOMM: HFP Audio Gateway (CVSD) state transition: 0 -> 2
src/bluealsa: D: ../../src/at.c:161: AT message: TEST: command:+CIND, value:(null)
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:+CIND, value:("service",(0-1)),("call",(0,1)),("callsetup",(0-3)),("callheld",(0-2)),("signal",(0-5)),("roam",(0-1)),("battchg",(0-5))
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/ba-rfcomm.c:126: RFCOMM: HFP Audio Gateway (CVSD) state transition: 2 -> 5
src/bluealsa: D: ../../src/at.c:161: AT message: GET: command:+CIND, value:(null)
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:+CIND, value:0,0,0,0,0,0,5
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/ba-rfcomm.c:126: RFCOMM: HFP Audio Gateway (CVSD) state transition: 5 -> 7
src/bluealsa: D: ../../src/at.c:161: AT message: SET: command:+CMER, value:3, 0, 0, 1
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/ba-rfcomm.c:126: RFCOMM: HFP Audio Gateway (CVSD) state transition: 7 -> 8
src/bluealsa: D: ../../src/ba-rfcomm.c:126: RFCOMM: HFP Audio Gateway (CVSD) state transition: 8 -> 9
src/bluealsa: D: ../../src/at.c:161: AT message: SET: command:+VGS, value:07
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/at.c:161: AT message: SET: command:+VGM, value:09
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/at.c:161: AT message: SET: command:+XAPL, value:0B0E-BABE-0123,14
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:+XAPL=BlueALSA,6
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/at.c:161: AT message: GET: command:+BTRH, value:(null)
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/at.c:161: AT message: SET: command:+BIA, value:0,1,1,1,0,0,0,0
src/bluealsa: D: ../../src/ba-rfcomm.c:107: Sending AT message: RESP: command:(null), value:OK
src/bluealsa: D: ../../src/dbus.c:59: Called: org.bluez.MediaEndpoint1.SelectConfiguration() on /org/bluez/hci0/A2DP/SBC/Source/1
src/bluealsa: D: ../../src/bluez.c:922: Signal: org.freedesktop.DBus.ObjectManager.InterfacesAdded()
src/bluealsa: D: ../../src/dbus.c:59: Called: org.bluez.MediaEndpoint1.SetConfiguration() on /org/bluez/hci0/A2DP/SBC/Source/1
src/bluealsa: D: ../../src/a2dp.c:723: Selected A2DP SBC bit-pool range: [2, 53]
src/bluealsa: D: ../../src/bluez.c:298: A2DP Source (SBC) configured for device 30:50:75:43:F4:AE
src/bluealsa: D: ../../src/bluez.c:301: Configuration: channels: 2, sampling: 48000
src/bluealsa: D: ../../src/bluez.c:1110: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: Delay

but I'm still having no luck with
% amixer -D bluealsa
ALSA lib ../../../src/asound/bluealsa-ctl.c:972:(_snd_ctl_bluealsa_open) Couldn't get BlueALSA PCM list: Rejected send message, 1 matched rules; type="method_call", sender=":1.202" (uid=1000 pid=25588 comm="amixer -D bluealsa ") interface="org.bluealsa.Manager1" member="GetPCMs" error name="(unset)" requested_reply="0" destination="org.bluealsa" (uid=0 pid=22707 comm="src/bluealsa ")
amixer: Mixer attach bluealsa error: No such device

Rejected send message, 1 matched rules

This is a message from D-Bus daemon which have its own ACL system (other than UNIX's DAC). You need properly configured /etc/dbus-1/system.d/bluealsa.conf file (assuming that on your distro this config file is in that location). By default only root and user in the audio group are allowed to connect with bluealsa service.

You're right ... things work fine for root so it must be a permission error.
However, my user is in the audio group, so I'm not sure what the next step is.
% groups
hymie root disk lp floppy dialout audio video cdrom netdev scanner vboxusers

=====
I (think I) figured it out.  Even though my groups listing includes "audio" , I'm not listed in /etc/group in the "audio" group.  Once I did that, things are working.
Thank you for the help!

repo: Arkq/bluez-alsa


text:
undefined reference to "make_timeout_time_ms"

please

This can be fixed by adding including "pico/time.h" in  src/lorawan.c
diff --git a/src/lorawan.c b/src/lorawan.c
index 9e4cec3..dc24e60 100644
--- a/src/lorawan.c
+++ b/src/lorawan.c
@@ -28,6 +28,7 @@
 #include <string.h>

 #include "pico/lorawan.h"
+#include "pico/time.h"

 #include "board.h"
 #include "rtc-board.h"

@lingmaple did you get a changes to try @jerryneedell's suggestion above (https://github.com/ArmDeveloperEcosystem/lorawan-library-for-pico/issues/34#issuecomment-1494472699) ?

authors: jerryneedell lingmaple sandeepmistry


text:
开发的时候编译慢

[1]  DONE  Compiled successfully in 18193ms11:51:49
[1]
[1] No type errors found
[1] Version: typescript 3.5.2
[1] Time: 12408ms
为啥修改一个要这么慢,10s-20s

重新编译10几秒正常呀，而且基本上可以hot-load，没事重新编译干啥呢

是hot-reload慢么 还是？ hot-reload慢的话 我可以最近找时间研究研究

是hot-reload慢么 还是？ hot-reload慢的话 我可以最近找时间研究研究

是hot-reload，i7的pc，测试过2台机器都如此。
想跟进各个模块看统计时间，发现还要跟到源码，暂时就没看了。

好 我找时间看看

@cjz9032 你再试试 现在应该快不少 估计平均只要2-5s？

@cjz9032 如果没什么别的问题就自己关掉这个issue吧

@cjz9032 如果没什么别的问题就自己关掉这个issue吧

三克油,因为太匆忙了,一直没看到这里~~~

authors: Armour cjz9032 tyzero

repo: Armour/vue-typescript-admin-template


text:
Design UI/UX

Design the user interface of our application

Designed and uploaded the document containing the main page #21

Uploaded finished prototype for the chat view.


text:
Stauffer branch

read. me transfer

README versions merged
further edits and refinement necessary.


text:
Generer UTM vector tile sets for alle koder

Se https://www.gdal.org/drv_mvt.html

TILING_SCHEME=crs,tile_origin_upper_left_x,tile_origin_upper_left_y, tile_dimension_zoom_0: Define a custom tiling scheme with a CRS (typically given as EPSG:XXXX), the coordinates of the upper-left corner of the upper-left tile (0,0) in the CRS, and the dimension of the tile at zoom level 0. Only available for FORMAT=DIRECTORY. The standard WebMercator tiling scheme would be defined by "EPSG:3857,-20037508.343,20037508.343,40075016.686". A tiling scheme for WGS84 geodetic could be "EPSG:4326,-180,180,360". The tiling scheme for Finnish ETRS-TM35FIN (EPSG:3067) is "EPSG:3067,-548576,8388608,2097152". When using such as custom tiling scheme, the 'crs', 'tile_origin_upper_left_x', 'tile_origin_upper_left_y' and 'tile_dimension_zoom_0' entries are added to the metadata.json, and are honoured by the OGR MVT reader.

MVT i gdal trenger versjon > 2.3. Ikke så lett å finne binaries for dette for windows. Osgeo4W har p.t. 2.2.4

Ikke så lett å finne binaries for dette for windows.

Gå til GDAL hjemmeside og klikk på Download.  Da får du lenker for nedlasting av ferdigkompilerte binærfiler til Windows.
Jeg bygde på linux og det var heller ikke vanskelig:
./configure
make

De har en rimelig grei beskrivelse for Windows også på https://trac.osgeo.org/gdal/wiki/BuildingOnWindows

Klart for testing:
https://test.artsdatabanken.no/data/25833/

Er det enkelt å få disse med koder etter samme mal som ellers, med ett prefiks i hver fil?
NA, BS, MI, AO...

Ser ut som noe har feilet ved bygging eller overføring for det ligger bare fra A til BS_7SN-SN der.. resten av alfabetet mangler.

Vi skal i grunnen bare bytte ut tippecanoe med gdal (https://github.com/Artsdatabanken/grunnkart-dataflyt/blob/master/bin/export/02_createAllMbtiles.bat), så det bør gå fort.
Filene mangler fordi det bare opprettet tiles for de 1000 første kodene.

authors: bjornreppen jarped

repo: Artsdatabanken/grunnkart-dataflyt


text:
Coverbilder på nin-typer

Coverage decreased (-0.1%) to 30.926% when pulling a192e11063bcac8daa0185b14a46aca60d132337 on bjornreppen:nin-foto into 7bf8cb87ee09482ec4ec7c178cae19a41f89ba62 on Artsdatabanken:master.

authors: bjornreppen coveralls

repo: Artsdatabanken/ratatouille


text:
Nice rat

https://www.virustotal.com/gui/file/4d426e3e4f35223ed1b73d8ec6ae1d9d1c83bbdd0ec5a6c0b6e1495ab97b1182

ofc the virus is gonna triggered by unauthorized software? get some knowledge of files and how it works before posting this ss

can't see anywhere it's our file so keep on making fake bs

can't see anywhere it's our file so keep on making fake bs

I FUCKING SENT THE LINK, HOW RETARDED ARE YOU?
AND I KNOW FILES, I CODE PY ASWELL.

Bro its not malware lol pyinstaller use hook methods to make python runtime run the code without install python xD

repo: AsjadOooO/Zero-attacker


text:
Handle Validation onBlur

Hi, do you have any advice on how to handle validation onBlur with this library?
I was thinking of a workaround with handling onBlur myself and then doing something like SetFocussedField("email"), and checking that before showing the validation message. But probably it could be done in a nicer way.
I'm willing to make a PR if this is a feature that more people would like :)

The library itself does not provide yet a onBlur handler, we recommend bringing your own handler for now.
That is interesting to have indeed, we didn't had this use case before (of keeping the focused field state).
probably something like?
<Form etc>
 ...({ focusedField: FormParams.fields, setFocusedField: FormParams.fields => unit, handleChange } => {
 })
</Form>

Yeah, I think focusedField could work. It would let the user decide themselves what they want to do with that info.
My use-case is only showing the validation message if there is an error and the user is already done with the input (not focused anymore).
I'll see if I can set something up soon.

I just came across this exact use case also @happylinks!
I also want my user to be able to lose focus of an email field before they're attacked by an error message, because their first keystroke will trigger that error regardless.

My thought-solution was decoupling validation from onChange but this way is probably more elegant.

This is now released in 5.1.1-beta.6. Closing this issue :)

authors: MarcelCutts grsabreu happylinks

repo: Astrocoders/reform


text:
Scary ReagentDispencer Transfer

Описание PR
Солюшн контейнеры в раздатчике химикатов имеют неограниченный запас реагентов.
Так-как в раздатчик химикатов можно запихнуть солюшен контейнер с любым реагентом - раздатчик химикатов позволит получить любой реагент в неограниченном количестве.
Будут ли это обузить? Конечно да.
Плохо-ли это? Я так не думаю.
Изменения
:cl:

tweak: Раздатчик химикатов делает страшные вещи.

я сути не понял, что за страшные вещи

authors: dttric yglop


text:
Has anyone begun work to implement support for 4.0.1?  Especially for the CMS Final rule?

Do you want to request a feature, report a bug, or improve documentation?
If you are reporting a bug?
What is the current behavior?
What is the expected behavior?
What are the steps to reproduce?
What OS are you using and what version of node.js and @asymmetrik/node-fhir-server-core are you running?

Not that I know of. Do you have documentation on the CMD Final rule I could check out?

High-level details are here: https://www.cms.gov/Regulations-and-Guidance/Guidance/Interoperability/index
Links to specs are about 1/3 of the way down the page.

I would like to follow up on this. Is there any planned support for FHIR 4.0.1?

No answer means this should eventually be forked, in order to support 4.0.1

I opened https://github.com/Asymmetrik/node-fhir-server-core/pull/303 for this

4.0.1 support has been added

authors: hank-lenzi luan-dev matthewjcable mgramigna zeevosec

repo: Asymmetrik/node-fhir-server-core


text:
Adding Leadership Society's Enterprise Hackathon

I'm one of the organisers for Leadership Society's Enterprise Hackathon (based in Newcastle University), and we're hosting our Regional Enterprise Hackthon soon. Let me know if there's anything I need to change!

Everything looks find, so i'll merge in now!

repo: Athons/wiki


text:
Minor update of documentation for Translatable

Update Translatable documentation to warn users of performance cap.
https://github.com/Atlantic18/DoctrineExtensions/issues/1502#issuecomment-171011176
https://github.com/Atlantic18/DoctrineExtensions/issues/860#issuecomment-26154908

well, there are many users who use it in production for larger projects. the point is that by default translatable casts foreign key to string (which is not optimal if you have integer). in that case optimization is to override the mapping of and change the field to integer.
It could mention instead that it may handle optimally up to million row tables with certain optimizations like using personal translations or overriding mapping of foreign key to prevent casting in database.

@l3pp4rd not millions. 50k of translation rows is enough for performance cap mentioned in #1512

yes, but it mentions exactly that, you need to modify the type of foreignKey to improve the performance.

Have fun with blazing speed of your DB queries. (In some cases we have accelerated our queries in more than 500 times: 130 milliseconds instead of 72 seconds)

So it is capable to handle big row size if the foreignKey is of correct type in order to prevent casting. That should mention it and point to that issue in order to update metadata for this column.
If we would say that it is capable to handle only small sets of data, that would not be true, because you can apply this optimization.

Hello, and thank you for your contribution.
In the interest of spring cleaning and package modernization, I'm going through and closing old issues and pull requests that have had no recent activity, do not have associated tests, or have failing tests.
If you are still experiencing this issue or wish to contribute an up-to-date pull request, please create a new issue.
Thank you!

authors: AkenRoberts TriAnMan l3pp4rd svgrafov


text:
[Feature] 1.21 Compatibility?

Describe the solution you'd like
I am looking to see if this mod will be updated to 1.21.

From Minecraft 1.21+, I separated the mod project.

WTHIT

curseforge: https://www.curseforge.com/minecraft/mc-mods/your-reputation-wthit
modrinth: https://modrinth.com/mod/your-reputation-wthit

Jade

curseforge: https://www.curseforge.com/minecraft/mc-mods/your-reputation-jade
modrinth: https://modrinth.com/mod/your-reputation-jade

From Minecraft 1.21+, I separated the mod project.

WTHIT

curseforge: https://www.curseforge.com/minecraft/mc-mods/your-reputation-wthit
modrinth: https://modrinth.com/mod/your-reputation-wthit

Jade

curseforge: https://www.curseforge.com/minecraft/mc-mods/your-reputation-jade
modrinth: https://modrinth.com/mod/your-reputation-jade

This is due to issues #33 #34 .

I do apologize for seeing this only now. Thank you for the update!

authors: Aton-Kish Etanarvazac

repo: Aton-Kish/your-reputation


text:
Oscillator only plays for a short time then stops in a physical device

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
I've tried writing a very simple Oscillator that just plays a certain frequency. It's working on the emulator but once I deployed it to a my iPhone (12 mini, iOS version 17.4.1) it just plays for a short while but then stops (about 1 second). I've tried checking whether the Oscillator really started using isStarted but it prints out true.
Is there any configuration settings that I need to setup beforehand? I'm fairly new to AudioKit (and swift in general), was hoping someone can point me in the right direction. Here's my code:
public class HertzPlugin:CAPPlugin {
    let engine = AudioEngine()
    let oscillator = Oscillator()

    @objc func play(_ call: CAPPluginCall) {
        AudioKit.Settings.enableLogging = true
        let frequency = call.getFloat("value", 0)
        oscillator.stop()

        oscillator.frequency = frequency
        oscillator.amplitude = 1.0

        engine.output = oscillator
        do {
            try engine.start()

        } catch let err {
            print("error")
            Log(err)
        }
        print("playing...")
        oscillator.start()
        print("played \(oscillator.isStarted)") // always returns true
        call.resolve(["value": frequency])
    }

    @objc func stop(_ call: CAPPluginCall) {
        if (oscillator.isStarted == true) {
            oscillator.stop()
            engine.stop()
        }
        call.resolve()
    }
}

I'm running this using an M2 Macbook Air, MacOs Sonoma 14.4.1
Crash Logs, Screenshots or Other Attachments (if applicable)
No response

Try out the Cookbook Oscillator example and see if it is giving you the same issue. https://github.com/AudioKit/Cookbook
My guess is that you need to set the AVAudioSession category in your main app file like this:
init() {
#if os(iOS)
        do {
            Settings.bufferLength = .medium
            try AVAudioSession.sharedInstance().setPreferredIOBufferDuration(Settings.bufferLength.duration)
            try AVAudioSession.sharedInstance().setCategory(.playback,
                                                            options: [.mixWithOthers, .allowBluetoothA2DP])
            try AVAudioSession.sharedInstance().setActive(true)
        } catch let err {
            print(err)
        }
#endif
    }

That worked really well! Closing this issue. Thanks for the help! Is the Cookbook the official place where to find all the necessary information regarding AudioKit? I'm very new to all of this, and I'm having trouble navigating the documentation. I don't even know how to run the Cookbook, any suggestions on where absolute beginners like me should start?

The Cookbook showcases most of the various pieces of AudioKit and how to implement them. I started learning AudioKit with the Cookbook. You can download the project from GitHub and run it like any other Xcode project (unless you’re getting some weird compiler errors). You can also find some tutorials on YouTube that should help in going up the AudioKit learning curve.On May 4, 2024, at 11:11 PM, yev @.***> wrote:
That worked really well! Closing this issue. Thanks for the help! Is the Cookbook the official place where to find all the necessary information regarding AudioKit? I'm very new to all of this, and I'm having trouble navigating the documentation. I don't even know how to run the Cookbook, any suggestions on where absolute beginners like me should start?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

authors: NickCulbertson vycoder

repo: AudioKit/AudioKit


text:
Remove PDFs

The amount of PDFs greatly bloats the size of the repository unnecessarily, especially since these resources can be accessed from NTULearn anyway.

ok nigga

well played

authors: cadzchua nonnoxer yuurraa

repo: AudricY/dscc-hub


text:
Feedback

Hey all -- wasn't sure where the best place to put this was, so figured I'd just open up an issue!
I spent 30 minutes playing around with Augur today and wanted to share some high level feedback from a first time user. First thing I want to say is: wow! This has come a long way. The UI is beautiful, the sections make sense, the interface feels snappy and exciting. Amazing work!
Some smaller nits:

They distinction between Buy/Sell is confusing. On this trade page, I am very confused about how to bet "No", I do not think they will win the championship. I executed a "Sell" (though I don't think I owned anything?) and it seems to have executed. Does this mean I bet against it? I also issue a "Buy" and the order is still pending? I'm pretty confused by what's going on here. It would be amazing if in the UI there was some Augur 101 stuff that walked me through the basics of how I invest on either side of a prediction.
I am confused by this market. How do I actually pick a degree that I think it will be? I can place a "Buy" or a "Sell", but I can't figure out what this actually means. This is similar feedback to above, but since it's not a binary prediction, I think I require even more UI / UX help.
When I place an order, there's not status or indicator that my transaction is pending. It would be amazing if the little prompt that shows up bottom right also included a link to something like Etherscan where I could track status. Also, it would be great if pending transactions could show up in the My Positions section with a pending status.
On the Porfolio page, I'm not sure what this chart is. It was there before I had an positions, is it the entire market? Fake data?

Anyways, just wanted to dump out thoughts in case they were useful. Really excited to see this continuing to mature 👏 🎉 💛
cc @joeykrug

Thanks! This is [one of] the right place[s]!

Yep it means you short sold / bet against it. It is kinda confusing, there'll be a tutorial walkthough explaining it all in the UI eventually. Essentially it's a trading platform first, then there'll be a simpler UI skin that makes it easier / simpler to use for betting, which should also help with this issue. Did your buy order ever finish pending? Or does it instead say "open order" [this is like an open unfilled order on gdax if that's what it says]
Ah yeah, so you don't actually pick an exact degree it'll be, what you do is buy / sell or go long / short the market at a given price. So for instance, say the current prediction is 0.27 degrees and you think it'll get up to 20 degrees, just how if in a binary market you would buy up to say 60% odds or a price of 0.60 and you'd enter in 0.60 for your price in the buy box, here you'd enter in 20 and the amount you want to buy as well.
I agree, good call x2
Yeah, that's a bug I've reported as well, it's fake data haha

🙏

authors: jessepollak joeykrug

repo: AugurProject/augur


text:
Scroll bar issue - multiple scrollbars

@chwy gets 2 individual scrollbars show up in trade history on windows. Could you supply a screenshot
I get two types of scroll bar:
1 default:

1 active:

Can we discuss a better solution for this

Closing - this is the default behavior in Chrome. You get that one type of bar when scrolling BUT if you move and hold your mouse inside the SCROLL BAR path Chrome will draw the scroll bar margins.

authors: Chwy5 andrewdamelio matt-bullock


text:
Design QA: Chat - Chat screen

Design: https://www.figma.com/file/fLWVwmanAwetVZbujQquEi/Market-Page?node-id=194%3A3832

[x] Centre align text for '205 Online'

[x] Adjust height of chat input box to match design. Currently it looks small leaving a large gap at the bottom

[x] Update username text style

[x] Check user's messages are using colour text/primary

[x] 'Type your message' text. Make colour text/secondary at 75% opacity

[x] Active input text should be colour text/primary at 100% opacity

[x] Check types style for input - might need updating to larger font size

Oops

authors: bconfortin matt-bullock


text:
No alerts confirming REP migration

There's currently no confirmation alert when the REP is migrated to V2. Nothing happens...
Ran it by @Chwy5  show same spinner proposed for notifications when transaction is being processed.

show spinning icon when migration transaction is being processed.

Shows up in the bell dropdown but not as a toast. Is toast required?

+1 we should enable the toast for this, it's an important transaction, we should make the confirmation state as visible as possible

toast and bell now there


text:
Eth Reserve Top off messaging - See designs in comment

Add the dai equivalent of eth reserve balance to the current tooltip....like "Your total funds does not include the Eth reserve balance of $7.94"

Inform the user when their ETH reserves get topped-off.

[x] bell alert
[x] order form ETH reserve top-off

Edit copy in ETH reserve tooltip in account

[x] tooltip

Augur runs on a peer-to-peer network which requires transaction fees that are paid in ETH. These fees go entirely to the network and Augur doesn’t collect any of these fees.
If your account balance exceeds $40, a portion of this equivilant to 0.04ETH will be held in your ETH reserve to cover transaction fees resulting in cheaper transaction fees.
So long as your available account balance remains over $40 Dai, your ETH reserve will replenish automatically.
Your ETH reserve can be easily cashed out at anytime using the withdraw button in the transactions section of your account summary.

[x] Total Funds tooltip

Design for order form message

Bell & Toast message

In the 3rd paragraph of the tooltip "As long as your available account balance remains over $40 Dai, your ETH reserve will automatically be replenish."
need to add an ed onto replenish....should be replenished

Checked. Closing


text:
No Contest Outcome + Rules - Sports templates

Change all of the ones listed below (including mentions in the rules to No Contest) with the exception of NFL (that would change to Tie/No Contest)

No Winner
Tie/No Winner (For NFL moneyline only)
Unofficial Game/Cancelled
No Winner/Event Cancelled

updated - closing


text:
rating value 0

what if i want rating value 0 when i click

Hello, it is impossible to interact with a click on the component to send 0 as the value. And if you click outside the component, it doesn't have access to this information and can't deduce that the value should be 0.
You need to manage this outside the component (set the default value to 0 and/or add a button to reset/apply the value 0 to the component).
In most cases, you don't want to have 0 in the component, but if your case requires it, you'll have to manage it in your project ;)


text:
How to use it ?

How i use this library ?

How i use this library ?

The readme is probably a good hint


text:
Make some InlineAutoDataAttribute constructor overloads protected

InlineAutoDataAttribute has a constructor overload that takes an AutoDataAttribute as an argument.
As #457 implicitly points out, there's no way to use this constructor overload when using the [InlineAutoData] attribute to annotate tests.
This constructor overload only exists to enable a derived class to supply a custom, derived instance of AutoDataAttribute, thereby customizing the behaviour of the derived attribute. Since this constructor overload only exists to enable inheritance, we should consider changing its accessibility level to protected.
This is a breaking change, so can only be done in AutoFixture 4.
Note that this ought to be done for both AutoFixture.Xunit and AutoFixture.Xunit2.

I'm going to take a look at this, and (hopefully) open a Pull Request over the next couple of days.

I think we can now close this, since #462 is merged.

Addressed by 5ac109164aa212c5963d620d3a4a166ebbe1096f

authors: moodmosaic ploeh

repo: AutoFixture/AutoFixture


text:
DQ Issue unable to identify Id needs to be removed in dq_report & Fix_dq remove them

Algorithm needs to remove id like feaatures

Hi @GDGauravDutta 👍
Thanks for trying out pandas_dq. I have made some bug fixes already. Can you please upgrade and then check?
pip install pandas_dq --ignore-installed --no-cache-dir

If you see version 1.7 or higher, then you have the right version.
Thanks
Auto Vimal team

It now removes ID like features,    On Thursday, April 6, 2023 at 11:25:19 PM EDT, GDGauravDutta @.***> wrote:
Algorithm needs to remove id like feaatures
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

authors: AutoViML GDGauravDutta


text:
Handle CTRL-C gracefully in WP CLI

Description
We need to handle when a user cancels a long-running WP CLI command

Forward the Ctrl-C character (x03) to the command runner
Call an endpoint in the API to mark the command as cancelled (and do any other cleanup)

There are a few cases we need to test to make sure that the command cancel logic is run correctly on Ctrl-C/SIGINT:

Standard commands
Interactive command (such as user create --prompt, help)
Pseudo shell commands
wp shell

repo: Automattic/vip


text:
SignalR throw an error when reconnecting, even if successfully

Hi,
I have an issue, when I connect to the server with SignalR, lock de screen and unlocked, HubConnection.error is fired with the following error "NSURLErrorDomain" - code: 4294966291, but the library is able reconnect successfully.
The library https://github.com/DyKnow/SignalR-ObjC doesn't have the same behaviour.
When the connection is lost, it try to reconnect, and only if the reconnect attempt is failed, them it throw's an error, and that seems the right behaviour to me.
The problem with this, is that when an error happen, I show a different screen to the user, but actually this isn't an error, only a temporary lost of connectivity, and I don't a have a secure way to differentiate this error from the others.
Is this a bug?
Here is the log it prints when unlocking the screen in case it helps.
[] nw_socket_get_input_frames recvmsg(fd 4, 1024 bytes): [57] Socket is not connected
[] nw_socket_get_input_frames recvmsg(fd 9, 1024 bytes): [57] Socket is not connected
[] nw_socket_get_input_frames recvmsg(fd 11, 1024 bytes): [57] Socket is not connected
[] nw_socket_get_input_frames recvmsg(fd 12, 1024 bytes): [57] Socket is not connected
[] nw_socket_get_input_frames recvmsg(fd 13, 1024 bytes): [57] Socket is not connected
[] nw_endpoint_handler_add_write_request [2.1 107.22.161.209:443 failed socket-flow (satisfied)] cannot accept write requests
[] nw_endpoint_handler_add_write_request [5.1 13.74.158.5:443 failed socket-flow (satisfied)] cannot accept write requests
[] tcp_connection_write_eof_block_invoke Write close callback received error: [22] Invalid argument
[] tcp_connection_write_eof_block_invoke Write close callback received error: [22] Invalid argument
[] nw_endpoint_handler_add_write_request [7.1 13.74.158.5:443 failed socket-flow (satisfied)] cannot accept write requests
[] nw_endpoint_handler_add_write_request [6.1 13.74.158.5:443 failed socket-flow (satisfied)] cannot accept write requests
[] nw_endpoint_handler_add_write_request [4.1 13.74.158.5:443 failed socket-flow (satisfied)] cannot accept write requests
[] tcp_connection_write_eof_block_invoke Write close callback received error: [22] Invalid argument
[] tcp_connection_write_eof_block_invoke Write close callback received error: [22] Invalid argument
[] tcp_connection_write_eof_block_invoke Write close callback received error: [22] Invalid argument

I've tried to reproduce the issue described above, but no such luck.
HubConnection.error callback is not invoked after the screen has been unlocked. I don't know what I'm doing wrong.
By the way, there is a workaround - you can handle "lock screen" "unlock screen" events manually
    private func subscribeAppLifeCycleNotifications()
    {
        let center = NotificationCenter.default
        center.addObserver(self, selector: #selector(connect), name: .UIApplicationWillEnterForeground, object: nil)
        center.addObserver(self, selector: #selector(disconnect), name: .UIApplicationDidEnterBackground, object: nil)
    }

    @objc private func connect()
    {
       // your code to connect
    }

    @objc private func disconnect()
    {
        // your code to disconnect
    }

repo: AutosoftDMS/SignalR-Swift


text:
CSS variables contain unsupported values

none is being produced  as CSS values in the Design Tokens variables. This value is unsupported on multiple attributes and should be 0 (assuming that none is default/unchanged value in Figma).
Current examples:
--*-letter-spacing: none
--*-paragraph-spacing: none
text-case ( css text-transform) has a none value. This is valid but should probably be initial instead

gotcha. We'll double back with UX to confirm 0 is what is desired for those.

authors: LauRoxx brycehowitson

repo: Availity/element


text:
OnPlatform should allow multiple values in each branch for collection setters

To Reproduce
Steps to reproduce the behavior:
<Application.Styles>
  <OnPlatform>
    <On Options="Android">
      <themes:MaterialTheme BaseTheme="Dark" PrimaryColor="Purple" SecondaryColor="Lime" />
    </On>
    <On Options="Default">
      <FluentTheme /> <!-- will fail after this line -->
      <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
      <StyleInclude Source="avares://XPos/Assets/Icons.axaml" />
    </On>
  </OnPlatform>
</Application.Styles>

Environment

OS: any
Avalonia-Version: 11.0.6

I've h ad the same problem. I solved it like this
<Application.Styles>
  <OnPlatform>
    <On Options="Android">
      <themes:MaterialTheme BaseTheme="Dark" PrimaryColor="Purple" SecondaryColor="Lime" />
    </On>
    <On Options="Default">
      <Styles>
        <FluentTheme />
        <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
        <StyleInclude Source="avares://XPos/Assets/Icons.axaml" />
      </Styles>
    </On>
  </OnPlatform>
</Application.Styles>

repo: AvaloniaUI/Avalonia


text:
D3D11CreateDevice+Hardware crashes and fallback doesn't work

          @Sewer56 looks like this PR break Angle/DX on my machine:

[OpenGL]Unable to initialize ANGLE-based rendering with DirectX11 : 'System.ArgumentException: Value does not fall within the expected range.
   at Avalonia.Win32.DirectX.DirectXUnmanagedMethods.D3D11CreateDevice(IntPtr adapter, D3D_DRIVER_TYPE DriverType, IntPtr Software, UInt32 Flags, D3D_FEATURE_LEVEL[] pFeatureLevels, UInt32 FeatureLevels, UInt32 SDKVersion, IntPtr& ppDevice, D3D_FEATURE_LEVEL& pFeatureLevel, IntPtr* ppImmediateContext)
   at Avalonia.Win32.OpenGl.Angle.AngleWin32EglDisplay.CreateD3D11Device(IDXGIAdapter1 chosenAdapter, D3D_FEATURE_LEVEL[] featureLevels) in E:\Work\Projects\AvaloniaCopy1\src\Windows\Avalonia.Win32\OpenGl\Angle\AngleWin32EglDisplay.cs:line 175
   at Avalonia.Win32.OpenGl.Angle.AngleWin32EglDisplay.CreateD3D11Display(Win32AngleEglInterface egl) in E:\Work\Projects\AvaloniaCopy1\src\Windows\Avalonia.Win32\OpenGl\Angle\AngleWin32EglDisplay.cs:line 106
   at Avalonia.Win32.OpenGl.Angle.D3D11AngleWin32PlatformGraphics.TryCreate(Win32AngleEglInterface egl) in E:\Work\Projects\AvaloniaCopy1\src\Windows\Avalonia.Win32\OpenGl\Angle\D3D11AngleWin32PlatformGraphics.cs:line 77'
[OpenGL]Unknown requested PlatformApi 'DirectX11'

There are couple of problems:

D3D11CreateDevice+HARDWARE fails here with invalid argument. Don't really know why.
D3D11CreateDevice+SOFTWARE fails too, but UNKNOWN works fine.
D3D11CreateDevice return type should be "int" (non-void), and PreserveSig = false should be removed, if you want to implement fallback logic.
Before each fallback, there should be a warning log message, so developers can easier find this problem. Something like:

Logger.TryGet(LogEventLevel.Warning, LogArea.Win32Platform)?.Log(null, "Unable to create hardware ID3D11Device, error code = {ErrorCode}", $"0x{result:X}")

Originally posted by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/issues/16035#issuecomment-2177788039

This is technically fixed by

https://github.com/AvaloniaUI/Avalonia/pull/16063

And the feedback was implemented in:

https://github.com/Sewer56/Avalonia/commit/ec04ffacc56a5484c10ece72e9f1685d606bc9c0

As per https://github.com/AvaloniaUI/Avalonia/pull/16035#issuecomment-2177884713, I'm not sure what the current course of action should be.


text:
FontWeight.ExtraBold is rendered heavier since 11.1

Describe the bug
I'm using FontWeight.ExtraBold in an application. After upgrading from 11.0.10 to 11.1.1, the text is rendered way heavier, and is harder to read.
To Reproduce
See attached solution. Set all avalonia package versions to 11.0.10 to see the old behavior. Upgrade to 11.1.1 or (at this moment) latest preview version to see the changed rendering.
AvaloniaApplication1Changed.zip
Expected behavior
I didn't expect any changes, or I would have expected a breaking change notice in the release notes somewhere.
Old behavior:

New behavior:

Avalonia version
11.1.1
OS
Windows
Additional context
No response

I'm using Avalonia version 11.1.3 and encountered a similar issue. I'm not sure if it's the same bug. From the image, it seems that the font weights 600 and 700 are swapped, and the same issue appears between 800 and 900 as well.

<Grid RowDefinitions="Auto Auto Auto Auto Auto Auto Auto Auto Auto">
  <Grid.Styles>
    <Style Selector="TextBlock">
      <Setter Property="FontFamily" Value="Arial"></Setter>
      <Setter Property="FontSize" Value="28"></Setter>
    </Style>
  </Grid.Styles>

  <TextBlock Grid.Row="0" Grid.Column="0" FontWeight="100">FontWeight 100</TextBlock>
  <TextBlock Grid.Row="1" Grid.Column="0" FontWeight="200">FontWeight 200</TextBlock>
  <TextBlock Grid.Row="2" Grid.Column="0" FontWeight="300">FontWeight 300</TextBlock>
  <TextBlock Grid.Row="3" Grid.Column="0" FontWeight="400">FontWeight 400</TextBlock>
  <TextBlock Grid.Row="4" Grid.Column="0" FontWeight="500">FontWeight 500</TextBlock>
  <TextBlock Grid.Row="5" Grid.Column="0" FontWeight="600">FontWeight 600</TextBlock>
  <TextBlock Grid.Row="6" Grid.Column="0" FontWeight="700">FontWeight 700</TextBlock>
  <TextBlock Grid.Row="7" Grid.Column="0" FontWeight="800">FontWeight 800</TextBlock>
  <TextBlock Grid.Row="8" Grid.Column="0" FontWeight="900">FontWeight 900</TextBlock>

</Grid>

authors: genment mterwoord


text:
Sorting issues on datagrid with user control as data template

Describe the bug
I have a datagrid with templated columns, one of which being a user control.

That user control doesn't seem to properly sort with the rest of the line:

Sample project demonstrating the issue:
Avalonia.Samples-main - gridbug.zip
To Reproduce
From the sample project, fiddle a few time with the tag column header sorting.
Expected behavior
No response
Avalonia version
11.2.2
OS
Windows
Additional context
No response

The issue seem to stem from the fact that I'm adding the textboxes programmatically in the TagManagerUserControl UC. The column sorts correctly when using ItemsControl.
Avalonia.Samples-main - gridbug.zip
[^Demo project using itemscontrol]

Why do you need to add controls programatically? I highly suggest you use DataTemplates. If not, add them at least in OnDataContextChanged override to ensure correct DataContext is available.

authors: giacarrea timunie


text:
Carousel gestures

v0.8.999
I'm working on adding a swipe gesture to the Carousel control but I have discovered that the control overrides OnKeyDown and OnPointerPressed.
        /// <inheritdoc/>
        protected override void OnKeyDown(KeyEventArgs e)
        {
            // Ignore key presses.
        }

        /// <inheritdoc/>
        protected override void OnPointerPressed(PointerPressedEventArgs e)
        {
            // Ignore pointer presses.
        }

The OnPointerPressed override prevents gestures from working on the Carousel control.
Is there a good reason why these methods are overriden like this?

I can't remember 100% but I think it's to prevent the default keyboard behavior from SelectingItemsControl from happening. Could be that we should either:

Move the keyboard behavior to a derived class. This would mean that keyboard handling would be implemented in ListBox, ComboBox etc separately
Simply set e.Handled in these events in Carousel

authors: aguahombre grokys


text:
Clipping Geometry on Apple M1

Geometry clipping does not work correctly on Apple M1

I think something wrong with SkiaGpuRenderTarget. Everything is ok if With(new AvaloniaNativePlatformOptions { UseGpu = false }) added in Program.cs

We have the same issue. It hurts. @vmelnikov thanks for a solution!
I think an update of SkiaSharp skia version up to version 90+ (for example) will fix this... Current version is 80. It was published before m1 mac release AFAIK. Later skia version maybe fixes this issue. Let's wait for a new release from @mattleibow

@Mikolaytis Sadly latest version 2.88.0-preview.127 on .net6.0, native m1 doesn't fix the problem

@BAndysc wow. thanks a lot for a pretty useful information. any thoughts what can fix it?
I know there is two options of clipping in skia (antialiased and basic). Maybe let's try to switch this option and check it out?

Any news on that?

Investigating this now. Minimal repro:
<Border Background="Yellow" Width="200" Height="200" ClipToBounds="True">
    <Image Height="48" Margin="0,200,0,0">
        <Image.Source>
            <DrawingImage>
                <GeometryDrawing Brush="Red" Geometry="F1M14.707,4.707L6,13.414 1.293,8.707 2.707,7.293 6,10.586 13.293,3.293z" />
            </DrawingImage>
        </Image.Source>
    </Image>

Output on M1 Mac:

Definitely looks to be a Skia issue. If I add the following code at this line: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Skia/Avalonia.Skia/DrawingContextImpl.cs#L185
Canvas.Clear(SKColors.Gold);

(i.e. immediately before drawing the geometry)
I get the following output. You can see that the .Clear() call uses the correct clip but the geometry is just ignoring it:

authors: BAndysc Mikolaytis grokys iMonZ vmelnikov


text:
Rare exception in RelayCommand

Describe the bug
Sometimes RelayCommand crash application with following stack trace.
Unhandled Exception: System.InvalidOperationException: Call from invalid thread
   at Avalonia.Threading.Dispatcher.VerifyAccess() + 0x4c
   at Avalonia.AvaloniaObject.GetValue[T](StyledPropertyBase`1) + 0x2e
   at Avalonia.Controls.MenuItem.CanExecuteChanged(Object, EventArgs) + 0x30
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T) + 0x28
   at System.Reactive.Subjects.FastImmediateObserver`1.EnsureActive(Int32) + 0x334
   at System.Reactive.Subjects.ReplaySubject`1.ReplayBase.OnNext(T) + 0xc0
   at System.Reactive.Linq.ObservableImpl.CombineLatest`3._.SecondObserver.OnNext(TSecond) + 0x7d
   at System.Reactive.Subjects.FastImmediateObserver`1.EnsureActive(Int32) + 0x334
   at System.Reactive.Subjects.ReplaySubject`1.ReplayBase.OnNext(T) + 0xc0
   at System.Reactive.SafeObserver`1.WrappingSafeObserver.OnNext(TSource) + 0x2b
   at System.Reactive.ObserveOnObserverLongRunning`1.Drain() + 0xa6
   at AvaloniaCoreRTDemo!<BaseAddress>+0x1693985
   at AvaloniaCoreRTDemo!<BaseAddress>+0x1693d69

To Reproduce
I do not have reliable repro steps. This is happens occasionally and non-deterministic. It seems to be easier to repro on first or maybe second launch and then cannot repro.

Clone https://github.com/teobugslayer/AvaloniaCoreRTDemo on Linux
Run application using dotnet run
Enter text in text box
Open Help menu
Press Exit. Crash! Boom! Bang! happens here.

Expected behavior
Reliably not crash application.
Desktop (please complete the following information):

OS: Linux Gentoo (but seems to be unrelated)
Version 0.10.8

Additional context
Add any other context about the problem here.

Any updates on this? I am getting very similar thing with Avalonia 11. Whenever I call CanExecuteChanged?.Invoke(this, EventArgs.Empty) on my implementation of ICommand. Though in my case it calls into  	Avalonia.Controls.dll!Avalonia.Controls.Button.CanExecuteChanged(object sender, System.EventArgs e) and throws at Avalonia.Base.dll!Avalonia.Threading.Dispatcher.VerifyAccess.__ThrowVerifyAccess|16_0().
Shouldn't Avalonia take care of automatically delegating all such calls to the UI thread by queuing them up, instead of trying to execute on the calling thread?

No, you need to use Dispather.UiThread.Post if you want to invalidate the command from async task or similar

No, you need to use Dispather.UiThread.Post

Is this true of raising CollectionChanged event too? Os is this only particular to ICommand?

All events that should be consumed by the UI. CollectionChanged and also PropertyChanged

@kant2002 can you double-check if the Dispatcher also helps in your situation? If so, we can close this as by design.

All events that should be consumed by the UI. CollectionChanged and also PropertyChanged

Thanks for a quick response. This is rather unfortunate, and I am not sure correct. How would any "Observable" Collection (like the built-in System.Collections.ObjectModel.ObservableCollection, or any custom one) know anything at all about the UI thread or Avalonia? They wouldn't - in fact ObservableCollection just simply raises an event whenever it changed, and it is up to the event subscriber, i.e. Avalonia ListBox for example to properly process the event on the correct thread.
Does it then follow that all collection or observable object manipulations that could raise either CollectionChanged or PropertyChanged events subscribed to by Avalonia - would all have to be done on the UI thread? This approach could easily exhaust the UI thread. Wouldn't it be better if Avalonia one some lower level would automatically dispatch processing of such events to the UI thread? Or am I misunderstanding something?

That's why .Add or .Remove should only happen on UiThread. Same for other UI-Libs like WPF. If you look into async collections, I can say that DynamicData (shipped with ReactiveUI) can handle this by .ObserveOn

https://www.reactiveui.net/docs/handbook/collections/

authors: fitdev kant2002 timunie


text:
Fixes Issue #6263

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes issue #6263

You can test this PR using the following package version. 11.0.999-cibuild0034924-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0035053-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0035206-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

Just encountered a similar problem in #11626, which I think this PR should also fix, but I'm kinda not sure about always scheduling the scroll on the dispatcher, though it might not be a problem in practice. Need a little time to think about potential fixes.


text:
Allow for showing child windows

What does the pull request do?

Adds a concept and implementation of window ownership.
What is the current behavior?

WindowBase.Owner is simply ignored.
What is the updated/expected behavior with this PR?

You can use Window.ShowChild on desktop platforms to show child windows.
On Win32 you can open child windows and closing parent window will close all child windows.
On X11 and OSX while child windows are open you won't be able to close parent window. This might get addressed in the future.
How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Depends: https://github.com/AvaloniaUI/Avalonia/pull/3867

what happens when you try to show as a child with a parent that is is not visible?

Good question, I've checked WPF and this PR - both just show child window normally. WPF has one quirk - you must show parent window at least once before assigning it as Owner.

WPF Specification:
If an owner window is minimized, all its owned windows are minimized as well.
If an owned window is minimized, its owner is not minimized.
If an owner window is maximized, both the owner window and its owned windows are restored.
An owner window can never cover an owned window.
Owned windows that were not opened using ShowDialog are not modal. The user can still interact with the owner window.
If you close an owner window, its owned windows are also closed.
If an owned window was opened by its owner window using Show, and the owner window is closed, the owned window's Closing event is not raised.

WPF Specification Win32:

[x] If an owner window is minimized, all its owned windows are minimized as well.

[ ] If an owned window is minimized, its owner is not minimized.

[ ] If an owner window is maximized, both the owner window and its owned windows are restored.

[x] An owner window can never cover an owned window.

[ ] Owned windows that were not opened using ShowDialog are not modal. The user can still interact with the owner window.

[ ] If you close an owner window, its owned windows are also closed.

[ ] If an owned window was opened by its owner window using Show, and the owner window is closed, the owned window's Closing event is not raised.

WPF Specification X11:

[x] If an owner window is minimized, all its owned windows are minimized as well.

[ ] If an owned window is minimized, its owner is not minimized.

[ ] If an owner window is maximized, both the owner window and its owned windows are restored.

[x] An owner window can never cover an owned window.

[ ] Owned windows that were not opened using ShowDialog are not modal. The user can still interact with the owner window.

[ ] If you close an owner window, its owned windows are also closed.

[ ] If an owned window was opened by its owner window using Show, and the owner window is closed, the owned window's Closing event is not raised.

This is actually more complicated to get right cross-plat than anticipated and our shutdown/window close might need more work to support everything. Might revisit in the future.

I suggested to move the window bookkeeping into the windowing platform in the past. Maybe that makes things easier.
What part of your work didn't work out well?

Main issues were with closing parent windows and cancellation of such. WPF for instance won't invoke any Closing callbacks when you close parent window. For us we wanted to make sure that we invoke Closing handlers for dialogs. Which is causing issues since Window.Close will just dispose platform implementation which on X11 and Win32 will just destroy current window. On Win32 it will kill child windows but won't notify about closing. On X11 it will just leave child windows open.
I've tried to come up with a solution for this, but in the end I am not sure what is the correct behavior here across different platform.

Thanks for your summary

bringing this back to life!

@danwalmsley @kekekeks Reworked this on top of the new API.

@MarchingCube wow much simpler now :) will test in the morning.

Final Tests:

[ ] Windows
[ ] OSX
[ ] Linux

authors: Gillibald MarchingCube Sorien danwalmsley


text:
Add keyboard navigation to slider

cc @danwalmsley

there is an e.t.a. for this PR?

there is an e.t.a. for this PR?

authors: jmacato workgroupengineering


text:
Chinese version

do you mind if i translate your Info-graphs to  Chinese?

If you really want to learn this, language is not the gap。
谷歌翻译，了解一下。

This is good we can do this

hi，我可以加入translate么？

继续兄弟，我看好你

单独建个中文版的库吧

Those willing to help in translation please pick an infographic and translate it then post it here.
@zhyongquan What Do you say regarding this?

hi，我可以加入translate么？ @zhyongquan
Can I join in ?

Respect

Maybe I can give a hand.

Can I join in translating?

@Avik-Jain , so many guys want to join translating team. it's better to create a Chinese repo. i also need them to check. is it ok?
@Aaaaaaada  @MOC99 @BelindaLI
谢谢各位抬爱，我已经翻译好了几页，但还得校对，有些专业词汇拿不准，Python代码也得调试。稍后，我建个中文仓库，把地址贴在这里。大家可以分工合作，每人翻译几页，通过pull request提交进来，相互校对。怎么样？

It's a nice project. Good idea!后续如果可以新建中文仓库，我也想出份力。

@zhyongquan 加油兄弟，没问题，很棒

可以啊，没问题啊。期待。激动地搓搓小手～或者大家建一个群什么的，分工交流什么的，也比较方便？@zhyongquan

我觉得没问题 @zhyongquan 建一个群挺好的@Aaaaaaada

@zhyongquan 我能加入翻译吗？也是在自学机器学习，我还特意针对这个repo建立了一个100天机器学习的群，吸引了一些小伙伴的加入，尝试拿这个repo来进行学习。

@zhyongquan 求加入翻译小组~

@zhyongquan  I have made a new repo. Sent you an invite. Kindly Check it out and update the repository.

@zhyongquan  we can do it together,I'm glad to join in this project!

@zhyongquan 希望加入翻译小组

I'd like to join~

I also wanna join

1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b.  Ok tq plese add thiss
Pada Isn, 6 Ogo 2018 10:40 an1006634493 notifications@github.com menulis:

I also wanna join
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Avik-Jain/100-Days-Of-ML-Code/issues/8#issuecomment-410573423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnyBCGgS6jo65bc8RnFZvW5HjmK2fW7cks5uN6yugaJpZM4Vt9on
.

I wanna join too

I also want to join

@wengJJ 图上的自变量因变量观测值预测值都没翻译欸

@noeagles 我当时是觉得没必要翻到那么里 不过现在觉得这是新手教程 我明天改下

@goelo 我对你的学习群有兴趣 我可以进那个小群吗

中文库有了吗？

同求群

https://github.com/MachineLearning100/100-Days-Of-ML-Code

@Avik-Jain we have a team in https://github.com/MachineLearning100/100-Days-Of-ML-Code. we almost translate all your content. Can you add a link to this Chinese version in readme?

@KerwinChan @HeYDwane3 加我微信xiaoxin5683yy，我拉你们。群里不限于ML的打卡，任何坚持学习的都可以打卡。

非常nice~~

棒

that‘ s great。

Win a $1,250 Cash Prize!
Hey! I saw this prize and thought of you! All you have to do is click on
the link to see why I think you’d love to win it — and then enter for a
chance to make it yours:
http://www.sweepon.com/sweepstakes/win-a-1-250-cash-prize-25508?utm_campaign=socialshare&utm_medium=email&utm_source=email

Thanks for sharing!

@cyancity
You can regard zh version as a cache, which makes it unnecessary to visit Google trans every time.

@Avik-Jain @zhyongquan where can we get the templates for info-graphics?

@samarthshukla  i don't have template, we use photoshop to modify pictures.

Thanks for sharing

Hope I can do some help for this project

能加群吗？这样一是打卡，二也可以有不懂的地方可以请教各位。

interesting ~~

感覺蠻多人一起學習，很棒的感覺。
我是每天發一篇在臉書上，很多人可能在內地，沒能看到臉書，我就分享我今天的內容
『Day 17: 複習』
作者今天要大家複習前兩週的學習。然後他就跑了。
不過我覺得我學得最多，重複在這裡分享了好些次，等於練習複習的好些次。希望大家也跟著腦袋演練。
有問題隨時一起討論。
< 什麼機器學習>
我只好繼續咳嗽繼續回想這兩週。
作者的第一天在講資料清理的準備，我覺得不是很好的開始，他沒有告訴大家什麼是人工智慧、機器學習。
這些人工智慧機器學習新的方法與成就跟過去的科技發展有什麼不同？
套用 Sebastian Thrun 與 Chris Anderson 對話時說的，過往如果我們要編寫一個煮菜機器人能夠完成四五個食譜，可能要用一堆 IFs，
“如果溫度超過 80度, 表皮有紅色，降低溫度到 60度”，“如果紅色持續，溫度調節設定到 45度”... 這樣可能需要上百萬行的 code，還不容易 debug。
人工智慧，機器學習用的觀念是不一樣的。AI /ML 比較偏向餵機器系統資料，讓這個系統多次閱讀這些資料，修正他的不準度或錯誤等。可以如附圖一。
如果根據李弘毅老師的說法，“才能”有天生基因與後天學習。水獺天生聽到水流聲就會去 “築水壩”，這個就像是 IFs，但是小朋友可以聽到大人的對話，發出聲音，修正、然後學會語言，不同的環境學會不同語言，這個就是根據聽到的聲音資料，吸收、嘗試、修正然後學習。（為什麼我每天餵自己英文資料，英文還是不會？哭）
好吧，作者雖然沒有提到以上，不過他第 15 天看了這個，你們有沒有一起看？很棒的內容，可以只看 Slide就夠了。
https://bloomberg.github.io/foml/#home
<基本的工具、基本的程序>
作者在第一二天提到，採用python 作機器學習，基本工具有 numpy、pandas，但是我建議多加一個 matplotlib。
其他是用 pd.read_csv 讀資料，處理一下缺失值，拆分訓練用與測試用 Data、特徵間的大小幅度標準化，還有作一個 One Hot Encoding。
第二三天提到了 Regression 的問題，除了介紹求值系統還順便把未來處理的程序算是交付一下，
1.) 如第一天所提的 輸入 Libraries，輸入 data 拆解 data，資料清理，缺失值處理，拆解 data，因為不是分類問題，就不做 One Hot Encoding 。
2.) 然後第二步利用 sklearn 套件中的 model 處理
3.) 用 .fit 作 training
4.) 用 .predict 作預測
以上可以搭配李弘毅老師說的 framework，三個步驟A,
1.) 查看資料，思考題目，找出一群函式集合（整個集合稱為模型）在上面就是在 sklearn 中叫出 LinearRegression
2.) 找出如何判斷如何決定這些函式好壞的方程式，比如資料送進 2x +2 算出來的誤差 跟 2.3x +2 算出來的誤差那個比較小？在上面作者 1~4 的方式中，這個步驟被藏在 2.) sklearn model 中處理掉，所以到了 .fit 時沒被看到，如果處理到深度學習用了 Keras, Tensorflow 等，就會很明白在 fit 時必需寫清楚 loss function。
3.) 就是訓練，就是 .fit
B) 完成三步驟就來預測，預測的眉眉角角就以後再說吧！
記住，寫好的 model 必需 .compile, 然後學習 .fit，最後預測 .predict 。 如果 model 是直接叫 API 那麼就不用 .compile（上面的 regression 就是直接從 sklearn 取用，都不用 compile了）。

第三天起，作者有點鬼打牆的學習 Logistic Regression SVM，中間加入 KNN，這個我摸不透他到底學得如何。
我前些日子的分享都有做基本說明與幫作者補充，有空的人可以回頭看看。
我加入一張圖（圖二）好了，如果能夠看懂，應該就真的熟透了。
就是說，在作分類時，要用到一個 Cross Entropy 的損失函式，當我們用數學偏微分去求代價函數最小化，就能讓系統得到最佳或很好的結果。（要清楚為什麼 rmse 不可以啊！）
最後就會設計出 y' = sigmoid(w*x +b) 我們輸入 x, 得到 y' 看這個求出的 y' 跟答案 y 有沒有差很多，如果差很多，就調整 w, b 值，再求一次 y' 看有沒有好一點... 就這樣重複。
不是亂試，是有方法的，叫作 Gradient Descent，就是上面說到的極小化偏微分值。
學機器學習，花時間看 Gradient Descent 是免不了的。
學 Gradient Descent 時，要清楚，我們是對誰微分，求哪一個 domain (我們是要小化 Loss，求 w, b)
SVM 是覺得用 cross entropy 還不夠好，不如用 hinge loss 去作，可以讓空間 sparse ，然後就是只跟幾個點有關，這幾個點就是 support vectors (SVM 名字的由來）
參考一下我的初淺解釋 https://goo.gl/VBuQis
SVM 推導看一看就好，但是應用很有趣，他不只當作簡單推導的分類器，他還可以用 Kernel function 投射到高維度，非常有趣，用 Sklearn 很簡單就實現，參考這個https://goo.gl/wsTLLt
還有圖三，原本題目如左圖兩個特徵在二維空間，無法用線性一刀分辨類別，但是用
SVC(kernel ='poly', degree = 3)
就會變成右圖，好好切 開心。
KNN 看一看，不難，就是量測一個要判斷的 sample 與存在的點中最近的幾個點，然後看哪一類的點最多，就判斷是那一類，比如在一堆知道類別（類別一二三）的點中，一個測試點與所有點找出最近的10 顆，類別一 7 顆，類別二 0 顆，類別三 3 顆，我就判斷他是類別一。結案。
其他，作者第八天有提到 Logistic Regression 的數學推導，有空看一看不算太難。如果有時間建議上網找用機率、純樸貝氏出發、求 ML (Maximum Likelihood) 的方法，也很精彩，雖然沒有帶來更精準的結果。
熟悉暖身一下統計、資訊理論，對未來學 GAN 應該有幫助，雖然聽不懂推導也可以學會觀念與應用。
感覺，我好像是寫給自己看的...
#ML_100days
Started Deep learning Specialization on Coursera | Day 17
Completed the whole Week 1 and Week 2 on a single day. Learned Logistic regression as a Neural Network.

@PatrickRuan 欢迎到中文版里投稿https://github.com/MachineLearning100/100-Days-Of-ML-Code

Do we have a study group (qun) on Wechat? I may not have bandwidth to
contribute, but would like to join the study group to keep up progress.:)
Thanks
On Wed, Aug 29, 2018 at 7:05 AM zhang yongquan notifications@github.com
wrote:

@PatrickRuan https://github.com/PatrickRuan 欢迎到中文版里投稿
https://github.com/MachineLearning100/100-Days-Of-ML-Code
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Avik-Jain/100-Days-Of-ML-Code/issues/8#issuecomment-416965302,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZShCoCrTNndbFnczyNBEyjsWuXkh4KZks5uVp-kgaJpZM4Vt9on
.

Hi, @Avik-Jain , I am following your project of 100-Days-Of-ML-Code, it is very helpful for me as a beginner, thank you!  I found the illustrating picture your created is very beautiful, and I curious that how do you creat it? By python or other plaform? It seem not made by using traditional photoshop.
Would you share your experience of creating such beautiful illustrating picture to us? Thank you very much!

authors: Aaaaaaada AnnaXJGe Avik-Jain BeeSeeChain BelindaLI Genepsy Great1414 HeYDwane3 JuneRR KerwinChan MOC99 PatrickRuan Wjshang addy086 an1006634493 andrewzrant cyancity eruisi goelo heliuphy jiangwei007 kmalloc8 lichunhong2010 noeagles samarthshukla wengJJ wizardforcel wuchao5460 wxrapha yunxiaoyin yyong119 zhangyanqi92 zhyongquan


text:
タグレポ

内容
タグレポ対応しない？悪くない機能だと思うんだけど使ってる人見かけないんよねえ
問題が発生したURL
https://www.nicovideo.jp/my/follow/tag/大丈夫だ、問題ない/tagrepo
環境
Chrome
From
NNS from GForm

#133

repo: AyumuNekozuki/niconico-darkmode


text:
BMI calculator using Flask

Description
A simple BMI calculator.
Checklist

[x] I've been assigned an issue related to this PR.
[x] I've used beautifiers.
[x] I've added my Project's name and description to Index.md
[x] I've made a README.md file for my Project.
[x] The README.md file of my projrct contains Project title, Description, Use of project, Set up, Stack used and Output (Screenshots).

Related Issues or Pull Requests number
Fixes #184

Hey, @Ayushparikh-code please add the level label as well. Thanks.

repo: Ayushparikh-code/Web-dev-mini-projects


text:
feat: add authorize func

Checklist

[x] npm test passes
[x] tests and/or benchmarks are included
[x] documentation is changed or added
[x] commit message follows commit guidelines

Affected core subsystem(s)

Description of change

enable authorization_code mode
enbale options for authenticate/token method
update document
update to 2.0.1

Codecov Report

Merging #9 into master will decrease coverage by 16.56%.
The diff coverage is 11.76%.

@@             Coverage Diff             @@
##           master       #9       +/-   ##
===========================================
- Coverage   92.75%   76.19%   -16.57%
===========================================
  Files           3        3
  Lines          69       84       +15
===========================================
  Hits           64       64
- Misses          5       20       +15

Impacted Files
Coverage Δ

lib/server.js
75.38% <11.76%> (-22.62%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: codecov-io thonatos


text:
chore(docs): Update lsp install instructions

Remove the recommendation to install nargo for syntax highlighting.
Add recommendation to install the LSP extensions and point it to aztec-nargo.
closes #4098

Merged Palla's PR on removing some tech debt around noir which updated the doc and has caused merged conflict.
My recommendation would be to merge from master and once again search for nargo.
Otherwise LGTM!!!!

@critesjosh fixed your merge conflicts - and enabling auto merge!

authors: critesjosh rahul-kothari

repo: AztecProtocol/aztec-packages


text:
feat: Throw by default when awaiting a tx that reverted

A tx that returns from a tx.wait() is then guaranteed to have succeeded. Otherwise, we were having txs that failed silently, since we were not manually checking the receipt status after every action.

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 933145e8 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,400
6,364 (-1%)
6,424

l1_rollup_execution_gas
585,733
585,697
585,757

l2_block_processing_time_in_ms
1,286 (-1%)
4,573 (-3%)
8,634 (-6%)

note_successful_decrypting_time_in_ms
174 (-6%)
519 (-1%)
976 (+1%)

note_trial_decrypting_time_in_ms
77.6 (-14%)
33.4 (-16%)
112 (+18%)

l2_block_building_time_in_ms
13,560 (-3%)
50,103 (-3%)
99,629 (-2%)

l2_block_rollup_simulation_time_in_ms
7,757 (-3%)
27,227 (-3%)
54,004 (-2%)

l2_block_public_tx_process_time_in_ms
5,783 (-2%)
22,828 (-2%)
45,532 (-2%)

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,037
26,844 (+1%)

note_history_successful_decrypting_time_in_ms
1,307 (+4%)
2,520 (+4%)

note_history_trial_decrypting_time_in_ms
132 (+46%)
207 (+75%)

node_database_size_in_bytes
18,616,400
34,869,328

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
237 (+1%)
44,377
28,214

private-kernel-ordering
210 (+1%)
52,880
14,296

base-parity
4,559 (-4%)
128
311

root-parity
1,704 (+6%)
1,244
311

base-rollup
17,757 (-1%)
165,760
861

root-rollup
49.8
4,359
725

private-kernel-inner
308 (+1%)
73,794
28,214

public-kernel-app-logic
126 (+1%)
35,251
28,217

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

merge-rollup
8.21 (-11%)
2,568
861

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.99
15.8 (-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.582
0.489 (-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
47.3 (+2%)
71.5 (-1%)
230
448 (+1%)
836 (-3%)
1,665 (-3%)
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.484 (+1%)
0.441 (-1%)
0.420
0.419 (+1%)
0.399 (-3%)
0.400 (-3%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
53.4 (-3%)
105 (-1%)
329 (-3%)
666 (+1%)
1,263 (-3%)
2,528 (-3%)
N/A

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

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.475 (-3%)
0.474 (-1%)
0.448 (-3%)
0.457 (+1%)
0.439 (-3%)
0.440 (-2%)
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.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.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
14,966
494,914

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
2,377 (+1%)
1,407 (+1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
14.4 (-12%)
732 (+1%)

authors: AztecBot spalladino


text:
chore: fix a bunch of generics issues in aztec-nr

This PR removes a bunch of unnecessary generics from the aztec-nr codebase as this is becoming a hard error in new versions of nargo.

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:mint_public): 370 (+632%)
avm_simulation_time_ms (Token:transfer_public): 35.0 (+54%)

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.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,753
1,585 (+1%)
712
774 (+2%)
773 (-1%)

proof_construction_time_sha256_30_ms
11,449
3,109 (+1%)
1,380
1,429 (-1%)
1,475 (+1%)

proof_construction_time_sha256_100_ms
43,998
11,789 (-2%)
5,461
5,407 (-2%)
5,800 (+2%)

proof_construction_time_poseidon_hash_ms
79.0 (+1%)
34.0
34.0
57.0
88.0

proof_construction_time_poseidon_hash_30_ms
1,528
421
202 (-1%)
229
267 (-1%)

proof_construction_time_poseidon_hash_100_ms
5,637
1,509
672
735 (-1%)
750 (+1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
4,356
7,876
14,884

l1_rollup_calldata_gas
50,208
93,008
178,144

l1_rollup_execution_gas
845,542
1,579,238
3,364,430

l2_block_processing_time_in_ms
258 (+2%)
457 (+4%)
849 (+6%)

l2_block_building_time_in_ms
11,441 (+1%)
22,373
44,715 (+1%)

l2_block_rollup_simulation_time_in_ms
11,441 (+1%)
22,373
44,715 (+1%)

l2_block_public_tx_process_time_in_ms
9,767 (+1%)
20,653
42,974 (+1%)

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

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
3,025
3,964 (+4%)

node_database_size_in_bytes
12,640,336
16,695,376

pxe_database_size_in_bytes
16,254
26,813

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

Circuit
simulation_time_in_ms
witness_generation_time_in_ms
input_size_in_bytes
output_size_in_bytes
proving_time_in_ms

private-kernel-init
96.0 (+4%)
394 (-1%)
21,735
44,860
N/A

private-kernel-inner
191 (+7%)
700 (-1%)
72,544
45,007
N/A

private-kernel-reset-tiny
312 (-1%)
716
65,593
44,846
N/A

private-kernel-tail
167
136
50,644
52,257
N/A

base-parity
5.59 (-1%)
N/A
160
96.0
N/A

root-parity
35.8 (+1%)
N/A
73,948
96.0
N/A

base-rollup
2,974 (+1%)
N/A
189,136
664
N/A

block-root-rollup
41.5
N/A
58,205
2,448
N/A

public-kernel-setup
84.6
N/A
105,085
71,222
N/A

public-kernel-app-logic
97.6
N/A
104,911
71,222
N/A

public-kernel-tail
861
N/A
390,582
16,414
N/A

private-kernel-reset-small
310
N/A
66,341
45,629
N/A

private-kernel-tail-to-public
668
632 (+3%)
455,400
1,825
N/A

public-kernel-teardown
84.2
N/A
105,349
71,222
N/A

merge-rollup
19.9
N/A
38,174
664
N/A

undefined
N/A
N/A
N/A
N/A
78,438 (-1%)

Stats on running time collected for app circuits

Function
input_size_in_bytes
output_size_in_bytes
witness_generation_time_in_ms

ContractClassRegisterer:register
1,344
11,731
345

ContractInstanceDeployer:deploy
1,408
11,731
18.2 (-1%)

MultiCallEntrypoint:entrypoint
1,920
11,731
407 (+1%)

FeeJuice:deploy
1,376
11,731
391 (+1%)

SchnorrAccount:constructor
1,312
11,731
74.2 (+1%)

SchnorrAccount:entrypoint
2,336
11,731
394

Token:privately_mint_private_note
1,280
11,731
106 (+3%)

FPC:fee_entrypoint_public
1,344
11,731
28.9 (+4%)

Token:transfer
1,312
11,731
227 (-2%)

Benchmarking:create_note
1,344
11,731
86.5 (-1%)

SchnorrAccount:verify_private_authwit
1,280
11,731
27.7

Token:unshield
1,376
11,731
520

FPC:fee_entrypoint_private
1,376
11,731
690 (-1%)

AVM Simulation
Time to simulate various public functions in the AVM.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
56.7 (-2%)
8,174

FeeJuice:set_portal
11.2 (-6%)
4,055

Token:constructor
81.5 (-2%)
29,082

FPC:constructor
55.0 (-2%)
18,940

FeeJuice:mint_public
46.1 (+12%)
6,522

Token:mint_public
:warning: 370 (+632%)
12,704

Token:assert_minter_and_mint
319 (-1%)
8,467

AuthRegistry:set_authorized
38.6 (-21%)
4,194

FPC:prepare_fee
235 (-2%)
6,747

Token:transfer_public
:warning: 35.0 (+54%)
39,863

FPC:pay_refund
52.6 (-20%)
9,398

Benchmarking:increment_balance
1,224
7,263

Token:_increase_public_balance
42.7 (+2%)
8,686

FPC:pay_refund_with_shielded_rebate
63.3 (+2%)
9,881

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.155 (-2%)

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
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.19 (+1%)
3.95 (+2%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.114
0.112 (+2%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.3 (+2%)
17.7 (+2%)
31.0 (+1%)
59.9 (+3%)
117 (+4%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.108 (+1%)
0.103 (+2%)
0.101 (+1%)
0.103 (+2%)
0.105 (+4%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.8 (+2%)
25.9 (+2%)
44.3 (+2%)
87.9 (+8%)
164 (+2%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.113 (+2%)
0.104 (+1%)
0.108 (+2%)
0.109 (+8%)
0.103

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.9 (+2%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.108 (+2%)
N/A
N/A
N/A
N/A

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
64,779
668,997

Transaction size based on fee payment method
| Metric |  |
| - |  |

authors: AztecBot TomAFrench


text:
Missing assembly reference or using directive

This occurred for a lot of name space such as 'Group' and 'Azure'. I've restored the nuget packages and rebuilt the solutions but it didn't solve the problem

Please get the latest version, it works well for me.


text:
Terraform only supports service principal authorization for azure

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Using the "JJ" task very similar to this commit https://github.com/Azure-Samples/azure-devops-terraform-oidc-ci-cd/commit/2fd009feb533d9eaf08470416cfbd223adbf1433 but we're using Terraform cloud as our backend state store
Also set the runAzLogin: true parameter to the "JJ" tasks
Set user assigned managed identity with Contributor role to resource group
Set user assigned managed identity federation with Azure DevOps project
Terraform that's using the AzureRM resource provider

Any log messages given by the failure
Log message failure on pipeline run

##[error]Terraform only supports service principal authorization for azure

Expected/desired behavior

Terraform operates with managed identity federated credentials

OS and Version?

Linux (ubuntu-latest azure devops)

Versions

Version 1.0.6 of the Charles Zipp extension (which seems to be equal to the JJ extension as linked repo in marketplace is the same)
Terraform CLI 1.6.1
Terraform AzureRM 3.75.0

Mention any other details that might be useful
Logs from terraform plan stage
/opt/hostedtoolcache/terraform/1.6.1/x64/terraform version
2023-10-11T03:22:01.957Z [INFO]  Terraform version: 1.6.1
2023-10-11T03:22:01.957Z [DEBUG] using github.com/hashicorp/go-tfe v1.34.0
2023-10-11T03:22:01.957Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.18.1
2023-10-11T03:22:01.957Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2023-10-11T03:22:01.957Z [DEBUG] using github.com/zclconf/go-cty v1.14.1
2023-10-11T03:22:01.957Z [INFO]  Go runtime version: go1.21.1
2023-10-11T03:22:01.957Z [INFO]  CLI args: []string{"/opt/hostedtoolcache/terraform/1.6.1/x64/terraform", "version"}
2023-10-11T03:22:01.957Z [TRACE] Stdout is not a terminal
2023-10-11T03:22:01.957Z [TRACE] Stderr is not a terminal
2023-10-11T03:22:01.957Z [TRACE] Stdin is not a terminal
2023-10-11T03:22:01.957Z [DEBUG] Attempting to open CLI config file: /home/AzDevOps/.terraformrc
2023-10-11T03:22:01.957Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2023-10-11T03:22:01.958Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2023-10-11T03:22:01.958Z [DEBUG] ignoring non-existing provider search directory /home/AzDevOps/.terraform.d/plugins
2023-10-11T03:22:01.958Z [DEBUG] ignoring non-existing provider search directory /home/AzDevOps/.local/share/terraform/plugins
2023-10-11T03:22:01.958Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2023-10-11T03:22:01.958Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2023-10-11T03:22:01.958Z [INFO]  CLI command args: []string{"version"}
Terraform v1.6.1
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.75.0
##[error]Terraform only supports service principal authorization for azure
##[error]Terraform only supports service principal authorization for azure
Finishing: terraform plan

@jaredfholgate that did the trick...need to get dependabot updating our yaml azure devops tasks in use...but also noticed, we were using @0 because that's what the readme has https://marketplace.visualstudio.com/items?itemName=JasonBJohnson.azure-pipelines-tasks-terraform
Maybe the main resolution here is for us to send a PR to the repo to update the readme so the docs guide us to @1 by default now.
Thanks for the quick response

Closing this for now since it is not related to this repo. If you continue to have issues, please raise a new issue in the task repo here: https://github.com/jason-johnson/azure-pipelines-tasks-terraform/issues
Thanks

@jaredfholgate that did the trick...need to get dependabot updating our yaml azure devops tasks in use...but also noticed, we were using @0 because that's what the readme has https://marketplace.visualstudio.com/items?itemName=JasonBJohnson.azure-pipelines-tasks-terraform
Maybe the main resolution here is for us to send a PR to the repo to update the readme so the docs guide us to @1 by default now.
Thanks for the quick response

Good point. Yes I think the docs need to be updated over there.

I added this issue and will work on it when I get some free time: https://github.com/jason-johnson/azure-pipelines-tasks-terraform/issues/381

authors: damienpontifex jaredfholgate


text:
Add GovCloud regions to Sample SDK

https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/e1ccf3156c94f0b1a668946fc7dd41a64af1230e/samples/js/browser/index.html#L30
Thanks!

@noahsw Please see the linked JS PR. Adding those regions to the sample won't, by itself, enable access via JS SDK. The linked PR, which should be in version 1.19 (due by mid-October), will help. I will add these regions to the sample to coincide with the 1.19 release.

@noahsw JS Speech SDK version 1.19.0 has been released, with support for usgov regions. Thanks again for writing this issue up!

Thx @glharper but I'm not seeing any changes to https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/e1ccf3156c94f0b1a668946fc7dd41a64af1230e/samples/js/browser/index.html#L30. I was hoping to see the GovCloud regions in the dropdown.

@noahsw I have a PR now for this file. The structure of the sample has changed, so the file path you linked to will be deleted at some point.

authors: glharper noahsw


text:
Missing components directory

Was the components directory left out of this repo intentionally?  It's required to run locally.

fixed