Adding Rector: Dead Code, Code quality, Coding Style, Type Declarations, Early return

Introducing Rector and updating the code for:

Dead Code;
Code quality;
Coding Style;
Type Declarations
Early return
Updating old PHP code (in order to use at least the PHP 7.3 , at the moment the oldest PHP version supported by Storyblok PHP client)

The configurarion:
->withPhpSets(php73: true)
->withPreparedSets(
deadCode: true,
codeQuality: true,
codingStyle: true,
typeDeclarations: true,
earlyReturn: true

);

Running all tests are still green

Hi @RicLeP  i see your comments, thank you!
So are you suggesting to avoid yoda style, so i can set in the PHP cs fixer configuration :
    'yoda_style' => [
        'always_move_variable' => false,
        'equal' => false,
        'identical' => false,
        'less_and_greater' => false,
    ],

What do you think ?

It’s a code style choice so not essential, however I think it’s usually recommended, but go with what you feel it best. :)

Since PSR-12 its not recommended to use yoda style due to less readability of the code. However i prefer yoda style as well :)


Lib needs to be updated to latest src build

Commit #33 fixed the problem where readFileSync returns a buffer instead of a string. This was due to not specifying the encoding option.
Although, the source file was fixed, the transpiled file in lib was not checked in.
The latest gulp-tsb npm continues to not specify the encoding option.
BTW: Why are the transpiled files in lib checked in? They should be .gitignored.

@jrieken please publish a proper release. Thank you.

Sorry, that was an oversight. Published as 1.10.3


Fix WLR_DIRECTION enums

Having 0 as an enum value causes wlr_output_layout_adjacent_output() to
never match WLR_DIRECTION_UP.
See here: https://github.com/swaywm/wlroots/blob/31857c9ed40a6bf34273b0459d2aa604642d1807/types/wlr_output_layout.c#L458
To test:

In sway, have two outputs arranged vertically.
With focus on the bottom output, do focus up

If we do bitwise operations like this, shouldn't the enum have power of 2 values?

We're treating these like a bitfield? If so, then yeah, they should be powers of two. But are we doing that?

Well…
if (direction & WLR_DIRECTION_UP)

Then yeah, that's wrong.


[Atleta Network] Add support for Atleta Testnet - Atleta Olympia

If this is your first time integrating, the following information is required

A short introduction about your project/team: Atleta is a Layer 1, purpose-built to cater to the novel, dynamic data demands of the sports industry based on Substrate.
Basic information about your team: https://www.linkedin.com/company/atleta-network/?originalSubdomain=ae
Whitepaper: )https://blockchain-sports.gitbook.io/atleta-network
Github: https://github.com/atleta-network/atleta/

If you want to integrate a chain, you would need to provide

Name of the blockchain: Atleta Olympia
Type of the blockchain: Substrate, EVM compatible
Blockchain providers:
https://testnet-rpc.atleta.network/
wss://testnet-rpc.atleta.network
Metadata of the blockchain: https://blockchain-sports.gitbook.io/atleta-network/testnet/olympia-information
Logo of the blockchain: https://www.figma.com/design/z9s6aLTLoUdjMwoXLyWcPz/01.SubWallet-Project-Logo?node-id=6725-30&t=oQCEQtDrJWDaKxfM-4
Block explorers:
https://blockscout.atleta.network/
https://polkadot-explorer.atleta.network/#/explorer

holder: 0xb0c287CC0FbeE2C7fa7812b60D600DdA90ed5477

Version test: http://<IP_ADDRESS>:8900/s/EJxwyd8igttL46r
Validation passed in cases:

Show network, token

Show balance

Get address

Transfer token (approve step)


Icon request for Licence

What are all the ways a license file might be named? I currently have this case insensitive regex ^license(\.(md|txt))?$.

The icon is perfect, in my memory Github always names licenses like that. Maybe modify the regex later if we get ideas, but for now it looks good.


[BugFix] Fix multi join complex depend column relation

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 8 / 8 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/MultiJoinNode.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3

@Mergifyio backport branch-2.2


codegen: field ordering

Field ordering in codegen is alphabetical.
This causes inconsistencies, e.g.:
https://discord.com/channels/707636530424053791/1034775679897718834
maven = maven.WithMountedCache(cacheID, "/root/.m2/repository")
maven = maven.WithMountedFile("/root/.m2/settings.xml", mavenSettingsId)

Proposal: Keep same field ordering as defined in the schema
This is actually tricky to do because the introspection query returns a random order.
Solutions:

Patch graphql-go so schema field ordering is preserved in the introspection API (preferred solution)
Change codegen to no longer use introspection query. Instead, parse the schema directly, hopefully keeping the same order. Requires adding an API endpoint to retrieve the raw schema (e.g. query { _sdl })

/cc @vito @sipsma @helderco

Duplicate of https://github.com/dagger/dagger/issues/3554


did anyone use this library in conjunction with wav2vec?

looking for help to recreate https://arxiv.org/html/2402.17485v1
wip - https://github.com/johndpope/emote-hack

@lucidrains  - do you have any bandwidth to help ?
I'm close - but it all rests on code I dont fully understand.
https://github.com/johndpope/Emote-hack/blob/main/Net.py


"Creating a simple DAG Driver for Knative"

Summary
In current implementation, single execution of go run cmd/loader.go --config cmd/config.json would invoke individual functions with a set frequency.
This DAG Driver would invoke all the functions sequentially, following the frequency of the first function.
Implementation Notes :hammer_and_pick:

Added new functions individualDAGDriver() and invokeDAG() that takes in the list of provided functions and invokes them in a loop
Added a new parameter DAGMode in cmd/config.json to toggle DAGMode
Added new structs InvocationMetadataDAG to parse in the list of functions into individualDAGDriver()

External Dependencies :four_leaf_clover:

(N/A)

Breaking API Changes :warning:

(N/A)

Simply specify none (N/A) if not applicable.

Please elaborate more on the operation of the proposed changes, why, what, how in the PR description. The documentation should also be in the repo docs.
Also, follow instructions from vhive contributing guide and signoff your commits.

Have updated the PR description, loader.md document and signed off. Do let me know if there is anything else to update.

Please be more descriptive of how it should be used. Like, you didn't mention the structure of the new file with DAG structure. Moreover, there is no example file. This is important since not everyone would dive into the code to determine the file's structure.
In addition, fix the spellcheck CI (add the word into the wordlist .github/configs/wordlist.txt).

LGTM. @cvetkovic Please review as well.


Add github action to lint, build & test code on push to master

TODO
Add github action to lint, build & test code on push to master
Additional context
Add possibility to Switch build status badge in readme to action status

My finding:
https://github.com/rosen-group/ngx-onboarding/blob/master/.github/workflows/master-ci.yml

I added also Ossar analyse


first load provider ,not  middlerware

Laravel Version: 5.5.4
PHP Version:7.1
Database Driver & Version:5.7

Description:
framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
 /**
     * Resolve request signature.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return string
     * @throws \RuntimeException
     */
    protected function resolveRequestSignature($request)
    {
        if ($user = $request->user()) {
            return sha1($user->getAuthIdentifier());
        }
        if ($route = $request->route()) {
            return sha1($route->getDomain().'|'.$request->ip());
        }
        throw new RuntimeException(
            'Unable to generate the request signature. Route unavailable.'
        );
    }

$user = $request->user()

this code will cause  the program to load provider first,not middleware.  So when i first set some value, it don't effect.
Steps To Reproduce:

Steps To Reproduce are missing, report is vague, please complete the issue report.

Even I am facing the same issue, can you @themsaid  please tell me why are global middlewares executed before service providers are loaded ?

That's the how the framework is supposed to work, I suggest that you share your use case in the forums, I'm sure someone will be happy to help you get around this and achieve your goal.


Broken UI in sharerpoint

Hello Team,
I added react-chat-widget library to by SharePoint framework extension solution
when  i execute it  the chat window brokes like below:

if you have any suggestion to fix this issue.
except UI every thing is working properly.
Thanks & Regards
ShivaPrasad Pola

It seems you haven't loaded css


Cannot load saved tflite model when model contains dropout. However quantization-aware model is fine.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
TensorFlow installed from (source or binary): No
TensorFlow version (use command below): 2.5.0
Python version: 3.8.9
CUDA/cuDNN version:  cuDNN-<IP_ADDRESS>. CUDA-11.2.0

Describe the current behavior
If a model contains dropout layers, if can be converted to tflite, but the tflite model cannot be loaded. The error message is:
ValueError: Did not get operators or tensors in subgraph 1.

Confusingly, if I make the model quantization-aware, the model can be successfully converted to tflite and loaded. Does QAT automatically remove dropout?
Describe the expected behavior
If a tflite model that contain dropout is not supported, then the desired behavior are:

Raise an error during tflite conversion instead of at runtime. Or
Remove the dropout operation during tflite conversion.

Standalone code to reproduce the issue
import numpy as np
import tensorflow as tf
import tensorflow_model_optimization as tfmot

quantize_annotate_layer = tfmot.quantization.keras.quantize_annotate_layer
quantize_apply = tfmot.quantization.keras.quantize_apply

def get_model(quantization_aware: bool = False):
    input_embeddings = tf.keras.Input(shape=(512,), dtype=tf.float32, name="input_embeddings")
    is_training = tf.keras.Input(shape=(), dtype=tf.bool, name="is_training")

    x = tf.keras.layers.Dropout(rate=0.5)(inputs=input_embeddings, training=is_training)

    if quantization_aware:  # apply quantization to dense layer and return quantization-aware model
        out = quantize_annotate_layer(
            tf.keras.layers.Dense(units=512,name="dense")
        )(x)

        model = quantize_apply(
            tf.keras.Model(
                inputs=[input_embeddings, is_training],
                outputs=[x, out],
                name="toy_model",
            )
        )
    else: # return vanilla model
        out = tf.keras.layers.Dense(units=512,name="dense")(x)
        model = tf.keras.Model(
            inputs=[input_embeddings, is_training],
            outputs=[x, out],
            name="toy_model",
        )

    return model

def convert_to_tflite(saved_model_path, output_model_path):
    converter = tf.lite.TFLiteConverter.from_saved_model(str(saved_model_path))
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.target_spec.supported_ops = [
        tf.lite.OpsSet.TFLITE_BUILTINS,
        tf.lite.OpsSet.SELECT_TF_OPS,
    ]
    tflite_quant_model = converter.convert()

    with open(output_model_path, "wb") as fh:
        fh.write(tflite_quant_model)

