Which images?

Yep, I see it. It's all the images on the events page.

authentic
music
5 yrs

On Oct 5, 2018, at 3:15 PM, Adam Garrett-Harris<EMAIL_ADDRESS>wrote:
Which images?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/lifestonechurch/lifestonechurch.net/issues/504#issuecomment-427500906, or mute the thread https://github.com/notifications/unsubscribe-auth/AXfBrUYTq5YLeJMcRiNeeizRHdz6cnx7ks5uh8vvgaJpZM4XK35v.

Keely Williams
Administrative Assistant
Lifestone Church Riverton
817.598.9567
lifestonechurch.net

Thanks @adityatandon007! 👍


Fix broken links to documentation

Let's just move the docs back to the root (https://github.com/kelseyhightower/confd/issues/296#issuecomment-105584908). Thanks for catching this!

@bacongobbler I've updated the pull request to move docs back up to root

LGTM

thanks.


fix: duplicate kid does not need to download the file

fix: duplicate kid does not need to download the file

Codecov Report

Merging #52 (23ceb4a) into main (e183f99) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   34.30%   34.30%
=======================================
  Files          12       12
  Lines         516      516
=======================================
  Hits          177      177
  Misses        314      314
  Partials       25       25

Impacted Files
Coverage Δ

pkg/depository/get.go
0.00% <0.00%> (ø)


Is it normal that the rustic-compilation buffer is read only?

I'm completely a beginner in using rustic and I wasn't sure to write this topic here as an "Issue" or rather post it on a forum because I don't really know whether it is actually a bug. Here is my problem: When I press C-c C-c C-r the program is run via cargo run and there is a new buffer in Emacs labled: * rustic-compilation * where you can view the output of cargo run. However it seems to me that unlike a classic terminal you don't have the possibility to provide any input value to the program. Consider the following example (from The Book on Rust web site)
use std::io;

fn main() {
    println!("Guess the number!");

    println!("Please input your guess.");

    let mut guess = String::new();

    io::stdin()
        .read_line(&mut guess)
        .expect("Failed to read line");

    println!("You guessed: {}", guess);
}

Here the program, waits for the user to enter a value, yet there is no possibility to enter a value in the * rustic-compilation * buffer and it seems to me that this buffer is somewhat locked/read-only. Am I missing something here or this is indeed how the buffer has been implemented, that is without any user interaction?
Thanks in advance,

