CI/CD basic implementation based on GitHub Actions (#167) issue

Todo fix the CI/CD error
https://github.com/hydrabus/hydrafw/actions/runs/8603212358/job/23574579221

I'm already looking into this. My apologies for this. Just when I started to think that I'm aware of most nuances of GitHub Actions, it never stops prove me wrong. I will try to fix it as soon as I can. So you can freely assign this one to me.

I hope this one should fix it. Pardon for not responding faster. But I guess since there were no any per-commit builds before at all, it's not so bad after all.

Just merged the PR and it seems to be working fine now.
Thanks for the fix and following up on this feature ;)


Make bootstrap verbose about generating project-config.jam

Indicate what toolset is being pre-configured as default.

Warning: Since this is my first PR for the super repo, I've been trying to be careful to not to mess with anything else but the bootstrap.bat and bootstrap.sh scripts only. Here is what I have done:
cd boost
git checkout develop
git pull
git submodule update
git checkout -b ml/bootstrap-verbose-on-project-jam
# edit bootstrap.bat|sh
git add bootstrap.bat
git add bootstrap.sh
git commit
git push mloskot ml/bootstrap-verbose-on-project-jam

If this is not good, please teach me what/how to correct the PR.

Reminder that this commit has not been cherry-picked into master yet.


Intermittent missing SLACK_WEBHOOK_URL

Sometimes we get this error:
Error: No SLACK_WEBHOOK_URL provided

https://github.com/OpenMined/PySyft/actions/runs/3579463590/jobs/6022166889
However other times it's no issue.

Any ideas why?

Also experiencing this but only for one repository, I have two other repos that are working fine. I have two macOS runners and one ubuntu-latest runner that work fine, and one ubuntu-latest runner that fails. The notify-slack-action step is identical for each repo.
Unsure what information might be relevant but happy to provide what I can

This is something that is not related to this action, so I am closing this issue.


Set "Sections Index" as default area of default (first) author

As described here: https://github.com/symphonycms/symphony-2/issues/2529
@nitriques - am I right in open this PR against the 2.6.X-Branch? Or should I use another branch?

am I right in open this PR against the 2.6.X-Branch?

Yes you are! Just check my comments in #2529 :)

Great, this will be merged for 2.7.0 !

Before I can pull this we need this change this line: https://github.com/symphonycms/symphony-2/blob/master/install/includes/install.sql#L13
And also do the change in the upgrade script ?

Before I can pull this we need this change this line: https://github.com/symphonycms/symphony-2/blob/master/install/includes/install.sql#L13

And also do the change in the upgrade script ?

Mmh... what would you change it to? We don't have a new default value for all types of authors and I don't see a problem keeping null.
Apart from setting /blueprints/sections/as default area for the first developer at installation my PR only changes the redirection after login for authors that actually do have null as default area - dependent on whether they are developers or not.
So having null in the database still is ok - which also means we wouldn't have to run any database-updates.

Well, ok then!

Sorry I had to delete the merge commit since it's in the wrong branch. It's now 17d87a5


Add new configuration options for API

Subset Restriction (web3, java):
Allow user of Aion nodes to restrict which apis are enabled

CORs Header (web3):
User should be able to provide origins listed in the 'Access-Control-Allow-Origin' header. Right now, it '*'.

Included in https://github.com/aionnetwork/aion/pull/322


sticked footer in bottom and changed login box ui

👨💻 Changes proposed:

Fixed the footer at the bottom which was in the middle of the screen in the LOGIN page (login.html)
Chaged the UI of Login page slightly and made it more modest by changed in styling adding in box and providing better UX.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of Hacktoberfest 2022.

📄 Note to reviewers

N/A
📷 Screenshots

changed from this to this

Please link the login page with the home page of MedStats.

it can be done from your end as i dont have netlify access of your project, i changed the ui only . Please approve this PR :)

Ensure that your repository is up-to-date with the latest changes.
Add an anchor tag for the login on the home page.
Provide the reference of your login page to that anchor tag.
Additionally, update the logo of the login page to match the updated logo of the home page.


Updating the annotator doesn't update poly_table and point_table

I can come up with a simple example next week, this is mostly a reminder.

This should have been fixed by now. Please reopen if not.


🐛 [Bug] Mobile Optimization - My Profile Page

🐛 Bugreport

No round corners on the gray panes in the mobile version

in PR https://github.com/gradido/gradido/pull/887


Plain Content Verbiage

Within Mail Settings > Plain Content the messaging states "Turn on if you don't want to convert your plain text email to HTML" however our docs state "The Plain Content setting will automatically convert any plain text emails that you send to HTML before sending."
Description of the change: See above
Reason for the change: Confusing verbiage
Link to original source: https://sendgrid.com/docs/ui/account-and-settings/mail/#plain-content

Closes #

Hello @kelseyenglish,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Dev

Looks good, the gitguardian security check is not a problem in this case, but we should add the mob_client_secret as an .env variable.


Fixed all 'modLog' to 'logging'

Changed deprecated logMod for the proper logging module.

@Sacules The actual functions need to be changed as well. Ex. printVerbose --> print_verbose

Done!

Do you mind going back and checking all the variables? basePath should be base_path and there might be more that need to be converted. Thanks c:


Assign team members to each task based on their skills and availability.

related to #13

Moving the task to in progress after having the team discussion on individuals skills in performing the task .

All the tasks have been closed after team performed them.


getLatestTimeStamp() is not a raffle function. raffle uses getLastTimeStamp

https://github.com/PatrickAlphaC/hardhat-smartcontract-lottery-fcc/blob/32f198ae019b1da5ba6491eb49fd22a9377036c3/test/staging/Raffle.staging.test.js#L20
https://github.com/PatrickAlphaC/hardhat-smartcontract-lottery-fcc/blob/32f198ae019b1da5ba6491eb49fd22a9377036c3/test/staging/Raffle.staging.test.js#L34

Whoops!
 It should be getLastTimeStamp

Fixed


Oracle L2

The team have failed to build trust in their product with their investors by allowing their investors to lose their funds due to negligence and have ultimately failed. The auditor of the project should be more thorough in their approach towards such projects.
The project has failed on all levels to protect their investors

Dear mobxxx1,
We appreciate your concerns and take them seriously. As SphinxShield, we understand the importance of building trust in the crypto space, and we want to clarify our role as a smart contract auditor.
Our primary responsibility is to assess the security of smart contract codes. While we thoroughly evaluate the codebase for vulnerabilities, we do not involve ourselves in the development, marketing, or community management aspects of projects we audit. Consequently, we do not assume responsibility for the overall success or failure of a project.
In the case of the mentioned project, it's important to note that SphinxShield provided a smart contract code security audit exclusively. We did not engage in KYC or offer any other services for this project beyond our core expertise.
To address concerns about investor protection, we are committed to enhancing our services. In our upcoming V2 website, we will introduce analytics trackers, community scanning, and real-time alerts. This initiative aims to empower investors with valuable information, allowing them to exercise caution when a project deviates from its planned development or reaches a critical point. Our V2 app, inspired by Certik with additional features, will serve as a comprehensive tool for monitoring project health.
We take your feedback seriously, and rest assured, we will continue to assess and refine our processes to better serve the community and uphold the integrity of the projects we audit.
Thank you for your understanding.


refactor: add safari fullscreen case

closes https://github.com/zakodium-oss/analysis-ui-components/issues/341

@targos I added safari fullscreen case. could you please check if it's functional.

Codecov Report
Base: 88.01% // Head: 88.01% // No change to project coverage :thumbsup:

