<EMAIL_ADDRESS>decompress error

WingetUI cannot be installed, here is the log and error:
PS C:\Users\user> scoop install wingetui
Installing 'innounp' (0.50) [64bit] from 'main' bucket
innounp050.rar (138.3 KB) [===================================================================================] 100%
Checking hash of innounp050.rar ... ok.
Extracting innounp050.rar ... done.
Linking ~\scoop\apps\innounp\current => ~\scoop\apps\innounp\0.50
Creating shim for 'innounp'.
'innounp' (0.50) was installed successfully!
Installing 'wingetui' (3.1.1) [64bit] from 'extras' bucket
WingetUI.Installer.exe (51.2 MB) [============================================================================] 100%
Checking hash of WingetUI.Installer.exe ... ok.
Extracting WingetUI.Installer.exe ... ERROR Exit code was 1!
Failed to extract files from C:\Users\user\scoop\apps\wingetui\3.1.1\WingetUI.Installer.exe.
Log file:
  ~\scoop\apps\wingetui\3.1.1\innounp.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=wingetui%403.1.1%3a+decompress+error

PS C:\Users\user> cat   ~\scoop\apps\wingetui\3.1.1\innounp.log
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.

PS C:\Users\user>

Duplicates #13709.


Point to the last version of AeroGear.

Hi,
Currently if we trying to install latest FH.SDK from nuget on the latest Xamarin.iOS version (11.+) we will got installing error.

It's because NuGet by default resolve the lowest major.minor version within the range allowed. (AeroGear 0.1.1 in our case).
With AeroGear 0.1.2  FH.SDK installed correctly as expected.
Thanks.

Shows that this lib is outdated. Following the error which is the root cause of the build failed.
" C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(582,2): error : Could not find android.jar for API Level 16. This means the Android SDK platform for API Level 16 is not installed. Either install it in the Android SDK Manager"

For some reason the android sdk is not installed correctly. But this change is small and it looks fine.

@wei-lee should we not update the API SDK? I think now we are using 24.

@camilamacedo86 we could, but it is not required

I created an issue into the for that: https://github.com/feedhenry/fh-dotnet-sdk/issues/67 anyway.


Export requirements.txt GitHub action fails if no changes

If there are no changes, there's nothing to commit.
Run git config --local user.email<EMAIL_ADDRESS>HEAD detached at pull/172/merge
nothing to commit, working tree clean
Error: Process completed with exit code 1.

It's also not worth running on pull-requests. Just pushes is enough.

Fixed in 8f242d9ed537197fc08be69cbdce87894810476f


Exporter add CLT tests that runs nightly and compare output

Cause we can change show status output we need to keep metrics up to date. The best way to manage it - add CLT test

Done in https://github.com/manticoresoftware/manticoresearch-prometheus/commit/9aba8a446105c558d9a883f5eb929c534669a76c


Throwing functions should return never type

🔍 Search Terms
noreturn, bottom type
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
function f() {
    throw 42;
}

f() should have never return type instead of void.
function c() {
    f();
    return 42;
}

c() should have never return type instead of number. return 42; should be marked as a line that never executes.
📃 Motivating Example
function t() {throw new Error('Method not implemented.');}

readDirectory(): Thenable<[string, FileType][]> {
    throw new Error('Method not implemented.');
    // throw can't be replaced with `t();`, but it should be.
}

Related closed issues: #7538, #3076
💻 Use Cases
just imagine

Duplicate of https://github.com/microsoft/TypeScript/issues/16608#issuecomment-309327984.

Wait! Typescript is already one third of a way there!
function f(): never {
    throw 42;
}

function c() {
    f()
    return 3;
}

When f() is marked never explicitly, return 3; is grayed out.

thanks @MartinJohns

When f() is marked never explicitly, return 3; is grayed out.

That's intentional - it's a known limitation that a never return type must be explicitly marked in the source text to affect control flow analysis.  Even if TypeScript could infer never returns automatically, it wouldn't affect unreachable code detection so would be of questionable utility.


Integrating Reverse Beta Estimation Procedure

In this PR, the main changes are

The reverse beta estimation Procedure has been added to the QPU Beta Estimation notebook.  Here the DWAVE QPU control parameters are scaled by the effective temperature to find optimal beta. Beta convergence and convergence of the distributions was observed for the full range (regular and extended) of the QPU control parameters at around $\beta_{eff}^{*}\in(9.5,10.5)$  (still this needs more analysis).
New functions have been added to save model parameters at each run. Plots can now also be saved and GIFs can be created for convenience. Users can now recover parameters and graphs from previous runs and use them for further analysis.
Minor bugs have been fixed. The bug fixes are stated in the relevant commits.
Some plots and a GIF have been added for the case where $J\in [-1,1]$ following a $N(0,2)$ distribution while $h\in [-2,2]$ and follows a Uniform distribution

Awesome work!

Thanks!


Windows version 2.3.1 broke profile switching functionality

Since the latest auto update of the app (currently v2.3.1), profile switching no longer works. Additionally, it is impossible to change the profile index using the UI for new or existing rules as the selection control no longer works.

You have to update Wootility and your firmware

@ShayBox didnt wanna create a new thread, but u know if this works on the new v4.6.12-beta? Or any updates needed?

I haven't tested it, and the Windows build isn't available because of the signing key, but I don't see anything in the changelog that would cause an issue. It might not be able to pull device info from Wootility if that's changed, but as long as you don't reset your WPS config, it should continue using the previous info.


Fix SQL injection at function source tiles url

Since the end user controls the query json that is
passed to postgres, it is possible to perform
a SQL injection on the function source tiles endpoint.
By preparing the query we avoid such issues. However
we still need to sanitize by hand the schema and function
parameters since they can't be a part of the prepared query.
Using prepared queries also forces us to use the right
data types when passing parameters to postgres. As such,
the coordinates system that were using unsigned
integers uses signed integers since they map directly
to postgres types.
Thanks to Frédéric Rodrigo for discovering this issue.
Before merging this PR, there are a few things to consider :

Does using i32 instead of u32 leads to range issues ?
What to do about this cast :  let res = (max * 2.0) / f64::from(2_i32.pow(z as u32));

Once this PR is in an acceptable state, we should consider fixing the other endpoints.

@stepankuzmin Can you review this please ?

Hey @gbip! Thanks for the PR, it looks awesome. But could you please run rustfmt on this?

Sure !

Thanks! Good job 👍


Monitoring expired domain when deleted

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I'll like to monitor a domain that is expired but forgot to renew and has passed redemption period. Is it possible to monitor such domain when it's available to the public?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.21.3
💻 Operating System and Arch
Ubuntu 222.04
🌐 Browser
Brave
🐋 Docker Version
No response
🟩 NodeJS Version
No response

Certificate monitoring is available if this is what you are referring to.
If you are literally referring to domain expiry monitors:
I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/944
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^

@tobsowo Currently this is not supported, and to be honest I don't think it is really something that will ever be supported as it seems quite out of scope for this project and it seems like quite a niche requirement.
@CommanderStorm not a duplicate of #944 as the domain has already expired and we are looking for if the domain has been released back to public sale yet.

@CommanderStorm not a duplicate of #944 as the domain has already expired and we are looking for if the domain has been released back to public sale yet.

If you monitor for domain expiry = 1 day (or smaller) that is a really good indicator of the domain expiring tomorrow
=> This can/schould be handled via the domain monitor proposed in the mentioned issue imo

@tobsowo
Only you or Louis can close this issue ^^
(ping, given that you gave a 👍🏻 on my last comment)

If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?

Thanks ❤


How to change the language of api?

how can i change the language of results?
for exemple , i need to the return of getResultsById in pt-br, this is configurable?
thx

Hi, currently you must sent the language code in the options parameter, e.g.:
theMovieDb.discover.getMovies({'language': 'pt-BR'}, function(data){ console.log(data); }, function(data){ console.log(data); })
this could be tedious, so i will add a config for that.

thx

Added as configuration in common, check release 3.0.1


Create DiscoveryServiceAvroConnector

Create DiscoveryServiceAvroConnector  to connect to a discovery service to deal with Avro

Will do this with the stewardship/discovery work


Update hardpoint.json

Added attack fields and images. Some images are from the wiki and another from infinitearenas.com. Unsure if you want "unofficial" image locations.

Closing due to inactivity


Command not found

Truffle install seems to work just fine, but the unboxing command is not responding, any ideas?

Truffle v5.0.7 (core: 5.0.7)
Solidity v0.5.0 (solc-js)
Node v8.15.0
Try out with this Latest Versions

truffle unbox pet-shop
truffle: command not found
i face these error when i write these command


Datatable server-side with individual search

How i can use yajra laravel-datatables if datatable server-side with individual search?
can you help me? thanks for response.

@donny26utama see this demo for some ref:
https://datatables.yajrabox.com/eloquent/post-column-search
https://datatables.yajrabox.com/services/users-with-footer


python3Packages.conda: fix build failure

Description of changes

I noticed it fails to build conda.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build python3Packages.conda

I noticed it fails to build conda.