I slightly modified a solution that I found in this thread: Cargo-process does not accept user input
The following (added to my init.el) solved the problem:
(defun my-cargo-run ()
  "Build and run Rust code."
  (interactive)
  (rustic-cargo-run)
  (let (
      (orig-win (selected-window))
      (run-win (display-buffer (get-buffer "*rustic-compilation*") nil 'visible))
    )
    (select-window run-win)
    (comint-mode)
    (read-only-mode 0)
  )
)
(define-key rustic-mode-map (kbd "C-*") 'my-cargo-run)

Yeah I just realized that regular compilation-mode also behaves this way. I will change it.

I am still experiencing the same problem in package 20220625.2008. When I execute rustic-cargo-run in my rustic session, and attempt to write in the cargo-run emacs buffer I get:
user-error: No (^error[^:]*:[^
]*
 *--> \([^
]+\):\([0-9]+\):\([0-9]+\) 1 2 3) here

The rust program I am executing is exactly the same as above.

I tried M-x rustic-cargo-comint-run, please follow the backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  expand-file-name(nil)
  file-relative-name(nil "/Users/dguim/work/rust/hello_cargo/")
  rustic-cargo-run-get-relative-example-name()
  rustic--get-run-arguments()
  rustic-cargo-comint-run(nil)
  funcall-interactively(rustic-cargo-comint-run nil)
  call-interactively(rustic-cargo-comint-run record nil)
  command-execute(rustic-cargo-comint-run record)
  execute-extended-command(nil "rustic-cargo-comint-run" "rustic-cargo-comint-ru")
  funcall-interactively(execute-extended-command nil "rustic-cargo-comint-run" "rustic-cargo-comint-ru")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

It seems rustic-cargo-run-comint-run is failing to fetch the cargo run -- arg from (rustic--get-run-arguments).

I didn't add this feature, because I don't use cargo run. Can you please open a new issue. It would also be a good opportunity to fix a few lines of elisp for anybody who is interested ;)


xCertReq does not create req file from inf

When running xCertReq, it throws an error after trying to create the .req file from the .inf file when it tries to use the .req file:
PowerShell DSC resource MSFT_xCertReq  failed to execute Set-TargetResource functionality with error message: Certificate Request file 'C:\windows\TEMP\xCertReq-3a43205a-a1b6-40e6-a1c3-40a56
fc7c375.req' not found.
+ CategoryInfo          : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName        : TB-Test1
I've tried to run certreq.exe manualy on the server with the "-q" option, with the same result. When running it without "-q" it gives a popup about not finding the template and "continue anyway" option, which in turn generates the required .req file.
Is this a known problem, or might there be some PEBCAK in the picture?
These are the parameters specified:
xCertReq RequestCertificate
{
Subject         = "$($Node.NodeName)"
CAServerFQDN    = 'TB-CA.thebachelorettes.local'
CARootName      = 'thebachelorettes-TB-CA-ca'
KeyLength       = '2048'
AutoRenew       = $true
}

Hi @gammalost - thank you for submitting this.
There are some current issues with xCertReq that have been fixed but not yet released. However, I don't think what you're seeing is caused by these.
I have a couple of questions:

Is your CA an Enterprise CA (e.g. AD Integrated) or Standalone CA? If your CA is a Standalone CA then it doesn't actually use Certificate templates - so xCertReq can't currently work with it. But if your CA is an Enterprise CA then this isn't the problem.
Is the WebServer certificate template on your CA enabled and issuable by the user account being used to run DSC (in your case, probably LocalSystem)? By default the DSC LCM runs as LocalSystem (from memory). This doesn't usually give it access to issue from an enterprise CA. So you usually need to use the PSDSCRunAsCredential to run the resource under a domain account that has access to issue using the WebServer template - you also need to check the WebServer template is even enabled.

If you could take a look at the above two items and let me know any other details based on my suggestions I can try and help further. Thank you!

@gammalost -
I seem to remember having a similar issue like this in the past.  Could you try changing your subject param to something like:
Subject = "CN=$($Node.NodeName)"

@PlagueHO

I'm trying to use this in conjunction with a server created using xAdcsDeployment as an Enterprise Root CA with Web Enrollment installed. The CA server is connected to a domain, but not the server I'm trying to request certificate from. In short I'm trying to request a certificate from a remote server not connected to the same domain as the CA.
As far as i can tell it should be enabled. I've tried to use the domain credentials for xCertReq, but it still results in the same error.

@dcuomo Thanks for input! Sadly this does not seem to fix it either.
The problem I'm having seems to be the creation of the .req file from the .inf. I can see the .inf gets created, but not the other one. As stated I can create the file when manually running certreq.exe without the -q option, but not with it. It might be a credential problem?

When trying to do the same with a server connected to the same domain i get the same error as in issue 42. This seems to point more and more in the direction of access and credential as you pointed out @PlagueHO . Have this module been tested on requesting certificates from a CA in another domain?

Hi @gammalost - ah - I haven't actually tried this issuing an enterprise cert from a machine not connected to the domain. Have you tried setting the PSDscRunAsCredential parameter (if you're using WMF5+) or the Credential parameter (if WMF4)? I actually suspect this won't work, because this effectively tries to force the certutil.exe commands to run under the context of this user - which probably isn't possible given that you're not in the domain.
I think I'll need to do some actual testing to replicate the issue. I should be able to build a non-domain joined server and try it out on my domain CA. I'll try and look at this in the weekend (this week is a bit of a shocker work wise).

New and uncharted territory :smile: . I've tried setting PSDscRunAsCredential both as local and domain admin for the remote domain. This actually results in no .inf file at all, even with local admin credentials. The Credential parameter does not seem to matter (at least not at this point) as it still results in it failing when running the certreq -new part of the module. I am using a pure W2K16 environment if this is of interest to know.
Cool, looking forward to hear the results! Until then I'll continue testing.

Hi @PlagueHO !
I've finally been able to request a certificate from a non-domain server through manuall usage of certreq. Still have the problem of the request file not being created. After some lenghty googling I have concluded that the pop-up is expected behaviour for non-domain servers as they do not have access to list templates available on CA, so it pops a message which -q options cancles instead of accepting, ergo human interaction sadly is a must.
The popup: Template not found.  Do you wish to continue anyway?
...template not found UI from certreq if the client has no access to templates
Q: When I run certreq -new based on inf file, i got an error that template is not found
A: ...you need to confirm error message and proceed. This is expected behavior.
You don't by any chance know how to supress the popup and force accepting?
I'll continue to search for a workaround.

Hi @PlagueHO .
I finally got around to implementing the functionality in your module. The only difference is that I've added two extra parameters for the CEP and CES URL, and added an if/else around CertReq -new and -submit for checking if the URLs and Credentials are passed.
If you're interested in checking out what have been done I can do a pull request.

Hi @gammalost - sorry I missed your previous comment. This sounds like a really useful feature to me and would be great to have!
I do think though there would need to be a parameter added to specify that a Standalone CA is being used - the parameter would default to Enterprise CA if the machine is domain joined or Standalone if it wasn't.
If Enterprise CA is being used then use the existing process. if Standalone CA is being used then the following things would happen:

Parameters -UserName and -p would be passed to certreq.exe (would require the credential parameter to be provided)
Parameters -PolicyServer and -Config would be passed to certreq.exe (these would need to be set as parameters of the resource).
If in Standalone mode, the:

[RequestAttributes]
CertificateTemplate = $CertificateTemplate

would need to be removed from the .INF file because templates aren't applicable in standalone CA's.
Does this sound like it would work?

Also, it might be worth updating xADCSDeployment to enable deploying Enrollment Web Service and Enrollment Policy Web Services. I've been meaning to add these but haven't had the time yet...

AFAIK about CA's and requesting it looks sound. I'll implement the changes and make a pull request.

One thing regarding the standalone/enterprise parameter. I don't think it should default to a value in the case of it being in a domain or not. This because both non-domain servers and servers in external domains can still request certificates from an enterprise CA (if the enrollment services is being used).
I'm more in favor of having this just defaulting to enterprise if the parameter is not specified.
The CA type parameter will in short terms only affect whether or not
[RequestAttributes]
CertificateTemplate = $CertificateTemplate

will be added to the inf file.

@gammalost - cool - that sounds like a good idea to me. Just as long as the default is general Enterprise CA (to avoid a breaking change). Thanks for working on this!

Hi @gammalost - I think this one can be closed now - is that correct?

Yes :slightly_smiling_face:


YUNIKORN-799 Fix NPE in application#GetQueueName

What is this PR for?
the queue of application is reset to nil after application is completed. Hence, application#GetQueueName should return QueueName rather than queue.QueuePath to avoid NPE. Querying a cluster which has a completed application by REST API "/ws/v1/apps" can produce the NPE.
What type of PR is it?

[x] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-799
How should this be tested?
new unit test
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

@wilfred-s thanks for this quick feedback.

This breaks the logging that is in processApplications() as part of the placing of an app in the queue. We explicitly want the queue path for the logging to show where exactly the app is placed. Changing QueueName to contain the full path will break other things.

the logging happens only if addApplication succeeds (https://github.com/apache/incubator-yunikorn-core/blob/master/pkg/scheduler/context.go#L466). The addApplication (https://github.com/apache/incubator-yunikorn-core/blob/master/pkg/scheduler/partition.go#L366) updates both queue and QueueName at the same time so QueueName always contain the full path when processApplications logs it.

We might need to change what is returned (i.e. change GetQueueName to return a local copy of the value. This probably means a change to GetQueuePath for the method also.

The latest commit includes a part of this comment. GetQueueName is renamed to GetQueuePath

@chia7712 please do not use force pushes, just add new commits to the branch. Force pushes remove the history and when reviewing it is often simpler to look at the specific change instead of everything from scratch. The final commit into the repo will squash all the commits into one anyway.
Also to make commits and linking easier make sure your first commit message has the layout: [JIRA-ID] <description>

@wilfred-s thanks for your kind reminder!


make sure we start synchronising & save documents even if initially loaded from storage

We found using IndexedDBStorageAdapter storage adapter, documents wouldn't start syncing in case they were found in the storage. Equally, they wouldn't get stored to the storage system.
I think there's a document event missing, which in the end adds the doc to both the storage & sync machinery.
This PR adds the missing event and a test.
I'm sure there's a better way for testing than hooking into the document event? Happy to adjust!

Encountered bug of indexeddb not persisting on page refresh when upgrading automerge-repo from 1.2.1 to 2.0.0.

Hey thanks so much! That's why it's an alpha still... Sorry I've been out on holiday the last couple of weeks and left you hanging.
I probably won't take this patch as-is (I agree it should have a different test) but this absolutely helped me and @alexjg figure out what the problem is and it is greatly appreciated.

No worries at all! And thanks for looking into this. Feel free to either push on top or just close this! 🙏

Okay, @diederich, take a look here: https://github.com/automerge/automerge-repo/pull/374
I think this is a better test of the bug you describe but it's passing. Do you have any idea why you might be seeing different behaviour?

Closing this, as fixed on main with https://github.com/automerge/automerge-repo/commit/b9a212e3048186fa91f90c988fcf37d8c9855129
Thank you! 🙏


New Red Hat One theme

Uses the new theme just released

Hi Tony.
Could you possibly restart from the dev branch, and merge back against it. You started from main, which was weeks old.
thanks.

Hi Tony. Could you possibly restart from the dev branch, and merge back against it. You started from main, which was weeks old. thanks.

Sure

@tonykay I just did some alignements bewteen dev and main. So you would want to update your dev branch and rebase your changes from there.

I'm closing this PR for now. I suggest a new PR targeting the dev branch properly.


📔 Update Docs in CP and AP to Point New Users to Join GitHub Service

User Need
As a Ops Eng
I want update CP and AP user docs with Join GitHub link
so that users of those service can be directed to the Join GitHub app rather than coming to ask channel.
Value
Less support work
Functional Requirements:

[ ] AP docs updated
[ ] CP docs updated

Acceptance Criteria:

[ ] Docs updated.

Notes:

https://user-guidance.analytical-platform.service.justice.gov.uk/github/index.html
https://github.com/moj-analytical-services/user-guidance/blob/main/source/documentation/github/index.md

AP docs updated and PR raised

CP docs updated and PR raised:
https://github.com/ministryofjustice/cloud-platform-user-guide/pull/1723

There are 60+ broken links in the current CP docs (not from my PR!) may not get approved?

AP docs updated and PR merged

CP docs updated and merged
Will ask AP to change their Slack message to include the new link
Need to review MP docs and find any reference to joining GitHub or add the link to their 'new starters' section.

Have submitted a feature request to the Analytical Platform to update their new joiners Slack message:
https://github.com/ministryofjustice/analytical-platform/issues/5286

Update to the AP Slack message is complete
AP user guidance doc was also updated here


Wont compile.

I haven't been able to get the code to compile, I get these errors:
WM8978.cpp:321:18: error: could not convert 'Wire.TwoWire::begin(((int)sda), ((int)scl), ((uint32_t)frequency))' from 'void' to 'bool'
if (!Wire.begin(sda, scl, frequency)) {
and
WM8978.cpp:321:38: error: in argument to unary !
if (!Wire.begin(sda, scl, frequency)) {

I am assuming you have an issue with the example code?
My first guess would be that you have a different Wire lib installed.
What Arduino IDE, esp32 core version are you using?
Which Wire version are you using?
You can check your Wire version by enabling the compilation checkbox after Show verbose output during in the preferences menu.
Now recompile.
Somewhere at the bottom of the compilation output should now be something like:
Using library Wire at version 1.0.1 in folder: /home/cellie/Arduino/hardware/espressif/esp32/libraries/Wire

Apologies for taking so long to reply. It was a library issue on my machine which had become a bit of a mess. I reinstalled all libraries and its compiling fine now. Is it possible to play a file from an sd card on the m5stack, I'm having trouble connecting the m5stack sd card file opening code and the audio library's audio.connecttoFS(); command. Any help would be much appreciated.

Closing this issue as it seems resolved.


Fix/integrate juror front

Cache timestamps in Disputes
Bug fixes

Pull Request Test Coverage Report for Build 684

47 of 58 (81.03%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.3%) to 50.077%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/contracts/abstractions/Arbitrator.js
2
3
66.67%

src/utils/StoreProviderWrapper.js
0
1
0.0%

src/resources/Disputes.js
43
46
93.48%

src/contracts/implementations/arbitrator/KlerosPOC.js
2
8
25.0%

Totals

Change from base Build 681:
1.3%

Covered Lines:
521

Relevant Lines:
919

💛  - Coveralls


Translator command

A translator command for BrainBot where the bot gathers input from a user and translates their message into a selected language.
This might help: https://pypi.org/project/translate/

Sounds like a great idea to me!
To whoever would like to work on this: please leave a comment here before starting work on a PR to ensure there are no duplicate PRs.

Making PR.

Made PR #34. Removing help labels for now.


Investigate Spacewalk Kubernetes issue

Context
Further investigate the Spacewalk Kubernetes issue of stuck connection to Stellar overlay network in a timebox (at most 2 days)
Kubernetes local deployment of both the runner and standalone vault binary works without issues.
Requirement

Compare configuration JSON between EC2 and EKS deployments
Compare vault images/versions between EC2 and EKS deployments
Update tokio library to the latest version

Findings
Configuration JSON files and Docker images used are the same between EC2 and EKS deployments, but the issue is still present.
Even after upgrading tokio library to the latest version (1.35), the issue was still present.
Extended testing
However, I tested a similar Kubernetes setup from scratch in both EKS and GKE (on free-tier accounts, unrelated to our org).
Testing setup
Kubernetes spec files used in the tests are defined here. Instead of building the runner from scratch, I used the same runner binary present in our production deployments on EC2 and EKS.
Tested/Checked the following:

Increasing/removing resource limits
Allowing all network traffic
Creating multiple Docker images for the runner with different dependencies and different distros as base image (ubuntu:focal, ubuntu:latest, alpine:latest)
Same Linux kernel version in our production EC2 and EKS cluster as on free-tier EKS and GKE clusters

Results
Issue was still present in all tests mentioned above.
After code changes that replaced tokio with async-std, the issue still persisted when using the runner but everything was working fine when running the standalone vault binary in Kubernetes.
Conclusion is that the issue is coming from the runner code as described in this ticket.

Thanks for documenting your findings @bogdanS98 👍. I'll close this ticket now so that we can continue the investigations in https://github.com/pendulum-chain/tasks/issues/207.


Update scheduler model and endpoints for public schedules

Changes:

Change total units to a string field, offloading calculations to frontend
Change primary key to a uuid to improve security
Add public field to schedule model and endpoints
Add authentication requirement to user schema

For frontend: Most of the endpoints are detailed on Notion, but here's a quick overview:

There is now a totalUnits string argument for creating and updating schedules that basically stores whatever you pass in as totalUnits
There is also a public boolean argument for creating and updating schedules that determine whether of not a schedule is public (i.e. non-logged-in users and users other than the owner can view)
Schedule models now use uuid, shouldn't affect too many things other than that their relay ids are a bit longer
Queries for restricted fields will return null (e.g. you can't view another user's saved classes through their public schedule)

Note: Migrating a pk (esp. to uuid) when there are existing models is a bit awkward without manual migration. Since the existing ones are just testing schedules, the simplest way is to let django build the tables from scratch. I.e.:

Manually drop all the scheduler_* tables
Run DELETE FROM django_migrations WHERE app = 'scheduler'; to remove django's migration history of scheduler
python3 manage.py migrate scheduler

I've already done this for staging but will prob need to do this on prod as well if the old migration was already migrated.

btw i think we're good to merge this


Investigate feasibility of nested Github teams

Investigate whether it is feasible to have a top-level All MoJ Teams Github Team that contains all MoJ Teams.
Background
"On the modernisation platform we are using Github environments and will be adding teams as reviewers to the Github environments to allow them to review deployments to them.  The only issue is to add a team to an environment we need to give it at least read access to the repository.  So it currently means we have to define every team that we want to use the modernisation platform in our repository access, if we had a parent team we could just add that and give it write permissions.  There is the all-org-members team which has a similar effect with org members, but not with teams."
We have a similar user need for the Cloud Platform in that we have to add teams cloud-platform-environments. If there was a parent team we could add that team instead of individual teams.
Approach
Investigate use of nested teams.
Questions/Assumptions

We will exclude secret teams (Assumption)
What implications are there on permissions of child teams?
Can we automate the process to migrate child teams to the new "parent team"?
How to we ensure new visible teams are added to the parent team?

Further guidance
https://docs.github.com/en/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy
Definition of Done

We have identified how we would implement the change
We have not identified any risks or issues that would impact the existing MoJ org structure and permissions
Decision on whether to implement

Hey team! Please add your planning poker estimate with ZenHub @liban-hmpps @ben-al @Nimphal

We will exclude secret teams (Assumption)
Currently it's not possible to nest secret teams.

2.What implications are there on permissions of child teams?
Child teams inherit the parent's access permissions, simplifying permissions management for large groups. Members of child teams also receive notifications when the parent team is @mentioned, simplifying communication with multiple groups of people.

Can we automate the process to migrate child teams to the new "parent team" and how do we ensure new visible teams are added to the parent team?

Organization owners can change the parent of any team. Team maintainers can change a team's parent if they are maintainers in both the child team and the parent team. Following this logic, we could have daily terraform pipeline run to check if any new teams have been created without being given the correct parent and if so moving the team under the correct parent.

We will exclude secret teams (Assumption)

You cannot nest secret teams.

What implications are there on permissions of child teams?

Child teams inherit the parent's access permissions, simplifying permissions management for large groups. Members of child teams also receive notifications when the parent team is @mentioned, simplifying communication with multiple groups of people.

How to we ensure new visible teams are added to the parent team and can we automate the process to migrate child teams to the new "parent team"?

Organisation owners can change the parent of any team. Team maintainers can change a team's parent if they are maintainers in both the child team and the parent team. This means we can run a pipeline that checks for newly created teams and moved them under the correct parent.

It is something that we can do and may be beneficial to some teams. Can reopen when a need is more clearly established.


js-framework-benchmark

hey @KingPixil,
would you be interested in submitting a pull request for Moon (keyed and non-keyed impls): https://github.com/krausest/js-framework-benchmark
would be interesting to see the results, thanks!

Sure! I'll start working on an implementation.

sweet :) it certainly helped me iron out some slowness in https://github.com/leeoniya/domvm
if you have any questions about getting it running, lemme know.

For sure! Keep up the great work on domvm! 👍

Alright, I submitted a PR.


Let users add a custom chain #2826

Closes #2826

@vladyslav-iosdev my bad for not finishing up my part in #2879 yet. Is it ok if I take over this PR? I think you have finished the bulk of it and really only needs to integrate with part of mine.

@vladyslav-iosdev my bad for not finishing up my part in #2879 yet. Is it ok if I take over this PR? I think you have finished the bulk of it and really only needs to integrate with part of mine.

Sure, go ahead. ;)

Contains commits from #2907

[ ] Merge after #2907

@vladyslav-iosdev done. See if it works for you. Sample chain. You'll need to disable Heco in the code so this can be added:
"blockExplorerUrls" : "https://hecoinfo.com"
"chainId" : "0x80"
"rpcUrls" : "https://http-mainnet-node.huobichain.com"

Rebased master.

@vladyslav-iosdev bump. in case you missed this.


Dind properly mount cgroups

just replace spaces with tabs for similarity
mount named or/and multiple hierarchy control groups properly
rebase of https://github.com/docker/docker/pull/10275 in docker

I'm not actively maintaining this repository anymore.
I will continue to consider small-impact PRs, but I would advise people to:

check the official docker images on the Docker Hub, as they have a dind variant specifically designed to run Docker-in-Docker;
do their own thing with a fork of this repository if that's easier for their workflow.

Thank you!


Added new command for Pogy

This command can moderate a user nickname in one millisecond.

Command has been fixed.

Still no right permission check please add an if for this property and check if the user is manageable.
=> https://discord.js.org/#/docs/discord.js/13.6.0/class/GuildMember?scrollTo=manageable

Command already checks if a user is manageable (via role positions and if the user pinged themselves)


asciidoc extension to manage video

Create a new tag for our site that permit generation of html that is compatible with privacy statement.
Video cannot be directly embedded and usr must consent before launching.
basicaly replace video:: by avideo::
Example here, on one page:
https://github.com/apache/netbeans-antora-site/pull/16/
Text at the bottom of the video can be shown on this screenshot

I didn't yet tackle css stuff and the js is a bit brutal.
The generation try to use asciidoc itself to help resolving the image. (If we miss an image we have an error on antora level that help finding missing one)
Sidenote:
https://github.com/apache/netbeans-antora-site/pull/16/ contains image wget from this pattern https://i1.ytimg.com/vi//hq1.jpg I hope this is ok to server from our site.
In the current website video are blocked by CSP. This PR may allow to further customise our output if we need a link instead of embedded video.

I think it was kind of mandatory to have to comply asf policy.
https://privacy.apache.org/policies/website-policy.html (outdated PR in revision to match the later)
"YouTube content can be embedded only when the creator has given consent before loading any file from YouTube."
https://privacy.apache.org/faq/committers.html
Yes, you can embed videos on the website, but they should load only after the user actively wants them to load. Arrange this by showing a placeholder image first and loading the video after the user clicks on the image. Make it clear that users who click the image will load a video from a third party.

merging this one + the test on the site.

Result is there:
https://netbeans.apache.org/front/main/help/getting-started/
Some css adjustment will be needed, and also the click is not working as per ASF CSP policy, we should relax to allow youtube but I did not have succeed overriding/merging CSP with htaccess.

Yes, you can embed videos on the website, but they should load only after the user actively wants them to load.

right. thats due to GDPR. Since video hosts and social media collect as much data as they can get away with, actions like viewing embedded content would require user permission. But even without that, I think it is good behavior to ask users first before embedding third party hosted content. We did this already back when applets existed which was all well before cookie banner times.

Some css adjustment will be needed

a hand cursor would be also nice so that it indicates that the image is clickable.


Add unit test for RF

Pavel Igorevich, Can you help me with new Makefile? Unit tests for perf_sim.cpp and func_sim.cpp failed(

Unit tests for perf_sim.cpp and func_sim.cpp failed

Please run ctest --verbose and send me output

Failure
Death test: {{ mips.run_no_limit( valid_elf_file); } ::exit(0); }
Result: died but not with expected exit code:
Terminated by signal 6 (core dumped)
Actual msg:
[  DEATH   ] core_test: /home/alex/mipt-mips/simulator/././func_sim/rf/rf.h:30: uint32 RF::read(RF::Register) const [with ISA = MIPS; uint32 = unsigned int; RF::Register = MIPSRegister]: Assertion `!num.is_mips_hi_lo()' failed.
[  DEATH   ]
[  FAILED  ] Perf_Sim.Run_Full_Trace (206 ms)
[ RUN      ] Perf_Sim.Run_SMC_Trace

Travis shows everything is OK. Please double-check you don't have any uncommited modifications in you workspace.

It is something bad when we use unique_ptr

no matching function for call to ‘RF::read_sources(std::unique_ptr<MIPSInstr, std::default_delete >&)’
rf->read_sources( instr);

Use std::unique_ptr::get to get underlying raw pointer:
rf->read_sources( instr.get())`

Please merge your branch with current master to get my fix of visibility scopes in RF

You have committed a temporary file, please remove it.


tests(http-log): address flakiness

Summary
Remove erroneously configured timeouts
The test was configuring 1ms timeouts in two instances of the http-log plugin. This was probably done by mistakenly using in route7 and route8 the same configuration as route6, which is meant to timeout.
What happened under the hood was that 1ms timeout was enough for the logs to be stored but not always enough for the response to get back, so after the queue retries, more than one entry existed, and this assertion failed.
Checklist

[x] The Pull Request has tests
[x] (NA) ~There's an entry in the CHANGELOG~
[x] (NA) ~There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE~

Full changelog

[Implement ...]

Issue reference

Fix #[issue number]

@samugi flaky test fixes should always be backported. I have tagged this PR to backport to older versions of Kong, please see them through.


2.7.0 release

Coverage remained the same at 91.258% when pulling cea695362b1769d67b741d6fc4d661590e9e495a on 2-7-0-release into a411f97a2ee4550281a585ba40669d084f76f1c6 on master.


sameSite cookie support

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] other

Current behavior:

Right now the angular cookie options support setting domain, expiration, and secure flags, but do not support the sameSite flag.
Expected / new behavior:

I'd like to request that support be added for the sameSite flag - this would help protect against CSRF attacks using cookies created by angular.
Minimal reproduction of the problem with instructions:

N/A
AngularJS version: 1.6.11

Browser: [Chrome >= 63 | Firefox >= 60 | Mobile Chrome >= 64]

Pulled via https://caniuse.com/#search=samesite
Anything else:

Here is some background info: http://www.sjoerdlangkemper.nl/2016/04/14/preventing-csrf-with-samesite-cookie-attribute/

This seems like a reasonable request. I would say that changes need to go here: https://github.com/angular/angular.js/blob/master/src/ngCookies/cookieWriter.js#L35
With the new option being documented appropriate throughout the ngCookies module.

Thanks so much for getting this merged!

is only implemented by Chrome (since 2016) and soon Firefox (currently in Firefox beta)
Edge has also announced support now: https://twitter.com/MSEdgeDev/status/997145602474430464


on pinctrl and gpio relationship

Is your enhancement proposal related to a problem? Please describe.
The Pin control vs. GPIO  says that:
 Some functionality covered by a pin controller driver overlaps with GPIO drivers. For example, pull-up/down resistors can usually be enabled by both the pin control driver and the GPIO driver. In Zephyr context, the pin control driver purpose is to perform peripheral signal multiplexing and configuration of other pin parameters required for the correct operation of that peripheral. Therefore, the main users of the pin control driver are SoC peripherals. In contrast, GPIO drivers are for general purpose control of a pin, that is, when its logic level is read or controlled manually.
Feel like this is a little missleading as overlapping might not be so important.
Describe the solution you'd like
I am wondering if  we can say that GPIO is just another type of peripheral like those I2C or SPI or UART controllers. They all compete for pins to reach external of the chip. From this regard, Zephyr pinctrl model captures the multiplexing and pin config functions. GPIO controller should do their own job like signal direction or interrupt triggering etc.
In general, the high level overview of pinctrl is excellant documentation practice. Zephyr probably should require all drivers have such conceptual overview document so that users can quickly learn if a driver is of interest or not.

There is a difference between GPIO and other peripherals when it comes to pinctrl. GPIO drivers are responsible for setting up pins (including pin multiplexing) for GPIO usage without devicetree pinctrl nodes, whereas other peripherals rely on devicetree pinctrl nodes for describing the required multiplexing, pull-ups, -downs, etc.
This is what the paragraph quoted above tries to convey.

CC: @gmarull


Change origin of the hand aim pose

https://forums.flightsimulator.com/t/hand-tracking-in-msfs-leap-motion-ultraleap-native-support-for-wmr-openxr/475308/386

This will not be addressed.


Error: SQLITE_ERROR: table posts has no column named comment_id

To Reproduce
Hi,
I manage a lot a Ghost instance in Docker. I found a random issue I'd like to share.
One website that was running smoothly for months had this error. So I thought it was a random data corruption. Shit happen.
Then the issue happens again. This time, I started a new website from scratch. I rebooted the container about 8 times in 20 minutes. I didn’t touch the content or log in the admin panel. I was just looking at the logs and see if I could see any glitches.
I can’t explain why this error appears the comment_id is suddenly disappearing !?
NAME: RollbackError
CODE: SQLITE_ERROR
Error: SQLITE_ERROR: table posts has no column named comment_id

See the full log here.
Technical details:

Ghost Version: 2.1.1
CLI version: 1.9.4
Node Version: 8.11.4
Browser/OS: chrome 66, osx 10.13.4
Server-side: Alpine:3.8 in Docker using this image
Database: sqlite

Cheers!

Actually, I'll re-test using 2.1.3

Error: SQLITE_ERROR: table posts has no column named comment_id

This is a migration error. Happens only if you trigger migrations or if migrations needs to be executed.

One website that was running smoothly for months had this error. So I thought it was a random data corruption. Shit happen.

This error looks like you migrated from Ghost 1.x to Ghost 2.x, but you were not on the latest Ghost 1.x release.
Let me know 👍

I confirm I was running a fresh Ghost 2.1.1 install. I don't see why a trigger migrations happened.

Can you pls share detailed steps to reproduce? Thanks :)

And: Can you double check if you don't select an existing 1.x database on fresh installation?

I did the same process using Ghost 2.1.3. It's all good now. My guess is that v2.1.1 had some bug triggering the migration process.
Step to reproduce:

This time, I started a new website from scratch. I rebooted the container about 8 times in 20 minutes. I didn’t touch the content or log in the admin panel. I was just looking at the logs and see if I could see any glitches.

I'll close this issue. Thanks!

Re-opening :( I got the same issue under 2.1.3. I fear this is a weird bug.
In this case:

the blog was updated from 1.25.4 to 2.1.3
ran perfectly for few days
I was editing the Code Injection section and blog crashed
Tried the restart the container without success.
I had the same error as described above

My 5 cents: I would like to know what are the scenarios that trigger the migration process.

Why is ghost wants to migrate a DB that is actually running under 2.1.3?
Could the system suddenly thinks that one file from the backup DB( from 1.25.4) needs to be migrated?

@pascalandy

It was the exact same error as https://gist.github.com/pascalandy/8a18172090f743b46e15fbff9015f4fe
mentioned above. but no I didn't track the log this time.

The migrations are only triggered if you
A: never executed them, but you said you have installed a fresh blog
B: you delete the migration entries from the database manually
Something must be weird on your container, which i can't explain.
This blog must be on < 1.25 and tries to migrate to 2.0.

How many blogs are installed on your container?

There is only one per container.

Can you reproduce this on a fresh container?
If so, please share the exact steps. Thanks :)

That's the whole challenge, it's random at this point.
Idea - Could the backup DBs (made of V1.xx) trigger the migration behavior?

As long you don't restore the backup, no.
If it happens again, can you pls share ghost ls and log into mysql and run select * from migrations;.
Furthermore the log you've provided, i need some more lines before the actual migration starts.

It's the same SQL query, you just need to login using sqlite3.
sqlite3 path-to-db-file and then select * from migrations;

Good to know! Will if I encounter this issue again.

@pascalandy Any news? I am not rly sure what else to test. Let me know :)

I didn't had the issue since. I'll close this for the moment. Thank you for caring :)