Coverage data is based on head (936e42d) compared to base (f2c23f8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #356   +/-   ##
=======================================
  Coverage   88.01%   88.01%
=======================================
  Files          12       12
  Lines         868      868
  Branches      133      133
=======================================
  Hits          764      764
  Misses        104      104

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@lpatiny Can you check?


Docment blocked TLDs in Cloudflare

The Cloudflare API is not allowed to be used in certain TLDs, this is a quite hidden inside the Cloudflare documentation, we should add a note in ours telling this while also linking to  https://community.cloudflare.com/t/unable-to-update-ddns-using-api-for-some-tlds/167228

/priority important-longterm


Rewriting content-types for URLs

@atmos, how do you feel about rewriting the content-type for URLs that return image data but don't return the correct content-type.
Example URL:
http://www.schwab.com/public/file/Japanese-inflation-adjusted-wages-continue-to-fall/Japanese_inflation_adjusted_wages_continue_to_fall
You'll notice ‰PNG  IHDR in the first few bytes of the HTTP response.
How do you feel about a dependency on the mmmagic library?
https://github.com/mscdex/mmmagic
If camo were to support detection of content-types, I think this feature should be off by default.

May I ask why should Camo do any Content-Type whitelisting at all? Is there any security concern when rendering an img with some src returning bad content and / or Content-Type? I doubt any browser would execute scripts or the like when loaded via an img’s src… ?

Yes, previous testing showed that returning and rendering stuff like text/html and others allow for script executions, so it's a no go.

Ok. I am asking because we are developing an app using Camo and started seeing valid .png images from the web returned with no Content-Type, or weirder, Content-Type: application/json. Granted, these aren’t good web citizens, but still we’d rather have Camo render those images properly instead of broken 404’s (browsers are totally fine at rendering .png images served with no Content-Type, or even image/gif or application/json, they don’t seem to care much about the header).
So Camo’s current solution is to look at the Content-Type header and return a 404 if it’s not whitelisted. It is protecting you against receiving responses with Content-Type: text/html or text/javascript, etc. It is not protecting you against my “evil” website serving HTML/JS content with a seemingly legit Content-Type: image/png, right? So when receiving a non-whitelisted Content-Type (or none), why not just overwrite the Content-Type header with a whitelisted one, like image/png? Unless I’m missing something, this wouldn’t be any less secure than the current behavior.
I saw https://github.com/atmos/camo/pull/59 but reading the bytes sounds like too much overhead to me, especially for a lightweight app that should just proxy things.

Yeah, unfortunately a lot of the web is broken. We didn't run in to a significant amount of misconfigured servers sending back incorrect content-types at GitHub to ever address it.  I chose to keep it simple. Think of it like a firewall, only let in the stuff you specifically accept.


Azure Blueprint - Payment processing solution for PCI DSS enablement

@simorjay,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/Compliance/1-DeployAndConfigureAzureResources.md
:warning:Warning
View
Details

docs/Compliance/FAQ.md
:warning:Warning
View
Details

docs/Compliance/Overview.md
:warning:Warning
View
Details

docs/Compliance/Payment Sample dataset.md
:warning:Warning
View
Details

docs/Compliance/0-Setup-AdministrativeAccountAndPermission.md
:white_check_mark:Succeeded
View

docs/Compliance/index.md
:white_check_mark:Succeeded
View

docs/Compliance/1-DeployAndConfigureAzureResources.md

Line 0: [Warning] Invalid file link:(~/Compliance/0-Setup-AdministrativeAccountAndPermission.ps1).
Line 0: [Warning] Invalid file link:(~/Compliance/0-Setup-AdministrativeAccountAndPermission.ps1).
Line 24: [Warning] Invalid file link:(~/Compliance/images/ARM_template_deployment_timeline.png).

docs/Compliance/FAQ.md

Line 0: [Warning] Invalid file link:(~/Compliance/Configuration.md).
Line 0: [Warning] Invalid file link:(~/Compliance/Payment processing solution.md).
Line 111: [Warning] Invalid file link:(~/Compliance/images/deploy.png).

docs/Compliance/Overview.md

Line 20: [Warning] Invalid file link:(~/Compliance/images/4tier.png).
Line 226: [Warning] Invalid file link:(~/Compliance/images/Azure_PaaS_-_PCI_DSS_Reference_Architecture.png).
Line 424: [Warning] Invalid file link:(~/Compliance/images/Threat_Model.png).

docs/Compliance/Payment Sample dataset.md

Line 99: [Warning] Invalid file link:(~/Compliance/images/runbook_schedule_ingestion.png).
Line 130: [Warning] Invalid file link:(~/Compliance/images/OMS_Upgrade.png).
Line 151: [Warning] Invalid file link:(~/Compliance/images/OMS_Portal.png).
Line 156: [Warning] Invalid file link:(~/Compliance/images/OMS_workspace_open.png).
Line 161: [Warning] Invalid file link:(~/Compliance/images/OMS_View_Designer.png).
Line 171: [Warning] Invalid file link:(~/Compliance/images/OMS_SQL_Azure_Analytics.png).
Line 182: [Warning] Invalid file link:(~/Compliance/images/OMS_Workspace_and_Solutions.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Check that local and remote IP belongs to the same subnet

Environment

Python version:  3.8
Peering Manager version:  main

Proposed Functionality
Check that the local IP and the remote IP for a direct peering session belongs in the same subnet.
Use Case
This check will avoid typo in either one of the IP by preventing users to create a new session if the IPs are not in the same subnet. It could also make sense to look at the multi hop TTL field. If it is set to 1 then the IPs must belong to the same subnet, otherwise in case of multi hop base sessions the IPs can be in different subnets.
External Dependencies
None

Need to move from InetAddressField to CidrAddressField to include mask length. The migration must also transform the value when upgrading.

@gmazoyer Would you say the best way to achieve this is to use a custom Django validator on the ip_address field of aBGPSession?

It probably cannot be addressed in a validator.
Firstly, the direct session model needs to be subnet aware, meaning we need to allow people to use a CIDR notation in the field (hence mentioning CidrAddressField above). This change have to be seamless for the users, so we will need for each individual direct session to guess, as best as we can, what could be the most precise mask length for IP addresses.
Secondly, we need to correlate the local_ip_address field with the ip_address field, knowing that local_ip_address field is optional in direct session, so we need to watch for NULL values. This work is most fitted for the clean() method of the DirectPeeringSessionForm.

I think at https://github.com/peering-manager/peering-manager/commit/27b9c5f289b6881f80c787ab2c452206476c2a5d doesn't address everything in the original report — I don't know if this was intentional or not.
If I specify multihop>=2, and try to create a peering with two different IPs not in the same subnet, I get the same error:

Of course, we're trying to use Peering Manager for iBGP (which is inherently multihop) as well as eBGP — but the point still stands.
Would you like me to raise two issues?

eBGP bug: if $hops > 1 then skip same-prefix validation
iBGP feature: following on from (1), or if $local_asn == $remote_asn then skip same-prefix validation

I'm happy to submit PRs for each.
Thanks!

Good point. This is something that I forgot when adding the subnet check. You may create a single issue to fix these two cases.


As an admin, I want to have some metrics on users of my system, so that I can check the health and direction of the platform

Acceptance Criteria:

[x] Add endpoint  admin/GetTotalUsers to get total user count
[x] Add endpoint  admin/GetRecentlyCreatedUserCount to get a list of the recently created users

Demo Steps:

call endpoint
Metrics appear

Potential Risks:

Giving more data could be a potential privacy hazard

Technical Notes:

This should be an admin only endpoint
Information returned should be easy to parse for the frontend

Only these 2 for now, could add more later as frontend needs


Level 15, 'order': Cannot get frog to pads 1, 2, or 3.  Only 5 (or starting pad #4)

Level 15,
I expected order: 1; (or order: 0;) to move the red frog to the first lilypad.
To be sure, order: 5;  does put the red frog on the 5th lilypad (ie, nothing is reversed).
However any other value for order, keeps the red frog on the 4th (starting) lilypad!
I cannot get it to move to 1st, 2nd, or 3rd lilypad with order: 1;, order: 2;, or order:3; or order:0;.
All other levels work fine for me (though level 24 vexed me with wrap-reverse).
Am I just missing something obvious ?
I'm using chrome, on win 7, in full screen.

I see now that I misunderstood how order works.  The first order exercise gave me a false impression that I understood how it worked, as order: 3 was correct.  Being forced to move the frog to the first position on the previous exercise would have be more beneficial, IMHO.  There would be no ambiguity of a wrong answer appearing correct, and being accepted as correct.
Also, since the instructions on the previous page clearly point out that "all items have a default order of '0'", trying -1 would have been a natural choice.  By the time I got to this exercise, I no longer had this clue, and I had false idea of how it worked.

Items with the same ordinal group are laid out in the order they appear in the source document.
at https://tympanus.net/codrops/css_reference/flexbox/#section_order clarified this for me.

Also, swapping the order of the two order exercises might have be helpful.

Hey @SherylHohman, thanks for your comments. Point well taken about level 14 causing misconceptions about how order works. I'll look into tweaking something like the order of the levels or adding a clue to the level 15 instructions to help people get unstuck.
There are a couple of things that help with this right now though. First is players can freely move back and forth between levels to review earlier info. Second is that you can hover underlined properties to get similar info. For order, it also gives you example values:

Your suggestion in #110 to add hints or solutions would also help deal with this.

-1 is the correct answer

I happened to have a problem with the order in the last exercise

I would really like to view some hints if it possible


added connection and retry options for jsm client

Proposed Changes

🎁 Add new feature

The PR introduces reconnect options, connection handler to log in case of connection lost or reconnect attempts finished. In case it could not reconnect it halts dispatcher, so k8s can restart it.
Release Note
Add additional connection options:
config-nats ConfigMap supports the next parameters: connOpts.retryOnFailedConnect, maxReconnects, reconnectWait

see docs/jetstream.md for details

/assign @dan-j

@matzew , work is complete, ready for review. Are you going to review or should I assign somebody else (before I worked with Evan Anderson and Lionel Villard)?
Thanks

cc @dan-j

/assign @matzew

/assign @lionelvillard

Apologies, just caught up on notifications and seen this. Changes seem sensible, thanks for the contribution!
I'm not sure I have permissions to lgtm/approve but trying anyway
/lgtm
/approve

@evankanderson , could you please review and put lgtm label?

/lgtm

@astelmashenko @dan-j Regarding lgtm and approve permissions, we can give you them if there is interest, also because you're the one maintaining the Eventing with Nats integration, would you be interested in that?

@astelmashenko @dan-j Regarding lgtm and approve permissions, we can give you them if there is interest, also because you're the one maintaining the Eventing with Nats integration, would you be interested in that?

I'm already able to lgtm/approve. Dan-j was going to apply for that as well.

@pierDipi , could you please take a look. I've addressed all the comments.

/approve

/cherrypick main


Fix UV Animations Remove checkTransformsAreIdentical

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14947/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14947/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14947/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14947/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14947/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14947/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14947/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14947/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14947/merge/testResults/webgpuplaywright/index.html


Error when registering new application

Describe the Issue:
Encountered the following error when registering a new application.

It seems that we are sending the previously registered allowed origins as well when we create a new application.
With the new validations introduced for AllowedOrigins the older URLs sent in the request causes an error.

Tested and Verified in Stage, Able to Register an application without an error


files are patched with --diff (5.0.6)

Hi! Just upgraded isort from 4.* to 5.0.6 and found out that isort apply changes when --diff is given. I applied it to a directory, if it is important.
P.S. Are there any options to turn off changes of "import a.b as b" to "from a import b" in 5.0?

Thanks for reporting, a new patch release has been pushed that fixes this.
The other issue you mentioned doesn't yet have a resolution but is being tracked here: https://github.com/timothycrosley/isort/issues/1280
Thanks!
~Timothy


Staging env

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Subramanian:x: kksubbu72Subramanian seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


feat(guide): Collection of Custom Formats - HQ Release Groups - Improve description

Pull Request
Purpose

Improve and update the Custom Formats Collection Description.
Approach

Improve and update the Custom Formats Collection Description.
Review the existing descriptions
Open Questions and Pre-Merge TODOs

===[Radarr]===

[x] Radarr Collection of Custom Formats HQ Release Groups

===[Sonarr]===

[x] Sonarr Collection of Custom Formats HQ Release Groups

Requirements

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

lgtm now


page references non-existent project

File: get-started/nodejs/develop.md
This page references a project called notes-service which is not referenced in any of the other prerequisites in this tutorial, so I have no idea what it is.  You probably should include that project somewhere since you're building off it, because this part of the tutorial isn't really helpful without that.

Thanks for sharing the issue. This was resolved by https://github.com/docker/docker.github.io/issues/11623
If the issue still persists, please let us know.


add rust-nightly instructions

Added instructions to setup rust-nightly to the "getting-started" section for installing, writing on-chain code.

@andrzej-casper please resolve the conflicts and review

@jonas089 I resolved conflicts that appeared after structure migration :eight_spoked_asterisk:, so now it is ready for my review :smile:.


User-reported unhelpful error message

https://code.world/#PRQMNQeun7irO4D7F2c0Biw
Just a test
program.hs:34:13: error:
parse error on input =
An equation does not fit here. Is this line indented incorrectly?

This was just a test


Center html body by default on desktop

This patch makes desktop samples more readable in my opinion. Hopefully you'll agree with that.
@jeffposnick

:+1: :straight_ruler:


Bookmarks: sort by radar number instead of bookmarkedDate

Especially when importing a large number of radars it's way more useful to sort by descending radar number instead of bookmarkedDate.

Good point and thanks for the PR, but I will make it as an option in Settings.

Even better. Thanks!

Will take advantage of concept here to finish #3


Keep a consistent value of 'Lease State' between the blob editor and properties dialog

Storage Explorer Version: 1.9.0
Build: 20190731.1
Platform/OS: Linux Ubuntu 19.04/Windows 10/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand a Non-ADLS Gen2 account -> Blob Container.
Create a blob container -> Upload a file to it.
Observe the value of 'Lease state' in blob editor and properties dialog.

Expected Experience:
The value of the 'Lease State' are same between teh blob editor and properties dialog.
Actual Experience:
Show an inconsistent value of 'Lease State' between blob editor and properties dialog.

Lack of space in the dialog is by design. In the properties dialog we use the property names as given by the server.


Resize Img

Hello community can have the following questions and upload images to aws with S3Adapter now the question is how can I do to resize the images you will rise to aws
Thank you very much for your time.

I'd recommend browsing npm and looking for a module that does that. With open Parse Server you can use any npm module in your Cloud Code without modifications.

okay. Any link that can be done to make the resize?

At first glance this looks promising: https://www.npmjs.com/package/resize but I haven't tried it myself.


Panic on close in sarama consumer group error channel

Versions
Sarama Version: v1.22.1
Kafka Version: 1.1
Go Version: 1.11.4
Configuration
	defaultConfig := sarama.NewConfig()
	defaultConfig.Consumer.Return.Errors = true
	defaultConfig.Version = sarama.V1_1_0_0
	defaultConfig.Consumer.Offsets.Initial = sarama.OffsetNewest
	defaultConfig.Producer.Partitioner = sarama.NewRandomPartitioner
	defaultConfig.Producer.RequiredAcks = sarama.WaitForLocal
	defaultConfig.Producer.Return.Successes = true
	defaultConfig.Producer.Retry.Max = 2

Kafka configuration is default values with a single broker and single zookeeper instance
Logs
panic: send on closed channel

goroutine 1181 [running]:
github3.internal.com/cg/vendor/github.com/Shopify/sarama.(*consumerGroup).handleError(0xc003ae1960, 0x18dcec0, 0xc0044e2b70, 0xc003ae8630, 0x2d, 0x0)
	/home/jenkins/workspace/robot-builds/pipeline/pipeline-develop-build/src/github3.internal.com/cg/vendor/github.com/Shopify/sarama/consumer_group.go:414 +0x13d
github3.internal.com/cg/vendor/github.com/Shopify/sarama.newConsumerGroupClaim.func1(0x1920d20, 0xc003aae280, 0xc003b38400, 0xc003ae8630, 0x2d, 0x0)
	/home/jenkins/workspace/robot-builds/pipeline/pipeline-develop-build/src/github3.internal.com/cg/vendor/github.com/Shopify/sarama/consumer_group.go:774 +0x96
created by github3.internal.com/cg/vendor/github.com/Shopify/sarama.newConsumerGroupClaim
	/home/jenkins/workspace/robot-builds/pipeline/pipeline-develop-build/src/github3.internal.com/cg/vendor/github.com/Shopify/sarama/consumer_group.go:772 +0x10d

Problem Description

Start a consumer group using new high level consumer group api

Restart kafka broker
consume exits eventually because of restart
The above crash was observed panic send on closed error channel
The crash is not consistent. It could be race condition in handleError method .

Hmm, interesting, you mention that it is not consistent, how often you are able to reproduce it?

Once , but its been only a week when we switched to new sarama lib , so odds so far are 1 in 7.

How's it doing now @ganesh-karthick ?

is this still a problem @ganesh-karthick ?


Review code for move semantics and other C++ optimizations

Now that most of the code has been refactored to use C++ features (classes, STL containers, etc.), we should review the code at some point for any further optimizations. C++ removes most of the memory management, but things like copy constructors and assignment operators can be tricky to implement and can lead to memory overhead if they aren't correct. The main focus is matrix operations -- review places where temporary matrices are created, and make sure that matrix copies don't occur more often than necessary.

I tested memory usage by placing print statements in the copy constructors and move constructors to see when matrices were being copied / moved. Everything looks good so I'm closing this issue.


[icon request] terraform

Hi friends !
First I would like to congratulate you for this theme being really beautiful, if possible I would like to see the icon for terraform.
Thanks!

i'll work on that when i have some time :)

right , I took the initiative and made one here in vectornator 😁 , I made it in svg , if you want I can send it to you.

oh i did it and it's already live :)

@prazdevs Thanks, I saw it here, it's great!


Refactor mobile sidebar as a component

The side bar used when in mobile view is a DOM styling kludge using getElementById
This really should be a child nested Angular component under the AppComponent

Done


Define a more managable workflow to keep track of requested new content types

There are many content types that Magika does not support, and github issues about new requests are piling up (thank you @MichaelHinrichs & others!). While these issues are very valuable, especially when they contain information about the file format itself and pointers on where we could find samples, they are making it quite difficult for newcomers to find open issues.
To address this issue, this is what I have in mind:

keep asking the community to open github issues as a first step, so that we can have an initial discussion.
maintain a low-overhead sort-of knowledge base (KB) as part of magika docs to keep track of the currently supported and unsupported content types. This would help us having a clean overview on what's going on, with the relevant information properly systematized.

This is how the KB could look like:

main "supported content types" markdown file with a table of content types. First we list the currently supported, then we have a table with currently unsupported.
For each of the currently unsupported content types, we have: a) tags to indicate metadata, e.g., their importance (supporting Dockerfile is much more important to support some very niche configuration file of some old game), b) optionally, a link to an additional markdown file for that specific content type (which would contain all the useful info provided in the github issue).

For the moment, for those new content type requests for which we have all the info, I'll close them and add a new label "content type to import in KB" so that we can keep track of them. Once we define the format of the KB (or we find an alternative solution), then we we go through them an import everything.
Thoughts?
@invernizzi @MichaelHinrichs?

Sorry, if my issues were overwhelming yesterday. Autism makes it hard for me to know when to stop. Also I don't have a job, and have nothing better to do all day.

I would be happy to implement my issues myself, if I had some instruction on how to do it, with all the necessary file changes and additions.

No worries at all, having the list and context is super helpful :-) I just wanted to provide more context, the fact I'm closing them does not mean they are not helpful! I'll keep tagging them as before and I'll get to it for next iterations. Thanks again!

