References to resource group tags in parameters incorrectly show as invalid

The following template seems valid and runs through deployment as expected, but the validation in vscode labels it as invalid:
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "environmentName": {
            "type": "string",
            "allowedValues": [ "Development", "Test", "Production" ],
            "minLength": 4,
            "defaultValue": "[resourceGroup().tags['Environment']]",
            "metadata": {
                "description": "Name of environment.  To be used in resource names.  By default, this value will be inherted by the resource group's environment tag if available."
            }
        }
    },
    "functions": [],
    "variables": {},
    "resources": [],
    "outputs": {
        "environment": {
            "type": "string",
            "value": "[parameters('environmentName')]"
        }
    }
}

Validation shows the error message below:

Template validation failed: The template resource 'environmentName' at line '5' and column '28' is not valid: The language expression property 'Environment' doesn't exist, available properties are ''.. Please see https://aka.ms/arm-template-expressions for usage details.

@jorgecotillo I thought this was fixed with #831.  What's the difference?  Thx.

Blocked by https://github.com/microsoft/vscode-azurearmtools/issues/1458


easyapi - Create EasyApiKey

Create a new item type called EasyApiKey with only two attributes:

Id as String
Key as String

Create a backoffice adminstration for Easy REST > API Key
Add an ImpEx for installation that creates two keys:

Key 1 with a random 10-character key
Key 2 with a random 10-character key

Update https://github.com/SAP-samples/easy-extension-samples/blob/main/easyapi/src/main/groovy/com/sap/cx/boosters/easy/core/api/services/impl/DefaultEasyAPIService.groovy so it checks there is at least one key with the right key

I believe you can create a random 10-character string with a Groovy script inside ImpEx. If this is not possible, you can use Init script from Groovy.

I see the following issues in this implementation:

API Key is regenerated always with ImpEx import. So each installation of Easy API will invalidate old API Key.
There is no relation with the ApiKey and the Easy REST or Easy REST group.
The ApiKey is visible in backoffice as clear text and leads to a security issue.
If the ApiKey attribute is encrypted then there is no option to copy the ApiKey.
There is no option to generate the ApiKey from backoffice. It can be added as 123456.
The ApiKey is not tied to a user. So when using ApiKey, we can't identify the user who executes the easy api operations. For example: when installing an easy extension, there is no possibility to identifythe user who executed it.

The implementation should change to have the following:

The ApiKey should be tied to a user so that we can identify who generated it.
The apiKey should be encrypted.
There should be an action in back-office to regenerate api key.
There should be a button to copy the api key to clipboard.
The ApiKey record should be visible to admin user or to the user who created it.
The ApiKey should either be linked to an EasyRest Group or to an Easy Rest Service.
For local repository there should be an option to define a default api key. This will simplify the developer experience as the api key is required for gradle plugin as well. Current implementation doesn't work because there are different api keys generated for each easy rest service

Moved to Framework as a feature


Updating to NRFX 1.7.1

I want to use the NRF52811 :D
Mynewt currently has the nrfx v1.4.0 library, which does not have the required files.

It looks good, as far as my testing goes (ADC and PWM on nRF52832) everything is ok. Sill need to test I2C and SPI but since I don't see any significant changes which might affect these two drivers.

I did notice one error that doesn't seem to get caught by the tests.
Error: In file included from repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/nrfx.h:37,
                 from repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/src/nrfx_gpiote.c:31:
repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/hal/nrf_gpio.h:46:24: error: expected declaration specifiers or '...' before '(' token
 #define NUMBER_OF_PINS (P0_PIN_NUM)
                        ^
repos/apache-mynewt-core/hw/mcu/nordic/include/nrfx_glue.h:69:54: note: in definition of macro 'NRFX_STATIC_ASSERT'
 #define NRFX_STATIC_ASSERT(expression) STATIC_ASSERT(expression)
                                                      ^~~~~~~~~~
repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/src/nrfx_gpiote.c:51:20: note: in expansion of macro 'NUMBER_OF_PINS'
 NRFX_STATIC_ASSERT(NUMBER_OF_PINS <= (1 << SENSE_FIELD_POS));
                    ^~~~~~~~~~~~~~

As far as I understand, STATIC_ASSERT is a C11 feature and we're compiling with C99, no?
Commenting that line out or #defining NRFX_STATIC_ASSERT to nothing both work, but I'm not sure what the preferred method is.

@alvarop How are you getting this? I am building all my tests locally without any problems.

@mlaz It only happens on my new nrf52811 project of course :-/

I talked with @alvarop on slack and we agreed to have nrf52811 support coming in on a separate PR.

Hi, I've just run into the same NRFX_STATIC_ASSERT issue when trying to build (my first) mynewt project for nrf52810.
There's already two copies of the nrfx_glue.h file that define this, the failing one used above in
repos/apache-mynewt-core/hw/mcu/nordic/include
and one with NRFX_STATIC_ASSERT defined to nothing in
repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/templates
If the templates include path is set before the first one in the gcc command the file compiles correctly (tested by manually running the failing gcc command).
Alternatively, disabling NRFX_GPIOTE_ENABLED in nrfx_config.h in the bsp works around the issue too, if you're not relying on gpiote in your project.


Polymer 1 shady CSS parsing bug

First of all, I am sorry for what you're about to read. The context is that textarea has a weird padding on iOS (and only iOS; not even on desktop safari), so we need to apply a style and undo it on all the other browsers. Yes, you can cry now.
These are the new selectors that we need to be able to add. The last 3 make the parser barf, with errors such as
Uncaught DOMException: Failed to execute 'matches' on 'Element': '_:not([style-scope]):not(.style-scope):-ms-fullscreen,html iron-autogrow-textarea.fixed:not([style-scope]):not(.style-scope)' is not a valid selector.

The selectors:
      /* Undo the margin on non-iOS Safari and Chrome (=.=). This hack is taken from
       * http://browserstrangeness.bitbucket.org/css_hacks.html#webkit
       * and I'm sure one day will end, but for now, here we are.
       */
      _:-webkit-full-screen-ancestor, :root iron-autogrow-textarea.fixed {
        --iron-autogrow-textarea-margin-left: 0;
      }

      /* Undo on Edge */
      _:-ms-lang(x), _:-webkit-full-screen, iron-autogrow-textarea.fixed {
        --iron-autogrow-textarea-margin-left: 0;
      }

      /* Undo on IE. Safari, this is why we can't have nice things. */
      _:-ms-fullscreen, :root iron-autogrow-textarea.fixed {
        --iron-autogrow-textarea-margin-left: 0;
      }

      /* Undo on FF */
      @-moz-document url-prefix() {
        iron-autogrow-textarea.fixed {
          --iron-autogrow-textarea-margin-left: 0;
        }
      }

You can pull this PR to test it: https://github.com/PolymerElements/iron-autogrow-textarea/pull/94
Also, sorry.

/cc @sorvell @cdata @azakus

So, I don't think I can make this work for shadydom, because I don't think the _: selectors are valid for matchesSelector()
Instead, if you could useragent detect iOS and use
this.updateStyle({'--iron-autogrow-textarea-margin-left': '-3px'}), this would probably work better.

Wahhh ok closing.


Add webots backend

So I've at least got it to a semi working condition. Changing the server backend to webots will open up webots and connect the server with it.
What currently needs to be fixed still before the PR can be put out of draft:

Now I start up the simulated crazyflie drivers by python's subprocess for a seperate file, that actually starts up the program, but... that means no sharing data through semaphores is possible. Now I solve it by creating a virtual radio between the supervisor and crazyflies but that has a one step delay. I had to do this because the multi threading  library was blocked by webots, but @ataffanel mentioned the Multiprocessing library instead, so perhaps that is the next immediate fix
The control is very iffy. Nice_hover makes the Crazyflie bounce around and with my attempt before I didn't use the rpms but the motor commands unitless values that comes directly from motormixing
Another thing, but perhaps not for now, is that I think it would be nicer to have the SIL with bindings (or at least the low level controller) in the crazyflie_webots driver itself, which should be possible since we also pass through the desired state.

I made a schematic of the current state for a bit of understanding what I've added:

Alright, the multiprocessing library didn't work.. so still stuck with the virtual radio link for now.
Also, I've got the control kind of working, but as soon as there is any rotation it goes haywire so probably still things that goes wrong so I'll need to look at the implementation a bit.
I also forgot to mention, that in order for this the work, webots needs to be started in a different window together with the crazyflie_world.wbt

So yeah.... this has caused some problems. I've verified that it is not the state conversion as that is similar as to how NP or none sends the state out. But, if I do a script with a takeoff and moving forward, the Crazyflie goes to the right direction but quickly goes unstable and flips. So something with the control or the model is off, or the delay that is caused by the virtual radio connection is not helping thing either.
Debugging this directly in Crazyswarm is a bit difficult as there are many layers of backends, so I think I'll just first do a minimal viable example with the python bindings and webots alone just to understand what is going on, perhaps in the https://github.com/bitcraze/crazyflie-simulation repo first.
Hope this is not blocking anybody but I don't think so for now :) At least there is already a simulator available.

