Question about the "random" property.

Can I get some clarification on what this property is and what the different options mean? Setting it to "chat" seems to work fine but you can't whisper. So setting it to "group" also seems to work fine, and you can whisper. I don't even know what "event" does. The name of this property "random" only confuses me more. I'm new to the Twitch API as well so excuse my ignorance if this is something I should already know.

"chat", "group", and "event" refer to the type of server to connect to. "random" means a random one of these servers. You can instead specify a specific server and port to just choose which one you want to connect to. A chat server is just for normal chat in most channels. Group servers are for whispers and rooms. The event servers are similar to chat servers but there are fewer channels on them. Event servers are basically load balances for the big channels for events and whatnot.

Thanks for the quick reply! Is there any reason why I would choose "chat" over "group"? It seems like group works the same way but with more functionality.

Okay I guess I misspoke. Looks like I can't chat normally in the channel when connected to a group server, but I can whisper. I can't whisper on a chat server, but I can chat in the channel. When I'm on the actual Twitch site I can both whisper with /w and chat in the channel. Is there a way to connect to both a chat and a group server? Do I just need to do that with two clients?
var group = new irc.client(...);
var chat = new irc.client(...);

You have to use 2 clients. The Twitch chat also uses both a group and chat/event connection. There's one input that gets interpreted before being sent. So /w <name> <msg> actually gets sent through the group connection.

x
Can Chat
Can Whisper
Can Access Chat Rooms

Chat
:white_check_mark:
:white_large_square:
:white_large_square:

Group
:white_large_square:
:white_check_mark:
:white_check_mark:

Event
:white_check_mark:
:white_large_square:
:white_large_square:

On a bot I'm writing, I'l playing with this: (simplified)
var twitch = {
			clients: {
					chat: new tmi.client({/* ... chat server ... */}),
					group: new tmi.client({/* ... group server ... */}),
					connect: function connectClients() {
							return {	chat: this.chat.connect(),
									group: this.group.connect()
								};
						},
					on: function on(event, callback) {
							return {	chat: this.chat.on(event, callback),
									group: this.group.on(event, callback)
								};
						}
				},
		};

twitch.clients.connect();
twitch.clients.on('message', twitch.handleChat);

Now I can simplify some of the execution.

Excellent. Thanks for the explanation! Let me know if I'm being a bother, but I have one more question. I see that I can handle the subscription event and get notified of new subscribers to my channel, but how do I get notified of follows? Do I have to keep polling the API for this?

As far as I know, you have to keep polling the API.

Thanks again.


Feature request: Non-Source Code settings

What feature do you want to get added on the base engine?
My idea here is to make a mods folder called something like "settings".
Then, you can make .txt files that include the setting, the description, the option menu (like "gameplay" or "visuals and ui") a variable name,  a default value (this can help with making it a bool or an int) and finally if it depends on another setting (Something like making it uneditable if another option is deactivated).
After that, it could be accesible as a variable, for things like a custom botplay text
example (YOU DONT NEED TO INCLUDE IT, ITS JUST AN EXAMPLE. ALSO DONT MAKE THE SYNTAX LIKE THIS):
setting name: Showcase mode
description: Enable a showcase mode, where it activates botplay, and it gives it a unique text!
menu: Modifiers
variable name: showcase
default value: false
depends: false
and then you could do something like this in a global script (one in mods/scripts)
if showcase == true then
setProperty('botplayTxt.text', 'SHOWCASE MODE')
setPropertyFromClass('ClientPrefs', 'cpucontrolled', true)
end
just an idea i had and i hope you liked it
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

Duplicate of several other issues

wait what i didnt know

Also since Lua supports both save files and file reading this is already possible, but you're not getting a menu for it and I doubt there's any plans to change that

y'all mfs want soft coded everything istg

you can already do this lol


Custom operators with distributed kvstore

Description
It is currently not possible to run distributed training with kvstore='dist_async', when using custom operators. (details below)
Environment info (Required)
Python 3 + MXNet compiled with USE_DIST_KVSTORE =1
Build info (Required if built from source)
MXNet compiled with USE_DIST_KVSTORE =1
Steps to reproduce
Use kvstore='dist_async' with a network that contains a custom operator registered using @mx.operator.register("my_custom_op").
Detailed problem description
When using kvstore='dist_async' the parameter updates are run on the parameter server. In order to do so the optimizer is pickled and sent to the sever. Among other things the optimizer holds a reference to the symbol (see here). Now when the server loads the pickled optimizer object it tries to instantiate the symbol. This works fine only if the symbol does not use any custom object. The reason for this is the following: In order to tell mxnet about custom operators one needs to use the @mx.operator.register  annotation. So for the server one would need to first register the class by importing the module containing it and only then start the server. The problem is that the server gets started as soon as mxnet is important, so that one does not have any chance of ever registering the custom operator on the server, see here.
Ideally one would write the server code something like this:
# register op with mxnet
from module_with_custom_op import custom_op
import mxnet.kvstore_server

mxnet.kvstore_server._init_kvstore_server_module()

where mxnet.kvstore_server no longer automatically starts the server.
Stack trace
Stack trace returned 10 entries:
[bt] (0) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZN4dmlc15LogMessageFatalD1Ev+0x3c) [0x7fd9558e899c]
[bt] (1) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZN5mxnet2op6custom10AttrParserEPN4nnvm9NodeAttrsE+0xc4a) [0x7fd957023d1a]
[bt] (2) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZN5mxnet17UpgradeJSON_ParseEN4nnvm5GraphE+0x52e) [0x7fd95719a4ee]
[bt] (3) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZNSt17_Function_handlerIFN4nnvm5GraphES1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_+0x111) [0x7fd95719faa1]
[bt] (4) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZN5mxnet18LoadLegacyJSONPassEN4nnvm5GraphE+0x1803) [0x7fd957190473]
[bt] (5) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZNSt17_Function_handlerIFN4nnvm5GraphES1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_+0x111) [0x7fd95719faa1]
[bt] (6) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZN4nnvm11ApplyPassesENS_5GraphERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0x32c) [0x7fd95894a47c]
[bt] (7) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(_ZN4nnvm9ApplyPassENS_5GraphERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x3c9) [0x7fd9575d7259]
[bt] (8) /opt/conda/lib/python3.6/site-packages/mxnet-0.11.1-py3.6.egg/mxnet/libmxnet.so(MXSymbolCreateFromJSON+0x583) [0x7fd9575d0593]
[bt] (9) /opt/conda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(ffi_call_unix64+0x4c) [0x7fd9662f4550]

[18:54:23] /opt/mxnet/dmlc-core/include/dmlc/./logging.h:308: [18:54:23] src/operator/custom/custom.cc:78: Check failed: Registry::Get()->Find(params.op_type) != nullptr Cannot find custom operator positional_encodings

We can remove symbol from optimizer

Here is the fix: https://github.com/apache/incubator-mxnet/pull/8322/files#diff-c445cb799a50a6e48c48d19a1ef37d3bR104

oh wow, awesome, that was fast! I'll give the fix a try.

I can confirm that this fixes the issue. Thanks a lot! While testing I ran into a python 3 compatibility issue. Here's a fix for that:
https://github.com/apache/incubator-mxnet/pull/8334
I'll close the issue now.


Allow customization of order and which match rules are applied

This need was discussed in our meeting 22/11 and appeared in the rules #21 and #22 (in the sense that they should match if no better name match was made)

A first tentative implementation in which is possible to pass a list of match functions that should be applied is done in https://github.com/fjuniorr/flowmapper/commit/b2d0440e8402da0026946ab3bb6ecec4a26b469d.
This implementation does not handle two cases that might be relevant in the future:

give priority (in the sense of changing the execution order) to specific match rules without having to list all of them
excluding particular match rules from running

I'm leaving this open but not planning to work more on it unless some more use cases appear.


EDITOR_VERSION = '4.5.11'

ping @tsechingho

@tsechingho Mister Ho, are you still taking care of this code? Thanks


cclient/json: get_trytes - serialization

cclient/serializer/json:get_trytes - serialize response & deserialize request
close #875

Thanks again !


