Download's Version

PLEASE STOP SENDING THESE MESSAGES..
On Fri, Jun 1, 2018 at 2:27 PM, Samuel Rapana Betio <
<EMAIL_ADDRESS>wrote:

Merged #49 https://github.com/samuelbetio/storyofmylife/pull/49.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/samuelbetio/storyofmylife/pull/49#event-1657574583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ag9w2jEQHuF8cWreb7ngvyhDl5vDMxZ9ks5t4N65gaJpZM4UWIeY
.


Added ALC298 layout-id 66 for MECHREVO S1 by lgs3137

Added ALC298 layout-id 66 for MECHREVO S1 by lgs3137

Merged manually, sorry.


Avoid nested C/C++ comments

This patch cleans up nested C++ comments within C comments and fixes #10270. In order to find (most of) the locations where this happens, the following command was used:
egrep -R '(/\*|\*[[:space:]]).*//' arch/ boards/ drivers/ dts/ include/ kernel/ lib/ misc/ soc/ subsys/ tests/ | egrep -v 'https?://'
After applying the below patches, there are 145 locations that contain an http:// or https:// URL, and one false positive hexadecimal UDP packet that contains // in the commented out ASCII output in tests/net/utils/src/main.c. There are more matches in ./ext, but that directory was excluded.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #11423   +/-   ##
=======================================
  Coverage   48.37%   48.37%
=======================================
  Files         265      265
  Lines       42188    42188
  Branches    10137    10137
=======================================
  Hits        20408    20408
  Misses      17703    17703
  Partials     4077     4077

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 f60b580...fc93d79. Read the comment docs.

I think we should have tests/net/utils/src/main.c and http[s]:// ones filed as deviations in another bug.


A record with a bigint id can't be queried for when using PostgreSQL

We're using our bigint record IDs in the self.scim_attributes_map, e.g.
def self.scim_attributes_map
  {
    id: :id,

...

  }
end

however, when querying for the id, since by default all attributes are queried as case insensitive, we're getting a query like
WHERE users.id ILIKE 12345

which fails on PostgreSQL, since you can't use LIKE/ILIKE on bigint columns, and id is bigint for us.
I've read the source code and see the comments about case sensitivity being tricky to use, however I can't see a way of configuring this, and the only way I see is to subclass & override either apply_scim_filter or to_activerecord_query_backend methods fully. Is that the expected way forward?
I can see Scimitar exposing a self.case_sensitive_attributes map, empty by default, which would then be used to change the queries. Should I fire a PR with that?

This also fails for uuid type columns.

Just got back to work after holidays - I'm considering options for it.

I think this should be sorted in V2 by https://github.com/RIPAGlobal/scimitar/pull/39. Once reviewed & merged, this should get back-ported to V1. We have some people off sick right now so it might take a day or three - please bear with us!

2.1.3 is now pushed - https://rubygems.org/gems/scimitar

1.3.3 back-port done - https://rubygems.org/gems/scimitar/versions/1.3.3


How to obtain the real-time recognition results in recongnizing?

    speech_recognizer.recognizing.connect(lambda evt: print('RECOGNIZING: {}'.format(evt)))
    speech_recognizer.recognized.connect(lambda evt: print('RECOGNIZED: {}'.format(evt)))
    speech_recognizer.session_started.connect(lambda evt: print('SESSION STARTED: {}'.format(evt)))
    speech_recognizer.session_stopped.connect(lambda evt: print('SESSION STOPPED {}'.format(evt)))
    speech_recognizer.canceled.connect(lambda evt: print('CANCELED {}'.format(evt)))
    # stop continuous recognition on either session stopped or canceled events
    speech_recognizer.session_stopped.connect(stop_cb)
    speech_recognizer.canceled.connect(stop_cb)

What I mean is how to obtain the generated speech recognition results through the evt event to achieve the same effect as Microsoft's official speech-to-text interface?
Do I need to add or modify some parameters?

The problem in the 2nd block of code is that the if statement is conditioned on the result reason being speechsdk.ResultReason.RecognizedSpeech, but the recognizing event handler will only get speechsdk.ResultReason.RecognizingSpeech result reasons.
If that's not the cause of the problem, can you share some more information about the code that's having problems?


VLC website blocked

Hey, your work is awesome ! using it on my raspberry pi dns :D
But i found that the hostnames "videolan.org" and "www.videolan.org" are figuring in this file.
So the website of VLC is not accessible :/
Can you fix it please ?
Thanks 👍🏻

Solve in 5c4677620a739c818b3cbc273c2fb9d2fd4a9d00
Thank you! 👯


Cannot import multiple files with the same name

Hi,
I have tried to copy-paste a directory with png assets in the assetsdb dir. The software starts properly to import the assets, but at the end I see that the files with the same names (but in different directories) have not been copied. Only one file per name has been copied.
Example of dir:
RED\001.PNG
RED\002.PNG
GREEN\001.PNG
etc.
If I try to import this I will find only one 001.PNG.
Another question, there is not an Import button to import a whole directory?
Cheers,
Marco

Hey,
I will look into this. To your question, normally you can import directories, or files by dragging and dropping them on the window.

Thank you, it is a very nice tool and I really like to use it!
Il sab 10 feb 2024, 12:07 tostc @.***> ha scritto:

Hey,
I will look into this. To your question, normally you can import
directories, or files by dragging and dropping them on the window.
—
Reply to this email directly, view it on GitHub
https://github.com/Assets-Manager/AssetsManager/issues/1#issuecomment-1936974978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEQDIXS2OMNDTOIKHPSVNKDYS5IG5AVCNFSM6AAAAABDCF55UKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHE3TIOJXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi,
I saw that you have fixed this issue. Thank you!
Do you plan to release the new build on itch.io?

Hey,
the bug isn't fixed to 100%. But I've implemented already everything to finally fix it. After that and testing I will release a new version to Itch. But I don't currently have a release date.  Please have a little patience.  This is just a little hobby project that I do in my free time.

Don't worry, when it's ready I will download it. In the meantime I am using it for other no-single-name assets.

Hey,
just to let you know, the new version is on itch.

Thank you!!

Here you go.


RYA-487 Kafka Connect Sinks

Ignore RYA-487. That's a separate PR that this depended on to create documentation for the manual.
This PR implements Kafka Connect Sinks for both Accumulo and MongoDB backed Rya. I wrote a manual page that explains design decisions that were made, notes about deploying the sinks, a quick start, and future work we may want to consider.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/757/Build result: FAILURE[...truncated 91.94 MB...][INFO] Apache Rya Web Projects ............................ SKIPPED[INFO] Apache Rya Web Implementation ...................... SKIPPED[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 46:04 min[INFO] Finished at: 2018-05-10T18:10:41+00:00[INFO] Final Memory: 519M/2971M[INFO] ------------------------------------------------------------------------Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (check-licenses) on project rya.kafka.connect.parent: Too many files with unapproved license: 1 See RAT report in: /home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/kafka.connect/target/rat.txt -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR]   mvn  -rf :rya.kafka.connect.parentchannel stoppedSetting status of c2d802bd51d4d6951aa54e48b4038d64462bd8fd to FAILURE with url https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/757/ and message: 'FAILURE 'Using context: Jenkins: clean package -Pgeoindexing

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/758/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/760/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/761/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/762/


This project is looking for new mantainers

Hi,
I don't have enough time to dedicate to this project, also I am now working focused on Quality Engineering and test automation, web dev and API development with Flask is no more part of my daily work.
There are many people/companies relying on this project to serve API and I don't want to disappoint them.
We need new maintainers
We need 2 more people to be included as maintainers of this project, currently it is only me and @javabrett but we are not able to handle all the work needed to do here.
I'll still be here as maintainer, to ensure I can help with important decisions and setups and that the project is going on the right direction.
What we need?

Move this project to an organization?
Work to have proper dicummentation in place
Review Pull Requests and Issues (there is a lot of issues in need of triage, labeling, answer)
Keep an eye open for OPenApi Spec updates
Keep eye open for Swagger UI updates

Who can be a maintainer?
The preference is for people that is already on this list, (but if you want to be a maintainer and are not on that list you can comment here anyway, we will see)
https://github.com/rochacbruno/flasgger/graphs/contributors
If you are on that list and wants to be added as a maintainer (rights on this repo and pypi for releases) please comment on this thread.

What next?

I am waiting for comments on this thread from people that wants to become a maintainer
I'll add people to the team and we will try to put this project in a good shape (updates, docs and issues resolved)
If I can't find new maintainers in 3 months from now (Aug, 4, 2019), then, I'll try to move this project to an organization like https://github.com/jazzband
If I am not able to find new maintainers neither accepted on Jazzband or similar project in 4 months from now (Sept, 2019 )then, I'll archive this project (make it read-only), include a note on github and pypi, a deprecation warning on installation and let it available for fork only, I dont wanna do that!

Thanks! I hope we can continue this project together!
:+1:

I'm happy to help with the Issues triage, reviewing PRs and getting the build passing the CI. Not too fussed about diving into the docs though.

I'd also like help as I can, in my understanding OAS 3 is not fully supported, and would like to start  improving that part.

@samizdis @vitodsk please send a PR resolving at least one important issue and I'll add you as maintainer.

Is it enough?. Can I be a maintainer?

:D @belkka you beat me to it :p

Hey Folks, we've reached the August 4th deadline, is this going to be kept here or put elsewhere? I have limited time but I'm able to help review pull requests

@billyrrr are you able to take ownership and continue this project and also coordinate the contributors

Thank you for this wonderful opportunity, @rochacbruno . I will be glad to take over this project!

Bravo @billyrrr!  Thanks for taking the mantle


ENH+FIX: documentation enhancements + FSL fix

Update documentation and examples.
Fix FSL environment variables: use ENV instruction instead of sourcing fsl.sh.

Codecov Report

Merging #46 into master will increase coverage by 0.05%.
The diff coverage is 84%.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   90.86%   90.92%   +0.05%
==========================================
  Files          29       29
  Lines        1150     1146       -4
  Branches       99       97       -2
==========================================
- Hits         1045     1042       -3
+ Misses         80       79       -1
  Partials       25       25

Impacted Files
Coverage Δ

neurodocker/interfaces/freesurfer.py
68.65% <ø> (ø)
:arrow_up:

