Ability to customize the end portion of the subject line for email notifications

Add the ability to customize the end portion of the subject line for email notifications, per win-acme install.  This could be a single variable named "SubjectEnd" and the content would be appended to the end of the normal subjects that are already defined in the program.  The "SubjectEnd" variable could combine with the ComputerName variable that was recently added.  Example variable and value:
"SubjectEnd": " for webservices.domain.com on [%ComputerName]"
In that case, the subject for a completed renewal would be seen as:  'Subject: Certificate renewal completed for webservices.domain.com on [Solace]'
Examples:
settings.json has the SubjectEnd variable defined, and is not the default "null" value:
"SubjectLine": " for webservices.domain.com on [%ComputerName]"
Subject: Certificate renewal completed for webservices.domain.com on [%ComputerName]
Subject: Error processing certificate renewal for webservices.domain.com on [%ComputerName]
Subject: Test notification for webservices.domain.com on [%ComputerName]
If the "SubjectEnd" variable is not defined and is using the default "null" value then do not use anything special in the subject and just go with the defaults.  Additionally, the value content for SubjectEnd should be able to make use of the ComputerName variable.  This enhancement request could replace or supplement the related email notification enhancement request "Ability to insert the computer name at the end of subject line for email notifications #1497".
Thank you.

@WouterTinus that is great, I see it in 2.1.7 release, and like the way it is implemented. Thanks a lot.

Hi @jon-f-novastor, glad you like it!


Make interface look like gevent-websocket

The upgradeable middleware was simplified but I believe it became more powerful because of it.
Please take a look.
This also includes a chat example ported to geventserver.

fixed example to work on firefox7

I've said that I swapped argument of application callable (put environ on the first place and websocket on the second) but it's not what I actually did. Instead I'm passing None as a second argument.
I think I like it even better. That way everyone is forced to use environ['wsgi.websocket'].
The last commit fixes main section in geventserver.py w.r.t that.


Add support for UIControl

Hi,
thanks for upgrading to Xcode 7 that fast ;)
I just added UIControl support as NibDesignableControl and I think this should solve your issue #12.
Best regards
Sebastian

Super, I'll accept it.
Though it would be nice to keep the code base more DRY :) I'll look into this if I can find the time.


Missing/Incorrect Index Statistics

I noticed that when using pgvectorscale's indices, they never report an idx_scans number greater than zero.
For example, using the following table:
create table snippets
(
    id          integer                  not null primary key generated always as identity,
    public_id   uuid                     not null unique,
    name        text                     not null,
    description text                     not null,
    content     text                     not null,
    embedding   vector(1536)             not null,
    created_at  timestamp with time zone not null default now(),
    modified_at timestamp with time zone not null default now()
);

create index on snippets (name asc);

create index on snippets using diskann (embedding);

create index on snippets (created_at);

create index on snippets (modified_at);

And running the following query:
explain analyse
select snippets.public_id,
       snippets.name,
       snippets.description,
       snippets.content,
       snippets.created_at,
       snippets.modified_at,
       (snippets.embedding <=> '[-0.03248204,0.00062958454,-0.021850731,...]'::vector(1536)) as distance
from snippets
order by distance
limit 10;

Outputs the following query plan:
Limit  (cost=2.21..4.17 rows=10 width=1133) (actual time=0.248..0.370 rows=10 loops=1)
  ->  Index Scan using snippets_embedding_idx on snippets  (cost=2.21..6.91 rows=24 width=1133) (actual time=0.247..0.368 rows=10 loops=1)
"        Order By: (embedding <=> '[-0.03248204,0.00062958454,-0.021850731,...]'::vector)"
Planning Time: 0.170 ms
Execution Time: 0.390 ms

That tells me that the index is being used. But when I run the following query:
select *
from pg_stat_user_indexes
where indexrelname = 'snippets_embedding_idx'
order by idx_scan desc;

I get the following result:

relid
indexrelid
schemaname
relname
indexrelname
idx_scan
last_idx_scan
idx_tup_read
idx_tup_fetch

21333
21344
public
snippets
snippets_embedding_idx
0
null
5269
5269

That, contradictory to the previously mentioned query plan, indicates that the index has never been used.
I observe this behaviour in all my database instances. I even spun up a new container running timescale/timescaledb-ha:pg16 and observed the same behaviour.

Thanks we'll look into it. Seems to be a bug


Add Mongo scaler documentation

This PR adds documentation for Mongo scaler.
Relates to kedacore/keda#1465.

@NUCsimple Can you fix DCO please?

@NUCsimple Can you fix DCO please?

Any update on this @NUCsimple?

Any update on this @NUCsimple?

@NUCsimple could you please fix this, so we can proceed with a release? Thanks!

@NUCsimple could you please fix this, so we can proceed with a release? Thanks!

@zroubalik I'll fix it today,sorry.

@zroubalik I'll fix it today,sorry.

@NUCsimple  I've just noticed that you placed the scaler docs in content/docs/1.5/scalers/mongodb.md could you please move it to content/docs/2.1/scalers/mongodb.md, as this scaler will be present from KEDA 2.1 onwards

@NUCsimple  I've just noticed that you placed the scaler docs in content/docs/1.5/scalers/mongodb.md could you please move it to content/docs/2.1/scalers/mongodb.md, as this scaler will be present from KEDA 2.1 onwards

@zroubalik  ,I'm so sorry. Maybe the mouse moved the file by mistake just now

@zroubalik  ,I'm so sorry. Maybe the mouse moved the file by mistake just now


Dump is not fully processed

I've tried to build an index of enwiki-20190820-pages-articles.xml.bz2 (15.3 GB) with mvn:exec, which terminated very quickly but without building a full index. While there is no error message, the runtime elapsed and the small (900k) size of the generated index file make it impossible that it is completely processed.

You are not providing enough details for me to be able to help you.

What are the exact commands you typed ?

What is the output you got ? Full console output please.

Are you sure that the archive you are using has the content you expect? A common problem when people try to index wikipedia dumps is that they have an archive that does not contain what they want to index. I have never used this particular dump archive. It is too big for me to download it quickly... It should be a series of documents organized with title, name, docid and body (as documented in the README.md). We do not do further processing to try to figure out what should be index, we just index documents and specifically the four attributes above. If the archive is in some other format, then...

What happens when you try with files like enwiki-20190820-pages-articles-multistream1.xml-p10p30302.bz2 ?

Oh. I think I fixed the problem. Sync with master and try again.
I hope you have a powerful box because index all of wikipedia like so could be a lengthy process.


Remove google-services.json

Hy amit,
Remove your google-services.json file to protect your firebase account

Ok thanks for letting me know
On Wed, 1 Dec 2021 at 11:02 PM, Mihir Daka @.***> wrote:

Hy amit,
Remove your google-services.json file to protect your firebase account
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amitsingh6391/Ecommerce-app-gitanjali-shop-/issues/1,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANVGQLW4OZKDCQGT7GAUJ5LUOZL4BANCNFSM5JFBXKJA
.


Future propose

Some features what I see for future

Special unsecure endpoint host/exec/, to exec post body in Lua directly.
POST request handling
Default config generation, cuz server drop when you're trying to start server without config.
Server command like (exec end point analog, or Lua console, run script, reload server, stop)

In addition, it will be useful to add documentation :)

Yeah, you're right @Ruslan1077 ;)

@Giitrix,
The following steps were added in the last version.

Changes

Documentation and diagrams have been added.
Added pre-compiled server and .pdbs.
Configuration implemented.
POST request processing implemented

In the next version I plan to add default configuration generation.

NOTE: command line will be added after 1.x.x version. }:) (release)


⚠ Processors has degraded performance

In 9f0f5d6, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Processors performance has improved in 401deda.


react-datepicker.js:104 Uncaught TypeError: Cannot read property 'isEqual' of undefined

You should really document the requirements somewhere.

I would say that the peerDependencies are pretty usable for this?

Documentation has been update a while ago. Let me know if you need anything else.


"Melinești" is listed in the drop-down menu

Description:
"Melinești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Melinești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Melinești, DOLJ".


Using with AndroidX navigation.

Hopefully this is just a documentation task.  I am using gradle plugin 8.6.2 (latest)  and looking at the issue tracker, it should be possible to use this using AndroidX navigation.  However I couldn't find any documentation on the wiki, or sample code.
I am using this XML:
	<fragment 		android:id="@+id/nav_about" 		android:name="com.mikepenz.aboutlibraries.ui.LibsSupportFragment" 		android:label="fragment_about" > 		<argument 			android:name="data" 			app:argType="com.mikepenz.aboutlibraries.LibsBuilder" /> 	</fragment>
but it just crashes at runtime.
java.lang.NullPointerException: null cannot be cast to non-null type com.mikepenz.aboutlibraries.LibsBuilder
    at com.mikepenz.aboutlibraries.LibsFragmentCompat.onCreateView(LibsFragmentCompat.kt:49)

I suspect my XML syntax is wrong, but I couldn't find anything that helps me with the correct syntax.
Thanks,

There's a sample implementation of a fragment making it compatible with the Navigation library:
https://github.com/mikepenz/AboutLibraries/pull/531/files#diff-d63c8456e793a2f644e6d36c804b7904baea2c5df547c67b78925e5ce1333858R11
The Fragment requires the LibsBuilder as input (which configures it)

