cert is using wrong keychain to store credentials / password

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When issuing cert with -k parameter to state which keychain to use to store the credentials / passwords, cert nevertheless uses a different keychain. And fails to store them.
Of notice, the keychain was open before the cert command with:
security -v unlock-keychain -p "xxxx" "${PWD}/cert.keychain"
Complete output when running cert, including the stack trace and command used
$ cert -k cert.keychain

+---------------+---------------+
|    Summary for cert 1.4.1     |
+---------------+---------------+
| keychain_path | cert.keychain |
| development   | false         |
| force         | false         |
+---------------+---------------+

[16:53:08]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username<EMAIL_ADDRESS>[16:53:29]: Starting login with user<EMAIL_ADDRESS>-------------------------------------------------------------------------------------
The login information you enter will be stored in your Mac OS Keychain
You can also pass the password using the `FASTLANE_PASSWORD` env variable
More information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager
-------------------------------------------------------------------------------------
Password (for xxxx@xxx.xxx): **********
security: SecKeychainAddInternetPassword <NULL>: User interaction is not allowed.
Could not store password in keychain
Multiple teams found on the Developer Portal, please enter the number of the team you want to use:
1) xxxxxxxxxx "xxxxxxxxxx" (Company/Organization)
2) xxxxxxxxxx "xxxxxxxxxx" (Company/Organization)
3) xxxxxxxxxx "xxxxxxxxxx" (Company/Organization)
4) xxxxxxxxxx "xxxxxxxxxx" (Company/Organization)
3
[16:53:38]: Successfully logged in

Looking for related GitHub issues on fastlane/fastlane...

Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
/usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:172:in `write': [!] Permission denied @ rb_sysopen - /Users/xxxx/keystores/X3F9328AZM.cer (Errno::EACCES)
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:172:in `store_certificate'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:85:in `block in find_existing_cert'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:80:in `each'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:80:in `find_existing_cert'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:31:in `run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:6:in `launch'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/bin/cert:33:in `block (2 levels) in run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.50.0/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/bin/cert:49:in `run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/bin/cert:55:in `<top (required)>'
	from /usr/local/bin/cert:22:in `load'
	from /usr/local/bin/cert:22:in `<main>'

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# INSERT CONTENT HERE

Environment
cert version (run cert -v):
cert 1.4.1
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
Standard mac os ruby with brew on top to avoid read-only errors. Fully updated to latest.

/usr/local/lib/ruby/gems/2.3.0/gems/cert-1.4.1/lib/cert/runner.rb:172:in `write': [!] Permission denied @ rb_sysopen - /Users/xxxx/keystores/X3F9328AZM.cer (Errno::EACCES)

Looks like there is a permission issue wrt to the keychain ownership.

Yes, but the problem is that the stated keystore isn't the keystore configured to be accessed, which should be cert.keychain, not X3F9328AZM.cer.
Does the keychain need to be stated as absolute path (and not relative as it was)?

Yeah, I believe so: https://github.com/fastlane/fastlane/pull/4386


[W6.1e][W14-A2] Heng Zhi Xuan Caryn

Done LO-JUnit

@hzxcaryn
Some comments added. Please ack & close the PR after reading comments.


SQLite support

SQLite support, with appropriate date/time handling, Docker config left to be done.
I don't encounter any problems but it needs thorough testing.
Configuration in .env
DATABASE_URL=file:/absolute/path/to/database.db
DATABASE_URL=file:./database.db with a relative path, relative to prisma folder in the app/umami path.
Few informations about it:

SQLite doesn't have an appropriate format for time/date, so all timestamps are stored in db as integer, in ms. And that's why query params are changed.
Like in MySQL, ? placeholder is used.
The specific concat function used for events isn't supported by SQLite, so it's replaced before query execution. (I tried to avoid the replacement by not using concat regardless of db, but had problems with MySQL)
https://www.sqlite.org/lang_datefunc.html for SQLite date/time functions, unixepoch function not being supported in prisma (prisma#12831)

We have a new query structure now. Instead of everything lib/queries there is now a queries folder with all the individual queries. Sorry you'll have to update your PR a bit.

@Maxime-J Is this ready to be merged as it is? It's okay if there is some work left as long as it doesn't break anything.

This is awesome @Maxime-J , I can't wait to try it out! Would you mind adding a couple of lines of documentation to the README as well? Thanks!

@mikecao Ready to be merged as it is, tested with a dataset of 2.5k views, same working behaviour for other DBs.
The only thing it could break is the ongoing ClickHouse implementation:
=> the concat query was "hardcoded" in pages/api/website/[id]/metrics.js
I replaced it with that function in lib/db.js
export function getConcatQuery(args) {
  const db = getDatabase();
  if(db === SQLITE) {
    return args.join('||');
  }
  return `concat(${args.join(',')})`;
}

And I see there is some work left to line up with the dev branch (event_data migration)
Thanks @timonson! I guess README and other docs will be updated if SQLite support is officially adopted by Umami.

And I see there is some work left to line up with the dev branch (event_data migration)

There's a blocker for SQLite support starting with umami 1.37.0,
prisma doesn't support (yet) the JSON type of event_data.
Discussion on it seems to indicate it could change relatively soon
https://github.com/prisma/prisma/issues/3786

WOW, this is incredible. i always wished for a simple sqlite backed umami version. @Maxime-J btw did you saw someone did a port in the past as well? I guess yours is now better and more fresh, but maybe it can suit as an inspiration? https://github.com/philippdormann/umami-sqlite

Thanks @eikaramba ! I also think SQLite would be great to have. And it worked well with Umami < 1.37.0
Added features in Umami causes an incompatibility which can't be handled easily at first glance (see previous message)
The issue on Prisma hasn't really evolved, so maybe we could find a way to bypass it.
But I will probably wait for Umami v2 release before looking at it again (https://github.com/umami-software/umami/releases/tag/v1.39.0).
Concerning the port you linked, it doesn't contain some SQLite specific functions, I don't see how it could have completely worked, hence why I opened this.

Quick update : Prisma obviously won't support the needed feature soon (https://github.com/prisma/prisma/issues/3786#issuecomment-1444715044),
so after a deeper look at the event logic, I've got a fully functional Umami 1.40 with SQLite 🎉
PR will be updated in few days.

I will close that PR in favour of https://github.com/Maxime-J/umami-sqlite
@eikaramba Here it is :) unless a last minute unseen mistake, it should be fully working.


Adding parentheses to if-condition to fix compile issue

Got some code for us? Awesome 🎊!
Please include a description of your change and the problem it solves. Then check your PR against this list. Thanks!

[x] Commit message has a short title & issue references
[ ] Commits are squashed
[x] The build will pass (run bundle exec rake).

More info can be found by clicking the "guidelines for contributing" link above.

