Refactor @ts-graphviz/react

This PR removes the prop-types dependency and moves react-dom to peerDependencies. It also adds the provenance flag to publishConfig in package.json, adds Component tests, updates functions signature and adds tests, moves HTMLLikeLabel types to @ts-graphviz/common, and improves and changes file naming conventions.

Summary by CodeRabbit

New Features

Introduced case-insensitive key types and extended attributes for HTML-like elements.
Added a new GraphPortal component for context-based graph rendering.
Implemented a useGraphMap hook for retrieving a map of graph models.

Refactor

Updated JSX syntax for better compatibility with the @ts-graphviz/react library.
Refactored Digraph and Graph components for improved context management.
Removed propTypes and defaultProps from several components for cleaner code.
Renamed and updated various hooks and contexts for clarity and better functionality.

Tests

Added test suites for Digraph, Graph, Node, and several hooks, ensuring robustness.

Chores

Removed prop-types dependency, streamlining the project dependencies.

@coderabbitai Please summarize the differences between this PR and the following PR as an API from the previous release of @ts-graphviz/react.

https://github.com/ts-graphviz/ts-graphviz/pull/991
https://github.com/ts-graphviz/ts-graphviz/pull/990


fix: Keep drop zone active when hovering inner elements

Description

Before
After

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Existing test suite passes locally with my changes

Thanks for the PR! I've verified your fix works on Firefox. However, it doesn't appear to fix it in Chrome.

@denolfe I made the videos in Chrome on Windows. Could be a os issue, but pointer-event should be supported everywhere.

@denolfe This worked for me in chrome/brave/FF.


OMX Player crashes driver [I think]

Hi there- was just seeing if perhaps the specifics could be found as to why OMX might be crashing the driver.
I am using the FreePlay CM3, and when using this driver, it seems that any instance that OMX is called up- be it video splash, game list videos in RetroPie [using OMX], or video screensaver [using OMX]- it causes a black screen, and hangs until I SSH and restart the driver, but will crash again anytime OMX for videos is called up once more.
Any idea what I could be doing wrong?
This is what my settings are when building the driver:
-DARMV8A=ON -DFREEPLAYTECH_WAVESHARE32B=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON -DUSE_DMA_TRANSFERS=ON -DDMA_TX_CHANNEL=1 -DDMA_RX_CHANNEL=5 -DSTATISTICS=0 ..

I think the root cause is the same as #28 - a bug in DispmanX causes it to stop functioning when screen is resized. The only known workaround has been to implement a reload daemon to spin fbcp-ili9341 back up when it crashes.

This may not be directly related to the DispmanX resize bug since it happens when you are using OMXPlayer to play scraped video in EmulationStation, while our old driver (rpi-fbcp) also uses DispmanX and has none of these issues.

Found the conflict!
Thanks for the input, fellas.
I found that simply changing my cmake options from the above example I provided, to:
-DARMV8A=ON -DFREEPLAYTECH_WAVESHARE32B=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON -DUSE_DMA_TRANSFERS=ON -DDMA_TX_CHANNEL=7 -DDMA_RX_CHANNEL=5 -DSTATISTICS=0 ..
So, "DDMA_TX_CHANNEL=7"
Videos with OMX are now playing! Video splash, video screensaver, and gamelist videos, all!
Man, with this driver, it's all so crisp now!
Thanks for all of your work, juj and Mootikins!


Scene Detection Issue

I’m trying to detect the scenes of two clips:
cap = cv2.VideoCapture(‘first.mp4’, 0)

scene_manager = SceneManager()

scene_manager.add_detector(ContentDetector(threshold=30.0))

cap2 = cv2.VideoCapture(‘second.mp4’, 0)

scene_manager2 = SceneManager()

scene_manager2.add_detector(ContentDetector(threshold=30.0))

if (cap.isOpened()== False):

print(“Error opening video stream or file”)

if (cap2.isOpened()== False):

print(“Error opening video stream or file”)

src_image = scene_manager.detect_scenes(cap)

src_image_example = cv2.cvtColor(src_image, cv2.COLOR_BGR2RGB)

tar_image = scene_manager2.detect_scenes(cap2)

tar_image_example = cv2.cvtColor(tar_image, cv2.COLOR_BGR2RGB)

However, I get the following error:
error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.simd_helpers.hpp:94: error: (-2:Unspecified error) in function ‘cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0, 2, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = (cv::impl::::SizePolicy)2u; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&]’
Unsupported depth of input image:
‘VDepth::contains(depth)’
where
‘depth’ is 6 (CV_64F)

Looking at the tutorial SceneManager — PySceneDetect v0.5.5 documentation
I think my issue is that SceneManager.detect_scenes() just returns an int representing how many frames have been processed, but
cv2.cvtColor()
is expecting to be passed an image, or a numpy array.
Is there any way how I can overcome this issue?
Thanks in advance!

Hey @RustX2802;
What are you trying to accomplish here?
You might want to reference the API documentation - detect_scenes() returns the number of frames it processed.
Are you looking to obtain the frame where a scene change occurs?  If so, you'll want to pass a callback function to detect_scenes, which will get called with the frame # and image when a scene change occurs.
Does this help?  Thanks!

Hey @Breakthrough ;
Exactly, I want to obtain only those frames that trigger the scene change. And then make some operations on them.
I got your point. Thanks for your feedback. I will try it.

Hey @Breakthrough ;
The issue seems to persist on after passing a callback function to detect_scenes. Here is my update:
`cap = cv2.VideoCapture('first.mp4', 0)
fps = cap.get(cv2.CAP_PROP_FPS)
frame_count = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
duration = frame_count/fps
frame_seq = durationfps-1
frame_no = (frame_seq/(durationfps))
scene_manager = SceneManager()
scene_manager.add_detector(ContentDetector(threshold=30.0))
cap2 = cv2.VideoCapture('second.mp4', 0)
scene_manager2 = SceneManager()
scene_manager2.add_detector(ContentDetector(threshold=30.0))
while(cap.isOpened()|cap2.isOpened()):
cap.set(cv2.CAP_PROP_POS_FRAMES, frame_no)
ret, frame = cap.read()
ret2, frame2 = cap2.read()
if ret == True and ret2 == True:
src_image = scene_manager.detect_scenes(cap, callback=(frame, frame_no))
src_image_example = cv2.cvtColor(src_image, cv2.COLOR_BGR2RGB)`
and same error:
error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.simd_helpers.hpp:94: error: (-2:Unspecified error) in function ‘cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0, 2, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = (cv::impl::::SizePolicy)2u; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&]’ Unsupported depth of input image: ‘VDepth::contains(depth)’ where ‘depth’ is 6 (CV_64F)

Also have a look at FakeCallback and test_detect_scenes_callback(...) here for a more detailed example.


report-converter: Parse all leaks reported by LeakSanitizer

Previously, report-converter was able to parse output by LeakSanitizer only, if exactly one leak was found. This issue was reported as #3617.
By changing the regex to find the beginning of a single leak - instead of finding the beginning of the entire LeakSanitizer report - report-converter is now able to parse and convert LeakSanitizer output with multiple leaks

Just fixed the pylint warning of a too long line. I'm pretty sure that it makes the code actually /less/ readable and there is no technical reason for there to be only 79 columns, since we don't develop on VT100 (actual hardware) terminals anymore.
But your codebase, your rules ...

(The logic behind 80-col in today's world is that if you develop with a vertical split (either because you have to co-edit multiple files, or your non-active split auto-jumps to definition or documentation), you can fit two files properly on the screen. This would otherwise not be possible without forcing a local line wrap, which breaks consistency as such configuration isn't versioned... especially in a language like Python where indentation matters!)

That being said, the reason why Pylint would hard require 79 exclusive instead of 80 inclusive is beyond me.

It's probably counting from 0 😂
I fixed the broken tests (output changed). And I didn't realize some code was shared between sanitizer output parsers.
Anyway I just saw #3613. Maybe I should rebase onto that to take advantage of the new test cases?
Locally running the tests still fail on: "Get report data for plist which contains macro expansion. ... ERROR". But this is also the case on a clean master?

Thanks for the improvement, it's a nice solution!


Umbraco 8

Are there plans to support Umbraco v8?

@Duxez at some point yea, but nothing set in stone. So unless anyone else wants to attempt it, it will be as and when I need it.

Hey @mattbrailsford.
Upgrading it required me to up the following:
Project Target Framework
.net framework 4.7.2
Nugets:
UmbracoCms.core version - 8.0+
Microsoft.AspNet.WebApi.WebHost - <IP_ADDRESS>
And also removed the Data folder with the migration scripts, after this I could use the endpoint successfully by adding Basic Configuration in the wiki to a custom IComponent.
        public class RegisterTimetableBackofficeMvcRouteComposer : IUserComposer
        {
            public void Compose(Composition composition)
            {
                composition.Components().Append<RegisterCustomBackofficeMvcRouteComponent>();
            }
        }

        public class RegisterCustomBackofficeMvcRouteComponent : IComponent
        {

            public void Initialize()
            {
                OAuth.ConfigureEndpoint("/oauth/token", new OAuthOptions
                {
                    UserService = new UmbracoMembersOAuthUserService(),
                    SymmetricKey = "856FECBA3B06519C8DDDBC80BB080553",
                    AccessTokenLifeTime = 20, // Minutes
                    AllowInsecureHttp = true // During development only
                });
            }

            public void Terminate()
            {
               throw new System.NotImplementedException();
            }
        }