Still really confused, in the sample code, NavHostDestinationFragment isn't referenced anywhere.  There is no navigation XML.
What I have done, I have created a new fragment class that extends LibsSupportFragment
`
public class NavHostDestinationFragment extends LibsSupportFragment
{
@Override
public View onCreateView( LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState )
{
savedInstanceState.putSerializable( "data", new LibsBuilder() );
return super.onCreateView( inflater, container, savedInstanceState );
}
}
and modified my navigation XML as follows:
	<fragment 		android:id="@+id/nav_about" 		android:name="uk.droidsoft.overtimelog.ui.about.NavHostDestinationFragment" 		android:label="fragment_about" > 		<argument 			android:name="data" 			app:argType="com.mikepenz.aboutlibraries.LibsBuilder" /> 	</fragment>
However i'm still missing something from the picture, as it's not playing ball.   The Jetpack stuff makes Android development much easier, so it would be really nice if AboutLibraries supported it easily.

I can see and think of a way to provide out of the box addition for it. And
check if a target could be provided by default. Or to showcase usage with
it.
Stay tuned.
That being said. With the provided sample fragment implementation no config
is needed and that fragment can be directly used via navigation. It was an
addition by a user who's using navigation already successfully.
On Sat, Dec 5, 2020, 7:56 PM Four Of Spades<EMAIL_ADDRESS>wrote:

Still really confused, in the sample code, NavHostDestinationFragment
isn't referenced anywhere. There is no navigation XML.
What I have done, I have created a new fragment class that extends
LibsSupportFragment
`
public class NavHostDestinationFragment extends LibsSupportFragment
{
@override https://github.com/override
public View onCreateView( LayoutInflater inflater, ViewGroup
container,Bundle savedInstanceState )
{
savedInstanceState.putSerializable( "data", new LibsBuilder() );
return super.onCreateView( inflater, container, savedInstanceState );
}
}
and modified my navigation XML as follows:

However i'm still missing something from the picture, as it's not playing
ball. The Jetpack stuff makes Android development much easier, so it would
be really nice if AboutLibraries supported it easily.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/mikepenz/AboutLibraries/issues/572#issuecomment-739334683,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALINCEX6EA7F3N4HLFYD2LSTJ66BANCNFSM4UOUW2WA
.

Perfect, thanks. It's now really easy to have a basic about page than you can control with the strings.xml and navigation,.xml alone without writing a single line of code 👍


[react/destructuring-assignment] Shows weird behaviour when I declare a variable with the name context

In a functional component I get an error when I declare a variable with the name context.
Example code:
const Test = props => {
  const context = useContext(someContext);

  return (
    <div {...props}>
      {context.test} // Here message: 'Must use destructuring context'
    </div>
  );
}

The error here should appear imo with any variable name coming from the useContext hook. Does the error disappear if you use a different variable name?

No, then it doesn't appear.

There seems like two bugs then:

the variable name context shouldn't be special
the return of useContext should be caught by this rule with every var name (altho this might need an option)

I think the error message on that case is correct following this rule, isn't it?
can you explain more why there is a bug ?

@Zinyon the rule is supposed to enforce legacy context being destructured; it's not supposed to warn on useContext, or on any variable that happens to be named context.

@ljharb Thank you, it makes sense! and I'll try fix this.


Add hiprtc as a dependency of hip_hcc should hiprtc be configured.

This allows following sequence work without issue:
cmake ..
make -j$(nproc) package

Prior to this PR, it has to go like this:
cmake ..
make -j$(nproc)
make hiprtc
make package

@whchung is it not getting addressed in #1348  @ https://github.com/ROCm-Developer-Tools/HIP/pull/1348/files#diff-af3b638bc2a3e6c650974192a53c7291R440 ?

@gargrahul thanks. not knowing the existence of such PR. close it hereby.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in fec8bfb.


Tip54 Issue - Unable to validate code

