Implement alarm

Implement alarm functionality

Alarm is currently in testing progress with following status:

[x] Hard scheduling all alarms on day before target date; With AC power
[x] Hard scheduling all alarms on day before target date; Without AC power
[ ] Soft scheduling all alarms on any day; With AC power
[ ] Soft scheduling all alarms on any day; Without AC power

Done since we are in closed beta already.


fix(legacy): more detailed error and more time in legacy test

On some arm64 runners we need a bit more time

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 6f9ecce8715defbc525a53876892df64a78973d6


eureka can not find the second service if use server.port=0

eureka  just show the first instance but wil never show the incoming service if use server.port=0

Duplicate of #843?

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Modifying objects in javascript fails silently

Hi
I am trying to modify a Golang object in javascript by adding an additional property to the object.
But after trying to do so when reading the property again in javascript it doesn't contain the set value (it is just undefined).
I recently switched over from Otto where I was setting an object from Golang, modifying it in javascript and then able to retrieve it again from Golang (it was now a map instead of the original go object) and then set it again in another js script and use the modified value.
But goja seems to just silently fail, no errors that modifying the object wont work. (Should it throw an exception in this case?)
Ideally I would be able to modify the object and get the modification back in the golang side.
Is there anyway to achieve this with Goja currently?
Thanks

Hi.
Assignments to non-writable properties fail silently in ECMAScript in non-strict mode. You should get a TypeError thrown in strict mode.

Hi, yes thank you there was an instance of Compile I was calling with strict mode set to false and your comment helped me find it thank you.
And for now I have found a work around to the use case I want by using https://github.com/fatih/structs to convert the object to a map before injecting into the JS

Hi, I am using a custom type
 type EventsInputType map[string]any

If my function returns a value of this type (instead of the raw map), it is currently not possible to write properties to that value. Should it? @dop251

Yes, unless the type has exported methods, see https://pkg.go.dev/github.com/dop251/goja#hdr-Maps_with_methods

thanks @dop251 , that explains the behaviour I am seeing


[DEVOPS] We stopped getting alerts when mainnet validator is jailed

Our mainnet validator was jailed today, but we didn't get an alert on discord.

this is a duplicate of this https://github.com/VolumeFi/paloma/issues/1884


View image

When you click on the image, it doesn't enlarge; you need to hold the mouse button to enlarge it

Why would the image enlarge when you click it?


receiving

It is very unclear on how to receive packets? Does anybody have any experience with this task?

Hope this short send & receive example makes it more clearer.
socket = Datagram.createSocket('udp4', 25000);

socket.bind(function (error, port) {
	if (error !== null) {
		console.log(error, port);
	}
});

socket.on('message', function (message, remoteAddress) {
	if (message.length > 0) {
		// process response message
	}
});

socket.send(text, '<IP_ADDRESS>', 25000);

I should update the docs.

aah awesome man! thanks!

Hello Andischerer, thanks for your help. I try to send datagram udp on port 80 but i received the following exception: bind failed:EACCES(Permission denied). Please help me to resolve this issue.

Try using a port above 1024, for examle 5632. Most of the ports below 1024 are already in use by the os.

I can successfully send packet (using udp4), server sends back message, but I do not get it - function inside socket.on is not called. Does anybody know where may be the problem?

how can i receive data from server ?.
this my code and isn't work:
socket.bind(function (error, targetPort) {
  if (error !== null) {
    console.log(error, targetPort);
  }
});

socket.on('message', function (message, targetIp) {
    console.log(message);
});

}


tuya-convert hangs after start_flash.sh at "starting web server in a screen"

Hi All,
I have a problem using tuya-convert.
I have installed VMWarePlayer on an up to date windows machine, installed Ubuntu Desktop, and installed tuya-convert conform instructions. All goes well, even with exactly the expected output like in the install examples, but the installation/execution stops at  "starting web server in a screen".
Any ideas how to solve this?
PPee

mmmm... sorry. should have been more patient

Still having problems with this. Takes such a long time for "starting webserver". This doesnot look normal is it?

It should not take more than a second or two to start the web server. Check your smarthack-web.log file for issues.

Thanks Colin,
Must be something wrong with VMWarePlayer
Switched to a Pi (works fine),and discovered that my Tuya power switches are based on a tot supported chipset 'winner'. Thx for the swift response
PPee

No problem, sorry to hear your devices are not flashable.


[fontconfig] Fix fonts.conf install path

Describe the pull request

What does your PR fix? Fixes #12307
Fix fonts.conf install path.
Which triplets are supported/not supported? Have you updated the CI baseline?
No
Does your PR follow the maintainer guide?
Yes

LGTM, thanks!


Library fails to install

Currently, hotqueue appears to fail to install:
$ env/bin/pip install hotqueue
Collecting hotqueue
  Using cached hotqueue-0.2.7.tar.gz
    Complete output from command python setup.py egg_info:
    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-RJ3enJ/hotqueue/setup.py", line 7, in <module>
        from distribute_setup import use_setuptools; use_setuptools()
      File "/tmp/pip-build-RJ3enJ/hotqueue/distribute_setup.py", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "/tmp/pip-build-RJ3enJ/hotqueue/distribute_setup.py", line 124, in _do_download
        to_dir, download_delay)
      File "/tmp/pip-build-RJ3enJ/hotqueue/distribute_setup.py", line 193, in download_setuptools
        src = urlopen(url)
      File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 435, in open
        response = meth(req, response)
      File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.7/urllib2.py", line 473, in error
        return self._call_chain(*args)
      File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    urllib2.HTTPError: HTTP Error 403: SSL is required

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-RJ3enJ/hotqueue/

I think this is due to a recent change that PyPI made that disallows HTTP(no S) access. The fix here appears to be trivial: I think this line just needs to be https:// (and a new version would need to be released to PyPI).
Edit: actually, the current code tries to import setuptools first, and only if that fails to import does it attempt to access PyPI over HTTP. So, strictly speaking, for my use case (installing w/ pip), since setuptools is always present, all that is needed is just to release master as it is now as a new version. I think it would still be good to change that URL, on the off chance someone runs that code path. (As currently, if that code path runs, it would appear to fail.)
~I'll send a PR for changing the URL.~ Actually, it appears that @ryanstutes has already sent a PR, #20, that would fix this.

PyPi still hasn't picked up this change; the hotqueue package still fails with 403 SSL error when installing from PyPi on Python 2.7

Sorry this took so long to fix - 0.2.8 is live and this should be fixed now. Please reopen this issue if you're still having trouble installing the library.


Dialogue Sounds and Music

What is your question?
How do I change the sound the dialogue box makes for different characters, and put background music over it like week 6?

You can't change dialogue sound
You can change the startDialogue('dialogue'); to startDialogue('dialogue', 'your-music-name'); and put your music inside mods/music/


Using ML.Net on .Net Core 2.2. "An error occurred while processing your request."

I've implemented the C# code in my ASP.Net Core 2.2 MVC Web app. When I run it on my local machine the ML works fine. It also works as expected when I remove the ConsumeModel() from controller. However when I deploy it to azure and execute ConsumeModel() I get a server error. From my azure app service I click the Diagnose and solve problems tab. The App Error Analysis says, "There is an issue with your web.config. One of the configuration sections in your config cannot be read because it is missing a section declaration." From the Request Tracing Logs I see a 500 error. ModuleName: AspNetCoreModuleV2, Notification: EXECUTE_REQUEST_HANDLER. How do I configure my web.config so that my app service can execute the ConsumeModel()?

I tracked down the issue. My Model.zip file was not being included in my deployment. It created a System.IO.File exception. Once I manually uploaded the missing files the application functioned as expected. Thanks for your time.


Consider disposition of Windows build and infrastructure

cc @leecow @dleeapho

source-build for windows is tracted in https://github.com/dotnet/source-build/issues/2910.


Datepicker shows chinese characters instead of english

How can i change the langauge of the datepicker to english/german or any other language?

https://element.eleme.cn/#/en-US/component/i18n


Function for adding/removing inputs rather than just replacing them

Is your feature request related to a problem?
Current Input code allows you to switch an input with a combination of input_binding_scan_start and input_binding_set_safe. But there isn't currently an easy way to add/subtract from the list, instead of merely replacing an input on the list.
Describe the solution you'd like
It would be cool if that was already a predefined function; something like input_binding_add_safe (and input_binding_subtract_safe). It would go a long way towards accessibility! The complete process would look something like:
if keyboard_check_pressed(ord("Q")) {     input_binding_scan_start(function(_binding)     {         input_binding_add_safe("up", _binding);     }); }
...which would scan for the next pressed key, then add to the list of the current "up" inputs by replacing the first one that returns as "undefined" (aka empty).
Describe alternatives you've considered
By adding for loops and utilizing alternatives left undefined, you can force it to add/subtract from the list, instead of switching. For adding inputs, this would be a for loop that checks for the first undefined alternative, then replaces it with the input_binding_scan_start key. But this is difficult and could be automated.
Additional context
I am a novice-at-best programmer so the solution is my best guess rather than an expert opinion. But I'm sure this is possible!

All of this is possible with effort using the existing API and I don't believe Input should be insulating you from learning to use loops. …binding_set_safe, …binding_get_verbs, and …binding_remove are the tools you need to achieve what you've described


Add test case for #2567

@KacperFKorban  This seems to work correctly in the current Scalameta version, maybe it's just using an older version? Or this is actually a scastie issue.
closes https://github.com/scalameta/scalameta/issues/2567

@tgodzik is it important that in the original example, there are no parens around the parameter?

@tgodzik is it important that in the original example, there are no parens around the parameter?

