Abide validation problem in modal

Hi,
I have a page that contains a form (let's call it form_body) and a modal with another form (let's call it form_modal). Both of them they have two fields that are required. On form_body form the validations works without problems. On the other hand form_modal's validation is triggered only when I am trying to submit the form. The keyup and all the other validations are not triggered at all. I tried different workarounds like re-initalising the foundation, doing something like that $(document).foundation('abide','events'), moving around the modal DOM etc without success. I found that also other people have similar problem. Is there a possibility to take a look into that or can you suggest a fast patch that can be acceptable? Here is the specific example that I created:
<!doctype html>

    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Foundation tests</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="bower_components/foundation/css/foundation.css">

This is a modal.

        <form data-abide="ajax">

            Your first name name required
              <input type="text" required pattern="[a-zA-Z]+">

            File is required and must be a string.

            Your last name name required
              <input type="text" required pattern="[a-zA-Z]+">

            File is required and must be a string.

          <button type="submit">Submit</button>
        </form>

        ×

Abide validation example

Abide validation modal

        <form data-abide="ajax">

            Your name required
              <input type="text" required pattern="[a-zA-Z]+">

            Name is required and must be a string.

            Email required
              <input type="email" required>

            An email address is required.

          <button type="submit">Submit</button>
        </form>

        Form in a modal

and the bower.json file
{
  "name": "handlebars test",
  "version": "0.0.0",
  "authors": [
    "Stavros Zavrakas<EMAIL_ADDRESS>  ],
  "license": "MIT",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "foundation": "~5.5.2",
    "jquery": "~2.1.4"
  }
}

Here you can find a working version of the code above in jsbin:
https://jsbin.com/dijetetuhu/edit?html,js,output

Have you tried reflow?  $(document).foundation('abide', 'reflow');

I tried it and it is fixing that specific problem. The thing is that I have attached some other custom events on the form and after the $(document).foundation('abide', 'reflow'); it removes the custom binding and I have to rebind again.
For example I have this custom binding and after the reflow I have to rebind it again:
$uploadForm.on('valid.fndtn.abide', function (e) {
e.preventDefault();
......
});

Hey Stavros,
I'm experiencing the same problem at the moment. Can't seem to find any error related to it either... Did you find a solution for this?
Cheers!
Mark

Any ideas on how to solve this for your use case?