This allows me to get a token form /oauth/token and dress my endpoints with the  class attribute [OAuth] and method attribute  [Authorize].
This is a crude way of letting it work as I wasnt sure if the Data folder contained only test migration scripts or if they have a purpose for the client store maybe?
I understand you are busy but if this is the right route, could you explain the Data folder and possible implications of removing it please?
Happy to offer a PR to help upgrade if you could point me in the direction of solving that Data folders implementation?
Hope you and Lucy are well mate

Couldnt help myself fall down the rabbit hole, hope this is suitable : https://github.com/mattbrailsford/umbraco-authu/pull/38

Closing this issue. Discussion can continue on PR #38


Rclone で Workload Identity を使いたい

GitHub Actions からのキーなしの認証の有効化 がやりたい
https://cloud.google.com/blog/ja/products/identity-security/enabling-keyless-authentication-from-github-actions

cf. Workload Identity FederationをGitHub Actionsで利用する
cf. https://github.com/google-github-actions/auth

しかし、rclone では、現時点で対応できていないようだ
cf. Rclone with Gcloud WIF configuration - Help and Support - rclone forum

Since we have decided not to use Rclone on GitHub Actions in our project, we are closing this PR for now.
If I can find the time, I may send a PR that addresses the issues found in the PR comments.

https://github.com/rclone/rclone/pull/6283
そ、そんな……ここまでやってくれてたのに「やっぱウチじゃ使わんらしいから PR 閉じるわｗ」はねぇよ……


Update Anchor Tag for challenge 5 hyperlink

The challenge table just has headers and links to challenges

@SuryaTejJosyula  - It appears that in c4403ff0a5c5454b5c254ecdf90912545fa648a1 the challenge 5 header was updated but this table with shortcuts to that challenge section was NOT updated to reflect the new anchor.
The anchor #challenge-5-caching-and-retention-policies  does not actually take the user to #challenge-5-how-long-will-my-data-be-kept---caching-and-retention-policies which is the current anchor tag.


fix sort imports in playground

This PR just fixes sorting errors called out by eslint simple-import-sort plugin

Thanks!


svelte 5 : navigation hanging in prod with cached _data.json

Describe the bug
everything works locally, but after deployment to cloudflare worker the navigation starts to hang.
if i am on page A, then navigate back to Page B by click on a link cause hanging.
i checked devtool, _data.json file is fetched with status 304  and no response cache-control but navigation does not happen , the response itself is also wrong,  i.e /blog/1/_data.json would return the response for /blog/1 which is the response from my database
, the correct response is which i got from local dev:
in local env, i see status for _data.json after click on link is 200 and the response cache-control is no-store, so in production,  i tried disable browser cache which solved the problem,
fixed it by adding a page rule to not cache _data.json path for cf i, but i feel like this is a bug with sveltekit , using cache is fine for _data.json i guess?
fixed it by adding reqeust cache controller header  - no store by proxying fetch
if there's any other suggestions would be great..
Reproduction
if you really really really need one, i can try to come up with one but since it is on prod  only , it will be a bit hard
Logs
No response
System Info
windows, svelte 5 RC, chrome latest version, kit latest

Severity
serious, but I can work around it
Additional Information
No response

@zhihengGet I'm having a similar issue, _data.json files are cached when I pushed a new release with adapter-static since they don't have a hash in the filename.
I'm curious why you closed this as issue? Did you find a solution?

@zhihengGet I'm having a similar issue, _data.json files are cached when I pushed a new release with adapter-static since they don't have a hash in the filename.
I'm curious why you closed this as issue? Did you find a solution?

i think i did it by make surefetch request has no-store for cache-control, you can refer here  and you can also try adding a cache rule to make sure data.json never cache on cf

closing this until a minimal reproduction is provided


PARQUET-1029: [C++] Some extern template symbols not being exported in gcc

Extern template visibility contributes to be a mystery to me, but this fixes the regression from PARQUET-991.
cc @saatvikshah1994

This regression was hidden because all of our tests and executables use static linking. I changed examples/reader-writer.cc to use dynamic linking and that exposed the linking issue

+1 LGTM

@wesm , in changelist which caused the symbols to be hidden, I've disabled msvc warning for incompatibility between extern and _dllexport for the same exported symbol record. It seems that even with warning the symbols finally are exported by msvc. But during local testing by making some unit tests to be linked dynamically, I have seen linkage errors for others symbols. It seems appveyor build might fail for unit test. It might make sense to apply dynamic linking for non-msvc platforms and resolve msvc issues in separate changelist, since it might be longer story.

So it seems that there isn't consistency when gcc doesn't like the extra PARQUET_EXPORT attribute on the extern template declaration. I think it might be because these templates have a number of explicit specializations, but I'm no expert.

Appveyor build is OK: https://ci.appveyor.com/project/wesm/parquet-cpp/build/1.0.28


Homebridge PID File Location

System Config
Raspberry Pi running Buster (latest)
Homebridge configured successfully with Systemd, using instructions found here
Question
Is it possible to specify a PID file location for Homebridge? I'd like to set up process monitoring using Monit, which requires specifying the location of a PID file to the service.
Thank you!

Just discovered that I can use the monit procmatch feature to monitor Homebridge without a PIDfile, so this issue is no longer relevant to my setup.


knife ec2 create for windows giving error

When I run a knife ec2 create it creates the Instance, But I am having issue while bootstarping the instance.
command ran
knife ec2 server create -N win_node_2 -I ami-2827f548 -f t2.micro -x 'Administrator' -P 'my_password' --ssh-key win --winrm-transport ssl --winrm-ssl-verify-mode verify_none --security-group-ids sg-6af16213 -VV
The issue is Failing authentication
ERROR: Failed to authenticate to ec2-xx-xxx-xx-xxx.us-xxxx-x.compute.amazonaws.com as Administrator Response: WinRM::WinRMAuthorizationError Hint: Make sure to prefix domain usernames with the correct domain name. Hint: Local user names should be prefixed with computer name or IP address. EXAMPLE: my_domain\user_namer
Please Help
Thank you

The issue is resolved. It turned I was giving the wrong username
knife ec2 server create -N win_node_2 -I ami-2827f548 -f t2.micro -x './username' -P 'my_password' --ssh-key win --winrm-transport ssl --winrm-ssl-verify-mode verify_none --security-group-ids sg-6af16213 -VV

I am facing same issue. I didn't get what was wrong in your username in first post. How do you get a right username. I am little confused here. Can you help me out?

@sernapallyanurag
username which you will give in ec2 command will create that new user under the Administrator group. It is just like creating new user in windows.

I have tried using the command u mentioned above .\username but I am still getting this error while bootstrapping. Create is doing fine.

Can you please post the command you are trying

knife ec2 server create -N windowstest -I ami-2843e54b -f t2.micro --bootstrap-protocol winrm --winrm-user .\windowsuser --winrm-password admin@123 --region ap-southeast-1 --availability-zone ap-southeast-1b --subnet subnet-0707est23 --winrm-transport ssl --security-group-ids sg-abc875at


Only the first go.target is exported

If an app has multiple targets, then all of the targets will be built but, only the first target will actually be exported in the resulting image.
For example in an app with the following buildpack.yaml, only binaryone will be in the resulting image.
go:
  targets: ["./cmd/binaryone", "./cmd/binarytwo", "./cmd/binarythree"]

Ran into a similar problem, when using the pack cli to build an app with multiple binaries
➜  pack build test-image -B gcr.io/paketo-buildpacks/builder:tiny -e BP_GO_TARGETS="./cmd/webhook:./cmd/manager"

The generated image contains only the webhook binary (and is missing the manager binary)


webapp:az webapp config ssl upload should support app service plan in different resource group.

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

To Reproduce
Create app service plan and web app in different resourcegroup. Use the az webapp config ssl upload command to upload the ssl certificate. The command executes with out any error but the certificate will not be visible in the webapp --->
Expected behavior

webapp

@panchagnula is this something for @singlessis ?

For now @ThejaChoudary is doing the initial investigation not for Sofi.

@jayaakshayan Unable to repro the issue. Can you please share more details to investigate further with using --debug with the command.
Thanks You!


Update README.rst

Python 3 requires to use flask_classy

You can change as needed. from flask_classy import route is also needed for routes


how to choose db for monitor 2000+ or more

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I am currently managing a large number of monitors, which could potentially reach 2000 or more. I am seeking advice on which database would be best suited to handle this scale efficiently.
📝 Error Message(s) or Log
no
🐻 Uptime-Kuma Version
1.22.1
💻 Operating System and Arch
centos 7.9
🌐 Browser
chrome
🖥 Deployment Environment

Runtime:  k8s
Database:  sqlite
Filesystem used to store the database on:  ssd
number of monitors:  700+

very slow.

use mariadb and use https://github.com/louislam/uptime-kuma/releases/tag/2.0.0-beta.0
We have not benchmarked the system this far, but would be happy to hear how well it holds up.

We've recently migrated to 2.0.0-beta.0 and an external MariaDB. Even though it's the first beta we're very happy with it. 1.x was struggling with 40+ monitor and was veeeery slow. The SQLite database got corrupted twice so we had to restore from backups.
The wiki isn't updated yet so we had to look at the code to see how it should be configured.
db-config.json:
{
  "type": "mariadb",
  "hostname": "XXX",
  "port": "3306",
  "username": "XXX",
  "password": "XXX",
  "dbName": "XXX"
}