model = get_model(quantization_aware=False)  # set to False will raise the error. Set to True the code runs successfully.
input_data = np.random.rand(16, 512)
embeddings, out = model([input_data, True])

model.save("toy_model")

convert_to_tflite("toy_model", "toy_model.tflite")
interpreter = tf.lite.Interpreter("toy_model.tflite")

I'm wondering how should I deal with dropout layer in tflite? As dropout is essential for training, how can I export a trained model without dropout? This is a similar issue, and I'm not satisfied by the workaround proposed there.

Oh I figured out what I did wrong and also the correct way to use dropout.
Basically I shouldn't explicitly pass the training argument to dropout layer, it is handled during model invocation where we can tell the model to be in training mode by out = model(input_batch, training=True. This way tflite can handle dropout correctly.

@HongtaoYang I was checking if this is still an issue.
I have tried with TF Nightly 2.13.0-dev20230308 and TF MOT 0.7.3. I did not face any error while quantization_aware = False. Please find the gist here.
It is observed that dropout is indeed removed during the conversion when observed in netron.
Thanks.


Can not differentiate between ÷ for a + in math block

Describe the bug
It is difficult to differentiate between ÷ for a + on any math operation causing students regularly to stumble when following along.
To Reproduce
Steps to reproduce the behavior:

Go to math category
Drag in a math block
Set it to ÷
See how close it look like a plus sign, assuming you are a student following along from a projector.

Expected behavior
We should think about using a / instead of ÷, which shares the same meaning, but looks very different.
Additional context
This was mentioned by a teacher that deals with this issue consistently resulting in time wasted helping them debug the issue.

This is fixed. Thanks @srietkerk


Do not start the wrong version of python

Right now python and python3 language plugin will fallback to the "other version" of python if the one requested does not start.
This can create confusion to the user - they should properly fail.

i believe this error is reported correctly now.


Window initial size too big, resize not remembered

On my PC, with initial open of SmartRename window it always opens to a restored size that is slightly larger than the display screen, with minimize, maximize, close controls and caption menu only just visible. Maximizing the window results in normal full screen occupation (it shrinks the window a bit to fit). Resizing the restored window works okay but is not remembered for next opening
My PC has main display connected via DVI as 1366 x 768 and secondary display connected via HDMI as 1280 x 720.
Edition: Windows 11 Pro
Version: 24H2
OS build: 26100.2454
Experience: Windows Feature Experience Pack 1000.26100.36.0
Graphics Adapter: Intel UHD Graphics 770
Full Screen capture from Snipping Tool is below (after opening SmartRename via right-click context menu on an empty directory in Windows Explorer):

It looks like you've posted in the wrong place. That's a screenshot of PowerRename which is one of the tools in Microsoft's PowerToys package.

It looks like you've posted in the wrong place. That's a screenshot of PowerRename which is one of the tools in Microsoft's PowerToys package.

Ah, yes, you are correct. Please accept my appologies.


Panel Mode: Fit: Fill - No longer works as expected

Checklist:

[X] I updated to the latest version available
[X] I cleared the cache of my browser

Release with the issue:
5.2.0
Last working release (if known):
Not sure, but it was a few releases ago.
Browser and Operating System:
Firefox or Chrome

Description of problem:

I have the frigate card in use on a dashboard using panel mode. I have it configured such that the video fills the screen. In prior releases it would work properly and there would not be scroll bar on the right hand side. Recently I noticed that the scroll bar is back. The odd thing is, on the first load of the page in a fresh browser session (it can be Firefox or Chrome), it will load properly filling the screen without a scroll bar, then the "Live: " notification pops up in the lower right hand corner, and the scroll bar appears.
Thank you for your help, this is such an amazing project!

Frigate card diagnostic information

Card diagnostics. Please review for confidential information prior to sharing

{
  "ha_version": "2023.7.1",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0",
  "date": "2023-07-11T14:18:46.966Z",
  "frigate_version": {},
  "lang": "en",
  "timezone": "America/New_York",
  "git": {
    "build_version": "5.2.0-HEAD+g69249b6",
    "build_date": "Fri, 23 Jun 2023 15:26:26 GMT",
    "commit_date": "Thu, 22 Jun 2023 09:21:26 -0600"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.driveway",
        "title": "Driveway",
        "frigate": {
          "camera_name": "driveway"
        },
        "live_provider": "jsmpeg"
      },
      {
        "camera_entity": "camera.frontyard",
        "title": "Front Yard",
        "frigate": {
          "camera_name": "frontyard"
        },
        "live_provider": "jsmpeg"
      },
      {
        "camera_entity": "camera.basement",
        "title": "Basement",
        "frigate": {
          "camera_name": "basement"
        },
        "live_provider": "jsmpeg"
      },
      {
        "camera_entity": "camera.basement_inside",
        "title": "Basement - Inside",
        "frigate": {
          "camera_name": "basement_inside"
        },
        "live_provider": "jsmpeg"
      },
      {
        "camera_entity": "camera.backyard",
        "title": "Back Yard",
        "frigate": {
          "camera_name": "backyard"
        },
        "live_provider": "jsmpeg"
      },
      {
        "camera_entity": "camera.backyard_shed",
        "title": "Back Yard - Shed",
        "frigate": {
          "camera_name": "backyard_shed"
        },
        "live_provider": "jsmpeg"
      }
    ],
    "live": {
      "controls": {
        "next_previous": {
          "style": "chevrons"
        },
        "thumbnails": {
          "mode": "right",
          "show_details": true,
          "show_timeline_control": true
        },
        "timeline": {
          "mode": "none"
        }
      },
      "transition_effect": "none",
      "draggable": false,
      "layout": {
        "fit": "fill"
      }
    },
    "timeline": {
      "show_recordings": true,
      "controls": {
        "thumbnails": {
          "mode": "below"
        }
      }
    },
    "media_gallery": {
      "controls": {
        "thumbnails": {
          "show_details": true
        }
      }
    },
    "media_viewer": {
      "layout": {
        "fit": "fill"
      },
      "controls": {
        "timeline": {
          "mode": "none"
        }
      }
    },
    "image": {
      "layout": {
        "fit": "fill"
      }
    },
    "dimensions": {
      "aspect_ratio_mode": "dynamic"
    }
  }
}

Javascript errors shown in the web inspector (if applicable):

Additional information:

Hi @cweakland , I agree with what you expect. I wonder if this isn't a HA problem -- I can make a new panel dashboard, with a simple picture element card (not a frigate card), and it will spill slightly over the full "screen" the same way. It appears to spillover the same amount as the Frigate card does.
Do you see the same thing?

A picture card spills over at the initial screen load. The frigate card spills over once it fully loads the content. Its not a big deal, its just a cosmetic thing that changed at some point.

A picture card spills over at the initial screen load. The frigate card spills over once it fully loads the content. Its not a big deal, its just a cosmetic thing that changed at some point.

Understood -- my point is I think it changed in Home Assistant, not the Frigate card! It might be good to open a bug over there with a Picture Element example (since that is stock and should work out of the box).

I'm going to close this as I can't see any behavior difference between the Frigate card and stock HA cards in panel mode. If you think there's something else to do here, please re-open and we can discuss! Thanks.


[Forecasted Pipeline] Update PublishGrantEvents lambda

Blocked by

#874

Blocks
N/A
Why is this issue important?
We want forecasted grants available in our dataset (alongside active grants) so we can integrate them into the product for our users.
Current State
The PublishGrantEvents lambda function is responsible for taking new and updated grants in our DynamoDB and publishing those updates as events for GOST to consume and store in our postgres database. However, this lambda specifically handles grant fields but not forecasted grant fields.
Expected State
The lambda should add additional logic in mapper.go to handle the new forecasted specific fields (see field reference here, as well as the target schema documentation in openapi/openapi.yaml to be implemented in https://github.com/usdigitalresponse/grants-ingest/issues/874) like EstimatedAwardDate. It should also add a denormalized IsForecasted boolean field.
Implementation plan
Should be gated behind the is_forecasted_grants_enabled flag.
Exact implementation TBD

Sprinkling some documentation assets around:

Federal Grants data field mappings spreadsheet
LucidChart diagram (companion to the above) collaboration

View-only diagram published 2024-07-29


ensure the expected dotnet CLI is actually present

If a machine had a previous successful install of the dotnet CLI before DotnetCLIToolsVersion.txt was updated, the previous installation semaphore is still present which skips the installation of the new tool.
Without this change, build.cmd ci_part3 fails on a clean machine.

@brettfo does inittools.sh have the same issue

init-tools.sh doesn't appear to use a semaphore object.


Nix devshell

I created a nix devshell for the project.
Features/what is this for?
For anybody who uses the nix (or lix) package manager (with the nix3-commands and flakes features enabled) and wishes to use verus without installing all the programs (z3 and its settings, rustup and its settings, vargo, ...) system wide.
How to use it
You need to install that package manager beforehand.

a dev shell is an environment that contains all the dependencies for the project. It is an environment for developing the project. Enter it with nix develop. This is especially useful for collaborative coding, since everybody gets the same setup very easily.
I packaged vargo. The package can be installed or made accessible in a nix shell.  Known drawback: it only works when rustup is installed on the system.

Known limitations:

vargo calls rustup, therefore directories ~/.cargo and ~/.rustup will be modified. Yes, that are the folders in the users home.
the hash check during cargo build is removed. This might lead to harder-to-find errors later on
the z3 version is hardcoded. If it's updated in the project, it also needs to be updated here.

Open questions

The flake.nix is usually in the project root, but I can move the other files that I added. Where should they go?
What is up with pub const EXPECTED_CVC5_VERSION: &str = "1.1.2";? As far as I can see, this does not reference any program that is installed in the background (according to the install guide).

What is up with pub const EXPECTED_CVC5_VERSION: &str = "1.1.2";?

We recently added experimental support for using cvc5 as a backend.   It's not needed to use Z3, nor do we expect most Verus users to use this support (or install cvc5) at present.

Ok. What is the variable called where verus expects the executable to be? (I can't see it in the installation docs.)

It follows the same procedure as for Z3 (i.e., it will look in the same directory as the verus executable, check the VERUS_CVC5_PATH environment variable, etc.).  But this feature isn't stable and might never be (which is why it isn't in the installation docs), so I think you might want to hold off on adding it to the devshell for now.

So, normally, the devshell would be intended for developping verus, so it would make sense.
But since it's currently kind of impossible to just package verus for just using it, the devshell picks up the additional task here.
I could create two different devshells for the task, or I can just add cvc5 to the main one, just in case someone uses it.

Ah, okay, sounds good.


Investigate if https://staticcheck.io/ can and should be added to the Go code checks

https://staticcheck.io/ is an additional option for Go code quality checking. Investigate if it's appropriate to add along with go vet.

@another-rex also mentioned https://golangci-lint.run/usage/linters/

Also related: https://github.com/golang/vuln/blob/master/checks.bash

In osv-scanner we use https://golangci-lint.run/ which includes staticcheck as one of the options. We might want to just copy over osv-scanner's config file and apply it to all the go code in this repo as well.


Fix automated PRs manager detecting E2E CI jobs

What this PR does / why we need it:

Fixes an issue where the automated PRs manager workflow could not detect e2e jobs in CI runs because they were renamed to E2E instead of e2e.
Which issue(s) this PR fixes:

Does this PR require a test?

NONE
Does this PR require a release note?

NONE

Does this PR require documentation?

NONE

Merging as this does not affect tests.


[Feature]: Generate summarized single-file data with brief:writeDataJson

What problem does this feature solve?
I may misunderstand, but brief mode's writeDataJson seems to like emit full analytics to generate the output html. For the processing in the remote system (CI, for example) hope if there's a simplified single json file instead.
What does the proposed API look like?
Mainly I'm intererested in few metrics like

build size : total, js, assets, Record<filename, {type, size}>
build time: span for the event { eventType, started, completed, parent }

if it's possible, brief mode have an option to accept which information to be included in summary but can't say for sure what type of values can be easily picked.

Thanks~ Good idea!I will add this feature as soon as possible this month.


Remove console.log debug messages from the master branch

Some commits 25 days ago left in a lot of console.log debug messages that are unnecessary.  They are fine in the dev branch, but not in master please :-)

