Microsoft HoloLens

At Build 2017 there was a demo showing the app using a MR device. However I can't get it working since the latest available release build for the HoloLens is 14393 while this project needs 16299.

this repo is not maintained at all it is sadly a total failure by Microsoft


Add support of the command ZDIFF and ZDIFFSTORE

Refer to https://redis.io/commands/zdiff/

Hi, is this issue available? if so, shall I try on this?

Sure! Assigned.

Close via #2021


Fix: pgrx cannot find function after numeric change interface

Change logs
After CBDB public part of numeric defines, then numeric_is_nan/numeric_is_inf have been replace with macro NUMERIC_IS_NAN/NUMERIC_IS_INF.
But some of extension may not write by c/c++, then it can't direct call the macro NUMERIC_IS_NAN/NUMERIC_IS_INF. So current change add these function back.
Why are the changes needed?
nope
Does this PR introduce any user-facing change?
nope
How was this patch tested?
nope
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[ ] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution(One-time setup).
[ ] Learn the coding contribution guide, including our code conventions, workflow and more.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[ ] Add tests for the change
[ ] Pass make installcheck
[ ] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to request cloudberrydb/dev team for review and approval when your PR is ready🥳

@my-ship-it  merge please


Restructure API docs to use better type signatures

I was having a great deal of trouble understanding the API, so I've attempted to make the type signatures much clearer in the docs. I may have got some things wrong though. I originally stuck to the Haskell-esque syntax for the type signatures, but opted to switch to TypeScript syntax because it allows you to annotate the function parameters. I hope this helps!
Rendered

We are now moving to Flow code annotations, so it would make much more sense to use those for docs too instead of TypeScript
See #187

In general LGTM, TS-->Flow annotations should be a quick fix

Oh cool, that is most excellent. Can you gnerate docs from Flow, like with typescript?

I'll amend with the Flow syntax, but it would be even better if they were auto-generated.

I don't think there was any intention to auto-generate docs from Flow. It does not really have any context similar to what JSDoc does (via comments).

Ah, that's a shame. You can get very nice dos with little effort using generators like TypeDoc, automatically generating hotlinked type signatures.

Wasn't much of a change to use flow-style annotations. Just meant I could use ?React.Component as opposed ti (React.Component | void)

:+1: LGTM, @chenglou there are some noticeable text changes, do they capture everything right?

Any updates on this?

(Sorry catching up to like, everything... Will check more closely tonight)

We're using Flow's type syntax. Also this is getting hard to read:

The vague type annotations, where it's the case, are mostly intentional. I've debated long for/against this but ultimately went with a general type + a concise description. Formalizing things like this makes everything much more rigorous but actually decreases readability imo...

Hey @bjz, this is really late, but hope you like the new docs! =)
Proper Flow type signature, with an exposed public types file.
Sorry that this took so long. To be fair, Flow wasn't (and is still a bit buggy sometimes) ready back then either. This PR has diverged too much so I'll close it. But thanks a lot for the initiative!

No worries - it looks great now!


#986 - Added context menu to the bots list on the welcome page

#986
Added a context menu to the bots list on the welcome page as per comps.

Pull Request Test Coverage Report for Build 958

16 of 26 (61.54%)  changed or added relevant lines in 3 files are covered.
101 unchanged lines in 23 files lost coverage.
Overall coverage decreased (-1.3%) to 49.985%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/app/main/src/utils/showOpenDialog.ts
1
2
50.0%

packages/app/client/src/data/sagas/welcomePageSagas.ts
13
22
59.09%

Files with Coverage Reduction
New Missed Lines
%

packages/app/main/src/settingsData/reducers/azureAuthReducer.ts
1
75.0%

packages/app/client/src/data/action/clientAwareSettingsActions.ts
1
50.0%

packages/app/client/src/data/action/dialogActions.ts
1
0.0%

packages/app/main/src/settingsData/actions/azureAuthActions.ts
1
75.0%

packages/app/client/src/data/action/notificationActions.ts
1
75.0%

packages/app/client/src/data/reducer/azureAuthReducer.ts
1
66.67%

packages/app/client/src/data/reducer/clientAwareSettingsReducer.ts
1
66.67%

packages/app/main/src/migrator.ts
1
26.32%

packages/app/shared/src/types/notificationTypes.ts
2
66.67%

packages/app/client/src/data/action/presentationActions.ts
2
0.0%

Totals

Change from base Build 954:
-1.3%

Covered Lines:
3755

Relevant Lines:
6729

💛  - Coveralls


WARNING: request with non matching host and origin

this is the error i am getting... any ideas?
WARNING: request with non matching host and origin <IP_ADDRESS> != vrch.ai, returning 403

Can you show me a screenshot of the nodes you used with this warning info?

well, now i'm just using the workflow that came with the node and get this error.

so it's happening when i click on open web viewer and then the confirm button...

maybe it's a browser issue.

there's just no image being transferred to the viewer.


[BEAM-11587] Generate PColl element from TableSchema

Retrieve a tableschema from BQ at construction time, convert it into a PCollection element.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run PythonLint PreCommit

R: @TheNeuralBit
Hi Brian,
As we discussed, on testing this function, we'll need OAuth since we are reading from a BQ table, and thus it might make more sense to write an integration test for this. Currently to unit test this, we can

Write a mock schema and test the code after that (skipping getting the schema from a BQ table). We could ensure usertypes.__annotations is giving us what we expect it to.

I can write the other function (WritetoBQ) in this PR, and use it to help with the unit testing.

Let me know your thoughts, I think 1) might be a good option for the unit test purpose.

@TheNeuralBit thanks for the suggestions, I've incorporated them in creating unit testing, new files for these tools, and accounting for Nullable and Repeated fields. PTAL

thanks @TheNeuralBit ! Have added the two relevant files with the suggested changes.

What is the next step on this PR?

adding the integration tests and pipeline modification logic, should be in by early next week.

Integration tests added, @TheNeuralBit PTAL.

Run PythonDocs Precommit

Run Python PreCommit

Run PythonDocs PreCommit

Run PythonDocs PreCommit

Run Python PreCommit

Run Python_PVR_Flink PreCommit

Run Python PreCommit

Run Python PreCommit

Based on our offline conversation today, some next steps after this PR:

[ ] Add support for read_gbq which calls ReadFromBigquery with schema support, and passes that to to_dataframe
[ ] Add an E2E example in apache_beam.examples.dataframe that uses read_gbq
[ ] Add write to BigQuery side and to_gbq

Run Python PreCommit

Run Python Precommit

Run Python PostCommit

Run Python 3.7 PostCommit

@TheNeuralBit ready for another pass, PTAL.

 I was able to address your comments, but needed to separate out how the "Export" case and "DirectRead" are handled when "BEAM_ROWS" is specified, due to the way the other IT tests are structured, as well as the implementations of "Export" and "DirectRead".


API Docs

Codecov Report

Merging #19 into main will increase coverage by 1.51%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   50.37%   51.89%   +1.51%
==========================================
  Files          17       17
  Lines        1062     1031      -31
==========================================
  Hits          535      535
+ Misses        449      418      -31
  Partials       78       78

Impacted Files
Coverage Δ

server/models/keyword.go
12.50% <0.00%> (+1.97%)
:arrow_up:

server/models/module.go
46.87% <0.00%> (+5.89%)
:arrow_up:

server/models/user.go
42.70% <0.00%> (+2.51%)
:arrow_up:

server/service.go
52.36% <0.00%> (-0.14%)
:arrow_down:

server/util.go
68.42% <100.00%> (ø)


Bump up the Kepler version to 0.7.11

Once the new version of Kepler is released it will be best to bump up the version so that operator also make's use of it

closing as #409 got merged


Question about ue4-docker version and build parameters