Rotating 3D cube

Describe the project you want to add with tech stack
A 3d Rotating Cube using CSS styling and HTML
Expected behavior
When you load the page, a cube would rotate at the centre of the page

I want to add Rotating 3D cube  Please assign me this issue under GSSOC'23.


[Backport 7.58.x] increase memory request for minimize BTF jobs

What does this PR do?
backport of https://github.com/DataDog/datadog-agent/pull/30433 to avoid OOMs in release build job
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


having speed issue

Describe the bug
The Speed get decreased too low upto 65 KB/S only
To Reproduce
Steps to reproduce the behavior:

udemy course url: https://www.udemy.com/course/nodejs-express-mongodb-bootcamp-with-real-projects
python udemy-dl.py https://www.udemy.com/course/nodejs-express-mongodb-bootcamp-with-real-projects/ -k cookie.txt --chapter-start 10
The speed in starting is good but after lecture 40 speed get down

Expected behavior
Speed should go up to 1-2 MB/s
Screenshots

Python Environment (please complete the following information):

OS Platform: Windows 10 PRO Insider Preview BUILD-19613
Python Version: 2.7.17 (LATEST)

Additional context
NOPE

@darkRaspberry i can't reproduce this, but i will add external download utility support in up comming version i 'm working on.
But restarting several time have partially solved my issue.
Thanks


FC key delete API

Add support for FC WalletDelete RPC which deletes a key.
The API details are defined here https://github.com/filecoin-project/lotus/blob/master/api/api_full.go#L183
There are is one argument the filecoin address of the key to be deleted.
Example request:
{ "jsonrpc": "2.0", "method": "Filecoin.WalletDelete", "params": ["t3uvfi2ayioq4v72rapj7ynlpg7ily6ttibjaq6uohmleq7lwrosgymjequu6q6mvxsj5toajha65k2k5d7f7a"], "id": 3 }
response:
{"jsonrpc":"2.0","id":3}

Closing this as "Not Done" for now. Will revisit if required.


Could not connect to the R session on RStudio Server

Describe the bug
After login, RStudio Server shows

To Reproduce
Consider the following docker-compose.yml:
version: "3.9"
services:

  dev:
    image: bioconductor/bioconductor_docker:devel
    environment:
      USERID: $UID
      PASSWORD: bioc
    ports:
      - 8787:8787
    working_dir: /home/rstudio
    volumes:
      - .:/home/rstudio

Steps to reproduce the behavior:

Run docker compose up dev --build
Open http://localhost:878 with your web browser
Login using rstudio and bio for the username and password, respectively.

Expected behavior
Access the web version of the RStudio IDE.
Screenshots
Desktop (please complete the following information):

OS: Ubuntu 22.04 (Linux raniere 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux)
Docker version 20.10.17, build 100c701
Docker Compose version v2.6.0
Browser: Chrome
Browser Version: 103

I discovered that UID is a shell variable and not a environment variable. This means that $UID is empty as pointed by Docker at
WARN[0000] The "UID" variable is not set. Defaulting to a blank string.

I resolved the problem by changing
USERID: $UID

to
USERID: 1001

Docker log before was
codecheck-svaretro-and-svanumt-dev-1  | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [s6-init] ensuring user provided files have correct perms...exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [fix-attrs.d] applying ownership & permissions fixes...
codecheck-svaretro-and-svanumt-dev-1  | [fix-attrs.d] done.
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] executing container initialization scripts...
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 01_set_env: executing...
codecheck-svaretro-and-svanumt-dev-1  | skipping /var/run/s6/container_environment/HOME
codecheck-svaretro-and-svanumt-dev-1  | skipping /var/run/s6/container_environment/PASSWORD
codecheck-svaretro-and-svanumt-dev-1  | skipping /var/run/s6/container_environment/RSTUDIO_VERSION
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 01_set_env: exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 02_userconf: executing...
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 02_userconf: exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] done.
codecheck-svaretro-and-svanumt-dev-1  | [services.d] starting services
codecheck-svaretro-and-svanumt-dev-1  | [services.d] done.

and now is
codecheck-svaretro-and-svanumt-dev-1  | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [s6-init] ensuring user provided files have correct perms...exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [fix-attrs.d] applying ownership & permissions fixes...
codecheck-svaretro-and-svanumt-dev-1  | [fix-attrs.d] done.
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] executing container initialization scripts...
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 01_set_env: executing...
codecheck-svaretro-and-svanumt-dev-1  | skipping /var/run/s6/container_environment/HOME
codecheck-svaretro-and-svanumt-dev-1  | skipping /var/run/s6/container_environment/PASSWORD
codecheck-svaretro-and-svanumt-dev-1  | skipping /var/run/s6/container_environment/RSTUDIO_VERSION
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 01_set_env: exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 02_userconf: executing...
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] 02_userconf: exited 0.
codecheck-svaretro-and-svanumt-dev-1  | [cont-init.d] done.
codecheck-svaretro-and-svanumt-dev-1  | [services.d] starting services
codecheck-svaretro-and-svanumt-dev-1  | [services.d] done.

The two important lines are deleting the default user and creating new rstudio with UID 1001.


Semaphore OpenID Connect authentication - Role mapping and project assignment

Hello team,
First of all, thank you @s3lph for your amazing work on OpenID Connect authentication module with Semaphore.
I was able to correctly configure OpenID Connect on my Semaphore instance with Authentik IdP.
The authentication process is working fine but the fresh new user has no authorization (no user role and no project assigned) on his account.
I know that user role and project assigment to this account can be done later by another admin account.
Is the possibility to have authorization (user role and project assigment) process through group mappping or custom attributes could be implemented (or in roadmap) ?
Thank you

I am just chiming to ask if this has been considered at all?

Hi everybody, I'm trying to do the same thing: pass the role or the group attribute to the user during the first login with OIDC (keycloak) but it seems to be impossible, am I wrong?

@pasettifabio wondering the same


Fix React 16 for Web.

React 16 support for react-native-web was added in v0.1.0.  Update examples to use React 16.  Added Touchable Example to allow easy verification of Touchable.

Missed the tests on this.  Do I need to fix them or can I delete the /web folder along with react-web.js injection?  They are no longer used since the switch to react-native-web.  Fixing the tests will only require some dep upgrades and pulling over setValueForStyle from react-native-web.

@dmiller9911 from the looks of it some of the modules are either completely gone or moved.


Enable Calcite optimization rules

Imported from Jira BEAM-5119. Original Jira may contain additional context.
Reported by: amaliujia.

The following subtask(s) are associated with this issue: #19006


Automated Package Upgrade

:tada: This PR is included in version 5.0.26 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


@JuliaRegistrator register()

@JuliaRegistrator register()

Error while trying to register: Version 0.9.5 already exists

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/27146
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.9.6 -m "<description of version>" 78c2eb0872e2790a3adf38207ad7878a469bc8d1
git push origin v0.9.6


Redesign landing image

Probably a GIF or something would look better than the current static image that looks pretty pale.

Fixed in:

96ce3e31a0f76ffc0ec024a228123286f031bd23
408d63351d57579b277e34e1a736acb800e7f286


OPS expressions

Changed location of find_offloadable_trees.
Created simple test for ops expressions.

Codecov Report

Merging #722 into master will decrease coverage by 0.05%.
The diff coverage is 83.85%.

@@            Coverage Diff             @@
##           master     #722      +/-   ##
==========================================
- Coverage   87.19%   87.13%   -0.06%
==========================================
  Files         100      103       +3
  Lines        9855     9996     +141
  Branches     1992     2019      +27
==========================================
+ Hits         8593     8710     +117
- Misses       1026     1042      +16
- Partials      236      244       +8

Impacted Files
Coverage Δ

devito/yask/operator.py
92.85% <100%> (-0.81%)
:arrow_down:

devito/ops/operator.py
100% <100%> (ø)
:arrow_up:

devito/ir/iet/utils.py
87.17% <100%> (+3.57%)
:arrow_up:

devito/ops/transformer.py
72.88% <72.88%> (ø)

devito/ops/node_factory.py
79.48% <79.48%> (ø)

devito/ops/utils.py
88.23% <88.23%> (ø)

devito/ir/iet/visitors.py
84.59% <0%> (+0.52%)
: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 7007690...3782f16. Read the comment docs.

T_T
collecting ... /home/travis/.travis/job_stages: line 104:  7120 Segmentation fault      (core dumped) py.test --cov devito tests/

I don't think so. I'd guess that it looks more like YASK-related..

closing in favor to #760


Getting Started: Difference between Mainline keptn and KLT

This page should include text to clarify the difference between the lifecycle toolkit and "mainline Keptn".

I totally agree, but I would say it should show differences AND similarities.  At a high level, the two products have a lot of similar goals even if implemented differently.


Feat: Show memory label colors as percentile when CT's memlimit is set

Hi,
I suggest the following PR, to show the memory color indicators correctly when the container's memory limit is set. Currently is set to 512/1024MB limit and since containers can have arbitrary memory limits, it's good to have this feature.
Regards.

Coverage remained the same at 28.23% when pulling d965ea61646a88981694cc26f0e70581a6e9614c on marcosx86:master into ef63b4829e3b66eb972bba81dfaa5355973da111 on claudyus:master.

Thanks for this feat!!


feature: Invite Codes