Tip54 Issue - (PR #407)

Able to connect to Selenium Grid Standalone, but errors while trying to validate code
Unable to validate code

Selenium removed logging endpoints when upgrading to Selenium 4, so this one might not be possible


Cherry-picks from 3.2.x to master

Coverage remained the same at 88.635% when pulling fa82ad30feb1b58c3c26dcdd876cb3ccce6bc54a on mprimi:master into dd9057bdee77376918c400b971a3470db34d4c85 on Netflix:master.


Fix broken actions (knot3) #28

Fixes #28 (knot3)

Codecov Report

Merging #30 into master will not change coverage by %.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master      #30   +/-   ##
=========================================
  Coverage     94.21%   94.21%
  Complexity       14       14
=========================================
  Files             5        5
  Lines           311      311
  Branches         43       43
=========================================
  Hits            293      293
  Misses            4        4
  Partials         14       14

Continue to review full report at Codecov.

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

Codecov Report

Merging #30 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master      #30   +/-   ##
=========================================
  Coverage     94.21%   94.21%
  Complexity       14       14
=========================================
  Files             5        5
  Lines           311      311
  Branches         43       43
=========================================
  Hits            293      293
  Misses            4        4
  Partials         14       14

Impacted Files
Coverage Δ
Complexity Δ

...t3/src/main/kotlin/de/halfbit/knot3/KnotBuilder.kt
94.52% <100%> (ø)
8 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Document how to conditionally enable features in dependencies

The / syntax in the features section appears to be undocumented.

Any more information on this? I think this is what I want to do.

for anyone else coming here googling:
[dependencies]
othercrate = "1.2.3"

[features]
myfeature = ["othercrate/otherfeature"]

Is it?  The [features] section in the manifest reference docs (link) has the example:
# Features can be used to reexport features of other packages. The `session`
# feature of package `awesome` will ensure that the `session` feature of the
# package `cookie` is also enabled.
session = ["cookie/session"]

(which has been there since the feature's inception in #712)
Optimistically closing that this was just missed (I think mdbook search wasn't around in March).  If this still needs work we can reopen.

How does this work if cookie is optional?

When cookie is a dev-dependency, this does not work:
# cookie/Cargo.toml
[features]
session = []

# awesome/Cargo.toml
[features]
session = ["cookie/session"]

[dev-dependencies.cookie]
path = "../cookie"

# app/Cargo.toml
[dependencies.awesome]
path = "../awesome"
features = ["session"]

The error message is this:
error: failed to select a version for `awesome`.
    ... required by package `app v0.1.0 (/home/$USER/git/app)`
versions that meet the requirements `=0.1.0` are: 0.1.0

the package `app` depends on `awesome`, with features: `cookie` but `awesome` does not have these features.

failed to select a version for `awesome` which could resolve this conflict

When cookie is a dev-dependency, this does not work:
# cookie/Cargo.toml
[features]
session = []

# awesome/Cargo.toml
[features]
session = ["cookie/session"]

[dev-dependencies.cookie]
path = "../cookie"

# app/Cargo.toml
[dependencies.awesome]
path = "../awesome"
features = ["session"]

The error message is this:
error: failed to select a version for `awesome`.
    ... required by package `app v0.1.0 (/home/$USER/git/app)`
versions that meet the requirements `=0.1.0` are: 0.1.0

the package `app` depends on `awesome`, with features: `cookie` but `awesome` does not have these features.

failed to select a version for `awesome` which could resolve this conflict

#9060

#9060


Fix German pronounciation explanation for "PyPI"

Thank you for this @cmarqu! Our translations are not updated directly like this. Please see https://warehouse.pypa.io/translations.html for how to submit changes!


Remove unnecessary print statement

Thanks @nibalizer !!    That was definitely me, just glad it was only yo instead of what I usually put in my print statements.


Failing on latest Kusama runtime

Hi, the API fails to initialise after latest runtime upgrade on Kusama.
Logs:
2021-01-28 09:09:53        API/INIT: RPC methods not decorated: sync_state_genSyncSpec, system_addLogFilter, system_resetLogFilter, system_syncState
Unknown types found, no types for BlockWeights, ConsumedWeight
Unable to resolve type BlockWeights, it will fail on construction
2021-01-28 09:09:54        API/INIT: Error: FATAL: Unable to initialize the API: createType(BlockWeights):: Cannot construct unknown type BlockWeights
    at EventEmitter.value (/opt/polkadot_api_server/node_modules/@polkadot/api/base/Init.js:85:25)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1) UnhandledPromiseRejectionWarning: Error: FATAL: Unable to initialize the API: createType(BlockWeights):: Cannot construct unknown type BlockWeights
    at EventEmitter.value (/opt/polkadot_api_server/node_modules/@polkadot/api/base/Init.js:85:25)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Runtime upgrade:
https://polkascan.io/kusama/event/5961600-1
https://polkascan.io/kusama/runtime/2027

Hi @krzysztof-jelski . Thanks for your issue, we have been notified about this. We will work on it asap.

Hi @krzysztof-jelski . Thanks for your issue, we have been notified about this. We will work on it asap.


:memo: Upload The GUIDE For "Live-Refresh" As Markdown

Maybe we should even add this to our docs folder, to help other contributors.
Originally posted by @taljacob2 in https://github.com/redhat-beyond/JobSeeker/issues/38#issuecomment-1073054820

Upload the GUIDE for "Live-Refresh" that is in #38, as a markdown in the docs folder, to help other contributors.

See Barak's new fix for this at https://github.com/redhat-beyond/beyond-tutorial/pull/10/files


Added broadcast and transaction endpoints

:tada: This PR is included in version 1.4.0 :tada:
Your semantic-release bot :package::rocket:


Basic scaffold for a filter_panel components

⚠ This is a WIP PR to get a review app, and isn't ready for review yet

This adds the minimum scaffolding required for a new component that displays a result count and a toggleable panel of filters.

Closed in favour of #3445.


React & Webpack Documentation No Longer Works

There is an issue in the documentation caused by more recent versions of React & ReactDOM.
I'm referring to the documentation on this page:
https://www.typescriptlang.org/docs/handbook/react-&-webpack.html
The links to the libraries in node_modules is no longer valid:
./node_modules/react/dist/react.js is now ./node_modules/react/umd/react.development.js
./node_modules/react-dom/dist/react-dom.js is now "./node_modules/react-dom/umd/react-dom.development.js
Expected behavior:
The tutorial code should work.
Actual behavior:
It is not working right now.

Will re open this in the documentation repository.


feat(@angular-devkit/build-angular): karma+esbuild+watch

This introduces support for --watch when using the application builder. It's tested as far as the relevant test case is concerned. But I wouldn't be surprised if there's still some rough corners.
NOTE: Currently includes the commit from https://github.com/angular/angular-cli/pull/28518 because the two touch some of the same code.

I think this was the last blocker in terms of "passes all tests". I'll likely try it out once these PRs are part of the next version to see if there's anything else "obviously" wrong with it.


Add routes, api methods & e2e tests for Sprites

A Mapbox sprite consists of a single PNG with all the images used in the style, and a JSON document that describes the position of each sprite in the PNG.

[ ] GET /styles/:styleId/sprite{@2x} - should return JSON sprite layout. Optional @2x should support retina - maybe need to support other pixel density values, but maybe just falling back to the closest that we have available offline.
[ ] GET<EMAIL_ADDRESS>- should return the PNG of the sprite

Whilst it is possible to generate the sprite dynamically from the individual symbols/images, I think it is enough for now to download the generated sprite and just use that.
We do not need update or delete routes for these, but we do need API methods to update or delete the sprite for when the style is updated or the style is deleted.

Should have a fallback: 1x

check mapbox gl source to see if the client ever requests 2.5x, 3x or higher. if it does, we need to be able to accept that but provide fallback with highest res we have
need 4 endpoints, but the sprite url in the style doesn't have the size + extension
probably implement so that each sprite has an id (calculated by hash of contents) and when updates occur, the sprite doesn't get cached and updates are reflected in the associated style's sprites field (updated url)


doc/workload: fix double variable in sleep conf

"mean" and "std" property is configured as double type. But if
it's configured as 3000 or 3000.0, it could only be recognized
as int type. Now use 3000.001 to force it as double type.
Signed-off-by: Haojian Zhuang<EMAIL_ADDRESS>

Codecov Report

Merging #184 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #184   +/-   ##
======================================
  Coverage    86.8%   86.8%
======================================
  Files          33      33
  Lines         750     750
  Branches       47      47
======================================
  Hits          651     651
  Misses         99      99

Continue to review full report at Codecov.

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

Hi @hzhuang1 I see you've opened a bunch of PRs in the last few days. Thanks so much for your contributions!
Spark-Bench is no longer my main focus so I will have to schedule time to review these changes. Hopefully I will be able to get to it this week!


Weird chart error?

At the buy event, I've received this
plus seems reloader doesn't go away even on-chain action is finished

ref
#1692 related?

Seems due the crash, it wont close the modal.

I guess whenever you interact with an NFT(buy, list, etc), a new point is added to the chart. So to re-render the point on the same canvas, the old chart must be first removed and a new chart must be created. I think this also happens in #1692.


Updated/fixed Dockerfile and temporarily disabled Zap tests in Travis

Docker file now works for reporting as it starts both celery processes needed by Dojo. You can launch the docker like:
$ docker run -d -p 8000:8000 --name=dojo mtesauro/defect-dojo:1.1
And then go to http://localhost:8000 in a browser. Default login is admin / admin
Note that you have to have -p <IP_ADDRESS>:8000:8000 to keep Travis CI happy.

OK.  Curl in Travis CI cannot resolve localhost - changing to <IP_ADDRESS>


npx cypress verify causing multi-arch image build to fail with docker buildx - can build locally on ARM & AMD archs

While trying to create a multi-arch Docker image for us to run Cypress in, we are having some issues getting the build to go through using the docker buildx command.  We use this for all of our other multi-arch images without an issue, but for the Cypress one we are getting the following errors for the build that doesn't correspond with the machine creating it.  Below is the error message when run on an Apple M1 MacbookPro.  As you can see, the linux/amd64 build is failing.  When we do the same command from an Apple Intel MacbookPro, we get the identical error, but for the linux/arm64 build.
Docker Build Command:
docker buildx build -t my-multi-arch-cypress-image -f Dockerfile-cypress-arm . --platform linux/amd64,linux/arm64  --push
Error in terminal:
[+] Building 9.2s (13/13) FINISHED
 => [internal] booting buildkit                                                                                0.5s
 => => starting container buildx_buildkit_cs-builder0                                                                                0.5s
 => [internal] load build definition from Dockerfile-cypress-arm                                                                                0.0s
 => => transferring dockerfile: 627B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 66B                                                                                0.0s
 => [linux/amd64 internal] load metadata for docker.io/cypress/base:16.18.1                                                                                1.1s
 => [linux/arm64 internal] load metadata for docker.io/cypress/base:16.18.1                                                                                1.1s
 => [linux/amd64 1/4] FROM docker.io/cypress/base:16.18.1@sha256:e7a640bfdc4a2d0abc64943a874d3b02e0b15ce37e8e07872e00ee02393abbfb                                                                                0.0s
 => => resolve docker.io/cypress/base:16.18.1@sha256:e7a640bfdc4a2d0abc64943a874d3b02e0b15ce37e8e07872e00ee02393abbfb                                                                                0.0s
 => [linux/arm64 1/4] FROM docker.io/cypress/base:16.18.1@sha256:e7a640bfdc4a2d0abc64943a874d3b02e0b15ce37e8e07872e00ee02393abbfb                                                                                0.0s
 => => resolve docker.io/cypress/base:16.18.1@sha256:e7a640bfdc4a2d0abc64943a874d3b02e0b15ce37e8e07872e00ee02393abbfb                                                                                0.0s
 => CACHED [linux/amd64 2/4] WORKDIR /usr/src/app                                                                                0.0s
 => CACHED [linux/amd64 3/4] RUN npm install<EMAIL_ADDRESS>                                                                                0.0s
 => ERROR [linux/amd64 4/4] RUN npx cypress verify                                                                                6.6s
 => CACHED [linux/arm64 2/4] WORKDIR /usr/src/app                                                                                0.0s
 => CACHED [linux/arm64 3/4] RUN npm install<EMAIL_ADDRESS>                                                                                0.0s
 => CACHED [linux/arm64 4/4] RUN npx cypress verify                                                                                0.0s
------
 > [linux/amd64 4/4] RUN npx cypress verify:
#0 5.346 [STARTED] Task without title.
#0 6.535 [FAILED] Cypress failed to start.
#0 6.535 [FAILED]
#0 6.535 [FAILED] This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
#0 6.535 [FAILED]
#0 6.535 [FAILED] Please refer to the error below for more details.
#0 6.535 [FAILED]
#0 6.535 [FAILED] ----------
#0 6.535 [FAILED]
#0 6.535 [FAILED] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
#0 6.535 [FAILED] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
#0 6.535 [FAILED] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#0 6.535 [FAILED]
#0 6.535 [FAILED] ----------
#0 6.535 [FAILED]
#0 6.535 [FAILED] Platform: linux-x64 (Debian - 11.5)
#0 6.535 [FAILED] Cypress Version: 12.4.1
#0 6.541 Cypress failed to start.
#0 6.541
#0 6.541 This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
#0 6.541
#0 6.541 Please refer to the error below for more details.
#0 6.541
#0 6.541 ----------
#0 6.541
#0 6.541 qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
#0 6.541 qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
#0 6.541 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#0 6.541
#0 6.541 ----------
#0 6.541
#0 6.541 Platform: linux-x64 (Debian - 11.5)
#0 6.541 Cypress Version: 12.4.1
------
Dockerfile-cypress-arm:22
--------------------
  20 |     # running this command separately from "cypress run" will also cache its result
  21 |     # to avoid verifying again when running the tests
  22 | >>> RUN npx cypress verify
--------------------
ERROR: failed to solve: process "/bin/sh -c npx cypress verify" did not complete successfully: exit code: 1

This is the Dockerfile I am using to build this image:
FROM cypress/base:16.18.1

WORKDIR /usr/src/app

RUN npm install<EMAIL_ADDRESS>
RUN npx cypress verify

I am able to build this locally on either M1 or Intel to work on that corresponding machine, but our team works with both chips, so we need the multi-arch build to go through in order for our entire team to be able to run Cypress tests locally without having to build the image locally themselves.
I've been working on this for a couple weeks now, finally getting it to run for ARM architecture, but now I am stuck on this final piece of the puzzle, and I'm just totally at a loss.

This is a workaround, but as you can see from our docker containers, we skip running verify on arm64
https://github.com/cypress-io/cypress-docker-images/blob/master/included/12.3.0/Dockerfile#L37
I'd also like to point you to our new cypress/factory docker images. It's designed to allow users to build a custom cypress docker image by using ARGs to specify the versions. We use it to build out all of our own image variants. (It gets around running cypress verify issues on the arm by not running it at all)
https://github.com/cypress-io/cypress-docker-images/tree/master/factory
This should be equivalent to the dockerfile you specified above.
ARG NODE_VERSION='16.18.1'
ARG CYPRESS_VERSION='12.4.1'

FROM cypress/factory:latest

<do your stuff>

Thank you, @mjhenkes, this fixed my issue!  I stuck with the current Dockerfile I was using and just dropped the npx cypress verify and everything is working perfectly.  I tried the new cypress/factory base image, but it was failing for me during the node install and took much longer to build, so I kept it as is.  Thanks for your quick response and help.


proxy middleware minor improvements

middleware/proxy - remove unused variables; add support for agent settings; add missing semicolons
tests/proxy - close servers for real time debugger tool like wallaby.js, to avoid EADDRINUSE; cover agent settings; fix coverage for request with query string
README.md - docs for port settings: agentSettings, proxy and target timeout settings

I very much like your changes, good job @szarouski. I just made code climate optional, can you try rebasing/merging your branch to master and let's see if it sees the tests passing. Perhaps if you could apply the above improvement about global config and then we'll just merge your code and make a new release. ;) Don't forget to add yourself to contributors list as well.

Thank you, I'm glad you like it! I added global config as a fallback as you mentioned. Thanks.


Mystic Items locked

I have several mystic items that are locked and cannot be locked no matter if I change them in the game config file or not. I have also tried re-installing the mod multiple times and I have also tried re-installing thunderstore mod manager to see if that fixes it. None of those above options fix it.

Can you tell what the items are? If you install the item blacklister mod, if the items exist, they should appear in the list that mod makes even if they're turned off and should say "config disabled" in that case. I could see if they're unlocked for me or if it's actually bugged o help mysticsword a little.

I'm not sure exactly the right amount, but im pretty sure its a lot i think half maybe more

I think it is just the treasure map item that is perma locked, i thought there were more but i think they were actually vanilla items that I have not yet completed

I have the map enabled and unlocked. I believe I unlocked it legitimately also. So I'm not sure whats going on then.

I don't know either, all I know is it's not working for me and for someone else.

similar ish issue cant unlock timely execution

I think most of them work. I think it's just a small few that do not work currently


Examples

Any chance for some examples on how to use the framework for us newbies?
header
class WriteTask: public TaskClassS<1000> {
public:
	WriteTask(): TaskClassS("WriteTask", TaskPrio_Mid){

	};

	void task();
};

cpp
#include <WriteTask.h>

void WriteTask::task() {

	while(1)
	{
		asm("NOP");
		vTaskDelay(500);
	}

}

my task function never gets executed, seems to delete the task before anything happens.
CHeers

Have you created an object of type WriteTask? I generally create it at file scope so it is created before main starts.

Hi Richard,
Yes, I do create the object at runtime (on demand). The task itself is created (I can see it in the thread list) though the virtual task() override is never executed for some odd reason. Didn't know if I was missing something.
Cheers

If you are creating the task dynamically, is the task creating it higher in priority then this task? There is some code that if you enable the get/set task priority it will try to adjust things to make it work, but that isn't as well tested. If you haven't enabled the set priority function in FreeRTOSConfig.h, then you must create tasks with a task of higher priority than you are making them or it will run before the constructor finishes.

I have tried both higher and lower on the task priority. INCLUDE_vTaskPrioritySet is set in the config
To create the task, I am simply instantiating it.
WriteTask writeTask;
taskfun() (line 370) doesn't execute before the deconstructor is called (and the task is deleted). I believe it's because I'm losing reference to the WriteTask object therefore it is destroyed.
With that said, is proper use to create the object, suspend the task, and hang onto it until needed?

If the task object gets destroyed, the task is deleted, so you don't want to make it as an automatic variable inside a function. Either make it as a file scope if it is to always be there, or you need to create the variable on the heap (and make sure your new function is thread safe) with something like WriteTask* task = new WriteTask; The one trick here is you need to then somehow make sure the object is deleted when your task is done (and it can't delete itself).