My thought when I read this issue is that, besides the KB, you could create a separate GitHub repository like "magika-content-types" just to use its issue tracker for content type requests. Users could make and you could discuss and track the requests there. You would then not have to close new-content-type-request issues quickly to keep the overview of other issues clear. (Which I agree is important!)

How about opening a GitHub project?

Hey thanks for chipping in.
Some thoughts:

I'd like to (try to) keep things in this repo (there is some burocracy + overhead involved in having a second repo)
github has a "discussion" and as @MichaelHinrichs suggested a "project" feature. may be that's the good venue.

I'd still wait for a couple of days to see how things settle in.
BTW, thanks @MichaelHinrichs for reporting so many types :) I've checked them a bit better, it seems that many of them are quite niche or very fine grained. While I don't want to rule out that one day we'll find a way to support them, it's unlikely in the short term. At the moment, what we are looking for is mostly content types that could be useful for large scale production system (as in "popular content types"), rather than niche file formats, e.g., "quake saved game file format". Another aspect that is a bit out of scope at the moment is tracking very small variations of the same overall content type. E.g., let's say there are "quake saved game v1", v2 and v3... we'd likely have just "quake saved game".
So, for now we are mostly interested in very high level content types. With this clarification, I would expect the number of new issues created on this topic to be significantly less, but let's see...

I made an issue for save files in RPG Maker, and a few versions of BSP maps from Quake, and valve games, but never a Quake save.

The modding/mapping communities for Doom, Quake, and the Source engine are both huge, and dedicated.

I think Discussions plus Projects could work as a sort of parallel issue tracker for new content types. As a bonus, the voting feature on Discussions could help estimate the demand for a given content type. (Discussions are not enabled for this repository right now.)

.

Quick update on this: Discussions would likely be a better workflow, but I want to signal that, despite we may not seem super responsive or there seems to be chaos in the gh issues, the current system is working quite well: we are working on a new major release, and many of the new content types we are planning to support come from the many gh issues opened by @MichaelHinrichs! Our plan would be to wrap up this new release and improve the "submit new content type request" workflow after that, and yes, likely opening up the Discussion tab + document what we look for is a good idea.


integration: docker: Fix diff test by making sure the container runs