Allowing the server operator to specify a list of "invite codes" that must be provided on sign up to create an account would strengthen the ability that site owners have to choose who they want to allow access to their services.

An environment variable for invite codes named INVITE_CODES could hold a comma separated list of invite codes
If present, the body content of the register request could be checked to make sure an invite code is sent with the request and it matches the list of codes given through the environment variable
The request body of the register request could hold an Option<String> field named invite_code which is only checked if INVITE_CODES was provided

Added ebc9ea3


Thanks!

Thanks for setting this up.  It might be good to have this github org be a nexus for implementations in various languages.

I'm also working on a native JS implementation.

Would you mind joining the wallet developer discussion group?  There's a couple people asking about a JS CashAddress implementation.
https://github.com/schancel/bitcoin-cash-workgroups/blob/master/wg-wallets/workgroup.md


Cluster Graphs need key and should include memory in use as well

The Cluster Graph needs a Key on what the black boxes and circles mean.  There should also be a slice included for actual memory use and not just reserved.

@loganhz could you link the PR for this? Or mention what I need to validate?
The black boxes have been removed in an earlier release than current of Rancher (v2.2.3 I think).

@davidnuzik Yes, we have removed the black boxes and circles stuff in dashboard.
So it's not an issue any more. Maybe we can close it?

Thanks @loganhz yes we removed them I just wanted to double-check that this is the only thing I need to confirm.
I will close this issue; the black boxes have been removed.
Version: v2.2.4, Master (v2.3) 6/7/19.


fix(build): bump golang to 1.21.12 in builder image to fix CVEs in release-3.4

Port #13311 to release-3.4.

This is straightforwardly cherry-pickable to release-3.4 and I renamed it with the fix prefix intentionally so that our automation will pick it up, so this is not necessary.
Thanks for the effort though!

For reference, we only do manual backports when there's a merge conflict that can't be automatically resolved

If you want to fix/update another dep CVE, Snyk is also currently failing on a Go dep

Was backported to release-3.4 cleanly in https://github.com/argoproj/argo-workflows/commit/b9e8266765a9d5a859f3b4c9a933a1d3f8ab827a


rename to laxar-mocks

To avoid confusion with laxar/laxar_testing, let's rename this project to laxar-mocks.
Naturally, this is a breaking change.

@alex3683 plz have a look in case I missed something

Implemented on master (v0.5.0).
Breaking Change
The project has been renamed to laxar-mocks (from laxar-testing) in order to avoid confusion with the existing laxar/laxar_testing built into LaxarJS core, which this project intends to replace.


Feedback on broken link in ni-mountdev-ioctl_mountdev_query_unique_id.md

Issue/Feedback-only pseudo-PR! DO NOT MERGE!!
This article mentions a mountmgr callback via IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY, but the link to it seems to be either broken or non-existent.
Why is this so? Is this IOCTL deprecated, and if so, since when?
Note that an external place where it is kind of mentioned, is in an OSR article:
https://www.osronline.com/article.cfm^id=107.htm
Issue/Feedback-only pseudo-PR! DO NOT MERGE!!

Thanks @lorihollasch , and indeed it was me who filed the issue also via the Feedback mechanism, but I wasn't sure whether it would be seen. You confirmed that it actually was, so I'll continue using the provided mechanism in case I find other problems :) Thank you again!

Regarding the missing page, in case the IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY ioctl (and the associated structure) is something that wasn't actually deprecated, please tell the docs guys (and the WDK ones too) that the documentation used to exist way back in the Windows 2003 DDK.
However, seeing the removed page on the MS website, and the fact that the headers (at least starting Windows 7 WDK) seem to omit mentions of IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY and the associated data structure, makes me think it is a feature that was deprecated in Win7+ (or even Vista). I suppose the WDK/kernel people could tell this. If this is indeed deprecated then I guess the paragraph in the docs page would need some clarification (or removal of the IOCTL name altogether).

Thanks for the added context, @HBelusca. This IOCTL is indeed deprecated and isn't shipped in any public headers anymore. I've updated the docs to remove any mention of it. I've also messaged the feature team to ask that they remove the comment about it; hopefully they'll find time to do so.


chore(sonarr): add 720p CF

Pull Request
Purpose
Adding a 720p CF to sonarr.
Approach
This is following the 2160p and 1080p formats already available for Sonarr, plus the 2160p, 1080p and 720p formats for Radarr, to complete the set.
Hash created via https://md5.gromweb.com/?string=Sonarr+720p
Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

Just curious why would we want a CF for this resolution?
Basically it wouldn't be needed being quality trump's all.
The only reason Radarr has it, is because of a special quality profile where it's needed for the 1080p and 2160p

Yes, I am doing something similar than SQP for my TV shows, in that I combine certain qualities into a single profile and want to use resolution as one of the factors by which I rank what release I want. I can of course add this manually, but having it as a TRaSH rule would make my usage of recyclarr much more consistent.
I thought this addition wouldn't be too controversial, given that sonarr already has the 1080p and 2160p rules. But if you feel it goes against the principles of your guides, of course feel free to close/reject this.

Seems we're also missing the 2160p in Sonarr, add that one also and i will accept it ;)

Will do, give me a few days, this week is pretty busy.

Will do, give me a few days, this week is pretty busy.

just  a ping so you don't forget

@TRaSH- , there is already a 2160p file, no? 😅
https://github.com/TRaSH-Guides/Guides/blob/master/docs/json/sonarr/cf/2160p.json

Think this 720p CF also needs to be added to the Sonarr Collection of Custom Formats guide page.

Think this 720p CF also needs to be added to the Sonarr Collection of Custom Formats guide page.

we don't have the resolutions CF in the table, iirc not even in Radarr


Split parsing logic into separate method

Allow parsing makemkv that exists already. This change allows me to do that

Thank you for your interest in contributing to this project!
Could you please explain why you think the parsing logic should be split into a separate method? I admit that MakeMKV._run() is a huge block of code, but I am not sure if this change is the right approach to solve the problem (the for loop is still ~200 lines long).

There are still issues with code formatting. Could you please run nox -s format or black . on your code?

It would be great if you could also run nox on your code to fix formatting issues and try to fix linter warnings if there are any.

I ran it and fixed it


Add tools version 5.6 and set it as the current version for main branch

Add tools version 5.6 and set it as the current version for main branch
Motivation:
It's not clear yet whether this will be the next version, but we need a new version in order to remove the gates for the plugin support.  We can always adjust it later when the next version of Swift gets an official version number.
Modifications:

add v5_6 enum
set 5.6.0 as the current SwiftPM version (but keep it marked as being in development)

A separate PR will adjust the plugin availability.

@swift-ci please smoke test

It's not clear yet whether this will be the next version

It seems that apple/swift#38574 suggests that 5.6 is the next version.

It's not clear yet whether this will be the next version

It seems that apple/swift#38574 suggests that 5.6 is the next version.

Ah, well spotted!  Thanks!  I usually wait for an announcement but in this case I wanted to move forward with the plugins.

@abertelrud good to merge? I would like to rebase #3635 on top when it is

Good to merge — it was just waiting for CI and approval.  Merging now.


Upgrade od twith odac122010

FYI, the root .psm1 set script (module) variables and all other modules need to use them. The differences per module name are in

The .psm1 file

Different file names
Importing different set of cmdlets

Some cmdlets check the module name and make a decision

Both paths were validated. Ready for squash and merge.


Reduce the permissions that bestof.js can access

When I was logging in with my github account, it asked for both read/write access to both my public and private repositories. I am sure there are tons of people who would not feel comfortable with giving write permissions to someone, and it is not really necessary I think.
My suggestion is to ask only for read access, as that is more than enough to do any of the current and future functionalities of bestofjs.

Good catch Steve!
Of course we don't need write access at all, I was not careful when I did the setup.
I will fix that as soon as possible.

Hello again Steve @sradevski , I have just changed the permission, using the strict minimum:
Limited access to your public data

Could you confirm that it's OK? Thank you in advance!

I just confirmed it is just the public information. I think this can be closed.


Delete files not found in Recycle bin

I discard my folder in source control in activity panel VS CODE. I didn't know it was deleted in my PC. I checked those file recycle bin but there are not here. Any one know how to get it. Please help me.
Thank you.
VS CODE version : 1.45.0
OS : Windows 10 Pro 1903 (OS Build 18362.418)

Did you get this message?

If you still have the file open in VS Code you might be lucky. Look for its tab with a '(deleted)' suffix in the label.

Make the file dirty (e.g. add a space and delete it).
Save the file.

Did you get this message?

I don't remember exactly. I think it show message. It’s my fault😔 Thank you

If you still have the file open in VS Code you might be lucky. Look for its tab with a '(deleted)' suffix in the label.

Make the file dirty (e.g. add a space and delete it).
Save the file.

Thank you 😊


Platform issue

What version of fleet are you using (fleet version --full)?
fleet - version 2.0.0-rc4
branch:       master
revision:     71e8e3917eb77058721c9f7ad6e4d3e3704717a2
build date:   2018-08-14T23:56:00Z
build user:   zwass
go version:   go1.10.2
What operating system are you using?
LSB Version:    n/a
Distributor ID: SUSE
Description:    SUSE Linux Enterprise Server 12 SP2
Release:        12.2
Codename:       n/a
What did you do?
Created pack:
---
apiVersion: v1
kind: pack
spec:
  name: Test1
  description: TEST Pack.
  targets:
    labels:
      - 'SLES 12 SP2'
  queries:
    - query: authorized_keys
      name: authorized_keys
      platform: sles
      interval: 30
      shard: 100
      removed: true
    - query: dns_resolvers
      name: dns_resolvers
      interval: 30
      shard: 100
      removed: true