Migrate this repository to github.com/metanorma

The repository github.com/metanorma has been set up to host all Metanorma related work. This is one such piece of work. While the migration will be slow (there is a lot to do, and a lot of interdependencies), we need to schedule migration for all related repositories.
Migration to Metanorma:

Repost the repository to http://github.com/metanorma/X

This should be as simple as changing the following field in .git/config: [remote "origin"]   url = https://github.com/riboseinc/metanorma-iso.git. Refer https://help.github.com/en/articles/transferring-a-repository

If this is a Ruby gem, change the address of the repository in the *.gemspec
Delete all files but the Readme in the riboseinc repository
Replace the Readme in the riboseinc repository with the message "Repository migrated to http://github.com/metanorma/X
Update the links to the repository in any documentation you maintain
Link the README in the new location to updated links for appveyor, CodeClimate, travis, etc. New links to travis should be to travis-ci.com, not travis-ci.org.
Notify @opoudjis and @strogonoff when you have migrated the repository. They will then update the links to the repository in any documentation they maintain.

@opoudjis @strogonoff done, but codeclimate link dosen't work, I don't know why.

@ronaldtse has just fixed codeclimate, it was not enabled on the new repository.


App freezes after dismissing ViewController with scene location view

Hi,
When I add addotation node using View method
LocationAnnotationNode(location: location, view: self.nodeView)
After showing the annotation on camera, when i dismiss the viewcontroller App freezes and stuck.
But it works fine when I add annotation node using this method
LocationAnnotationNode(location: location, image: image)
Please give a solution.
Here is the code,
var sceneLocationView = SceneLocationView()
override func viewDidLoad() {
        super.viewDidLoad()
        sceneLocationView.run()
        sceneLocationView.orientToTrueNorth = false
        view.addSubview(sceneLocationView)
    }
override func viewDidLayoutSubviews() {
        super.viewDidLayoutSubviews()
        sceneLocationView.frame = view.bounds
    }

override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
        // Pause the view's session
        sceneLocationView.pause()
        sceneLocationView.removeFromSuperview()
    }

override func viewDidAppear(_ animated: Bool) {
            let location = CLLocation(coordinate: self.destinationLocation, altitude: self.sceneLocationView.sceneLocationManager.currentLocation?.altitude ?? 100)

            let nodeView = arItemView()
            nodeView.frame.size = CGSize(width: 200, height: 250)
            nodeView.backgroundColor = .clear
            nodeView.isOpaque = false
            let annotationNode = LocationAnnotationNode(location: location, view: nodeView)

            annotationNode.continuallyAdjustNodePositionWhenWithinRange = true
            let distance = annotationNode.location.distance(from: self.sceneLocationView.sceneLocationManager.currentLocation ?? (CLLocation(latitude: 0.0, longitude: 0.0)))
            print("distance with user location",  distance ?? 0.0)
            nodeView.lblDistance.text = self.myDistance(originCoordinate: self.sceneLocationView.sceneLocationManager.currentLocation, destCoordinate: CLLocation(latitude: self.destinationLocation.latitude, longitude: self.destinationLocation.longitude))
            self.sceneLocationView.addLocationNodeWithConfirmedLocation(locationNode: annotationNode)
            self.sceneLocationView.locationViewDelegate = self
    }
    // MARK:- Button Actions
    @IBAction func didTapBackButton(_ sender: Any) {
        self.dismiss(animated: true, completion: nil)
    }

@farismhmd1 - what branch are you using? This should not be an issue in the develop branch.

yes. I was using the master branch.  It is working fine on develop branch. Thank you


add feature sync on empty

Hi
I imlemented this issue
https://github.com/Adldap2/Adldap2-Laravel/issues/36

Hi @NogaevPN. I'm not really sure this is really something that needs to be implemented. It has such a small use case that I don't think it's necessary. You can just create an attribute setter on your model to be able to perform this:
public function setEmailAttribute($email)
{
    if (empty($this->email)) {
        $this->attributes['email'] = $email;
    }
}

Or if you're looking for just setting the email attribute if empty during the Adldap sync, then you could also just 'set' a non-existing property, and create a model setter for it like so:
// In adldap_auth.php
'sync_attributes' => [
    'emailEmpty' => 'mail',
];

// In your User model

public function setEmailEmptyAttribute($email)
{
    if (empty($this->email)) {
        $this->attributes['email'] = $email;
    }
}


Autocomplete oruga/next

Hello, I made some edits to the Autocomplete component, please let me know what you think and in case you're willing to merge I'll write the tests cases, make any eventual change/fix and restore the dev env as I found it.
1. Unfiltered data displayed before clearing the field
Video Current
https://user-images.githubusercontent.com/78644132/218284342-e9a16f94-d9fd-424d-a23c-d15726602abe.mov

Video PR
https://user-images.githubusercontent.com/78644132/218284621-0d06abb1-5e0b-4a3b-be1e-2e9202cf3d62.mov

2. Dynamic menu positioning
I noticed that:

The menu was not repositioning when scrolling but only when resizing:

Video Current
https://user-images.githubusercontent.com/78644132/218284860-df29ba49-f951-40df-a604-647aa9f81419.mov