RE-OPENING
In this case:

the blog was updated from 1.25.4 to 2.2.4
the blog does not run on 2.2.4 after trying to migrate :((
Tried the restart the container without success.
See logs here: https://gist.github.com/pascalandy/0492231e4c88f0b5e742d868c94d0b41

I'm so curious about all these warnings

I upgraded another blog successfully.
Here are the warning from the container:
0236d8dea9af / docker logs --follow 0236d8dea9af
[2018-10-22 02:55:38] WARN knex-migrator is skipping 2.3
[2018-10-22 02:55:38] WARN Current version in MigratorConfig.js is smaller then requested version, use --force to proceed!
[2018-10-22 02:55:38] WARN Please run `knex-migrator migrate --v 2.3 --force` to proceed!

@pascalandy

I upgraded another blog successfully.
There are three warnings from the container:

Thanks for sharing. You can ignore the warning. We will release Ghost 2.3.0 today 👍

EDIT, I was using Ghost 1.25.5 and 2.2.4. From Travis:

devmtl/ghostfire:2.2.4-ff50fdc-20181022_03H0121
devmtl/ghostfire:1.25.5-9e38cf2-20180820_20H0205

I still can't re-create the issue :-(
Closing

@pascalandy urgh frustrating :( Would love to help, but not sure how!


Fix web proxy when accessing staging API

Details
Testing against the staging API doesn't seem to work with the web proxy.
Fixed Issues
No Issue just something random I noticed while trying to Internal QA something
Tests

Set USE_WEB_PROXY=true in .env
Verify that when running npm run web you see that the host is www.expensify.com in npm log output e.g.

Creating proxy with host: www.expensify.com
Proxy server listening at http://localhost:9000

Change the EXPENSIFY_URL_COM url in .env to https://staging.expensify.com/
Verify that when running npm run web you see that the host is staging.expensify.com in npm log output e.g.

Creating proxy with host: staging.expensify.com
Proxy server listening at http://localhost:9000

Verify you are accessing the staging server by inspecting network requests

QA Steps
No QA
Tested On

[x] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging in version: 1.0.39-1🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Binary and project name should be something like driver-kodi

The name was driver-go-chromecast and my guess i that the script was ported from the chromecast driver project but this bit was not modified accordingly.

:+1:
Thanks for that fix.


Add typings to #12

Add typings to extra arguments which were missing from #12. Also fixes a Typescript conflict between the handle function and the other method functions.

Thanks @rodrigoaddor !! 👍
Going out today as v1.4.1 :)

Released!


Display message if item not found on search

Hello,
Is there a way to display a message if item is not found in search?

Hello @josephwaiguru ,
To my knowledge, there is no easy way to specify a message to display in case no item is returned by the search. However, this is a good candidate for future releases. Thanks for raising this!

Thank you. Looking forward

If it can be a widget rather than a string would be really good


Capturing "this" context

In the transport and connection typescript classes, you are capturing "this" explicitly but only using lamdas which will capture this for you. See LongPollingTransport. Is there any reason for that? I've committed something if you would like a PR?

Ah yes,  that's what lambda's fix 😄.
/cc @moozzyk

Yep, it's much cleaner now.


node_cpu_seconds_total, CPU core at full usage, when its not?

I've noticed my Grafana graph started showing one of the CPU cores at 100% (in this case it's CPU 0), but when I login to the server the core is not at 100% usage, it's around 1% when I checked.
The server has been up for around 293 days and it's a Windows 2016 Server running SQL.
It is a VM with 3 sockets and 2 cores per socket, giving 6 cores in total.
If I use this expression in Prometheus
node_cpu_seconds_total{instance=~"sql",mode="idle"}
This is returned
node_cpu_seconds_total{cpu="0", instance="sql", job="SERVER", mode="idle"} = 4220362
node_cpu_seconds_total{cpu="1", instance="sql", job="SERVER", mode="idle"} = 307062.125
node_cpu_seconds_total{cpu="2", instance="sql", job="SERVER", mode="idle"} =<PHONE_NUMBER>5
node_cpu_seconds_total{cpu="3", instance="sql", job="SERVER", mode="idle"} =<PHONE_NUMBER>5
node_cpu_seconds_total{cpu="4", instance="sql", job="SERVER", mode="idle"} = 4148659.5
node_cpu_seconds_total{cpu="5", instance="sql", job="SERVER", mode="idle"} = 3947150.5

Now if I transform it to how I would get a %-usage from 0-100
(1 - rate(node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m])) * 100
This is returned, CPU 0 is at 100% when it isn't actually.
{cpu="0", instance="sql", job="SERVER", mode="idle"} = 100
{cpu="1", instance="sql", job="SERVER", mode="idle"} = 0.23148148148146586
{cpu="2", instance="sql", job="SERVER", mode="idle"} = 1.4467592592592449
{cpu="3", instance="sql", job="SERVER", mode="idle"} = 0.4340277777777679
{cpu="4", instance="sql", job="SERVER", mode="idle"} = 0.9259259259259078
{cpu="5", instance="sql", job="SERVER", mode="idle"} = 3.703703703703687