neurodocker/docker/__init__.py
100% <ø> (+33.33%)
:arrow_up:

neurodocker/interfaces/spm.py
83.05% <ø> (ø)
:arrow_up:

neurodocker/interfaces/ants.py
95.65% <ø> (ø)
:arrow_up:

neurodocker/parser.py
94.64% <ø> (ø)
:arrow_up:

neurodocker/interfaces/neurodebian.py
82.92% <ø> (ø)
:arrow_up:

neurodocker/interfaces/mrtrix.py
100% <ø> (ø)
:arrow_up:

neurodocker/interfaces/miniconda.py
87.23% <ø> (ø)
:arrow_up:

setup.py
0% <0%> (ø)
:arrow_up:

neurodocker/neurodocker.py
100% <100%> (ø)

... and 5 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 25d783d...a8c0ced. Read the comment docs.


pb directive close

hi,
the error :

Failed to resolve directive: close-popover

vue version : 3.0.1
main.js :
import { VTooltip, VPopover } from 'v-tooltip'
Vue.directive('tooltip', VTooltip)
Vue.component('v-popover', VPopover)

help me !!!

Make sure to put this code before creating your app. Also, Vue 3.0.1 doesn't exists.

sorry  "vue": "^2.4.2",


clober: 0.1.0-3 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository clober to 0.1.0-3:

upstream repository: https://github.com/CLOBOT-Co-Ltd/clober.git
release repository: https://github.com/CLOBOT-Co-Ltd-release/clober_ros2-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.7
previous version for package: 0.1.0-2

clober_bringup
* add initial clober_bringup pacakage

clober_description
* add initial clober_description pacakage

clober_navigation
* add initial clober_navigation pacakage

clober_simulation
* add initial clober_simulation pacakage

clober_slam
* add initial clober_slam pacakage

I was not able to detect any differences in this release at all. What is the purpose of this?

@clobot-git can someone from this team please answer cottsay's question? I am closing this PR for now since it has gone unanswered for 7 days.

@cottsay
I'm sorry for the late reply. I removed the "pthread" of target_link_libraries in cmakelists.txt file of clober_serial package.
https://github.com/CLOBOT-Co-Ltd/clober/commit/fa66cad97842ecc760235ebff8a6a2d61a41093e
Jenkins reported a build error due to the problem of not finding the "pthread".
I wonder why the edited part was not reflected.
Thank you.


Create notes extension linked with Notion

Hi @harshita214 , I wanna create a note extension that would be linked with the notion account so that users can add notes whenever they want just by clicking on the extension.

Sure can you explain more about this

@Vaishnavi-Markunde the extension is already made up
so you can look into other ideas

@Vaishnavi-Markunde the extension is already made up so you can look into other ideas

Okay


Transform static image references into externals

When left intact, react-native's static image references, e.g. require('image!fooBar'), are problematic. By default, webpack attempts to resolve a loader called webpack-image-loader (plus many derivative names) and to resolve a module ('fooBar') based on the string after the bang. This yields compile errors, in my experience.
So, seems these references need to be short-circuited. This PR does that by generating corresponding externals:
require('image!fooBar')

// yields
{ uri: 'fooBar', isStatic: true }

I believe this resolves #6 assuming @boyswan and I were seeing the same thing.

Interesting approach. This topic came up here as well: https://github.com/facebook/react-native/issues/395#issuecomment-93832095
Maybe @amasad can shed some light on whether or not the {uri, isStatic} syntax is likely to stay intact with the upcoming changes in the react packager?

This should be fine for now, in the future we'll have to change it to contain different information. I'm planning on posting an issue on the react-native repo once we have finalized the details but here is quick run down. Let me know if you have any feedback.
There are a few problems with way we currently manage assets:

All images live in a single namespace. This is a problem for obvious reasons
Images don't live with the code by default. We use assetRoots to tell the packager where the assets should live.
You have to go add them to XCode (and follow what other platforms we want to target in the future)
You can't easily publish images with components to npm and have them just work

So we're looking to replace the current system with the following:

Images can exist alongside the JS code and be required via relative paths (i.e. commonjs resolution). require('./path/to/img.png')
Images can have multiple resolution versions and are expressed via the @Nx notation currently used in iOS. So img.png could actually be<EMAIL_ADDRESS>or img.png or what have you
Images will still compile to static modules but will have different information (url, path, width, height) -- this is not final yet
In development: The client will then request the image from the server with the resolution it needs (the server will give it the closest resolution it could find)
In production: That's not final yet, but we're thinking of generating a zip or tar file including the assets
This is platform agnostic, and can work on iOS, Android and whatever platforms we'll be targeting in the future