Created a label for SLES 12 SP2:
# fleetctl get l
+--------------+----------+--------------------------------+--------------------------------+
| SLES 12 SP2  |          |                                | SELECT 1 from os_version WHERE |
|              |          |                                | name='SLES' AND major='12' AND |
|              |          |                                | minor='2';                     |
+--------------+----------+--------------------------------+--------------------------------+

The platform icon is the same as "All":

What did you expect to see?
authorized_keys query executed as the targeted host platform is sles:
osquery> select * from os_version
    ...> ;
+------+---------+-------+-------+-------+-------+----------+---------------+----------+
| name | version | major | minor | patch | build | platform | platform_like | codename |
+------+---------+-------+-------+-------+-------+----------+---------------+----------+
| SLES | 12-SP2  | 12    | 2     | 0     |       | sles     |               |          |
+------+---------+-------+-------+-------+-------+----------+---------------+----------+

What did you see instead?
Only the query dns resolvers is being executed.
If i remove platform option from the query or change it to linux works fine.

@rubenrodr-versia the platform that you specify in a query is passed to osquery in the pack contents, and interpreted as specified in the docs (https://osquery.readthedocs.io/en/stable/deployment/configuration/#schedule)

sles is not a valid platform for osquery, so the query does not execute.


Can't get list of tags for a given class

I'm unable to get an array of tags scoped by model as specified by the README:
In my model:
  Gutentag::ActiveRecord.call self
  def tags_as_string
    tag_names.join(", ")
  end
  def tags_as_string=(string)
    self.tag_names = string.split(/,\s*/)
  end

In my view:
Gutentag::Tag.names_for_scope(MyClassName)
Resulting Error:
undefined method names_for_scope' for #Class:0x00007fbf91d1df28`

I'm at a bit of a loss as to why this isn't working - but, I guess a starting point: are you using v2.5.0 or newer? As that's when the names_for_scope method was added.


How is it so fast ?

I'm using your code on a custom dataset, it works really well, thank you ! However, I'm very surprised at the speed: 70ms/image at test time, with images of size roughly (600, 1000), whereas the original Faster RCNN paper reports 140ms/image at best. I've compared with the new official Tensorflow object detection API , on which I get 140ms/image on the same dataset (with ResNet101; and 125ms/img with ResNet50).
I find it hard to believe that the difference is all on VGG16 vs ResNet, since they are supposed to be roughly similar in speed. So is there any other major change compared to normal Faster RCNN from the original paper in your implementation ?

It is truly fast than  Tensorflow object detection API, I get the similar result with you, but using  Tensorflow object detection API, get 800ms/image on the same dataset (with Resnet101). But with cpu, both are slow,  Tensorflow object detection API get about 7s/image, this code get about 10s/image, maybe implementation on gpu is reasonable. Thank you very much.

@gdelab what GPU are you running it on? Your reply really encourages me to test this one out.


ign -> gz Header Migration : ign-transport

See https://github.com/ignition-tooling/release-tools/issues/711

CI is pending msgs
I had to install test_config.h for ignition to run tests properly (without reworking the test CMakeLists)

Note to self: Pending ign-msgs

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!


Multi-crate setup: Recompiling shared dependencies

I am noticing that in a multi-crate setup, my CI time is largely spent on recompiling the same common dependencies. Is there any existing feature I could use to either cache cargo deps across CI runs, or share them between crates?
I do not know if this is feasible and I understand it is not a pressing issue. Thank you for your wonderful project--it's beyond useful as-is.

have you tried sccache?

If the crates share a workspace and you don't set different RUSTFLAGS for different crates, the shared dependencies should only be compiled once.

@riidefi Could you provide some more details?

Closing. You are absolutely correct. I did not realize that each library version was an entirely distinct build target. Apologies for any confusion and I hope I did not waste your time much at all. I am genuinely sorry for not checking that--I'm not sure how I looked over something so obvious.
That being said, The sscache suggestion was helpful given the deps don't change run-to-run.


[Suggestion] Headset View Manipulation

I think there are some ways to combat vr sickness when using artifical movement. The controller movement or the room extender could benefit from it.

[ ] Changing the FOV when in motion
[ ] Blurring the the full view or some parts of it
[ ] Blacking out the outer edges

I have no starting point when implementing these. Maybe someone can give me a hint?

There is a blur package as part of the standard assets (you used to be able to call blur directly on cameras, but that was deprecated)
https://docs.unity3d.com/Manual/script-BlurOptimized.html

Although this is also this:
https://docs.unity3d.com/Manual/script-CameraMotionBlur.html
Maybe that would work well?

This seems like a pretty specific example for VRTK Core. I'm not arguing that this is a common problem in VR with motion based controls (most people seem to move away from this as they keep working on their title).
In an effort to clean up the issue list, I'm proposing we close this one due to the broad scope of the problem.

I could see at least the fov vignetting as a VRTK core feature as a script that you drop on the player/camera prefab and link it to the velocity? It could rely on the the unity post processing stack for max performance and compatibility with the other effects.
Any thoughts?

We already have a bug specifically for vignetting #347.

Let's keep this and close https://github.com/thestonefox/VRTK/issues/347

This repo was posted in #347; It works pretty well with my VR project that's using MoveInPlace. It originally only accounted for turning, but I recently had a pull request go through to have it also take velocity into effect.

Good call @Poeticode i wonder if the dev would want to integrate with VRTK? I guess having a suggested solution to people is good enough though. Not everything needs to be integrated :)

@thestonefox Yeah, it'd be really easy to integrate. But it's also pretty easy to use standalone. You just need to have the script attach to your headset gameobject.

I've also used the same repository in one of my older projects and while it's trivial to use it would be nice to have it as a core feature so it automatically works with multiple SDK's and hooks to other VRTK stuff as much as possible.
Since I need this feature in a newer project I could do a PR for this and implement it with the VRTK code style and other stuff. The original repo is MIT however could still leave a leave small attribution to relevant files about the original author and repo.
Any comments?

The author of the repo said we can port it over if we want. I think we should give mucho credit to him though (plus we need to include his MIT license in our THIRD_PARTY_LICENSES.md file)
But we need to think of a good way of getting to work seamlessly. The other project expects you to add stuff to the cameras, I wonder if we can auto add to the active camera. then we need a way of activating the effect and the intensity of it.
Then we need to hook it into scripts that would require it somehow, but i'm not sure i like the idea of scripts all having to know about a tunnelling script.
Perhaps the body physics script could emit a velocity that the tunneling script could listen for, or maybe the tunnelling script takes an optional body physics object and when the velocity of the body physics goes up, the tunnelling increases.
If you don't provide it with a body physics script, you'd have to manually set the tunnelling effect via method calls.

I have a drop one script anywhere kind of solution in my old project but it needs some cleaning first to match VRTK guidelines. I can do a PR tomorrow and we can work from there.

Here's a copy of my comment in #347 researching the various methods on how tunneling is implemented, and updates at the end:

The biggest question we're going to probably have to answer is: What method of implement do we use?
From what I've seen there are several different methods of implementing tunnelling/vignetting:

2d cutout
Shader
Vignette and chromatic aberration script
I'm not sure how Google Earth implements its version.

Which leaves us with key questions like: What are tradeoffs of each one? Is there any reason one is better than the others? Are there any performance tradeoffs that make one method a bad idea?
Sadly since most of the available information I can find comes in the form of research papers of people trying this for the first time as a concept and people doing tutorials on the first technique they found, there isn't really an answer to what kind of performance issues each method has.
Tradeoffs and advantages for each I can think of so far:

The script method seems the simplest, a well known (built-in?) script, easily scriptable, and comes with adjustable parameters.
Perhaps the cutout method in combination with a stencil shader could implement something that looks like the way google does it.
I have no clue how the shader method works and I haven't heard much about it or what kind of compatibility or interfering side effects it could have.
One comment mentions that the script method doesn't work for Daydream.
The cutout method requires the addition of a physical 2d plane to the scene fixed in front of the camera, if you're not careful to apply layers and per-camera visibility correctly that object can show up in other camera views such as when doing mixed reality recording.

Updates:

I picked up shader coding a few weeks ago so I understand more about the shader method.

The shader itself is nothing special, it's just a shader that applies a variable vignette effect (inverse black circle) according to a velocity based strength variable. This much could even be applied to the cutout method instead of scaling the cutout.
The only thing special about this method is that the shader is used as an ImageEffect instead of on an in-world material.
This means that this method works almost exactly like the method that uses Unity's standard "Vignette and chromatic aberration script" and thus has the same faults as the script method. ie: Possible incompatibility with Daydream.

The VignetteAndChromicAberration script is deprecated now, unity has replaced the Image Effects in the Standard Assets with a new Post Processing Stack that provides a bunch of image effects and groups some of them into a single shader / less passes (eg: vignette + part of the bloom and fog implementations are on the same Uber shader) for performance improvements and correct order of processing.

This new post processing stack can be used the exact same way as the old image effect with the script method. With the bonus that it'll be more efficient than a custom vignette effect if the user uses anything else in the post process stack.