I'll close it since this won't be what we will be going for. I'll soon start with the proposed solution to this


The list of participants in Teams meeting can only be retrieved up to 100 people.

Describe the issue
I'm using the following means to retrieve information on Teams meeting participants, but if there are more than 100 participants, we can only retrieve data up to 100 participants as a list of participants.
1.Notification by the Microsoft.Graph.Communications.Calls library.
2. Graph API communications/calls/{id}/participants
Is there any way to get a list of participants (over 100) in a Teams meeting?
Code Snippet
This is the result of retrieving the list of participants in a meeting with more than 100 participants by "Notification by the Microsoft.Graph.Communications.Calls library ; only up to 100 participants are displayed, and there is no @odata.nextLink property.
partitipants_result_json.txt
Expected behavior
Information on the 100th participant and beyond can be retrieved, or a link to the list of the 100th participant and beyond can be obtained with the @odata.nextLink property.
Graph SDK (please complete the following information):

1． Notification by the Microsoft.Graph.Communications.Calls library

Microsoft Graph .NET Client Library(Microsoft.Graph.Communications.Calls) Version <IP_ADDRESS>61

2．communications/calls/{id}/participants

Microsoft Graph JavaScript Client Library(@microsoft/microsoft-graph-client) Version 3.0.2

Logs
API call is successful. See Code Snippet for results
Additional context
I verified that the @odata.nextLink property is obtained by specifying $top to a value less than 100 in the API for communications/calls/{id}/participants, but the result did not change.
I think it could be a bug in the API.

That sounds like a problem we could be running into as well. We still need to plan our investigation. I will get back to you :)

We've conducted testing and don't run into this issue. At least not with 100+ application participants in the meeting. Not too sure what would happen with unique users in the meeting, but given that the identity isn't really of concern in the participant collection, but rather the participant object itself, I don't think there should be any issues.


feat: Validate business avatar

This pull request adds the missing validations for business avatars mentioned in #175. It accomplishes this by pulling the avatar validations on Developer into the Avatarable concern.
Pull request checklist

[x] Your code contains tests relevant for code you modified
[x] You have linted and tested the project with bin/check

Looks great, thanks for coming back to this, Jacob!


How to inspect the source of css?

When using css generated by pinceau, how can I inspect with the Chrome dev tools to find the source location of specific css rules?

you can find pc prefix @Tahul Maybe we can get a rule presentation plugin


Multimedia redirection with /gfx | decoder ffmpeg - not working

Hi,
I am running in some problems lately with Ubuntu 15.10 and FreeRDP latest master-branch (Tested with the one committed today).
My FreeRDP session disconnects when I try to play a video (mp4 720p) on the windows media player, while /gfx is active.
(/gfx /multimedia:decoder:ffmpeg /frame-ack:1 -grab-keyboard /sound:sys:pulse,quality:high,rate:44100 /audio-mode:0 /sound:latency:50)
The log FreeRDP produces:
[10:10:22:402] [21683:21706] [WARN][com.freerdp.core.client] - Skipping, channel already loaded
[10:10:22:433] [21683:21706] [ERROR][com.freerdp.locale] - Unable to find a match for unix timezone: Etc/UTC
[10:10:36:970] [21683:21710] [ERROR][com.winpr.library] - LoadLibraryA: /opt/freerdp/lib/freerdp/libtsmf-client-ffmpeg-decoder.so: undefined symbol: inflateEnd
[10:10:36:993] [21683:21710] [ERROR][com.winpr.library] - LoadLibraryA: /opt/freerdp/lib/freerdp/libtsmf-client-ffmpeg-decoder.so: undefined symbol: inflateEnd
[10:10:36:007] [21683:21710] [ERROR][com.freerdp.channels.tsmf.client] - Failed to get sink
[10:10:36:007] [21683:21710] [WARN][com.freerdp.channels.tsmf.client] - Format not supported by decoder ffmpeg
[10:10:36:039] [21683:21710] [ERROR][com.winpr.library] - LoadLibraryA: /opt/freerdp/lib/freerdp/libtsmf-client-ffmpeg-decoder.so: undefined symbol: inflateEnd
[10:10:36:041] [21683:21710] [ERROR][com.freerdp.channels.tsmf.client] - Failed to get sink
[10:10:36:042] [21683:21710] [WARN][com.freerdp.channels.tsmf.client] - Format not supported by decoder ffmpeg
[10:10:37:856] [21683:21710] [ERROR][com.freerdp.channels.drdynvc.client] - ChannelId 10 not found!
[10:10:37:856] [21683:21710] [ERROR][com.freerdp.channels.drdynvc.client] - drdynvc_order_recv failed with error 1359!
[10:10:37:856] [21683:21706] [ERROR][com.freerdp.core] - drdynvc_virtual_channel_client_thread reported an error. Error was 1359
[10:10:37:856] [21683:21706] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor
[10:10:37:974] [21683:21713] [ERROR][com.freerdp.channels.rdpsnd.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[10:10:37:974] [21683:21713] [ERROR][com.freerdp.channels.rdpsnd.client] - error confirming wave
I don't know whether this is useful or not, but I have compiled the ffmpeg 2.8.1 for my own:
./configure --enable-gpl --enable-version3 --enable-shared --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libschroedinger --enable-libass --enable-filters --enable-bzlib --enable-zlib --enable-runtime-cpudetect --enable-pthreads
--disable-ffserver --enable-ffplay --enable-libx265
With an earlier version of ffmpeg (2.2.1) it is working with the following configuration:
./configure --enable-gpl --enable-version3 --enable-shared --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
(Thought I give it a try to make my FreeRDP with high-performance in order to be able to play 1080p videos)
The cmake-options (cmake version: 3.2.2) for FreeRDP are the following:
sudo cmake -DCMAKE_INSTALL_PREFIX=/opt/freerdp -DWITH_JPEG=ON -DWITH_THIRD_PARTY=ON -DSTATIC_CHANNELS=OFF -DWITH_CUPS=ON -DWITH_PULSE=ON -DWITH_PCSC=ON -DWITH_CHANNELS=ON -DCHANNEL_SERIAL=ON
-DCHANNEL_SMARTCARD=ON -DWITH_CLIENT_INTERFACE=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_SSE2=ON -DCHANNEL_PRINTER=ON -DCHANNEL_RDPDR=ON -DCHANNEL_DRIVE=ON
-DCHANNEL_CLIPRDR=ON -DCHANNEL_URBDRC_CLIENT=ON -DCHANNEL_SMARTCARD_CLIENT=ON -DCHANNEL_URBDRC=ON -DWITH_WAYLAND=OFF -DWITH_FFMPEG=ON -DWITH_X11=ON -DWITH_X264=ON -DWITH_GSM=ON
-DWITH_MEDIA_FOUNDATION=ON -DWITH_CLIENT=ON -DWITH_GSTREAMER_1_0=ON -DWITH_X265=ON -DWITH_IPP=OFF
(-DWITH_X265=ON may have no use ;))
Now the valgrind log (the same cmake as above, but with -DWITH_VALGRIND_MEMCHECK=ON):
http://pastebin.com/U9pf5u0R
Hope this is all you need.

@T3N4K4 Looks like you are missing some symbol (inflateEnd) in the tsmf decoder library. No idea how that one did end up there. Could you retry with current master?

I'll try again soon ;)

Sorry for the late feedback,
it is working now.


Fix deprecated header in visual studio version 17.3.0 C++20

There was a header that was no longer used in c++20 of Visual studio version 17.3.0, so I fixed it.

Thank you. This will be merged soon.


Fix #1177

Issue #1177

@chq-matteo 2 problems:

when the filtering works, I often see an Uncaught TypeError: Object.values is not a function error in the console
for some tags, like C++ and C, the filtering doesn't work -- why is this?

I'll look intorno it

The c++ issue is due to wrong logic in the expansion of the technology tags, and caused by this pull
https://github.com/appirio-tech/react-components/pull/215/

Basically it just looks for a '+' sign to check if it is the expansion button

The other issue too seems to be preexisting and not related to these commits, I need a bit of testing to locate the exact code which causes it

@chq-matteo if you can fix these related issues as part of this one we'll increase the prize on this ticket -- sound good?

Sure :)

I'll mention you when the patches are ready

There was a problem with how keywords are processed in the filter, fixed adding spaces before and after the keyword to match. The C tag was working but every single contest with a 'c' somewhere in his content matched the filter

@chq-matteo this is ready now, right?

actually after looking at the code, it looks like you're still working on the console error, is that right?

Yes there are multiple parts of code that have to be change.

@tladendo I think I've solved all three issues.

@tladendo I think that Object.values() went unnoticed because it is compatible with chrome and firefox and because that function was rarely used before the tag update.

@chq-matteo looks good now!

Good!


Doc Proposal: a landing page for "material + flutter"

We have three requirements:

easily answer the question "does Flutter do/provide/have material [design]?"
help users see that Flutter has-but-is-also-more-than-just material
provide a landing page to link from material.io