On resize, it was a bit flashy when repositioning (at least on Firefox):

Video Current
https://user-images.githubusercontent.com/78644132/218285113-e99b2b91-daf9-42b4-90d1-acd7cdf8a92a.mov

Also repositioning on scroll/resize if the input is not scrolled by the window was not implemented.

I replaced the methods in charge of positioning when menuPosition === 'auto' with a single one named setMenuAutoPosition which works for both window and container scroll and also for appendToBody. User doesn't need to define the scrolling container as I wrote a tiny function which automatically detects it.
A ResizeObserver is initialized if the scrolling element is different than the window, if not window:onresize listener is init. I've also added new scroll listeners.
If user has set appendToBody the dropdown will be dynamically positioned on scroll/resize as well. This works when the input is scrolled by the window. If not, this won't have any effect as it won't be possible to hide/show it properly when the input overflows. I used Vue Teleport for this feature. I simply added a condition which if the appendToBody is false or the scrolling element is not the documentElement it will disable the teleport and viceversa.
Basically now, user gets full dynamic positioning on scroll/resize wheter it is scrolled by the window or a container:
Window Scroll - PR
https://user-images.githubusercontent.com/78644132/218285683-28e6b84d-8789-4908-ad5c-fa997141ceb3.mov

Custom Scroll Element - PR
https://user-images.githubusercontent.com/78644132/218285744-75b9e4e7-b4ca-4b93-a0ba-d6e24b6c6d31.mov

Window Resize - PR
https://user-images.githubusercontent.com/78644132/218285776-f564b2e3-3691-48a0-a2ba-031701476a15.mov

Custom Continer Resize - PR
https://user-images.githubusercontent.com/78644132/218285837-47e7b874-f09d-4649-9fbe-d743b888ff85.mov

Append to body - PR
https://user-images.githubusercontent.com/78644132/218286019-051a9087-a790-47b8-a226-df3d0da62d83.mov

@smastrom thanks for the PR, it contains a lot of improvements 🎉
I know Vue Teleport and it's a great feature that i wanted to add to rewrite appendToBody feature.
Oruga is CSS agnostic but what happens using Teleport? Bulma, Bootstrap css contains classes that depends on parent, for example menu depends on its wrapper.

As far as I can see the node o-acp__menu is teleported but as you pointed me things might be more complex.
The dropdown shares with the input the node o-acp which is also the parent of the input field and most likely this is the parent selector you're referring to.
From a dev perspective I would say, the moment I opt-in to appendToBody I'd also fully embrace the risks that it brings, for example the tab-index order.
Of course, it is possible to detect if it's using BS/Bulma and if necessary flush inline the styles it relies on (if they're just variables) or dynamically wrap the teleported dropdown in a parent which retains only the styles needed but this sounds to me out of scope as we're mutating too much the client's DOM.
The most senseful thing would be to leave things as they are, if the dev chooses to opt-in to appendToBody it will have to add manually the styles they want to retain.

@smastrom why?

I was cleaning up my profile forks but GitHub eventually also closed the PR. However, you might reopen it and resume from where I left.

@smastrom-dolly I'm currently implementing a teleport alternative to appendToBody. I will aggnolage your suggested changes and add some inspired implementation to the dropdown component (autocomplete will now use the dropdown component internally).
I appreciate your work and feel free to have a look when the feature is released and suggest further changes.


Show connection attempt status messages in network buffer

While a network connection is brokered, no messages appear in the network buffer until the connection is successful. We should see a Connecting to [host or name] message when a connection is started instead of a blank screen.
Error messages should also be piped there. Currently, connections that time out leave the network buffer entirely blank while emitting the following message on the server
Client#connect():
Error: connect ETIMEDOUT

In the event that auto-reconnect or auto-retry connections come to exist, I would also like to see Connection [lost or failed], retrying . . . messages.

One of the things required for this to work correctly, is to move this code all the way up in the function: https://github.com/thelounge/lounge/blob/master/src/client.js#L213-L216
Then we will be able to send messages to network tab with what's happening.

This issue seems to be fixed by #167.


Update explicit_subject.feature

It took me some hunting to figure out that when you just want to invoke the subject so that you can test side effects of the call, then you can just use "subject.call". This amends the section on explicit subjects to add a new scenario. The example is admittedly a little out there, but I think that it demonstrates the sorts of things you might use this for. This is my first PR for anything, so if I've violated any customs or protocols, I offer my apologies.

:wave: Thanks for taking the time to open a PR for this, it isn't an intentionally supported feature and thus I don't wish to document it. It may stop working in future.

Hi Jon,
I can appreciate that, but I believe that the functionality is needed. If the only valid context for invoking the subject is within an “expect” then there should be a way of saying “expect(subject).to do_anything” (in other words, we don’t care what it does).
Or do you feel it’s good enough to write “expect(subject).to_not raise_error”?
For future reference (this is actually the first PR on any product I’ve ever done), is it more appropriate to start a discussion before submitting a PR, or is the PR an appropriate conversation-starter?
Jack

On Feb 26, 2021, at 1:16 AM, Jon Rowe<EMAIL_ADDRESS>wrote:
👋 Thanks for taking the time to open a PR for this, it isn't an intentionally supported feature and thus I don't wish to document it. It may stop working in future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rspec/rspec-core/pull/2876#issuecomment-786517278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK5ALH2LAITXSTF5CG4OTTA5RHFANCNFSM4YHS737Q.

Well expect(subject).to_not raise_error is almost never what you want, it has no value.
Your test is better written as:
RSpec.describe "#test" do
  subject { TestSubject.new }

  it "receives the expected parameters from the call" do
    expect(subject).to receive(:test1).with(3,2,1)
    subject.test(1, 2, 3)
  end
end

I hadn’t thought of it that way, but I guess you’re right. I was thinking that the test subject was the call, but it could just as easily be the object that the call is being sent to.
It’s funny how something as simple as “test this method call” can have so many subtleties to it.

On Feb 26, 2021, at 12:47 PM, Jon Rowe<EMAIL_ADDRESS>wrote:
Well expect(subject).to_not raise_error is almost never what you want, it has no value.
Your test is better written as:
RSpec.describe "#test" do
subject { TestSubject.new }
it "receives the expected parameters from the call" do
expect(subject).to receive(:test1).with(3,2,1)
subject.test(1, 2, 3)
end
end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rspec/rspec-core/pull/2876#issuecomment-786885430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK5AJZU6ZUT7NTZDJQMP3TBACERANCNFSM4YHS737Q.

subject is itself a method, so subject.call is actually "call the return of subject" in normal usage, so the way you tried it shouldn't work, and if it does it's entirely due to an oddity of blocks in ruby.

is actually "call the return of subject" in normal usage, so the way you tried it shouldn't work, and if it does it's entirely due to an oddity of blocks in ruby

That's what confused me. I couldn't tell how it works just by looking at this scenario's code.
We restricted one magical use of is_expected just recently. This one probably needs a closer look.

So. There are a few things in this scenario:

define test(a,b,c) - not a valid Ruby syntax
Rspec is undefined (should be RSpec)
subject errors out:

  1) called subject receives the expected parameters from the call
     Failure/Error: subject { |a, b, c| TestSubjectCall.new.test(a, b, c) }

     ArgumentError:
       wrong number of arguments (given 0, expected 3)

