[4/N] RFC-3: add support for ttl expiry during compaction

This PR adds the physical component of TTL in accordance to RFC-3 (#228). It functions by encoding an expire_ts in the row as its written to the SST and then filters out rows during compaction that have already expired. Some intricacies:

added PutOption to the public API to have something that is applied per-row (compared to WriteOption that is only applied per-write, which may contain multiple rows)
added a clock to the CompactorOptions so that the timestamp of compaction can be set (this determines the "now" timestamp for expiration)

See the PR sequence for more background:

#251
#258
#265

Follow-Ups:

[ ] Don't encode expire_ts in the SST if no row in the SST has an expire_ts set
[ ] Filter out values on retrieval if they're already expired and compaction hasn't kicked in yet
[ ] Support default TTLs when opening a db connection

Something that just occurred to me: if we're running the compactor on a separate machine, how will that work with custom clocks like "stream time"? Is it going to use a different implementation that consumes from the stream to see the current time? Or is it going to look at the max timestamp it sees in among all rows in all SSTs as it's scanning? 🤔

I was thinking about this too. One approach would be to have some option that tells the compactor to use the timestamp field from the manifest. This feels appropriate for a use case like stream time in Kafka Streams.


Arbitrary ng-click on mdt-cell or mdt-row doesn't work

I upgrade the version and now I cannot use ng-click on mdt-cell or mdt-row.
There is another way to put arbitrary actions on the table?

@chiccomask can you create for me a codepen example to see how did you use it before? Just grab an example from the demo page, fork it and change it. Then provide me the url please.

I don't know the previous version because I was using the * in my bower. But the directives are completely changed. Now I cannot use anymore the old library.
This is an extract of the old code:

ID
USERNAME
SELECTED

        <md-data-table-row ng-repeat="user in users" table-row-id="user.id">
            <md-data-table-cell ng-click="viewUser(user)">{{user.id}}</md-data-table-cell>
            <md-data-table-cell ng-click="viewUser(user)">{{user.username}}</md-data-table-cell>
            <md-data-table-cell html-content="true">
                <md-checkbox ng-model="selectedUsers[user.id]" ng-change="linkUserToCustomer(user.id, selectedUsers[user.id])" ng-disabled="!selectedUsers" aria-label="selected"></md-checkbox>
            </md-data-table-cell>
        </md-data-table-row>
    </md-data-table>

I was able to use ng-click inside an md-data-table-cell directive.
With the new version I found a workaround, clicking on the first cell doesn't work, the sedond does:
http://codepen.io/anon/pen/dGWPVg


fix(runtime-core): fix nonHydratedAsyncRoot update

close #11617
this pr playground

Thank you for addressing the issue.
Could you please add a test case?

I'm pretty sure the preview fix is proper.
Is there any reason why you changed it?

@edison1105 I tried to fix it again, maybe it should be handled like this

I'm pretty sure the previous fix is proper.我很确定之前的修复是正确的。 Is there any reason why you changed it?你有什么理由改变它吗？

 I was wrong. I thought that when patching suspense, I had to confirm which component was pending, but this has nothing to do with pendingBranch.


generator: consider removing ConnectionOptions member from Connection class

It may be the case that *ConnectionOptions are only needed during construction of the generated Connection classes and thus not necessary to store them in the resulting object.

member field removed.


ViewController doesn't show

Hi,
I tried to show my ViewController on my storyboard with
let controller = AsdViewController()
customPresentViewController(presenter, viewController: controller, animated: true, completion: nil)

But it just give me blank black transparent screen. I make a sure if my view controller in storyboard has right class. But it still doesn't work.
Then I try to create ViewController with XIB and it works. My question is, is it support to show view controller on storyboard? Am I missing some step here?
Thank you!

Hi Riyan,
Hmmm I think the issue might be because of this line:
Let controller = AsdViewController()
When instantiating a View Controller from a storyboard you need to do something like this:
Let controller = storyboard.insantiateViewControllerWithIdentifier("asdViewController")
My syntax is probably wrong, but you get the idea :)

let storyboard = UIStoryboard(name: "MyStoryboard", bundle: nil)
let controller = storyboard.instantiateViewControllerWithIdentifier("asdViewController")

It works like a charm. Thank you so much, Danlozano!

If the View Controller you are currently on is in the storyboard, you can just call on the included property on the View Controller self.storyboard , but if you are outside a storyboard you first have to get the storyboard, like you did so in your comment.
Good luck, thanks for using Presentr!


RuntimeError: cublas runtime error

Hi all,
Did anyone use 2080 Ti for this project?
environment

2080 Ti
python 3.7.0
pytorch 1.1.0
CUDA 9.0
gcc 5.4

I set up the project exactly as suggested in README, prepared the data properly, but received this error when running the default train scripy:
$ CUDA_VISIBLE_DEVICES=0 python train.py --config config/pointgroup_run1_scannet.yaml

/data2/helin/1/PointGroup/util/config.py:20: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(f)
[2021-09-04 20:51:03,613  INFO  log.py  line 40  907024]  ************************ Start Logging ************************
[2021-09-04 20:51:03,641  INFO  train.py  line 26  907024]  Namespace(TEST_NMS_THRESH=0.3, TEST_NPOINT_THRESH=100, TEST_SCORE_THRESH=0.09, batch_size=4, bg_thresh=0.25, block_reps=2, block_residual=True, classes=22, cluster_meanActive=50, cluster_npoint_thre=50, cluster_radius=0.03, cluster_shift_meanActive=300, config='config/pointgroup_run1_scannet.yaml', data_root='dataset', dataset='scannetv2', dataset_dir='data/scannetv2_inst.py', epochs=384, eval=True, exp_path='exp/scannetv2/pointgroup/pointgroup_run1_scannet', fg_thresh=0.75, filename_suffix='_inst_nostuff.pth', fix_module=[], full_scale=[128, 512], ignore_label=-100, input_channel=3, loss_weight=[1.0, 1.0, 1.0, 1.0], lr=0.001, m=16, manual_seed=123, max_npoint=250000, mode=4, model_dir='model/pointgroup/pointgroup.py', model_name='pointgroup', momentum=0.9, multiplier=0.5, optim='Adam', prepare_epochs=128, pretrain='', pretrain_module=[], pretrain_path=None, save_freq=16, save_instance=False, save_pt_offsets=False, save_semantic=False, scale=50, score_fullscale=14, score_mode=4, score_scale=50, split='val', step_epoch=384, task='train', test_epoch=384, test_seed=567, test_workers=16, train_workers=16, use_coords=True, weight_decay=0.0001)
[2021-09-04 20:51:03,648  INFO  train.py  line 135  907024]  => creating model ...
[2021-09-04 20:51:03,946  INFO  train.py  line 148  907024]  cuda available: False
[2021-09-04 20:51:08,453  INFO  train.py  line 153  907024]  #classifier parameters: 7715050
[2021-09-04 20:51:08,759  INFO  scannetv2_inst.py  line 43  907024]  Training samples: 4
[2021-09-04 20:51:08,784  INFO  scannetv2_inst.py  line 54  907024]  Validation samples: 1
Traceback (most recent call last):
  File "train.py", line 180, in <module>
    train_epoch(dataset.train_data_loader, model, model_fn, optimizer, epoch)
  File "train.py", line 54, in train_epoch
    loss, _, visual_dict, meter_dict = model_fn(batch, model, epoch)
  File "/data2/helin/1/PointGroup/model/pointgroup/pointgroup.py", line 398, in model_fn
    ret = model(input_, p2v_map, coords_float, coords[:, 0].int(), batch_offsets, epoch)
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/data2/helin/1/PointGroup/model/pointgroup/pointgroup.py", line 264, in forward
    output = self.input_conv(input)
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/spconv/modules.py", line 123, in forward
    input = module(input)
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/spconv/conv.py", line 157, in forward
    outids.shape[0])
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/spconv/functional.py", line 83, in forward
    return ops.indice_conv(features, filters, indice_pairs, indice_pair_num, num_activate_out, False, True)
  File "/home/helinxu/anaconda3/envs/pointgroup2/lib/python3.7/site-packages/spconv/ops.py", line 112, in indice_conv
    int(inverse), int(subm))
RuntimeError: cublas runtime error : the GPU program failed to execute at /tmp/pip-req-build-cbsmv48q/aten/src/THC/THCBlas.cu:259

