Update previewnet deployment

Description

Updates Previewnet deployment address in flow.json & README
Updates EVM.cdc with current fvm/evm/stdlib/contract.cdc in flow-go
Fixes failing test case

For contributor use:

[x] Targeted PR against main branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the standards mentioned here.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.33%. Comparing base (02aab3f) to head (be5f7fd).
Report is 66 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   86.19%   86.33%   +0.13%
==========================================
  Files          18       17       -1
  Lines         884      922      +38
==========================================
+ Hits          762      796      +34
- Misses        122      126       +4

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


Configurable query logging using search pipelines

Is your feature request related to a problem? Please describe.
On https://github.com/opensearch-project/OpenSearch/pull/10650, I tried to derail things a little by asking "Couldn't these coordinator-level slow logs just be implemented as a SearchResponseProcessor? That would keep the code out of OpenSearch core (at least out of /server), be much more configurable (since search pipelines JSON config is way better than flat index settings), and could integrate nicely with cool future ideas like views.
That said, I could understand the argument for making coordinator slow logs "look like" shard-level slow logs, though I respectfully think they're both wrong. Consistently wrong is still consistent, and consistency is a good thing.
Describe the solution you'd like
Let's build a new, better query logging component using search pipelines!
It will be better than the existing slow logs, because it won't be limited to just slow logs. You can log any query you want, with orthogonal selector logic. Maybe you want to log any queries with "expensive" clauses (e.g. wildcards). Maybe you want to log all queries that had zero matches. You can log any query that contains the word "moose" (if you're so inclined).
Additionally, I don't want this logging component to have to output to a file. It should support configurable sinks. For v1, I would ship with a sink that writes to an OpenSearch index. You can use OpenSearch to search your query logs, since I hear that OpenSearch is pretty good for searching logs.
Describe alternatives you've considered
Arguably, this is the alternative to something like coordinator-level slow logs (e.g. https://github.com/opensearch-project/OpenSearch/pull/10650).
Additional context
N/A

I'm imagining a simple slow-logging configuration could be something like:
PUT /_search/pipeline/logging_pipeline
{
  "response_processors" : [
    {
      "query_log" : {
        "if" : "_ctx.rsp.took > 100",
        "target" : {
          "index" : "slow_logs"
        }
      }
    }
  ]
}

This assumes a Painless script reading the took property from the SearchResponse. Alternatively, we could probably build some conditional primitives that the processor would handle directly.
I could imagine the following response properties being useful in a logging predicate:

Took time (overall)
Total hits
Number of returned hits
Probably per-phase took time (see https://github.com/opensearch-project/OpenSearch/issues/7334).

Predicates that match against the search request would be nice, but require a bit more work. I would like something that uses the QueryBuilderVisitor to traverse a complex query and identify specific query clauses. I discussed some ideas around restricting query clauses in https://github.com/opensearch-project/OpenSearch/issues/10938. We could reuse that kind of logic to match queries for logging.


Strange wording for "Last released" on user pages.

Describe the bug
On a user page on PyPI (e.g. https://pypi.org/user/DomDF/), in the list of projects the wording which indicates when a project was last released is strange.
With dates, it works, displaying the message:
Last released on Mar 6, 2020

For projects with recent releases, however, the message has strange wording:
Last released on less than a minute ago

or
Last released on 9 minutes ago

or
Last released on about 3 hours ago

Here is a screenshot illustrating this:

Expected behavior
The message should read e.g. Last released 9 minutes ago (i.e. with the word on only appearing with dates, not times.)
To Reproduce

Click on one of the "New releases" on the pypi.org homepage.
Click on one of the names under "Maintainers" on the sidebar to go to the user's page
The strange wording can be observed for their most recently updated project.

Thanks! Looks like this was missed in https://github.com/pypa/warehouse/pull/8965.
I've added the "good first issue" label to this issue.


Polish the document of 'overview and core concept'

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[ ] Improve performance
None of the above

Related issues
None

Bug fix

Bug description.
No bugs

How to fix?
No fixes

New feature or improvement

Describe the details and related test reports.
Polish the documents

Coverage remained the same at 24.195% when pulling 10e366a819bfc34eb0b0ffff3689eec6d41f6af2 on crystaldust:docs/polish-overview into 4d56a63bd2d3fcde717edf666c4622e262b61f26 on apache:6.0.

Why do you disable all the links in the document? I am confusing.

@wu-sheng I've recovered the lines and make sure the PR only changes the wording


Update documentation for the Content Groups API family

The schema documentation for the patch /api/contentGroups/{id}/contents is not correct, and at the moment I can't figure what body and/or parameters should be defined to correctly request a content group patch via the REST api.
Therefore I'm requesting to update the documentation so it correctly reflects what the API is expecting for that specific endpoint, I believe it is a functional endpoint as is most likely being used by workstation.

@CarlosDamasio Thank you for reporting this to us. We have created a set of new documents for contentGroups.  Please take a look.  The schema error in https://demo.microstrategy.com/MicroStrategyLibrary/api-docs will be fixed in our Q4 release.

@xdumstr Just tested things at my end using the new documentation and it's all working now.
Thank you for quick response


Flutter crash report

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter --no-color run --machine --track-widget-creation --device-id=emulator-5554 lib\main.dart
exception
YamlException: Error on line 57, column 4: While parsing a block collection, expected '-'.
   fonts:
   ^

#0      Parser._parseBlockSequenceEntry (package:yaml/src/parser.dart:376:5)
#1      Parser._stateMachine (package:yaml/src/parser.dart:77:16)
#2      Parser.parse (package:yaml/src/parser.dart:47:19)
#3      Loader._loadSequence (package:yaml/src/loader.dart:142:23)
#4      Loader._loadNode (package:yaml/src/loader.dart:84:16)
#5      Loader._loadMapping (package:yaml/src/loader.dart:165:19)
#6      Loader._loadNode (package:yaml/src/loader.dart:86:16)
#7      Loader._loadDocument (package:yaml/src/loader.dart:62:20)
#8      Loader.load (package:yaml/src/loader.dart:54:20)
#9      loadYamlDocument (package:yaml/yaml.dart:51:25)
#10     loadYamlNode (package:yaml/yaml.dart:42:5)
#11     loadYaml (package:yaml/yaml.dart:34:5)
#12     FlutterManifest.createFromString (package:flutter_tools/src/flutter_manifest.dart:42:28)
<asynchronous suspension>
#13     FlutterManifest.createFromPath (package:flutter_tools/src/flutter_manifest.dart:36:12)
<asynchronous suspension>
#14     FlutterProject._readManifest (package:flutter_tools/src/project.dart:128:60)
<asynchronous suspension>
#15     FlutterProject.fromDirectory (package:flutter_tools/src/project.dart:42:44)
<asynchronous suspension>
#16     FlutterProject.current (package:flutter_tools/src/project.dart:53:46)
#17     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:370:59)
<asynchronous suspension>
#18     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:317:33)
<asynchronous suspension>
#19     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#20     _rootRun (dart:async/zone.dart:1124:13)
#21     _CustomZone.run (dart:async/zone.dart:1021:19)
#22     _runZoned (dart:async/zone.dart:1516:10)
#23     runZoned (dart:async/zone.dart:1463:12)
#24     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#25     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:308:20)
#26     CommandRunner.runCommand (package:args/command_runner.dart:194:27)
<asynchronous suspension>
#27     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:399:21)
<asynchronous suspension>
#28     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#29     _rootRun (dart:async/zone.dart:1124:13)
#30     _CustomZone.run (dart:async/zone.dart:1021:19)
#31     _runZoned (dart:async/zone.dart:1516:10)
#32     runZoned (dart:async/zone.dart:1463:12)
#33     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#34     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:359:19)
<asynchronous suspension>
#35     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109:29)
#36     new Future.sync (dart:async/future.dart:224:31)
#37     CommandRunner.run (package:args/command_runner.dart:109:11)
#38     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:241:18)
#39     run.<anonymous closure> (package:flutter_tools/runner.dart:59:20)
<asynchronous suspension>
#40     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#41     _rootRun (dart:async/zone.dart:1124:13)
#42     _CustomZone.run (dart:async/zone.dart:1021:19)
#43     _runZoned (dart:async/zone.dart:1516:10)
#44     runZoned (dart:async/zone.dart:1463:12)
#45     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#46     runInContext (package:flutter_tools/src/context_runner.dart:44:24)
<asynchronous suspension>
#47     run (package:flutter_tools/runner.dart:50:10)
#48     main (package:flutter_tools/executable.dart:52:9)
<asynchronous suspension>
#49     main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#50     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#51     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

flutter doctor
[✓] Flutter (Channel beta, v0.10.2, on Microsoft Windows [Version 10.0.17134.376], locale en-US)
    • Flutter version 0.10.2 at D:\flutter
    • Framework revision d8cbb80206 (12 days ago), 2018-10-26 01:30:21 -0400
    • Engine revision 6c2ade9fa2
    • Dart version 2.1.0-dev.8.0.flutter-bf26f760b1

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at D:/Studio/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = D:/Studio/Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Android Studio (version 2.3)
    • Android Studio at C:\Program Files\Android\Android Studio2.3
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

 Whitespaces matter in yaml.
Please consider asking support questions in one of the other channels listed at http://flutter.io/support .


Selector API: Support complex selectors

Currently, our selector API only supports single selector expressions (*, #id, and type). Once we have class selectors (#360), we should also support combined selectors such as TextView.foo, TextView#foo, or TextView.foo.bar.
Later, we may want to add support for pseudo classes, e.g. TextView:first-child, attributes TextView[enabled=false] and even child selectors Tab > TextView.
It may be worthwhile to look at existing libraries for parsing selector expressions such as sizzle.js.

Closing as duplicate of https://github.com/eclipsesource/tabris-js/issues/1678


Profile Manager for Mozilla XUL apps (mostly Firefox)

fwiw I deliberately did not use the suggested token for this cask (as it is very generic: profilemanager). Personally, I think the added context helps in reading the output of the search command.

Could you please squash your commits?

Thanks, merged as 0349b3e.


Crash after entering a world

The game crash after you enter a world on when you try to enter a world
crash-2023-05-23_12.12.12-client.txt

crash-2023-05-26_18.04.39-client.txt
I have a similar report, but the crash happened while exploring

Fixed in version 2.8.1


fix loss function weights and regularizer bug

I have gone through the math and fixed the bug mentioned in issue #52 .
The math is shown here

I will check on the failing tests in the coming days. The test suite may have hard-coded results that depend on the incorrect loss function.

Updated test suite with the new square roots


Not Compatible with Angular 7

Please find below stack trace:
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'hopscotch' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'rxjs/BehaviorSubject' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'rxjs/Observable' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'rxjs/Subject' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'rxjs/add/observable/of' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'rxjs/add/operator/switchMap' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'
ERROR in ./node_modules/ngx-hopscotch/esm5/ngx-hopscotch.js
Module not found: Error: Can't resolve 'rxjs/add/operator/takeUntil' in 'B:\Projects\userexperior-admin-ui\node_modules\ngx-hopscotch\esm5'

Having the same issue

having same problem, Please fix it.

Same here, has anyone solved this?

Is there any update?  else no point in using this library

Nop. I do not think they are maintaining this repo.

You can try installing hopscotch using command npm install hopscotch follwed by npm install @types/hopscotch. It works with Angular 2+ version. I have integrated it with Angular 7.


Update ui.png and version number

Coverage remained the same at 80.791% when pulling 825442a11a1cb6ff798954af3d1110539e008843 on px1099:update-version into 8a5aec37dee8e6c42cd6550998cf4f5b370b42c2 on CS2113-AY1819S1-F09-2:master.


what does the strainer do

I see no recipes in the data of this mod or in REI, what does it do (if anything)

catches sea animals like crabs... odd


Fabric artifact not available on JitPack.io

See e.g. the end of this log. I think the Fabric target is built, too, but for whatever reason, the artifact isn't listed as found and hence not available.

Why are you trying to put our stuff on Jitpack? We have a Maven repository, why not just request we publish artifacts there, lol
I went ahead and did that, the repo URL is https://repo.codemc.io/repository/maven-public/
Fabric dependency would be:
implementation("com.dfsek.terra.fabric:fabric:5.1.2-BETA+7a703ad0")

Oof, I simply didn't know and didn't see it. Maybe put it in the readme? Thanks for the fix

I added modImplementation 'com.dfsek.terra.fabric:fabric:5.1.2-BETA+7a703ad0' to my build.gradle along with the maven repo. ./gradlew --info --refresh-dependencies runs fine now, but the jar isn't actually listed in external dependencies
And it's missing all packages in com.dfsek.terra.fabric on compilation. I can also confirm that my setup works with the bukkit version (it appears in the IntelliJ external dependency list and is usable for imports): this is definitely an issue with the Fabric artifact specifically. Not sure if I should open another issue.

Why are you using modImplementation... use compileOnly

Why are you using modImplementation... use compileOnly

Same problem.

Here's my build.gradle for reference: https://github.com/xieve/terra-compat/blob/master/build.gradle#L36


[req] on dark mode video and Image color is white

Website have a dark mode issues when I click on dark mode some Image and div not changing color white to dark.

Could you specify the elements for quicker investigation? Providing captured images is fine.

Please Specify the Page in which the issue is occuring.
I checked Home Page, Docs Page.
Everything's looking fine.


Stack table label headers not getting displayed in mobile view ports

@zachleat @jefflembeck  .. I am currently working on a webpage which requires rendering a responsive table from a spec.json file. The view is rendered using backbone and underscore templates. I am using the stack only version.
The header labels are not getting displayed in mobile viewports. On some analysis, I believe it is because the plugin is getting executed before the view has been rendered by backbone. As i was not able to trigger the 'enhance-tablesaw' function explicitly, I am calling the plugin directly from my code.
Now, the table is getting created but the tablesawcreate event associated with document are not getting triggered. As a result, the stack is not getting formed. Could you give me some direction in this -
My template is as below -

<%_ analytics.intro %>

          <%_ analytics.parameter %>
          <%_ analytics.title %>
          <%_ analytics.apisource %>
          <%_ analytics.description %>

My backbone view is as below -
App.views.AnalyticsView = Backbone.View.extend({
   initialize: function(options) {
        _.bindAll(this, 'render', 'afterRender');
        var _this = this;
        this.render = _.wrap(this.render, function(render) {
            render();
            _this.afterRender();
            return _this;
        });
    },
    render: function () {
        this.$el.html(this.template());
        var $tableBody = this.$el.find('#table-body');

        //Creating analytics table rows from spec.json
        //Appending to table body in analytics page template
        _.each(this.collection.models, function(model) {
            var rowHtml = '
';
            _.each(model.attributes, function(value) {
                rowHtml += '' + value + '	';
            });
            rowHtml += '
';
            $tableBody.append(rowHtml);
        });

        this.$el.find("#analytics-table")['table']();
        return this;
    },
    afterRender: function () {
        //this.$el.find( "table[data-tablesaw-mode]" )[ 'table' ]();
        //this.$el.find("#analytics-table")['table']();
    }
});

The screen shot is as below -

The problem has been solved. I am listing down the changes i made below. I had to edit a few lines in the tablesaw plugin, specifically where events were triggered.
Earlier it was - this.$table.trigger( events.create, [ this, colstart ] );, which was not triggering the required tablesawcreate event. I changed it to $( document ).trigger( events.create, [ this, colstart ] );, which got it working. I called the plugin directly in my backbone view using this.$el.find("#analytics-table").table(); Further I also removed the 'enhance-tablesaw' event associated with the plugin.
Please do let me know if there are any apparent problems in this approach.


Differences in solidity block.number and web3.getBlockNumber

When I query block.number on the testnet chain in a solidity contract it returns a number above 9 million. Although the current post re-genesis block is ~5500, correctly returned by a function such as web3.eth.getBlockNumber(). This has been the case since the regenesis.

Looking now

1/ When you call block.number inside of a contract, you will get the OVM block number. This block number corresponds to the L1 block number of the last confirmed L1 ⇒ L2 transaction. Because L1 ⇒ L2 transactions are only considered confirmed after a certain number of blocks, this number will lag behind the current L1 block number by around five minutes. This was a deliberate design decision because many smart contracts rely on Ethereum's ~15s block time. If five minutes have passed since the last L1 ⇒ L2 transaction, the block number is automatically refreshed. So when you call block.number, you are executive values around 9 million.
2/ When you call web3.eth.getBlockNumber() with your rpc being the L2 - e.g. https://rinkeby.omgx.network or https://mainnet.omgx.network, you are getting the L2 block height, which for Rinkeby is currently around 5500.


LINUX (KUBUNTU) - Network file share (SMB) Support

On Kubuntu a lightweight form of ubuntu built with the plasma desktop you can connect to smb shares, however vscode cannot open a file or folder on a network location. This it can do in windows 7,10,11.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


ZEPPELIN-1227 change spark-2.0.0-preview to spark-2.0.0

What is this PR for?
Change spark-2.0.0-preview to spark-2.0.0
What type of PR is it?
Improvement
Todos

[x] - Update pom.xml and .travis.yml

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1227
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

+1

Looks great to me, modulo CI failure

LGTM

Merge to master and branch-0.6


Quantizing model appears to slow inference speed

Describe the bug
When trying post-training quantization as described here with a pretrained YOLO-NAS S, the inference speed drops from ~15fps to ~4fps. I'm assuming that I'm doing something wrong when quantizing the model, just not sure what it is.
To Reproduce
Steps to reproduce the behavior:
0. Install appropriate libraries
! pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113 &> /dev/null
! pip install super-gradients
! pip install pytorch-quantization==2.1.2 --extra-index-url https://pypi.ngc.nvidia.com &> /dev/null
! pip install matplotlib==3.1.3 &> /dev/null
! pip install --upgrade psutil==5.9.2 &> /dev/null
! pip install --upgrade pillow==7.1.2 &> /dev/null

Import pre-trained YOLO-NAS-s

from super_gradients.training import models
from super_gradients.common.object_names import Models

model = models.get("yolo_nas_s", pretrained_weights="coco").cuda()
model.eval();

Quantize model

from super_gradients.training.utils.quantization.selective_quantization_utils import SelectiveQuantizer

q_util = SelectiveQuantizer(
    default_quant_modules_calibrator_weights="max",
    default_quant_modules_calibrator_inputs="histogram",
    default_per_channel_quant_weights=True,
    default_learn_amax=False,
    verbose=True,
)
q_util.quantize_module(model)
model.eval();

Compare inference speed
(DO this once with the regular model and again with the quantized model)

base_test_times = []
for i in range(100):
  # start clock and rpedict
  tic = time.perf_counter()
  preds = model.predict(image_in, iou=0.25, conf=0.30)

  # get xyxyc for input to object tracker
  img_preds = list(preds._images_prediction_lst)[0]
  dets = np.hstack((img_preds.prediction.bboxes_xyxy,
                    np.c_[img_preds.prediction.confidence]))
  base_test_times.append(time.perf_counter() - tic)

print(f"Average Prediction time: {np.mean(base_test_times)} "
      f"Average FPS: {1/np.mean(base_test_times)}")

Expected behavior
I would expect the quantized model to perform faster inference than the regular model.

Hi!
You are running inference in Pytorch, so that's expected behavior.
Pytorch side uses fake quantization that is still performed in FP32, so it adds computation time for scaling, rounding, etc. Basically, you only perform QAT on a quantized model in Pytorch, and then convert it for inference.
For faster inference, you will need an inference framework (only TensorRT is officially supported for quantized models).
Please refer to the next section of our documentation for more info.

Thanks! This really helps clear things up!


Pagination missing on front page

The Source theme seems to be missing any use of the {{pagination}} helper on the front page.  Because it's making a {{get}} request, it's not possible to navigate to /page/2 and beyond.

pls assign

Is this ever going to be fixed?

Fixed in 1.3.2

Lack of pagination on the frontend is by design. Source and a few other official themes (Headline, Episode, Digest, Bulletin) uses /page/2 as the archive page to list all posts.


BlobStore change the selection strategy.

What problem does this PR solve?
Issue Number: ref #3594
Problem Summary:

In multi-paths, BlobStore always chooses the lowest valid_rate to write. Then it will make the data imbalance.
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

@JaySon-Huang
change back to the strategy

choose the path.
find the stat in the current path.

Is that make sense?

/cc @flowbehappy

IMO, these changes don't make data to be more balance🤔

maybe we should iterate all path, and try to get "the smallest valid_rate inside each path" instead of "the smallest valid_rate among all paths"?
More specified, move line 1138 into the for (path_iter_idx = 0; path_iter_idx < stats_map.size(); ++path_iter_idx) loop

maybe we should iterate all path, and try to get "the smallest valid_rate inside each path" instead of "the smallest valid_rate among all paths"? More specified, move line 1138 into the for (path_iter_idx = 0; path_iter_idx < stats_map.size(); ++path_iter_idx) loop

I am not sure whether I got your point. These changes' main logic is:

round-robin to choose the path
select a BlobStat by valid_rate from the current path. If can't find one, create a new blobstat

old logic is:

loop all BlobStat and find the lowest valid_rate one.
if can't find create a new one.

not root case I thought.


kill: kill process group with negative id

Fixes https://github.com/uutils/coreutils/issues/3497
I think this fixes the issue, but I have to admit I'm a bit out of my depth here. I refactored the code to use nix instead of libc, removing the need for unsafe.
@353fc443 It would be great if you could check whether this does what you expected!
Edit: I could also use some help with writing a test case for this.

Yeah @tertsdiepraam  That does what I expected.

I added this code for testing
#[test]
fn test_kill_with_negative_pid_for_groups() {
    let command = Command::new("sh")
        .arg("-c")
        .arg("yes > /dev/null")
        .spawn()
        .unwrap();
    let pid = command.id() as i32 * -1;
    new_ucmd!()
        .arg("-s")
        .arg("9")
        .arg(pid.to_string())
        .succeeds();
}

but I'm getting this error
---- test_kill::test_kill_with_negative_pid_for_groups stdout ----
current_directory_resolved:
run: /Users/user/coreutils/target/debug/coreutils kill -s 9 -5404
thread 'test_kill::test_kill_with_negative_pid_for_groups' panicked at 'Command was expected to succeed.
stdout =
 stderr = kill: sending signal to -5404 failed: No such process
', tests/common/util.rs:174:9

even though the code seems to work in shell

@353fc443 Thank you for checking and writing the test! The failing test probably has something to do with the fact that the command is a subprocess of the Rust process and therefore doesn't have its own process group? In that case I'm not sure we can actually test this.

I think we can use setpgid syscall for setting a different process group for the process.

I tried the following very naive test:
#[test]
fn test_kill_with_negative_pid_for_groups() {
    let command = Command::new("sh")
        .arg("-c")
        .arg("yes > /dev/null")
        .spawn()
        .unwrap();

    let pid = command.id() as i32;
    setpgid(nix::unistd::Pid::from_raw(pid), nix::unistd::Pid::from_raw(pid)).unwrap();

    new_ucmd!()
        .arg("-s")
        .arg("9")
        .arg(format!("-{}", pid))
        .succeeds();
}

And it kinda works like half of the time, but the other half it panics with:
panicked at 'called `Result::unwrap()` on an `Err` value: EACCES'

at the unwrap call in the test. So it looks like we're on the right track :)
Any idea what might be wrong here?

I was also facing the same issue

ERRORS
The setpgid() function will fail if:
[EACCES]
The value of the pid argument matches the process ID of a child process of the calling process and the child process has successfully executed one of the exec functions.

@tertsdiepraam you gave up on the test ? :)

@sylvestre Yes, I really don't know how to write one that works.

how about trying a command that does (or atleast should) not call exec?
#[test]
fn test_kill_with_negative_pid_for_groups() {
    let command = Command::new("yes")
        .stdout(Stdio::null())
        .spawn()
        .unwrap();

    let pid = command.id() as i32;
    setpgid(nix::unistd::Pid::from_raw(pid), nix::unistd::Pid::from_raw(pid)).unwrap();

    new_ucmd!()
        .arg("-s")
        .arg("9")
        .arg(format!("-{}", pid))
        .succeeds();
}

@pro465 I just tried it and it's the same problem sadly. @sylvestre I think we should merge this without a test.


Fix protoc artifact

https://grpc-testing.appspot.com/view/Artifacts/job/gRPC_build_artifacts/291/platform=linux/
Looks like the protoc artifacts are now passing (some weird yum/dockerfile caching interaction was the cause)

Merging because this is blocking the release build.

No significant performance differences


Question on HTML5 void tag closure and a Razor tag helper exception

I was running into an issue with gulp-minify-html, where it was converting my XML input tags (written as self-closed) into unclosed elements prior to Razor receiving them. So, an <input> like ...
<input asp-for="name" type="text" class="txtbox short" />

was being minified into ...
<input asp-for="name" type="text" class="txtbox short">

prior to Razor doing it's bit. However, Razor chokes on this and gives you a ...
Found a malformed 'input' tag helper.
Tag helpers must have a start and end tag or be self closing.

Of course, closing void elements in HTML5 is optional per HTML5 Spec <IP_ADDRESS> #6:
Then, if the element is one of the void elements, ... then there may be a single "/" (U+002F)
character. This character has no effect on void elements ....

So, is Razor not going to work with what would otherwise be valid HTML5 void elements when they aren't closed? It seems like valid HTML5 should be able to go right through Razor tag helper logic without a problem.

... and I'll add that using a tag helper prefix will solve this problem, but I was hoping not to have to use tag helper prefixes. It's more typing and more markup than I really want to see.

@GuardRex Razor needs explicit (XHTML-ish) tag closure to determine the tag helper element content. Razor would otherwise get nearly as complicated as your browser. To avoid a hard-coded list of void elements (for example), elements that tag helpers target must either be self-closed or have an end tag.
But prefixes are a great workaround when using gulp-minify-html or other preprocessors that confuse Razor.

@dougbu I got you, thanks. I'll keep doing what I'm doing then.


Added Link HTML Element

Added a link HTML element in the topMenu.tsx component
Overview
List the GitHub issues containing the issues relevant to this pull request.
Resolves #35
Clicking on the website name in the header now links to the homepage.
What Changed
Added a <a href="/"> element in topMenu.tsx

We want to use NextJS to link the pages together. It allows us to have more control over navigation behavior.
Check out this link: https://nextjs.org/learn/basics/navigate-between-pages/link-component

I believe that's what my second commit did with the <Link href="/"> line right?

I believe that's what my second commit did with the <Link href="/"> line right?

Yes, I see that now, apologies, you did it correctly!


[Bug] Missing Points on Timeseries Graph using Two Infinity Queries

Describe the bug
I have a Timeseries point graph that is populated by two queries, one is UQL parsing JSON and the other is straight JSON.  Both queries share "End Date" in their table.  When both queries are on a panel, there are missing data points graphed from the UQL query.  Those points are all on the same date.  When only the UQL query is present, all points are shown.  The UQL query performs a transformation on "Start Date" and "End Date" to get the number of days in between.  That is what is graphed.
Steps to reproduce
Setup one panel with two queries
Query A

with transformations

Query B

Second Panel (Duplicate first panel)
Same Query A as in the first panel
Query B - Turn off
Need to change transformation slightly from first Panel because Query B is turned off

Note: bugs will be fixed only if enough information provided to reproduce the issue
Sample Data
Data for Query 1 is in the first image in the Screenshots section below
Data for Query 2 (Sorry the header of the data is wrong.  It says Start Date but should really say End Date.

Screenshots
Raw Data showing 4 points for End Date 2021-08-25

Panel that shows all 4 points for 2021-08-25

Panel that shows only 1 point for 2021-08-25

If applicable, add screenshots to help explain your problem.
Version Details:

Grafana version : 8.3.6
Plugin version : 0.8.0

Additional context
When the data from the UQL query is inspected all the points are shown.  When the data is inspected with the transformation turned on, those missing point disappear.

Here is inline JSON data for the two queries
Query B FCT Avg.txt
Query A FCT.txt
.

I attached a screen shot of the data for each query.  I hope that will be enough.  Let me know.
Thanks,
Dan
On Jun 16, 2022, 2:51 PM -0700, Sriram @.***>, wrote:

Can you attach sample data from bith the queries?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Stacktrace of exception thrown in workers is not logged

When an exception is thrown in worker, only the message and code of exception is logged.
A stacktrace is logged, but it is the stacktrace of Process and its state, not the actual stacktrace of exception.
Example:
[2021-02-02T14:15:37.836279+00:00] cluster-86033.error: Worker 2 failed: Amp\Parallel\Sync\ContextPanicError: Uncaught Error in child process or thread with message "Call to a member function get() on null" and code "0"; use Amp\Parallel\Sync\ContextPanicError::getOriginalTrace() for the stack trace in the child process or thread in /<project-path>/vendor/amphp/parallel/lib/Sync/ExitFailure.php:46

This exception causes my workers to die (not a bug with Cluster, bug from my code). But logged error does not help at all. I had to to the classical dump&die starting from worker  script to find out where was the error.
Is this expected behavior? Am I missing something?
My worker code is pretty much like HTTP server example from this repo.
I'm willing to look into it, if this is an issue.

As a note, the bug in my code happened before loop is actually started.
Maybe that is the reason the exception is not logged properly.


refactor: migrate to signals and inject

Migrate to Angular signals and inject for better performance

Hi @sheikalthaf!
Thanks for the pull request. A concern I have with switching over to use signals is that this would be a breaking change for projects already using the angular-svg-library. Is there a way to maintain backwards compatibility?

Hi @sheikalthaf!
Thanks for the pull request. A concern I have with switching over to use signals is that this would be a breaking change for projects already using the angular-svg-library. Is there a way to maintain backwards compatibility?

@czeckd  There is no breaking change and no API change. But only issue we need to avoid is method calls in inputs, because it will trigger continuous CD. This is a common behaviour of signal inputs so it is not an issue with our implementation.


Lost ability to resize window in 1.0.1

I can maximize the window but can't grab the corners to resize the window.

Yeah, noticed that after publishing 1.0.1 - it's on the list

Fixed in v1.0.2


Fix CreateRepository for GitLab provider

Ensure projects are discovered using the correct method in the case of group owned projects (ListGroupProjects) vs personal owned projects (ListProjects).
The issue can be reproduced when bootstrapping on GitLab with a personal account and using a repository name that could already belong to another user.
This is from a user report in slack.

I've tested this locally with flux2 with the following use cases:

Is able to create personal repo: flux bootstrap gitlab --owner=personalacc --repository=flux --personal --token-auth --branch=master
Is able to discover the previously created repo (command re-execution).
Is able to create group owned repo: flux bootstrap gitlab --owner=groupacc --repository=flux --token-auth --branch=master
Is able to discover the previously created repo (command re-execution).

This fixes #22?

No, but I can probably fix that in the scope of this PR as well. Wasn't aware of the issue, it's definitely similar in nature.

I've tested deploy key creation in the scenarios previously mentioned and I can confirm it works with these changes now.


sfxstandalone - Access Denied issue

Hi,
We are using AAD auth for our cluster. When you don't have access and go to the SF Explorer via web you get a nice error message.
But when you try to login using the sfxstandalone (18.9.2701) app you just get a blank white screen

Please re-open if you are still facing this issue, but closing at this time.


Be able to play in the editor by piping godot into another process

Godot version:
3.1 beta1
OS/device including version:
4.20.3-arch1-1-ARCH
Issue description:
Lately I am having a good amount of issues with rendering and it would be very comfortable to launch godot via renderdoc with renderdoccmd capture directly from the editor.
Proposal
It is currently possible to specify custom run args. It would be very nice to have an integrated way to maipulate the command line command in a way that allows wrapping the godot launch command in a bash pipeline.

It would be very nice to have an integrated way to maipulate the command line command in a way that allows wrapping the godot launch command in a bash pipeline.

What about using a %commmand% placeholder like Steam's run arguments? This way, you could write renderdoc | %command% in the custom run arguments.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


3.3 in not actually tested.., README should then not say [ci skip]

..if I'm reading .travis.yml right. I do not actually care. Not pushing for 3.5 to be tested, but it is current (actually 3.5.1 and 2.7.11 just out), and maybe want to add that there and here (and drop 3.4? While it's also current I think)?
There seems to be no activity in the code (while I see in issues). My guess is that doesn't reflect true nature, as fixes in PyCall.jl help here?

Adding "[ci skip]" (I know know about..) after failed check seems to not work. Anyway, the failed check is bogus and I'm not sure how to bypass..

Alternatively you do want to add 3.3 to travis instead? I'm not sure if there is much demand for 3.3 (or even 3.5 to work with Julia) or how long it's supported..

Travis is not happy:
ERROR: UndefVarError: dlpath not defined
 in process_options at ./client.jl:257
 in _start at ./client.jl:378
E
======================================================================
ERROR: test.test_core (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.test_core
Traceback (most recent call last):
  File "/home/travis/build/JuliaLang/pyjulia/julia/core.py", line 238, in __init__
    """])
  File "/opt/python/3.5.0/lib/python3.5/subprocess.py", line 629, in check_output
    **kwargs).stdout
  File "/opt/python/3.5.0/lib/python3.5/subprocess.py", line 711, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['julia', '-e', '\n                     println(JULIA_HOME)\n                     println(Sys.dlpath(dlopen("libjulia")))\n                     ']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/python/3.5.0/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/opt/python/3.5.0/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/home/travis/build/JuliaLang/pyjulia/test/test_core.py", line 10, in <module>
    julia = Julia()
  File "/home/travis/build/JuliaLang/pyjulia/julia/core.py", line 244, in __init__
    raise JuliaError('error starting up the Julia process')
julia.core.JuliaError: error starting up the Julia process
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
The command "python -m unittest discover" exited with 1.

Hi @mmagnuski,
From this line in what you posted:
File "/opt/python/3.5.0/lib/python3.5/subprocess.py", line 629, in check_output
**kwargs).stdout
it seems you are saying testing with Python 3.5 would not work. Anyway, I think it should [then] be tested with 3.5 and work. I wasn't really expecting testing with 3.5 not working (while 3.4 would), but that is what the tests are for.. Anyway, as I'm not too familiar with Travis, what I see there, is it the same thing (just you with more details)?:
Tested against 3.5 (no longer 3.4 but should also work)
Commit ae99a35
#48: 3.3 in not actually tested.., README should then not say [ci skip]
Is what happened for you, something that always happens? Is it blocking this issue (that was at first just a documentation one.., but now a tiny bit more), and belongs here? [Would your error also have happened with 3.4?]

I am not sure I understand.
Travis is just showing that test fail both for Python 3.5 and 2.7.
Maybe tests/Travis are not set up correctly - the details are here. You can click on each build environment  (only Linux is tested) to see how the build went and how/when it failed.
But the failures are not related to your pull request, pyjulia seems to fail for all current PRs.

As you say, the errors are independent of this PR. Can it, or should it, then be forced, bypassing Travis?
I see it now (still learning Travis and more..).. You can click the build jobs but they are different:
Maybe "During handling of the above exception, another exception occurred:" and the above not happening in 2.7 is a clue too something..
Also this line "ERROR: test.test_core (unittest.loader._FailedTest)" is a little different for 2.7.
Then it's actually 2.7.9, I'm not sure it is a problem.. but would we not want to test using newest 2.7.x (and 3.5.x)?
ERROR: test.test_core (unittest.loader._FailedTest)
ImportError: Failed to import test module: test.test_core
Traceback (most recent call last):
File "/home/travis/build/JuliaLang/pyjulia/julia/core.py", line 238, in init
"""])
File "/opt/python/3.5.0/lib/python3.5/subprocess.py", line 629, in check_output
**kwargs).stdout
File "/opt/python/3.5.0/lib/python3.5/subprocess.py", line 711, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['julia', '-e', '\n                     println(JULIA_HOME)\n                     println(Sys.dlpath(dlopen("libjulia")))\n                     ']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/python/3.5.0/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/opt/python/3.5.0/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
import(name)
File "/home/travis/build/JuliaLang/pyjulia/test/test_core.py", line 10, in
julia = Julia()
File "/home/travis/build/JuliaLang/pyjulia/julia/core.py", line 244, in init
raise JuliaError('error starting up the Julia process')
julia.core.JuliaError: error starting up the Julia process

BTW if you want both 3.4 and 3.5 to be tested you can just leve the  - 3.4 in the travis.yml file:
python:
    - 2.7
    - 3.4
    - 3.5

Yeah, I think these errors should be dealt with first. There are some other PRs that try to deal with it (make pyjulia compatible with julia 0.4).
Is pyjulia working on your computer?

My PR thing here is now invalid, redundant with another one, so please close. Not sure if text here is valuable, making that inappropriate.
[Not rereading all the text here, but "Is pyjulia working on your computer?" Never even tried - yet.. Was just "helping" with doc changes (I guess travis-file isn't strictly doc..).]


load angular components in nativescript app using code

hi.
I want to dynamically load an custom angular component in a nativescript stackLayout within typescript file.
I'm trying this but not working:
createTabViewItems() {
this.tabs = [];
const stackLayout = new StackLayout();
let customCmp= this.cfr.resolveComponentFactory(CustomComponent);
let componentRef = this.container.createComponent(customCmp);
stackLayout.addChild(componentRef);
const tbi = new TabViewItem();
tbi.view = stackLayout;
this.tabs.push(tbi);
let tabView = new TabView();
tabView .items = this.tabs;
}
after that I got the following error:
Argument of type 'ComponentRef<CustomComponent>' is not assignable to parameter of type 'View'.
please help me! :(

Hi @mohammadreza99,
Instead of using the dynamic loader for load custom component in the project I would suggest to declare the needed UI inside the HTML file and to show/hide the content via the visibility property or with a structural directive like *ngIf

@tsonevn it works. thanks a lot


[BUG] running build + tests generates garbage

After setup and I running tests I get
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   ../docs/reference/out/div.out.html
        modified:   ../docs/reference/out/exp.out.html
        modified:   ../docs/reference/out/exp10.out.html
        modified:   ../docs/reference/out/expm1.out.html
        modified:   ../docs/reference/out/fma.out.html
        modified:   ../docs/reference/out/fms.out.html
        modified:   ../docs/reference/out/fnma.out.html
        modified:   ../docs/reference/out/fnms.out.html
        modified:   ../docs/reference/out/pow.out.html
        modified:   ../docs/reference/out/pow_abs.out.html
        modified:   ../docs/reference/out/rempio2.out.html
        modified:   ../test/unit/module/special/beta/regular/beta.hpp

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        ../docs/reference/out/allfiles.out.html
        ../docs/reference/out/beta.out.html
        ../docs/reference/out/erf.out.html
        ../docs/reference/out/erfc.out.html
        ../docs/reference/out/erfcx.out.html
        ../docs/reference/out/expx2.out.html
        ../docs/reference/out/gamma.out.html
        ../docs/reference/out/gammaln.out.html
        ../docs/reference/out/stirling.out.html

What I ran:
cmake -DCMAKE_CXX_FLAGS="-stdlib=libc++ -march=native" -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -G Ninja  ..

time ninja unit.arch.exe -k 0 -j 16 && ctest -R "^unit.arch\..*\.exe"               && \
time ninja unit.api.exe  -k 0 -j 16 && ctest -R "^unit.api\..*\.exe"          -j 8  && \
time ninja doc.exe       -k 0 -j 16 && ctest -R "^doc\..*\.exe"               -j 8  && \
time ninja unit.simd.exe -k 0 -j 16 && ctest -R "^unit\..*\..*\..*\.simd.exe" -j 8

Fixed in ee24c2f06165387ace2002810468b0b5692ca68e


🔄 Synced file(s) with jhudsl/AnVIL_Template

Synced local file(s) with jhudsl/AnVIL_Template.

Changed files

Synced local directory .github/workflows/ with remote directory .github/workflows/Synced local  scripts/spell-check.R with remote  scripts/spell-check.RSynced local  scripts/url-check.R with remote  scripts/url-check.RCreated local  scripts/quiz-check.R  from remote  scripts/quiz-check.RCreated local directory assets/box_images/ and copied all sub files/folders from remote directory assets/box_images/Synced local directory assets/AnVIL_style/ with remote directory assets/AnVIL_style/Synced local  scripts/anvil_repo_check.R with remote  scripts/anvil_repo_check.RSynced local  scripts/anvil_repo_table.R with remote  scripts/anvil_repo_table.R

This PR was created automatically by the repo-file-sync-action workflow run #2921169339

@ehumph, this gets the style stuff up to date with AnVIL_Template, so this book can receive updates going forward.  I'll let @avahoffman handle the workflow stuff in a separate PR, she's the expert there :) This is ready to go, but tagging you for a couple things

Letting you know this is happening and letting you be the one to give the go ahead for merging
This updates the css to use the fancy new callout boxes, which means our functional but ugly fyi boxes are going away.  I replaced any existing fyi boxes with whichever box type I thought was appropriate, but, you might have a different opinion :)  So, let me know if you want me to change any of them.

(Heads up that the images for the callout boxes don't display properly in the preview but work fine in the final render.  Paths work slightly differently for the preview, so, it can't find them correctly. In the preview, they should show up in boxes with the appropriate border, just no image.)

@ehumph
Hahaha

Sometime in the next few weeks I might create a specific "R Basics" box format similar to the GitHub one.

That sounds like a great thing to add to OTTR! Useful for lots of courses/workshops


[Feature] Add qwen & qwen-chat support

Please leave extra comments on configs/datasets/collections/leaderboard/... and contents of configs/eval_qwen_7b.py and  configs/eval_qwen_7b_chat.py


HOW TO TEST ConcurrentTransitionMixin AND ConcurrentTransitioN ERROR

Im using celery and django-fsm. I've had an invalid transition beetween states. Im now trying to use the ConcurrentTransitionMixin to forbid this kind of behavior but I would like to test and mock a ConcurrentTransition error in order to manage where should I code my try-except blocks.

Probably you can look into django-fsm library tests
https://github.com/viewflow/django-fsm/blob/master/tests/testapp/tests/test_lock_mixin.py#L59


Creating a new R environment doesn't work

From the "Conda" tab in the file browser when I click on "+" to create a new Conda environment if I select "R" then I get a failure.  I feel that if the "R" option is presented then picking it should work.

Hey @ijstokes
Can you try adding the following to you .condarc
`channels:

r
defaults
`

r-base is part of default now, so this should not be happening anymore. Closing.

We should document the requirement.


Super Mario game

Adding the Classical Super Mario game to this repo.
Please assign me this issue under Hacktoberfest.
Thank You

Hey @thinkswell Should I wait for you to assign me the issue or should I create a PR ??

You can create a PR,
And Please follow the template to raise the issue, I will be deleting this issue in next 3days, you can create a new issue using the mentioned template to raise the issue again.


Enforce key value syntax to initialize structs

What is wrong?
When #203 lands, we'll have basic support for structs.
struct House:
    price: u256
    size: u256
    vacant: bool

contract City:

    pub def get_price() -> u256:
        building: House = House(300, 500, true)

        assert building.size == 500
        assert building.price == 300
        assert building.vacant

        return building.price

The current syntax for initializing structs is the same as for all function invocations (e.g. House(300, 500, true)) in the example above.
I believe for better clarity struct initialization should look like one of these:
A. House(size=500, price=300, vacant=true)
or B.  House(size:500, price:300, vacant:true)
How can it be fixed

Settle on syntax

Make modifications to the parser

@g-r-a-n-t What is your opinion here? I think we should go with House(size=500, price=300, vacant=true) and forbid the current syntax (House(500, 300, true))

I vote A.


Why Roles do not support concurrent authorization？

version：2.10
I used multiple admin clients to concurrently grant multiple topic permissions to a role, but threw concurrent modification exceptions；
I think this should add support for concurrent authorization；
Exception Info：
java.util.concurrent.CompletionException: com.sf.mw.exceptions.InternalException: 角色:[j4hcvds:testSubRole:SUB]授予主题[duxgTenant/duxgNameSpace/duxgTopicToPro22-j4hcvds:testSubRole:SUB-RETRY] [pub]权限失败...org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: Concurrent modification

We are running into this issue as well now.


No Cortado Fallback, Ogg fails to play on some browsers.

Ogg Vorbis audio fails to play on IE. It would be awesome to have Cortado (http://www.theora.org/cortado/) enabled as a fallback for the few browsers that still don't play this common format.

@programmin1 Closing old issues. If you'd like to reopen this, let us know. Thanks!


Added announcement of temporary fixes on the known issues

In general this PR looks good to me. I'm down to merge it. Thank you @zli669!


Update frontmatter

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66180eb78b99843abf016b9c--harness-developer.netlify.app


Large SST files (ignoring VersionSet.TARGET_FILE_SIZE?)

In my databases, SSTable file sizes are more or less the same within an individual db. Varying either the content or db options, can cause sst files to be ~2MB in one database, ~23MB in another, ~39MB in a third, etc. That's the approximate size of every sst file in the system, in databases with dozens to hundreds of SST files.
Is there something I can do to control this? The large db files perform poorly on read-heavy loads.
thanks,

tables in levels 1+ conform to the TARGET_FILE_SIZE; tables written to level 0 will be around the writeBufferSize, which is configurable in Options

All of the files are approximately the same size. They can't all be level
0, could they?
On Monday, December 14, 2015, rnarubin<EMAIL_ADDRESS>wrote:

tables in levels 1+ conform to the TARGET_FILE_SIZE; tables written to
level 0 will be around the writeBufferSize, which is configurable in Options
—
Reply to this email directly or view it on GitHub
https://github.com/dain/leveldb/issues/65#issuecomment-164524746.

how large are your keys/values? they don't get split up across tables; for example, if a table being built is 1MB and it's given a 4MB key-value pair, it'll grow to 5MB before checking the size breakpoint

Values are around 1k
On Monday, December 14, 2015, rnarubin<EMAIL_ADDRESS>wrote:

how large are your keys/values? they don't get split up across tables; for
example, if a table being built is 1MB and it's given a 4MB key-value pair,
it'll grow to 5MB before checking the size breakpoint
—
Reply to this email directly or view it on GitHub
https://github.com/dain/leveldb/issues/65#issuecomment-164527168.

incidentally, you can inspect the MANIFEST file using google's leveldbutil
from their package. if you clone their repo, make leveldbutil creates a
tool with which you can dump the contents of certain leveldb files. In this
case, leveldbutil dump /path/to/MANIFEST-xxxxxx will list all live files,
which for table files includes their level number. The output is a bit
cryptic, but you'll have something like
"AddFile: 2 1510 1923066 '\xfc\xdf\xfb;Qs+\xbeK6\xb5\x1e\xf0..."
the 2 here is the level, the 1510 is the file number, and the 1923066 is
the file size in bytes. the hex string that i've cut off here is the
beginning of the smallest key in the table, it'll also have the largest key
On Mon, Dec 14, 2015 at 1:21 PM, Larry White<EMAIL_ADDRESS>wrote:

Values are around 1k
On Monday, December 14, 2015, rnarubin<EMAIL_ADDRESS>wrote:

how large are your keys/values? they don't get split up across tables;
for
example, if a table being built is 1MB and it's given a 4MB key-value
pair,
it'll grow to 5MB before checking the size breakpoint
—
Reply to this email directly or view it on GitHub
https://github.com/dain/leveldb/issues/65#issuecomment-164527168.

—
Reply to this email directly or view it on GitHub
https://github.com/dain/leveldb/issues/65#issuecomment-164531992.


convert movedim to new api

PR converts movedim to the new batching rule API.
Very new to the project so please don't hesitate to correct anything where I've broken style/naming conventions etc.
Thanks!

The test case failures in circleci look unrelated to my change, but I'm not confident. Are these expected currently?

@Chillee are the builds that were failing on main something I can help resolve? or the problem is known?


Profile page for each fellow

When you click on each fellows card, it sends you to a separate page which includes more detail such as:

Description
Favourite programming languages
Interests outside of technology
University

Team 4 is working on it!

Done. Pull request submitted.


Configure prometheus to scrape metrics for elasticsearch

What this PR does / why we need it:
Prometheus will scape metrics for each elasticsearch in the shoot namespace.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
@ialidzhikov @vlvasilev @dkistner @wyb1
NONE

/lgtm


Land Cover (Dynamic World) - San Jose - Reference and document dataset

Providing metadata describing the Land Cover (Dynamic World) dataset for San Jose city with respect to a specific data model:
Definition of the metadata attributes: What are the attributes that we need to declare.
Definition of metadata referencing process

Referencing the metadata through arcgis API
Store the metadata in a single file (json/csv)

Hi @loganbyers
You can find through this link the metadata json file for the Land cover Dynamic World dataset:
https://storage.googleapis.com/urbanshift/metadata/Metadata-San Jose-Land Cover-DW.json


Review annotations

With the new CG scheme, there may be annotations we no longer need to store.

CC @maxamillion

Closing due to lack of interest and activity. If you're still interested feel free to reopen it.


Still working?

Hi, I just came across your unofficial freenom-dns node module, I was wondering if the code still works, if not, could you point me to a module which does?

Hi Shado,
Thanks for the concern.
But I have limited resources, so I'm not testing it daily.
Instead, feel free to file bugs if you find any, then we could look into it and provide fix.


Listening socket is in wrong state, terminating listener   when logging out

Hi there,
I have a ubuntu 17.10 vm running in Azure. I installed gnome via  sudo apt install ubuntu-gnome-desktop and then installed xrdp via sudo apt install xrdp.
apt list --installed xrdp gnome-session
Listing... Done
gnome-session/artful-updates,now 3.26.1-0ubuntu6 amd64 [installed,automatic]
xrdp/artful,now 0.9.1-9 amd64 [installed]

I have done echo gnome-session > ~/.xsession as well.  The vm has been working quite well for me so far after

update /etc/X11/Xwrapper.config to have  allowed_user=anybody
create /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf to fix the 'color authentication' issue

The only problem, though, is that after I logout from the current session, the next time I login, I am stuck on login window. i.e. I was prompt the login window and I typed my password, but after clicking the 'unlock' button, the UI freeze.

The only walk-around is to restart xrdp and I would be able to auto login again.
However, it's interesting that I can lock screen and then unlock with no problem,  i.e. If I click the padlock icon to lock my screen (instead of logging out) , I can unlock my self by typing my password and clicking the same 'Unlock' button. So the problem is only related to logout from current xrdp session.
below is what /var/log/syslog says when i logout
gnome-shell[14082]: JS WARNING: [resource:///org/gnome/shell/ui/endSessionDialog.js 767]: reference to undefined property "checkBoxText"
gnome-shell[14082]: JS WARNING: [resource:///org/gnome/shell/ui/modalDialog.js 218]: reference to undefined property "GdkX11Screen"
gsd-print-notif[14152]: Source ID 2 was not found when attempting to remove it
xrdp[13964]: (13964)(140283889350464)[DEBUG] Closed socket 18 (AF_UNIX)
kerneloops-applet.desktop[14256]: kerneloops-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :16.0.
gnome-shell[14082]: gnome-shell: Fatal IO error 0 (Success) on X server :16.0.
xrdp-sesman[13694]: (13694)(140637095314496)[INFO ] ++ terminated session:  username bochen2014, display :16.0, session_pid 13973, ip <IP_ADDRESS>:57590 - socket: 12
xrdp[13964]: (13964)(140283889350464)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:<IP_ADDRESS> port 3389)
xrdp[13964]: (13964)(140283889350464)[DEBUG] xrdp_mm_module_cleanup
xrdp[13964]: (13964)(140283889350464)[DEBUG] Closed socket 17 (AF_UNIX)
xrdp[13964]: (13964)(140283889350464)[ERROR] Listening socket is in wrong state, terminating listener

is above log normal?

i'm not sure if this is an xrdp error or gnome-shell error, as I also see loads of this
gnome-shell[7316]: JS ERROR: TypeError: childToShow is null
#012AltSwitcher<._sync@resource:///org/gnome/shell/ui/status/system.js:70:13
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012SystemActions<._updateSuspend@resource:///org/gnome/shell/misc/systemActions.js:368:9
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012SystemActions<._sessionUpdated@resource:///org/gnome/shell/misc/systemActions.js:272:9
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012SystemActions<._init/<@resource:///org/gnome/shell/misc/systemActions.js:189:53
#012_emit@resource:///org/gnome/gjs/modules/signals.js:126:27
#012SessionMode<._sync@resource:///org/gnome/shell/ui/sessionMode.js:205:9
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012SessionMode<.pushMode@resource:///org/gnome/shell/ui/sessionMode.js:167:9
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012ScreenShield<._resetLockScreen@resource:///org/gnome/shell/ui/screenShield.js:1039:13
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012ScreenShield<.activate@resource:///org/gnome/shell/ui/screenShield.js:1285:9
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012ScreenShield<.lock@resource:///org/gnome/shell/ui/screenShield.js:1328:9
#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
#012ScreenShield<.lockIfWasLocked/<@resource:///org/gnome/shell/ui/screenShield.js:1341:13

in syslog

Deleted the instance and started over again. Seems to be working fine now


AUTH-482: set required-scc for openshift workloads

Description of the change:
This PR explicitly sets the required SCC to be used to admit pods of the cluster-olm-operator deployment. The SCC chosen is the one that the pods are already getting admitted with, which means that this brings no change to the SCC used.
Motivation for the change:
In some cases, custom SCCs can have higher priority than default SCCs, which means that they will be chosen over the default ones. This can lead to unexpected results; in order to protect openshift workloads from this, we must explicitly pin the required SCC to all our workloads in order to make sure that the expected one will be used.

/lgtm
/approve


Non-root

Fix #215
Minor additional changes:

update deprecated MAINTAINER to LABEL in docker images.
Change nginx port from 80 to 8080.

as the only image we note as for production use is "zipkin" I'm less concerned about root for the nginx especially if the alternative is moving it to port 8080 which will frequently conflict with local stuff. Can we unwind the port 80 on here? otherwise LGTM thanks!

thanks much!


If I select one option It selects all options for single select dropdown

I have selected the above first option(xyzq). But It selected all other options.

change id

this.schoolNames.push({'id': illness.data.GetSchool[i].schoolID , 'itemName': illness.data.GetSchool[i].SchoolName});

ID change of what ??

      <angular2-multiselect [data]="schools" [(ngModel)]="schoolModal" [settings]="dropdownSettings1" (onSelect)="onItemSelect($event)"
       >
        <c-badge>
            <ng-template let-item="item">
                {{item.name}}
            </ng-template>
        </c-badge>

        <c-item>
          <ng-template let-item="item">
            {{item.name}}
          </ng-template>
        </c-item>
      </angular2-multiselect>

Do I need to change the ID of  the angular2-multiselect

please use unique ID for individual option in the list.

If anyone is still stuck, then to elaborate...
What is expected is that the list bound to [data] property must have an id field in the array of objects. Eg. {id: '', itemName: ''}
angular2-multiselect picks up "id" property and assigns it to  element under the hood. Add that property using your own unique id if it does not exists in the list.


Linux cuda build fails (GCC not supported, but TRICK_NVCC=yes set)

See gist below:
https://gist.github.com/AlexDBlack/ad4c6815d46b09adac5c67f3e30ea088
System: Kubuntu 17.04
alex@alex-kubuntu:~/DL4J/libnd4j$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
alex@alex-kubuntu:~/DL4J/libnd4j$ gcc --version
gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

alex@alex-kubuntu:~/DL4J/libnd4j$ cmake --version
cmake version 3.10.0-rc3

CMake suite maintained and supported by Kitware (kitware.com/cmake).
alex@alex-kubuntu:~/DL4J/libnd4j$ uname -a
Linux alex-kubuntu 4.10.0-42-generic #46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Apparently a known issue:
Samuel Audet @saudet 18:31

CUDA 8.0 just can't support C++11 with GCC 6


Populate Database with calculation values

Describe the task
As a QuackStack Developer I want to populate the Postgres DB So That I can fetch calculation data from it
Acceptance Criteria

e.g. Given (Context), When (Action carried out), Then, (expected outcomes)

[ ] Design DB tables with normalized data
[ ] Create SQL script  to create the tables and populate the db

Additional context

Add any other context about the task here.

Changing this ticket to reflect new db strategy


Scroll to top of page after using pagination

If you use the pagination at the bottom of the list of works, you don't go back to the top of the list because we're not doing a page refresh.
This seems to be the approved way to do it.

I strangely liked not going to the top, reading in a top => bottom, bottom => top fashion, but maybe that's because I've been reading about Boustrophedon.


Not working, if victim connects with hostname (TLS alert internal error)

Hello friends,
i used Seth to test our corporate network for this RDP-flaw.
It's strange, because it worked fine, when i used Seth from my homeoffice (different network as my corporate network, but VPN connection)
The command: sudo ./seth.sh eth0 IP_ATTACKER IP_VICTIM IP_GATEWAY worked well, espacially when the victim connects to an RDP-server using the hostname at the Windows 10 RDP-window.
Today I'm sitting in the office, connected to the corporate LAN. I'm using the same equipment and no changes were made (attacker is a fresh Kali Linux VM. No changes were made).
The command: sudo ./seth.sh eth0 IP_ATTACKER IP_VICTIM IP_RDP-SERVER isn't working well. When I connect to the RDP-server from the victim machine using the hostname, I get the error 'TLS alert internal error received, make sure to use RC4-SHA.' When I'm using the IP address to connect to the RDP-server, the attack works well. But this is not good for demonstration because (in my opinion) no user uses the IP address to connect to a server in real life....
I would be grateful for some advice

I suspect that certificate validation is done via CredSSP (read: Kerberos) in the latter case. Windows clients seem to behave differently lately.
Is the victim machine the same one in both of your tests?

Thanks for the fast reply :)
We are using CredSSP with NLA without the option to downgrade the connection. Seth worked with the fake-server-mode.
Yes, the victim is the host, the attacker is a VM, running on this host. No changes were made, only the IP addresses are different, because of an other DHCP-server. But attacker (VM) and victim (host) are on the same subnet, the RDP-servers too. nmap, pings and traceroutes work well

I'm not an admin, but is there a setting in the Windows-environment which says something like "Don't show a warning, if the name in the connection is the same as the name of the subject of the certificate AND if the connection is made from the same subnet" ?

I suspect if you are using the full hostname and at the same time the firewall profile is "domain", Kerberos is used to validate the certificate, which may be self-signed.
If you use an IP address, the client can't know if the host is part of the domain and thus doesn't use Kerberos. If the firewall profile is "public" or "private", Windows assumes it cannot contact a domain controller and again refrains from using Kerberos.
Again, I'm just speculating, but it seems plausible. Sorry for taking some   time to respond.


Properly allocate CPU sets to containers

What is the problem that this PR is trying to fix?
CPU sets aren't properly allocated to containers, meaning that some jobs use more than their share of CPUs.
What approach did you choose and why?
I think this is a problem:
cpuSets, err := p.checkoutCPUSets()
if err != nil && cpuSets != "" {
return nil, err
}

because if the checkoutCPUSets func returns an error, the other value is always an empty string:
func (p *dockerProvider) checkoutCPUSets() (string, error) {
[...]
if len(cpuSets) != p.runCPUs {
return "", fmt.Errorf("not enough free CPUsets")
}

so if err != nil && cpuSets != "" will never be true, so the error is never caught (and in that case, containers are allocated the same CPU set as the host).
How to test
Create some sample JSON payloads and put them in 10-created.d/:
$ pwd
/home/aj/git/travis/worker/builds.ec2

$ ls -la
total 60
drwxr-xr-x  7 aj aj 4096 Sep  9 15:52 .
drwxr-xr-x 19 aj aj 4096 Sep  9 16:33 ..
drwxr-xr-x  2 aj aj 4096 Sep  9 16:15 10-created.d
drwxr-xr-x  2 aj aj 4096 Sep  9 16:15 30-received.d
drwxr-xr-x  2 aj aj 4096 Sep  9 16:16 50-started.d
drwxr-xr-x  2 aj aj 4096 Sep  9 16:16 70-finished.d
drwxr-xr-x  2 aj aj 4096 Sep  9 16:13 log
-rw-r--r--  1 aj aj 1415 Sep  9 13:59 sleep-10.json
-rw-r--r--  1 aj aj 1414 Sep  9 13:59 sleep-15.json
-rw-r--r--  1 aj aj 1415 Sep  9 13:59 sleep-20.json
-rw-r--r--  1 aj aj 1415 Sep  9 13:59 sleep-25.json
-rw-r--r--  1 aj aj 1415 Sep  9 13:59 sleep-30.json
-rw-r--r--  1 aj aj 1414 Sep  9 13:59 sleep-5.json
-rw-r--r--  1 aj aj 1415 Sep  9 15:52 sleep-50.json

$ cat sleep-10.json
{"type":"test","vm_type":"default","queue":"builds.ec2","config":{"language":"bash","env":["SLEEP=10"],"script":"./sleep.sh $SLEEP",".result":"configured","group":"stable","dist":"trusty","os":"linux"},"env_vars":[],"job":{"id":623773,"number":"1.4","commit":"1fb2f95804ee662297c908124c74e966edc3f2c9","commit_range":"191f87a69f84...1fb2f95804ee","commit_message":"yay staging","branch":"trigger","ref":null,"tag":null,"pull_request":false,"state":"passed","secure_env_enabled":true,"secure_env_removed":false,"debug_options":{},"queued_at":"2017-09-08T12:12:36Z","allow_failure":false},"source":{"id":623769,"number":"1","event_type":"push"},"repository":{"id":60659,"github_id":102856467,"slug":"soulshake/autoscale-tester","source_url":"https://github.com/soulshake/autoscale-tester.git","api_url":"https://api.github.com/repos/soulshake/autoscale-tester","last_build_id":623769,"last_build_number":"1","last_build_started_at":"2017-09-08T12:12:37Z","last_build_finished_at":null,"last_build_duration":null,"last_build_state":"started","default_branch":"master","description":"Verify autoscaling behavior"},"ssh_key":null,"timeouts":{"hard_limit":null,"log_silence":null},"cache_settings":{"fetch_timeout":1200,"push_timeout":7200,"s3":{"access_key_id":"BLAHBLAHBLAH","aws_signature_version":"4","bucket":"travis-cache-staging-org","hostname":"s3.amazonaws.com","secret_access_key":"BLAHBLAHBLAH"},"type":"s3"}}

$ cp sleep-* 10-created.d/

Then run worker:
$ travis-worker --debug 9

And verify that CPUs are allocated as expected:
$ for cid in $(docker ps -q); do docker exec -ti $cid cat /sys/fs/cgroup/cpuset/cpuset.cpus; done
6-7
4-5
0-1
2-3

^ Each container should have 2 unique CPUs allocated to it. The remaining jobs should not be run until these have finished.

This might address https://github.com/travis-pro/team-blue/issues/733, at least partially.

I forgot to mention it before, but it'd be rad if you could add an entry to the Unreleased section of CHANGELOG.md under Fixed, prob with a prefix of backend/docker:.

Pushed some updates.
It seems like the config also wasn't getting passed along via p.client.CreateContainer. Also, when the jobs get requeued (via docker inspect), the cpuset doesn't seem to show up in the looked-up container.
Thoughts @meatballhat ?

This is an awesome find AJ! I just wanted to add that it would be cool if these changes had some unit tests associated so we make sure we don't regress sometime in the future.

@bogdanap I could not agree more! I looked at the tests a bit before making this change and couldn't figure out how to add one for this. I can try again now that I'm more familiar with how the code works. Suggestions welcome!
On a related note, I'm not understanding clearly our usage of some of the following terms:

instance/VM, as in e.g. step_start_instance.go: what exactly are we doing when we start/stop an "instance"? For example this line:
logger.WithField("instance", instance).Error("skipping shutdown, VM will be left running")
Is this referring to a container instance?
provider: is this supposed to correspond to a docker daemon?
dockerConfig vs dockerHostConfig (docker.Config vs docker.HostConfig): HostConfig seems like it should be conceptually similar to Config but should apply to all containers launched by the same provider, except the two structs have different fields, so I'm still not fully understanding how they should be used.

This change has been merged here and is now being rolled out to production.
Before

After

UH-MAYZING!  Awesome @soulshake :dancing_women:


fix: updated PhoneNumberInput wrapper context

Resolves #193
Impact: minor
Type: bugfix
Issue
The PhoneNumberInput needed isFormInput property added to it'swithComponents context wrapper.
Testing

Go to the bottom of the AddressForm page, fill out and submit the form.
You should see the address in the console and no validation error on the phone field.

🚀 Preview deployed
Built with commit 1ac5d1cbd0864f1a2a060f70de4697d8eb4d5b7a
https://deploy-preview-196--stoic-hodgkin-c0179e.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Easy data download

Provide a clear and easy to download data in standardised format. One format is a start, whichever takes least work.

Feature added with commit 82dbc85


Question #19017

Do I understand correctly that it is no longer possible to generate audio with aspeak without creating a Microsoft account and a key?

Yes. But as I mentioned in https://github.com/kxxt/aspeak/issues/56#issue-1640328594, you can configure aspeak to use edge's tts endpoint. But I won't provide any support for that.


Build in rate limiting falloff into the API

OneDrive is rather draconian with its API rate limits so it'd be helpful to be able to deal with them at the library level rather than the application level.

Probably irrelevant by now, esp. given that there's a better/official option available.


⚠ GitLab Server has degraded performance

In e00278a, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7817 ms

Resolved: GitLab Server performance has improved in 604b6c7.


Setup Kanban board

Hello
We are a group of two. Here is the link for the issue
https://github.com/Surafels/recipe-app/issues
Here is the link for the project
https://github.com/Surafels/recipe-app/projects/1

Approved ✔
Hi @Surafels and @NoelLincoln,
Great job, Your project is complete!  There is nothing else to say other than... it's time to close this issue and start working on the project :shipit:
GOOD LUCK 🤞

(Changes Required) Aspects to improve: ♻

N/A

[Optional] suggestions:

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
**Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear, and please remember to tag me in your question so I can receive the notification**
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Random start animation using the same Prefab/Alembic

Would be nice if we can randomize the start time in each copy of the prefab, individually.

you can set AlembicStreamPlayer.m_PlaybackSettings.m_startTime manually or by your script.

Humm, its not working for me with this file.
https://drive.google.com/open?id=0B46rsvtqnOHnaS1Vam9lYjhUcHc


Compatible with Leaflet 1.0?

Is this plugin compatible with Leaflet 1.0?

To answer this really old question:  As of this post, zoomslider works with V1.0.0-rc.1 and leaflet V1.0.3 (most current version).

:+1: Thanks for notifying!

Be aware zoomslider has a dependency on v0.7.7 in its package.json file if you are using npm and a module loader.


merge into metasploit project

Hi,
nice project! are you planning to merge it into the main repository?

Hi,
I think it need 2 major thins before submit to Rapid 7:

testing on 32bit platform
support for .Net framework 3.5 for more compatibility on target

After that I plan to ask if they are interested
Reagards

Any update on merging ?

I can finally say YES, the process towards a PR has started and I am working with @TheColonial to merge this module into Metasploit. Fingers crossed.

👍  Nice and thank you

@b4rtik @OJ see https://github.com/rapid7/metasploit-framework/pull/12391


Notifications, when someone joins the room

We try to create kind of an open meeting-point and would love to see when someone has joined.
Maybe by a bot or right under the posted invitation.

We try to create kind of an open meeting-point and would love, when there would be a wai to see notifications in Mattermost, when someone has joined.

What is the use case of this feature?

Houseparty like meetings?

My concerns is that it might be to spammy. Would the recipient of these messages be the whole channel or just the creator of the meeting?

Well, when you are able to enable or disable this feature, then this is an active decision and should bother anybody.
Furthermore members are able to turn a mattermost channel quiet.


Transaction logging mechanism

(Migrated from https://openrdf.atlassian.net/browse/SES-249)
A (optional) transaction logging mechanism will enable many interesting new features for Sesame 2. First of all, transaction logging can help ensure Durability of the store. Second, it may be leveraged to enable a more fine-tuned store event handler mechanism (for example where the contentsChanged event carries a transaction id which a listener can then fetch to get a detailed report on what exactly the transaction was, in terms of triples added/removed).

This may already be suppoorted by a custom Sail in SesameTools, which Jeen has already invited to join RDF4J, but I am not sure what Josh thinks about that yet. I don't think it is necessary for it to be a native feature of the Sail API though.


Package request: fzf-bluetooth

Project description

An awesome fzf + rofi menu to manage Bluetooth devices.
Metadata

homepage URL: https://github.com/varbhat/fzf-bluetooth
source URL: https://github.com/varbhat/fzf-bluetooth
license: GPL-3
platforms: Linux

Add a :+1: reaction to issues you find important.

giving this a go


DRILL-6554: Minor code improvements in parquet statistics handling

@arina-ielchiieva Please review

+1, thanks for making the changes.


How to control drone through datalink

Hello guys, im trying to control my drone through data. Not using RC at all, or i am using a PS3 controller and need to control the roll, yaw, pitch and throttle through dronekit. Cant seem to get this working!

Best place to ask this might be gitter: https://gitter.im/dronekit/dronekit-python
You should expand on what you have tried, what vehicle etc etc.


Install after the fact

For some reason, rbenv-default-gems didn't run at some point, and so my gems aren't installed. I tried to install them by running the install script by itself. Here's the output in zsh:
☰  bash install/default-gems.bash
rbenv: rbenv-default-gems plugin requires ruby-build 20130129 or later

I've got the latest Rbenv and Ruby-build repos. I'm not sure if the script was intended to be used this way, but it'd be nice to have just in case.

It would be great if rbenv-default-gems could add a command to rbenv to trigger reinstalling.
In the meantime, this worked for me:
bash -c 'source /opt/homebrew/opt/rbenv/plugins/rbenv-default-gems/etc/rbenv.d/install/default-gems.bash;STATUS=0;install_default_gems'


Better lib name detection

Fixes #31
I'm having the same problem. A build which fails to detect my library name is here
I thought that logic in this line worked for substring detection, but I've just stepped through it and it's not grabbing the name out of ['u'rlib', u'dylib', u'staticlib'] for me. This is a bit more robust.

Thanks for the pull request, and welcome! You should hear from @huonw (or someone else) soon.

Whoops, hadn't considered this case!


Add some missing #[derive(Debug)]

Add some missing #[derive(Debug)]
Hit this when I wanted to add dbg!.

Drop ununused bytes dependency
We aren't doing HTTP directly anymore.

lib: Also add unreachable_pub to opted-in lint
And link to the list.
I plan to cargo cult this elsewhere.

Would we be able to turn on the deny-lint for this

Ohhh nice.  Didn't realize that existed.  Updated :new:


Fix request size limit exceptions with AffectedCommits.

There is a limit on the total size of a Datastore put() request (10 MiB) that we were hitting when batch writing large AffectedCommits entities.

Oops, didn't realize auto merge was on.


example build failure with cmake and multiple boost versions

I build on gentoo with my custom boost installed into /usr/local. I have also system built boost in /usr.
To compile example I needed to add this line to CMakeLists.txt:
link_directories(${Boost_LIBRARIES_DIRS})
just before target_link_libraries.

Thanks for the report.


feat: LEAP-1354: API for Bulk Annotation

Follow Merge downstream workflow has been failed.

Workflow run


MudStepper directional logic support for "PreventStepChange"

MudStepper.PreventStepChange now passes a "direction" argument to allow conditional forward/backward logic.
Previously you could not skip validation when navigating backwards, which is normally undesirable.
Now validation can (for example) be enforced when moving forwards, but not backwards.
Using an enum might be overkill here, it was a pretty quick edit.
Before

After

Migration
This is a code breaking change if you are using MudStepper.PreventStepChange.
To migrate, change your function from Func<bool> to Func<StepChangeDirection, bool>

I could also change this to pass the new step index instead of a forward/backward enum. The caller could then calculate the direction change themselves, this seemed more user friendly.

I think i found a bug there. Could you reproduce this steps:

Press next button on first step. (check validation switch is off)
Turn on the check validation switch.
Press previous button (it turns back to the first step, its ok)
Press next button (it should not continue to the next step, but it does)

Should be fixed now

Should be fixed now

Yeah, but this time i think we have another one.

Click on third step (payment one) (or go to third step one by one)
Turn on the check validation switch
Click on previous button (it should not go to the second step, but it does)

I think a test will be perfect for this prevent logic.

Click on third step (payment one) (or go to third step one by one)
Turn on the check validation switch
Click on previous button (it should not go to the second step, but it does)

I might be misunderstanding the issue as this is what I expect to happen. In StepperExample1 my custom logic for PreventStepChange always allows stepping backwards regardless of form validation.
// Always allow stepping backwards, even if forms are invalid
if (direction == StepChangeDirection.Backward)
{
    return false;
}

What the user decides to do here is up to them, this was just an example. I could either change this logic or make the example more clear about this [custom] behavior.

I think a test will be perfect for this prevent logic.

I have added several unit tests to ensure PreventStepChange behaves as expected.
I also made a change to CompleteStep and SkipStep so that they don't invoke PreventStepChange or change ActiveIndex when completing/skipping a step that is not the active step. I feel that completing/skipping steps non-active steps behaves very unusual otherwise.

Thanks, i feel its not the final PR about prevent, but looking good especially on backward change 🥇


ROX-18155: pg generic store: GetMany

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #6766

PR #6767

PR #6768

PR #6769

PR #6770

PR #6771

PR #6772

PR #6773   👈

/retest

/retest

Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.


[Broker] Optimize TopicPolicies#maxConsumerPerTopic with HierarchyTopicPolicies

Motivation
This is one of the serial topic policy optimization with HierarchyTopicPolicies.
Update topic policy with HierarchyTopicPolicies comes with these benefits:

All topic policy related settings will goes into AbstractTopic#topicPolicies, easier to understand, check, review, and modify.
Unify policy update to AbstractTopic. And easier to find which policy is not applied to non-persistent topic yet. And we can easily add support for it.
Unify policy value with 3 level settings (topic/namespace/broker), and priority with topic > namespace > broker.  And it's easier to find which level settings is missing.
All values are updated at creation or by trigger. We can save some resource to update it or recalculate each time we use it.
etc.

Modifications
Add new field maxConsumerPerTopic in org.apache.pulsar.broker.service.AbstractTopic#topicPolicies.
Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as

org.apache.pulsar.broker.admin.TopicPoliciesTest#testSetMaxConsumers

Some checklist for updating topic policy with HierarchyTopicPolicies.

[x] Broker level value set. And if it's dynamic (no).
[x] Namespace level value updated.
[x] Topic level value updated.
[x] Pre-existing unit test covers this change and updated to verify this change.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] no-need-doc

Code optimization.

/pulsarbot run-failure-checks


[Function optimization] use file-lock to enable multi-process downloading

PR types

Function optimization
PR changes

APIs
Description

[x] enable FileLock in model_utils.py
[x] add unittest for modeling & file_lock.py

there is another issue from @JunnYu  : exception will be raised when calling from_pretrained in tokenizer with multiprocess. So I refactor it into downloader.py and anyother module can use it with small changes.

please review it @sijunhe thx.


Fix the database model of the DeployServiceEntity  from De/serialize model to  relation model

[ ]  As we used the De/serialize model temporarily, we must resolve the database model issue.
[ ] Try to fix the Table names to Upper-case. (We had some issues with the h2 database, but we still should have some further exploration on this.)

fix by #193


Material UI Checkbox

I want to combine 2 values onto label of the checkbox. Currently checkbox label looks like <Checkbox
key={globalCurrency.id}
label={globalCurrency.longDesc}
onCheck={() => this.handleCheck(globalCurrency.id)}
/>
I want to add another shortDesc from globalCurrency and append to the longDesc. Any suggestion?

I'm closing this because I cannot see that it is not particularly a redux-form issue, or question. Try Stack Overflow or string concatenation/literals:
label={`${gloablCurrency.longDesc} ${globalCurrency.shortDesc}`}


[VEN-1151][VEN-1152] send reserves to protocolShareReserve

Description
This PR will add feature to move reserves fund from vToken to protocolShareReserve
Resolves [VEN-1151][VEN-1152]
Checklist

[ ] I have updated the documentation to account for the changes in the code.
[ ] If I added new functionality, I added tests covering it.
[ ] If I fixed a bug, I added a test preventing this bug from silently reappearing again.
[ ] My contribution follows Venus contribution guidelines.

@GitGuru7 maybe we want to include this reduceReservesBlockDelta to AddMarketInput so that we don't accidentally forget to set this value?

@GitGuru7 maybe we want to include this reduceReservesBlockDelta to AddMarketInput so that we don't accidentally forget to set this value?

If you're referring to the PoolRegistry addMarket input, we can certainly add it so that we don't have to initialise it each time we add a new market in the VIP, but I'd prefer to keep it outside the scope of this ticket.
cc: @chechu

@GitGuru7 maybe we want to include this reduceReservesBlockDelta to AddMarketInput so that we don't accidentally forget to set this value?

@kkirka if you're referring to the PoolRegistry addMarket input, we can certainly add it so that we don't have to initialise it each time we add a new market in the VIP, but I'd prefer to keep it outside the scope of this ticket WDYT?
cc: @chechu

We have VEN-2094 for it. Out of the scope for this PR


Multiple rasters for one palette

It's splat-side only I think. we should probably have a chat about how it works and how it should work. cause the current stuff was kinda just done for PM and not much has been changed since


Submitting Codes for STARTER 57 , LTIME112 & STARTER 58

I have submitted some of the Div-4 codes of the contests - STARTER 57 , LTIME112 & STARTER 58
#3 #4 #5

@swoyam2609 just have a look at it and reply if you see any mistakes..


Clarify behavior of resolve.extensions.

I was confused about the behavior of resolve.extensions. This is my attempt to clarify the docs.
Please only accept this PR if you believe what I wrote is accurate.
EDIT:
Fixes #2899

Thanks!


west: Update hal_stm32 module for stm32f0 series cube update

Update Cube version for STM32F0XX series
from version: V1.9.0
to version: V1.10.1
Requires zephyrproject-rtos/hal_stm32#4 (merged as: https://github.com/zephyrproject-rtos/hal_stm32/commit/ac2f5afcabfb934cb0b8b2df8e94163da1103032)
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Superseded by #16984


example for 'rcfile' on ale_python_pylint_options

Two hyphens instead of one will enable the option rcfile.

Cheers! :beers:


Upgrade tests for gatewayd fail vs master

https://github.com/fedimint/fedimint/actions/runs/10394815688/job/28785468549
I haven't done any investigation, but this appears to be the last log prior to failing
2024-08-14T20:54:19.272451Z  WARN fm::core: Getting {} gateway info via gateway-cli info failed error=command: gateway-cli --rpcpassword=theresnosecondbest -a http://<IP_ADDRESS>:10661/v1 info attempts=11
thread 'tokio-runtime-worker' panicked at /run/github-runner/runner-02-cc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/context/current.rs:50:46:

https://github.com/fedimint/fedimint/actions/runs/10394815688/job/28785468549#step:6:1364

Investigating a little further, I think this might be the culprit https://github.com/fedimint/fedimint/pull/5663/files#diff-603d3cdc5619150c24a716fb0a053d804eb730d280c278c278aa8616ab9951de

Note from call: broke backwards compatibility between gatewayd and cli-extension, which in theory we're not maintaining anyway because gateway operators should be running the same version. Devimint didn't assume that though. After that happened the parallel channel open broke upgrade tests again, @m1sterc001guy is on it