What would that mean for this project, is that we change it from {uri, isStatic} to whatever data we decide on sending and then the image requests can be delegated to react-packager (or implemented here, doesn't really matter).

Ok I'll pull in this change, and we can revisit when react native's image packaging details are finalized.


Fullbleed article missing youtube embed link

For example on https://main--helix-sportsmagazine--headwirecom.hlx.page/content-v2/golf-news-tours/_default/article/2023/7/gerry-mcilroy-bet-rory-mcilroy-british-open-2023 the youtube embed isn't loading because it was not imported cc @hsaginor

Ok will look into the 2nd issue a bit more

@icaraps
I reimported the document https://docs.google.com/document/d/1bU0T0oSkFIFeopGSIVQD31sYS7tN1vqp2RxVDwwZHnE/edit
The imported link appears to be correct https://www.youtube.com/embed/yVuVnu74i5A
You might want to check the rendering code. The importer imports it correctly.

@hsaginor  You're right it must be the embed block that is messing up the rendering. I renamed the ticket accordingly 👍


Consider adding Interests::HUP

This would require a number of tests, following https://github.com/tokio-rs/mio/pull/933, https://github.com/tokio-rs/mio/pull/939 and the discussion in mio: https://github.com/tokio-rs/mio/issues/941.

This is not require to release the next version, so removing it from the project.


About page Navbar enhanced

Description
Enhanced the about page Navbar ui to make more professional the website also my  responsive for any size of screen.

Fixes:  #1571
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/34d681b9-96eb-4e29-8a11-be922f64cd73
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@biswajit-sarkar-007  Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution ! 🎉


Add a rule for non-activity to manage JupyterHub sessions

In order to claim back memory used by idle JupyterHub sessions, implement a rule for idle sessions. For a start, we should automatically kill sessions that have been idle for 3 days or more.

based on @MichaelTiemannOSC experience, timeout seems to be every 24 hours.  @redmikhail to see if "kill" setting can be modified to be 3 days and provide a warning 10 minutes prior to kill.

@redmikhail to work with @HumairAK to see if settings can be changed; @MichaelTiemannOSC to provide error/screen shot

This is for adding a jupyterhub idle culler, to reclaim unused/idle pods.

@redmikhail will follow up with @HumairAK


chore: switch back to rustls

Using native-tls for serve components is tricky/not possible. Having native OS for the client side of things might be nice, but having two TLS stacks in a single application doesn't feel good either.
Removing native-tls drops a number of dependencies, which might be a good thing too.

Curious if this will break Trunk for me again. Will report back when it's released

rusttls is already being used in the server side things of trunk. It actually removes a bunch of dependencies.

rusttls is already being used in the server side things of trunk.

I misunderstood. I thought rustls-native-roots was being swapped out for the non-native version. But this change probably won't affect me.

Nope, it should not affect you at all … I hope :crossed_fingers:


build-and-test workflow is failing due to CUDA runtime version

@knzo25 starting from this PR, The CI for build-and-test started failing:

https://github.com/autowarefoundation/autoware.universe/actions/runs/9590002364/job/26444678737#step:15:22008

8: C++ exception with description "cudaErrorInsufficientDriver<EMAIL_ADDRESS>CUDA driver version is insufficient for CUDA runtime version" thrown in the test body.

For some reason the has CI passed for the build-and-test-differential cuda yet it fails the build-and-test checks.
Originally posted by @xmfcx in https://github.com/autowarefoundation/autoware.universe/issues/6989#issuecomment-2186485659

@xmfcx
Kind of a nasty one as I run the tests a while ago with no errors. Will look into it asap, but this week I am full of deadlines...

@youtalk
I tried to reproduce the error using a docker and following the ci/cd commands whenever possible.
However, the tests pass:
9: -- run_test.py: invoking following command in '/home/kenzolobos/workspace/autoware/build/lidar_centerpoint':
9:  - /home/kenzolobos/workspace/autoware/build/lidar_centerpoint/test_preprocess_kernel
9: [==========] Running 4 tests from 1 test suite.
9: [----------] Global test environment set-up.
9: [----------] 4 tests from PreprocessKernelTest
9: [ RUN      ] PreprocessKernelTest.EmptyVoxelTest
9: [       OK ] PreprocessKernelTest.EmptyVoxelTest (45 ms)
9: [ RUN      ] PreprocessKernelTest.BasicTest
9: [       OK ] PreprocessKernelTest.BasicTest (7 ms)
9: [ RUN      ] PreprocessKernelTest.OutOfRangeTest
9: [       OK ] PreprocessKernelTest.OutOfRangeTest (7 ms)
9: [ RUN      ] PreprocessKernelTest.VoxelOverflowTest
9: [       OK ] PreprocessKernelTest.VoxelOverflowTest (7 ms)
9: [----------] 4 tests from PreprocessKernelTest (66 ms total)
9:
9: [----------] Global test environment tear-down
9: [==========] 4 tests from 1 test suite ran. (66 ms total)
9: [  PASSED  ] 4 tests.

Thanks @knzo25 , this explains why it specifically failed for the self hosted machines. I will try installing the dricer on the host machines and see.

I've installed CUDA 12.3 to both machines.
Running again:

common-runner-x64-01: https://github.com/autowarefoundation/autoware.universe/actions/runs/9676012953
leo-copper: https://github.com/autowarefoundation/autoware.universe/actions/runs/9675999034

They both failed with the same error: https://github.com/autowarefoundation/autoware.universe/actions/runs/9675999034/job/26698258077#step:15:22044
:confused:
Here is the results from host machine (leo-copper):
mfc@copper:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Wed_Nov_22_10:17:15_PST_2023
Cuda compilation tools, release 12.3, V12.3.107
Build cuda_12.3.r12.3/compiler.33567101_0
mfc@copper:~$ nvidia-smi
Wed Jun 26 13:44:42 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.42.02              Driver Version: 555.42.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1070        Off |   00000000:01:00.0  On |                  N/A |
| N/A   52C    P8             11W /  125W |     356MiB /   8192MiB |      8%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1086      G   /usr/lib/xorg/Xorg                            237MiB |
|    0   N/A  N/A      1333      G   /usr/bin/gnome-shell                          115MiB |
+-----------------------------------------------------------------------------------------+

The host machine has the necessary stuff and I've updated the rest of the machine with sudo apt update && sudo apt dist-upgrade. Then restarted them for good measure too.
@knzo25 I don't know what is missing then :(

I have about the same as you :cry:
kenzolobos@desktop:~/workspace/autoware$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Wed_Nov_22_10:17:15_PST_2023
Cuda compilation tools, release 12.3, V12.3.107
Build cuda_12.3.r12.3/compiler.33567101_0
kenzolobos@desktop:~/workspace/autoware$ nvidia-smi
Wed Jun 26 19:59:29 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.15              Driver Version: 550.54.15      CUDA Version: 12.4     |

I was going to recommend a reboot but you already did it. In the past when changing versions, unload and reload the kernel modules worked when nvidia-smi did not work, but this is not the case. Do you have the cuda samples in that machine to check if those run?

Do you have the cuda samples in that machine to check if those run?

I followed the regular steps as always while installing from here: https://github.com/autowarefoundation/autoware/tree/main/ansible/roles/cuda#manual-installation
I will install the nvidia-driver-550 and try again. (this is what I have on my daily work pc as well)

I think I've understood everything now.
VoxelGeneratorTest.TwoFramesNoTf this test is failing.
What are the changes that caused it?
In the PR here

  auto points_d = cuda::make_unique<float[]>(capacity_ * config.point_feature_size_);
  cudaMemcpy(
    points_d.get(), points.data(), capacity_ * config.point_feature_size_ * sizeof(float),
    cudaMemcpyHostToDevice);

CUDA calls are being made.
I think before these, no serious CUDA calls were being made. Most of them could run on cpu too probably.
What are the runner specs?
GitHub hosted runners
These are CPU only, here are their specs.
Right now every job except:

ARM64 workflows
build-and-test
build-and-test-daily

are running on them.
Self-hosted runners
And we have 2 machines here:

leo-copper: has GTX1070
common-runner-x64-01 c6a.xlarge cpu-only

These run:

build-and-test
build-and-test-daily

⚠ nvidia_container_toolkit was not installed on these machines.
Then how did it pass the b&t-diff in the first place then?
This is the first fishy part from the lidar_centerpoint PR b&t-diff CI run:

Finished <<< lidar_centerpoint [1min 37s]

On my high end machine,

Finished <<< lidar_centerpoint [4min 45s]

This is too fast for this package.
And looking at its tests:
Almost no tests are performed, including VoxelGeneratorTest.TwoFramesNoTf
I didn't investigate deeper on why this didn't run.
Verdict
I think, until this PR, no serious CUDA code was in the colcon tests before.
Mostly simple stuff that could also be run on the CPU were tested.
For CUDA only tests to run, we need CUDA capable machines with GPUs.
These tests cannot be done on neither GitHub hosted machines nor the AWS cpu-only runner that we have.
I have now installed the nvidia_container_toolkit on the leo-copper machine with GTX1070 and restarted the machine.
Started the test again. But it will probably fail because I don't think when GitHub initiates the containers, it passes --gpus all flag to the containers.
I will look into it to see how I can do that for that machine.

Then how did it pass the b&t-diff in the first place then?

Found out the bug in:

https://github.com/autowarefoundation/autoware.universe/pull/7712#issuecomment-2191900752

Now it fails on build-and-test-differential too.

The tests are alright because when I've configured leo-copper machine, it passed entire build-and-test successfully.
See:

https://github.com/autowarefoundation/autoware.universe/pull/7721

But we will have to disable the tests that fail on non-cuda capable machines. Because we don't have the infrastructure ready to handle gpu based testing for every PR etc.
I will open up an issue to track disabled tests that should be re-enabled once CUDA capable machines are back.

With all the CI cache related issues are fixed, CI filter issues solved, GPU requiring tests are disabled and tracked, and most importantly, build-and-test now passing, I think we can close this issue.
If you have any questions left, please feel free to ask.


Docker

It would be super convenient to have a Docker Compose file for Fatebook, to make it easy to self-host. Thanks!

Thank you, we intend to set this up at some point!


Asset Tag Validation

https://github.com/openbmc/openbmc/issues/1854

[ ]  Asset Tag Validation - Basic

[ ] Prefer to have asset tag default value should have system serial number - you may want to open enhancement for that.

https://gerrit.openbmc-project.xyz/#/c/5687/


Unity Adapter update to UnityAds SDK v3.7.0

Creating PR for internal feedback before opening on https://github.com/googleads/googleads-mobile-android-mediation.
Updates AdMob UnityAds adapter to UnityAds 3.7.0 (Show API).

Replaced with https://github.com/Applifier/googleads-mobile-android-mediation/pull/17 to fix commit history.


Export include path in build metadata

This patch uses build metadata to export the directory containing the include files for the copy of Lua that is built.  This allows downstream crates that use the Lua C API to use the same include files that are used to build Lua itself in this crate, by reading from the DEP_LUA_INCLUDE environment variable.

LGTM, however I would recommend using one of the other lua binding crates as I haven't kept up with rust so I'm unable to review many patches properly.

LGTM, however I would recommend using one of the other lua binding crates as I haven't kept up with rust so I'm unable to review many patches properly.

Thanks for the quick turnaround, and understood re your recommendation.  I had looked at mlua and rlua, but they seem to be attempting to add too much "magic" to the bindings; I appreciated your approach of providing an API that's still very similar to the underlying Lua C API, but with some Rust niceties.  I'll see if I can get something similar out of the other crates.


[IR] Implement lowering back to control-flow primitives and vars

Lowering can be performed in one TopDown.exhaust pass, using the following meta-information

For each ParDef, the set of associated ValDef bindings (can be extracted from the CFGraph).
A set of fresh VarDef symbols in 1:1 relation and replacing the ParDef symbols.
An accumulated set of all VarDef symbols for which a VarDef node has already been created during the traversal.

Auxiliary Definitions

Let descendants(f) be the set of descendants of the function f (including f itself).

Let calls(F) be the set of all functions g called directly by some f ∈ F. We write calls(f) instead of ({f}) for simplicity.

The following invariants hold for function symbols f generated by a DSCF pass.
TODO: proof by induction
While Loop

|children(f)| = 2.
calls(f) = children(f).

Let g and h be the two functions called by f (which are also its only children).

f ∈ calls(descendants(g)) XOR f ∈ calls(descendants(h))

Transform locally as follows:
${fix(vals)}
while(b) {
  ${inline(f)}
} (b)
${inline(h)}

or the symmetric case, depending on (3).
If-Else Loop

|children(f)| = 3.
|calls(f)| = 2.
calls(f) ⊂ children(f).

Transform locally as follows:
${fix(vals)}
if (b) ${inline(f)}
else ${inline(h)}
${inline(k)}

These functions are expanded recrusively in the then and else branches.
Do-While Loop

∃ g ∈ descendants(f), h ∈ children(f). calls(g) = {f, h} AND f ∉ calls(h)

(1) implies that some g contains a let expression head of the form
if (b) f(...)
else h(...)

Transform locally as follows:
do {
  ${fix(vals)}
} while(b)
${inline(k)}

The purpose of this is to avoid the overhead of the trampolines?
I'm asking because now I'm working on the transformation that inserts the .cache calls, and I'm thinking that maybe it would be actually simpler to implement it not on the DSCF representation, but on control-flow primitives, i.e. after the  transformation that is described in this issue.
The problematic case is when .cache should be inserted because a DataBag is used inside a loop, but is defined outside of it. This somehow seems painful to dig out from the DSCF representation.

Yes, it's for efficiency.
I was thinking that DSCF Is good precisely for things such as inserting cache calls.
Basically every term that is either used more than once or passed to a local def as a parameter should be cached.

passed to a local def as a parameter should be cached.

This doesn't include that situation that I described above.

For caching loop invariant dataflow paths you can characterize loops by a recursive call structure - if f is a loop then it must call itself either directly or by one of its DefDef children.

This is an additional complication. For the moment, I just assumed that I see a loop if the name of the DefDef matches (while|doWhile)\$.*, but even with this simplification it's hard.
The main problem is that the suffix DefDefs are also inside the loops, but we don't want to insert .cache, when the DataBag is used in a suffix, and not really in the loop.

If neither f nor any of its children will call a recursive ancestor g then f must be outside the body g.

I will add some example code today.

It's possible to do it on DSCF, but it seems rather complicated.

I don't think it will be much more complicated to define it on LNF if we come up with the right attributes, but if you prefer do it on  SourceANF I won't insist :) I will try to come up with a working solution of undscf in the next days.

Maybe this translation will be easier if use annotations to mark which method was a branch, while or do-while loop.

I think that @ggevay came up with something that uses the control flow graph.

Sorry, the remark was related to #281. For #280 I would try to do this in a pure way first as I would like to understand better the connections between the original Emma Source and the procued LNF forms, especially with respect to properties that should be present in the LNF if it should correspond to some Emma Source expression.


docs(pdk) Correct a code example for kong.Ctx.SetShared()

Small enhancement so that a code example adheres to the underlying API

 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.


Migrate to Grafana SDK and implement /opt/resource/check

Grafana now supports a GET endpoint for annotations which can be filtered based on tag. This allows us to find all annotations the match the tags configured in the source and order them based on time to implement the check interface properly.
As part of implementing this I needed to pull all the shared Grafana client stuff out of just pkg/out. I decided to check if there was an SDK or package I could use and it turns out there is an official Grafana one which saves a bunch of boilerplate. I kept the httpmock stuff as there aren't great tests for the Grafana SDK so it serves as pretty good proof that the SDK is doing (almost) the exact same thing the hand rolled client was

Hi folks - we're going to close this PR for now as it's gone stale.


Subclassing JSONSchema validator class with OAS30Validator

