install failed (wireshark, synergy) with same reason.(curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54)

General troubleshooting steps

[o] I have retried my command with --force and the issue is still present.
[o] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[o] None of the templates was appropriate for my issue, or I’m not sure.

[o] I ran brew update-reset && brew update and retried my command.
[o] I ran brew doctor, fixed as many issues as possible and retried my command.
[o] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Output of your command with --verbose --debug
star114@Heesiks-MBP ~ $ brew cask install synergy --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading https://binaries.symless.com/v2.0.2/Synergy_v2.0.2-stable_b1153-665fa610.dmg
/usr/bin/curl --show-error --user-agent Homebrew/1.3.8 (Macintosh; Intel Mac OS X 10.13.1) curl/7.54.0 --fail --location --remote-time --continue-at - --output /Users/star114/Library/Caches/Homebrew/Cask/synergy--2.0.2,b1153-665fa610.dmg.incomplete https://binaries.symless.com/v2.0.2/Synergy_v2.0.2-stable_b1153-665fa610.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  1 28.8M    1  303k    0     0   2459      0  3:25:06  0:02:06  3:23:00     0
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Download failed on Cask 'synergy' with message: Download failed: https://binaries.symless.com/v2.0.2/Synergy_v2.0.2-stable_b1153-665fa610.dmg
The incomplete download is cached at /Users/star114/Library/Caches/Homebrew/Cask/synergy--2.0.2,b1153-665fa610.dmg.incomplete
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:42:in `rescue in fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:40:in `fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:15:in `perform'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:143:in `download'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:68:in `fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:92:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:19:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:97:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:167:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:172:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:172:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:155:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.3.8
caskroom/homebrew-cask (git revision 533a6; last commit 2017-12-03)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (2 files, 623.6KB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3851 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-drivers (137 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts (1113 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (173 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-eid (10 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib
/Library/Ruby/Site/2.3.0
/Library/Ruby/Site/2.3.0/x86_64-darwin17
/Library/Ruby/Site/2.3.0/universal-darwin17
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17
==> Environment Variables
LC_CTYPE="UTF-8"
PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/qt/bin:/usr/local/opt/curl/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/go/libexec/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.1/shims:/usr/local/var/pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/opt/fzf/bin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/usr/local/bin/bash"

Do you have any ideas about this?
I tried to fix it, but failed and couldn't find any related issues.

Have you tried running curl manually?

curl failed as same reason :(
It looks High Sierra problem
Let me close this issue.


[BUG] fiftyone forces starlette=0.16.0 and it breaks integrations with applications that use FastAPI in newer versions.

Instructions
Thank you for submitting an issue. Please refer to our
issue policy
for information on what types of issues we address.
Please fill in this template to ensure a timely and thorough response.

Place an "x" between the brackets next to an option if it applies. Example:

[x] Selected option

Please delete this section (all content above this line) before submitting
the issue

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): linux 18.04
FiftyOne installed from (pip or source):pip
FiftyOne version (run fiftyone --version):0.17.2
Python version:3.8

Commands to reproduce
As thoroughly as possible, please provide the Python and/or shell commands used
to encounter the issue. Application steps can be described in the next section.
requriements.txt:
fastapi==0.79.0
fiftyone==0.17.2
pip install -r requirments.txt

Describe the problem
fiftyone cannot be used with the newer versions of fastapi, because it forces starlette to be in the version starlette=0.16.0
Is it possible to add a condition like: starlette>=0.16.0. In this way it would not break apps that use fiftyone
Code to reproduce issue
fastapi==0.79.0
fiftyone==0.17.2
pip install -r requirments.txt
Other info / logs
es.
#0 388.1
#0 388.1 The conflict is caused by:
#0 388.1     bentoml 1.0.4 depends on starlette
#0 388.1     fastapi 0.79.0 depends on starlette==0.19.1
#0 388.1     fiftyone 0.17.2 depends on starlette==0.16.0
#0 388.1
#0 388.1 To fix this you could try to:
#0 388.1 1. loosen the range of package versions you've specified
#0 388.1 2. remove package versions to allow pip attempt to solve the dependency conflict
#0 388.1
#0 388.1 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
#0 388.1 WARNING: You are using pip version 22.0.4; however, version 22.3 is available.
#0 388.1 You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
What areas of FiftyOne does this bug affect?

[X ] App: FiftyOne application issue
[ ] Core: Core fiftyone Python library issue
[ ] Server: Fiftyone server issue

Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?

[ X] Yes. I can contribute a fix for this bug independently.
[ ] Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community.
[ ] No. I cannot contribute a bug fix at this time.

We've had issues with breaking changes in starlette with new versions, so we've had to pin an exact version in fiftyone to avoid issues.
We did upgrade to starlette==0.20.4 as of fiftyone==0.18.0 though. Hopefully that helps?

This is still relevant. The hard-coded starlette dependency not only prevents upgrading to the newest version. It also blocks applying security fixes made in https://www.starlette.io/release-notes/#0270. Could you please upgrade starlette to v0.27 at least?


Install docs would be useful

Currently nothing exists to help a new user to setup the plugin.
Vundle? Pathogen? Required vimrc changes etc etc.

Sure, sounds like a good idea to me. I created another issue for writing the Vim help file too. I'll see what I can do.

@grogancolin Okay, take a look again. I added some installation and usage notes.

:+1:
Looks good to me.
And why oh why wouldn't you just use Vundle?! :)

I'm a weirdo.
On Tue, 20 Sep 2016, 09:17 Colin Grogan<EMAIL_ADDRESS>wrote:

Closed #10 https://github.com/w0rp/ale/issues/10.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/w0rp/ale/issues/10#event-795283297, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADWuvoCZYdY3IhTXq2w13X8aWGjDscHjks5qr5aJgaJpZM4KA7j4
.


Crashes at start, i have no idea what can be the problem

I spent 6 hours on this, and i discarded everything, i even started a blank project with just an sprite to make it work, unsuccessfully.
for some reason, when it connects, immediately,  crashes. i compiled with:
openfl 3.5.3 & lime 2.8.2
openfl 3.6.0 & lime 2.9.0
all using hxcpp 3.2.205
here i'm attaching the android monitor dump and a TCPdump log too. plus the example project
hxscout-monitor-dump.txt
hxscout-tcpdump.txt
testhxcout.zip

Hi,
So you're testing on an Android device? Hmm, I might try disabling allocation tracking first. Sometimes allocation tracking causes problems (too many allocs, takes too long, etc.) Althought with an empty project that seems unlikely, but who knows.
So try allocations="false" in your application.xml file:
<config:hxtelemetry allocations="false" host="<IP_ADDRESS>" />

Disabling the allocations worked (in the empty project) thanks!, but there is any chance i could enable it? this depends of the android device or the desktop app? i need to figure out a memory leak, that's the main reason i need to use it.

Hmm, I've been meaning to add filtering to the allocation logic. It often tracks too many objects (even Floats), when we sometimes only care about our own classes. Desktop should certainly handle allocation tracking better, you might try that.

On my W7 workstation worked. BTW, on my virtualized W7 it crashed (hxScout, not the game) after game connected to hxScout. just to let you know. Thanks for all the help !


Also render isosurfaces from the inside

I made the isosurface shader also work when the camera is inside the cube.
Before

After

Nice 👍  thanks for the contribution 🚀


Playnite notification always says there is nothing new to back up despite actively making new back ups

The Playnite notification will always says "Nothing new to back up" but if I check the backup folder I can see recently created backup files for the games. I did check the logs and it is exiting with 0 and valid JSON content.
Playnite version: 10.9
Plugin version: 0.11.1
OS Version: Windows 10
9-02 15:34:26.803|DEBUG|SteamLibrary#ProcessMonitor:Watching dir processes c:\program files (x86)\steam\steamapps\common\Marvel's Midnight Suns, False, False
19-02 15:34:27.035|DEBUG|SteamLibrary#SteamPlayController:Setting foreground window: 460994 Marvel's Midnight Suns - Steam
19-02 15:34:28.856|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content
19-02 15:35:11.383|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: backup --force --merge --try-update --api --path "C:\Users\Kris\OneDrive\Playnite\Ludusavi" -- "Marvel's Midnight Suns"
19-02 15:35:12.529|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content
19-02 15:35:16.695|DEBUG|SteamLibrary#SteamLibrary:Found 94 installed Steam games.
19-02 15:35:17.440|DEBUG|SteamLibrary#SteamLibrary:Found 1199 library Steam games.
19-02 15:35:18.677|INFO |InstallationStatusUpdater#InstallationStatusUpdater:Marked as installed: 0, as uinstalled: 0
19-02 15:35:18.790|WARN |itchioBundleTagger#itchioBundleTagger:Unknown tag: bundle-tfrr
19-02 20:56:41.065|DEBUG|SteamLibrary#ProcessStarter:Opening URL: steam://launch/1145360/Dialog
19-02 20:56:41.098|DEBUG|SteamLibrary#ProcessMonitor:Watching dir processes c:\program files (x86)\steam\steamapps\common\Hades, False, False
19-02 20:56:41.323|DEBUG|SteamLibrary#SteamPlayController:Setting foreground window: 1115234 Hades - Steam
19-02 21:42:06.098|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: backup --force --merge --try-update --api --path "C:\Users\Kris\OneDrive\Playnite\Ludusavi" -- "Hades"
19-02 21:42:10.978|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content

Ah, sorry about that. I didn't even think to update the .exe. After getting the latest version it is showing properly that it backs up new data.


Meta: 🎯 OKR 2024

Here is a list of issues and ideas that are related to our OKR for year 2024.
OKR1 Up-to-dateness of contents
Pages that are older than 1 year

[ ] #2660
[ ] Mark pages that are older than 1 year by a tag, icon or color in the page tree
[ ] Bulk action to refresh date of pages

Outdated translations

[ ] #4

More communen with additonal MT contract

[ ] #1436
[ ] #2610
[ ] Make it possible to trasnlate only a part of text (to save MT budget, to keep human translation of good quality)

OKR2 Easier, intuitive and problem-free Integreat System
Usability

[ ] #1037
[ ] #1815
[ ] #1907
[ ] #100
[ ] #101
[ ] #102
[ ] #2073

Errors

[ ] #765
[ ] #1887
[ ] #1533
[ ] #2596

More access to Integreat Wiki

[ ] #2661
[ ] Search box in CMS to search for keywords in Integreat Wiki

OKR3 Quality of contents
Less broken links

[ ] #1704
[ ] #2588
[ ] #1443

We already have an issue for creating individual links to the Integreat Wiki :)


Release and versioning strategy

Here's the background of how readable-stream has been working until now:

joyent/node 0.10.x releases get pulled in to the v0.10 branch with the ./build/build.js script, if tests pass it gets published as 1.0.x (i.e. where "x" matches the 0.10 release).
joyent/node 0.11.x releases get pulled in to the master branch with the ./build/build.js script, if tests pass it gets published as 1.1.x (i.e. where "x" matches the 0.11 release).
Only 1.0.x releases get tagged as latest, all 1.1.x releases are tagged as 1.1 - this means that npm install readable-stream defaults to the "stable" streams2 version and if you want the "unstable" streams3 you have to explicitly fetch it from 1.1.x. (Note: I follow a similar strategy with through2)

This wasn't meant to be a scalable process and was going to change when 0.12 was released anyway: 1.1.x would become latest and perhaps even become 1.2.x to match the versioning. Streams3 would become default and streams2 would slowly slip away.
Now that io.js has been released and there is increasing skepticism that 0.12 will ever be released it's probably time to just say that streams3 should be the new default and streams2 along with the 1.0.x series should be deprecated. But there are some questions to be answered:

What versioning scheme should be adopted? Perhaps we should just bump to 3.0.0 and start fresh!
How do we manage "releases" in conjunction with merging code upstream to the io.js codebase
How do we deal with changes in joyent/node streams and can we exert any influence over that? Perhaps we can do a similar upstreaming there, except we have the 0.10 conflict to deal with. The fact that the API in 0.10 is still apparently in flux (e.g. https://github.com/joyent/node/pull/7856) really bothers me and I'd like to see if we can put a stop to that.

Also, I'll continue to advocate that people use readable-stream over core streams, as per this rant into the future, it'll still make sense post-io.js, so getting a release process here is just as important as an upstream merge strategy IMO.

Would it be possible to rip readable-stream out of iojs and bring it back out as a vendored dependency, like how libuv is managed and how readable-stream started out? This might hurt node <-> iojs interop but it is a good direction for the project overall and will mean that readable-stream can focus on stream-specific issues with versioning separate from node core.

+1 on 3.0.0 versioning to properly describe the "version of streams" ;)
On Saturday, January 24, 2015, James Halliday<EMAIL_ADDRESS>wrote:

Would it be possible to rip readable-stream out of iojs and bring it back
out as a vendored dependency, like how libuv is managed and how
readable-stream started out? This might hurt node <-> iojs interop but it
is a good direction for the project overall and will mean that
readable-stream can focus on stream-specific issues with versioning
separate from node core.
—
Reply to this email directly or view it on GitHub
https://github.com/iojs/readable-stream/issues/101#issuecomment-71346373
.

@substack that's exactly what we're doing. It was decided early on that all streams code, docs and issues would live here and releases be upstreamed to io.js. The process is just getting underway so if you'd like to be involved I'm sure everyone would appreciate your participation.

Thanks for the clarification. Separate management will also make pulling in readable-stream from browserify easier and perhaps with this restructuring we won't need shims like https://www.npmjs.com/package/stream-browserify any longer.

+1 on 3.0.0 versioning to properly describe the "version of streams" ;)

+1 I this this would be a good idea too

potentially we could also back version streams2 to be v2.0.0 as well?

Would it be possible to rip readable-stream out of iojs and bring it back out as a vendored dependency, like how libuv is managed and how readable-stream started out?

this https://github.com/iojs/io.js/issues/445 kind of gets in the way

Per the WG meeting:

We're okay with bumping to 3.0.0.
We'll iterate on versions ourselves and recommend specific releases to the io.js TC.
We'll take patches from joyent/node where available and applicable.

settled on just using streams specific semver


General computation robustness

Notes from TODO:

Robustness:

Finiteness checks a la WebKit?
General usage of epsilon!
Ray Intersections:

Need general 'ambiguous' flag for intersection, so we can choose a new ray (or know that it's almost on a curve)

Choose 2^-12 as Epsilon?

Cases:

Parallel and on top of line
Endpoints (don't include start, but include end, if exactly equal)
Cusps

Reduction of things like Ellipse with zero-radius in one dimension into multiple line segments?

Or handle crazy cases at the call-site?

Degenerate segments - how to handle?

Should they affect the stroking? Or just not exist?

The ray intersections would have been helpful. Code for shape clipping ran into this, e.g.:
new kite.Shape().moveTo( -5, 1 ).lineTo( 5, 1 ).lineTo( 5, -1 ).lineTo( -5, -1 ).close().containsPoint( new dot.Vector2( -7.5, -1 ) );
// true?!?

since the ray is shot to the right. It should return "ambiguous" and another direction should be chosen.

May consider: https://members.loria.fr/SLazard/BellairsWorkshops/Bellairs-2009/background/epsilon-geometry-guibas-salesin-stolfi.pdf


fix: jsonValue() type is generic

During the migration to TS we changed jsonValue so it returned
<Record<string, unknown>>. This is only true if all the JSON values it
returns are objects; but it could return an array, a string, a number,
etc. Therefore we make the type generic, setting the default to
unknown, so the user has control over the type.

Test failures look like FF, which #6864 should resolve for now


Master broken for Julia v1.5?

When starting Julia inside the current master with julia --project, I get the following errors:
julia> using Revise, Trixi, Plots
┌ Warning: no Manifest.toml file found, static paths used
└ @ Revise ~/.julia/packages/Revise/moD4B/src/packagedef.jl:1361
[ Info: Precompiling Trixi [a7f1ee26-1774-49b1-8366-f1abc58fbfcb]
trixi_include(default_example())
ERROR: LoadError: syntax: malformed expression
Stacktrace:
 [1] top-level scope at /home/mschlott/gdrive/work/code/hackathon/master-Trixi.jl/src/Trixi.jl:37
 [2] include(::Function, ::Module, ::String) at ./Base.jl:380
 [3] include(::Module, ::String) at ./Base.jl:368
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:331 [inlined]
 [6] eval(::Expr) at ./client.jl:467
 [7] top-level scope at ./none:3
in expression starting at /home/mschlott/gdrive/work/code/hackathon/master-Trixi.jl/src/Trixi.jl:37
ERROR: Failed to precompile Trixi [a7f1ee26-1774-49b1-8366-f1abc58fbfcb] to /home/mschlott/.julia/compiled/v1.5/Trixi/fRRHt_dSxQH.ji.

Here's the offending line:
https://github.com/trixi-framework/Trixi.jl/blob/8a1c6c82edfcad4a83748c8d08c533048282366b/src/Trixi.jl#L37
Since we use @reexport already above, it seems like the offending part is the combination of @reexport and the specific selection of individual symbols. Can anyone reproduce this?

Which version of Reexport do you use?

It works for me, but there are some pretty old versions of Reexport that don't support the syntax @reexport using StaticArrays: SVector. Did you try Pkg.instantiate() or Pkg.resolve()?

Yep, that seems to have solved it. I originally had Reexport v0.2.0, now I updated to v1.0.0 and the error is gone. Thanks!

Sorry, I didn't see your second message in time and had already used Pkg.update() :shrug:


Implement disabling certain days for the calendar

So that one could specify an array of days or ranges (unbounded too)

What about days/ranges that are included two times in the same month view, such as in the following screenshot (from the docs)?

I was imagining the prop type as disabled: Array<number | {start?: number; end?: number}>, where the numbers mean only the day number in the month (leading to the problem above). How about the same interface but with Date objects instead of number, where only the date (not time) will be considered? Additionally, if the start or end may be left out, what happens if both are left out? Is it ignored or does it mean "all days are disabled"?

Yeah, I think it should be Date objects, not number. About both the start and the end being disabled – I guess we can take it as "all days are disabled" not to clutter the computation logic too much.


Sender and receiver are the same in error case

When an error occurs, for example (most likely) in a case of a bad twig input, the sender email address used  is the admin_email option - the same as the receiver's address.
This seems not ok in some usages of mailing services, such as Mailjet, where you have to configure a unique sender email address, which may be different from the admin_email option ...

closing this issue because it's not relevant


[vmware-horizon] Switch EOL and Active Support

Instead of using "Technical Guidance" as security support, use General support as eol (security fixes aren't offered beyond this date). Use the "Technical Guidance" as a support date.
cc @lryanuk

Good shout, clearer based on what VMware offer. The same changes in this PR can be applied to VMware ESXi, want me to pickup that one once you've finalised this one @captn3m0 ?


Add new Testing library to Code Coverage Metrics

Add the new .Testing DLL to the list of projects against which Code Coverage is tested.

Pull Request Test Coverage Report for Build 65044

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

Totals

Change from base Build 64810:
0.6%

Covered Lines:
4512

Relevant Lines:
6294

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll

Looks like Code Coverage is now being picked up for the new Testing library.


Expose timeout parameter for SQLite backend

Closes #119
It appears these changes were previously contributed by @gorogoroumaru in PR #153, but it didn't get merged.

Coverage increased (+0.01%) to 91.006% when pulling ccb86fe757ae898a854419f9dcae28cced57ab82 on JWCook:sqlite-timeout into fa82acff1c505f71f5af4c57fd28a12472d4b76c on reclosedev:master.

Thank you, next time will be easier to parallelize my code.


NIFI-12891: Update ElasticSearchClientService member variables on verify

Summary
NIFI-12891
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Create ElasticSearchClientService.
Enter Properties before trying to Enable
Click Verify Properties
Expected
If Elastic search is running it should pass
Observed
If the ElasticSearchClientService hasn't been enabled prior to verify it fails
Integration test added.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for the contribution @bobpaulin , LGTM 👍 will merge


Feature Request: track "authentication requests"

I would love to be able to track login attempts to my Jellyfin server to see how many attempted logins are being made as well as possibly the IP address they come from, etc. I'm not sure if this is within the scope of the project, but I think it could be a useful metric.
This event occurs in the logs as follows:
[2023-04-08 13:01:18.508 -04:00] [INF] [109] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for "admin" has succeeded.

Hi @wars2k . This seems really interesting, but I cant really see how this will used in a meaningfully way. It could be implemented but I'm not really sure if this is something that is widely requested or just a niche use case, plus I'm not sure how it would fit in with the other types of metrics, as its mostly Media and Playback Statistics, this seems like something in-between like Security Statistics?. Il keep this idea earmarked for now and if it gains more traction I may look into implementing it


Adds default value to filter option

Adds ability to define a default value for a filter
filter :status, default: 'active'

This value is passed to filter parse, so:
filter :status, default: 'active,normal'

should work as it would come from a request parameter.

Merged with #226. Thanks!


[bug]: starlette request object does not have the query parameters in shinylive

I want to access the query parameters to configure my app UI and behavior according to them.
To get the query parameters I have followed the method given in this comment.
A test App.
from shiny import App, ui, render

def app_ui(request):
    ui_elements = []
    ui_elements.append(ui.p(f"request: {request}"))

    url_query = request.url.query
    ui_elements.append(ui.p(f"url_query: {url_query}"))

    greeting = request.query_params.get("param")
    ui_elements.append(f"param: {greeting}")

    return ui.page_fixed(ui_elements)

def server(inputs, outputs, sessions):
    @render.code
    def greeting():
        return "Hi!."

app = App(app_ui, server)

While I was developing my App inside Visual Studio Code I was getting the correct result:
URL: http://localhost:32997/?param=hi
Html ouput:
request: <starlette.requests.Request object at 0x7f7d26702600>
url_query: param=hi&vscodeBrowserReqId=1733558209861
param: hi

Serving the App with uvicorn also works as expected.
Shell command:$ uv run uvicorn app:app
URL: http://<IP_ADDRESS>:8000/?param=hi
Html ouput:
request: <starlette.requests.Request object at 0x7fe7578c7770>
url_query: param=hi
param: hi

However, when I try to use shiny live, and that was my original intention, I loose the query parameters.
Shell command:$ rm -r tmp_shiny_site;  uv run shinylive export src/apps/request_test_app/ tmp_shiny_site/; uv run python -m http.server --directory tmp_shiny_site --bind localhost 8008
URL: http://[::1]:8008/?param=hi
Html ouput:
request: <starlette.requests.Request object at 0x104e330>
url_query:
param: None

Best,
Jose Blanca

Hi @JoseBlanca, thanks for your question. Unfortunately, query parameters in shinylive aren't as easily handled as they are for normal Shiny apps. The technical reason for this is that shinylive apps are run inside <iframe> elements and there could potentially be more than one app on a page, which makes it difficult to route query parameters from the top-level page to individual apps.
We've discussed this in https://github.com/posit-dev/r-shinylive/issues/28 and have done some exploratory work in this direction in https://github.com/posit-dev/shinylive/pull/79.
If you only have a single app on your page, another Shiny user has shared this JavaScript snippet that you could use to reflect the parent page hash to the Shiny app (you'd need to update it to reflect query parameters too).
$(function() {
  $(window.parent).on('hashchange', function (e) {
    $('#currentHash').val(window.parent.location.hash).change();
  });
});

Now I get it. Thanks.
This behavior has been quite surprising to me because it worked during the development in Visual Studio Code and it failed when I tried to deploy the application. The application is supposed to changed the UI according to the url query params, but that's not working, now I understand why.
Thanks for the javascript tip, but I don't think I will be able to fix it. I don't know enough JavaScript, that's one of my motivations for using shiny and not just pyscript. Moreover, given my limited knowledge of both javascript and the shinylive internals, I don't know how reliable and stable that fix would be and I don't know if it would stable enough to use it in production.
Best,
Jose Blanca


ServiceNow Plugin is vulnerable to Blind SSRF

Security Issue
Severity: Low - 3.1
Description
On a cloud instance, is the ServiceNow URL is set to say http://localhost:8061 and then if any request is made to any of the ServiceNow Plugin APIs, for example say, search for records, the plugin responds back with an error message which looks like this:
"Error in searching for records in ServiceNow. Error: Get \"http://localhost:8061/api/now/table/incident?sysparm_fields=sys_id%2Cnumber%2Cshort_description&sysparm_limit=20&sysparm_offset=0&sysparm_query=short_description+LIKETEs+%5EOR+number+STARTSWITHTEs\": Post \"http://localhost:8061/oauth_token.do\": dial tcp [::1]:8061: connect: connection refused"

Impact
From the response, the attacker can easily scan different ports open on the system and perform a Blind SSRF attack.

@asatkinson These are fixed so please verify and close

@mickmister the issue is fixed. Please verify and close

Fixed with https://github.com/mattermost/mattermost-plugin-servicenow/pull/151


PyPI-package not found

I assume with your install instructions you mean to run
pip install dirschema
to install this project? pip states that the package cannot be found:

ERROR: Could not find a version that satisfies the requirement dirschema (from versions: none)
ERROR: No matching distribution found for dirschema

No, it's still in testing phase, so its not on PyPI yet!
You can clone and install it when inside the repo directory with pip install . or poetry install.
If you think that this could be useful to you, but something is not clear or functionality is missing, feel free to reach out! This will be developed further also based on the feedback by possible users.


Webmanifest cannot find page on inserting meta data

Hitting an issue when the plugin is inserting the meta links it tries to find a page of 500/index.html however Astro as generated 500.html
Disabling the inserting meta links fixes the issue.
running Astro 4.15.3
Here is the stack trace:
8:59:15 AM: astro-webmanifest: `manifest.webmanifest` is created.
8:59:15 AM: ENOENT: no such file or directory, open '/opt/build/repo/dist/500/index.html'
8:59:15 AM:   Stack trace:
8:59:15 AM:     at async open (node:internal/fs/promises:639:25)
8:59:15 AM:     at async processPages (file:///opt/build/repo/node_modules/.pnpm/astro-webmanifest@1.0.0/node_modules/astro-webmanifest/dist/index.js:491:21)
8:59:15 AM:     at async astro:build:done (file:///opt/build/repo/node_modules/.pnpm/astro-webmanifest@1.0.0/node_modules/astro-webmanifest/dist/index.js:606:11)
8:59:15 AM:     at async runHookBuildDone (file:///opt/build/repo/node_modules/.pnpm/astro@4.15.3_@types+node@22.5.1_typescript@5.5.4/node_modules/astro/dist/integrations/hooks.js:428:7)
8:59:15 AM:     at async AstroBuilder.run (file:///opt/build/repo/node_modules/.pnpm/astro@4.15.3_@types+node@22.5.1_typescript@5.5.4/node_modules/astro/dist/core/build/index.js:180:7)

I'm also seeing this, running 5.0.0-beta.4 deploying to Netlify.


Attachment filenames with unicode characters

How do I send an attachment with unicode characters in its filename.
I notice the option MAIL_ASCII_ATTACHMENTS when set to True, strips the file names off their unicode characters.
But I want to able to send unicode characters in the filenames. Is there a way to do it?

I can't reproduce this issue. Attachments with Unicode characters in filenames send successfully.


Android : App closes on clicking back button from streams or messages

The app always closes on clicking back button instead it should move to the Home screen.

@zulipbot claim

This one should be a part of the whole Navigation rework.

@borisyankov can we use https://github.com/igormatyushkin014/android-back-button module ?

This will be resolved with Nash's work. No need to keep as a separate issue.


Power rename

Description of the new feature / enhancement
It would be really useful if Power Rename could operate in a way that allows me to append a certain character sequence to existing names, regardless of whether a character is already present. For instance, if I want to add a prefix or suffix, I'd like to be able to do that seamlessly. Alongside this, I'd also like to have more advanced character addition functions. For example, the ability to insert an expression at an arbitrary distance – let's say, 5 characters from the beginning or 3 characters from the end. It would be great if this feature could be customizable. Moreover, having an option to select a specific character for the operation, rather than applying it to all potential possibilities, would be really handy. Essentially, the goal is to make this functionality adjustable. If we could also integrate the ability to choose which character to consider for the operation, it would greatly enhance the tool's versatility. This is something that would be of immense value to developers who are utilizing the Power Rename tool
Scenario when this would be used?

Supporting information

Examples for this are also on the documentation.

What you are writing about is far too complicated and no normal user who would like to use a graphical interface will use it. It should be a very simple thing. I click that I want a prefix and the prefix is supposed to be made. Simple as that.

What you are doing makes no sense, you come up with some solution that is not a solution to my problem and you think it is worth closing this topic and not continuing to make changes. The program we use is used by users precisely because it is easy to use and has many functions. The function to change the name in the form you provided is completely non-intuitive and pointless

Sorry you feel that way. Regular Expressions are not the easiest - I agree - but it is very powerful. The situation you describe is understandable. The thing is, we've had many, many similar-yet-still-different requests like this already. Creating interface controls for all those use cases will quickly flood/bloat the window. One could also say that a control that does just one thing, isn't efficient, considering there is an existing possibility (in this case via RegEx)

I only showed that the function that you are asking for already exists, so it's not a new feature. If you have suggestions how to make it easier to use, suggest that as the new feature.


PostgreSQL query date column is change the date result to UTC timezone.

I am using SQLPad in Asian/Shanghai +8:00 timezone, and query the table with a date type column in PostgreSQL connection, but the value display on SQLPad of date type column are convert into the UTC timezone,  example: the real value in PostgreSQL  database is 2021-01-03, but SQLPad display the UTC result: 2021-01-02 16:00:00, like the following example on the screenshot, I just need to display as it is, so that is beset and entrapped as if in mire. I change the linux system locale and system timezone to Asian/Shanghai, but it is not solved.  Do you have any nice solution? @rickbergfalk I have just look at the https://github.com/brianc/node-postgres library, and there are some issues described like the same phenomena, example: https://github.com/brianc/node-postgres/issues/1746, which not have a connection parameter  such like dateStrings in MySQL/MySQL2 library, which can automatically convert the date to string.

I change the process environment parameter TZ from Asian/Shanghai to UTC, which can read using process.env.TZ parameter by node-postgres library, and then this problem is solved.
export TZ=UTC;
node server/server.js --config config.env

Check out the detailed Reference Source

Hi I have the same issue : a simple SELECT TO_DATE('2022-02-23', 'YYY-MM-DD') on Postgresl returns a correct DATE with psql (2022-02-23) but returns an invalid timestamp with Sqlpad 2022-02-22 23:00:00. I don't understand why I got a timestamp instead of a plain DATE ? I'm not running the sqlpad myself so I can't change anything and even if I could we're using it with hundreds of databases so I can't change the timezone globally.
Best regards


Added remaining services

-Added a system to enable users to book for SPA's
-Added a system to enable users to book for Bicycle Repairs
Thank you

This commit has been merged!
Thank you


add html in the tooltip

How can i pass html to tooltip?

You can pass it.. I modified it to do it like this:
In ToolTipComponet template:

 <ng-template #noHtml>{{value}}</ng-template>
and pass the valueType as part of tool-tip configuration: when you need the HTML display, just use like this:

@drozhzhin-n-e , i can work on this and create a PR if you would like to. Let me know what you think

there is no html support now

@drozhzhin-n-e , i will be happy to work on this and create a PR if you would like to. Let me know what you think

@nirajkrz thanks for the idea. I will definitely do it when I have free time.

@drozhzhin-n-e This can be closed now that #51 has been merged.
Also, can you bump the version in npm?

@returnlytom @jordibaliellas  added to version 2.1.9


diva.exe does nothing upon launch

I followed the instructions but after patching and running diva.exe and tlac.exe, no game window opens. The command prompt window just stays empty and opened. I tried the same process with elac instead and for some reason it works.

ELAC is for Project DIVA Arcade, while TLAC is for Project DIVA Arcade Future Tone.
If your diva.exe worked with ELAC but not TLAC, you're running DIVA Arcade and not DIVA Arcade Future Tone. To use TLAC, find a dump of Arcade Future Tone

Well damn how could I miss that. Does it say that anywhere on tlac's page that I didn't see?


test: add unit tests for content parsing and input reading

Add tests for copyToClipboard function to verify clipboard operations.
Add tests for readFromStdin function to ensure proper stdin reading.
Add tests for readFromFile function to verify file reading functionality.
Add tests for parseContent function to check parsing of direct text input, stdin, and file inputs.

These tests enhance the robustness of the application by ensuring all core functionalities are working as expected.

I love you added tests

I love you added tests

Thanks a ton for your help with parseContent! Glad you love the new tests.

For records, archive, and a better understanding, this PR adds tests for methods added with #16


Conceptual question about the ORM specific implementations

One of the purposes of the specification pattern is to "avoid database notions leaking out of repositories." With respect to the problem where repositories that leak IQueryables to the application layer:  "The implementation of IQueryable highly depends on what LINQ provider is used behind the scene, so the client code has to be aware that there potentially are queries which can’t be compiled into SQL." And so the specification pattern allows us to work with Expressions, instead of IQueryables which are sometimes intentionally implemented.
When one uses an ORM specific package, or a custom crafted one, we again start leaking ORM  notions out of the repositories.
Of course there is a line we draw somewhere to be practical rather than purist. For example, we often say "our specifications work for ORMs that support LINQ".
As soon as I'm using things like SplitQueries in my specification (because I need them!),  I'm back in a similar situation of leaking IQueryables. I cannot be sure my query will work if pass it into a repository that uses a different context, database or ORM.
I'm curious though what a more purist approach might look like? By purist I mean: "We accept a dependency on ORMs supporting LINQ, but not on ORM specific methods like AsNoTracking or SplitQueries". How would a purist push these methods back up into the repository layer?

Thanks for the thoughts. I'm satisfied with that. I'm going to leave this open for 24 hours in case anyone else chimes in and then will close the issue.


Feature/hot reload

What does this PR do?
Adds hot-reload for changes when we make any change on the apis or oauth servers

:shipit:


Recent posts short code

Make recent posts a short code that can be used in various places.

My reason for wanting this was to show recent posts after the post content.  Ended up adding this to the templates in https://github.com/josephscott/burgontan/commit/a3624b567fc8c6de1ba75def44746cab555411e1


Can i add global pooling layer?

I have added this layer in my local keras (under convolutional layers):
class GlobalPooling(Layer):
'''
Apply a global pooling to an output.
'''
def init(self, pooling_function = T.mean):
super(GlobalPooling,self).init()
self.pooling_function = pooling_function
def get_output(self, train):
X = self.get_input(train)
return self.pooling_function(X.flatten(3), axis = 2)
def get_config(self):
    return {"name":self.__class__.__name__,
           "pooling_function}":self.pooling_function.__name__}

It seems to work fine, can you please add this support?
Thanks!

Sure, you could open up a pull request and we'll look at it.

Is global pooling added?

You can use the code i wrote in the first message

thanks! I am thinking to create a pull request for that; it would make things easier.

Sure, go for it
On Tue, Aug 11, 2015 at 6:26 PM, Cheng Guo<EMAIL_ADDRESS>wrote:

thanks! I am thinking to create a pull request for that; it would make
things easier.
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/230#issuecomment-129929339.

Created a pull request: https://github.com/fchollet/keras/pull/522


Add ability to refresh source nodes with the latest columns from the …

Summary
Users should be able to refresh a source node with the latest columns via an API call, rather than waiting for the reflection service to do so. This PR adds the functionality to the PATCH /nodes/{name}/ endpoint, where passing in refresh_if_source=true will refresh the source node with up-to-date table columns from the query service.
This also fixes a two bugs with source nodes:

dimension links weren't being propagated during node updates
if a primary key was set during node update, it wasn't reflected in the result

Test Plan
Will add a few more tests.

[ ] PR has an associated issue:
[ ] make check passes
[ ] make test shows 100% unit test coverage

Deployment Plan

@agorajek and @samredai Should we just always assume that a query service is configured? I'm trying to think through this scenario from the user perspective:

A query service is configured:

The user would just ask the query service for columns on the source.
If the user needs to select specific columns for a source node, they can just provide a list of column names. There's no reason to include the column types.

A query service is not configured:

The user always needs to provide the column names + types when creating a source node.
A lot of crucial DJ functionality is disabled, as users can't retrieve data, keep the system up-to-date (via reflection) or materialize anything, which makes me question if we should allow this...

If we always assume that a query service is configured (and raise an error if not), a lot of the complications around keeping the source node update config in sync with the latest columns from the query service goes away.

@agorajek I've updated the PR to always refresh source nodes with the latest columns from the query service during node updates. If we're all aligned on the source nodes always sourcing their columns from the query service, I can make that change in a separate PR. Most of the logic that's in this one will remain intact.

@shangyian 100% in my opinion. I don't see much value in the platform if we are doing this in separation from a DW. Access to a DW is critical imo, and hence the query service (and reflection one, if separate from query).

I think I disagree. It's not completely unreasonable to find value in just the SQL generation capabilities, right? Assuming someone is willing to execute the SQL "on their own" without the assistance of a DJ query service. To ask the question another way, would we raise an error when someone requests SQL for a set of metrics and dimensions just because they don't have a query service configured?

I think I disagree. It's not completely unreasonable to find value in just the SQL generation capabilities, right? Assuming someone is willing to execute the SQL "on their own" without the assistance of a DJ query service. To ask the question another way, would we raise an error when someone requests SQL for a set of metrics and dimensions just because they don't have a query service configured?

@samredai once the reflection service is a separate thing, I think we could consider a global DJ setting e.g. SOURCE_NODE_MONITORING=on|off, and base off this switch we could add a skip to that auto-refresh, but I still think the auto-refresh mechanism makes sense as a default.

Still a draft but I think we should look at this PR alongside PR #645

@shangyian I think the functionality of this PR is good, but from what we talked about recently we probably just want:

for the managed sources nodes to be monitored by the reflection system
for the manually create source nodes to not have any sync with reality and no need to refresh their schema

for the managed sources nodes to be monitored by the reflection system

@agorajek agreed, but what do you think about having a POST /nodes/{name}/refresh endpoint that the reflection service can call which will update the managed source nodes to the latest columns? I think that'll be cleaner than having the reflection service post updated columns directly to a source node.

Instead of doing that, I think we can have the reflection service call: POST /nodes/{name}/refresh. This way, the interface is cleaner and someone can perform "manual" reflection by calling the same endpoint

Agree.

Closing in favor of https://github.com/DataJunction/dj/pull/659


redirect does not support redirecting to nullable values

I have a class OptionalValue<T> which is unwrapped to T during serialization and use the redirect function to get the correct schema:
processReflection {
    redirect<OptionalValue<String>, String>()
    redirect<OptionalValue<String?>, String?>()
}

The first line with OptionalValue<String> is working fine. But for the second line with OptionalValue<String?> the nullability information is lost. I think the problem is here:
https://github.com/SMILEY4/schema-kenerator/blob/3ec95129139360c21be3f181724135daf4843579/schema-kenerator-reflection/src/main/kotlin/io/github/smiley4/schemakenerator/reflection/steps/ReflectionTypeProcessingStep.kt#L451-L459
For example, consider the following class:
class Request(
    val name: OptionalValue<String?>
)

The call to resolveMemberType(member.returnType, resolvedTypeParameters, typeData).id will apply the redirect to String?, but the response does not contain the information that String? is nullable. Then nullable = member.returnType.isMarkedNullable assigns false, because Request.name itself is not nullable, it is only redirected to a nullable type.

Hi,
Thank you for reporting the issue and the hints. I created a fix and released version 1.2.0.  ktor-swagger-ui should receive a new version soon aswell.

Thank you very much!


Define how exactly we record clearing prices in SwapClaims

The protocol specification currently describes how the results of a swap are computed using real-number prices as follows. The $i$-th user in the batch has submitted inputs $\Delta_1^i, \Delta_2^i$ and computes their outputs as
$$\Lambda_1^i = b (p_{t_1, t_2} \Delta_2^i) + (1 - b) \Delta_1^i$$
$$\Lambda_2^i = b (p_{t_2, t_1} \Delta_1^i) + (1 - b) \Delta_2^i$$
where $p_{t_1, t_2}$ and $p_{t_2, t_1}$ are the effective prices of $t_1$ in terms of $t_2$ and vice versa, and $b$ is a success bit set to $1$ if the swap succeeded and $0$ if it failed.  These formulas simplify to $\Lambda_1^i = p_{t_1, t_2} \Delta_2^i$, $\Lambda_2^i = p_{t_2, t_1} \Delta_1$ when the batch succeeds and $b = 1$, or to $\Lambda_1^i = \Delta_1^i$, $\Lambda_2^i = \Delta_2^i$ when the batch fails and $b = 0$.
This description gives the basic idea, but it's not workable to implement, because we need to specify how to compute the clearing prices using machine integers, not just real numbers, and we also need to specify how the clearing prices are written into the chain state.
In the staking computations, we used fixed-precision arithmetic with an implied, fixed denominator.  That approach is less ideal here, because using fixed-precision arithmetic means making an upfront choice of how to allocate precision, and it's not clear that there's a good way to make that choice.
Instead, we could look at how we would actually compute the prices $p_{t_1, t_2}$.  These prices are effective prices, inclusive of fees, so they're downstream of the actual AMM execution. If the combined batch input is
$$(\Delta_1, \Delta_2) = (\sum_i \Delta^i, \sum_i \Delta^i)$$
and the output from the AMM is $(\Lambda_1, \Lambda_2)$$, we'd compute the prices as $p_{t_1, t_2} = \Lambda_1 / \Delta_2$ and $p_{t_2, t_1} = \Lambda_2 / \Delta_1$. Plugging this in to the output formula $\Lambda_1^i = p_{t_1, t_2} \Delta_2^i$ gives $\Lambda_1^i = \Lambda_1 (\Delta_2^i / \Delta_2)$, i.e., user $i$'s share of the batch's output amount is pro rata to their share of the input amount (and similarly for $\Lambda_2^i$, or also in the $b=0$ case where the swap failed).
This also gives a reasonable way to define rounding behavior, since we could compute the formula as, e.g.,
let lambda_1_i = ( ((lambda_1 as u128) * (delta_2_i as u128)) / delta_2) as u64;

by lifting up to 128-bit precision to do a widening multiplication, then dropping back down to 64-bit values in dividing by delta_2. (We probably want to use checked_ conversions and operations with .expectations rather than as casts, but this seemed clearer in the example).
This suggests that a clean way to record the clearing prices is not to record them directly, but to instead record the batched input and output amounts, as well as the success bit.  To put clearing prices in the state, we need to have a proto anyways, so we could do:
message BatchAmmOutputData {
  uint64 delta_1 = 1;
  uint64 delta_2 = 2;
  uint64 lambda_1 = 3;
  uint64 lambda_2 = 4;
  bool success = 5;
}

Some open questions:

[ ] This means we need to bound $\Delta_1, \Delta_2$ in 64 bits, which is doable but requires us to prove some additional bounds on the inputs, so that we know that they'll stay under 64 bits after aggregation.  Maybe we restrict swap inputs to 56 bits, or something?  Or maybe we can skip all of that by requiring that the total supply of any asset fits in 64 bits (and therefore, any valid amount of that asset does too).

[ ] We should carefully analyze the rounding to ensure that we round down, burning any rounding error, rather than allowing slight inflation / precision bugs.

I defined this structure in #1214.


fix some translation errors

“安装脚本通常会启动同一个计算机上所有控制平面组件” should be translated by “设置脚本通常会在同一个计算机上启动所有控制平面组件”

@NeoTse Please sign the CLA in order for this to be reviewed.

I signed it

/lgtm
/approve


Changes to margin of content in data science course

Issues Identification
Closes: #(issue number)
Description
Summary
A brief description of what this pull request does and why it is needed.
Details
Include any detailed information about the changes in this pull request.
Types of Changes
Please check the boxes that apply

[ ] Bugfix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

[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
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes do not break the current system and pass all existing test cases
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Screenshots
If applicable, please attach screenshots of the changes made to the user interface.
Additional Information
Please provide any other information that is relevant to this pull request.

oh okay

oh okay
actually this is my first time learning open source contribution and im learning new stuff
i wasnt aware that u had to open an issue and then make the pr
thank you so much for clarifications

And one more thing this project and me are inactive for sometime due to some of my works.
please do work on other projects.
i hope you understand.


etree.XMLSyntaxError: PCDATA invalid Char

Hi,
I have tried pulling ios XR configuration data using scrapli netconf after connecting the device but it has returned the error - lxml.etree.XMLSyntaxError: PCDATA invalid Char value 8, line 395, column 19. I have attached the full trace with this case.
XML Syntax Error.txt
Commands were tried step by step using ipython and attached file shows relevant output as well.
I have also tried running the following script and resulted in similar error message and the DEBUG logs are attached as well.
from scrapli_netconf.driver import NetconfScrape

from bs4 import BeautifulSoup

import logging
logging.basicConfig(filename="scrapli.log", level=logging.INFO)
logger = logging.getLogger("scrapli")

my_device = {
    "host": "<IP_ADDRESS>",
    "auth_username": "test",
    "auth_password": "test123",
    "auth_strict_key": False,
    "ssh_config_file": True,
    "port": 830,
    "strip_namespaces": True,
}

conn = NetconfScrape(**my_device)
conn.open()

response = conn.get_config(source="running")
# print the raw XML to the screen
print(BeautifulSoup(result.result, "xml").prettify())

scrapli.log
Appreciate if you could please help me to fix this problem. Many thanks.

DEBUG.log
I have run the same script with logging level as DEBUG for capturing additional information.

Hey @hardev20  thanks for opening this and the logs. Found a hopefully easy fix (this is due to non "standard" unicode characters in one of your descriptions) but haven't had time to test it thoroughly yet.
I've pushed this to develop branch though so if you can give it a shot and let us know if it fixes things that would be great! You can install the develop branch like so: pip install -e git+https://github.com/scrapli/scrapli_netconf.git@develop#egg=scrapli_netconf
Carl

That was really a magic! Just installed the version of the scrapli_netconf build you have sent me and got a clean XML config file back from the IOS XR router.
I am highly encouraged now to learn more and develop scripts for my work. Thank you very much for your help. Cheers
Regards,
Rajesh Sivaraj
On 18 Nov 2020, at 00:48, Carl Montanari<EMAIL_ADDRESS>wrote:
Hey @hardev20 https://github.com/hardev20 thanks for opening this and the logs. Found a hopefully easy fix (this is due to non "standard" unicode characters in one of your descriptions) but haven't had time to test it thoroughly yet.
I've pushed this to develop branch though so if you can give it a shot and let us know if it fixes things that would be great! You can install the develop branch like so: pip install -e git+https://github.com/scrapli/scrapli_netconf.git@develop#egg=scrapli_netconf
Carl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/scrapli/scrapli_netconf/issues/18#issuecomment-729303952, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQO7P2WBGUYJDSBMQYKBCUTSQMKVLANCNFSM4TZEFWBQ.

Awesome! I'll test this out more before it goes to master and pypi, but I think it should be good to go. I'll go ahead and close this now, feel free to reopen if same issue pops up again.
Thanks for opening and the logs and such!
Carl


Use Flysystem in Filesystem driver

Currently the filesystem driver is limited to local filesystem, it would be nice if it used Flysystem underneath which would bring support for all the adapters the latter supports (Dropbox, SFTP, etc), has that been considered?

Wouldn't storing a cache on a remote filesystem add too much latency to cache operations?

Not any more latency than using cache on a remote Redis instance or anything similar. Having a Flysystem driver would open the door for any of the drivers it supports, S3, Dropbox, Azure, etc.

I would not add any further layers to the Filesystem driver, but rather add a separate Flysystem driver.
The reason is simple:

race conditions are hard enough to debug with plain FS semantics (have you ever tried swapping local disk for NFS for a cache drive?). Flysystem adds another layer on top of storage systems that have wildly inconsistent semantics
even assuming that no race conditions or corner-case bugs are introduced, perfs would still suffer compared to the current driver

I'd be fine with it being a separate driver.
That being said you cannot make assumptions as to how people use cache, in the use case I needed this for there was only ever one user to interact with the cache at a time (as this was for a CLI app) and performance were not an issue. People use cache for a lot more things than just web applications. If I want to use Stash in a pet project to cache things on my DO instance or something, I should be able to. Cache is way too broad of a concept to make design decisions based on how you think it would be used.


Draggable option recursive

Hello and thank you for your project,
I work with detailled tree but 'draggable' option seems to not be 'recursive'
I've made a Fiddle : https://jsfiddle.net/ymteftma/2/
First example work but not the others
I forgot something ?
Regards, Maxime.

hello,
I forked your code and provided some a potential solution. I'm not sure its the best solution, but it works.
https://jsfiddle.net/p7t41d53/1/
I think wrapping each 'item' you want to be draggable in a div could help achieve what you are looking for. I'm not sure why this wouldn't work with list items, but it appears to work OK with divs.
I wasn't entirely sure what you wanted to be 'recursive', so I made two examples.
"listWithHandle3" has each item draggable, even "third"
"listWithHandle4" keeps "third" nested as a child of "Second"

Hello aintJoshinya,
The third example is what i want, but i work with large items lists with potentially 5-10 steps it's just not possible for me to implement this.
Thank you for your help

@maxime-gerum Draggable elements must be direct children of the sortable. @aintJoshinya's solution is the best way.


Bump to BeeJS v6.0.0-pre

BeeJS released its new ESM build with a beta tag that the library should update to, replacing the FDS hotfix of bee-js

This version has problems working with jest, a testing framework. Jest can't use it so the new version is the ECMAScript module. Most likely there is a set of configurations that will allow this module to work, but I did not find a working one.
No comments from the developers yet.


fix(demo): add empty and loading state table demos

also added primary action container to empty state to support designs

fixes https://github.com/patternfly/patternfly-next/issues/2171

PatternFly-Next preview: https://patternfly-next-pr-2254.surge.sh

@mattnolting thanks! build passes now.

:tada: This PR is included in version 2.31.9 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


What does 10.0, 9.3, 9.2, 9.1 bring

Under the reasons to upgrade the configuration, a table lists features per Hyper-V configuration version, but does not list any reasons for changes after 9.0. Would be good to detail what changed between each.

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

ID: 385c3c9e-8a25-237b-eb1f-c10569d2fc0d
Version Independent ID: 1f128afc-b017-4b84-7a9a-f84471baffab
Content: Upgrade virtual machine version in Hyper-V on Windows or Windows Server
Content Source: WindowsServerDocs/virtualization/hyper-v/deploy/Upgrade-virtual-machine-version-in-Hyper-V-on-Windows-or-Windows-Server.md
Product: windows-server
Technology: hyper-v
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Extract: decompress all the blocks on the fly

Currently we read in all the required bgzf blocks, then decompress them, storing all the decompressed data in a buffer. The entire buffer is then parsed into FASTQ records.
Instead, we could write a little reader class that only reads in a block and decompresses it as need.  This would only require at most to uncompressed blocks of buffer in memory at any given time.

I have a working version locally.

Done in #7


Performance: Wear/Unwear vehicle repeatedly.

If wear/unwear vehicle repeatedly, the performance will drop dramatically.

Interesting, it is keeping the actions around somehow?

Looks like something in zjs.

To fix this I would investigate the actions adding/removal code more deeply, especially things like the listeners and callbacks, to make sure everything is correctly cleared when the app is unworn.

I noticed that wearing/unwearing the sword will cause similar glitches. The actions are definitely getting stuck.

Reopen because of revert https://github.com/webaverse/app/pull/2916#issuecomment-1123095807

Closed by https://github.com/webaverse/app/pull/2916#issuecomment-1126847544


Demo broken

This link is now broken: https://portal.sheetjs.com/xspread/
It was working recently and was very useful to see x-spreadsheet integration.

That was a demo of a feature in our Pro offering and not intended for general use.  Our open source integration is discussed in demos/xspreadsheet in the repo


feat: port ModelTheory.Encoding

This file had more dubious translation messages than usual. They looked like pointless universe changes, so I deleted them all.

bors r+


serialize tests Dummy is poorly written

By not serializing to the actual type, it fails certain invariants, such as the fact that default impls for methods rely on other methods (such as uncompressed, unchecked). It is of questionable utility.

I agree that its serialize_uncompressed and serialize_unchecked should use the [u8]'s  serialize_uncompressed and serialize_unchecked.
Let me do it in an upcoming PR.

Actually I noticed my actual issue was something to do with the old serialized_unchecked being actually uncompressed. I fixed it in a forthcoming update to https://github.com/arkworks-rs/algebra/pull/130.
I guess morally speaking, what it is doing makes sense


Query parameters and path variables conflict with native DOM properties

Noted by @nomego in issue https://github.com/erikringsmuth/app-router/issues/81
Query paramaters like hidden=true overwrite the element's native DOM properties. For example, this URL hides the page: https://erikringsmuth.github.io/app-router/#/notes?hidden=true
The model generated by createModel() needs to change to look like this.
{
  params: {
    // path variables and query parameters
  },
  router // if bindRoute attribute is set on the router or route
}

This will be a breaking change and need to bump the version to 3.0.0. A PR is already open https://github.com/erikringsmuth/app-router/pull/90.

Another solution is having a whitelist of permitted parameters. Any reason not to go that route?

Checking a standard list of DOM properties could work. The downside to that would be if the user actually wanted to use a query parameter like hidden=true.

Good point. (Speaking of which, I'm also a bit concerned about W3C adding new attributes that suddenly get special meaning.)
Thanks for the explanation.

Let me add my thoughts to this case also.
First of all I've closed PR #90 since it depended on auto-binding template support, which won't be implemented. (Also issue #81 has been closed because of the same reason and because it turned into a discussion more than an issue.)
Benefits of scoped parameters:

Performance (no need to loop over the model, just assign the whole model at once)
Memory (no need to value-copy all properties, just reference the model)
Declarative (templates will have {{ params.id }}, showing that it will use its value from path/query parameters)
Less conflict risk (parameters conflicting with HTMLElement properties (which might change) or custom elements (which might have any property) - actually the property name params itself should probably just be a default but configurable by the user

Also if it were me, I wouldn't want to maintain black/whitelists of allowed/not allowed parameters/properties? And what will the documentation say? "Note, you cannot use these parameter names: id, hidden, ..." ?
Just want to make sure this change gets implemented in 3.0 :)

I agree overall.

Also if it were me, I wouldn't want to maintain black/whitelists of allowed/not allowed parameters/properties?

Coming from Polymer, I already maintain two sets of "allowed attributes" anyway (the attributes-attribute and the type-hinting Javascript property). So adding a third wouldn't really bother me (as it could be inferred from the attributes-attribute). But I realize other libraries may do it differently.

And what will the documentation say? "Note, you cannot use these parameter names: id, hidden, ..." ?

This is already a problem with attributes in HTML5 since you don't want to accidentally override global attributes (like title and hidden). Polymer has an [issue report[(https://github.com/Polymer/docs/issues/90) on this, but the docs are a bit vague, IMHO. Native properties are apparently even more of a problem.
Stating it in app-router would just make it more explicit.

I agree with @nomego on this one. One of the biggest things for me is keeping the API simple. It's easy to explain a params field vs. explaining a new whitelist attribute or why you need to avoid global attributes. It's a breaking change either way.


Support Bullet Points

Hi, I'd like to structure recipe ingredients or sub-steps as bullet points where possible. Right now when I try to do bullet points, the cli and server recipe views separate each bullet point into it's own step.
I don't have the best working memory, so things separated into bullets on their own lines makes it easier for me to keep track of which bits I've already done and where I'm at in the recipe. I tend to get lost in the paragraphs when it's formed as prose.
Guacamole is a bit of a contrived example, but I personally find this much easier to follow (and not miss an ingredient lol):
In a medium bowl, mash together:
- @avacados{3} - peeled, pitted, and mashed
- juice of @lime{1}
- @salt

Mix in:
- @onion{1/2%cup} diced
- @fresh cilantro{3%tablespoons} chopped
- @roma tomatoes{2}
- @garlic{1%tsp} minced
- @ground cayenne pepper{1%pinch}

Refrigerate 1 hour for best flavor, or serve immediately

than this:
In a medium bowl, mash together @avacados{3} (peeled, pitted, and mashed), juice of one @lime{1}, @salt

Mix in diced @onion{1/2%cup} diced, chopped @fresh cilantro{3%tablespoons}, @roma tomatoes{2}, minced @garlic{1%tsp}, @ground cayenne pepper{1%pinch}

Refrigerate 1 hour for best flavor, or serve immediately

Hi @michaelPotter thanks for bringing this up.
I think there're two problems to solve here.

In text editor the language plugin should set word wrap by default. For example when writing in Markdown it does it for you and text displayed on multiple lines.
Need for syntax to continue step on next line. Example borrowed from bash would be:

In a medium bowl, mash together: \
- @avacados{3} - peeled, pitted, and mashed \
- juice of @lime{1} \
- @salt

In that case we keep freedom of expression for a user and they can use "bullet" points style or any other.
What do you think?

Hi, I like the backslash syntax. That would keep things flexible so that you can use whatever type of bullet points you want. To me, that seems better than having a number of predefined bullet options the way markdown does.
I'm not sure I understand your point 1 though... Are you suggesting that multiple consecutive lines should be wrapped into one step entry; and separate steps should be separated by an empty line - the way markdown does it? I think that would be good - seems like that would be less surprising to someone familiar with markdown.
Or do you just mean that the text editor should soft wrap so that there aren't run on lines like that?

Apparently in Markdown (it’s so intuitive that you do it without much thinking) they only split paragraphs if there’s an empty line between blocks of text (source).
I think it makes sense to use a similar approach in Cooklang too and split into steps only if there’s an empty line.
Re: https://github.com/cooklang/spec/issues/45.


Bluetooth: Mesh: Proxy forwards ALL_NODES addr

Unless explicitly blacklisted, the Proxy node will forward all messages
for the ALL_NODES address to the GATT proxy client.
Signed-off-by: Trond Einar Snekvik<EMAIL_ADDRESS>

Do you think it's worth back porting this to LTS as well? In that case it'll require a matching issue.

Btw, I found no mention at all on this in the Mesh spec. Same for the Friend feature. The definition of the all-nodes address only talks about processing of the primary element of the local node, but nothing about the "proxy" functionality (GATT Proxy or Friend). If we'd follow the Proxy spec to its word we'd have to drop even all-nodes messages if that address is not in the whitelist, however common-sense tells me we should do what you've done in this PR.

Yeah, seems like a flaw in the spec that this responsibility isn't mentioned in either section.
I think it's worth backporting, it looks like a bug from user perspective.


[3.0] Published views are not being used!

I just published the views and wanted to do some changes on "route.blade.php" but it looks like these files are not being used.
Published files are located under
resources/views/vendor/apidoc

Issue was related to my installation to Laravel!


Issues using buttonClasses setting

I found an error on the .addClass() method that uses a (,) comma instead of a + to append classes.
This causes the .addClass() not to append the custom classes to the buttons.
For example the custom classes won't work with:
.addClass('moveDown', settings._buttonClasses.moveDown)
but work with:
.addClass('moveDown '+ settings._buttonClasses.moveDown)
Thanks

Hi pbreah,
Properly it is a problem on jQuery.
I would like to ask which version of jQuery are you using? Thanks!

I'm using what the current version of Wordpress has: jQuery v1.11.2 and jQuery Migrate v1.2.1
I checked the official jQuery docs, and there is no mention of passing multiple classes as separate parameters: https://api.jquery.com/addclass/ , could this be an overridden .addClass() method on your end?
Thanks

Oops, you are correct. I may mix up it with some other function.
The fix will be available in next release. Thanks!

No problem, glad to help :-)
Great work on this jQuery plugin, very useful.

Hi, a new version of appendGrid is released which fixed this issue. Cheer~


Move PagerDuty support rotation to config

Moving support request duty to secondary on-call to reduce rotations. NuGetDeployment PR coming.

Change in plans - new PR coming...


Align with Django's current versions

Django 2.2 is end of life since April of last year.
There is also Django 4.1 and Python 3.11 out, so this add tests for it as well as all Django/Python's supported versions

@Atem18 Thanks for your contribution I'll examine and merge ASAP

@Atem18 I need to make some more changes to add these changes. #141
Thanks for your efforts


Align to latest Nextflow version and bump to groovy 4.0

This PR will align the plugin to the latest nextflow version (24.08.0-edge).
It will deprecate all nextflow versions prior to 24.01.0-edge.
(I might need to add some updates to the test workflows, but we'll see if that can be changed apart of this PR)

The force push was to sign off every commit using, which is now required.


Ignore the project_settings_override file when in editor

Fixes #70659
Fixes #77424
Extend the PR https://github.com/godotengine/godot/pull/55230, also ignoring the "project_settings_override" file.

Thanks, and congrats on your first merged Godot PR!

Cherry-picked for 4.0.4.


Unable to send messages

unable to send a message using the command npx mudslide@latest send me 'hello' after executing the command, I get the response as 'success Done' but on the WhatsApp app no message was received.

Noticed the same behavior. In addition, the message comes to the WhatsApp web interface

For me, it works without issues on Web and the iOS app.
Unfortunately, I currently don't have access to an Android device for testing.
@zrkhan128 Does the message arrive for you on the Web interface, and what mobile platform are you using?

I am using android, WhatsApp Desktop app is installed on my PC but nothing appear there too.

@robvanderleek it was working perfectly fine before, I did install new window on the system since then i am facing this issue. other commands are working fine like list groups etc.

I can see the message being delivered on the web interface but the recipent didn't recieve the message neither i can see it on my mobile device.

Hi @zrkhan128 @weldance
I had limited time to look at the behavior on Android.
Indeed messages did not arrive (or are not received correctly, or just not shown).
It has something to do with the buttons, for now, I've pulled the code apart a bit, and sending plain messages should work again on Android, can you please verify with version 0.17.1?

Now it's working fine thank you!


move low quality genomes from input directory to output directory (fo…

…r phylogenetic tree building)

@wasade could you take a quick look? Works well on my end.

One quick minor comment, then :+1:

@wasade change made, thanks!


Problem: Don't have a list of open source interpreter projects to review

Solution: Compile a list of open source interpreter projects
SuccessCriteria: A list of projects, with a high level description and a link to the source code
This is a requirement for issue #42.

List of open sources interpreter projects to review
These are open source projects that have a large interpreter element. Sadly most of them are written in C.
MySQL
A relational, SQL database
Language: C
https://github.com/mysql/mysql-server
Postgres:
A relational, SQL database
Language: C
https://github.com/postgres/postgres
PHP
The PHP scripting language
Language: C
https://github.com/php/php-src
V8
Javascript interpreter
Language: C++
https://github.com/v8/v8
Here is a link to a doc explaining how it works, could be useful
https://docs.google.com/document/d/11T2CRex9hXxoJwbYqVQ32yIPMh0uouUZLdyrtmMoL44/edit?pli=1#heading=h.6jz9dj3bnr8t
Jasic interpreter
Basic derivative, no concepts of scope or functions
Language: Java
https://github.com/munificent/jasic/blob/master/com/stuffwithstuff/Jasic.java

List completed, closing issue.

Added swift to the list


Got 'ascii' codec can't decode byte 0x9c on login

When login I got this error.
[2016-11-09 14:34:26] [PokemonGoBot] [INFO] Login procedure started.
_inventory was not initialized
_inventory was not initialized
[2016-11-09 14:34:28] [       cli] [INFO]
[2016-11-09 14:34:28] [       cli] [INFO] Ran for 0:00:01
[2016-11-09 14:34:28] [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
[2016-11-09 14:34:28] [       cli] [INFO] Travelled 0.00km
[2016-11-09 14:34:28] [       cli] [INFO] Visited 0 stops
[2016-11-09 14:34:28] [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before ()
[2016-11-09 14:34:28] [       cli] [INFO] Threw 0 pokeballs
[2016-11-09 14:34:28] [       cli] [INFO] Earned 0 Stardust
[2016-11-09 14:34:28] [       cli] [INFO] Hatched eggs 0
[2016-11-09 14:34:28] [       cli] [INFO]
[2016-11-09 14:34:28] [       cli] [INFO] Highest CP Pokemon:
[2016-11-09 14:34:28] [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 843, in
main()
File "pokecli.py", line 191, in main
bot = start_bot(bot, config)
File "pokecli.py", line 145, in start_bot
bot.start()
File "/home/nguyennp/PokemonGo-Bot/pokemongo_bot/init.py", line 147, in start
self._setup_api()
File "/home/nguyennp/PokemonGo-Bot/pokemongo_bot/init.py", line 1037, in _setup_api
self.login()
File "/home/nguyennp/PokemonGo-Bot/pokemongo_bot/init.py", line 944, in login
str(self.config.password))
File "/home/nguyennp/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 103, in login
response = PGoApi.app_simulation_login(self)
File "/home/nguyennp/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 169, in app_simulation_login
response = request.call()
File "/home/nguyennp/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 255, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/home/nguyennp/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 138, in request
request_proto = self._build_main_request(subrequests, player_position)
File "/home/nguyennp/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 292, in _build_main_request
sig_request.encrypted_signature = self._generate_signature(signal_agglom_proto, sig.timestamp_ms_since_start)
File "/home/nguyennp/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 309, in _generate_signature
output_size = self._signature_lib.encrypt(signature_plain, len(signature_plain), iv, ctypes.byref(output))
File "/usr/lib/python2.7/ctypes/init.py", line 378, in getattr
func = self.getitem(name)
File "/usr/lib/python2.7/ctypes/init.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: python: undefined symbol: encrypt
[2016-11-09 14:34:28] [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/home/nguyennp/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 1001, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1035, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 997, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 848, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
[2016-11-09 14:34:28] [sentry.errors.uncaught] [ERROR] [u'AttributeError: python: undefined symbol: encrypt', u'  File "pokecli.py", line 843, in ', u'  File "pokecli.py", line 191, in main', u'  File "pokecli.py", line 145, in start_bot', u'  File "pokemongo_bot/init.py", line 147, in start', u'  File "pokemongo_bot/init.py", line 1037, in _setup_api', u'  File "pokemongo_bot/init.py", line 944, in login', u'  File "pokemongo_bot/api_wrapper.py", line 103, in login', u'  File "pgoapi/pgoapi.py", line 169, in app_simulation_login', u'  File "pgoapi/pgoapi.py", line 255, in call', u'  File "pgoapi/rpc_api.py", line 138, in request', u'  File "pgoapi/rpc_api.py", line 292, in _build_main_request', u'  File "pgoapi/rpc_api.py", line 309, in _generate_signature', u'  File "ctypes/init.py", line 378, in getattr', u'  File "ctypes/init.py", line 383, in getitem']
Wed Nov 9 14:34:28 ICT 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.

Same here. Yesterday works nice.
With IP changed (reset router) 0xc9 error disappear but AttributeError yet
[2016-11-09 09:40:04] [MainThread] [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 843, in
main()
File "pokecli.py", line 191, in main
bot = start_bot(bot, config)
File "pokecli.py", line 145, in start_bot
bot.start()
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 147, in start
self._setup_api()
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 1037, in _setup_api
self.login()
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 944, in login
str(self.config.password))
File "/root/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 103, in login
response = PGoApi.app_simulation_login(self)
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 169, in app_simulation_login
response = request.call()
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 255, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 138, in request
request_proto = self._build_main_request(subrequests, player_position)
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 292, in _build_main_request
sig_request.encrypted_signature = self._generate_signature(signal_agglom_proto, sig.timestamp_ms_since_start)
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 309, in _generate_signature
output_size = self._signature_lib.encrypt(signature_plain, len(signature_plain), iv, ctypes.byref(output))
File "/usr/lib/python2.7/ctypes/init.py", line 378, in getattr
func = self.getitem(name)
File "/usr/lib/python2.7/ctypes/init.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: python: undefined symbol: encrypt

AttributeError: python: undefined symbol: encrypt
due to https://github.com/pogodevorg/pgoapi/commit/e8a798433c4934b62b3cb0084bd14bce4c75e3b3
so need to add these  https://github.com/pokecrypt/pokecrypt-pgoapi

Yesterday working with arm-32 libs from here...
https://github.com/pogodevorg/pgoapi/pull/148/commits/219cadf16c077d3ce71b7e7ef2758fdb1a45a78b#diff-5745a86df5940e354add7eb35c45d26f
Compiling...
https://github.com/pokecrypt/pokecrypt-pgoapi/blob/master/howto_compile.txt

in requirements.txt changed api to https://github.com/sebastienvercammen/pgoapi.git
now it works.

confirming it works after @houkop 's suggestion.

Confirmed workaround. I don't think this will be implemented here, as it's not an official release, but should be ok to use for now.

Not working for me.  Update don't do anything.

@boscorelly What exactly does "don't do anything" mean. Possibly you have a different issue.

@boscorelly first setup as usual then change the req file. Then do setup -u it will ask you what to do. Switch it. İt will be fixed.

Guys .45 API is enforced, botting now would only get you banned.

Mac users running EI Capitan and below needs to perform an additional step .
cd /src/pgoapi/pgoapi/lib/
ln -s libniantichash-macos-64.dylib libniantichash-osx-64.so

For now... PR coming which will fix that.

Bot stopped working yesterday, I can confirm that using https://github.com/sebastienvercammen/pgoapi.git in requirements.txt fixes it.


Expressions with side-effects are evaluated multiple times

Crate versions
0.7
Describe the bug
Using an expression with side effect multiple times yield different evaluated values even though the expression handle is the same.
Expected behavior
The evaluation happens once, and the value is stored and reused.
To Reproduce
let r = m.builtin(BuiltInOperator::Rand(ScalarType::Float.into()));
let r2 = r.clone();
let a = m.add(r, r2);

See #237

This was fixed on main, will be available in next release.


refactor: request handler / auth fix

Please describe the changes this PR makes and why it should be merged:

New function: getAccount(id)
Refactor the request handler (easier to add new endpoints, less repetition in the code and adding the Content-Type header)
Fixes the steam auth that was introduced here https://github.com/ElijahPepe/multiversus.js/commit/1ad5cc936460bf389c948fe58df22a85aca14be3

LGTM.


Fix:30734 - tag esc character issue

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/30734
PROPOSAL: https://github.com/Expensify/App/issues/30734#issuecomment-1789642917
Tests

First create hierarchial tags in the form of "Parent: Child" in old dot.
2.. Go to workspace chat > + > Request money > Manual.
Enter the amount and proceed to confirmation page.
Click Tag and verify that the "Parent: Child" tags you have created in (1) appear as "Parent: Child" not "Parent\: Child".
Select a "Parent: Child" tag  verify that tag appear as "Parent: Child" not "Parent\: Child" in the confirmation page.
View the detail page for the request and check the tag appears as "Parent: Child" not "Parent\: Child".
Change it to other "Parent:child" tag and verify the tag appears as "Parent: Child" not "Parent\: Child".

[x] Verify that no errors appear in the JS console

Offline tests

First create hierarchial tags in the form of "Parent: Child" in old dot.
2.. Go to workspace chat > + > Request money > Manual.
Enter the amount and proceed to confirmation page.
Click Tag and verify that the "Parent: Child" tags you have created in (1) appear as "Parent: Child" not "Parent\: Child".
Select a "Parent: Child" tag  verify that tag appear as "Parent: Child" not "Parent\: Child" in the confirmation page.
View the detail page for the request and check the tag appears as "Parent: Child" not "Parent\: Child".
Change it to other "Parent:child" tag and verify the tag appears as "Parent: Child" not "Parent\: Child".

QA Steps

First create hierarchial tags in the form of "Parent: Child" in old dot.
2.. Go to workspace chat > + > Request money > Manual.
Enter the amount and proceed to confirmation page.
Click Tag and verify that the "Parent: Child" tags you have created in (1) appear as "Parent: Child" not "Parent\: Child".
Select a "Parent: Child" tag  verify that tag appear as "Parent: Child" not "Parent\: Child" in the confirmation page.
View the detail page for the request and check the tag appears as "Parent: Child" not "Parent\: Child".
Change it to other "Parent:child" tag and verify the tag appears as "Parent: Child" not "Parent\: Child".

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/38649957/5ea5f60d-c549-4034-b0b4-fa8b29c3514c

Android: mWeb Chrome

https://github.com/Expensify/App/assets/38649957/6524ea17-d0ca-45aa-905c-5e159b0b7442

iOS: Native

https://github.com/Expensify/App/assets/38649957/6a7dc6e3-f438-46fe-ada6-9683b60c11bb

iOS: mWeb Safari

https://github.com/Expensify/App/assets/38649957/22eb03e3-113a-4ca9-b3d9-2b7b59afae7d

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/38649957/18256a3f-cee7-4bc6-aa9c-810a09dee186

MacOS: Desktop
https://github.com/Expensify/App/assets/38649957/42c5a1cc-0c26-4699-a3dc-45c41f5ba539

I have read the CLA Document and I hereby sign the CLA

recheck

recheck

recheck

@FitseTLT In your test steps the backslashes are missing ("Parent: Child" not "Parent: Child"), if you wrap them in a code block they should display.

@FitseTLT In your test steps the backslashes are missing ("Parent: Child" not "Parent: Child"), if you wrap them in a code block they should display.

Thanks @jjcoffee Updated 👍

Tests well, but there's a little edge case if we ever (for some reason!) wanted a backslash in the tag name itself. I reckon we could just limit the regex to only replace \:?

Tests well, but there's a little edge case if we ever (for some reason!) wanted a backslash in the tag name itself. I reckon we could just limit the regex to only replace \:?

Ok. But should I still consider multiple (double) backslashes as this comment or only one slash??

Updated as per your suggestion. But for your info tag.name is not having double backslashes, having only one slash. For this specific issue there is no reason to include double slashes but I 've included it.

Hmm I see them in Onyx, maybe they're escaped when we pull from there?

Typecheck failure is a false negative, created issue and fix. Not going to block this PR on the false negative

Not an emergency, see last comment

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

🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.2-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.2-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