That's my bad, I tested that originally, but then forgot about assertLayout which we used for comparing printed tree :sweat_smile:


pm: Fix state_force functionality

The "state forced" flag has to be cleared with the scheduler locked,
otherwise the idle thread can be scheduled out without clear it and
the next call to force a state will fail.
With the forced flag been cleared with the kernel locked in the
suspend path, we need to clear it out when the suspend process fails.
This is mow done before jump to the end label because in the
successful path the flag is already cleared.
Fixes #41911

@r2r0 would you mind confirm it fixes the point and formally approve ?

Thanks @ceolin - for me it works well.
Additionally I checked if there is really called pm_power_state_set with requested state and it does.


Webpage Scaling Issue

When viewing the Web Management Pages at "100%" the page content is not properly aligned/scaling correctly. I need to set the browser to "80% to view the page content with the proper layout.
100%

80%

This occurs when using Edge 130.0.2849.80 on Windows 11 23H2 on a Surface Go 3 - Screen Resolution: 1920x1280 - 150% Scaling.
OpenJBOD Version 1.2.0

Interesting. This hasn't been tested on a device with scaling as I don't have any. I'll try to see what I can do with the CSS framework since ideally, it should be responsive, but it seems not to be so.


Sync settings when users are fetched

Description of the PR
When users or partial users should be fetched, their settings should also. A similar pr should be made to the member gatway plugin.
Changes Proposed in this Pull Request (List new items in CHANGELOG.MD)

Semver Classification

[ ] This PR only includes documentation or non-code changes.
[ ] This PR fixes a bug and does not change the (intended) framework interface.
[x] This PR adds methods or properties to the framework interface.
[ ] This PR removes or renames methods or properties in the framework interface.

This is to Settings branch, and can be merged when @kyranet feels it's ready


Fix code editor tabs and tooltip styles

Addresses #56

@kiootic yes, having multiple rows is intentional. I'll add some dummy padding as you said


Watchdog feeding thread

Configurable check for various timeouts, and takes safe actions.
If this thread is hung, the watchdog resets the CPU.

Fixed in #316

Did #316 take care of this, or is this something we still need to do?

Hi,
Has any work been done on the watchdog thread? If not, I have something that may be suitable.
Cheers
Simon


The component was sending the wrong integer number when  selected thr…

The component was sending the wrong integer number when  selected through the key board.
When the options in the autocomplete are more one, the component send the next option selected.
Fixed the bug sending the position minus 1 when the list option is more than 1 option.