Hey guys, I think i traced the root cause of this issue too (https://github.com/zurb/foundation/pull/6407). I had been experiencing this problem for a while since the 5.2 release and I went through all the updates to Abide JS since 5.1.2.
I found that the following change in: (https://github.com/zurb/foundation/commit/ba8c41fa877715ae3de4e8ba4d36ce4a408b4dae#diff-0fecfcb7f50be59e4f71ef75a2d8be41)
breaks the form input errors in the modal.
I believe this is because the fields are marked as hidden because the modal is hidden, and since the new change does not validate hidden input fields, the errors don't pop up.
I have also modified the Fiddle stavros-zavrakas posted above, to use the live-validate option with a fast refresh rate.
https://jsbin.com/weyizaniza/edit?html,js,output
If you click on a input field and then click out of it, or onto another in the first form, you will see that the error instantly pops ups. While in the modal form, the input fields do not show any errors because they are not being validated.


Add version pinning for dbt packages.

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1301
Originally created by @iroussos on 2019-11-14 12:15:34

Since dbt v0.14.0 was released, we get the following warning when using the Meltano dbt packages:
WARNING: The git package "https://gitlab.com/meltano/dbt-tap-XXXX.git" is not pinned. This can introduce breaking changes into your project without warning!

We are setting a version on our packages, but we are not pinning the version on the packages.yml when we add the package.
https://docs.getdbt.com/docs/package-management
Options:
(1) This warning can be silenced by setting warn-unpinned: false in the package specification.
packages:
  - git: https://gitlab.com/meltano/dbt-tap-XXXX.git
    warn-unpinned: false

(2) Add a version on the plugin settings for Transforms and use it when adding the package on the packages.yml of a Meltano Project

View 5 previous comments from the original issue on GitLab


Remove conflict ghost container when create container in docker engine

Currently, we have both hyperd and docker engine own the container name and id registry,
I think we should relay on hyperd, since container only exist in docker engine can't be reached by hyperd.
This is a quick fix if we create container conflict with ghost container in docker engine. No matter they are left behind by:

not proper clean up when failed in create pod and container
not proper clean up when failed in restore pod and container
not proper user behavior (such as remove lib dir and leave containers)

Signed-off-by: Crazykev<EMAIL_ADDRESS>

I think this is an issue of clean up and should fix there. What's you guys' opinion, @laijs @gao-feng @bergwolf ?

It's more reasonable to fix missing cleaning up container problem, and this is not an impossible mission.
Please report the cleanup bugs when you meet them next time.
Thanks.

@gnawux @gao-feng I agree there there should be a approach to fix this. since there is already an issue related, I'll close this in favor a real solution.


create myfile.txt

I am learning git and I have created a new text file.

Good work creating your first pr!


fix type and add more descriptions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1359

Relevant Lines:
1362

💛  - Coveralls


Include netcat in the linux images

Can I suggest including netcat in both the Ubuntu and RHEL-based images?
It seems there are longer-term plans for a more sophisticated entrypoint script to be built in and maybe it will be able to wait until the server is ready and then automatically apply some user-provided SQL, but until then, users are left creating their own custom entrypoint scripts...
As part of such a script, it's really quite reasonable to want to wait for SQL Server to be ready. nc is a great way of facilitating that and that would be made much easier if the image included it.
For reference, here is what I am currently doing:
entrypoint.sh:
#!/usr/bin/env bash

# Start the setup script in the background
/root/scripts/setup.sh &

# Replace THIS process with the SQL Server process
exec /opt/mssql/bin/sqlservr.sh

setup.sh:
#!/usr/bin/env bash

# I would like to be able to eliminate these next two commands by
# baking this into the image-- they are really slowing down startup
apt-get update &> /dev/null
apt-get install -y netcat &> /dev/null

# Wait for SQL Server to be ready
while ! nc -z localhost 1433
do
  echo "setup.sh is waiting for mssql to be listening on port 1433"
  sleep 10
done

# Execute custom SQL to complete setup
/opt/mssql-tools/bin/sqlcmd \
  -S localhost -U SA -P '${SA_PASSWORD}' \
  -d master -i /root/scripts/setup.sql

Longer term, I think this very strategy could prove useful in a more sophisticated, built-in entrypoint script, so adding netcat now will set us up for that while also making it easier to get by in the meantime.

Can you please tell us more about your use case for waiting for SQL Server to come up?
here is on approach for handling waiting for Sql server to come up.
https://github.com/twright-msft/mssql-aspnet-docker-demo-app/blob/master/webapp/entrypoint.sh
It does the command in a do until loop waiting for it to successfully execute.
Would something like this work for your scenario?  Any pros/cons to that approach?

Can you please tell us more about your use case for waiting for SQL Server to come up?

Sure. After it's up, I want to run some some SQL to create a non SA user and a database, and make that user the owner of that database. fwiw, I imagine this to be a common case, so it would be nice if such options could just be specified through environment variables. In the absence of this, checking that mssql is listening on 1433 has seemed a reliable approach.
I'm not opposed to changing my approach to loop/block until some command succeeds. I cannot figure out, realistically, what that command would be. I was hoping that, perhaps, I could do something with sqlcmd that would just test the connection and nothing more, but I haven't been able to make that work. fwiw, I do not want the command I use in the loop to be the command that runs my SQL, because I want that command to be able to fail without causing an infinite loop.

Continuing our conversation here.  I tested using sqlcmd to probe for availability.  Here's what I tried.
Container running, executing command from my host.
$ sqlcmd -S <IP_ADDRESS> -U sa -P  -Q "SELECT 1"
$ echo $?
results in 0  (zero) exit code indicating successful completion.
Stopped container
Did the same thing
results in 1 exit code indicating failure
I think if you do a loop on this testing for 0 then you could effectively use sqlcmd to test not only for port responses but SQL Server actually being fully up and ready to do something.
Please give that a try and see what you think....

Hi @twright-msft. Independently, I arrived at something pretty similar:
while ! /opt/mssql-tools/bin/sqlcmd \
  -S localhost -U SA -P "$SA_PASSWORD" \
  -d master -i /dev/null -l 5 &> /dev/null
do
  echo "setup.sh is waiting for mssql to be listening on port 1433"
  sleep 5
done

Yeah, that should work.  can we close out this specific issue then?

We sure can. Thanks for the help!


browser and local server must be running on the same device?

test failed

1 device(ios brower -> shadowrocket) -> other device(local server)

test success

1 device(macOS safari -> shadowsocks -> local server)

1 device(macOS safari -> shadowsocks) -> other device(local server)

No, It needn't. In theory, just make sure the local_address is correct if local server is running on another device.
Actually, I haven't tested it on mobile phone yet. Could you provide more information?

I finally confirmed: a bug of software on iphone cause proxy failure.
thanks for your help


Warn if TEMPLATES and TEMPLATE_DIRS are set.

Django ignores the value of TEMPLATE_DIRS if TEMPLATES is also set,
which is confusing for users following older tutorials. Raise a warning
in this circumstance to explain what is going wrong.
Removes the TEMPLATE_DIRS from the test settings file; this was marked
for removal in 1.10 but no tests fail if it is removed now.
Refs https://code.djangoproject.com/ticket/25079

Yes, that makes sense.

How about making this a compatibility system check? That would allow it to be easily silenced and run on startup?

As suggested, I've rewritten this as a system check and extended it to the other TEMPLATE_* settings as well.

Moved to the compatibility check as requested.

buildbot, add to whitelist.

merged in 24620d71f2116da31abe6c9391f7bc807ac23c0b, thanks!


How to detect current speaker in video conference call?

Hello there,
I want to get identify current speaker in conference call, is there any way i can get current speaker in group call?
I have read about Detecting the Dominant Speaker and i'm using below code
try {
            val connectOptionsBuilder = ConnectOptions.Builder(ACCESS_TOKEN_SERVER)
                .enableDominantSpeaker(true)
                .roomName(roomName)
            room = Video.connect(context, connectOptionsBuilder.build(), roomListener)

            roomListener
        } catch (e: Exception) {
            handleTokenException(e)
        }

but i don't get any update inside onDominantSpeakerChanged() method

Hi @gokuCoder ! It appears you have all the correct code setup to enable the Dominant Speaker feature, so I'm not sure why you are not receiving updates to onDominantSpeakerChanged(). We currently have this feature working in this video app. Please reference the onDominantSpeakerChanged implementation inside the RoomManager class to see how we've implemented it there. Essentially it sends an event that propagates down to the UI level to move the dominant speaker participant video thumbnail to the front of the list. Hope That helps! Feel free to reach out for additional help if needed.

I'll go ahead and close this issue @gokuCoder . Feel free to open another if you need additional assistance. Thanks!


Update aggregate-arg-min.md

运行结果错误，修订

Thank you for pointing out the mistake. Could you help fix the English document? The Chinese document is automatically synced and translated once the English version is corrected.

@Agnes-ZHENG As soyeric128 said,  don't change the' cn 'directory directly.


Sensor pose in world coordinate question

Habitat-Sim version
v0.3.1
Docs and Tutorials
Did you read the docs? https://aihabitat.org/docs/habitat-sim/
yes
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
yes
❓ Questions and Help
Hi! I am currently saving depth data, RGB data, and pose data collected in Habitat to disk to generate a colored point cloud. However, the resulting point cloud appears to be incorrect. I suspect that the issue might be related to the pose data. Below is the code I am using to collect the sensor's pose:
        # Record agent state
        sensor_state = agent.get_state().sensor_states["color_sensor"]
        position = sensor_state.position
        rotation = sensor_state.rotation

        import quaternion
        rotation = quaternion.as_rotation_matrix(rotation)

        T_world_camera = np.eye(4)
        T_world_camera[0:3,0:3] = rotation
        T_world_camera[0:3,3] = position

        T_flat = T_world_camera.flatten()

        agent_states.append(
            f"{action_timestamp:015.7f} " + " ".join(map(str, T_flat))
        )

According to this tutorial, the pose data collected here represents the transformation from the camera frame to the world frame. Therefore, it seems that transforming the point cloud from the camera coordinate system to the world coordinate system should simply involve left-multiplying the camera-frame point cloud by this pose. The logic appears straightforward, but the results are not ideal.
I am including the results from two sequences below:

The first sequence involves moving merely forward and backward in the environment.
The second sequence involves rotating around the y-axis from a non-origin position.

The combined point cloud appears to have incorrect poses in the second condtion, indicating a potential issue on the rotation. Could you please confirm whether the sensor pose obtained this way truly represents the camera-to-world transformation, especially the rotation one?
For reference, I have also included my code for point cloud forming, along with the data from these two sequences. Thank you for your assistance!
create_pcd_T.zip
seq_link

Issued solved. I figured out that the images captured in habitat is also in opengl format, wihch means we need to transfrom the pointcloud per frame to meet "Y up, -Z forward", as the calculation of the pointcloud from the depth is always in coordinatre of "Y down, Z forward". I don't know whether my understanding is correct or not :rofl: @aclegg3
# Generate point cloud for the current frame using only valid depth values
u, v = np.meshgrid(np.arange(depth_image.shape[1]), np.arange(depth_image.shape[0]))
z = depth_image.flatten()
valid = z > 0
u = u.flatten()[valid]
v = v.flatten()[valid]
z = z[valid]

x = (u - cx) * z / fx
y = (v - cy) * z / fy
points = np.vstack((x, y, z)).T  # Shape: (N, 3)

transform_matrix = np.array([
	[1,  0,  0],
	[0, -1,  0],
	[0,  0, -1]
])

points = points @ transform_matrix.T

I will close this issue first.


The file icons are all the same

I don't remember which version it was, but somehow all the file icons have become the same.
How can I draw an icon for each type of file?
I would like to automatically identify each file by its extension instead of setting them one by one.

Changed to nvim-tree issue.


Regression in v0.162.0: helmfile deps uses the wrong path for kustomizations

Operating system
Arch Linux
Helmfile Version
v0.162.0
Helm Version
v3.14.2
Bug description
After updating from v0.161.0 I've been unable to run helmfile deps successfully. It always errors when running the helm upgrade commands for kustomizations.
From the output you can see that it tries to run the upgrade command on the original kustomization path instead of the generated temporary chart like it used to.
Example helmfile.yaml
repositories:
  # Only required because helmfile deps doesn't execute without them
  - name: ingress-nginx
    url: https://kubernetes.github.io/ingress-nginx

releases:
  - name: test
    chart: ./test

Error message you've seen (if any)
in ./helmfile.yaml: command "/usr/bin/helm" exited with non-zero status:

PATH:
  /usr/bin/helm

ARGS:
  0: helm (4 bytes)
  1: dependency (10 bytes)
  2: update (6 bytes)
  3: ./test (6 bytes)

ERROR:
  exit status 1

EXIT STATUS
  1

STDERR:
  Error: Chart.yaml file is missing

COMBINED OUTPUT:
  Error: Chart.yaml file is missing

Steps to reproduce
https://github.com/jeliebig/helmfile-deps-kustomization-issue
Working Helmfile Version
0.161.0
Relevant discussion
No response

https://github.com/helmfile/helmfile/releases/tag/v0.163.1


Which Lisp dialect exactly?

Hello, nice Lisp you've got here. :) In your docs, you say it does not follow make-a-lisp exactly, so which kind of dialect of Lisp is this, to be more precise?

Hi. The syntax is very close to make-a-lisp with few changes. The documentation should cover the syntax quite well. Hope you give it a try.


Function to get the image from vcenter added

Jira ID
C3-64
Problem
No functionality to get the templates in vsphere cloud
Solution
Added support for returning the templates as the image list
Testing
Unit testing done - Returns the templates and datacenter in the vcenter server

looks clean to me, though as I commented on the othe PR, wondering if we should be using the vm struct like this


Add replicator to topology widget in containers

Add the replicator entity to topology widget view,
topology legend and more tests.

Before:

After

@miq-bot add_label providers/containers
@miq-bot add_label enhancement
@miq-bot add_label ui

@martinpovolny @himdel @h-kataria @dclarizio please review. thank you.

@abonas : please, take a look at the Rubocop complaints. The hash align complains seem valid and the useless assignment is really there...
You can have your local Rubocop to save your (and our too) time checking these things. Just install gem rubocop and make in use the .rubocop.yml in the root of this repo.
Other than that, We seem to be good to merge.
Thx!

@abonas : please, take a look at the Rubocop complaints. The hash align complains seem valid and the useless assignment is really there...
You can have your local Rubocop to save your (and our too) time checking these things. Just install gem rubocop and make in use the .rubocop.yml in the root of this repo.
Other than that, We seem to be good to merge.
Thx!

@martinpovolny  I did have a look at Rubocop complaints and fixed several, the build is really taking too long (you can see a new build is in progress for at least 20 minutes now)

@abonas : these seem valid:
``
app/services/container_topology_service.rb
:large_orange_diamond: - Line 77, Col 6 - Style/AlignHash - Align the elements of a hash literal if they span more than one line.
:large_orange_diamond: - Line 78, Col 6 - Style/AlignHash - Align the elements of a hash literal if they span more than one line.
spec/services/container_topology_service_spec.rb
:large_orange_diamond: - Line 56, Col 75 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
:large_orange_diamond: - Line 57, Col 75 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
:large_orange_diamond: - Line 58, Col 43 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
``

@abonas : these seem valid:
``
app/services/container_topology_service.rb

Line 77, Col 6 - Style/AlignHash - Align the elements of a hash literal if they span more than one line.
Line 78, Col 6 - Style/AlignHash - Align the elements of a hash literal if they span more than one line.

spec/services/container_topology_service_spec.rb

Line 56, Col 75 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
Line 57, Col 75 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
Line 58, Col 43 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
``

I am looking at the relevant code, and I don't really see how they are all valid.

spec/services/container_topology_service_spec.rb

Line 56, Col 75 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
Line 57, Col 75 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
Line 58, Col 43 - Style/BracesAroundHashParameters - Redundant curly braces around a hash parameter.
``

can you tell me where are redundant curly braces in those hashes? I honestly can't spot it.
to me it seems like a valid hash struct passed to a method.

@abonas : sure.
The Style/AlignHash -- you need to have one space before the shortest key and then align the other keys with it.
The Style/BracesAroundHashParameters -- instead of foo({:bar => 1, :ghr => 2}) shoud be foo(:bar => 1, :ghr => 2) no need for the { and } if the hash is the only arg

@abonas : sure.
The Style/AlignHash -- you need to have one space before the shortest key and then align the other keys with it.

thanks will fix.

The Style/BracesAroundHashParameters -- instead of foo({:bar => 1, :ghr => 2}) shoud be foo(:bar => 1, :ghr => 2) no need for the { and } if the hash is the only arg

This is really reducing readability imo. And especially when passed in a test to evaluate the expected input.
I would really like not to touch it.

@abonas : This is really a style rule that we are trying to enforce, ruby devs are mostly used to this syntax.
Also we have the very same case on other places already -- see e.g. spec/models/dialog_field_sorted_item_spec.rb:17 or spec/models/shared_examples/log_collection.rb:33.
We have a lot of mess in the sources and to move on we have to enforce policies especially with new code.
I am afraid I have to be strict about enforcing this and you would have to find someone else to click the magic button for you if you insist :disappointed:

@abonas : This is really a style rule that we are trying to enforce, ruby devs are mostly used to this syntax.
Also we have the very same case on other places already -- see e.g. spec/models/dialog_field_sorted_item_spec.rb:17 or spec/models/shared_examples/log_collection.rb:33.
We have a lot of mess in the sources and to move on we have to enforce policies especially with new code.
I am afraid I have to be strict about enforcing this and you would have to find someone else to click the magic button for you if you insist

I won't let the curlys to stand between you and the magic button. so I removed them.

@abonas : great ;-)
restarting travis...

@martinpovolny there's some issue in Travis unrelated to this patch:
F/home/travis/build/ManageIQ/manageiq/certs/v2_key doesn't exist!
On an appliance, it should be generated on boot by evmserverd.

@martinpovolny I restarted the build and now all is good, ready for merge.


Eliminate the DEFAULT_SERVERS constant.

Even worse, the ONLINE_SERVERS variable was calculated at import time
making it very difficult to change by a caller.  I got rid of that
too.
Instead, it has been replaced by adding a default_config item to the
simple_config, which should allow callers more control.

This seems to fail a unit test
/test_simple_config.py::Test_SimpleConfig::test_user_config_is_not_written_with_read_only_config FAILED

I failed to refactor changes in that test, pushed a fix.

merging now that tests pass


change osio api launch param names (@FormParam)

missionId -> mission
runtimeId -> runtime
in OsioProjectileContext

pipelineId -> pipeline in OsioImportProjectileContext

This change will impact the frontend. We need to coordinate with the guys working on the UI before doing this change
/cc @edewit @dlabrecq @jyasveer

Thanks, I was looking for this.
Closed via https://github.com/fabric8-launcher/launcher-backend/commit/bc2c400d97628922ab2d29999985ecbad35a1ceb


Caboose devices, buffer & interior fixes

Career Manager
Remote Charger & (non-functional) remote extender
Fix interior prefabs bugging out physics
Fix using caboose as base car causing exception in brake glow setup

Oh I just noticed the comment was only posted after this was merged.


Fix Script manager and add draw_rect_2d and draw_rect_3d

Adds Renderer::draw_rect_2d and Renderer::draw_rect_3d.
Fixes colors to use RGBA order like the new flatbuffer schema spec.
Fixes Scripts not using agent id to find themselves in the MatchSettings.

Waiting for deployment of https://github.com/VirxEC/rlbot_flatbuffers_py/pull/1

Please also update pyproject.toml to require rlbot_flatbuffers v0.11.0

Ready for deployment


Dropdown - dynamic load url

Are you requesting a feature, reporting a bug or ask a question?
question
What is the current behavior?
I statically put the URL of the restful service in the url property of the question.
What is the expected behavior?
Dynamically change the URL based on environment per code. Is it possible to change the question URL before rendering? I am using the angular wrapper.
Specify your

browser: all
browser version:
surveyjs platform (angular or react or jquery or knockout or vue): angular
surveyjs version: 1.0.22

You can change the url on the fly. Here is live sample - https://plnkr.co/edit/6zMefbPBq0Ywniy7mEDK?p=preview

This does not work properly. It first tries to get the data from the first URL, then it makes a second request to the updated URL. In my scenario, I get an error on the first call.
Is there a way to intercept the first call?

No, unfortunately there is now way to interrupt the first call. It is assumed that you are setting the correct URL in the options.
Can you set the correct URL in the survey JSON? Or do not to set choicesByUrl options in the beginning, but set them when you get the correct URL?

This will also be working, thanks.
I am trying the approach to parse the survey JSON and replace the url on serverside, because I must identify the question (no identifiying name).
Thanks for your help.


Make FSTTimestamp into a public class:

rename to FIRTimestamp and move into Public/;
split out internal part of FIRTimestamp;
hide the fact that implementation uses nanoseconds - only show
microseconds in interface and truncate sub-microsecond precision if
FIRTimestamp is created from NSDate.

Once we go to source pods in Firebase 5.0, we'll have the infrastructure to make this an optional FirebaseCore subspec.


Update NotNormalizableValueException with the attribute information

Update also NotNormalizableValueException with the attribute info. It's used when the ReflectionExtractor is enabled and there's a type mismatch. In that case the attribute that is raising the type mismatch is added to the exception so the error can be properly handled upstream.

Made PR directly to symfony https://github.com/symfony/symfony/pull/42733


Event "onSwipeToClose" is not working

I am using the library for the image zoom feature and am thankful to the authors that they build it. But I am not able to get work "onSwipeToClose" event but all other events are working for me. I am using it as below. Any help will be appreciated thanks! @pavelbabenko @alantoa
<CustomModal isModalVisible={openZoomViewer} backdropOpacity={1}>       <Gallery         data={image}         hideAdjacentImagesOnScaledImage={true}         disableSwipeUp={true}         renderItem={renderItem}         onSwipeToClose={closeZoomViewer}         onDoubleTap={closeZoomViewer}         onIndexChange={(newIndex) => {           console.log(newIndex);         }}         style={{ alignSelf: 'center' }}       />     </CustomModal>

Hi, I guess your code is running on the emulator.
On the emulator, I think translationY is a bug, I suggest you test it on a device. @usamaabutt
This library is already running in my project, I feel good, thanks author.
If you have any questions, I'd be happy to answer. :)

Hi @alantoa Thanks for your reply but unfortunately it is not working on a real iOS device I have just tested it now. And another issue is swipe-down gesture is not smooth as it should be. Can you please share your particular piece of code of the component in which you have used it?
Here's mine:
export const ImageZoomView: FunctionComponent = ({
openZoomViewer,
image,
closeZoomViewer,
}) => {
const ref = useRef(null);
const renderItem = ({
index,
item,
setImageDimensions,
}: RenderItemInfo<{ item: string }>) => {
return (

);
};
return (

<Gallery
ref={ref}
data={image}
renderItem={renderItem}
onSwipeToClose={closeZoomViewer}
disableSwipeUp={true}
hideAdjacentImagesOnScaledImage={true}
style={{ alignSelf: 'center' }}
/>

);
};

Hi, other than swipe-down, other gestures it's OK ?
I see you example code, In addition to <CustomModal/>, everything else is fine,  <CustomModal/> is react-native-modal ? @usamaabutt
Maybe it's your modal affects swiper down gesture, I suggest you running Example.

Yes @alantoa <CustomModal/> is react-native-modal. @alantoa I am using this library just to have an image zooming effect by pressing an image in the app. So, every time I have a single image in the array. So do you think it will fit according to my scenario?

You can't use react-native-modal, beacuse modals are not located under React Native Root view in native hierarchy, ModalView will block gesture.
This library does not support scaling, This is only a image gallery, if you use @react-navigation/stack, you can use eact-navigation-shared-element.
Now I'm implementing the image lightbox effect  use react-native-reanimated & react-native-gueture-handle, But it's still under development.

@usamaabutt  did you figure a fix for using this lib under react-native-modal for onSwipeToClose ?
I am facing same thing

I'm having the same issue and I'm not even using Modal

I was about to reply that I was having the same issue but I went ahead and downgraded all of my dependencies to the same as the example: https://github.com/Flair-Dev/react-native-awesome-gallery/blob/main/example/package.json
And it works. The culprit for me was react-native-gesture-handler, which I had as 2.2.0 but the example package is on the previous major version, 1.10.1.
Downgrading a major version may or may not be acceptable for your use cases. It would be great if this library could be updated for the new API.

Can confirm this is an issue when using react-native-gesture-handler v2. API is supposed to be backwards compatible, but vertical gestures are not being properly detected. v1 works fine

👋 Hi, everyone, It's been a few days and many people still have this problem, I will simply answer it.
@mtflud Vertical doesn't working on emulator, The main problem  that velocityY & velocityX  is always 0 under the emulator, you can set true, it will work on emulator. Souce Code
@gerryfletch @nateguy @FadiAboMsalam  This library is awesome, I also learned a lot from this library. In fact, react-native-gesture-handle v2 API is  backwards compatible, but there are some incompatible methods in this library, I already know some problem, so I plan to rewrite this lib using react-native-gesture-handler v2, and will add some features and fix some bugs, I will notify your of progress.
Thank you all! 🤝

@alantoa is there anything we can do to help you on that rewrite? we don't really understand or know what are the incompatibilities but we can allocate some hours trying to fix it as well, thanks!

@felippepuhle  Hi!
I will contact you when I need help!
Thank you!🤝

@alantoa @felippepuhle
If you have any changes which you think should be merged and released - create your pull request, please.
I don't have much time to work on my library because of the current situation in Ukraine, but I'll review all pull requests and create new releases.

Fixed in v0.3.0 by migration to RNGH v2


[Fix] avoid to use<EMAIL_ADDRESS>

fix https://github.com/import-js/eslint-plugin-import/issues/2846

I’m not going to be going this route; when i have time (I’m traveling atm) I’ll publish a resolve at v1.22.4 and then nothing will need to change here.

I’m not going to be going this route; when i have time (I’m traveling atm) I’ll publish a resolve at v1.22.4 and then nothing will need to change here.

I just realized you are both maintainer of resolve and eslint-plugin-import，it's awesome.
I will close this PR，have a nice trip!

v1.22.4 is published.


As an editor I want to select the correct subscription options for news articles

Acceptance criteria

Tick of either general news, stock market announcements or crude oil assays
Linked to the correct subscriber list
Differentiate on language

In order to ensure good quality we should (Keep the ones we need for this US)

Do we have news articles that are only published in one language? Then what happens for people that have signed up for a different language? @nicholas-haggerty @meols

Waiting for Brandmaster to be able to test this

This can be verified while testing #604.  @meols

@padms - I can choose between the three subscription tags in a news article. This is OK.


resume multiple batch pipeline

HKube micro-service
pipeline driver
Describe the bug
pausing and resuming  multiple batch pipeline does not resume the next batch
To Reproduce
run the following pipeline
{
    "name": "multiple-batch-pipeline",
    "nodes": [
        {
            "nodeName": "eval1",
            "algorithmName": "eval-alg",
            "input": [
<EMAIL_ADDRESS>            ],
            "extraData": {
                "code": [
                    "(input) => {",
                    "const range = Array.from(Array(input[0]).keys());",
                    "return range }"
                ]
            }
        },
        {
            "nodeName": "firstbatch",
            "algorithmName": "eval-alg",
            "input": [
                "#@eval1",
<EMAIL_ADDRESS>            ],
            "extraData": {
                "code": [
                    "(input,require)=> {",
                    "return new Promise((resolve,reject)=>{setTimeout(()=>resolve(4),input[1])});}"
                ]
            }
        },
        {
            "nodeName": "secondbatch",
            "algorithmName": "eval-alg",
            "input": [
                "#@eval1",
<EMAIL_ADDRESS>                "@firstbatch"
            ],
            "extraData": {
                "code": [
                    "(input,require)=> {",
                    "return new Promise((resolve,reject)=>{setTimeout(()=>resolve(4),input[1])});}"
                ]
            }
        }
    ],
    "experimentName": "main",
    "options": {
        "ttl": 3600,
        "batchTolerance": 80,
        "progressVerbosityLevel": "info"
    },
    "priority": 3
}

with
{
  "name": "multiple-batch-pipeline",
  "experimentName": "main",
  "flowInput": {"range": 100,
            "inputs":3000},

}

while pipeline execute the "firstbatch" pause it
wait for 5 minutes(for the first batch to complete) and resume
the pipeline will only complete the first batch and not continue to the new one
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

should work now :)