And without inverting it to get a %-usage from 0-100. E.g; how Idle it is
rate(node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m])
Returns this
{cpu="0", instance="sql", job="SERVER", mode="idle"} = 0
{cpu="1", instance="sql", job="SERVER", mode="idle"} = 0.9959490740740742
{cpu="2", instance="sql", job="SERVER", mode="idle"} = 0.9756944444444445
{cpu="3", instance="sql", job="SERVER", mode="idle"} = 0.9942129629629631
{cpu="4", instance="sql", job="SERVER", mode="idle"} = 0.9953703703703705
{cpu="5", instance="sql", job="SERVER", mode="idle"} = 0.9814814814814816

Just using the numbers from the interval without any transform
node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m]
This is returned
node_cpu_seconds_total{cpu="0", instance="sql", job="SERVER", mode="idle"}
4220362 @1708597198.39
4220362 @1708597207.39
4220362 @1708597216.39
4220362 @1708597225.39
4220362 @1708597234.39
4220362 @1708597243.39
4220362 @1708597252.39

node_cpu_seconds_total{cpu="1", instance="sql", job="SERVER", mode="idle"}
307483.71875 @1708597198.39
307492.65625 @1708597207.39
307501.625 @1708597216.39
307510.625 @1708597225.39
307519.59375 @1708597234.39
307528.5625 @1708597243.39
307537.5625 @1708597252.39