Hello, I just found out this great project, but I noticed that it doesn't specify which version of the ue4-docker Python package it is using, neither what configuration was used to generate the image adamrehn/ue4-engine:4.22.0 that you are using in your Dockerfile.
I would guest that this is the ue4-engine only image (https://adamrehn.com/docs/ue4-docker/building-images/available-container-images#ue4-engine) build with CUDA instead of OpenGL (I noticed that  the nvidia runtime is specified in the dockerfile), is this correct?
And if using CUDA, what was the version used?
Sorry for all the questions, and thank you for this great work.

Hi Felipe -- these are great questions and should have been outlined in the build prerequisites.  I built the adamrehn/ue4-engine:4.22.0 image using ue4-docker version 0.0.34.  I believe that I used CUDA version 9.2, and so the build command would have looked something like this:
ue4-docker build --cuda=9.2 --pull-prerequisites --no-minimal --no-full --exclude=debug --exclude=templates 4.22.0

I'm actually not positive that this is the command line I used, but I'm rebuilding the images to confirm.  I'll add some additional detail to the README to cover this -- thanks a bunch for letting me know that I overlooked this.  And please reopen if you run into any other details that I've omitted.

Thanks =D


feat: adds client side query type codegen

Summary
Adds client side typescript codgen for queries!

@gabrielcsapo looks like type checking is failing


Link to live site returns 404

https://dart-lang.github.io/dump-info-visualizer/ is Page not found.

On it...something weird with GitHub pages

Fixed with f8d62163aebec3a850032a164c6f8797f133ae30


Change reda 4

🛠 Fixes Issue (Number)

👨💻 Changes proposed and Brief Description

✅ Check List (Check all the applicable boxes)

[ ] My code doesn't break any part of the project
[ ] This PR does not contain plagiarized content.
[ ] My Addition/Changes works properly and matches the overall repo pattern.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

opened on the main repo by mistake, sorry!


兄弟  你这下载过程中切换网络或者关闭网络，就卡住了，那几个回调方法都不会走，没法使用，能不能解决一下

Before Issue

Please search on the Issues
Please search on the wiki
Please set FileDownloadLog.NEED_LOG=true and review the Logcat output from main process and :filedownloader process ( pay attention to Warn and Error level logcat)

Issue

What problem do you get?
Which version of FileDownloader are you using when you produce such problem?
How to reproduce such problem?
Do you set FileDownloadLog.NEED_LOG=true?
Could you please reproduce this problem and provide all main process and :filedownloader process logcat
Can you fix it by yourself and request PR, if not, what's problem do you get when you try to fix it

P.S. If you don't know how to get :filedownloader process, it's recommended to using pidcat to just filter all your application logcat, or define process.non-separate=true on filedownloader.properties

请在Issue前认真的跟进上面提到的建议，这样将可以极大的加快你遇到问题的处理。

请提供 FileDownloader 日志，这样没法分析问题。


Add section for owner model. Minor linting fixes

Also, some minor markdownlint fixes included.

@dionysiosarvanitis thank you for the contribution!


AssertionError when @belongsTo is not on a @model type.

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14.17.0
Amplify CLI Version
8.2.0
What operating system are you using?
Windows
Amplify Codegen Command
codegen models
Describe the bug
If you make an error in the type of the field referenced by a @belongsTo, it raise an assertion error without indication of the source of error.
Expected behavior
A nice error.
Reproduction steps

Create a new projet
Add provided example schema
Execute amplify codegen models

GraphQL schema(s)

input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY!

type User @model {
  id: ID!
  groupId: Int @index(name: "userByGroup")
  group: String @belongsTo(fields: ["groupId"])
}

type Group @model {
  id: ID!
  users: User @hasMany(indexName: "userByGroup")
}

Log output

AssertionError [ERR_ASSERTION]: undefined == true
Cannot read property 'fields' of undefined
TypeError: Cannot read property 'fields' of undefined
    at Object.flattenFieldDirectives (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\utils\process-connections.js:19:11)
    at Object.getBelongsToConnectedField (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\utils\process-belongs-to.js:37:53)
    at Object.getConnectedFieldV2 (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\utils\process-connections-v2.js:15:60)
    at Object.processBelongsToConnection (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\utils\process-belongs-to.js:8:53)
    at Object.processConnectionsV2 (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\utils\process-connections-v2.js:97:45)
    at C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-visitor.js:488:65
    at Array.forEach (<anonymous>)
    at C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-visitor.js:487:26
    at Array.forEach (<anonymous>)
    at AppSyncModelJavascriptVisitor.processConnectionDirectivesV2 (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-visitor.js:486:38)
    at AppSyncModelJavascriptVisitor.processDirectives (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-visitor.js:119:18)
    at AppSyncModelJavascriptVisitor.generate (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-javascript-visitor.js:14:14)
    at Object.<anonymous> (C:\snapshot\repo\build\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\plugin.js:51:24)
    at Object.executePlugin (C:\snapshot\repo\build\node_modules\@graphql-codegen\core\dist\commonjs\execute-plugin.js:32:41)
    at C:\snapshot\repo\build\node_modules\@graphql-codegen\core\dist\commonjs\codegen.js:58:47
    at Array.map (<anonymous>)
    at Object.codegen (C:\snapshot\repo\build\node_modules\@graphql-codegen\core\dist\commonjs\codegen.js:48:49)
    at C:\snapshot\repo\build\node_modules\amplify-codegen\src\commands\models.js:133:23
    at Array.map (<anonymous>)
    at Object.generateModels (C:\snapshot\repo\build\node_modules\amplify-codegen\src\commands\models.js:132:46)
    at async Object.run (C:\snapshot\repo\build\node_modules\amplify-codegen\commands\codegen\models.js:9:7)
    at async Object.executeAmplifyCommand (C:\snapshot\repo\build\node_modules\amplify-codegen\src\amplify-plugin-index.js:9:3)
    at async executePluginModuleCommand (C:\snapshot\repo\build\node_modules\@aws-amplify\cli-internal\lib\execution-manager.js:142:5)
    at async executeCommand (C:\snapshot\repo\build\node_modules\@aws-amplify\cli-internal\lib\execution-manager.js:40:9)
    at async Object.run (C:\snapshot\repo\build\node_modules\@aws-amplify\cli-internal\lib\index.js:163:9)

Additional information
No response

Confirming that at some point this was updated to provide a friendlier error message. Resolving


Disallow reentrant updates

As an experiment, GlueKit's signal implementation currently provides support for reentrant sends; e.g., you are free to change the value of a variable from one of the subscribers to it:
let foo = Variable<Int>(4)
let c = foo.values.connect { v in
    // If v is even, set it to a nearby odd value.
    if v & 1 == 0 {
        foo.value = v + 1
    }
}
print(foo.value)      // => 5
foo.value = 6
print(foo.value)      // => 7
c.disconnect()

Values that are sent while a signal is already sending values are queued up and sent asynchronously. Implementing this has been fun, but I wonder if it is worth the additional complexity.
Background
For reference, no reactive framework I know supports reentrant sends; they all deadlock on the first nested send invocation. However, KVO does support updating a property from one of its observers. When the property's value changes during one of KVO's signaling loops,

KVO performs a new, nested, synchronous signaling loop notifying all observers of the change immediately. The observer that was responsible for the nested change receives a nested observeValue(forKeyPath:,…) call.
Once the nested loop finishes, it completes the original signaling loop. However, it doesn't send the original notification payload, because that describes an outdated change — it updates the notification to match the latest value of the property.

KVO can do this because its signaling subsystem is written specifically for the purpose of sending change notifications, so it can update the notification payload as it is being sent, by merging interim changes into the original update.
GlueKit's Signal is a general signaling mechanism where in-flight values cannot be modified. So the only reasonable way to implement nested sends is to send their values asynchronously, after the currently running signaling loop completes. This means that the values that are received by observers are different in the two systems:
https://github.com/lorentey/GlueKit/blob/a0ed7f17fe0c05380270554c4ef79151f4cb473e/Tests/KVOSupportTests.swift#L217-L284
GlueKit's Signal is more consistent in the sense that everyone receives the same values, in the order they were sent. But KVO's implementation makes a little more sense in the context of change notifications — the value that observers see always matches what's in their notification payload.
Why is it a pain to support nested sends
The possibility that sending a value to an observer may trigger a nested send immensely complicates matters in a variety of common scenarios. For instance, sending a "welcome" value to new observers, like ObservableValueType.values does, becomes horribly complicated:
https://github.com/lorentey/GlueKit/blob/a0ed7f17fe0c05380270554c4ef79151f4cb473e/Sources/ObservableValue.swift#L62-L82
(The code is so complicated because it needs to handle the case where sink.receive(value) changes the value; for consistency, we want the sink to receive updates about its own changes, too. Also, connecting the sink to the source may send values to it by side effect (like values does), and those values need to be ordered consistently, too.)
I expect such nested sends will occur extremely rarely (if at all) in normal use-cases, but writing code to support them is unreasonably hard, and comes at a (probably) measurable cost of performance at runtime.
Furthermore, it is very easy to forget nested sends might occur; I'm sure the code already has instances where a nested send may lead to an inconsistent sequence of notifications.
How to remove support for reentrant sends
Signal can be easily simplified to remove support for nested sends; that's not a problem. Ideally a nested send would cause a trap, but deadlocking is fine, too, and is probably much easier to implement.
Other code that can be simplified can be found by a review of the codebase. (It's OK if we miss a couple.)
We need to consider whether KVO's support for reentrancy causes problems for the adapter code in KVO Support.swift. At first glance it doesn't, because recursive observeValue(forKeyPath:…) calls only happen for the actual observers that cause nested updates; other observers only get called strictly sequentially. (The fact that other reactive frameworks had no real issues with their own KVO adapters indicate this is correct.)
What about two-way bindings?
GlueKit includes rudimentary support for binding two updatables of the same Equatable type together.
https://github.com/lorentey/GlueKit/blob/a0ed7f17fe0c05380270554c4ef79151f4cb473e/Sources/UpdatableValue.swift#L151-L171
This feature has seen very limited use in production, and it is as yet unclear if the concept is robust enough. It has not even been updated yet for transactional changes. But supposing it is updated, removing support for nested sends does not cause problems at first glance — the equality check is there to prevent an infinite update loop, and it also does a good job of preventing even a single reentrant update. (Corner cases need to be dealt with, though. In the absence of nested updates, I don't think a Behavior's current value can ever differ from the one described in one its update Events, but I may be wrong.)

A draft implementation is on the nonreentrant-signals branch. It improves Signal's send performance by about 25%.
However, the test failure below makes me a little worried. Bracketing sources like values become a lot simpler to implement without reentrancy, but they do still allow reentrant updates during the welcome/goodbye message, leading to bogus results. I'd expect the values source to catch the reentrancy and trap, not just ignore it while skipping the resulting updates:


Fix hot module replacement

resolves #387

@bitboxer please come back. See I fixed it 🙇

I am now working on recover but will happily switch back to airy if you can make your boss pay me 😉 .

i always expected you to come back one day, but this was kind of fast. 😉
On Thu, Apr 8, 2021 at 19:57 Bodo Tasche @.***> wrote:

I am now working on recover https://www.recoverapp.de/ but will happily
switch back to airy if you can make your boss pay me 😉 .
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/airyhq/airy/pull/1480#issuecomment-816023926, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFAL2LV64FTOLFL2RRU3VDTHXVCBANCNFSM42RCSERQ
.


DoneJS 2.0 Migration Guide

Create a migration guide similar to the 1.0 one that mostly points to the CanJS 4.0 migration guide.

Closed by #1081


provide better application overview before describing applications

"Before the start of every example in the documentation where we learn to build the applications, a simple ER or pipeline diagram showing the different components and what they process in the pipeline will help to correlate with the code that comes after it in a larger picture.In the current state of the document, we first build the functions and then see how they structure together in application_setup()."

I tried to do a pipeline diagram in the example README files, but it wasn't sure how to best illustrate the fact that both data AND computation are sent to the state. We could revisit this and try to decide on a good visual representation to use.


Hi，a question about nms_thresh in post_processing

i found that the nms_thresh in SECOND is 0.01 and in other approches like pv-rcnn is 0.1.
i wonder why the configuration is different in different approaches. Is there a reason？
if i want to submit results to official servers，is there a performance gap between the two thresholds？

Generally it doesn't matter much for the performance of the validation set. For the test submission I think it will also not matter much.


[TreeView] Dynamic calculation right margin for very much nesting and possible draw line for better see in which folder are you.

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

Expected Behavior 🤔

Dinamic calculation right margin for very much nesting.
Posible draw line for bettery see in which folder are you.

Current Behavior 😯

there is no such behavior now
Examples 🌈

Example: first sub-element have right margin 5px. third sub-element have 3px;
Maybe it is will be property of component for function which accept level nesting and return number px margin.

| first folder
|    | second folder
|    |  | third folder
|    |  || fourth folder

Context 🔦

When we work with such a tree, we have a large tree and it is difficult to display well and these solutions helped us with the image of the tree.

I'm working on a customization demo:

Would it help?

I'm working on a customization demo:

Would it help?

Yes, it helps with the second opportunity, but what do you think about the first opportunity?

The spacing we have looks good. You should be able to achieve your example.

I showed you don't correct example. in fact we have trees are nesting in ten and more folder in depth. in the probleme ours helps horizontal scroll or calculation right margin.
If see on your example with 3-4 folder in depth than it is looks good realy


Unable to negotiate FFDHE (TLS_DHE_RSA_) cipher suites when TLS supported Groups extensions is present but contains no ffdhe code points.

When using BC code in a TlsServer if the client presents only TLS_DHE cipher suites as possible candidates  along with a "support_groups" extension in the "Client Hello" message which does not contain any ffdhe* groups (codepoints between 256 and 511, inclusive) then none of the TLS_DHE_* cipher suites can be selected.
Whilst according to rfc7919:-

If at least one FFDHE cipher suite is present in the client cipher suite list and the Supported Groups extension is either absent from the ClientHello entirely or contains no FFDHE groups (i.e., no codepoints between 256 and 511, inclusive), then the server knows that the client is not compatible with this document.  In this scenario, a server MAY select a non-FFDHE cipher suite, or it MAY select an FFDHE cipher suite and offer an FFDHE group of its choice to the client as part of a traditional ServerKeyExchange.

this can be considered correct behavior it does introduce a number of incompatibilities. Usually if the support_groups extension is present then it is likely (but not a requirement) that the TLS_ECDHE_* cipher suites are present and will be selected above the TLS_DHE_* and a suite will negotiated. However if none of these ciphers are present then TLS_DHE will not be considered.
Is there a possibility that the BC code can be modified so that if the  support_groups contain no ffdhe* codepoints then the server can offer a FFDHE group of its choice as per RFC option? The code in question looks to be in AbstractTlsServer::getSelectedCipher Suite() . This could be a configuration system parameter.

hi, i think i am running into this exact issue on tickets.fujifilmusa.com..... i see this ticket is open and old...will anything be done about it?  is there any other way to address this issue?
thanks


WP Fastest Cache configuration

You have conflicting settings in the configuration to support WPFC.
Wrong use of Vary header may lead to cache issues especially if CDN is in play.
Please read this post here to understand what I'm talking about:
https://www.fastly.com/blog/best-practices-using-vary-header

Hello,
Thanks for creating this issue.
At https://github.com/pothi/wordpress-nginx/blob/master/globals/wpfc.conf#L28 (written 4 years ago), I have mentioned add_header "Vary" "Cookie"; as an optional setting by commenting it out. But, as things change and as more and more sites use it for requests that shouldn't be cached, I found it to okay and important to enable it by default.
My example configuration/s wouldn't fit every use-case. They are published here as a starting point for anyone to tweak further for their specific scenario. At least, I tweak them before deploying it to every site. For example, if someone uses Cloudflare, Varnish or Fastly, they are likely to include the line set_real_ip_from and real_ip_header. Actually, I am thinking of including Cloudflare support by default, as more and more sites start to use Cloudflare. Also, including Cloudflare support doesn't create any issue for sites that don't use Cloudflare. But, when someone wants to use Fastly, they may have to disable Cloudflare support as both conflict with each other.
Please put forth your further thoughts, if any. I am glad to modify configuration/s to fit more and more users.
Thanks again,
Pothi.


Italic font assets are ignored

I added a "normal" font and an italic version in the pubspec.yaml:
flutter:
  uses-material-design: true
  fonts:
  - family: Tuff
    fonts:
    - asset: fonts/StoneTypeFoundry-Tuff-Normal.otf
    - asset: fonts/StoneTypeFoundry-Tuff-Italic.otf
      style: italic

Then I used this simple code to show some text:
      Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          Text(
            'The quick brown fox jumps over the lazy dog',
            style: TextStyle(
              fontFamily: 'Tuff',
              fontSize: 24,
            ),
          ),
          Text(
            'The quick brown fox jumps over the lazy dog',
            style: TextStyle(
              fontFamily: 'Tuff',
              fontSize: 24,
              fontStyle: FontStyle.italic,
            ),
          ),
        ],
      ),