Hi! Idon`t know to do the test. Somebody can helpme. thanks!

Hi @jairorudas, if you click on details for the build you will be able to see which tests have failed.
For testing they make use of the Jasmine framework, you will notice the tests don't exactly have ID's or anything, that's cause they are actually defined by their description. The sentence that describes each test is actually a concatenated string made from a bunch of split up strings in the test file...kinda like a hierarchy of tests. Then again, the errors do show the file and line number so you can figure out exactly where the error is through that.
To run the test locally you will need npm and grunt installed, from there you can just call grunt from the command line and that should build all the code and run the tests.
Since I don't actually work on this project I have no clue what it is you were working on so can't help you with the tests themselves though I hope I've pointed you in the right direction.
Thanks 😄 ,
Mohamed


ChoreUpdate .asf.yaml

Add doris-robot to collaborators
We hope that the robot can add labels to PR to help us classify issues faster.

run buildall


Build failure on macOS 10.14.6 Mojave with homebrew llvm 12.0.1

From current master (471c96c37ab117c422038bf0b2a492d67ffab922) I ran, after brew install llvm and successfully installing massivethreads:
$ ./configure --with-llvm=/usr/local/opt/llvm
...
$ make

This ends with an error when trying to run the built executable minismlsharp:
$ ./minismlsharp
command failed at status 1: getVersion /usr/local/Cellar/llvm/12.0.1/bin/llc -version

Manually running llc gives:
$ /usr/local/Cellar/llvm/12.0.1/bin/llc -version
Homebrew LLVM version 12.0.1
  Optimized build.
  Default target: x86_64-apple-darwin18.7.0
  Host CPU: broadwell

  Registered Targets:
    aarch64    - AArch64 (little endian)
    aarch64_32 - AArch64 (little endian ILP32)
    ...

The problem is, LLVMUtils.sml doesn't recognize the line Homebrew LLVM version 12.0.1 in the output of llc.
(The Homebrew part comes from LLVM's PACKAGE_VENDOR configuration macro and the code printing it is here.)
The version detection logic in LLVMUtils.sml should be more robust.


Support for jax.scipy?

Hi all, is there a plan to add support for some of scipy? When writing JAX code, there are many functions like sigmoid and softmax that one must either call jax.nn.* for, or jax.scipy.special.* for. The suggested approach for Keras 3 seems to be to call keras.ops.sigmoid, but this results in code that is no longer backwards compatible with a no-Keras JAX implementation. What I'd like to be able to do is write code like:
import keras.ops as jnp
import keras.scipy as jsp

jsp.special.sigmoid(jnp.zeros(10))

This code will still work if I switch back from keras to jax.numpy and jax.scipy as a backend, but this isn't the case if I use Keras 3 (unless I gain a Keras 3 dependency, which seems like a lot for just some sigmoids and logits).

Thanks for the suggestion. However, that's not in scope for Keras. Keras does not aim at providing a drop-in replacement for NumPy that you could run with an existing codebase. The reason we adopt the NumPy API standard is to minimize user surprise, not to be code-compatible with NumPy.
For your use case, note sigmoid is exported at keras.ops.nn.sigmoid, which matches jax.nn.sigmoid (albeit not intentionally).


 My old script did the following:

Get the name of the next LV
Snapshot the LV
Calculate the number of "chunks" in the LV (chunksize = 1G)
3a) Use dd to read the chunk from the snapshot, and write to a ramdrive on the local system
3b) Use ssh to the remote system, and use dd to read the chunk from the remote LV to a ramdrive on the remote
3c) Depending on time of day and day of week, either set the rate to 1.5m or unlimited
3d) Use rsync with the rate to update the remote copy of the "chunk"
3e) Use dd to write the remote chunk back to the LV
3f) Delete the local chunk copy
3g) loop back to 3a for the next chunk
Delete the snapshot

The "new" script seemed like a much better solution, since it would save steps 3a, 3b, and 3e which should all be somewhat "slow" compared to just reading, and writing the changes. It simply replaced all of step 3 with bscp to copy the snapshot to the remote.
The old script took approx 36 hours to complete (max 36 hours, min 29.5 hours, avg 33.8 hours over 10 runs) , and my hope was that bscp would help to reduce it to closer to 24 hours (or less, since it no longer sets a bwlimit during the sync copy). However, it is taking significantly longer, the current run has taken over 72 hours, and is still not complete yet. This isn't the first run, just I don't have the logs from the previous runs.
Can anyone advise if they have seen bscp as being (significantly) less efficient than rsync, or am I doing something wrong? Is there an alternative?
For reference, the maximum speed of the connection is 20Mbps, and the total size of all LV's being copied is 5.4TB.

Please see some additional details from the now completed backup:
Total run time, approx 95 hours (so more than double the rsync time).
2019-03-29 11:48:01 OK Starting VM Imaging process
2019-04-02 10:26:43 OK Image Sync Process Complete
Here is the bscp output for each of the LV's:
in=55704368 out=3931394722 size=182531915776 speedup=45.78
in=22553648 out=4951455994 size=73903636480 speedup=14.86
in=9831728 out=4048521850 size=32216449024 speedup=7.94
in=85196848 out=61157336770 size=279172874240 speedup=4.56
in=3276848 out=59 size=10737418240 speedup=3276.69
in=6480688 out=58 size=21235761152 speedup=3276.75
in=16384048 out=8415849656 size=53687091200 speedup=6.37
in=351930928 out=44504507143 size=1153207107584 speedup=25.71
in=16384048 out=7263586139 size=53687091200 speedup=7.37
in=16384048 out=65599 size=53687091200 speedup=3263.72
in=94031408 out=83130831680 size=308121960448 speedup=3.70
in=49152048 out=65602 size=161061273600 speedup=3272.43
in=32769328 out=2766022397 size=107378376704 speedup=38.37
in=9831728 out=65601 size=32216449024 speedup=3255.06
in=32768048 out=3261731677 size=107374182400 speedup=32.59
in=29491248 out=702107391 size=96636764160 speedup=132.09
in=49152048 out=62929122178 size=161061273600 speedup=2.56
in=6480688 out=65601 size=21235761152 speedup=3243.94
in=16385328 out=5907939589 size=53691285504 speedup=9.06
in=114690608 out=15304392974 size=375818027008 speedup=24.37
in=632265008 out=117613202368 size=2071805820928 speedup=17.52
in=41943088 out=23601804566 size=137438953472 speedup=5.81
in=41943088 out=14384482934 size=137438953472 speedup=9.53
in=41943088 out=15946199822 size=137438953472 speedup=8.60
If there is any additional data that would be helpful, please let me know.

This is really strange and I have no explanation for this. When I measured years ago, the results for Rsync were very bad, which is why I created Bscp in the first place.

To anyone involved in this issue, please see #16 "Future of bscp".

Meanwhile, Bscp improved quite a lot, hopefully solving the observed performance issues along the way.
@adamgoryachev Would you mind repeating your measurements?

Unfortunately I'm no longer working in that environment, and no longer using rsync/bscp for replication. You can probably close this issue unless someone else is having the same problem.
Now I re read this, I wish I had kept my script, it was at least interesting in the way it solved the issue


ctr-remote: replace the appendDefaultLabelsHandlerWrapper function

ctr-remote: use the AppendLabelsHandlerWrapper function exported by nydus-snapshotter to replace the appendDefaultLabelsHandlerWrapper function
Signed-off-by: loheagn<EMAIL_ADDRESS>

@loheagn , a new test job has been submitted. Please wait in patience.

@loheagn , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:white_check_mark:SUCCESS

build-docker-image:white_check_mark:SUCCESS

compile-nydus:white_check_mark:SUCCESS

compile-ctr-remote:white_check_mark:SUCCESS

compile-nydus-snapshotter:white_check_mark:SUCCESS

start-nydus-snapshotter-config-containerd:white_check_mark:SUCCESS

run-container-with-nydus-image:white_check_mark:SUCCESS

Congratulations, your test job passed!


startEngine crashing on Android

When calling stopEngine and startEngine, sometimes one of two things can happen:

the call to startEngine will fail to actually resume audio playback (and another call to stopEngine and startEngine, sometimes fixes that)
or it outright crashes with a MAResult of -1 (Generic Error)

Tested on:
Samsung Galaxy M21 (Android Version 10)
Huawei P7-L10 (Android Version 4.4.2)
(both devices show this behaviour)
I've created an example that reproduces the issue here: https://github.com/klianc09/miniaudio-mvce/blob/main/core/src/mvce/miniaudio/MiniAudioMVCE.java

Hello, any update on this? I have the exact same problem in the latest version (0.3)

Hi, I didn't have any time yet to debug this, but I noticed that when it raises the Generic Error, that if I try again, it usually seems to work.

Not pretty, but what can you do ....

Thanks for the suggestion, I'll try that. yes that's not a cool solution hehe.

Dig a bit more down in this issue and I think I got the point. For what I've understand AAudio (based on system state) sometimes can be slow to start, especially in low end devices (the stress test crashes on my device extremely rare, while happens much more frequently on the emulator). It's also advised in the MiniAudio's code:
https://github.com/rednblackgames/gdx-miniaudio/blob/master/jni/miniaudio.h#L37922
So basically yes, the solution is to wait AAudio until it starts. Considering that MiniAudio runs in its own thread detaching the initialization from the rendering loop can be an idea, and instead calling startEngine a bunch of times maybe try to wait 1 or 2 sec before attempting to start it again. At moment I don't think there's a better way to handle this, but if someone has more suggestions please feel free to comment, I'll leave this open

Just want to mention my new workaround which consist of setting the Master Volume to 0 and back to 1 instead of stopping and starting the engine.
Doesn't fully solve the issue yet, because the initial startup of MiniAudio can still fail (or timeout I guess).

Seeing both of these in production as well on 0.3.
On create()

Unable to init MiniAudio Engine [Code -1]
games.rednblack.miniaudio.MiniAudio.initEngine (MiniAudio.java:130)
games.rednblack.miniaudio.MiniAudio. (MiniAudio.java:103)
games.rednblack.miniaudio.MiniAudio. (MiniAudio.java:89)
com.mygame.MyGame.create (MyGame.java:105)

and on resume()

Unable to start MiniAudio Engine [Code -1]
games.rednblack.miniaudio.MiniAudio.startEngine (MiniAudio.java:404)
com.mygame.MyGame.resume (MyGame.java:333)

The crashes so far are on devices on Android 11 about it's early to tell if other OS versions will crash as well (didn't want to push the realese to all users) and crash rate so far is around 4% (again, not enough data).
Has anybody made any progress on this?
@fgnm Can you please develop a bit more on the suggested fix/workaround?

So guys, thank you so much for all the reports. Appears that AAudio is quite buggy on many Android versions, and this issue appears to be one of those bugs. MiniAudio actually support AAudio from SDK >= 26 (Android 8), Oboe (https://github.com/google/oboe/issues/473) and Unity 2023.1.0 (https://unity.com/releases/editor/whats-new/2023.1.0) allow AAudio from SDK >= 27 (Android 8.1).
while the 0.3 is on SDK >= 26, the latest snapshot of gdx-miniaudio is set to use AAudio from SDK >= 31 (Android 12), but I feel that might be too restrictive compared to others, and also @obigu reported a similar crash on Android 13 as well. So finally I discovered that miniaudio has some internal functions that reset the device state, and well after the reset the engine return to works properly!
In the 0.4-SNAPSHOT there's now a new API MiniAudio#resetAAudio which should be used at high level in this way:
		try {
			miniAudio.startEngine();
		} catch (Exception e) {
			e.printStackTrace();
			//Manually check if current platform is Android and SDK >= MA_AAUDIO_MIN_ANDROID_SDK_VERSION
			miniAudio.resetAAudio();
			miniAudio.startEngine();
		}

It's a temporary API just for testing, I'll add a safe check to prevent crashes if invoked on other platform later, but meanwhile this appears to be a good solution which at least always recover the stress test proposed by @klianc09

It passes my stress test :eyes: you have my attention.
Will take time out of my week to test this on my device and report back.

I think that with 004490c3f0379bb2c7aca6e94638bcfbf9a949e3 this issue can be finally considered completed.. I'll leave open until the next release anyway.

Tested 0.4-SNAPSHOT on my devices and there is no crash with my stress test.

(my devices, as noted in the initial comment)
Samsung Galaxy M21 (Android Version 10)
Huawei P7-L10 (Android Version 4.4.2)

I'm happy and optimistic about this fix.

I launched my app on Google play store and I am receiving crash error from some devices. I used 0.4-SNAPSHOT. The error codes are:
Exception games.rednblack.miniaudio.MiniAudioException:   at games.rednblack.miniaudio.MiniAudio.initEngine (MiniAudio.java:183)   at games.rednblack.miniaudio.MiniAudio.<init> (MiniAudio.java:154)   at games.rednblack.miniaudio.MiniAudio.<init> (MiniAudio.java:136)
And another crash:
Exception games.rednblack.miniaudio.MiniAudioException:   at games.rednblack.miniaudio.MiniAudio.startEngine (MiniAudio.java:485)   at com.mygame.Frame.resume (Frame.java:234)   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame (AndroidGraphics.java:485)   at android.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1581)   at android.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1280)
Another crash:
[split_config.arm64_v8a.apk!libgdx-miniaudio.so] Java_games_rednblack_miniaudio_MiniAudio_jniGroupFade
#00  pc 0x000000000002bd68  /system/lib64/libaaudio_internal.so (aaudio::AudioStreamTrack::close_l()+48)   #01  pc 0x00000000000217b0  /system/lib64/libaaudio_internal.so (aaudio::AudioStream::safeReleaseCloseInternal()+228)   #02  pc 0x0000000000021688  /system/lib64/libaaudio_internal.so (aaudio::AudioStream::safeReleaseClose()+184)   #03  pc 0x0000000000003e4c  /system/lib64/libaaudio.so (AAudioStream_close.cfi+140)

I launched my app on Google play store and I am receiving crash error from some devices. I used 0.4-SNAPSHOT. The error codes are: Exception games.rednblack.miniaudio.MiniAudioException: at games.rednblack.miniaudio.MiniAudio.initEngine (MiniAudio.java:183) at games.rednblack.miniaudio.MiniAudio.<init> (MiniAudio.java:154) at games.rednblack.miniaudio.MiniAudio.<init> (MiniAudio.java:136)
And another crash:
Exception games.rednblack.miniaudio.MiniAudioException: at games.rednblack.miniaudio.MiniAudio.startEngine (MiniAudio.java:485) at com.mygame.Frame.resume (Frame.java:234) at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame (AndroidGraphics.java:485) at android.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1581) at android.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1280)
Another crash:
[split_config.arm64_v8a.apk!libgdx-miniaudio.so] Java_games_rednblack_miniaudio_MiniAudio_jniGroupFade #00 pc 0x000000000002bd68 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamTrack::close_l()+48) #01 pc 0x00000000000217b0 /system/lib64/libaaudio_internal.so (aaudio::AudioStream::safeReleaseCloseInternal()+228) #02 pc 0x0000000000021688 /system/lib64/libaaudio_internal.so (aaudio::AudioStream::safeReleaseClose()+184) #03 pc 0x0000000000003e4c /system/lib64/libaaudio.so (AAudioStream_close.cfi+140)

I have in my list of TODOs to create an issue here on my experience on crashes both on iOS and Android but as a general advice try/catch (MiniAudioException) all MiniAudio startEngine/stopEngine/dispose calls. Some of the crashes seem not to be fatal and are recoverable (if you still want info about them, if you use Crashlytics you can record non fatal exceptions and add any additional custom log).
My experience on Android is that AAudio is a bit buggy (not sure if it's the MiniAudio backend or AAudio itself) and most of the errors are from Android 12+ devices. I think @fgnm may have a solution to add a config option to choose OpenSL backend for all versions.

Thanks @obigu.
I will try/catch (MiniAudioException) to see if it will work. I will report my findings here.

I think we can consider this issue closed, the problem comes from bugs in AAudio implementation for some Android versions. If you still have issues and don't need AAudio specific features (mostly low latency) you can easily disable with new MiniAudio(null, false, false, true), the third argument disable AAudio and uses OpenSL, which is more stable and less buggy

I launched my app on Google play store and I am receiving crash error from some devices. I used 0.4-SNAPSHOT. The error codes are: Exception games.rednblack.miniaudio.MiniAudioException: at games.rednblack.miniaudio.MiniAudio.initEngine (MiniAudio.java:183) at games.rednblack.miniaudio.MiniAudio.<init> (MiniAudio.java:154) at games.rednblack.miniaudio.MiniAudio.<init> (MiniAudio.java:136)
And another crash:
Exception games.rednblack.miniaudio.MiniAudioException: at games.rednblack.miniaudio.MiniAudio.startEngine (MiniAudio.java:485) at com.mygame.Frame.resume (Frame.java:234) at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame (AndroidGraphics.java:485) at android.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1581) at android.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1280)
Another crash:
[split_config.arm64_v8a.apk!libgdx-miniaudio.so] Java_games_rednblack_miniaudio_MiniAudio_jniGroupFade #00 pc 0x000000000002bd68 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamTrack::close_l()+48) #01 pc 0x00000000000217b0 /system/lib64/libaaudio_internal.so (aaudio::AudioStream::safeReleaseCloseInternal()+228) #02 pc 0x0000000000021688 /system/lib64/libaaudio_internal.so (aaudio::AudioStream::safeReleaseClose()+184) #03 pc 0x0000000000003e4c /system/lib64/libaaudio.so (AAudioStream_close.cfi+140)

That arm64 crash is interesting. I'm experiencing a similar crash on Android 15 (API level 35), running Pixel 9 Pro. More details here:
https://github.com/mackron/miniaudio/issues/913
Are you still seeing this crash in Google Play?

@znakeeye interesting the double-free catch! I really hope this could be the real culprit for this weird issue... To answer your question, I think that most of us switched to OpenSL backend (me too) to avoid buggy AAudio


Use azd template list to populate template list

Fixes https://github.com/Azure/azure-dev/issues/476

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/498/azure-dev-0.3.0-alpha.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file


Obsoletion request: GO:0090079   translation regulator activity, nucleic acid binding

Please provide as much information as you can:
see https://github.com/geneontology/go-ontology/issues/29089 for the background

GO term ID and Label

Reason for deprecation Put an x in the appropriate box:

[x]  The reason for obsoletion is that this term was an unnecessary grouping term.

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

"Consider" term(s) (ID and label)
Suggestions for reannotation

Are there annotations to this term?

How many EXP:

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

Is this term in a subset? (check the AmiGO page for that term)

Any other information

Checklist for ontology editor
Check term usage and metadata in Protégé

[ ] check term usage in the ontology
[ ] check internal mappings: RHEA, EC, MetaCyc
[ ] check subset usage
[ ] check taxon constraints

Check annotations

[ ] create Annotation Review spreadsheet

Annotation Review template: https://docs.google.com/spreadsheets/d/1izV3q1jnq_Ybg5MJ53O_b5BCTkGtjl_Fi-cOg3-7eBE/edit#gid=0

Instructions: https://wiki.geneontology.org/Annotation_Review_Request

[ ] create annotation review ticket: https://github.com/geneontology/go-annotation/issues/new?assignees=&labels=annotation+review&template=annotation-review-for-obsoletion.md&title=Review+annotations+to+[INSERT+GO+TERM]
[ ] find external mappings (via IEAS), include in obsoletion notice
[ ] tag curators in Annotation Review ticket. Responsible annotator for each group: https://github.com/geneontology/go-site/blob/master/metadata/group-contacts.csv

Notification

[ ] create obsoletion announcement
[ ] announce to GO friends<EMAIL_ADDRESS>[ ] paste the text in the ontology ticket

Proceed with this based on discussion


Respect buffer in changed tiles detection

If a geometry changes it might be that due to the large buffer value not only the tiles the geomtry is contained within need to be rerendered, but also the adjacent tiles because they contain the geometry as well as part of their buffer.
Buffers are not larger than one tile (< 256px) so one solution would be that for each
dirty tiles all adjacent tiles need to be rerendered as well.
...nasty issue.

The function to calculate bbox for ZXY in Mercator defined in SQL could be improved to accept buffer size if pixels.

The function to calculate bbox for ZXY in Mercator defined in SQL could be improved to accept buffer size in pixels.

:+1: Genius idea!! Much simpler and also allows optimizing for buffer values that are not that large.


Add shortcut for text formatting and FormatBar component

What this PR does / why we need it:
Implemented a feature that allows users to easily apply text formatting symbols in the Markdown editor. By providing keyboard shortcuts and a format bar, users can easily add or remove text formatting symbols to the selected text.

Which issue(s) this PR fixes:
Fixes #236
Special notes for your reviewer:

Keyboard shortcuts for bold, italic, Code, StrikeThrough, etc.
Renders formatting toolbar based on the selected text coordinates
Filters text symbols based on pre-existing text and allows adding/removing symbols in any order
On/off functionality for text formatting through toolbar button clicks
Provide keyboard shortcuts guidance using tooltips when hovering over formatting bar buttons.

Does this PR introduce a user-facing change?:
Events are added to the selected text, enabling users to easily add or remove text formatting symbols using keyboard shortcuts or the formatting toolbar.

Notification:
During testing in the local environment, it was observed that the YorkieIntelligence component moves to the top left corner during the process of adding or removing text symbols. Once the PR is completed, I plan to create an issue for this problem.

As YorkieIntelligence.tsx and FormatBar.tsx are currently rendering independently, I believe that integrating these two functions into a single component would not only resolve this issue but also make the functionality more organized.
Two ideas for implementation include:

Inserting the YorkieIntelligence component into the FormatBar component to solve the issue.

Creating a fixed navigation bar at the top of the Editor area and adding both the FormatBar and YorkieIntelligence components. Although this may increase the work size, it would be more convenient to add other convenience features such as h1, h2, h3, Image, Link, etc.

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

Summary by CodeRabbit

New Features

Introduced a formatting toolbar that appears based on text selection within the editor, enhancing user experience.
Added a new FormatBar component for easy access to formatting options like bold, italic, and strikethrough.
Implemented TooltipButton for interactive formatting buttons with tooltips for better usability.
Added an enumeration for standardized text formatting types, improving consistency across the application.

Bug Fixes

Improved the logic for managing formatting markers in selected text, ensuring accurate application and removal during edits.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.김종현 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@beberiche Could you please sign your CLA?

@krapie
I signed up

@devleejb I modified the code based on your comments

You can rerequest review by this button!
I'll review it now.


NFSv4 example format

Proposed changes
NFSv4 volume creation example was not selectable with no syntax highlighting. I modified it to match NFSv3 example.

Thanks for contributing! I just merged https://github.com/docker/docker.github.io/pull/14036, which should also fix this issue, so let me close this one 😅


fix: typings causing prepack failure

Closes list issues numbers here
Developer Checklist (Definition of Done)
Issue

[x] All acceptance criteria from the issue are met
[ ] Tested in latest Chrome/Firefox

UI/UX/Vis

[x] Requires UI/UX/Vis review

[x] Reviewer(s) are notified @puehringer @dvmoritzschoefl
[ ] Review has occurred (link to notes)
[ ] Feedback is included in this PR
[ ] Reviewer(s) approve of concept and design

Code

[x] Branch is up-to-date with the branch to be merged with, i.e., develop
[x] Code is cleaned up and formatted
[ ] Unit tests are written (frontend/backend if applicable)
[ ] Integration tests are written (if applicable)

PR

[x] Descriptive title for this pull request is provided (will be used for release notes later)
[x] Reviewer and assignees are defined
[x] Add type label (e.g., bug, feature) to this pull request
[x] Add release label (e.g., release: minor) to this PR following semver
[x] The PR is connected to the corresponding issue (via Closes #...)
[x] Summary of changes is written

Summary of changes

Fixed typing issues which cause the installation in other repositories to fail

Screenshots

Additional notes for the reviewer(s)

https://github.com/datavisyn/visyn_core/pull/102/files#diff-cbca81e459207a0b0eac2f058913e3b0b44ea8b7b32249ed0ebb0caf51faf5a3R10 is untested

@dv-usama-ansari I think we can use https://github.com/datavisyn/visyn_core/pull/103 instead, as I think this is not an error on our side. Let me know what you think about it.

Thanks for the update, @puehringer! I shall close this PR in favor of #103


Flutter needs accelerated image processing primitives

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I am dumbfounded by the lack of powerful offscreen accelerated image processing primitives on Flutter, when it has such an incredible renderer.
I am trying to do some basic image processing in my UI (loading a JPEG from a file, displaying the image in a cropping UI, cropping and resizing the image to a target aspect ratio and dimensions, re-encoding as a JPEG).
The only way I can find to do even these most basic of image operations on Flutter is to make use of the image library. This library is the go-to library for image processing in Flutter. However, it does all image processing one pixel at a time in Dart, so it is very slow. image even implements its own codecs in Dart, and these are extremely slow too!
There are numerous 3rd party libraries that try to speed up certain operations, e.g. cropping, or compressing/decompressing, by moving those operations to Android/iOS:
https://pub.dev/packages/native_image_cropper
https://pub.dev/packages/flutter_image_compress
graphx at least seems to use the codecs of Canvas to decompress/compress images more quickly than image. However it does not provide any image cropping, resizing, mirroring/rotating features etc.
As a more general observation, image processing in Flutter generally uses Uint8List to represent the decoded ARGB bytes of the image, but some libraries even convert this by repacking into a List<int> (this is horrifically inefficient). Also I would expect images to be kept in memory in their compressed form, not their uncompressed form, with uncompressed pixels only cached if there is frequent reuse of the uncompressed form. I believe the most common formats can be rendered directly, without uncompressing on the CPU first, in most acceleration APIs today?
Actual results
Image processing is painfully slow on Flutter currently.
Flutter really (really) needs some powerful offscreen image processing primitives, which are hardware-accelerated wherever possible on the target architecture.
Even supporting just a few basic operations (encode/decode, resize, crop, mirror, rotate, mask, blur, sharpen) would be huge.
Logs
No response
Flutter Doctor output

Doctor output
$ flutter doctor -v
[✓] Flutter (Channel stable, 3.10.4, on Fedora Linux 38 (Workstation Edition)
    6.3.6-200.fc38.x86_64, locale en_US.utf8)
    • Flutter version 3.10.4 on channel stable at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 682aa387cf (10 days ago), 2023-06-05 18:04:56 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /home/luke/Android/Sdk
    • Platform android-UpsideDownCake, build-tools 33.0.1
    • Java binary at: /opt/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 16.0.5 (Fedora 16.0.5-1.fc38)
    • cmake version 3.26.4
    • ninja version 1.11.1
    • pkg-config version 1.8.0

[✓] Android Studio (version 2022.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 73.0.2
    • Dart plugin version 222.4582
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.79.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.66.0

[✓] Connected device (3 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 13
      (API 33) (emulator)
    • Linux (desktop)            • linux         • linux-x64      • Fedora Linux
      38 (Workstation Edition) 6.3.6-200.fc38.x86_64
    • Chrome (web)               • chrome        • web-javascript • Google
      Chrome 114.0.5735.106

[✓] Network resources
    • All expected network resources are available.

• No issues found!

I'm a bit confused about what you're asking about.
package:image implements codecs for conversion between image formats. These formats are usually compressed, and decoding or encoding/converting between these formats and raw pixel data is a fundamentally serial and CPU bound operation (though of course, its better to run this work on background threads). There are no GPUs that I am aware of that natively support these formats.
On the other hand, resizing/cropping/mirriring, et cetera are absolutely all performed by a GPU on you are dealing with a ui.Image. So for example, create a canvas, draw an image, apply a blur, call toImage on that canvas, then ask for the png bytes. Boom, you have GPU accelerated image processing.
var recorder = PictureRecorder();
var canvas = Canvas(recorder);
canvas.drawImage(Offset.zero, myImage);
canvas.transform( ... some transformation ...)
var picture = recorder.endRecording();
picture.toImage(100, 100).then((ui.Image) {
  var png = ui.Image.toByteData(format: ... whatever you want )
}

Is that what you are asking for?

@jonahwilliams Yes, that looks like what I was looking for, thanks. I didn't realize you could use Canvas in that way. I did a lot of digging, and all I found just before seeing your response was a way to render widgets off-screen.
Your response makes me wonder why the image library doesn't do exactly this for image rescaling etc. -- it would be dramatically faster. Part of the reason why I couldn't find the Canvas solution is that everybody seems to be using the image library if they want to do image processing, so that reinforced the assumption that there was no efficient alternative.
Many thanks!

IIRC image does not depend on Flutter, which is probably why.


Play audio through browser

Is it possible to play the audio through the web browser when using a wav input (or any other methods)

Beyond me at the moment. I find it an interesting extension but i'm unlikley to add it as most of my uses are not at audio rates. I can see where it may go and it is more work than i would like to invest.
Sorry.


[local_auth] Get list of existing biometrics on device

Description
I needed to know what types of biometric authentication are available on the device (before enrollment) but as of now, the plugin only allows to check if there are at least one method of biometric authentication. In my use case, I have two screens: one for Face ID and one for Touch ID / Fingerprint.
Related Issues
None
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@luismarquesfreire why they rejected this?


Browser compile inline tag issues

Optional script tag issue, throws an error if script tag used inline
http://plnkr.co/edit/YokYfsteY781UFitHfjS?p=info
but is fine without the script tag
http://plnkr.co/edit/pXINh2zatGdBhvw6QzMD?p=preview
not sure how to describe, but I think there may be a general compiler issue with inline tags, but seems fine in the test cases
http://plnkr.co/edit/iZKR65JnNAw3fYcoYXVD?p=preview
further conversation #614

It looks like the script tag issue inline is an issue with innerHTML and not riot, it seems to return up to the closing script tag.  So maybe the answer is to document that script tag is not permitted in inline tags.  I get the same with outerHTML so that as a hack is off the table.

maybe there needs to be an  tag or similar?

Is there a reason you need the script tag inline and can not load an external tag file?

Looks like the other is a documentation issue also, the Tag definition always starts on the beginning of the line: in the documentation applies to tag files, inline tag definitions actually are expected to be indented.  I will update the docs and PR

looks like @cognitom is already working on this https://github.com/muut/riotjs/issues/445#issuecomment-93323893

I was getting the unexpected character error even with a separate .tags file. I think that was triggered by the inclusion or exclusion of a UTF BOM at the start of the file.
I really think the Riot parser needs to ignore leading (and probably trailing) white space.

@dotnetchris can I close this?  I know it may not have been the answer you were looking for but at least it shed some light on the issue.

@rsbondi is this covered by the 619 ticket?

I suppose, just the doc update

@rsbondi i think there's still an issue in the parser related to a BOM or similar character

do you have an example to illustrate the issue?

No, only thing i have to do on is i got the unexpected character < from the todo.tag sample even when it was in a separate file, but looking to the github.io file allowed it to work

OK, so I am closing, if you come up with an example, we can re-evaluate.


Tasks V1/V2 compatibility

Checklist before merging

[X] I added an appropriate entry to CHANGELOG.md

Closes #438
Closes #433
Closes #448
Closes #330

The new Task V1/V2 compatibility page:

Switcher for V1/V2 tasks in workflow page task selector:

Legacy tasks inserted in V2 workflow:

The new Task V1/V2 compatibility page:

Looks good to me!
How are we displaying different versions of the same task? Are they still all listed (even if they are not grouped any more)?

Switcher for V1/V2 tasks in workflow page task selector:

I think we should avoid V1 and V2. Maybe "current tasks" and "legacy tasks"?

Legacy tasks inserted in V2 workflow:

Same as above, what about "legacy" instead of "v1"?

With multiple versions the old versions are inside collapsed rows, as in the main task list table:

Used current/legacy:

+1 on using legacy wording.
I think Tommaso's question was for the adding task modal. There, the version selector usually just shows up when a task is selected, I assume it's still the same :)

Task V1 collection:

Task V2 collection:

Admin V2 sections:

Setting V1 tasks as V2-compatible (with single versions):

Setting V1 tasks as V2-compatible (with multiple versions available):

Minor question: before I expand the "+" button, I can already mark act on the true/false switch, which modifies the latest-version task. I'm not sure this is the most intuitive behavior (at first I thought it would have modified the whole block of tasks, for all versions), but TBH this is an admin-only page and we don't need to invest in polishing too much.
Adding a V2 task into a V2 workflow

Adding a V1 task into a V2 workflow (when no V1 task is V2-compatible):

Adding a V1 task into a V2 workflow (when there is a single version of the only V2-compatible V1 task):

Adding a V1 task into a V2 workflow (when there are two versions of the only V2-compatible V1 task):

All works as expected, thanks!
Let's open other issues for polishing this new feature.


Feature request : Get CardElement in other languages

Have you plan to do this soon ?
I'd love to have the CardElement in french :) because all my site is in french and it's surprising to see "card number" when customer will pay...
I didn't saw any language options in the doc.

Ok, i saw that in firefox the text is in french but in chrome and edge it's in english..
Bug ?

Hey @grean!
You can set the desired locale when creating Elements. See the locale option here: https://stripe.com/docs/stripe-js/reference#elements-create. In this case you can set it to fr.
In the future, please reach out to our helpful support team (https://stripe.com/contact) for integration questions. This repo is for bugs in react-stripe-elements specifically.

As for the other browsers, Elements automatically infers the locale from the browser settings. It’s possible your Chrome locale is set to English.

Ok i thought that all the docs was in github but in a comment inside a code exemple there is a link to the stripe doc.
Thanks for the reply :)

Ah sorry about that! The locale option is frequently used, and is indeed mentioned in the README for this repo (https://github.com/stripe/react-stripe-elements#props-shape-1). Please let us know if there are ways we can improve the documentation in the future!

Hi there,
Could you please advise on how to change placeholder text for languages that are not supported? We offer our site in a number of languages, including TR, ID, KO, VI that are all missing from your supported languages list.
We don't want to show Card number placeholder in English for these customers but want to pass our own translations - can't find this in your documentation. Could you please help?
Thanks


feat: enable culling sessions

Depends on #668. Should be reviewed and merged after #668.
Enables culling for sessions. By default anonymous sessions are culled after being idle for 12 hours and registered users sessions after 24 hours.

Thanks @olevski!! Could you change the reference branch (and rebase) so we see just the changes introduced by this PR?


Update copyright info to "The SMP Authors"

Signed-off-by: Navendu Pottekkat<EMAIL_ADDRESS>Description
This PR fixes #199
This PR changes all the occurrences of "© 2021 Layer5, Inc." to "© 2021 The SMP Authors".
These include the footer in the website and the Licenses.

[x] Yes, I signed my commits.

@leecalcote committed your suggestions. I think we are good to go.


How to stop a feedback loop in translation?

I implemented a speech-to-speech translation app in .NET. It works fine with a headset but it enters in a translation loop when using microphone and speaker. It tries to translate the result of a translation.
How can I pause the TranslationRecognizer while playing the audio? I'm trying to use StopContinuousRecognitionAsync() and StartContinuousRecognitionAsync() but it's not possible inside the Synthesizing event handler.

I think I got it. I have to play the audio in the same thread.


SSO Protocol Support

Added schema updates, token service API calls, and OAuthPrompt updates to support SSO (single sign on) protocol operations for user login flows.
@Ted and @gabog , can you make sure your skill OAuth calls are still right?

Pull Request Test Coverage Report for Build 105454

0 of 0   changed or added relevant lines in 0 files are covered.
214 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.2%) to 79.157%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder/ActivityHandler.cs
8
74.42%

/libraries/Microsoft.Bot.Builder/Adapters/TestAdapter.cs
49
79.86%

/libraries/Microsoft.Bot.Builder.Dialogs/Prompts/OAuthPrompt.cs
61
68.7%

/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs
96
34.22%

Totals

Change from base Build 105105:
-0.2%

Covered Lines:
10816

Relevant Lines:
13664

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3


Extract blocker mode into separate command

Codecov Report

Merging #299 (eb5db0d) into master (7c70d79) will decrease coverage by 0.25%.
The diff coverage is 22.94%.

@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
- Coverage   30.65%   30.40%   -0.26%
==========================================
  Files          55       58       +3
  Lines        5349     5492     +143
  Branches     1179     1191      +12
==========================================
+ Hits         1640     1670      +30
- Misses       3608     3721     +113
  Partials      101      101

Impacted Files
Coverage Δ

elliottlib/cli/__main__.py
0.00% <0.00%> (ø)

elliottlib/cli/attach_bugs_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/create_placeholder_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/create_textonly_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/find_bugs_blocker_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/find_bugs_qe_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/verify_attached_bugs_cli.py
0.00% <0.00%> (ø)

elliottlib/openshiftclient.py
0.00% <ø> (-14.64%)
:arrow_down:

elliottlib/runtime.py
15.47% <ø> (ø)

elliottlib/tarball_sources.py
32.22% <ø> (ø)

... and 8 more

Continue to review full report at Codecov.

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


Implementation of prefix sum array

Is your feature request related to a problem? Please describe.
Prefix Sum array is a data structure design which helps us to answer several queries such as sum in a given range in constant time which would otherwise take linear time. It requires a linear time preprocessing and is widely used due to its simplicity and effectiveness
Describe the solution you'd like
Given an array arr[] of size n, its prefix sum array is an array of same size such that the value of prefixSumArray[i] is arr[0] + arr[1] + arr[2] … arr[i].
Do you want to work on it
Hi , Iam a gssoc participant ,I would like to implement this in c++ , python and java , please assign me this issue

hey, I would like to implement this using c++.
kindly assign it to me.
@rudrakshi99
@nakul-19

I am a gssoc participant. I can implement this using python. Kindly assign this issue to me.


the readme for getting ready to work on this project is wrong in many places

lots of redundant/dysfunctional downloads
some steps missing

Can you list the things that didn't work properly?

README has been entirely changed.


Use strict mode for webpack command. Fixes #21

This is a relatively straightforward fix for issue #21. Please let me know if there's anything else I need to do.
Also, kudos on the project. This tool is saving me tons of time!

Thanks @sankalpk, and glad to hear that the project is helpful to you.


missing attributes on metrics

Is it able to add some attributes to metric counter like for example service_name, group_name? Based on API we can simpy add attribute in function Add(value, attrib), but once I capture the data (in open telemetry collector from docker) I only see Metrics structure (name , description, unit, kind). I dont see any attributes. I also add this in config to collector.
processors:
attributes:
actions:
- key: "attr_name"
action: "insert"
from_attribute: "attr_name"
Could you help?

The metrics spec allows for adding attributes whenever you create a new measurement. For example, here's how you can do it in JS: https://opentelemetry.io/docs/instrumentation/js/manual/#adding-attributes
Each language's API will be a little different, though. Does that help? Which language are you using?

ok, I fixed it.
working code:
std::map<std::string, std::string> labels = {{"key", "value"}}; auto labelkv = common::KeyValueIterableView<decltype(labels)>{labels}; double_counter->Add(val, labelkv);
not working code:
double_counter->Add(val, {"key", "value"});


IDE Support

ide support could make the package feel more natural in the normal development workflow
First Drafts for the different supported IDEs:

VSCode: (https://github.com/szotp/r-flutter-vscode)
IDEA: (https://github.com/timfreiheit/r-flutter-idea-plugin)

Help welcome

Possible Features (feel free to suggest more):

create new localisation key
rename localisation key

A refactoring method to convert Text('hello world') into Text(i18n.of(context).helloWorld)
A command to find unused assets and localization keys and delete them
A command to list missing localization strings


Feat/docker

Enabled docker support which allows us to deploy this to a kubernetes cluster in AWS with kubectl.
Updated Codeowners
Ran changtelog generator and bumped minor version

Pull Request Test Coverage Report for Build 103

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 98:
0.0%

Covered Lines:
85

Relevant Lines:
85

💛  - Coveralls


Option to disable messing with sshd

It should be possible to disable any change to the sshd config.
For advanced users it is not very nice to get a messed up config with an already working PubKey Auth.

try
https://github.com/n1ce-0ne/rtinst


Light theme find highlight it hard to read

Describe the bug
Its currently hard to see what is highlighted in the find results

(firstName is highlighted and the 2nd one is the active find item, it is visually differently but only slightly)
To Reproduce

On light theme
Return a query result
Ctrl/Cmd+f and find for something common in the results

Expected behavior
Highlighting like it is in chrome

Environment:
Version: 3.0.0-beta.1
Flags: feature_flags: false, query_view: true, explorer_view: true, graphql_view: true, designer_view: true, auth_view: true, functions_view: true, models_view: true, apidocs_view: true, cloud_view: true, themes: true, newsfeed: true, database_version_check: false, highlight_tool: false, legacy_serve: false, cloud_endpoints: production, cloud_access: false, changelog: hidden

Also the highlight in dark theme is not much better on the none active find item


Can we change env. variables at run-time dynamically?

Hi,
Just wondering if there is a way/feature in react-native-config that we can change the env variables at the run-time dynamically?
For ex. let's say both javascript and native layers are pointing to a url endpoint : https://service-end-point-url1 that is coming from a back-end via a config service. Now if we change the url endpoint to https://service-end-point-url2 in the config service while the app is running, is there any way or solution to get react-native-config to update the environment variables dynamically and propagate the values for both javascript and native layers?
Thanks

+1

+1

+1

+1

+1

+1

+1


Wrong params for makeCallingParams

When using loaderFactory method is calling custom makeCallingParams which create new context. By the default this function shoud include ['provider', 'authenticated', 'user'] from given context, but this not happening because this properites is trying to get from context not from context.params.
if (include) {
    (Array.isArray(include) ? include : [include]).forEach(name => {
      if (name in context) included[name] = context[name];
    });
  }

to work like original makeCallingParams need to change to this:
if (name in context.params) included[name] = context.params[name];

or just to use makeCallingParams

Changed it to
if (context.params && name in context.params) included[name] = context.params[name];

There remains an incompatibility in that BatchLoader version includes paginate: false as a default.
People can seemingly delay upgrading Feathers versions as long as possible. So I'd prefer leaving batch-loader woking with v4 rather than force an update to v4 feathers-hooks-common.
Published as v0.3.6

Closing. Feel free to reopn if necessary.


feat(conf): inject nginx directives into kong's proxy location block

Summary
The injection of Nginx directives is currently supported in the http and server contexts, but not in the location context.
To inject Nginx directives into the location context, it is required to create and maintain a custom Nginx template, as detailed in this document.
The goal is to enable injection of Nginx location directives into the Kong Gateway’s proxy block, following the same pattern used for http and server contexts, without the need for a custom Nginx template.
This would streamline the process and maintain consistency across different Kong Gateway’s proxy contexts.
Checklist

[x] The Pull Request has tests
[ ] A changelog file has been added to CHANGELOG/unreleased/kong or adding skip-changelog label on PR if unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

Add nginx_location_*. The new prefix allows for the dynamic injection of Nginx directives into the / location block within Kong's proxy server {} block.

Issue reference

Fix #[issue number]

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

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

We also have indirection, e.g.:
https://github.com/Kong/kong/blob/master/kong/templates/nginx_kong.lua#L165
https://github.com/Kong/kong/blob/master/kong/templates/nginx_kong.lua#L196
https://github.com/Kong/kong/blob/master/kong/templates/nginx_kong.lua#L227
https://github.com/Kong/kong/blob/master/kong/templates/nginx_kong.lua#L258
https://github.com/Kong/kong/blob/master/kong/templates/nginx_kong.lua#L282
Thus I am not totally sure about this. @vvicaretti what are the reasons that you need to use custom template?

@bungle since these are internal locations, I figured there is a less of a need for end users to inject Nginx directives there.
To expand a bit on my specific use case:
An application sets an X-Accel-Redirect header to instruct Nginx where to fetch static assets. This job is delegated to the Nginx-based Edge layer.
In an architecture where Kong sits in between the Edge layer and the application, it is required to instruct Kong to ignore and pass along the X-Accel-Redirect header.
The common pattern to do so would be to add the following directives under the relevant location block:
proxy_ignore_headers X-Accel-Redirect;
proxy_pass_header X-Accel-Redirect;

That's currently not possible, unless we use a custom template.

since these are internal locations, I figured there is less need for end users to inject Nginx directives there

Those internal locations get used if you for example:

turn route.request_buffering=on
turn route.response_buffering=on
call kong.service.request.enable_buffering()
implement :response phase on enable plugin
proxy grpc traffic

So while they are internal, I feel we need to think wether we want the same directives replicated on each, or have their own injection.

So while they are internal, I feel we need to think wether we want the same directives replicated on each, or have their own injections.

I believe it is up to the maintainers to decide what's the best way forward.
I would be happy to update the PR accordingly.

I have pushed this commit https://github.com/Kong/kong/pull/11623/commits/d1e177b7bb64c67838497eb8af33eca89a852146 to include a changelog file (the test was failing). I am afraid tests will have to be triggered one more time :)


Added a QR decomposition algorithm to math section in Python.

Issue Number: #197
Title
I have added an qr composition algorithm script in python that was assigned to me.

I compiled it without any errors, I think you are getting the Syntax Error because of your input, it should consist of two numbers separated by a comma without spaces as shown in the program like this :
λ python3 app.py
Write the size of the matrix separated by a comma (eg: 3,3): 3,3

If that is not the problem, please reply with the Syntax Error you are getting, so I would be able to see the reason for this error.

3,3

Hey @JaniniRami07, this is the error I am getting:

I compiled it without any errors, I think you are getting the Syntax Error because of your input, it should consist of two numbers separated by a comma without spaces as shown in the program like this :
λ python3 app.py
Write the size of the matrix separated by a comma (eg: 3,3): 3,3

If that is not the problem, please reply with the Syntax Error you are getting, so I would be able to see the reason for this error.

Hey @JaniniRami07, this is the error I am getting:


Failed to load format Error: Could not find events for key: undefined

Hello,
I was analyzing a big torch profiling trace with speedscope. The webgl javascript throws an error called "Failed to load format Error: Could not find events for key: undefined". This matches this line in the code.
Thing is, even if events for this key could not be found, I would hope that the profiler could continue process the remaining information, so that I could see at least some flames out of there. Otherwise it is very disappointing to see "Something went wrong" after speedscope parsed the file for about a minute.
Attached is my console's screenshot.

Hi @PinetreePantry! Without the example profile that reproduces this issue, it would be hard to make any progress on this. Would you be able to provide that?
It would also be helpful to understand how the profile was produced in case this is a bug in the profiler, rather than speedscope.
The other log messages shown in the console indicate that the profile is malformed (the two warnings above the "Failed to load format", so I suspect something is wrong in the profiler.

Hi, I later successfully opened the trace (.pt.trace.json file) successfully via Tensorboard pytorch profiler, so I think we are good to go! If you are still interested in why that parsing was failing, you can send me a gmail account where I can share the trace via google drive.


can't install

VSCode Version:
OS Version:

Steps to Reproduce:

More details please

can't install Visual Studio Keymap for VS Code

Can you describe the problem some more? What did you try, why didn't it work, what error messages did you see, etc.

In the extensions, I press the install button, but nothing happens, and the other extensions are normally installed, only with this plug-in problems

Ooo, okey ))Was established with 10 attempts) the question is closed


Rust keywords are not escaped

I ran svd2rust over the DMA section of the EFM32LG990F256 and got the following code:
# [ doc = "DMA" ]
# [ repr ( C ) ]
pub struct Dma {
    ...
    pub if: If,
    # [ doc = "0x1004 - Interrupt Flag Set Register" ]
    pub ifs: Ifs,    # [ doc = "0x1008 - Interrupt Flag Clear Register" ]
    pub ifc: Ifc,
    # [ doc = "0x100c - Interrupt Enable register" ]
    ...

Unfortunately, this does not compile because if is a reserved keyword. I'd like to help out on the solution for this, but I'm not sure which direction you'd like to go. If you were to add a suffix or prefix to every register and field, you wouldn't have to do any special escaping and you wouldn't have special-cased names which don't follow the SVD. For example:
# [ doc = "DMA" ]
# [ repr ( C ) ]
pub struct PeripheralDma {
    ...
    pub reg_if: If,
    # [ doc = "0x1004 - Interrupt Flag Set Register" ]
    pub reg_ifs: Ifs,    # [ doc = "0x1008 - Interrupt Flag Clear Register" ]
    pub reg_ifc: Ifc,
    # [ doc = "0x100c - Interrupt Enable register" ]
    ...

The downside to that approach, is that you now have lots of repetition which hurts readability.

I've gotten the same thing, there is a sanitizer (https://github.com/japaric/svd2rust/blob/master/src/lib.rs#L267) but it doesn't have if.

@Emilgardis I just stumbled upon that as well. I wrote a patch to use the full list.


Coin Change Problem Using DP #216

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
This algorithm solves the coin change algorithm using dynamic programming in O(length of sums array * sum) time complexity.
It has passed the problem statement on LeetCode 322. Coin Change.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#216

Sorry sir,
I mistakenly added the .class file
I have corrected my mistake
Please take a look at it

@all-contributors please add @Huzaib for code


convert nxp s32 qspi to zephyr native driver

Convert NXP S32 QSPI controller and flash NOR driver to native drivers. Existing functionalities are retained and some enhancements are done to allow more configuration options. Changes are large, so is better perhaps to review it as a new driver.
INFO    - 2764/2778 mr_canhubk3               tests/drivers/flash/common/drivers.flash.common.mr_canhubk3_sfdp_runtime PASSED (device: AB0O4EZU, 11.070s)
INFO    - 2765/2778 mr_canhubk3               samples/subsys/settings/sample.subsys.settings     PASSED (device: AB0O4EZU, 9.580s)
INFO    - 2766/2778 mr_canhubk3               tests/subsys/fs/littlefs/filesystem.littlefs.default PASSED (device: AB0O4EZU, 19.467s)
INFO    - 2767/2778 mr_canhubk3               tests/subsys/storage/flash_map/storage.flash_map.mbedtls PASSED (device: AB0O4EZU, 47.489s)
INFO    - 2768/2778 mr_canhubk3               tests/subsys/logging/log_backend_fs/logging.backend.fs.manualmounted PASSED (device: AB0O4EZU, 18.954s)
INFO    - 2769/2778 mr_canhubk3               tests/subsys/fs/littlefs/filesystem.littlefs.custom PASSED (device: AB0O4EZU, 56.370s)
INFO    - 2770/2778 mr_canhubk3               tests/subsys/settings/functional/fcb/settings.functional.fcb PASSED (device: AB0O4EZU, 12.231s)
INFO    - 2771/2778 mr_canhubk3               tests/subsys/settings/functional/file/settings.file PASSED (device: AB0O4EZU, 14.187s)
INFO    - 2772/2778 mr_canhubk3               tests/drivers/flash/common/drivers.flash.common.default PASSED (device: AB0O4EZU, 9.184s)
INFO    - 2773/2778 mr_canhubk3               tests/subsys/settings/functional/fcb/settings.functional.fcb.chosen PASSED (device: AB0O4EZU, 13.390s)
INFO    - 2774/2778 mr_canhubk3               tests/subsys/settings/fcb/settings.fcb.raw         PASSED (device: AB0O4EZU, 34.381s)
INFO    - 2775/2778 mr_canhubk3               tests/subsys/storage/flash_map/storage.flash_map   PASSED (device: AB0O4EZU, 44.564s)
INFO    - 2776/2778 mr_canhubk3               tests/subsys/fs/fs_api/filesystem.api              PASSED (device: AB0O4EZU, 7.591s)
INFO    - 2777/2778 mr_canhubk3               tests/subsys/storage/flash_map/storage.flash_map.psa PASSED (device: AB0O4EZU, 45.087s)
INFO    - 2778/2778 mr_canhubk3               tests/subsys/settings/file/settings.file.raw       PASSED (device: AB0O4EZU, 9.577s)

addressed all comments above
split commits for updates in flash driver
made the vlut for the transfer config of a fixed size to check for boundaries

added some parameter validations & assertions
corrected port base address function for ports > A1

correct mask for QSPI_WORD0 that was missed in previous push

Is this intended?

Is this intended?

not intended, fixed

re-opened

re-opened


Code coverage

Add to CI like we have in bio2zarr

#57 added coverage to local pytest - I'm leaving this open for the Coveralls part


Update pest3-now-available.md

Source diving told me that printer method doesn't exist (anymore). theme is used instead. Am I right?

see: https://github.com/pestphp/pest/issues/1229


Setting allowFontScaling prop on

Hi! First off, thank you for this package.
I'm playing around with it in a React Native (Expo) app and I'm having trouble with font size. I'd like to disable font scaling but it doesn't seem like it's possible. I had a quick look through the code and in React Native itself and it seems like it could be related to a few things.
For example, the following code, unrelated to your package, will result in "Test" being rendered at a fixed size, regardless of your device's font size. That is, the disabling of the font scaling is working. If, however, I put the allowFontScaling on the inner <Text> only, it doesn't work.
<Text allowFontScaling={false}>
  <Text>Test</Text>
</Text>

So, I tried the following:
<Markdown
  rules={{
    text: (node, children, parent, styles, inheritedStyles = {}) => (
      <Text
        allowFontScaling={false}
        key={node.key}
        style={[inheritedStyles, styles.text]}
      >
        {node.content}
      </Text>
    ),
  }}
  style={markdownStyles}
>
  {content}
</Markdown>

As this doesn't work, I can only imagine it's related to the issue I mentioned above (the nested <Text> components). Hopefully I'm missing something here, though, and that there's an easy solution to disable all font scaling in my rendered markdown. If there's not, I think it'd be a great prop for the Markdown component itself, setting the property on all rendered <Text> components.
Anyway, I hope that was clear enough. Have a nice day. ✌

I can take a look at this a little bit later, do you mind trying to see what happens if you overwrite the TextGroup rule as well and apply the scaling prop?

Hey! Thanks for the quick reply.

if you overwrite the TextGroup rule as well and apply the scaling prop?

Sure. So, that got me 99% the way there and I thought no text was changing when setting my device text size but I did notice a small shift. This was due to a list I have in my markdown. It looks like there's a Text component there, too, that would also need to inherit the allowFontScaling={true} prop.
I haven't done too much digging in the code to see how feasible this is right now but I guess, in a situation like this, it's better to be able to set allowFontScaling (or something worded similarly) at the top level and then have it apply to all rendered <Text> components as opposed to manually overriding each rule.
For context, the list I had was basically this:
Some text...

- Item 1
- Item 2

Yeha its a propper pain in the ass, this is why this exists in the readme, and is a hangover from the parent library this fork came from:
Be careful when styling 'text': the text rule is not applied to all rendered text, most notably list bullet points. If you want to, for instance, color all text, change the body style.
but in this case, we need to apply a prop not a style, to the text components.
I will have a little think about how best to approach this and try and commit something tomorrow, in the mean time you will need to change the list render rule, which is an ugly rule to change because of the hasParents dependency... list_item but i think its the only solution right this second - probably just copy and paste the whole thing - you can import hasParents as it is exported here: https://github.com/iamacup/react-native-markdown-display/blob/master/src/index.js

Sounds good. Thanks again!
I'm in no immediate rush for this right now (my app won't be released for a month or so I imagine) but I really appreciate the support. I've starred the repository and I'm watching for releases so I'll check back at some point. Have a good week. 👍

I'm looking into switching to this library from react-native-markdown-view because this specific feature is lacking there too, and that library seems less maintained than this one.
There's a two year old pull request to add support for setting textProps, which is another possible way of doing it, see Pass props to  components.

I was just looking into the same issue and found a workaround that resolves the issue once and for all, in the entire app.
Add this line to your App.tsx:
(Text as any).defaultProps = { ...(Text as any).defaultProps, allowFontScaling: false };

Note that this is perusing an undocumented API, hence use it at your own risk.

I was just looking into the same issue and found a workaround that resolves the issue once and for all, in the entire app.
Add this line to your App.tsx:
(Text as any).defaultProps = { ...(Text as any).defaultProps, allowFontScaling: false };

Note that this is perusing an undocumented API, hence use it at your own risk.

I am using the following in App.js
Text.defaultProps = {};
Text.defaultProps.allowFontScaling = false;

My version is documented or at least commonly recommended, as well as the maxFontSizeMultiplier as an alternative . - But both approaches have the disadvantage that it applies to the whole app and not just the Markdown view, which is what I am still looking for.

Thank you @hetmann!

Hi and thanks for the great library.
I feel like I must be missing something, none of these "fixes" work for me. Has the behaviour changed since february 2022?

For anyone coming here with issues regarding their font automatically getting smaller based on views/containers, you'll want to also use adjustsFontSizeToFit={false} on the Text components.


Support custom RBAC resources

This PR adds supports for a use case where a user wants to edit Mizu's ServiceAccount, (Cluster)Role and (Cluster)RoleBindings.
Suppose a user wants to edit one of the RBAC resources (ServiceAccount, (Cluster)Role and (Cluster)RoleBindings). In its current state, Mizu will not create RBAC resources if they already exist. This allows users to override the default ClusterRoleby creating their ownClusterRoleby the same name before running Mizu. However, Mizu will delete the user definedClusterRoleafter thetapcommand is done (or when thecleancommand is issued). This behavior forces the user to create theClusterRole` before every run.
This PR adds an annotation to every k8s resource that Mizu creates. Mizu will not delete RBAC resources which are marked with the new annotation. This allows users to retain their custom ClusterRole (or other RBAC resources).