This hints that no arguments are yielded to subject { |a, b, c|, not even a single one.
Some debug to confirm that:
    12: subject do |*args|
    13:   require 'pry'; binding.pry
 => 14:   TestSubjectCall.new.test(a, b, c)
    15: end

[1] pry(#<RSpec::ExampleGroups::CalledSubject>)> args
=> []

Even calling subject(1, 2, 3) won't yield any arguments to the block.
So we seem to be safe from subject misuse.

Okay, you caught me. That was an invented test that I never actually ran. It was a very simplified example designed to demonstrate a concept. I should have actually run it before submitting it.
I think that the answer I’m looking for is to just code “subject” on a line by itself — that will invoke the subject without testing the result, and will setup for any necessary side-effect testing, which should follow the “subject” command.

On Feb 26, 2021, at 11:54 PM, Phil Pirozhkov<EMAIL_ADDRESS>wrote:
Even calling subject(1, 2, 3) won't yield any arguments to the block.
So we seem to be safe from subject misuse.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rspec/rspec-core/pull/2876#issuecomment-787031991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK5AKPQKJ3T5TWI6PNLEDTBCQK3ANCNFSM4YHS737Q.

It's actually a good idea in general.
I mean that specific class of scenarios when variables defined with let are only called once in the example. Surely it's not possible to parameterize lets because they are memorized, and passing different arguments to them in two different calls doesn't make sense.

I’ve found myself not using “subject” very much, because of the limitations on it’s use.  It seems like every time I try it, there is at least one example (usually more than one) where I can’t use it (or using it has a smell to it), either because of the lack of parameterization you described or because it just isn’t as readable as being explicit with the action being performed.
I think that its best use is with custom classes. For example, with models I can test the relationships, etc. much more easily with “subject” (or, more concisely “it” and the implicit subject)  than with “<model_name>.new”. But when I’m testing, say, a custom method on a model, subject rarely meets my needs.
But that’s okay, it’s just one of many conventions I’m learning.figuring out. RSpec is rich enough that there is often more than one way to skin a cat, and is probably just as important to be consistent in how you do things as it is to do things in the community’s “preferred” way.

On Feb 27, 2021, at 10:38 AM, Phil Pirozhkov<EMAIL_ADDRESS>wrote:
It's actually a good idea in general.
I mean that specific class of scenarios when variables defined with let are only called once in the example. Surely it's not possible to parameterize lets because they are memorized, and passing different arguments to them in two different calls doesn't make sense.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rspec/rspec-core/pull/2876#issuecomment-787116850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK5AMOYIXVXDVRQMWS3RLTBE32TANCNFSM4YHS737Q.


Support for llava (multimodal)

Is your feature request related to a problem? Please describe.
Would love support for multimodal on UI: see https://twitter.com/jmorgan/status/1735095334601216010
Describe the solution you'd like
Drag and drop for images and upload arbitrary files
Describe alternatives you've considered
n/a
Additional context
would be an excellent open source feature to be competitive with chat gpt and other SOTA inference applications

It's already been added yesterday! Update to the latest version and try it out! Thanks!


[VH] Incorrect comparison of DCC version and rule version

Describe the bug
The current implementation is comparing the ver attribute of the DCC/hcert  with the Version attribute of the rule:
https://github.com/eu-digital-green-certificates/dgc-certlogic-android/blob/bc467afcd8375ff5f579f9cac5bcfba74b55fcd7/engine/src/main/java/dgca/verifier/app/engine/DefaultCertLogicEngine.kt#L73
That's like comparing cars and apples.
Expected behaviour
Compare ver against SchemaVersion
Steps to reproduce the issue
look at the code
Technical details
n/a
Possible Fix
Compare ver against SchemaVersion
Additional context
n/a

PR: https://github.com/eu-digital-green-certificates/dgc-certlogic-android/pull/33

LGTM!


retrain

Hello, I would like to ask how to retrain on the basis of the pre-trained model to enhance the network's resistance to rotation？How to implement？

Hi, in order to obtain the correct correspondences, you need to rotate the camera pose, also the image and depth.
You can check: https://github.com/ubc-vision/COTR/blob/bcc9ce7451443e7c8c329a51e539f6833c15695d/COTR/cameras/capture.py#L407-L418
However, this implementation will cause black borders which can be a problem...


Visual for scene vs tile extents

Some feedback from #246

It would be cool to have visuals showing scene, extent, tile, etc. and how they are related

and #250

Would be cool to see the tile extents overlaid on the scene (if that's not too hard) when you talk about breaking the raster out into many arbitrary non-overlapping regions

@metasim agree with milestone tag?

bumping to milestone 0.8.1 because it is very much nice to have but don't want to hold us up. we can also do docs releases much faster than code releases.

Here is a relatively quick way to do it.... Possibly we could ship code for this as part of the example notebooks in rf-notebook. 252_prototype.ipynb.zip
Rough outline

Select rf_crs and rf_geometry from rasterframe
toPandas
create geopandas GeoDataFrame
union all tile extents, stash away
reproject original tif to mercator with rasterio **
Add geodataframe to folium map
Add mercator image (numpy array) to folium map (use union extents from 4)

For production quality graphic we could probably just do the geometry overlay in QGIS with the original and take a screen capture at fairly high res...
For a more convincing interactive  in a notebook environment.

start with small and mercator projected raster ; spark.read.raster('/path/to/mercator.tif')
rf.select(rf_crs('pr'), rf_tile('pr')).toPandas()
geopandas GeoDataframe
Add each extent shape and tile image to map using GeoDataFrame.apply

Get extent in mercator, convert to WGS84 / EPSG4326
map.addChild(folium.GeoJson(extent_4326))
map.addChile(folium.raster_layers.ImageOverlay(image=tile.cells, bounds=extent_4326))

@courtney-whalen ☝

looking good! this is what I had in mind for that visual

IMplementing this in docs would be aided by #302

Related #342

With merge of #430 we can easily generate a (downsampled) web-mercator projected Tile [.cells ndarray] and render on folium.
May make sense to hide the code implementation of the visual.


pyOSC doesn't work with Python 3

I tried to install pyOSC with Python 3, and there are a lot of compatibility issues (using the version installed via pip + requirements.txt). We could rewrite parts of the module and include the file in the repository, or we could find another library that is more compatible with Python 2.7 and Python 3.
I'll be looking into a fix myself, but I wanted to shout this out there in case someone has insight.

Hey !
I am actually using this with python 3 :D
I've had the same issue as you had but after using the 2to3 binary on pyOSC source
there were only a few minor fix left :D
I there a real need for python 3 if so I could probably help

If anyone is interested I made a pull request here: https://github.com/ptone/pyosc/pull/7
You can clone my python3 fork of the pyOSC repo here:
https://github.com/RenaudWasTaken/pyosc/tree/python3

It seems pyOSC has not been not maintained so you should consider switching to python-osc (they support python3 and has better API). It should be fairly simple to switch but currently I'm having issues with my sd card on raspberry pi so I won't be able to send a pull request :(


Slots not working on IE11

Named slots (or slots in general) does not work on IE11 - the example at http://vuejs.org/examples/elastic-header.html renders without text.

Hmm, not really related to named slots... it's actually because of using inline <template> tags which IE doesn't support. Fixed now.


Create .gitattributes

@snc Hello. What about my pr?

Hi, what's the purpose of this PR?

Do not add unnecessary files while downloaded package via composer -> reduce package size.

OK, thanks for the explaining link.


Any working example?

I can't figure out how to use react-native-webview-crosswalk, event though I use fresh skeleton generated from RN 0.29, RN 0.30, RN 0.31. Thanks

We're using this and not having any issues - are you having any specific errors?
You do have to be careful to follow the README, rnpm won't do anything useful.

Closing, feel free to re-open if you're still having issues.


Build?

Are there any plugins that can build and minify angular seed?

Not sure what you mean. This is just a seed (i.e. a bunch of files to get your project started). You can use your regular tools (builders, bundlers, task runners, minifiers, etc).


In Graph, don't keep track of incoming nodes/edges

Hello @wylee ,
If you have some time to handle my comment, I would like to clarify something about the initial structure of incoming edges. How did that work ? I do not understand how the self._incoming got populated.. I understand that it made use of collections.defaultdict() but not at all how, by creating datas in self._data, the "reverse" was done in self._incoming.
Any cue on that ?
Thanks ;)


Milestone: Added babel and linters configurations

The following modifications were made:

Configured linters

Added babel configuration.

STATUS: INVALID CODE REVIEW REQUEST 🛑 🛑
Hi @Lancelot-SO,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You do not have a descriptive README. Kindly format your README using the template. Ensure you remove the logo (or substitute with yours) and that all sections listed on the table of contents are present (only FAQ section is optional)
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Limit registration tokens of sending multicast message

Document of MulticastMessage shows that we can send multicast message up to 500 registration tokens
However in my program show error following log when tried to send over 100 registration token
Tokens must be non-null and contain at most 100 tokens.
(My FirebaseAdmin v1.9.1)
So, which is correct number of limit registration token?

Limit was increased to 500 in v2.0.0 release.

@hiranya911  thank you so much!
I've solved this problem by upgrading library to v2


enable persistence by default now that we use dynamic persistence or gofabric8 volumes to create PV fixes #268

also properly detect if we're running against minishift fixes #280
adds a summary to the new docs if any PVCs dont bind after gofabric8 deploy

New docs to explain setting up persistence if not done automatically http://fabric8.io/guide/getStarted/persistence.html

retest this please

[merge]


Feature/titles to empty strings

Fix the alert view issue - when setting a nil title the message is bold and close to the top of the view.
The fix is returning an empty string if no title is set.

@ashavit Please take a look

thanx


Unlink facbook id from user account without oauth token

The current unlink facebook api requires a oauth token that matches the current user. With the facebook unity sdk, it pulls the user from the installed facebook app. If a user changes accounts in facebook, there's a mismatch between oauth token and current nakama user, and unlinking fails.
feature request to make facebook token optional, so we unlink based on facebook and nakama user id instead.

I agree. If we provide an unlink button, it should unlink even if the user is not logged in to that account anymore. So there could be a tokenless unlink function for this case.


Connection issue after upgrading K3s from 1.23.12 to 1.23.13 or from 1.24.6 to 1.24.7

Environmental Info:
K3s Version:

k3s version v1.24.7-rc2+k3s1 (e3c9d859)
go version go1.18.7

Node(s) CPU architecture, OS, and Version:

NAME="Red Hat Enterprise Linux"
VERSION="8.2 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.2"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.2 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.2:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.2"

Cluster Configuration:

3 servers, 1 agent

Describe the bug:

After upgrading from 1.23.12 to 1.23.13 or from 1.24.6 to 1.24.6 to 1.24.7, there is an sporadic or intermittent error message displayed after it for the command:  'kubectl get nodes,all -A -o wide' for Hardened and non-hardened Clusters
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?

AND
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get pods)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get replicationcontrollers)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get services)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get daemonsets.apps)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get deployments.apps)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get replicasets.apps)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get statefulsets.apps)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get horizontalpodautoscalers.autoscaling)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get cronjobs.batch)
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get jobs.batch)