When compiling using sass as taken from npm i -g sass, this error is thrown:
Error: expected "(".
  } @else if length($span) == 2 or if (length($span) >= 3) {
                                     ^
  src/styles/0-plugins/neat/neat/functions/_neat-parse-columns.scss 19:38  root stylesheet
  src/styles/0-plugins/neat/_neat.scss 16:9                                @import
  src/styles/styles.sass 1:9                                               root stylesheet
  src/styles/0-plugins/_plugins.sass 2:9                                   @import

The relevant issue is #654. Adding parentheses fixes this issue.
rake and bundle exec rake tests pass:
Finished in 58.1 seconds (files took 1.79 seconds to load)
56 examples, 0 failures

Current version does not work for the following combination of versions:
sass -v
Ruby Sass 3.5.7

neat -v
Neat 3.0.0

node -v
v8.10.0


FR: Adjust rules for documents containing no H1, but only H2s (Obsidian 0.16)

Is Your Feature Request Related to a Problem? Please Describe.
With Obsidian 0.16, we get inline titles and tab headers which make H1 redundant, resulting in some people like me to remove all their H1; my notes now only contain H2.
However, this makes some rules like "Header Increment" unusable, since without an H1, all H2s become H1, and All H3s H2 and so on. However, as described very well in this forum post, having multiple H1 in one document is also considered bad practice.
Describe the Solution You'd Like
Adjust rules like "header-increment" so that they also work for notes that do not contain H1s; maybe as an additional option?
In this regard, a rule like "there should be no H1 in your note" could also be worth considering.
Describe Alternatives You've Considered
Simply disabling all the affected rules. However, this would diminish the usefulness of the linter.

Thanks for the feedback!
Is this something that only affects this one rule or are there more? I ask because I want to fully understand the scope of this.
Note that I will not have access to Obsidian 0.16.0 to test against until it is publicly released.

I think it's mainly that one rule, maybe also "insert filename as H1", but it's debatable whether one should even enable it if one wants not to use any H1 anymore.

Yeah. H2 is not a replacement for the title of a note, so I eould not think that rule would need changing.

bump This makes the Header Increment rule useless to me.

I took a look at this and it seems it is easier said than done. Header increment does not increase the level of headers. It can only decrement them as it stands. Is my understanding correct that there is no need to increment existing headers or is this something where it is being asked that the rule be rewritten to also be able to account for incrementing headers?
I am asking to make sure I understand exactly what needs to be done for this since the latter would take more time to determine a functional change for.
Note that I am open to PRs in the meantime that would fix this as I have been tied up with a couple of other rules and bug fixes.

I did take a stab at this which is where the above question is coming from. It looks like header increment is designed solely for decrement values to make sure they are incrementing rather than setting a starting value. It is not impossible to change, but it may not be a simple change either. So it could be done for the next release if all goes well and there is a clear expectation of how it should work when H1's are present in the file.

To clarify, the header values can increment. However it does this by decrementing any jumps in the number of headers. So it currently has no mechanism for converting an H1 to an H2. I can set the minimum header level, but it may not work as expected when an H1 is present as they would likely be converted to H2s while H2s would remain the same. Does that make sense?

Here is an example of what I am thinking would happen
before:
# H1 becomes H2
### H3 stays the same
####### H7
###### H6
## H2
###### H6
 _Note that incrementing starts at heading level 2, so H3s that come after an H1 or H2 will remain the same after the rule runes when the starting level is set to H2_

after:
## H1 becomes H2
### H3 stays the same
#### H7
### H6
## H2
### H6
_Note that incrementing starts at heading level 2, so H3s that come after an H1 or H2 will remain the same after the rule runes when the starting level is set to H2_

Does that make sense or is there something that should be changed about this behavior? I have it working with the above behavior, but I want to get feedback on it before I go ahead and merge it.

I am still trying to workout an algorithm that can accommodate both setups. But the above scenario is the output of the one I have come up with so far that just goes ahead and sets the minimum header level.

I want to be clear about the desired behavior here. I want an option for "don't create H1s".
Here's what I want
Option off
Current behavior
Option on
With existing H1
Example 1
Before
# H1
### H3
### H3
#### H4
###### H6

We skipped a 2nd level heading

After
# H1
### H3
### H3
#### H4
###### H6

We skipped a 2nd level heading

##### Example 2

###### Before

H2
H3
H1
H4
H6
No H1 at beginning of file

###### After

H2
H3
H1
H4
H6
No H1 at beginning of file

I want to be clear that I don't care about this. It's an edge case. I likely will never have an H1 in the body of my file that I want to keep. So feel free, as far as I'm concerned, to keep current behavior if there is *any* H1 in the file, *or* to take out all H1s if that option is on (as your example shows).

#### Without existing H1

##### Before

H3
H4
H2
H4
H6

##### After

H3
H4
H2
H4
H6

Interesting. This is a tricky situation. I hadn't thought about what to do if there are existing H1s in the file.
Okay, let's try this:
We need one new Rule, and one new option for an existing Rule. The new Rule is the exact inverse of "File Name Heading"; let's call it "Remove File Name Heading." This will check to see if there is an H1 that matches the file name above any other headers. If so, it removes it.
The new option is what has been suggested in this Issue: an option for "Header Increment" for "Don't create H1s" (or whatever you want to call it).
This option would not remove any existing H1s, so the example you present above wouldn't be implemented. Instead, it would work like this:
"Don't create H1s" option
Option off
Current behavior
Option on
With existing H1
Example 1
Before
# H1
### H3
# H1
#### H4
###### H6

H1 at beginning of file: same as existing behavior

After
# H1
## H3
# H1
## H4
### H6

H1 at beginning of file: same as existing behavior

Example 2
Before
### H3
#### H4
# H1
#### H4
###### H6

No H1 at beginning of file: No header promoted beyond H2; H1s left alone

After
## H3
### H4
# H1
## H4
### H6

No H1 at beginning of file: No header promoted beyond H2; H1s left alone

So the Rule, with this option on, does not touch existing H1s, but will not promote headings above H2. Why? Because the new way isn't "don't use H1s"; it's "treat the file as having the file name as an H1 at the top, because that's what Obsidian's new 'Show inline title' option does."
Without existing H1
Before
### H3
#### H4
## H2
#### H4
###### H6

Nothing gets promoted above H2

After
## H3
### H4
## H2
### H4
#### H6

Nothing gets promoted above H2

I can take a look at doing this. The main problem I see is the decrement logic will not play well with this since it is calculated by the difference between the current and last header encountered. It can be mitigated, but this is not generally a simple change to make it work this way.

The requested change should now be available on master and should go out in the next release. It should treat H1s as a reset point for the increment level when the setting for starting at heading level 1 is active. This means the following:
# H1
## H2
### H3
#### H4
# H1
##### H5

becomes
# H1
## H2
### H3
#### H4
# H1
## H5

sorry, I am a bit confused – the issue is about documents with no H1, but your example contains multiple H1?

sorry, I am a bit confused – the issue is about documents with no H1, but your example contains multiple H1?

Yes. The example provided is to show what happens if an H1 already exists (they will not be affected, but they will be treated as reset points for what the next level should be).
So if you have no H1 in the file to start with, you will end with no H1 in the file:
### H3
#### H4
#### H4
##### H5
## H2

becomes
## H3
### H4
### H4
#### H5
## H2

Does that clear things up?

If this is a request to increment headers that are H1s, that may cause the rule to be inefficient. I have tried to think up a good way of knowing how to properly shift values up 1, but so far I have come up blank on that.

In other words, H1 will not be a value that can be affected by this rule. It will be ignored and it will treat H2s like the new H1.

so essentially what the rule now does is to ensure no heading level is skipped?

so essentially what the rule now does is to ensure no heading level is skipped?

It is hard for me to explain clearly. It makes sure that headings are incremented from the minimum level up. Anything below the minimum level is ignored and the next header after an ignored header will  become the minimum level.
The default behavior is the minimum level is 1 and everything is incremented from there with the appropriate decrements applied.
With the option to start at heading level 2, the minimum level is 2, so when decrementing/setting heading levels the lowest it will go is 2. It does not touch heading level 1 headers since I have not come up with a good approach for this yet that may not mess up heading nesting. I have an idea I want to try for it later today, but I am not sure if it will work.

I see, I think I got it now. Could be worth coming up with a good description, so that users won't be confused what the rule actually does 🤔

You may wish to consult my example and explanation above: https://github.com/platers/obsidian-linter/issues/412#issuecomment-1332492585

It seems to have passed. Here is what it will look like with the change (all headers are incremented by 1 level and then the header increment can run with the absolute minimum level being 2 for the headings):
When an H1 exists
before:
# H1
## H2
### H3
#### H4
# H1
##### H5

after:
## H1
### H2
#### H3
##### H4
## H1
### H5

When no H1 exists
before:
# H1
## H2
### H3
#### H4
# H1
##### H5

after:
## H1
### H2
#### H3
##### H4
## H1
### H5

Summary
The key difference here is that instead of ignoring H1s, it will go ahead and make H1s conform with the header increment rule by promoting them to the H2 level. This should get rid of all H1s present.

The change should be much more straight forward and much less Jerry rigged to make it work.


Windows build issues

Address three mostly unrelated Windows issues:

Fix up the webview build script.
Document a new explicit requirement to install rsync.
Warn users to prefer Git Bash, rather than the Command Prompt, for now (#3776).

Thanks @ray-kraesig ! Merged.
Both the macOS-specific and Windows instructions feel like they've overgrown the format a bit at this point; I'll make a pass now at reorganizing them some.

Both the macOS-specific and Windows instructions feel like they've overgrown the format a bit at this point; I'll make a pass now at reorganizing them some.

Pushed as b46c429bb.


[BUG] Testing support automation -- please ignore

Describe the bug
Testing support automation -- please ignore
Expected behavior
Testing support automation -- please ignore
Reproduction Steps
Testing support automation -- please ignore
Environment
No response

test


Rider plugin was very slow and sluggish when switching between functions in large workspace

We speculate the reason was the large numbers of projects, we need to test, get more info from Quali as needed

It may be because of span navigation in Rider that is implemented with bad performance. it can be changed to something like we do for Java.


Game logic Implementation

In this milestone of the project, we transformed the pseudo-codes of our last milestone into real game logic.
The game is separated into three classes, the Game, Player, and Board class and each has its own methods to modularize every action.
Here we enjoyed implementing the OOP concepts of Ruby.

Hi @acushlakoncept and @ElijahTobs :clap: :clap:
Good job so far. However, you need to consider the following project required implementation before this project can be approved :point_down:
1. All game-logic related resources (classes and/or modules) should be kept in the lib directory. (screenshot from Pathwright). When you create separate files for each classes, remember that no puts/print and get.chomp is allowed outside main.rb file.
2. Try to use attr_readers/attr_writers, only use attr_accessors if you really need to.
Fix these required changes and submit for review.
Reviewed by Temitayo Adeleke.


Automatic formatter misalign the pasted code

While I'm going through the tutorials, I want to make my contribution for newcomers like me to keep them focused and not get distracted by all this annoying formatting issues.
Did you search for the problem in other open issues in this repo?

YES

Browser:

Chrome

Are there any errors/warnings logged in your browser console?

NO

Which platform(s) does your issue occur on?

Android

Please tell us how to recreate the issue with as much detail as possible.
The issue happens when the code is pasted into the editor and get's auto-formatter.
Replicate

GO TO https://play.nativescript.org/?template=groceries-ng&tutorial=groceries-ng
Open LESSON 1. Building a Login Screen
Open Step 1. Adding UI components
Go to section "ACTION    b. Next, open your app/login/login.component.html file and paste in the following code."
Copy code using "COPY" button above the code
Paste it in editor
Editor auto-formats pasted code
After auto-formatting code is misaligned

The issue appears every time you paste the code.
Example 1
Copied code from the example uses two space indentation and do not contains any extra spaces:
<ActionBar title="Groceries"></ActionBar>

<StackLayout>
  <TextField hint="Email Address" keyboardType="email"
    autocorrect="false" autocapitalizationType="none"></TextField>
  <TextField hint="Password" secure="true"></TextField>

  <Button text="Sign in"></Button>
  <Button text="Sign up for Groceries"></Button>
</StackLayout>

The actual result:

Example 2
Another more visible misalignment (sample code from the tutorial example):
<ActionBar title="Groceries"></ActionBar>

<FlexboxLayout>
  <StackLayout>
    <TextField hint="Email Address" keyboardType="email"
      autocorrect="false" autocapitalizationType="none"></TextField>
    <TextField hint="Password" secure="true"></TextField>

    <Button text="Sign in"></Button>
    <Button text="Sign up for Groceries"></Button>
  </StackLayout>
</FlexboxLayout>

The actual result:

Thanks, I'll check it out and get back to you.
On Fri, 2 Nov 2018 at 15:24, Darin Dimitrov<EMAIL_ADDRESS>wrote:

@ddmitry https://github.com/ddmitry, we have released a new version
that should fix the formatting issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NativeScript/playground-feedback/issues/88#issuecomment-435416121,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADBOu48qPmRwjB6PK5iJI21s9ffuFqZqks5urGOYgaJpZM4XxyVc
.


Wrong version from CLI

Not the most serious issue in the world but:
> roll -V
dice v2.4.1 by Sam Clements<EMAIL_ADDRESS>Caleb Johnson<EMAIL_ADDRESS>
Should be v3.1.0 I believe.
Thanks for dice, it's great!

Thanks! Uploaded to pypi as https://pypi.org/project/dice/3.1.1/.


UserWarning

Hi, I have problem about that:
UserWarning: Using a non-full backward hook when the forward contains multiple autograd Nodes is deprecated and will be removed in future versions. This hook will be missing some grad_input. Please use register_full_backward_hook to get the documented behavior.
please help!

This may be a warning caused by the torch version update. For now, you can ignore it, or modify the function name according to the warning.


Update Cost Management Plan

I removed all the paragraph that was there. I did not know if I was supposed to update that writing or do something new.  I put some thing short with a table mainly based on the project charter. Please feel free to add or take stuff out. I still have the copy of the previous writing if there is an interest to put some points from it.

made comments

Reviewed, this can be closed.


Flex utility classes shouldn't depend on $enable-grid-classes

Since these are no longer part of the grid system per se.
CC: @mdo

Yup! Looks good to me.


Cannot create or list tasks for my app

Thanks for submitting an issue to cloud_controller_ng. We are always trying to improve! To help us, please fill out the following template.
Issue
Creating and indexing tasks fails due to permissioning errors.  When I try to create or list tasks for my app, I get failures that are unexpected.  CF_TRACE shows that this is because I get a 404 when trying to access the v3/app/:guid/tasks endpoint for POST and GET
This does not occur when I am an admin.
Context
I have all of the roles in my space and in my org:
 cf space-users failedtaskorg development
Getting users in org failedtaskorg / space development as<EMAIL_ADDRESS>
SPACE MANAGER
<EMAIL_ADDRESS>
SPACE DEVELOPER
<EMAIL_ADDRESS>
SPACE AUDITOR
<EMAIL_ADDRESS>
cf org-users failedtaskorg
Getting users in org failedtaskorg as<EMAIL_ADDRESS>
ORG MANAGER
<EMAIL_ADDRESS>
BILLING MANAGER
<EMAIL_ADDRESS>
ORG AUDITOR
<EMAIL_ADDRESS>
Furthermore, I can see the app that I am creating my task off of:
cf app aora
Showing health and status for app aora in org failedtaskorg / space development as<EMAIL_ADDRESS>OK

requested state: stopped
instances: 0/1
usage: 256M x 1 instances
urls: aora.a1-app.cf-app.com
last uploaded: Tue Jun 13 20:43:53 UTC 2017
stack: cflinuxfs2
buildpack: ruby 1.6.40

There are no running instances of this app.

Steps to Reproduce

Create a space in an org and give yourself all roles
Create an app
Try to run a task off of that app: cf run-task aora 'echo foo'
Try to list tasks off of the app: cf tasks aora

Expected result
I expect my task to be created and my tasks to be listed.
Current result
Creating task for app aora in org failedtaskorg / space development as<EMAIL_ADDRESS>App not found
FAILED

Getting tasks for app aora in org failedtaskorg / space development as<EMAIL_ADDRESS>App not found
FAILED

Possible Fix
Use v2 access classes for app to permission the v3 task resource. What could go wrong.

@thausler786 i'm not able to reproduce this when logging in as a SpaceDeveloper

@thausler786 I was also not able to reproduce. I tried giving the user "all the roles" like mentioned, but it did not prevent me from running/listing tasks.
I did something like (omitting output for everything but the last two commands):
$ cf create-org test
$ cf create-space -o test test
$ cf target -o test -o test
$ cf create-user testuser password
$ cf set-org-role testuser test OrgManager
$ cf set-org-role testuser test BillingManager
$ cf set-org-role testuser test OrgAuditor
$ cf set-space-role testuser test test SpaceManager
$ cf set-space-role testuser test test SpaceDeveloper
$ cf set-space-role testuser test test SpaceAuditor
$ cf auth testuser password
$ cf target -o test -s test
$ cf push app
$ cf run-task app 'echo foo'
Creating task for app app in org test / space test as testuser...
OK

Task has been submitted successfully for execution.
task name:   8cc90264
task id:     1
$ cf tasks app
Getting tasks for app app in org test / space test as testuser...
OK

id   name       state       start time                      command
1    8cc90264   SUCCEEDED   Thu, 22 Jun 2017 21:12:49 UTC   echo foo

Hello @thausler786 !
We're closing this issue for now since it has been difficult to reproduce. Please feel free to re-open this issue if you see the problem again.
Thanks,
@anniesing & @mikexuu


⚠ Bofrost.fr has degraded performance

In 3237849, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1066 ms

Resolved: Bofrost.fr performance has improved in 9c495ae after 8 minutes.


Direct references show extra requirements in .txt files

I am adding the missing extra requirements for direct references. I think it's better to keep consistency with how the rest of pip-tools works.
Contributor checklist

[x] Provided the tests for the changes.
[x] Assure PR title is short, clear, and good to be included in the user-oriented changelog

Maintainer checklist

[ ] Assure one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

Thanks!
Yes, the extras should be included. A similar fix is sitting in #1329, not yet reviewed by @atugushev:
    extras = f"[{','.join(xtr for xtr in sorted(ireq.extras))}]" if ireq.extras else ""
    return (
        f"{canonicalize_name(ireq.name)}{extras} @ "
        f"{ireq.link.url_without_fragment}"
        f"{fragment_string(ireq, omit_egg=True)}"
    )

but there I did not normalize the extra names, where you do convert to lower case.
I'd like to know:

are we getting non-normalized extras names in the first place, or is the extra already normalized elsewhere?
if not already normalized, we should probably run them through canonicalize_name rather than just lower casing, right?
or is an extra sometimes not just a name, and so would be wrongly mangled this way?

I forgot when I wrote that last comment that extra names are not at all package names, so we do NOT want to use canonicalize names on it.
I guess I'd just like to see that any normalization is needed at this place. FWIW I just tested with #1329 an input file that specified an extra as yAmL and it came out as yaml in the txt. 🤷🏼

Hello @AndydeCleyre !
I remember your PR in #1329 but I was thinking, since mine is a small fix, that it could be merged quickly.
Though I wished that your PR was merged sooner than later. I like the way you handled the relative path and I think that's a nice feature for pip-tools!
Regarding the normalized names in the extras, I double-checked and InstallRequirement is parsing them in the first place. So I don't think we need to do anything else?

Makes sense, and thanks again, as your feedback was central to getting that "right."
I won't close this, but also hope the big one gets merged soon. I will fix it up with your suggested change very soon I think.

Sounds good. Also if you have any good starter task to give, let me know and I'll happily contribute to the project.

@FlorentJeannot According to this discussion https://github.com/jazzband/pip-tools/pull/1453#discussion_r671595549 I thought that we agreed to not include extras once requirements have been complied?

@atugushev Sorry, it was not clear to me that my thinking was agreed or if it would be fixed later by @AndydeCleyre's PR (https://github.com/jazzband/pip-tools/pull/1329).
I thought some people would be confused and open issues to declare the bug, so I wanted to fix that now.
I guess we have two solutions:

we merge this PR to restore the old behavior as a "fix" and later we make a PR which removes all extras in the compiled file
we decline this PR, and plan to make another one which removes all extras in the compiled file

Another question: Since @AndydeCleyre's PR contains the fix too, should we remove it there (so we don't bring more confusion by restoring the extras and then removing them)? Or should we make a PR now which removes them, so that @AndydeCleyre can merge this change and tweak his PR?

I'm not convinced we should strip extras from the output, FWIW.
The fact that pip freeze doesn't include the extras notation isn't necessarily a positive example, as the whole point of pip tools is that freeze is insufficient and too lossy with information for our needs.

@AndydeCleyre While I agree pip-compile should output more information than pip freeze, I'm not convinced it should contain the extras.
For example, package A has an [extras] which contains package a and b, and these are also extracted in the .txt file by pip-compile:
A[extras]==2.0
a==1.0
b==1.0

When I do pip install or pip-sync, then pip will then fetch A==2.0 A.a, A.b, a==1.0 and b==1.0. While this is not a big deal because it won't break the installation and install the correct version of a and b, it seems a bit redundant.
Also what if the dependency is compromised?
Let's say package A is updated and [extras] now contains a, b and malware. Then let's say I don't run pip-compile -U to update my .txt but I do pip-sync because I want to refresh the list of packages I've already pinned. pip will fetch A==2.0 A.a, A.b, A.malware, a==1.0 and b==1.0. So I think in this case we would install a package without realizing it, no?

I honestly don't understand the example but want to point out in this discussion that some packages use extras to describe dependencies that are then detected during installation, affecting the installation procedure.
If the relevant deps are just present in reqs.txt, installing with pip install -r reqs.txt will not guarantee installation order, which can break the req[extra] installation which needs the extras installed beforehand. Keeping them there, I think, guarantees the necessary order.

It would be great to have this, or #1329, or any other solution soon.
I currently am having issues using pip-compile in a project requiring Celery with the "sqs" extra, because "Celery[sqs]" requires "kombu[sqs]" but pip-compile keeps only "kombu" for the sub-dependency :(

It would be great to have this, or https://github.com/jazzband/pip-tools/pull/1329, or any other solution soon.
I currently am having issues using pip-compile in a project requiring Celery with the "sqs" extra, because "Celery[sqs]" requires "kombu[sqs]" but pip-compile keeps only "kombu" for the sub-dependency :(

@atugushev What is your opinion on this one?
The way extras work (or not) makes me want to discourage their use, especially in result of pip-compile. Does everyone know that you can feed any typo to as an extra and pip will not complain? This proved to be a permanent source of problems as projects add/remove/rename extras over time.
I also have to confess that I am only using pre-commit to build constraints files, so I never want to see extras in them as the spec forbids them. That means that I should let others decide.

FWIW, for my use case (properly installing Celery[sqs]), it would be fine if the output of pip-compile would include all of the required sub-dependencies without the extras.

@ssbarnea I summed up my opinion here.


Deploy Multicall3 to Arthera Testnet

Chain Name
Arthera Testnet
Chain ID
10243
RPC URL
https://rpc-test.arthera.net
Block Explorer URL
https://explorer-test.arthera.net
Deployment Funds
No

Hello @mds1, I just sent 1 AA (native currency of Arthera) to 0x05f32B3cC3888453ff71B01135B34FF8e41263F2 (view tx).

Done, thanks!


docs: add feature gates to our readme

This PR adds a feature gates section to our README.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 45.195%

Totals

Change from base Build<PHONE_NUMBER>6:
0.04%

Covered Lines:
6533

Relevant Lines:
14455

💛  - Coveralls

We should wait for https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/733 to be merged IMO


Move implementations outside of functions with traits

https://deterministic.space/elegant-apis-in-rust.html#a-note-on-possibly-long-compile-times

Fixed by #14


Don't open batch AOI if that's the latest AOI

Batch AOI's are not visible in the application, and have no stats. They should not be opened in the application, or should render a "download from project page => Link" message.

Batch AOI's can now load predictions and have stats - closing this ticket


Mark blocking calls in MarathonSchedulerService

with scala.concurrent.blocking

That will block for a long time :) Good Catch!


Django Packer with version 2.2

Is there any way that I use django-packer with django version 2.2 which is the latest LTS version?

mmm... I think if you install django==2.2 there would be no problem
if there was please report the bug and steps to reproduce

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @Perelyn-sama, @devahmedfarouk, @LegolasFeanor, @thr0m3l, @Kei-shii, @jjsurmeda, @SenthilDhanasekaran

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 6, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
Nadeera3784, @vickyXuzhou, @othersid3r, @ETH-KT, @VachaganGrigoryan, @CamTosh, @normdoow, @0xadada, @simoncollins, @6201, @ooade, @dkoutevska, @block-deve, @0neSe7en, @theethernaut, @newbie-coin, @younghadiz, @fedot, @Kur0x, @asfman

Ի լուրջ, տո օչխար 😅


Running notes on Editor API + Schema Changes

I've put together a quick hack to test adding schemas to nodes via the editor. Essentially I used the Editor API to add configuration.schema to three nodes: input, output, and worker.
For simplicity I the following to each:
{
  "type": "object",
  "properties": {
    "magicNum": {
      "type": "string",
      "title": "magicNum"
    }
  }
}

Things I've noticed so far:

If I update input, everything seems to work just fine; we get a new magicNum port on input (yay!)
If I update output nothing happens, but the Editor API says it's happy. I've had a look in the ports we get in processGraph() and they're still the old ones. If I then add a new node I get the updated ports, so I'm wondering if we're not awaiting something somewhere.
If I create a magicNum on input of type number and one on the output of type string (or vice-versa) the Editor API will let me create an edge between them. I'm wondering if we need to have stricter type checking that the ports are of the same type?

If I drag a new output onto the editor and update the schema then it immediately adds the new magicNum port

If I try and create a configuration schema on a worker it doesn't change any ports, but we go from a lot of missing values to connected ones.

Before:

After:

If I add magicNum to the output first, it doesn't show up (per point 2), but then if I add magicNum to input after it, that doesn't show up either

If I add magicNum to the output first, it doesn't show up (per point 2), but then if I add magicNum to input after it, that doesn't show up either

Okay, this was on me. Fixed.

If I disconnect the text from the basic board we start with should I expect to see text disappear? I think so because it's "ephemeral" and a product of the wiring. But when I delete it, the port seems to still be there.

update: rewrote the panel editor to use ports in #822, have been tracking down the bug with the ports not updating after config change. It seems to work the first time now, but not the subsequent times. Going to bed now 💤, but will resume tomorrow.

Sorry, Dimitri, the reason the graph was ignoring the subsequent changes was due to the way Lit handles objects. It doesn't know about internal changes to objects (like changing the graphDescriptor in loadInfo) and my change detection was faulty – fixing as part of https://github.com/breadboard-ai/breadboard/pull/829


Ubuntu 22.04 install

Hello, I'm trying to use cuPCL, and actually, when doing the make in cuICP, it says that :
USE Default CUDA DIR: /usr/local/cuda
TARGET_ARCH: x86_64
CUDA_VERSION: 11080
SMS: 30 35 37 50 52 53 60 61 62 70 72
g++ -I/usr/local/cuda/include -I""/include -I/usr/local/include -I/usr/include/eigen3/ -I/usr/include/pcl-1.12/ -I/usr/include/vtk-9.1/ -D_REENTRANT -std=c++14 -O2 -fPIC -o obj/main.o -c main.cpp
g++ -D_REENTRANT -std=c++14 -O2 -o demo obj/main.o -L/usr/lib -L/usr/local/lib -L/usr/local/cuda/lib64 -lcudart_static -lrt -ldl -lpthread -lcudart -L""/usr/lib/x86_64-linux-gnu/ -lcudnn -lpthread -L/usr/lib/aarch64-linux-gnu/ -lboost_system -lpcl_common -lpcl_io -lpcl_recognition -lpcl_features -lpcl_sample_consensus -lpcl_octree -lpcl_search -lpcl_filters -lpcl_kdtree -lpcl_segmentation -lpcl_visualization ./lib/libcudaicp.so
/usr/bin/ld: ./lib/libcudaicp.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
Could you tell me how to install and test it?

hello! Well, as they have said in the readme, there are different branches for different architectures. Yours is X86_64, so you juste have to switch to the x86_64_lib branch after you have clone the repo


FLOPs calculation

Good day,
thank you for sharing the code and the full pipeline for training and testing of your network.
I have a question on the calculation of Flops in table 5 in your paper. Using the following simple snippet:
from thop import profile, clever_format

    scale = 8
    H = 480
    W = 640
    num_feats = 40

    model = SGNet(num_feats=num_feats, kernel_size=3, scale=scale)
    model.eval()

    # Input to the model
    image = torch.randn(1, 3, H, W, requires_grad=True)
    depth = torch.randn(1, 1, H // scale, W // scale, requires_grad=True)

    macs, params = profile(model, inputs=((image, depth), ),
                        custom_ops={})
    macs, params = clever_format([macs, params], "%.3f")
    print('=' * 100)
    print('=' * 30, ' SGNet ', '=' * 30)
    print('=' * 100)
    print(macs)

I achieve 7.22 TFLOPs instead of 4623.9 GFLOPs with this snippet.
Could you please clarify how did you estimate the FLOPs for your network?

The inference time in the table is calculated on the NYU dataset, while the FLOPs are calculated on the RGB-D-D dataset with a resolution of 512*384. You can use the following code to calculate it:
import torch
from thop import profile

import models.SGNet as Net

model = Net.SGNet(num_feats=40, kernel_size=3, scale=8)

rgb = torch.randn(1, 3, 384, 512)
d = torch.randn(1, 1, 48, 64)
input = (rgb,d)

flops, params = profile(model, (input,))

print('+++++++++++++++++++++++++++++++')
print('params: %.2f M, flops: %.2f G' % (params / 1e6, flops / 1e9))
print('+++++++++++++++++++++++++++++++')


OpenCL runtime error with inv_gamma_lpdf

A script that compiles and runs fine in serial is compiled fine with opencl, but throws this error at runtime:

Unrecoverable error evaluating the log probability at the initial value.
Exception: binary_operator+: Rows of a (2861) and rows of b (1) must match in size (in 'file.stan', line 285, column 8 to column 86)
Exception: binary_operator+: Rows of a (2861) and rows of b (1) must match in size (in 'file.stan', line 285, column 8 to column 86)

At issue is the following signature:
lp += inv_gamma_lpdf(row_vector | scalar, scalar);
I can get the script to run with opencl using this modified version:
lp += inv_gamma_lpdf(to_vector(row_vector) | rep_vector(scalar, size(row_vector)), rep_vector(scalar, size(row_vector)));
Version 4.0.0

I can confirm the bug. Actually we forgot to test OpenCL implementations with row_vectors. So they won't work with combinations of vector and row_vector arguments. Some of them, inv_gamma_lpdf included, won't even work wit combinations of row_vector and scalar arguments. Ouch.
I will try to fix that as soon as possible. Meanwhile the simplest workaround that should work is to call inv_gamma_lpdf(to_vector(row_vector) | scalar, scalar).


adding a thing

Topic: addStuff
|

Reviews in this chain:
└https://github.com/dukeofcool199/revup/pull/42 adding a thing

#
head
base
diff
date
summary

0
2cd387c1
6120bfdf
diff
Jan 3 15:44 PM
1 file changed, 1 insertion(+)


[AppService] Fix issue 41218

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

#41218


process priority/affinitymask

With thanks to SpikeyNoob, these changes are safe for Linux too. They also work:


Angular 7 SSR fails

Version info

Angular: 7.1.0
Firebase:5.7.0
AngularFire:5.1.1
How to reproduce these conditions
Clone the angular universal 7 repo install firebase and angular fire and do the build process

Steps to set up and reproduce

Clone the repo https://github.com/enten/angular-universal
Install firebase
Install angular fire
run  npm start

Debug output
** Errors in the JavaScript console **
D:\harshith\my-project\node_modules\@angular\fire\bundles\messaging.umd.js:23
                var requireMessaging = rxjs.from(import('firebase/messaging'));
                                                 ^^^^^^

SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:617:28)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.@angular/fire/messaging (D:\harshith\my-project\dist\app\server\main.js:20508:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node ./dist/app/server/main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\harsh\AppData\Roaming\npm-cache\_logs\2018-12-19T10_52_54_129Z-debug.log

** Output from firebase.database().enableLogging(true); **
** Screenshots **
Expected behavior

the server should start
Actual behavior
It's showing this error

I'm facing the same issue. Please help with this error.

I'll work on changing that in the node package, in the meantime don't include AngularFireMessaging in your server app module only browser.

Dup #1938

When can we expect an fix for this issue ?


Prerequisite with dynamic arguments

I'd like to be able to define prerequisite with a dynamic argument and access this argument in the mocking value. For instance, I'd like to be able to write something like this:
(defn bar [x])
(defn foo [x]
  (bar x))

(fact
 (foo 2) => 2
 (provided (bar anything) => anything))

The problem in this code is that the anything after the arrow doesn't have the value of the anything before the arrow.
Does my request make sense?

Could anyone help on this one?

metaconstants might do something similar.
like
(defn bar [x])
(defn foo [x]
  (bar x))

(fact
 (foo 2) => ..some-arg..
 (provided (bar ..some-arg..) => ..some-arg..))

Are you somehow trying to express strong constraints between what flows in and out of subcalls? I generally try to avoid such tests because it doesn't test results but rather implementation, so when you refactor your implementation you have to update all your tests.


feat: option to skip bundling on push

A new cli option to skip bundling in push command. The default value of
the option (false) preserves the existing behaviour of the command.
What/Why/How?
In the guide, Hide your internal APIs, it is suggest to add a special variable OPENAPI_CLI_BUNDLE_ARGS in registry environment variables setting to skip select decorators from running during build. However,  when pushing to the registry via openapi push, the bundle is invoked automatically  and the resulting API definition (after rules, preprocessor & decorators were applied) is pushed to the registry. This makes OPENAPI_CLI_BUNDLE_ARGS ineffective  and no way to restrict decorators when bundling on API registry.
This PR adds a new cli option for openapi push to skip calling bundle before pushing to the API registry.
Reference
Testing
Screenshots (optional)
Check yourself

[x] Code is linted
[ ] Tested with redoc/reference-docs/workflows
[ ] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Hi @SridarDhandapani,
This PR is not complete. It doesn't account for any other dependent files. We're considering adding an enable-decorator argument so you can make your decorators disabled by default and enable them using bundle args.
Will it solve your use case?

@RomanHotsiy, #495 looks like a good option. Happy to close this PR in favour of it.

Let's keep this open for now as we're still reviewing the feasibility of #495. Sometimes decorators require configuration values. It's unclear (at the moment) if/how we'll take those from the command line.
However, I think we are scratching away at the right underlying problem -- of making decorators easier to use with multiple cases.

Fix for the issue addressed here is merged in https://github.com/Redocly/openapi-cli/pull/614.

Fix for the issue addressed here is merged in https://github.com/Redocly/openapi-cli/pull/614.


How to set up HTTPS for internal-only domains

What is troubling you?
I currently use Nginx Proxy Manager to expose a nextcloud instance to the public web so I can access it. It works great for this use case and is very easy to configure.
I would also like to use it to serve HTTPS for internal-only services on a private network that I don't feel as comfortable exposing to the public web. It's not clear to me how this should be accomplished with NPM:
From my understanding, for NPM to get a LE cert, the domain (which can't be wildcard) needs to answer a challenge/response to LE, which means that the DNS must point to a public IP address, and that IP address must respond to public traffic.
If I'm not missing something (which I'm not an https expert, so I could be/hope I am), this means that any of my services which I want to have https must also be served to the public internet (much bigger attack surface for a private server I keep in my home). Arguably I could do this for a limited time to get the cert, and then change the DNS record for that subdomain to an internal IP, but then when it comes time for renewal in 90 days, it would fail, no?

The way I do it:

Obtain a Let's Encrypt certificate outside of NPM; I've set up acme.sh on my Synology NAS for mydomain.tld, *.mydomain.tld, *.lan.mydomain.tld + an auto renewal script/cron job,
Create a custom certificate in NPM and upload the LE certificate + key, so that the certificate is visible in the interface and NPM knows from where to load it,
the autorenewal script copies all the certifcate files to the directory where I keep my Docker volumes,
map the certificate files to the NPM container at /config/custom_ssl/npm-10/ (or wherever NPM decides to store the uploaded custom certificate files)

NPM's certificates tab won't update the expiration time but that doesn't really matter.
It's kind of roundabout but that's the only reliable way I was able to do it without exposing NPM to the internet.

In NPM, set an access list with only your internal subnet. Otherwise, configure as you would any other service. NPM is the only thing that needs outside exposure for certificates.

@Telain - Your suggestion works perfectly. Any thoughts on how to return 444 if not in the internal subnet?

To @andrej-g 's point, can we add a way to update/refresh the certs either when the service restarts, a command-line feature, or something else?

What is troubling you?
I currently use Nginx Proxy Manager to expose a nextcloud instance to the public web so I can access it. It works great for this use case and is very easy to configure.
I would also like to use it to serve HTTPS for internal-only services on a private network that I don't feel as comfortable exposing to the public web. It's not clear to me how this should be accomplished with NPM:
From my understanding, for NPM to get a LE cert, the domain (which can't be wildcard) needs to answer a challenge/response to LE, which means that the DNS must point to a public IP address, and that IP address must respond to public traffic.
If I'm not missing something (which I'm not an https expert, so I could be/hope I am), this means that any of my services which I want to have https must also be served to the public internet (much bigger attack surface for a private server I keep in my home). Arguably I could do this for a limited time to get the cert, and then change the DNS record for that subdomain to an internal IP, but then when it comes time for renewal in 90 days, it would fail, no?

Is there anyway you could please consider sharing your config file and NPM settings since I can't get it to work with an external subdomain. Thank you

Since the end of 2020 nginx proxy manager supports DNS challenges for many providers. This means only the DNS zone for this domain needs to be public. So you do need a valid domain from one of the supported DNS providers, but these domains do not actually need to point to anything.


add semicolons to class properties

Resolves issue with https://github.com/babel/babel/pull/3225

no longer needed: OK, 6.5.2 has it reverted!

@flying-sheep oh, hey, yay!


Add: Issue and pull request template

Add issue template and pull request template so that whenever users raise a new issue or PR, they can specify what changes and issues are being made
To know more about what are issues and pull request templates, you can check out here
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates

Hey @hasnainmakada-99 would like to work on it, can you assign it to me?

Here you go @KlausMikhaelson

@hasnainmakada-99 can you please stay online for few more mins will create a pr as soon as possible just need one pr for the hacktoberfest   lol

Sorry @KlausMikhaelson hacktoberfest is now over

@hasnainmakada-99 uhhh 4 hrs are left like when it gets 1st nov in every time zone that it's gonna over I do have some prs but unfortunately they are all in other time zones, I don't need the swag I just need the badge just wanna try even if I don't get it doesn't matter but still just want to try

@hasnainmakada-99 uhhh 4 hrs are left like when it gets 1st nov in every time zone that it's gonna over I do have some prs but unfortunately they are all in other time zones, I don't need the swag I just need the badge just wanna try even if I don't get it doesn't matter but still just want to try

Okay then go for it..

Hey @KlausMikhaelson, Have you started working on this issue

Hey will create the pr before the end of the day !
Thank you !

Hey will create the pr before the end of the day ! Thank you !

No worries

Hey @KlausMikhaelson, Are you still working on this one

Hey @KlausMikhaelson are you working on this or should I assign this someone else


No module named '_tkinter'

Describe the bug
On fresh install, ubuntu_setup results in..
Already up to date.
python 3.12.4 install ...
Downloading Python-3.12.4.tar.xz...
-> https://www.python.org/ftp/python/3.12.4/Python-3.12.4.tar.xz
Installing Python-3.12.4...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/blah/.pyenv/versions/3.12.4/lib/python3.12/tkinter/__init__.py", line 38, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
    ^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'
WARNING: The Python tkinter extension was not compiled and GUI subsystem has been detected. Missing the Tk toolkit?
Installed Python-3.12.4 to /home/blah/.pyenv/versions/3.12.4
update pip
pyenv: pip: command not found

The `pip' command exists in these Python versions:
  3.12.4

Note: See 'pyenv help global' for tips on allowing both
      python2 and python3 to be found.

OS Version
Ubuntu 24.04
openpilot version or commit
5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
Additional info
No response

Adding tk-dev to install_ubuntu_dependencies results in
Already up to date.
python 3.12.4 install ...
Downloading Python-3.12.4.tar.xz...
-> https://www.python.org/ftp/python/3.12.4/Python-3.12.4.tar.xz
Installing Python-3.12.4...
Installed Python-3.12.4 to /home/blah/.pyenv/versions/3.12.4
update pip
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.


USHIFT-1291: fix gofmt for go 1.20

Apparently the indentation rules in go 1.20 are different, because
make verify fails on my host without this change.

/assign @pmtk

/retest

/retest

/retest

/retest-required

/lgtm


Introducing incremental checkpointing functionality to state persistence

Description:
Incremental checkpointing reduces the overhead of state management in stream processors by taking smaller regular checkpoints than full-state checkpoints. This essentially reduces the time taken for checkpointing and size of the checkpoint itself
Related Issues:
https://github.com/wso2/siddhi/pull/695

Fixed added to https://github.com/wso2/siddhi/pull/836

Incremental Checkpointing added for Windows

Changed revision seperator to double-underscore in: https://github.com/wso2/siddhi/pull/845


Remove unused test depedency cached_property

The cached_property is already mentioned in setup.py

@mvj3

LGTM

@Tarrasch Well done!
When I make luiti, I learned a lot about code quality and engineering style from luigi, thx @erikbern .


Create Docker Hub Repo for EG Image

A docker hub repo is needed to store EG images. The push will be triggered by a GH action.

@mattklein123 PTAL at https://github.com/envoyproxy/gateway/issues/75. When you have a moment, can you help with the Docker repo and push creds?

envoyproxy/gateway and envoyproxy/gateway-dev repositories are created. creds are in GitHub actions secret as DOCKERHUB_USERNAME and DOCKERHUB_PASSWORD


Error not being populated on emailcode?

I'm trying to create a passwordless login, I'm using the stable CDN (2.2.3) and I'm trying to respond to the callback for errors.
My application has disabled sign-ups through the passwordless system.  I'm trying to respond to an error on the callback in order to display some sort of a message.  However, the error isn't being given to the callback and instead gets handled automatically displaying a message:

We're sorry, we can't send you the email because there's a configuration problem

I feel that this message is fairly ambiguous, and I know that the actually request returns as a 400 error and the body contains the following:
{"error":"bad.connection","error_description":"Public signup is disabled"}
This description would be perfect for me to display myself, however, the error just gets internally handled.  I tried entering in an invalid code, and that does get passed back to my callback.  It just seems to be relating to this error specifically and potentially some others.
Is this intentional?  Is it a non fix issue?  I'm wondering if I should just supply my own UI instead which isn't a problem.  I would just like to know for future use cases.
Thanks.

Got the exact same issue here. :-/ Did you find a solution ?

No, not really unfortunately.


Build failure: nixpkgs.python39Packages.cartopy

Steps To Reproduce
Steps to reproduce the behavior:

Run nix-env -iA  nixpkgs.python39Packages.cartopy

Build log
https://gist.github.com/rodrum/b925104a9cca4902eef7310b9a3187a6
Additional context
I'm running nix under the available docker image.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/a2mfyh90szmc055ivfnv182b5a4naq90-nix-info
copying path '/nix/store/a2mfyh90szmc055ivfnv182b5a4naq90-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.12-300.fc37.x86_64`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

@rodrum  I can confirm build failure inside nixos/nix docker image
this has been fixed in latest nixpkgs run nix-channel --update  and try again

@rodrum I've also noticed I get rather frequent crashes from inside docker, not sure what thats about, but it builds outside of docker

@kirillrdy Thank you! I'll try it with the new docker image tomorrow. Yeah, Docker seems to create some issues, I'm not certain why.

@kirillrdy I'm sorry I couldn't test this until today. After updating with nix-channel --update inside the docker container, and doing nix-env -iA nixpkgs.python39Packages.cartopy, I got a different error:
https://gist.github.com/rodrum/9bb3fa21117afaf9eb80d4e9eff88eac

@rodrum yes, looks like cartopy is broke again on master
while I am bisecting to find why it failed, to hopefully come up with a fix

python 3.9 is no longer built in hydra so there will be no pre compiled binaries coming cache.nixos.org, if you can, switch to 3.10 and 3.11
while nixos/nix docker image works fine in most cases, I tend not to use it due to: disabled sandox and difficulty of setting up local caching
building docker images locally outside of docker using nix seems to work much better, although has own disadvantages

What specifically are you trying to do ? since we know a very recent good commit hash for nixpkgs that has working cartopy we can build a docker image using nix.

python 3.9 should work fine, you just need to compile more dependencies
nix-env -i is only useful for packages that provide executables, eg has files in ./bin. I can see that cartopy has ./bin/cartopy_feature_download.py . you wont be able to import cartopy via nix-env -i

if you want enviroment where you can import cartopy you can use something like this
cat cartopy.nix
{ pkgs ? import (fetchTarball "https://github.com/nixos/nixpkgs/archive/c34e72182fa2a19a471014b849430b84fdedfb3d.tar.gz") { } }:
pkgs.mkShell {
  buildInputs = with pkgs;[ (python3.withPackages (ps: [ ps.cartopy ])) ];
}

[kirillvr@osaka:~]$ nix-shell cartopy.nix

[nix-shell:~]$ python3
Python 3.10.10 (main, Feb  7 2023, 12:19:31) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cartopy

meanwhile we'll keep this issue open, until cartopy is fixed on master


Update server.json version to 2023-05-01 has tls 1.3 as valid input

ARM (Control Plane) API Specification Update Pull Request

Tip: overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

 Click here to see the details of Step 1
Breaking changes review (Diagram Step 1)
If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
You believe there is no need for you to request breaking change approval, for any reason.
Such claims must be reviewed, and the process is the same.

 Click here to see the details of Step 2
ARM API changes review (Diagram Step 2)

If this PR is in purview of ARM review then automation will add the ARMReview label.
If you want to force ARM review, add the label yourself.
Proceed according to the diagram at the top of this comment.

 Click here to see the diagram footnotes
Diagram footnotes
[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
If you need further help with anything, see Getting help section below.

Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!

[ ] New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[ ] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[ ] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the Diagram Step 2, "ARM API changes Review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@jha1bhavna this month we have sql release requesthttps://github.com/Azure/sdk-release-request/projects/1931#card-91165085, Do you want this release contains your change?

Yes, please. I want this change to be in this release.
Thanks,
Bhavna
From: ZiWei Chen @.>
Sent: Monday, December 18, 2023 7:57 AM
To: Azure/azure-rest-api-specs @.>
Cc: Bhavna Jha @.>; Mention @.>
Subject: Re: [Azure/azure-rest-api-specs] Update server.json version to 2023-05-01 has tls 1.3 as valid input (PR #27080)
@jha1bhavnahttps://github.com/jha1bhavna this month we have sql release requesthttps://github.com/Azure/sdk-release-request/projects/1931#card-91165085, Do you want this release contains your change?

Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-rest-api-specs/pull/27080#issuecomment-1859445323, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5EV4C3CWXE54D3PFJVOFGTYJ6SYBAVCNFSM6AAAAABAUQOZ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGQ2DKMZSGM.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

/pr RequestMerge


Create owners-dependents.md

Localization of  Owners and Dependents in hindi
resolves #38944

Thanks @sftim But I am currently working on this so as to the initial proof that I am working I have created these folders and files. Surely I will complete the localisation in a few days

We can mark this as a draft:
/retitle [WIP] Localize “Owners and Dependents” to Hindi

@Aryan-Singla  try to use ओनर only in place of owner instead of ऑनर (this in english is honour) ओनर(in english owner).

Hey @niranjandarshann I would not like to work on this issue. You can work on this by creating a new PR


Use Multiple Models in a Single Kernel

When developing skills that will be used in a plan (or a kernel in general) there isn't a way to indicate the type or version of model required for the skill. Currently this means that there's only a single model or each type (text completion, chat, etc) available for all skills in the kernel to use.
The downside of the current implementation is that if even a single skill that is loaded and might be used needs to use an advanced (and expensive) model like gpt4 then all of the skills now have to operate at that cost rather than utilizing a simpler model for simpler skills. There's also no way for skills to indicate their model preferences, so even to an end-user who can look at the semantic skill's text there's not a good way to tell someone consuming the skill what models may be needed in order to run the skill and have it output desirable content (it requires experimentation).
The feature change would enable the following:

Multiple Completion services would be able to be added to a kernel. The first type of each service would establish the default which skills would use, and the remainder would need to be specified by the skill in some way (ex: either via a key name set when the skill is registered or by specifying a detail like the serviceId)
Skills would be able to request a specific version of a service, for example the "Foo" or "text-ada-001" registration of the TextCompletionService.
Semantic Skills would be able to specify a model preference via config which would be used to request the specific version of the service via (2).

Proposed Examples:
IKernel kernel = new KernelBuilder()
            .WithLogger(loggerFactory.CreateLogger<IKernel>())
            .WithCompletionService(kernelSettings)
            .WithAzureTextCompletionService(deploymentName, endpoint, apiKey, lookupKey: "Foo")
            .WithAzureChatCompletionService
            .Build();
...
(config.json):
{
  "schema": 1,
  "description": "Create Widget",
  "type": "completion",
  "completion": {
    "preferred_service": "Foo"
    "max_tokens": 100,
    "temperature": 0.9,
    "top_p": 0.0,
    "presence_penalty": 0.0,
    "frequency_penalty": 0.0
  },
  "input": {
    "parameters": [
      {
        "name": "input",
        "description": "Widget Type",
        "defaultValue": ""
      }
    ]
  }
}

I found:
This which seems to indicate that the serviceId might be able to be used for this functionality, but it doesn't appear to be used currently
The "Default Services" Property which is a list and appears to be on the config object, but I wasn't able to find any real usage of it. Maybe this was intended to be able to indicate a service ID?

If you create a semantic function using SemanticTools VS Code extension, it will include a default_backends in the config.json. See https://github.com/microsoft/teams-ai/blob/d753c5c40f8d03d8c2b639f3dd7baa8f68241db8/js/samples/04.q.questBot/src/prompts/help/config.json.
However this doesn't seem to be respected by the C# sdk as of now.

It is possible to specify the ServiceId to use for a semantic function, see SemanticFunctionTests.ItUsesServiceIdWhenProvidedAsync. We want to expand this functionality in the near future.


Machine mac-5 lost connection from the external iPhone device.

Machine mac-5 lost connection from the external iPhone device.

External connection has been restored by rebooting machine mac-5.


Investigate type inflation and strategies to reduce it

Interesting Twitter thread about this: compilation times might improve with better memoisation of trait obligations in rustc.

That Twitter thread conflates two different perf problems. As https://github.com/fasterthanlime/netherquote identifies, the chumsky slowness looks very much to be related to large amounts of LLVM IR being generated, rather than the rustc front-end being slow.

This is interesting to me, it seems that this behaviour is different to previous cases I've seen where the bulk of compilation time has been spend during the compilation of a lib crate rather than the final binary, which implied to me that trait resolution can also be a bottleneck.
I've gone through the recommendations that you mentioned in https://github.com/fasterthanlime/netherquote/issues/1, although unfortunately I don't believe that the trick of moving code out of generic functions is applicable, given that combinators are generic over the parsers that compose them. In the one case in which this was applicable, I managed to cut the LLVM IR generated by the nano_rust example down from 272701 to 252344, which is definitely a welcome saving, but not quite of the order that I was hoping for.

Disappointing, invoking parsers through dynamic dispatch also didn't seem to cut down on the generated IR. This is quite a surprising result though, so perhaps I missed something that's causing the compiler to monomorphize without realising it.

@nnethercote Do you think it's worth me opening an issue about Rust generating unnecessary vtables?

@fasterthanlime Some success you might be interested in. I swapped out the Parser trait for a substitute when doing dynamic dispatch in chumsky. This seems to have worked to some extent, tricking the compiler into generating fewer vtables. The number of LLVM lines generated for netherquote went from 322815 to 265804 when patching in my local version of the crate. I'm going to see whether I can do better than this though.

@nnethercote Do you think it's worth me opening an issue about Rust generating unnecessary vtables?

Yes! Even if it's a known issue, having another example demonstrating it would be useful.

I'm also now suspecting that Rust it doing this not just for vtables, but for all traits for which a type implementing them is even mentioned... I don't see how or why the compiler would be generating that much LLVM IR if that were not the case.

@zesterer I think this is related to https://github.com/rust-lang/rust/issues/70333

@zesterer I think this is related to rust-lang/rust#70333

This does indeed appear to be similar, although this seems to occur for generic traits too (or, at least, LLVM IR is emitted, even if the functions are omitted from the final binary).

I don't know if it can be just LLVM IR. I have a project that uses Chumsky and cargo check takes 2.5 minutes. Ok my computer is fairly old, and I'm running Windows, but even so... It's not a big parser - only 500 LOC, and actually it is only a tokeniser. But the final type is
Recovery<Or<Or<Or<Or<Or<Or<Or<Map<Map<Then<Just<char, char, {unknown}>, impl Parser<char, <char as Character>::Collection, Error = {unknown}> + Copy + Clone>, fn((char, String)) -> String, (char, String)>, TyVal(String) -> Token, String>, Map<Map<Then<Just<char, &str, {unknown}>, impl Parser<char, <char as Character>::Collection, Error = {unknown}> + Copy + Clone>, fn((&str, String)) -> String, (&str, String)>, Hex(String) -> Token, String>>, Map<Map<Then<Just<char, &str, {unknown}>, impl Parser<char, <char as Character>::Collection, Error = {unknown}> + Copy + Clone>, fn((&str, String)) -> String, (&str, String)>, Bin(String) -> Token, String>>, Map<Map<Map<Then<OrNot<Just<char, char, {unknown}>>, Map<Then<impl Parser<char, <char as Character>::Collection, Error = {unknown}> + Copy + Clone, Map<Then<Just<char, char, {unknown}>, impl Parser<char, <char as Character>::Collection, Error = {unknown}> + Copy + Clone>, fn((char, String)) -> Vec<char>, (char, String)>>, fn((String, Vec<char>)) -> Vec<char>, (String, Vec<char>)>>, fn((Option<char>, Vec<char>)) -> Vec<char>, (Option<char>, Vec<char>)>, fn(Vec<char>) -> String, Vec<char>>, Real(String) -> Token, String>>, Map<Map<Map<Then<OrNot<Just<char, char, {unknown}>>, impl Parser<char, <char as Character>::Collection, Error = {unknown}> + Copy + Clone>, fn((Option<char>, String)) -> Vec<char>, (Option<char>, String)>, fn(Vec<char>) -> String, Vec<char>>, Num(String) -> Token, String>>, {unknown}>, Map<impl Parser<{unknown}, <{unknown} as Character>::Collection, Error = {unknown}> + Copy + Clone, impl Fn(String) -> Token, String>>, Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<To<Just<char, &str, {unknown}>, &str, Token>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, &str, {unknown}>, &str, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>, To<Just<char, char, {unknown}>, char, Token>>>, SkipThenRetryUntil<{unknown}, 0>>

I'm not that surprised the cargo check takes so long. I wonder if it would be possibly to manually type erase things at strategic points to keep the types a sane size. I think that's what they were planning to do in the Xylem GUI project - in theory they would make the entire GUI one big static type, just like this. But IIRC to keep compile times sane they were planning to let you break your GUI up into a small number of View types that are dynamically dispatched instead of statically.
(I don't really know what I'm talking about so I may be way off here.)
And yes I need to sort out that crazy .or() chain, but it wasn't obvious when I was writing the code that it would cause this issue...

I wonder if it would be possible to manually type erase things at strategic points to keep the types a sane size.

The Parser trait has a .boxed() method that lets you erase the type of parser and use dynamic dispatch, and you can manually intersperse it throughout your code where you like :)

And yes I need to sort out that crazy .or() chain...

A long .or() chain like this...
a()
    .or(b())
    .or(c())
    .or(/* ... */)

can instead be written with choice() like so:
choice((
    a(),
    b(),
    c(),
    // ...
))

Combining these two methods should help you reduce compile times.

Aha you're way ahead of me! Using choice brought the cargo check time down to just a couple of seconds. I did get confused for a while because I didn't know it only works with up to 26 options, and the error message you get is not very clear.
Both of these issues are pretty well documented but I wonder if there's a way to make these clearer for people who don't exhaustively read documentation though (i.e. everyone)... Though tbh I can't think of any really good ones.

There is a section in the guide about this. When the guide is ready it'll be very clearly linked from the README, so hopefully more people will happen upon it.


Enquire.js and Fullpage.js not playing nice

I am trying to get Enquire.js to work with fullpage.js.
I am animating some elements on afterLoad, and would like those animations to be deferent on mobile.
Here is an example og the afterLoad without Enquire:
`afterLoad: function(anchorLink, index){
    var $serviceAnimation = $('.services .is-animated')

    //Services
    if(index == 1){
        //Set easing on all
        $serviceAnimation.slice(0,8).css({animationTimingFunction: "ease-in-out"});
        //h1
        $serviceAnimation.eq(0).addClass('animated fadeIn').css({
            animationDelay: "0s",
            animationDuration: "1s"
        });
    }`

What i am aiming for with Enquire is this
afterLoad: function(anchorLink, index){
var $serviceAnimation = $('.services .is-animated')
//Services
if(index == 1){
//Set easing on all
$serviceAnimation.slice(0,8).css({animationTimingFunction: "ease-in-out"});
//h1
enquire.register("screen and (max-width: 767px)", {
match : function() {
$serviceAnimation.eq(0).addClass('animated fadeIn').css({
animationDelay: "0s",
animationDuration: "1s"
});
},
unmatch : function() {
$serviceAnimation.eq(0).addClass('animated fadeInLeft').css({
animationDelay: "0s",
animationDuration: "1s"
});
}
});
}
}
But this doesn't seem to work. it only fires the matched one never the unmatched, why? if i put in a console log or alert, both fire just fine.
Sorry for the non-code gray thing, i wont show i properly.

`afterLoad: function(anchorLink, index){
var $serviceAnimation = $('.services .is-animated');
//Services`
Try putting colon on your var statement

In an effort to clean up issues, I'm closing this. If you're still having the problem, please comment


Emblem deployment fails given terraform google provider open issue

Thanks for stopping by to let us know something could be better!
PLEASE READ: This repository is dedicated to a sample application that uses multiple Google Cloud products. We will only be able to address issues related to this application, not to underlying issues in a client library or one of the products. Please visit the Support page to reach the most relevant engineers.
Problem
setup script is failing given an issue with the google provider for terraform.
Steps to Reproduce

fork and clone repository git clone <repo_url>
set env variables PROD_PROJECT, OPS_PROJECT and STAGE_PROJECT
execute setup.sh cd emblem; sh setup.sh

Expected behavior
deployment of emblem on the three projects
Additional context
Version 4.43.0_x of the Google Provider for terraform has an open issue as mentioned here which break the deployment of emblem with following error:
Stack trace from the terraform-provider-google_v4.43.0_x5 plugin:
panic: interface conversion: interface {} is nil, not string
goroutine 44 [running]:
github.com/hashicorp/terraform-provider-google/google.GetCurrentUserEmail(0x32373f8?, {0xc000170150?, 0x322e820?})
....
Error: The terraform-provider-google-beta_v4.43.0_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
User environment:

Cloud Shell
Emblem Project Version https://github.com/GoogleCloudPlatform/emblem/pull/704

underlying hashicorp issue has been fixed


Add "more actions" item to save block individually

Subtask from https://github.com/dnadesign/silverstripe-elemental/issues/290
A/Cs

[ ] "Save" option is in more actions menu
[x] Use the existing FormBuilderLoader REST API to save turns out this isn't a relevant A/C
[ ] Apollo cache updates to update the state of the Element (ideally) or fallback to allowing the "read all blocks" query to re-run and reload all blocks
[ ] Blocks can still be saved after they've been edited and then collapsed.

Ok I've made a start on this. Here's what I've implemented so far:

Form schema data for the frontend to construct a backend XHR request
A bit of JS to serialise the element's form fields
A backend controller method to save the data and return a response

Todo:

CSRF protection
Make the client do something after the save has been performed (update apollo store?)
Probably move all of the "more actions" items into their own components, as well as the menu itself. There's too much logic now for them to still belong to the Header component
Don't render the save button on the frontend if the user doesn't have canEdit permission (@NightJar, did you do something similar for rendering the form itself?) (Do we still show it but make it disabled? halp @clarkepaul)
Don't render the save button until the inline edit form has been loaded (again, do we still show it but have it disabled?) Firing a save request before the form is available won't do anything since there won't be any form to get data from and the controller will ignore it.
Automated testing etc.
If anyone tests this you'll quickly notice that each of the Title fields is inheriting some of the page's Title field javascript e.g. you get an "Update URL" button added to the end of the title field when you change it - we'll need to add some kind of namespacing to the fields (also noted in #367 for saving all element data in the page)

WIP branch: https://github.com/creative-commoners/silverstripe-elemental/tree/pulls/4.0/li-save-ne based on @NightJar's WIP inline edit form PR)
This also introduces a dependency on asset-admin since we need to use the Backend.js library. This should really live in admin, but..
Would be cool to get some feedback on the approach @NightJar @ScopeyNZ @raissanorth

@robbieaverill if you don't have edit permissions you shouldn't see the forms in an editable state, and therefor don't need to see the save button (as far as I'm aware), is there any need for a cross state where fields are in an editable state but can't save?

Looks good from my quick glance over the code.

Turns out this isn't a valid A/C - there's nothing in FormBuilderLoader for saving, it's all custom code.

Okay - I must've lost track when looking through asset-admin for example implementation.

@clarkepaul is there any need for a cross state where fields are in an editable state but can't save?

No I don't think so

I'm guessing the saving the inline form should return the user back to the summary preview when the save was successful cc @clarkepaul

I'm guessing the saving the inline form should return the user back to the summary preview when the save was successful

No, the block should remain open. Its often that people will edit content and save several times before moving on.

Cool, thank you!

We create another issue for optimistic enhancement


Guide to implement own authentication system.

If I don't want to use Netlify's Identity(as I am not hosting the website on Netlify) or Github/GitLab's oAuth, and I want to implement a simple Auth system for Netlify CMS just to authorize content editors, how to do that?
Please suggest any alternatives to achieve this. Thanks.

Hi @sumanthyedoti, please see https://www.netlifycms.org/docs/external-oauth-clients/ and the Pulumi blog post here https://www.netlifycms.org/docs/examples/
Closing as I believe we have sufficient content in our docs. Please comment if those examples do not solve your use case.

I don't think there is enough information to achieve simple certification,

Hi @sumanthyedoti, please see https://www.netlifycms.org/docs/external-oauth-clients/ and the Pulumi blog post here https://www.netlifycms.org/docs/examples/
Closing as I believe we have sufficient content in our docs. Please comment if those examples do not solve your use case.

 I don't need GitHub, and I have my own server. I just want to edit my static website through a simple password. It hurts me to see your information

I don't know how many problems should be caused by identity authentication. Obviously, your identity authentication design is rubbish

Hi @mmm8955405, I've hidden your comments as they don't follow our code of conduct.
I recommend opening a new issue to outline the problem you're experiencing.


How to upload multipart form data with nested dictionary as parameters

Found the solution by converting the JSON dictionary to Data and appending that to multipartFormData.


'mongo-object' isn't automatically installed with simpl-schema

Yesterday I've installed simpl-schema and got error:
cannot find 'mongo-object'
Took my some time then I noticed it is a dependancy for the package so I installed it and now it works properly.

It is listed in the dependencies. Maybe there was an error when it tried to install it.


[2.2-backport]Update machine v0.15.0-rancher8-1

Support ap-east-1 and us-gov-east-1
https://github.com/rancher/rancher/issues/20474

LGTM


RESOLVED ISSUE #21

Hi @Sayak-Bhunia
I have added the flowchart and updated readme file for better understanding.

Thank You

@Sayak-Bhunia issue number?

@Sayak-Bhunia issue number?

#21 it's written on the title itself.


eosio::asset::print does not support negative amounts

Trying to print an asset with a negative amount will result in garbage characters in the string after the decimal point.

Resolved by PR #233

When printing negative assets it displays a positive number.

The current behavior I'm seeing (on 1.6.2) is this code produces the following output. Seems like whole negative numbers are handled correctly but fractional numbers are not.
#include <eosio/eosio.hpp>
#include <eosio/asset.hpp>
#include <eosio/symbol.hpp>
#include <eosio/print.hpp>

using namespace eosio;

class assettest : public contract {
    public:
        using contract::contract;

        [[eosio::action]]
        void test() {
            std::string sym = "SYS";
            eosio::asset a(-40000, eosio::symbol("SYS", 4));
            eosio::asset b(-4000, eosio::symbol("SYS", 4));
            eosio::asset c(-400, eosio::symbol("SYS", 4));
            eosio::asset d(-40, eosio::symbol("SYS", 4));
            eosio::asset e(-4, eosio::symbol("SYS", 4));
            print(a);
            print(" ");
            print(b);
            print(" ");
            print(c);
            print(" ");
            print(d);
            print(" ");
            print(e);
            print(" ");
        }
};

-4.0000 SYS 0.4000 SYS 0.0400 SYS 0.0040 SYS 0.0004

Fixed in #557


Support localStorage and CORS?

I am trying to use apps based on remotestorage (such as http://myfavoritedrinks.5apps.com/), but something in the authentication process fails. I suspect that either CORS requests or localStorage is blocked/unsupported by WebApps. The same apps work fine in the Android stock browser.
It'd be nice if WebApps provided a way to view console logs so I can debug this problem. For example, the stock browser sends everything from console.log to logcat.

Thanks for logging the issue. Which version of the app are you using? I recently enabled DOM storage (v2+) in WebApps (the version on Google Play).

I see, I am using the version from FDroid. Will report back when the new version is available there.
On 8 September 2015 16:19:13 CEST, Toby Kurien<EMAIL_ADDRESS>wrote:

Thanks for logging the issue. Which version of the app are you using? I
recently enabled DOM storage (v2+) in WebApps (the version on Google
Play).

Reply to this email directly or view it on GitHub:
https://github.com/tobykurien/WebApps/issues/27#issuecomment-138575262

--
Sent from my phone. Please excuse my brevity.

Unfortunately I'm having trouble getting the update into FDroid (see #20). So it might be a while (if at all).

Closing, please re-open if still an issue.


feat(electric): Initial sync from PG

Closes VAX-669.
This PR implements a "full initial sync" that sends the migration history as well as all data from electrified tables to a fresh client in one go. Subsequent improvements are coming up as defined by VAX-732, VAX-733, and VAX-734.
Note that the commits authored by Ilia in this PR overlap with the changes made in https://github.com/electric-sql/electric/pull/205. Once that PR is merged, I will rebase mine on top.

I'd love a rebase on #208 (which is the latest PR into my "remove vaxine" branch), as e2e tests pass there. You can then add at least one e2e test covering this functionality with actual NodeJS Satellite client


python3Packages.cmd2: 0.9.14 -> 0.9.15

API changes quite a bit:
https://github.com/python-cmd2/cmd2/blob/0.9.15/CHANGELOG.md

Motivation for this change
Things done

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

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

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

Notify maintainers
cc @

Tested locally, and even if there are some API changes, it does not break nixpkgs in any way. It is fine for me.
Merged.
Thanks.


New package: ITKIOWrapper v1.0.0

Registering package: ITKIOWrapper
Repository: https://github.com/JuliaHealth/ITKIOWrapper.jl
Created by: @jakubMitura14
Version: v1.0.0
Commit: f590f439f0cef80a7feeec66713f57defbbfd2a9
Reviewed by: @jakubMitura14
Reference: https://github.com/JuliaHealth/ITKIOWrapper.jl/commit/f590f439f0cef80a7feeec66713f57defbbfd2a9#commitcomment-146231612

Closing in favor of https://github.com/JuliaRegistries/General/pull/114712
It would be great if you could solve the issues flagged by the bot before retrying the registration, though


h() consumes functions-as-children if not wrapped in array

http://requirebin.com/?gist=2173039ac453c9f0225a47f53bc26041

h("li", {}, () => "c"),
h("li", {}, [() => "c"]),

the second one "sort-of" work because of the nature of JS in which the function passed as the first element of that array happens to be an object (all functions are objects), but as a general rule, we want snabbdom to be less forgiving about what you pass as part of the vnode in favor of letting other higher order layers to take care of that normalization process.
Remember that you can implement your own h function that does all sort of normalization to produce valid vnodes.

Yes, and actually I currently handle this bug in snabbdom-helpwrs (by
arrayifying it)
On Nov 28, 2017 2:01 PM, "Caridy Patiño"<EMAIL_ADDRESS>wrote:

h("li", {}, () => "c"),
h("li", {}, [() => "c"]),
the second one "sort-of" work because of the nature of JS in which the
function passed as the first element of that array happens to be an object
(all functions are objects), but as a general rule, we want snabbdom to be
less forgiving about what you pass as part of the vnode in favor of letting
other higher order layers to take care of that normalization process.
Remember that you can implement your own h function that does all sort of
normalization to produce valid vnodes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snabbdom/snabbdom/issues/344#issuecomment-347678089,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUb2dNQNIrvJOZc2Zv9H5L45Tj7aUUVks5s7IKzgaJpZM4Qqoro
.


Fix for 'no such file'

Used version variable in the url and install paths for stable

LGTM

LGTM, I'll send an update to deduplicate, and update 1.2.2