Hi there @Raikia ,
We'll remove it in the next one, thank you !


The OCR workflow not working

Hi
I have installed and tried the OCR workflow, but it doesn't seem to be working. Is installing the workflow enough or should I download the AlfredOCR.swift file and put it somewhere as well? If yes, where?
I'm using MacOS 13.2.1 and Alfred 5.
The Mac asked me to grant screen recording access to Alfred when I ran the workflow for the first time, and I approved.
Here is the output of the workflow log:

Apparently the screen recording access wasn't granted for some reason.
A minor improvement could be if workflow alerted again if the access wasn't granted.

Hey @saeedesmaili, screen recording permissions are a MacOS and Alfred thing, the workflow doesn't explicitly check for that. But I'm glad you got it working.


publish<EMAIL_ADDRESS>

Requested by: @AbhiPrasad
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Targets

[ ] aws-lambda-layer
[ ] gcs
[ ] github
[ ] npm
[ ] registry

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

@AbhiPrasad nit: https://github.com/getsentry/sentry-javascript/pull/4584/files#r807639638

Re-ran CI, it’s green now. We are good to slam the label!

Ember flake, re-ran the jobs

3rd times a charm!


[5.1] Testing “failed” requests

I'm not sure where this problem comes from, if it's PHPUnit, the web crawler, Symfony or Laravel. There also might be a better way of testing this kind of thing - if someone could point me to it that would be great!
That said, here's what I'm trying to achieve:
I have a route which for whatever reason is unauthorized:
Route::get('/test', function () {
    abort(403);
});

I have the following test to make sure it is indeed inaccessible:
/**
 * You shall not pass!
 *
 * @expectedException Symfony\Component\HttpKernel\Exception\HttpException
 */
public function testUnauthorizedRoute()
{
    $this->visit('/test');
}

However, when I run phpunit, the exception is not caught as per the @expectedException annotation... I get the following error message instead:
There was 1 failure:

1) ExampleTest::testUnauthorizedRoute
A request to [http://localhost/test] failed. Received status code [403].

/Users/Wayne/source/laravel-test/vendor/laravel/framework/src/Illuminate/Foundation/Testing/CrawlerTrait.php:259
/Users/Wayne/source/laravel-test/vendor/laravel/framework/src/Illuminate/Foundation/Testing/CrawlerTrait.php:177
/Users/Wayne/source/laravel-test/vendor/laravel/framework/src/Illuminate/Foundation/Testing/CrawlerTrait.php:59
/Users/Wayne/source/laravel-test/tests/ExampleTest.php:12
phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:176
phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:129

Caused by
exception 'Symfony\Component\HttpKernel\Exception\HttpException' in /Users/Wayne/source/laravel-test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:882

I do currently have a workaround, the actual exception thrown is an instance of PHPUnit_Framework_ExpectationFailedException, so I just catch it and check the message:
try {
    $this->visit('/test');
} catch (\Exception $err) {
    $this->assertContains('Received status code [403]', $err->getMessage());
}

For posterity's sake, I've created a test repo over at https://github.com/wayneashleyberry/laravel-test
You can replicate this issue by following these commands:
git clone git@github.com:wayneashleyberry/laravel-test.git
cd laravel-test
cp .env.example .env
composer install
php artisan key:generate
vendor/bin/phpunit

In these simplified examples I realise custom http requests would work, as follows:
$response = $this->call('GET', '/test');

$this->assertEquals(403, $response->status());

But I need the crawler to fill out forms, here's my real world test:
try {
    $this->visit('/auth/login')
        ->type($user['email'], 'email')
        ->type($user['password'], 'password')
        ->press('Sign in');
} catch (\Exception $err) {
    $this->assertContains('Received status code [403]', $err->getMessage());
}

Better for you to NOT use visit if you want to catch the http exception. I disagree that the solution provided by @wayneashleyberry is a good one.

Do you have a better solution @GrahamCampbell?

Yes, there are other methods other than visit that do throw the http exception, as I said. Use them.

Would you mind telling me what those methods are? I can'd find anything in the docs other than doing custom http requests.

https://github.com/laravel/framework/blob/5.1/src/Illuminate/Foundation/Testing/CrawlerTrait.php

seeStatusCode returns the same error...
        $this->visit('/auth/login')
            ->type($user['email'], 'email')
            ->type($user['password'], 'password')
            ->press('Sign in')
            ->seeStatusCode(403);

There was 1 failure:

1) AuthTest::testUnauthorizedLogin
A request to [http://testing.lvh.me/auth/login] failed. Received status code [403].

You CAN NOT use the visit method if you want to catch the http exception, because the visit method throws straight away.

So is this basically not possible?

How could you possibly be typing email or password when the server already return 403? Does it still return the form when you visit it using a browser?

@crynobone /auth/login returns a 200
I want to test a user filling out the login form, submitting it and getting a 403 in response.

I'm struggling to get $this->call('POST', '/auth/login', $user); to work because of the CSRF protection.

Please ask on the forums.

/**
     * You shall not pass!
     *
     * @expectedException PHPUnit_Framework_ExpectationFailedException
     * @expectedMessage Received status code [403]
     */
    public function testUnauthorizedRoute()
    {
        $this->visit('/test');
    }

This being handled via CrawlerTrait itself, https://github.com/laravel/framework/blob/5.1/src/Illuminate/Foundation/Testing/CrawlerTrait.php#L250, called from makeRequest.

I might end up doing that, thanks @crynobone


Stm32 common I2C

WIP - DO NOT MERGE
F4/L1 - works
F3/F7 - work when not sending STOP; TODO: timing is hardcoded, code needs to be added to calc based on core i2c clock.
F1 - same i2c module as F4/L1 but right now always gets NACK from device (investigating this)

Oops, SPI merge just broke most stuff here, rebase to follow! :-P


Fix brass knuckles

The multi-hit melee weapon component is currently not hooked up properly. Just ensure it behaves as expected (hits three times, each hit has a different animation), and calls FireFinished as expected.

https://github.com/apetavern/grubs/commit/f7233b54eabc96e6b7247de1be413a9869ad04d1
https://github.com/apetavern/grubs/commit/09d019f35672e297306ee135f6ebbebf8854698e
https://github.com/apetavern/grubs/commit/731495b7ee6f558ef90c7e623e61b304a796a155


protocolsDir for maven plugin

@rultor release, tag is 0.10.0

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.10.0

@yegor256 Done! FYI, the full log is here (took me 10min)


Is the project dead?

Hi there,
I've not seen any updates on the app. Is the project alive or are there any other plans for active development?

Hi mate,
The project is definitely still active with plans for the future, I'm just having a hard time finding time to work on them at the moment.
You can have a look through the open issues but I'm looking at support for multiple records per day, notifications and improved exports.
I'm definitely open to any PRs if you'd like to work on anything yourself.


Put everything in Context behind the same Mutex

Closes https://github.com/emilk/egui/issues/1005

Closed in favor of https://github.com/emilk/egui/pull/1050


Replace ../foo/index.md with /modules/foo/index.md

This will make it easier to re-use.
(still issue with the "Next" link though)

I think you've done this. Closed.


Handle no go-import meta tags error in sysl modules

Steps to Reproduce

test.sysl

import<EMAIL_ADDRESS>
BusinessServices[~ignore]:
    ...

sysl validate --root . -v test.sysl

Expected behavior:
no error
Actual behavior:
no go-import meta tags ()

Sysl now will match the current version if the current working directory is the same as the imported module: #917.
For modules which are hosted in private server, see details in go help importpath.


Add workflow to check PRs (build/test/check_fmt)

Add a simple workflow to cross check if PRs and commits to main work.
Based on this: https://github.com/C0D3-M4513R/DexProtectOscRS/blob/main/.github/workflows/rust.yml
Depends on https://github.com/vrchatapi/vrchatapi-rust/pull/20

Mixes #17 #20 and #19 in now. I thought this pr was supposed to be a ci only change?

The branch was forked of #17, didnt notice. Fixed.


allow localtime configuration

Proposed changes
Allow localtime configuration for containers in splunk-kubernetes-logging
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

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

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I have read the CLA
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Thank you!


jgmenu: 0.7.5 -> 0.7.6

Motivation for this change
Update to version 0.7.6
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@grahamcofborg build jgmenu


wpbt alread exists

How can I del the existed wpbt?

The tool does not support that.
If you like, you can do it in a couple ways easily:

Change the code so that the tool add our table on the top of existing one. Hope Windows uses our table over existing one.
Change the signature of the existing ACPI table (first 4 bytes IIRC) using the mm command, or by modifying tool's code, to that existing table is invalidated, then run the tool to install ours.

The tool does not support that.
If you like, you can do it in a couple ways easily:

Change the code so that the tool add our table on the top of existing one. Hope Windows uses our table over existing one.
Change the signature of the existing ACPI table (first 4 bytes IIRC) using the mm command, or by modifying tool's code, to that existing table is invalidated, then run the tool to install ours.

“Windows only consumes one”，How can I modiy the code？
#if (EfiLocateFirstAcpiTable(EFI_ACPI_5_0_PLATFORM_BINARY_TABLE_SIGNATURE) != NULL)
{
ErrorPrint(L"WPBT already exists. Exiting the program.\n");
status = EFI_ACCESS_DENIED;
#1         goto Exit;
}
just comments them？

2. Change the signature of the existing ACPI table (first 4 bytes IIRC) using the mm command, or by modifying tool's code, to that existing table is invalidated, then run the tool to install ours.

This is my wpbt via Firmware tables view tools.
How can I change the 4 bytes of wpbt, what is the address of wpbt acpi? Is it 0x 7d e6 00 18?


Imagine of major release

template(starter) = theme
the theme and template(starter) should be together, which means is a theme is a template(starter).
Therefore, the template will become a basic next.js project. I am very clear that the theme should be separate from blogkit config file.
The starter should use yarn, the main reason is Vercel uses yarn.
reduce threshold
use js in template, not ts. (core sure ts)
breaking
remove theme field in blogkit.config.js, reason see above.
getHomePageStaticProps -> getPostListStaticProps
getPostPageStaticProps -> getPostStaticProps

setting the theme in config file makes extending pages or features hard.

change then request to adapter in blogkit.config.js


Control.Elab.ovlddisable: Disable integer overloading

This change adds the controls flag ovlddisable that prevents the toplevel functions ~ + - * div mod < <= > >= abs as well as integer and word literals from participating in overload resolution.
These functions will take on their default types, which is int for the functions and integer literals, and word for word literals.
Description

This adds the flag to the Elaborator controls file.
It also adds a dummy "Overload.new" function that resolves variables and literals immediately, instead of waiting.
Motivation and Context

When teaching Standard ML, one thing to stress is how everything is properly typed.
Showing this off in SML/NJ leaves one bewildered:
- [1, true];
stdIn:1.2-1.11 Error: operator and operand do not agree [overload - bad instantiation]
  operator domain: 'Z[INT] * 'Z[INT] list
  operand:         'Z[INT] * bool list
  in expression:
    1 :: true :: nil

This issue has even gotten worse from older releases, since in 110.79.0 the overloaded types were displayed as [int ty] instead of the scary 'Z[INT].
With this flag, one gets a much nicer error message:
- Control.Elab.ovlddisable := true;
- [1, true];
stdIn:4.1-4.10 Error: operator and operand do not agree [tycon mismatch]
  operator domain: int * int list
  operand:         int * bool list
  in expression:
    1 :: true :: nil

This commit is not aimed at the development version of SML/NJ for good reason: this is a hack.
Really the compiler should either instantiate overloaded types before showing them to users such as MLton does.
But since SML/NJ is currently being used by students that have no use for language features such as overloading, this should be able to be hidden from view.

How Has This Been Tested?
This has not been extensively tested.

It is unclear what happens when one has a non-default-type literal.  Will something like
fun fact (ba, i, b) = Word8Array.update(ba, i, b+0w1);

typecheck?

This PR is somewhat of a mess; in it's current state the flag is only potentially useful for debugging purposes.
Enabling the flag prevents all overload instantiation, including your example: you would need to write:
fun fact (ba, i, b) = Word8Array.update (ba, i, b + Word8.fromInt 1);


BUG in new tests

Description

Related Issues

Failed run: https://github.com/recommenders-team/recommenders/actions/runs/6239152244
References

Checklist:

[ ] I have followed the contribution guidelines and code style for this project.
[ ] I have added tests covering my contributions.
[ ] I have updated the documentation accordingly.
[ ] This PR is being made to staging branch and not to main branch.

Spark nightly pass: https://github.com/recommenders-team/recommenders/actions/runs/6240331957/job/16940218200
GPU nightly pass: https://github.com/recommenders-team/recommenders/actions/runs/6239152235
CPU nightly pass:

We still have some references to Microsoft in the text we should review in another PR e.g. https://github.com/recommenders-team/recommenders/blob/bug/new_tests/SECURITY.md#:~:text=Security-,Microsoft,-takes the security

Also in setup.py the Microsoft references need to be fixed.
And another PR to regenerate the documentations page.

I guess also contributing license is not relevant any more and should be replaced with something from LF.

I updated your comments @anargyri. I´m not sure about the new email given by the LF, I´ve tried to write them to see how it works.

We still have some references to Microsoft in the text we should review in another PR e.g. https://github.com/recommenders-team/recommenders/blob/bug/new_tests/SECURITY.md#:~:text=Security-,Microsoft,-takes the security

can you create an issue for that to track? or did you already created one?

can you create an issue for that to track? or did you already created one?

Tracked here: https://github.com/recommenders-team/recommenders/issues/1997


use HF dataset

Hey, just updated this to use a HF dataset instead of a zip file

Thank you so much @johko  :)
apologies I was not able to do it. And thank you @klyap