integration: docker: Fix diff test by making sure the container runs

The diff test needs special command "tail -f /dev/null" in order to
keep the container process running while a "docker exec" is started.
This issue was not visible before because STDIN was never closed on
the agent side, even if it was on the host side. With recent patch
from the agent, this issue got highlighted.

Fixes #705

Signed-off-by: Sebastien Boeuf<EMAIL_ADDRESS>

@grahamwhaley if you're fine with this change, please merge it, and as a follow up, could you re-trigger failing builds (fedora26 and ubuntu16.04) from this PR: https://github.com/clearcontainers/agent/pull/162

@grahamwhaley @jodh-intel comment addressed, let me know if this looks okay now !

I think you could drop the sh -c as well, but
lgtm.

CI looked like it worked, and then looked like it failed - I think I caught it half way through the PR being updated. Anyhow, now it looks like the modified test is failing? From the 16.04 logs:
16:18:13  • [SLOW TEST:5.544 seconds]
16:18:13  docker search
16:18:13  /home/jenkins/jenkins_slave/workspace/clear-containers-tests-fedora-26-PR/go/src/github.com/clearcontainers/tests/integration/docker/search_test.go:36
16:18:13    search an image
16:18:13    /home/jenkins/jenkins_slave/workspace/clear-containers-tests-fedora-26-PR/go/src/github.com/clearcontainers/tests/integration/docker/search_test.go:35
16:18:13      should filter the requests
16:18:13      /home/jenkins/jenkins_slave/workspace/clear-containers-tests-fedora-26-PR/go/src/github.com/clearcontainers/tests/integration/docker/search_test.go:34
16:18:13  ------------------------------
16:18:13
16:18:13
16:18:13  Summarizing 1 Failure:
16:18:13
16:18:13  [Fail] diff [BeforeEach] inspect changes in a container should retrieve the change
16:18:15  /home/jenkins/jenkins_slave/workspace/clear-containers-tests-fedora-26-PR/go/src/github.com/clearcontainers/tests/integration/docker/diff_test.go:32


Training - Smoke Grenades

When merged this pull request will:

Adds training smokes
Lifetime of 2 seconds instead of 60

Great for training with placement and signalling without having to deal with the smoke lingering

How is this better than an area that removes all throwables in X seconds of entering?

They can be used anywhere and without any mission setup


Fix truncation method for old versions of mongodb

The mongo gem removed the Mongo::VERSION constant for versions 1.8.x to 1.12.x till it returned in version 2 and above. For super old versions of mongo, namely 1.7.x and below the constant still existed; so we need to check definition of the version constant and check the version number to correctly select the truncation method name. Also, added a spec to exercise the bug that previously existed.

Thank you for the PR! However, the Mongo adapter has been extracted into its own repo at https://github.com/DatabaseCleaner/database_cleaner-mongo. If you close this PR and reopen it over there, I'd be happy to take a look!


eagerly called

Source
20/21 sem 1
Description
What exactly does eagerly called mean? Is it just that it is evaluated instantly rather than waiting like a normal Lazy List
Screenshots (if any):

Yes. Eagerly evaluated just means not lazily evaluated

Thanks.

Just insert System.out.println to help you decide ~~

somehow i am unable to compile the LazyList.java doc

somehow i am unable to compile the LazyList.java doc

like many others sigh..

how do yall compile the code tho to run the println

how do yall compile the code tho to run the println

Run bash jpp LazyList.java and use the new LazyList.java produced at the processed folder

how do yall compile the code tho to run the println

Run bash jpp LazyList.java and use the new LazyList.java produced at the processed folder

My system says bash jpp no such file or directory  ://

how do yall compile the code tho to run the println

Run bash jpp LazyList.java and use the new LazyList.java produced at the processed folder

My system says bash jpp no such file or directory ://

Do you have the jpp file along with the LazyList.java somewhere? Try downloading this.
jpp.zip
Unzip thanks :)


Make Canonicalize handle this situation: group[done] = a.done ? 1'd1 -> group[done] = a.done

Turn group[done] = a.done ? 1'd1  into group[done] = a.done .
#1010 does not apply to this situation because there is at most one write to group[done] at a given moment in time, so it is safe to apply this transformation.

Addressed by #1113


Nami cleaned out

I’ve had my nami wallet emptied of all ada and tokens plus 1 nft how is that possible, I didn’t sign the transaction

Sounds like someone else has access to your seed phrase. Did you visit any non official Nami websites? Do you use windows?

Definitely not the only thing I’ve given out is receive address
Sent from my iPhone

On 30 Jan 2022, at 5:21 am, alessandrokonrad @.***> wrote:

Sounds like someone else has access to your seed phrase. Did you visit any non official Nami websites? Do you use windows?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.

I also only had 4 sites white listed, jpg.store, Cnft.io, musliswap and sundeaswap
Sent from my iPhone

On 30 Jan 2022, at 7:18 am, Gavin Quinn @.***> wrote:
Definitely not the only thing I’ve given out is receive address
Sent from my iPhone

On 30 Jan 2022, at 5:21 am, alessandrokonrad @.***> wrote:

Sounds like someone else has access to your seed phrase. Did you visit any non official Nami websites? Do you use windows?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.

Yes was on a windows pc
Sent from my iPhone

On 30 Jan 2022, at 7:18 am, Gavin Quinn @.***> wrote:
Definitely not the only thing I’ve given out is receive address
Sent from my iPhone

On 30 Jan 2022, at 5:21 am, alessandrokonrad @.***> wrote:

Sounds like someone else has access to your seed phrase. Did you visit any non official Nami websites? Do you use windows?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.


Ce get quotas endpoint

Added get quotas & credentials endpoint
this also fixes #916

Conflicts and tests are failing @sharadregoti

Update the space-api-go version to v0.17.0 in go.mod of space-cli, gateway and runner

Fixes #899 #901 #902. @Jayesh333 you'll need to confirm this


[Bug] Unable to Complete Previous Operation Due to Low Memory

Is there an existing issue for this?

[X] I have searched the existing issues

Have you updated FilePond and its plugins?

[X] I have updated FilePond and its plugins

Describe the bug
Hi. I would like to thank you for a great plugin.
I have one problem with uploading photos on mobile devices that have little RAM, e.g. 3GB. My filepond component allows you to upload photos only after taking them with a camera.
The user, after taking a photo and approving that photo, is kicked to the start page of the application and receives the error:

Unable to Complete Previous Operation Due to Low Memory

This is my snippet of component code for uploading images:

Out of 300 devices, 20 have this problem, mostly smartphones with low RAM, less than 3.
I've tried closing apps running in the background but that doesn't help. Is the only option left for me to disable photo conversion on older devices?
The error does not occur on all devices with 3GB of RAM and less. The problem is when the phone has a lot of applications.
Thank you for your help.
Reproduction

The user presses the filepond button to add photos.
The phone camera turns on.
The user takes a photo.
The preview of the captured photo is displayed in the camera app.
The user confirms the taken photo by pressing the OK button.
The browser crashes, returns to the start page of the application and gives an error.

Environment
- Device: e.g. Xiaomi Redmi Note 8 / 9.
- OS: Latest to install
- Browser: Chrome, Firefox, Opera

Hi, I think disabling the client side image editing functionality on these devices is the only option for now, perhaps there's a less memory intensive method to resize images by now so it's definitely something I'll explore for v5.

Cool. I will follow changes in the project. At the moment, on old devices, I will disable client-side compression and enable server-side compression.
Regards.


Doesn't cover clusters stuck in the pending state

Or any information on how to debug that.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 26ef2241-baad-ac50-e286-d6ca821d1b68
Version Independent ID: 1cfbf166-86ab-4b5b-cacd-c6ee57c0bf11
Content: Cluster failed to launch - Azure Databricks
Content Source: databricks/kb/clusters/cluster-failed-launch.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to review your issue and apologize for the delayed response. The scope of our feedback channel here on GitHub covers specific documentation fixes and this issue is related to the KB. We recommend that you visit the Databricks Knowledge Base to submit your feedback. Because this issue does not relate to documentation, we are closing this issue.
#please-close

#please-close


Feature Request: Support moving Folders via Folder Note

I use https://github.com/aidenlx/alx-folder-note for folders and use that folder to hold all the items related to a project. When I update the tag from 🟢Working on 🔴To Finished  I'd like the folder+notes to move

Hi. I may work on moving folders in the future, but I'm not considering it at the moment.
When the location of a file or folder is changed, obsidian will trigger a rename event.
As the name implies, the same event is fired when a file is renamed, so ANM works with it.
However, if the location of a folder is changed, a rename event will be fired for each subfolder and file in it.
I have not yet figured out how to handle the events properly.

It would probably make sense to steal from alx-folder-note for that, as it handles it well!

But understood re:scope!


Make preselect of Completion Items last longer

Currently when you type any character, the preselected item will lose its selection if it is not the first entry.
I would propose to make the preselected item preselected until it does not match any more.
This would enable emulating a simple priority model for auto-suggestions: just set all the frequently used items as preselected.
This feature would be super useful for extensions such as latex. There will be more than two thousand completion items mixed without priority, otherwise.

In the LaTeX case, I want \alpha, \beta etc. to be preselected when typing \a or \b. The current behavior is like the following, which is obviously not optimal.

It should. What is your snippet sort priority?

\alpha is set as preselected while others are not.

You can reproduce using this branch https://github.com/innerlee/LaTeX-Workshop/tree/zz/preselect

related configs (other than the first line, most are default):
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.suggest.filterGraceful": true,
"editor.suggest.snippetsPreventQuickSuggestions": true,
"editor.snippetSuggestions": "inline",
"editor.tabCompletion": "off",
"editor.quickSuggestions": {
    "other": true,
    "comments": false,
    "strings": false
  },

Where are these suggestions defined: \begin{align}...