Summary:
I believe that both methods (in-scene cutout vs image effect) have fundamental issues in various environments that haven't gone away (ie: some setups can use one method but others can't). There are also multiple possible image effect implementations each with enough reasons for some people to use it that we shouldn't tie ourselves to a single implementation.
Given that I think we should offer multiple ways of doing vignetting:

The body physics script should be responsible for providing the vignette strength so implementations don't go re-implementing this, and there is a standard location for this behaviour to be augmented (in case a game has special teleport/rotation/cockpit/etc... handling that requires a slightly different vignette response).
We should offer multiple implementations for the vignette effect:

A cutout implementation that controls the vignette on a quad in front of the camera.

However I think we should do this with a vignette shader instead of by scaling the cutout, this will cut out the use of a 2d texture. (AFAICT, possible memory improvement and resolution improvement)
We may want to give some thought into avoiding the issue where the cutout shows in the spectator camera. This will probably just be a case of warning them that they have a spectator camera and they haven't created a layer for things that the spectator camera can't see and put the cutout in that layer (probably also helpful for tooltips too).

An image effect implementation that uses Unity's Post Processing Stack's VignetteComponent to do the vignette.
An image effect implementation that uses a custom Vignette shader (probably just SixWay's implementation) for the subset of users that want to use an image effect but do not want to use Unity's post processing stack.

#1534
For the initial version I did not create a dependency to body physics and post processing stack integration should probably happen after the v2 is finally out and in the asset store. The actual shader is so simple that it should work on all mobile and desktop devices and more info is required if this is not the case.

@reznovVR I don't believe it's about the simplicity of the shader itself but likely compatibility of Image Effects in general. For instance I see this open Unity bug about image effects being broken in Daydream, which could be related to the issue the commenter had. Likewise if it's not broken make sure not to repeat this mistake.
And of course there's the whole part about the Post Processing Stack being more efficient than any custom image effect shader if you're using the stack.

I'm going to close this as we have tunnel effect in release 3.3.0


Add SWORD version from shp.xml to DB entries

Stakeholder requested returning the SWORD version from the SWOT shapefiles as a field with the data attributes. This info is in a separate xml file in the shp zip so requires a bit of special handling.

Related to #24

The <xref_prior_river_db_files> tag in the *.shp.xml files contains netcdf files for each swath generated from SWORD. These files follow the naming convention SWOT_RiverDatabase_Nom_231_208L_20200101T000000_21000101T000000_20230414T153800_v215.nc where the last two digits of the version tag v215 indicate the version of SWORD that the SWATH files were derived from. We can parse these digits out of these filenames to input as a sword_version field in each record

Going to start work to add SWORD version to API response.


URL for Amazon Warehouse

Hi, i'm really appreciating your work! I have one thing to ask. I can use Amazon Warehouse link to get the product and this is really cool. I found the way to get the lowest price in the warehouse and that's fantastic. The only thing i can't find is the URL with tag for the Amazon Warehouse's page of the product.
There is 1 URL and goes always on the page of the standard Amazon.
I hope you can understand what i'm saying and help me 🤣
Thank you again

Hello how to get lowest price in thw warehouse?You can give me the method

Hello how to get lowest price in thw warehouse?You can give me the method

Hi, i'm really appreciating your work! I have one thing to ask. I can use Amazon Warehouse link to get the product and this is really cool. I found the way to get the lowest price in the warehouse and that's fantastic. The only thing i can't find is the URL with tag for the Amazon Warehouse's page of the product.
There is 1 URL and goes always on the page of the standard Amazon.
I hope you can understand what i'm saying and help me 🤣
Thank you again

The API does not provide Warehouse affiliate links, so you should create it yourself by adding tag=yourtag-21 to the URL.

Hi, i'm really appreciating your work! I have one thing to ask. I can use Amazon Warehouse link to get the product and this is really cool. I found the way to get the lowest price in the warehouse and that's fantastic. The only thing i can't find is the URL with tag for the Amazon Warehouse's page of the product.
There is 1 URL and goes always on the page of the standard Amazon.
I hope you can understand what i'm saying and help me 🤣
Thank you again

The API does not provide Warehouse affiliate links, so you should create it yourself by adding tag=yourtag-21 to the URL.


Failed to find OpenSSL development headers on MacOS

libindy/mac.build.sh
...
  thread 'main' panicked at '
  Header expansion error:
  Error { kind: ToolExecError, message: "Command \"cc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-fno-omit-frame-pointer\" \"-m64\" \"-I\" \"/usr/local/opt/openssl@3/include\" \"-Wall\" \"-Wextra\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." }

  Failed to find OpenSSL development headers.

  You can try fixing this setting the `OPENSSL_DIR` environment variable
  pointing to your OpenSSL installation or installing OpenSSL headers package
  specific to your distribution:

      # On Ubuntu
      sudo apt-get install libssl-dev
      # On Arch Linux
      sudo pacman -S openssl
      # On Fedora
      sudo dnf install openssl-devel

  See rust-openssl README for more information:

      https://github.com/sfackler/rust-openssl#linux

PR: https://github.com/hyperledger/indy-sdk/pull/2472

Still failing with Rust 1.58. On Mac we seem to need the dependency on<EMAIL_ADDRESS>

Merged


alternatives/replacement for registrator?

Anyone have any suggestions for similar/alternative projects that do what registrator does?

There is this project (shameless self-promotion): https://hub.docker.com/r/widepath/container-data/

Kubernetes has official Consul support as mentioned in this blog post.
If you are using docker swarm, they should have a native service discovery mechanism that you should take advantage of.
I personally just use Nomad, which has rich Consul integration and just works.

It's not EOL, the code still works. If you're using it, great. If not, that's cool too.


Error: Permission Denial android

When I'm trying to read the url from an PDF file on an android device, I'm getting this error. I already put the ACTION_OPEN_DOCUMENT permission manually on the manifest.mxl file but still keeps the error.
[Error: Permission Denial: reading com.android.providers.downloads.DownloadStorageProvider uri content://com.android.providers.downloads.documents/document/msf:27/5904e0ebd5225.pdf from pid=28511, uid=10135 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs]
When I use on iOS it works fine, but on android it doesn't work.

@Ribas187 Did you find a solution to this? Thanks.

@Ribas187 Did you find a solution to this? Thanks.

I Did. Actually the error was occurring because I was using react-native-fs to read the file and I used the uri in a wrong way.


Create flag to assume closed world with respect to classes

Currently subtyping axioms allow classes not present in the dll to exist. Another possibility would be to assume that only existing classes can occur.

I'm working on a quick hack (replacing the "assert false" with a havoc. But this could lead to false negatives with respect to exceptions. We need to add assumptions for each existing type Base and existing subtypes A, B, C such that forall T subtype(T, Base) implies T == A || T == B || T == C.
This is also related to the following documented shortcoming (should pass, but fails assertion). We might need to update the test after the hack too.
https://github.com/m7nu3l/TinyBCT/blob/0841ed8eb96977740b6afc94f48619c7bb037a2a/Test/DynamicDispatch.cs#L309-L327
Code tested in the following test:
https://github.com/m7nu3l/TinyBCT/blob/0841ed8eb96977740b6afc94f48619c7bb037a2a/TinyBCT/Tests/Tests.cs#L1302-L1308

I have trouble testing and believe there are interactions with issue #33. Work on this issue on hold for the moment.

We decided against adding this flag. We realized it was not necessary and that the unwanted behaviors we were seeing were due to bugs which were fixed within issue #29.


skip watching /var/lib/etcd/member/ for kubebench scanner

In a 3 node k8s cluster setup by kubeadm, find below false alarm in kubebench scanner's log:
2023-03-06T15:21:50Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:51Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:51Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:51Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:51Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:51Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:51Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:52Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:52Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:54Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:54Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:54Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:54Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:55Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/wal/0000000000000000-0000000000000000.wal
2023-03-06T15:21:55Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db
2023-03-06T15:21:55Z [INFO] [/workspace/pkg/inspectors/kubebench/cmd/main.go:122]: modified file: /var/lib/etcd/member/snap/db

This is because we should not monitor  "/var/lib/etcd/member/"

Codecov Report

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

@@              Coverage Diff               @@
##             develop-0.3     #193   +/-   ##
==============================================
  Coverage               ?   56.28%
==============================================
  Files                  ?       11
  Lines                  ?      947
  Branches               ?        0
==============================================
  Hits                   ?      533
  Misses                 ?      380
  Partials               ?       34

Flag
Coverage Δ

unittests
56.28% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

LGTM


Use iframes for internet explorer

Which would allow you to introduce winxp.now.sh in the URL bar and load itself.

Hi @rauchg! This has been brought up before but I can't find a good solution. Do you have any idea?

https://www.npmjs.com/package/react-iframe

Just adding what I know from trying to figure this stuff out myself...
Due to cross origin restrictions with iframes, the experience of just bolting them in here would be pretty horrible and crappy looking.
What can be done is:

Displays webpages in an extremely restrictive manner (e.g. disable scrolling so you don't have to deal with the scrollbar style clashes)
Design an iframe handler exclusively for pages coming from the same origin. Following a simple validation check (i.e. that you can access the window's properties), you have pretty much full control of what's going on within the iframe so you can set the window size to be the size of the iframe content and handle overflows in the component itself.

I'm trying the latter one atm on my similar thing, might be able to give some further ideas in a week or two.


randInList

First, many thanks for your work and the great doc^^
Description
Being able to define a list of words (or whatever) and provides one of them
Proposed solution
falso.randInList(['foo', 'bar']);
// foo
falso.randInList(['foo', 'bar']);
// bar

Alternatives considered
No response
Do you want to create a pull request?
No

in the core package there is a randElement that takes an array.
could we export that?

Isn't that the same as the already existing rand() function (docs)?

@rothsandro - Ah yeah, great shout! I'll close this then 😊

Didn't saw it. Exactly what I wanted. Many thanks!


Type parameter on ts.some/ts.find is too narrow when called on union of arrays, works with explicit instantiation

This is a follow-up to #52111 and #52123.
In the below code, every works as expected, which is new as of #52123. However, the some function can't be called on the array type at all, even though reasonably there's a top type which works (A), just like it works for every.
interface A           { a: string; }
interface B extends A { b: string; }
interface C extends A { c: string; }

declare function isC(x: A): x is C;

declare function every<T, U extends T>(array: readonly T[], callback: (element: T, index: number) => element is U): array is readonly U[];
declare function every<T, U extends T>(array: readonly T[] | undefined, callback: (element: T, index: number) => element is U): array is readonly U[] | undefined;
declare function every<T>(array: readonly T[] | undefined, callback: (element: T, index: number) => boolean): boolean;

declare function some<T>(array: readonly T[] | undefined): array is readonly T[];
declare function some<T>(array: readonly T[] | undefined, predicate: (value: T) => boolean): boolean;

function foo(array: readonly B[] | readonly C[] | undefined) {
    if (every(array, isC)) {
        array;
        // ^?
    }

    if (some(array)) {
        array;
        // ^?
    }

    if (some(array, isC)) {
        array;
        // ^?
    }

    if (some<A>(array)) {
        array;
        // ^?
    }

    if (some<A>(array, isC)) {
        array;
        // ^?
    }
}

Output
"use strict";
function foo(array) {
    if (every(array, isC)) {
        array;
        // ^?
    }
    if (some(array)) {
        array;
        // ^?
    }
    if (some(array, isC)) {
        array;
        // ^?
    }
    if (some(array)) {
        array;
        // ^?
    }
    if (some(array, isC)) {
        array;
        // ^?
    }
}

Compiler Options
{
  "compilerOptions": {
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "alwaysStrict": true,
    "esModuleInterop": true,
    "declaration": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "target": "ES2017",
    "jsx": "react",
    "module": "ESNext",
    "moduleResolution": "node"
  }
}

Playground Link: Provided

I will say that the first overload to some could be:
export function some(array: readonly unknown[] | undefined): array is readonly unknown[];

And function the same way (proving the array isn't undefined), but the callback case is the one that errors in the SFT branch.

This is another case on the SFT branch: Playground Link
enum SyntaxKind {
    Block,
    Identifier,
    CaseClause,
    FunctionExpression,
    FunctionDeclaration,
}

interface Node { kind: SyntaxKind; }
interface Expression extends Node { _expressionBrand: any; }
interface Declaration extends Node { _declarationBrand: any; }
interface Block extends Node { kind: SyntaxKind.Block; }

declare function find<T, U extends T>(array: readonly T[] | undefined, predicate: (element: T, index: number) => element is U, startIndex?: number): U | undefined;
declare function find<T>(array: readonly T[] | undefined, predicate: (element: T, index: number) => boolean, startIndex?: number): T | undefined;

function foo(array: readonly Declaration[] | readonly Block[] | undefined) {
    const a = find(array, (node) => true); // error!
    //    ^?

    const b = find<Declaration | Block>(array, (node) => true);
    //    ^?

    const c = find<Node>(array, (node) => true);
    //    ^?
}

So, this extends past ts.some and more into "array related helpers when passed unions of arrays"; maybe these are the cases that we don't expect to work.

@ahejlsberg for interest.

Then there's this...
// @strict: true

const enum SyntaxKind {
    Modifier,
    Decorator,
}

interface Node {
    kind: SyntaxKind;
}

interface Modifier extends Node { kind: SyntaxKind.Modifier; }
interface Decorator extends Node { kind: SyntaxKind.Decorator; }

declare function isModifier(node: Node): node is Modifier;
declare function isDecorator(node: Node): node is Decorator;

declare function every<T, U extends T>(array: readonly T[], callback: (element: T) => element is U): array is readonly U[];

declare const modifiers: readonly Modifier[] | readonly Decorator[];

function foo() {
    every(modifiers, isModifier); // error? (undesired)
    every(modifiers, isDecorator); // no error (desired)
}

Playground Link

Unbelievably, I figured out what might be a fix for all of these cases... Will send a PR tonight/tomorrow morning.

Regarding the error with find:
function foo(array: readonly Declaration[] | readonly Block[] | undefined) {
    const a = find(array, (node) => true); // error!
    //    ^?
    const b = find<Declaration | Block>(array, (node) => true);
    //    ^?
    const c = find<Node>(array, (node) => true);
    //    ^?
}

It's not clear there's anything we can do here. Neither of the co-variant inferences we make for T is a supertype of the other, and there are no contra-variant inferences to help us out. The type readonly Declaration[] | readonly Block[] clearly indicates that we don't want to mix the two element types and therefore we don't infer Declaration | Block. This is a long standing principle that I don't think we want to mess with.

Yeah, I had found some more examples that already existed in the codebase pre-SFT like this.
I'm going to retest SFT with #52180 as LKG and see how far we get; I'm guessing it will turn out okay.

Array#find feels like one of those cases like with include where you really want to allow bivariant inputs (#36352, #26255) but there's currently no mechanism in the type system to do so. 😿


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in ceb6ec6 after 5 minutes.


fix: variable context

fixes #15510

@jeffreykoetsier could you fix the lint issue?

@jeffreykoetsier Nice catch. Sorry for introducing the bug.


Highlight stack traces

Doesn't need to be precise to be better than the ALL RED status quo. Even a simple red/white scheme would make stack traces much easier to read

https://github.com/lihaoyi/Ammonite/pull/107


Function "Copy all" not usable for users without superuser rights

For placheolders from placeholder model fields the function is not usable. The has_copy_plugin_permission from PlaceholderAdmin and PageAdmin differs. The target placeholder for copy all is the user clipboard. The PageAdmin function takes into account that the clipboard placeholder has no page and doesn't check the permissions for it. The function from PlaceholderAdmin does not and checks them. But there couldn't be found any permissions for the clipboard and the copy permission is always denied!
Permission check for target placeholder @PlaceholderAdmin: https://github.com/divio/django-cms/blob/develop/cms/admin/placeholderadmin.py#L151 vs permission check @PageAdmin https://github.com/divio/django-cms/blob/develop/cms/admin/pageadmin.py#L549
Target Placeholder permission check leads to: https://github.com/divio/django-cms/blob/develop/cms/models/placeholdermodel.py#L103-L114 no superuser, no page, no attached objects -> return None

Permissions are not my forte, any takers?

Fixed by 79d707b706b72e1cd9e653a2161c5cb7764c66a1


Is this projet still maintained?

Hi,
I'm considering setting a few masternodes, I would like to know if you are still maintaining this projet considering the lack of activity?
Cheers,

Yes, there is a strong community and 300+ masternode running right now. The dev has changed in march, and a new owner is handling the project.
Feel free to join the forum, and please share some good vibes to help us bring this wonderful coin where it deserves to be.

Alright, thanks ! Gonna run a few of them then


Add API Gateway to list of tested services

Works perfectly with API Gateway!

Closing for now, just stumbled upon the unit tests...

That's great to know, thanks @nathforge. Do you have any ideas for a simple live service test for API Gateway, in the same form as the other tests in the AWS4Auth_LiveService_Test class in requests_aws4auth_test.py? I've had a look at the AWS docs and am scratching my head trying to put together a simple GET requrest which doesn't require any preconfiguration of the service yet needs an authorization header.


Added a new App Idea

This is my contribution for HacktoberFest, hope you merge it. I would really appreciate it.

I cant find the issue with my file, can u help me please.


template related error locally and on hackage

I cannot install CCA. When I try, I receive this output
`$ cabal install cca
Resolving dependencies...
Downloading syb-0.4.4...
Configuring syb-0.4.4...
Building syb-0.4.4...
Installed syb-0.4.4
Downloading haskell-src-<IP_ADDRESS>...
Configuring haskell-src-<IP_ADDRESS>...
Building haskell-src-<IP_ADDRESS>...
Installed haskell-src-<IP_ADDRESS>
Downloading CCA-<IP_ADDRESS>...
Configuring CCA-<IP_ADDRESS>...
Building CCA-<IP_ADDRESS>...
Failed to install CCA-<IP_ADDRESS>
Build log ( /Users/tj/.cabal/logs/CCA-<IP_ADDRESS>.log ):
Configuring CCA-<IP_ADDRESS>...
Building CCA-<IP_ADDRESS>...
Preprocessing library CCA-<IP_ADDRESS>...
[1 of 4] Compiling Language.Haskell.TH.Instances ( src/Language/Haskell/TH/Instances.hs, dist/build/Language/Haskell/TH/Instances.o )
[2 of 4] Compiling Control.CCA.Types ( src/Control/CCA/Types.lhs, dist/build/Control/CCA/Types.o )
[3 of 4] Compiling Control.CCA.CCNF ( src/Control/CCA/CCNF.lhs, dist/build/Control/CCA/CCNF.o )
[4 of 4] Compiling Control.CCA      ( src/Control/CCA.lhs, dist/build/Control/CCA.o )
In-place registering CCA-<IP_ADDRESS>...
Preprocessing executable 'ccap' for CCA-<IP_ADDRESS>...
[1 of 7] Compiling State            ( preprocessor/State.hs, dist/build/ccap/ccap-tmp/State.o )
preprocessor/State.hs:7:10: Warning:
‘State’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
[2 of 7] Compiling Utils            ( preprocessor/Utils.lhs, dist/build/ccap/ccap-tmp/Utils.o )
[3 of 7] Compiling ArrCode          ( preprocessor/ArrCode.lhs, dist/build/ccap/ccap-tmp/ArrCode.o )
[4 of 7] Compiling ArrSyn           ( preprocessor/ArrSyn.lhs, dist/build/ccap/ccap-tmp/ArrSyn.o )
[5 of 7] Compiling Lexer            ( preprocessor/Lexer.hs, dist/build/ccap/ccap-tmp/Lexer.o )
[6 of 7] Compiling Parser           ( dist/build/ccap/ccap-tmp/Parser.hs, dist/build/ccap/ccap-tmp/Parser.o )
templates/GenericTemplate.hs:104:22:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression:
(n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
In a stmt of a pattern guard for
a case alternative:
(n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
In a case alternative:
n | (n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
-> (happyReduceArr Happy_Data_Array.! rule) i tk st
where
rule
= (Happy_GHC_Exts.I#
((Happy_GHC_Exts.negateInt#
((n Happy_GHC_Exts.+# (1# :: Happy_GHC_Exts.Int#))))))
templates/GenericTemplate.hs:115:23:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression:
(off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#))
In the expression:
if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
In an equation for ‘check’:
check
= if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
templates/GenericTemplate.hs:117:30:
Couldn't match expected type ‘Happy_GHC_Exts.Int#’
with actual type ‘Bool’
In the expression: False
In the expression:
if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
templates/GenericTemplate.hs:119:13:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression: check
In a stmt of a pattern guard for
a pattern binding:
check
templates/GenericTemplate.hs:212:14:
Pattern bindings containing unlifted types should use an outermost bang pattern:
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
In an equation for ‘happyMonadReduce’:
happyMonadReduce k nt fn j tk st sts stk
= happyThen1
(fn stk tk)
(\ r -> happyGoto nt j tk st1 sts1 (r HappyStk drop_stk))
where
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
drop_stk = happyDropStk k stk
templates/GenericTemplate.hs:219:14:
Pattern bindings containing unlifted types should use an outermost bang pattern:
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
In an equation for ‘happyMonad2Reduce’:
happyMonad2Reduce k nt fn j tk st sts stk
= happyThen1
(fn stk tk)
(\ r -> happyNewToken new_state sts1 (r HappyStk drop_stk))
where
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
drop_stk = happyDropStk k stk
(off) = indexShortOffAddr happyGotoOffsets st1
(off_i) = (off Happy_GHC_Exts.+# nt)
....
cabal: Error: some packages failed to install:
CCA-<IP_ADDRESS> failed during the building phase. The exception was:
ExitFailure 1`

                                                                                This is caused by a happy preprocessed file left dangling in the dist directory, and it is somehow the default behavior of cabal sdist to pick up this file and stuff it into the distributable. Quite frustrating. But anyway I have removed the file and uploaded a new version to hackage. Please give it a try.BTW, I don't know much about upperbound, and since there is no easy way for me to test it with different GHC versions and library version. I am not inclined to modify the cabal file without knowing what I should put. Thanks for the bug report! I appreciate it.Regards,Paul Liu                                                                                Sent from my BlackBerry 10 smartphone.                                                                                From: TJ UsiyanSent: Saturday, January 31, 2015 1:14 PMTo: ninegua/CCAReply To: ninegua/CCASubject: [CCA] template related error locally and on hackage (#2)I cannot install CCA. When I try, I receive this output

`$ cabal install cca
Resolving dependencies...
Downloading syb-0.4.4...
Configuring syb-0.4.4...
Building syb-0.4.4...
Installed syb-0.4.4
Downloading haskell-src-<IP_ADDRESS>...
Configuring haskell-src-<IP_ADDRESS>...
Building haskell-src-<IP_ADDRESS>...
Installed haskell-src-<IP_ADDRESS>
Downloading CCA-<IP_ADDRESS>...
Configuring CCA-<IP_ADDRESS>...
Building CCA-<IP_ADDRESS>...
Failed to install CCA-<IP_ADDRESS>
Build log ( /Users/tj/.cabal/logs/CCA-<IP_ADDRESS>.log ):
Configuring CCA-<IP_ADDRESS>...
Building CCA-<IP_ADDRESS>...
Preprocessing library CCA-<IP_ADDRESS>...
[1 of 4] Compiling Language.Haskell.TH.Instances ( src/Language/Haskell/TH/Instances.hs, dist/build/Language/Haskell/TH/Instances.o )
[2 of 4] Compiling Control.CCA.Types ( src/Control/CCA/Types.lhs, dist/build/Control/CCA/Types.o )
[3 of 4] Compiling Control.CCA.CCNF ( src/Control/CCA/CCNF.lhs, dist/build/Control/CCA/CCNF.o )
[4 of 4] Compiling Control.CCA      ( src/Control/CCA.lhs, dist/build/Control/CCA.o )
In-place registering CCA-<IP_ADDRESS>...
Preprocessing executable 'ccap' for CCA-<IP_ADDRESS>...
[1 of 7] Compiling State            ( preprocessor/State.hs, dist/build/ccap/ccap-tmp/State.o )
preprocessor/State.hs:7:10: Warning:
‘State’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
[2 of 7] Compiling Utils            ( preprocessor/Utils.lhs, dist/build/ccap/ccap-tmp/Utils.o )
[3 of 7] Compiling ArrCode          ( preprocessor/ArrCode.lhs, dist/build/ccap/ccap-tmp/ArrCode.o )
[4 of 7] Compiling ArrSyn           ( preprocessor/ArrSyn.lhs, dist/build/ccap/ccap-tmp/ArrSyn.o )
[5 of 7] Compiling Lexer            ( preprocessor/Lexer.hs, dist/build/ccap/ccap-tmp/Lexer.o )
[6 of 7] Compiling Parser           ( dist/build/ccap/ccap-tmp/Parser.hs, dist/build/ccap/ccap-tmp/Parser.o )
templates/GenericTemplate.hs:104:22:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression:
(n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
In a stmt of a pattern guard for
a case alternative:
(n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
In a case alternative:
n | (n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
-> (happyReduceArr Happy_Data_Array.! rule) i tk st
where
rule
= (Happy_GHC_Exts.I#
((Happy_GHC_Exts.negateInt#
((n Happy_GHC_Exts.+# (1# :: Happy_GHC_Exts.Int#))))))
templates/GenericTemplate.hs:115:23:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression:
(off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#))
In the expression:
if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
In an equation for ‘check’:
check
= if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
templates/GenericTemplate.hs:117:30:
Couldn't match expected type ‘Happy_GHC_Exts.Int#’
with actual type ‘Bool’
In the expression: False
In the expression:
if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
templates/GenericTemplate.hs:119:13:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression: check
In a stmt of a pattern guard for
a pattern binding:
check
templates/GenericTemplate.hs:212:14:
Pattern bindings containing unlifted types should use an outermost bang pattern:
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
In an equation for ‘happyMonadReduce’:
happyMonadReduce k nt fn j tk st sts stk
= happyThen1
(fn stk tk)
(\ r -> happyGoto nt j tk st1 sts1 (r HappyStk drop_stk))
where
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
drop_stk = happyDropStk k stk
templates/GenericTemplate.hs:219:14:
Pattern bindings containing unlifted types should use an outermost bang pattern:
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
In an equation for ‘happyMonad2Reduce’:
happyMonad2Reduce k nt fn j tk st sts stk
= happyThen1
(fn stk tk)
(\ r -> happyNewToken new_state sts1 (r HappyStk drop_stk))
where
(sts1@((HappyCons (st1@(action)) ())))
= happyDrop k (HappyCons (st) (sts))
drop_stk = happyDropStk k stk
(off) = indexShortOffAddr happyGotoOffsets st1
(off_i) = (off Happy_GHC_Exts.+# nt)
....
cabal: Error: some packages failed to install:
CCA-<IP_ADDRESS> failed during the building phase. The exception was:
ExitFailure 1`
—Reply to this email directly or view it on GitHub.


Fix SimpleAuction example for dashboard

Fix SimpleAuction example:

Add a workaround for #693
Rename .qnt file to match module name

(This fixes quint test. verify is N/A because there's no state machine, only runs.)

Seems like GitHub might have lost a webhook or something. All checks have passed but it was not merged


_tri not use arange function

Couldnt really provide solid benchmarking as speed is very volatile.
For average this PR, has ~0.37 ms for 256 .triu()
For average prev PR, has ~0.40 ms for 256 .triu()

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/tensor.py                         1               1
------------------------------------------------------------
lines added in the tinygrad folder: 0

hmm, not sure about this, it's less readable, and I don't think the small speedup is worth it. Cuz, arange is used the same way for all the other indexing stuff so there it's an easy target to optimize, but _pool is much more varying in its uses.

Yeah, totally agree if arange is optimized for O(N).