from journalctl -eu k3s -f
Oct 20 18:12:21 ip-172-31-2-135.us-east-2.compute.internal k3s[46460]: time="2022-10-20T18:12:21Z" level=fatal msg="Failed to register service-controller handlers: services \"traefik\" is forbidden: User \"k3s-cloud-controller-manager\" cannot update resource \"services\" in API group \"\" in the namespace \"kube-system\""
Oct 20 18:12:21 ip-172-31-2-135.us-east-2.compute.internal systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 18:12:21 ip-172-31-2-135.us-east-2.compute.internal systemd[1]: k3s.service: Failed with result 'exit-code'.
Oct 20 18:12:26 ip-172-31-2-135.us-east-2.compute.internal systemd[1]: k3s.service: Service RestartSec=5s expired, scheduling restart.
Oct 20 18:12:26 ip-172-31-2-135.us-east-2.compute.internal systemd[1]: k3s.service: Scheduled restart job, restart counter is at 2.

Steps To Reproduce:

Installed K3s:

Create an HA k3s cluster 3 servers and 1 agent, with k3s version 1.24.6
Deploy some workloads, DaemonSet and deployments.
Upgrade from 1.24.6 to 1.24.7
Run the following command:  'kubectl get nodes,all -A -o wide', at some point the error will be displayed.
This is happening on all servers/

NOTE: the same behavior will happen from 1.23.12 to 1.23.13
Expected behavior:

No error message should be displayed


fix(curriculum): watch the video below typo

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

What the video above only occurs twice.
The search link you gave displayed a rainbow unicorn.
I will search again, and create a separate PR.

The search link you gave displayed a rainbow unicorn.

Weird, I'm getting 38 files with Watch the video above in that search.


Outdated documentation for local core collector run

What needs to be changed?
Update documentation/docker command for otel core collector local run
What is the name + path of the page that needs changed?
https://opentelemetry.io/docs/collector/getting-started/#docker
Additional context
Command given to run the local otel core collector is wrong, their is no go file inside anymore.
$ git clone git@github.com:open-telemetry/opentelemetry-collector.git; \
    cd opentelemetry-collector/examples; \
    go build main.go; ./main & pid1="$!";
    docker run --rm -p 13133:13133 -p 14250:14250 -p 14268:14268 \
      -p 55678-55679:55678-55679 -p 4317:4317 -p 8888:8888 -p 9411:9411 \
      -v "${PWD}/local/otel-config.yaml":/otel-local-config.yaml \
      --name otelcol otel/opentelemetry-collector \
      --config otel-local-config.yaml; \
    kill $pid1; docker stop otelcol

/cc @open-telemetry/collector-approvers @open-telemetry/collector-contrib-approvers

I think this second example should be removed from the getting started. To someone getting started, it's not entirely clear what's going on there.

I think this second example should be removed from the getting started. To someone getting started, it's not entirely clear what's going on there.

I agree it might be too complex for "Getting started". Also, the port numbers seem outdated


Service Catalog tutorial - Screenshots and other uptdates

Updated screenshots.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Error unloading processes after trying to close the application

Steps to reproduce the error:

Launch GUI
Start playing the song in demo mode
Close the application window
The song will continue to play along with logging, and the process will not be released from the Windows task manager.
Comparing changes

This problem is solved by either this code:
        current_pid = os.getpid()
        os.kill(current_pid, signal.SIGTERM)

Can try to stop processes by implementing conditions for checking stop_end and releasing resources, but I couldn't implement it correctly. If you want a pull request, you will need to clean up stop_end of the new code.

Hello, I couldn’t reproduce the issue based on your steps. Could you please provide more details? For example, your system and development environment.

After closing the application window, if you try to delete the file with the logs when the process in the task manager is running, you will not be able to, since this file is occupied by the Python processor.

Hello, I used a Hyper-V virtual machine to simulate a Windows 11 system and matched the Python and Pygame versions you’re using. However, I still couldn’t reproduce the issue. It might require you to troubleshoot it further on your end.

The problem has been resolved.


mavlink: 2020.7.7-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository mavlink to 2020.7.7-1:

upstream repository: https://github.com/mavlink/mavlink.git
release repository: https://github.com/mavlink/mavlink-gbp-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.9.7
previous version for package: 2020.6.6-1

Holding for sync.


SSL issue when running Quickstart

MacBook-Pro:Desktop$ python3 tikapi.py
2020-09-09 11:15:34 | INFO | 🥳 TikTokPy initialized. Version: 0.8.6
2020-09-09 11:15:34 | INFO | 🔧 Settings successfully loaded
2020-09-09 11:15:34 | INFO | 🛑 Cookies not found, anonymous mode
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
    self._validate_conn(conn)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
    conn.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connection.py", line 360, in connect
    ssl_context=context,
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 423, in wrap_socket
    session=session
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 870, in _create
    self.do_handshake()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1139, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tikapi.py", line 28, in <module>
    asyncio.run(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "tikapi.py", line 6, in main
    async with TikTokPy() as bot:
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tiktokpy/bot/__init__.py", line 35, in __aenter__
    await self._init_bot()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tiktokpy/bot/__init__.py", line 98, in _init_bot
    self.client: Client = await Client.create()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tiktokpy/client/__init__.py", line 101, in create
    await self.init_browser(headless=headless)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tiktokpy/client/__init__.py", line 44, in init_browser
    self.browser: Browser = await launch(**params)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/launcher.py", line 305, in launch
    return await Launcher(options, **kwargs).launch()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/launcher.py", line 119, in __init__
    download_chromium()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/chromium_downloader.py", line 146, in download_chromium
    extract_zip(download_zip(get_url()), DOWNLOADS_FOLDER / REVISION)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/chromium_downloader.py", line 85, in download_zip
    data = http.request('GET', url, preload_content=False)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/request.py", line 76, in request
    method, url, fields=fields, headers=headers, **urlopen_kw
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/request.py", line 97, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
    **response_kw
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
    **response_kw
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
    **response_kw
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /chromium-browser-snapshots/Mac/588429/chrome-mac.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))

I resolved it by doing this:
If you're using macOS go to Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) > double click on "Install Certificates.command" file.


[PE-D][Tester E] Add command does not allow to add the person into the group directly.

In the UG, it is not explicitly mentioned that the add command is able to add a user into an existing group directly. This is rather confusing as a new user, without experimentation would be able to find out about this feature and will waste effort executing 2 commands : add and edit, instead of simply adding directly. For your reference here are the screenshots :

Labels: type.DocumentationBug severity.High
original: seriouslia0/ped#3

Completed. PR #162


Restrict Vulkan and D3D12 project settings to editor or when disabled

This PR only defines Vulkan and D3D12 project settings in editor or when matched ones enabled.
This PR integrates these custom_prop_infos from D3D12 into matching GLOBAL_DEFs, probably an oversight.

What problem is this solving?

Normally we prefer all settings to be defined for all platforms but set off, so I am confused.

One issue if you disable certain settings at compile-time is that if you open a project that has modified these settings, the settings will be considered as custom settings (like obsolete settings that were removed in 4.0).

One question, should i make "integrate custom_prop_infos into GLOBAL_DEFs" as a seperate PR?


Hard-code testnet RPC URLs

Probably should have done this work in the 1.1 release branch, but I'll go ahead and create a release 1.2 branch once this is merged

@djnicholson apparently I forgot about this change. What are your thoughts on closing this PR and opening one against the release 1.2 branch?

@djnicholson apparently I forgot about this change. What are your thoughts on closing this PR and opening one against the release 1.2 branch?

sorry I missed this comment - will prepare that PR now


Custom loggers not viewable in the logger viewer

PHP Version
7.4
Shopware Version
<IP_ADDRESS>
Actual behaviour
I used the logger factory to create a custom logger to log plugin data.
The data is saved within a new .log file but the log viewer doesnt recognize my custom logger key and fails.

Expected behaviour
The log is read and shown
Steps to Reproduce?
Create your own logger and log something.

my-plugin.logger

can you send me one row

here are a few rows:
[2021-08-13T05:49:36.781010+00:00] dvsn.saved-cart.INFO: saved carts found: 1 [] []
[2021-08-13T05:49:36.781071+00:00] dvsn.saved-cart.INFO: removing saved carts [] []
[2021-08-13T05:49:36.810118+00:00] dvsn.saved-cart.INFO: saved carts removed [] []
[2021-08-13T05:49:36.810204+00:00] dvsn.saved-cart.INFO: stopping dvsn.saved-cart.cleanup task [] []


Database Reconnect

When Aiven is switching the Database due to automatic maintenance one seems not to be able to reconnect properly.
Also, the server does not crash, which would trigger a restart and thus a reconnect.
Currently it just loses the database-connection and gets unresponsive.

I’ll look into that.
Meanwhile:

A pg.Pool will handle this for you, even if you never want more than one client.

https://github.com/brianc/node-postgres/issues/1558

Okey, just another hint for that.
In the logs I can see some errors like this:
Error: connect ETIMEDOUT xx.xxx.xx.xxx:12345
However, Aiven is changing the IP-Address with that maintenance:

NOTE: The DNS name of the service will remain the same while maintenance is being performed, but the underlying IP address will change.

Maybe pg.Pool is not trying to connect to the DNS-Name once resolved and keeps trying to connect to the IP-Address resolved at some point before.

@dustin-H what should be the expected behavior? Trying to reconnect or exit the entire app? Since the state after a lost connection is “undefined”, I would prefer to just exit the entire program (and restart).