They are defined in https://github.com/James-Yu/LaTeX-Workshop/blob/master/data/environments.json#L65, and loaded at https://github.com/James-Yu/LaTeX-Workshop/blob/master/src/providers/completion.ts#L33. Then they are provided from https://github.com/James-Yu/LaTeX-Workshop/blob/master/src/providers/completion.ts#L74-L96.

filterText and sortText of Environments (e.g., \begin{blah}) are not set, see https://github.com/James-Yu/LaTeX-Workshop/blob/master/src/providers/completer/environment.ts#L17. But those of the Commands (like \alpha) are set here https://github.com/James-Yu/LaTeX-Workshop/blob/master/src/providers/completer/command.ts#L146

But those of the Commands (like \alpha) are set here https://github.com/James-Yu/LaTeX-Workshop/blob/master/src/providers/completer/command.ts#L146

Do what value? E.g for \alpha?

Oh sorry, the field seems unused...

No changes planned


static line issue on bar chart

I'm trying to get the "lines" key to work such that the static line drawn is a solid line, not a dashed line. Also, I can't get the line to be labeled even though the documentation suggests it can be labeled.

The code that I have is for building a stacked bar chart. The bar chart builds fine and this code works for the y-axis works, but how can static line be solid and how to add label to static line?
.y({"stacked": true, "value": "Amt ($)", "range": [0,40000], "lines": {"value": totalmedicalcost, "font": {"size": "10px"}, "color": "#063D2E","width": "3px"}})

Sorry, the documentation's not so clear with this one, here's what you need to do:
.y({
  lines: {
    dasharray: "0",
    font: {size: 10},
    width: 3,
    value: [{text: "My Label", color: "#063D2E", position: totalmedicalcost}]
  }
})


Release v0.3.2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
439

Relevant Lines:
587

💛  - Coveralls


[feature] PDO bitwise mapping

Hello and thank you very much for this awesome project. I was using it in many projects, running on different microcontrollers and even on Android.
More than a half of the projects I'm working on use bitwise PDO mapping. I know that it is very easy to map the entire PDO to a single UINT64 object or to a union with a packed bit field, but this is not very convenient. Instead of having all the data defined in the object dictionary, we define them in the code.
I would like to volunteer and implement this feature. I see you invest o lot of time trying to reduce the amount of resources used by CANopenNode, so I'd do it in the following way:

Define CO_CONFIG_PDO_BITWISE_MAPPING in CO_config.h, next to CO_CONFIG_PDO_OD_IO_ACCESS. We still have some unused bits for this.
If this feature enabled, I'll reuse OD_IO.dataOffset to store the number of bits mapped instead of a number of bytes.
I'll take care about the following functions (hopefully didn't forget something, still need some time to debug all possible configurations):

PDOconfigMap
PDO_initMapping, both with and without CO_CONFIG_PDO_OD_IO_ACCESS
OD_write_PDO_mapping
CO_PDO_receive
CO_RPDO_process
CO_TPDO_process

I'll take care of big-endian platforms. I don't have any big-endian HW to test my changes, but this should not be a big deal because PDOs are quite simple.

I already have some working skeleton I'd like to polish, test and share with you in a couple of weeks, so I have a couple of small questions:

Would you accept such a PR?
Do you plan any significant changes in the project (structure, code style, docs) in the nearest future?
Is the idea with the additional config option fine for you, or you have another option?

Please let me know, it would be a real pleasure for me to make the perfect project even better. Even some commercial CANopen stacks don't have this feature.

After this change is implemented, I'll need to add it to the Object Dictionary Editor, I already have a working skeleton there, so this could be a step 2.

Would you accept such a PR?

Yes, as long as PR is according to the standard, it is welcome.

Do you plan any significant changes in the project (structure, code style, docs) in the nearest future?

Recently there was significant changes (misra, reformatting) in the code, but there are no more similar plans.

Is the idea with the additional config option fine for you, or you have another option?

Yes, additional config option is necessary and should be used as you describe. Code without CO_CONFIG_PDO_BITWISE_MAPPING will then be mostly unchanged.
< I see you invest o lot of time trying to reduce the amount of resources used by CANopenNode
Few years ago I had time to rewrite the stack. And so included many "config" options, so it could work also with small resources. And actually it runs on 16-bit microcontroller, 2kb RAM, 4R+4TPDO


shim: add tracing macros

This PR introduces tracing instrumentation to the shim crate. It will allow us to collect detailed function entry and exit, args and returns to understand the behaviour of the shim process.
An use case for runwasi shim is that it will collect the traces and transform them to OTLP traces and output them to an jeager endpoint (see https://github.com/containerd/runwasi/pull/582).
From my observation the perf overhead with tracing macros is minimal. If this is a concern, we can try disabling tracing staticlly. Statically, we may use rust conditional compilation feature to add either compile or ignore tracing macros that are added to each function.
Update: I've created a new shim_instrument proc-macro that will statically disable/enable tracing for each function. if the feature tracing is not enabled, the instrument macro is acts as a no-opt. Otherwise, it will apply tracing::instrument to that function.

Do we need to maintain one more crate for this? This seems to be achievable with:
#[cfg_attr(feature = "tracing", tracing::instrument)]

Ah yeah this looks like a better idea 👍.

Same applies to level.
Unless overridden, a span with the [INFO] will be generated.


New firefox update broke it

The new firefox update just broke the theme

What's been broken?

Theme is broken

Theme is broken

Can you tell me the specific problem? It should be working fine, and it even works under nightly. Remember to check the README.

I am having the same issue on mac. I placed the chrome folder in the profile folder on v133.


[MINOR] fix typo & remove unused import

Codecov Report

Merging #929 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #929     +/-   ##
=========================================
- Coverage   94.46%   94.37%   -0.1%
=========================================
  Files          34       34
  Lines        6383     6382      -1
=========================================
- Hits         6030     6023      -7
- Misses        353      359      +6

Impacted Files
Coverage Δ

databricks/koalas/indexing.py
94.38% <ø> (-0.03%)
:arrow_down:

databricks/koalas/plot.py
93.33% <0%> (-0.96%)
:arrow_down:

databricks/koalas/frame.py
95.9% <0%> (-0.13%)
:arrow_down:

Continue to review full report at Codecov.

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


chore: fixed all good-first-issues

Looks good to me! Thank you very much :)
Closes #320
Closes #339
Closes #342
@all-contributors please add @mazupicua for code, maintenance, bug


🆕 Software Suggestion | Self-hostable analytics / why to not use Google Analytics / Matomo

This suggestion was given to me offline.
Basic Information
Name: Matomo
Category: Website analytics
URL: https://matomo.org/
Description
I am not very familiar with software for this, but I am aware that we have Matomo and I have also encountered it through another organisation.
For searchers, previously known as Piwik.

Another option:
http://www.openwebanalytics.com/

Open Web Analytics is a cool piece of software, however it seems like it hasn't been updated for 14 months, which would lead me to believe it's not maintained anymore.

Example case where this page could be useful: https://github.com/ipfs/website/issues/332

https://webtransparency.cs.princeton.edu/webcensus/ via https://www.eff.org/deeplinks/2019/08/dont-play-googles-privacy-sandbox-1 possibly worth looking at

Assigning myself so I might sometime attempt this, but as always, PRs are always welcome.

I remember Aral Balkan posting this on his Mastodon account in December 2018. Not sure how Matomo has evolved since then but thought this was worth linking here for reference.

No, @Matomo (previously Piwik) doesn’t give two shits about privacy; releases tag manager product, hints at first-party tag manager integration of third-party trackers as method for circumventing tracker blockers. https://matomo.org/blog/2018/12/matomo-tag-manager-out-of-beta-now-available/

Also worth mentioning:

https://plausible.io/
https://posthog.com/
https://goatcounter.com/
and #1871

Now that Matomo is removed I think this can be closed as well https://github.com/privacytools/privacytools.io/pull/2013

I don't think the issues are that much related, while PrivacyTools may not have interest towards analytics anymore, that doesn't mean some othwr site would lose interest also and if there aren't any alternatives suggested, they may end up to Google Analytics.

After pondering over this for a while, I don't think analytics services are within the scope of the site. Hence, I'll be closing this issue.

After pondering over this for a while, I don't think analytics services are within the scope of the site. Hence, I'll be closing this issue.


Unrecognized parameter: [_source_include] -> did you mean any of [_source_includes, _source_excludes]?

URL VSF generated is:
http://storefront.example.com.local/api/catalog/vue_storefront_catalog/attribute/_search?_source_include=activity%2Cattribute_code%2Cid%2Centity_type_id%2Coptions%2Cdefault_value%2Cis_user_defined%2Cfrontend_label%2Cattribute_id%2Cdefault_frontend_label%2Cis_visible_on_front%2Cis_visible%2Cis_comparable%2Ctier_prices%2Cfrontend_input&from=0&request={"query"%3A{"bool"%3A{"filter"%3A{"terms"%3A{"attribute_code"%3A["color"%2C"size"%2C"price"%2C"erin_recommends"%2C"activity"%2C"type_id"%2C"sku"%2C"name"%2C"tax_class_id"%2C"final_price"%2C"special_price"%2C"special_to_date"%2C"special_from_date"%2C"price_incl_tax"%2C"original_price_incl_tax"%2C"original_price"%2C"special_price_incl_tax"%2C"id"%2C"image"%2C"sale"%2C"new"%2C"product_links"%2C"url_path"%2C"url_key"%2C"status"%2C"tier_prices"]}}}}}&size=150&sort=
Response is:
{"code":500,"result":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/vue_storefront_catalog/attribute/_search] contains unrecognized parameter: [_source_include] -> did you mean any of [_source_includes, _source_excludes]?"}],"type":"illegal_argument_exception","reason":"request [/vue_storefront_catalog/attribute/_search] contains unrecognized parameter: [_source_include] -> did you mean any of [_source_includes, _source_excludes]?"}}

Is the parameter supposed to be named _source_include or _source_includes?
Latest VSF and VSF API (from master).