And the result is:

The second line isn't using the italic font that I added. It seems that the characters are created by slanting the regular ones.
If I remove the regular font from the pubspec.yaml the result is:

Now both lines are using the italic font.
(Notice the milder angle and how the lowercase 'a' is different)
flutter doctor -v
[√] Flutter (Channel unknown, v1.2.0, on Microsoft Windows [Version 10.0.17134.648], locale pt-BR)
    • Flutter version 1.2.0 at C:\Projects\flutter
    • Framework revision 06b979c4d5 (8 weeks ago), 2019-01-25 14:27:35 -0500
    • Engine revision 36acd02c94
    • Dart version 2.1.1 (build 2.1.1-dev.3.2 f4afaee422)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9 (API 28) (emulator)

• No issues found!

It seems we are using the fakeitalic even with a true italic to use.
This is possibly in the font fallback logic. We may be too greedy with the fake italics.

cc @jason-simmons

Same thing is happening for weight field, too.

@luizgpa
Tried your code sample using Raleway font family and used Medium and Italic which results in below:

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.4 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11
      (API 30) (emulator)

• No issues found!

Can you confirm at your end if this is still happening or is it safe to close it ?

Working as intended now.


Incorrect logical operator?

I believe in this quote:
> Rank = 1, lower bound = 0. Size is known only if provided in the managed signature. Safe arrays that are not rank = 1 or lower bound = 0 cannot be marshaled as SZARRAY.
The text "Safe arrays that are not rank = 1 or lower bound = 0" should be "Safe arrays that are not rank = 1 and lower bound = 0"?

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

ID: 445f0f55-f85d-7c3a-2986-746d2317b54b
Version Independent ID: 577e2770-29d7-fb0c-e7d4-c59e9737c457
Content: Default Marshaling for Arrays
Content Source: docs/framework/interop/default-marshaling-for-arrays.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thank you for opening this issue. Yes, I think you're correct. I'll add it to the backlog. You can always submit the fix yourself by editing the original article. Click on the Content Source link at the bottom of your original comment. To learn how to edit, see the Editing files in a repository article from GitHub.
Thanks again!


Feature/aws sdk porting

I'll review asap, but could you please describe your line of reasoning for the changes in this PR? It would make it easier to follow along.

This branch has an abstraction over AttributeValue
it seems redundant and I can not find implicits generated from shapeless

Same.


Create snarky foreign field mul gadget

Closes #12869

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me


Magento 2.1 ,the checkout is not working after applying the fix

first i would thank you for this fix , I applyed the fix for a Magento 2.1.7 site  but  the checkout  is not working , the log has no reference for the fix ,they are using php7.1,

Unfortunately, I didn't test it against Magento2.1.x, because Magento2.1.x was already EOL. You should update it to 2.3 or 2.4 first.

we apply it to magento 2.3.2 and unfortunately we have the same issue .

Could you share me more details? How to reproduce? Any screen shots? JS error logs or PHP logs?

Please share me more.

How was your browser's cookie?
What browser did you use?