node_cpu_seconds_total{cpu="2", instance="sql", job="SERVER", mode="idle"}
486960.46875 @1708597198.39
486969.375 @1708597207.39
486978.03125 @1708597216.39
486986.59375 @1708597225.39
486995.28125 @1708597234.39
487004.03125 @1708597243.39
487013 @1708597252.39

node_cpu_seconds_total{cpu="3", instance="sql", job="SERVER", mode="idle"}
205948.046875 @1708597198.39
205956.984375 @1708597207.39
205965.9375 @1708597216.39
205974.921875 @1708597225.39
205983.875 @1708597234.39
205992.84375 @1708597243.39
206001.8125 @1708597252.39

node_cpu_seconds_total{cpu="4", instance="sql", job="SERVER", mode="idle"}
4149079.75 @1708597198.39
4149088.5 @1708597207.39
4149097.75 @1708597216.39
4149106.5 @1708597225.39
4149115.75 @1708597234.39
4149124.75 @1708597243.39
4149133.5 @1708597252.39

node_cpu_seconds_total{cpu="5", instance="sql", job="SERVER", mode="idle"}
3947558.5 @1708597198.39
3947566.5 @1708597207.39
3947575.75 @1708597216.39
3947584.5 @1708597225.39
3947593.75 @1708597234.39
3947602.5 @1708597243.39
3947611 @1708597252.39

I'm not sure what's causing this, restarting the app that runs SystemMetrics fixes it. But it issue above will return after a while.
I've noticed the seconds on CPU 0 all are 4220362, they've stopped increasing. My guess is when CPU 4 also reaches 4220362 (71283 seconds away, or 19h 48m 03s) the same thing will happen, reporting 100% usage when it's not.
I will add a comment if that is the case.

Interesting. Thanks for the bug report. I'm only using this on Linux servers in production which is likely why I haven't noticed this.

I've noticed the seconds on CPU 0 all are 4220362

Once converted to milliseconds, this looks suspiciously close to the maximum value for a 32-bit unsigned integer. I wonder if there's something wrong with the way it's reading the counters. The code isn't very complex: https://github.com/Daniel15/prometheus-net.SystemMetrics/blob/master/src/Prometheus.SystemMetrics/Collectors/WindowsCpuUsageCollector.cs. I can check what other software does.
Perhaps the counters are not designed for long-term use, and we need to re-create the counters once they're above a certain number. I'm not sure how well Prometheus handles counters cycling back to 0 though.

I have not restarted the app since I noticed this again so I perfmon with the counters you mentioned for almost two minutes. And it looks alright there, there is little load on the server so idle is high.

During this time, the app that runs SystemMetrics was still reporting 4220362 for CPU 0.
# TYPE node_cpu_seconds_total counter
node_cpu_seconds_total{cpu="0",mode="system"} 9631.453125
node_cpu_seconds_total{cpu="0",mode="irq"}<PHONE_NUMBER>2939453
node_cpu_seconds_total{cpu="0",mode="idle"} 4220362
node_cpu_seconds_total{cpu="0",mode="user"} 50854.734375

I'm unsure what will happen in Grafana if the value is reset.
Prometheus says this about rate expression.

"Calculates per-second increase of a range of vector (for counters)"

I would guess it would either be treated as a 0% with my expression because of negative number at first (I have minimum of 0 too) before its recovering itself. And if so, I rather have that result than it resulting in 100% until a reboot. 😅
In 9h 17m 26s I'll know if the same thing happens to CPU 4, stuck at 4220362 resulting in 100% in Grafana.

I think the counter starts when the app starts reading it, so is it possible to leave perfmon open for the same period of time? Open it now, leave it minimized, and see if it's still working 24 hours later?
I have an idea for a workaround. It could create new counters every hour, and store the values reached by the previous counters. Then for each metric it could return sum of old counters + value of new counter. This should keep the values going up rather than resetting to 0, and as long as Prometheus uses 64-bit ints (which I think it does), it'll be fine.
I'll look into doing that soon.
Daniel
On February 22, 2024 1:04:39 PM PST, No0Vad @.***> wrote:

I have not restarted the app since I noticed this again so I perfmon with the counters you mentioned for almost two minutes. And it looks alright there, there is little load on the server so idle is high.

During this time, the app that runs SystemMetrics was still reporting 4220362 for CPU 0.
# TYPE node_cpu_seconds_total counter
node_cpu_seconds_total{cpu="0",mode="system"} 9631.453125
node_cpu_seconds_total{cpu="0",mode="irq"}<PHONE_NUMBER>2939453
node_cpu_seconds_total{cpu="0",mode="idle"} 4220362
node_cpu_seconds_total{cpu="0",mode="user"} 50854.734375

I'm unsure what will happen in Grafana if the value is reset.
Prometheus says this about rate expression.

"Calculates per-second increase of a range of vector (for counters)"

I would guess it would either be treated as a 0% with my expression because of negative number at first (I have minimum of 0 too) before its recovering itself. And if so, I rather have that result than it resulting in 100% until a reboot. 😅
In 9h 17m 26s I'll know if the same thing happens to CPU 4, stuck at 4220362 resulting in 100% in Grafana.
--
Reply to this email directly or view it on GitHub:
https://github.com/Daniel15/prometheus-net.SystemMetrics/issues/9#issuecomment-1960311056
You are receiving this because you commented.
Message ID: @.***>

I let perfmon run over the night, the graph still looks like my first image.
CPU 4 has surpassed CPU 0 in seconds 4220362, and is increasing for the moment. When executing my expression again, from time to time, there are negative values
(1 - rate(node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m])) * 100
First run
{cpu="0", instance="sql", job="SERVER", mode="idle"} = 100
{cpu="1", instance="sql", job="SERVER", mode="idle"} = 0.2083333333333437
{cpu="2", instance="sql", job="SERVER", mode="idle"} = 0.6944444444444531
{cpu="3", instance="sql", job="SERVER", mode="idle"} = 0.4166666666666763
{cpu="4", instance="sql", job="SERVER", mode="idle"} = 1.1102230246251565e-14
{cpu="5", instance="sql", job="SERVER", mode="idle"} = 6.666666666666677

Second run
{cpu="0", instance="sql", job="SERVER", mode="idle"} = 100
{cpu="1", instance="sql", job="SERVER", mode="idle"} = 0.23148148148146586
{cpu="2", instance="sql", job="SERVER", mode="idle"} = 1.5046296296296169
{cpu="3", instance="sql", job="SERVER", mode="idle"} = 0.4629629629629539
{cpu="4", instance="sql", job="SERVER", mode="idle"} = -2.220446049250313e-14
{cpu="5", instance="sql", job="SERVER", mode="idle"} = -0.4629629629629761

node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m]
node_cpu_seconds_total{cpu="0", instance="sql", job="SERVER", mode="idle"}
4220362 @1708675237.39
4220362 @1708675246.39
4220362 @1708675255.39
4220362 @1708675264.39
4220362 @1708675273.39
4220362 @1708675282.39
4220362 @1708675291.39

node_cpu_seconds_total{cpu="1", instance="sql", job="SERVER", mode="idle"}
385135.84375 @1708675237.39
385144.84375 @1708675246.39
385153.8125 @1708675255.39
385162.78125 @1708675264.39
385171.75 @1708675273.39
385180.71875 @1708675282.39
385189.6875 @1708675291.39

node_cpu_seconds_total{cpu="2", instance="sql", job="SERVER", mode="idle"}
564315.4375 @1708675237.39
564324.375 @1708675246.39
564333.3125 @1708675255.39
564342.25 @1708675264.39
564351.125 @1708675273.39
564360.125 @1708675282.39
564369 @1708675291.39

node_cpu_seconds_total{cpu="3", instance="sql", job="SERVER", mode="idle"}
283615.125 @1708675237.39
283624.09375 @1708675246.39
283633.03125 @1708675255.39
283641.9375 @1708675264.39
283650.875 @1708675273.39
283659.84375 @1708675282.39
283668.78125 @1708675291.39

node_cpu_seconds_total{cpu="4", instance="sql", job="SERVER", mode="idle"}
4226748 @1708675237.39
4226757 @1708675246.39
4226766 @1708675255.39
4226775 @1708675264.39
4226784.5 @1708675273.39
4226793 @1708675282.39
4226802 @1708675291.39

node_cpu_seconds_total{cpu="5", instance="sql", job="SERVER", mode="idle"}
4024321.5 @1708675237.39
4024330.25 @1708675246.39
4024339 @1708675255.39
4024348.25 @1708675264.39
4024357 @1708675273.39
4024366 @1708675282.39
4024374.75 @1708675291.39

I decided to restart the SystemMetrics app now and the expressions now return this
(1 - rate(node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m])) * 100
{cpu="0", instance="sql", job="SERVER", mode="idle"}	-167420.38483796298
{cpu="1", instance="sql", job="SERVER", mode="idle"}	0.9837962962962798
{cpu="2", instance="sql", job="SERVER", mode="idle"}	3.009259259259245
{cpu="3", instance="sql", job="SERVER", mode="idle"}	1.27314814814814
{cpu="4", instance="sql", job="SERVER", mode="idle"}	2.777777777777768
{cpu="5", instance="sql", job="SERVER", mode="idle"}	1.3888888888888729

node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m]
node_cpu_seconds_total{cpu="0", instance="sql", job="SERVER", mode="idle"}
4220362 @1708675417.39
4220362 @1708675426.39
4220362 @1708675435.39
4220362 @1708675444.39
90443.1640625 @1708675453.39
90452.03125 @1708675462.39
90461.0078125 @1708675471.39

node_cpu_seconds_total{cpu="1", instance="sql", job="SERVER", mode="idle"}
385315.21875 @1708675417.39
385324.1875 @1708675426.39
385333.03125 @1708675435.39
385341.96875 @1708675444.39
385350.90625 @1708675453.39
385359.71875 @1708675462.39
385368.6875 @1708675471.39

node_cpu_seconds_total{cpu="2", instance="sql", job="SERVER", mode="idle"}
564494 @1708675417.39
564502.75 @1708675426.39
564511.5 @1708675435.39
564520.25 @1708675444.39
564528.8125 @1708675453.39
564537.6875 @1708675462.39
564546.375 @1708675471.39

node_cpu_seconds_total{cpu="3", instance="sql", job="SERVER", mode="idle"}
283793.8125 @1708675417.39
283802.78125 @1708675426.39
283811.625 @1708675435.39
283820.5 @1708675444.39
283829.4375 @1708675453.39
283838.25 @1708675462.39
283847.125 @1708675471.39