Speed up dependabot enabling script

Ready for cronning

An example (just 10 repos) of the output from this is:
python cyber_dependabot.py
INFO:root:Starting processing 10 repos...
INFO:root:repo: publisher, PUT: 204,
INFO:root:repo: gds-sso, PUT: 204,
INFO:root:repo: whitehall, PUT: 204,
INFO:root:repo: capistrano_rsync_with_remote_cache, PUT: 204,
INFO:root:repo: frontend, PUT: 204,
INFO:root:repo: slimmer, PUT: 204,
INFO:root:repo: govspeak, PUT: 204,
INFO:root:repo: imminence, PUT: 204,
INFO:root:repo: plek, PUT: 204,
INFO:root:repo: static, PUT: 204,
INFO:root:Counter({204: 10})

By my estimates (above), it should take less than 3 minutes to run this.

https://github.com/alphagov/cyber-security-security-advisory-dashboard/pull/106/commits/a1ccc7c54450cef69c57a708b04e7c83c1c3f51c is juuuuust for @akinnane :ok_hand:

LGTM


Run SFTP commands

Hi, is it possible to run SFTP commands such as "cd", "ls", "pwd", etc. (with custom parameters/arguments) through this module? We have a SFTP server where we want to run some of these commands.

Yes, it's in the examples
https://github.com/EvotecIT/Transferetto/blob/1feb05836211f04972a2e84f5ad079f0cfbe2705/Examples/Example08-ConnectSSH.ps1#L1-L19

I actually tried this example but it is not working in our environment because the SFTP user IDs do not have a shell associated with them. I think to connect over SSH we will require a Shell to be associated with the user. As such, was trying to find out if we can connect over SFTP and run these commands.

I wonder if you're having any specific issues with cd/ls/pwd etc?
Maybe it's related to RemotePathTransformation? https://github.com/sshnet/SSH.NET/wiki/ScpClient:-Remote-path-transformation and I just need to add that option?
Although it is for SCP, not SFTP which I've not added yet.
using (var client = new ScpClient("HOST", 22, "USER", "PWD"))
{
    client.RemotePathTransformation = RemotePathTransformation.ShellQuote;
    client.Connect();
    ...
}

But generally there is $sftpClient.ChangeDirectory('test1') to cd into specific dir. There is $SftpClient.CreateDirectory, DeleteDirectory and so on, just I've not added it.

We are trying to transfer files to an SFTP server running on Mainframe. After we connect to the SFTP server, the first command that we need to run is "ls /+mode=text" which sets the type conversion on the Mainframe side (from ASCII to EBCDIC). So generally this is what we do when we connect from the Unix side-
sftp userid@mainframe_IP
ls /+mode=text
cd DIR
get *
exit
We want to try something similar from PowerShell.

I don't see anything in the library that would help with that. Probably we would need to open a feature request in SSH.NET github and ask them if they have idea how to do it, and then we can try to translate it to powershell.

oh..ok. Thank you for checking on this.


Getting started, 6.2: tutorial doesn't work or engine generation has bug?

I ran through the tutorial to create engine but it crashes when I try to load "Events" section in the admin:
ActiveRecord::RecordNotFound in Refinery::PagesController#show

Couldn't find Refinery::Page with id=events

And besides that, on the test website, I have a missing partial. I did not investigate on any of the errors, but maybe the guide could be fixed at some point in time?
Thanks!

Hey @jipiboily,
Sorry for getting back to you so late.
Which version of Refinery CMS you're using? Did you run all of the steps when generating and installing engine?

rails generate refinery_engine events ...
bundle install
rails generate refinerycms_events
rake db:migrate

That setup is on my work laptop, I'll get to work tomorrow. That said, it was using the edge guide and edge "release" (master). That was probably the master of december 15 or 14.

And that was trying to do the exact same thing as in the tutorial...

Aha, I see the same issues you mentioned - will try to fix asap.

Now that seems to "work": it doesn't crash. But...am getting redirected from /refinery/events to /events...
You can see the full trace.

Yes, that issue still persists. I'm working on some other changes in Refinery CMS right now but I'll try to fix this in near future.

+1 :)

Any estimate on when this might be patched up @ugisozols? Thanks!

Got it, was able to get new engines up and running with the latest wave of updates to the generators. Thanks guys!


No content

Issue in ./help/tags/extensions/client/web-sdk/overview.md
there is no content on this page about tags. I dont get it if there is or how it explains tags

The page is part of the Web SDK Tag Extension section. Everything in that section refers to the Web SDK tag extension. As the page says, "For details about configuring the Platform Web SDK extension, see the Configure the Web SDK tag extension."
Closing this issue.


update zh /docs/reference/setup-tools/kubeadm/generated/kubeadm_upgra…

to address https://github.com/k8smeetup/website-tasks/issues/3588

/lgtm
/approve


error with babel

If you know how to fix the issue, make a pull request instead.

hi ,  I tried using 3.3.0 with my webpack using babel loader and when i add prettier loader to my webpack config file error happens