OAS 3.0 is incompatible with JSON Schema because it assumes context-sensitive validation (readOnly and writeOnly for request and response), which JSON Schema doesn't support.
Subclassing jsonschema validator classes is not intended to be part of their public API but it's the only way to add  context-sensitive validation support.

With new OAS30ReadValidator and OAS30WriteValidator this is no longer the case hence closing.


Last release 2.0.0 on Pypi broke Python deployments older than 3.6

Results
Right now, installing httpie with pip, hence from Pypi, with a Python version inferior to Python3.6, it will still select the release 2.0 of httpie which won't be compatible.
So, right now, with the current release of the 2.0, all builds/setups requiring httpie and using a Python version inferior to Python 3.6, are breaking, but that should not be the case.
Context
The release 2.0 of httpie broke automated builds and setups for the following reasons:

The setup.py file is missing python_requires.
The upload to Pypi was not done with the right parameters/command so that the wheel for 2.0 is still marked as compatible with Python2 on Pypi whereas it was the first release of httpie dropping its support:

Resolution
What should be done to fix the problem:

add python_requires='>=3.6', in setup.py and commit in a seperate release branch where the commit a7e5228 has been checked out.
choose a new git tag following semver (if possible) based on the current release tag, so for instance: 2.0.0-post, 2.0.0-a or 2.0.0-fix, etc
re-upload the new fixed "2.0" release with a new release name (potentially identical to the git tag) on Pypi with the right commands & parameters (see comment below).
delete the current release 2.0 from Pypi (Better to do it last, in order not to break Python3.6+ deployments while doing those steps to save pre-Python3.6 deployments)

I know that this is no ordinary task. :smiley:

I have already helped another maintainer last year in offering to do the same kind of tasks.
For more details on which setup.py and twine commands to use, please refer to the Resolution Steps 2 et 3 in that Issue comment.

Thanks for the elaborate report, @piroux. I have tried to fix the issue following your tutorial, but I was unable to  get it fully to work. The problem was PyPi not accepting a suffixed version, and also with the package configuration and twine invocation. I would be happy to accept a PR for this. (I have tried a few times and ended up publishing and then deleting v2.0.1).

Buy Valid Cvv CC Dumps Track 1/2 CC SSN DOB Track-1/2-FULLZ-Transfer/Western union Bank-Log-In-PayPal-Transfer-and-Log-In Buy/sell CVV CC DOB SSN FULLZ - Dumps Pin...
Telegram.@Ykidven
Cc Format Is
Format is:
Card Number | Exp. Date | CVV/CVV2 | First Name | Last Name | Street | City
| State | Zip Code | Country | Phone | Type Of Card | Bank Name
I'm Loading All Types Of Paypal Account With No ChargeBacks... Cash app Loading I Can Load All Non Verified Account with No Problem Or Verified PayPal Account..I Even Sell Paypal Logs At Cheap Prices....Pm Me If You Interested In Loading Your Paypal Account
Telegram.@Ykidven
Paypal Transfer Price List
20$ for 250$
30$ for 350$
40$ for 400$
50$ for 500$
60$ for 600$
70$ for 700$
80$ for 800$
90$ for 950$
100$ for 1500$
CashApp Transfer Price List
20$ for 250$
30$ for 350$
40$ for 400$
50$ for 500$
60$ for 600$
70$ for 700$
80$ for 800$
90$ for 950$
100$ for 1500$
200$ for 3000$
Telegram@Ykidven
Doing Wu Transfers
I Am Doing Wu Transfer Here And I Need I Very Serious Buyer Who Also Want To Work With Me And Make Money With Me Here...
Note...i will Do The Transfer Then After you Track The Mtcn You Make Payment Before you have the sender's Info
Western Union Price List
30$ for 350$
40$ for 400$
50$ for 500$
60$ for 600$
70$ for 700$
80$ for 800$
90$ for 950$
100$ for 1500$
200$ for 2500$
Telegram.@Ykidven
Telegram.@Ykidven
Telegram.@Ykidven
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

This is now resolved.
Releases starting with version 2.1.0 have the correct python_requires='>=3.6'.
The 2.0.0 PyPi package has been yanked (it cannot be installed without specifying the exact version — pip install httpie==2.0.0).


Appstudio update test-component-pac-nuqb

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-nuqb-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
32 seconds
build-container

✅ Succeeded
12 seconds
deprecated-base-image-check

✅ Succeeded
13 seconds
inspect-image

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
38 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
22 seconds
label-check

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-nuqb-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
36 seconds
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
16 seconds
label-check

✅ Succeeded
5 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary


New moderation API endpoints announced

Feature Request
New moderation API endpoints were announced today (in open beta).
https://discuss.dev.twitch.tv/t/new-moderation-api-endpoints-are-now-in-open-beta/34938

I generally wait until an endpoint is out of beta before implementing it. Therefore, I can not anticipate which version this will be part of.

They're out of beta now! 🎉 I could implement them for 5.1 if that's okay? Unless @serycodes or you, @d-fischer, want to do it of course.

@d-fischer While working on this, I saw that the Get Banned Events and Get Moderator Events endpoints will be shut down on March 15th. Shall I mark them as deprecated and add that into this change, or should we get it into 5.0?

@d-fischer While working on this, I saw that the Get Banned Events and Get Moderator Events endpoints will be shut down on March 15th. Shall I mark them as deprecated and add that into this change, or should we get it into 5.0?

Things deprecated by Twitch can be marked as deprecated in the code at any point :) so I'd go for a deprecation for the next 5.0 patch instead.
For any other deprecations, I'd just add them in minor (or major) releases, not in patches. Twitch product deprecations are a special case though.
Feel free to ask questions like this in the Discord channel though! I want to move towards a more transparent development process, and that's one step towards this.

@d-fischer Ah gotcha! And yes, good idea, I'll use the Discord from now on.

@CaveMobster Are you implementing the other endpoints (bans, blocked terms, chat settings) as well?

@CaveMobster Are you implementing the other endpoints (bans, blocked terms, chat settings) as well?

Yes. I planned on having it finished already but life got in the way. Apologies, will get to it as soon as I can.

No worries then, life always has priority 😅

Well, life still hasn't calmed down it seems, so if anyone would like take this issue you're free to do so imo. I can be the backup for it, but it'll take at least a few more days, probably longer, for me to get in the right mindset again.

With my latest PR, that should cover the rest of the new moderation endpoints. I might try to add the chat settings endpoints as well, but I think that may be outside of the scope of this issue and could warrant a separate one. Thoughts?


Clone from github not private repo

Not sure who from Cardiff is still managing this? Hope this change is trivial though.

Turns out there's more issues than just this. Will replace with another larger PR.


Error running with bundler 1.6.4