tested on version 1.2.40


Feature/ci testing

Adds a GitHub action to run unit tests against PRs and pushes to the main branch.
Related to Issue #27

Excellent, thanks a lot @danjones1618
Closes #27


NEON: implement all intrinsics supported by architecture A64

Hi all, this is Eric from Andes Technology Corporation. This PR includes
Implement all poly-related types using uint.
Implement all functions related to the poly type (with test cases).
Implement all functions related to the bf16 type (without test cases).
Add 1403 initial implementations and corresponding test cases in 166 families which are listed below:

__crc32, abd, abdl_high, add, addhn_high, aes, bfmlal, bsl, cadd_rot270, cadd_rot90,
ceq, ceqz, cgez, cgtz, cle, cltz, cmla, cmla_lane, cmla_rot180, cmla_rot180_lane,
cmla_rot270, cmla_rot270_lane, cmla_rot90, cmla_rot90_lane, cnt, combine, copy_lane, create, cvt, cvt_n,
cvtm, cvtp, div, dot, dot_lane, dup_lane, dup_n, eor, ext, fmlal,
fmlsl, get_high, get_lane, get_low, ld1, ld1_dup, ld1_lane, ld1_x2, ld1_x3, ld1_x4,
ld1q_x2, ld1q_x3, ld1q_x4, ld2, ld2_dup, ld2_lane, ld3, ld3_dup, ld3_lane, ld4,
ld4_dup, ld4_lane, ldr, maxnm, maxnmv, maxv, minnm, minnmv, minv, mmlaq,
mul, mull, mull_high, mull_high_lane, mull_high_n, mulx, mulx_lane, mulx_n, mvn, padd,
pmax, pmaxnm, pmin, pminnm, qmovun_high, qrdmlah, qrdmlah_lane, qrdmlsh, qrdmlsh_lane, qrdmulh_lane,
qrshl, qrshrn_high_n, qrshrun_high_n, qshl_n, qshlu_n, qshrn_high_n, qshrn_n, qshrun_high_n, qshrun_n, qtbl,
qtbx, raddhn, raddhn_high, rax, rbit, recps, reinterpret, rev16, rev32, rev64,
rnd, rnd32x, rnd32z, rnd64x, rnd64z, rnda, rndi, rndm, rndp, rndx,
rshrn_high_n, rsubhn, rsubhn_high, set_lane, sha1, sha256, sha512, shll_high_n, shr_n, shrn_high_n,
shrn_n, sli_n, sm3, sm4, sri_n, st1, st1_lane, st1_x2, st1_x3, st1_x4,
st1q_x2, st1q_x3, st1q_x4, st2, st2_lane, st3, st3_lane, st4, st4_lane, str,
subhn_high, sudot_lane, tbl, tbx, trn, trn1, trn2, tst, usdot, usdot_lane,
uzp, uzp1, uzp2, zip, zip1, zip2