[Feature-#3049] Alert Plugin Design(merge alert_plugin_design to dev)

Codecov Report

Merging #4495 (87db67b) into dev (690e4ea) will increase coverage by 0.00%.
The diff coverage is 30.25%.

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

Codecov Report

Merging #4495 (87db67b) into dev (690e4ea) will increase coverage by 0.00%.
The diff coverage is 30.25%.

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

+1

+1


program day name starting by a number

Hi everyone,
I've noticed an issue with the current implementation: it seems to encounter bugs when the day name begins with a number. For instance:
17 Julho
18 Julho
Navigation across different days fails as a result.

Thank you for catching it. It is fixed in 2.0.1. Make sure to load the latest version of the gem and let me know if there is any further issue.

thank you


Zaf patch 12.19

Hi Mario @gronert-m,
I have finally finished this round of revision to all the years of ZAF. The changes include:

Split "updating ICLS" alt version from "recoding educat7" alt version
Recoded educat7 of years after 2012 (mainly 2012, no major change for the rest)
Corrected the spelling of vermast
Revised preambles accordingly

Hi Mario @gronert-m ,
educat7 has been revised the same as you proposed for 2008, 209, and 2012. The other years, as I checked, were the same as the codes you proposed. The time series checks has been re-run as well and the results looked good. You may proceed with the merging. Let me know if you have other questions.

@Junying-T  Thanks for this!


Issue #959 solving (part 2) Adding support for phone starting code 015 on Egypt Location

Hi Chris, attached is a solution for issue #959, a support for starting code 015 has been added

Fixed by #1010 and 330ad51bd43f5bfc2c92d112473f250bc09079fd.


android 酷派手机不显示

"react": "^15.3.1",
"react-native": "^0.40.0",
"react-native-spinkit": "1.0.2",
主要配置是这样的，但在Android 酷派手机上面不显示这个动画，andorid 酷派Coolpad 8675 系统是4.4

I have a similar issue. On iOS, this spinner is appearing as a purplish bluish color, but on Android, it is not displayed at all:

"react": "15.4.2",
"react-native": "0.41.2",
"react-native-spinkit": "^1.0.2",

you can written in english ? please?


Increase unit test coverage to 80%

A few improvements can be made to increase the coverage on ActiveRecord:

Remove the loadClassDef() method: https://coveralls.io/builds/27861317/source?filename=Alpha%2FModel%2FActiveRecord.php#L2189
Call saveRelations() on a MANY-TO-MANY relationship: https://coveralls.io/builds/27861317/source?filename=Alpha%2FModel%2FActiveRecord.php#L614

I got it to 78% for Alpha 3.1, will stop here and focus on Alpha 4.0 next.


Deprecation warning in Google Chrome

polyfill-svg-uri.min.js:1 [Deprecation] 'webkitURL' is deprecated. Please use 'URL' instead.
polyfill-svg-uri.min.js:1 [Deprecation] 'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
Please help.
Thanks in Advance

Hi @ajithpmohan, thank you for the comment.
No problem because that is warnings not errors. That is correct behavior.

No reply came. I close this issue.


RISCV64 TLB refuses to access upper half of physical address space

Describe the bug
The RISCV TLB model throws an illegal address exception if a program attempts to access an address in the upper half of the physical address space (any address with the MSB set). This is not requirement of the specification, which simply says that "the execution environment shall define what portions of the address space are legal to access". Since gem5 is a simulator, I believe that it should provide a maximally permissive environment for evaluating new designs by removing this artificial restriction.
In addition, it should be noted that the official RISCV ELF ABI includes a ELF symbol model (medlow) which places objects in the top 2GB of the RV64 address space, which this restriction makes inaccessible.
The logic implementing this restriction can be found at lines 358-371 of src/arch/riscv/tlb.cc on the current stable branch f29bfc0.
Affects version
Added in this commit, first released in stable version 20.0.0.
gem5 Modifications
I am testing a model of a novel memory device which requires a specific layout of the address space (that is how I encountered this error). However, the faulting address ranges are not backed by this custom device, but by an unmodified SimpleMemory (and regardless the access does not seem to get past the TLB).
To Reproduce
Generate a load, store, or fetch access to a physical address in the upper half of the address space on a RISCV64 platform. Probably the easiest way to accomplish this is to use a custom linker script, which allows you to specify addresses for all code sections.

The faulting PC is the entry point of the program. The trace shows that functional accesses used to load the code into memory (presumably bypassing the TLB) succeed without error.
Expected behavior
An illegal fault error, even if the address is backed by a valid responding device and code is executing in M-mode with no PMP restrictions. If the restriction is disabled (i.e. by commenting out and recompiling), the access should then succeed.
Host Operating System
Ubuntu 22.04 (kernel 5.15.90-wsl)
Host ISA
x86-64
Compiler used
gcc 11.3.0
Additional information
According to code comments, the reason for the restriction is to pass "RISCV tests". So there may be a test somewhere that needs to be changed as well. I looked a bit in gem5/tests, but didn't see anything that looked right.

@hnpl, @aakahlow: Do you have time to look into this and maybe get a PR to fix this issue. @georgehodgkins has been quite helpful here in providing us with a detailed explanation of this bug. Could you double check his reasoning here and come up with a PR to fix this issue? From what I see, a fix shouldn't be too difficult.

Hi there, I agree this seems to be a case where gem5 being overly restrictive as I couldn't find anywhere in the RISCV spec saying that the MSB of a physical address space has a special meaning. Though, I'd let other people chime in before making the patch as I'm not very familiar with RISCV physical memory ranges in general.
However, regarding the mentioned documentation, I believe the term address space referred by the specs (the RISCV user spec and the RISCV ELF ABI spec) is referring to virtual address space, while the check https://github.com/gem5/gem5/blob/stable/src/arch/riscv/tlb.cc#L362 is for physical address.
Also, I couldn't find any test in riscv-tests that corresponds to the comment in line https://github.com/gem5/gem5/blob/stable/src/arch/riscv/tlb.cc#L359. I believe that the test assumes the physical address with the MSB set does not correspond to any physical device.

Now that I read the RISC-V spec again, my understanding is that the only constraint of the bit 63 of physical address is that the bit must be the same as the MSB of PPN/PFN [1]. So the MSB of a physical address being 0 or being 1 are both legal.
I believe we should remove the bits(req->getPaddr(), 63) == 1 requirement.
Interestingly, there's a constraint for the bit 63 of a PTE such that, the bit 63 of a PTE must be 0 if Svnapot does not present
[2].
Ref:
[1] https://github.com/riscv/riscv-isa-manual/blob/riscv-isa-release-056b6ff-2023-10-02/src/supervisor.adoc?plain=1#L1440
[2] https://github.com/riscv/riscv-isa-manual/blob/riscv-isa-release-056b6ff-2023-10-02/src/supervisor.adoc?plain=1#L1474

The riscv test that checks for the bit 63 is here https://github.com/riscv-software-src/riscv-tests/blob/bd0a19c136927eaa3b7296a591a896c141affb6b/isa/rv64mi/access.S#L18.
There's a relevant discussion here, https://groups.google.com/a/groups.riscv.org/g/isa-dev/c/8kO7X0y4ubo. Basically, the physical address must be zero-extended. Since there's currently no address translation scheme in RISC-V that results in 64-bit physical address, the bit 63 of a physical address is expected to be zero, hence the check.
I think it's better to check for the validity of a physical address elsewhere, e.g. the PMP.


Where does the APK goes?

I followed the instruction posted on this page:
http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The Command-line Interface
Codorva project directory was created successfully and the app compiled successfully, but i can't seem to find the compiled file...
C:\Development\pehk>phonegap build android
[phonegap] detecting Android SDK environment.
[phonegap] using the local environment
[phonegap] compiling Android...
[phonegap] successfully compiled Android app

-- EDIT -- I just ran the following on Verbose mode and over here it says APK cannot be found.
C:\Development\pehk>phonegap -V install android
[phonegap] detecting Android SDK environment...
[phonegap] Checking Android requirements...
[phonegap] Running "android list target" (output to follow)
[phonegap] Available Android targets:
----------
id: 1 or "android-15"
     Name: Android 4.0.3
     Type: Platform
     API level: 15
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800
     ABIs : armeabi-v7a, mips, x86
----------
id: 2 or "Google Inc.:Google APIs:15"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 2
     Description: Android + Google APIs
     Based on Android 4.0.3 (API level 15)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, WVGA800 (default)
, QVGA, WXGA800
     ABIs : armeabi-v7a
----------
id: 3 or "android-16"
     Name: Android 4.1.2
     Type: Platform
     API level: 16
     Revision: 4
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
     ABIs : armeabi-v7a, mips, x86
----------
id: 4 or "Google Inc.:Google APIs:16"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 3
     Description: Android + Google APIs
     Based on Android 4.1.2 (API level 16)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, WVGA
800 (default), QVGA, WXGA800
     ABIs : armeabi-v7a
----------
id: 5 or "android-17"
     Name: Android 4.2.2
     Type: Platform
     API level: 17
     Revision: 2
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
     ABIs : armeabi-v7a, mips, x86
----------
id: 6 or "Google Inc.:Google APIs:17"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 3
     Description: Android + Google APIs
     Based on Android 4.2.2 (API level 17)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, WVGA
800 (default), QVGA, WXGA800
     ABIs : armeabi-v7a
----------
id: 7 or "android-18"
     Name: Android 4.3
     Type: Platform
     API level: 18
     Revision: 2
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
     ABIs : armeabi-v7a, x86
----------
id: 8 or "Google Inc.:Google APIs:18"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 2
     Description: Android + Google APIs
     Based on Android 4.3 (API level 18)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, WVGA
800 (default), QVGA, WXGA800
     ABIs : armeabi-v7a

[phonegap] Running "android update project -p "C:\Users\James\.cordova\lib\andro
id\cordova\3.0.0\framework" -t android-17" (output to follow)...
[phonegap] Updated project.properties
Updated local.properties
build.xml: Found version-tag: custom. File will not be updated.
Updated file C:\Users\James\.cordova\lib\android\cordova\3.0.0\framework\proguar
d-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.

[phonegap] using the local environment
[phonegap] trying to install app onto device
[phonegap] cordova library for "android" already exists. No need to download. Co
ntinuing.
[phonegap] Wrote out Android application name to "DigitalPlatform"
[phonegap] Wrote out Android package name to "com.medbirdie.pehk"
[phonegap] Calling plugman.prepare for platform "android"
[phonegap] Running app on platform "android" with command ""C:\Development\pehk\
platforms\android\cordova\run" --device" (output to follow)...
[phonegap] Cleaning project...
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.
Buildfile: C:\Development\pehk\platforms\android\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 22.2.0
 [checkenv] Installed at C:\Development\SDK Manager\sdk

-setup:
     [echo] Project Name: DigitalPlatform
  [gettype] Project Type: Application

-set-debug-mode:

Failed to find apk, make sure you project is built and there is an
 apk in <project>\bin\.  To build your project use '<project>\cordova\build'

[phonegap] Platform "android" ran successfully.
[phonegap] successfully installed onto device

same here, i couldnt find the .apk

Hey @kelvin4incubit,
The apk will be in <project-dir>/platforms/android/build/outputs/apk/

@surajpindoria I've found it thanks man! I had to reinstall my Cordova version from 6.3.1 version to 6.1.1 and it works fine for me, maybe am having version difficulty that's why

@surajpindoria kindly follow back on GitHub


Install the Atom Kite plugin before installing Kite and launching Copilot

Previous it was

install kite
install Atom plugin

Now it's in reverse order to let Copilot detect an installed Kite plugin

Codecov Report

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

@@           Coverage Diff           @@
##           master      #85   +/-   ##
=======================================
  Coverage   89.96%   89.96%
=======================================
  Files          18       18
  Lines         299      299
=======================================
  Hits          269      269
  Misses         30       30

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 33a582d...f324bc7. Read the comment docs.


Ignore 'should not exist' with AWS::NoValue

This may apply more widely, but as an example: We have a RDS template that can be used for either a new DB or launching from a snapshot. When creating a new DB, a DBName property is used, along with MasterUsername and MasterUserPassword. When using DBSnapshotIdentifier, the username and password properties are not allowed. The template uses conditions to determine if there are values for DBName or DBSnapshotIdentifier or AWS::NoValue. The uname/pw also have conditions.
Ideally, it would be great if the linter could follow conditional branches and understand in which situations sets of properties have which values, but in testing this I've noticed that even if the properties are explicitly set to AWS::NoValue, it still throws an error. e.g.:
DBSnapshotIdentifier: SomeSnapshotIdentifier
MasterUsername: !Ref AWS::NoValue
MasterUserPassword: !Ref AWS::NoValue

Maybe a good starting point would be for it to check if an disallowed property is AWS::NoValue and treat it as though it doesn't exist if that's the case (which I believe is how CloudFormation handles such properties).

Also worth noting that even though this is a linter error, and the docs indicate those properties shouldn't be used when using the DBSnapshotIdentifier property, CloudFormation itself doesn't actually complain if you include them simultaneously.
In fact, the docs for AWS::NoValue even use RDS as an example and don't account for the removal of the username and password properties.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-novalue

Going to remove the exclusive attribute checks for RDS.  It will have to be replaced by another check.
Cause this is also true.  By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifier property is an empty string or the AWS::RDS::DBInstance declaration has no DBSnapshotIdentifier property, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack.
This is the 2nd time this issue has come up.
For AWS NoValue we are going to have a lot more favorable solution with #121 as those properties will be removed when the value is a Ref to AWS::NoValue.  However for this property we are still not be correct because in this case it also supports an empty string.

I'm going to close this issue for now.  We can track this via #229 as we work to build a better RDS rule.


Add directional evac pod signs

About the PR
Created these directional evac pod signs since the current ones have just an up arrow and in my option don't read very well. Having directional ones can help provide some important context that could mean the difference between life and death when trying to find an evac pod.
Why / Balance

Myself and another map maker expressed wanting them so I decided to make them.
Technical details

Adds a new entity to /Resources/Prototypes/Entities/Structures/Wallmounts/Signs/signs.yml and the relevant sprite sheet which is a directional variant of the evac pod sign. This does not replace the previous evac sign to prevent any issues if this gets merged without any map updates.
Media

Sprite sheet

In game

Plays nice with rotating the camera

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

No breaking changes as this does not replace the previous signs, just adds new ones.
Changelog

:cl: Southbridge

add: There are now new directional evac pod signs.

Accidentally included my map for some reason

It should probably be the small variant of signs, not the big one


[Feature Request] Support OpenAPI 3

Is your feature request related to a problem? Please describe your use case.
Support OpenAPI 3.
Describe the solution you'd like
A configurable way to generate OpenAPI3 documentation.
Additional context
A basic working feature can even produce and convert OAS3 from OAS2.
To support OAS3 features (eg. jsonschema, oauth scopes, multiple content-types ... ) a more radical work should be done.

please reopen this

@ronnyhel FYI

@ioggstream @chenjr0719 - i've tried getting this PR to build with the tox config, but i can't figure out the black / isort incompatibility with the imports, I've tried following black's guide for it with no solution.


Enter value and move away with arrows

Hi,
as in Excel, it is more convenient to put value to the cell and move for example with key right arrow to another cell to enter next value and so on.
Today, you have to put value and press enter which get you to cell below and you have to navigate with arrows to cell on the right.
Thanks for the advice how to get this done or if you would plan to do it in future updates
OM

Not sure if this will work but may be you can use onafterchange and in this handler, set the focus on the right cell. It may happen fast enough for the user to not notice the focus on cell below, then onafterchange's refocus on cell-right.

The current behaviour is similar to excel, when you double click a cell for edition you use arrows to move the cursor inside the open text editor, not to move from one cell to the other.


Move to guzzle 5

Installing this client I get the message that Guzzle 3 is deprecated.
Is it an idea to see if an up-to-date version of Guzzle can be supported?
composer require league/oauth2-client
Using version 0.10.* for league/oauth2-client
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

Installing guzzle/guzzle (v3.9.3)
Downloading: 100%

Installing league/oauth2-client (0.10.1)
Downloading: 100%

guzzle/guzzle suggests installing guzzlehttp/guzzle (Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated.)

We are moving to Guzzle 5 for the 1.0 release. The 0.x releases will remain on Guzzle 3.
Thanks!


[transaction builder generator] Go: pass containers by pointer

Motivation
Avoid copying objects (more idiomatic, more performant) when passed as arguments.
Test Plan
Run Go example with
cargo x test -p transaction-builder-generator golang -- --ignored

Related PRs
https://github.com/facebookincubator/serde-reflection/pull/50

@bors-libra land


NASM too old

Trying to build rav1e throws a strange error
cargo build --release
   Compiling thiserror v1.0.21
   Compiling v_frame v0.1.0 (/Users/jon/Gits/!personal/rav1e/v_frame)
   Compiling rav1e v0.4.0-alpha (/Users/jon/Gits/!personal/rav1e)
error: failed to run custom build command for `rav1e v0.4.0-alpha (/Users/jon/Gits/!personal/rav1e)`

Caused by:
  process didn't exit successfully: `/Users/jon/Gits/!personal/rav1e/target/release/build/rav1e-03c23b013210b09d/build-script-build` (exit code: 101)
  --- stdout
  cargo:rustc-cfg=nasm_x86_64

  --- stderr
  thread 'main' panicked at 'This version of NASM is too old: No such file or directory (os error 2)', build.rs:244:7
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

I'm attempting to build this on macos if that matters. Not sure what to make of it as I'm just trying to build master on commit 115f6e19ca5594b8fb31fec0ae5f0a3414888dc5

Aaaaaand I need to read the docs. My bad.


Prototype pollution in init dependency: CVE-2020-7788

🐞 Bug report
Description
scullyio/init depends on schematics-utilities. schematics-utilities is vulnerable to CVE-2020-7788 because of its use of an old version of the ini package. It looks as though schematics-utilities may be stymied in its attempts to remediate: open issue.
🔬 Minimal Reproduction
Create a new Angular project, add Scully, then run npm audit --production. Reports 4 high severity issues.
💻Your Environment
Angular 13 / Scully 2.05
I imagine you already know about this, but I wanted to add this issue so I could track the situation. I have added an Angular/Scully app to a Cloudfront Distribution to serve a low-impact web site of ours, as an advanced proof of concept. But I've also made a note on the calendar to remove Scully if the high severity production vulnerabilities persist.
Barring a move to a different schematics library, would it be possible to move the part that depends on the vulnerable code to dev dependencies? I love your tool -- extremely impressive. But we can't use it long term unless npm audit --production returns 0 vulnerabilities. Thanks very much, and happy holidays.

@AaronSterlingGENEICD Thanks for reporting. The dependency is only used in our schematics. Once you have installed everything, you might want to remove the schematics themselves (the @scullyio/init package).
Aside from that, I will look into the possibility to add the schematics as a dev-dependency. (@Jefiozie, by any chance do you know how to?).
You can safely move it to dev-deps, or remove the package, it will not interfere with how Scully is working once it is installed.

Thank you for reporting this @AaronSterlingGENEICD.
@SanderElias my first analysis js that we can remove this package completely as we don't use it anymore. I will make a PR for this next week.


test: fix flaky test case test_snapshot_hash_detect_corruption

test: fix flaky test cases test_snapshot_hash_detect_corruption_in_global_enabled_mode and test_snapshot_hash_detect_corruption_in_global_fast_check_mode
(1) cronjob setting: in the current implementation, it's possible that the cronjob is set to something like: 59/5 6 * * *. This cronjob will only be executed once per day on 6:59 AM, and if the test case missed this chance to trigger the integrity check, it has to wait until tomorrow, so the test case will timeout and fail. This PR changes the cronjob to something like: 59,4,9,14,19,24,29 6,7 * * * (every 5 minutes in the upcoming 30 minutes), so if 6:59 AM is missed, it can still be triggered on 7:04 AM.
(2) wait toleration: in the current implementation, it has a wait toleration 60s to handle that we're unable to precisely predict when will the rebuilding caused by corrupted replica is triggered, but even though there is a 60s toleration, this test case is still flaky, this test case will still fail due to timeout waiting for the rebuilding. Since the cronjob is set to every 5 minutes, if the 1st timing is somehow missed, we have to wait another 5 minutes, so this PR change to the wait timeout to 5 minutes * 2 instead of 5 minutes + 60s.
For https://github.com/longhorn/longhorn/issues/5394
Signed-off-by: Yang Chiu<EMAIL_ADDRESS>

@mergify backport v1.4.x


Update juicer.sh

Thanks - I ended up pushing a different fix for this problem because of the earlyexit part.


Money.Sigils requires existence of the atom for the currency

Since the implementation of Money.Sigils relies on :erlang.list_to_existing_atom they can't be used without former usage of the atom for the currency:
Interactive Elixir (1.3.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> import Money.Sigils
Money.Sigils
iex(2)> ~M[999]USD
** (ArgumentError) argument error
    :erlang.list_to_existing_atom('USD')
    lib/money/sigils.ex:19: Money.Sigils.sigil_M/2

Stumbled upon this problem, when some of my tests randomly failed.
If this is a WONTFIX problem, at least some hint in the README would be useful.

Thank you very much.


DRILL-5978: Upgrade Hive libraries to 2.3.2 version

Updating hive properties for tests and resolving dependencies and API conflicts:

Allowing of using Hive's own calcite-core and avatica versions by hive-exec.
Calcite version is removed from root POM Dependency Management
Fix for "hive.metastore.schema.verification", MetaException(message:
Version information not found in metastore)
https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool
METASTORE_SCHEMA_VERIFICATION="false" property is added
Fix JSONException class is not found (excluded banned org.json dependency)
Added METASTORE_AUTO_CREATE_ALL="true", properties to tests, because some additional
tables are necessary in Hive metastore
Disabling calcite CBO for (Hive's CalcitePlanner) for tests, because it is in conflict
with Drill's Calcite version for Drill unit tests. HIVE_CBO_ENABLED="false" property
jackson and parquet libraries are relocated in hive-exec-shade module
org.apache.parquet:parquet-column Drill version is added to "hive-exec" to
allow of using Parquet empty group on MessageType level (PARQUET-278)
Removing of commons-codec exclusion from hive core. This dependency is
necessary for hive-exec and hive-metastore.
Setting Hive's internal properties for transactional scan:
HiveConf.HIVE_TRANSACTIONAL_TABLE_SCAN and for schema evolution: HiveConf.HIVE_SCHEMA_EVOLUTION,
IOConstants.SCHEMA_EVOLUTION_COLUMNS, IOConstants.SCHEMA_EVOLUTION_COLUMNS_TYPES

@vrozov can you please review this change?

@vrozov Thank you for CR.
Commits are squashed, Jira and PR are renamed to 2.3.2 version upgrade.

+1.   merged the PR in commit 27aa236.


Bump stac-api-validator to v0.4.2

Description:
https://github.com/stac-utils/stac-api-validator/releases/tag/v0.4.2. Also, enable the item-search conformance check.
PR Checklist:

[x] Code is formatted and linted (run pre-commit run --all-files)
[ ] Tests pass (run make test)
[ ] Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
[ ] Changes are added to the CHANGELOG.

Due to https://github.com/stac-utils/stac-api-validator/issues/240 there's some false-positives, so I'm going to leave this as draft until v0.4.3 is released to fix.

Can't use v0.5.0 because https://github.com/stac-utils/stac-api-validator/blob/07035a779e0efda52a22b12837a503dd14893f72/src/stac_api_validator/validations.py#L1546


[BUG] Extra space in link

Log / configuration files
On the Documentation page https://htmlpreview.github.io/?https://raw.githubusercontent.com/AllskyTeam/allsky/master/html/documentation/settings/allskyWebsite.html
The link to "Allsky Website Installation Instructions" includes a space at the end "AllskyWebsite.html%22". Removing that space lets the link work properly.

Thanks @marckerr.  There are a couple bad links that we've fixed in the next release.


adding whitespace below the footer

full-page content pushed the next/previous links right up against the bottom of the screen

⬇

This doesn't quite work on mobile:

Good call, updated with some different margins for once the next/previous label text goes away.

Looks good!


Add fields doesn't work with has_many in form

When using nested attributes in a form with the has_many command, the 'add' button does not append the blank fields to the form.  If a nested attribute already exists, the forms do appear with the correct data filled in, but trying to update them leads to the error:
protocol Ecto.Queryable not implemented for :error, the given module does not exist

@bsidoruk What version of ex_admin are you using. It is mostly working on the themes branch. I just tested it in chrome and safari on http://demo2.exadmin.info with success except for one issue. If you add a phone number, the delete button is not work. So, I'll have to take a look at that. I don't expect it to work on v0.7.2 or on master.
I'm working issue #82 right now. Once I have the complete, I'm going to publish v0.7.4 in hex, and merge the themes stuff into master (which has Ecto 2.0 support.

I'm also using the themes branch.  The add phone number example worked for me as well, but for some reason it doesn't appear to be working with my app.  I've formatted my form the same as your example in the docs.  Also, in regard to a using a collection for a select tag, is there a way to specify a different value  for an option than the key? Like you can do in Phoenix.HTML
select(form, :role, ["Admin": "admin", "User": "user"])

The http://demo2.exadmin.info app has an example of selecting roles. However, it is a many-to-many example using a join table. Couple questions:

is your role field a string?
are you trying to do a nested attributes (like the phone_numbers example?)
could you post the relevant parts of your models?

Steve

Yes the the field is a string, and I'm nesting it like the phone_numbers example.  It seems from briefly looking at your code, that it should be compatible with binary tuples, but I'm getting an error with the string key:
protocol String.Chars not implemented for {:"Admin", "admin"}

In regards to the nested fields, my relation is a one-to-many, so maybe that is the difference.  However I'm not sure why it should affect the fields from getting appended.  Using web inspector I am able to see that there is a different div:

in my app rather than

thats in your example app.

Brad, I'm still trying to wrap my head around this so I can write a test case and give you a fix :)
So, role is a string field. My assumption then, is that there is no Role schema(model). But then, I don't see how you could use nested attributes approach (generate a new role  in, lets say, the User form) since there would be no way to reuse that role for another User.
Or perhaps you do have a role table without an id, in which case you have the primary key in the role table as the name of the role.
Perhaps the best way is to post example models that I can use in a test case.
I will say that when I designed nested attributes, I assumed they were a many-to-many relationship. I did not account for the scenario of a one-to-many relationship. But that is a valid use case and an over site on my part. Posting example models will help me ensure that my design fixes your issue :)

I was using role as an example from the Phoenix.HTML docs.  What I'm using is something more like a User has many Addresses, so it is a one to many relationship.  So I am trying to set it up something like this in admin/user.ex:
form user do
  inputs "Addresses" do
    has_many user, :addresses, fn(a) ->
      input a, :street
      input a, :phone_number
      input a, :type, collection: Address.types
    end
  end

Where Address.types would be a defined list of key-value pairs for a select tag, where: ["Work": "work"] would give and option "Work" that has the value "work"

Perfect, that should give me enough to test it out... I'll take a quick look now.

Ok, can reproduce the issue with the following models:
  schema "users" do
    field :name, :string
    has_many :addresses, NestAddr.Address
  end

  schema "addresses" do
    field :street, :string
    field :phone_number, :string
    field :type, :string
    belongs_to :user, NestAddr.User
  end

This will take some work since I did not account for the case of simple has_many relationship. I will need to update view generators as well as the repo code that reflects on the relationship and creates the model...

Thanks so much for checking this out

I have has_many working for one-to_many relationship. Need to do a bit more testing before I push it.
I'll add the collection as a tuple request under issue #91 that I just created.

That's awesome. Thanks for getting to that so quick

@bsidoruk Quick update... I did get the update case working, but ran into some big issues with create. Its going to take a big refactor to get working properly. I was working on the ecto 1.1 branch. However, with all the changes in ecto 2.0 around support for many-to-many associations, I think I'm going to do this work in support for ecto 2.0 only.
Its going to take me a few more days to complete this. Sorry for the delay...
Steve

No worries.  That works for me. Thanks for working on that.

Started prototyping a refactor of ExAdmin.Repo. It will allow support for this as well as a much simplified design. Still not working...
@romul This may have an impact on the stuff your are doing. Can you take a look at my repo_refactored branch, specifically the Repo2 and Changeset2 modules. I also have some tests in repo2_test.exs. I'm going to tackle has_many , through: next, then  many_to_many after that.
Note: this refactor will be for Ecto 2 only...

@smpallen99 Ok, I'll take a look at the weekend )

Is this working in master?
I'm getting this error:
** (exit) an exception was raised:
    ** (UndefinedFunctionError) function :error.__struct__/0 is undefined (module :error is not available)
        :error.__struct__()
        anonymous fn/8 in ExAdmin.Form.build_item/5
        lib/ex_admin/themes/admin_lte2/form.ex:123: ExAdmin.Theme.AdminLte2.Form.build_inputs_has_many/3
        lib/ex_admin/form.ex:727: ExAdmin.Form.build_item/5
        lib/ex_admin/form.ex:813: anonymous fn/6 in ExAdmin.Form.build_item/5
        (elixir) lib/enum.ex:1622: Enum."-reduce/3-lists^foldl/2-0-"/3
        lib/ex_admin/form.ex:812: anonymous fn/5 in ExAdmin.Form.build_item/5
        lib/ex_admin/themes/admin_lte2/form.ex:136: ExAdmin.Theme.AdminLte2.Form.form_box/3
        lib/ex_admin/form.ex:507: anonymous fn/6 in ExAdmin.Form.build_main_block/4
        (elixir) lib/enum.ex:1622: Enum."-reduce/3-lists^foldl/2-0-"/3
        lib/ex_admin/form.ex:505: ExAdmin.Form.build_main_block/4
        lib/ex_admin/themes/admin_lte2/form.ex:23: ExAdmin.Theme.AdminLte2.Form.build_form/5
        web/controllers/admin_resource_controller.ex:203: ExAdmin.AdminResourceController.new/3
        web/controllers/admin_resource_controller.ex:1: ExAdmin.AdminResourceController.action/2
        web/controllers/admin_resource_controller.ex:1: ExAdmin.AdminResourceController.phoenix_controller_pipeline/2
        (api) lib/api/endpoint.ex:1: Api.Endpoint.instrument/4
        (api) lib/phoenix/router.ex:261: Api.Router.dispatch/2
        (api) web/router.ex:1: Api.Router.do_call/2
        (api) lib/api/endpoint.ex:1: Api.Endpoint.phoenix_pipeline/1
        (api) lib/plug/debugger.ex:93: Api.Endpoint."call (overridable 3)"/2

With this code (modified from example in docs):
# ...
  register_resource Api.Album do
    form album do
      inputs do
        input album, :title
      end
      inputs "Tracks" do
        has_many mixtape, :tracks, fn (t) ->
          input t, :number
        end
      end
    end
# ...

@sdn90 I will need to see your models/schemas to look at it. Also, need your ecto version....

@smpallen99 Sorry, it was late and forgot to add those.
Using Ecto 2.0
Model
  schema "albums" do
    field :title, :string
    field :cover_image, :string
    has_many :tracks, Api.Track

    timestamps()
  end

I believe this only works for has_many through: .. relationships at this time.

On Jul 5, 2016, at 6:06 PM, Steven Nguyen<EMAIL_ADDRESS>wrote:
@smpallen99 https://github.com/smpallen99 Sorry, it was late and forgot to add those.
Using Ecto 2.0
Model
schema "albums" do
field :title, :string
field :cover_image, :string
has_many :tracks, Api.Track
timestamps()

end
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/smpallen99/ex_admin/issues/89#issuecomment-230617172, or mute the thread https://github.com/notifications/unsubscribe/AA2YpfnrGibRkz1X7o94CdNHj2jd6qvrks5qStVvgaJpZM4IXS7d.

@smpallen99 I'll take a look at this issue this week.

@smpallen99 - any updates on this? I have a simple belongs_to <-> has_many (and NOT a has_many_through) relationship. I'm using the latest master branch of ex_admin - and this doesn't seem to work


chore(main): release 0.0.4

:robot: I have created a release beep boop
0.0.4 (2024-02-06)
Other

update validator (7717344)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/spectrocloud-labs/validator-plugin-oci/releases/tag/v0.0.4 :sunflower:


3.0.1 performing onSuccess event

Hello,
after the latest update (3.0.1) create button started performing onSuccess event on form, which makes it unusable. Do you have any idea how to solve it, or where the problem is?
Thank you for answer (and for this great plugin).

Hi,
thank you for report. I'll fix it asap, probably tomorrow.


Consider using bytemuck instead of manual as_u8_slice()

It would be safer to let bytemuck handle those conversions, the maintainers have put a lot of thinking into making sure their implementation is safe.
See what Rust version bytemuck supports; they say 1.34 for base without feature, but do we need any feature?

The spec for gltf wants all buffer data to be little endian, so we might not need any crates for this at all. We can just use to_le_bytes() for each float. https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#buffers-and-buffer-views-overview

Good catch, I didn't know that.


Remove webkit prefix from autofill

Remove the -webkit- vendor prefix from input:autofill in src/lib/reset.css.
(recreate of #20 because i screwed that up badly (forgot to change base branch))

going to merge bc @billkamp approved the same changes in https://github.com/aigis-llm/aigis/pull/20#pullrequestreview-2456465666


[WIP] API interface extensions

This improves the interface for API routes.

[x] Cookies parsing for req.cookie
[x] Query parsing for req.query
[ ] Body parsing fro req.body
[x] Possibility to send data with req.send
[x] Possibility to send data with req.json

I wouldn't do body parsing out of the box, what if I want to consume the incoming message as a steam?

I think it's better to allow each project to extend/override the req and res interface, as a lot of property depends on which custom server and middleware each project use.

@huv1k (cc @timneutkens ) Would like to voice my concerns again, as they seem to have gone by unnoticed. I think parsing the request body as out-of-the-box behavior is problematic.

It forces all request handlers to wait with doing anything else until the full body is received. It makes it impossible to do work parallel to waiting for the body to come in.
It forces all request bodies to be read into memory, even if I intend to only proxy it
It makes it hard or even impossible in some cases to process the body as a stream.

I'd like to propose a few alternatives:

provide body parsing through an async interface:

const body = await req.json();

provide an opt-in to all non-standard behavior through a wrapper:

import { handler } from 'next/api'
export default api((req, res) => {
  res.json(req.body);
});

Which could even be as much as bundling micro with next.

🙂use an interface like this experiment I've been working on.

We're going to provide a way to opt-out soon.


<EMAIL_ADDRESS>swipe not working and warnings

I am facing issue in both android and iOS both
Which versions are you using: iphone 7 and android Nougat version
react-native-swiper version<EMAIL_ADDRESS>react-native version<EMAIL_ADDRESS>I also got warning i.e componentWillUpdate is deprecated and componentWillReceiveProps is deprecated
Code I used is
<View>
    <Swiper style={styles.wrapper} showsButtons={true}>
        <View style={styles.slide1}>
          <Text style={styles.text}>Hello Swiper</Text>
        </View>
        <View style={styles.slide2}>
          <Text style={styles.text}>Beautiful</Text>
        </View>
        <View style={styles.slide3}>
          <Text style={styles.text}>And simple</Text>
        </View>
    </Swiper>
</View>

export default HomeScreen;

fixed in v1.6.0-nightly.5


Lhm migrator failing if innodb and global timeouts are not set on db.

Had the issue when running the lhm migrator on a cloud database with Rackspace.

make sense.. thanks


metrics: Rename interface to Provider

The current interface name, Metrics, is confusing since it doesn't reflect what the interface is about. It looks like the interface refers to a specific metrics criteria while in reality represents a metrics provider that returns metrics values.

Sorry needs rebase.

No problem! I was expecting that


build: Avoid warning about BOARD_NAME redefined

BOARD_NAME is now always available in the config, even as an empty
string, so it comes as a #define through the generated sol_config.h.
Having it also in the command line, in some cases, generates a
redefinition warning.
Signed-off-by: Iván Briano<EMAIL_ADDRESS>

:+1:

Merged


Update README.md

Current coverage is 97.37% (diff: 100%)

Merging #2 into master will not change coverage

@@             master         #2   diff @@
==========================================
  Files             8          8
  Lines          2055       2055
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2001       2001
  Misses           21         21
  Partials         33         33

Powered by Codecov. Last update 5681b86...a3d808b


CLOUDSTACK-9736 Incoherent validation and error message when you chan…

…ge the vm.password.length configuration parameter
Default value introduce in schema-430to440.sql are 6 for the length
CLOUDSTACK-10111 have already fix the error message

LGTM. This is a simple change in default config, I'll merge as soon as Travis is green.

LGTM merging, the one job has been kicked again that failed due to timeout issues.


charts: fix several bugs, make the default config work

What type of PR is this?
/kind bug
What this PR does / why we need it:
After this patch, installing the chart using the default values will succeed.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/cc @warjiang

/assign

I'll check it later today.

@iawia002 I've checked it locally, it works 🚀 . Some comments need you to recheck them ~

All comments addressed, PTAL

/lgtm
/approve


Add Gradient of MultivariateNormal.batch_log_pdf

The results of MultivariateNormal.batch_log_pdf can not be differentiated with respect to the covariance matrix yet if normalized=False. I am opening this issue to keep the discussion regrading this issue alive. See #651 for the details on this.

cc @fritzo


Switch to rectangular flags

I think you need to add flag-icon-css to the package.json.

https://github.com/linode/manager/pull/167/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R90?

Whoops.

Coverage remained the same at 80.269% when pulling c0bf65d50929d933f5f110dbb2be2b48ae061931 on eatonphil:master into 3f42025a481997dd4dc5207fde46f1c7229ecf00 on linode:master.

I wasn't sure why the file! specification before the import was necessary because it worked in the app. In the tests though it didn't know what to do with it. I'm guessing there's just some missing webpack configs.
Ready for merge.

Thanks!


[mesheryctl] fix context support for all commands, clean-up

Description
This PR fixes #2393, fixes #2394 , fixes #2395
Notes for Reviewers

Added skipConfirmation flag to resetMesheryConfig
Added user confirmation to update command
GetCurrentContext now also sets the correct Version instead of leaving it empty
Removed ValidateComposeFileForRecreation from start.go because it is not needed now as we are always downloading the correct docker-compose file at every start.
Updated all files based on the above changes.

Signed commits

[x] Yes, I signed my commits.

@aneeshnema is this PR ready for review? It is currently marked as Draft.

@leecalcote
@aneeshnema and I will discuss with @anirudhjain75 on this on a call tomorrow and we would hopefully be able to clear things up and @aneeshnema will probably be able to get it done tomorrow itself. There is just some confusion about refactoring things.

@leecalcote no, there are few more changes requires as per suggestions above. I was busy travelling/shifting back to my college campus so couldn't work on the PR. Will update tomorrow.

What?! In-person schooling? So fancy. What a refreshing change, I'm sure.

@navendu-pottekkat yes, mesheryctl is fully context supported now (for docker platform). I have tried all the commands on my local machine, everything seems to work fine.  Still, do test out yourself, just in case.

Thanks for refractoring @aneeshnema :).

@anirudhjain75 I agree.
Maybe moving the GetCurrentContext() function inside config.go file and replacing the existing GetContextContent() function would work. Or we can make this a separate function in config.go

LGTM


The new sign_personal_message is a use case, my friend?

def sign_pm() -> str:
    """Takes a string, signs and verifies."""
    mnem, kp, addy = recover_key_and_address(
        SignatureScheme.ED25519,
        "finger lyrics almost carry motion lava destroy rice dog daring town screen",
        "m/44'/784'/0'/0'/0'",
    )
    print(kp.serialize())
    msg = "Hello World!"

    msg_b64 = base64.b64encode(msg.encode("utf-8")).decode()
    signature = kp.sign_personal_message(msg_b64)
    print(f"Signed message: {signature}")
    print(f"Verified: {kp.verify_personal_message(msg_b64, signature)}")
    return signature

Thank you  You're doing a great job


deduplicate "files" and "logs" functionality

We should unite files and logs func into something universal:
files:
    include:
    exclude:
    start:
    filenames: (passed to rsync directly)
    filelists: (files read and content fed to rsync)

Closing - decided not to do this now because of difference in data delivery approaches


Bug: microshield comfile issue

URL

FILTERS

Browser
Google Chrome
Operating System
Microsoft Windows 11
Ad-Blocker
AdGuard Browser Extension
Userscript Manager
AdGuard for Windows
USERSCRIPT
X
Comment
No response

https://community.list-kr.com/docs/AdGuard/Userscripts/microShield
메뉴얼을 다시 한번 확인해보시겠어요?


Title: Loan EMI Calculator

Is your feature request related to a problem? Please describe.
There is no such project in this repo
Describe the solution you'd like.
I would  like to add this project
Describe alternatives you've considered.

Add any other context or screenshots about the feature request here.
No response

It's not clear, describe more exactly. I am web developer with rich experience.

@sau-mili Thank you for providing your insight but it is not required as of now


Fix bugs: reduplicated space_name, overwritten inst_name, invalid format of narrative_age in Person

Fix bugs:
reduplicated space_name
see #80
overwritten inst_name
see #79
invalid format of narrative_age in Person
see #81

if you rebase and adjust the version to indicate a breaking change, we can merge this


Python STT AutoDetectSourceLanguageConfig does not work?

Describe the bug
Seems that even if I specify multiple languages in the AutoDetectSourceLanguageConfig, speech to text only recognizes the first language specified.
To Reproduce
I tried the following to approaches, none of them worked (only the first language seems to used for recognition):
src_lang_hu = speechsdk.languageconfig.SourceLanguageConfig(language="hu-HU")
src_lang_en = speechsdk.languageconfig.SourceLanguageConfig(language="en-US")
auto_src_lang_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig(sourceLanguageConfigs=[src_lang_en, src_lang_hu])
speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config_input, auto_detect_source_language_config=auto_src_lang_config)

OR
auto_src_lang_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig(languages=["hu-HU", "en-US"])
speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config_input, auto_detect_source_language_config=auto_src_lang_config)

(In the speech config SpeechConfig object, I did remove the speech_recognition_language)
Expected behavior
All specified languages are considered and detected.
Version of the Cognitive Services Speech SDK
Latest Python SDK
Platform, Operating System, and Programming Language

OS: DietPi OS
Hardware: ARM64 RPi4
Programming language: Python

Would it be possible to capture and share an SDK log when this happens, per the instructions here?
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-logging
That could help us quickly see if request payloads match expectations.

@bbence84 does your audio include a single sentence or multiple sentences? If it's multiple sentences, are the sentences from multiple languages (some in Hungarian, some in English), or are all sentences from the same language (one of the two).
Please also provide your (simplified) source code exhibiting the issue with an example WAV file.
Thanks,
Darren

Closed since no update, please open a new issue if more support is needed.


Step: When the user is done with the question id "whatever" with the data:

This would be triggered after the code clicks the 'continue' button for a page. The aim would be to make it easier to check for invalid inputs from the user while still using the 'story' table.

This step was created with the var table in PR #107

This step was created with the var table in PR #107


jackaudio: 1.9.10 -> 1.9.11-RC1

Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

We discussed this on IRC. There hasn't been a jack2 release in 3 years, and this version is considered stable except that they need to fix Windows and OsX builds before cutting a final release: http://jack-audio.10948.n7.nabble.com/Jack-Devel-JACK2-1-9-11-RC1-is-now-tagged-td19490.html
If that doesn't happen, and this version is adopted by mainstream audio distros i.e. it becomes a de-facto release, then I'd be happy to include it in nixpkgs, but personally, I would like to wait a bit for things to settle down.

@cillianderoiste The current maintainer is also the creator of KXstudio, and has confirmed it's safe:
jack-git has been part of KXstudio for several months.

@magnetophon Ah, if KXStudio has been using it for months, then I think it's fine. Can you delete the jack-gcc5.patch file too please? Do you think we need to keep jack2Unstable at all? I see it's only used in libsoundio, so I guess that can use 1.9.11-RC1 instead?

@cillianderoiste OK, done.

Excellent, thanks @magnetophon!

@cillianderoiste The pleasure is all mine. For way too long I had a jack override to unstable, so I had to compile a lot of stuff on each upgrade.
Soon, no more!


Update meilisearch version in ci

Pull Request
What does this PR do?

Update Meilisearch's version in CI

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

bors merge


what does score_offset means?

as what the picture above show,why score_offset equals that

@Idontunderstand-kjl As shown in the following figure, the green square represents the original image, the yellow square represents the the range that can be represented by the score map. So, the equation to compute the offsets is it.

sincerely thanks for your explaination!but why

sincerely thanks for your explaination!but why both q_size and score_size have to subtract 1 ?Maybe it is about odd and even?

hi

sincerely thanks for your explaination!but why both q_size and score_size have to subtract 1 ?Maybe it is about odd and even?

Yes.

This issue is closed. Feel free to create new issues if you have any questions.


Inconsistent display of bare indented code blocks and fenced code blocks (```) in Markdown preview

Type: Bug
Steps to reproduce:

Open a Markdown editor.
Enter the following code:
    [short|long] [signed|unsigned] int
    [signed|unsigned] char
    float
    [long] double

```
[short|long] [signed|unsigned] int
[signed|unsigned] char
float
[long] double
```

Preview the Markdown, for example by clicking the "Open Preview to the Side" button.

Expected behavior: The two code blocks are rendered the same.
Actual behavior: The two code blocks are rendered with slightly different margins and line heights:

Does this issue occur when all extensions are disabled?: Yes
VS Code version: Code - Insiders 1.71.0-insider (28f604dec81b609dd7e69362585f7a99d4c48f88, 2022-08-19T05:17:14.894Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
3.90GB (0.46GB free)

Process Argv
--crash-reporter-id adc3af8c-0978-48bc-aa94-fbd604e9e143

Screen Reader
no

VM
0%

I will try to solve this problem immediately

@mjbvz It looks like the spacing between  and  is different due to them using different layers, for this case, should we both use xxx?

Is this issue still available? I'd like to fix it, but I have never contributed to an open source project before. Are there any instructions I can follow to submit a PR for this issue?

@weartist, I would use  xxx  for 2 reasons:

I don't see a reason why there should be a  between the  tags
the styling looks better when only using the  tags

Hi I can give it a try if someone can guide me like where should I start to solve this issue.

@weartist No, it's actually
...
 vs.

...

I observed that the first structure doesn't show a side marker when hovered, while the second one does:
https://user-images.githubusercontent.com/110317665/188794638-25856812-3b52-40d6-b26a-7f95c0d0a0a3.mp4

I found the bug in the source code:
https://github.com/microsoft/vscode/blob/7b5e82ebcfaa165b1446ae81df19f71c9ea821d7/extensions/markdown-language-features/src/markdownEngine.ts#L413
and
https://github.com/microsoft/vscode/blob/7b5e82ebcfaa165b1446ae81df19f71c9ea821d7/extensions/markdown-language-features/src/markdownEngine.ts#L409
But the problem about the border also needs to be solved.
It is added by .code-line, which is inconsistently set on the
 (for indented code) and the  (for fenced code). The latter works because it lies inside the
, and setting it on the
 causes it to be squeezed out of place:

So in my opinion, we can use

 for both, but we need to set the .code-line (and line info) on the inner  for both.

Here's the code that sets the properties:
https://github.com/microsoft/vscode/blob/7b5e82ebcfaa165b1446ae81df19f71c9ea821d7/extensions/markdown-language-features/src/markdownEngine.ts#L24-L34
I wonder if it's a bug of Markdown-it...

@studyingegret Don't understand why we need a scrollbar-like element aside the fenced code, can somebody explain it?

@studyingegret Don't understand why we need a scrollbar-like element next to the fenced code, can somebody explain it?

I tried to fix this bug by overriding default rule of code_block.
This makes the rendered DOM of code_block and fence are same.
--- a/extensions/markdown-language-features/src/markdownEngine.ts
+++ b/extensions/markdown-language-features/src/markdownEngine.ts
@@ -38,6 +38,10 @@ const pluginSourceMap: MarkdownIt.PluginSimple = (md): void => {
                        originalHtmlBlockRenderer(tokens, idx, options, env, self)
                );
        }
+
+       if (md.renderer.rules['code_block'] && md.renderer.rules['fence']) {
+               md.renderer.rules['code_block'] = md.renderer.rules['fence'];
+       }
 };

Render rule is defined at markdown-it and rule of code_block and fence are differ.
It causes make difference of rendered DOM between these.

code_block
https://github.com/markdown-it/markdown-it/blob/2b6cac25823af011ff3bc7628bc9b06e483c5a08/lib/renderer.js#L30-L36

fence
https://github.com/markdown-it/markdown-it/blob/2b6cac25823af011ff3bc7628bc9b06e483c5a08/lib/renderer.js#L39-L90

@Chanmoro Are you thinking of fileing an issue against Markdown-it?

Can I work on this issue?

Alright, I am okay to accept this, personally I'm not going to have time to work on this in the forseeable future anyway 😂 But I'll put my work here if I make any


Does this code handle packed / compressed fields (COMP-3) conversion and copybooks?

Hi @tmalaska ,
Apologies in advance if this is irrelevant or not the right place or way to do this and causes any inconvenience.
I am currently looking for a Java application / library that can convert an EBCDIC formatted file (from Mainframe) into standard ASCII format. I came across this code base and found it really interesting. I was wondering if this application also handles packed / compressed fields (COMP-3) conversion and copybooks?
Awaiting a prompt response.
Thanks in advance.
Kind Regards,
Harish

I belive everything by variable length.. I haven’t touched the code in a long time.. In the end it is anything that JRocket can handle.
From: HP<EMAIL_ADDRESS>Reply-To: tmalaska/CopybookInputFormat<EMAIL_ADDRESS>Date: Wednesday, March 29, 2017 at 3:14 PM
To: tmalaska/CopybookInputFormat<EMAIL_ADDRESS>Cc: Ted Malaska<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [tmalaska/CopybookInputFormat] Does this code handle packed / compressed fields (COMP-3) conversion and copybooks? (#4)
Hi @tmalaskahttps://github.com/tmalaska ,
Apologies in advance if this is irrelevant or not the right place or way to do this and causes any inconvenience.
I am currently looking for a Java application / library that can convert an EBCDIC formatted file (from Mainframe) into standard ASCII format. I came across this code base and found it really interesting. I was wondering if this application also handles packed / compressed fields (COMP-3) conversion and copybooks?
Awaiting a prompt response.
Thanks in advance.
Kind Regards,
Harish
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tmalaska/CopybookInputFormat/issues/4, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB2xoFH-bQRIlInKJAfeplwNEbCD4Y_Aks5rqtesgaJpZM4Mtn6t.

Hi @tmalaska ...sorry for the delay. Thanks a lot for the response. Kind Regards


Version 2.7.5 - hot fixes - ocpi endpoint authorizations

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: cabch:white_check_mark: ClaudeROSSI:white_check_mark: Ramzay:x: lmargaronYou have signed the CLA already but the status is still pending? Let us recheck it.


vulkansdk Resource Not Found When Building and Running xr_hello_holoscan and volume_rendering_xr

 > [vulkansdk-builder 2/4] RUN wget -nv --show-progress --progress=bar:force:noscroll     https://sdk.lunarg.com/sdk/download/<IP_ADDRESS>/linux/vulkansdk-linux-x86_64-<IP_ADDRESS>.tar.gz:
0.681 https://sdk.lunarg.com/sdk/download/<IP_ADDRESS>/linux/vulkansdk-linux-x86_64-<IP_ADDRESS>.tar.gz:
0.682 2024-07-23 14:23:56 ERROR 404: Not Found.

Steps to Reproduce

Set up per README
Run either of the following commands in freshly cloned repo:
./dev_container build_and_run xr_hello_holoscan
./dev_container build_and_run volume_rendering_xr

build_and_run_log.txt

Thanks for reporting @codenML . This issue shares a root cause with https://github.com/nvidia-holoscan/holoscan-sdk/issues/30 that was also identified today. I'll update the volume_rendering_xr Dockerfile with a similar resolution, and work with the Holoscan team to identify other potential failure points in HoloHub.


Physics in a separate worker process

Ok, I'm probably not the only thinking about that idea, but I would still like to hear the feedback/ideas/concerns of others who may have had the same thought.
I did actually got started on it, but haven't made it far yet. Still, I would like to hear the feedback first, before I spend hours and hours on it, later realising it's not possible because of xyz.
The issues I can think of right now:

Async data (position, rotation, linear & angular velocity) -- I guess that could be simply solved by having a dummy/proxy physics impostors on the main thread, that would only update the data
Duplicate code - it would need to require to create separate version of each PhysicsPlugin as a worker version -- not really sure if it would be possible to just simply reuse the PhysicsEngine  container/wrapper on the worker side? Technically it seems it would be possible with webpack worker-loader (https://github.com/webpack-contrib/worker-loader#examples), but not fully sure yet.

I’m sure there were/must have been more issues related to workers, as I remember babylon having a worker for the native collisions, which were discontinued I think?

This would be awesome!
The main question is how to create the worker from the current plugin code. Plugins could then be made aware that they run as a worker and then start communicating with their proxy using messages

Yes, I'll try to work on it this afternoon. Already started, but kinda got stuck on the build process, trying to include webpack worker-loader.
My idea was basically, trying to set everything in the physicsEngine, like for example:
public setGravity(gravity: Vector3): void {
    this.gravity = gravity;
    this._physicsPlugin.setGravity(this.gravity);
}
// would bet
public setGravity(gravity: Vector3): void {
    this.gravity = gravity;
    if (
        this.useWorker &&
        !this.inWorkerProcess
    } {
       this.worker.postMessage('setGravity', this.gravity);
    } else {
        this._physicsPlugin.setGravity(this.gravity);
    }
}

and then on again have an additional function in the engine to listen to those messages and execute them (if inside the worker). Now, that sounds very very straightforward and easy, so I'm sure there must be a catch there somewhere... one thing here, that could be the issues is, that you won't be able to access the physics plugin directly anymore. For that case I think, we could also make an AbstractPhysicsEnginePlugin (instead of an interface) and do that part as a worker.
But somewhat I'm sure there is more to it. There was probably a reason why the worker for native collisions was removed?
Nevertheless, I'll continue this afternoon, trying to set up the worker-loader to the build process, as that was where I was kinda stuck the last time.

it was removed mostly because the communication was so slow that we missed frames. Leading to really interesting state (stuck in the wall :))

Ah, ok! :)
A question...  is there any place in the code, where you can put custom declarations?
https://github.com/webpack-contrib/worker-loader#integrating-with-typescript
// typings/custom.d.ts
declare module "worker-loader!*" {
  class WebpackWorker extends Worker {
    constructor();
  }

  export default WebpackWorker;
}

Somehow I've tried everything, but can't get it to work

Let me invoke @sebavan :)

Thanks! I've included the WIP version I'm currently working on, if somebody can figure out what I'm doing wrong.

All typings should go under the LibDeclarations folder as they need some special processing to ensure the d.ts we create are all ok.

Thank you!
 Can you maybe take a second to check if it's something obvious I'm doing wrong there, especially in webpack.config.js (https://github.com/BabylonJS/Babylon.js/pull/6077/files#diff-6d5e756cc942fd5f521d854dbb7bfe3b)?
Now, the error I get (with this configuration) is the following error:
Uncaught TypeError: Failed to resolve module specifier "worker-loader!./physicsWorker". Relative references must start with either "/", "./", or "../".

but I have added the browser.d.ts (https://github.com/BabylonJS/Babylon.js/pull/6077/files#diff-092c91e68c20d67996658cf89c2a81ff). I have literally tried to put it everywhere (physicsEngine.ts, physicsEngineLoader.ts, ...) but I still get the same issue

Ohhh I see what you are trying to do. Unfortunately we have a couple of build target to support and webpack is not always used to build the output. For instance our es6 modules are generated directly from ts without the need to bundle or the strong dependency to one bundler on the client.
Is there any other simpler tools/scripts we could use to generate the worker ?

I only found worker-loader (https://github.com/webpack-contrib/worker-loader) and worker-plugin (https://github.com/GoogleChromeLabs/worker-plugin). Neither seems to work really.
I can't think of any other way, one could get the required modules into the worker?

Could you try to create the worker outside of the default build process for now and once fully working I ll help you integrate it in the build process ?

What would be the best way to do that? I guess a separate folder/project in root folder like there is for gui, inspector, viewer, ... ?

https://playground.babylonjs.com/#N7PGG3#2

Closing for no-activity. Feel free to re-open.

Would be awesome to have calculation in worker


Too long tokens

The be honest I like idea of tokens which implemented for the moment. But I have some confusion about it. I build email confirmation token with UserManager this way:
string emailToken = await _userManager.GenerateEmailConfirmationTokenAsync(user);

It gives me token with 200 characters length. Also, it contains characters which can not be used in URL, so I encode it in this way:
string code = WebEncoders.Base64UrlEncode(Encoding.UTF8.GetBytes(emailToken));

And it gives me string 267 characters length. Next, I want to compose email confirmation URL for my application and email it to user. Please note, I should include something like user id in URL as well. Including the host name full URL going to be 300+ characters, which throws runtime error with "Bad Request" reason, as URL is too long.
In previous versions of ASP.NET it was possible to increase URL length, but it looks as some kind of hack for me.
So if application can't embedd it into URL it's going to be a bit useless. What the proposed way of using this tokens? How current archtecture expects to use the tokens (like email confirmation, password reset, change phone and so on)?

The fix would be fairly easy, EmailTokenProvider should override the  GenerateAsync method it gets from TotpSecurityStampBasedTokenProvider instead of using Rfc6238AuthenticationService which is presumably for two way auth.

Thanks! Also, if move token to GET-parameter it resolves the issue.

@yetanotherchris Could you please give us an example on how to extend the EmailTokenProvider ?
I need to generate a smaller token, since I have a case where the user should enter it manually, so with a long token this could be impossible.

The fix would be fairly easy, EmailTokenProvider should override the GenerateAsync method it gets from TotpSecurityStampBasedTokenProvider

Beware using this with a very long window of time -- it might open up a brute force attack on validating the email confirmation token (more of a concern for password reset scenarios).


Allow for buffers longer than 32k in WoopsaEmbedded

Currently, WoopsaEmbedded uses WoopsaInt16 everywhere, including the content-length. This limits pages served through Woopsa to 32kB, which is not enough for serving scripts like jQuery.
It's necessary to work with WoopsaInt32's or find another mechanism that will allow to overcome this limit.

fixed in commit 096a5de291ecc6a7444ba317866e6a7a76cbb5c4


OneDrive file picker doesn't work when 'redirectUri' set to different subdomain

Facing issue with the redirect url with the v7 of file picker i am having different tenants in my project and i cant give those many tenants in the onedrive application so i want it to be in the javascript but it is not working with options that are there in the api docs "advance" which is used for redirect url

currently #548 should be the best work around for different subdomain problem. FYI SharePoint has different security level in IE/Edge so postMessage is broken if you don't configure it right: #550

i am trying in chrome and i am getting this message every time
We're unable to complete your request
Microsoft account is experiencing technical problems. Please try again later.

can you provide the detail url of the page showing error?

https://login.live.com/err.srf?lc=2057#error=invalid_request&error_description=The+provided+value+for+the+input+parameter+'redirect_uri'+is+not+valid.+The+expected+value+is+'https://login.live.com/oauth20_desktop.srf'+or+a+URL+which+matches+the+redirect+URI+registered+for+this+client+application.&state=redirect_type%3Dauth%26display%3Dpage%26request_ts%3D1491886261658%26response_method%3Durl%26secure_cookie%3Dfalse

@devsandy based on the error, have you registered your app with the redirect uri you provided to picker SDK on https://apps.dev.microsoft.com? Make sure you added web in 'Platform' column, added the redirect uri and checked 'Allow Implicit Flow'.

i have added redirect url just main domain like https://dev.example.com but i have sub domains like https://dev1.example.com when i am using picker in dev it is working fine when i changed the url it is not working and i am having different domains like this i cant add those domains into the app, it have to work for sub domains the problem is with sub domains.

Sorry misunderstood your story, can you move the picker page hosting on https://dev.example.com and set option.openInNewWindow=false? The basic idea is on the subdomain page https://dev1.example.com button onclick, you can set window.open("https://dev.example.com/pickerhostpage"), and you can use postMessage between the page  https://dev.example.com/pickerhostpage and https://dev1.example.com.

close for now as the thread is not active for a long time, feel free to reopen it if you have any questions.

I trying to do what you suggested in above. But i facing the popup issue. Although i set openInNewWindow to false, when i load the page, it will pop up oneDrive file picker.
Below is my script - onedrivesdk.html,
`


flask-{wtf,admin} fixes

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/155221#issuecomment-1013973738 broke a number of packages, most of which haven't been updated or released with support for wtforms 3.0 yet. This selectively overrides the dependency for the affected packages.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

cc @gador @SuperSandro2000

@SuperSandro2000 pulled in patches for most of it instead, and omitted airflow

I'm taking care of ihatemoney in https://github.com/NixOS/nixpkgs/pull/156350 (it needs some more things because of sqlalchemy-continuum)

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 156188 run on x86_64-linux 1

8 packages built:

apache-airflow (python39Packages.apache-airflow)
python310Packages.apache-airflow
python310Packages.flask-admin
python310Packages.flask-appbuilder
python310Packages.wtf-peewee
python39Packages.flask-admin
python39Packages.flask-appbuilder
python39Packages.wtf-peewee


typo

Coverage remained the same at 53.433% when pulling e7867a8f0d1062e4920541f923530055af0f37f4 on nerdoc:patch-1 into bfdef523eb7e934469d5c4a34652626b723d7481 on django-extensions:master.

Thanks !


Add new rancher machine catalog style page

(rancher/rancher#4856)

@lvuch @westlywright @will-chan A bunch of code comments and below, but this seems close enough to merge and fix up in future RCs.

The state being at the bottom (and only showing it if not active) is inconsistent with every other component.  Put it where the name is and give the name it's own line?

Downloading the linux binary for driver isn't very useful.  I think we should just get rid of the 3 lines of text and let you see them on edit (builtins won't have edit, but there's nothing to see either).

Not enough differentiation between active and inactive... needs to be much more obviously grayed out, 0 saturation, something.  Maybe even separate active and available into 2 different groups.

Don't really like the custom icon.. it's much smaller than the others, has no text and not really clear what it is @1x resolution


[Snyk] Security upgrade node from 14 to 20.7

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to node:20.7, as this image has only 161 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

844
Out-of-bounds Write SNYK-DEBIAN10-LIBWEBP-5893093
Mature

844
Out-of-bounds Write SNYK-DEBIAN10-LIBWEBP-5893093
Mature

844
Out-of-bounds Write SNYK-DEBIAN10-LIBWEBP-5893093
Mature

844
Out-of-bounds Write SNYK-DEBIAN10-LIBWEBP-5893093
Mature

714
Unquoted Search Path or Element SNYK-DEBIAN10-OPENSSH-5788320
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Security upgrade


firefox-bin: 43.0.3 -> 43.0.4

Re-enable SHA-1 certificates
Bug fixes

https://www.mozilla.org/en-US/firefox/43.0.4/releasenotes/

Re-enable SHA-1 certificates

:angry: (but I understand)

Is there a reason why firefox-bin has no wrapper? Our wiki even has work-around for that. Now I changed FF-like browsers to be wrapped by default #12299, as almost all people want that version, so why not the same for firefox-bin as well?

It's just my laziness. In NixOS, MOZ_PLUGIN_PATH is configured by nixos/modules/programs/environment.nix, so that I can use Flash Player without a wrapper.
I will create a wrapped package soon.

@vcunat Created a wrapped package: #12416.


Exporting all pages within a document

Currently, there's only the option to export pages individually, so in case you need to export a multi-page draw.io file into a PDF, you have to export it as many times as many pages your document contains (and then merge it all into a single PDF).
It would be great to have a feature that allows you to decide what pages you want to export or, at least, the export of all pages by default (is actually more easy to delete pages from a single PDF than merge several PDFs into a single one).

Tracked as https://trello.com/c/TZB5LOjw/271-multiple-page-export-in-pdf


[Drag] Fix scaling of resolution vs dragResolution

Works only with drag in min and res in hours.

:tada: This issue has been resolved in version 1.7.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


python312Packages.succulent: add missing dependencies

add dependencies lxml and xmltodict
https://hydra.nixos.org/build/257571281/nixlog/1/tail
ZHF: https://github.com/NixOS/nixpkgs/issues/309482
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310723 run on aarch64-linux 1

4 packages built:

python311Packages.succulent
python311Packages.succulent.dist
python312Packages.succulent
python312Packages.succulent.dist


v1.1.3 to v1.1.4

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b879917). Click here to learn what that means.
The diff coverage is 82.6%.

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage          ?   90.86%
=========================================
  Files             ?        2
  Lines             ?      219
  Branches          ?        0
=========================================
  Hits              ?      199
  Misses            ?       20
  Partials          ?        0

Impacted Files
Coverage Δ

test/taiwan-weather.spec.js
100% <100%> (ø)

test/files-utils.spec.js
59.18% <59.18%> (ø)

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 b879917...fccebde. Read the comment docs.


updating the variable to match the module for cluster_name

What does this PR do?
Provides a small fix for a change in cluster_name which has changed in the downstream module
Motivation
I tried to use it and it failed with the following message
│ Error: Unsupported argument
│
│   on main.tf line 148, in module "aws-eks-accelerator-for-terraform":
│  148:   kubernetes_version = local.kubernetes_version
│
│ An argument named "kubernetes_version" is not expected here.
More

[x ] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)

[ ] Yes, I have added a new example under examples to support my PR

[ ] Yes, I have updated the docs for this feature

[ ] Yes, I have linked to an issue or feature request (applicable to PRs that solves a bug or a feature request)

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

@vara-bonthu
Do we have to worry about this? https://github.com/aws-samples/crossplane-aws-blueprints/blob/95008c6dc85d67da207b22a650beb53370d841d0/bootstrap/terraform/variables.tf#L27
I'm not too familiar with Terraform so I can't tell for sure, but it looks like this variable name should be updated as well?

Yes that need changing as well to cluster_version.
Tomorrow our upstream repo is moving to new org so I will update this bootstrap as well with new source and version etc