works fine without prettier loader
here my webpack config:
`const ESLintPlugin = require('eslint-webpack-plugin')
module.exports = {
mode: 'development',
context: __dirname + "/src/js",
entry: "./script.js",
output: {
path: __dirname + "/build",
filename: "bundle.js"
},
module: {
rules: [
{
test: /.m?js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader",
options: {
presets: ['@babel/preset-env']
}
}
},
{
test: /.jsx?$/,
use: {
loader: 'prettier-loader',
}
}
]
},
plugins: [new ESLintPlugin({})]
}`
and this is my test js file to be compiled:
async function download(url, ok) {     if (ok) {         return { name: 'Amin', family: 'Ahmady', website: http://${url}` }
} else {
throw new Error('Downloading Failed!')
}
}
async function save(data, ok) {
if (ok) {
return {
user: data,
ok: !ok,
}
} else {
throw new Error('Save Failed!')
}
}
download('github.com', true)
.then((data) => save(data, true))
.then((data) => console.log(data))
.catch((err) => console.log(err.message))
`
where is the isseu?
my prettier config if needed:
# Ignore artifacts: build node_modules

update: changing async funs to promise solved the problem but async also works without prettier loader

update: changing async funs to promise solved the problem but async also works without prettier loader

could you please format your code, because it's unreadable now

could you please format your code, because it's unreadable now

thanks for quick response sir, after  I double checked my webpack config file I find out it was my configuration mistake somewhere
LOVES <3

thanks for quick response sir, after  I double checked my webpack config file I find out it was my configuration mistake somewhere
LOVES <3


{"error":"Server Error"} trying to access https://oneuptime.com/reference/email-log

I get {"error":"Server Error"} trying to access https://oneuptime.com/reference/email-log
Linked from this page:
https://oneuptime.com/reference/introduction

Fixed: https://github.com/OneUptime/oneuptime/commit/cfb8edfab37a7ddfc2c8d27cf315e04ced59c4bd
Deploy by EOD today


Prep for cairo lang 0.11.1

Checklist

[x] Relevant issue is linked
[ ] Docs updated/issue for docs created
[ ] Added relevant tests

At this moment, tests that are using devnet fail. To make them pass we need a newer version of devnet with cairo-lang updated to 0.11.1

@karol-bisztyga Yes, this is mainly a refactoring, the only change of the logic was introduced in protostar/testing/starkware/contract_based_test_execution_state.py.
As of pyproject.toml, I think when I started to work on this task, 0.11.1a0 was not available on PyPI, so I had to install it with pip. But yeah we can put it into pyproject.toml now

Also, we probably don't want to merge this until we bump the version, right?

Yes, I think we should wait for the official release

The --profiling argument is commented out due to an error in import statement https://github.com/software-mansion/protostar/blob/14558019c151121be4ab7f6dd67b12347b3a144c/protostar/profiler/pprof.py#L4
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.

starknet-devnet requires web3 6.0.0, which brings a newer version of protobuf. That's why the error occurs


fixed errors when swap is loading

@RanCohenn I removed the useIntervalSafe as there's no strong reason to track isMounted just to avoid setState.


Can't shim 'bin\launch.bat': File doesn't exist.

PS C:\Users\toast\scoop\apps\pwsh\current> scoop install i2p-zero
Installing 'i2p-zero' (1.17) [64bit]
i2p-zero-win.v1.17.zip (32.2 MB) [============================================================================] 100%
Checking hash of i2p-zero-win.v1.17.zip ... ok.
Extracting i2p-zero-win.v1.17.zip ... done.
Linking ~\scoop\apps\i2p-zero\current => ~\scoop\apps\i2p-zero\1.17
Creating shim for 'i2p-zero'.
Can't shim 'bin\launch.bat': File doesn't exist.

Closing as this issue is stale. Please reopen if this is still an issue.


Switch to all webpack and no jspm?

Webpack is much more popular and is sort of the community standard. It might make things easier for people to understand and use if webpack is used in this repo rather than jspm

Any news on that?

Fixed with https://github.com/CanopyTax/single-spa-examples/commit/0dc6e7639b9a4f9502d5324baa3ae5d3f4a85eac


Missing CORS header despite allowing in config

I have following config yaml file:
admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address: { address: <IP_ADDRESS>, port_value: 9901 }

static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address: { address: <IP_ADDRESS>, port_value: 8081 }
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
          codec_type: auto
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match: { prefix: "/" }
                route:
                  cluster: docapi_service
                  max_grpc_timeout: 0s
              cors:
                allow_origin_string_match:
                - prefix: "*"
                allow_methods: GET, PUT, DELETE, POST, OPTIONS
                allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout
                max_age: "1728000"
                expose_headers: custom-header-1,grpc-status,grpc-message
          http_filters:
          - name: envoy.filters.http.grpc_web
          - name: envoy.filters.http.cors
          - name: envoy.filters.http.router
  clusters:
  - name: docapi_service
    connect_timeout: 0.25s
    type: logical_dns
    http2_protocol_options: {}
    lb_policy: round_robin
    # win/mac hosts: Use address: host.docker.internal instead of address: localhost in the line below
    load_assignment:
      cluster_name: cluster_0
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: <IP_ADDRESS>
                    port_value: 8080

and when doing a curl outputs as below:
nikhil@Nikhil-PC:~$ curl 'http://localhost:8081/docinterface.DocAPI/TokenTest'   -H 'X-User-Agent: grpc-web-javascript/0.1'   -H 'DNT: 1'   -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36'   -H 'Content-Type: application/grpc-web-text'   -H 'Accept: application/grpc-web-text'   -H 'X-Grpc-Web: 1'   -H 'Referer: http://localhost:3000/'   -H 'token: qwertyuiop'   --data-binary 'AAAAAAA='   --compressed -v
*   Trying <IP_ADDRESS>:8081...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8081 (#0)
> POST /docinterface.DocAPI/TokenTest HTTP/1.1
> Host: localhost:8081
> Accept-Encoding: deflate, gzip, br
> X-User-Agent: grpc-web-javascript/0.1
> DNT: 1
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
> Content-Type: application/grpc-web-text
> Accept: application/grpc-web-text
> X-Grpc-Web: 1
> Referer: http://localhost:3000/
> token: qwertyuiop
> Content-Length: 8
>
* upload completely sent off: 8 out of 8 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: application/grpc-web-text+proto
< grpc-accept-encoding: identity,deflate,gzip
< accept-encoding: identity,gzip
< x-envoy-upstream-service-time: 1
< date: Fri, 26 Jun 2020 17:57:09 GMT
< server: envoy
< transfer-encoding: chunked
<
* Connection #0 to host localhost left intact
AAAAABIKEEhlbGxvIHF3ZXJ0eXVpb3A=gAAAACBncnBjLXN0YXR1czowDQpncnBjLW1lc3NhZ2U6T0sNCg==

The issue here is missing Access-Control-Allow-Origin: * header despite attempting anything in the config file. I am not getting any clue to include the CORS header as I already included filter and allowed * as origin(Running docker image v1.14-latest for testing) The server log is as below:
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:255] initializing epoch 0 (hot restart version=11.104)
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:257] statically linked extensions:
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.filters.udp_listener: envoy.filters.udp.dns_filter, envoy.filters.udp_listener.udp_proxy
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.transport_sockets.downstream: envoy.transport_sockets.alts, envoy.transport_sockets.raw_buffer, envoy.transport_sockets.tap, envoy.transport_sockets.tls, raw_buffer, tls
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.filters.listener: envoy.filters.listener.http_inspector, envoy.filters.listener.original_dst, envoy.filters.listener.original_src, envoy.filters.listener.proxy_protocol, envoy.filters.listener.tls_inspector, envoy.listener.http_inspector, envoy.listener.original_dst, envoy.listener.original_src, envoy.listener.proxy_protocol, envoy.listener.tls_inspector
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.filters.http: envoy.buffer, envoy.cors, envoy.csrf, envoy.ext_authz, envoy.fault, envoy.filters.http.adaptive_concurrency, envoy.filters.http.aws_lambda, envoy.filters.http.aws_request_signing, envoy.filters.http.buffer, envoy.filters.http.cache, envoy.filters.http.cors, envoy.filters.http.csrf, envoy.filters.http.dynamic_forward_proxy, envoy.filters.http.dynamo, envoy.filters.http.ext_authz, envoy.filters.http.fault, envoy.filters.http.grpc_http1_bridge, envoy.filters.http.grpc_http1_reverse_bridge, envoy.filters.http.grpc_json_transcoder, envoy.filters.http.grpc_stats, envoy.filters.http.grpc_web, envoy.filters.http.gzip, envoy.filters.http.header_to_metadata, envoy.filters.http.health_check, envoy.filters.http.ip_tagging, envoy.filters.http.jwt_authn, envoy.filters.http.lua, envoy.filters.http.on_demand, envoy.filters.http.original_src, envoy.filters.http.ratelimit, envoy.filters.http.rbac, envoy.filters.http.router, envoy.filters.http.squash, envoy.filters.http.tap, envoy.grpc_http1_bridge, envoy.grpc_json_transcoder, envoy.grpc_web, envoy.gzip, envoy.health_check, envoy.http_dynamo_filter, envoy.ip_tagging, envoy.lua, envoy.rate_limit, envoy.router, envoy.squash
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.tracers: envoy.dynamic.ot, envoy.lightstep, envoy.tracers.datadog, envoy.tracers.dynamic_ot, envoy.tracers.lightstep, envoy.tracers.opencensus, envoy.tracers.xray, envoy.tracers.zipkin, envoy.zipkin
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.retry_priorities: envoy.retry_priorities.previous_priorities
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.access_loggers: envoy.access_loggers.file, envoy.access_loggers.http_grpc, envoy.access_loggers.tcp_grpc, envoy.file_access_log, envoy.http_grpc_access_log, envoy.tcp_grpc_access_log
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.dubbo_proxy.filters: envoy.filters.dubbo.router
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.filters.network: envoy.client_ssl_auth, envoy.echo, envoy.ext_authz, envoy.filters.network.client_ssl_auth, envoy.filters.network.direct_response, envoy.filters.network.dubbo_proxy, envoy.filters.network.echo, envoy.filters.network.ext_authz, envoy.filters.network.http_connection_manager, envoy.filters.network.kafka_broker, envoy.filters.network.local_ratelimit, envoy.filters.network.mongo_proxy, envoy.filters.network.mysql_proxy, envoy.filters.network.ratelimit, envoy.filters.network.rbac, envoy.filters.network.redis_proxy, envoy.filters.network.sni_cluster, envoy.filters.network.tcp_proxy, envoy.filters.network.thrift_proxy, envoy.filters.network.zookeeper_proxy, envoy.http_connection_manager, envoy.mongo_proxy, envoy.ratelimit, envoy.redis_proxy, envoy.tcp_proxy
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.health_checkers: envoy.health_checkers.redis
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.thrift_proxy.protocols: auto, binary, binary/non-strict, compact, twitter
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.transport_sockets.upstream: envoy.transport_sockets.alts, envoy.transport_sockets.raw_buffer, envoy.transport_sockets.tap, envoy.transport_sockets.tls, raw_buffer, tls
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.clusters: envoy.cluster.eds, envoy.cluster.logical_dns, envoy.cluster.original_dst, envoy.cluster.static, envoy.cluster.strict_dns, envoy.clusters.aggregate, envoy.clusters.dynamic_forward_proxy, envoy.clusters.redis
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.udp_listeners: raw_udp_listener
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.resource_monitors: envoy.resource_monitors.fixed_heap, envoy.resource_monitors.injected_resource
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   http_cache_factory: envoy.extensions.http.cache.simple
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.resolvers: envoy.ip
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.stats_sinks: envoy.dog_statsd, envoy.metrics_service, envoy.stat_sinks.dog_statsd, envoy.stat_sinks.hystrix, envoy.stat_sinks.metrics_service, envoy.stat_sinks.statsd, envoy.statsd
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.grpc_credentials: envoy.grpc_credentials.aws_iam, envoy.grpc_credentials.default, envoy.grpc_credentials.file_based_metadata
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.dubbo_proxy.route_matchers: default
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.thrift_proxy.filters: envoy.filters.thrift.rate_limit, envoy.filters.thrift.router
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.retry_host_predicates: envoy.retry_host_predicates.omit_canary_hosts, envoy.retry_host_predicates.omit_host_metadata, envoy.retry_host_predicates.previous_hosts
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.dubbo_proxy.serializers: dubbo.hessian2
[2020-06-26 17:57:49.276][477][info][main] [source/server/server.cc:259]   envoy.dubbo_proxy.protocols: dubbo
[2020-06-26 17:57:49.277][477][info][main] [source/server/server.cc:259]   envoy.thrift_proxy.transports: auto, framed, header, unframed
[2020-06-26 17:57:49.283][477][info][main] [source/server/server.cc:340] admin address: <IP_ADDRESS>:9901
[2020-06-26 17:57:49.284][477][info][main] [source/server/server.cc:459] runtime: layers:
  - name: base
    static_layer:
      {}
  - name: admin
    admin_layer:
      {}
[2020-06-26 17:57:49.284][477][info][config] [source/server/configuration_impl.cc:103] loading tracing configuration
[2020-06-26 17:57:49.284][477][info][config] [source/server/configuration_impl.cc:69] loading 0 static secret(s)
[2020-06-26 17:57:49.284][477][info][config] [source/server/configuration_impl.cc:75] loading 1 cluster(s)
[2020-06-26 17:57:49.285][477][info][upstream] [source/common/upstream/cluster_manager_impl.cc:171] cm init: all clusters initialized
[2020-06-26 17:57:49.285][477][info][config] [source/server/configuration_impl.cc:79] loading 1 listener(s)
[2020-06-26 17:57:49.289][477][info][config] [source/server/configuration_impl.cc:129] loading stats sink configuration
[2020-06-26 17:57:49.289][477][info][main] [source/server/server.cc:533] all clusters initialized. initializing init manager
[2020-06-26 17:57:49.289][477][info][config] [source/server/listener_manager_impl.cc:725] all dependencies initialized. starting workers
[2020-06-26 17:57:49.290][477][info][main] [source/server/server.cc:554] starting main dispatch loop
[2020-06-26 18:12:49.291][477][info][main] [source/server/drain_manager_impl.cc:68] shutting down parent after drain

Hum, could you try:
              cors:
                allow_origin_string_match:
                - safe_regex:
                    google_re2: {}
                    regex: \*

?
I'm not sure why the one in grpc-web repo uses prefix. Will check. Meanwhile, could you confirm that https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/cors works? Thanks!

@dio I have already tried that before creating this issue and thought to give it another try but no luck :( The cURL verbose output with the suggested configuration remains as below:
nikhil@Nikhil-PC:~$ curl 'http://localhost:8081/docinterface.DocAPI/TokenTest'   -H 'X-User-Agent: grpc-web-javascript/0.1'   -H 'DNT: 1'   -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36'   -H 'Content-Type: application/grpc-web-text'   -H 'Accept: application/grpc-web-text'   -H 'X-Grpc-Web: 1'   -H 'Referer: http://localhost:3000/'   -H 'token: qwertyuiop'   --data-binary 'AAAAAAA='   --compressed -v
*   Trying <IP_ADDRESS>:8081...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8081 (#0)
> POST /docinterface.DocAPI/TokenTest HTTP/1.1
> Host: localhost:8081
> Accept-Encoding: deflate, gzip, br
> X-User-Agent: grpc-web-javascript/0.1
> DNT: 1
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
> Content-Type: application/grpc-web-text
> Accept: application/grpc-web-text
> X-Grpc-Web: 1
> Referer: http://localhost:3000/
> token: qwertyuiop
> Content-Length: 8
>
* upload completely sent off: 8 out of 8 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: application/grpc-web-text+proto
< grpc-accept-encoding: identity,deflate,gzip
< accept-encoding: identity,gzip
< x-envoy-upstream-service-time: 4
< date: Sun, 28 Jun 2020 14:12:28 GMT
< server: envoy
< transfer-encoding: chunked
<
* Connection #0 to host localhost left intact

I think you need to send the "Origin" header too. Probably in your request, Origin: http://localhost:3000. Sorry, I didn't pay attention to your request.
$ curl ... -H "Origin: http://localhost:3000" ...

You can try using docker-compose-ready hello world example here: https://github.com/dio/grpc-web-hello

It worked after that, thanks very much for clarifying. But isn't there any option to permanently hardcode response header in the config? Actually gRPC-web repo framework by default send request likewise and I have just converted the request to cURL form while asking here. And I don't think to change the generated files or gRPC code to send a custom header is much feasible in my case. Any suggestion will be highly appreciated.
BTW new cURL output is as below.
nikhil@Nikhil-PC:~$ curl 'http://localhost:8081/docinterface.DocAPI/TokenTest'   -H 'X-User-Agent: grpc-web-javascript/0.1'   -H 'DNT: 1'   -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36'   -H 'Content-Type: application/grpc-web-text'   -H 'Accept: application/grpc-web-text'   -H 'X-Grpc-Web: 1'   -H 'Referer: http://localhost:3000/'   -H 'token: qwertyuiop'   --data-binary 'AAAAAAA=' -H 'Origin: http://localhost:3000'   --compressed -v
*   Trying <IP_ADDRESS>:8081...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8081 (#0)
> POST /docinterface.DocAPI/TokenTest HTTP/1.1
> Host: localhost:8081
> Accept-Encoding: deflate, gzip, br
> X-User-Agent: grpc-web-javascript/0.1
> DNT: 1
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
> Content-Type: application/grpc-web-text
> Accept: application/grpc-web-text
> X-Grpc-Web: 1
> Referer: http://localhost:3000/
> token: qwertyuiop
> Origin: http://localhost:3000
> Content-Length: 8
>
* upload completely sent off: 8 out of 8 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: application/grpc-web-text+proto
< grpc-accept-encoding: identity,deflate,gzip
< accept-encoding: identity,gzip
< x-envoy-upstream-service-time: 5
< access-control-allow-origin: http://localhost:3000
< access-control-expose-headers: custom-header-1,grpc-status,grpc-message
< date: Sun, 28 Jun 2020 16:35:18 GMT
< server: envoy
< transfer-encoding: chunked
<
* Connection #0 to host localhost left intact
AAAAABIKEEhlbGxvIHF3ZXJ0eXVpb3A=gAAAACBncnBjLXN0YXR1czowDQpncnBjLW1lc3NhZ2U6T0sNCg==

AFAIK, Origin header is mandated by CORS spec, especially for non-preflight requests.

Weird!!! If it's the case so Google must be including it in their library because gRPC works in non-preflight mode only. Anyway, isn't it's somehow possible to hardcode headers on envoy level without using and additional NGINX or Apache as proxy server?

Weird? Have you looked at how the client be constructed in the examples dir?

Helloworld service: https://github.com/grpc/grpc-web/blob/74ea9b3b2af0c88492f4d86882e84dfdb58b0d2c/net/grpc/gateway/examples/helloworld/client.js#L23
Echo service: https://github.com/grpc/grpc-web/blob/74ea9b3b2af0c88492f4d86882e84dfdb58b0d2c/net/grpc/gateway/examples/echo/ts-example/client.ts#L169

I have referred there only and integrated in my react app as per below snippet:
import React, {Component} from "react";
import {DocAPIClient} from "../protoc/docinterface_grpc_web_pb"
import {PseudoRequest, TestReply} from "../protoc/docinterface_pb"

class Test extends Component {
    constructor(props) {
        super(props);
        let request = new PseudoRequest();
        let client = new DocAPIClient('http://localhost:8081',
            null, null);
        client.tokenTest(request, {"token": "qwertyuiop"}, (err, response) => {
            if (err) {
                console.log(`Unexpected error for gRPC: code = ${err.code}` +
                    `, message = "${err.message}"`);
            } else {
                console.log(response.getMessage());
            }
        });
        this.state = {};
    }

    render() {
        return (
            <div>
                Test
            </div>
        );
    }
}

export default Test;

But while running this in browser I was getting CORS issue in console and then I extracted actual request from browser developer tool as cURL to analyse. I then wrapped envoy in Apache and set hardcoded header and it worked. I am using the gRPC library as is from npm.

Seems like this is answered. Please let us know if otherwise.


Provide the ability to display more than one flat menu on the app

Hey @ehmadzubair as discussed on slack I would like to have the ability to embed the dynamic flat menu anywhere in the app, any number of times. This is as the flat menu needs to be displayed multiple times on feature phones due to the lack of sticky support

@ChrisMarsh82 this is done and you can close this.


Use Kotlin 1.6.20-RC2 for build

So we don't need to use 1.7.0-dev.
Tested it locally and the compilation avoidance still works.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


VueRouter with children and named routes. Components won't load

Version
3.0.0
Reproduction link
https://jsfiddle.net/chrisvfritz/50wL7mdz/
Steps to reproduce
I can't make the children's components work, no matter what I do they won't load anything. As you can see in my router file I in fact am currently trying 2 different setup for the component import but nothing works.
I also tried not having components at all in the main path and only load them from the children, still wasn't working.
This is my current setup
router.js
{
    path: '/beats',
    components: {
        navbar: Navbar,
    },
    children: [{
            path: 'catalog',
            name: 'BeatsCatalog',
            component: BeatsCatalog,

        },
        {
            path: 'upload',
            name: 'BeatsUpload',
            components: {
                default: () => import ('@/views/BeatsUpload'),
            },
        },
    ]
},

App.vue
<template lang="pug">
#app
	modal-manager
	router-view(name="navbar")
	router-view
</template>

What I'm trying to do is have the navbar by default in all my children, and inside the children just load the main component for the view.
I've tried any type variation and I can't make it work. What am I doing wrong?
What is expected?
Vue router to load the components inside the children
What is actually happening?
They are not being loaded and no error is shown

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


chore: market header live update

Related issues 🔗
Closes #1595
Description ℹ
Make market header live updated
Demo 📺

Technical 👨🔧
Use data provider with subscription for candles and marketData instead cached useQuery

market.depth.lastTrade.price should not be included in marketProvider. lastTrade is real time data and this provider does not have subscriptions. Value should be taken from market depth provider (it needs to be modified to get this value)

@bglownia  this reminds me that last trade price is shown in deal ticket. I think we are not using a data provider over there just simple query. we may need a ticket


Upstream rebase

This request brings in changes from the upstream OMB project, including:

Updates to the KafkaDriver to support Kafka 3.x
Same changes in the RedpandaDriver
Bring in changes to the OMB program itself, including CSV output, support for randomized payloads
Improved Kafka Ansible scripts
Baselined workloads from upstream

Already synced with upsteam, closing


How to integrate mulitple js applicatons

In index.scala.html you include
 @scalajs.html.scripts("client",
        routes.Assets.versioned(_).toString,
        name => getClass.getResource(s"/public/$name") != null)

which includes the ScalaJSExample.  How would I create multiple JS applications and include them separately in my views?

After reading more from the sbt web scalajs plugin you can achieve this by creating more client projects and adding them to the server build configuration with the scalaJSProjects setting.


add check-kube-service-endpoints

This adds a new check: check-kube-service-endpoints.rb.
It is conceptually similar to the existing check-kube-service-available.rb check except:

Instead of checking for the pods behind a service to be in Running state, it checks that the Endpoint backing a Service has at least 1 address registered. This seems to be the better way to check for service availability. For example, a pod may be in the 'Running' state but failing its readiness probe thus it will not actually be able to service requests. The Kubernetes docs (https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/) indicate that each Service will have an Endpoint matching the name of the Service. When there are pods available and ready to service traffic they are added to the Endpoint. The Service routes to the Endpoint. So when the Endpoint object is empty it can be declared that the associated Service is unavailable.

Unlike check-kube-service-available.rb which requires a --list of services, this checks all services by default.

Both blacklist and whitelist are supported for filtering which services and namespaces are checked. (--namespaces, --exclude-namespaces, --services, --exclude-services). I believe this supports more use cases.

Only Services of type ClusterIP and LoadBalancer are checked. This avoids checkins special service types like ExternalName which are not expected to have Endpoints containing registered IPs

This PR needs a README update (update: done) but I would like some feedback on how to name the check due to the conceptual overlap with the check-kube-service-available.rb check. Is it OK to simply leave it as is - named check-kube-service-endpoints.rb - and update the README to call out the different approach for checking service health - or is there a better suggestion for a name? Or should it even replace the current ```check-kube-service-available.rb` check? (I think it should but certainly understand that there are existing users and use cases)
TODO:

[x] update readme

ping

oops =)  shoulda opened this against the upstream


I can't create PDF

I tried to generate PDF but it shows error.
appletekiMBP:slides apple$ pandoc -t beamer progress.md -o progress.pdf
pandoc: Unable to convert `/var/folders/_h/w3lk7wlx6qbdpr30h454f1fc0000gn/T/tex2pdf.14582/6aa54e7bfd18c32a60c96361eb7d7416280a665f.shtml' for use with pdflatex.
! LaTeX Error: Unknown graphics extension: .shtml.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
...
l.130 \end{frame}
pandoc: Error producing PDF from TeX source

I'll take care of it. Got it working

Yeah, we'll push it right now in a bit

Thank you!

Hi guys! How did you solve this problem? I can not find the problem! Is there something with the images I loaded?

Hey. I haven’t worked in the project in over three years. How did you find
our repository?
On Fri, Feb 9, 2018 at 9:46 AM marviedemit<EMAIL_ADDRESS>wrote:

Hi guys! How did you solve this problem? I can not find the problem! Is
there something with the images I loaded?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-stat159/project-kappa/issues/30#issuecomment-364506356,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZS2tFfSxVzJ7FA_H73oxDVXks94HeIks5tTISCgaJpZM4Gg2li
.

--
Noel Pimentel
University of California, Berkeley 2015
College of Letters and Science | Statistics
<EMAIL_ADDRESS>|<PHONE_NUMBER>

Thank you for answering Noel! I am trying to write my project in markdown I had the problem: ! LaTeX Error: Unknown graphics extension: .shtml. and your repository is the only one in the whole google with this post and I am getting desperate now since I can@t solve this problem and I reinstalled all packages already.
I hope you can help me noel since I wanted to establish this kind of writing method to the department where I am doing my thesis.
Thank you in advance.

Ah, well that’s very interesting that you stumbled upon our project. I
didn’t solve that part of our latex it was @escobar310 but again, it’s been
like 3 years since we touched it. When is your thesis due and for what
program/school?
On Fri, Feb 9, 2018 at 10:06 AM marviedemit<EMAIL_ADDRESS>wrote:

Thank you for answering Noel! I am trying to write my project in markdown
I had the problem: ! LaTeX Error: Unknown graphics extension: .shtml. and
your repository is the only one in the whole google with this post and I am
getting desperate now since I can@t solve this problem and I reinstalled
all packages already.
I hope you can help me noel since I wanted to establish this kind of
writing method to the department where I am doing my thesis.
Thank you in advance.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-stat159/project-kappa/issues/30#issuecomment-364511679,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZS2h6McZfpK0IAMKOMEEc5YXa4WnWMks5tTIkugaJpZM4Gg2li
.

--
Noel Pimentel
University of California, Berkeley 2015
College of Letters and Science | Statistics
<EMAIL_ADDRESS>|<PHONE_NUMBER>

Yeah! My last instance of help :D My last appointment is at the end of the month. It worked yesterday but when I wrote the last part and added some images and figures then this problem happened. I am studying at the University of Life Science in Vienna. I can imagine that you have no idea anymore. Is there a possibility that escobar would read this post?

i mean at the end of the upcoming week!!!!

Wow, all the way from Vienna. Escobar might read the email but he’s a very
busy person. I currently have been compiling latex documents myself so I
may be of assisance. I already texted him with a screenshot of the first
email so he might reply
On Fri, Feb 9, 2018 at 10:15 AM marviedemit<EMAIL_ADDRESS>wrote:

Yeah! My last instance of help :D My last appointment is at the end of the
month. It worked yesterday but when I wrote the last part and added some
images and figures then this problem happened. I am studying at the
University of Life Science in Vienna. I can imagine that you have no idea
anymore. Is there a possibility that escobar would read this post?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-stat159/project-kappa/issues/30#issuecomment-364514081,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZS2qK2wwFARTZbeKCf8ouzukf191XWks5tTItTgaJpZM4Gg2li
.

--
Noel Pimentel
University of California, Berkeley 2015
College of Letters and Science | Statistics
<EMAIL_ADDRESS>|<PHONE_NUMBER>

Yeah! Greetings from Vienna! So noel what do you think of writing thesis in form of a markdown? is it useful? because I wanted to find a better way to promote latex in my department but in an simpler way.

And thank you very much for the support your are my hero!

I really like oakland! My Ex was from there I think somewhere in Richmond i visited oakland 4 times and I really enjoyed it.
Yes my thesis is about clustering analysis of cancer data and I have a lot of python codes and I am using jupyter notebook as well as my markdown thesis.
Maybe I will look at simple latex as well. I just had the task from my professor that I had to find something much easier than latex since my colleges are mostly biologist and totally lazy of learning something new which is paradoxal for me.
I added you at LinkedIn and I saw that you are a data scientist at a health care company.

Yeah it’s really chill, I like working here and I live in Berkeley.
Nice, I learned python solely for that project you saw on github and now I
mostly code in R for my job.
You can maybe do the simple latex document just to finish the paper and use
your spare time to make the markdown method work?
 My focus was in public policy but
I’m really interested into going into public health and going back to
Berkeley for an MA in biostats.
On Fri, Feb 9, 2018 at 10:56 AM marviedemit<EMAIL_ADDRESS>wrote:

I really like oakland! My Ex was from there I think somewhere in Richmond
i visited oakland 4 times and I really enjoyed it.
Yes my thesis is about clustering analysis of cancer data and I have a lot
of python codes and I am using jupyter notebook as well as my markdown
thesis.
Maybe I will look at simple latex as well. I just had the task from my
professor that I had to find something much easier than latex since my
colleges are mostly biologist and totally lazy of learning something new
which is paradoxal for me.
I added you at LinkedIn and I saw that you are a data scientist at a
health care company.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-stat159/project-kappa/issues/30#issuecomment-364525566,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZS2gFm2OFBQlOa33fCwZf7eKQ2HlX2ks5tTJTdgaJpZM4Gg2li
.

--
Noel Pimentel
University of California, Berkeley 2015
College of Letters and Science | Statistics
<EMAIL_ADDRESS>|<PHONE_NUMBER>

I just solved it!  Thank you for the support noel!
How did it come to such a transition?
So if you are pure statistician then you are surely excellent in model selection. I just need your opinion because my mom has type 1 diabetes and I wanted to do something with her data. Since am not pure statistician I am not sure which is the most suitable model for the prediction to choose. I want to control her blood sugar maintenance and I have from her data a table with carbs intake, insulin intake meal coverage and blood sugar measurement. I tried to do a time series forecast to predict the outcome of blood sugar at a specific carb intake but it was not accurate. What do you should I try?
I am kind of interesting to have an opinion to a former berkley student, since the University is very renowned in vienna :D

You’re welcome. Been interested in public health due to my upbringings and
the communities I grew up around.
That depends on what variables you have at your dispense. If you have a few
of them I would say just go ahead with a simple linear regression. If you
want to be really exact I feel that you would need more variables and a way
more flexible quantitative model. A time series analysis sounds right
because it might be seasonal patterns to their insulin increase and
decrease. I think you would need more metrics though.
On Fri, Feb 9, 2018 at 12:00 PM marviedemit<EMAIL_ADDRESS>wrote:

I just solved it!  Thank you for the support noel!
How did it come to such a transition?
So if you are pure statistician then you are surely excellent in model
selection. I just need your opinion because my mom has type 1 diabetes and
I wanted to do something with her data. Since am not pure statistician I am
not sure which is the most suitable model for the prediction to choose. I
want to control her blood sugar maintenance and I have from her data a
table with carbs intake, insulin intake meal coverage and blood sugar
measurement. I tried to do a time series forecast to predict the outcome of
blood sugar at a specific carb intake but it was not accurate. What do you
should I try?
I am kind of interesting to have an opinion to a former berkley student,
since the University is very renowned in vienna :D
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-stat159/project-kappa/issues/30#issuecomment-364547173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZS2jMy-im5BbFO6P4dvwOxzmrUnB-oks5tTKPJgaJpZM4Gg2li
.

--
Noel Pimentel
University of California, Berkeley 2015
College of Letters and Science | Statistics
<EMAIL_ADDRESS>|<PHONE_NUMBER>


Reciveing loading screen when i try to manage my queues

Hi, I'm trying to test bull-board but using the example but I'm getting a screen with:

loading...

and not bull-board management screen:
Is the same as the example
const { createQueues } = require('bull-board')

	const redisConfig = {
  		redis: {
    		port: 6379,
    		host: "<IP_ADDRESS>"
  	},
	}

	const queues = createQueues(redisConfig)

	const helloQueue = queues.add('helloQueue') // adds a queue
	const helloQueueWithOpts = queues.add('helloQueue', {
  		prefix: 'hello',
	}) // adds a queue with QueueOptions https://github.com/OptimalBits/bull/blob/master/REFERENCE.md#queue

	// defines how the queue works
	helloQueue.process(async job => {
  		console.log(`Hello ${job.data.hello}`)
	})

	helloQueue.add({ hello: 'world' }) // adds a job to the queue

And later
const { UI } = require('bull-board')

	app.use('/admin/bullDash', UI)

Someone knows what is happening?

hey @gabeMoreira, thanks for giving bull-board a try 😄
We are currently working on a v1 release that's in alpha, one of the breaking changes is that we are no longer going to support createQueues, so if you look at the current example.ts file you will see a newer way of doing it using setQueues when you already have created your queues separately using Bull.

hey @gabeMoreira, thanks for giving bull-board a try 😄
We are currently working on a v1 release that's in alpha, one of the breaking changes is that we are no longer going to support createQueues, so if you look at the current example.ts file you will see a newer way of doing it using setQueues when you already have created your queues separately using Bull.

In my project I basically do this
import Queue from './lib/Queue'
import BullBoard from 'bull-board'

And to set a queue in dashbord
BullBoard.setQueues(Queue)
app.use('/admin/queues' BullBoard.UI)

But the loading screen still appears, i'm doing correctly?

It's working fine now, I was trying to call bull-board before my authorization middleware.


Fix #1: add horse names in database

Probably we need to take a deeper review in the code, specially in insert commands

/tina - can you have a look at this?

/tina - done.


Multi Search Possible?

I'm currently looking into migrating for elasticsearch/searchkick. I haven't seen any documentation on Multi Search support, i.e, searching multiple models with a single query. Is this supported?

Hi @antarr!
If I understood your question correctly, you are considering changing from Elasticsearch to Meilisearch, and you want to use the multi-search feature searchkick has.
FYI, we are introducing this feature in the following release of Meilisearch (v1.1), and its support on Meilisearch Rails will come soon (but I can't give you an estimation yet).

Hi @antarr I'm going to close this issue, since the automation already opened an issue to track the subject around multi_search


Update algorithm templates in auto3dseg

Signed-off-by: dongy<EMAIL_ADDRESS>
Update algorithm templates in auto3dseg;
Change iteration-based model training strategy to epoch-based (for dints and segresnet2d);
Add support of input on CPU for sliding-window inference;

Hi @dongyang0122 , I ran the unit test for the template on your branch, and met the following issue.
update_auto3dseg_templates.log
Can you investigate it and provide a fix? Thanks!

Hi @mingxin-zheng, the errors have been fixed, and all tests have passed.


fix: ensure status message is sent first

Purpose
Transactions that are sent on short intervals might get sent to the node before the status message. This will cause the node to ignore the packet and transactions but at the same time transactions would incorrectly be marked as known. The fix ensures status message is sent before sending the transactions
For reviewers

Related Github issues

Changes

Tests

Deployment Considerations
Version Notes
{ major | minor | patch }

NOTE: Include the version notes in the squash commit message

Seems ok except the one note I had. But I wouldn't merge as there is actually pretty big chance that we are marking also something else as known (blocks, ...) and try to send it before initialization through status packets is done. In such case this packet is not send but we might mark some data as known. So it would be nice if we check all possible places and not just fix 1 problem that we know of but there might be actually more problems of the same character


Check the need for ssl_required

There's some confusion about the need for ssl_required checks. Some controllers add it for all methods and all environments but some others exclude test and development environments. This should be unified (and probably ssl_allowed as well).

Branch: 5080-remove-environment-based-ssl-checks

FYI I recently disabled ssl checks for development, it was needed for groups because of X-Forwarded-Proto header.

Uhm, interesting, I've migrated the approach that we had with ApplicationController to SuperadminController, let's see if is enough, but good to know there's a simple flag/option else to apply to environments.


Transition to npm?

Are there any plans to transition this package to npm?

I think that's a good idea, but don't have a timeline.

This package is no longer being updated or supported by Reaction.

Ah, the old times of meteor :)


Warn: Security Vulnerability in Buffer() when using latest(1.0.2)

(node:295) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

I see that you fixed this in the last commit but for some reason we still get the error.  Did you not update the ZIP maybe?

I wasn't using the latest version.


Decode data channel elements after, rather than before, placing them in the queue.

This ensures the decoding operations are done in the worker, not GRPC, threads.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Thanks @robertwb!
Before merging this PR, let me run benchmarks on this PR to understand perf improvements.

Have you had a chance to run the benchmarks yet?

@robertwb sorry a bit delay on this PR. I have just finished a rotation and picking up my backlog of work.
I will give an ETA by end of this week to get some roughly number about improvements.

+1


Adds a parameter to be able to send the branchname a run was created on

Adds the ability to send the current branchname to Visual review server. Note that this depends on the support for the branchname in the visual review server

code looks good, except for one minor comment. Could you update the readme as well?


Evaluate including hstore extension on pg builds

http://www.postgresql.org/docs/9.0/static/hstore.html

No longer necessary once JSON support is available for all users.


Set color of the regions

how can I set the color of the regions?
is it possible?

You can set the opacity in the object that describes each region. For example:
  {start: 1, end: 2, color: '#d9d9d9', opacity: 1}


Allow to set clientId and ClientKey via gradle properties

Right now, the client id and key must be in a json file which makes it harder to "hide" the values locally (of course, we could put the file in .gitIgnore or outside the project, but a nicer approach would be to allow it to be populated directly in the huaweiPublish tag
example :
huaweiPublish {
    instances {
        release {
           // credentialsPath = "$rootDir/app/huawei-credentials.json"
            clientId = project.property("huawei_client_id")
            clientSecret = project.property("huawei_client_secret")            // secret as from PR #8
            buildFormat = "apk"
            publish = false
        }
    }
}

This allows the user to just add these variables into the global gradle.properties and share that file among developers (one file for all projects)

There is no reason to remove the current credentialsPath, just clarify which ones are taking precedence in the documentation

https://github.com/cianru/huawei-publish-gradle-plugin/pull/8#discussion_r500802383

Released at v1.2.1


Is the Nuget 4.01 version works for insider build Win10 10.0.15063 for Win10 UWP XAML Interop sample?

Please follow the discussion here

I tried to make a sample today (SwapChainPanel with basic swapchain and clear, partly taken from https://github.com/minhcly/UWP3DTest), and yes it worked fine (tried both on my computer and windows phone).
Could be worth adding this to sample (to be honest I'd even remove rotating cube and such, as those part are exactly the same as a desktop app, so at least we only have one project with the exact minimal uwp setup required).

@mrvux we need to have one working UWP(XAML) interOp min sample and use this to test the latest SharpDX build with different Windows 10 and SDK creative updates. Thanks for sharing your experience.

Update ...
Interesting ...
https://github.com/minhcly/UWP3DTest
(a) W10M 15240.1000 Emulator works
(b) W10M 15240.0 950XL fails.
(b) W10: 16232.1000 fails.

@JimSEOW  concerning your message, afaik, this is not correct. Any UAP10.0 version (UWP5.x) should be compatible with next versions. Same goes for .NET Standard 1.x that is compatible with .NET Standard 2.0 (and should be compatible with UWP6.0).
Afair, SharpDX is working fine on UWP Windows 10 15240.0.
For W10M, frankly, this is not an OS that is highly supported by Microsoft, so any crash on this platform is unlikely related to SharpDX but the platform itself.
Same goes for 16232.1000 as they are preview builds, not supported and unstable.
(unless proven by a strict equivalent DirectX C++ application that would work on these platforms)

@xoofx What I understand is that for libraries that are built for .NETStandard2.0, we need UWP6.0 and AT THIS moment, only W10 build 16267 or higher support UWP6.0.
This include e.g. EF Core 2.0, which requires UWP6.0 to work, if one needs EF Core 2.0 and SharpDX to work in UWP, because of EF Core 2.0 requirement, we need the .NETStandard 1.6 in SharpDX to be upgraded to .NETStandard2.0. Perhaps I am wrong. Still learning ...

@xoofx I tested the working example with the latest insider build and it fails.
(a) W10M 15240.1000 Emulator works
(b) W10M 15240.0 950XL fails.
(c) W10: 16232.1000 fails.
(d) W10 16288.100 fails
These insider builds will be OFFICIAL with the Fall Creator Update by Oct 15 2017.
So the latest SharpDX Nuget Is not fully tested for the Official Fall Creator Update. We need more users to figure out the problems.

@xoofx New Windows SDK 16299 (Fall Creators Update) with .NET Standard 2.0 brought back System.Reflection.ObfuscationAttribute, and it is now in conflict with one declared in SharpDX package. Will this be resolved in 4.1.0?

@aleksrdm I thing it can be removed entirely. PR Welcome. Open another issue please, thanks