node_cpu_seconds_total{cpu="4", instance="sql", job="SERVER", mode="idle"}
4226927.5 @1708675417.39
4226936.5 @1708675426.39
4226945.5 @1708675435.39
4226953.5 @1708675444.39
4226962.5 @1708675453.39
4226971.5 @1708675462.39
4226980 @1708675471.39

node_cpu_seconds_total{cpu="5", instance="sql", job="SERVER", mode="idle"}
4024496.75 @1708675417.39
4024505.5 @1708675426.39
4024514.5 @1708675435.39
4024523.25 @1708675444.39
4024532 @1708675453.39
4024540.75 @1708675462.39
4024550 @1708675471.39

Note how my expression returns -167420 for CPU 0, my guess for what would happen was correct. And in my graph it looks like 0%

My expression still sometimes return a negative value, unsure if that's expected
(1 - rate(node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m])) * 100
{cpu="0", instance="sql", job="SERVER", mode="idle"} = 0.3038194444444309
{cpu="1", instance="sql", job="SERVER", mode="idle"} = 0.28935185185183787
{cpu="2", instance="sql", job="SERVER", mode="idle"} = 1.3888888888888729
{cpu="3", instance="sql", job="SERVER", mode="idle"} = 0.7523148148148029
{cpu="4", instance="sql", job="SERVER", mode="idle"} = -2.220446049250313e-14
{cpu="5", instance="sql", job="SERVER", mode="idle"} = 1.8518518518518379

node_cpu_seconds_total{instance=~"sql",mode="idle"}[1m]
node_cpu_seconds_total{cpu="0", instance="sql", job="SERVER", mode="idle"}
90899.359375 @1708675912.39
90908.34375 @1708675921.39
90917.2890625 @1708675930.39
90926.265625 @1708675939.39
90935.2421875 @1708675948.39
90944.21875 @1708675957.39
90953.1953125 @1708675966.39

node_cpu_seconds_total{cpu="1", instance="sql", job="SERVER", mode="idle"}
385807.875 @1708675912.39
385816.84375 @1708675921.39
385825.78125 @1708675930.39
385834.75 @1708675939.39
385843.75 @1708675948.39
385852.71875 @1708675957.39
385861.71875 @1708675966.39

node_cpu_seconds_total{cpu="2", instance="sql", job="SERVER", mode="idle"}
564975.75 @1708675912.39
564984.6875 @1708675921.39
564993.1875 @1708675930.39
565002.1875 @1708675939.39
565011.0625 @1708675948.39
565020.0625 @1708675957.39
565029 @1708675966.39

node_cpu_seconds_total{cpu="3", instance="sql", job="SERVER", mode="idle"}
284284.78125 @1708675912.39
284293.6875 @1708675921.39
284302.625 @1708675930.39
284311.5625 @1708675939.39
284320.5 @1708675948.39
284329.4375 @1708675957.39
284338.375 @1708675966.39

node_cpu_seconds_total{cpu="4", instance="sql", job="SERVER", mode="idle"}
4227419.5 @1708675912.39
4227428.5 @1708675921.39
4227437.5 @1708675930.39
4227446.5 @1708675939.39
4227455.5 @1708675948.39
4227464.5 @1708675957.39
4227473.5 @1708675966.39

node_cpu_seconds_total{cpu="5", instance="sql", job="SERVER", mode="idle"}
4024977.75 @1708675912.39
4024986.75 @1708675921.39
4024995 @1708675930.39
4025003.75 @1708675939.39
4025012.75 @1708675948.39
4025022 @1708675957.39
4025030.75 @1708675966.39

I haven't forgotten about this. I've just been busy with my day job. I'll try to take a look later this week.

No worries.
I'm currently testing using a double instead of float on this line
https://github.com/Daniel15/prometheus-net.SystemMetrics/blob/master/src/Prometheus.SystemMetrics/Collectors/WindowsCpuUsageCollector.cs#L90
So far it works fine, 2 days and counting.


Greaseweazle v4 read problem (0 flux in 0.00ms)

Hi, I see there's another thread with the same symptoms, still thought it was better to open my own, hope that's OK.
My v4 board (bought preassembled from a known online shop) used to work fine. Haven't touched it for some time. Tried to use it again, said a firmware update was available, so I did and it updated to v1.5.
gw info shows the board correctly.
When trying to read, the drive is actually working and the disk accessed, the GW green led lights up, but I'm only getting "Raw Flux (0 flux in 0.00ms)".
I tested several known good drives, several ribbon cables, several USB cables, with host tools 1.10 and 1.16.2, on two different computers, same results in every case.
Tried to "gw update --force" too, it works fine, but still same results.
Any other suggestion? Is my GW toast? :(
Thanks a lot for the help and happy holidays.

Well it doesn't sound good. What sort of ribbon and what sort of drive(s)?
I'm going to assume you are US based? I can provide easier assistance via mail in the UK.

When you say "gw update --force" by the way, is that to try a downgrade of the firmware? Because you can do that, for example: gw update --force --tag v1.4

Hi, I am based in Switzerland. Only a channel to cross, a bit closer than across the pond :)
I've tested with various drives that I know are good: TEAC FD-55GFR (5.25" 1.2MB), TEAC FD-55BR (5.25" 360KB), Mitsumi D359M3D (3.5" 1.44MB)... I tested both in Shugart mode (DS0/1/2 and straight ribbon cable that I made, I built it myself but tested all pins with a multimeter in continuity mode so I'm pretty confident it's good.) and in PC-AT mode (DS1, twisted ribbon). . My goal was actually to do a 3-drives Shugart setup initially.
Tried in multiple drives configuration, but also each drive individually to find if something actually work, but same result every time.  RIght now I'm in the "simplest" setup, a 3.5 drive connected after the twist of a regular PC ribbon cable (drive A).
Great tip about the downgrade, thank you, I didn't know. Downgraded to 1.4 but unfortunately same result. Anything else I could try? Really appreciate the quick support btw!
Cheers

Can I ship to Switzerland without the ridiculous hoops required sending to EU these days (EORI, IOSS, non-existent import tax thresholds, etc)?
It sounds like you know what you're doing so it's probably busted. You could I suppose put a scope or LA on the rdata pin?

I've been exchanging with UK recently with no issues so I guess it should be fine? Trick as always is to send as gift, with a declared value (item+shipping) lower than 100 to avoid import taxes and usually it's no trouble.
I know what I'm doing in terms of IT, but I'm very much a beginner in electronics. I did purchase a scope in the hope of learning more though! With a little hand-holding and clear instructions I should be able to do what you need, if we can at least get a proper diagnostic, before shipping anything one way or the other.
Waiting on your next answer I'll try to give a look to the technical documentation to find the rdata pin.

OK floppy connector pin 30.

Okay another thing you could try is a continuity test from rdata pin at the floppy header to the pin at the MCU. You would find the pin numbers on the schematic, which is included in the Design Files page of the wiki. Actually it would suffice to place one probe at floppy header pin 30 (rdata) and sweep the other probe across all MCU pins listening for the continuity beep.

In any case you can find my email address in my GitHub profile and send me your postal address. I have a few spare V4 boards and can send you one to try.

OK scope on pin 30 of the floppy connector gives me something but I have no idea what I should be expecting haha
Did test continuity from pin 30 floppy header to all ARM chip pins, and the only continuity is to pin 38, which seems correct?
anything else? Will send you an email in the meantime as proposed, thank you.

All falling edges on rdata count as a flux. And if this signal has continuity to the MCU then there should be flux recorded during gw read. So it seems the board is indeed broken. Perhaps it is the pullup resistor or perhaps it is the MCU.

Received your answer by email - many thanks for the quick help again!!

Replacement unit shipped and confirmed working. Hence we conclude there is a hardware fault with the original board.


The link to Reference Docs / API Docs produces 404

Describe the bug
The links to the reference docs and API doc on the following page:
https://spring.io/projects/spring-cloud-sleuth#learn
for version 3.0.0.M2 will produce a 404.

That's fixed


One container didn't got an update of the configuration

So I had 3 web instances of an app. I updated the config with deis config:set and the instance web.1 didn't got that update of the conf. I made it null and then again set it and web.2 and web.3 got the update but again not web.1.
I tried downscaling it to 0 and then back to 3, 2, even 1.
I scaled it up to 4 and that one did got the update in the configuration but again not 1.
There's a way to delete an specific container? I wanted web.1 gone. Even after getting it to deploy another versions that one did not got the configuration updated.

@ghostbar interesting. Can you tell us a bit more about this app? Have you previously deployed an application with the same name? I wonder if it's due to the fact that data plane images aren't cleaned up once an app is destroyed. What does journalctl -u <appname>_v<num>.web.1 show on that host? You could try a docker rmi -f \docker images -aq`from that host and trydeis ps:restart web.1` to force the host to pull the image from the registry. The envvars are baked directly into the image so it must be that the host has something different than the image you'd expect.

So it was a randomly created ID for the app. It was in about v57. It was the password for a backing service and it got updated on all of the containers except that one.
I deleted the app, created another one and that one did got the updates even tho I scaled it up to 5 instances (we have a cluster with 5 machines) and they got the updates on the config.
I tried with journalctl but it seems since I deleted the app the logs got deleted as well :(

@bacongobbler that sounds possible. We should attempt to reproduce that case.

I think we can consider this problem resolved by proxy via Deis v2 (no reliance on etcd, envvars are injected directly into the kubernetes ReplicationController manifest) so I think we can close this now. :)


Visible agrument does not work on the new VirtualNetworkCombo

With the move from using the Microsoft.Compute.MultiVm to Microsoft.Azure.CreateUIDef handler in createUiDefinition.json, the behaviour of the output of VirtualNetworkCombo UI element appears to have changed.
Previously, we were able to hide the VirtualNetworkCombo programmatically using Visible. It seems the Visible is not working anymore.
Adrien P.

@plessisa Thank you for your question. Can you please share with us the URL of the doc that you are having issues with?
Please note that we scope issues on this repro to feedback related to the docs. If you have a product question, please post it on MSDN or Stack Overflow. Thank you for your understanding.

@plessisa Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Use bitset for inferred phases

I know codecov hasn't complained here but I guess that is because the code added is private. Do you mind adding a couple of simple unit tests?

Sure added test

Why using bit set? Do we need to change to bit set anywhere else?


How does this even compile without Buffer as a dependency?

