x/crypto/bn256:  wrong formulas

bn256/gfp6.go : 251 in latest version of go
// On the other hand (xj²τ² + yjτ + z)(xjτ² + yj²τ + z)
// = τ²(y²-ξxz) + τ(ξx²-yz) + (z²-ξxy)
//
// So that's why A = (z²-ξxy), B = (ξx²-yz), C = (y²-ξxz)

while the right one is :
// On the other hand (xj²τ² + yjτ + z)(xjτ² + yj²τ + z)
// = τ²(y²-xz) + τ(ξx²-yz) + (z²-ξxy)
//
// So that's why A = (z²-ξxy), B = (ξx²-yz), C = (y²-xz)

in addition,  http://arxiv.org/pdf/0904.0854v3.pdf which is referenced by optate.go : 9  also has wrong formulas :

It looks the code actually does
        C := newGFp2(pool)
        C.Square(a.y, pool)
        t1.Mul(a.x, a.z, pool)
        C.Sub(C, t1)

i.e. C = (y²-xz) without ξ.
@zhangzhanli do you suggest only the comment is wrong or the implementation as well? Thanks.
cc @FiloSottile @agl @katiehockman @rolandshoemaker

@cherrymui  Yes, it seems the source code works as expected.  As for full addition, since we use mixed addition instead , so there is no impact on miller's algorithm.

Thanks.


RC2 has stopped working

running VS Installer and upgrading all the things didn't work for me. License still expired ;-(

I think it's because RC3 is being (slowly) released right now. Veeery slooowly...

there should be some explict order in these things - other than the one that is used  ;-)

Just pray it includes VFT RC2. Chances are we will find RC there. Or won't find anything at all. Who knows...

ok installer always installs 15.0.26020.0 - what now?

I think they've turned off RC2, but have not publish RC3 yet. Very safe choice so to say.

Testing nowadays is overrated...

This is a bug in VS platform.  I've reached out for more information, but this isn't something we can control.

this should not be closed without a proper public issue where we can point people to.

Good point.  I'll leave it open until the license issue gets resolved.

someone pressed a button and it seems to work again.
so we can file this under "living in wrong timezone"


Add cache invalidation

Summary
This PR implements cache invalidation.
Why do we need to invalidate CloudFront cache?

Whenever an image or file is uploaded, it gets cached and stored on CloudFront edge servers for faster loading and an improved user experience. However, if the same file is reuploaded or updated, the edge servers will continue serving the old, cached version to users because they are unaware of the changes.

To ensure that users always receive the latest version of the file, we need to invalidate the existing cache. This forces the edge servers to fetch the updated content from the origin server, ensuring the latest version is served.

Approach
In this PR, I have added functionality to invalidate the CloudFront cache.

Created the cloudFrontInvalidate(paths) function to handle cache invalidation.

This function takes an array of paths as input and sends an invalidation request to CloudFront using the AWS SDK’s CreateInvalidationCommand.

How to invalidate cache?

import the cloudFrontInvalidate function from cloudFront.js
pass an array containing the path of the file to be invalidated.
Note -  path should be in the format of :   /extension/filename.extension

Additional Setup Steps in AWS

Find the Distribution ID

Navigate to the CloudFront service in the AWS Management Console.
Locate your distribution under the Distributions section.
Copy the Distribution ID (you'll need this to set the DISTRIBUTION_ID environment variable).
Find the ARN

In the Details section of your selected distribution, you will find the ARN (Amazon Resource Name).

Copy the ARN (you'll need this to create the IAM policy).
Create an IAM Policy

Navigate to the IAM service in AWS Management Console.
Under Policies, click Create policy and select the JSON tab.
Paste the following into the policy editor, replacing replace with your ARN with the ARN you copied earlier:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "cloudfront:CreateInvalidation",
      "Resource": "replace with your ARN"
    }
  ]
}

How to Test the Changes

Screenshots or Recordings
https://github.com/user-attachments/assets/d6ccc87e-ae90-4dd2-bea4-7311b0379f29

Checklist

[ ] I have added/updated tests that cover the changes.
[ ] I have updated the documentation to reflect the changes.

Have made all the said changes.

@amoghar29 get is approved by one more person.


Fatal error in launcher

I am trying to install phonopy via Conda in windows11. I first installed anaconda in windows in the default directory "C:\Users\user_name\anaconda3"
Then I ran these commands:
% conda create -n phonopy -c conda-forge
% conda activate phonopy
% conda install -c conda-forge phonopy
% conda deactivate
% conda activate phonopy

Up to this stage everything went without any error. But when I try to launch phonopy by
(phonopy) % phonopy
I get error message:
Fatal error in launcher: Unable to create process using '"D:\bld\phonopy_1722988186288\_h_env\python.exe"  "C:\Users\user_name\anaconda3\envs\phonopy\Scripts\phonopy.exe" ': The system cannot find the file specified.
The anaconda PowerShell was open in "C:\Windows\system32" during installation of phonopy and I did not create "D:\bld" directory and this directory also isn't present in my pc.
Please help me fix the issue

We are unable to support the windows binary. Please try using linux (including WSL2) or macOS versions.

But somebody may not know the reason. So please ask your question in the phonopy mailing list.

Sorry for my typo (may not know -> may know).

I will investigate this in the refactoring. .dll stuff is a mess though, so would appreciate someone testing my work.


cannot render on server side

when use ReactDOM.renderToString render on server side your component throw exception

+1

#15 ?

+1


Send an ERB file through this mail gem

Hi there,
Im using Sinatra and this gem, and Im able to send email ok.  However, when I send an ERB file, it comes through as plain text and it doesnt render the ruby code.  For example:

mail = Mail.deliver do
to user_email
from<EMAIL_ADDRESS>subject 'Your Upgrade is being processed'
body File.read('views/email.erb')
end

Is there a way to have it render the Ruby code?
Thanks!
Nick

I had to modify it slightly
body ERB.new(File.read(file_path_variable)).result(binding)

This allowed me to use variables in the .html.erb file.
Maybe add this to the README? Should be useful for people.

Good one for the ERB docs! Out of scope for this library, which is using the result.


Make remote inspector groups not foldable

Sequel to #69397
Fixes #65741 again (regression from #80517)

Thanks!


Version for Windows

Would it be possible to add support for Windows using a library like ACMESharp?

Note: SNI is supported in Windows 2012 and later.

Windows support has been released in the extension version 1.5-1
Supported OS is Windows 2012 and later
Plesk 12.5 MU#24 is required


doc add recommended jdbc driver version

Proposed changes
Add recommended jdbc drivers for user
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


TP2000-982 Add new filters to find and edit regulation view

TP2000-982 Add new filters to find and edit regulation view
Why
When using the find and edit regulation view to search for regulations, users are unable to filter search results by regulation usage, regulation group or approved status.
What

Enables filtering by usage, group and approved status
Adds unit test for new filters

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.01% :tada:

Comparison is base (673803f) 92.49% compared to head (782ec8a) 92.51%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1005      +/-   ##
==========================================
+ Coverage   92.49%   92.51%   +0.01%
==========================================
  Files         445      447       +2
  Lines       32001    32056      +55
  Branches     2451     2454       +3
==========================================
+ Hits        29600    29656      +56
+ Misses       1922     1920       -2
- Partials      479      480       +1

Files Changed
Coverage Δ

regulations/filters.py
100.00% <100.00%> (ø)

regulations/tests/test_filters.py
100.00% <100.00%> (ø)

regulations/views.py
100.00% <100.00%> (ø)

... and 10 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Unpacker throws exception trying to read map length after IsMapHeader returns true

I've implemented a custom MessagePackSerializer, and when trying to deserialize my type from the byte stream, which is expected to be a Map, I get an exception.
At the point of the exception unpacker.IsMapHeader returns true, but trying to do unpacker.ReadMapLength(...) throws:
MsgPack.MessageTypeException: Cannot convert 'map' header from type 'FixedRaw'(0xA6) in position 1.

A sample of the byte stream:
[138,166,97,112,112,101,110,100,144,168,99,104,101,99,107,115,117,109,192,176,99,111,109,112,117,116,101,95,99,104,101,99,107,115,117,109,163,109,100,53,167,99,111,110,116,101,110,116,217,39,84,104,105,115,32,105,115,32,99,111,110,116,101,110,116,32,102,114,111,109,32,105,110,108,105,110,101,32,84,70,32,99,111,110,102,105,103,46,10,174,99,111,110,116,101,110,116,95,98,97,115,101,54,52,192,172,99,111,110,116,101,110,116,95,112,97,116,104,192,171,99,111,110,116,101,110,116,95,117,114,108,192,169,102,117,108,108,95,112,97,116,104,192,173,108,97,115,116,95,109,111,100,105,102,105,101,100,192,164,112,97,116,104,171,46,47,116,101,115,116,49,46,116,120,116]


tweak the formatting of the generated code

This tweaks the ws of the generated code in order to reduce the number of formatting diffs (when run through dartfmt).
before:
/**
 * DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
 * This is a library that provides messages for a en locale. All the
 * messages from the main program should be duplicated here with the same
 * function name.
 */

library messages_en;
import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';

final messages = new MessageLookup();

class MessageLookup extends MessageLookupByLibrary {

  get localeName => 'en';
  static market() => "MARKET";

  static portfolio() => "PORTFOLIO";

  static title() => "Stocks";

  final messages = const {
    "market" : market,
    "portfolio" : portfolio,
    "title" : title
  };
}

after:
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a en locale. All the messages
// from the main program should be duplicated here with the same function name.

library messages_en;

import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';

final messages = new MessageLookup();

class MessageLookup extends MessageLookupByLibrary {
  get localeName => 'en';

  final messages = _notInlinedMessages(_notInlinedMessages);
  static _notInlinedMessages(_) => {
    "market" : MessageLookupByLibrary.simpleMessage("MARKET"),
    "portfolio" : MessageLookupByLibrary.simpleMessage("PORTFOLIO"),
    "title" : MessageLookupByLibrary.simpleMessage("Stocks")
  };
}

Note that the before generator was using a slightly older version of intl.

@alan-knight

Ping. Or I can pull this in if you're too busy.


Not working with Jekyll 2.1

I'm receiving this error on serve:
Error:  wrong argument type Class (expected Module)
Any idea how to fix that?
Thanks!

Can we get this merged up here and shipped as a gem so it can be used via _config.yml?

@dblock Last time I checked Github doesn't allow plugins, so you would have to build your pages offline and upload them ready built.  Also if you want to correct the tests so that they pass that would be appreciated and I could then merge the fork.

This issue is affecting me as well. Jekyll 2.5.3


Conflict with react-bootstrap

It seems that there is a weird conflict between react-mini-router and the popuar react-bootstrap, for the full problem please see here.
To replicate the problem you can go to here (source). Pressing the dropdown when you are on the about page, the app navigates back to home.
I have tried to debug the RouterMixin but with little success. Do you have any ideas? Thanks