Thanks for reading and any recommendations are welcome!

@yyctw Can this be closed now?


Minecraft crashing by toggling shaders off and on in chunk with powered create components

Trying to resolve this issue for a while now, everything i've noticed for this moment:
Issue don't have a specific version where it happens, i've tried downgrading and upgrading versions of the compat with iris and sodium, but that's doesn't changing anything.
Crash happens only if there are powered create components in the chunk(?)
Shaders used: BSL-original version 8.3
Crash log: https://mclo.gs/xL4mabE
Shaders settings:
BSLOriginal_v8.3.zip.txt

Yeah, there is no actual crash-report, i don't have an idea why, because my game actually crashes, it's a hs_err_pid.log
the latest one: https://mclo.gs/Q1B4cIU

I'm pretty certain this is related. My game doesn't outright crash when I do this, but it seems to cause severe visual bugs. However, I am playing on Linux.  The last lines of latest.log are:
[24nov.2024 12:46:53.531] [Render thread/INFO] [Oculus/]: Destroying pipeline NamespacedId{namespace='minecraft', name='overworld'}
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Found flag CUSTOM_IMAGES
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Found flag BLOCK_EMISSION_ATTRIBUTE
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Tried to get boolean value for unknown option: 1, defaulting to true!
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Tried to get boolean value for unknown option: 1, defaulting to true!
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Tried to get boolean value for unknown option: 1, defaulting to true!
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Tried to get boolean value for unknown option: 1, defaulting to true!
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Tried to get boolean value for unknown option: 1, defaulting to true!
[24nov.2024 12:46:53.576] [Render thread/WARN] [Oculus/]: Tried to get boolean value for unknown option: 1, defaulting to true!
[24nov.2024 12:46:53.578] [Render thread/INFO] [Oculus/]: Profile: MEDIUM (+2 options changed by user)
[24nov.2024 12:46:54.169] [Render thread/INFO] [Oculus/]: Using shaderpack: ComplementaryReimagined_r5.3 + EuphoriaPatches_1.4.3
[24nov.2024 12:46:54.169] [Render thread/INFO] [Oculus/]: Creating pipeline for dimension NamespacedId{namespace='minecraft', name='overworld'}
[24nov.2024 12:46:54.171] [Render thread/INFO] [Oculus/]: Starting custom uniform resolving
[24nov.2024 12:46:55.185] [Render thread/INFO] [ChunkBuilder/]: Stopping worker threads
[24nov.2024 12:46:55.191] [Render thread/INFO] [ChunkBuilder/]: Started 6 worker threads
[24nov.2024 12:46:55.201] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Sombreadores alternados para ComplementaryReimagined_r5.3 + EuphoriaPatches_1.4.3!
[24nov.2024 12:46:55.370] [Render thread/WARN] [irisflw/]: GLSL version is lower than 330, set to 330
[24nov.2024 12:46:55.392] [Render thread/WARN] [irisflw/]: GLSL version is lower than 330, set to 330