I looked up the error message RuntimeError: cublas runtime error : the GPU program failed to execute at /tmp/pip-req-build-cbsmv48q/aten/src/THC/THCBlas.cu:259 a bit, and I suppose it has something to do with the GPU version I am using, which is 2080 Ti. (However, I'm not quit sure about that, it may have been caused by other reasons.)
Could anyone give me some suggestions? Plus, what GPU are you using to get it through?
Thanks!

I got it through.

CUDA 10.0

pytorch 1.1.0 (conda installed)

cudnn 7.6.5

CUDA 9.0 may not work with 2080 Ti on this project. Previous issues here have mentioned this error message.

I got tons of errors when trying to compile with CUDA 10.0, but they are all fixable. Here's a few errors I received: libstdc++.so.6: version GLIBCXX_3.4.22' not found` solved by replacing libstdc++.so.6 by copying from system. Others are solved by #48.


Roll engine 54a3577c0139..215ca1560088 (8 commits)

https://github.com/flutter/engine/compare/54a3577c0139...215ca1560088
git log 54a3577c0139..215ca1560088 --no-merges --oneline
215ca1560 Support user-provided font-fallback. (flutter/engine#7241)
526b4bc35 Revert "Roll Dart to version e15e8609aa8610f8c432f1caf2ab89358e2fce50 (#7213)" (flutter/engine#7283)
a56467ed7 Roll Dart to version e15e8609aa8610f8c432f1caf2ab89358e2fce50 (flutter/engine#7213)
8532868d8 Address some comments on previous doc improvement PR (flutter/engine#7274)
367bb9bdf Roll src/third_party/skia b9c2b6663dfd..9803b8f1d197 (7 commits) (flutter/engine#7280)
37af0cd7b Roll src/third_party/skia 24c72fe389db..b9c2b6663dfd (1 commits) (flutter/engine#7279)
6b85ed3d9 Android embedding refactor PR1: JNI Extraction to FlutterJNI.java (flutter/engine#7098)
3969f82d6 Roll src/third_party/skia bdfe3a3ee9c3..24c72fe389db (1 commits) (flutter/engine#7278)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

@liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4864784958750720


Allow for an "unversioned" lance dataset

We want to use Lance as a blob storage.  Part of this is creating a secondary Lance dataset whose versions are meaningless.  There is no strict lineage and each version is a UUID.  This will be a secondary dataset and the primary dataset will handle the commits and version control.
To cleanup this "unversioned" dataset we will have to specify a set of UUIDs to retain.  In addition, each change will be a staged commit.  Otherwise, the dataset operates similarly to a normal dataset.

Redundant with #2889


Hi, cool module, thanks! But it doesn't work with the application I need. Can I order a modification of the module for my needs?

Hi, cool module, thanks! But it doesn't work with the application I need. Can I order a modification of the module for my needs?

For you bro working video mp4 and image ?


Add Data.List.ZipList.transpose

This seemed to be the most appropriate place I could think of for it. I also added some tests for ZipList.

See #59 for a second attempt.


Broken deploy action

So the deploy action is hosed...need to figure out why it is broken, and you can't really debug without deploying again and again...

Actually pretty easy.

Actually pretty easy.


windbg.pykd.flare Chocolatey Installation Error

Bug Description
When attempting to install the windbg.pykd.flare package from Chocolatey, I receive this error: ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Could not find a part of the path.
Here is my Chocolatey log relating to this install: windbg.pykd.flare Install Log.txt
Steps To Reproduce

Run the following command in an elevated PowerShell prompt:
cinst -y windbg.pykd.flare

Screenshots

Version

OS: Windows 10 Version 2004 Build 19041.508
$Env:FEVM_PROFILE: Commando_Default

@syth3 thank you for the issues.. Can you tell me what profile/version you installed?
You should be able to see in PowerShell with $Env:FEVM_PROFILE

@day1player this is what I see

@syth3 thank you very much, this will help us identify if there are problems with dependencies.
We are taking a look at all of the issues you have created, it will take some time for us to address everything but we really appreciate each issue.
For what its worth, FlareVM (and its toolsets) is meant for Windows 7, so not everything has been fully tested on Windows 10. We are in the process of creating and supporting Windows 10 for FlareVM soon but until then we may see some instability in the tooling. The issues you have created will only help in our support for Win10 soon!

@day1player Thank you for the support! I'm glad that the issues I created can help this project and were not viewed as spamming.

fixed with june update #262


Missing documentation on some classes.

ItemAttribute.cs
ItemFlag.cs
OutgoingManagementPacketType.cs
IncomingManagementPacketType.cs
NetworkMessage.cs
Connection.cs
ITile.cs
IItem.cs
IScriptApi.cs
Item.cs
StandardScriptApi.cs
ScriptExtensions.cs

[ To be Continued ]

Added ITile.cs to the list.

Added:

IItem.cs
IScriptApi.cs
Item.cs
StandardScriptApi.cs
ScriptExtensions.cs

With the new refactor, warnings are now treated as errors, and comments end up being enforced by the same, so this is now fixed.
Anything further on this matter should be opened as a separate issue.


Quick Start chat example causes invalid memory address or nil pointer dereference

Hi, I'm new to Go and trying out the Quick Start on your landing page. I have a working, new, Go installation (go1.11.5 darwin/amd64) with $GOPATH (/Users/oskar/src/go) etc.
Following your steps:
# get 'revel' framework and command
go get github.com/revel/cmd/revel

# Get the example apps
git clone https://github.com/revel/examples \
$GOPATH/src/github.com/revel/examples

# revel the chat app
revel run github.com/revel/examples/chat

The last command yields:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x123350e]

goroutine 1 [running]:
github.com/revel/cmd/utils.FindSrcPaths(0x7ffeefbffb32, 0x1e, 0x14ddc50, 0x16, 0x0, 0x0, 0x0, 0x1416520, 0xc0000abf30, 0xc0000d5c68, ...)
    /Users/oskar/src/go/src/github.com/revel/cmd/utils/file.go:358 +0x4fe
github.com/revel/cmd/model.(*CommandConfig).SetVersions(0xc0000ac1e0, 0x14dc86c, 0x14)
    /Users/oskar/src/go/src/github.com/revel/cmd/model/command_config.go:301 +0xc0
github.com/revel/cmd/model.(*CommandConfig).UpdateImportPath(0xc0000ac1e0, 0x17, 0x2)
    /Users/oskar/src/go/src/github.com/revel/cmd/model/command_config.go:154 +0x68e
main.main()
    /Users/oskar/src/go/src/github.com/revel/cmd/revel/revel.go:94 +0x161

I also had this issue, but it was fixed when I updated my revel command with:
go get -u github.com/revel/cmd

Yes this sounds like a versioning issue, what is the output of revel version ?

Tried again, it works suddenly (without attempting to manually updating anything). Output of revel version:
Revel executing: displays the Revel Framework and Go version
Revel Framework	:	0.21.0	(0.21.0 remote master branch)
Revel Cmd	:	0.21.1	(0.21.1 remote master branch)
Revel Modules	:	0.21.0	(0.21.0 remote master branch)

go version go1.11.5 darwin/amd64

🤷♂

I've just had this problem as well, it was all broken till I ran revel version and then it started working. I assume running that sets something up that was initially missing.

I had exactly the same experience today on a second box. Got errors, not
the same as reported here, then ran the version command and after that it
all started working.
On Mon, 8 Apr 2019, 22:33 Steve<EMAIL_ADDRESS>wrote:

Reopened #1419 https://github.com/revel/revel/issues/1419.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/revel/revel/issues/1419#event-2261067702, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHJWa6HXjGbZYrwOUiEf8vrBRpdZIlEks5ve7WzgaJpZM4aXbZa
.

Thanks @digininja, running revel version fixed the installation.

strange, works for me too !


feat: add helper text API

Add helper text to vaadin-radio-group as string attribute and name slotted
Add demo for the new property and new theme variant
Add unit and visual tests

Part of #149

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

Please rebase this on top of 1.4 branch and switch the base branch for the PR accordingly.

Done.


add fuzz test for dr traffic policy merge and copy

I think this helps detect #48292 issues.

/test all


ARR: Change emergency reviewing form to allow multiple areas

For June onwards, the editors would like people volunteering to be emergency reviewers to say they can do so in multiple areas.
I believe this just requires editing this line (though maybe there is also post-processing logic that is affected?):
https://github.com/openreview/openreview-py/blob/e4d06e94984866d47051dc90cdba410cca6d2aab/openreview/stages/arr_content.py#L1990

input but must a checkbox and type must a string[] in order to allow multiple values

Yes, AC too, thanks for confirming


Add test that orig module is accessible

This PR adds a test that checks that the _orig module is accessible when a module is overwritten through extensions framework.

LGTM


Add Cody status action related to the RateLimitError

A current state:

Note: eventually, we do want to show:
a) only the chat rate limit action
b) only the autocompletion rate limit action
c) only the chat and autocompletion rate limit action

Warning dialogs


HACBS-2552: Migrate rhtap services to tenants-config

remove ci/
merge via https://github.com/redhat-appstudio/tenants-config/pull/7

/hold


CLOUDP-70027:  mongocli atlas integration(s) list|l

Proposed changes

Jira ticket: CLOUDP-70027

Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

./bin/mongocli atlas integrations list
TYPE
NEW_RELIC
OPS_GENIE

./bin/mongocli atlas integrations list -o json
{
  "links": [
    {
      "rel": "self",
      "href": "https://cloud-dev.mongodb.com/api/atlas/v1.0/groups/5e4e593f70dfbf1010295836/integrations?pageNum=1\u0026itemsPerPage=100"
    }
  ],
  "results": [
    {
      "type": "NEW_RELIC",
      "licenseKey": "eu01xx5f87268ff5028e69a67f3XXXXXXXX",
      "accountId": "2857404",
      "writeToken": "NRII-zpwCnhrDyUojdSJOk2XXXXXXXXXXX",
      "readToken": "NRIQ-MHCu7bPq2xvrrpVvybtXXXXXXXXXX"
    },
    {
      "type": "OPS_GENIE",
      "apiKey": "9255b505-9c55-45a4-893c-XXXXXXX",
      "region": "EU"
    }
  ],
  "totalCount": 2
}

@gssbzn Happy to discuss how to make the output better


README: Use SVG badge for consistency

Before

After

This is now merged, thanks for the suggestion!


Update to Baselibs v7.13.0 and BCs v11.1.0 by default

As the title says, update to use Baselibs v7.13.0 and BCs v11.1.0 by default.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:668cfcca30e9bf2f048b76402b756221d0d5af84

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:d661ab92e48713cdfa5839e7d6881c368f175ad5

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:d661ab92e48713cdfa5839e7d6881c368f175ad5

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=1.21.0


Enables NixOS compatability

The keyd Makefile assumes the Filesystem Hierarchy Standard, which NixOS does not conform to. I wrote this patch to allow the -c flag to specify an alternative to the /etc/keyd config directory.
It looks like this option precludes the use of other flags (e.g. -d) at the same time.
I don't write C code very often -- sorry there is likely a much better way to do this.
Cheers for the great work on keyd. I appreciate it.

Thanks for the patch, but please open an issue next time first. Distro specific files like shell.nix should be maintained downstream. The config directory can be altered at compile time (though NixOS has /etc as noted in #18.


Import statements 2-line gap rule applies to individual statements and not to the block

Import statement blocks should be succeeded by a 2-line gap but not each import statement as the rules currently enforce.
For example
import "A.sol";
import "B.sol";
import "C.sol";

contract D { [...] }

generate the warnings:

FILE:	/D.sol
--------------------------------------------------------------------------------------------

[WARNING] At line: 1, column: 0 -> ImportStatement must be succeeded by a 2-line gap.

[WARNING] At line: 2, column: 0 -> ImportStatement must be succeeded by a 2-line gap.

[WARNING] At line: 3, column: 0 -> ImportStatement must be succeeded by a 2-line gap.

solved in 0.1.15


DCPFIXITY - Lofty goal - Generate premis doc for fixity events

https://wiki.archivematica.org/PREMIS_metadata:_events
Possibly add metadata from mediainfo like the FITS example here: https://gist.github.com/mjordan/8672407

Part of a larger project. AEO-Light uses something similar, it would be interesting to even think up of a workflow that could mash all these things together.

Working on this - premis.py

These are now being logged in a textfile which can be transformed into PREMIS.


debris height: change plot title

Please change the plot title from "Debris height" to "Debris elevation".

changed title


Add/change border color of author tag to black

First: Love this module, very small but super useful for heavy module-use.
A minor quirk I noticed: The author tags have a coloured border while every other tag has a black border. I'd suggest it either gets changed to a black border as well or the module restyles every other border as well :)

Thank you very much, I've got about 100-150 modules and really needed a place to quickly access stuff. Thank you for the kind words.
As for the actual use... As a UI/UX designer... I hate that I missed that and I will have that fixed and out tomorrow morning.
The worst thing about it is, I kinda hate the black border... but I also don't want to over step and recolor the borders of the other tags... I guess I gotta make a choice and stick to it in the morning.

The black border has been included for consistance with all of the other foundry tags in v0.0.2. Thanks for bringing it to my attention!


Add perpetual stew command

Each user can add an additional item to the perpetual stew.

Out of scope of project.


⚠ Bofrost.at has degraded performance

In 6612228, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1027 ms

Resolved: Bofrost.at performance has improved in ea3d4bf.


[BUG]: Can‘t use speech-to-text

How are you running AnythingLLM?
Docker (local)
What happened?
When I use STT for input.The error is shown in the figure below.

Are there known steps to reproduce?
No response

You are either offline or cannot download the model from HuggingFace (which is where it comes from). When you use STT for the first time it streams and stores the ONNX of whisper-tiny so you can use it. It is not pre-loaded into the application since not everyone uses it.
If you have internet connectivity issues or are prevented from reaching hf.co/** endpoints (by ISP or VPN) will result in this issue. We do not mirror this model to a fallback URL, so its HF or nothing

When I use Speech-to-text as input，the following error message is displayed:“Could not locate file:
"http://localhost:3001/static/stt/models/Xenova/whisper-tiny/tokenizer config.json”
Do you have any experience with this situation?

in volume

in volume

Does the desktop support STT (Speech - to - Text)?

in volume

Does the desktop support STT (Speech - to - Text)?

I use with docker,I don't konw

I have the same problem. Can anything help? Or does anyone have any solutions?


codegen / compile fails if codebase uses global augmentation

Hey @lolopinto , love what you've built so far. I recently left FB earlier this year and have been missing the Ent framework ever since 😅 . Got really excited about this project ever since seeing your post in the ex-FB engineering group.
i've been playing around with the project for the past couple days, and so far it's been a dream. recently ran into the issue as described in the title.
no pipe operator in ts/js means I like to add a lot of hack's Vec\ functions as augmented functions on the Array type in ts, so I can do stuff like await [1,2,3].mapAsync(async ... ) and [4, null, 6].filterNulls(). i implement this by using global augmentation, but when trying to compile any ts code that uses these augmented functions, i see errors both when compiling the custom graphql code (where my one callsite is) and when compiling the graphql schema.
i get this working by importing file that both augments the array interface and adds the function implementations to the array prototype. i think we could get this working by just adding a place to add custom requires into the ts-node and ts-node-script calls that the codegen go file uses.
this issue is definitely a minor convenience feature for the framework lol but thanks for taking a look, and excited to see the framework keep moving forward!

hey, thanks!
can you provide an example of how you're using this just so I understand what's going on and what's broken?
the concept of global augmentation makes sense but I want to make sure I address the issue correctly.

sure thing! here's a sample augmentation for the array type:
interface Array<T> {
  mapAsync<U>(
    callbackfn: (value: T, index: number, array: readonly T[]) => Promise<U>,
    maxConcurrentPromises?: number | null,
  ): Promise<U[]>;
  ... other augmented functions
}

...
Array.prototype.mapAsync = function arrayAsyncMap(
  callbackfn,
  maxConcurrentPromises = DEFAULT_CONCURRENCY_LIMIT,
) {
  // only null if an explicit null was passed in, so we want to bypass concurrency limits
  if (maxConcurrentPromises == null) {
    return Promise.all(this.map(callbackfn));
  }

  assert(maxConcurrentPromises > 0);
  return asyncPool(maxConcurrentPromises, this, callbackfn);
};

in order for this to work, you need to include this file in whatever script you're running (in Ent, in your src/graphql/index.ts file) in before you can use any of these functions.
however, when you run codegen, you get this error:
generating graphql code...
/usr/lib/node_modules/ts-node/src/index.ts:692
    return new TSError(diagnosticText, diagnosticCodes);
           ^
TSError: ⨯ Unable to compile TypeScript:
src/graphql/mutations/upload_post.ts:59:22 - error TS2339: Property 'mapAsync' does not exist on type 'FileUpload[]'.

which fatals the codegen

pre-ent, when there isn't codegen, do you add this to the root/entrypoints of your application so that it's applied everywhere?
in this case, it looks like it's being used in a custom graphql mutation file based on the src/graphql/mutations/upload_post.ts path?
this sounds like something that can be added to options for list of paths to include

pre-ent, when there isn't codegen, do you add this to the root/entrypoints of your application so that it's applied everywhere?

yep, usually in the index.ts file of an Express app

in this case, it looks like it's being used in a custom graphql mutation file based on the src/graphql/mutations/upload_post.ts path?

yes

this sounds like something that can be added to options for list of paths to include

sounds great!!


Running .should() against .getCurrentState() should re-run on fail until timeout

With the test below I am checking for an animation to be finished.
The isAnimationFinished state will become true after 1.5 seconds, but .getCurrentState() does not get called/tested again when the assertion fails.
I would expect .getCurrentState() to be retried until the timeout period passes.
cy.getReact('*', {props: { animationBegin: 0 } })
  .nthNode(0)
  .getCurrentState()
  .should(($state) => {
        expect($state.isAnimationFinished).to.be.true
  });

@bahmutov suggested https://github.com/bahmutov/cypress-recurse
Which worked great to handle this scenario.

Hi @burke-newell, can you let us know how you are using the code lugin with cypress-react-sepector. Will be helpful for those who fall under the same problem.

import { recurse } from 'cypress-recurse';

recurse(
    () => cy.getReact('*', {props: { animationBegin: 0 } })
            .nthNode(0)
            .getCurrentState(),
    (state) => {expect(state.isAnimationFinished).to.be.true}
       )


Re-add entry.configuration in editor for backwards compatability (15.1 Backport)

Backport of #1331.
REDMINE-17418

Coverage remained the same at 99.228% when pulling cc5d1d22b2a70756fff75721eb1adb39c1b40804 on tf:entry-configuration-fix into 6f564fadd985d99e72c557612e9d862c96879677 on codevise:15-1-stable.


[BEAM-2020] Java-Serialize Coders Directly in the Runner API

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Known Coders will be serialized via a known path. Unknown Coders will be
serialized as a java object.

R: @kennknowles @lukecwik (either)

I believe this introduced a "used, undeclared" dependency between the harness and the Runner API. I imagine this means that -P release was not used when you gave it a test?
We miss you, Jenkins 😢


add license

We are considering to fork this repo as a starting point for docs and guides for http://machinelabs.ai. Would you be ok to give this project an OSS license to allow reuse?

 Totally missed https://github.com/vuejs/vuejs.org/blob/master/LICENSE


SSL issues with Firefox

So I noticed that all my pages that uses HTTPS do not work well on Firefox getting error:
MOZILLA_PKIX_ERROR_REQUIRED_TLS_FEATURE_MISSING

On Chrome pages load fine on Firefox it thinks I'm using self signed certificate even though I have correct let's encrypt one set.
In logs I can see this:
-------------------------------------
 _ _  ___  __ __       _
| \ || . \|  \  \ ___ | | _ _  ___
|   ||  _/|     || . \| || | |[_-[
|_\_||_|  |_|_|_||  _/|_| \__|/__/
                 |_|
-------------------------------------
Version:  2.11.2+68768e2
Date:     Sat Jun  1 13:11:21 CEST 2024
User:     root
PUID:     0
User ID:  0
PGID:     0
Group ID: 0
-------------------------------------
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
[01-Jun-2024 13:11:21] NOTICE: fpm is running, pid 1335
[01-Jun-2024 13:11:21] NOTICE: ready to handle connections
[Global   ] › ℹ  info      Using Sqlite: /data/etc/npm/database.sqlite
[Migrate  ] › ℹ  info      Current database version: none
[Certbot  ] › ▶  start     Installing cloudflare...
[Certbot  ] › ☒  complete  Installed cloudflare
[Setup    ] › ℹ  info      Added Certbot plugins cloudflare
[IP Ranges] › ℹ  info      Fetching IP Ranges from online services...
[IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v4
[IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v6
[SSL      ] › ℹ  info      Certbot Renewal Timer initialized
[IP Ranges] › ℹ  info      IP Ranges Renewal Timer initialized
[Global   ] › ℹ  info      Backend PID 1339 listening on port 48693 ...
[Nginx    ] › ℹ  info      Starting Nginx
2024/06/01 13:11:24 [warn] 1399#1399: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2024/06/01 13:11:24 [warn] 1399#1399: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2024/06/01 13:11:24 [warn] 1399#1399: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2024/06/01 13:11:24 [warn] 1399#1399: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2024/06/01 13:11:24 [notice] 1399#1399: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/126/0)
2024/06/01 13:11:32 [error] 1436#1436: connect() to [2a02:26f0:3500:e::1732:835b]:80 failed (101: Network unreachable) while requesting certificate status, responder: r3.o.lencr.org, peer: [2a02:26f0:3500:e::1732:835b]:80, certificate: "/data/tls/certbot/live/npm-1/fullchain.pem"
2024/06/01 13:11:32 [error] 1436#1436: connect() to [2a02:26f0:3500:e::1732:8346]:80 failed (101: Network unreachable) while requesting certificate status, responder: r3.o.lencr.org, peer: [2a02:26f0:3500:e::1732:8346]:80, certificate: "/data/tls/certbot/live/npm-1/fullchain.pem"
2024/06/01 13:11:32 [error] 1436#1436: connect() to [2a02:26f0:3500:e::1732:834a]:80 failed (101: Network unreachable) while requesting certificate status, responder: r3.o.lencr.org, peer: [2a02:26f0:3500:e::1732:834a]:80, certificate: "/data/tls/certbot/live/npm-1/fullchain.pem"
2024/06/01 13:11:49 [warn] 1695#1695: *36 an upstream response is buffered to a temporary file /usr/local/nginx/proxy_temp/1/00/0000000001 while reading upstream, client: <IP_ADDRESS>, server: lm.madiator.cloud, request: "GET /post/3682 HTTP/1.1", upstream: "http://<IP_ADDRESS>:1234/post/3682", host: "lm.madiator.cloud"
2024/06/01 13:12:37 [warn] 1695#1695: *36 an upstream response is buffered to a temporary file /usr/local/nginx/proxy_temp/2/00/0000000002 while reading upstream, client: <IP_ADDRESS>, server: lm.madiator.cloud, request: "GET /post/5488 HTTP/1.1", upstream: "http://<IP_ADDRESS>:1234/post/5488", host: "lm.madiator.cloud"
2024/06/01 13:13:09 [error] 1634#1634: connect() to [2a02:26f0:3500:e::1732:835c]:80 failed (101: Network unreachable) while requesting certificate status, responder: r3.o.lencr.org, peer: [2a02:26f0:3500:e::1732:835c]:80, certificate: "/data/tls/certbot/live/npm-1/fullchain.pem"

See #627


how to change the task and robot in  robosuite?

Hello, this is an exciting job, and your work is very valuable. I am currently looking to change the robot and task in the robosuite experiment. Could you please tell me what modifications I need to make?

Hi, there. We provide three tasks for changing the visual generalization: Door, Lift, 'TwoArmPegInHole'. There are two ways for you to change the task: 1. You can directly change the task_name, and env in train.sh. 2. Or you can do some detailed modifications in envs/robosuiteVGB/cfg/robo_config.yaml.

OKay, thank you.


Split on " and " in actors, director, etc.

Example:
"Philipp Fussenegger and Judy Landkammer" for "title": "DOC'N ROLL: TEACHES OF PEACHES", for Rio Cinema

Closed by 34088f508ea6a74af0f095bdaaed676cb29ef92b


Add GetRewardInfoPools local state query

Issue number
CAD-3479
Summary
Introduces a new local state query GetRewardInfoPools which provides up-to-date information the stake pool rewards and ranking.

Isn't this one a bit redundant with GetRewardProvenance 🤔 ?

Unfortunately, it's not redundant enough. 😅 Specifically,

The GetRewardProvenance query returns the stake distribution and pool parameters from the snapshot labeled "go". At the time of query execution, this snapshot is two epochs old.
The new GetRewardInfoPools query returns the current stake distribution and pool parameters*. To make an informed delegation choice, this information is required, as only this information pertains to the current epoch.

* "current" pool parameters (cost, margin) include any parameter changes from the previous epoch, but not from the current epoch.

Lastly (I'm sorry for the comment barrage), we just merged a PR that updates the cardano-ledger-specs dependency. So you'll likely need to rebase onto master and then you'll be able to drop at least one of your commits (the want that handles a deprecation warning from c-l-s).

bors merge


geo_near breaks on ruby 1.8.7

with the error
Mongo::MongoArgumentError: DB#command requires an OrderedHash when hash contains multiple keys

Same for me.


Require periodical builds

Closes https://github.com/veelenga/awesome-crystal/issues/347.
The community may want to add other CI services. I use Travis CI only.

:ping_pong:


Update quick-create-confidential-vm-azure-cli.md

Remove "--encryption-at-host" command line argument from Az CLI sample run.

#signoff

#sign-off

Due to the upcoming Build conference, all merging and publishing is on hold until the morning of 5/21.
This PR is ready for merge on 5/21.
#label: "event-triaged-to-10AM"
#label: "missed-content-complete"

[like]  Simran Parkhe reacted to your message:

From: Jak Koke @.>
Sent: Wednesday, May 15, 2024 10:05:47 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Simran Parkhe @.>; Assign @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update quick-create-confidential-vm-azure-cli.md (PR #122547)
Due to the upcoming Build conference, all merging and publishing is on hold until the morning of 5/21.
This PR is ready for merge on 5/21.
#label: "event-triaged-to-10AM"
#label: "missed-content-complete"
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/122547#issuecomment-2113529163, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3FLVYNGCVYPEJB3F4JYZPDZCPL3XAVCNFSM6AAAAABHY6W5HCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGUZDSMJWGM.
You are receiving this because you were assigned.Message ID: @.***>


Go Idioms error handling err !=nil Refactor Inquiry

Hi Mat,
I am just wondering why you are not using Golang err !=nil idiom for web socket read function.
You implement the following:
func (c *client) read() {
for {
if _, msg, err := c.socket.ReadMessage(); err == nil {
c.room.forward <- msg
} else {
break
}
}
c.socket.Close()
}
But could have been refactored to :
func (c *client) read() {
/* I understand you may have not wanted to introduce defer so early in the chapter */
defer  c.socket.Close()
for {
if _, msg, err := c.socket.ReadMessage(); err != nil {
return
}
c.room.forward <- msg
}
Any specific reason why not use err !=nil  instead of err == nil  ?
I see this idiom is prevalent  inGolang Core standard library code, I see more 3rd Party code like gorilla websocket. not strictly abide to this idiom.
I would be interested in hearing your comments or clarification regarding this subject.
Best Regards,
KK

Thanks for your question.
You’re right. It was an oversight. Your suggestion is the right way to do it.
Occasionally the rules are broken, where special error variables are returned, but generally, what you suggest is correct.
Mat

On 12 Jan 2016, at 07:30, kkruups<EMAIL_ADDRESS>wrote:
Hi Mat,
I am just wondering why you are not using Golang err !=nil idiom for web socket read function
You implement the following:
func (c *client) read() {
for {
if _, msg, err := csocketReadMessage(); err == nil {
croomforward <- msg
} else {
break
}
}
csocketClose()
}
But could have been refactored to :
func (c *client) read() {
/* I understand you may have not wanted to introduce defer so early in the chapter */
defer csocketClose()
for {
if _, msg, err := csocketReadMessage(); err != nil {
return
}
croomforward <- msg
}
Any specific reason why not use err !=nil instead of err == nil ?
I see this idiom is prevalent inGolang Core standard library code, I see more 3rd Party code like gorilla websocket not strictly abide to this idiom
I would be interested in hearing your comments or clarification regarding this subject
Best Regards,
KK
—
Reply to this email directly or view it on GitHub https://github.com/matryer/goblueprints/issues/23.

Hi Matt,
Thanks for the quick reply and clarification.
Congratulations on book!
Best Regards,


Using BaseAttention crashes somewhere else than it should

When using BaseAttention by mistake (e.g. using imagenet encoder without specified attention type and the recurrent decoder with attention), the program crashes on unexpected keyword argument 'input_weights'.
It should either crash on the NotImplementedError or in the decoder that would check if there is attention defined on that object.
This issue is probably a wontfix, because of the upcoming refactor, but I'd keep it until the refactor is done or this issue is resolved.

Will get solved by implementing #454.

Will get resolved after merging #502.


Fix typos in README and type hints in imap_data_access.query function return

Change Summary
Overview
Fix typos in README and type hints in imap_data_access.query function return
New Dependencies
None
New Files
None
Deleted Files
None
Updated Files

README.md

Fixed typo in name of imap_data_access.ScienceFilePath class
Fixed typo in name of imap_data_access.ScienceFilePath.construct_path() method

io.py

Update function return type to match actual return type

Testing
None

Sorry, didn't realize I hadn't changed it! Thanks for the quick review 😄


Signup feature

I want domain signup feature on login page ... New user can signup domain and access email.
Also I want to see how many users using my website and daily user log in admin area

Just stop spamming. AndrewSav gave you an answer. Domain sign-ups are not Rainloop's job. Rainloop just connects to existing mail servers.
Could it be done with a plugin? I don't know, maybe. You can ask in the feature request thread (whistling)...

Agreed, this would be great +1


No way of handling static page

I have problem handling static pages like about us, contact, the landing page etc. These are just blob of text stored in dist/content/*.html, but they are still handled by React, so I get the layout and everything.
I have the following code:
<Route name="/" handler={Static} />
<Route name="about" path="/about" handler={Static} />

'use strict';

import React from 'react';
import request from 'superagent';

export default class Static extends React.Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  contentFilePath () {
    var path = window.location.pathname;
    var basename = path.slice(1, path.length) || 'index';
    return `/content/${basename}.html`;
  }

  componentDidMount() {
    request.get(this.contentFilePath()).
    end(this.callback.bind(this));
  }

  callback(error, response) {
    this.setState({body: response.text});
  }

  render() {
    return (
      <div dangerouslySetInnerHTML={{__html: this.state.body}} />
    );
  }
}

This doesn't work. I go to the landing page, all is fine, but when I click the about us link, the handler is the same and hence it doesn't get instantiated again.
I think this is a fairly standard requirement, but I haven't been able to find a way of doing so in the docs.
Is there a workaround?
Bonus: static params
I still don't like the solution above since it depends on window and because it's trying to determine the path which I don't think should be its responsibility.
This is how I think it should really be solved (but again, I haven't found an option to do it, unless I'm missing something):
<Route name="/" handler={Static} slug="landing-page" />
<Route name="about" path="/about" handler={Static} slug="about" />

export default class Static extends React.Component {
  contentFilePath () {
    return `/content/${this.props.params.slug}.html`;
  }
}

First off, you should use State mixin's getPathname over window.location.pathname.
The problem I see with your code is that it only refreshes when mounting, not when the location changes. To get there, I think you can do one of the following:

change Static to also refresh its content on componentWillReceiveProps. The hook will be called on every location change (unless a parent handler implements shouldComponentUpdate  to returns false)

replace Static with a wrapper class that merely renders <Static key={this.getPathname()} pathname={this.getPathname()} />. By using key, the component will be re-initialized whenever the pathname changes. pathname is also passed as a normal prop, so Static just needs to use this.props.pathname instead of router methods or window.location

use a component factory for your route config. This way, React will treat them as different classes and not reuse them
var createStaticHandler = (pathname) => class StaticHandler extends React.Component {
  render() {
    return <Static pathname={pathname} />;
  }
}

<Route name="/" handler={createStaticHandler('/')} slug="landing-page" />
<Route name="about" path="/about" handler={createStaticHandler('/about')} slug="about" />

This is how I think it should really be solved

I agree, although you'd still have to rewrite your component to react to componentWillReceiveProps. I think in 1.0.x you'll be able to use this.props.route.slug.

Thank you very much Alexander! I had no idea about componentWillReceiveProps, I'm really new to React, so my apologies for silly question. I reckon I can't use the State mixin though if I'm using the ES6 classes declaration introduced in 0.13 (which abandoned mixins altogether)?

If I'm right, you should get the router instance through context (this.context.router), and you should be able to use it as this.state.context.router.getPathname.

@srph is that assuming that the mixin is present? (I cannot use it with the ES6 class syntax.) Without the mixin this.context.router is undefined and so is this.state.context.

You need to add contextTypes, which is similar to propTypes, but mandatory for React to pass the context to the component.
class Handler extends React.Component {
  render() {
    var pathname = this.context.router.getCurrentPathname();
  }
}

Handler.contextTypes = {
  router: React.PropTypes.func.isRequired
};

With ES7 (babel stage 0) you can write it a little nicer:
class Handler extends React.Component {
  static contextTypes = {
    router: React.PropTypes.func.isRequired
  }

  render() {
    var pathname = this.context.router.getCurrentPathname();
  }
}

Also note that the method names are slightly different from the mixin. Not sure if they're documented somewhere, but it should be obvious when looking at the source code of the mixin.

@taurose that did the trick! Thank you so much!


#2238 Write function to compare transform string in Cypress tests

Fixes: #2238
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

@tomlyn ,I have pushed new commit as the issue with the cy.wait is because of using .then instead of .should,  we can ignore the unnecessary wait time now.


SonicTT16B Update #1

This update adds support for the 32bit apk of this game. The launchscript also unpacks and repacks the apk for optimization, and adds a texture compression patch for 64-bit.

Do not merge yet

lol, checked over the changes before i read the comment about not merging. 😁

Ok to review and merge now.


Update zlib to 1.3.1

also update bazel/foreign_cc/zlib.patch
Risk Level: low
Testing: CI
Fix #31949

/retest suspected mobile flake


Fixed InProgress func to accept multiple arguments.

Fixed --scan to accept a single file.
Minor verbosity changes in line with above fixes.

Very nice work! Thanks!


False promises

The interview only asked if you relied on the false promises as a whole, not after each one.  I used plural promises throughout the document and the interview.

@nonprofittechy this commit has everything from https://github.com/LemmaLegalConsulting/docassemble-MOHUDEvictionProject/pull/389 and then additionally the false promises work. Is there a way to delete the commits unrelated to false promises from this to make it easier to review the PRs?


"vcpkg integrate install"  failed

My environment is Win10 Home Edition(version number:19042.1052), 64bit and Visual Studio version is 2019 community
I run bootstrap-vcpkg.bat successfully and got a vcpkg.exe file.
Then run vcpkg integrate install failedly in admin cmd. The error log shows:
Failed to copy targets file to C:\Program Files \MSBuild\Microsoft.Cpp\v4.0\V140\ImportBefore\Default\vcpkg.system.props
How to fix it?
Thanks for any advice!

@baimafeitu, do you install English language pack via vs installer? if not, could you install it and try again? BTW, could you also try to execute the command via powershell?

This problem is already sloved. I changed the directory of vcpkg. The previous path includes Chinese character. Thank you for your attention.


Installation: Win32 Python venv binary folder is 'bin' when using MSYS2 MinGW64 python (IDFGH-3747)

https://github.com/espressif/esp-idf/blob/7abb8e7fc34085360cbae87c8e2a19c339228b12/tools/idf_tools.py#L876
My installation failed with the following error
created virtual environment CPython3.8.3.final.0-64 in 1068ms
  creator Venv(dest=C:\Users\prwang\.espressif\python_env\idf4.0_py3.8_env, clear=False, global=False, describe=CPython3Windows)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\prwang\AppData\Local\pypa\virtualenv)
    added seed packages: pip==20.1.1, setuptools==49.2.0, wheel==0.34.2
  activators BashActivator,BatchActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
venv path is C:\Users\prwang\.espressif\python_env\idf4.0_py3.8_env\Scripts\python.exe

Installing Python packages from H:\esp-idf-v4.0.1\requirements.txt
Traceback (most recent call last):
  File "H:\esp-idf-v4.0.1\tools\idf_tools.py", line 1388, in <module>
    main(sys.argv[1:])
  File "H:\esp-idf-v4.0.1\tools\idf_tools.py", line 1384, in main
    action_func(args)
  File "H:\esp-idf-v4.0.1\tools\idf_tools.py", line 1197, in action_install_python_env
    subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
  File "H:\msys64\mingw64\lib\python3.8\subprocess.py", line 359, in check_call
    retcode = call(*popenargs, **kwargs)
  File "H:\msys64\mingw64\lib\python3.8\subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "H:\msys64\mingw64\lib\python3.8\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "H:\msys64\mingw64\lib\python3.8\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

It turns out that the venv has the python.exe in bin instead of Scripts.
C:\Users\prwang\.espressif\python_env\idf4.0_py3.8_env>dir
 Volume in drive C has no label.
 Volume Serial Number is F4AF-648E

 Directory of C:\Users\prwang\.espressif\python_env\idf4.0_py3.8_env

2020/07/30  23:46    <DIR>          .
2020/07/30  23:46    <DIR>          ..
2020/07/30  23:46                42 .gitignore
2020/07/30  23:54    <DIR>          bin
2020/07/30  23:46    <DIR>          include
2020/07/30  23:46    <DIR>          lib
2020/07/30  23:52               163 pyvenv.cfg
               2 File(s)            205 bytes
               5 Dir(s)  32,183,144,448 bytes free

C:\Users\prwang\.espressif\python_env\idf4.0_py3.8_env>

My python is installed from MSYS2 pacman package mingw-w64-x86_64-python.

Hi @prwang,

My python is installed from MSYS2 pacman package mingw-w64-x86_64-python.

You are not supposed to do that. To the best of my knowlege, MinGW64 newer was supported.
Please install a regular Windows Python and don't try invoke from MSYS. You can also use the Windows tool installer to setup your environment. The recommended way is to use the Windows command line instead of MinGW32 since IDF v4.0.

Thanks @dobairoland

Please install a regular Windows Python and don't try invoke from MSYS. You can also use the Windows tool installer to setup your environment. The recommended way is to use the Windows command line instead of MinGW32 since IDF v4.0.

The installation succeeded later after changing the line 876 to 'bin'. I usually avoid installing regular windows python because I heavily rely on MinGW64 toolchain to develop and test lightweight console apps and put them in my PATH, and the mingw64-python3 is a dependency of mingw64-gdb and also in my PATH, so it would be a disaster to have another conflicting python3 installed...  My point is that your code should adapt to a broader situation instead of dictating user how to install python.

I'm happy that you've found a workaround for your problem and I'm sorry that your desired combination of tools is not supported officially.


Disable static linking on Linux and macOS

@larsoner I couldn't push directly to your branch so I'm making a PR to your PR so you can merge while you merge, or something!

ping ping :)


Investigate how beprof behaves with non-numerical data

We probably need some sort of filtering, because this happens:
self.assertEquals(Curve([['a', 'b']]).x, ['a'])

Resolved in #110 (dtype parameter added)


feat: want handy method

Description
suppose as in counter example it is difficult to remember
handler.use(provider<int> ((handler) =>++_count));
so come up with handy method please see below two file , i have added the handy method there and it works fine
[ i hope you understand]
middleware is like this
import 'package:dart_frog/dart_frog.dart';
 int _count=0;
 Handler middleware(Handler handler){
                      return handlerWith<int>(value:++_count, handler: handler);

}

//handy method
Handler handlerWith<T extends Object>({required T value,required Handler handler}){
   return handler.use(provider<T> ((handler) =>value));

 }

below is index.dart file
import 'package:dart_frog/dart_frog.dart';

Response onRequest(RequestContext context) {
  final count=context.read<int>();
  return Response(body: ' you have accessed this page $count times');
}

Requirements

[ ] Checklist of requirements to be fulfilled

Additional Context

Description suppose as in counter example it is difficult to remember handler.use(provider<int> ((handler) =>++_count));
so come up with handy method please see below two file , i have added the handy method there and it works fine [ i hope you understand]
middleware is like this
import 'package:dart_frog/dart_frog.dart';
 int _count=0;
 Handler middleware(Handler handler){
                      return handlerWith<int>(value:++_count, handler: handler);

}

//handy method
Handler handlerWith<T extends Object>({required T value,required Handler handler}){
   return handler.use(provider<T> ((handler) =>value));

 }

below is index.dart file
import 'package:dart_frog/dart_frog.dart';

Response onRequest(RequestContext context) {
  final count=context.read<int>();
  return Response(body: ' you have accessed this page $count times');
}

Requirements

[ ]  Checklist of requirements to be fulfilled

Additional Context

Hi @shivashankar16041990 👋
Thanks for opening an issue!
There is a subtle difference which is that the helper method you've created doesn't provide developers with the current RequestContext in their create callback so it makes it impossible to provide a value that depends on another provided value like:
handler.use(
  provider<String>((context) {
    final value = context.read<int>();
    return value.toString();
  });

In addition, I would prefer not to include syntactic sugar into the library at this stage especially given you can already achieve what you are asking for without any changes to Dart Frog. In addition, we have plans to support reusable snippets in the future which will hopefully make having to remember the syntax less of an issue. Let me know what you think and thanks again!

ok

Closing for now but feel free to comment with any follow ups and I’m happy to continue the conversation 👍


@conda-forge-admin, please add bot automerge

Additional comment:
@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/fontparts-feedstock#2.


ci: set proper permission for preview

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

v0.2.10
GitHub release

Your semantic-release bot :package::rocket:


Patch for #173: Memory Leak for Kmeans example

This patch is the minimally possible correction for the identified memory leaks in "kmeans" example.
I verified that all classes in KMeans using the base class DistributedBase do this in the same manner:
: DistributedBase(new ParameterType(...)), parameter(*static_cast<ParameterType *>(_par))
Thus, in the existing code this patch is applicable and correct. Removing the field _par in the deeper base class (like Algorithm) is not applicable since sometimes _par in classes-successors points out to another class field.
Other memory leaks identified by Valgrind and Inspector are related with:

not freed singleton classes that is not interpreted as a real memory leak;
with macros DAAL_MKLFN_CALL and DAAL_VSLFN_CALL_NR_WHILE that relate to the layer between DAAL and MKL rather than own DAAL code.

You have issue with formatting. See https://github.com/intel/daal/blob/master/CONTRIBUTING.md for details.

// Command for bot
make test

make test

@alexandre-solovyov  could you please rebase for top of master branch?  testing failed as you don't have recently added feature in your branch

For the remaining "Invalid read" problem in the macros DAAL_MKLFN_CALL Inspector tool shows the following error stack:
libdaal_thread.so!fpk_blas_avx512_sgemm_kernel_0
libdaal_thread.so!fpk_blas_avx512_sgemm_ker0
libdaal_thread.so!fpk_blas_avx512_s_generic_fullacopybcopy
libdaal_thread.so!fpk_blas_avx512_xsgemm
libdaal_core.so!operator() - service_blas_mkl.h:270
Thus, the DAAL library calls the function XSGEMM (the variant compiled with AVX512),  the data is copied (inside the function fullacopybcopy), the kernel is executed where the reading problem occurs.
The Allocation site (the code where the "problem" memory is allocated) is as follows:
libdaal_core.so!fpk_serv_allocate
libdaal_thread.so!fpk_blas_avx512_sgemm_get_bufs
libdaal_thread.so!fpk_blas_avx512_s_generic_fullacopybcopy
libdaal_thread.so!fpk_blas_avx512_xsgemm
libdaal_core.so!operator() - service_blas_mkl.h:270
We can see that it is exactly the same function of the data copying (fullacopybcopy) inside xsgemm who allocates the memory (using serv_allocate).
The instructions nearby the error point are:
0xbeb857       vfmadd231ps %zmm0, %zmm6, %zmm14
0xbeb85d       vfmadd231ps %zmm1, %zmm6, %zmm22
0xbeb863       vfmadd231ps %zmm2, %zmm6, %zmm30
0xbeb869       vbroadcastssl  -0x1a0(%rbp), %zmm6
0xbeb870       vfmadd231ps %zmm0, %zmm7, %zmm15
0xbeb876       vfmadd231ps %zmm1, %zmm7, %zmm23
0xbeb87c       vfmadd231ps %zmm2, %zmm7, %zmm31
0xbeb882       vbroadcastssl  -0x19c(%rbp), %zmm7
0xbeb889       vmovupsz  0x100(%rbx), %zmm0            <========= here's an error
0xbeb890       vmovupsz  0x140(%rbx), %zmm1
0xbeb897       vmovupsz  0x180(%rbx), %zmm2
0xbeb89e       prefetcht2z  -0x200(%rcx)
It shows using the instruction vmovupsz working with packed aligned data.
The registry zmm0 has 512 bits, so probably we could move outside the allocated memory region.
In fact, there are two possible reasons:

Either we have a real problem inside the MKL code, but without the sources it is difficult to prove it;
Or we have got issue in Inpector algorithms working is masked instructions

Right now I cannot confirm on 100% one of these posibilities.

@mergify rebase

/intelci: run


Fixing API documentation header

Noticed that the emit() method didn't have the same header sizing as other methods.

Thanks, but we use documentation.js, so problem for this may be because of that https://github.com/developit/mitt/blob/master/src/index.js#L54 here. It should be with capital "O": @memeberOf, probably.

We'll see if that's the problem, next time we generate docs!
Thanks for your open source contribution! :tada:


[ethereum] Chart Does not work

Describe the bug
The Ethereum Helm Chart "does not work" :

I can helm package it without errors
I have a fatal error at helm install
I have many times digged into Ethereum, which every time ended up in an infinite loop of bugs, after bugs, and no one answering any of my questions.
I dare anyone to make me say that any one in the world ever deployed a fully on premises Ethereum blockchain opening an issue here : https://github.com/pokusio/le-defi
And I provide here :

the script to reproduce the bug :

helm version
export DESIRED_VERSION=6743d8e9b2c689644e7424dc60ceccbb2ac911d8
git clone git@github.com:helm/charts.git  helm-ethereum
cd helm-ethereum/
git checkout ${DESIRED_VERSION}
cd stable/
ls -allh |grep ether
drwxr-xr-x   5 jbl jbl 4.0K May  3 07:39 ethereum
cd ethereum/
helm package .
helm install bleublancrouge /home/jbl/helm-ethereum/stable/ethereum/ethereum-1.0.0.tgz
git remote -v
git tag -ln
git branch -a
git log --name-status HEAD^..HEAD
date
# Sun May  3 08:46:03 CEST 2020

the output of this first error that I got :

jbl@poste-devops-jbl-16gbram:~$ helm version
version.BuildInfo{Version:"v3.2.0", GitCommit:"e11b7ce3b12db2941e90399e874513fbd24bcb71", GitTreeState:"clean", GoVersion:"go1.13.10"}
jbl@poste-devops-jbl-16gbram:~$ export KUBECONFIG=~/.petit.kube/.kube/config
jbl@poste-devops-jbl-16gbram:~$ git clone helm-ethereum
fatal: repository 'helm-ethereum' does not exist
jbl@poste-devops-jbl-16gbram:~$ git clone git@github.com:helm/charts.git  helm-ethereum
Cloning into 'helm-ethereum'...
remote: Enumerating objects: 105973, done.
remote: Total 105973 (delta 0), reused 0 (delta 0), pack-reused 105973
Receiving objects: 100% (105973/105973), 28.94 MiB | 17.67 MiB/s, done.
Resolving deltas: 100% (79109/79109), done.
jbl@poste-devops-jbl-16gbram:~$ cd helm-ethereum/
jbl@poste-devops-jbl-16gbram:~/helm-ethereum$ cd stable/
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable$ ls -allh |ether
bash: ether: command not found
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable$ ls -allh |grep ether
drwxr-xr-x   5 jbl jbl 4.0K May  3 07:39 ethereum
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable$ cd ethereum/
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ helm package .
Successfully packaged chart and saved it to: /home/jbl/helm-ethereum/stable/ethereum/ethereum-1.0.0.tgz
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ helm install /home/jbl/helm-ethereum/stable/ethereum/ethereum-1.0.0.tgz
Error: must either provide a name or specify --generate-name
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ helm install bleublancrouge /home/jbl/helm-ethereum/stable/ethereum/ethereum-1.0.0.tgz
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ git remote -v
origin	git@github.com:helm/charts.git (fetch)
origin	git@github.com:helm/charts.git (push)
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ git tag -ln
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/ambassador-helm3-support-crds
  remotes/origin/master
  remotes/origin/pr-template-note-deprecation-timeline
  remotes/origin/revert-10682-master
  remotes/origin/stable-incubator-deprecation-timeline
  remotes/origin/update-deprecation-timeline-covid-19
  remotes/origin/update-owners
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ git log --name-status HEAD^..HEAD
commit 6743d8e9b2c689644e7424dc60ceccbb2ac911d8
Author: Ben Klang<EMAIL_ADDRESS>Date:   Sat May 2 07:34:25 2020 -0400

    Remove broken attempt to mute logging of assets (#22197)

    These (commented) lines in `values.yaml` are the recommended ingress settings. It appears to be an attempt to reduce logging noise. Unfortunately it has the side effect of breaking image uploads & downloads from Nextcloud. This was documented in issue #16860, and specifically [this comment](https://github.com/helm/charts/issues/16860#issuecomment-538244349). I had the same issue as reported, and removing these lines made it so image uploads/downloads work as expected.

    Signed-off-by: Ben Klang<EMAIL_ADDRESS>
M       stable/nextcloud/Chart.yaml
M       stable/nextcloud/values.yaml
jbl@poste-devops-jbl-16gbram:~/helm-ethereum/stable/ethereum$ date
Sun May  3 08:46:03 CEST 2020

Finally, since this repo is about curating charts, I assume this recipe either will be repaired, or kicked out of the official Helm Chart library.
Version of Helm and Kubernetes:
$ helm version
version.BuildInfo{Version:"v3.2.0", GitCommit:"e11b7ce3b12db2941e90399e874513fbd24bcb71", GitTreeState:"clean", GoVersion:"go1.13.10"}
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:58:59Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-eks-af3caf", GitCommit:"af3caf6136cd355f467083651cc1010a499f59b1", GitTreeState:"clean", BuildDate:"2020-03-27T21:51:36Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}

Which chart:

ethereum chart is our subject here.
Chart version (there are no tags and no release on this repo, so I provided COMMIT HASH)

export DESIRED_VERSION=6743d8e9b2c689644e7424dc60ceccbb2ac911d8

What happened:
I helm packaged ethereum as described above, and it failed at helm install, giving me an error message I have never seen before.
What you expected to happen: that the helm package command does not fail.
How to reproduce it (as minimally and precisely as possible):
helm version
export DESIRED_VERSION=6743d8e9b2c689644e7424dc60ceccbb2ac911d8
git clone git@github.com:helm/charts.git  helm-ethereum
cd helm-ethereum/
git checkout ${DESIRED_VERSION}
cd stable/
ls -allh |grep ether
drwxr-xr-x   5 jbl jbl 4.0K May  3 07:39 ethereum
cd ethereum/
helm package .
helm install bleublancrouge /home/jbl/helm-ethereum/stable/ethereum/ethereum-1.0.0.tgz
git remote -v
git tag -ln
git branch -a
git log --name-status HEAD^..HEAD
date
# Sun May  3 08:46:03 CEST 2020

Don't hesitate asking anything, anytime, if that was not accurate enough.
Anything else we need to know:
I'll help anyone to prove me wrong, on my allegations above.

still interested in having any info...

For people reading this, and interested in provisioning an entire ethereum infrastructure on private premises, my last best hope is on https://hyperledger.github.io/burrow


make a separate Apicontroller from Applicationcontroller

I am trying to make a separate ApplicationController for a web app and for an api.  I am able to succesfully create a separate Api::ApplicationController and ApplicationController.  It works with all routes except for the devise_token routes.    How do I fix this?

Try use
mount_devise_token_auth_for 'ApiUser', at: :auth, base_controller: 'Api::ApiController', controllers: {
    token_validations:  'api/token_validations',
    sessions:           'api/sessions',
    registrations:      'api/registrations',
    confirmations:      'api/confirmations'
  }

Thanks @paulopatto but that doesn't work.  It still goes through the main application controller.

Does anyone have any idea?  I've been trying forever and can't get this to work?

@codeundercoverdev Did you find any solution? I'm struggling with same issue atm. thanks

I did not.  I think I rewrote the application architecture - this was a while ago.  What's important to remember is the object you send from the front-end.  If I recall correctly, if you have mount_devise_token_auth_for 'ApiUser', at: :auth, the object should either be called auth_api_user or api_user(I can't remember which), but definitely not user.

Closed because no activity in a long time.


Uploaders Need A Way to Callback with Raw File data Instead of $POST Via Ajax

Hey there,
Im trying to work with the uploaders but there appears to be no clear way of using them with a Vue callback as opposed to a standard AJAX action URL....
IS this possible or can it be added? I'm trying to use Firebase Storage and need to use their API to handle the actual upload, etc..

U can use the http-request prop to do with the raw file as you wish.

how can I know the default param of the http-request callback


Ability to set the range of tested parameters for strategy

Search for the 'best' parameters found by brute force method.

See "Bruteforce Seacher" section in readme.md to run it.


Add engine selection to demo page

As a: Developer
I want: To be able to select which engine to run on the demo page, including stream type eg. Native, (mp4, hls) Hls.js (hls), Dash.js ( dash ), Shaka (dash & hls).
So that: I can easily evaluate the library as well as work on it.

Added


release 4.2.11 broken

4.2.9 works fine, but the latest release 4.2.11 raises following exception:
Traceback (most recent call last):
  File "/dev/my_project/bin/isort", line 7, in <module>
    from isort.main import main
  File "/dev/my_project/lib/python3.4/site-packages/isort/__init__.py", line 26, in <module>
    from .isort import SortImports
  File "/dev/my_project/lib/python3.4/site-packages/isort/isort.py", line 43, in <module>
    from .pie_slice import OrderedDict, OrderedSet, input, itemsview
ImportError: cannot import name 'input'

I'm running Python 3.4.5

duplicate #548

@timothycrosley how could your tests pass here?

Somehow the wheel file had an outdated version of pie_slice, while the source version had the correct one, I've pushed out 4.2.12, after removing all cached build files, and verified it has the correct version of the file, can you try again? The reason the test would pass, is only because the source code is correct - but somehow the wheel creation used an incorrect version of the source file, even though it's created at the same time as the sourced zip.
Thanks!
~Timothy


add directory information, accessibility, and command overview

Pairs with Audrey's work in the same file. Assume both will be combined.

adds accessibility info for cursor size and click speed

includes screen shots

adds file system overview

adds description of some important locations

splits the terminal commands from terminal shortcuts

includes description of command structure
adds open to command list

slight modification to description of how to open spotlight

UI refers to the space bar as simply Space

LGTM too!


weth_amount_out error cleared

correct initialization of variable weth_amount_out is added.
let weth_amount_out = U256::from(weth_amount_out);

please remove the additional comments

I've removed the comments.
sorry for that


add 'haltere pouch' as synonym to presumptive capitellum

The presumptive capitellum (FBbt:00014784) is sometimes referred to as the "haltere pouch" (for example, in FBrf0180230. Please add as exact synonym.

This is done.

I've added the reference to the synonym


A Complete Rewrite

les go

The new alert doesn't really matter because that file is only included in the development environment

It's annoying tho

It's annoying tho

Fair point, is there a way to ignore it on like the site?

Can't even fix the merge conflicts when I mark it for review


Split the github and npm API files

Please test the code before approving the pull request.
PLEASE DO THIS BEFORE WRITING THE METRICS.

I keep on renaming apiCalls.ts to ApiCalls.ts and pushing but it never seems to reciprocate on the server.
If someone could pull the branch rename and push it and comment here.


collections::Diff = $typ<Edit<..>> just as map::Diff is?

General<T> = General<Edit<T>>

however how to handle the propagation of constraints on T from General through Edit


FIX: pivot_table dropna=False drops index level names

closes #12133
level names are lost on MultiIndex.from_arrays(cartesian_product(table.index.levels))

pls add a whatsnew entry (0.18.0 bug fixes)
you also have linting errors

pls rebase/update

closed in favor of #12650

I'll do my best to learn ASAP how to squash commits.)


Make GeoImage::Write more flexible

So that it can accept an array that is either
B x 1 x X x Y
-or-
B x X x Y

GIPPY should never return any dimension of 1.

Perhaps:
GeoRaster.Read() returns an ndarray((X, Y), dtype)
GeoImage.Read() returns an ndarray((B, X, Y), dtype)
GeoImages.Read() returns an ndarray((N, B, X, Y), dtype) where N is the number of images.

...And Write methods should expect similar shaped arrays.

I think that's a good plan @ircwaves I think we all agree that it should never return any dimension of 1.

I'm fine with that plan, but I've just been in the habit of checking dimensions for so long, that it is second nature ;)


What is the recommended way to hack into OL3 source code?

With the "compiled" version of OL3, any method that is not flagged as public cannot be accessed by developpers. This represents a problem in some case.
For instance I would like to override ol.format.KML.writePlacemark_ to handle a business specific case but, as far as I can tell, this can not be done with OL3 "compiled".
While I can understand the benefit of private/public methods, there often will be a need to hack into the code to adapt library to business needs. Hence my question, what is the recommended way to hack into OL3 source code?
The only way I see right now is to maintain my own version of the library and compile it myself along with my additions. While this a doable solution, this is a really unpractical one.

This has been my solution - I needed x/y scaling for vector icons and it didn't seem like it was going to be implemented so I downloaded, rewrote and compiled my own library to do it - it's cumbersome but works - you then have to merge your changes every so often and hope nothing too much has changed  in the meantime.
It is doable, but it is also a pain.  I'm currently on a 3.6.XX build from trunk with my mods, so no idea if I'm harbouring bugs.

While I can understand the benefit of private/public methods, there often will be a need to hack into the code to adapt library to business needs. Hence my question, what is the recommended way to hack into OL3 source code?

As @pconnell99 mentioned you can have your own fork/branch with your additions and create specific builds.
We can also add hooks to ol3 when possible and relevant to make ol3 more extensible to people. For example. writePlacemark_ could call a user-defined function for specific treatments.
I am going to close the issue, but feel free to continue the discussion here.

I finally went for a private fork with rebasing to keep my code up to date.
I think there is a real need to make the library more extensible, not being able to do so is an important drawback for a Javascript based library.
I like the idea of hooks but it would need to be a general mechanism: today I need to change _writePlacemark but tomorrow another person will want to change another private method of some other format. Wouldn't it be simpler to refactor format to allow override of the ol.format.*_PARSERS_ and ol.format.*_SERIALIZERS_ variables? Today those variables are private scoped, I think it could make sense to expose them as public (or at least protected).

FWIW the issue is not related to "public versus protected vs private". It's related to variable renaming by the compiler.

So it could be possible to only not rename those variables? It would also be necessary to expose ol.xml methods.

The compiler does a lot of optimisations, I'm not 100% up on how it works but I suppose you COULD tell it to not shorten certain  functions, but overall, the compressed, compiled version is not going to be extensible over and above the hooks that the development team write.
ol-debug.js is easier to work with, but bigger obviously.  You can trace functions through that and see how they work, but the overhead is there on (I assume) size and speed.

with a custom build you can export whatever values you like, though if they're not part of the public api there's no commitment that they'll remain the same in the future. I would however question this approach. Custom builds are mainly for excluding bits of code you don't need; the compiler is very good at this. The formats are there for converting standard text strings into OL features. If you don't like the way that works, then either use the format to read the features and then do whatever to those features before adding them to the map, or write your own code to convert the incoming data. I use several JSON sources that are not standatd GeoJSON; I did consider extending the OL class but decided it was easier to just write my own code to convert the incoming data into feature and not use OL format.


Add MockableStaticGenerator

A C# source generator to make an interface and a class wrapper to test static/extension methods.

Thanks! May I suggest adding the csharp-sourcegenerator to the repo? :)

@amis92
Sure! Done. :)


case class BinaryFen(value: Array[Byte]) implementing equals

https://discord.com/channels/280713822073913354/352976626558042122/1226546841076891769

decompiled code of two versions with and without extends AnyVal:
https://gist.github.com/lenguyenthanh/e298fbc91abbee3ff200c1ab9d425871


ADBDEV-6367: Fix backup for empty DB with statistics

Fix backup for empty DB with statistics
GetAttributeStatistics and GetTupleStatistics did not handle the edge case
of 0 tables, causing gpbackup to fail. This patch adds a check for number of
tables and fixes the issue.

GetAttributeStatistics and GetTupleStatistics did not handle the edge case
of 0 tables, causing gpbackup to fail

why not backupTableStatistics or even backupStatistics?

How about printing a warning if the --with-stats flag is specified and there are no tables?

why not backupTableStatistics or even backupStatistics?

backupTableStatistics also does backupSessionGUC, so we probably shouldn't skip it from backupStatistics. Also, GetAttributeStatistics and GetTupleStatistics are global functions that could theoretically be used elsewhere in the future, better handle the empty argument case there (or at least document it, but why if we can solve it easily?)

How about printing a warning if the --with-stats flag is specified and there are no tables?

We can, but is that needed? If this case is handled correctly (even though it isn't particularly useful), why warn the user about it? Or is running gpbackup against an empty DB a common user error?


Task duration is not displayed correctly for a failed task

The task ran for over a minute. Maybe the task is closed too fast before gathering the duration result.

Steps to reproduce:
Have an invalid bobfile:
build:
  build:
    cmd: echo "hello

Run bob build


ISPN-10512 CLI User Guide

https://issues.jboss.org/browse/ISPN-10512

Someone has been busy :)
So looking at this I have to admit is there some way we can source this doc with the help/man pages that the CLI uses. @tristantarrant maybe you might have an idea?

@wburns check out https://raw.githubusercontent.com/infinispan/infinispan/512b78f0433370c856b8809c0a5880b6ba7e8199/documentation/src/main/asciidoc/stories/assembly_cli_command_reference.adoc
This uses the adoc files that Tristan created for man pages. I'm working on a script to generate the reference so docs can automatically pick up the contents of the help resouces directory.

Cool, yeah that is nice :)

Merged, thanks


Adapt the control bars sizes to the available peer space

I would say, for own controls:
1 if "Hidden media controls" in settings is OFF, then the option "Separate media controls" should activate automatically, like the user would choose it in settings
2 if  "Hidden media controls" in settings is ON, display the control buttons as it is on your picture, so they are beyond the video frame. Just make sure they are on a higher layer then the top bar. This way we have large clickable buttons
For remote peers I think it should also be like in option 2 above, display the control buttons so they are beyond the video frame. Just make sure they are on a higher layer then the top bar. They should not be squeezed like this.

similar to #610


⚠ Bofrost.lu has degraded performance

In 0c0f954, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1392 ms

Resolved: Bofrost.lu performance has improved in bfb98b4 after 21 minutes.


add x social network in socialelements.js

closes https://github.com/mjmlio/mjml/issues/2775
⚠ Need Mailjet Product Team to add the icon on server side.

Thanks for the PR but we won't update the logo

Image has been uploaded by Mailjet team. I just need to change path and we are good to go.

Can you reopen to allow me to commit on it please ?


[CELEBORN-1111] Supporting connection to HDFS with Kerberos authentication enabled

What changes were proposed in this pull request?
Adding Kerberos support for HDFS storage type.
The following five parameters need to be configured:

key
value

celeborn.storage.hdfs.kerberos.enabled
true

celeborn.storage.hdfs.kerberos.principal
user@REALM

celeborn.storage.hdfs.kerberos.keytab
/path/test.keytab

celeborn.hadoop.hadoop.security.authorization
kerberos

celeborn.hadoop.dfs.namenode.kerberos.principal
hdfs/_HOST@REALM

Why are the changes needed?
Connecting to HDFS with Kerberos enabled requires support for keytab login.
Does this PR introduce any user-facing change?
Add 3 configurations.
celeborn.storage.hdfs.kerberos.enabled
celeborn.storage.hdfs.kerberos.principal
celeborn.storage.hdfs.kerberos.keytab
How was this patch tested?
Test in Kerberos enabled HDFS cluster.

Thanks @liujiayi771 for this PR! Please run UPDATE=1 build/mvn clean test -pl common -am -Dtest=none -DwildcardSuites=org.apache.celeborn.ConfigurationSuite to automatically generate config docs, and dev/reformat to format style. See https://github.com/apache/incubator-celeborn/blob/main/CONTRIBUTING.md#code-style

Hi @FMX , could you paste a detailed example of connecting to kerberized HDFS?

OK, I'll added a document about how to use this PR.


New Matcher: .toBePositive()

Feature Request
.toBePositive()
Use .toBePositive when checking if a value is a positive Number.
test('passes when value is a positive number', () => {
  expect(1).toBePositive();
  expect(Infinity).not.toBePositive();
  expect(-1).not.toBePositive();
  expect(NaN).not.toBePositive();
});

I'll take this one :)

Oh sorry

I already commited (

can i contribute to this?
i will like to take this

Hey @khorramk unfortunately I think @vteremasov has already sent a pr (#57) for this one. I have a whole list of more matchers to add to jest-extended (once I get through merging all of the amazing work everyone has done) so just keep your eyes peeled and there will be some more soon to do :smile:


Add RPCServerWithEnhancedSupport to dramatically reduce number of files and changes required to add most new chains

Contains 2 commits:

1st commit contains the changes for this PR
2nd commit is to show how many files and changes are needed to add a basic chain (4 files, but still many lines of changes) — will be removed before merging

With this PR, when we need to add a new chain that doesn't have more fancy features and exceptions, it should only touch 4 files instead of 20 (!) files. I've also noticed that since we moved lots of code out into pods, including AlphaWalletFoundation, when we add a new case to RPCServer and build, it no longer shows all the places which needs to be changed (i.e. with errors) like it used to. We have to change and build, repeat a few times to sweep through all the files, making it even slower.
@oa-s not sure if this approach is good. Thoughts?
Edit: have to change 4 files, not 2 files :)

Please be sure the v2 chain is chain id 144 & explorer phiscan.com the chain id and explorer is different than
V1 chain. Just want to make sure this is clear.

Please be sure the v2 chain is chain id 144 & explorer phiscan.com the chain id and explorer is different than ...

@Phinetwork yeah. Thanks for the heads-up. The PHI 2 changes here are just temporary placeholders first.

Ok great just wanted to make sure. Appreciate your help @hboon your awesome.

Force-pushed so second commit (which belongs to a separate PR) completes PHI 2 integration

Force-pushed after rebase master and removing the PHI 2 commit. Going to merge.


Cant install ?

hi,
i'am trying to start with Zend Expressive but after running
composer create-project zendframework/zend-expressive-skeleton expressive
i get:
Problem 1
- Installation request for zendframework/zend-expressive-tooling ^0.4.1 -> satisfiable by zendframework/zend-expressive-tooling[0.4.1].
- zendframework/zend-expressive-tooling 0.4.1 requires zendframework/zend-component-installer ^0.7.1 -> satisfiable by zendframework/zend-component-installer[0.7.1] but these conflict with your requirements or minimum-stability.

and i'am stuck :)

@unnamed666 what settings did you pick while installing? I just tried locally and can't reproduce the problem.
Also, what PHP version are you running? The requirement has recently been bumped to PHP 7.1.x

@unnamed666 try a composer clear-cache first, perhaps you have a stale package index from Composer? I also ran just fine (full log in gist: https://gist.github.com/asgrim/0cc8018cac4bd9313fb5aebe705610e6) with all default settings at least.

ok, so one more time i tried:
composer clear-cache
composer create-project zendframework/zend-expressive-skeleton expressive
all settings with Zend components and Whoops as error handler
and iam running
PHP 7.0.6 (cli) (built: May 17 2016 12:47:25) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
on osx el capitan, php installed with brew
still getting same error as before

I'm getting the same issue. It's probably because of this: https://github.com/zendframework/zend-expressive-skeleton/blob/master/src/ExpressiveInstaller/config.php#L31
I'll create a PR for it.

Let me rephrase that. You get it when you install expressive with the modular structure.
The dependency conflict is caused by zend-expressive-tooling: https://github.com/zendframework/zend-expressive-tooling/blob/master/composer.json#L24
@unnamed666 Until a fixed is pushed, you can choose the flat structure. That one is working.

@unnamed666 This has been fixed now. Thanx for reporting.


migrated the PipelinesApiPathsSpec test to batch

Please review if the defaultStandardStreamNameToFileNameMetadataMapper method is required in our gcp batch initialization actor. Tests have been commented out.

Update to include the pending field in test.

Went ahead and added the pending field to the tests


No module named 'deforum.models'

EXTENDING PATH WITH /opt/conda/lib/python3.10/site-packages/deforum/models/depth_models
Traceback (most recent call last):
File "/data/app/ComfyUI/nodes.py", line 1887, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/data/app/ComfyUI/custom_nodes/deforum-comfy-nodes/init.py", line 8, in
from .deforum_nodes.mapping import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "/data/app/ComfyUI/custom_nodes/deforum-comfy-nodes/deforum_nodes/mapping.py", line 16, in
from .nodes.deforum_cond_nodes import *
File "/data/app/ComfyUI/custom_nodes/deforum-comfy-nodes/deforum_nodes/nodes/deforum_cond_nodes.py", line 5, in
from ..modules.deforum_ComfyUI/_helpers import blend_tensors, blend_methods
File "/data/app/ComfyUI/custom_nodes/deforum-comfy-nodes/deforum_nodes/modules/deforum_ComfyUI/_helpers.py", line 14, in
from deforum.pipelines.deforum_animation.animation_helpers import DeforumAnimKeys
File "/opt/conda/lib/python3.10/site-packages/deforum/init.py", line 12, in
from .generators import (ComfyDeforumGenerator,
File "/opt/conda/lib/python3.10/site-packages/deforum/generators/init.py", line 2, in
from .film_interp_generator import FILMInterpolator
File "/opt/conda/lib/python3.10/site-packages/deforum/generators/film_interp_generator.py", line 4, in
from ..models.FILM.inference import FilmModel
ModuleNotFoundError: No module named 'deforum.models'
Cannot import /data/app/ComfyUI/custom_nodes/deforum-comfy-nodes module for custom nodes: No module named 'deforum.models'
failed to load module /data/app/ComfyUI/custom_nodes/deforum-comfy-nodes

PLease update the node package, and make sure that you remove 'deforum' pip package from the venv beforehand.


Add an about us page

Add an about us page with a description about the Vector Atlas project, contacts and the team. Show the list of partners and their logos.
Acceptance Criteria

[x] Users can navigate to an about page
[x] The about page shows a description of the project, contacts and the team.
[x] There is a list of partners and their logos.

All acceptance criteria has been met:
I am able to navigate to an about page, which contains a description of the project, has contact and the team information on it, and contains a list of partners and their logos.
Test cases 1.1 to 1.5.


Set client timeout limit in chainGetJSON()

By setting a client side timeout one can avoid net::ERR_NETWORK_IO_SUSPENDED errors caused by the OS network layer being suspended 1. This allows the client to handle higher level errors.
The jQuery.getJSON() function does not have a parameter for timeout management.

While there are other client requests that could benefit from this the functionality using chainGetJSON() seems most likely to run during actual suspension of the OS network layer.
Related: #875

@wetneb I'm afraid this change wont solve anything, but future issues will likely throw other high level errors that one could possibly handle in the future.


Update arkworks dependencies

Description
Pay special attention to:

the few TODOs I left
usage of Projective/Affine representation
(de)serialization: compressed/uncompressed (flags are sometimes ignored) & checked/unchecked
creation of cosets for (i)FFTs

closes: https://github.com/EspressoSystems/jellyfish/issues/45

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (main)
[x] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

I'm glad to see this merged! Just saw that since https://github.com/EspressoSystems/tagged-base64/pull/47 hasn't been merged and tagged yet, the master here now depends on a branch of tagged-base64, which probably isn't ideal for long term, sth to keep in mind :)


Testing Helix

https://github.com/aspnet/AspNetCore/issues/7746

@BrennanConroy reeeeeeebase!

Or close.


The adjacent function in geohash_base could be more performant

The current implementation is not as efficient as bitwise operator based implementation in python-geohash: https://github.com/hkwi/python-geohash/blob/master/geohash.py#L238
And because the adjacent functions can used in a recursive way, these local dictionaries of strings won't be released in the entire recursion process. It may lead to memory issues as well. A Fil memory profiling should be able to prove that.

Hi @hy9be, Thanks for pointing this out.
I'll take out some time to update it. Appreciate your input. :)


[Dubbo-2798] fix 2798 on branch 2.6.x

What is the purpose of the change
fix #2798 on on branch 2.6.x
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #2805 into 2.6.x will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##              2.6.x    #2805      +/-   ##
============================================
+ Coverage     47.39%   47.43%   +0.03%
- Complexity     4290     4294       +4
============================================
  Files           552      552
  Lines         24380    24381       +1
  Branches       4314     4314
============================================
+ Hits          11556    11566      +10
+ Misses        11037    11032       -5
+ Partials       1787     1783       -4

Impacted Files
Coverage Δ
Complexity Δ

...onfig/spring/schema/DubboBeanDefinitionParser.java
59.67% <100%> (+0.16%)
70 <0> (ø)
:arrow_down:

...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java
37.5% <0%> (-4.17%)
3% <0%> (ø)

...a/dubbo/remoting/transport/netty4/NettyClient.java
64.4% <0%> (+1.69%)
11% <0%> (+1%)
:arrow_up:

.../com/alibaba/dubbo/monitor/dubbo/DubboMonitor.java
89.71% <0%> (+1.86%)
15% <0%> (ø)
:arrow_down:

...a/dubbo/remoting/transport/netty4/NettyServer.java
75.4% <0%> (+3.27%)
10% <0%> (+1%)
:arrow_up:

.../dubbo/remoting/transport/netty4/NettyChannel.java
65% <0%> (+5%)
22% <0%> (+1%)
:arrow_up:

...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java
88.88% <0%> (+5.55%)
7% <0%> (+1%)
:arrow_up:

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 7629e73...21140c8. Read the comment docs.


Fp8 integration

This PR brings FP8 mixed precision training to Accelerate. Using this requires a GPU Hopper or higher (hard to find at the moment!) and the transformers_engine library.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

I just made two new issues with fp8.
https://github.com/huggingface/accelerate/issues/1276
https://github.com/huggingface/accelerate/issues/1275


SyntaxError: Unexpected token function . why?

im using node v 6.11
using this command got me an SyntaxError: Unexpected token function
im do in it right?
twitch-chatlog 166467795 -C myclientIDxyz

Because it reuires a newer node version, which you should've been warned at install time.


update OWNERS

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm

/verify-owners


added highlighting, redesigned Nav drawer, got rid of stuff added stuff

Looks great, pair programmed earlier.


Debugs: Iterative Debugging

Now that Vars and Sums don't rely on mutable state in their handlers anymore, I believe it's possible to implement an effect like Unison's Stepwise.

fixed by https://github.com/getkyo/kyo/pull/579 with a different design