So with a quick hack I have modified the handeClick like this and it fixes the problem temporarily..
handleClick: function(evt) {
    var dropdownevt = (evt.path[0].id === 'acc-dropdown');
        if (url && self.matchRoute(url.pathname) && !dropdownevt) {    ...

@kkarimi Have you tried creating the dropdown button without using an anchor tag?  Or without putting the href attribute in your anchor tag?


The range slider isn't great on mobile

The custom input[type="range"] used for choosing an anxiety rating is a little fiddly on iOS.

Fixed in #31


Update technical.md

@pecan88 @schwenk102 Please review and confirm accuracy, readability & links.

Thanks for taking the time to tidy this up!


Breakpoints

What this PR is all about?
Additional information for the reviewer
<Replace this line with an interesting fact / story you find online that could make your reviewer like you. Don't bother asking for a review if it's not a good one :rofl: >
Issue
Github issue: #number
Making sure I did my homework
Please check all the notes you took care of. You should have them all checked.
As a reviewer, if you see something not checked, please do not P-LGTM or LGTM the PR.

[] Cross browser - I checked that my code works on: FF, Safari (>=10.0) & Chrome.
[] Mobile responsiveness - I checked that my code works on the above browser also in mobile view.
[] Unit Tests - I covered and updated the unit tests according to this commit changes (if necessary).

It has issues on mobile (iPhone 6 & Nexus 5X) :/


Close urlConn in StaticFile.fromURL

The URLConnection in StaticFile.fromURL is never closed (when the resource is not expired).
This PR reuses the already opened URLConnection to read the response body which in effect causes fs2 to close the URLConnection once the body is fully read.
Or was the body intended to open a separate url connection? In that case the previous URLConnection should probably be closed before returning the response.

@ashwinbhaskar, I guess it could be linked (indirectly though) to #3565.

I think it would make sense to wait with this and rebase it on top of #3565 once it gets merged.

marked this as draft pending rebase on #3594 to avoid merging prematurely

I will close this in favour of #3625


Update requirements.txt file name in INSTALL.md

Thanks, this reminds me the readme and installation need to be fully rewritten


Gameloop fix and command queue lock

This incorporates the PR from @kortgat (https://github.com/EntelectChallenge/2023-Cy-Fi/pull/10) and also adds a lock around the command queue to prevent missing commands

Thanks for the PR @kobus-v-schoor. We've opted for implementing a ConcurrencyQueue which handles all the locking and thread-safety for us. We've also added the necessary awaits for the async commands to finish before continuing with the game


Duplicate Players

Eden Hazard, Sergio Busquets, and Kylian Mbappe are all listed twice

Hmm, I'm not sure which Kylian Mbappe needs to be removed, they have different FUT rankings

all good now i fixed it, thanks bro


int base price is whole waves, float base fails

in the config file:
base = 1
will start the base at 1 waves
base = 0.99
or smaller fails with error:
Traceback (most recent call last):   File "BlackBot.py", line 146, in <module>     if basePrice == 0: NameError: name 'basePrice' is not defined
so now there is no way to create base price under 1 waves

using ASK for base works to create orders under 1 waves but this isn't an adequate workaround.

correction: using ASK for base DOES NOT WORK, still creates orders with integer waves amounts instead of float waves
example:
if ask is 0.00000005 it creates sell orders of 5 waves

it thinks it is leaving float prices but in the orderbook they show up as int prices
[Aug 29 2018 20:13:26 UTC] : >> [051] SELL order          0.00000004
shows up as 4.00000000

I believe this is the commit which changed the way the decimals work
https://github.com/PyWaves/PyWaves/commit/055cad545c0d5ca101ad421c63c1a88b5966fc56

fix has been posted to https://github.com/PyWaves/PyWaves/issues/54 please review


Change upgrade name, add auto-updating validator commission rates

Codecov Report

Merging #353 (030e74b) into main (3391401) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #353   +/-   ##
=======================================
  Coverage   18.54%   18.54%
=======================================
  Files         134      134
  Lines       21580    21580
=======================================
  Hits         4002     4002
  Misses      16910    16910
  Partials      668      668

Continue to review full report at Codecov.

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


culturebox.francetvinfo.fr download issue

$youtube-dl  --version
2<IP_ADDRESS>
$ youtube-dl  -v http://culturebox.francetvinfo.fr/emissions/monte-le-son-le-live/monte-le-son-le-live-du-24-mai-jamie-cullum-155483
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://culturebox.francetvinfo.fr/emissions/monte-le-son-le-live/monte-le-son-le-live-du-24-mai-jamie-cullum-155483']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.6 - Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[culturebox.francetvinfo.fr] emissions/monte-le-son-le-live/monte-le-son-le-live-du-24-mai-jamie-cullum-155483: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/francetv.py", line 234, in _real_extract
video_id = self._search_regex(r'"http://videos.francetv.fr/video/(.*?)"', webpage, 'video id')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 379, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Same issue for other videos on this website.

Provided example URL is dead however the latest version works fine with similar URLs.

Here is another easy method http://www.allavsoft.com/how-to/francetvinfo.fr-download.html


port to spidermonkey 60

Overview

Port SpiderMonkey from 1.8.5 to 6.0, i.e mozjs-60.1.1pre3 from https://ftp.mozilla.org/pub/spidermonkey/prereleases/60/pre3/ aligning with the version used in planned CouchDB 4.0. This allows CouchDB 3.0 to address existing issues in legacy spidermonkey version and use new features provided in new version of spidermonkey.
One outstanding topic is about CouchDB-style function declaration.
"map": "function(doc) {emit(doc._id, doc._id);}"
By means of the original transpile idea from the couch-chakra PoC from @dmunch, currently both traditional CouchDB-style function declaration and  modern function declaration like below are supported in CouchDB 3.0 if spidermonkey 6.0 is selected.
"map": "(function (doc) {emit(doc._id, doc._id);});"
In order to provide enough flexibility, one switch is introduced when running configure. Currently, the supported value is 1.8.5 and 60. (the default value is 1.8.5 and will be changed to 60 later)
./configure  --spidermonkey-version 60 (non-windows version)
powershell -ExecutionPolicy Bypass .\configure.ps1 -WithCurl -SpiderMonkeyVersion=60 (windows version)

Testing recommendations

All tests below are involved and run successfully again.
 - Make test-cluster-with-quorum
 - Make test-cluster-without-quorum
 - Make eunit
 - Make javascript
 - Make mango-test
 - Make elixir

Related Issues or Pull Requests

https://github.com/apache/couchdb/pull/2170 is PR when starting to work on this task.
https://github.com/apache/couchdb-glazier/pull/11
Checklist

[X] Code is written and works correctly
[X] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

Hi @jiangphcn , this is a big PR and it's taking me a bit of time to work through.
While I'm doing that, I went and had a look for pre-built versions of SM60.
libmozjs-60 is available pre-built only on:

Debian buster (10.x) and newer.
Ubuntu disco (19.04) and newer - but no LTS releases past bionic (18.04LTS) exist yet.

@willholley so far I cannot find libmozjs60 precompiled for any version of RHEL/CentOS, is this true?
This probably means that for the rest of our binary build matrix, we'll have to start building libmozjs60 and distributing it ourselves, as we do today for the ancient 1.8.5 library. That means building it for:

Debian stretch (9.x)
Ubuntu xenial (16.04LTS)
Ubuntu bionic (18.04LTS)
CentOS 7
CentOS 8
Windows 64-bit

I'm intentionally excluding CentOS 6 from that list because it will go End-Of-Life on November 2020; people stuck on it can live with 1.8.5 a little longer, I think. 😉
The alternative is that we only ship our binaries with 60 in them only for Debian buster, and maybe Windows (tech preview), then add in the other platforms over time, as packages materialise (or if we decide to pick up the slack). Perhaps we know someone over at RH/CentOS who can get a mozjs60 package released for CentOS 8 at the very least...
The good news is that the Docker container can probably be moved from stretch to buster fairly easily (there was a single bug outstanding against ppc64le, which may actually be a qemu bug) so our Docker users can enjoy the new support with this release.
What do you think?

@tilgovi In the past you've helped with checking out things like sandbox quality / escape mechanisms on JavaScript. Would you be able to review if things have changed with this SM60 PR?

Hi @wohali, thanks indeed for taking time to review this PR.
Regarding pre-built version of SM60, again, thanks for thoughtful consideration for its distribution. Yes, there are limited pre-built versions for libmozjs-60. For the rest of them you mentioned, we or   the users need to built them and then use spidermonkey 60 based codes.
For now, I am able to build for Debian stretch and Windows 64-bit.  Because we have switch to use between 1.8.5 and 6.0 and still want to set 1.8.5 as default, I think that we can move forward step by step. As you suggested, we can ship some library (such as Debian stretch, buster, Ubuntu disco, Windows 64 bit), and ship them on request later.
Also, we can publish step I come up with to help user to build by themselves for the platforms they need.
Thanks,
Peng Hui

@jiangphcn Sounds like we agree on this.
I will review the code more closely tomorrow; I want to understand how sandboxing is affected by the move to SM60, and I want to get some more hands-on time with the code.

Sure, thanks @wohali

@jiangphcn on Debian Buster, I did the following:
sudo apt install libmozjs-60-0 libmozjs-60-dev
git clone https://github.com/apache/couchdb
cd couchdb
git checkout sm60-davisp
./configure --spidermonkey-version 60 -c
make couch

This results in the following warnings at build time:
Compiling priv/couch_js/60/http.cpp
Compiling priv/couch_js/60/main.cpp
In file included from /usr/include/time.h:29,
                 from /usr/include/pthread.h:24,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                 from /usr/include/c++/8/ext/atomicity.h:35,
                 from /usr/include/c++/8/bits/basic_string.h:39,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/stdexcept:39,
                 from /usr/include/c++/8/array:39,
                 from /usr/include/mozjs-60/mozilla/Span.h:32,
                 from /usr/include/mozjs-60/mozilla/Range.h:12,
                 from /usr/include/mozjs-60/jsapi.h:15,
                 from priv/couch_js/60/main.cpp:23:
/usr/include/mozjs-60/js/Proxy.h: In static member function 'static size_t js::BaseProxyHandler::offsetOfFamily()':
/usr/include/mozjs-60/js/Proxy.h:212:25: warning: offsetof within non-standard-layout type 'js::BaseProxyHandler' is conditionally-supported [-Winvalid-offsetof]
         return offsetof(BaseProxyHandler, mFamily);
                         ^
priv/couch_js/60/main.cpp: In function 'bool req_ctor(JSContext*, unsigned int, JS::Value*)':
priv/couch_js/60/main.cpp:90:32: warning: too many arguments for format [-Wformat-extra-args]
         JS_ReportErrorUTF8(cx, "Failed to create CouchHTTP instance.\n", NULL);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling priv/couch_js/60/utf8.cpp
In file included from /usr/include/strings.h:23,
                 from /usr/include/string.h:431,
                 from /usr/include/c++/8/cstring:42,
                 from /usr/include/mozjs-60/mozilla/Span.h:33,
                 from /usr/include/mozjs-60/mozilla/Range.h:12,
                 from /usr/include/mozjs-60/jsapi.h:15,
                 from priv/couch_js/60/utf8.cpp:13:
/usr/include/mozjs-60/js/Proxy.h: In static member function 'static size_t js::BaseProxyHandler::offsetOfFamily()':
/usr/include/mozjs-60/js/Proxy.h:212:25: warning: offsetof within non-standard-layout type 'js::BaseProxyHandler' is conditionally-supported [-Winvalid-offsetof]
         return offsetof(BaseProxyHandler, mFamily);
                         ^

Do you see these as well?
I do see that make javascript passes, which is good. Next step for me is to read the code a bit more closely. @davisp if you're able to describe the changes you're making to the upstream JS libraries that'd be most useful.
I have asked @tilgovi to look at the sandboxing for this code and SM60. He says he hopes to have time this weekend for a code review.

Thanks Joan @wohali. I only saw two of them before.
In file included from priv/couch_js/main.cpp:26:
In file included from /usr/local/include/mozjs-60/js/Wrapper.h:12:
/usr/local/include/mozjs-60/js/Proxy.h:212:16: warning: offset of on non-standard-layout type 'js::BaseProxyHandler' [-Winvalid-offsetof]
        return offsetof(BaseProxyHandler, mFamily);

In file included from priv/couch_js/utf8.cpp:16:
In file included from /usr/local/include/mozjs-60/js/Wrapper.h:12:
/usr/local/include/mozjs-60/js/Proxy.h:212:16: warning: offset of on non-standard-layout type 'js::BaseProxyHandler' [-Winvalid-offsetof]
        return offsetof(BaseProxyHandler, mFamily);
                       ^

Above looks to be related to spidermonkey so I leave them for now.
However, I addressed the second one in your list using f6830c9.
Also, thank you for involving more people on this PR.

I'll compile and run make javascript on both 1.8.5 and 60 and report back.

thanks @davisp. The javascript layout for spidermonkey 1.8.5 and 60 can be seen from https://github.com/apache/couchdb/pull/2345/files#diff-a28dc96b01dfdd66c40acdcc4704ea16R44. In general, there are 3 files to be changed in 1.8.5 for 60. They are not missing. I will try to see whether we can unify them today. Of course,  esprima.js and escodegen.js are only for spidermonkey 60.

hey Paul, @davisp I think that I addressed all existing comments from your side. Would you please take another look at them when getting time? The left is esprima.js and escodegen.js.

Thanks again @jiangphcn .

Apologies, but I've not gotten to this yet. I plan to do so this week.

Thanks again @wohali and @tilgovi. I will take care of these comments and enjoy coming holidays.

I've tested make javascript on both ./configure --dev and ./configure --dev --spidermonkey-version=1.8.5 and that passes. Having moved on to using --spidermonkey-version=60 I'm getting these errors consistently:
Error: chttpd_view_test:chttpd_view_test:75 should_succeed_on_view_with_queries_keys

::in function lists:nth/2 (lists.erl, line 170)
  called as nth(1,undefined)
in call from chttpd_view_test:'-should_succeed_on_view_with_queries_keys/1-fun-2-'/1 (test/eunit/chttpd_view_test.erl, line 85)
**error:function_clause

Error: chttpd_view_test:chttpd_view_test:91 should_succeed_on_view_with_queries_limit_skip

::in function chttpd_view_test:'-should_succeed_on_view_with_queries_limit_skip/1-fun-1-'/1 (test/eunit/chttpd_view_test.erl, line 98)
in call from chttpd_view_test:'-should_succeed_on_view_with_queries_limit_skip/1-fun-4-'/1 (test/eunit/chttpd_view_test.erl, line 98)
**error:{assertEqual,[{module,chttpd_view_test},
              {line,98},
              {expression,"RC"},
              {expected,200},
              {value,404}]}

Error: chttpd_view_test:chttpd_view_test:108 should_succeed_on_view_with_multiple_queries

::in function chttpd_view_test:'-should_succeed_on_view_with_multiple_queries/1-fun-1-'/1 (test/eunit/chttpd_view_test.erl, line 116)
in call from chttpd_view_test:'-should_succeed_on_view_with_multiple_queries/1-fun-5-'/1 (test/eunit/chttpd_view_test.erl, line 116)
**error:{assertEqual,[{module,chttpd_view_test},
              {line,116},
              {expression,"RC"},
              {expected,200},
              {value,404}]}

Error: chttpd_security_tests:fixture setup [39,1,1,14]

::in function chttpd_security_tests:create_user/4 (test/eunit/chttpd_security_tests.erl, line 91)
in call from chttpd_security_tests:setup/0 (test/eunit/chttpd_security_tests.erl, line 51)
**error:{badmatch,{ok,500,
              [{"Cache-Control","must-revalidate"},
               {"Content-Length","5555"},
               {"Content-Type","application/json"},
               {"Date","Wed, 18 Dec 2019 16:07:37 GMT"},
               {"Server","CouchDB/3.0.0-61486a5e4 (Erlang OTP/20)"},
               {"X-Couch-Request-ID","7707c95a33"},
               {"X-CouchDB-Body-Time","0"}],
              <<"{\"error\":\"compilation_error\",\"reason\":\"(new SyntaxError(\\\"function statement requires a name\\\", \\\"<unknown>\\\", 2)) (\\n    function(newDoc, oldDoc, userCtx, secObj) {\\n        if (newDoc._deleted === true) {\\n            // allow deletes by admins and matching users\\n            // without checking the other fields\\n            if ((userCtx.roles.indexOf('_admin') !== -1"...>>}}

I haven't looked at them in any depth. That last one is obviously us missing a call to rewriteFun somewhere though.

Also we should rebase this against master which includes those fixes for JavaScript tests.

I've created the requested mirrors:
https://github.com/apache/couchdb-esprima
https://github.com/apache/couchdb-escodegen
The esprima repo in particular is nearly 60MiB so we'll want to figure out some sort of script to avoid having to download that for every build. Not sure how all the JS tooling works for that sort of thing.

Finally managed to get the esprima.js thing "compiled" and importable into SpiderMonkey. In the couchdb-esprima repo you can do this (assuming you have TypeScript and webpack installed, both available in Homebrew):
tsc -p src/
webpack --mode none

This gives a human readable dist/esprima.js
The patch that CouchDB needs to make this work is:
--- esprima.js	2019-12-18 12:59:30.000000000 -0600
+++ esprima.couchdb.js	2019-12-18 13:05:04.000000000 -0600
@@ -7,7 +7,7 @@
 		exports["esprima"] = factory();
 	else
 		root["esprima"] = factory();
-})(window, function() {
+})(this, function() {
 return /******/ (function(modules) { // webpackBootstrap
 /******/ 	// The module cache
 /******/ 	var installedModules = {};
@@ -3468,7 +3468,9 @@
                     statement = this.parseLexicalDeclaration({ inFor: false });
                     break;
                 case 'function':
-                    statement = this.parseFunctionDeclaration();
+                    // Apache CouchDB modification: add true to tolerate
+                    // missing function identifiers.
+                    statement = this.parseFunctionDeclaration(true);
                     break;
                 case 'class':
                     statement = this.parseClassDeclaration();

I can't figure out how to get a standalone escodegen.js as it has commonjs stuff and the npm run release script fails. If any JS folks want to take a look at that I'd be much obliged.

@davisp Hey Paul, regarding https://github.com/apache/couchdb/pull/2345#issuecomment-567099425, it is due to our refactoring of https://github.com/apache/couchdb/pull/2345/files#diff-a28dc96b01dfdd66c40acdcc4704ea16R46 this week. Removing this line will resolve issue. I also rebased from master along with this change.

Thanks @davisp @wohali @janl @tilgovi @garrensmith and all who helped make this happen.

great job everybody!

thanks @janl


Shrink minimized mode border radius for Declaration, Code Listing, and Aside

Bug/issue #, if applicable: 104976416
Summary
Shrink minimized mode border radius for Declaration, Code Listing, and Aside
Also did a slight refactor for CSS rules for minimized mode
Testing
Steps:

Manually verify by navigating to any page with declaration, code listing, and aside.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Fixed objects

Some objects might be fixed in space (for example a door handle, the bars in a ladder, etc). Add support to the Grabber so they do not parent to the hand, and also allows the hand to slide in position

Added basic support for non moving objects, but still need to feed back the offset position should the user want to implement climbing


Bug with boxes and rationals

tests/rationals/test-2.cc fails.

Arie did a fix in LDD repository that seems to work.


Should Revert previous Manipulators if one is failing

What can be improved
We should call revert on all invoked manipulators when a manipulator fails .
Why
Avoid leaving the cluster in a half broken state,

Due to eventual consistency thoughts the cluster should be left in a broken state until it fixes it self or the session is removed(the cause of the broken state)


test: Fix admission control integration test flakiness

Fix admission control integration test flakiness
Merging #16742 added the default upper-bound of 80% on rejection probability, which results in a slower convergence of the observed rejection rate to what we expect. I hacked up a script to see the variability of the error for 300 requests across 1000 tests:

As the upper-bound drops, the variance in observed errors increases. I expect there to have been around ~20% flakiness in those tests since the patch was merged. Increasing the allowed error to 10% as you did in #17084 would still probably yield some flakiness...
I think the best option here is to just increase the rejection upper-bound to 100% in the test and leave the allowed absolute error at 10% to put this thing to rest.
This is a test-only change, so foregoing most of the template.
Fixes #17067

Hm, something looks unhappy.  Will tag as waiting until you've had a chance to check out CI!
/wait


Properly handle case of all zeros in all input .xvg files

Currently in this case the script fails with an exception due to a problem calculating the statistical inefficiency:
Traceback (most recent call last):
File "/home/pklimovi/analysis/alchemical-free-energy/alchemical_analysis.py", line 1099, in
dhdl, N_k, u_kln = uncorrelate(sta=numpy.zeros(K, int), fin=nsnapshots, do_dhdl=True)
File "/home/pklimovi/analysis/alchemical-free-energy/alchemical_analysis.py", line 160, in uncorrelate
g[k] = pymbar.timeseries.statisticalInefficiency(dhdl_sum)
File "/home/pklimovi/analysis/pymbar-2.1.0-beta/pymbar/timeseries.py", line 178, in statisticalInefficiency
raise ParameterError('Sample covariance sigma_AB^2 = 0 -- cannot compute statistical inefficiency')
pymbar.utils.ParameterError: Sample covariance sigma_AB^2 = 0 -- cannot compute statistical inefficiency
See for example /work/cluster/vjaber/normal_hydrations/CRASHED_TRAJ/1234_tetrachlorobenzene_to_4_chlorophenol_vac
We ought instead to catch this case earlier (i.e. when the data is loaded from the .xvg files) and print out a note along with a sensible results.txt file. (This is important in, for example, @limn1 's calculations since some calculations which yield zeros were accidentally run.)

Resolved by #78 .


Neo cli transaction signature

added 3 new command.

sign
broadcast signature
lock

let me know if my code needs changes.
Enjoy!
Tiz

@purplesoft-io

We don't need lock in neo-cli.
broadcast tx is enough.
sign is good.

hi @erikzhang, I've removed lock and broadcast signature function...
broadcast tx is enough to broadcast signed transaction, I check neo-gui code and I see that use LocalNode.Relay() not LocalNode.GetRemoteNodes().enqueueMessage()?
Is it correct?
Thanks Tiz

Hi @erikzhang,
let me know if this pull is ok.
Bye Tiz

I'm trying to transfer funds from the private blockchain multi sig account to one of the accounts
i've signed the transaction using the newly added "sign" command with 3 out of 4 accounts
i've tried using the "broadcast tx" but it fails. If i give it as input the JSON of the signed transaction the cli crashes. Perhaps the input for "broadcast tx" is something else than the JSON?
I've then tried to restore the code you removed for the "signature" method. It has a bug where it expect 2 arguments but actually only 1 argument is used and needed (the JSON).
When I fed it the JSON object of the signed transaction it seemed to work ok and returned a hash. But the account balances stayed the same. Still the neos are in the initial contract and i'm still unable to claim any gas.
Any ideas?

Sorry, I'm confused. "broadcast TX" can only send transactions in the memory pool.
I think we need to add a new command "relay".

purplesoft added relay in this commit https://github.com/neo-project/neo-cli/pull/162/commits/7c93fb4c61d4cbddeb0d4bc68b786e26c0864105
... it was called "signature", it tried it, it went without any errors, but it didnt seem that the transaction itself went through, the account balances stayed the same...

Hi @sirpy, in previous version I've implemented broadcast signature and I've tested it with success.
you need to sign and broadcast signature from each wallet... 3 signature and 3 broadcast signature are required.
If you need help, I'm on discord/telegram too.
Bye Tiz
<EMAIL_ADDRESS>

see istructions on:
http://docs.neo.org/en-us/network/private-chain.html

Here we want to send the NEO from the contract address to the normal address. To do so, open any of the four wallet, click transaction, transfer and enter the recipient address, in order to transfer 100 million NEO to this recipient address.
The system will then notify you that there have not been enough signatures to complete the transaction. Copy the code to your clipboard, open the second wallet, click transaction, signature and paste the code that you have just copied. Click signature and copy the code. Open the third wallet, click transaction, signature and paste the code that you have just copied. Click the signature button. At this time you will notice a pop-up window that displays a broadcast button in the lower left corner, which means all the signatures required to send the transaction have been collected. Click broadcast. Once the transfer transaction begins broadcasting it will take about 15 seconds for successful remittance to the account.

That's what i did, but I didnt broadcast it from each account, only once! so that must be it..
Thanks!
which telegram channel?

From my understanding this feature only supports multi-signature transactions.
The original feature request in https://github.com/neo-project/neo-gui/issues/4 was to support standard single signature transactions.


Inverter AC Energy sensor did not recover after extended inverter removal

Describe the bug
Inverter AC Energy sensor did not recover (remains in unknown state) after inverter was removed from service for an extended time while allowing HA to run uninterrupted during the same period.
Expected behavior
AC Energy counter should recover from unknown state when inverters are powered up no matter how long they were offline.
Home Assistant (please complete the following information):

Home Assistant Core Version: 2023.4.6
solaredge-modbus-multi Version: 2.3.0-pre.2

Additional context
Inverters were physically powered and removed for almost two days to paint the house without disabling the integration. HA was not restarted or reloaded during the time the inverters were down.

Closing for now; will revisit if changes made in PR #482 don't help (at least it will log the values now).


Add requests to requirements and dependencies to setup.py

Not sure if its too early to send prs?
Adds:

requests to requirements.txt
dependencies to setup.install_requires

I had just noticed this earlier today, thanks!


Implement load tests

The tests all pass in normal mode, and all fail for CHURN.

Lucas, I assigned this to you because I thought I remembered you saying that you were looking into some load tests.  I wrote these a while ago, but finally got around to porting them to the require branch and polishing them up for submission.

Great to see these tests arrive in requirify, thanks for doing this! They look a lot like benchmarking tests. I think it might be nice to have them instrumented and output the results. This might be a really easy way to get regular benchmark results, and it's kind of nice in that it's all in JS land. Although that's a problem too as it obscures the possible places that are causing slow-down (e.g. we don't test to a common bit of code like nc).

Reviewed files:

Gruntfile.coffee @ r1
src/integration-tests/socks-echo/base-spec.core-env.ts @ r1
src/integration-tests/socks-echo/freedom-module.json @ r1
src/integration-tests/socks-echo/freedom-module.ts @ r2
src/integration-tests/socks-echo/proxy-integration-test.ts @ r1, r2
src/integration-tests/socks-echo/proxy-integration-test.types.ts @ r1
src/integration-tests/socks-echo/slow.core-env.spec.ts @ r1

src/integration-tests/socks-echo/base-spec.core-env.ts, line 161 [r2] (raw file):
This type occurs in a couple places, consider naming it and moving it to the types file.

src/integration-tests/socks-echo/proxy-integration-test.types.ts, line 3 [r2] (raw file):
Lets add a comment that says that the returned string is a connectionId, i.e. it can be passed to the methods below.

src/integration-tests/socks-echo/proxy-integration-test.types.ts, line 4 [r2] (raw file):
Briefly document what setRepeat does in a comment here.

src/integration-tests/socks-echo/proxy-integration-test.types.ts, line 8 [r2] (raw file):
Why not just have the pong value be the return argument of the ping function? and then no class abstraction is needed?

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 13 [r2] (raw file):
This is not a getter; it creates a new module. Maybe better to call it createTestModule ?

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 54 [r2] (raw file):
pong:{connectionId:string; response:string;} ?

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 56 [r2] (raw file):
This selection thing is probably not needed if your ping returns a promise with the pong content... ?

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 60 [r2] (raw file):
Why not just use the returned ArrayBuffer size and avoid the string conversion?

Comments from the review on Reviewable.io

src/integration-tests/socks-echo/proxy-integration-test.types.ts, line 8 [r2] (raw file):
The 'pong' event is needed by the pre-existing tests that contact uproxy.org.  We can't use a Promise in these tests, because this class doesn't know when the transfer has completed.
To be clear, the reason for the new fake on method is that I didn't want to keep using the any type, like base-spec.core-env.spec.ts was doing for tests that use 'pong'.

Comments from the review on Reviewable.io

src/integration-tests/socks-echo/base-spec.core-env.ts, line 163 [r2] (raw file):
Done.

src/integration-tests/socks-echo/proxy-integration-test.types.ts, line 9 [r2] (raw file):
Done.

src/integration-tests/socks-echo/proxy-integration-test.types.ts, line 11 [r2] (raw file):
Done.

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 13 [r2] (raw file):
Done.

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 54 [r2] (raw file):
Done.

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 60 [r2] (raw file):
The "pong" actually represents all received data, which might not be for this connection in the multiple-connection tests.  I've renamed it to avoid the ping-pong metaphor, which doesn't fit.

src/integration-tests/socks-echo/slow.core-env.spec.ts, line 60 [r2] (raw file):
Done.

Comments from the review on Reviewable.io

I've responded to all the comments ... but the dev-requireify branch is dead, so I'm closing this and reopening with the new target.


Drag and Drop imgs

Hi, Is there any exemple of how to use drag and drop functionalities with imgs ?

Sorry, I don't get your question. Could you elaborate?

Hi @moklick, thanks for responding.
So what I want to do is This

Instead Of dropping an "Input", I want an Image or let's say a Component

Ah! That's possible. When you drop a node you could add node with an image (or better a custom node). Take this example https://reactflow.dev/examples/drag-and-drop/ and replace the newNode part with this:
const newNode: Node = {
  id: getId(),
  type,
  position,
  data: {
    label: <img className="nodrag" src="https://via.placeholder.com/150" />,
  },
};


Password field doesn't work in IE8

Admittedly, and frustratingly, you don't specifically support IE8, but worth mentioning that input type text works fine.
type password doesn't though, specifically because you can't change input types, i.e:
$this.attr("type", "text");

That's right, the password placeholder appears as dots in IE8 since IE8 doesn't let you change the input field type on the fly.  I mention this in the README.  It's a concession I had to make to keep file size below 1K.  However, all the other functionality works fine in IE8 (clearing the field on form submit or on password field focus, etc).
If you like, you're free to fork this repo and make a version of Placeholdr that more fully supports password placeholders in IE 8.  I can link to it from the readme. :smiley:


Work with elastic-agents

Current Java agent accept a java properties file to setup and run in elastic-agents,
golang agent uses environment variables.
Because elastic-agents are in development, so we will wait until we have a stable elastic-agents implementation, and decide what to do.
Probably it's just as easy as read java properties file and setup environment variables for this agent.

I think variables mentioned in readme can stay as they are. It would suffice to add reading of ${GOCD_AGENT_CONFIG_DIR}/autoregister.properties file before registration begins.
After considering elastic agents properties file contains
agent.auto.register.key
agent.auto.register.hostname
agent.auto.register.environments
agent.auto.register.resources
agent.auto.register.elasticAgent.pluginId
agent.auto.register.elasticAgent.agentId

I want to add support for setting up golang agent with go cookbook, but I see there is no way do autoregistration at this point.

Sorry, I just found out that all these values are already supporeted by environment variables. So this issue is just about semantics of the input file.

The docker elastic agents plugin definitely does need to send different env vars to the agent containers.  Right now it sends the contents of autoregister.properties in a single, multi-line variable rather than each as a separate env var.  But that's an issue for the docker elastic agent plugin repository.


error running Aeron software

Hi,
I am interested in using Aeron software for detecting fusions from nanopore data.
I am trying to run Aeron on the example files which are provided, however, I am getting following error:
SyntaxError:
Not all output, log and benchmark files of rule assign_reads_to_transcripts contain the same wildcards. This is crucial though, in order to avoid that two or more jobs write to the same file.
File "/sfs/lustre/bahamut/scratch/ss7mh/softwares/AERON/aeron/snakemake_pipeline/Snakefile", line 99, in
I have downloaded from both the sources (i.e. https://github.com/SchulzLab/Aeron as well as https://bitbucket.org/dilipdurai/aeron) and from both the sources I got the same error.
Can you please help me to run the software successfully?
Thanks,
Sandeep

Hi Sandeep,
There was an issue with the snakemake file. Could you please try again with the newest version from this repo?

Hi,
I am getting following error now while running the software
(I am using following version of dependency software: vg version 1.22, snakemake version 5.2.2, python version 3.6.6)
Please help.
sandeep@Aeron: snakemake --cores=1
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 1
Rules claiming more threads will be scaled down.
Job counts:
count	jobs
2	align
1	all
1	assign_reads_to_transcripts
1	convert_json
1	find_best_assignments
1	find_unambiguous_assignments
1	generateCountMatrix
2	output_alignment_statistics
1	output_assignment_statistics
2	postprocess
13
[Fri Apr  3 12:53:33 2020]
rule align:
input: input/hg38.gfa, input/SampleDataset.fq
output: output/aln_SampleDataset_hg38_all.gam
log: tmp/aligner_stdout_SampleDataset_hg38.txt, tmp/aligner_stderr_SampleDataset_hg38.txt
jobid: 6
benchmark: benchmark/aln_SampleDataset_hg38_all.txt
wildcards: reads=SampleDataset, graph=hg38
[Fri Apr  3 12:53:49 2020]
Finished job 6.
1 of 13 steps (8%) done
[Fri Apr  3 12:53:49 2020]
rule postprocess:
input: output/aln_SampleDataset_hg38_all.gam, input/SampleDataset.fq
output: output/aln_SampleDataset_hg38_selected.gam, output/aln_SampleDataset_hg38_full_length.gam, tmp/run_SampleDataset_hg38_summary.txt
jobid: 2
benchmark: benchmark/postprocess_SampleDataset_hg38.txt
wildcards: reads=SampleDataset, graph=hg38
[Fri Apr  3 12:53:51 2020]
Finished job 2.
2 of 13 steps (15%) done
[Fri Apr  3 12:53:51 2020]
rule align:
input: input/hg38.gfa, input/ensembl89HomosapiensGRCh38cdnaall.fasta
output: output/aln_ensembl89HomosapiensGRCh38cdnaall_hg38_all.gam
log: tmp/aligner_stdout_ensembl89HomosapiensGRCh38cdnaall_hg38.txt, tmp/aligner_stderr_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
jobid: 12
benchmark: benchmark/aln_ensembl89HomosapiensGRCh38cdnaall_hg38_all.txt
wildcards: reads=ensembl89HomosapiensGRCh38cdnaall, graph=hg38
[Fri Apr  3 12:54:17 2020]
Finished job 12.
3 of 13 steps (23%) done
[Fri Apr  3 12:54:17 2020]
rule postprocess:
input: output/aln_ensembl89HomosapiensGRCh38cdnaall_hg38_all.gam, input/ensembl89HomosapiensGRCh38cdnaall.fasta
output: output/aln_ensembl89HomosapiensGRCh38cdnaall_hg38_selected.gam, output/aln_ensembl89HomosapiensGRCh38cdnaall_hg38_full_length.gam, tmp/run_ensembl89HomosapiensGRCh38cdnaall_hg38_summary.txt
jobid: 5
benchmark: benchmark/postprocess_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
wildcards: reads=ensembl89HomosapiensGRCh38cdnaall, graph=hg38
[Fri Apr  3 12:54:20 2020]
Finished job 5.
4 of 13 steps (31%) done
[Fri Apr  3 12:54:20 2020]
rule assign_reads_to_transcripts:
input: output/aln_SampleDataset_hg38_selected.gam, output/aln_ensembl89HomosapiensGRCh38cdnaall_hg38_full_length.gam, input/SampleDataset.fq
output: output/matrix_SampleDataset_ensembl89HomosapiensGRCh38cdnaall_hg38_all.txt
jobid: 11
benchmark: benchmark/assign_reads_to_transcript_SampleDataset_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
wildcards: reads=SampleDataset, transcripts=ensembl89HomosapiensGRCh38cdnaall, graph=hg38
[Fri Apr  3 12:54:21 2020]
Finished job 11.
5 of 13 steps (38%) done
[Fri Apr  3 12:54:21 2020]
rule output_alignment_statistics:
input: tmp/run_ensembl89HomosapiensGRCh38cdnaall_hg38_summary.txt, tmp/aligner_stdout_ensembl89HomosapiensGRCh38cdnaall_hg38.txt, tmp/aligner_stderr_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
output: output/alignmentstats_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
jobid: 3
wildcards: reads=ensembl89HomosapiensGRCh38cdnaall, graph=hg38
Job counts:
count	jobs
1	output_alignment_statistics
1
[Fri Apr  3 12:54:22 2020]
Finished job 3.
6 of 13 steps (46%) done
[Fri Apr  3 12:54:22 2020]
rule output_alignment_statistics:
input: tmp/run_SampleDataset_hg38_summary.txt, tmp/aligner_stdout_SampleDataset_hg38.txt, tmp/aligner_stderr_SampleDataset_hg38.txt
output: output/alignmentstats_SampleDataset_hg38.txt
jobid: 9
wildcards: reads=SampleDataset, graph=hg38
Job counts:
count	jobs
1	output_alignment_statistics
1
[Fri Apr  3 12:54:23 2020]
Finished job 9.
7 of 13 steps (54%) done
[Fri Apr  3 12:54:23 2020]
rule find_unambiguous_assignments:
input: output/matrix_SampleDataset_ensembl89HomosapiensGRCh38cdnaall_hg38_all.txt
output: output/matrix_SampleDataset_ensembl89HomosapiensGRCh38cdnaall_hg38_unambiguous.txt
jobid: 1
benchmark: benchmark/matrix_unambigous_SampleDataset_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
wildcards: runid=SampleDataset_ensembl89HomosapiensGRCh38cdnaall_hg38
[Fri Apr  3 12:54:23 2020]
Finished job 1.
8 of 13 steps (62%) done
[Fri Apr  3 12:54:23 2020]
**rule convert_json:
input: output/aln_SampleDataset_hg38_selected.gam
output: output/aln_SampleDataset_hg38_selected.json
jobid: 7
benchmark: benchmark/convertjson_SampleDataset_hg38.txt
wildcards: reads=SampleDataset, graph=hg38
vg: variation graph tool, version v1.22.0 "Rotella"
usage: vg  [options]
main mapping and calling pipeline:
-- construct     graph construction
-- index         index graphs or alignments for random access or mapping
-- map           MEM-based read alignment
-- augment       augment a graph from an alignment
-- pack          convert alignments to a compact coverage index
-- call          call or genotype VCF variants
-- help          show all subcommands
For more commands, type vg help.
For technical support, please visit: https://www.biostars.org/t/vg/
**[Fri Apr  3 12:54:24 2020]
Error in rule convert_json:
    jobid: 7
    output: output/aln_SampleDataset_hg38_selected.json

RuleException:
CalledProcessError in line 89 of /sfs/lustre/bahamut/scratch/ss7mh/softwares/AERON/Aeron/Snakefile:
Command ' set -euo pipefail;  ~/bin/vg view -a output/aln_SampleDataset_hg38_selected.gam > output/aln_SampleDataset_hg38_selected.json ' returned non-zero exit status 1.
File "/sfs/lustre/bahamut/scratch/ss7mh/softwares/AERON/Aeron/Snakefile", line 89, in __rule_convert_json
File "/apps/software/standard/core/anaconda/5.2.0-py3.6/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Removing output files of failed job convert_json since they might be corrupted:
output/aln_SampleDataset_hg38_selected.json
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message****

After correcting the indentation problem in one of the python scripts, the processes successfully completed, however many of the output files are empty
ls -lrt
total 7
-rw-r--r-- 1 ss7mh users   21 Apr  3 15:38 aln_both_hg38_all.gam
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:38 aln_both_hg38_selected.gam
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:38 aln_both_hg38_full_length.gam
-rw-r--r-- 1 ss7mh users   21 Apr  3 15:39 aln_ensembl89HomosapiensGRCh38cdnaall_hg38_all.gam
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:39 aln_ensembl89HomosapiensGRCh38cdnaall_hg38_selected.gam
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:39 aln_ensembl89HomosapiensGRCh38cdnaall_hg38_full_length.gam
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:39 matrix_both_ensembl89HomosapiensGRCh38cdnaall_hg38_all.txt
-rw-r--r-- 1 ss7mh users 1002 Apr  3 15:39 alignmentstats_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:39 matrix_both_ensembl89HomosapiensGRCh38cdnaall_hg38_bestmatch.txt
-rw-r--r-- 1 ss7mh users  947 Apr  3 15:39 alignmentstats_both_hg38.txt
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:39 aln_both_hg38_selected.json
-rw-r--r-- 1 ss7mh users  294 Apr  3 15:39 matrixstats_both_ensembl89HomosapiensGRCh38cdnaall_hg38.txt
-rw-r--r-- 1 ss7mh users    0 Apr  3 15:39 matrix_both_ensembl89HomosapiensGRCh38cdnaall_hg38_unambiguous.txt
-rw-r--r-- 1 ss7mh users   17 Apr  3 15:39 CountMatrix_both_ensembl89HomosapiensGRCh38cdnaall_hg38.txt


request for new game addition Smalland: Survive the Wilds

Module Request
Note:  to be added when they release server side
Game Information:
Game Title: Smalland: Survive the Wilds   dedicated server
How to obtain:  still to be determined most likely steam
https://store.steampowered.com/app/768200/Smalland_Survive_the_Wilds/
https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/clans//31398346/62bf85819f5022e2fed9516a166609bc2f5bc8ca.png
picture of roadmap
Suppoted OSs: TBC
Supports RCON/Console input? TBC
I confirm:

[x] that I have searched for an existing module request for this application.
[x] that the server is an official server distributed by the games publishers/developers.
[x] that the server is available to the general public.
[x] that the server can be run headless (without a GUI).
[x] I have already attempted to create a configuration myself using the configuration tool at https://config.getamp.sh/
[x] that my checkboxes above look like the one on the left (remove this line when done)

Seems dedicated servers will only released with v1.0, so likely a long way off.
https://steamcommunity.com/app/768200/discussions/0/3787002916498913012/

i will keep an eye o this and will update this please keep this active / paused state

https://store.steampowered.com/news/app/768200/view/3893988945397359022
The dedicated server files are released for linux and Windows

Nice. I will look at creating a template

Template in Greelan/AMPTemplates:dev

Now merged


Match default app styles to website styles

Tweak the default app to look more like http://electron.atom.io/
Also some minor copy edits as well.
Before

After

/cc @jlord @simurai

Woot! I'm into it :+1:

Yess.. feels way more electrony. :+1:

Like it. :+1:


Add option to create new volume

Hi there,
First of all: great library and nice documentation. For my use case I would like to create Veracrypt volumes using a Go library/wrapper.
I got it working by using  veracrypt.Execcommand to execute arbitrary commands, as you state in the Readme. But how would you feel about including the option to create volumes to your library? I can make a PR, but I first wanted to check whether you would be open to it.
I can imagine you want to keep the library mount/read only.

Sure, that's no problem at all, simply create a pull request with your enhancements once you're done. Originally I wanted to add more commands so that the package is not limited to mounting containers, but I just haven't found the time to do that yet, so if you are interested in adding this functionality I will be happy to merge it.


Always remove the sidebarMoving CSS class when the sidebar is closed

When the viewer becomes narrow enough that the sidebar is overlaying the document, which means that the viewerContainer is not moving when opening/closing the sidebar, we're currently not removing the sidebarMoving CSS class as intended.
While this doesn't cause any visible issues, it's nonetheless wrong and should be fixed.

/botio-linux preview

Looks good!


[No issue] Info about show Instructions and Maneuvers

Can you tell me how show instructions and maneuvers as standalone UI components?
Because I use the library for routing, not to show map.
I have a valid DirectionsRoute and MapboxNavigation variables.

I don't think this library works standalone, or at least would quite some refactoring. I think it would be great if it would work independent from the map implementation, but this would quite some changes.

Understood

We use the the onMilestoneEvent in the Kurviger App, there is an arrival milestone, milestones are triggered for Banner Instructions (IIRC).

I tried a lot but without success.
Can you tell me what's wrong?
// Custom Milestone for DESTINATION
navigation.addMilestone(new RouteMilestone.Builder()
        .setIdentifier(1001)
        .setInstruction(new Instruction() {
                            @Override
                            public String buildInstruction(RouteProgress routeProgress) {
                                return "Destination";
                            }
                        })
        .setTrigger(Trigger.all(
                            Trigger.eq(TriggerProperty.LAST_LEG, TriggerProperty.TRUE),
                            Trigger.eq(TriggerProperty.LAST_STEP, TriggerProperty.TRUE)
                    ))
        .build());

// Custom Milestone for WAYPOINT
navigation.addMilestone(new StepMilestone.Builder()
        .setIdentifier(1001)
        .setInstruction(new Instruction() {
                          @Override
                          public String buildInstruction(RouteProgress routeProgress) {
                              return "Waypoint";
                          }
                      })
        .setTrigger(Trigger.all(
                    Trigger.eq(TriggerProperty.LAST_LEG, FALSE),
                    Trigger.eq(TriggerProperty.LAST_STEP, TriggerProperty.TRUE)
            ))
        .build());

About Trigger.eq(TriggerProperty.LAST_STEP, TriggerProperty.TRUE) can you tell me why in TriggerProperty.java:
statementObjects.put(TriggerProperty.LAST_STEP,
  new Number[] {routeProgress.currentLegProgress().stepIndex(),
    (routeProgress.currentLeg().steps().size() - 2)});

(routeProgress.currentLeg().steps().size() - 2)  I don't understand -2 ?


Speedrun broken in Chrome with GitHub CSP issues

Something changed recently causing Speedrun to not work in Chrome. Potentially a change to GitHub CSP rules or Chrome.  It is causing this error for most functionality:
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src github.githubassets.com". while parsing: ${user}

Opening this issue for tracking.  Current workaround is to use Firefox.

Using Chrome 116 it still occurs so it must be a more strict change with GitHub's CSP.  I was able to get it to work in Chrome by using the Disable Content Security extension.

Install Disable Content Security
Navigate to the Github page you want Speedrun to work on
Click on the Disable Content Security extension to enable it, it is purple when enabled
Reload the page

Will update if I find another less intrusive fix.

I spent the day playing around with this more yesterday and exploring a few options.  What is being blocked is evaluating template literals with arbitrary user provided content, i.e.
Hello my name is ${user.toUpperCase()}
This is a critical feature for Speedrun to function.  It's possible it is related to recent changes with TamperMonkey in Chrome to support MV3 so I opened this TamperMonkey issue for investigation. I may be able to do something with iframes like this if it isn't Tampermonkey.
I also was looking into a few ways of evaluating the template literals without using new Function in the browser.  Today it works by roughly following this approach.  There are ways of doing it without eval but they only do string replacement, not javascript.
I was momentarily excited when I did this:
`${str='foo',other='bar',`Hello ${str + "!"} and ${other.toUpperCase()}`}`

but realized that I still had to embed the string in the code to do it and I wasn't able to do it from user provided strings.
There is an option where I send the template and arguments to a server for evaluation, but that will have a performance and privacy hit.
Still hoping it is a Tampermonkey fix or I can workaround it using iframes.

Ok, the issue was introduced in Tampermonkey 5.0. The behavior changed from V4 and it is now required to modify one of the settings.  I should be able to modify the script to point the user at the necessary setting change if the exception occurs.
Here are the steps:

On the TamperMonkey menu, click Dashboard
Click the Settings tab
Set Config mode to Advanced
Under Security, change Modify existing content security policy (CSP) headers to Yes
Click the Save button

1.103 of Speedrun has been released to automatically detect whether you have configured TamperMonkey and provide instructions if you haven't.
I've updated the documentation and installation steps here.


reduceRight's initialValue should be optional

Small change to fix what I believe is a bug: the second parameter, initialValue, of Array.prototype.reduceRight should be optional, just like reduce.

Cool, thanks!


[Async CC] Don't add thick placeholder to args from partial apply forwarder.

Now that the convention for partial apply forwarders of async functions is that the thick context is embedded within the async context, there is never a need for a placeholder thick context.  Here, the placeholder thick context is only added when the function for which a partial apply forwarder is being emitted is not async.

@swift-ci please smoke test


Where is the documentation from google/cloud-essential-contacts?

Where is the package documentation? Where are the code examples? How should I write my code without the documentation for your package?

Hey there @c7v, it  can be found here: https://googleapis.github.io/google-cloud-php/#/docs/cloud-essential-contacts/v0.2.7/essentialcontacts/readme


⚠ AGEG website (prod) has degraded performance

In 5e85dcc, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1921 ms

Resolved: AGEG website (prod) performance has improved in cf344c7.


(Do not merge) Time input a11y

Summary
This PR makes the Time Input as accessible as possible while remaining passive to all the little quirks and features (e.g. automatically advancing the focus). There are a couple known issues I can't crack - see below.
The approach here is to wrap the existing inputs of the component in higher order components that provide accessibility. The idea being that these can eventually be folded into the Inputs themselves.
The main new features are:

There is a new, (sadly, for passivity) optional label prop. When supplied, it is used as the label of the Time Input by the screen reader. When it's omitted, there is a default value "Time". I'm open to a different default - it's easy to change.
Each component (e.g. minute, hour, am button) is described by the screen reader upon focus. Here is an example: If I place focus on the hour field I might hear "Hour, required invalid text input, a two-digit twenty-four hour value". That phrase is a combination of description text we must localize ("a two-digit twenty-four hour value") and parts that the screen reader computes based on our use of HTML attrs, including some aria-attrs ("required", "invalid", "text input").
Items that don't make sense when read by a screen reader are no longer read. This includes the ":" time seperators and the mask text, e.g. "hh:mm:ss". Item 2 above takes the place of these phrases.
The complete and localized time phrase, e.g. "09:22 pm", will be read if present. The phrase will also be read when the time is changed to a different and valid value, e.g. "09:23 pm". The time is not read if the time is complete or equivalent to the previous time value, so "09:22" and "9:22" are equivalent. Note: we are not localizing the time value, only the phrasing of the complete time. There is no conversion of timezones, etc.

Known issues

For reasons I can't figure out, the doc tests about mobile incomplete and mobile invalid are not reading the fields correctly. The screen reader does not read them as incomplete/invalid despite the attributes looking correct... The non-mobile versions of these doc-tests are read correctly. I need to figure out what's different.
One DateTime jest test is broken by this change, and I don't know why yet - I'm not familiar with that component.
The screen reader user will not be read any indication that the toggle button state is invalid, despite the toggle button visually indicating (red box) that the button is invalid. There is no way for the screen reader to recognize that the consumer has marked a am/pm toggle button as invalid because buttons don't have such a concept. Please tell me if there is some way to express "invalid button state" using HTML attrs. I found none.

Deployment Link
TBD
Testing
I went through every test scenario in the doc-site and manually tried macOS VoiceOver on each. I also inspected the Accessibility Pane to make sure the attributes were correct.
I added a new Accessibility doc site test so that our consumers can be shown the features. That is just a bare minimum.
I did not run this through exhaustive A11Y auditing or testing against Windows screen readers or iOS's voiceOver implementation.
Next steps

I'm going to work w/ the rest of the team post holidays to fix the broken test(s).
The next big PR will introduce a Time Input Field component, which does the tricky wrapping of the Time Input in such a way as to marry the A11Y of this PR with the needs of a field.

I spoke w/ @benbcai  and @jmsv6d just now, and I'm going to push a few changes into this PR to address their feedback:

I'm going to measure the render time and memory changes due to my change, and report back.
I'm going to move any of my new ...propSpreads as high as possible in the render functions.
I will switch to using the translation files for my intl messages rather than my current in-line messages. The fear is that our ancient react-intl lib + our CI won't be able to extract those inline messages. Pity.

I got tired of, and made to mistakes while, moving my inline react-intl messages (see below) to our translation files. So I wrote a bridge that allows us to use the inline messages WITHOUT upgrading react-intl (though we should!) and/or modifying terra-aggregate-translations.
Inline messages offer several advantages over key-lookups:

Easy for the developer and translator to see how the message will be used - because the message is WHERE it will be used. Also, the inline message format includes metadata like a description for translators.
Less errors will happen when we don't have to tediously copy/paste the message IDs back and forth.

Example inline message:
function hourDescription() {
  if (is12Hour) {
    return intl.formatMessage({
      id: 'Terra.timeInput.hourDescriptionTwelve',
      defaultMessage: 'A two-digit 12-hour value',
      description: `Explains to screen reader users that the hour field needs a two digit hour. This will be read
      only when a screen reader is enabled. It is never displayed. It will be read when the user has focused on
      the hour input or when the screen reader is reading the page to the user.`,
    });

With my adapter, it will be placed in our aggregated translations files like normal:
var messages = {
  "Terra.timeInput.hourDescriptionTwelve": "A two-digit 12-hour value",

In the future, once we upgrade to react-intl 6, we should also update terra-aggregated translations to extract these messages and retain all of the metatdata (e.g. the description string).
Hopefully we can start using inline message anywhere in terra-framework. We can do the same thing in our other mono-repos if we wish.
@jmsv6d, @benbcai, @neilpfeiffer

@benbcai I measured size and speed and found no difference between main branch and my feature branch.
Transfer was ~14.4MB, DOMContentLoaded ~ 833ms and Load was ~ 1.1s.

@benbcai  and @jmsv6d  I addressed most of your feedback on 1352af2d28c1ce02722eaa96e0c01f0dab8e5f0d. Take a look plz.

@benbcai @sdadn @jmsv6d I took the liberty of resolving any comments that either I fixed or I'm choosing not to make changes for. Let me know if there is anything you feel strongly different about and we can discuss.

I updated the changelog just now, in theory that will fix the travic CI fail.

I'm in merge/rebase hell because this feature branch is so far out of date - so I'm going to close this PR and open a new one to make it easier. The new PR will not have any functional change, merely testing changes.


🐳 Create a Docker Compose project(s) to ease the build of the plug-ins

Look at https://github.com/bots-garden/simplism-ide/blob/main/.env


Fix: Cannot add new property '__reanimatedHostObjectRef'

Try fix https://github.com/dohooo/react-native-reanimated-carousel/issues/66

@KusStar discord Our community

Closed for rebasing to develop. Moved to https://github.com/dohooo/react-native-reanimated-carousel/pull/152


[Bug report]: Unable tab between input components, using tab-key

Requirements before reporting

[X] No duplicated issue reported.
[X] I have read the contribution guidelines.
[X] I have checked the lastest version if the bug exist there. See all avaliable packages at npmJS.com
[X] I have made sure that the issue comes from SDDS packages by removing SDDS from my project as a test.
[X] I have followed the installation guide.

Package
@scania/components
Package versions
@scania/components 4.6.0
Browser
Edge (Chromium)
Framework
React
Version
No response
Reproduction steps
Press tab while in a form with scania components.
Code example
<div>
    <sdds-textfield></sdds-textfield>
    <sdds-textfield></sdds-textfield>
    <sdds-textfield></sdds-textfield>
    <sdds-textfield></sdds-textfield>
    <sdds-textfield></sdds-textfield>
    <sdds-textfield></sdds-textfield>
</div>

Screenshots
Add/Copy screenshot here
Expected behaviour
When pressing the tab key, focus should be moved from one component to another. Instead no component is focused. If an tabindex-attribute is given, the root-component will be focused, but not the input component.
Console errors
Add warning/error message
Contact information
simon.dahlberg [at] cdab.eu

I checked the source, and this could be fixed by either by using { delegatesFocus: true } when creating the shadow dom, or by listening on focus events on the root-component, and manually set focus to the input component

Checking our demo page, this seems to work fine in Angular. Interesting that this is a problem in React, but thanks for reporting. We will look into it.

That's really interesting, there shouldn't be such a difference. The problem I see might be a combination of other things, I'll investigate this a bit further

This problem is a bit different than I first thought. We use sdds-components inside a focus trap (from headlessui). Inside this focus trap I cannot use tab to navigate between components. But if I use { delegatesFocus: true } it works.
outside the focus-trap tabbing between components does work, as in your demo page.

I am closing this issue, as it's not a problem with sdds.
Thanks for the quick response!


EventHubs distributed tracing: span kind changes

EventHub spans kinds were not correct in the previous guidance. They should be changed to

Message: 'producer' kind for OpenTelemtery (was 'internal'). OpenCensus does not support 'producer' - 'internal' should still be used
Send: 'client' kind (was 'producer')
Processing: 'consumer' kind (was 'server'), OpenCensus should continue using 'server'

This complies with OpenTelemetry semantics and helps backend tools understand they are dealing with async message processing and visualize it accordingly.

thanks @lmolkova //cc: @mayurid

@lmolkova the way it's done in Python, EH doesn't know what plugin is running, so we can't really do "Consumer if OT, Server if OpenCensus"
What I can do is a hardcoded mapping for things that OpenCensus doesn't know. Right it's defined as:
        kind = (
            OpenCensusSpanKind.CLIENT if value == SpanKind.CLIENT else
            OpenCensusSpanKind.CLIENT if value == SpanKind.PRODUCER else  # No producer in opencensus
            OpenCensusSpanKind.SERVER if value == SpanKind.SERVER else
            OpenCensusSpanKind.CLIENT if value == SpanKind.CONSUMER else  # No consumer in opencensus
            OpenCensusSpanKind.CLIENT if value == SpanKind.INTERNAL else  # No consumer in opencensus
            OpenCensusSpanKind.UNSPECIFIED if value == SpanKind.UNSPECIFIED else
            None
        )

Mostly, everything we don't know is mapped to OpenCensus CLIENT. What do you think?

See https://github.com/Azure/azure-sdk-for-python/pull/7624

@lmazuel
thanks for the explanation.
I believe we should be using UNSPECIFIED for everything we don't know, but it's only relevant to INTERNAL. For producer/consumer, it;s fair to say they map pretty good to CLIENT/SERVER.
kind = (
            OpenCensusSpanKind.CLIENT if value == SpanKind.CLIENT else
            OpenCensusSpanKind.CLIENT if value == SpanKind.PRODUCER else  # No producer in opencensus
            OpenCensusSpanKind.SERVER if value == SpanKind.SERVER else
            OpenCensusSpanKind.SERVER if value == SpanKind.CONSUMER else  # No consumer in opencensus
            OpenCensusSpanKind.UNSPECIFIED if value == SpanKind.INTERNAL else  # No internal in opencensus
            OpenCensusSpanKind.UNSPECIFIED if value == SpanKind.UNSPECIFIED else
            None
        )

@lmolkova thanks! I updated the mentionned PR in consequences.


Add a way to specify organisation conditions i.e. hierarchies

Sounds like something for an “iati-tester” rather than an “iati-simple-tester”, but…
It would be useful to be able to specify organisation conditions, so that organisations that only publish data at certain hierarchies are not penalised.

NB This is now possible with the BDD Tester (since pwyf/bdd-tester@de46c87f)


Issue in one of the machine for accessing babelfish via hostname or localhost, but works in <IP_ADDRESS>

Hi Alex,
In one of my colleague machine, We are facing below issue in accessing the babelfish, any idea why this would be?

@psrinivasa2
Please check the listen_addresses config parameter on that instance. By default WiltonDB server only listens for connections on <IP_ADDRESS>. And localhost name may or may not be resolved to <IP_ADDRESS>. See more details on this wiki page.


Query Server for File Extensions of Interest (for Overlays).

As mentioned here: https://github.com/dart-atom/dartlang/issues/437, Atom is special casing file types to send as overlays.  It would be great if there where a way to get this list from server.

No longer relevant.  Closing as stale.


Documentation of --exclude-caches (CACHEDIR.TAG)

The documentation of Excluding Files says:

--exclude-caches Specified once to exclude folders containing this special file (CACHEDIR.TAG).

This is not correct.
The folder containing CACHEDIR.TAG and the file itself will be included!
This is very good and should be mentioned in the documentation to avoid unnecessary worries.
Correct is: Other files and sub-folders will be excluded.

The new wording is being discussed →here.


How to turn off the automatic swipe to go back in navigation controller?

Is it possible in an easy way to disable this?

Hey @Krauler56!
Sure, to control this behavior, every UINavigationController has an interactivePopGestureRecognizer property. Having said that, you can easily disable that gesture recognizer like the following:
rootViewController.interactivePopGestureRecognizer?.isEnabled = false

I tried it, and it doesn't work because of interactivePopGestureRecognizer is nil


Clear the cache

What is the correct way / best practice for clearing the cache?
This works, but is a bit clumsy:
// Timber::$cache = true;
$loader = new TimberLoader();
$loader->clear_cache_timber();

I found an issue that mentioned doing this:
TimberLoader::clear_cache_timber();

but it isn't a static method.
I updated the wiki with this a mo ago, but realised i was stretching a bit & deleted it.

I know this is really old, just clearing up issues. This was covered in #399

This is still super painful.  Note for next time im googling it.
timber 1.x
wp debug - true
functions.php:
$loader = new TimberLoader();
$loader->clear_cache_timber();
Probably differnet in timber 2.x


Add custom-scenario upload

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It would be nice to upload additional game content like custom scenarios to the vortex. This would allow more diverse gameplay experiences.
Describe the solution you'd like a clear and concise description of what you want to happen.
I'd like to upload and share a custom scenario the same way as a blueprint.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
-/-
Additional context Add any other context or screenshots about the feature request here.
https://shapez2.wiki.gg/wiki/Custom_Game_Modes#Custom_Scenario_Presets

https://github.com/ajv-validator/ajv


[uWebSockets] update to 0.17.0 alpha 4

Library name: uWebSockets
New version number: 0.17.0 alpha 4
Other information that may be useful (release notes, etc...)
I ran into ERROR #C2664 and alexhultman (the library dev) suggest that I ask VCPKG to update the library version.

Hi @Slowair6 thanks for posting this issue.
I have update this port in PR #9535 .
Could you help confirm if this can work for you?

Hi @Slowair6 thanks for posting this issue.
I have update this port in PR #9535 .
Could you help confirm if this can work for you?

Sorry for the late reply, yes it's work now thank you very much.

Thanks for your reply.
Since this PR has been merged, I close this issue now.


chore: reorder icon entries alphabetically

This would still need the other PR merged in. Also I am not sure whether the icons are case sensitive or not. If they are not, we might also want to remove the upper case ones.

Also I am not sure whether the icons are case sensitive or not. If they are not, we might also want to remove the upper case ones.

I think the extensions like R need case sensitivity. There's only a couple...


Investigate: Write all aggregated health system EHR data into SDS from MyCarePlanner

First smaller step:

Verify with OHSU (Matt and Tim) whether we can write a FHIR Bundle or as individual resources.
Then, if bundle is possible, see if we can write a FHIR Bundle.
Proof of concept is to create a FHIR Bundle from one of the health system EHRs.
Question: How to test that the FHIR Bundle was written in the SDS successfully? Need to verify exact syntax with OHSU.

Earlier thinking for reference:
Working with the OHSU team to determine whether data can be written as a bundle or as individual resources.
And working with the OHSU team to determine additional API to write into partitions.
Requirement from the client to store all aggregated data for research purposes.

Need discussion with Matt. OHSU SDS should support hosting a bundle, but may be challenging to test in MELD.

From Dave, initial thoughts on this: Insert something into the http header with PUT.


SyntaxError: Unexpected non-whitespace character after JSON at position 4

Verify latest release

[X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

[X] I verify that the ChatGPT webapp is working properly for this account.

Environment details
node v20
Describe the Bug
SyntaxError: Unexpected non-whitespace character after JSON at position 4
while using
import { ChatGPTUnofficialProxyAPI } from '../src'

出现了同样的问题


[6.0] Symbol graph cherry picks

Explanation: Updates swift package dump-symbol-graph to pass the correct set of include and cxx interoperability mode flags. This fixes a bug where were are unable to extract the symbol graph from swiftmodules with transitive cxx modules because we parsed cxx headers as c headers.
With these changes swift-mmio is able to generate symbol graphs and documentation using the swift package dump-symbol-graph and swift package generate-documentation commands.
Scope: Documentation generation
Issue:
Original PR: #7610, #7621
Risk: Low
Testing: CI & at desk usage directly and via SwiftPM
Reviewer: @xedin

@swift-ci test


so easy OutOfMemoryError ! please help me!

java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:726)
at android.graphics.Bitmap.createBitmap(Bitmap.java:703)
at android.graphics.Bitmap.createBitmap(Bitmap.java:670)
at de.hdodenhof.circleimageview.CircleImageView.getBitmapFromDrawable(CircleImageView.java:367)
at de.hdodenhof.circleimageview.CircleImageView.initializeBitmap(CircleImageView.java:384)
at de.hdodenhof.circleimageview.CircleImageView.setImageDrawable(CircleImageView.java:315)
at com.bumptech.glide.request.target.GlideDrawableImageViewTarget.setResource(GlideDrawableImageViewTarget.java:80)
at com.bumptech.glide.request.target.GlideDrawableImageViewTarget.setResource(GlideDrawableImageViewTarget.java:12)
at com.bumptech.glide.request.target.ImageViewTarget.onResourceReady(ImageViewTarget.java:76)
at com.bumptech.glide.request.target.GlideDrawableImageViewTarget.onResourceReady(GlideDrawableImageViewTarget.java:66)
at com.bumptech.glide.request.target.GlideDrawableImageViewTarget.onResourceReady(GlideDrawableImageViewTarget.java:12)
at com.bumptech.glide.request.GenericRequest.onResourceReady(GenericRequest.java:525)
at com.bumptech.glide.request.GenericRequest.onResourceReady(GenericRequest.java:507)
at com.bumptech.glide.load.engine.Engine.load(Engine.java:164)
at com.bumptech.glide.request.GenericRequest.onSizeReady(GenericRequest.java:449)
at com.bumptech.glide.request.GenericRequest.begin(GenericRequest.java:270)
at com.bumptech.glide.manager.RequestTracker.runRequest(RequestTracker.java:37)
at com.bumptech.glide.GenericRequestBuilder.into(GenericRequestBuilder.java:661)
at com.bumptech.glide.GenericRequestBuilder.into(GenericRequestBuilder.java:697)
at com.bumptech.glide.DrawableRequestBuilder.into(DrawableRequestBuilder.java:448)

Maybe is releated with Glide

I have the same issue.

I have the same issue. I've tried scaling the image before passing it into CircleImageView but still see the problem. @hudan2714 any luck with a solution?

Seems that it's not a Glide or CircleImageView problem, but not sure.  Just add to the application in manifest this attribute.  android:largeHeap="true"

@vasskob I already did that, still seeing OOM crash.

@hudan2714  do you have the image's link?

I used this approach: https://stackoverflow.com/a/10127787/488489 and it helped.

The SO answer is quite comprehensive and should help solve this.


OCM-12036 | test: automated ids:38827,38829,35894,55701

Running Suite: ROSA CLI e2e tests suite - /home/zhewang/go/src/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 242 specs
Sts cluster creation supplemental testing rosacli makes STS cluster by default - [id:55701] [feature-cluster, Medium, day1-supplemental]
/home/zhewang/go/src/rosa/tests/e2e/test_rosacli_cluster.go:3783
STEP: Init the client @ 10/25/24 14:49:55.172
STEP: Get AWS account id @ 10/25/24 14:49:55.172
STEP: Prepare custom profile @ 10/25/24 14:49:55.172
STEP: Check the help message of 'rosa describe upgrade -h' @ 10/25/24 14:49:55.173
time=2024-10-25T14:49:55+08:00 level=info msg=Running command: rosa create cluster -c ocp55701 --help
……
STEP: Delete account-roles @ 10/25/24 15:08:05.064
time=2024-10-25T15:08:05+08:00 level=info msg=Running command: rosa delete account-roles --prefix rosacli-ci --mode auto -y
time=2024-10-25T15:08:14+08:00 level=info msg=Get Combining Stdout and Stderr is :
WARN: There are no classic account roles to be deleted
WARN: There are no hosted CP account roles to be deleted
• [1098.979 seconds]
Ran 1 of 242 Specs in 1098.996 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 241 Skipped
Running Suite: ROSA CLI e2e tests suite - /home/zhewang/go/src/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 242 specs
Post-Check testing for cluster clusters with the --disable-scp-checks flag  Create MOA clusters with the --disable-scp-check flag - [id:35894] [feature-cluster, Medium, day1-post]
/home/zhewang/go/src/rosa/tests/e2e/test_rosacli_cluster_post.go:962
STEP: Get the cluster @ 10/25/24 15:14:42.086
STEP: Init the client @ 10/25/24 15:14:42.086
……
STEP: Clean remaining resources @ 10/25/24 15:14:53.508
• [11.422 seconds]
Ran 1 of 242 Specs in 11.435 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 241 Skipped
Running Suite: ROSA CLI e2e tests suite - /home/zhewang/go/src/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 242 specs
Create cluster upgrade policy validation Validation for creating upgrade policy via ROSA cli will work - [id:38829] [feature-cluster, Medium, day2]
/home/zhewang/go/src/rosa/tests/e2e/test_rosacli_upgrade.go:1202
STEP: Get the cluster @ 10/25/24 15:53:44.914
STEP: Init the client @ 10/25/24 15:53:44.914
STEP: Load the profile @ 10/25/24 15:53:44.914
……
STEP: Clean the cluster @ 10/25/24 15:55:24.91
• [103.035 seconds]
Ran 1 of 242 Specs in 103.049 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 241 Skipped
Running Suite: ROSA CLI e2e tests suite - /home/zhewang/go/src/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 242 specs
Describe/List rosa upgrade List upgrades of cluster via ROSA cli will succeed - [id:38827] [feature-cluster, Medium, day2]
/home/zhewang/go/src/rosa/tests/e2e/test_rosacli_upgrade.go:805
STEP: Get the cluster @ 10/25/24 16:20:08.325
STEP: Init the client @ 10/25/24 16:20:08.325
STEP: Load the profile @ 10/25/24 16:20:08.325
……
STEP: Clean remaining resources @ 10/25/24 16:25:28.491
• [320.166 seconds]
Ran 1 of 242 Specs in 320.179 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 241 Skipped

@jameszwang Cases looks good, did you test them on your local? Could you share your test logs here?

@yuwang-RH All cases local ran passed and test logs has been pasted, please take a look.Thanks.

/lgtm


Change thin progress bar to have darker background for the unfinished portion

Closes #11915
Preview here (before and after):

Adding another darker() would make it look like this, which IMO is too dark. 👇

How does this look with other bar colors?

Red:

Yellow (I think? I had to force "dead" to have the same color as diseased since nothing is diseased atm 😛):


The 'text' template is the opposite of what it should be

The text template is currently the following:
### Text ###
*.doc
*.docx
*.log
*.msg
*.pages
*.rtf
*.txt
*.wpd
*.wps

This EXCLUDES all text-like files instead of including them ;)

Fixed in this PR for the templates repo:
https://github.com/toptal/gitignore/pull/569#issue-2223952377


python310Packages.pdm-backend: 2.1.0 -> 2.1.1

https://github.com/pdm-project/pdm-backend/releases/tag/2.1.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 239949 run on x86_64-linux 1

17 packages built:

griffe (python310Packages.griffe)
griffe.dist (python310Packages.griffe.dist)
netbox
pdm
pdm.dist
python310Packages.cacheyou
python310Packages.cacheyou.dist
python310Packages.mkdocstrings-python
python310Packages.mkdocstrings-python.dist
python310Packages.pdm-backend
python310Packages.pdm-backend.dist
python311Packages.griffe
python311Packages.griffe.dist
python311Packages.mkdocstrings-python
python311Packages.mkdocstrings-python.dist
python311Packages.pdm-backend
python311Packages.pdm-backend.dist


Exclude leaflet map from RSS

I just got an issue with a new post and the generated RSS by Hugo. As you will see in my feed the r category RSS is very big (30MB): https://dominicroye.github.io/en/categories/r/index.xml
This is due to a leaflet map in my last post. For r-bloggers I need the full content in the RSS, so I don’t know how to exclude only the leaflet map.
Any ideas?

Please use the chat for discussions. This isn't a bug.


Minor paragraph formatting proposals

Most of the pull request is already corrected in the latest v0.11.0, and remaining changes are already commited to release on the next version.
Thank you for reporting it!


Question, velocity-react and various webpack SVG loaders.

Hi,
With regards to SVG and SVG animations.
Any thoughts, known issues or recommendations regarding the following SVG loaders:
`svg-react-loader
svg-to-react-cli
react-svg-loader
Thanks.

Are you trying to animate the SVG or just have the SVG in an animated component?
I think I used react-svg-loader at Fabric, but never tried to animate the internals of a sprite.

Hi,
Thank for the quick reply!
I'm aiming to animate the SVG as a functional component.
Just making sure no known issues or limitations with velocity-react and SVG animation (react component from loader) before I dive deeper ;)
Thanks.


Extract artwork from local media files and show in list（加载媒体文件真正的图片）

Extract artwork from local media files and show in list.

https://github.com/markzhai/LyricHere/commit/14cdd573fbe01390e69d25fda3e56ab5f3abeee6
Done


[proposal] remove misleading "most liked package" from description

getx has always boasted about being a "very popular package"

Some (including myself) always found the number of "likes" on pub.dev being suspicious for 2 reasons:

by comparison to obviously more popular packages (eg: bloc, provider, etc)
given the habit of the maintainer to make unproven claims

now
the download count is finally available on pub.dev through experimental flag and a quick comparison shows a huge disparity between "likes"  and actual usage of the package

package
likes
downloads

bloc
2.9k
2.5M

riverpod
3.4k
2M

provider
10.3k
3.75M

getx
14.8k
604k

 screenshots

I suggest to remove the self-appointed "most liked package" title from the package documentation since it could mislead adopters

@iapicca Having a large number of downloads does not necessarily mean it is useful, and similarly, having a large number of downloads does not necessarily mean that the person who downloaded it likes the package I am a Flutter developer who switched from the "provider" package to "Getx". Providers are not as user-friendly as Getx, so I like Getx instead of Providers This also proves that packages with high download rates do not necessarily mean people like them. Flutter developers may have heard others say that state management should use Providers, but found that Providers are not easy to use. This explains why Providers have high download rates but fewer people like them, while Getx has lower download rates but more people like them

Thank you for raising this point. However, I’d like to address some critical aspects regarding the use of download counts as a metric for evaluating package popularity or reliability.
Download counts are inherently susceptible to inaccuracies due to several factors:

Frequent updates: Each new version release inflates download statistics.
Automated processes: CI/CD pipelines (e.g., GitHub Actions) frequently re-download dependencies, artificially boosting the numbers.
Potential misuse: Download statistics can also be skewed by malicious activity or automated attacks.

Even the NPM team advises against using download counts as a primary indicator of a package's popularity or quality. This makes relying solely on these numbers for recommendations questionable.
If you're looking for more reliable metrics, consider analyzing the number of open-source projects that depend on the package. For example:

[Riverpod](https://github.com/rrousselGit/riverpod) is used in over 67,000 projects.
[GetX](https://github.com/jonataslaw/getx) is utilized by more than 198,000 projects.

Such numbers reflect real-world usage and community adoption, offering a far better gauge of a package's influence and reliability.
For these reasons, I will go ahead and close this issue. If you have further thoughts, feel free to share. Thank you for your understanding!

I would also like to take this opportunity to appreciate @jonataslaw and the incredible community around GetX for their commitment to providing a powerful and user-friendly state management solution. The adoption of GetX in over 198,000 projects is a testament to its impact and reliability. Kudos to the team and contributors for maintaining such a remarkable tool!

[Riverpod](https://github.com/rrousselGit/riverpod) is used in over 67,000 projects.
[GetX](https://github.com/jonataslaw/getx) is utilized by more than 198,000 projects.

@jonataslaw
where are there number coming from?
also there is a HUGE difference between "hobby" projects and in production
the latter will definitely be heavier on CI/CD and with more frequent update/releases
(translated
fewer production apps will we weight more on DL count then many "pet project")
reconnecting this to the original post, developers tend to choose reliable packages
for said choice like are less reliable than dl counts

The table you've compiled clearly shows that no modification is necessary.
Getx has a whopping 14.8K likes,
far surpassing bloc and riverpod,
and significantly outpacing provider.
It's undoubtedly the most liked. After all, Getx doesn't claim to be the most downloaded, does it?


Tests are rebuilt with cosm.js

I am probably doing something wrong, but yarn test:short:statom completely fails for me. By the way, I am using compiled contracts from lido-cosmos-hub-conracts/main.

yarn test:short:slashing goes into infinite loop and keeps printing
  console.info
    execute wasm14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s0phg4d w/ {"bond_for_st_atom":{}} { amount: [ { amount: '250000', denom: 'stake' } ], gas: '1000000' }

      at src/helper/flow/execution.ts:50:11

and finally fails with a timeout. Is it an expected behaviour?

yarn test:short:slashing

@foxpy please pull the changes (now slashing must happen much faster) and try again

try again

These tests are also quite slow, hence I am requesting a higher timeout.