Are you using Complementary shaders and it still happens? If so, it's even bigger issue, for all shaderpacks i suppose, or the majority.

@wevellll yes, I was using Complementary and also tried with other shaders, all with the same result.
Fortunately, downgrading iris-flw-compat to 1.1.2 fixes this issue for me.

i've tried downgrading a while ago i don't remember the version i've downgraded for, but it didn't solved anything. so my solution was just don't play with shaders, at least by now, when the issue is still wasn't fixed.


Remove deprecated Globe.terrainExaggeration

Description
Remove deprecated values for https://github.com/CesiumGS/cesium/issues/11719

Issue number and link
Fixes https://github.com/CesiumGS/cesium/issues/11719

Testing plan

Run tests

Author checklist

[ ] I have submitted a Contributor License Agreement
[ ] I have added my name to CONTRIBUTORS.md
[ ] I have updated CHANGES.md with a short summary of my change
[ ] I have added or updated unit tests to ensure consistent code coverage
[ ] I have update the inline documentation, and included code examples where relevant
[ ] I have performed a self-review of my code

Again, all looks good! Thanks @jjspace!


[Multi-part reading] Enable import of multi-part files

Add medAbstractDataReader, a class that can return multiple medAbstractData instead of only one
Adapt medAbstractDatabaseImporter to account for this new class
Minimal cleanup of medAbstractDatabaseImporter

This P.R. is motivated by the need to read files that contain more than one "medAbstractData". This is the case with Carto and Rhythmia archives.
Developers can now code readers that inherit from the medAbstractDataReader class instead of the dtkAbstractDataReader class.
The changes in the abstract importer where as few as possible, because I did not want to break everything.
I tested it multiple times (single data, multiple data of different types in same directory), and all seems to be working.

It could be interesting to port these modifications to medInria 4.
The ability to read multipart files is definitely required for the future.

It could be interesting to port these modifications to medInria 4.
The ability to read multipart files is definitely required for the future.


[wpe-2.28] Fix loading of AAMP JS Bindjings

wpe-webkit support is available here https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/765

@HaseenaSainul @MFransen69 could you please review?


Can we interface with C#?

Just downloaded Corman Lisp, and am hugely impressed with how easy it is to get going.
Quick question, and apologies if this is covered in the docs, but I haven't got that far through them yet. Can we write Lisp code that can interact with C# code? Specifically, I'm thinking of an ASP.NET Core web site, where the pages (whether MVC, Razor or Blazor) contain very little more than code than calls through to the Lisp code? That way, we would get the benefits of the tooling offered for C#, with the benefits of Lisp for the processing.
Thanks.

There was a way to interface with C# and there was an intention to keep it alive. Howerver, I am not sure how well it works as I personally haven't got any experience with .NET ecosystem.


[Feature] [API] get/post/delete issue/pull/comment attachments

as it is posible with release attachments

I have added the feature for issues and comments in #14601.

dublicate of #3690


Hive Runner for Android TV

Create worker for Android TV drawing on both TV and Android workers
#https://github.com/bbc/hive-runner/issues/120

Hive-runner-androidtv is now merged. The repo is still private. Hence, keeping it open for time being.


Mismatched input/output elements count of animation sampler.

Describe the bug
For LINEAR and STEP interpolation method, the specification says that:

The number output of elements must equal the number of input elements.

The exported gltf of the reporting blender scene is not in compliance with it. The sampler has 2 keys but 6 values.
To Reproduce
Export the reporting scene.
Expected behavior
The number output of elements shall equal to the number of input elements in animation sampler.
Screenshots
.blend file/ .gltf
testblend.zip
Version

OS: Windows 7 x64
Blender Version 2.80(beta)

Additional context

Hello,
Your animation in blend file is neither in LINEAR or STEP interpolation. This is bezier interpolation, so CUBISPLINE in gltf. So for each keyframe, there is 3 values, as needed.


HDDS-9990. Add static import for assertions and mocks in ozone-client

What changes were proposed in this pull request?
Add static import for assertions and mocks in hadoop-ozone/client.
The goal of this task is to add import static for all assertions and interactions with mocks.
What is the link to the Apache JIRA
HDDS-9990
How was this patch tested?
CI test: https://github.com/TaiJuWu/ozone/actions/runs/7375243009

Thanks @TaiJuWu for working on this.  There is on more in:
https://github.com/apache/ozone/blob/0bd927784a0f77331b1b399e61d14c8a0f5f6468/hadoop-ozone/client/src/test/java/org/apache/hadoop/ozone/client/checksum/TestReplicatedFileChecksumHelper.java#L146

@adoroszlai Thanks for your review.


Reference of paper for detect-content

Hello, thank you for this great work. PySceneDetect by detect-content has a good performance in my own application.  I really want to learn about how it works. Could you please provide the reference of paper about the detect-content algorithm?
Thank you.

Closing as duplicate of #62.

Hi @Wwwwei;
See issue #62 for some details about methods used in PySceneDetect.
Thanks!


Refactor extension.ts

What problem did you solve?
Implements the refactoring suggested in #479.
How can I check this pull request?
This PR is not intended to change the behavior of the extension.
I also changed the imports at the top of extension.ts to namespace imports:

Improves the readibility of the code
Makes it easier to keep track of where each function comes from
Makes life easier for developers. E.g.

you can use intellisense to access imported functions (e.g. vscode. + ctrl+space to view all exported variables from vscode)
it's easier to move code around between files (you only need to add/remove the namespace imports sometimes, previously you had to add/remove each function individually)
Fewer (redundant) changes in Git diffs

If you disagree, this can of course be reverted, but I'd strongly suggest using namespace imports here.

Improves the readibility of the code
Makes it easier to keep track of where each function comes from

@ManuelHentschel Great works! Our source code looks more cleaned.

you can use intellisense to access imported functions (e.g. vscode. + ctrl+space to view all exported variables from vscode)
it's easier to move code around between files (you only need to add/remove the namespace imports sometimes, previously you had to add/remove each function individually)

Good, I denied it before, but it may be better to change the way of thinking.

Fewer (redundant) changes in Git diffs

In other words, we can see the files that got the impact of the main changes.
How about using an asterisk for external packages such as vscode and individual imports for vscode -r packages such as session and util?

Improves the readibility of the code
Makes it easier to keep track of where each function comes from

@ManuelHentschel Great works! Our source code looks more cleaned.

you can use intellisense to access imported functions (e.g. vscode. + ctrl+space to view all exported variables from vscode)
it's easier to move code around between files (you only need to add/remove the namespace imports sometimes, previously you had to add/remove each function individually)

Good, I denied it before, but it may be better to change the way of thinking.

Fewer (redundant) changes in Git diffs

In other words, we can see the files that got the impact of the main changes.
How about using an asterisk for external packages such as vscode and individual imports for vscode -r packages such as session and util?

How about using an asterisk for external packages such as vscode and individual imports for vscode -r packages such as session and util?

That sounds like a good rule of thumb, although I would still prefer to use namespace imports for vscode-r files when the number of imported functions is rather large (as e.g. in extension.ts).

How about using an asterisk for external packages such as vscode and individual imports for vscode -r packages such as session and util?

That sounds like a good rule of thumb, although I would still prefer to use namespace imports for vscode-r files when the number of imported functions is rather large (as e.g. in extension.ts).

@ManuelHentschel I agree with you.
And I'll update flexible eslint rules after.
Link: https://eslint.org/docs/rules/no-restricted-imports
Anyway, I'll merge the PR that is enough good.

@ManuelHentschel I agree with you.
And I'll update flexible eslint rules after.
Link: https://eslint.org/docs/rules/no-restricted-imports
Anyway, I'll merge the PR that is enough good.