We use latest version for M2.3.x customers, but no one reported such case :(

The browser's cookies it test them when it was all on default mode for same-site cookie
I used the latest update for chrome browser .
And i tried it on a Magento 2.3.4 :
in this case the checkout wat working but the orders was not passed to the admin side  , and the same site cookies did not turned to none in the browser after applying the fix .
we got this php error

Does your website run full HTTPS? SameSite=None is only allowed with Secure flag.

yes it is


BFS Visualization contribution

Community Contribution
Link to live project, video, or image:

https://itsjigyasu.me/graph-search-gui
Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Instagram: https://www.instagram.com/jprak_arts/

Duplicate of 2141


Server job simplified syntax: Unexpected value 'server'

When I try using the simplified syntax for a server job I get the following error.  Is there anything special I need for it to recognize the simplified syntax?
1479178: "/azure-pipelines.yml (Line: 59, Col: 5): Unexpected value 'server'"

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

ID: 67504b34-d64b-02a4-2e10-ab99f3b8cfe4
Version Independent ID: 2cf63b2e-184b-7726-3b8a-d8baffd6fcce
Content: Jobs in Azure Pipelines, Azure DevOps Server, and TFS - Azure Pipelines
Content Source: docs/pipelines/process/phases.md
Product: devops
Technology: devops-cicd
GitHub Login: @vijayma
Microsoft Alias: vijayma

@Bryce-L  Thank you for the feedback.
Instead, please try:
jobs:
- job: string
  pool: server

The documentation is in the process of being updated.

@Bryce-L Thanks for your feedback; we appreciate it. To make sure we have all the information needed to triage your issue, please let us know which topic you’re referencing, or provide more context around the general task.


Smooth user onboading

User Story
As a user, I want to be onboarded to the system smoothly
100% frontend.
Detailed Description
How do we define a smooth onboarding, especially for a newbie trader (one of our main target audiences)?
Several things:

smooth tutorial in the beginning: teaching the basics of stock trading, potential opportunity to gamify it too
Starting money: a good amount that is enough. 50k? 100k? (This may simply be done in the backend, we decide the amount there)
Being able to return to tutorial anytime (re-do tutorial flow)

Subtasks (Please also link task PRs here)

[]
[]
[]

This will be done with #51 in tandem.
Create a question mark icon in the navbar (next to logout) that plays the tutorial flow in react-joyride.


[storage] Store enum Transaction instead of struct SignedTransaction

Motivation
We are gonna use the former everywhere. SignedTransaction used to represent all possible types of transactions but will be only the "user created" variant of it.
part of the effort around #1173
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Unit tests.
Related PRs
#1175  introduced the type

@bors-libra r+

:pushpin: Commit 5665ccf has been approved by wqfish

:hourglass: Testing commit 5665ccf148a7cc169f441ffc1289e615c4ea7646 with merge 02bccbaf2a1b521e1c99c6e791ab5edeee01c9ff...

:broken_heart: Test failed - checks-circle_commit_workflow

Thanks! IMHO we should add more tests to make sure that adding more variants to the enum will not break serialization but I guess we can do that later.

the fixups seem to have confused the build. I'm gonna need to force push, sorry.

:bulb: This pull request was already approved, no need to approve it again.

:pushpin: Commit 3d53d0e has been approved by runtian-zhou

@bors-libra retry

@bors-libra r=runtian-zhou

:bulb: This pull request was already approved, no need to approve it again.

:pushpin: Commit 3d53d0e has been approved by runtian-zhou

:bulb: This pull request was already approved, no need to approve it again.

:pushpin: Commit 3d53d0e has been approved by runtian-zhou

:lock: Merge conflict

:umbrella: The latest upstream changes (presumably 89323bf9cc762b03579be91a41eb6f45230c0e03) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r+

:pushpin: Commit e7dd624 has been approved by runtian-zhou

:hourglass: Testing commit e7dd624c91a7829011e8f950bac66a460dcd128d with merge 2aebb5affd8b446331935ff2df294d131a58385f...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: runtian-zhou
Pushing 2aebb5affd8b446331935ff2df294d131a58385f to master...


NAV-201 Decode Waypoint Data from Rockblock

Data sent to the Iridium server has to be in hex.
The rockblock then relays the received hex data as a string.
However the relayed string is the ascii translation, when in reality our google protobuf object is a byte stream stored in a string container.
This PR converts the received string back to a hex value then to a byte stream then back to a string that can be decoded by our protobuf functions.
Note: this does not include the ring alert feature

btw i'll make sure I co-author you guys


prevent changing file on disk before it reaches final destination

So does that mean that item.write() is unnecessary? Where does it get written to disk otherwise?

All metadata stored in the database during import is written to the file at the end of the import process. If it is just a metadata change or other, it will be written by the write call in the if block.

This post from beets creator says it better than I can.
here

I see. That makes sense


fix: player state not being updated to completed

Description
This is regression introduced in 1.0.0.
In 0.2.0, this logic was:
      case 'audio.onComplete':
          player.state = PlayerState.COMPLETED;
          player._completionController.add(null);

So along with the completionController stream being update, the state was set to completed.
In 1.0.0 there is no such functionality:
      case 'audio.onComplete':
        emitComplete(playerId);

Since audioplayers_platform_interface package doesn't have a reference to player.state anymore because it's now in audioplayers package, my fix consisted of simply listening to this same stream in audioplayers package and updating the state.
Checklist

[x] The title of my PR starts with a [Conventional Commit] prefix (fix:, feat:, docs:, chore: etc).
[x] I have read the [Contributor Guide] and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.

I'm not sure how to test this properly.

[x] I have updated/added relevant documentation and added dartdoc comments with ///, where necessary.
[x] I have updated/added relevant examples in [example].

Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Related Issues
Closes #1242

Thank you! I also added a getState button in upcoming MR #1238 to test this.

I realized I haven't dispose resources properly, so added one more commit.

Formatting fails in the CI, if you just run flutter format . it should be fine

Hi,  I am using
audioplayers:
git:
url: https://github.com/itsJoKr/audioplayers.git
path: packages/audioplayers
ref: f82378f476dcf5a597ef02ba1ed7294eb3a65f7d
from [itsJoKr] fix for this and I can confirm it works for Android - but does not work for iOS or Web
Is there any change the same fix can be applied to resolve these?
--- Sample ---
play()
async { await widget.audioPlayer.play(UrlSource(widget.openingAudio_game01[widget.openAudio]));}
widget.audioPlayer.play(UrlSource(widget.openingAudio_game01[widget.openAudio]));
widget.audioPlayer.onPlayerComplete.listen((event){
  print(widget.audioPlayer.state == PlayerState.playing);
  if (widget.openAudio < widget.openingAudio_game01.length)
  {       play();        widget.openAudio = widget.openAudio + 1;      }    }    );  }

@pooblej it should work with latest release also on web. I added tests for it.
Plz consider opening a separate issue, if still having problems.

@Gustl22 - I amended to use audioplayers:
git:
url: https://github.com/bluefireteam/audioplayers.git
Android continues to work, but iOS and Web don't.
Is it anything to do with UrlSource?


Potential Bug - Forecast data seems to be returning incorrect high/low

Looks like the high/low for the day is different than the projected temperature each hour. Solution is to either move to a different Weather API service or loop over the hours in the API response to manually set the high/lows.
Doing further research for different Weather APIS


New Story Reading Page for Vietnamese People "Kho Truyen"

Source name
Kho Truyen
Source link
https://khotruyen.cc/
Source language
Vietnamese "Vi"
Other details
New Story Reading Page for Vietnamese People "Kho Truyen"
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Use Madara theme

Fake Madara again...

Source name
Kho Truyen
Source link
https://khotruyen.cc/
Source language
Vietnamese "Vi"
Other details
New Story Reading Page for Vietnamese People "Kho Truyen"
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Pls update source link (linksource error)

Source link : https://khotruyen.club/


Convert the posts to a bookdown book

This is a really cool idea and I am happy to help with that since I wanted to learn it to maybe write my thesis in bookdown. It could be nice to catch up sometimes and discuss on what to do!

That is a good idea @annaquaglieri16.  Lets discuss the week after next about perhaps organising a catchup where whoever can make it (and/or zoom ) can work on the move to  bookdown   together


[nfs-provisioner] xfs_quota permissions

Hi,
The docs state:
enable-xfs-quota - If the provisioner will set xfs quotas for each volume it provisions. Requires that the directory it creates volumes in ('/export') is xfs mounted with option prjquota/pquota, **and that it has the privilege to run xfs_quota**. Default false.

What would be those permissions? I'm trying to run this on Kubernetes on GCE, using an XFS disk with the prjquota mount option, but no quota seems to be enforced when I create a PVC of a specific size. When I shell into the nfs-server-provisioner, I notice the /export/projects file which seem to have the correct information, but it's not being enforced for some reason.
When I manually try to run the command from the shell, xfs_quote gives me some weird errors:
bash-5.0# xfs_quota /export/
xfs_quota: cannot setup path for mount /export/: No such device or address
xfs_quota> print
xfs_quota>

and
bash-5.0# xfs_quota -P /export/projects
xfs_quota> print
print: foreign filesystem. Invoke xfs_quota with -f to enable.

The contents of /export/projects:
bash-5.0# cat /export/projects

1:/export/pvc-dd236182-9a04-4c5d-bc59-ffda40094afb:262144000
bash-5.0#

I tried with CAP_SYS_ADMIN on the container as well, but this seemed to have no effect.
Has anyone gotten this to work? Anything I should check or be aware of? Are there any docs available about this?

That "foreign filesystem" error is suspect. How is /export mounted into the container, like did you use a GCE PD PersistentVolume and give it mountOptions: prjquota, fsType: xfs? If you run mount in the container, what do you see, /export mounted as type xfs with prjquota?

Hi Matthew,
Thanks for responding! Yes, I created a dedicated StorageClass with exactly those features:
$ kubectl get sc standard-xfs-quota -o yaml
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"allowVolumeExpansion":true,"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{},"name":"standard-xfs-quota"},"mountOptions":["pquota","prjquota"],"parameters":{"fsType":"xfs","type":"pd-standard"},"provisioner":"kubernetes.io/gce-pd","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"}
  creationTimestamp: "2020-06-26T11:56:29Z"
  name: standard-xfs-quota
  resourceVersion: "194023116"
  selfLink: /apis/storage.k8s.io/v1/storageclasses/standard-xfs-quota
  uid: 2e50dc3a-075d-4689-8b00-6b1d632d3161
mountOptions:
- pquota
- prjquota
parameters:
  fsType: xfs
  type: pd-standard
provisioner: kubernetes.io/gce-pd
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer

I noticed afterwards that the pquota option is not actually necessary, as it's not seen in the mount itself:
bash-5.0# mount | grep sdg
/dev/sdg on /export type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,prjquota)
bash-5.0#

This is running on Kubernetes 1.16.10 using Debian 10 (Buster) node images that use the 5.4 kernel from backports. Not sure if that might matter.