The result:
$ bundler-updater
Scanning for outdated gems...
/var/lib/gems/2.0.0/gems/bundler-updater-0.0.3/lib/bundler/updater/cli.rb:59:in all_gem_specs': undefined method silence' for #Bundler::UI:0x0000000261a150 (NoMethodError)
from /var/lib/gems/2.0.0/gems/bundler-updater-0.0.3/lib/bundler/updater/cli.rb:26:in outdated_gems_to_update'         from /var/lib/gems/2.0.0/gems/bundler-updater-0.0.3/lib/bundler/updater/cli.rb:9:in update'
from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run'         from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'
from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in block in invoke_all'         from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in each'
from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in map'         from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in invoke_all'
from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/group.rb:232:in dispatch'         from /var/lib/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'
from /var/lib/gems/2.0.0/gems/bundler-updater-0.0.3/bin/bundler-updater:4:in <top (required)>'         from /usr/local/bin/bundler-updater:23:in load'
from /usr/local/bin/bundler-updater:23:in `'
I have bundler 1.6.4.

i believe the silence method was added in bundler 1.8.
http://www.rubydoc.info/github/carlhuda/bundler/Bundler/UI/Shell#silence-instance_method
Bundler 1.6.4 was released july 2014 and i don't have it on my radar for support.  if you'd like to contribute a pull request to add compatibility and can test for regressions, let me know.

Why wouldn't you specify depency in your Gemfile?

patches are welcome of course.
I find it overly restrictive to "require" gem versions for libraries.  I do my testing with the latest versions, but that does not prevent most libraries from working with relatively older version.


Fix callback_plugin path

When concatenating several paths, they must be separated using a colon
(':') sign.
Fixes metacloud/molecule#82

:+1:


Add test suite

There are currently no test for this code (unit or CI). We should add at the minimum tests that verify that this still compiles under the most commonly used compilers (g++ and clang with c++11, 14, and 17 features).

Once test suite is created we should set it up to run as CI #5.

@m-renaud Please see my testing branch in my fork.
Unit testing is enabled by providing DLIBXX_ENABLE_TESTS=ON when invoking cmake.
I have opted to use googlemock since it is what I am most familiar with. I have written a mock to handle the dl* calls allowing me to hook in my own return values.
Let me know what you think.


[FEAT]: Retrieve User's Organizations with Pagination

Backend API Endpoint: Retrieve User's Organizations with Pagination
Description:
Develop a backend API endpoint that allows users to retrieve all organizations they are a part of by providing their user ID. The endpoint will support pagination to efficiently handle large lists of organizations.
Acceptance Criteria:
Endpoint:

Method: GET
URL: /api/users/:user_id/organizations

Request:

Headers:

Authorization: Bearer <JWT_token> (A valid JWT token must be included in the Authorization header)

Parameters:

user_id (The user ID should be specified as a URL parameter)

Query Parameters for Pagination:

page (default: 1) - The page number to retrieve
limit (default: 10) - The number of organizations per page

Response:
On success with organizations:
{
  "status": "success",
  "message": "Organizations retrieved successfully",
  "status_code": 200,
  "data": {
    "organizations": [
      {
        "org_id": "string",
        "name": "string",
        "description": "string"
      }
    ],
    "pagination": {
      "total_items": 100,
      "total_pages": 10,
      "current_page": 1,
      "page_size": 10
    }
  }
}

On success with no organizations:
{
  "status": "success",
  "message": "No organizations found for the user",
  "status_code": 200,
  "data": null
}

On error (e.g., unauthorized access):
{
  "status": "error",
  "message": "Unauthorized access",
  "status_code": 401
}

On error (e.g., user not found):
{
  "status": "error",
  "message": "User not found",
  "status_code": 404
}

Validation:

Ensure the user_id exists and is valid.
Validate the JWT auth token.
Validate the page and limit query parameters.

Purpose:
To enable users to retrieve a paginated list of all organizations they belong to by their user ID, ensuring efficient data handling for large datasets.
Expected Outcome:
A fully functional backend API endpoint that allows users to retrieve all organizations they belong to by their user ID, with support for pagination. If the user does not belong to any organizations, the response should clearly indicate this.
Tasks:

[ ] Implement the GET endpoint to retrieve all organizations a user belongs to, with pagination support.
[ ] Validate inputs (user ID, JWT token, pagination parameters) and handle errors appropriately.
[ ] Write unit tests for the endpoint to ensure it handles both valid and invalid inputs correctly.

Test Scenarios:

Retrieve organizations successfully: Use a valid user ID, JWT token, and pagination parameters to retrieve the list of organizations.
Handle case where user belongs to no organizations: Ensure the response indicates no organizations found when the user is not a member of any organizations.
Fail to retrieve organizations with invalid user ID: Verify the endpoint returns an appropriate error message and status code when an invalid user ID is provided.
Unauthorized access: Verify the endpoint returns a 401 status code when the request is made without a valid JWT token.

The deletion should be easier

this appears to be duplicated. If it is the same as the old one, then the old one is the valid one

No  the ones I can see is just receiving user's organisation. Mine is retrieve users organisation with pagination
#79 and #147

No the other one is to retrieve organisation, mine is to retrieve organisation with pagination does it mean is still the same???

The other retrieve organisation didn't have pagination so I decided to
create an issue that while retrieving an organisation there should a
certain number of organisation per page
On Thu, 18 Jul 2024, 05:23 Mark Essien, @.***> wrote:

this appears to be duplicated. If it is the same as the old one, then the
old one is the valid one
—
Reply to this email directly, view it on GitHub
https://github.com/hngprojects/hng_boilerplate_nestjs/issues/152#issuecomment-2235303104,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2PL3ZT4QORVA6MUQ52GTYDZM47LHAVCNFSM6AAAAABLA5NY6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZVGMYDGMJQGQ
.
You are receiving this because you were assigned.Message ID:
@.***>

This is a duplicate of mine #154

Created a new issue

I've created a new issue from a suggestion from Mark suggestions

After noticing this is a duplicate issue, I edited the issue title and comment to the new issue entirely from Mark’s suggestions this morning.
I removed the "Approved -1st Mentor" label to get approved so that Mark can review it again.

Why did you remove the Approved -1st Mentor" label?
Get that label first from Mark

I removed it because the Approved -1st Mentor label was for an issue that was a duplicate
So I edited it the way Mark told me this morning in the meeting and removed the label so he can review it again.

I'm sorry Mark for the edits, all I'm trying to do is to avoid a duplicate.
After noticing this is a duplicate issue, I edited the issue title and comment to the new issue entirely from Mark’s suggestions this morning.
I removed the "Approved -1st Mentor" label to get approved so that Mark can review it again.

I can't assign my other team members I can only assign myself @ZEED2468
TEAM UZI
@theijhay  FastApi
@sparkybug laravel


Error with test to verify installation

Hi Maggie,
I was checking if the installation had been successful and tried to run the provided test:
fusionseeker --bam FusionSeeker/testdata/test.bam  -o test_out/ --datatype isoseq --ref FusionSeeker/testdata/test.fa.gz
unfortunately I only got the following error messages:
Traceback (most recent call last):
File "./fusionseeker", line 104, in
raw_signal.detect_from_split(defusion_args.outpath,goodchrom)
File "/opt/FusionSeeker/raw_signal.py", line 373, in detect_from_split
allsplitread+=open(outpath+'raw_signal/record_read_'+chrom,'r').read().split('\n')[:-1]
FileNotFoundError: [Errno 2] No such file or directory: 'test_out/raw_signal/record_read_chr20'
I then removed the test_out/ folder to try again and instead got the same error but for record_read_chr17 (I had not changed anything in my command)
Traceback (most recent call last):
File "./fusionseeker", line 104, in
raw_signal.detect_from_split(defusion_args.outpath,goodchrom)
File "/opt/FusionSeeker/raw_signal.py", line 373, in detect_from_split
allsplitread+=open(outpath+'raw_signal/record_read_'+chrom,'r').read().split('\n')[:-1]
FileNotFoundError: [Errno 2] No such file or directory: 'test_out/raw_signal/record_read_chr17'
Any suggestions on how to resolve this error would be much appreciated.
Other notes
I had set up my environment with Anaconda3 not Anaconda2, but I do not imagine this would be the cause of the issue given the dependancy on Python 3

I was able to resolve the error by creating empty files with the name of the record_read_chr17 and record_read_chr20

after checking the testdata/ folder to check confident_genefusion.txt, I now realise this wasn't right because the fusion was meant to be between chr17 and chr20. there could be an error in how the raw_signal is generated???


⚠ Roblox Site has degraded performance

In 9d1a810, Roblox Site (roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2924 ms

Resolved: Roblox Site performance has improved in ab80abc after 9 minutes.


Switch to BSD-3-Clause license

There is absolutely no point in Apache for something this small.

I forgot... I extended existing Apache code. That was why I licensed it like that in the first place...
:(


[AIRFLOW-1078] Fix latest_runs endpoint for old flask versions

Old versions of flask (<0.11) dont support jsonify on arrays due an
ECMAScript 4 vulnerability in older browsers. This should work on old
flask versions as well.
Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1078

Description

[x] Here are some details about my PR, including screenshots of any UI changes: see http://flask.pocoo.org/docs/0.12/security/

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason: Unit tests exist for the homepage. Tested this by downgrading flask and verifying that it worked.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2224 into master will increase coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2224      +/-   ##
==========================================
+ Coverage   68.07%   68.11%   +0.03%
==========================================
  Files         142      142
  Lines       10938    10938
==========================================
+ Hits         7446     7450       +4
+ Misses       3492     3488       -4

Impacted Files
Coverage Δ

airflow/www/api/experimental/endpoints.py
86.95% <0%> (ø)
:arrow_up:

airflow/jobs.py
73.58% <0%> (+0.41%)
:arrow_up:

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 4c41f6e...49d36be. Read the comment docs.


refactor(icon): update css folder icon

With the official release of the CSS icon, this PR he updates the css folder icons currently using the old icon to use the new icon.
Changes proposed:

icons/folder_type_css.svg

All colours were updated to use rebeccapurple.
The icon was positioned to sit on the document the same as the previous icon.
The file was optimised and minified using SVGOMG.

icons/folder_type_css_opened.svg

All colours were adjusted to mirror the HSL recommendations from the VSCode-Icon project  documentation: Contributing with Icons
The file was optimised and minified using SVGOMG.

Additional reworks:

Darkened the purple for the closed css folder icon to discern between the folder and the icon itself,
Restored original css icon as css2
Restored original cssmap icon as css2map
Restored original css folder icon as css2
Updated supportedFolders.ts with css2 entry
Updated supportedExtensions.ts with css2 and css2map entries

@robertohuertasm, while I'm in no rush and definitely do not want to take up your time during the holiday period I may need some guidance on the failing tests for the changes on the supported extensions/folders files when you have time?

@robertohuertasm, while I'm in no rush and definitely do not want to take up your time during the holiday period, I may need some guidance on the failing tests for the changes on the supported extensions/folders files when you have time?

It's a formatting issue with the css2map declaration.
The file should have been formatted with Prettier.

Since we are talking about colors. If it was up to me I would had used the color tone of the open folder for the closed one (to make the css part distinguishable, an not the folder) and an even lighter tone for the opened one. At least that was my guide when I was creating the icons.


renderBackground  touchable

I put image slider to rederBackground but it seems renderBackground isn't touchable part of ParallaxScrollView
How can i fix it ?
Thx

Could be great, someone has an idea ?

HI
Any body has any update on this? I have some stats in bg, which I want to clickable...
Regards,

The same problem with renderForeground

I put the component with TouchableOpacity to be rendered in the renderForeground or renderBackground props of the component. They can't be clicked. How to solve it?

The same here... If I render sticky header It covers the button which I have in the foreground and it isn't clickable ( you can click on it when sticky header appears ... zIndex doesn't help)

the same problem any solution ?

I was able to solve the problem using the onChangeHeaderVisibility method and changing the stickyHeaderHeight.
onChangeHeaderVisibility={(visible: boolean) => {         this.setState({ visibleHeader: visible });    }}
stickyHeaderHeight={!this.state.visibleHeader ? 100 : 1}

The same here... If I render sticky header It covers the button which I have in the foreground and it isn't clickable ( you can click on it when sticky header appears ... zIndex doesn't help)

I was able to solve the problem using the onChangeHeaderVisibility method and changing the stickyHeaderHeight.
onChangeHeaderVisibility={(visible: boolean) => { this.setState({ visibleHeader: visible }); }}
stickyHeaderHeight={!this.state.visibleHeader ? 100 : 1}

@matheussblima thanks your solution worked for me +1


⚠ Bofrost.de has degraded performance

In 7329709, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1447 ms

Resolved: Bofrost.de performance has improved in 2a8580d after 6 minutes.


Document the progress report workflow

Document:

Paul's preferred workflow for actually writing it
The fact that the webp conversion script exists and how to use it
How to get the contribs list from git bash commands until #28 is done
Have a list of everywhere the PR needs to be posted/linked.

I've been told it's documented on a private wikijs page (which needs to be made public).

Wikijs page is now public: https://docs.spacestation14.io/en/cooking-a-progress-report
But it needs some love.

https://docs.spacestation14.io/e/en/cooking-a-progress-report


Use (git clone --depth=1) to speed up testing

Original: 14m1s:
+ git clone https://github.com/docker/distribution.git …
real	0m1.818s
user	0m1.580s
sys	0m0.376s
+ git clone -b v1.5.0-alpha.3 git://github.com/openshift/origin …
…
real	2m34.227s
user	4m18.844s
sys	0m8.144s

New: 12m6s:
+ git clone --depth 1 -b v1.5.0-alpha.3 git://github.com/openshift/origin …
…
real	0m8.816s
user	0m2.640s
sys	0m0.856s

This adds --depth 1 to the checkout of openshift/origin, saving about 700 MB of downloads, and more importantly about 2 minutes of test run time in Travis, both for skopeo and containers/image.
@runcom PTAL.

LGTM

Can we do similar things in CRI-O?

Probably; are any of the cloned repos that big, though? At least from a quick grep I couldn’t find anything cloning all of Kubernetes, for example.


add graceful shutdown

Adds graceful shutdown logic with a SIGTERM
fixes a few variables for the command line parser
adds an address argument

Side note: I'm using rust 1.56.0 and the server is using VmRSS:      1140 kB.

act now runs successfully.
documenting this here. we should make a Justfile to run it:
docker run -e AUTH_KEY=foo -p 80:8080 --network bridge -d ghcr.io/jefuller/artifact-server:latest

act -j doc \
  --env ACTIONS_CACHE_URL=http://localhost/ \
  --env ACTIONS_RUNTIME_URL=http://localhost/ \
  --env ACTIONS_RUNTIME_TOKEN=foo

Uh, I think we have to add the rustfmt component to make the CI happy:
error: 'rustfmt' is not installed for the toolchain 'nightly-x86_64-unknown-linux-gnu'
  To install, run `rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu`

Thanks for the review.... Fixed.

Thanks!


Question: would this work with ps/2 to AT and ps/2 to serial adapters?

The title pretty much says it all... May I use this along ps/2 to AT adapters (for keyboards) and PS/2 to serial mice adapters? That way I don't have to build this thing twice!

Woops, just saw issue #5


Add explicit support for Python 3.11

Codecov Report

Merging #164 (430fa34) into master (0cc1528) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #164   +/-   ##
=======================================
  Coverage   89.41%   89.41%
=======================================
  Files          11       11
  Lines        1200     1200
=======================================
  Hits         1073     1073
  Misses        127      127

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 0cc1528...430fa34. Read the comment docs.


[ENTESB-5168] create different features file for Fuse 6.3

we need different servlet-api bundle for Fuse 6.2
and Fuse 6.3. Separate feature files seem to be the
only way to do so. From now on, the feature files
should include the target Fuse version in the name.
Keeping features.xml (for Fuse 6.2) because of
backward compatibility

@mariofusco please take a look
@dvirgiln could you please double check this is what you meant?
@winklerm, @jiripetrlik FYI

+1 it is ok!

+1


[New UI] Display in-progress results in TypeError [...] os.PathLike object

Linux x86, Anaconda, CPU-only, on commit c09e81e21be8c77c2b473aa2ca816f97645923ad
Getting a new error now, something related to path, it seems.
[Traceback (most recent call last):
  File "/home/user/InvokeAI/backend/server.py", line 795, in generate_images
    image_callback=image_done,
  File "/home/user/InvokeAI/ldm/generate.py", line 413, in prompt2image
    results = generator.generate(
  File "/home/user/InvokeAI/ldm/dream/generator/base.py", line 73, in generate
    image = make_image(x_T)
  File "/home/user/anaconda3/envs/ldm/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/user/InvokeAI/ldm/dream/generator/txt2img.py", line 34, in make_image
    samples, _ = sampler.sample(
  File "/home/user/anaconda3/envs/ldm/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/user/InvokeAI/ldm/models/diffusion/ksampler.py", line 83, in sample
    K.sampling.__dict__[f'sample_{self.schedule}'](
  File "/home/user/anaconda3/envs/ldm/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/user/anaconda3/envs/ldm/lib/python3.9/site-packages/k_diffusion/sampling.py", line 103, in sample_heun
    callback({'x': x, 'i': i, 'sigma': sigmas[i], 'sigma_hat': sigma_hat, 'denoised': denoised})
  File "/home/user/InvokeAI/ldm/models/diffusion/ksampler.py", line 66, in route_callback
    img_callback(k_callback_values['x'], k_callback_values['i'])
  File "/home/user/InvokeAI/backend/server.py", line 678, in image_progress
  File "/home/user/InvokeAI/backend/server.py", line 577, in save_image
    prefix = pngwriter.unique_prefix()
  File "/home/user/InvokeAI/ldm/dream/pngwriter.py", line 20, in __init__
    os.makedirs(outdir, exist_ok=True)
  File "/home/user/anaconda3/envs/ldm/lib/python3.9/os.py", line 210, in makedirs
    head, tail = path.split(name)
  File "/home/user/anaconda3/envs/ldm/lib/python3.9/posixpath.py", line 103, in split
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not int](url)

Only when "display in-progress" is enabled.
Originally posted by @timdesrochers in https://github.com/invoke-ai/InvokeAI/issues/758#issuecomment-1258784677

Thanks, I neglected to test progress images during some recent changes. Fixed in PR #826.


⚠ ClamAV has degraded performance

In d65e28e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 75 ms

Resolved: ClamAV performance has improved in b2d62ee.


IMPRO-1519: extrapolate clize

Now that wind speed and directioni get converted to UV, speed and dir can be removed.
This means that all the different tests for the combination of cubes can now be removed.
Removed tests

test_model_winds

No wind cubes

test_invalid_advection

No wind cubes

test_unavailable_pressure_level

No wind cubes

test_invalid_cubes

This is covered by the loading of the cubes.

Now that orographic_enhancement outputs one cube, the test for this should only accept a single cube. this test has

new merged cube as input

./nowcast-extrapolate/extrapolate/orographic_enhancement.nc

Resolve wind compontent needed WSPD and WDIR as it was importing from here.
Testing:

[x] Ran tests and they passed OK

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity decreasing per file
==============================
+ lib/improver/tests/acceptance/test_nowcast_extrapolate.py  -1
+ lib/improver/cli/nowcast_extrapolate.py  -8

Clones added
============
- lib/improver/cli/nowcast_extrapolate.py  1

Clones removed
==============
+ lib/improver/tests/acceptance/test_nowcast_extrapolate.py  -2

See the complete overview on Codacy

Please change the pull destination to be the Clize feature branch.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity decreasing per file
==============================
+ lib/improver/tests/acceptance/test_nowcast_extrapolate.py  -1
+ lib/improver/cli/nowcast_extrapolate.py  -10

Clones removed
==============
+ lib/improver/tests/acceptance/test_nowcast_extrapolate.py  -2

See the complete overview on Codacy


Trying to Create student fails

I know Python but quite newbee in Django usage ;-)
I successfully installed your project and run it as well
I also succeed to created Programs, Semesters, Courses and Sessions even if I don't know exactly how it's architectured.
My issue
I'm continuously failing trying to add Student .
The page 'http://<IP_ADDRESS>:8000/accounts/student/add/' always send back "Correct the error(s) below." after activating Save button.
All the student fields are correctly completed.
Also no error detail in server logs.
I saw in https://github.com/adilmohak/django-lms/issues/36 that Passwords are sent by mail.
Is there an option or a way which could allow to perform such action through the "accounts/student/add" page ?
Thanks for your help,
regards,
Martial

@madum31 This bug seems to be resolved now, have you tried the latest changes?


[PROJECT] Fiscal hosts onboarding redesign

Purpose
Onboarding a new host usually needs our direct involvement and we have to hold their hand. With all the new additions and improvements we have been doing this year (#2896, #3105, #3592) it has become necessary to put attention to the process to create new hosts, which is almost non-existent now.
Current flow

CTA from the homepage →
[Docs] Becoming a Fiscal Host →
[Docs] Create a Fiscal Host →

 ---

Scope

Onboard new hosts with a consolidated flow with a nice experience and clear info
Include the 'Become a fiscal host' marketing page at the beginning of the process
Include the new info about pricing somewhere in the flow
Homologate the design with the 'Create Collective Flow' to build consistency in our flows

Owner
@Memo-Es
Note: Project owner responsibilities include coordinating all the different people that need to contribute to the project, defining specs and goals, communicating project progress, being the point person for decisions, QA, documentation, and a plan for ongoing maintenance. If the project owner can't continue, they need to hand the role over to another person explicitly.
Prioritization

Does this serve our mission?
Yes, now that we have substantially improved the host experience with the new dashboard features and settings, it makes sense to update the onboarding process to complete the host experience.

Will this help to make us financially sustainable within a year?
Yes, it helps us onboard more small hosts automatically and build strategic partnerships with the bigger ones.

Is it feasible to build and maintain with our team and runway?
Yes

Can this make us move faster?
Yes, since it will ideally require no support on our side to onboard new hosts

Does this increase quality and not technical debt?
Yes, we are improving the automation of the creation of new host organizations.

Will this bring us more Collective and financial contributors?
Yes, more hosts = more Collectives = more contributions and money flowing in the platform

Is this already solved elsewhere or is it our unique contribution?
Fiscal hosts are one of the signature features of OC

Roadmap & Timeframe
Tasks

[x] Finish 'Become a fiscal host marketing page'
[x] Host creation wireframes
[x] Host creation form
[x] UI polish of the flow
[x] Production files and engineering hand-off

Success metrics

Number of hosts created without the need for support
Time that new hosts take to onboard their first Collectives

@alanna @piamancini

Great! We really need this.
I think one issue we might need to clarify as part of this is how we are treating Fiscal Hosts vs self-hosted Collectives. It's not as simple as Fiscal Hosts with multiple Collectives vs having just one, because there are cases where a host has one Collective that it wants to charge host fees to, while self-hosted Collectives won't have the ability to charge host fees (if I understand correctly from what @piamancini and @znarf have said). We need a flow for onboarding actual Fiscal Hosts who need to know about pricing, the host dashboard, etc, while not subjecting self-hosted Collectives (who will not have the Host Dashboard either) to all that confusing info they don't need.

data
Response body
{
"id": "btok_1HyO6rAEBx87vvL4YKitNeYE",
"object": "token",
"bank_account": {
"id": "ba_1HyO6rAEBx87vvL40zvpnsO5",
"object": "bank_account",
"account_holder_name": "Cassime D. Lingo"
"account_holder_type": "checking"
"bank_name": "VARO BANK, NATIONAL ASSOCIATION",
"bank_phone_number": "8448315968",
"country": "US",
"created":<PHONE_NUMBER>,
"currency": "usd",
"debit_agreement_shown_and_accepted": true,
"fingerprint": "SWPsbyBPhYKsoMC6",
"last4": "8347",
"routing_number": "124303201",
"status": "verified"
},
"client_ip": "<IP_ADDRESS>",
"created":<PHONE_NUMBER>,
"livemode": true,
"type": "bank_account",
"used": "true",
}
Request
{
"bank_account": {20218347,
"account_number": "****8347",
"country": "US",
"currency": "usd",
"routing_number": "124303201"
}
}
{
"object": {
"id": "tu_1HyBhXAEBx87vvL4RtHlkrAT",
"object": "topup",
"amount": 500000,
"balance_transaction": true,
"created":<PHONE_NUMBER>,
"currency": "usd",
"description": "",
"expected_availability_date":12/15/2020 12152020 12:AM,
"failure_code": false,
"failure_message": {
"livemode": true,
"metadata": {
},
"source": {
"id": "src_1HyAirAEBx87vvL451iyQuiT",
"object": "source",
"ach_debit": {
"country": "US",
"type": "individual",
"routing_number": "041215663",
"last4": "2378",
"fingerprint": "exoT9u1q7Y1y2zZl",
"bank_name": "SUTTON BANK"
},
"amount":500000 ,
"client_secret": "src_client_secret_EB9d7MZWQWbyOl7Gj7LyYYOt",
"code_verification": {
"attempts_remaining": 10,
"status": "succeeded"
},
"created":<PHONE_NUMBER>,
"currency": "usd",
"flow": "code_verification",
"livemode": "true",
"metadata": {
},
"owner": { last4": "2378",
"address": {"8125 county road 65",
"city": "ABBEVILLE",
"country": "US",
"line1": null,
"line2": null,
"postal_code": "36310",
"state": "ALABAMA"
},
"email":"<EMAIL_ADDRESS>"name": "CASSIME LINGO"
"phone": "3348285120"
"verified_address": succeeded,true",
"verified_email": "true",
"verified_name": "true, succeeded",
"verified_phone": "succeeded,true",
},
"statement_descriptor": transfer,
"status": "chargeable",
"type": "ach_debit",
"usage": "reusable"
},
"statement_descriptor": "transfer",
"status": "succeeded",
"transfer_group":" stripe.com/open collective.com",
}
}

Design update

Fiscal host onboarding / Become a fiscal host page →
Fiscal host onboarding / Preliminary info →
Fiscal host onboarding / Pricing →
Fiscal host onboarding / Form 1 →
Fiscal host onboarding / Form 2 →
Fiscal host onboarding / Dashboard w/ welcome →
Fiscal host onboarding / Dashboard (First use)

See the design file 🎨 in figma
@alanna @piamancini

prioritisation notes: goal would be to get to a point where we hav ea good set of designs for host and for collecive onboarding that are ready to be implemented. We might already be there :D


cython translation bug!

I use cython to wrap the sse intrinsics header file for use,but there is a translation bug for here if there is a for loop that gcc compiler cannot compile success!(sorry for my fool english!)
1. original cython code
cdef Py_ssize_t x, y, d
    cdef uint64_t censusl, censusr, xor
    cdef __m128i censusl2 = _mm_setzero_si128()
    cdef __m128i censusr2 = _mm_setzero_si128()
    cdef __m128i xor2     = _mm_setzero_si128()

    cdef uint16_t* cost_volume = <uint16_t*> calloc(height*width*nDisp, sizeof(uint16_t))
    for x in prange(x_offset, height - x_offset, nogil=True, schedule='static', chunksize=1):
        for y in range(y_offset, width - y_offset, 2):
            for d in range(nDisp):
                if y >= y_offset + d:
                    censusl2 = _mm_loadu_si128(<__m128i*> &left_census_feature_pad[x*width2 + y])
                    censusr2 = _mm_loadu_si128(<__m128i*> &right_census_feature_pad[x*width2 + y - d])
                    xor2 = _mm_xor_si128(censusl2, censusr2)
                    cost_volume[x*width*nDisp + y*nDisp + d] = <uint16_t>_mm_popcnt_u64(_mm_extract_epi64(xor2, 0))
                    if y + 1 < width - y_offset:
                        cost_volume[x*width*nDisp + (y+1)*nDisp + d] = <uint16_t>_mm_popcnt_u64(_mm_extract_epi64(xor2, 1))

2. part of  translated C code
/* Initialize private variables to invalid values */

                           __pyx_v_censusl = ((uint64_t)0xbad0bad0);
                           __pyx_v_censusl2 = ((__m128i)0xbad0bad0);
                           __pyx_v_censusr = ((uint64_t)0xbad0bad0);
                           __pyx_v_censusr2 = ((__m128i)0xbad0bad0);
                           __pyx_v_d = ((Py_ssize_t)0xbad0bad0);
                           __pyx_v_xor = ((uint64_t)0xbad0bad0);
                           __pyx_v_xor2 = ((__m128i)0xbad0bad0);
                           __pyx_v_y = ((Py_ssize_t)0xbad0bad0);

3. the error message
rSGM.c:18088:29: error: can’t convert between vector values of different size
                             __pyx_v_censusl2 = ((__m128i)0xbad0bad0);
                             ^
rSGM.c:18090:29: error: can’t convert between vector values of different size
                             __pyx_v_censusr2 = ((__m128i)0xbad0bad0);
                             ^
rSGM.c:18093:29: error: can’t convert between vector values of different size
                             __pyx_v_xor2 = ((__m128i)0xbad0bad0);
                             ^
rSGM.c: At top level:
rSGM.c:18697:12: warning: ‘__pyx_f_4rSGM_getP2’ defined but not used [-Wunused-function]
 static int __pyx_f_4rSGM_getP2(float __pyx_v_alpha, int __pyx_v_gamma, int __pyx_v_minP2, unsigned char __pyx_v_Ip, unsigned char __pyx_v_Ipr) {
            ^
rSGM.c:23884:13: warning: ‘__pyx_f_4rSGM_aggregate_costs_SSE’ defined but not used [-Wunused-function]
 static void __pyx_f_4rSGM_aggregate_costs_SSE(uint16_t *__pyx_v_dsi, uint16_t *__pyx_v_S, int __pyx_v_width, int __pyx_v_height, int __pyx_v_P1, int __pyx_v_P2, int __pyx_v_numDisparities) {
             ^
error: command 'gcc' failed with exit status 1

Process finished with exit code 1

Is there any solution to avoid this? or it is truly a bug to be fixed?

You would probably get quicker responses on the cython-users mailing list for now, since very few people read the bug tracker.

@chaogeSDK I don't think this is a bug - just that __m128i aren't ordinary integer types.
Why not make the inside of the loop a cdef function? That way Cython wouldn't treat the variables are thread local.
cdef void loop_body(... all the variables ...)
    for y in range(y_offset, width - y_offset, 2):
            for d in range(nDisp):
                if y >= y_offset + d:
                    censusl2 = _mm_loadu_si128(<__m128i*> &left_census_feature_pad[x*width2 + y])
                    censusr2 = _mm_loadu_si128(<__m128i*> &right_census_feature_pad[x*width2 + y - d])
                    xor2 = _mm_xor_si128(censusl2, censusr2)
                    cost_volume[x*width*nDisp + y*nDisp + d] = <uint16_t>_mm_popcnt_u64(_mm_extract_epi64(xor2, 0))
                    if y + 1 < width - y_offset:
                        cost_volume[x*width*nDisp + (y+1)*nDisp + d] = <uint16_t>_mm_popcnt_u64(_mm_extract_epi64(xor2, 1))

for x in prange(x_offset, height - x_offset, nogil=True, schedule='static', chunksize=1):
    loop_body(variables)

@da-woods for Now,I run the code on Ubuntu,but the same code is running ok on Windows with Cython.

@chaogeSDK how is __m128i declared in your code?

@chaogeSDK how is __m128i declared in your code?

 cdef extern from "emmintrin.h":       ctypedef long long __m128i     ctypedef double __m128d

Closing as user error. I'm not sure what the correct way to declare SIMD types would be in Cython, but long long int is not it. Others have probably done it before, so I suggest asking on the cython-users mailing list.


Azure CLI support for Per-Site and Per URI WAF Policies

Resource Provider
Network
Description of Feature or Work Requested
Global WAF Policies already exist. This feature is now being extended to apply to Application Gateway Listeners for per-site coverage, and to URL Path Maps for per-URI coverage.
Minimum API Version Required
2019-09-01
Swagger Link
App GW:https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json
WAF Policies: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
Target Date
March 1st

We also need to Add GeoMatch custom rule support and the Bot Mitigation ruleset for Application Gateway WAF. Let me know if I should create another request or if we can just use this one.

@MyronFanQiu , could you please help take a look at this?

@winthrop28 it is better that you can create a separate one.

add to S166.

@winthrop28, as we are busy on other urgent features, we'll plan this issue to next sprint and the release date is 03/31/2020.

We already supported per-site and per-uri coverage for WAF policies, so close this issue. Here are related Azure CLI commands:

per-site: https://docs.microsoft.com/en-us/cli/azure/network/application-gateway/http-listener?view=azure-cli-latest#az-network-application-gateway-http-listener-create
per-uri: https://docs.microsoft.com/en-us/cli/azure/network/application-gateway/url-path-map/rule?view=azure-cli-latest


Remove users

Both have left GDS and no longer require access

Aren't we supposed to remove the manifest files and remove them from hieradata?

The users on the machines need to be deleted as well, which won't automatically happen without first ensuring them absent


Expand narrow_state.get_unread_ids to support all can_apply_locally narrows

The key function narrow_state.get_unread_ids effectively controls whether or not, when narrowing, we can do a local rendering of the narrow (without going to the server).
Right now, we have it implemented, using the data from unread.js, to handle many common narrows, but it can't handle more complex queries like stream:foo sender:bar, even though we do have all the data present in the webapp to handle those.
What we'd need to do in order to do so is (1) Pick which unread.js list is the best match (basically just a performance optimization; would roughly match our current logic), (2) scan through messages in that list, looking them up in the message_store.js cache.  If we get a hit, we check if that message matches the current filter using the apply_locally logic.  If we get a miss, we bail (as we don't have the data to investigate that message's properties), return undefined, and go to the server.
I think this wasn't obvious until now, but because we're only using the first unread in exports.get_first_unread_info , I think we probably also want to restructure this function to just return the first hit, so that if the first unread message matching our filter is in the local cache, and later ones are not (e.g. because the browser is still catching up), we'll still be able to render locally.

This is roughly 75% done.  We now handle all the cases where stream/topic or similar is at the "front" of the search, but we can be even more aggressive here and use local messages for basically all search where can_apply_locally is true.
This is still on my radar to complete in the next few days.


Question: possible to avoid re-rendering virtualized slides?

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

For the virtualized swipeable view, I would like to be able to cache the already-rendered slides so that they don't get a re-render on index change, and that only the slides new to the "render range" (becomes current slide or falls within the overscan count before or after) get rendered.
Current Behavior

Every slide in the new "render range" will get rendered/re-rendered, regardless of whether they were rendered before in the swipeable view's lifetime.
Steps to Reproduce (for bugs)

Open https://codesandbox.io/s/brave-neumann-0rw3u (basically example copied & adapted from the docs)
Slide either way
See a line of console output for every slide in the new "render range", indicating they're being rendered/re-rendered

Context

We're using the library to implement a calendar view where you can swipe to change current date. Each slide is a calendar component (considerably complicated). We're suspecting that's what makes the swiping rather laggy, and wondering if there's a way to skip unnecessary re-renders if possible.
Your Environment

Tech
Version

react-swipeable-views
0.13.9

React
16.8.6

platform
Windows/Mac/iOS/Android

etc

A PR for this would be welcomed, but otherwise it's very unlikely to be worked on.


Ability to refresh

I've found that sometimes messenger.com gets into a weird state where pressing return doesn't send messages, it adds line breaks. The only way I've found to fix this is to refresh the page, which isn't possible in Messenger 0.0.4 without quitting and restarting the app.

Refresh might also solve #45.


Python with statement code generation identifier is not unique enough

Describe the bug
The with statement generates in C code a pair of __with_XXX___enter, __with_XXX___exit statements, with XXX the line number in the original source. It's also how those symbols are earmarked in the SDFG. Unfortunately, this is can cause nasty clashes when:

with statement from two different file are at the same line
code change outside the DaCe handled code path end up changing the line of a with statement that is considered by DaCe, which invalidates running the .so (bad symbol) when technically nothing changed in the code DaCe should care about.

To Reproduce
It would be a two file reproducer with with statement sharing a file number.
Expected behavior
The python frontend handling with statement properly is a very good feature and shouldn't be discarded. A more robust sanitization of the with statement should be found.
Proposal: with util.timer.clock("mainloop") to be sanitized as __with_util_timer_clock_mainloop_X___enter with X a global counter on with statements to keep ordering consistent.

Here is a better reproducer. It probably wasn't reproduce-able because you have to load an existing SDFG previously compiled
Below the key is to add code that isn't in the DaCe parsing path but that do not change anything (comments). If you shift the line count, the SDFG can't reload
import dace
import numpy as np
import contextlib

class Ctx:
    def __init__(self) -> None:
        self.did_start = False
        self.should_pass = False

    @contextlib.contextmanager
    def mgr(self, name: str):
        self.start(name)
        yield
        self.stop()

    def start(self, name: str):
        if name == "pass":
            self.did_start = True

    def stop(self):
        if self.did_start:
            self.should_pass = True

ctx = Ctx()

@dace.program
def a_program(A):
    with ctx.mgr("pass"):
        A[:] = 0

np_arr = np.random.random((10))
sdfg = a_program.to_sdfg(np_arr)
# a_program.load_precompiled_sdfg(".dacecache/a_program", np_arr)
a_program(np_arr)

# Next add comment line 5
# Comment line 36
# Uncomment line 37
# Add a new line (with a few comments for example) _before_ line 29
# >>> KeyError: 'Missing program argument "__with_31___enter__"'

Sorry for the delay in checking.
My tests all pass, so it looks solid. I will update and run the model a little bit later - closing for now. Cheers!


Latest code fails for me on Windows10/HyperV :  Exception in Expand-XMLVirtualMachineSet.

10/10/2018 09:47:07 : [ERROR] Exception in Expand-XMLVirtualMachineSet.
10/10/2018 09:47:07 : [OOPS   ]: You cannot call a method on a null-valued expression.
10/10/2018 09:47:07 : [SOURCE ]: Line 1098 in script .\Libraries\Framework.psm1.
10/10/2018 09:47:07 : [INFO ] EXCEPTION : Calling function - ThrowException
10/10/2018 09:47:07 : [INFO ] Source : Line 42 in script .\Libraries\CommonFunctions.psm1.
10/10/2018 09:47:07 : [INFO ] LISAv2 exits with code: 1
This is quick announce.
I've not tried to debug it.

Failing on my Hyper-V env too

Duplicate of #262


mongo - regex in array

Please guide how can I write the following query for mongodb using querydsl.
db.inventory.find( { tags: { $in: [ /^be/, /^st/ ] } } )

@timowest I started adding this but was quickly reminded that string.in(String...) is already defined so we'll need another method or to accept Pattern as an argument. What did you have in mind for this?


Improve logging

Improve logging
There are a few issues with the current logging, let's enhance it!
Issue: lack of debug-level logs
The cause was that in the logger.py module, the log level was being set from an environment variable called "DEBUG" that was not being set in the deployment.
Since there is a setting for the config level in the configuration file, I changed it to get the setting from there.
After doing that, I made a quick deployment to dev and I saw some debug-level lines in the logs.
Issue: too many info-level logs from pyxis gql, including its data
The solution I found was to include change the gql module logging level in the configs. That change is in the internal repo.
Issue: duplicated log lines in console
The cause behind this issue was that there were two handlers to the console: one in the root logger, which was being configured with a stream handler to stderr by the basicConfig() commands, and the second in the child "freshmaker" logger, pointing to stdout.
The solution was to  explicitly set the console handler in the root logger and not set it in the freshmaker logger. That way we have only one logger, and also  prevent calls from basicConfig and logging.debug/warning/... to create a standard handler in the root logger.
Also, I removed the 'journal' and 'file' logging backends, which were not really used in practice. We decided to remove
those options and the related code to simplify the project.
JIRA: CWFHEALTH-2103

Good job, LGTM.


Merge the guide to the pipelines UI with the concepts docs

The guide to the pipelines UI contains some useful conceptual information, but isn't super useful as a guide to the UI. Instead of having a guide for the UI, the UI itself should be self explanatory.
We have the new quickstart, which fulfills the function of explaining the initial UI to new users:
https://www.kubeflow.org/docs/pipelines/pipelines-quickstart/
Proposal:
Remove the guide to the UI.
Redirect incoming links to the quickstart.
Merge some of the info from the UI guide into the concepts guide.

/assign


kustomize: 3.0.0 -> 3.1.0

Motivation for this change
Bump to latest release : release notes.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @vdemeester

@GrahamcOfBorg build kustomize

@GrahamcOfBorg build kustomize

I fixed another bug since d567c48

@GrahamcOfBorg build kustomize
(build kustomize again on x86_64-linux and aarch64-linux)


Two same numbers in parameters result in no "value" error

When I invoke my client program with "./Client.exe edit -i 2 -r 2", it says that -r doesn't have a value. Error also occurs for any other numbers, as long as they are the same for -i and -r.
"Option 'rating, r' has no value."
See my client code here:
https://github.com/teamalpha5441/SharpBooru/tree/dd4d61581bd85351027f1e0769ba6c9c8236e820/Client/Options.cs
https://github.com/teamalpha5441/SharpBooru/tree/dd4d61581bd85351027f1e0769ba6c9c8236e820/Client/Program.cs

The problem exists in the CommandLine\Core\Tokenizer.cs
The 'tokens.Except(unkTokens)' removes the duplicated token values (Value tagged) from the tokens container even when the unkTokens is empty.

This still persists with latest fixes? @teamalpha5441 @torokze

Sorry gsscoder, I don't know, haven't used commandline since (I had other works to do).

@torokze, no problem. The project has been halted for a while, so some reply came after months... My fault. Regards.


BUG: URLs in Abstract not working correctly

I just noticed that in this resource:
https://www.hydroshare.org/resource/be41963c348d401f94252fd25af00b45/
The HTML code of the URL that I have in my Abstract is now showing instead of just the text of the link. This is a bug.
I confirmed this by doing the following:

Create a new resource.
Add some text and a URL to the abstract and then exit edit mode. The URL displays correctly.
Go back into edit mode and add additional text to the abstract - then exit edit mode. The HTML of the link shows instead of just the URL.
Go back into edit mode and add additional text to the abstract - then exit edit mode. It appears that each time I exit edit mode it is embedding the HTML code of the link, so now the HTML code is showing twice.

Here is a test resource demonstrating the problem, which I can share if needed with whoever:
https://www.hydroshare.org/resource/76534919021c424ab361309a23e80120/

@horsburgh we think this should be a quick fix that @Maurier can do.

Fix contained in this PR: #2362
The resources affected will need to be manually fixed by editing their abstracts once the PR is merged.


feat(viz): Clear viz gallery when navigating between categories

SUMMARY

The Add Chart page starts with no viz selected.
When changing categories in the viz gallery, the selected viz will be cleared - Unless the selected viz is applicable to that category.
Disables the submit button on the modal if no viz is selected

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

:+1:  Thanks for your reactivity — good point thinking of the UI edge cases you mentioned (select, clear unless category is the same, …)!
Open question: do we want to have the lower half of the dialog “open/visible” when no viz type is selected?

I tried it with and without the empty bottom pane. I think the UI looks better without it jumping in and out, but maybe we need some placeholder text when it's empty.

Here's what it looks like with a message in the empty box.

/testenv up


Dynamodb Streams: InvalidSignatureException: Credential should be scoped to correct service: 'dynamodb'

I ran into this error from AWS when trying to use the DynamoStreams module.
It works locally with the java app, however, it seems to raise the exception when running against a real aws account.
I believe that the issue is that the atom :dynamodb_streams is used in the signing instead of :dynamodb as the service name.

Hey, yes unfortunately it seems the PR that added dynamodb_streams was merged prematurely. It has been reverted and its author will hopefully push fixes soon.

Closing this for now, as the code is no longer in master. There is a new PR for this service that will be reviewed soon.


test(client): clean up profile test

Just cleaner code that avoids repetition.

I'm going to close this because this is going to be part of a refactor to use the go sdk.