What am I missing?

I'll remove Buffer and will have some native functions instead. Already working on this

Thank you for the quick respone.  Feel free to label this as a question. I was attempting to use the delegateTo function and was getting a runtime error in the getAddressDetails function of the utils.tx file.  When I investigated deeper I found the following runtime error thrown in the toHex function of utils.tx
ReferenceError: Buffer is not defined     at toHex (index.js:819:15)     at Utils.getAddressDetails (index.js:721:15)     at Tx.delegateTo (index.js:1274:43)     at HTMLButtonElement.eval (index.ts:36:61)
I was surprised to not see Buffer included in the dependencies

ReferenceError: Buffer is not defined at toHex (index.js:819:15) at Utils.getAddressDetails (index.js:721:15) at Tx.delegateTo (index.js:1274:43) at HTMLButtonElement.eval (index.ts:36:61)

In what environment did you run this? Node.js or Browser?

Check the vasil branch: https://github.com/Berry-Pool/lucid/tree/vasil
I resolved everything already. That's where I'm currently working at.

Ok I think I see that webpack is loading in buffer via ProvidePlugin.  Why not an explict dependency on buffer and an explicit import in utils.ts?

I'm not able to sign this transaction?
` const transaction = await lucid
.newTx()
.delegateTo("stake1u9zxeq4uhzh39da2exq8rt30mv6tyt8r48gk299578wg3gg45qqs7", poolId).complete()
const signedTx = await transaction
.sign()
.complete()
                    const transactionHash = await signedTx
                        .submit()`

Any ideas?

@jonathanfishbein1 How you are importing with webpack 5 from main branch?


[$1000] Offline: auto-suggestion modal is transparent when Offline so UI is being distorted

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go offline
Create a new chat, with a user with no chat history
Type :sm and we will see the auto-suggestion modal is transparent

Expected Result:
Auto-suggestion modal UI should display correctly, and should not have the transparent background
Actual Result:
Auto-suggestion modal UI distorted when offline
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.92-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/228710652-b5246a6f-f9aa-44ce-b813-ccc69efddbf3.mp4

Expensify/Expensify Issue URL:
Issue reported by: @harshad2711
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679846524710219
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0163de738c1968d0cf
Upwork Job ID:<PHONE_NUMBER>435086336
Last Price Increase: 2023-04-06

Triggered auto assignment to @conorpendergrast (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I think the better steps to reproduce this are:

Go Offline.
Create a new Chat.
Type :sm to see the emoji suggestions.

Because this is not reproducible with steps above.
This also occurs on mWeb and native/ios.
cc @kavimuru

Ah, nice! That got it, thanks @esh-g!
Updated the OP with the platforms affected and the exact duplication steps

Job added to Upwork: https://www.upwork.com/jobs/~0163de738c1968d0cf

Current assignee @conorpendergrast is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External)

Proposal
Please re-state the problem that we are trying to solve in this issue.
When creating a new report offline, and getting a suggestion for emoji, the component is translucent and doesn't appear correctly.
What is the root cause of that problem?
When the chat creation request is pending, the OfflineWithFeedback component sets the opacity of the parent component in the footer to be 0.5 and all the child components inherit that opacity.
https://github.com/Expensify/App/blob/c327eb27abe67483e98c7904b69855415e2ffc9a/src/pages/home/report/ReportFooter.js#L92-L105
What changes do you think we should make in order to solve the problem?
Unfortunately, there is no way to get rid of the opacity of the parent element. So what we need to do it move the EmojiSuggestions component out of OfflineWithFeedback, So that it doesn't affect it's state when offline.
So what we can do is, to change the location of the OfflineWithFeedback component from ReportFooter.js to ReportActionCompose.js and wrap all the components except the EmojiSuggestions in it.
https://github.com/Expensify/App/blob/c327eb27abe67483e98c7904b69855415e2ffc9a/src/pages/home/report/ReportActionCompose.js#L901-L910
We would also have to pass the pendingAction prop from ReportFooter to ReportActionCompose as well so that we can provide it to the OfflineWithFeedback as a prop.
Result:
https://user-images.githubusercontent.com/77237602/228802300-fbc3b78c-75a7-46f3-89f7-f3921faa194b.mov
Optional Change
If we want to dull the EmojiSuggestions a little but when the creation of the report is pending, we can pass isActionPending as a prop to EmojiSuggestions and display a dark overlay above the component.
Like this:
https://user-images.githubusercontent.com/77237602/228803430-c95af722-9277-4fbe-a27f-cfec77f7bb9c.mov
This can be accomplished with the following code, placed after the FlatList in the EmojiSuggestions component.
{props.isActionPending && <View pointerEvents='none' style={{ position: "absolute", backgroundColor: "#0006", width: "100%", height: "100%" }} />}

What alternative solutions did you explore? (Optional)

Another option is to make a portal for the EmojiSuggestions component to the ReportFooter so that it is outside of the OfflineWithFeedback. This has been tested and works as just like the above solution. We already are using @gorhom/portal library at many places and this can be a possible solution.

We can also refactor the EmojiSuggestions component completely and place it closer to the root and handle changes to it with refs and callbacks like we do with the PopoverReportActionContextMenu component now. But this will be a more complicated approach requiring a lot of changes

Please re-state the problem that we are trying to solve in this issue.
Offline: auto-suggestion modal is transparent when Offline so UI is being distorted
What is the root cause of that problem ?
In below-mentioned file:
https://github.com/Expensify/App/blob/c327eb27abe67483e98c7904b69855415e2ffc9a/src/pages/home/report/ReportFooter.js#L92-L105
OfflineWithFeedback component sets the opacity to 0.5 for all child components in offline mode.
You can see below for opacity:
styles.offlineFeedback.pending sets the opacity to 0.5 when offline in the below file:
https://github.com/Expensify/App/blob/c327eb27abe67483e98c7904b69855415e2ffc9a/src/components/OfflineWithFeedback.js#L102
What changes do you think we should make in order to solve the problem?
You need to remove isOfflinePendingAction from below mentioned file on line#89
https://github.com/Expensify/App/blob/c327eb27abe67483e98c7904b69855415e2ffc9a/src/components/OfflineWithFeedback.js#L89
of you need to set the opacity value to 1 in
styles.offlineFeedback.pending in line# 89

Getting proposals, waiting for them to be reviewed!

The proposal from @esh-g looks good to me.
🎀👀🎀 C+ reviewed
cc: @MonilBhavsar

@sobitneupane Thanks for your positive comment. 😇
Would you also like to include the optional change of darkening the EmojiSuggestions when offline?

I would say Yes. The optional change you suggested goes well with the offline experience of the app.

Should I make a PR now? Or wait for assignment?
@sobitneupane

Let's wait for the confirmation from @MonilBhavsar.

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@MonilBhavsar Bump on the proposal review please!

Sorry, I was ooo. Looking now.

@esh-g 's proposal looks good to me 👍
But, I am not sure if we should go with an optional change. I think the ideology behind darkening is that an action is still pending, but in this case the emoji selector has nothing to do with offline.
@conorpendergrast what do you think. Should we darken the emoji selector when we're offline, as mentioned in "Optional change" here? Also, cc @shawnborton

I agree, the emoji suggestion box does not need to be reduced opacity here. cc @trjExpensify @JmillsExpensify my favorite offline pattern experts

Agree with you both, this seems like it doesn't fit the pattern of what we should darken 👍

I agree, the emoji suggestion box does not need to be reduced opacity here. cc @trjExpensify @JmillsExpensify my favorite offline pattern experts

Agreed! The selection isn't pending, so it wouldn't be at reduced opacity. 👍

Okay, so we can skip the optional change and I'll make the PR without that change
cc @MonilBhavsar

Thank you everyone for the thoughts 🙏
@esh-g yes, we can skip the optional change

@conorpendergrast @sobitneupane @MonilBhavsar @esh-g this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

PR is up! 🚀
@MonilBhavsar @sobitneupane Please review...
The diff in the PR might look a bit much but I have only changed the OfflineWithFeedback and the diff looks so large because of the re-indentation of the child components. I think it will look normal in the VScode diff editor.

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.1-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/17405