Add Admin Icon

Problem
Admin icon is designed, but not implemented
Solution
Implement Admin icon
Additional context and instructions

Is this dependent on https://github.com/CrisisCleanup/crisiscleanup-3-web/issues/521#issuecomment-625283219 , or is it already available on Zeplin or elsewhere?

@tabiodun Will you make sure that Admin is on the bottom?

Icon available at https://app.zeplin.io/project/5dc0187606469a23537c7d9d/screen/5eba591e10b86275495949b8/

added in https://github.com/CrisisCleanup/crisiscleanup-3-web/commit/501f03a8fbcdd24f2186962fd9759d9f6176fffe


Text filter should wait until user finishes before updating.

Is your feature request related to a problem or area of OpenRefine? Please describe.
When entering a string or regex expression in the text filter, I'm often prevented from finishing the expression before OpenRefine attempts to update the results. This is frustrating, especially when trying to formulate complex regex.
Describe the solution you'd like
My preferred solution would be a Submit button (ideally with a keyboard shortcut) so that OpenRefine doesn't keep trying to update while I'm typing.
Describe alternatives you've considered
The only alternative I've found is to write regex expressions in a text file and copy/paste into the text filter.

@wetneb I would like to work on the following. I have already set up the Open Refine on my local, also I would like to complete the project Replace row pagination by infinite scrolling this summers.

Great! This issue is indeed a good start if you want to apply for the infinite scrolling project.

I'm not convinced that increasing the timeout here is the best  solution. Increasing timeout to 2000ms as per #2324 makes the UI feel less responsive when the user is typing a plain text string.
I think we should:

Have separate timeouts depending on whether the user is typing a regex or just a text filter
Consider separating the Regex validity checking from the facet update and only update the facet if there is a valid regex (and put the regex validity feedback next to the filter textbox rather the current situation where it is separated in the display)

These two changes can be tackled separately as the first is straightforward whereas the second will take more work. I hope that @kushthedude can make some changes to #2324 for (1) if we agree this is a sensible thing to do @wetneb @thadguidry


Case sensitivity for deploying to bluemix

When deploying as in a meteor application on bluemix using node 0.10.36 the case mismatch between the package.json and GraphAPI.js ment that the package failed to load. This change fixes that issue.

Thanks for pointing that out. I accepted your merge but then also created a new version (0.0.7) and published it as well.


Clearing Cache for util.prompt_for_user_token( )

TL;DR: If you could have the util.prompt_for_user_token()  function -- or the spotipy.Spotify(auth=token) function clear the cache created for authorization, that would be super helpful. Either removing the file entirely or being able to write over it w/o appending should work.
Longer Version:
I ran into an issue with getting the authorization to work, even though it had worked last night.
I was getting an error from the scope argument about not being able to split a None type, even when scope was set as a string. The error came from the _is_scope_subset() function in SpotifyOauth class.
I realized that the cache from last night was still there, and upon removing it my code magically worked again. Suggested fix is discussed above in the TL;DR section.
Thanks for all your work!

For anyone else wondering where this cache file is its alongside your python script called .cache-username, i.e. it is hidden on Linux. I missed it because I only did ls -l while looking for it.

Closing as wontfix as util.prompt_for_user_token() will be removed in v3


MDS rubrics

We will need to support an extra level of nesting, as in this rubric having two parts each worth 50%.
We already have some horrible code that parses this info literally from the .md files. But you can just throw it in a JSON or something for now.
Example assignment

The grading scheme:
UBC_LETTER_GRADES = {
    (90,100): "A+",
    (85,89) : "A",
    (80,84) : "A-",
    (76,79) : "B+",
    (72,75) : "B",
    (68,71) : "B-",
    (64,67) : "C+",
    (60,63) : "C",
    (0,59)  : "F"
}

Each letter grade gets mapped to the midpoint of its range. E.g. an A+ turns into 95%. It is then scaled by the "out of" for that question in the assignment, and this allows you to get an overall grade for the assignment.

You may need to work on Reid's code in Classy where students login and see their grades. We'll need to change the format slightly for them to see all this. Here's an example of what an MDS student currently sees. We need something similar but it doesn't have to be identical, nor does it have to be as detailed for the prototype.

Writing (worth 5%)

Rubric
Raw Score
Scaled Score
Points Earned
Out Of

Writing -- Grammar & Spelling
A+
95%
2.375
2.5

Writing -- Length
A+
95%
2.375
2.5

Total

4.75
5

Question 6.3

Rubric
Raw Score
Scaled Score
Points Earned
Out Of

Reasoning
A+
95%
3.8
4

Overall Evaluation

Exercise Name
Points Earned
Out Of

Writing (worth 5%)
4.75
5

...
...
...

6.3
3.8
4

...
...
...

Total
93.835
100

Final grade: 93.8/100.0 = 94%

I suggest dealing with the letter grades first. And then later we can talk about the nested rubrics.

Letter grades and optional rubric items are handled completely.
Currently missing:
~Nested Rubrics~
Raw grade inputs


Support GHC HEAD

Cf. https://gitlab.haskell.org/ghc/head.hackage/-/blob/master/patches/inspection-testing-<IP_ADDRESS>.patch

Thanks, much appreciated; pushed to hackage.


Create Floyd Warshall algorithm #38

sloved it ! #38 Floyd Warshall algorithm .  Merge this

Solved it ! plz merged this #38


[rcore] uncapped framerate not working properly with SDL platform

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] I checked the documentation on the wiki
[x] My code has no errors or misuse of raylib

Issue description
(this is on latest master commit)
When compiling with the SDL platform, removing/not using SetTargetFPS does not seem to really work: framerate is actually matching the screen refresh rate.

Take any example, just remove SetTargetFPS(60)
Then right after BeginDrawing(), add DrawFPS(10, 10);

When doing this with the GLFW platform, you basically get unlocked/uncapped framerate: in my case it can be more than 10000-20000 FPS depending on the example.
When doing this exact same thing, but with SDL platform, I get 115-120 FPS, which is really close to my screen refresh rate (120 HZ).
Environment

Ubuntu 23.10 x86_64 under Gnome
AMD Ryzen 9 7900 + AMD Radeon 5700XT
SDL Platform

Issue Screenshot
With GLFW platform

With SDL platform

Code Example

Just take for instance textures_image_loading.c
Comment out SetTargetFPS
Add DrawFPS
Build first with GLFW, then with SDL
Observe completely different framerate

@mpalomas This is strange, could it be that SDL enables VSync by default?

Strange indeed. No expert but I know that when using OpenGL, SDL controls vsync with https://wiki.libsdl.org/SDL2/SDL_GL_SetSwapInterval
As you can see, 0 means immediate, 1 is vsync. Need to look at the platform implementation, will try spend time this evening.

@raysan5 @mpalomas
I found the issue and created a pull request: #3997


Previous lab member on people's page

Generate a list of previous lab members displaying after the current people where we can specify in https://github.com/titipata/lab/tree/main/_data/people (maybe we can detect when position: alumni). I am thinking to display it as follows:

Previous lab members