Yes but only on aarch64-darwin? (from https://zh.fail/failed/all.html)

It was actually failing to build for me on my Linux x86 64 Linux.
I’ll check out the aarch64 Darwin build failures
On Sun, Jul 14, 2024, at 11:55 AM, Aleksana wrote:

I noticed it fails to build conda.

Yes but only on aarch64-darwin? (from https://zh.fail/failed/all.html)
—
Reply to this email directly, view it on GitHub https://github.com/NixOS/nixpkgs/pull/326680#issuecomment-2227394212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACO63BKKQXCMBMOSH7Q3NLZMKNORAVCNFSM6AAAAABKZYBEQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGM4TIMRRGI.
You are receiving this because you authored the thread.Message ID: @.***>

@ofborg build python3Packages.conda

Where can I find the output of that command? I'm wondering if I should still worry about checking aarch64-darwin if github is reporting that it is building correctlt.

It's in GitHub CI check list. Now you can view it in "view details"


Missing command to activate virtual environment in Windows

Describe the issue:
Run source venv/bin/activate displays that the file or directory does not exist on windows:

Suggestions:
Add a command to activate the virtual environment on Windows.
Environment:

azd version: 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)
OS: Windows11

Expected Behavior:
Successfully activated the virtual environment on windows.
@marlenezw and @hemarina for notification.

Thanks this issue was addressed in the PR mentioned above

In the local environment, only the commands for the Linux environment are written. It is recommended to synchronize the changes in condespace to the local environment.


Update link pointing to how to use the optional Streams module

This fix already landed on next but since folks are apparently still looking at rewrite it doesn't hurt to fix it there too. Thanks!

I think direction to rewrite comes from https://www.npmjs.com/package/mithril-codemods at least in my case.

@tivac tivac/mithril-codemods#27 (Welcome.)

There's likely others to update, too.


Prefetch is (incorrectly) enabled for SELECT statements in exec

https://github.com/mattn/go-oci8/blob/master/statement.go#L661
Enables prefetch when a select statement is passed to Exec. This fails with ORA-16196 since the Exec flow does not setup anywhere to load rows.
Exec is explicitly not for row returning calls but enabling exec for select statements can be helpful even without returning any rows. When the statement type is OCI_STMT_SELECT OCIStmtExecute()  should be called with iter set to 0. You can query this information via a method like
func (s *OCI8Stmt) Type() C.ub2 {
    r := C.WrapOCIAttrGetUb2(s.s, C.OCI_HTYPE_STMT, C.OCI_ATTR_STMT_TYPE, (*C.OCIError)(s.c.err))
    if r.rv != C.OCI_SUCCESS {
        return C.OCI_STMT_UNKNOWN
   }
   return r.num
}

This is how oracle's odpi library works.

Allowing users to issue any valid SQL into Exec is helpful from an interface perspective. Users need not worry about some SQL failing in Exec and only working in Query and visa versa.
In my case I care only to check that a SQL can execute without caring for its result.
I also find it very hard to believe oracle does not have SQL callable functions without side-effects though they may be rare.

I hear what you are saying. I look at this another way, if select statement is being done in exec that means something went wrong and it should error.
I would leave it as is but @mattn makes the final call.

I don't understand what is really problem.

The problem is that if you execute
db.Exec("Select 1 from dual")

An error is returned (ORA-16196). The equivalent Exec call in mysql, postgres, and even your own go-sqlite3 driver returns successfully.
I think that Exec when called with a SELECT statement should return successfully if the query executes successfully, just like the other go drivers.
The rest of the OP is a possible solution to the ORA-16196 error which is based on looking at Oracle's ODPI library.

@mattn So can we close this?

@mattn Close this?


xp shield missing on 404 page #521

also removed unused css
and added 404.tsx page styles
and fixed urls missing getUrl in MovieDetails.tsx

We'll refactor that for react context... someday ;)

We'll refactor that to react context... someday ;)


⚠ Home NAS has degraded performance

In ac021fb, Home NAS ($MY_NAS_URL) experienced degraded performance:

HTTP code: 200
Response time: 9639 ms

Resolved: Home NAS performance has improved in 9af96ec.


v03.5.0: Too many topic peers

Description
There are only 21 peers

But it showed a lot of topic peers

Quick debug

there are too many connected peers too

looks like there are some peers disconnected without calling GossipSub.removePeer() properly
Expected:

It seems that this library relies on the registrar properly registering a peer to this protocol in order for both the onPeerDisconnected and onPeerConnected routines to be triggered.
So if we get an inbound-negotiated stream with a peer and libp2p doesn't successfully get a response from the identify protocol, then the registrar won't call onPeerDisconnected for that peer.
Likewise, if we connect to a peer, but don't get a response from the identify protocol, then we won't initiate a gossipsub stream with that peer (unless that peer opens a gossipsub stream).
I think for the purposes of networks that do not necessarily support the identify protocol (eg: ethereum network) we need the following:

A more robust way to ensure that all closed connections with peers result in proper cleanup in the gossipsub router (rather than assume the registrar will trigger cleanup on its own)
eg:

// in gossipsub
connectionManager.addEventListener('peer:disconnect', this.onPeerDisconnected.bind(this))

A way to pass a negotiated gossip stream to the router (rather than assume the registrar will open one on its own)
eg:

// in the application
const stream = await libp2p.dialProtocol(peerId, gossipsubProtocol)
gossip.addOutboundStream(peerId, stream)

@wemeetagain I don't see this issue happen in the current version of lodestar, do you know how does this work earlier (pre v3.x)?

old version of libp2p would trigger onDisconnect to all peers
https://github.com/libp2p/js-libp2p/blob/v0.36.2/src/registrar.js#L54
https://github.com/libp2p/js-libp2p/blob/v0.36.2/src/registrar.js#L122

Current version checks the protoBook, only calls onDisconnect for protocols that are registered to the peer
https://github.com/libp2p/js-libp2p/blob/master/src/registrar.ts#L152

this issue could be the reason why memory keeps growing since the pushable inside OutboundStream stores a lot of internal buffers inside, see https://github.com/ChainSafe/js-libp2p-gossipsub/pull/314

resolved in latest libp2p + gossipsub


Check for empty set bug fix in einsum

Bug fix when checking for empty set when using lib.einsum. I am still working on understanding the einsum functionality better in lib.einsum but this fix seems to speed up some of my calculations. Thanks to @tberkel for helpful explanations.

This seems to have caused test failures.

I was able to reproduce a segmentation fault on my local machine in "pyscf/lib/gto/test/test_ecp.py", not sure whether this is it, still investigating.

I was able to reproduce a segmentation fault on my local machine in "pyscf/lib/gto/test/test_ecp.py", not sure whether this is it, still investigating.

May be caused by the size of pre-allocated buffer

Thank you!


The namespace list header icon should align with the namespace toggle button icon

This is a...

[X] Enhacement
[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Documentation issue or request

The problem
Currently, the namespace list header icon is not consist with the namespace toggle button icon.
Screenshot

Expected behavior
It is better to change the namespace list header icon to '' </>'' .

@igarashitm Hi Tomo, please help to review the above behaviour. Thank you~!

I think I'm not so good to comment for this TBH :-)
So yeah, </> icon seems to be expressing it is related to XML, so using it would be fine. On the other hand, the current icon seems to be expressing it is table. Yes it's a table view showing a list of namespaces. Hmm. I'm fine with either way. So if it looks confising for you, let's change it to </>.

@igarashitm From UI espect,  we can either remove the icon in namespace table, or change it to</>. This is just a small detail to be consistent :)

Changed icon to match toolbar (fa-code):


Documentation issue

Documentation provided on Medium is not complete. It seems lots of media are not shown. I couldn't find any archived version on web.archive.org as well. If you have the documentation elsewhere, please share.

What kind of document do you need? I can help you if you provide more details.

What kind of document do you need? I can help you if you provide more details.

I just informed you about the problem in the article linked in the README file. If you can fix its issues, it would be fine.
Beside that, I am working on the bot to make it a bit better (hopefully). You may check my fork. If you don't mind, I send a PR after I make sure the bot still works.
Will open new issue for that if you are open to it.

I just informed you about the problem in the article linked in the README file. If you can fix its issues, it would be fine.
Beside that, I am working on the bot to make it a bit better (hopefully). You may check my fork. If you don't mind, I send a PR after I make sure the bot still works.
Will open new issue for that if you are open to it.

سلام چطور میشه با شما تماس گرفت

سلام وقت بخیر چطور میشه با شما تماس گرفت


Vercel 빌드 중 에러.

https://github.com/currenjin/site-for-developers/pull/35 이 PR에서 사이트맵을 추가했었습니다.
그 과정에서 react-router-sitemap이라는 의존성을 설치했는데요,
해당 PR 이후로 Vercel에서 해당 오류와 함께 빌드가 되지 않습니다.

[23:25:14.470] Running build in Washington, D.C., USA (East) – iad1
[23:25:14.629] Cloning github.com/rivercory/site-for-developers (Branch: website, Commit: 55176ed)
[23:25:14.882] Cloning completed: 256.914ms
[23:25:20.761] Restored build cache
[23:25:20.851] Running "vercel build"
[23:25:21.346] Vercel CLI 33.5.4
[23:25:22.903] Installing dependencies...
[23:25:30.688] npm notice
[23:25:30.688] npm notice New minor version of npm available! 10.2.4 -> 10.5.0
[23:25:30.688] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.0
[23:25:30.688] npm notice Run npm install -g<EMAIL_ADDRESS>to update!
[23:25:30.689] npm notice
[23:25:30.690] npm ERR! code ERESOLVE
[23:25:30.692] npm ERR! ERESOLVE could not resolve
[23:25:30.693] npm ERR!
[23:25:30.693] npm ERR! While resolving<EMAIL_ADDRESS>[23:25:30.693] npm ERR! Found<EMAIL_ADDRESS>[23:25:30.693] npm ERR! node_modules/react
[23:25:30.693] npm ERR<EMAIL_ADDRESS>from the root project
[23:25:30.693] npm ERR!   peer react@"^18" from<EMAIL_ADDRESS>[23:25:30.694] npm ERR!   node_modules/flowbite-react
[23:25:30.694] npm ERR<EMAIL_ADDRESS>from the root project
[23:25:30.694] npm ERR!   13 more (react-icons, next-contentlayer, react-dom, react-icons, ...)
[23:25:30.694] npm ERR!
[23:25:30.694] npm ERR! Could not resolve dependency:
[23:25:30.694] npm ERR! peer<EMAIL_ADDRESS>|| ^16.0.0" from<EMAIL_ADDRESS>[23:25:30.694] npm ERR! node_modules/react-router-sitemap
[23:25:30.694] npm ERR<EMAIL_ADDRESS>from the root project
[23:25:30.695] npm ERR!
[23:25:30.695] npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>[23:25:30.695] npm ERR! node_modules/react
[23:25:30.695] npm ERR!   peer<EMAIL_ADDRESS>|| ^16.0.0" from<EMAIL_ADDRESS>[23:25:30.695] npm ERR!   node_modules/react-router-sitemap
[23:25:30.695] npm ERR<EMAIL_ADDRESS>from the root project
[23:25:30.696] npm ERR!
[23:25:30.696] npm ERR! Fix the upstream dependency conflict, or retry
[23:25:30.696] npm ERR! this command with --force or --legacy-peer-deps
[23:25:30.696] npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
[23:25:30.696] npm ERR!
[23:25:30.696] npm ERR!
[23:25:30.696] npm ERR! For a full report see:
[23:25:30.696] npm ERR! /vercel/.npm/_logs/2024-03-09T14_25_23_515Z-eresolve-report.txt
[23:25:30.697]
[23:25:30.698] npm ERR!

React 라이브러리 버전을 react-router-sitemap에서 지원하지 않아서 생긴 오류였습니다.
install 명령어에 --force를 넣어 해결했습니다!


Not working on RPi Zero

Hello,
I try to install on a RPi Zero (ARMv6).
If I download mavlink2rest-armv7-unknown-linux-musleabihf file (ARMv7) I got an error : Segmentation fault
If I try to install it with cargo I got this error (same error using sudo) :
error: failed to compile `mavlink2rest v0.7.3`, intermediate artifacts can be found at `/tmp/cargo-installK7vrEl`

Caused by:  failed to parse lock file at: /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mavlink2rest-0.7.3/Cargo.lock

Caused by:  invalid serialized PackageId for key `package.dependencies`

I tried to remove this file and execute again, but I got a lot of compilation error

error[E0658]:` use of unstable library feature 'alloc': this library is unlikely to be stabilized in its current form or name (see issue #27783)
  --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/lib.rs:41:1
   |
41 | extern crate alloc;
   | ^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
 --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:5:23
  |
5 | use core::mem::{self, MaybeUninit};
  |                       ^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2312:20
     |
2312 |     rules_storage: MaybeUninit<[(Register, RegisterRule<R>); MAX_RULES]>,
     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2329:28
     |
2329 |             rules_storage: MaybeUninit::uninit(),
     |                            ^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `uninit` found for type `core::mem::MaybeUninit<_>` in the current scope
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2329:41
     |
2329 |             rules_storage: MaybeUninit::uninit(),
     |                            -------------^^^^^^
     |                            |
     |                            function or associated item not found in `core::mem::MaybeUninit<_>`

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2366:60
     |
2366 |             core::slice::from_raw_parts(self.rules_storage.as_ptr() as *const _, self.rules_len)
     |                                                            ^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2374:36
     |
2374 |                 self.rules_storage.as_mut_ptr() as *mut _,
     |                                    ^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2405:50
     |
2405 |                     let ptr = self.rules_storage.as_mut_ptr() as *mut (Register, RegisterRule<R>);
     |                                                  ^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
    --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/gimli-0.21.0/src/read/cfi.rs:2446:42
     |
2446 |             let ptr = self.rules_storage.as_mut_ptr() as *mut (Register, RegisterRule<R>);
     |                                          ^^^^^^^^^^

error: aborting due to 9 previous errors

Some errors occurred: E0599, E0658.
For more information about an error, try `rustc --explain E0599`.
error: failed to compile `mavlink2rest v0.7.3`, intermediate artifacts can be found at `/tmp/cargo-installeZYCIG`

Caused by:
  Could not compile `gimli`.

Hi @Dronotique, thanks for opening this issue.
I can test it during the weekend, but I have created a armv6 build in my continuous CI system, you can check the binaries available here: https://github.com/patrickelectric/mavlink2rest/releases/tag/continuous
The mavlink2rest-arm-unknown-linux-musleabihf is armv6, let me know if it works for you.

Also, this errors messages are a bit weird, how did you install cargo ?
I recommend to use this: https://rustup.rs/
It appears that you are using an old version, rust updates quickly and debian based distros are really slow to keep track, the recommend way to install Rust is via rustup.

Hello,
I'm in vacancy for one week. I'll test the build when I came back work.
I installés cargo with Apt, then it should bé the probem (I'm famillar with cargo ans rust)
Thank you very much!

@Dronotique Ok, let me know how it goes, I'll be out for vacation from july 10 until july 21, we are probably going to be out of sync.
Hopefully this armv6 release will fix your problem.

I'll try when I come back.
I'll get you in touch

Hi @Dronotique any update ?

Sorry, I had a lot of work and now I'm mooving UP.
This task IS in m'y next todo list.
I think I will have a try next week

great, thanks for the update!

No problem, let me know if any feature is necessary or any bug need to be fixed, be free to open new issues.


Json a bit odd with list property

I'm not sure if this is correct or not, if you have a model that has a property that is a List it produces the below JSON which I think is correct but in the swagger-ui it shows the below. I guess it appears like that as the Participant type and its properties are not included in the raw JSON. Maybe if it did it wouldnt appear odd in the UI. Thoughts?
properties: {
  Participants: {
    type: "array",
    items: {
      $ref: "Participant"
    },
  }
},

Closing due to age. If this problem continues to occur (I believe it should be fixed) with the latest version then please open a new issue.
Thanks!


HTTP example issues - no custom spans

Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
Dependencies from the http example of this repo
    "@opentelemetry/api": "^1.0.0-rc.0",
    "@opentelemetry/exporter-jaeger": "^0.18.2",
    "@opentelemetry/exporter-zipkin": "^0.18.2",
    "@opentelemetry/instrumentation": "^0.18.2",
    "@opentelemetry/instrumentation-http": "^0.18.2",
    "@opentelemetry/node": "^0.18.2",
    "@opentelemetry/tracing": "^0.18.2"

What version of Node are you using?
v14.15.4
Please provide the code you used to setup the OpenTelemetry SDK
server.js
What did you do?
Jaeger UI dashboard running on http://localhost:16686
npm install from the folder
npm run jaeger:server
npm run jaeger:client
What did you expect to see?
Expected to see makeRequest, handleRequest custom spans as per screenshot from the example
What did you see instead?
There are two issues that I can see:

Cannot read property 'context' of undefined on line examples/http/server.js:25
After commenting console.log(`traceid: ${currentSpan.context().traceId}`); that throws an error, I can see some tracing info, but no custom SPANs

Looks like this issue appears only when using api 1.0.0-rc.0

https://www.npmjs.com/package/@opentelemetry/instrumentation-http depends on version 0.18.1 of the API. https://github.com/open-telemetry/opentelemetry-js/blob/v0.18.2/packages/opentelemetry-instrumentation-http/package.json#L72
A version of core has not been released which is using the API RC. I will start working on a release PR for that now.

Understood, looking forward to try it out.
Then, for the future seekers for the answer , I've ended up using those versions:
   "@opentelemetry/api": "^0.17.0",
    "@opentelemetry/exporter-jaeger": "^0.17.0",
    "@opentelemetry/exporter-zipkin": "^0.17.0",
    "@opentelemetry/instrumentation": "^0.17.0",
    "@opentelemetry/plugin-http": "^0.17.0", // <<<<<<<<<<<<<<
    "@opentelemetry/node": "^0.17.0",
    "@opentelemetry/tracing": "^0.17.0"

Also note, that I had to use plugin-http instead of instrumentation-http (comment out instrumentations in tracer.js)

The example needs to be updated but I think the current example doesn't have this issue.


[Bug Report]  cfg-options doesn't work when change input_size

Hi @XiaohangZhan @Jiahao000 ~, Happy new year (dog
I want to change the input size during training DenseCL, so I add following command:
--cfg-options train_pipeline.0.size=384

However, I found the training loss doesn't change and I found this mismatch between train_pipeline and data.train.pipelines in log. This issue also exist in other selfsup methods.

For train_pipeline, the input_size is changed to 384
train_pipeline = [
    dict(type='RandomResizedCrop', size=384, scale=(0.2, 1.0)),
    dict(
        type='RandomAppliedTrans',
        transforms=[
            dict(
                type='ColorJitter',
                brightness=0.4,
                contrast=0.4,
                saturation=0.4,
                hue=0.1)
        ],
        p=0.8),
    dict(type='RandomGrayscale', p=0.2),
    dict(type='GaussianBlur', sigma_min=0.1, sigma_max=2.0, p=0.5),
    dict(type='RandomHorizontalFlip'),
    dict(type='ToTensor'),
    dict(
        type='Normalize',
        mean=[0.485, 0.456, 0.406],
        std=[0.229, 0.224, 0.225])
]

For data.train.pipelines, the input_size is still 224:
data = dict(
    imgs_per_gpu=32,
    workers_per_gpu=4,
    drop_last=True,
    train=dict(
        type='MultiViewDataset',
        data_source=dict(
            type='ImageNet',
            data_prefix='data/imagenet/train',
            ann_file='data/imagenet/meta/train.txt'),
        num_views=[2],
        pipelines=[[{
            'type': 'RandomResizedCrop',
            'size': 224,
            'scale': (0.2, 1.0)
        }, {
        ......

Actually, due to the limitation of mmcv, the --cfg-options only supports to modify the dict object defined in config files, but the train_pipeline is defined as a list object.

You can use command --cfg-options data.train.pipelines.0.0.size=384 to change the input size.

Besides, when train.py starts to run, the config has been loaded to memory and the train_pipeline is useless, you need to modify the config loaded by the code here.
https://github.com/open-mmlab/mmselfsup/blob/cea50785e1fd63894f6cea92e9c148469879542e/tools/train.py#L77-L79

It works, but the input size is still 224 for data.train.pipelines in log, I think it may confuse user, since the input size is mismatch between data.train.pipelines and data.train.pipelines

Due to the limitation of mmcv, it will print all the config in the log. We will discuss it and it might be improved in the future version.
Thanks for your valuable comments.

glad to know that, maybe this example could be put in tutorial~


Updating the README.md file with important links

Description
I have done the following changes

Adding the link for GSSoc'22
Adding  the link for hacktober fest 2021
Adding  the link for DevIncept
Adding  the link for the Demo video link for this repo

Fixes:  #(issue no.#606)

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Please can anyone review this pull request @DEEPALI-SUK @DEEPIKA-SUK @astha2412 @VidhiBhatt01
Thanks in advanced


re-add meetings facet

Overview
This PR adds back the Meetings facet that got lost.
Checklist

[x] PR has a descriptive enough title to be useful in changelogs

Notes
Based on the searches I tried, I didn't ever see any duplicate organizations, but I still went ahead and added logic to prevent duplication.
Testing Instructions

Search something, like red line, and verify that the Meetings facet appears on the left side of the page with the other filters.
Expand the Meetings filter and make sure there are no duplicate organizations.

Handles #537

P.s., The testing instructions should include a step to rebuild the index: docker-compose run --rm app python manage.py update_index to confirm your Haystack index change works.

P.s., The testing instructions should include a step to rebuild the index: docker-compose run --rm app python manage.py update_index to confirm your Haystack index change works.


Feed the stdout and stderr of the Pilot subprocess into glog

Fixes: #166
Release note:
NONE

/test e2e

/test e2e

/test e2e

/test e2e

/test e2e

Digging this old PR back up...
We've discussed making it easier to distinguish app logs from Pilot itself - I definitely think we should do that, however I am not sure if pushing those logs into glog like this helps that goal.
@cehoffman what are your thoughts?
We could send Pilot logs to a file instead, or alternatively give all non-DB logs some form of prefix.
In 'optimal' operating conditions, Pilot should be pretty silent. I think right now Navigator sets the --v level to something like 6 on each Pilot, which causes them to be very chatty. We can reduce that and hopefully that'll help short term?


54 | Spiral Matrix | C++

Solve Problem number 54 : Spiral Matrix using C++ -
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

Could you please assign me to this problem.

[x] Assigned @Anjalikamath


[ Task ]  Git sync failure cases

Failure cases yet to be discussed.

Requires a brainstorming session.

@hiteshjoshi we are tracking the failure cases in separate tickets. Is there anything that needs attention or we can close this


WIP: StdTx

Took a first stab at #47. Very rough draft (some of these types will belong in tendermint-rs, etc.), just posting to show what I was able to do:

marshal a StdTx with the MsgCreateClient to JSON
sign the JSON with gaiacli
load the signed StdTx back into Rust
almost fully Amino encode it

There are lots of rough edges, and I found some roughness in the Go too (eg. https://github.com/cosmos/cosmos-sdk/issues/5983)
Note the Iqlusion StdTx library was somewhat useful, but not fully:

it expects Msgs to be specified in a toml file
from what I can tell, Msgs are limited to certain "basic" fields, so you can't eg easily encode a Tendermint header in there
the StdTx type in there expects the Msg to be already Amino encoded
the JSON encoding isn't fully compliant with Tendermint

That said, the StdFee, StdSignature, and Address types from that lib were useful, after a few modifications. But we might want to consider just moving those types and logic, if not the whole crate, into here.
As for Amino encoding, it seems we still need to make some fixes to amino-rs to fully get there. I'm comparing the Amino encoding of my MsgCreateClient with one generated from the Go and it's still off by just a little (mostly seems to be around extra length prefixing). I included the Go script in here (amino.go), but it should be run from the gaia repo (ibc-alpha branch).
Meanwhile, I had to make changes to tendermint-rs, amino-rs, and stdtx crates to get here:

tendermint-rs: export some serialization - https://github.com/informalsystems/tendermint-rs/pull/212
amino-rs: don't always length encode amino types - https://github.com/tendermint/amino_rs/pull/29
stdtx: various fixes for JSON encoding - https://github.com/iqlusioninc/crates/pull/391

Note the Cargo's were updated to use local paths to facilitate development - I'm not sure if there's a nicer way to be doing that without messing up the file :)
At a higher level, I'm not sure if any of this is even the right approach at all, especially since once we go full proto, we'll need to adjust. But I wanted to try and get something working with the current state of things. Hopefully the protobuf changes for Gaia and Tendermint will land soon; it probably doesn't make sense to go too much further here in Amino land unless we can keep it relatively simple. We might want to start looking at the development branches for the proto migration and see if it makes sense to work against those so we can get a feel for the ultimate state of things sooner.

For contributor use:

[ ] Unit tests written
[ ] Added test to CI if applicable
[ ] Updated CHANGELOG_PENDING.md
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments
[ ] Re-reviewed Files changed in the Github PR explorer

Old and stale so closing. Proto txs have landed in the SDK so we can use that


How to train data for domain adaptation

I'm looking for some information on how to use domain adaptation like moses.
How to combine in-domain and out-domain models?
thanks!

Take a look at this paper: https://arxiv.org/pdf/1612.06141.pdf
The main idea is to first train a generic model then retrain it on in-domain data (with the -train_from option). Experiments show that the model can be quickly adapted to a specific domain
Also, as the vocabulary has to be same, BPE is usually used.

thanks for your help!


[BUG] 1.20 Cannot find module './innerCli'

Context:

Playwright Version: 1.20
Operating System: Windows
.NET version: .NET 6

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module './innerCli'
Require stack:
- C:\Repos\xxx\bin\Debug\net6.0\.playwright\package\lib\cli\cli.js

Describe the bug
1.20 CLI does not work, 1.19 works just fine

Could you try rebuilding your project?

@mxschmitt I am pretty sure I did, but indeed it fixed the issue. Or reinstalling the package (as I reverted to 1.19).

Same issue here.
D:\SomeWhere [fix-playwright-install-with-ps1 ≡]> pwsh .\bin\release\net5.0\playwright.ps1 install chromium
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module './innerCli'
Require stack:

D:\SomeWhere\bin\release\net5.0.playwright\package\lib\cli\cli.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:\SomeWhere\bin\release\net5.0.playwright\package\lib\cli\cli.js:33:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\SomeWhere\bin\release\net5.0\.playwright\package\lib\cli\cli.js'
]
}

@304NotModified does a rebuild work for you?

Wont help. Tried that indeed.

This is under windows

what about dotnet clean and then dotnet build?

I will test that

Same problem here.  dotnet clean  and then dotnetbuild did not resolve it.  Tried touching the files as referenced in #2069, but that doesn't resolve things either.  Using .NET 6 on windows with latest VS 2022.  I've rolled back to 1.19.1 for the time being.

(We'll publish a new version with a fix later today)

@mxschmitt
It the fix already live? What is the version? I cant find it!

Is this fixed in 1.20.2?

@304NotModified yes it should be fixed.


Adapt ps_viewedproduct for multiples versions of PrestaShop

Questions
Answers

Description?
Adapt ps_viewedproduct for multiples versions of PrestaShop

Type?
refacto

BC breaks?
no

Deprecations?
no

Fixed ticket?
Relative to PrestaShop/Prestashop#28988

How to test?
Try this module in version < <IP_ADDRESS> and in recent version (8.0.0)

Thanks @HanaRebaiQA & @Progi1984 🎈


Add oksana752's file

Accomplishments: create a branch, create a file , make a commit, and open a pull request.

create a branch, create a file , make a commit, and open a pull request.


Remove windows tests

What does this PR do?
Somehow, the commit removing windows tests didn't get merged from #840
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests? [not needed for typos/docs]
[x] Did you verify new and existing tests pass locally with your changes?
[x] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Somehow, the commit removing windows tests didn't get merged from https://github.com/Lightning-AI/lightning-bolts/pull/840

I think Windows was removed from the wrong workflow file. You didn't mean to remove Windows from the CI job in the previous PR, right?

Oh, I see what happened! What a mess! Thank you @akihironitta! in #840, I tried adding windows tests in CI, that didn't work and I removed them from the wrong workflow file (which was checking whether the package is installable). I was then wondering how it happened that the master had windows tests running and tried to remove them in this PR. I will correct the situation shortly :facepalm:


It would be super awesome to be able to specify dependencies.

Let's be clear here. the goals is ONLY presentation, we're not trying to build a full out  scheduling system. So no analysis ( er, at least not yet right ? )
But displaying dependencies would be nice.
If Task A depends on Task B being completed, then it would be great to have a little arrow type thing connecting the end of A  to the start of B.
An example of how this might look is in the wikipeidia chart at the start of the following article:
http://en.wikipedia.org/wiki/Gantt_chart
They are shown in red in this gantt chart.
If the start and end points are specified properly, then the arrows would always go from left to right (with associated vertical movement as well).  However since the data model has no way of enforcing this, it means the data model could specify arrows that go right to left.
We need to specify taskA -->  taskB  dependency, but also  which "end" of each task.  So  taskA.end --> taskB.start   or   taskA.end --> taskB.end  or  taskA.start --> taskB.start.    I'm going to go with the notion of taskA.start --> taskB.end as being unnecessary, but perhaps not worth checking to prevent.
WRT the data model, the current model is an array of events. There would be two approach I can see:

add additional data into the current event elements.  So each "event" in "events" would have an additional field "dependencies".  The event in this case is taskB above, so our goal is to specify a list of taskA's.   so

"tasks": [
                {"id": "43eb6d19-6402-493c-a281-20e59a6fab6e", "subject": "HW", "color": "#F1C232", "from": new Date(2013,10,18,8,0,0), "to": new Date(2013,10,18,12,0,0)}
            ]

might become:
"tasks": [
                {"id": "43eb6d19-6402-493c-a281-20e59a6fab6e", "subject": "HW", "color": "#F1C232", "from": new Date(2013,10,18,8,0,0), "to": new Date(2013,10,18,12,0,0), "dependencies":[
{"fromId":"431dc7be-b61b-49a0-b26d-7ab5dfcadd41",
 "fromSide":"end",
 "toSide":"start"
}
]}
            ]

or

A seperate section of dependencies specified by id

"dependencies":[
{"fromId":"431dc7be-b61b-49a0-b26d-7ab5dfcadd41",
 "fromSide":"end",
 "toId":"43eb6d19-6402-493c-a281-20e59a6fab6e",
"toSide":"start"
}
]

I see no strong reason to do either approach.  Except perhaps that the first is an extension of the current datamodel, while the second require a whole new one.
At this time I don't know enough about JS/DOM to have a clue how to actually implement the drawing side of this.

+1, would really like this feature too! (is it implemented on any other branch on this repo? I wouldn't mind poking around.)

Hi spinningarrow. It's not implemented, but we are open to PR for this feature. It could be a plugin, and jsPlumb seems really good to do this.

This is coming, work in progress is in dependencies branch :)
Demo available here : http://rawgit.com/angular-gantt/angular-gantt/dependencies/demo/dist/index.html

Merged ! And 1.2.10 release really soon now :)

Yup, and I'm still paying attention(mostly).   Thanks for running with my suggestion so well!

So am I ! Great, will try that out ASAP


Update defaults.py

Fixes Issue
fix the key id for macOS
Closes #45
Description
added lines for key id of macOS
Check List (Check all the applicable boxes)

[x] I understand that my contributions needs to pass the checks.
[x] If I created new functions / methods, I documented them and add type hints.
[x] If I modified already existing code, I updated the documentation accordingly.
[x] The title of my pull request is a short description of the requested changes.

Nice, many thanks for the PR @WUCHENG98. Merged!


Replace OSAtomic with stdatomic.

Replace deprecated OSAtomic APIs
Update swift version to 5
Static framework

New PR https://github.com/ReactiveCocoa/ReactiveObjC/pull/179, Closed.


Add Chroma?

Hi there, would you be open to adding Chroma as a vector store option?

Hey Jeff, we actually initially shipped with support for Chroma. However, the Chroma js package was causing warnings and, IIRC, an issue with a module not being found when consuming it from a next.js application. Let me try again and provide more concrete feedback if I run into those problems again.

@benjreinhart ah! that has been fixed now https://github.com/chroma-core/chroma/pull/929 - i will cut a new release of the npm package later today.

@benjreinhart 1.5.6 should address this- https://www.npmjs.com/package/chromadb

@jeffchuber if you want to tackle this work yourself, it shouldn't take too much time.
Here's the commit where we removed chroma because of the warnings, essentially, we simply need to reintroduce this code: https://github.com/axilla-io/ax/pull/37
We would love to have more contributors to the repo, and happy to help you through it and drive it to release.

@jeffchuber we're also seeing the issues reported in https://github.com/chroma-core/chroma/issues/953 after updating to 1.5.6 (see #51). We'll probably hold off until that is resolved


PF4 layout improvements

In some cases, we are using grid where we don't need something so heavy handed for layouts. Also, we should open a discussion around how we would like to handle layout of the app consistently going forward. Flex vs grid vs no layout.

https://github.com/konveyor/mig-ui/pull/802#discussion_r411722532


rm ascii-art logo (Fix #22)

Fix Issue #22

Coverage remained the same at 86.744% when pulling 15ebd367af0c0aaeb86080aa4cc50afc20b77e1e on fix-ascii-art into e390ea90e4ee21ff73fb1630b8c50a843a6d7674 on master.


make docker integration optional in the docker image

What does this PR do?
Enable an orchestrator-only mode by only enabling the docker integration if the docker socket is found in /var/run/docker.sock or the DOCKER_HOST environment variable is set:

don't enable the docker integration from the Dockerfile
modify 51-docker.sh to only run if aforementioned conditions are met
add a 59-defaults.sh that touches an empty conf if none of the previous detections got results. The agent will run without AD (could be used in sidecar mode after disabling default checks)
add a agent-nodocker.yaml k8s manifest to run in OpenShift restricted mode

Motivation
Allow to run gracefully on OpenShift restricted mode.

the PR also removes the procdir & cgroups volumes, is this expected?

Yes, this is the manifest for the restricted openshift mode. I'll move it to https://github.com/DataDog/datadog-agent/pull/1366 instead


[bug]: Spend-Output monitoring might have a rare edge case where it misses the spend of an output.

There are reported cases (#8028) where a noderunner had invalid values in his height hint cache leading to lnd not recognizing already spent outputs as spent. Using the config setting  --height-hint-cache-query-disable in lnd, these situation were resolved. Maybe the historical recan logic has a race condition where it misses a spend somehow which eventually updates the height hint cache and therefore never recovering the monitored outputs because the height hint cache will be queried for any other historical rescan if we do not actively disable it.
I was not able to reproduce this issue so far.

Did this happen in one of the cases where bitcoind's rpc serial version was set to the legacy witness encoding?

Yes the case I referenced had this setting on (rpcserialversion=0), but I am not sure how this could impact the monitoring because we are checking for outputs only ? Moreover after he set the --height-hint-cache-query-disable the historical rescan did work and lead to the situation where the preimage witness check happend (leading us to his problem of the rpcserialversion setting).


Use a HTTPS proxy with a HTTP destination

It's currently not possible to use a HTTPS proxy with a HTTP destination without manually adding the proxy authentication header : the proxy will not add the authentication header to requests on its own when using an https proxy, even though we're not using a tunnel like it is suggested in #1338 . Not that proxying http over https through tunnel would also fit my use case.
Please do not hesitate to close this issue if it is too similar to #1338 or another one.

If I may add a bit of context, the issue described here is that Proxy Authentication isn't done when the proxy is https but the destination is http.
From what I see in maybe_has_http_auth, which is in charge of computing if setting authentication headers (proxy-authorization) will be required, headers are only set when the Proxy is in HTTP, implicitly assuming that if it's HTTPS, the connection with be tunneled and authentication will be handled in the CONNECT phase:
match self.intercept {
    Intercept::All(ProxyScheme::Http { auth: Some(..), .. })
    | Intercept::Http(ProxyScheme::Http { auth: Some(..), .. })
    // Custom *may* match 'http', so assume so.
    | Intercept::Custom(_) => true,
    Intercept::System(ref system) => {
      ..
    }
    _ => false,
}

However, in connect_via_proxy, a tunnel (authenticated if required) is built only if the destination is HTTPS:
if dst.scheme() == Some(&Scheme::HTTPS) {
    ..
    let tunneled = tunnel(
        conn,
        host.ok_or("no host in url")?.to_string(),
        port,
        self.user_agent.clone(),
        auth,
    )
    .await?;
    ..
    return Ok(Conn {
        inner: self.verbose.wrap(NativeTlsConn { inner: .. }),
        is_proxy: false,
    });
}
self.connect_with_maybe_proxy(proxy_dst, true).await

Therefore, when Proxy Authentication is requested by the user, the following happens:

HTTP Destination
HTTPS Destination

HTTP Proxy
Set in each request header
Set during the CONNECT phase

HTTPS Proxy
Authentication never set :(
Set during the CONNECT phase

Also, could you explain to me why there is this special case that tunneling should be made only for HTTPS destinations? :blush:


[Task]: Investigate and fix sync mobile problems

Task description
Sometimes, after migration, the profile has no balance after first login.
This might be related to the issue reported by some testers that importing a profile from stronghold also had no balance until refresh
Requirements
bug fixed
Creation checklist

[x] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Reported by theblackraven#9232:

I have still the same problem with no balance on my pixel 6 with a imported wallet with a seed... balance finder doesn't find the actual balance
I'm sure that the seed is correct. Can find the address on the tangle explorer. The balance is shown right on the desktop firefly
I hit the balance finder about 25 times

https://discord.com/channels/397872799483428865/996835547484004454/1010477693382434866


New bits!

Use the mouse cursor to select the image and drag it around to slide it (instead of having to use the arrows)
some tooltips
check if pyqt5 is installed and ask to install fi it isn't.
lame code reformatting

Hey @blcklptn -- I was thinking that sometime soon, once this is a little more polished, I'd like to customize it for one or more of the forks and submit it, just as the single "gui.py" file (maybe renamed or rebranded) maybe to the lstein branch, for further fork-specific development on there if they like it.
Any thoughts on this plan?


Create multiple public subnet groups using Terrafrom

Good day all!
We are trying to achieve the following requirement using Terraform.
We need to have multiple public subnets with different Tag names across three AZs as below.
What is the best way to achieve this using terraform modules.
AZ1				AZ2				AZ3

subnet_public_group1_1a		subnet_public_group1_1b		subnet_public_group1_1c
subnet_public_group2_1a		subnet_public_group2_1b		subnet_public_group2_1c
subnet_public_group3_1a		subnet_public_group3_1b		subnet_public_group3_1c
We currently have an approach of using separate resources defined for each subnet groups(subnet_public_group1, subnet_public_group2, subnet_public_group3) in Terraform modules.
Is there a better way to achieve this using the existing terraform modules(aws_subnet resource for public network)?
Also, we are going to associate single route table to all these subnets created above.
Any help is appreciated.

See response in https://community.gruntwork.io/t/create-multiple-public-subnet-groups-using-terrafrom/370/2.
Will close this as it does not have to do with terragrunt.

Thank you!


SyncList Operation OP_ADD always passes index of the first item in the list

Describe the bug
In SyncList callbacks (including SyncListInt, SyncListSTRUCT, etc. etc.), if the SyncListOperation is OP_ADD, then the value passed to the callback corresponds to the first value in the list, not the item that was just added to the list.
Repro project
https://www.dropbox.com/s/zlkel1maw7c8zny/Mirror SyncList Operation OP_ADD Bug Repro.zip?dl=0
To Reproduce
Steps to reproduce the behavior:

Open two instances of the attached project.
On one, start a LAN Host.
On the other, start a LAN Client.
On the LAN Host, click the "Add Random Number" button several times.  Observe how the values do not sync properly across the network to the LAN Client.
On the LAN Host, click the "Update Random Number" and "Remove Random Number" buttons.  Observe how these actions/values do sync properly over the network.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Tested on MacOS
Build target:  Tested on standalone for MacOS
Unity version: Tested on 2018.2.9f1
HLAPI CE branch: Tested on Mirror-545

Additional context
This bug first appeared in early October, or thereabouts, around the time that changes were made to the way SyncList bundling is handled.  Prior to that time, the bug did not occur.

@gyststarblayze can you try these dlls please: https://ci.appveyor.com/project/vis2k73562/hlapi-community-edition/builds/20389079/artifacts

@vis2k those dlls worked great in both my repro project and my main project.  As far as I can tell, this resolves the issue.  Thanks!!

reopened until we merge the fix

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


don't include config scheme w/ operator scheme

@deads2k I assume there was a good reason you did this, so i'm opening this PR so we can discuss it...  but this is what's leading this: https://github.com/openshift/origin/blob/master/cmd/oc/oc.go#L54  to install the config scheme which then breaks apply.

closing in deference to https://github.com/openshift/origin/pull/21483


Download Plz?

I want to try this out, but I can't I can't find the worldedit.exe file in the master! Please, release a version, I want to share this on YouTube too! If you do release this, it is going to be amazing!

same problem

I just published a release here  https://github.com/The-HeX/minecraft-worldedit-bedrock/releases/tag/0.1


Android: EGL_BAD_ACCESS while app switch

With the newest version of flutter, I'm not able to do an Android app switch anymore (iOS works just fine).
Setup:

two apps (com.whatever.one & com.whatever.two)
one: use url_launcher to launch url (eg. "testapplicationtwo://test?value=test")
two: react to app call from one with intent > invoke method to call Flutter

Log-statements in the intent implementation are logged. But because of the missing/wrong context (see error), the invokeMethod is never triggered (or not recognized in Flutter).
In MainActivity onCreate method of app two:
Intent intent = getIntent();
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
  Uri uri = intent.getData();
  if("test".equals(uri.getHost())) {
    String value = uri.getQueryParameter("value");
    if(value != null) {
      methodChannel.invokeMethod("testmethod", value);
    }
  }
}

In AndroidManifest.xml of app two:
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:scheme="testapplicationtwo" />
</intent-filter>

Error in app two:
E/EGL_emulation: eglMakeCurrent: error: EGL_BAD_ACCESS: context 0xe8ac3a60 current to another thread!
E/EGL_emulation: tid 12193: eglMakeCurrent(1663): error 0x3002 (EGL_BAD_ACCESS)
E/libEGL: eglMakeCurrent:1091 error 3002 (EGL_BAD_ACCESS)
E/flutter: [ERROR:flutter/shell/platform/android/android_context_gl.cc(217)] Could not make the context current
E/flutter: [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_BAD_ACCESS (12290)

I also tried to call it directly via intents - same result.

Please add the output of flutter doctor -v.

[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.14 18A391, locale de-CH)
    • Flutter version 0.9.4 at /Users/xx/Development/Tools/flutter
    • Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/xx/Library/Android/sdk
    • Android NDK at /Users/xx/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/xx/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

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

[✓] Connected devices (2 available)
    • Usage: ideviceinfo [OPTIONS]
      Show information about a connected device.

        -d, --debug		enable communication debugging
        -s, --simple		use a simple connection to avoid auto-pairing with the device
        -u, --udid UDID	target specific device by its 40-digit device UDID
        -q, --domain NAME	set domain of query to NAME. Default: None
        -k, --key NAME	only query key specified by NAME. Default: All keys.
        -x, --xml		output information as xml plist instead of key/value pairs
        -h, --help		prints usage information

        Known domains are:

        com.apple.disk_usage
        com.apple.disk_usage.factory
        com.apple.mobile.battery
        com.apple.iqagent
        com.apple.purplebuddy
        com.apple.PurpleBuddy
        com.apple.mobile.chaperone
        com.apple.mobile.third_party_termination
        com.apple.mobile.lockdownd
        com.apple.mobile.lockdown_cache
        com.apple.xcode.developerdomain
        com.apple.international
        com.apple.mobile.data_sync
        com.apple.mobile.tethered_sync
        com.apple.mobile.mobile_application_usage
        com.apple.mobile.backup
        com.apple.mobile.nikita
        com.apple.mobile.restriction
        com.apple.mobile.user_preferences
        com.apple.mobile.sync_data_class
        com.apple.mobile.software_behavior
        com.apple.mobile.iTunes.SQLMusicLibraryPostProcessCommands
        com.apple.mobile.iTunes.accessories
        com.apple.mobile.internal
        com.apple.mobile.wireless_lockdown
        com.apple.fairplay
        com.apple.iTunes
        com.apple.mobile.iTunes.store
        com.apple.mobile.iTunes

      Homepage: <http://libimobiledevice.org> • 00008020-001E543601F0002E            • ios • iOS Usage: ideviceinfo [OPTIONS]
      Show information about a connected device.

        -d, --debug		enable communication debugging
        -s, --simple		use a simple connection to avoid auto-pairing with the device
        -u, --udid UDID	target specific device by its 40-digit device UDID
        -q, --domain NAME	set domain of query to NAME. Default: None
        -k, --key NAME	only query key specified by NAME. Default: All keys.
        -x, --xml		output information as xml plist instead of key/value pairs
        -h, --help		prints usage information

        Known domains are:

        com.apple.disk_usage
        com.apple.disk_usage.factory
        com.apple.mobile.battery
        com.apple.iqagent
        com.apple.purplebuddy
        com.apple.PurpleBuddy
        com.apple.mobile.chaperone
        com.apple.mobile.third_party_termination
        com.apple.mobile.lockdownd
        com.apple.mobile.lockdown_cache
        com.apple.xcode.developerdomain
        com.apple.international
        com.apple.mobile.data_sync
        com.apple.mobile.tethered_sync
        com.apple.mobile.mobile_application_usage
        com.apple.mobile.backup
        com.apple.mobile.nikita
        com.apple.mobile.restriction
        com.apple.mobile.user_preferences
        com.apple.mobile.sync_data_class
        com.apple.mobile.software_behavior
        com.apple.mobile.iTunes.SQLMusicLibraryPostProcessCommands
        com.apple.mobile.iTunes.accessories
        com.apple.mobile.internal
        com.apple.mobile.wireless_lockdown
        com.apple.fairplay
        com.apple.iTunes
        com.apple.mobile.iTunes.store
        com.apple.mobile.iTunes

      Homepage: <http://libimobiledevice.org>
    • iPhone XS                                                                                • D00311BE-A085-48DC-BA71-58C39E72C735 • ios • iOS 12.0 (simulator)

• No issues found!

@zoechi is there any update? We're relying on this feature and currently we're not able to solve this on Android

@chinmaygarde or @liyuqian might have theories.

I can reproduce the error, but it doesn't acutally seem to hurt anything.  It seems like the app still runs fine.  What are you seeing after this error?

@dnfield we're trying to switch between our apps (both built with Flutter). After the error occures, the context is lost and it seems as app-1 is "displayed" in app-2. So the content of app-1 is within the container of app-2. If I display the opened applications, I can see the same content in both apps and I cannot react to the intent.
What I'm trying to do: app-1 is our business app / app-2 is our security app
Trigger the security app to authorise an action from the business app. This functionality is very important for our project but cannot be achieved on Android - context is lost.

Ahh ok, I think I see now.
So the EGL_CONTEXT error you're seeing actually has nothing to do with that.  That's more about how the Android intent system is working.
What version of Flutter did this last work?

And to be clear, here's what I'm seeing in my own demo:

App 1 uses url_launcher to send an intent that launches the activity from App 2
App 2's activity loads in App 1's container
App 2 spits out the GL context error (bug in the engine), but recovers
App 2 responds to the intent with a log message

Unfortunately it's quite possible updates in Android in that time have caused this behavior too.
It may be worthwhile to get the behavior you're expecting working in a native app, and then compare how the intents/activities are working together.  I suspect that what you want to do requires some additional flags on the Intent that url_launcher isn't setting (or perhaps requires removing one that it is setting).  If you can get an example of how you'd expect this to work in a native app, it should be pretty trivial to identify exactly where the problem is occurring - whether it's a change in the Android runtime, a change in url_launcher, or a change in the Flutter embedding.

I built two native apps:
App1 (MainActivity.java):
Uri uri = Uri.parse("app2://test?value=12345");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

App2 (MainActivity.java):
Intent intent = getIntent();
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
    Uri uri = intent.getData();
    if("test".equals(uri.getHost())) {
        String value = uri.getQueryParameter("value");
        if(value != null) {
            Log.d("APP2", "Value is " + value);
        }
    }
}

App2 (AndroidManifest.xml):
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:scheme="app2" />
</intent-filter>

This works just fine (log: D/APP2: Value is 12345)

Now what's the real problem in my flutter apps:
App1 (test.dart):
url_launcher.launch('app2://test?value=12345')

App2 (MainActivity.java):
Intent intent = getIntent();
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
  Uri uri = intent.getData();
  if("test".equals(uri.getHost())) {
    String value = uri.getQueryParameter("value");
    if(value != null) {
      Log.d("APP2", "Value is " + value);
      methodHandler.invokeMethod("testaction", value);
    }
  }
}

App2 (AndroidManifest.xml):
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:scheme="app2" />
</intent-filter>

App1 logs:
2018-11-22 09:53:55.020 15721-15751/com.test.app1 D/EGL_emulation: eglMakeCurrent: 0xe8a404a0: ver 3 0 (tinfo 0xe1231690)
2018-11-22 09:54:01.298 15721-15721/com.test.app1 W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@89a3c29
2018-11-22 09:54:01.358 15721-16008/com.test.app1 E/EGL_emulation: eglMakeCurrent: error: EGL_BAD_ACCESS: context 0xe8a3fae0 current to another thread!
2018-11-22 09:54:01.358 15721-16008/com.test.app1 E/EGL_emulation: tid 16008: eglMakeCurrent(1663): error 0x3002 (EGL_BAD_ACCESS)
2018-11-22 09:54:01.358 15721-16008/com.test.app1 E/libEGL: eglMakeCurrent:1091 error 3002 (EGL_BAD_ACCESS)
2018-11-22 09:54:01.358 15721-16008/com.test.app1 E/flutter: [ERROR:flutter/shell/platform/android/android_context_gl.cc(217)] Could not make the context current
2018-11-22 09:54:01.358 15721-16008/com.test.app1 E/flutter: [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_BAD_ACCESS (12290)

App 2 logs:
2018-11-22 09:53:53.837 15594-15594/com.test.app2 W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@b2cdbf0
2018-11-22 09:53:53.870 15594-15594/com.test.app2 V/FA: onActivityCreated
2018-11-22 09:53:53.893 15594-15977/com.test.app2 E/EGL_emulation: eglMakeCurrent: error: EGL_BAD_ACCESS: context 0xe8a405c0 current to another thread!
2018-11-22 09:53:53.893 15594-15977/com.test.app2 E/EGL_emulation: tid 15977: eglMakeCurrent(1663): error 0x3002 (EGL_BAD_ACCESS)
2018-11-22 09:53:53.894 15594-15977/com.test.app2 E/libEGL: eglMakeCurrent:1091 error 3002 (EGL_BAD_ACCESS)
2018-11-22 09:53:53.894 15594-15977/com.test.app2 E/flutter: [ERROR:flutter/shell/platform/android/android_context_gl.cc(217)] Could not make the context current
2018-11-22 09:53:53.894 15594-15977/com.test.app2 E/flutter: [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_BAD_ACCESS (12290)
2018-11-22 09:53:53.902 15594-15615/com.test.app2 I/test.app: Waiting for a blocking GC ProfileSaver
2018-11-22 09:53:54.057 15594-15594/com.test.app2 D/APP2: Value is 12345

Conclusion:
The log works as well (log: D/APP2: Value is 12345)
But the methodHandler is never called (or received by flutter).

Finally I was able to fix it:
LaunchMode on activity to singleInstance in both AndroidManifest.xml (App1 & App2)
<activity android:launchMode="singleInstance"
I didn't use url_launcher anymore and replaced all calls in native. On the Intent I additionally set those two flags:
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP);
I'm currently checking if every case is working - but seems to be ok.

Do you think it would be worth patching url_launcher to support this use case?

I think the main difference was the launchMode of the apps (otherwise, the appSwitch would replace the app's container with the other app's content).
But if the two flags are helping why not. I'll let you know

Would you be interested in submitting a patch for that?  It seems like you probably have something pretty close to ready for it!

The question is, if I should add it generally to the non web view call or add an additional parameter. For that I'm probably not expert enough for Android development..
But adding the following flags to the Intent solved my problem:
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP);

I'm also encountering this issue - a patch would be great! What's happening for me is I have a FlutterView inside of an Android app. I open the FlutterView, then I swipe back to the Android view, and then I swipe to the FlutterView again, and then I see the error:
02-07 16:46:17.697  1128  1748 E flutter : [ERROR:flutter/shell/platform/android/android_context_gl.cc(217)] Could not make the context current
02-07 16:46:17.697  1128  1748 E flutter : [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_BAD_ACCESS (12290)

in the logs. I'm not using url_launcher though, I think. I think the Android app is just launching the FlutterView via something like https://github.com/flutter/flutter/tree/master/examples/flutter_view

It seems like there's an acceptable workaround for the original issue (possibly it should do this by default in the flutter create template) but that this issue still tends to come up in add-to-app scenarios.  I don't think this really specific to plugins but is rather a general Flutter Android issue, so I'm removing the plugin-related labels. It would be helpful to get a reduced test case that doesn't rely on plugins.

For the add-to-app scenario I described above, it seems I never called flutterView.destroy(). That, along with https://github.com/flutter/engine/pull/8330, resolved the issue for my case.

Is there any action left to take on this bug then?  Maybe just add a note to the error log saying something like Did you forget to call flutterView.destroy()?

I couldn't figure out if what was needed here was a patch to url_launcher, a change to the logging when we detect a particular condition (what?), or nothing. Can someone clarify what the actionable next steps are for this bug?

I'm going to close this.  It sounds like the plugins team has decided that the proposed changes to url_launcher (the real reason this bug was originally opened) aren't suitable for the plugin - the other issue (the confusing log) seems like it hasn't been an issue for some time and has likely significantly changed in the new embedding anyway.


[WIP] Port to 3.1.1 (latest stable version)

Most of the porting is complete and the game starts, here are some notes on what's left.
Fixes #107
Breaking issues:

The map is completely dark and I'm not sure why, all the objects are there and the player can move and grab and fight, but the map itself is not visible at all. Could it be a FOV issue?

I had to redo the dungeon tileset manually because the file wasn't being loaded, so as a result the tile ids will no longer match the hardcoded themes, BUT the good news is I renamed all the tiles to the format "tile_typeX" so it will be simple to rewrite the theming to go over slabX, cobble_bloodX, sandstone_wallX, etc where X is the number of such tile types from 0 to (size -1)

The particle effects need to be redone because of the new particle system. I can do this easily by opening the 2.1 version and working side by side.

Minor issues/notes:

I need to re-attach all the normal maps to the tiles again.

There was a line of gdscript that had an error: var days_into_phase = ((ages[(year + 1) % 19] + ((day + offsets[month-1]) % 30) + (int(year < 1900))) % 30) because year<1900 does not parse to an integer, did you mean that the value should be 1 if true and 0 if false? For now I forced it to an int using int( year < 1900) but not sure if that's the same result

In the game save/loading section I had to change a json call to use the new JSON.print to convert an object to a string, but the line data.parse_json(file.get_line()) in restore_game I wasn't sure how to convert because I'm not sure what it does or whether it's still working 😆

I renamed all usages of owner to parent since "owner" is a reserved property in godot 3 (it refers to the instanced node that this node was loaded with). It might make less sense but it can be changed if desired to something like "ob_owner". Similary I changed name to ob_name since "name" is reserved for all nodes now, as a result some of the exported name properties will need to to be set again manually.

The buttons in the title screen aren't being selected properly, for now I just made it start a new game after running the game.

There are some changes I didn't mention and I'm sure more issues will pop up, but this is looking great already (except for the part where everything is dark lol)

Casting year < 1900 to an Integer is absolutely fine and is probably something that I should have done originally.
Also, it looks like the months array in the same function never ended up being used, so that can be removed.
I've set up a new 3.1port branch to merge the changes into.

@cyberfilth This is great, I'll send the next PRs to the new 3.1 port branch.
Next I'll be working on the main breaking issue of not being able to see the game, since I can't really work with the themes or particle effects if I can't see them :b
I probably won't have time during the week but you should expect to hear from me next weekend.


Is there a way to use this online?

Is there a way to port this online?

<script<EMAIL_ADDRESS>defer></script>

Here I use @latest, but if you want to you can replace latest with any version you want. You can also remove defer, but I'm not sure if that breaks it.


tomcat initParameter not working

Hello,
initParameter (http://akhikhl.github.io/gretty-doc/Gretty-configuration.html) works only if the container is jetty,
Somehow it's not passed to the tomcat container.
Thanks,

Which gradle task you use?

I confirm, there's a bug: init-parameter does not get passed from gretty configuration to tomcat 7/8. I'll have a look...

Cool +1, thanks,


rename pgk to pkg

I think that was a typo, if so this PR fix that 😄
if you don't want to rename feel free to close this PR
/assign @dirien

Thats a really good catch... @cpanato! Thanks for this one!
And as punishment I will do the "Kehrwoche" for the next two months...


New Rule: APRL - Storage Account - Do not use classic storage accounts

https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/azure-resources/Storage/storageAccounts/#do-not-use-classic-storage-accounts

Closing as not possible to create these with the azurerm provider


Fix: fontWeight issue of double in android

Summary:
Fixes  https://github.com/facebook/react-native/issues/45285
object created by StyleSheet.create provide readonly object and it cannot be changeable for farther value or type change according to native requirements, so I have added condition in flattenStyle function, if it's readonly than convert into editable object

Changelog:
[GENERAL] [FIXED] - fixed fontWeight number value error for android (java.lang.Double cannot be cast to java.lang. String)

Apologies, this is already being addressed in github.com/facebook/react-native/pull/45340 (I have some additional changes on top of this I want to make)

Also Fix for TextInput.js and TextOptimized.js


Info performances

This is an open question. I'm creating a ShinyProxy with a consistent number of Shiny applications. I'm using an Ubuntu machine hosted on Azure. What I'm trying to understand is the performances of a ShinyProxy with its apps.
Do you have any tests (performance or stress test) or test result I can use?
Thank you in advance
Enrico

Hi
We don't have any concrete results ready, but we do have some large deployments with many users and apps, but I don't know the exact numbers.
Note that the amount of apps doesn't really matter for the performance of a ShinyProxy server, instead it's the amount of concurrent users that will make a difference. In addition the underlying hardware (be it virtualised) also plays a role in the performance of ShinyProxy.
I'll keep this issue open, since we do have some plans to asses the performance of ShinyProxy in a more rigorous way. I'll share the results when they are available.


Add zero allocation helpers for ulaw

This PR adds *To method variation for ulaw. These methods avoid allocation allowing the caller to reuse the buffer.
Also, add methods that operate on int16 slices for LPCM.
(upstream changes from livekit/sip)

@zaf A friendly ping :)

Hello and thank you for the suggestion. I was already working on refactoring the code and I m thinking to introduce this feature there. This is the PR: https://github.com/zaf/g711/pull/3
And this is the change that introduces the zero allocation functions: https://github.com/zaf/g711/pull/3/commits/10be6f3187ae45508b009e5ecdd74e829852cae0
Bench results:
BenchmarkEncodeUlaw-4     	   13824	     86166 ns/op	 472.39 MB/s	   20480 B/op	       1 allocs/op
BenchmarkEncodeUlawTo-4   	   14311	     82727 ns/op	 492.03 MB/s	       0 B/op	       0 allocs/op
BenchmarkDecodeUlaw-4     	   35204	     33762 ns/op	 602.82 MB/s	   40960 B/op	       1 allocs/op
BenchmarkDecodeUlawTo-4   	   45838	     25614 ns/op	 794.58 MB/s	       0 B/op	       0 allocs/op
BenchmarkUlaw2Alaw-4      	   78462	     14701 ns/op	1384.36 MB/s	   20480 B/op	       1 allocs/op
BenchmarkUlaw2AlawTo-4    	  101139	     11891 ns/op	1711.47 MB/s	       0 B/op	       0 allocs/op

Would you mind if we close this one and continue this work of the aforementioned PR?

Sure! Will check that PR to see if anything is missing there. Thank you!


Strip down pwru docker image

The Dockerfile ends up generating the 1.47GB image. This can be reduced by:

Use base image instead of ubuntu.
Copy the compiled pwru binary to a new image.

Fixed by #80


API KEY storage

Hi,  cool extension!
Where in setting can the API KEY be put?

Hello @hippyau,
Glad you are interested in it. The Codex: Change Codex API Key From the command palette would do the trick.
Other wise once you restart your PC the key is automatically removed and will be asked of you, while starting a new session

Thank you for this, it's a very cool extension!   I just with the API key could be saved?


Recover non processed blocks after websocket connection loss

Overview
Currently, in case of websocket connection loss, we lose all events emitted until we get a reconnection. This PR seeks to implement recovery logic to the running Relay.
Caveats
It's important to not that the current Relay implementation does not provide permanent state, so if for any reason the Relay itself goes down we currently don't provide a way to recover prior emitted events, the only events that are currently possible to recover are the ones a current running Relay identifies it didn't process due to websocket connection loss.
Related issues
Closes #743

FYI for future reference, when we squash & merge, it'd be good to try and cleanup the final commit message so that in the future, if someone is doing a bisect or looking thru the history, they don't see all of the intermediate commit messages. GitHub provides a way to edit the final commit message just during the squash & merge process.


[BUG] AzureCliCredential.GetToken() fails if $PATH environment variable is longer than 8191 characters

Library name and version
Azure.Identity 1.5.0
Describe the bug
When the PATH environment variable is longer than 8191 characters, cmd.exe ignores it. The reason for a long PATH can be e.g. using fsi with some references (in my case 22 are sufficient). They are added to the path and make it grow quite fast. This behavior is documented here.
Azure.Identity uses cmd.exe to launch az and even provides a default value for empty PATH. This doesn't have the expected effect in case of environment variables longer than 8191 characters. They are passed to cmd.exe, which ignores it. I'd suggest using the default value if it's null or empty or longer than 8191 characters; as it should work for most people. Maybe a warning would be apropriate too...
Expected behavior
A token should be returned.
Actual behavior
Exception, see below...
Reproduction Steps
This script triggers the bug:
#r "nuget: Azure.Identity, 1.5.0"
#r "nuget: Microsoft.Rest.ClientRuntime, 2.3.23"

open Azure.Identity
open Azure.Core

let authenticateWithPath (path: string) =
    System.Environment.SetEnvironmentVariable("PATH", path)
    printfn $"Trying with a path length of {path.Length}..."
    AzureCliCredential()
        .GetToken(new TokenRequestContext([| "https://management.azure.com/.default"|]) , System.Threading.CancellationToken.None)
    |> ignore

let fillPathWithSemicolons (path: string) desiredLength =
    let nrOfSemicolons = desiredLength - path.Length
    let semicolons = String.replicate nrOfSemicolons ";"
    $"{path}+{semicolons}"

let originalPath = System.Environment.GetEnvironmentVariable("PATH")

printfn "With original path..."
authenticateWithPath originalPath

printfn "With some semicolons added..."
authenticateWithPath (fillPathWithSemicolons originalPath 8190)

printfn "With one character too much..."
authenticateWithPath (fillPathWithSemicolons originalPath 8191)

The output on my machine is as follows:
Der Befehl "az" ist entweder falsch geschrieben oder konnte nicht gefunden werden. means "command az mistyped or not found".
With original path...
Trying with a path length of 2108...
With some semicolons added...
Trying with a path length of 8191...
With one character too much...
Trying with a path length of 8192...
Azure.Identity.AuthenticationFailedException: Azure CLI authentication failed due to an unknown error. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/azclicredential/troubleshoot Der Befehl "az" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
   at Azure.Identity.AzureCliCredential.RequestCliAccessTokenAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.AzureCliCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.AzureCliCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](ValueTask`1 task)
   at Azure.Identity.AzureCliCredential.GetToken(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at FSI_0003.authenticateWithPath(String path)
   at <StartupCode$FSI_0003>.$FSI_0003.main@()
Aufgrund eines Fehlers beendet

Environment

Windows 10
.Net Core 6.0

Thank you for your feedback.  Tagging and routing to the team members best able to assist.


last packet ms

How to check how many ms received the last packet from the server?
I using:
String ll = event.getPacket().toString();
if(ll.toLowerCase().contains("server")){
long lastPacket = ....
System.out.println(time);
}
what's next?

onRecived
session.send(new ChatPacket("Ostatni pakiet:  " + packet.getClass().getName().toString + "( " + time + " ms");
jakos tak miej litosc pana

@masste
ale mi chodzi o to wlasnie zeby miec te "time", bo nie umiem tego zrobic.

save System.currentTimeMillis() when received packet and next:
System.currentTimeMillis() - lastReceivedTime
This is issue with mcprotocollib or learning programming lang?

@Thefilippop1PL i don't understand.
//packet received event
u.setMsLast(System.currentTimeMillis()-u.getMsLast());
playerSender.send(new ServerChatPacket("Last received time packet from the server: "+u.getMsLast()+"ms") MessageType.NOTIFICATION));


Update changelog more consistently

Get the last modified date from git, not local file as normally expected
Make sure we're on master to run
Don't do reset to master on release

More unrelated errors


Add information about individual @NgModules

Copied some material from https://github.com/angular/angularfire2/issues/854 into this doc

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
e2e tests included?: (yes/no; required for multi-function/multi-class changes)
In a clean directory, npm install, npm run build, and npm test run successfully? (yes/no; required)

Description

Code sample

Love the additions Dave.  I signed the CLA btw.  I also used to work at Google so hopefully I'm trustworthy enough. ;)

Thanks @fisherds!


cant see documentation for onIdsAvailable

Where do I find documentation on onIdsAvailable?
(I've inherited an older codebase)

The documentation shows onIdsAvailible as an event, but I'm not seeing it fire.
OneSignal.addEventListener('ids', function(ids) {
    console.log(ids);
});

Can we retrieve the user's player id by a simple function call like OneSignal.getTags()?

similar question here.
Is it possible to obtain the player id when the app is starting cuz I want to obtain the player id and pass it to server using graphql mutation

The preceding two posts seem to refer to the newer code patterns.  In the original post I was referring to the older way which was
OneSignal.configure({
  onIdsAvailable: (device) => {
    console.log(device);
  },
  onNotificationOpened: (message, data, isActive) => {
    console.log(message, data, isActive);
  }
});

I'm moving my code base to the newer way so needing the docs is no longer relevant to me but I will leave this issue here in case someone else is also looking.

@PrimeLens OneSignal.configure doesn't work on newer versions (You should be using
OneSignal.addEventListener as mentioned in the Readme). What version are you on?

@maxcodes   as mentioned in original post, this was for an inherited older code base. It was 0.39.  At the time there was no option to upgrade but we ran into roadblock after roadblock and made an executive decision to rebuild.
I still feel that docs for the older way should be available so my original request is still valid even though it will no longer be relevant to my work right now.

@PrimeLens You can check the docs for any version by switching to that tag on Github and reading the Readme 👍

Thanks, very useful!


#include cinder/Exception.h

must have been getting included before via a pch, which isn't the case on windows (or many times in a static lib).

Thanks!


Can not update admin user's profile using console.

Fill in admin profile details and click the update button using the console.

The update button is not clicking.

The same happens in the Admin profile under 'Console Settings'.