If no regressions arise, payment will be issued on 2023-04-26. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[ ] [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
[ ] [@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[ ] [@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[ ] [@conorpendergrast] Determine if we should create a regression test for this bug.
[ ] [@sobitneupane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ] [@conorpendergrast] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

Oh it's pay day, yay! Will get that done

Assigned: April 13th 11:59am
Merge: April 17th 7:47am
With a weekend in between, that is less than 3 business days and will have the +50% bonus

Offers sent. Once they're accepted I'll pay them here: https://www.upwork.com/ab/applicants/1641455102435086336/offers

@conorpendergrast Seems like the offer was withdrawn?

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x]  [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:

https://github.com/Expensify/App/pull/14686

[x]  [@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:

https://github.com/Expensify/App/pull/14686#issuecomment-1526964311

[ ]  [@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

https://expensify.slack.com/archives/C049HHMV9SM/p1682656211944779

Regression Test Proposal

Go Offline
Create a new chat
Try to type :sm or some other emoji suggestion prefix
Verify that the suggestion modal that opens is not transparent and has expected background.

Do we agree 👍 or 👎

@esh-g @harshad2711 I'm sorry about that - I have no idea why those offers were withdrawn, that is very annoying. I've sent new offers now and will pay those when they're accepted (and hopefully they are not also mysteriously withdrawn)

Verify that the suggestion modal that opens is not transparent and has expected background.

Verify that the emoji suggestion modal that opens is not transparent ~and has expected background~

Thanks @conorpendergrast for resending, I have accepted the offer!

Both paid now!

Looks like everyone is paid here.
We can close this issue after adding regression tests cc @conorpendergrast

Regression test request created: https://github.com/Expensify/Expensify/issues/281073
All done!


bump rust to 1.80.1 / 2024-08-08

Summary of Changes

bump rust stable to 1.80.1
bump rust nightly to 2024-08-08
cherry-pick #2488
cherry-pick #2499 + add no-entrypoint to the workspace-level lint config.
run anchor test with their master branch

they release a new patch version. will use it
https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html

@yihau I think it's reasonable to use master until a release is tagged with the fix. We might be able to follow along at https://github.com/coral-xyz/anchor/pull/3143

thank you for the confirmation @joncinque 🫶  I just submitted an issue as a reminder: #2577

could be done by a follow up pr but seems coverage build is broken...
https://buildkite.com/anza/agave/builds/9332#01914c6e-206a-46bc-bcd5-bd45f56c72e2/6-12191:
warning: /tmp/.tmpAk7rfX/profraw/default-82429-4038632013895607840_0_1.profraw: raw profile version mismatch: Profile uses raw profile format version = 10; expected version = 9
PLEASE update this tool to version in the raw profile, or regenerate raw profile with expected version.
warning: /tmp/.tmpAk7rfX/profraw/default-122440-2816328413332674788_0_1.profraw: raw profile version mismatch: Profile uses raw profile format version = 10; expected version = 9
PLEASE update this tool to version in the raw profile, or regenerate raw profile with expected version.
warning: /tmp/.tmpAk7rfX/profraw/default-152543-1154487265959453352_0_1.profraw: raw profile version mismatch: Profile uses raw profile format version = 10; expected version = 9
PLEASE update this tool to version in the raw profile, or regenerate raw profile with expected version.
error: no profile can be merged
17:10:53 [ERROR] Error while executing llvm tools: Failure while running "/usr/local/rustup/toolchains/1.80.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-profdata" "merge" "-f" "-" "-sparse" "-o" "/tmp/.tmpAk7rfX/0/grcov.profdata"
lcov: /solana/scripts/../target/cov/39418df52/coverage/lcov.info
tar: Removing leading `/solana/ci/../' from member names
artifact: /solana/ci/../target/cov/39418df52/coverage.tar

i think we need make sure to use llvm-profdata from nightly's llvm-preview.

let me check the coverage issue 🤔

sorry for the late. I pushed a new commit for fixing coverage test and rebased master for solving conflict. it's ready for another review! 🫡

seems there's no notable abi-related changes in rust 1.79 and 1.80. that said,
this is a few of my select cool things from the rust change log:

Enable frame pointers for the standard library.
Stabilize associated type bounds (RFC 2289).
Stabilize inline const {} expressions.
Stabilize exclusive_range_pattern feature
LazyCell
LazyLock
Option::take_if

also, this new panic source seems not to be affecting us:
Panic if PathBuf::set_extension would add a path separator

🪖


Node to uint32_t

Nothing needs to be changed on the streaming side of things so this should be a simple process.

Whtat's the point of this change?

Whtat's the point of this change?

The point is to halve the memory requirements of the buffering systems both Gutter tree and in-RAM. We'll also have to change the work_queue.cpp file to reflect this change. I'll submit a pull request for that once this is in.

Perhaps make it clearer that it's a node ID type. Maybe something like node_id_t?


change Twitter link to LinkedIn

update the link at the bottom from Twitter to LinkedIn per conversation with @sheldon-b at meetup

do we want to include icons? if so, is there a preferred way to include them? i've used Font Awesome in the past.

note to self/anyone who needs it. use "closes" or whatever keyword plus the issue number in the description of the PR to automatically close the issue when merged (tried in the commit title and the PR title, and those seemed like the wrong places)


Fix import

Hi,
I have fixed the issue #5.
Could you please merge it, and publish on pypi ?
Thank you.

Hi @Dewep, sorry for the delayed reply. Could you change the sys.path on the example app as well? Otherwise it would stop working. Thanks.

Hi @gfronza, thank you for your response. Your example works, even with my fix. Could you merged it, and publish the new version on pypi please?

@Dewep Thanks for that. The new version was published on pypi.

@gfronza Thank you.


Add retroarch installation script

cc @pfeerick

Right, I'm guessing sound must be working now (don't have any games or anything to test it with! :-O ... have to get luke to help me on that front ;) ). This variant currently directly pulls these two files from a 'extras' repo, so should still just work fine. I'm not happy with the /etc/profile.d/ form of startup, but I haven't been able to get X11 to boot properly via a graphical.target, etc.
If Luke's happy with this build, then it 'works' ;)  Just let me know if you want any specific changes before you pull it, or go right ahead ;) I'm guessing you'll build a new rootfs for it, so the 'variant' hack I did to make_rootfs can be rolled back once there's a rootfs for it?
btw, am I right in thinking that your rootfs jenkinsfile needs a cleanup stage? I noticed your 0.2.2 rootfs build dragged along 0.1 files with it (bottom six files) => https://github.com/ayufan-rock64/linux-rootfs/releases/tag/0.2.2

I have been testing this.  I only tested snes9x and snes9x 2005. The regular snes9x build does not work, but so far snes9x 2005 works quite well.  Retroarch ran for me without modifications very slowly, but after enabling sunxi DRM (and manual requirements) retroarch performance was very good. (Side note, better gaming experience than Lakka on another arm computer).
I tested a manual build also, but mainly I tested the same steps in the retroarch install script.

@Funmungus Can you give this image a try as a comparison? It is is the last image I generated which was retroarch specific, and is was the script was designed to generate as part of the build system.

@pfeerick Sure, but I might not get to it until the weekend.  This week I am playing with docker, trying to get a dev environment that can use the sunxi enhancements.
Also I tested sound.  It took me a while to figure it out, but I just had to add my user to the audio group.  I tried with and without the selected audio device optimization, and the selected audio device really is necessary.  Also the Alsa card could be audiocodec or sndhdmi.  Is there any way to detect or select this for the optimized retroarch.cfg?

@pfeerick How are we doing on this one? ;)


[Bug] Does not support transparent textures.

I have been trying to implement connected textured glass, however, it appears transparent textures are not supported. Any transparent space filled black, as shown:

Since what I'm doing for connected textures is overlay the textures, this obviously causes a bit of a problem.
RenderHandler: http://paste.ubuntu.com/10675434/
ConnectedTexture: http://paste.ubuntu.com/10675446/
BlockClass: http://paste.ubuntu.com/10675450/

You have made a mistake!
If you want to render transparent texture, It's not TRANSLUCENT but CUTOUT in getBlockLayer()

Thanks for reporting anyway
Source: BlockGlass and http://greyminecraftcoder.blogspot.com.au/2014/12/block-rendering-18.html

Setting it to either CUTOUT or CUTOUT_MIPPED just stops it from rendering all together.

That is strange, why is that rendering correctly in your inventory? That should work... What is your texture size?

So, I found this interesting little thing. If have it set to mipped, it can't render unless near a Grass block or leaf block. Tested it with both my BlockRenderer and the SimpleBlockRender.

This is weird, I will try to reproduce this bug today

Oups...
So I have made some test. The problem seem to append when y >= 80 and if you don't have a vanilla block of the same layer (I have tried with modded regular block). It seem to be a problem of Forge (I already have got that problem in 1.6.4 and 1.7.10). I will continue investigation tomorrow.

Ok so after a lots of test it's seem that the ASM hook is bugged


Added vi mode indicator

Fixes #2
Added vi mode indicator for fish_vi_key_bindings. When using fish_default_key_bindings indicator is off. You can see all possible states on the screenshot.

I've realized, that I suppressed default mode indicator (which did not work well with this prompt) in my fish.conf. Suppressed it here as well

Nice work. Thank you!


Add "/go/rootless/" redirect to running engine in rootless mode

Relates to https://github.com/docker/docker-install/pull/215

@usha-mandya ptal 🤗


Question on tape

"Warp uses a source-code transformation approach to auto-differentiation."
I don't quite understand what this means and I know this is not how one is supposed to use tape but my question is: Is it technically possible for me to write a @wp.func foo and get back a @wp.func foo_derivative which I can save and reuse later within kernel launches? This is in contrast to doing it at the kernel level.

Hi @jc211,
Currently we don't provide a way to call the derivative directly - however this would not be too difficult and I can imagine could be quite useful. I will make a note of this feature request.
Thanks,
Miles


[FALSE-POSITIVE]

https://boutique.ferme-des-campagnes.com/
Website was hacked
I don't have a listing but scanning url on virus-total comes up only with you listing website as phishing, you can check.
Website wasn't doing any phishing a while ago as we managed to secure it.

The reported URI http://boutique.ferme-des-campagnes.com/js/Mypost.wait do return HTTP code 404, so I think it is safe to whitelist this one

Your english is so bad you have to apologize about it.
Second, the way you're talking isn't showing any professionalism or any
good education and shows so much arrogance.
You don't have in any way the right to reply to my demands like that, it's
just unbelievable.
I followed the template as I've put exactly what was written in the list.
Keep in mind that I'm an internet user and a citizen that has rights and
should be considered and respected in any conditions.
Be careful, you're not my boss, you're not my father!
Ciao
On Sat, Dec 21, 2024 at 11:34 PM spirillen @.***> wrote:

Why is it peoples hates our issue templates we spend hours building so
much, that you think it ok to just give a damn, and at the same time
believes we drops everything in hour hands to come to your aid?
The reported URI http://boutique.ferme-des-campagnes.com/js/Mypost.wait
do return HTTP code 404, so I think it is safe to whitelist this one
—
Reply to this email directly, view it on GitHub
https://github.com/Phishing-Database/Phishing.Database/issues/955#issuecomment-2558257741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BN4JSCQ375REGL2575IZJG32GXUH3AVCNFSM6AAAAABUA2KSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGI2TONZUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

How is our website still listed on virus total?

The reported URI http://boutique.ferme-des-campagnes.com/js/Mypost.wait
do return HTTP code 404, so I think it is safe to whitelist this one
—
Reply to this email directly, view it on GitHub
https://github.com/Phishing-Database/Phishing.Database/issues/955#issuecomment-2558257741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BN4JSCQ375REGL2575IZJG32GXUH3AVCNFSM6AAAAABUA2KSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGI2TONZUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Closed in: https://github.com/Phishing-Database/phishing/commit/4de95f8a2a500ef1de9f646cc063c653d795a8d6
Whitelists to be merged and automated with an action @funilrys
Merge https://github.com/Phishing-Database/phishing/blob/master/falsepositive.list >>>> https://github.com/Phishing-Database/Phishing.Database/blob/master/whitelist.me/whitelist.me

Hi,
Can I please have an estimation of how much time it takes for the merge to be pushed?
Some of our customers have a security warning displayed on the browser instead of the website.
Thank you and excuse my reaction.

Hi,
Can I please have an estimation of how much time it takes for the merge to be pushed?
Some of our customers have a security warning displayed on the browser instead of the website.
Thank you and excuse my reaction.

The whitelist should have been fetched by VirusTotal already. @funilrys did this one get pulled into the current whitelist?

Yes it did @mitchellkrogza ... That's the "weird" part.

Hi,
Website is on whitelist now, thank you.
You can close this ticket.