Which can probably help all three requirements by building a landing page that clearly explains and shows material and its usage and status with Flutter.
Right now, material is interlaced across our site. This makes it appear that Flutter only does material. Also, we don't have a single place to link to that shows material+flutter, for the audience that knows/understands material and wants to see what Flutter has to offer.
If we had a flutter.io/material, we could:

list the components we have implemented
explain material's relationship with/to Flutter
speak to designers that already know material

I would be very wary of adding more docs to our site unless we make it very clear that it's not a reference page.
I think once we have demo apps that aren't material focused, it'll be easy to just add screen shots of those aside the regular screen shots and then the question answers itself.

To be clear, this issue is proposing a landing page for the product of "material components for Flutter", not actually docs. This landing page would link out to docs.

This is handled by https://material.io/develop/flutter/ now.


consider update_expression to determine let/const

currently var i = 0; i++; is transformed to const i = 0; i++; but let should be used in this case, so I fixed it.

Many thanks! :+1:


[benchmark] Make public ip values configurable and add SSH rule to the Client VMs | 69464

Ticket
69464: Make public ip values configurable and add SSH rule to the Client VMs
Changes

Add SSH rule to be added to the Client VMs
Add variables to make some values configurable

Good catch @francogior, I have already applied your feedback.


Open verified contract in remix

In remix you can open a sourcify verified contract like tihs:
https://remix.ethereum.org/#call=source-verification//fetchAndSave//0x0005e4b5454E00aE5FC4Eb6D37E0eb800C7bA1A9//3
where 3 is the chainID and 0x0005e4b5454E00aE5FC4Eb6D37E0eb800C7bA1A9 is the contract address.
it would be awesome to have a "open in Remix" button next to the contract

Initial implementation on branch feature/sourcify-tests, still need more UI work.
Will keep this open until integrated on develop branch.

Released on v2021.09.02.