[title] (joined as [metaDescription]), 2021 --> click this will go to their profile page
[title] (joined as [metaDescription], 2022

where 2021 can be a year a member left which can be specified in their markdown.

Close with PR #9


Have the tags been removed recently?

Several other issues suggest that there at least used to be tags in this repository, when the tag list is empty now.
I came here to investigate as to why my go project, which depends on openshift api, started complaining that certain version (mentioned in my go.mod) is not found.
Were the tags completely removed from the repository? Is this an intentional change or an unintentional mistake?

Is there any update on this?

/remove-lifecycle stale

@mkrutov This repository doesn't get tagged. If you want to consume with go.mod, you can specify a branch (e.g. master, release-x.x) or SHA to go get.

Ok. I don't recall the exact details which lead me to believe that something has disappeared, unfortunately.


Floor & ceiling functions failing for all even whole numbers

XMVectorFloor and XMVectorCeiling will return incorrect results for all even whole numbers due to the round-to-nearest even behavior (105.0 -> 104.0f rather than 105.0f). This impacts ARM-NEON and SSE / SSE2 codepaths.

This was fixed in DirectXMath 3.04


Remove 'throw new Error(Unsupported provider: ${provider})' to support Coverr

In media3pApiProvider.js

This is not required, as this does not cover Unsplash only.


input[type=date] height and font (Firefox / Chrome)

Firefox 58 (font):

Chrome 64 (height):

Duplicate of #18842 (a very old and annoyingly tricky bug to fix).

What about the font color in Firefox? Is that an old friend too? Thanks for the feedback


Per command permission

Instead of giving punishments.manual to give access to commands
Add a way to give only /mute or /tempmute, etc...
punishments.manual.tempmute
punishments.manual.mute
and if you want to give all commands permissions: punishments.manual.*

I'll add this in the next update. Thank you for your suggestion.

Added in release 1.1.11.


Not working on arm64 architecture

Describe the bug
I wanted to install mayastor via helm on my arm64 Talos 1.6.1 server, but I can't get it working. It seems like the etcd version that is used depends on an image docker.io/bitnami/bitnami-shell:11-debian-11-r63 which is not built for arm64 and therefore fails to succeed.
 ➜  ~ kubectl describe pods mayastor-etcd-0
(...)
Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  16m                  default-scheduler  Successfully assigned mayastor/mayastor-etcd-0 to n2-storage
  Normal   Pulled     15m (x5 over 16m)    kubelet            Container image "docker.io/bitnami/bitnami-shell:11-debian-11-r63" already present on machine
  Normal   Created    15m (x5 over 16m)    kubelet            Created container volume-permissions
  Normal   Started    15m (x5 over 16m)    kubelet            Started container volume-permissions
  Warning  BackOff    103s (x70 over 16m)  kubelet            Back-off restarting failed container volume-permissions in pod mayastor-etcd-0_mayastor(52798499-a0d7-42ef-acdd-5519341ed07f)

 ➜  ~ kubectl logs pods/mayastor-etcd-0 -c volume-permissions
exec /bin/bash: exec format error

To Reproduce
 helm repo add mayastor https://openebs.github.io/mayastor-extensions/

 ➜  ~ helm search repo mayastor --versions
NAME             	CHART VERSION	APP VERSION	DESCRIPTION
mayastor/mayastor	2.5.0        	2.5.0      	Mayastor Helm chart for Kubernetes
mayastor/mayastor	2.4.0        	2.4.0      	Mayastor Helm chart for Kubernetes
mayastor/mayastor	2.3.0        	2.3.0      	Mayastor Helm chart for Kubernetes
mayastor/mayastor	2.2.0        	2.2.0      	Mayastor Helm chart for Kubernetes
mayastor/mayastor	2.1.0        	2.1.0      	Mayastor Helm chart for Kubernetes
mayastor/mayastor	2.0.1        	2.0.1      	Mayastor Helm chart for Kubernetes
mayastor/mayastor	2.0.0        	2.0.0      	Mayastor Helm chart for Kubernetes

These are the helm values I used (the basePaths are specific for Talos):
# values.yaml
etcd:
  localpvScConfig:
    basePath: /var/openebs/local/{{ .Release.Name }}/etcd

loki-stack:
  localpvScConfig:
    basePath: /var/openebs/local/{{ .Release.Name }}/loki

io_engine:
  nodeSelector:
    openebs.io/engine: mayastor

nodeSelector: {}

 helm install mayastor mayastor/mayastor -n mayastor --create-namespace --version 2.5.0 --values values.yaml

Expected behavior
Mayastor works on arm64 server
OS info:

Distro: Talos
Kernel 1.6.1
MayaStor 2.5.0

Additional context
Client:
	Tag:         v1.6.0
	SHA:         eddd188c
	Built:
	Go version:  go1.21.5 X:loopvar
	OS/Arch:     darwin/arm64
Server:
	NODE:        94.XX.XX.XX (IPv4)
	Tag:         v1.6.1
	SHA:         0af17af3
	Built:
	Go version:  go1.21.5 X:loopvar
	OS/Arch:     linux/arm64
	Enabled:     RBAC

We don't currently provide arm64 installs for mayastor, only for the kubectl plugin.
This is not for a technical reason AFAIK but rather because we have no hardware available to test on arm64 :(
Though IIRC there's a couple of users that build their own arm64 images from our code, maybe they can help out, I think they might have either raised issues here or on slack.

Leaving this open as the open issue for arm64 support.
This is not on the roadmap, but if some external contributor has some arm servers for us to test on, we'd be happy to consider arm64 support.

What does testing look like here? I am about to setup a TuringPi 2 homelab with Talos and I wanted to use Mayastor for storage.
Given that I use an MacBook Air M1 I can probably also test on that in the interim?

I have a TuringPi 2 set up (2x RK1s + 2x CM4s) with Talos (great minds @felipesere!) and I'm having this same problem.
I'm inexperienced with kubernetes, but I can learn fast & very happy to test anything other community members are able to create. (I'll be keeping an eye on this issue for others).
@tiagolobocastro, what hardware would you need to be able to support this officially? (I'm asking to see if I, or others in the TuringPi 2 + Talos community, could find a way to provide it for you).

What does testing look like here? I am about to setup a TuringPi 2 homelab with Talos and I wanted to use Mayastor for storage.

We have a bunch of repos for the different components of mayastor, though tbh the only place where the arch would affect things would be the dataplane (this repo).
Besides per repo CI we do lots of system testing on hetzner VM's (these are kubernetes clusters on VMs).

Given that I use an MacBook Air M1 I can probably also test on that in the interim?

M1 is a different kettle a fish as it's not linux, so things like udev won't work, no nvme-tcp initiator etc.
Still you might be able to build on this repo, not sure. Maybe @hrudaya21 and @dsharma-dc  have tried it?

I have a TuringPi 2 set up (2x RK1s + 2x CM4s) with Talos (great minds @felipesere!) and I'm having this same problem.
I'm inexperienced with kubernetes, but I can learn fast & very happy to test anything other community members are able to create. (I'll be keeping an eye on this issue for others).
@tiagolobocastro, what hardware would you need to be able to support this officially? (I'm asking to see if I, or others in the TuringPi 2 + Talos community, could find a way to provide it for you).

We would need at least some VM's for the per-repo CI.
The tricky one would be system test, as that creates a swarm of VM's and runs for many hours. I guess we could perhaps run only the ones which we thing would affect the cpu architecture, CC @avishnu

We would need at least some VM's for the per-repo CI.

If providing this could be as simple as reaching an initial and monthly funding goal on something like open collective (large enough to cover not just the first month of the VMs, but enough months to make long term maintenance viable, even as monthly donation commitments fluctuate) then please let me know, and I can see if there's enough interest in the TuringPi forums!

I can confirm that its not working with current versions.
I just tried it on a Raspberry Pi + K3s.
A few tiny things that I already fixed on the fly:
Get rid of docker.io/bitnami/bitnami-shell in the volume-permissions containers for loki and etcd, since it has been deprecated officially in favor of bitnami/os-shell which provides an arm64 version again.
I also had to modify the etcd image tag, because not all of them exist for arm64. I just picked the current latest just for testing, since it exists for arm64.
Sadly, etcd is the last thing that does not start up. The pods crash loop, exiting with
ERROR ==> Headless service domain does not have an IP per initial member in the cluster

after a while.
Apart from this, just a question on the side:
Why use nats + etcd? If nats is being used with Mayastor already, why not just use jetstream kv store from nats and don't need etcd at all? This would simplify the deployment and save resources.

Any update on this? I have a mixed cluster with both x86 and TuringPi2 nodes. Suggestions by @sebadob worked great but will need to edit every time I upgrade. Thanks.

Btw @sebadob What did you do to get csi node daemon set to run on ARM64? Mine are only scheduling on x86 nodes.

I don't have it running anymore, but they simply started. I did not do anything special there. This was an arm-only cluster.
But I moved away from it again because I did not like it that the Mayastor pod did busy waiting and consumed the full CPU all the time, even when the cluster was in idle. I get it that this will reduce latency when doing this sync instead of async, but my clusters are usually rather small and then the 100% cpu usage all the time is nothing I wanted.
So I cannot provide more information, sorry.

Btw @sebadob What did you do to get csi node daemon set to run on ARM64? Mine are only scheduling on x86 nodes.

Try using --set nodeSelector={}

Btw @sebadob What did you do to get csi node daemon set to run on ARM64? Mine are only scheduling on x86 nodes.

Try using --set nodeSelector={}

Thanks but it looks like the mayastor-csi-node image doesn't have a arm64 build.
https://hub.docker.com/r/openebs/mayastor-csi-node/tags
Darn, I bought some drives and was trying this out since Jiva was unreliable and has a memory leak in the NDM.

I'm afraid we don't currently build arm64 images.
If you have an arm64 system you could try building the csi-node yourself. I think there's a couple of users which build their own, maybe you can ask on slack.

Can you guys just get a Mac Mini or something if you need an ARM build host?

Leaving this open as the open issue for arm64 support. This is not on the roadmap, but if some external contributor has some arm servers for us to test on, we'd be happy to consider arm64 support.

Hi, And OrangePi 5 Plus http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.html has:

8x CPU cores (4x 2.4GHz + 4x 1.8GHz)
32GB LPDDR4X !
M.2 2280 slot for NVMe SSDs (PCIe 3.0 x4)
Another M.2 E slot, that with an adapter gets you another M.2 M with 2x PCIe
2x 2.5Gbps NICs

Its not a big grunt server, but it only cost about USD 180 - and so spoke to me as a great home cluster option.
This not an advert, its what I got six of (plus another three 16GB RAM version for k8s control plane) and would love to run OpenEBS on it. I wanted to use Local PV LVM on the M.2 SSDs for fast local storage, and Mayastor on Large USB attacked SSDs for long term redundnat/resiliant storage (Think NextCloud with TBs of photos and videos; care more about recovery than speed)
I would be happy to donate some money so that someone could buy one or two of these, if it meant official arm64 support soon (since it appears most of the work as already be done, but one has to build their own images). Please let me know.

That's very kind of you, thank you.
I'll talk to the team about the possibility - though don't think we're geared up in any way to accept donations, sending us the hardware might be easier perhaps.

Just dropping in here because I have began digging into getting the OEP 3817 started. I figured building on aarch64-apple-darwin wouldn't work, but wanted to give it a shot anyways. Unfortunately, confirmed my suspicion when running the docker build steps here. Simply running nix-shell natively (no-docker) raises a libaio dep issue in spdk + i'm sure there would be many more issues down the build pipeline.
During the spdk-dev build step with --platform linux/arm64 first docker build step, the sm3_mb/aarch64/sm3_mb_sve.lo lib object file seems to be causing issues in the build (as noted in linked initial issue on the OEP and confirmed today on my arm machine running a non-darwin docker container).
I did get the first docker command linked above working on --platform linux/amd64 after running echo "filter-syscalls = false" >> /etc/nix/nix.conf (some qemu docker on apple virtualization bpf nonsense see here). Will test the rest of the docker build steps and then maybe make a pr to the documentation as a work around for running on mac.
This may be a little bit of a grind to get working on arm for everyone, but I know that first time we get helm install openebs --namespace openebs openebs/openebs --create-namespace --set mayator.enabled=true working on an arm cluster will be ~magical~!!
@ThorbenJ That OrangePi 5 looks sick, but will probably just try to get some stuff rolling on a Hetzner arm server to absolve any "darwinisms" during the dev/testing process. My Hetzner account got all screwed up last month, but should hopefully up and running sometime next week.


port app/services/hyrax/manifest_builder_service_decorator to the iiif_print gem

Summary
File now exists, but needs to be made functional. Specifically for IIIF manifest 2 and 3
ref: https://github.com/scientist-softserv/iiif_print/blob/main/lib/generators/iiif_print/templates/manifest_builder_service_decorator.rb
Indiana is open to upgrading their manifest.
Heads Up: Indiana has a configuration to pull in the metadata into the manifest. This will need some work, and we also may need to consider how it will work with AllinsonFlex.
The end goal is for the UV to display the way that LV has it.

Acceptance Criteria

[ ] When looking at the works show page, works with metadata should display their metadata in the Universal Viewer right side panel

Screenshots or Video
Testing Instructions

[ ] Create a work with some metadata properties
[ ] Navigate to its show page
[ ] Open the right side panel and confirm the metadata shows up

Notes

AllinsonFlex handling will need to be apart of a different ticket #298
Essi uses this implementation where it seems there is select metadata to be displayed
Essi's implementation does not support facetable links fro the UV metadata panel
Essi uses IIIF Presentation Manifest V2 which is the Hyrax 2x default, while UTK (on Hyrax 3x) uses IIIF Presentation Manifest V3

QA RESULTS:
On staging, when creating a manual work, we can see the file in the UV. However, when you add a child manually, the parent's UV no longer displays anything. When you click into the child, we can see its file in the UV.

This passes QA:
On staging, I manually created a parent and child work. I can see the child work and its metadata, from the parent's UV.

However, I will create a separate spin-off ticket to handle the following edge case cc @kirkkwang A UV should still render if the parent doesn't have a fileset:


Encoding::CompatibilityError on UTF-8 in YAML frontmatter

if there are non-latin characters in YAML frontmatter, e.g.
---
title: "язык"
---

requesting the page results in:

Encoding::CompatibilityError at ...(my route)...
incompatible character encodings: UTF-8 and ASCII-8BIT
file: buffer.rb location: push_text line: 118

Probably the same problem - markdown files with those same characters sometimes result in:

Encoding::CompatibilityError at ...(my route)...
incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)
fie: text.rb location: =~ line: 131

Setting Encoding.default_external to 'UTF-8' in config.rb doesn't help. I haven't been able to isolate the cause of the second problem - some files with non-latin characters in markdown break and others not.

Oddly enough, the second problem is triggered by an indented line containing non-latin characters. Sounds like markdown parser treating a string as ascii-8bit in just one particular pattern.

Does setting the following in config.rb help?
Encoding.default_internal = "utf-8"

not always. depending on where I insert non-latin characters different components seem to break.
May be I should make a test project demonstrating every case I run into.

Setting only Encoding.default_external = Encoding::UTF_8 in config.rb resolve similar issue

Test cases would definitely help.


Add a "Rescue" mode to the ipxe menu

This rescue mode should boot the /ipxe/ url from the mpcc and pass "?rescue" to the url which the mpcc needs a patch to add a kernel cmd line option which the boot script will use to not switchroot.

dupe of #105


Is ART broken?

Environment:
OS: macOS Sierra 10.12.6
Node: 8.6.0
Yarn: 1.2.1
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.3 => 0.50.3
I also tried RN 0.52 and React 16.2. Same error.
Steps to Reproduce
Put this in your App.js in a new RN app.
import React from 'react';
import { View, ART } from 'react-native';
const { Surface } = ART;

export default class ArtTest extends React.Component {
  render() {
    return <Surface width={100} height={100} />;
  }
}

npm run ios
Expected Behavior
I expected no error. The example doesn't do much as it's stripped down to bare bones.
Actual Behavior

I just realised that ART needs to be manually linked. Problem solved.
Sorry for bothering.

Just want to mention in case anybody runs into this that ART and possibly all other core libraries that require native linking the project will need to be a workspace.


PDCL-1352 - Adds lint rules to check for focused tests added by mistake

Description
This change implements the eslint plugin "ban" to check for focused unit or functional tests that were added by mistake.
E.g. fit() or fdescribe(), or test.only()

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA or I'm an Adobe employee.
[ ] I have made any necessary test changes and all tests pass.
[ ] I have run the Sandbox successfully.

@jonsnyder - can you check my package-lock.json? It doesn't seem right

Example output:
$ git diff test/functional/specs/Data\ Collector/C1715149.js
diff --git a/test/functional/specs/Data Collector/C1715149.js b/test/functional/specs/Data Collector/C1715149.js
index cea1f594..23571ae9 100644
--- a/test/functional/specs/Data Collector/C1715149.js
+++ b/test/functional/specs/Data Collector/C1715149.js
@@ -37,7 +37,7 @@ test.meta({
   TEST_RUN: "Regression"
 });

-test("C1715149 Events should call onBeforeEventSend callback and still send event", async () => {
+test.only("C1715149 Events should call onBeforeEventSend callback and still send event", async () => {
   const alloy = createAlloyProxy();
   await alloy.configure({
     ...orgMainConfigMain,

$ eslint --fix "*.js" "src/**/*.js" "test/**/*.js"

/Users/garogers/Documents/workspace/alloy/test/functional/specs/Data Collector/C1715149.js
  40:1  error  don't focus tests  ban/ban

✖ 1 problem (1 error, 0 warnings)


Mounting/binding output.txt not working

On windows 10, we do see that the file output.txt is filled in our docker container, but the docker host shows an empty file. We checked the docker settings, and made sure (outside of ppDLI) that the mounts are working.
Could it be an issue that the folder path containing the mounted files (for a run) contains a space character? I've seen before that docker doesn't understand this (and sees it as different variables).
Suggestion to change spaces to underscore characters in folder paths, to be safe this could ever be the issue.
@frankcorneliusmartin what do you think?

@AnanyaCN

I have not encountered this before. But it might be very possible. Well check before 0.3.0

This is a bit tricky, because the path can be set in the configuration file. This means that in case a space is present in a root folder we will generate an entire (duplicate) tree of folders... So I am not in favor of replacing spaces by underscores.

From version 0.3.0 onward all these folder/files will be in a docker volume:
vantage-{configuration_name}-{scope}-vol
They are thus no longer accessible on the host machine. @jvsoest Let me know if you feel this is required... But for now I close this issue.

Nope, perfectly fine for me as we switched to volumes :)


Some alignment issues in Edge

Expected Behavior
In Microsoft Edge, the text in the blocks in the blocks list should be aligned correctly
Actual Behavior
In Microsoft Edge, the text in the blocks in the blocks list is too far to the left, meaning that the text goes off the edge of the block.
This is sometimes, but not always, rectified when the block is dragged to the scripting area and clicked several times.
Steps to Reproduce
Go to the preview site using Microsoft Edge.
Operating System and Browser
Windows 10 Education, MS Edge 38

Moved from LLK/scratch-gui#1807
/cc @python-megapixel

Thanks for reporting @python-megapixel. This was resolved at one point and appears to be a regression.

@BryceLTaylor Can you verify / repro?

I take it back about Chrome on Mac.  At one of the zoom levels it covers the very edge of the blocks but none of the text.

@thisandagain says that this is a known issue and is documented in a number of other bugs related to being below the screen resolution threshold.