Yes, I'd also prefer just stopping the process.

We need to check, whether this is still a problem when using Typeorm or whether they can handle it.

This is still the case with Typeorm.


修正配置中心Zookeeper.md文档中的两处描述存在的问题 #506

What is the purpose of the change
Issue: #506
Brief changelog
Change Zookeeper.md

LGTM


ENYO-579: Marquee takes big initiating time on _marquee_detectAlignment

Issue:
The detect alignment takes long time on creation time.
Fix:
Skip detect alignment when enyo.Control.prototype.rtl is false, so that we can skip detect alignment on non RTL locale.
(This is short term fix.)
DCO-1.1-Signed-Off-By: Kunmyon Choi<EMAIL_ADDRESS>

@KunmyonChoi  the Jira this is tied to is closed.  Should this PR be closed? Thanks.

Closing per this issue resolved in https://github.com/enyojs/moonstone/pull/1803.


Publish on OpenVSX as well to enable VSCodium Support

As noted here:
https://github.com/VSCodium/vscodium/issues/337

Please note that VSCodium now sources its extensions from https://open-vsx.org (the open-source vendor-neutral vscode extensions registry) because Microsoft's own marketplace is closed-source and has a restrictive proprietary license.
And, while most common/popular extensions are already available on OpenVSX, it's still very new and a few extensions may be missing. If that's the case, you can:
politely ask the extension maintainers to consider publishing to OpenVSX (they only need to run one command: npx ovsx publish, without installing anything), or
add it to OpenVSX's own automated publishing CI for open-source extensions: https://github.com/open-vsx/publish-extensions

Would it be possible to publish to OpenVSX to enable use of this extension on VSCodium as well?

In case it helps, I've submitted ctf0.macros (a better-maintained fork of this project) to Open VSX's publishing CI (open-vsx/publish-extensions#198). It'll be published there within a couple of days, but if you'd like to use the extension right now, you can run either
git clone https://github.com/ctf0/macros.git --depth 1
cd macros
npx vsce package
code --install-extension macros-0.0.4.vsix

or
git clone https://github.com/geddski/macros.git --depth 1
cd macros
npm install
npx vsce package
code --install-extension macros-1.2.0.vsix

and you'll be good to go. 👍🏼 You won't be notified about any extension updates this way, but this'll get you going till it makes it into Open VSX.

Thanks! That helps :D


[Problem]: Tag setting for docker image failed

Describe what is not working with the template or is unclear in the documentation

https://github.com/jhudsl/DaSL_Course_Template_Bookdown/runs/4094938612?check_suite_focus=true
Please link to the specific course repository you are working on
It may not like the decimals? IDK, need to look into it.

This is fixed.


AzureStack InfrastructureInsights Admin Specification

The specification has been regenerated.
PR information

[X] The title of the PR is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[X] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[X] If applicable, the PR references the bug/issue that it fixes.
[X] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[X] I have read the contribution guidelines.
[X] My spec meets the review criteria:

[X] The spec conforms to the Swagger 2.0 specification.
[X] The spec follows the guidelines described in the Swagger checklist document.
[X] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@mcardosos This is not a stable API, not sure why it is marked as such.  Should I change the folder to preview?

@mcardosos  Moved to preview, some of your responses have been removed but I responded.

@mcardosos Is there anything else I should do?

This looks good. Last question is on the response status codes.

@mcardosos Everything look good?

@mcardosos I have made the change you have suggested, please let me know if there is anything else.

@mcardosos What do you mean?  What we have in the spec is what is supported by the FRP currently.  At least that is what the PM and some of the developers have told me.


TypeError: crypto.createHmac is not a function in angular4

Versions
@angular/cli: 1.4.9
node: 7.0.0
os: darwin x64
@angular/animations: 4.4.6
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.9
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4

Observed behavior
I am importing ethereumjs-wallet in angular4,
import EthereumWallet from 'ethereumjs-wallet';
var wallet = EthereumWallet.generate();
const jsV3 = wallet.toV3(passwd);
the code inside the library shown as below
var privKey = crypto.randomBytes(32)

throws out an error

ERROR Error: Uncaught (in promise): TypeError: crypto.randomBytes is not a function TypeError: crypto.randomBytes is not a function TypeError: crypto.randomBytes is not a function at Function.webpackJsonp.../../../../ethereumjs-wallet/index.js.Wallet.generate

The same problem applies to
  var mnemonic = bip39.generateMnemonic();
  var privateKey = hdkey.fromMasterSeed(mnemonic)._hdkey._privateKey
  const wallet = EthereumWallet.fromPrivateKey(privateKey)

TradePageComponent.html:1 ERROR TypeError: crypto.createHmac is not a function
at Function.webpackJsonp.../../../../hdkey/lib/hdkey.js.HDKey.fromMasterSeed
(hdkey.js:162) at Function.webpackJsonp.../../../../ethereumjs-
wallet/hdkey.js.EthereumHDKey.fromMasterSeed (hdkey.js:17)

Desired behavior
I guess the problem is due to webpack config not setup properly, how would I config webpack with crypto library?

This is a duplicate of this issue: https://github.com/angular/angular-cli/issues/1548.  For details on why this is not configured, please see this comment: https://github.com/angular/angular-cli/issues/1548#issuecomment-286151056.


mac mini e2e stress test

🌮 Taqueria PR
closes #1808
🪁 Description
mac mini e2e stress test
🪂 Pre-Merge Checklist (Definition of Done)
🚦 Required to merge:

[x ] ⛱ I have completed this PR template in full and updated the title appropriately
[ ] ⛵ My code builds cleanly, and I have manually tested the changes
[ ] 🏄♂ Another team member has built this branch and done manual testing on the change
[ ] 🏖 New and existing unit tests pass locally and in CI
[ ] 🔱 The test plan has been implemented and verified by an SDET
[ ] 🦀 Automated tests have been written and added to this PR
[ ] 🐬 I have commented my code, particularly in hard-to-understand areas
[ ] 🤿 Corresponding changes have been made to all documentation
[ ] 🐚 Required changes to the VScE have been made
[ ] 🪸 Required updates to scaffolds have been made
[ ] 🚢 The release checklist has been completed

🛩 Summary of Changes
mac mini e2e stress test
🎢 Test Plan
mac mini e2e stress test
🛸 Type of Change

[x ] 🧽 Chore ➾
[ ] 🛠 Fix ➾
[ ] ✨ Feature ➾
[ ] 👷 Refactor ➾
[ ] 🧪 Pre-Release ➾
[ ] 🚀 Release ➾

this  experiment is completed


feat: Improve managed node group bootstrap

PR o'clock
Description
The managed node group bootstrap pattern has been modified to use the environment variables already defined in the bootstrap.sh script sourced from a new /etc/profile.d/bootstrap.sh file. The script still needs to be modified to use bootstrap.sh but this pattern can support additional bootstrap options not currently directly supported and other patterns (such as dynamic labels from instance metadata).
I've enabled support for managed node group --container-runtime via container_runtime and --use-max-pods via use_max_pods (use max pods can already be set via extra_bootstrap_args for un-managed node groups).
Checklist

[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

@ArchiFleKs

@stevehipwell I've never tried it this way, but it seems way cleaner :)  Did you manage to test the extra args also (like taint etc) ?

@ArchiFleKs I think native taint support has been merged ready to be released, which other arguments were you thinking of? I've tested an additional pre_userdata that sets the subnet-id in the /etc/profile.d/bootstrap.sh file and uses it in a custom label passed in to the module via kubelet_extra_args = "--node-labels=subnet=$${BOOTSTRAP_SUBNET_ID}".

Yes you're right. Nice.

@barryib could you take a look this would be a good to release with https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1424.

@barryib could you take a look a this? The pattern can be re-used with the new containerd support (via CONTAINER_RUNTIME="containerd") and I'd be happy to add this to the PR if you'd like.

@barryib I've added support for --container-runtime now as I'd like to use this. Could you take a look at this PR?

This PR is very useful to use new feature in VPC CNI 1.9

This PR is very useful to use new max pod feature in VPC CNI 1.9

@ArchiFleKs that's one of the things I'm already using this pattern for, but it's not only useful for the new prefix behaviour but also the existing custom networking.

This PR is very useful to use new max pod feature in VPC CNI 1.9

@ArchiFleKs that's one of the things I'm already using this pattern for, but it's not only useful for the new prefix behaviour but also the existing custom networking.

Been using it for a couple of weeks with a fork on ARM micro with new network prefix and containerd, working like a charm, would love to see this merged

@bryantbiggs @daroga0002 @antonbabenko could you take another look at this and the comments above? I really think that this PR makes the managed node group module more generic while supporting important parameters in a strongly typed way.

Closed in favour of https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1577.


Game crashing with vs dave and bambi charts

Describe your bug here.
look at the title because it's self explainatory
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No, i just ported vs dave and bambi to psych engine (using the mods folder)

I have this problem too. I feel like it's because it's litterally one section.

I mean, what other reason would you have for this?

no

no

the mod port worked in 0.4.2. some change in 0.5 probably causes charts that are only built on a single section like that to break.
either way, it's an issue the person who made the port is gonna have to fix themselves cause those charts are fucked anyways

I can't help on charts from other mods, and i dislike helping on mod ports.

Wait a minute, Why porting to Psych 0.4.2 then to 0.5 works ?

Nevermind