Yes, prjquota and pjquota are equivalent.
The last thing I would try is to run the provisioner as privileged, CAP_SYS_ADMIN may not be sufficient. Don't think xfs_quota was ever intended to run in a container.
This is a feature that is not regularly tested (personally I haven't used it in a year) and it is fragile as IIRC it can even depend on the container runtime + kernel. Your kernel is definitely new enough and mount succeeded so of course the xfs kernel module is there.

Running as privileged seems to solve the issue with xfs_quota!
However, I now get an error when trying to read the information:
bash-5.0# xfs_quota -p /export/
/export/: cannot find mount point for path `/export/pvc-972f5790-1282-436f-a315-fc2f76503b20:262144000': No such file or directory
/export/>

And this makes sense, as it looks like there's an incorrect projects file created. It has the quota added as :262144000 in there, but that does not seem to be the way it's supposed to work: https://linux.die.net/man/5/projects
Removing it seems to work:
bash-5.0# cat projects

1:/export/pvc-972f5790-1282-436f-a315-fc2f76503b20:262144000
bash-5.0# echo "1:/export/pvc-972f5790-1282-436f-a315-fc2f76503b20" > /export/projects
bash-5.0# cat /export/projects
1:/export/pvc-972f5790-1282-436f-a315-fc2f76503b20
bash-5.0# xfs_quota -p /export/
/export/> print
Filesystem          Pathname
/export             /dev/sdg (pquota)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20 /dev/sdg (project 1)
/export/>

Quota is still set, but for some reason (probably because I started without the privileged set to true), it's not being tracked:
/export/> report
Project quota on /export (/dev/sdg)
                               Blocks
Project ID       Used       Soft       Hard    Warn/Grace
---------- --------------------------------------------------
#0             203100          0          0     00 [--------]
#1                  0          0     256000     00 [--------]

If I run project 1, I get a lot of messages like these:
[...]
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/wp-signup.php - project identifier is not set (inode=0, tree=1)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/wp-signup.php - project inheritance flag is not set
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/wp-trackback.php - project identifier is not set (inode=0, tree=1)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/wp-trackback.php - project inheritance flag is not set
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/xmlrpc.php - project identifier is not set (inode=0, tree=1)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/xmlrpc.php - project inheritance flag is not set
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/.htaccess - project identifier is not set (inode=0, tree=1)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/.htaccess - project inheritance flag is not set
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/wp-config.php - project identifier is not set (inode=0, tree=1)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/wp-config.php - project inheritance flag is not set
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/status.php - project identifier is not set (inode=0, tree=1)
/export/pvc-972f5790-1282-436f-a315-fc2f76503b20/status.php - project inheritance flag is not set
Processed 1 (/etc/projects and cmdline) paths for project 1 with recursion depth infinite (-1).

However, if I create a new mount, which edits the /export/projects file again incorrectly, it seems to work:
bash-5.0# cat /export/projects
1:/export/pvc-972f5790-1282-436f-a315-fc2f76503b20

2:/export/pvc-34725a29-7ce7-4233-bbfc-826aa44d67d1:157286400
bash-5.0# xfs_quota -x -p /export/
/export/: cannot find mount point for path `/export/pvc-34725a29-7ce7-4233-bbfc-826aa44d67d1:157286400': No such file or directory
/export/>
bash-5.0# echo "1:/export/pvc-972f5790-1282-436f-a315-fc2f76503b20" > /export/projects
bash-5.0# echo "2:/export/pvc-34725a29-7ce7-4233-bbfc-826aa44d67d1" >> /export/projects
bash-5.0# xfs_quota -x -p /export/
/export/> report
Project quota on /export (/dev/sdg)
                               Blocks
Project ID       Used       Soft       Hard    Warn/Grace
---------- --------------------------------------------------
#0             203100          0          0     00 [--------]
#1                  0          0     256000     00 [--------]
#2              68392          0     153600     00 [--------]

And quota seems to work as well:
root@shellpod:/srv# rsync -a www/. test/.
rsync: close failed on "/srv/test/tempbigfile.5dNy2K": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(853) [receiver=3.1.3]
root@shellpod:/srv#

and
/export/> report
Project quota on /export (/dev/sdg)
                               Blocks
Project ID       Used       Soft       Hard    Warn/Grace
---------- --------------------------------------------------
#0             203100          0          0     00 [--------]
#1                  0          0     256000     00 [--------]
#2             153328          0     153600     00 [--------]

To summarize, to make it work, I have to:

Run the container with securityContext.privileged: true,
Edit the /export/projects file to sed -i 's/(:[^:]+)$// (remove the last colon and everything after it from each line)

If I was a Go programmer, I'd provide you with something more useful, but hopefully this allows someone to fix the problem easily as well? Thanks in advance!

Edit the /export/projects file to sed -i 's/(:[^:]+)$// (remove the last colon and everything after it from each line)

It's quite confusing, but that projects file /export/projects is not the same /etc/projects file in https://linux.die.net/man/5/projects. It's a file created and used by the provisioner to store state and repopulate the actual xfsquota /etc/projects file in case the provisioner gets restarted, so editing it shouldn't have any effect. (Probably it should be named projects.backup or something, but it's too late to change.)
So I am not sure if removing :262144000 was the fix or if running as privileged alone did it. If the removal was the fix then yes it will be reasonably easy to patch the provisioner to stop storing it in /export/projects and instead store it in a separate file.
BTW, this project was recently migrated to https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner. I will try my best to continue monitoring this repo (have not done the best job of keeping up) but that repo will be the future.

It's quite confusing, but that projects file /export/projects is not the same /etc/projects file