Checking in VSF, it seems _source_include is generated:
https://github.com/DivanteLtd/vue-storefront/blob/53a27a6d9971bc5bce1a26f818d0adf07f58ff6b/core/lib/search/adapter/api/searchAdapter.ts#L61
But checking this project, it seems _source_includes is expected:
https://github.com/DivanteLtd/vue-storefront-api/blob/093d393c6f01a104dd92245ced19e463df2daa7b/src/lib/elastic.js#L40-L44
This seems to be handled where linked, but something is still throwing this exception.

Never mind, the code was never triggered due to misconfiguration, my ES API Version was still set to 5.6. Closing.


update to newer lalrpop version

The current version cannot parse "in" for example which makes it harder to manually handle the graph relation tables (which have at least in, out, id). I think the next version after the currently used one supports it already
Escaping like r#in etc does not work either currently

Hi, sure of course! Could you provide me a quick snippet of what you're trying to parse but cannot at the moment? That would help me understand exactly what additional things i should parse

Thanks, of course here is a small snippet:
model!(relation {
    id,
    pub in, // this does not work currently
    pub out,
    pub some_data,
})

I could not figure out how to escape the in, the newer lalrpop parser should allow using this for example (or maybe also just "in"?):
...
    pub r#in,
...

Thanks for the snippet. I've opted to supporting the raw literal operator r#. You can see a usage example from this unit test if you wish.
Requiring an explicity r# allowed me to:

follow the rust syntax we're used to, keeping the macro intuitive
while also leaving the r# out of the deserialized result so that it doesn't get in our queries

assert_eq!(schema::model.r#in.to_string(), "in");

Thanks for the snippet. I've opted to supporting the raw literal operator r#. You can see a usage example from this unit test if you wish.
Requiring an explicity r# allowed me to:

follow the rust syntax we're used to, keeping the macro intuitive
while also leaving the r# out of the deserialized result so that it doesn't get in our queries

assert_eq!(schema::model.r#in.to_string(), "in");

EDIT: you may find these changes in the v0.8.1 i just published to crates.io

That was fast, thanks a lot! 🙂


Add support for linuxcontainers addon

I was thinking more about it and the least dirty solution looks to me to move the appliance patching functionality into a separate script, which will be called from the downloader, ship this script as part of the main OpenNebula code (not remotes), and allow sudo to this script.
I.e., have /usr/share/one/tar2img with enabled sudo to this scripts. Arguments could be

input tar archive
output image
image type
image size
filesystem

... and on STDIN pass all the commands to apply in the image.
Example:
$ /usr/share/one/tar2img c7.tar.xz c7.img qcow2 2048 xfs <<EOF
        yum install /root/context.rpm -y > /dev/null 2>&1
        echo "#This file is modified by OpenNebula. Don't write in here" > /etc/resolv.conf
        rm -f /etc/ssh/ssh_host_* > /dev/null 2>&1
        usermod -p '*' root > /dev/null 2>&1
EOF

Just butting in but I'm anxious to try this when its ready.
Perhaps ask Stephane Graber (the LXD project lead) if he has a solution if
needed?
his email<EMAIL_ADDRESS>Brian Mullan
Raleigh, North Carolina USA
On Mon, Nov 26, 2018 at 12:19 PM sergiojvg<EMAIL_ADDRESS>wrote:

@sergiojvg commented on this pull request.
In src/datastore_mad/remotes/lxd_downloader.sh
https://github.com/OpenNebula/one/pull/2545#discussion_r236348370:

;;
+opensuse)

terminal="/bin/ash"
read -r -d '' commands << EOT

   echo "OpenSuse is not yet supported" > /root/opennebula_context.log

+EOT

;;
+*)
terminal="/bin/bash"
read -r -d '' commands << EOT

   echo "This distro is not supported by OpenNebula context" > /root/opennebula_context.log

+EOT

;;
+esac

+cat << EOF | sudo chroot $tmp_dir/$id $terminal
Tried but couldn't. Containers from linuxcontainers have root as owner and
group for most files insode .tar.xz. When uncompressing, I need to respect
ownership (I can't simply massively change ownership to everything).
Because everything belongs to root, fakeroot won't work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenNebula/one/pull/2545#discussion_r236348370, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABmtp5af_kZGhBSV5d-EL3D52tb2OkYMks5uzCKkgaJpZM4X6-hy
.


Format conversion issue

Hi,
we have this instance of pickadate
$('.datepicker').pickadate({
selectMonths: true,
selectYears: true,
format: 'dd-mmm-yyyy',
firstDay: 1,
formatSubmit: 'ddmmyyyy'
});
and this input
< input class="datepicker" type="text" id="volo_XX_ppvddatain" name="volo[XX][ppvddatain]" data-value="10052015" >
but the format are wrong:

all the values from the day 01 to 09 are views correctly, but from 10 to 31 are views always 01/01/1970.
If i use formatSubmit dd/mm/yyyy all works fine!!
Please help me.
Thanks

Same here with different order but as you, no "separators" between month, date and year
formatSubmit: 'yyyymmdd',

data-value="20150606"  output 1 jan 1970

Having this same issue. Pretty annoying.


Feature 342 v3.0.0 beta6

Pull Request Testing

[x] Describe testing already performed for these changes:

Reviewed the release notes at METdataio Version 3.0.0 Beta 6 Release Notes (20241017) and METdataio Upgrade Instructions.

[x] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

Review the release notes METdataio Version 3.0.0 Beta 6 Release Notes (20241017) and METdataio Upgrade Instructions
Pay particular attention to the items that are bolded. I used my best judgement based on the priority tags listed on the issues, but would appreciate any feedback you have to give and requests for any changes.

[x] Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes]

[x] Do these changes include sufficient testing updates? [N/A]

[x] Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:

[x] Do these changes introduce new SonarQube findings? [No]
If yes, please describe:

[x] Please complete this pull request review by [20241017].

Pull Request Checklist
See the METplus Workflow for details.

[x] Add any new Python packages to the METplus Components Python Requirements table.
[x] Review the source issue metadata (required labels, projects, and milestone).
[x] Complete the PR definition above.
[x] Ensure the PR title matches the feature or bugfix branch name.
[x] Define the PR metadata, as permissions allow.
Select: Reviewer(s) and Development issue
Select: Milestone as the version that will include these changes
Select: Coordinated METplus-X.Y Support project for bugfix releases or METdataio-X.Y.Z Development project for official releases
[x] After submitting the PR, select the :gear: icon in the Development section of the right hand sidebar. Search for the issue that this PR will close and select it, if it is not already selected.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

Thanks for catching my mistake @bikegeek.  I see that you added the ALTER TABLE section to the beta6 release section - thank you.  I went in and removed it from the beta5 release section, but that voided your approval.  Could you please reapprove?

Yes, I'll cancel the current workflows and then re-approve.  The Github
workflows are still in the queue for METdataio. Everything is moving slowly
right now.
On Wed, Oct 16, 2024 at 3:41 PM Julie Prestopnik @.***>
wrote:

Thanks for catching my mistake @bikegeek https://github.com/bikegeek. I
see that you added the ALTER TABLE section to the beta6 release section -
thank you. I went in and removed it from the beta5 release section, but
that voided your approval. Could you please reapprove?
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METdataio/pull/343#issuecomment-2418015648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHT5SISBQJVHSIW2KRTZ33MP5AVCNFSM6AAAAABQCJCY6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGAYTKNRUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Documentation outdated

The Readme for the hacker_news example refers to a model.py and visualize.py.
I couldn't find those files.

Those files don't actually exist under the name suggested by the Readme. I found this inconsistency frustrating when trying my own code.
For the hackernews example, some models can be found in the directory:
lda2vec/examples/hacker_news/lda2vec/
There is no visualization provided for the hackernews example. The only visualization example with lda2vec results that I'm aware of is here:
http://nbviewer.jupyter.org/github/cemoody/lda2vec/blob/master/examples/twenty_newsgroups/lda2vec/lda2vec.ipynb

Thanks a lot @nanader!
I'd like to try and update the docs, then! I think it'd be useful for other people.


Update grammar.nix

https://github.com/NixOS/nixpkgs/issues/335624

https://github.com/NixOS/nixpkgs/issues/335624
already implemented


Making the yields in the top panel clickable

Self-explanatory, I'm thinking science icon links to science victory ui, religion to religious victory ui, tourism to culture victory ui, trade to trade ui, diplomats to city state ui, luxury icons to City Status page in reports ui. Unsure of what to do with tourism/gold yields

Personally I would only make the yields (science, culture, faith, gold) clickable. The components for diplomats and trade routes doesn't really suggest "this is clickable" to the playe, whereas the first four do.
I already implemented this for me, will commit if wanted.

I'll happily accept a PR if you send one this way!


Make possible to disable adding double quote when string includes comma

Hello, I wonder if there is any chance to add option to enable or disable feature that adding double quote when string includes comma.
Whenever I copy directly from the sheet, additional double quote makes me hard to handling the data even though I don't need csv formatting.
I search the code of jexcel and found if there is conditional statement in the jexcel.js 5163 line obj.copy function.
I always love this fantastic library. thank you.

Sorry, that won't be possible since will break compatibility with other software. But, to workaround is using oncopy event?


[Feature] Add more data field to application view and managed resource view in vela top

Is your feature request related to a problem? Please describe.

At present, the data in the app view and managed resource view are relatively thin. We should add some fields to these fields.
Describe the solution you'd like

About application, we can add:

workflow step mode
finished workflow / total workflow
running service / total service

About managed resource, we can add:

of which component

Describe alternatives you've considered

Additional context

/assign


[SQL] SPARK-6548 : Adding stddev to DataFrame functions

The contribution is my original work and that my license the work to the project under the project's open source license.
sdfox
dreamquster agree the contribution to spark

Can one of the admins verify this patch?

ok to test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29300/
Test FAILed.

What's wrong with this?

retest this please

Test build #29302 has started for   PR 5228 at commit 40b3cdc.