Fix redefinition of instance_path (#257)

Creates a new local called actual_instance_path (we can bikeshed on the name 😂). This enables type-checkers that do not like redefined variables to properly infer the type of Quart.instance_path.

fixes #257

I'll likely have to change this with the work I'm doing at the moment to build Quart on Flask classes. I'll leave this open till that work is complete in case it still makes sense.

This should be fixed now, if not please reopen against the latest main.

This should be fixed now, if not please reopen against the latest main.

The typing issue is fixed. One caveat, however, is that instance_path is now inferred to be a str and not a Path (breaking change).


Improve channel_unordered performance: Take items from input channel outside worker threads

Codecov Report

Merging #123 into master will decrease coverage by 16.81%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master     #123       +/-   ##
===========================================
- Coverage   88.57%   71.76%   -16.82%
===========================================
  Files          19       19
  Lines        1173     1073      -100
===========================================
- Hits         1039      770      -269
- Misses        134      303      +169

Impacted Files
Coverage Δ

src/unordered.jl
77.14% <100%> (-15.17%)
:arrow_down:

src/interop/blockarrays.jl
0% <0%> (-87.5%)
:arrow_down:

src/progress.jl
35.36% <0%> (-52.14%)
:arrow_down:

src/comprehensions.jl
21.42% <0%> (-42.86%)
:arrow_down:

src/reduce.jl
61.9% <0%> (-38.1%)
:arrow_down:

src/basics.jl
20% <0%> (-23.75%)
:arrow_down:

src/Transducers.jl
80% <0%> (-20%)
:arrow_down:

src/core.jl
60.81% <0%> (-13.87%)
:arrow_down:

src/simd.jl
65.62% <0%> (-12.5%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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

No improvement 5c399c2fb2734403d89d0b27243f1e20b2d9f2e4:
                                           ID time ratio memory ratio
  ––––––––––––––––––––––––––––––––––––––––––– –––––––––– ––––––––––––
     ["unordered", "unordered", "basesize=1"]  0.98 (5%)  1.02 (1%) ❌
  ["unordered", "unordered", "basesize=1024"]  0.99 (5%)  0.91 (1%) ✅
    ["unordered", "unordered", "basesize=32"]  1.02 (5%)  1.04 (1%) ❌

https://travis-ci.com/tkf/Transducers.jl/jobs/272454798#L388


evernote-note-open v0.2.3 always says "illegal field type  for +TX+-+Google+Search&sa"

W, [2015-10-02T08:52:44.913794 #28691]  WARN -- : illegal field type  for +TX+-+Google+Search&sa
W, [2015-10-02T08:52:44.913915 #28691]  WARN -- : ["/usr/bin/enclient.rb:134:in block in deserialize'", "/usr/bin/enclient.rb:94:in each'", "/usr/bin/enclient.rb:94:in deserialize'", "/usr/bin/enclient.rb:128:in block in deserialize'", "/usr/bin/enclient.rb:94:in each'", "/usr/bin/enclient.rb:94:in deserialize'", "/usr/bin/enclient.rb:904:in block (3 levels) in get_result_from_local_cache'", "/usr/bin/enclient.rb:902:in each_value'", "/usr/bin/enclient.rb:902:in block (2 levels) in get_result_from_local_cache'", "/usr/bin/enclient.rb:1396:in open'", "/usr/bin/enclient.rb:1396:in open_note'", "/usr/bin/enclient.rb:901:in block in get_result_from_local_cache'", "/usr/bin/enclient.rb:1368:in transaction'", "/usr/bin/enclient.rb:900:in get_result_from_local_cache'", "/usr/bin/enclient.rb:891:in exec_impl'", "/usr/bin/enclient.rb:418:in exec'", "/usr/bin/enclient.rb:1928:in run'", "/usr/bin/enclient.rb:1952:in '"]

I've just installed evernote-mode, from the latest Git version and when I try to open a file I get the above error.  However when I invoke evernote-create-note I am able to create a new note and see it on the Evernote website.  I just can never re-open it later.

We need to know what version of Ruby is installed on your system.
On 10/02/2015 07:33 AM, Jeff Rush wrote:

I've just installed evernote-mode, from the latest Git version and when
I try to /open/ a file I get the above error. However when I invoke
evernote-create-note I am able to create a new note and see it on the
Evernote website. I just can never re-open it later.
—
Reply to this email directly or view it on GitHub
https://github.com/pymander/evernote-mode/issues/32#issuecomment-145040179.

I'm seeing something similar:
illegal field type  for  :editmode

The browser works, I see the tags, but if i try to open anything I see the above error with ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin15]

Found
((class . ErrorReply)(command_id . 6)(result_code . 101)(message . "illegal field type  for  :editmode "))

in  the *Evernote-Client-Output* buffer.


Stacked histogram

Please include the link to the individual plot

The source code can be found in app.R here.
The deployed app on Heroku can be found here.


[Q] Passing errors in the event of failiure

I want to perform some validations in the workers before actually starting the process and want to throw an error in case a validation fails. What is the best way to do that?
I currently just pass a string to the callback as callback('Invalid emailId'), but this just results in showing a string Error in the resque web dashboard.

Just did a callback(new Error('Invalid Email')) and it works as expected.


Ctrl+Arrow prints escape codes

Basically re-opens #6
Tested on gnome-terminal 3.28.2 and kitty 0.17.2, both running zsh 5.4.2 on Ubuntu 18.04.

Hi @barraponto. Can you give us more info, since there's a long discussion in #6, and that issue was closed as resolved by commit 641ade3. Did you check the whole discussion there already?
If you still have issues: Which Zim version are you using? What's your .zimrc like?

I ran zimfw update and upgrade, so I'm assuming I'm up to date.

Can you please fill in the info we ask for bug reports?

In a terminal, run `zimfw info` and paste the output below:

```
#Paste the output here
```

- gist of .zimrc:
- gist of .zshrc:

Description
-----------

Steps to reproduce
------------------

Images or other information
---------------------------

Which escape codes do you see? What have you tried to do to fix the issue already without success?


Hydration using a HOA or plugin / remove from core! 🥤

From the docs:

Hyperapp works transparently with SSR and pre-rendered HTML, enabling SEO optimization and improving your sites time-to-interactive.
The process consists of serving a fully pre-rendered page together with your application. Then instead of throwing away the server-rendered markdown, we'll turn your DOM nodes into an interactive application.

Sounds great! But does it have to be built-in? Currently there is no way to opt-out or customize this process.
I'll also admit that I am not even close to an expert on this subject. By making this solution external (by allowing you to solve this problem externally, that is), we'd get the chance to figure out exactly what we want and what works best for Hyperapp.

Is anyone already enjoying the benefits of our current "self-hydration" solution? Have you had the need to customize this process or found that it didn't meet your needs so you avoided it instead? Do you have a position on this issue?

@JorgeBucaran I'm not using hydration myself, but is there anything preventing supporting this as an HOA? Do you have some sample code of what that might look like?

Maybe @andyrj could share his opinion with us?

So I'm guessing we would save some bytes, but playing Devil's advocate for a moment - Hyperapp is already doing really well on startup time. Do we actually think this is hurting performance, or just not needed for a majority of use cases and should be out of core?

@okwolf I don't think this is hurting performance, but...

I'll also admit that I am not even close to an expert on this subject...
...no way to opt-out or customize this process.

I am not sure if the current solution is "good enough". I haven't collected much feedback of it and while we are (my company) actually using it at work to pre-render a few parts of the app (e.g., the global header), this could be done externally.
There is also no way to customize this process. I don't even know if this is something you'd want to customize or how often you'd want to. One of the engineers at my company had to come up with a custom hydration solution when we were using ~0.9 because of an issue with what the server was giving them, and now that is built-in that is no longer possible. Not a deal breaker, but still, what good use cases are there for customizing the hydration process?

Never mattered to me when I pushed for this feature whether it was baked in or external.  That said what I last saw of hydration, other than working around things like the whitespace cleanup you had with the trim in the external hydrate, not really sure why anyone would want a different hydrate.
Sorry I haven't been super active in here recently.

Thanks for your feedback @andyrj.

...not really sure why anyone would want a different hydrate.

Me neither, but I'd like to know.

I'm actually using the feature in a login screen where we render serverside a part and hydrate it afterwards with hyperapp. It'd be cool to have it in the core and since it's not slowing anyone who doesn't use it and it's not adding too much bytes, I'd say, leave it where it is ;)

I'm not using it yet, but when I do, it will be nice to have it seamless and work out of the box.

I'm not using it at the moment but wouldn't mind seeing it abstracted to @hyperapp/ssr when it could be worked on in its own domain without restraint and imported where/when required. Disclaimer, I'm no expert either.

After doing some digging and research I think we should to keep in core, it's a nice thing to have out of the box. Sorry everyone, false alarm.

@JorgeBucaran was your concern that if hydrate remains in core for 1.0.0 then we can't take it out because that would be a breaking change?

@okwolf Yeah, it definitely was. I think we are good though, re-hydration works.


FE keeps complaining  wait catalog to be ready after restarted

Using doris version 0.12.0
I set up a cluster with 1 FE and 2 BEs and load a test table with single partition.
After I restarted FE, the FE was just hanged and kept producing logs:
2020-08-11 15:21:00,324 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:02,324 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:04,325 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:06,325 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:08,326 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:10,326 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:12,327 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:14,327 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:16,328 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2020-08-11 15:21:18,328 INFO 1 [Catalog.waitForReady():751] wait catalog to be ready. FE type: UNKNOWN. is ready: false

You can add
metadata_failure_recovery=true in fe.conf and restart FE again.
After all goes well, remove this config from fe.conf

i'm facing the same issue after first deployment went successfully. How can i modify fe.conf if i used doris fe image from dockerhub?
thanks in advance.

@morningman
In version 2.1.3. It's still represent.
I deploied doris 1FE 1BE in k8s,by doris-operator. In the first time, everything was ok. But if i restarted the fe pod," wait catalog to be ready" started. I just deleted the pod and had k8s automatically scheduled withuot any changes.
My fe config like this
  enable_deploy_manager = k8s
  enable_fqdn_mode = true
  enable_batch_delete_by_default=true
  streaming_label_keep_max_second=21600
  priority_networks=<IP_ADDRESS>/26;<IP_ADDRESS>/26;<IP_ADDRESS>/26;<IP_ADDRESS>/26;<IP_ADDRESS>/26
  metadata_failure_recovery = true

In version 2.0.11.
1FE node and 1BE node
This is a test cluster, FE was killed by the system due to insufficient memory.

A startup exception occurs after restarting FE.

After adding metadata_failure_recovery = true configuration, you can restart normally. It should be that the abnormal exit caused the metadata file to be damaged.


Is possible to use detected cheats as safe with vac bypass loader?

Hi im beginner at this topics and i have question :) Can i use detected cheats as safe with vac bypass? I'm not talking about overwatch of counter strike or something like that.


Enhancement: need a way to update csrf token if secret changed

Summary
currently CSRF is check with hmac, and if csrf secret changed, users with previous csrf token will always failed.
Need a way to reset csrf token.
example flow:

App(csrf_config=CSRFConfig(secret='secret 1'))
user A get csrf token.
developer change config to App(csrf_config=CSRFConfig(secret='secret 2'))

-> then user A will never pass csrf check again, unless we change cookie_name of CSRFConfig
Basic Example
No response
Drawbacks and Impact
No response
Unresolved questions
No response

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

This is working as intended. If you change the secret, this indicates that the previous secret is no longer valid, and as such, tokens generated with it should also no longer be valid.
Since the CSRF cookie is not set with an expiry time, it will be set as a session cookie implicitly by the browser, meaning it will expire once the session does (i.e. your client closes the browser window).
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#expiresdate
It is standard practice to require refreshing the session / re-authenticate if secrets like this expire.

thanks, didn't notice it's a session cookies.


[chore] clean up all element leaks between tests.

When a test fails, if all the resources are not properly disposed, they can impact other tests.
In this case, they are mostly HTMLElement that are not been removed from the document.
Now we have an automatic way to dispose any element resource and modal.
Changes proposed:
None
Upgrade Path (for changed or removed APIs):
None
Acceptance Checklist:

[x] The commit message follows the guidelines in CONTRIBUTING.md.
[x] Documentation (README.md) and examples have been updated as needed.
[x] If this is a code change, a spec testing the functionality has been added.
[x] If the commit message has [changed] or [removed], there is an upgrade path above.

Coverage decreased (-0.8%) to 82.078% when pulling 63d9c61978dcfb5843e1f4155f522daa27cdb366 on diasbruno:chore/fix-element-leaks-between-tests into 952368313e7e22d54aae351c913ec5e5b9f87db7 on reactjs:master.


Add implicit-coercion-to-explicit transform

Fixes #105.
cc/ @fandy

Overall looks good and ready. This PR reminded me to add transforms to Esify and the code-mod README.


Rename records

Ability to rename records from the Edit record modal.

API method here
https://github.com/obsidianmd/obsidian-api/blob/791214a68d0dc322b88e5abce617bdf603cc2a2d/obsidian.d.ts#L875C1-L881


fix/support-parsing-ts-as-in-destructured-assignment

Description:
Update reparse_expr_as_pat_inner to handle TsAs expressions for AssignmentElement patterns.
This enables support for the following pattern:
let a;
[a as number] = [1];

Related issue (if exists):
https://github.com/swc-project/swc/issues/5947

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

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

Can you sign the CLA?


[Issue 2407] Extension - Wallet Connect not show connection popup

🚀 Deployed on https://pr-2809--sw-web-runner.netlify.app


Fixing squid: S1604 Anonymous inner classes containing only one method should become lambdas part 2

This pull request is focused on resolving occurrences of Sonar rule
squid:S1604 - “Anonymous inner classes containing only one method should become lambdas”.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1604
Please let me know if you have any questions.
Soso Tughushi

Closing this pull request because we are not currently supporting lambda expression on android.


Watch for images folder doesn't work

This issue is related to the pathes, look at this commit:
https://github.com/Paqmind/react-ultimate/commit/df8f558fed865a5ef61ed1e7c79629d12ed25d90
After I change path
Gulp.watch("./frontend/images/**/*", ["dist-images"]);
to
Gulp.watch("frontend/images/**/*", ["dist-images"]);
it started working fine, for all cases.
I also added clear task for images, otherwise public/images will contain a lot of unuseful files after some time.

Checked. I also have this problem on my machine.

Please don't update comments if you want me to see it. Updates don't cause notifications.


[WIP][SPARK-XXXX]Turns pre-built package into a link to pre-built packages

Thanks for sending a pull request!  Here are some tips for you:

If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
Be sure to keep the PR description updated to reflect all changes.
Please write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.

What changes were proposed in this pull request?
Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue.
If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.

If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
If you fix some SQL features, you can provide some references of other DBMSes.
If there is design documentation, please add the link.
If there is a discussion in the mailing list, please add the link.

Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, you can clarify why it is a bug.
-->

Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
If no, write 'No'.
-->
How was this patch tested?
If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
If tests were not added, please describe why they were not added and/or why it was difficult to add.
-->

Can one of the admins verify this patch?

Can one of the admins verify this patch?

This is OK, but please clean up the PR description and title per https://spark.apache.org/contributing.html
Any other text that could be usefully turned into a link?

https://archive.apache.org/dist/spark/spark-2.2.0/

Where is that? update the PR and description accordingly, please.

Thank you, great work on this repo, btw!

Oh I didn't merge this - closed it for lack of followup. See above

Yes, I understand the situation.  I meant it's ok that it's a PR.  It's probably easier that the link be in a PR than adding it to the readme itself on master.  I don't really have a Jira anyway.


Bluemix Node Red Natural Language Classifier

I want to change my index.html page to display my Node Red flow. How do I add these two flows?
1.) Website Flow:
HTTPRequest->Template->HTTPResponse sequence
2.) NLC Flow:
[{"id":"b82d2276.47d2e","type":"inject","name":"","topic":"","payload":"","payloadType":"none","repeat":"","crontab":"","once":false,"x":409,"y":468,"z":"7ada38b4.8525c8","wires":[["e211d200.1dee3"]]},{"id":"a565f810.5a9a08","type":"inject","name":"Ask","topic":"","payload":"Is it hot ?","payloadType":"string","repeat":"","crontab":"","once":false,"x":409,"y":526,"z":"7ada38b4.8525c8","wires":[["f6ceadee.09315"]]},{"id":"e211d200.1dee3","type":"function","name":"get NLC status","func":"msg.url="https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/D385B2-nlc-530\";\nreturn msg;","outputs":1,"noerr":0,"x":598,"y":467,"z":"7ada38b4.8525c8","wires":[["9eb5ad14.614a5"]]},{"id":"f6ceadee.09315","type":"function","name":"Ask NLC question","func":"msg.url="https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/D385B2-nlc-530/classify?text=\" + encodeURI(msg.payload);\nreturn msg;","outputs":1,"noerr":0,"x":585,"y":525,"z":"7ada38b4.8525c8","wires":[["9eb5ad14.614a5"]]},{"id":"9eb5ad14.614a5","type":"http request","name":"","method":"GET","ret":"txt","url":"","x":811,"y":489,"z":"7ada38b4.8525c8","wires":[["f3ac9f51.0c536"]]},{"id":"f3ac9f51.0c536","type":"debug","name":"","active":true,"console":"false","complete":"false","x":1020,"y":491,"z":"7ada38b4.8525c8","wires":[]}]
Reference: https://github.com/watson-developer-cloud/node-red-labs/tree/master/basic_examples/natural_language_classifier