You're right, that's indeed quite confusing :) In that case, it seems that running the Pod as privileged is indeed the solution at least. I did not check if the quota worked after setting it to privileged, as the xfs_quota tool was giving an error still (but that's probably due to my inexperience with the tool overall). The /etc/projects file, which is created now and wasn't created before is indeed correct.
If the project is switching to a new repo, I'll use that one! Maybe add a message about that in the top of the README here? Thanks for you help in any case, my problem is solved!


"go south meaning"

This triggers an irrelevant answer
https://cheat.sh/go south meaning
Probably should not trigger at all.

Fixed. Please test

Good.


Author 003-a: Posts Private to Author Endpoint

As an author, posts I create be private to me.

done in #21


Weave TLV Schema documentation and source

Initial version of the Weave TLV Schema specification.

Preliminary schemas for the Security and Device Description profiles.

Is there any plan to auto-generate headers or other content from these definitions? Do we want to choose a file name extension that matches the language?

@gerickson : Work is in progress on basic code generation, which will generate C++ headers containing tag definitions, message id, profiles ids, etc.
Given our discussion about representing non-TLV encodings, I'm thinking an extension like .wsch for "Weave Schema" might be appropriate.   Or maybe .wms for "Weave Message Schema".

On Tue, May 5, 2020 at 9:08 AM Jay Logue<EMAIL_ADDRESS>wrote:

@gerickson https://github.com/gerickson : Work is in progress on basic
code generation, which will generate C++ headers containing tag
definitions, message id, profiles ids, etc.

Great to hear!

Given our discussion about representing non-TLV encodings, I'm thinking an
extension like .wsch for "Weave Schema" might be appropriate. Or maybe .wms
for "Weave Message Schema".

I like .wms or .wmsl ("Weave Message Schema Language") or .wsl ("Weave
Schema Language").
Best,
Grant

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openweave/openweave-core/pull/575#issuecomment-624147256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC5AM3DKY4V7TTLYSQTY4TRQA2V7ANCNFSM4MZBUVXQ
.

On Tue, May 5, 2020 at 9:08 AM Jay Logue @.***> wrote: @gerickson https://github.com/gerickson : Work is in progress on basic code generation, which will generate C++ headers containing tag definitions, message id, profiles ids, etc.
Great to hear!
Given our discussion about representing non-TLV encodings, I'm thinking an extension like .wsch for "Weave Schema" might be appropriate. Or maybe .wms for "Weave Message Schema".
I like .wms or .wmsl ("Weave Message Schema Language") or .wsl ("Weave Schema Language"). Best, Grant
…
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#575 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC5AM3DKY4V7TTLYSQTY4TRQA2V7ANCNFSM4MZBUVXQ .

I like .wsl too.  They could informally be called "whistle" files.  Weave Schema Language -- easy as a whistle. ;)


Unable to add docker host

Hi All, We are running Docker with -H  flag (tcp://<IP_ADDRESS>:2375), to ensure Swarm API's are available over TCP. I tried running Rancher agent on this Docker node and it fails around validating Docker version, as it tries to directly access Docker, without specifying -H flag. Is there a workaround available to update Rancher agent to connect using -H flag. We are running Docker on CentOS 7 and using latest version of Rancher server/agent.

Hello,
As a dirty fix, you can run Docker on both TCP and .sock:
-H tcp://<IP_ADDRESS>:2375 -H unix:///var/run/docker.sock

@hbajaj2 @ebuildy's answer is correct.  Not really a dirty hack.  We require the unix socket to talk to Docker.  So just add both -H parameters.


Document /volatileMetadata compiler option

There's /volatileMetadata option accepted by the compiler mentioned in Developer Community
_ReadWriteBarrier() intrinsic emits unnecessary code issue resolution, but it is not documented anywhere.

We are in the process of moving away from GitHub issues for C++ documentation (we still accept pull requests). For details, please see Announcing a new way to give feedback on Microsoft Learn This issue will be closed after it is copied to an internal tracking system.


Addgitbooks

Coverage remained the same at 54.979% when pulling 8630dd6de83036351ec6e20b9002f973a87d2abb on addgitbooks into 48e38dd5e9a9afa57f909b995cb47b55c2da7193 on master.


Add gpt-4o models

Landed in https://github.com/Universal-Code-Modules/universal-llm/commit/df4c8f7a7ad21ebe6b1fc29c9c1bc2d0452de3b1


Updating contents in poBranch

THIS BRANCH SHOULD NOT BE MERGED TO MASTER
If this branch is merged to master (once the Localization is done), it's going to create an infinite travisCI builds.
Summary
This branch will hold the portable object (.po) files which are used for translation. This branch will be the branch of contact for CrowdIn
Details and comments

Added Locale containing po files before automation
changed .gitignore
added api files to help in generating the final html files

The .rst files of APIdocs are required (as of now), to generate the translated html.

Just like the above image shows, the translators use the .po files to translate but the translated html files are generated using both .po and .rst files.


Support imperative runtime binding

Investigative information
I am trying to write a generic HTTP webhook that determines the queue to put the payload into based on some piece of data within the payload, that can only be determined at runtime. As per the binding documentation this imperative binding is only possible on .NET runtimes. This feels like a siginificant omission from the new Node.js programming model.
Repro steps
Create a function with a storageQueue output binding. The queue name must be hardcoded and cannot be altered at runtime.
const queueOutput = output.storageQueue({
  connection: 'AzureWebJobsStorage',
  queueName: 'hardcoded',
});

export async function httpFunction(request: HttpRequest, context: InvocationContext): Promise<HttpResponseInit> {
  // ...
    queueOutput.queueName = queueName;
    context.extraOutputs.set(queueOutput, payload);
  // ...
}

Expected behavior
I should be able to override queueName within the function handler body as per the above. Alternatively, it could be specified as an output binding (queueName: '{queueName}') and then a runtime output object provided as a parameter to extraOutputs.set().
Actual behavior
Setting the queueName property as per the above does not cause an error, but is ignored and the payload created on the hardcoded queue.
Known workarounds
I am currently having to define an array of storageQueue objects, specify each of them in the extraOutputs array, and then determine which to actually populate at runtime. As the list of possible queues grows, this is becoming unwieldy.
Alternatively, I could create a separate http trigger function for each queue, but this involves a large amount of boilerplate.

@richardweaver sorry for the delayed response. If you want full dynamic ability to change things like queueName, our recommendation would be to use the @azure/storage-queue azure sdk npm package instead of an output binding. In general we have a lot of internal debates about output bindings vs azure sdks. If you have thoughts on why you prefer output bindings and want to use them here - please let us know

Personally, I like not having to download and configure another SDK compared to the bindings just working. I'd like to be able to use binding params computed at runtime. If this was supported for blobs it would have saved me several hours today.


Prepare release 2.39.1

Summary of changes
Checklist

[ ] Link to issue this PR refers to:
[x] Relevant changes are reflected in CHANGES.rst
[x] Added or changed code is covered by tests
[ ] Documentation has been updated if necessary
[x] Changed code does not contain any breaking changes (or this is a major version change)

Released alongside 2.40.0


Add option to disable encoding

Hello,
Seems like Razor encode string by default, it's good for English, but not for Non-English content. it can be fixed using @Html.Raw, but it's not great option I think.
So would you add an option to disable encoding?
Thanks.

No we will not. It would introduce a huge security vulnerability when we've made explicit promises that everything will be encoded.

It can be optional (to disable encoding) not default behavior.
Thanks for the link.

We will not introduce such an option due to the security concerns. Your only option is to adjust what is encoded, or use Html.Raw

I'm using Razor outside of MVC (using RazorViewToStringRenderer.cs) and your mentioned link doesn't work for me, would you help me how I can use that solution in this case?

As that's not an MVC package that question would best be asked for that package author.

Thanks for the help here.
By using that, I mean just copy/paste that code and some edit. there is no nuget or package. there is also an answer on SO that is the same as my prev mentioned link.


Worker nodes are not joining the cluster using version 2.3.0

I have issues
While creating a new cluster using the version 2.3.0 of the module and the AMI ami-01e08d22b9439c15a for the worker nodes, not a single worker node joins the cluster.
I'm submitting a...

[x] bug report
[ ] feature request
[ ] support request
[ ] kudos, thank you, warm fuzzy

What is the current behaviour?

The EKS cluster is created, the autoscaling group, the lunch configuration and nodes are created. However, when running kubectl get nodes there are no nodes at all.

Running cat /var/lib/kubelet/kubeconfig within any of the worker nodes, we can see a miss-configuration issue:

apiVersion: v1
clusters:
- cluster:
    certificate-authority: /etc/kubernetes/pki/ca.crt
    server: https://<Skipping this part>.sk1.eu-west-1.eks.amazonaws.com
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: kubelet
  name: kubelet
current-context: kubelet
kind: Config
preferences: {}
users:
- name: kubelet
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - token
      - -i
      - --enable-docker-bridge
      command: /usr/bin/aws-iam-authenticator
      env: null

Instead of the cluster name, after the -i command we are getting --enable-docker-bridge
If this is a bug, how to reproduce? Please include a code sample if relevant.
Create a new cluster using the 2.3.0 version of the module and the AMI ami-01e08d22b9439c15a and run:
kubectl get nodes

SSH into one of the worker nodes and run:
cat /var/lib/kubelet/kubeconfig

What's the expected behaviour?
Worker nodes joining the cluster properly, just like they do with the version 2.2.1 of the module.
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details

Affected module version: 2.3.0
OS: Mac OS and Linux Alpine
Terraform version: 0.11.13.

Any other relevant info

That's strange. I think it's related to https://github.com/terraform-aws-modules/terraform-aws-eks/pull/302
What is your AMI release? Perhaps in your AMI version the script /etc/eks/bootstrap.sh doesn't have support for --enable-docker-bridge?

I am working with the AMI amazon-eks-node-1.11-v20190109, with any newer version I run into this issue: https://github.com/awslabs/amazon-eks-ami/issues/193

I see.
Maybe we just replace the enable-docker-bridge parameter with just a general parameter like bootstrap_extra_args that defaults to "". This is safer for AMI changes, will solve this issue and means people can change the docker bridge setting also.

FYI @michaelmccord

I am working with the AMI amazon-eks-node-1.11-v20190109, and it doesn't have indeed the --enable-docker-bridge arg.
The thing is that with any newer version I run into this issue: awslabs/amazon-eks-ami#193

@armandorvila v1.11-v20190211 doesn't have the ulimit bug. The ami id for us-east-1 is ami-0c5b63ec54dd3fc38. Not sure about the other regions.

I see.
Maybe we just replace the enable-docker-bridge parameter with just a general parameter like bootstrap_extra_args that defaults to "". This is safer for AMI changes, will solve this issue and means people can change the docker bridge setting also.

@max-rocket-internet Huge +1 on this. It opens up a lot more options and does some good future-proofing for stuff like this too.


chore: upgrade to TypeScript 5.6

With every minor version, typescript gets smarter...
plus emoji imports
import { "🍌" as banana } from "./foo"

/**
 * om nom nom
 */
function eat(food: string) {
    console.log("Eating", food);
};

eat(banana);

Going to put this one on hold. There was a bundle increase due to duplicated packages, so I tried deleting pnpm lock and it stopped working. No good!

Actually the issues were unrelated to this PR

re-opening this one as a draft

I wonder what could cause the bundle size increase. It might not be related to this PR though, sometimes it’s just inaccurate, I couldn’t really find out why. I’d say it shouldn’t stop us from upgrading TypeScript, though.

Awesome let's go


Datnvm/add members

Flow diagram cho add members api
flowchart TD
    A[Start] --> B[Receive Request to Add Member]
    B --> C[Validate Input AddWorkspaceMemberDto]
    C --> D{Is Input Valid?}
    D -- Yes --> E[Fetch User by Email]
    D -- No --> F[Return Error Response]
    E --> G{Does User Exist?}
    G -- Yes --> H[Check Workspace Exists]
    G -- No --> I[Return User Not Found Error]
    H --> J{Is User Active?}
    J -- Yes --> K[Check Permissions]
    J -- No --> L[Return User Not Active Error]
    K --> M{Has Permission to Add Member?}
    M -- Yes --> N[Create WorkSpaceMember]
    M -- No --> O[Return Permission Denied Error]
    N --> P[Add Member to Workspace]
    P --> Q[Save Updated Workspace]
    Q --> R[Return Success Response with WorkspaceDto]
    F --> S[End]
    I --> S
    L --> S
    O --> S

Api Response


move to blog

👷 Deploy Preview for mdai-content-curation processing.

Name
Link

🔨 Latest commit
bb296899ef1e775ef2cdb112f7cd90c507c51767

🔍 Latest deploy log
https://app.netlify.com/sites/mdai-content-curation/deploys/6490e029aee14f00087a870b


[bug] Crash when loads random module and exits the game

Describe the bug
I use the random module to generate random points in my game, but, when the game closes, it stops abnormaly, returning the following message into the console:
free(): invalid next size (fast)
Abort (`core' dumped)

To Reproduce

Loads random module
Closes the window or use Process.exit()

Platform and version

dome v1.5.0
Kubuntu 20.04.1 LTS - amd64

Thank you for reporting this. I believe I have fixed the issue. I will have to issue a hot fix build for people trying to use precompiled binaries.


Added export functionality to Process api

For a search query we don't get (or need) all the fields of the processes, I've added an export functionality for it, like we also have for https://github.com/sandwave-io/realtimeregister-php/commit/0b221775e2445ac49d87dbf8221efd5b0c6746fa

Has been merged in https://github.com/sandwave-io/realtimeregister-php/releases/tag/1.0.0


Improve setup.py and setup.cfg

Add some boilerplate to setup.py and setup.cfg so its easier to expand in the future. Also took out some bad information in setup.cfg

Closing as I have refactored this significantly and put in a different branch


上传出现502 bad gateway错误,怎么解决？

运行：
C:\python27\python.exe appcfg.py update D:\zjy\KindleEar-master\KindleEar\app.yaml D:\zjy\KindleEar-master\KindleEar\module-worker.yaml
总出现 502 badgateway 错误提示。
运行
C:\python27\python.exe appcfg.py update D:\zjy\KindleEar-master\KindleEar
则正常，没有出错提示，这是什么问题？
谢谢

又出现下面问题：
aodi2004@aodi2004:~/KeUploader$ sh update.sh
KindleEar uploader v1.3.1 (2015-08-20) by cdhigh
Your custom info :
app id : aodi2004
email<EMAIL_ADDRESS>timezone : 8
Correct? (y/n) : y
08:27 PM Host: appengine.google.com
08:27 PM Application: aodi2004; version: 2
08:27 PM Starting update of app: aodi2004, version: 2
08:27 PM Getting current resource limits.
08:27 PM Scanning files on local disk.
08:27 PM Cloning 15 static files.
08:27 PM Cloning 390 application files.
08:27 PM Compilation starting.
08:27 PM Compilation completed.
08:27 PM Starting deployment.
08:27 PM Checking if deployment succeeded.
08:27 PM Deployment successful.
08:27 PM Checking if updated app version is serving.
08:27 PM Completed update of app: aodi2004, version: 2
08:27 PM Application: aodi2004; module: worker; version: 1
08:27 PM Starting update of app: aodi2004, module: worker, version: 1
08:27 PM Getting current resource limits.
08:27 PM Scanning files on local disk.
Error 409: --- begin server output ---
Another transaction by user aodi2004 is already in progress for app: s~aodi2004, version: 1. That user can undo the transaction with "appcfg rollback".
--- end server output ---
08:28 PM Application: aodi2004; version: 2
08:28 PM Host: appengine.google.com
08:29 PM Starting update of app: aodi2004, version: 2
08:29 PM Getting current resource limits.
08:29 PM Scanning files on local disk.
08:27 PM Application: aodi2004; version: 2
08:29 PM Cloning 15 static files.
08:29 PM Cloning 390 application files.
08:29 PM Compilation starting.
08:29 PM Compilation completed.
08:29 PM Starting deployment.
08:29 PM Checking if deployment succeeded.
08:29 PM Deployment successful.
08:29 PM Checking if updated app version is serving.
08:29 PM Completed update of app: aodi2004, version: 2
08:29 PM Uploading index definitions.
08:29 PM Uploading cron entries.
08:29 PM Uploading task queue entries.
08:29 PM Uploading dispatch entries.
用：appcfg.py rollback KindleEar/  也没有效果

翻墙的问题这里不答复，自己搜索网络


docs: update apple build guide

added step to run the workspace-ffi create_libs.sh
added what to open with xcode
added how to sign the app

In order to sign the app with my personal apple dev email, I needed to change the Bundle Identifier. This shouldn't cause any weirdness, right? Nothing is expecting an exact id of app.lockbook

changing the bundle id might have borked the subscription from the app store

Potentially we could discuss this in an issue that is a little more centered around improving the external apple dev experience.
I would be curious to see what the error message was that prompted you to change the bundle identifier, just curious about it. I wonder if there was another solution to that problem, I believe we could author a run configuration which doesn't require signing to run. I'm not sure what the implications would be for running on physical devices, but I think it would be permissive and probably the best first approach.
Alternatively: I can't think of any other components apart from the billing related stuff that would care about this. Potentially we could author a run configuration in xcode that disables these things either under the condition.


What tokenizer for Bahasa?

Hi, might i ask which tokenizer do u use for Bahasa (Indonesia)? Thanks.

I didn't use any extra tokenizer for Indonesian because Indonesian contains spaces.

Bahasa fasttext vector embedding link is broken , can help to upload ?

Actually all the fasttext vector links were broken, which I don't know why. I've just updated them. Thanks.


Contribution

Hello friend, I'm starting out in the open source world, I would like to help and contribute to this project, could you give me some feedback?

@savionascimentodev, you really doing a good work contributing to open-source world, this is great for your portfolio. Count with me to help find your way.
I will create some issues in all the translation initiatives that I started on Monday so that you can start, but for now, start doing something for the Vue.js 3 project. 😊


figure out how to navigate filters in the gecko plot

there are a large number of tissues and the checkbox + slider model is bound to break.

[x] Develop low-fidelity mockups
[ ] Discuss filter/facet options and back-end integration with Miguel, Gareth, and Ed
[ ] Share mockups with Genetics Core team for review/feedback
[ ] Create high-fidelity prototype and pass to Gareth for implementation

Closing as duplicate of https://github.com/opentargets/genetics/issues/123


Issue with code coverage and SPM ?

When I turn on code coverage and execute tests Xcode just instantly crashes, the logs show below.
Something todo with SwiftDate ??
Thanks
Process:               Xcode [57934]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               12.0 (17219)
Build Info:            IDEFrameworks-17219000000000000~2 (12A7209)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [57934]
User ID:               501
Date/Time:             2020-10-18 20:14:28.465 +0100
OS Version:            Mac OS X 10.15.7 (19H2)
Report Version:        12
Bridge OS Version:     4.6 (17P6610)
Anonymous UUID:        9366E5EE-8562-34FA-5A4F-B3A4460C07F5
Time Awake Since Boot: 180000 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: IDEContainer - uniquing lock
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12A7209
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17219/IDEFoundation/ProjectModel/Containers/IDEContainer.m:580
Details:  Error: Mismatch between existing container extension: <DVTExtension 0x7f96a6512ff0: Swift Package Folder (Xcode.IDEFoundation.Container.SwiftPackageFolder) from com.apple.dt.IDE.IDESwiftPackageSupport> and requested container extension: <DVTExtension 0x7f9676509d20: Folder (Xcode.IDEFoundation.Container.Folder) from com.apple.dt.IDEFoundation> for file path: DVTFilePath:0x7f9647ce0e20:'/Users/graham/Library/Developer/Xcode/DerivedData/subs-ezkzhcnuwbarxccrlqkcqkkgsksw/SourcePackages/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/langs'
Object:
Method:   +_retainedContainerAtFilePath:fileDataType:workspace:options:error:
Thread:   <NSThread: 0x7f96c641beb0>{number = 1, name = main}
Open FDs: 98/9472
Hints:

Think dupe of #704
Search never showed it up


feat: allow users to disable ALTER SYSTEM

With this patch we disable writes on the $PGDATA/postgresql.auto.conf file, effectly preventing users from using ALTER SYSTEM.
The old behavior can still be requested by setting the .spec.postgresql.enableAlterSystem field accordingly.
Closes: #2725

E2e: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/7184102912

I have tested it locally. By default this is the behaviour:
$ kubectl exec -ti pg1-1 -c postgres -- ls -la /var/lib/postgresql/data/pgdata/postgresql.auto.conf
-r-------- 1 postgres tape 88 Dec 13 01:55 /var/lib/postgresql/data/pgdata/postgresql.auto.conf

Then, once I add:
...
  postgresql:
    enableAlterSystem: true
...

I get this:
$ kubectl exec -ti pg1-1 -c postgres -- ls -la /var/lib/postgresql/data/pgdata/postgresql.auto.conf
-rw------- 1 postgres tape 88 Dec 13 01:55 /var/lib/postgresql/data/pgdata/postgresql.auto.conf

I manually changed the file permissions and noticed that with the next reconciliation loop they were restored.

I changed the patch to set enableAlterSystem to true by default. This PR is safe to backport now.
After system we can file a new PR to change the default to false without backporting it.

E2E tests running in EDB fork:

Default to false https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/7195570970
Default to true https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/7195840409

/ok-to-merge all E2E green, both with default off and on


Compiling in Energia for launchpad boards

Energia didn't like the BUSY const char nor few places without spaces

Thanks for the patch! Looks good to me. But perhaps BUSYC is too cryptical (looks like a typo)? Maybe REALLY_BUSY, TOO_BUSY or STILL_BUSY instead? 😄
@ekstrand: Any comments?

yeah you are right, I'll rename BUSYC does look like a typo.
STILL_BUSY?

I agree sounds like a typo!

15 aug. 2016 kl. 15:31 skrev Per Cederberg<EMAIL_ADDRESS>Thanks for the patch! Looks good to me. But perhaps BUSYC is too cryptical (looks like a typo)? Maybe REALLY_BUSY, TOO_BUSY or STILL_BUSY instead? 😄
@ekstrand https://github.com/ekstrand: Any comments?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ekstrand/ESP8266wifi/pull/27#issuecomment-239802149, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpUyEb-I2e77lTqfZY7oJUwZTBNk6PHks5qgGoqgaJpZM4Jh0gi.


clustermesh: fix flaky TestRemoteClusterStatus integration test

The test incorrectly referenced the global testing.T variable from assertions inside an EventuallyWithT block, hence possibly causing the entire check to immediately fail. Let's fix this by using the scoped collect variable instead.
Fixes: 9145efdacf56 ("clustermesh: add service export read path in clustermesh/operator")

/test


Question: Installation issues

I'm trying to integrate your package into an existing Nestjs 7 app. I've basically copied and pasted the example from the readme, but it seems to fail when I attempt to get a span. I'm very new to OpenTelemetry so can't really say I have much of a conceptual model to support debugging.
The code that generates the error is from the readme example

and lower down

The currentSpan is undefined resulting in the addEvent failing
{"level":50,"time":1629306567682,"pid":111,"hostname":"a68e9c9c5b3c","req":{"id":"dcaa44df-0249-4f43-b9ad-1948dfa74b1b","method":"POST","url":"/api/v3/authenticate","remoteAddress":"::ffff:<IP_ADDRESS>","remotePort":53100},"logId":"11fd25fa-8aec-4762-a06c-f2f15c11e0c1","context":"ExceptionsHandler","trace":"TypeError: Cannot read property 'addEvent' of undefined\n    at AuthenticationService.authenticationFinalization (/usr/src/app/dist/identity/apis/authentication/authentication.service.js:71:21)\n    at /usr/src/app/node_modules/nestjs-otel/lib/tracing/decorators/span.js:14:35\n    at NoopContextManager.with (/usr/src/app/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:36:24)\n    at ContextAPI.with (/usr/src/app/node_modules/@opentelemetry/api/build/src/api/context.js:71:54)\n    at AuthenticationService.PropertyDescriptor (/usr/src/app/node_modules/nestjs-otel/lib/tracing/decorators/span.js:11:38)\n    at AuthenticationController.authenticateWithUsernameAndPassword (/usr/src/app/dist/identity/apis/authentication/authentication.controller.js:46:64)\n    at /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:38:29","msg":"Cannot read property 'addEvent' of undefined"}

When stepping into the traceService.getSpan I can see that _currentContext map is empty

Any thoughts on what may not be correct?
Many thanks for making this package and the time to review this message.

hi @cramhead could you provide some insight on your trace.ts + nestjs-otel setup? I've just tested everything you posted here in the example. It works. Did you end up setting up the trace file like in the example?

I will push my example changes in a few min.

Example of a custom span I created

Hi @pragmaticivan,
Thanks for helping.
The trace.ts. Note: commented to process import as it was causing an error. Otherwise, it's a direct copy and paste from the readme The shutdown does log correctly.
import {
    CompositePropagator,
    HttpTraceContextPropagator,
    HttpBaggagePropagator,
} from '@opentelemetry/core';
import { BatchSpanProcessor } from '@opentelemetry/tracing';
import { JaegerExporter } from '@opentelemetry/exporter-jaeger';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import { JaegerPropagator } from '@opentelemetry/propagator-jaeger';
import { B3InjectEncoding, B3Propagator } from '@opentelemetry/propagator-b3';
import { PrometheusExporter } from '@opentelemetry/exporter-prometheus';
import { NodeSDK } from '@opentelemetry/sdk-node';
import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';
// import * as process from 'process'; removed as TypeError: process.on is not a function

const otelSDK = new NodeSDK({
    metricExporter: new PrometheusExporter({
        port: 8081,
    }),
    metricInterval: 1000,
    spanProcessor: new BatchSpanProcessor(new JaegerExporter()),
    contextManager: new AsyncLocalStorageContextManager(),
    textMapPropagator: new CompositePropagator({
        propagators: [
            new JaegerPropagator(),
            new HttpTraceContextPropagator(),
            new HttpBaggagePropagator(),
            new B3Propagator(),
            new B3Propagator({
                injectEncoding: B3InjectEncoding.MULTI_HEADER,
            }),
        ],
    }),
    instrumentations: [getNodeAutoInstrumentations()],
});

export default otelSDK;
// You can also use the shutdown method to gracefully shut down the SDK before process shutdown
// or on some operating system signal.
process.on('SIGTERM', () => {
    otelSDK
        .shutdown()
        .then(
            () => console.log('SDK shut down successfully'),
            (err) => console.log('Error shutting down SDK', err),
        )
        .finally(() => process.exit(0));
});

The tracing.ts is imported and otelSDK.start is tied into the boot sequence. We have multiple mains so previously i had missed one. Fixed now.

The config in the app.module. Note we were already using prom-client

In my authenticationService the traceService is populated. I have a method decorated with @Span and a call to the traceService to getSpan

When debugging the getSpan call I can see the _context is set

TypeScript complains that contextManager is incompatible. Could that be the problem?

Example of a custom span I created findOne Section

Super cool screenshot. I'm looking forward to seeing this too

@cramhead would you by any chance be on NestJS Discord? might be faster if I help you through messages and maybe a quick pair prog.

I've used Discord, but really only as a message board. It would be great if we could pair program some. My user is marc.dentremont#5299

Closing as you got it working, thanks!


after fast switched between multiple 'routerLink' ，it seems to be in an endless loop.

Demonstration
my main app and sub apps are ng 11.  reproduce the animation as follows . Note the change in the browser address bar .

Expected Behavior
don't endless loop.
Actual Behavior
endless loop.

Could you provide a reproductible example? Also could it be related to #113 ?

i find correct solution from #113, thank you !!!

Same issue for me by adding "onSameRouteNavigation: 'ignore'" on the extra options on my routing module:
Reference

Met the same issue when switching between child route inside micro-app. It's weired that "onSameRouteNavigation: 'ignore'" seems like solved the problem. But the default value of "onSameRouteNavigation" should be 'ignore' if unset.


make print options more consistant

Now that I'm doing more debugging here, these have been bugging me. I'm happy to discuss any of the changes and/or break this apart if some are more controversial than others but I wanted to show my holistic thinking all at once first.

Put the -p help message options in order of the phases with the random ones at the end kinda ordered by how much they are used
Drop all the ed suffixes (there was only one). Happy to go the other way if folks want but I want them consistent
Changed ast to desugar-tree since it is way less important nowadays than it used to be
Made ast be a synonym for flattened-tree since that phase is now the most important part. I'm thinking no matter how many passes we have, this short nice name should always be the last one. Decided not to have test files be able to use this since they will all re-record if we ever make another pass.
Updated the docs to now have a Flattened pass section
Reordered many of the internal constants to be consistent

Thoughts?
Motivation

Test plan

See included automated tests.

I'm onboard. We always said that the only stable API is the LSP.


Feature/wa 335 message task

Pull Request Test Coverage Report for Build 139

28 of 42 (66.67%) changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-1.4%) to 88.606%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

gnosis_safe_push_service/safe/views.py
4
7
57.14%

gnosis_safe_push_service/safe/serializers.py
9
13
69.23%

gnosis_safe_push_service/safe/tasks.py
8
15
53.33%

Files with Coverage Reduction
New Missed Lines
%

gnosis_safe_push_service/safe/serializers.py
1
89.57%

Totals

Change from base Build 122:
-1.4%

Covered Lines:
591

Relevant Lines:
667

💛  - Coveralls


Providing estimates for the predator/prey size ratios

I just updated the "fishbase-mapping.csv" file to explain where to look for estimates for the minimum and maximum predator/prey size ratios.
I also updated the default values of the size ratios in the "fishbase-mapping.csv" file.
Please note that the "predation.predPrey.sizeRatio.max.spX" parameter in OSMOSE is the minimum predator/prey size ratio of functional group X, while the "predation.predPrey.sizeRatio.min.spX" parameter in OSMOSE is the maximum predator/prey size ratio of functional group X. This is because the OSMOSE modeling platform inverts the size ratios before using them in simulations.
Please also note that the estimates of minimum and maximum predator/prey size ratios that were integrated in FishBase/SeaLifeBase are tentative, and will be soon updated once #32 has been solved.
Many thanks.

I've incorporated the preliminary estimate tables for fishbase and sealifebase as provided in #32 . This should activate the mapping you defined in fishbase_mapping.csv. Please confirm.

@jhpoelen I just ran a test for the Iceland Shelf/Sea ecosystem, and noticed the presence of 0.0's for the "predation.predPrey.sizeRatio.max.sp*" parameters and of NA's for the "predation.predPrey.sizeRatio.min.sp*" parameters; see
osm_param-predation.xlsx
However, as per the "fishbase-mapping.csv" file, the default value of the "predation.predPrey.sizeRatio.max.sp*" parameters should be 3.5, and the default value of the "predation.predPrey.sizeRatio.min.sp*" parameters should be 30.0.
Could you please correct for this, and then let me know when it is done so that I can run a new test?
Thanks a lot!

Thanks for sharing your detailed example.
A quick glance at the file shared in #32 by @FIN-JBarile and @Dengaloo seems to suggest that zeros exist in PredPreyRatioMin as well as NAs in both PredPreyRatioMin and PredPreyRatioMax.
Would you expect these values in the estimate table in fishbase/sealifebase?
> est <- read.csv('estimate_fishbase.tsv', sep='\t')
> summary(est$PredPreyRatioMin)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's
  0.000   0.080   0.190   0.472   0.460  27.730   29990
> summary(est$PredPreyRatioMin)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's
  0.000   0.080   0.190   0.472   0.460  27.730   29990
> summary(est$PredPreyRatioMax)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's
  0.090   1.950   4.475   9.583  10.090 419.700   29990

Correction - please note that the NAs were introduced by the conversion from csv to tsv using R. I've corrected the issue and updated the patch release at https://github.com/jhpoelen/fishbase_archiver/releases/tag/v0.2.1-patch accordingly.
Note that this still leaves the observed zeros for the PredPreyRatioMin . Perhaps a rounding error?

@jhpoelen Many thanks for your hard work on this.
The problem with NA's that I mentioned ealier has been solved.
A lot of values do not make sense, but this is because the estimates provided in the FishBase table need to be updated after we have fitted more appropriate statistical models to the data (see #32).
Thus, the present issue can be closed.


slides-classification-naivebayes: Remove unnecessary links to other slide

Should we try to be as modular as possible without hurting the content?
If so:
Another generative technique for categorical response $y \in \gset$ is called \emph{Naive Bayes classifier}.

->
\emph{Naive Bayes classifier} is a generative technique for categorical response $y \in \gset$.

https://github.com/compstat-lmu/lecture_i2ml/blob/refactoring-w1920/slides/supervised-classification/slides-classification-naivebayes.Rnw#L18

Also slide 2 mentions "both classes", but in the first slide a setting with k = 1, ..., g is described. (binary vs multiclass)
https://github.com/compstat-lmu/lecture_i2ml/blob/refactoring-w1920/slides/supervised-classification/slides-classification-naivebayes.Rnw#L41


2.0 Preview.3579: textfield alignment

With 2.0 Preview.3579, the textfield alignment (i.e., Asset Tag) isn't as expected.

how does this look? (ignore the dialog version in the corner)

Seems too tight on the bottom to me.
Can the “* Required Fields” be left-aligned?

@dan-snelson how's this?

Bonzer!


fix: View Cells

Description
Follow-up: #6620, #6864
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Please review.