Thoughts:

Are Labels more suitable for this use case than Annotations?
I will add in this PR or in a separate one a message when a resource was skipped during the clean phase because it doesn't have the annotation.

So the user experience here is,
Run ./Mizu tap -> edit service role, remove annotation -> CTRL+C (Mizu doesn't clean service role)

Correct?
will it remove the Mizu namespace?
Why using annotation and not labels?
Can make it even more generic, on clean get all resource with label "managed-by:Mizu" -> delete them (if not possible then per resource)


hscroll may be broken in firefox

Downgrading to a documentation issue; the actual component works fine, but firefox has some issues with overflow in the stack that we use to build the documentation layout


Github Enterprise no longer supports the localhost repo webhook publi…

Removes deprecated Github UBC Circle Ci integration
Leaves Github Dev Students Circle CI integration alone, as in perfect working state and passing
Updates Github Students Circle CI integration, as missing PUBLICHOSTNAME update to replace localhost with cs.ubc.ca due to a change in Github integration requirements.

@winstan
If you can have a quick look just to familiarize yourself with these updates for future reference. This will eventually trickle down to the CPSC310 CircleCI configuration to update it.

Pull Request Test Coverage Report for Build 1419

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.404%

Totals

Change from base Build 1415:
0.0%

Covered Lines:
3349

Relevant Lines:
3900

💛  - Coveralls


Indexer example fails on ES 7+

Indexer example:
class Indexer
  include Sidekiq::Worker
  sidekiq_options queue: 'elasticsearch', retry: false

  Logger = Sidekiq.logger.level == Logger::DEBUG ? Sidekiq.logger : nil
  Client = Elasticsearch::Client.new host: 'localhost:9200', logger: Logger

  def perform(operation, record_id)
    logger.debug [operation, "ID: #{record_id}"]

    case operation.to_s
      when /index/
        record = Article.find(record_id)
        Client.index  index: 'articles', type: 'article', id: record.id, body: record.__elasticsearch__.as_indexed_json
      when /delete/
        begin
          Client.delete index: 'articles', type: 'article', id: record_id
        rescue Elasticsearch::Transport::Transport::Errors::NotFound
          logger.debug "Article not found, ID: #{record_id}"
        end
      else raise ArgumentError, "Unknown operation '#{operation}'"
    end
  end
end

Doesn't work for me on ES 7.  When I change the type from article -> _doc then it works:
Client.index  index: 'articles', type: '_doc', id: record.id, body: record.__elasticsearch__.as_indexed_json

#or
Client.index  index: 'articles' id: record.id, body: record.__elasticsearch__.as_indexed_json

Maybe I'm doing something wrong or this is expected change but didn't yet get into README since 7 branch is still not released. I'm just posting it here so maybe it can help someone.

Opened a PR maybe doesn't make a sense 😅


Update banner url

IMPORTANT: Please do not create a Pull Request without creating an issue first.Any change needs to be discussed before proceeding.
Closing issues

closes #ISSUE_NUMBER_GOES_HERE
...
Description

...
Changes

High level
changes that
you made
...

just testing


framework: disable some of the verbose log statements

If there are no other comments, planning to merge on Wednesday


Implemented CampaignRecipients + Campaigns + tests

Also fixed the commandline tool, was failing from a previous PR.

Thanks!


Added SCSS Compatibility

In order to ease the use of Lightpick by frontend developers who use SCSS for generating their stylesheets, I've included a SCSS file for Lightpick.
Why
Currently when you want to set custom colours or font settings for the Lightpick control, you would have to include a CSS override after the default Lightpick stylesheet has been included. For example:
<link rel="stylesheet" type="text/css" href="css/lightpick.css">
<style>
  .lightpick__day.is-today {
    color: #6BD16F;
  }
</style>

(most people would include this in their own stylesheet, but this is just a simplified example)
This means you're loading both the existing stylesheet and the overrides which adds some extra overhead.
By utilising SCSS and setting up some variables to control things like colours and font sizes, it becomes easier to set the correct defaults for your particular site without the overhead of overrides.
This provides an additional option to frontend developers who use SCSS and doesn't affect how Lightpick gets used by existing users, so it won't break anything there.
How
I've includes a lightpick.scss file that uses the exact same stylesheets as the default lightpick.css and has variables added to set things like colours, font settings and calendar size.
To use it you would do the following:
/ * Set the variables for any settings you wish to override.
    Anything not set will use the default variable value set in the lightpick.scss file */
$lightpick-today-color: #6BD16F;

/* import the SCSS file */
@import 'node_modules/lightpick/scss/lightpick';

/* your other styles ... */

(SCSS will then compile this to a CSS file)
Test
You can either test this PR by including it in your SCSS workflow and check that the right styles get generated and included, or alternatively you can test it by pasting the contents of the lightpick.scss file into SassMeister and check that the compiled output matches the default styles of lightpick.css.

@wakirin We need this!

+1 for this!

Hey @tomvanenckevort
On SassMeister only libsass compile successfully.
Other compilers shows an error. I think this is a problem.
If you solve this I'll merge immediately.
Thanks for the PR.

Hi @sinankeskin,
I've updated some of the variable definitions to make sure they work in the various compilers.
It is still showing an error in the Sass v3.3.14 compiler on Sassmeister, but I'm not sure if that is possibly due to a bug there (some other valid gists fail as well in that compiler version).
That version is from 2016, so I don't think we need to support a Sass version that old.

Thanks for the effort @tomvanenckevort


Fix module cleanup for global memoryview slices.

Previously, we called Py_VISIT() and Py_CLEAR() on them, which is wrong.
Probably needs backporting to 3.0.x.

In principle I think we should visit the memview attribute of memoryview slices (and in cdef classes too) since it does point to a reference-counted Python object that can participate in reference cycles.
With that said, I think not visiting it is better that generating invalid code, so this is definitely OK for now.

I think we should visit the memview attribute of memoryview slices

Done.
Haven't looked into cdef classes, though. Are you sure we're doing it incorrectly there?

I think we should visit the memview attribute of memoryview slices

Done.
Haven't looked into cdef classes, though. Are you sure we're doing it incorrectly there?

Yes.