Question was asked and answered on stackoverflow
http://stackoverflow.com/questions/34185906/bluemix-node-red-natural-language-classifier-website


Add ADAM recipe to bioconda

See https://github.com/bioconda/bioconda-recipes/pull/5305
For version 0.22.0, issue #1616 is handled with patches.  For the version 0.23.0, these patches should no longer be necessary.

Fixed upstream.


jfrog rt u --ant --exclusions does not include directories, even with --include-dirs flag

Describe the bug
When running a jfrog rt u command with the --ant --exclusions and --include-dirs flags, directories are not excluded even if they meet the exclusion ANT pattern.
To Reproduce
I created the days directory with the following structure:
days
  └── monday
	├──monday.txt
	└── tuesday
	    ├──tuesday.txt
	    └── wednesday
 		  └──wednesday.txt

I tested the jfrog rt u command to collect all files located under the days/monday directory, excluding the **/tuesday/** ANT pattern, including directories, and upload them to the test-local repository in the days.zip file. This command uploaded the days/monday directory, excluding the tuesday.txt file in the tuesday directory based on the exclude pattern. However, the tuesday directory was included and its contents even though directories were included.
sophiet-mac:jfrog-cli sophiet$ ./jfrog rt u "**/days/monday/" test-local/days.zip --flat=false --ant --archive=zip --exclusions="**/tuesday/**" --include-dirs=true
 Log path: /Users/sophiet/.jfrog/logs/jfrog-cli.2021-05-07.08-49-24.67385.log
{
  "status": "success",
  "totals": {
    "success": 1,
    "failure": 0
  }
}

Expected behavior
According to ant.apache.org,
**/test/**	Matches all files that have a test element in their path, including test as a filename.
Therefore, the tuesday directory matches the ANT pattern and should be excluded.
Screenshots

Versions

JFrog CLI version: 1.47.2
JFrog CLI operating system: Mac OS
Artifactory Version: 6.20.0

@sophietait
JFrog CLI 1.47.3 is now released and includes this fix.
We'd appreciate your feedback for it.


translate Chinese messages in states.petkit_device_state.attributes.desc

Hello everyone, I recently began to use Home Assistant, so please forgive my inexperience.
I successfully installed this custom component (btw, great work!) but I'm struggling to find a way to translate the messages from the devices I have (3 fresh element mini feeders and a pura max litter box).
On the feeders this message is "Next feeding time" followed by hh:mm time, and on the pura max it reports "last utilization", again followed by time in hh:mm format. From midnight until the first daily visit from a cat the reported message is like "Cat litter level ok"
Does anybody have a suggestion?
pura max. after midnight, BEFORE the first utilization

pura max, after the first cat's visit of the day

on the fresh element mini

The descriptions are from the petkit cloud server and this component cannot translate them.

ok, thank you for the explanation.
Could it be possible to make a simple translating-ish script?
Example:
if text from Desc attribute is "chinese_words_for_next_feeding_time hh:mm" than set the value to "Next Feeding: hh:mm"
Of course this would be useless if the problem with petkit's server persists.

I'd rather call this sort of a bug/feature request... It's possible to add X-Locale: en_US to the requests and responses come in English - at least error messages do. This could be a config option, if there's interest in keeping the Chinese messages for those who want it, but I'd default to English since that's the standard language in which HA is documented and such.
I discovered this by fiddling with https://reqbin.com/vljzzpwl (trying to find wether lack of P3 details is an API issue or missing implementation) and some reversed-engineering docs from https://github.com/morganpartee/pyPetKit (which do not have any docs on P3, but I would suggest the developer to join forces with @morganpartee since he seems to be interested in integrating some stuff in HA as well :)


Assembly reminders

It was suggested to also post event reminders some X hours before the event. An easy implementation would probably be to do so once on the day of the event.
Or potentially boost the existing post.

should be added with 889dabc7ebcf9b3cf96ea3b3f833a5f4f1287cd2


Remove roughtime/

As roughtime application is no longer maintained, does not run
as a service and is not planned to be used, it has been moved to
https://gitlab.inf.ethz.ch/OU-PERRIG/theses/msc_milan_pandurov and
is being removed from SCION-Apps which contains only maintained
codebase.

This change is

We should also remove roughtime from the Makefile.


np_array.convolve returning Null

Hi,
I am using this function to smooth some measurement data, sadly it returns null for some reason.
Here is the example code that produced the same result:
int filter_length = 5;
List<double> data = new List<double>() {1, 34, 3, 4, 22, 4, 24, 42, 24, 22, 4 };  // Just some random numbers for testing
var array = data.ToArray();
NDArray np_array = new NDArray(array);
var filter = np.ones(filterLength);
NDArray filtered_array = np_array.convolve(filter, "same");   // Here null is returned

There is probably a better way to construct the NDArray, but I think the code should still work.
What am I doing wrong?
Thanks in advance!

This is because someone put "return null" a few lines down in the code:
public NDArray convolve(NDArray rhs, string mode = "full")
{
          var lhs = this;
          int nf = lhs.shape[0];
          int ng = rhs.shape[0];

          if (ndim > 1 || rhs.ndim > 1)
              throw new IncorrectShapeException();
          var retType = np._FindCommonType(lhs, rhs);
          return null;

That's enough to guarantee you get null every time. Who knows if the rest of the code ever worked.

Also facing this problem.
Have any idea if this function was in working condition before?

This function works when it is rewritten, leading me to believe it did work before. Here is the function as I rewrote it -- verified against the python version. Sorry for my comments.
public static class NumpyExtensions
{

    // NOTE: lhs must always be bigger than rhs --
    public static NDArray LinearConvolution(this NDArray lhs, NDArray rhs, ConvolveModes mode = ConvolveModes.Full)
    {
        if (lhs.ndim > 1 || rhs.ndim > 1)
            throw new IncorrectShapeException("Both arrays must be 1-dimensional");

        if (lhs.Shape.Size < rhs.Shape.Size)
            throw new IncorrectShapeException("Right-hand side array must be smaller than left-hand side.");

        // NOTE:
        // NDArray.GetData just runs NDArray.Storage.GetData
        // which returns NDArray.Storage.InternalArray == NDArray.Array
        // so all three methods are practically interchangeable so why they had to make things complicated is beyond me

        ArraySlice<double> lhsarr = lhs.GetData<double>();
        ArraySlice<double> rhsarr = rhs.GetData<double>();

        int nf = lhs.shape[0];
        int ng = rhs.shape[0];

        switch (mode)
        {
            case ConvolveModes.Full:
                {
                    int n = nf + ng - 1;

                    NDArray<double> ret = new NDArray<double>(Shape.Vector(n), true);
                    ArraySlice<double> outArray = ret.GetData<double>();

                    for (int idx = 0; idx < n; ++idx)
                    {
                        int jmn = (idx >= ng - 1) ? (idx - (ng - 1)) : 0;
                        int jmx = (idx < nf - 1) ? idx : nf - 1;

                        for (int jdx = jmn; jdx <= jmx; ++jdx)
                        {
                            outArray[idx] += lhsarr[jdx] * rhsarr[idx - jdx];
                        }
                    }

                    return ret;
                }

            case ConvolveModes.Valid:
                {
                    var min_v = (nf < ng) ? lhsarr : rhsarr;
                    var max_v = (nf < ng) ? rhsarr : lhsarr;

                    int n = Math.Max(nf, ng) - Math.Min(nf, ng) + 1;

                    var ret = new NDArray(typeof(double), Shape.Vector(n), true);
                    ArraySlice<double> outArray = ret.GetData<double>();

                    for (int idx = 0; idx < n; ++idx)
                    {
                        int kdx = idx;

                        for (int jdx = (min_v.Count - 1); jdx >= 0; --jdx)
                        {
                            outArray[idx] += min_v[jdx] * max_v[kdx];
                            ++kdx;
                        }
                    }

                    return ret;
                }

            case ConvolveModes.Same:
                {
                    // https://stackoverflow.com/questions/38194270/matlab-convolution-same-to-numpy-convolve
                    var npad = rhs.shape[0] - 1;

                    if (npad % 2 == 1)
                    {
                        unsafe
                        {
                            npad = (int)Math.Floor(((double)npad) / 2.0);

                            ArraySlice<double> arr = ArraySlice<double>.Allocate(npad + lhsarr.Count);
                            Span<double> span = new Span<double>(arr.VoidAddress, arr.Count);
                            lhsarr.CopyTo(span, npad);
                            var retnd = new NDArray(new UnmanagedStorage(arr, Shape.Vector(lhsarr.Count)));
                            return retnd.LinearConvolution(rhs, ConvolveModes.Valid);
                        }
                    }
                    else
                    {
                        throw new NotImplementedException("Cannot implement because NDArray.Address is protected.");
                        // I suppose we could extend NDArray and create a getter for Address
                        //{
                        //    unsafe
                        //    {
                        //        npad = npad / 2;

                        //        NPTypeCode retType = NPTypeCode.Double;
                        //        NDArray puffer = new NDArray(retType, Shape.Vector(npad + lhsarr.Count), true);
                        //        ArraySlice<double> puffslice = puffer.Data<double>(); // not sure this is equal to storage
                        //        Span<double> span = new Span<double>(puffslice.VoidAddress, puffslice.Count);
                        //        //lhsarr.CopyTo(puffer.Storage.AsSpan <#202>(), npad);
                        //        lhsarr.CopyTo(span, npad);
                        //        NDArray np1New = puffer;

                        //        puffer = new NDArray(retType, Shape.Vector(npad + np1New.size), true);
                        //        int cpylen = np1New.size * sizeof(double);
                        //        Buffer.MemoryCopy(np1New.Address, (double)puffer.Address) + npad, cpylen, cpylen);
                        //        return puffer.convolve(rhs, "valid");
                        //    }
                        //}
                    }
                }
            default:
                return lhs.LinearConvolution(rhs);
        }
    }
}

public enum ConvolveModes
{
    Full,
    Same,
    Valid
}

Hello abbefus,
Thanks a lot. That's quite a good code example.
Just one more bit of help. Seems my files are not up to date as there are some resources not available in my SliceAndDice install:
ArraySlice.Allocate()
ArraySlice.CopyTo()
Shape.Vector()
Can you please show me where to get the proper version where these methods may be found?
Thank you very much.


[WIP] Remove redux form

What has changed and why?
Remove redux-form

this also removes validation so will need to fix this on another branch.

How to test this change
Go into the code and find any Component starting with <Field
These are all using redux-form and should be removed or replaced with component name ie:
<Field component={MyComponent} /> should be <MyComponent />

[ ] has automated tests
[ ] at least one a reviewer ran the code
[ ] tested in small screen
[ ] tested in Chrome
[ ] tested in Firefox
[ ] tested in IE
[ ] tested in Safari
[ ] i18n
[ ] tested in screen reader/contrast <-- remove this if no UX change

@Br3nda @ssibbehh I didnt factor in validations which is tied to redux-form so will create another ticket for this

@dlouise64 is this ready for review?

When you're ready, can you remove the "WIP" and then use github request review functionality

@dlouise64 okay to close this? We can keep the branch, and look again another time.


Fix flaky tests: JSON comparison

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

This PR aims to fix the following 5 flaky test:

org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsActorSerialize
org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsObjectSerialize
org.apereo.portal.events.AnalyticsIncorporationComponentEventSerializationTest.testMixinNoCopy
org.apereo.portal.events.AnalyticsIncorporationComponentEventSerializationTest.testEventFiltering
org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsStatementSerialize

I found and confirmed the flaky behavior of the tests using an open-source research tool NonDex, which shuffles implementations of nondeterminism operations.
Problem
The test case org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsActorSerialize fails due to the below assertion as the order of the fields within the object lrsActor changes  upon nondeterministic shuffling causing the order of JSON string result to change.
https://github.com/uPortal-Project/uPortal/blob/59f8895fe98782e1ff23dd14f9eb2076db09b04e/uPortal-webapp/src/test/java/org/apereo/portal/events/tincan/json/LrsDataModelSerializeTest.java#L52-L57
Solution
This PR fixes the flakiness by using an ObjectMapper class to convert the JSON strings to JsonNode and then comparing the JsonNodes using JsonNode.equals method which performs a full(deep) comparison.
The other 4 test are also fixed similarly using this method.
Steps to reproduce
The following command can be used to reproduce the assertion errors and verify the fix.
Integrate NonDex:
Add the following snippet to the top of the build.gradle in $PROJ_DIR:
plugins {
    id 'edu.illinois.nondex' version '2.1.1-1'
}

Append to build.gradle in $PROJ_DIR:
apply plugin: 'edu.illinois.nondex'

Execute Test with Gradle:
./gradlew --info uPortal-webapp:test --tests org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsActorSerialize
./gradlew --info uPortal-webapp:test --tests org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsObjectSerialize
./gradlew --info uPortal-webapp:test --tests org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsStatementSerialize
./gradlew --info uPortal-webapp:test --tests org.apereo.portal.events.AnalyticsIncorporationComponentEventSerializationTest.testEventFiltering
./gradlew --info uPortal-webapp:test --tests org.apereo.portal.events.AnalyticsIncorporationComponentEventSerializationTest.testMixinNoCopy

Run NonDex:
./gradlew --info uPortal-webapp:nondexTest --tests=org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsActorSerialize --nondexRuns=50 -x autoLintGradle
./gradlew --info uPortal-webapp:nondexTest --tests=org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsObjectSerialize --nondexRuns=50 -x autoLintGradle
./gradlew --info uPortal-webapp:nondexTest --tests=org.apereo.portal.events.tincan.json.LrsDataModelSerializeTest.testLrsStatementSerialize --nondexRuns=50 -x autoLintGradle
./gradlew --info uPortal-webapp:nondexTest --tests=org.apereo.portal.events.AnalyticsIncorporationComponentEventSerializationTest.testEventFiltering --nondexRuns=50 -x autoLintGradle
./gradlew --info uPortal-webapp:nondexTest --tests=org.apereo.portal.events.AnalyticsIncorporationComponentEventSerializationTest.testMixinNoCopy --nondexRuns=50 -x autoLintGradle

Test Environment:
Java version "1.8.0_381"
macOS Venture Version 13.4.1 (22F82)

Please let me know if you have any concerns or questions.

Welcome @KiruthikaJanakiraman! 👋
Thanks for taking the time to contribute!

When you have a chance, could you submit the Apereo ICLA? https://www.apereo.org/licensing/agreements/icla
The tests are currently failing due to formatting, could you run ./gradlew goJF and commit the updated files?
To confirm your goal, your goal is to reduce flakiness in CI/CD? (Very much appreciated) Or is there also a bug you are trying to reproduce?

Welcome @KiruthikaJanakiraman! 👋 Thanks for taking the time to contribute!

When you have a chance, could you submit the Apereo ICLA? https://www.apereo.org/licensing/agreements/icla
The tests are currently failing due to formatting, could you run ./gradlew goJF and commit the updated files?
To confirm your goal, your goal is to reduce flakiness in CI/CD? (Very much appreciated) Or is there also a bug you are trying to reproduce?

Hi Christian,

I have submitted the ICLA.
I ran the given command(./gradlew goJF) and committed the formatted files.
My goal here is to remove the flakiness from test cases which I identified using the tool NonDex. NonDex explores different behaviors of under-determined APIs and reports test failures under different explored behaviors.


jarek/8188: raise exception when columns not equal types [python]

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


Change cmx_3600 adapter to use transition duration frames (Issue #895)

The cmx_3600.py adapter appears to use a duration for Transitions that doesn't conform to the CMX 3600 spec.
According to this spec (Page 30), the duration is stored in a "RATE" field.
This guide makes it a little easier to read:
75 frame dissolve from reel 123 to reel 123B on video and A1:

Edit # Reel Name  Channel Trans      Dur      Source IN          Source OUT          Record IN         Record OUT
105 123    B     C        03:05:57:17 03:05:57:17 01:00:21:20 01:00:21:20
105 123B   B     D    075 03:15:33:09 03:15:35:24 01:00:21:20 01:00:24:05

However, the cmx_3600.py adapter appears to use the length of the previous clip:
https://github.com/PixarAnimationStudios/OpenTimelineIO/blob/84c8245c070b12d7e627c145435a5db9add0d2de/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py#L668
Test:
➜  OpenTimelineIO-JoshBurnell git:(issue-895) python3 tests/test_cmx_3600_adapter.py
..............................
----------------------------------------------------------------------
Ran 30 tests in 0.285s

OK
➜  OpenTimelineIO-JoshBurnell git:(issue-895) python3 tests/test_cmx_3600_adapter.py EDLAdapterTest.test_transition_duration
.
----------------------------------------------------------------------
Ran 1 test in 0.092s

OK

First of all, kudos for citing a document from 1988!  Is there some way to get that as a citation/reference with a comment above the block where you set the transition duration?

lol If you look closely, I bet you can see the perforated edges of the dot matrix paper that that document was printed on. :-P
Great idea. I couldn't find a good reference link directly to something that said "Duration works like so..." but I'll add something.

Do you know what the legal status of that document is?  Is that something that we or ASWF could host?  @jmertic do you know if there is a place for documents like that?

Good question! Do you know the org that owns this spec? Or who used to :-)?

TIL the CMX from cmx 3600 comes from CMX Editing Systems (a member of the Chyron group)
and the 3600 was a model of a "Highly popular online videotape editor" :)

SMPTE ST 258:2004 is the most official spec I know of for EDL
https://ieeexplore.ieee.org/document/7291839
The proper citation format is something like: "ST 258:2004 - SMPTE Standard - For Television — Transfer of Edit Decision Lists," in ST 258:2004 , vol., no., pp.1-37, 6 April 2004, doi: 10.5594/SMPTE.ST258.2004.

and there are mentions/links to two of the docs mentioned above here: https://opentimelineio.readthedocs.io/en/latest/tutorials/adapters.html

Ok great, so in that case SMPTE is the organization that hosts the document and we should link to it with the citation that @jminor notes.  Thanks everyone!

Citation makes complete sense here :-)
One other thing to think about is if within the project there is an implementation of the spec; if so you likely would want to review the copyright/IP policy of the standards owner to ensure your use is allowed in that context. You probably are fine, but just mentioning it :-)

I updated the Citation per Josh's suggestion.


feat: As a User, I can discover all the Schemas

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@bef474f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             dev       #30   +/-   ##
=======================================
  Coverage       ?   100.00%
=======================================
  Files          ?         1
  Lines          ?        12
  Branches       ?         3
=======================================
  Hits           ?        12
  Misses         ?         0
  Partials       ?         0

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


[BUG]: Do not throw UnexpectedSolutionStructureException when project-platform-configuration could not be linked to a project

Description of the bug
Do not throw UnexpectedSolutionStructureException when project-platform-configuration could not be linked to a project.
This can happen and is not a real cause for an exception in my opinion.
Steps to reproduce

Create a project-platform-configuration with a link to a project that does not exist
Parse solution
Observe Exception

Additional Information
No response

already fixed with #17


Rename and negate 'allow multiple answers'

What problem does the pull request solve?
Renames the 'allow multiple answers' field to match the way it's presented in the admin design. This requires negating it - allow_multiple_answers  and only_one_option are opposites.
Trello card: https://trello.com/c/9AKruIBG/321-add-selection-question-type-to-admin-radio-buttons-only
Checklist

[x] I've used the pull request template
[x] I've linked this PR to the relevant issue (if mission work)
[x] I've written unit tests for these changes (if code change)
[n/a] I've updated the documentation in (If any documentation requires updating)

[n/a] README.md
[n/a] Elsewhere (please link)

Yeah, those were all rubocop - I think the rubocop check that runs in CI doesn't cover the specs, but evidently the command I use locally does 😁


Fix typo in Open Opps callout

This fixes the grammar typo that appears on the homepage of https://openopps.digitalgov.gov -

To be "...making an impact across government".

Thanks @konklone!


Failing tests on macos

Objective of issue: Fix failing test results on macos for TestStochasticIntegrateAndFire.test_noisy_firing and TestStochasticIntegrateAndFire.test_noisy_state_progression.

Lava version:

[x] 0.3.0

I'm submitting a ...

[x] bug report

Current behavior:
_______________ TestStochasticIntegrateAndFire.test_noisy_firing _______________
33
34self = <tests.lava.lib.optimization.solvers.generic.test_models.TestStochasticIntegrateAndFire testMethod=test_noisy_firing>
35
36    def test_noisy_firing(self):
37        expected = np.array([[0., 0., 1., 0., 0., 1., 0., 1., 0., 0., 1., 0.,
38                              0., 1., 0., 0., 1., 0., 1., 0., 0., 1.]])
39        self.kwargs.update(dict(noise_amplitude=1, name="Process_2"))
40        np.random.seed(1)
41        self.data = set_up(self, var="messages", **self.kwargs)
42        spike_vector = self.data[self.bit.name]["messages"]
43>       self.assertTrue((spike_vector.T == expected).all())
44E       AssertionError: False is not true
45
46tests/lava/lib/optimization/solvers/generic/test_models.py:159: AssertionError
47_________ TestStochasticIntegrateAndFire.test_noisy_state_progression __________
48
49self = <tests.lava.lib.optimization.solvers.generic.test_models.TestStochasticIntegrateAndFire testMethod=test_noisy_state_progression>
50
51    def test_noisy_state_progression(self):
52        np.random.seed(1)
53        expected = np.cumsum(np.random.randint(0, 200, (self.steps,)))
54        expected += np.arange(100, (self.steps + 1) * 100, 100)
55
56        self.kwargs.update(
57            dict(noise_amplitude=1, name="Process_2", steps_to_fire=1000)
58        )
59        np.random.seed(1)
60        self.data = set_up(self, "state", **self.kwargs)
61        state = self.data[self.bit.name]["state"]
62>       self.assertTrue((state.T == expected).all())
63E       AssertionError: False is not true
64
65tests/lava/lib/optimization/solvers/generic/test_models.py:150: AssertionError
66=============================== warnings summary ==========================

Expected behavior:
They do not fail.

Hi @mgkwill, Is this issue still outstanding or already obsolete?

@GaboFGuerra Assigning this to you. Please request a MacOS. Perhaps consult with @awintel and @mgkwill to figure out what is the best way to verify this bug or just close it if we do not want to support MacOS. This probably falls under the purview of @mathisrichter now as the overall owner of the lava software.

@GaboFGuerra You should be able to reactivate CI jobs on MacOS for lava-optimization and debug it this way. Check with @mgkwill on how to do that.
In general, we support Lava on MacOS, we just don't have CI jobs for lava-loihi. And for some libraries, it is deactivated because of failing unit tests.


feat/libs: Remove assumption for lib location for custom paths.

Default to prod unless customPath specified

I guess this would be a major bump as it's breaking for current app setups, but IMO, is probably the way to go.

Coverage increased (+0.07%) to 91.93% when pulling 1047af2e5f93f3a9c9595506485986c7d7cd5916 on joshuef:RemoveLibDerivation into dadd895d7258bf54aa1294bdfc6c07156ffde000 on maidsafe:master.


Custom-made resource types cannot be used in export statement

Operating system or device - Godot version:
Windows 10 - Godot 2.1 Stable
Issue description (what happened, and what was expected):
Created a custom resource type as a plugin and attempted to export(CustomResource), which raises error(17,7): Export hint not a type or resource.
Steps to reproduce:
Create a plugin which defines a custom resource type. add_custom_type like the plugins tutorial shows (Specifically, add_custom_type("Name", "Resource", preload("plugin_source.gd"), preload("icon.png"))). The new type will appear in the "create resource" menu, but attempting to export(CustomResourceName) will raise the error.
Link to minimal example project:
Custom Resource (2.1s).zip

Offhand, I attempted to make a custom resource in order to create a custom color palette for a practice tetris game. If there's an easier way to make a centralized reference to a set of colors for the I-block, T-block, etc, please tell me.

Moving to topic:gdscript, since it is only impossible to export it, but it is totally possible to use it in other ways.

Yeah, after a while I realized I could just export(Resource), but it still seems like it could be prone to flaws.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

Is this fixed by #16995?

Sorry for the delay, myself. I can't check whether this was fixed at this exact moment, but I'll take a crack at it first thing in the morning - it seems like the old 2.1 project should be able to be copied over with minimal edits to test it, anyway.

For the sake of posterity I checked to ensure that the problem wasn't already solved in v3.0.2.stable.official - it's not. Attempting to export(CustomResource) raises an error "Expected a constant expression", and trying to export(Resource) does not put the custom resource in the drop-down menu. However, the custom resource does appear in the "create resource" menu, can be saved, and can be manually slotted in from a saved tres.
I'll be building a version of the editor from the commit of the linked PR soon and replicating my efforts there to see what happens.

Related to #17387.
I don't think this is solved by #16995, since that only touches the editor.

Yeah, I was thinking the same thing, @vnen. While #16995 gives a (fairly unintuitive) workaround to the problem (via overloading _get_property_list()), it doesn't appear to solve this exact issue as written. Still, it never hurts to check, I'll report back once I have a build ready.

@Noshyaar - Having built a version of Godot from the master branch (ID'd as v3.1.dev.custom_build.d87307d) I can confirm that this issue does not appear to have a direct solution.
With a custom resource type named Test, attempting to export(Test) yields the error I mentioned earlier: "Expected a constant expression". export(Resource) allows for you to pick New Test from the list, but given that the basis of this issue is that a user should be able to specify a specific resource type for their variable (such as export(Curve) or export(Texture)), I wouldn't call that a solution.
In the process of testing, I think I've found a pretty significant bug. When I create a baseline variable, export(Curve) var test_control = null, I am allowed to select a New Test as well as simply a New Curve. This is definitely problematic, seeing as that Test is defined to only extend Resource and decidedly cannot be used as a Curve.
The "filter with hint_string in _get_property_list()" as mentioned in #16995 is really non-obvious. I basically have no idea what that means. The documentation for _get_property_list() doesn't really tell exactly what the function is doing or how to use it, and it seems like an awfully convoluted way to solve this problem anyhow. When I tried to use _get_property_list() to override the details of a variable and give it a hint string of "Test", nothing changed except that printing every element of get_property_list() (no underscore) added an additional qux entry on the end, without modifying the one that was there.
I'm attaching my test project in full for posterity. The test_scene.tscn file contains a single node, with a script that has a few attempts to export variables in a few different ways. The custom Test resource can be created through the "create resource" dialog in the inspector, and in the master build can be added through the "new resource" dialog on an object, even when the resource in question is not a generic resource (such as the Control Test property on the scene's single node).
Custom Resource (Fix Test) (3.0.2).zip

In hindsight, since I doubt that it would be easy to make the export statement accept custom resource types normally (as in export(Custom)), maybe a better solution is to have a specific case for export: export(Custom, "ResourceTypeName"), and then have the engine search through custom plugin types which extend Resource or some other Resource type. If it's in the list, limit the drop-down results to that type, and if not, raise a warning in the editor; until there's a type which can fill the slot, make null the only option (because you can't create a new X until you have an X template).

It doesn't happen just for custom resource types, it errors for all types. The issue is still happening of course.

Currently, you cannot export variables of type Node, as it is not a primitive or resource type. Try NodePath or String.

@EmeraldSlash I think you might be commenting on the wrong issue?

@MutantOctopus What do you mean? This is the only issue on this topic I believe, and the only difference between mine and the thread's issue would have been which specific type of objects (custom & built-in) were not allowed. It's also no longer an issue for me because of what bojiday-bg said.

Sorry for the bump, I just found this issue after commenting about it here: https://github.com/godotengine/godot/issues/3597#issuecomment-425670625

It seems that this behavior is still present in 3.1.1. However, it might get fixed by #26162. I've been running some tests on this branch, and you can use custom resources directly with their classes, using class_name in the resource script.
export(CustomResource) var sample

But there is still one bug mentioned above that can be reproduced. If I write:
export(Curve) var curve

I still get CustomResource (on top of Curve) displayed in the editor's drop-down. Basically, this means that any custom type added will appear on every exported resources. Which at best can be inconvenient, at worst could easily lead to errors.
Anyway, for those who need custom resources, exporting a different type of resource is still the best workaround I've found. Not pretty (especially when writing a plugin), but at least it allows to select the custom resource from the editor (… by exploiting a glitch) without listing all resources.

@ClementRivaille Can you elaborate on "exporting a different type of resource is still the best workaround I've found"? Not sure to follow.
Thanks.

Let's say I want an exported CustomResource property in one of my script. Right now, I can legitimately only do that with:
export(Resource) var custom

And then select CustomResource in the very long list of resources.
But if I write this instead:
export(Curve) var custom

When I try to set it in the editor, I obtain:

Which is incorrect! I should only have Curve in the list! Buuut… it lets me easily select CustomResource, which is what I want.
This is 100% a hack, and not a viable long term solution! It might even stop working once this issue is fixed.
But in the meanwhile, it allows at least to use custom resources and move on. We can even write export(Curve) in the script just to create the resource in the editor, then change it to export(Resource) once it's done (the created resource will still be in the scene, everything works, and the code remains consistent). Not a great solution, but that might do for some projects, until we have a fix.

Could this make it to 4.0? This has been asked in 2016, and the amount of thumbs up speaks for itself.
This would be really nice to have, and I doubt it's a massive change to make.

@Jeto143 Yes, it's planned for 4.0.


Generate an action

Add an action to an existing project.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This is no longer relevant, see #113


add X-XSS-Protection header to horizon requests

X-XSS-Protection header forces the Cross-Site Scripting filter into Enabled mode,
even if disabled by the user.This filter is built into most recent web
browsers (IE 8+, Chrome 4+), and is usually enabled by default.The X-XSS-Protection
header is a best-practice to help prevent reflected Cross-Site Scripting attacks.

ok to test

ok to test

ok to test

ok to test

retest

retest

retest

retest

Test comment

Test comment

retest


read public from config

This is a really cool project. I did run into this bug, related to this issue: https://github.com/lastlogin-net/obligator/issues/37.
This is just a short term fix for my use case!

Thanks @nbeirne


Several components' configure scripts are outdated

The config.guess and related configure scripts within the following modules are quite old, which prevents building on younger platforms like aarch64 MacOS (added to autoconf's source tree in mid 2020), it'd be great if they could be autoreconf'ed (either within the repositories, or as part of the dependency building scripts) to allow for this!
I've attempted to enumerate the troublesome dependencies, but it's quite possible I've missed some:

https://github.com/ps2dev/binutils-gdb/blob/dvp-v2.14/config.guess#L6 (circa 2003!)
https://github.com/ps2dev/binutils-gdb/blob/iop-v2.35.2/config.guess#L5 (early 2020)
https://github.com/ps2dev/newlib/blob/ee-v4.1.0/config.guess#L5 (2019)

Due to the way the toolchain is bootstrapped, this is pretty difficult to easily patch around, so I hope you can help :)

Yes, in my experience, building on macOS for Apple Silicon Mac fails; would be great if it worked.

Scripts were updated, and compilation for MacOS Apple Silicon is now possible.
Please reopen it if you are still suffering issues


Simplify OK responses across handlers

Description
This PR adds a new method, respondOK, which avoids code duplication across the mev-boost server's handlers.
Context & references
It's similar to the respondError method, but returns a 200 Status code and an optional element instead.
Additional comments

I have run these commands

[x] make lint
[x] make test
[x] make run-mergemock-integration
[x] go mod tidy

Codecov Report

Merging #171 (cff0118) into main (efe572f) will decrease coverage by 2.23%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   72.56%   70.33%   -2.24%
==========================================
  Files           6        6
  Lines         576      590      +14
==========================================
- Hits          418      415       -3
- Misses        130      146      +16
- Partials       28       29       +1

Flag
Coverage Δ

unittests
70.33% <58.33%> (-2.24%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/service.go
76.24% <58.33%> (-0.52%)
:arrow_down:

cmd/mev-boost/main.go
5.47% <0.00%> (-1.54%)
:arrow_down:

Continue to review full report at Codecov.

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

thanks!


Pull an Image from a Private Registry

ImagePullBackOff error from K8s pod
Hi, we are facing an issue while pulling image from DockerHub private repository onto the AWS EKS pods. I have created the docker registry secret:
kubectl create secret docker-registry --dry-run=client docker-registry-secret --docker-server=https://index.docker.io/v1/ --docker-username= --docker-password= --docker-email=
In my K8s Deployment script, I have specified the imagePullSecrets as well. But when I tried to recreate the pod, it gives me the following error:
Failed to pull image "image:tag": rpc error: code = Unknown desc = Error response from daemon: pull access denied for , repository does not exist or may require 'docker login': denied: requested access to the resource is denied
I'm able to see the secret when running:
kubectl get secret docker-registry-secret --output="jsonpath={.data..dockerconfigjson}" | base64 --decode
Attached my deployment script.

This looks like a request for help.
If you're looking for help, check Server Fault.
You can also post your question on the Kubernetes Slack or the Discuss Kubernetes forum.
GitHub is not the right place for support requests.
/kind support

I'm closing this issue as this is a support request and not an issue related with kubernetes.io
To help you with you issue and this is my opinion only, you need to state the full path to the image including the private registry
e.g.
image: my-registry.io/images/my-image:tag


Bump min required SDK

Allows reliable testing

pkg/test has fixes that allow reliable testing on trusty...but also require more recent SDKS
We have very few folks not on our latest - worth it to get reliable testing

@lrhn ?


Implement a Win32/UWP desktop shell

The current implementation on Windows is a temporary solution using GLFW; the goal is to implement a more flexible, view-based solution that could be used in an existing application, similar to what currently exists on macOS.
See previous discussion in https://github.com/google/flutter-desktop-embedding/issues/6 and https://github.com/google/flutter-desktop-embedding/issues/101.

CC @clarkezone who is working on this.

For cross-referencing, #14967 is general umbrella feature request for UWP. I'll leave this open separately since this is specifically tracking an initial shell implementation rather than the overall support.

#29795

As UWP developer, I am waiting GG support UWP too much

This actually should have been closed when the last PR above landed; we're now using a Win32 shell rather than the GLFW shell.
#14967 continues to track UWP specifically.