This patch merges cleanly.

Test build #29302 has finished for   PR 5228 at commit 40b3cdc.

This patch fails Scala style tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

case class StdDeviation(child: Expression) extends PartialAggregate with trees.UnaryNode[Expression]

case class StdDeviationFunction(expr: Expression, base: AggregateExpression)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29302/
Test FAILed.

I'm sorry. Now after reruned ./dev/lint-scala, how I retest this cases?

Test build #29307 has started for   PR 5228 at commit 91f8c5a.

This patch merges cleanly.

Once "ok to test" is issued by an admin, the test will be triggered automatically after you push something.

Test build #29308 has started for   PR 5228 at commit 91f8c5a.

This patch merges cleanly.

Test build #29307 has finished for   PR 5228 at commit 91f8c5a.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

case class StdDeviation(child: Expression)

case class StdDeviationFunction(expr: Expression, base: AggregateExpression)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29307/
Test PASSed.

Test build #29308 has finished for   PR 5228 at commit 91f8c5a.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

case class StdDeviation(child: Expression)

case class StdDeviationFunction(expr: Expression, base: AggregateExpression)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29308/
Test PASSed.

Test build #29396 has started for   PR 5228 at commit 41a5768.

Test build #29396 has finished for   PR 5228 at commit 41a5768.

This patch fails RAT tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

case class StdDeviation(child: Expression)

case class StdDeviationFunction(expr: Expression, base: AggregateExpression)

This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29396/
Test FAILed.

How to close it or create a new pull request? I had changed something for other issue. And it is not necessary to autotest.

There is a close button at the bottom of this page as long as you are the author of the PR.


Specify what a "preset file" is

The archive contains multiple files, and it is not mentioned in the Usage instructions, which file people are supposed to edit

Справедливо. Если доживу, во вторник выложу новую версию с тдмкннмями всеми.


Unclear functionality of web archive feature

Giving linkdig a spin and I really like it so far, but what I don't quite understand is the intended functionality of the web archive feature. So there's a background task which archives every webpage in my database - unless LD_DISABLE_BACKGROUND_TASKS is set to true, right?

Given the generic name of that flag, what other background tasks are disabled then?
If enabled, how often are these tasks / or that task run?
Apparently, there are downsides to that (see #171 "my IP was banned") would it be reasonable to be able to configure the frequency?
What is the actual purpose of archiving a bookmarked link if there's apparently no UI integration in linkding? (e.g. optionally open a bookmarked link on http://web.archive.org/) (yeah, I know I can copy&paste the URL into http://web.archive.org)

IMHO, this at least deserves some more explanation in the docs...?

The web archive feature creates a snapshot of every bookmarked URL on http://web.archive.org/, also known as Wayback machine. The linkding database does not contain the snapshot itself, but only a link to the snapshot on the web archive.
Regarding your other questions:

there are no other background tasks ATM. When introducing other tasks, further, more specific, flags can be introduced.
a task is scheduled when creating a new bookmark, or modifying the URL of an existing bookmark. Same goes for the bookmark import. Additionally when logging in, linkding will schedule archive tasks for every bookmark that does not have a snapshot yet. This covers migration scenarios, where users with an existing database upgrade to a version with that feature.
as mentioned above, tasks are only scheduled based on user actions. Import and login are special cases that can lead to a large number of tasks. The application will run two tasks in parallel maximum.
when a bookmark has a snapshot available, the added date turns into a link, and has an additional ∞ character behind it:

Documenting this would definitely be helpful, feel free to contribute to the docs.

Thanks, that helps a lot!

thanks for this info!


Fix typos for component and proxy

Updated few typos in the docs section.

These docs are autogenerated from sources - the fixes will need to be made at these locations:
https://github.com/search?q=org%3Apulumi+copmonent&type=Code

Thanks @lukehoban - closing this PR and reopening against the EKS package.


Fixed a bug that did not work on windows8.1.

https://github.com/KDE/snoretoast#snoretoast
If your application already has a shortcut in the startmenu, which provides an appID please pass this appID, an appID is needed and is also used to determine the application icon displayed in the toast notification.
SnoreToast.exe -m "msg" -t "title" -appID " "     -->  fail
SnoreToast.exe -m "msg" -t "title" -appID ""      -->  success
SnoreToast.exe -m "msg" -t "title"                      -->  success  --> best!
:)

Hi. The concept for passing an empty appId is to avoid the SnoreToast sub-title being added. As it is now, the first notification will error if not passing, but this is also true if you pass a valid appId I found. The notification will work, but return an error.
Maybe we need to do some more research for what consequences the appId has, but I suspect that the fail/success case in your case is as the notifications has been triggered beforehand and thus the notification item is added in the notification options in the Windows Control Panel.

Okay. I will debug and try to find a solution.
This is difficult for me.. OTL

My results:
(1) SnoreToast.exe -m "msg" -t "title" -appID " " --> fail always
(2) SnoreToast.exe -m "msg" -t "title" --> fail first time with message Installing shortcut: ..., success later
(3) SnoreToast.exe -m "msg" -t "title" -appID "" --> fail without (2), success after (2)

I think this is due to some register app in notification issue causing it some times to fail initially and other times to work. Need to investigate what the root cause is, but it seems to work on fresh windows installations – so maybe try to remove node-notifier, snoretoast etc from the notification list in the Control Panel.


Documentation questions

Hi,
If you are like me then you probably don't like writing documentation, or worse, keeping that documentation up to date. But your document is very helpful to get started with pyranges. It looks like I can clean up some nasty data-format-to-pandas parsers I wrote and replace them by pyranges code. Perhaps if I get more experienced with your module I can contribute (to the docs), but I'm not comfortable doing that yet.
After going through the documentation I have some questions/suggestions though:

I might have missed it, but I see you use .slack() and slack=2 without explaining what that exactly this. It seems to extend intervals according to chapter 12 https://biocore-ntnu.github.io/pyranges/methods-for-manipulating-single-pyranges.html, but perhaps that needed to be specified earlier. It's first mentioned as a method in a code example in chapter 7
I think it would be very helpful if you could add drawings to the part about intersecting, overlapping and joining, like in the bedtools documentation (e.g. https://bedtools.readthedocs.io/en/latest/content/tools/intersect.html). At least for me, it can initially be hard to wrap my head around how the intervals are combined. I like visualizations :)
Perhaps it would be useful to add some wikipedia links for background information, for example when you start talking about run-length encodings in part 20 (https://en.wikipedia.org/wiki/Run-length_encoding). Those concepts may not be obvious to everyone. But now I see the next part (21) is an introduction to RLEs, so maybe the order of the chapters needs to be revised.

I could probably hack something together, but perhaps you can suggest an efficient solution for the following:
I have two data files, containing per genomic position some information. In addition to those, I have a bed file with intervals of interest.
Now for every interval in the bed file, I would like to slice the two data files, sum some numbers and statistically compare file A vs file B.
And then print some output, move on to the next interval.
Would it be most efficient to just iterate over the bed pyranges object and slice pyranges object of the data files? Or should I first annotate every record in the data files with the name of the interval in the bed file it belongs to?
Thanks,
Wouter

and 3) are things I’d like to do eventually, but do not have time to do
now. :)

Keeping this open as a reminder and for other documentation discussions.
On Thursday, October 17, 2019, Wouter De Coster<EMAIL_ADDRESS>wrote:

Hi,
If you are like me then you probably don't like writing documentation, or
worse, keeping that documentation up to date. But your document is very
helpful to get started with pyranges. It looks like I can clean up some
nasty data-format-to-pandas parsers I wrote and replace them by pyranges
code. Perhaps if I get more experienced with your module I can contribute
(to the docs), but I'm not comfortable doing that yet.
After going through the documentation I have some questions/suggestions
though:

I might have missed it, but I see you use .slack() and slack=2
without explaining what that exactly this. It seems to extend intervals
according to chapter 12 https://biocore-ntnu.github.
io/pyranges/methods-for-manipulating-single-pyranges.html
https://biocore-ntnu.github.io/pyranges/methods-for-manipulating-single-pyranges.html,
but perhaps that needed to be specified earlier. It's first mentioned as a
method in a code example in chapter 7
I think it would be very helpful if you could add drawings to the
part about intersecting, overlapping and joining, like in the bedtools
documentation (e.g. https://bedtools.readthedocs.
io/en/latest/content/tools/intersect.html
https://bedtools.readthedocs.io/en/latest/content/tools/intersect.html).
At least for me, it can initially be hard to wrap my head around how the
intervals are combined. I like visualizations :)
Perhaps it would be useful to add some wikipedia links for
background information, for example when you start talking about run-length
encodings in part 20 (https://en.wikipedia.org/wiki/Run-length_encoding).
Those concepts may not be obvious to everyone. But now I see the next part
(21) is an introduction to RLEs, so maybe the order of the chapters needs
to be revised.

I could probably hack something together, but perhaps you can suggest an
efficient solution for the following:
I have two data files, containing per genomic position some information.
In addition to those, I have a bed file with intervals of interest.
Now for every interval in the bed file, I would like to slice the two data
files, sum some numbers and statistically compare file A vs file B.
And then print some output, move on to the next interval.
Would it be most efficient to just iterate over the bed pyranges object
and slice pyranges object of the data files? Or should I first annotate
every record in the data files with the name of the interval in the bed
file it belongs to?
Thanks,
Wouter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/44?email_source=notifications&email_token=AEHURUTB4DIS537AUP7NOZLQPBRFRA5CNFSM4JBZQOM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HSOVE7A,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURUXMMXX3RHLAWKSSNFTQPBRFRANCNFSM4JBZQOMQ
.

To elaborate on my question:

I have two tsv files with "Chromosome", "Start", "End" and some numeric values per position (methylation frequencies to be specific, but that doesn't really matter I think).
I can easily make a PyRanges object out of those files.

I have a bed file delineating regulatory elements, for which I found pr.read_bed()

For every interval in the bed file I want to get all positions in both tsv files, and do some math on the numeric values (sum two columns per tsv and do a fisher exact test to compare both files).

Would you mind if creating a proper question on bioinformatics stackexchange? I see that you have a user there :) ( If not, I can do it myself, if it is OK with you :) )
Setup for your q:
import pyranges as pr
import pandas as pd
import numpy as np

chromsizes = pr.PyRanges(pd.DataFrame({"Chromosome": [1, 2], "Start": [0, 0], "End": [int(1e5), int(5e4)]}))

cpg1 = pr.random(int(1e6), chromsizes=chromsizes)
cpg2 = pr.random(int(1e6), chromsizes=chromsizes)

cpg1.CPG = np.random.rand(int(1e6))
cpg2.CPG = np.random.rand(int(1e6))

regulatory_elements = pr.random(int(1e5), length=int(1e4), chromsizes=chromsizes)

cpg1
## +--------------+-----------+-----------+--------------+---------------------+
## | Chromosome   | Start     | End       | Strand       | CPG                 |
## | (category)   | (int32)   | (int32)   | (category)   | (float64)           |
## |--------------+-----------+-----------+--------------+---------------------|
## | 1            | 60747     | 60847     | +            | 0.7275817449530038  |
## | 1            | 56198     | 56298     | +            | 0.1391315979573874  |
## | 1            | 1559      | 1659      | +            | 0.6505381129224037  |
## | 1            | 23078     | 23178     | +            | 0.46810247651742276 |
## | ...          | ...       | ...       | ...          | ...                 |
## | 2            | 8784      | 8884      | -            | 0.5075106571553095  |
## | 2            | 45294     | 45394     | -            | 0.8109126084073928  |
## | 2            | 21060     | 21160     | -            | 0.9433211389481558  |
## | 2            | 3291      | 3391      | -            | 0.5173091813576819  |
## +--------------+-----------+-----------+--------------+---------------------+
## Stranded PyRanges object has 1,000,000 rows and 5 columns from 2 chromosomes.
## For printing, the PyRanges was sorted on Chromosome and Strand.

regulatory_elements
## +--------------+-----------+-----------+--------------+
## | Chromosome   | Start     | End       | Strand       |
## | (category)   | (int32)   | (int32)   | (category)   |
## |--------------+-----------+-----------+--------------|
## | 1            | 35873     | 45873     | +            |
## | 1            | 36132     | 46132     | +            |
## | 1            | 62380     | 72380     | +            |
## | 1            | 18864     | 28864     | +            |
## | ...          | ...       | ...       | ...          |
## | 2            | 20002     | 30002     | -            |
## | 2            | 21231     | 31231     | -            |
## | 2            | 25        | 10025     | -            |
## | 2            | 5249      | 15249     | -            |
## +--------------+-----------+-----------+--------------+
## Stranded PyRanges object has 100,000 rows and 4 columns from 2 chromosomes.
## For printing, the PyRanges was sorted on Chromosome and Strand.

For every interval in the bed file I want to get all positions in both tsv files, and do some math on the numeric values (sum two columns per tsv and do a fisher exact test to compare both files).

I guess you mean I want to get all *overlapping* positions in both tsv files?

I can write a SE question later today.

I guess you mean I want to get all overlapping positions in both tsv files?

For a given bed interval I want to get all positions inside the interval (so yeah overlapping) for both files.
My current solution starts with a detour, as I don't actually use the bed object.
Something like this:
for chr, begin, end in pr.read_bed(args.bed).merge().as_df().itertuples(index=False, name=None):
    do_some_math(gr_tsv1[chr, begin:end].as_df()[[col1, col2]].sum(), gr_tsv2[chr, begin:end].as_df()[[col1, col2]].sum())

It would be great if you could simulate some data that corresponds to your actual data.
Thanks for bothering to do it! Then my answer will become helpful to a much wider range of people. I am guessing rles can be used to solve the problem quickly. I'll show you how :)

You might get some inspiration here:
https://bioinformatics.stackexchange.com/questions/10654/summing-two-columns-where-they-share-interval-overlap/10655#10655

It took me a little longer than planned, but I wrote it as a question on SE and shared some example data: https://bioinformatics.stackexchange.com/questions/10679/efficiently-iterate-over-bed-and-subset-pyranges-objects
Thanks!


Basic auth for RPM repo

Add HTTP basic authentication for RPM download slice, see this SO answer for details: https://stackoverflow.com/a/26852734/1723695

The job #213 assigned to @victornoel/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@victornoel/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat wait for #240 to be merged.

@g4s8 the puzzle #259 is still not solved.

@g4s8 please close, #240 was merged

@sereshqua/z please review this job completed by @victornoel/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality good

@g4s8 the puzzle #273 is still not solved; solved: #259.

@g4s8 the puzzle #290 is still not solved; solved: #259, #273.

@g4s8 all 3 puzzles are solved here: #259, #273, #290.


Global Condition Context with limited service availability

There is an infinite loop in documentation about AWS Global Condition Context.
aws:RequestedRegion condition key (and others) is defined as available for only some services but it is impossible to find out which ones as there is a note To learn whether a service supports one of these condition keys, you must view the documentation for that service.
Unfortunately such info is not in service documentation. E.g. WorkDocs redirects back to global context keys as it has no service-specific context keys.
What exactly does this limited availability means? It is not clear from this documentation.
For API calls, whenever service is global or not, aws:RequestedRegion should be supported.
How/where we can find the list of services where such keys [aws:RequestedRegion] are not supported (useful for policy creation)?
Many thanks for clarifying it and mentioning it in documentation.

Unfortunately, IAM has no way of knowing if a service supports any of the AWS global condition keys today. The IAM team is aware of this problem, but right now, the only way to know is to check the service documentation sets and hope that they documented them. You can find the landing page for each service doc set on the following docs website: https://docs.aws.amazon.com
The WorkDocs link that you provided is the page in the IAM documentation. This is different than the service documentation that you can find using the link above. If a global (aws:) key is not in these pages, then the service team hasn't told IAM.  Links on these IAM pages direct you to the global condition keys because that service DOES support using the keys for all services listed at the top of the page.
Specific to aws:RequestedRegion, I did a Google search:
aws:RequestedRegion site:docs.aws.amazon.com
And the only service that came up was EC2:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ExamplePolicies_EC2.html#iam-example-region
So the answer is, there is no list. Anywhere. Limited availability means that the only way you can learn whether a service supports these keys is to search the service's documentation. IAM makes these keys available to other services and recommends that they implement them. Those services can choose to support them, but they don't tell IAM. There is no centralized list, and no guarantee that the service even documents the keys if they do support them. Every service in AWS (140+) acts independently.
I can tell you that we know it's a problem. We've improved a similar situation with helping customers learn which actions, resource types, and service-specific condition keys that services support for IAM policies. The page you mentioned is a result of that fix. We now require services to programmatically provide all of the information that you see on the Actions, Resources, and Condition Keys pages: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html
These pages all come from the service data and are automatically generated.

@stephswo Thanks for your answer.
Sure, WorkDocs example was taken from service docs but I posted one of the mentioned guides which referenced condition or aws: string.
From your points I understand there is no way how to find out supported services, no official list of them. By reading this post it seems this global key is not service dependent as it restricts API calls to specific regions only.
Comparing all existing documentations it is not clear what is the right answer now.
Thanks for clarifying it a little bit 👍


Wrong thumbnails for people in faces

🐛 Bug Report
📝 Description of issue:
It seems that in the faces section the thumbnails for persons are not always correct. If I select a cover picture for a person, instead of having the correct thumbnail, another person from that cover picture is set as the thumbnail. This is specially important for users who are using the uhuru photos android client, as these thumbnails are used in this app in the people section.
🔁 How can we reproduce it:
Select an album cover with several people for a specific person.  The thumbnail shown for said person will probably be incorrect, and another person from the cover photo will be shown in their place.

Same here, ever since the last update it gives the wrong photo to a face, sometimes I even saw it use the same face for 2 people.

Pushed a fix for it :)


Python 3 Support

Hi,
Thanks again for the excellent project. We are using documentedlist for http://docs.mitmproxy.org/en/stable/features/filters.html and it work just great.
We are currently migrating everything to Python 3 - are there any plans to add Python 3 support? :smiley:
/cc @dufferzafar

I see only one unicode() call which should fail with python 3. I've now fixed that and bumped the version to 0.4. Let me know if you find any other python 3 compatibility issues.

Wow - I just upgraded our stuff and everything just works. Thanks so much! :smiley: :blush:


clang-format file doesn't match with the files in the github

when I run clang-format on most of the example files, it create a quite different file. What are the rules use for the format in this repository ?

The clang format file has been added only recently, so all the existing samples don't make use of it yet. If you want to add a new sample a via a PR, using clang format is suggested. If you want to submit a fix for an existing sample, use the code style of that sample instead.

Thanks for the update. I'm using VS and Eclipse. I didn't find a way to enable or disable the clang format per project. I will leave it off per default.
FYI in the clang format file there are some key's VS 2017 and clang-format-6.0 (default Ubuntu 18.04) don't understand. In both cases the latest version (from https://llvm.org/ ) needs to be added to overwrite the default versions.

I have removed the clang file for now.


Add skip-deploy-products flag so that changes can be applied to just the director

Fixes #84

Thanks for the PR @peterellisjones. 🚚

@peterellisjones we're doing an audit to ensure all contributions are covered under the Pivotal Contributor License Agreement. Could you sign the CLA as described here? Thank you!

Since the bot didn't pop up to add a comment I think we're good 👍


No published analyzer available for language version 2.16.0

Since 2.16.0-dev releases are out, it'd be nice to have a corresponding pkg:analyzer

CC @scheglov

I'm marking this P1 as this does break running any build-ecosystem builders in SDK dev channel. I think that's correct.

https://dart-review.googlesource.com/c/sdk/+/221541