Help, is there any sample project to use this sink?

I am pretty sure, I am doing something wrong.
I have created a new project added Serilog and Serilog.Sinks.Elasticsearch nuget packages.
When I run I face following error
"An unhandled exception of type 'System.IO.FileNotFoundException' occurred in LogConsole.exe
Additional information: Could not load file or assembly 'Serilog.FullNetFx, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' or one of its dependencies. The system cannot find the file specified."
I have .Net Core RC2 installed on my machine, I suspect it could be related to that but not sure.
var loggerConfig = new LoggerConfiguration()                 .WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri("http://localhost:80"))                 {                     AutoRegisterTemplate = true,                 });             Log.Logger = loggerConfig.CreateLogger();             LogMessage message = new LogMessage();             Log.Information("{@message}", message);             Console.ReadKey();

Please use the latest version of the sink as this has .net core support. If the problem still occurs, feel free to reopen.


[No ticket] Enable coveralls

Ticket: []
Feature flag: n/a

Purpose
Enable coveralls so we have an estimate on test coverage
Summary of Changes

Add coveralls step; it depends on fetch-dependencies step; so in parallel lint and test-partition-*
Update tests to favor usage setupMirage usage over error-prone two-step mirage server setup and shutdown via server.startMirage and server.shutdown; it's easy to forget the latter which leads to multiple instances of Pretender running simultaneously. This issue may cause tests to hang when the build is instrumented for coverage reporting.

Screenshot(s)
N/A See coveralls status messages in checks below.
Side Effects

GHA workflow run times may increase by ~10%
Ideally, we could either reuse the test dist/ generated in the build step with ember test --path ./dist however this resulted in broken coverage reports. The same issue prevents us from taking advantage of coveralls parallel/partial reports functionality. See https://coveralls.io/builds/41942615.

QA Notes
Dev tested.

I'm concerned about the Percy failure. I'm re-running tests to see if it just goes away on its own.

No, doesn't look like it re-sent the percy image on re-run. I wonder what happened to that snapshot.


tofhir-server does not handle environment variables

Although tofhir-engine allows us to use environment variables such as DATA_FOLDER_PATH and FHIR_REPO_URL inside a mapping job definition, we can not run such jobs using tofhir-server.

We now think that it does not have to handle those environmant variables.


SVG x Scatter, problem on painting series.label

Version
4.1.0-release
Steps to reproduce
Show the following scatter chart with renderer: 'svg'
{
      renderer: 'svg',
      color: ['#ffe0e0'],
      xAxis: {},
      yAxis: {},
      series: [{
          label: {
            normal: {
              show: true,
              position: 'top',
              color: '#000'
            }
          },
          symbolSize: 50,
          data: [
              [10.0, 8.04],
              [8.0, 6.95]
          ],
          type: 'scatter'
      }]
  }

What is expected?
Same behavior as renderer: 'canvas'
What is actually happening?
There are some problems on showing label in renderer: 'svg'

The position: top doesn't aware the symbol size. So, the label is not shown on top of the symbol.
Switch between show: true and show: false of the label, the chart MAY not repaint to show/hide the labels.

PS: problem can be repeated in 4.2.1-rc.3

Same problem in 4.2.1
https://jsfiddle.net/f6r3vnLc/
Click the 'set label' button below the svg chart.
After toggling label.show from false to true, you have to point your mouse at the bar to show the labels.


feat(MatListItem): Add active / selected state for MatListItem

Feature Description
The component MatListItem is very useful for creating mobile hamburger-style navigations (relying on MatNavList). It would be nice to have the equivalent of what MatListOption has.
On horizontal links using tabs we can do

  {{route.name}}

I am proposing to be able to do:
<mat-nav-list>
  {{route.name}}
</mat-nav-list>

Use Case
Before:

After (example):

Current workaround and behavior
We can do:
<mat-nav-list>
  {{route.name}}
</mat-nav-list>

and have
.is-active {
  background: mat-color($gray, 700);
}

But I think I rather have the Material team design it instead of myself (the default CSS part) plus [active] is just a tiny bit cleaner than class.is-active. Thoughts?

Nevermind, we can simply use [class. mat-list-single-selected-option]="rla.isActive" d'oh!


--align-only with --global-align / Question: Get crop rectangle from verbose-output

Hi,
if I add both parameters "--align-only" and "--global-align" it only loads the first two images (used *.jpg) and then exits. Without --global-align it works fine.
Version: Latest.
And my question:
-- verbose outputs something like "transformed with corners TL (,), TR (,), BL (,), BR (,)" per image. I guess that describes the boundary-corners of each image after the alignment inside the "expanded image". So to crop the overlapping part of each aligned-image (like the result image) I have to get the min/max x/y coordinates of each rectangle and crop every aligned-image with the same rectangle. Is that correct? :)

The error with --global-align --align-only should be fixed now.
And yeah, that is correct interpretation of the corners.
I added verbose log message with aligned_pcb_001.jpg valid area X 19, Y 26, W 2005, H 1503 that hopefully makes it a bit easier.
The total area that is valid for all images is currently only calculated during merging, so I cannot directly log that.
Btw, it might make sense to specify some stable format for these messages that are used for machine parsing.
Emitting them to the log is easy and simple, but perhaps something like this would be easier to parse:
 1.779           T3 Finished task 25 in 0.039 s.
 1.779           Memory use: 49.557 MB.
 .. more normal log messages ...
 JSON_DATA: {"task": "Task_Align", "input": "pcb_001.jpg", "output": "aligned_pcb_001.jpg", "corners": {"tl": [17.9,25.2] ... }, "valid_area": {"x": 19, "y": 26, ...}}

The format suggestion sounds good!
The newest build (atleast for Win?) does not seem to include the newest code changes.

Yet I wrote a small script to crop the aligned images (needs ImageMagick):
https://github.com/mviereck/microscopy-tools/blob/master/align
Though, it would make sense if focus-stack could do this itself.

I would also be interested to have focus-stack   to have the option (or even as default) to crop the aligned images produced with the --align-only option. I often use enfuse for merging normal map focus stacks (less artefacts) and this would allow me to easily integrate it into my scripts.


Update milliseconds.dart to remove debug logging

Remove debug logging from milliseconds.dart

Fixes https://github.com/desktop-dart/duration/issues/31

printMilliseconds is to print. Use prettyMilliseconds function to only convert.


Remove curlies on import { SafeAreaView }

There shouldn't be curly braces around import { SafeAreaView } from 'react-native-safe-area-view';

Update: I see a PR has been submitted which addresses this issue. It just needs merging:
https://github.com/react-navigation/react-native-safe-area-view/pull/129

this library is deprecated, use react-native-safe-area-context instead :)

this library is deprecated, use react-native-safe-area-context instead :)


New Game

PR Description 📜
Introducing a new, engaging, and educational game: Currency Conversion! This game is designed to be user-friendly, providing both fun and valuable learning experiences for players.
In this game, users can explore and understand currency exchange rates in an interactive and enjoyable way. The interface is designed to be intuitive and accessible, making it easy for players of all ages to participate and learn.
Fixes https://github.com/kunjgit/GameZone/issues/3584
Mark the task you have completed ✅
[x ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ x] I have performed a self-review of my own code or work.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generates no new warnings.
[x ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x ] I have added screenshot for website preview in assets/images
[x ] I have added entries for my game in main README.md
[x ] I have added README.md in my folder
[x ] I have specified the respective issue number for which I have requested the new game.
Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @kashisharora9462 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @kashisharora9462,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Thank you  @kashisharora9462 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Accept work workflow

git checkout -b eg origin/master
git rebase --merge --strategy ff-only ${remote branch}
git checkout master
git merge --ff-only eg
git push origin master:master
git branch -d eg
git push origin --delete ${remote branch}

@extsoft the puzzle #146 is still not solved.

@extsoft the only puzzle #146 is solved here.


Register additional file extensions as XML

Fixes https://github.com/wolfgangmm/atom-existdb/issues/20

This brings the project pane's upload functions into line with the watcher's functions, syncing the list of file mime type-file extension settings with https://github.com/wolfgangmm/atom-existdb/blob/master/lib/watcher.js#L24-L28.

It might make sense to define these mime types centrally, so they don't have to be synced between lib/existdb-tree-view.coffee and lib/watcher.js.

Would this be worth including in the next release? Thanks!


SCFilePlanPropertyCitation

Pull Request (PR) description
New Resource.
This Pull Request (PR) fixes the following issues
N/A

This change is

Codecov Report

Merging #238 into Dev will decrease coverage by 0.92%.
The diff coverage is 1.75%.

@@            Coverage Diff            @@
##             Dev     #238      +/-   ##
=========================================
- Coverage   87.4%   86.47%   -0.93%
=========================================
  Files         55       56       +1
  Lines       5208     5265      +57
  Branches      10       10
=========================================
+ Hits        4552     4553       +1
- Misses       646      702      +56
  Partials      10       10

Impacted Files
Coverage Δ

...pertyCitation/MSFT_SCFilePlanPropertyCitation.psm1
1.75% <1.75%> (ø)

Continue to review full report at Codecov.

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

@ykuijs New resource to review. Thanks


add analytics tracking to onboarding flow

part of https://github.com/AugurProject/augur/issues/4856#issuecomment-557226683

getting this error


Restrict transparency blur to >= Leopard

As identified by @jpetrie in issue #72, the Tiger SDK doesn't support
the CGSInternal headers previously pulled in from iTerm2. This commit
wraps all of the blur code in CPP guards that check
MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5.

+1, this allows building again on Tiger.


Fixes to preferred kernels in Native Notebooks

For #13754

Codecov Report

Merging #13765 into master will decrease coverage by 59.87%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #13765       +/-   ##
===========================================
- Coverage   59.87%    0.00%   -59.88%
===========================================
  Files         678       14      -664
  Lines       37873       38    -37835
  Branches     5459        3     -5456
===========================================
- Hits        22678        0    -22678
+ Misses      14018       38    -13980
+ Partials     1177        0     -1177

Impacted Files
Coverage Δ

src/client/debugger/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/common/process/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/common/platform/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/datascience/notebook/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/interpreter/autoSelection/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
0.00% <0.00%> (-50.00%)
:arrow_down:

src/client/terminals/codeExecution/helper.ts

...ient/datascience/interactive-ipynb/trustService.ts

src/client/providers/completionProvider.ts

src/client/typeFormatters/contracts.ts

... and 656 more

Continue to review full report at Codecov.

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


Darcy.rayner/trigger info

What does this PR do?
Detects the event source/trigger of the event, and adds it as a tag to the trace.

Motivation
Will eventually enable filtering by trigger/event source type on the serverless page.

Codecov Report

Merging #26 into master will decrease coverage by 0.21%.
The diff coverage is 87.17%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
- Coverage   88.61%   88.39%   -0.22%
==========================================
  Files          19       20       +1
  Lines         483      517      +34
  Branches       75       89      +14
==========================================
+ Hits          428      457      +29
- Misses         34       36       +2
- Partials       21       24       +3

Impacted Files
Coverage Δ

src/trace/context.ts
96.05% <100%> (+0.21%)
:arrow_up:

src/trace/listener.ts
93.54% <100%> (+0.44%)
:arrow_up:

src/trace/event-source.ts
82.14% <82.14%> (ø)

Continue to review full report at Codecov.

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


merge from template-sync/template-arlac77-github

package.json

BREAKING CHANGE: add >=22.7.0 remove >=22.5.1 (engines.node)
fix(engines): add >=22.7.0 remove >=22.5.1 (engines.node)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 56.808%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
114

Relevant Lines:
198

💛  - Coveralls


Cache clustering in 7.1.2

Hello,
Sorry if this question is already asked & answered. I have been struggling to get cache clustering to work in TS 7.1.2. All Config parameters seem to exist & configured properly. However, diags.log always throw this - NOTE: cache clustering disabled.
I read the clustering is removed in 8.0 - is that true for 7.1.2 as well?
Thx
Jay

You can use:
hash key [consistent];
docs: http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash

We have removed clustering the code.  We have moved to use parent selection with the ability to have all the servers operate as peers and server with the incoming request to identify itself and not route again to itself.


Migrate codebase to TypeScript

Migration of codebase to Typescript.
https://jira.int.lmc.cz/browse/CCM-40

[ ] Migrate tests to Typescript
[ ] Migrate scripts to Typescript

@OndraM Please do an one last look and we should merge this.

:information_source: Ready to merge. I will merge it tomorrow, once we get confirmation 1.0.3 fixes the crypto-issue.


Question about compatibility

Is it enough to set compatibility level of SQL 2005 created database to SQL server 2008 r2 for sqltabledependancy to work as intended? I tested it and it seems so just making sure

Hi, I do not get the point. Can you explain me better?

I have a database that has a dbi_createversion value of SQL 2000 however when I connect to it using the library I receive notifications normally and I'm trying to understand why

WONDERFUL! If you find the reason, can you let me know.
I will put you as contributor!

I will be sure to let you know :)

Question did you have any significant changes to the code form version 6 to 7 because i tested the database with all the versions avalible on nuget and all work like charm?

Of course there are. Starting from version 8, a huge error was fixed.
I seriously suggest you to use last version.

Did you ever know what was the technical reason that caused  the older databases not to work? Asking this because currently my theory is that it there was something causing the incompatibility and then it was removed/changed so that the only requirement is to host the database using SQL Server 2008 r2

Did you ever know what was the technical reason that caused the older databases not to work? --> NO, i do not know.


How to do inferencing using multiple GPU's for styleformer

I am using this model to do inferencing on 1 million data point using A100 GPU's  with 4 GPU. I am launching a inference.py code using Googles vertex-ai Container.
How can I make inference code to utilise all 4 GPU's ? So that inferencing is super-fast.
Here is the same code I use in inference.py:
from styleformer import Styleformer
import warnings
warnings.filterwarnings("ignore")

# style = [0=Casual to Formal, 1=Formal to Casual, 2=Active to Passive, 3=Passive to Active etc..]
sf = Styleformer(style = 1)
import torch
def set_seed(seed):
  torch.manual_seed(seed)
  if torch.cuda.is_available():
    torch.cuda.manual_seed_all(seed)

set_seed(1212)

source_sentences = [
"I would love to meet attractive men in town",
"Please leave the room now",
"It is a delicious icecream",
"I am not paying this kind of money for that nonsense",
"He is on cocaine and he cannot be trusted with this",
"He is a very nice man and has a charming personality",
"Let us go out for dinner",
"We went to Barcelona for the weekend. We have a lot of things to tell you.",
]

for source_sentence in source_sentences:
    # inference_on = [0=Regular model On CPU, 1= Regular model On GPU, 2=Quantized model On CPU]
    target_sentence = sf.transfer(source_sentence, inference_on=1, quality_filter=0.95, max_candidates=5)
    print("[Formal] ", source_sentence)
    if target_sentence is not None:
        print("[Casual] ",target_sentence)
    else:
        print("No good quality transfers available !")
    print("-" *100)

Leverage the "inference_on" parameter, and updated it to make it more intuitive now for multi-GPU usage. -1 is reserved for CPU and ```0 through 998 is reserved for GPUs``. The following snippet will get you the max number of visible CUDA devices you have.
import torch

num_of_gpus = torch.cuda.device_count()
print(num_of_gpus)

You just have to pass the range(num_of_gpus) i.e 0 to <your_max_devices> in inference_on. Behind the scenes I will be using the cuda devices as cuda:0, cuda:1 etc. up to num_of_gpus - 1.
Just write a function to wrap Styleformer inference with device index as one of the params and invoke it using simple python multiprocessing. The number process can be equal to the number of devices. Each process will run Styleformer inference with the respective device index say P0 will run on CUDA:0, P1 will run on CUDA:1 & so on. Internally handle how you want to store the inference results.

@pratikchhapolika It sounds like you'll need to fire up a separate process for each GPU and pass in inference=0, inference=1, inference=2, and inference=3, respectively, using multiprocessing.
@PrithivirajDamodaran What I would like to know is one can batchify Styleformer inference tasks to make efficient use of GPUs that have 48GB or 80GB each.

Leverage the "inference_on" parameter, and updated it to make it more intuitive now for multi-GPU usage. -1 is reserved for CPU and ```0 through 998 is reserved for GPUs``. The following snippet will get you the max number of visible CUDA devices you have.
import torch

num_of_gpus = torch.cuda.device_count()
print(num_of_gpus)

You just have to pass the range(num_of_gpus) i.e 0 to <your_max_devices> in inference_on. Behind the scenes I will be using the cuda devices as cuda:0, cuda:1 etc. up to num_of_gpus - 1.
Just write a function to wrap Styleformer inference with device index as one of the params and invoke it using simple python multiprocessing. The number process can be equal to the number of devices. Each process will run Styleformer inference with the respective device index say P0 will run on CUDA:0, P1 will run on CUDA:1 & so on. Internally handle how you want to store the inference results.

So for 4 GPU's. It would be:
target_sentence = sf.transfer(source_sentence, inference_on=4, quality_filter=0.95, max_candidates=5)

@PrithivirajDamodaran please confirm on this?
Will distributed training work here.
Like this:
python -m torch.distributed.launch --nproc_per_node 4  inference.py

@pratikchhapolika It sounds like you'll need to fire up a separate process for each GPU and pass in inference_on=0, inference_on=1, inference_on=2, and inference_on=3, respectively, using multiprocessing.
@PrithivirajDamodaran What I would like to know is how one can batchify Styleformer inference tasks to make efficient use of GPUs that have 48GB or 80GB each.

Yes, it can be batched. Will add that patch now.

@pratikchhapolika It sounds like you'll need to fire up a separate process for each GPU and pass in inference_on=0, inference_on=1, inference_on=2, and inference_on=3, respectively, using multiprocessing.
@PrithivirajDamodaran What I would like to know is how one can batchify Styleformer inference tasks to make efficient use of GPUs that have 48GB or 80GB each.

Yes, it can be batched. Will add that patch now.

@PrithivirajDamodaran How's the batch patch coming along?


version upgrades

Couldn't get much in way of getting the tests to run in GitHub actions, so here:


SchemaFilePath in build.gradle

Question
I am implementing it in a micro-service built in Kotlin. The micro-service has to make a GraphQL call to a server. The latest version was not able to built successfully but 3.8.2. I have set the plugin like this in build.gradle
plugins {
    // Other Plugins
    id 'com.apollographql.apollo3' version '3.8.2'
}

repositories {
    mavenCentral()
}

dependencies{
    // Other Dependencies
    implementation("com.apollographql.apollo3:apollo-runtime:3.8.2")
}

apollo {
    service('service') {
        packageName.set('com.faizan.service')
        // Specify the custom path to your GraphQL schema file
        schemaFilePath.set(file("src/main/graphql/application.graphql"))
        sourceFolder.set(file("${buildDir}/generated/source/graphql"))
    }
}

I also tried with
sourceFolder.set(file("src/main/graphql"))
I have placed the schema file in
MyApplication
    src
        main
            graphql
                application.graphql
        kotlin
            com
                faizan
                    service

The error is
> Could not get unknown property 'schemaFilePath' for object of type com.apollographql.apollo3.gradle.internal.DefaultService.

Hi!
The simplest configuration is just:
apollo {
    service('service') {
        packageName.set('com.faizan.service')
    }
}

and have your files like this:
MyApplication
    src
        main
            graphql
                schema.graphqls
                operations.graphql
        kotlin
            com
                faizan
                    service

Note that your schema should have the .graphqls extension while your operations should have .graphql.

Thank you I got your point. With this structure when I try to download the schema using this command ./gradlew :app:downloadApolloSchema --endpoint='https://<some_domain>.com/graphql' --schema=app/src/main/graphql/schema.graphqls it gives this error
* What went wrong:
Project 'app' not found in root project 'custom-integrations-service'.

As I am not working on Android app but a kotlin service which needs to call a graphQL client, how can this be fixed. settings.gradle has already rootProject.name = 'custom-integrations-service' So it tried adding this but nothing change
include ':app'
project(':app').name = 'custom-integrations-service'

and this is my project structure.
MyApplication
    src
        main
            graphql
                application.graphql
        kotlin
            com
                faizan
                    service
    build.gradle
    settings.gradle

You should execute ./gradlew :downloadApolloSchema instead of ./gradlew :app:downloadApolloSchema since you don't have an app module. You should also probably remove what you've put in settings.gradle.

I ran this command ./gradlew :downloadApolloSchema --endpoint='https://countries.trevorblades.com/graphql' --schema=main/graphql/countryschema.graphqls and it added the file righ inside graphql package and I created a query with Countries.graphql but I am unable to access this query in my class inside service package.


Is there any alternatives to Flask send_from_directory?

Hi, I now successfully hosted a page with crow. However are there any existing alternatives like send_from_directory in Flask so as to read static files in a more convenient way? Thanks!

Maybe something like loadFile (https://github.com/mrozigor/mrozigor.net/blob/master/src/controllers/ResourcesController.cpp)?

You can check this out as well, I added the code to send a file + an example on how to send the file.


Create code of conduct

Signed-off-by: David Hirsch<EMAIL_ADDRESS>This PR

adding cncf code of conduct

yes, but this solution doesn't require any updates to the document as it will link directly to the CNCF code of conduct and will be updated accordingly. If you prefer I can make the change to the .github  as well

It causes the code of conduct duplication. The CNCF COC and one in OpenFeature use different incompatible versions of the Code of Conduct. So, if you want to adopt the CNCF CoC a wider change is needed

ok, then I can scrap this PR, but it could still make sense to update the .github coc

Closing. I'm supportive of adopting the CNCF one in the .github repo.


Unknown error

Just installed Bluestats and am getting this error
Unknown error: [2] json_encode(): Invalid UTF-8 sequence in argument. File:/var/www/classes/main.class.php Line:144
Any ideas?

Try disabling the query cache. Should probably do the trick. Not sure whats going on though.

that's fixed that error. Thanks
However now i'm getting 2 more errors and the online player heads don't work anymore
Unknown error: [8] Undefined index: PingInfo. File:/var/www/classes/main.class.php Line:164
and
Unknown error: [8] Undefined index: Online_Players. File:/var/www/classes/main.class.php Line:165

You probably dont have the correct server details in the configs. Make sure the ip and port is correct and query is enabled on the server

it's all correct. Everything was working fine with query caching enabled

hmm no clue whats going on


Helm Incorrectly Reporting Release "Deployed"

During deployment of the stable/spinnaker chart, Helm reports it is deployed:
$ helm list
NAME            	REVISION	UPDATED                 	STATUS  	CHART                       	NAMESPACE
orange-marsupial	1       	Fri Feb 24 14:44:04 2017	DEPLOYED	spinnaker-0.1.1             	spinnaker
viable-quail    	1       	Thu Feb 23 13:23:45 2017	DEPLOYED	aws-cluster-autoscaler-0.2.0	default

But part of the deployment failed. Observe in the following that the Redis replica set has zero running pods:
$ kubectl --namespace spinnaker describe replicaset orange-marsupial-redis-4063252840
Name:		orange-marsupial-redis-4063252840
Namespace:	spinnaker
Image(s):	bitnami/redis:3.2.5-r0
Selector:	app=orange-marsupial-redis,pod-template-hash=4063252840
Labels:		app=orange-marsupial-redis
		pod-template-hash=4063252840
Replicas:	1 current / 1 desired
Pods Status:	0 Running / 1 Waiting / 0 Succeeded / 0 Failed
Volumes:
  redis-data:
    Type:	PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:	orange-marsupial-redis
    ReadOnly:	false
Events:
  FirstSeen	LastSeen	Count	From				SubObjectPath	Type		Reason			Message
  ---------	--------	-----	----				-------------	--------	------			-------
  9m		9m		1	{replicaset-controller }			Normal		SuccessfulCreate	Created pod: orange-marsupial-redis-4063252840-wbzcg

The design of Helm is that it is responsible for deploying to the Kubernetes API server. Once the server has accepted the resources for running, Helm considers the resource to be DEPLOYED. (Really, we probably should have called it INSTALLED, because it's more analogous to installing an application versus actually running the application. But that was confusing in regard to upgrades).
To put it in terms of a traditional OS package manager, you can install Apache on a server, and successfully complete the installation. And it is a successful install even if you go to start up the application and it won't work because it's configuration is wrong.
The helm status command is basically a convenience wrapper so that you can check about Kubernetes' state of a deployed release.

Thanks for the info and clarification. I also understand the naming dilemma.


using with png

Hi!
I'm trying to use this method with images i have only in PNG format. Is there any way to do this?

Hi,
There is not really a straightforward way to make it work with any png image. Actually this algorithm is designed for raw images, so it would not work as well if the input has already been post-processed. 2 key elements are the noise distribution and the color space: denoising will not work so well if the noise distribution has been altered, and frame fusion must be done in the raw color space to work best.
Admitting that your png contains an image with minimal modification from the raw, there is also the question of channels. This algorithm was designed for mosaiced raw frames, so it can't work if the png is already and rgb image. You could either decimate the image to simulate mosaicing, or treat each channel as a separate image. We do have a grey_mode flag to process grey images, so you could process the R G and B channel by pretending that they are separate grey images.
I dont really know the nature of your png's, but this algorithm may not the best choice for your use case. If you still want to proceed, you need to run the code locally and modify the function that calls the pipeline. This means that you will need to manually normalise your image, get the noise profile and give the bayer pattern (in grey mode you can give whatever 2x2 matrice, it doesn't matter). If you have no idea of the noise profile, you can take alpha = 1.80710882e-4 and beta = 3.1937599182128e-6, and use the noise curve included in one folder of the project.

Thank you very much! <3С уважением, Фомина А. В.13.10.2023, 11:17, "Jamy Lafenetre" @.***>:
Hi,
There is not really a straightforward way to make it work with any png image. Actually this algorithm is designed for raw images, so it would not work as well if the input has already been post-processed. 2 key elements are the noise distribution and the color space: denoising will not work so well if the noise distribution has been altered, and frame fusion must be done in the raw color space to work best.
Admitting that your png contains an image with minimal modification from the raw, there is also the question of channels. This algorithm was designed for mosaiced raw frames, so it can't work if the png is already and rgb image. You could either decimate the image to simulate mosaicing, or treat each channel as a separate image. We do have a grey_mode flag to process grey images, so you could process the R G and B channel by pretending that they are separate grey images.
I dont really know the nature of your png's, but this algorithm may not the best choice for your use case. If you still want to proceed, you need to run the code locally and modify the function that calls the pipeline. This means that you will need to manually normalise your image, get the noise profile and give the bayer pattern (in grey mode you can give whatever 2x2 matrice, it doesn't matter). If you have no idea of the noise profile, you can take alpha = 1.80710882e-4 and beta = 3.1937599182128e-6, and use the noise curve included in one folder of the project.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


[Suggestion] Common shortcuts for Mac

Default shortcut for minimize/hide app window doesn't work (Command-M or Command-H)
Sorry, I don't really know if such behavior should be inherited by default because it is mac app or implemented by hand. But in my experience Command-M works for every app.
Shortcut for quit Command-Q is working
https://support.apple.com/en-us/HT201236

And there are no buttons(like, for example on right app) for this

Ahhh. I forgot about this; I'm sorry. University life weighs down heavily on me hehe. Unfortunately, I don't have a macOS machine to test with so I'm going to need help with implementing macOS shortcuts.
As for the window buttons, that's requires further discussion I guess. It was a deliberate design decision to not have window borders. Once the macOS shortcuts are working, then this shouldn't be a problem :)


Extremely slow to convert

Describe the bug
Why does It takes aprox 20 min to convert a single flac file
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This software is very resource intensive. What is your hardware?

Could you give more information?
Thank you.

Hello, I downloaded the software correctly and installed FFmpeg correctly
with the path applied the audio converter path but I still cannot convert
anything
On Thu, Dec 31, 2020 at 1:50 PM Dilan Boskan<EMAIL_ADDRESS>wrote:

Could you give more information?
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Anjok07/ultimatevocalremovergui/issues/43#issuecomment-753025921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKCWL4EKV6Q54KW7IGEM4TSXTBVXANCNFSM4VPQ6DHQ
.

Hello, I downloaded the software correctly and installed FFmpeg correctly
with the path applied the audio converter path but I still cannot convert
anything
On Thu, Dec 31, 2020 at 1:50 PM Dilan Boskan<EMAIL_ADDRESS>wrote:

Could you give more information?
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Anjok07/ultimatevocalremovergui/issues/43#issuecomment-753025921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKCWL4EKV6Q54KW7IGEM4TSXTBVXANCNFSM4VPQ6DHQ
.

Hello.
I install everything Thing  correctly and when i open vocalremover.py, i have â black screen few seconds and cannot open the program.
Can you tell me why.
Ty

Hello.
I install everything Thing  correctly and when i open vocalremover.py, i have â black screen few seconds and cannot open the program.
Can you tell me why.
Ty

Any error messages that come up? Otherwise I would not be able to help. Please make sure everything is installed correctly once again

Any error messages that come up? Otherwise I would not be able to help. Please make sure everything is installed correctly once again

All I'm getting is
Loading models...
Done!
File 1/1: Loading wave source...
File 1/1: Done!
File 1/1: Stft of wave source...
then in the other windows it says  10%|███████▉
| 22/224 [01:04<09:45,
2.90s/it] and moves so slow
To explain further, I installed the program and got it to run and I know it
needs another program to convert something other than WAV which is why I
downloaded FFmpeg , and since you didn't include a tutorial on how to
install it, I used this video (https://www.youtube.com/watch?v=r1AtmY-RMyQ)
and set the path for it to
(C:\Users\MYNAME\Documents\Path\ffmpeg-2020-12-27-git-bff6fbead8-full_build\bin),
now I run the program at last and it still refuses to convert my flac files.
On Sat, Jan 9, 2021 at 2:43 PM Dilan Boskan<EMAIL_ADDRESS>wrote:

Any error messages that come up? Otherwise I would not be able to help.
Please make sure everything is installed correctly once again
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Anjok07/ultimatevocalremovergui/issues/43#issuecomment-757357297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKCWLZ6BPYWLVHQFEYWUYLSZCWWDANCNFSM4VPQ6DHQ
.

All I'm getting is
Loading models...
Done!
File 1/1: Loading wave source...
File 1/1: Done!
File 1/1: Stft of wave source...
then in the other windows it says  10%|███████▉
| 22/224 [01:04<09:45,
2.90s/it] and moves so slow
To explain further, I installed the program and got it to run and I know it
needs another program to convert something other than WAV which is why I
downloaded FFmpeg , and since you didn't include a tutorial on how to
install it, I used this video (https://www.youtube.com/watch?v=r1AtmY-RMyQ)
and set the path for it to
(C:\Users\MYNAME\Documents\Path\ffmpeg-2020-12-27-git-bff6fbead8-full_build\bin),
now I run the program at last and it still refuses to convert my flac files.
On Sat, Jan 9, 2021 at 2:43 PM Dilan Boskan<EMAIL_ADDRESS>wrote:

Any error messages that come up? Otherwise I would not be able to help.
Please make sure everything is installed correctly once again
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Anjok07/ultimatevocalremovergui/issues/43#issuecomment-757357297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKCWLZ6BPYWLVHQFEYWUYLSZCWWDANCNFSM4VPQ6DHQ
.

hi
Dont have any error. FFmpeg running very well. I work with it.
Only vocalremover .py dont work.
tx
---------- Message d origine ----------
De : Dilan Boskan<EMAIL_ADDRESS>Daté : 9 janvier 2021 à 14:43
Any error messages that come up? Otherwise I would not be able to help. Please make sure everything is installed correctly once again
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

hi
Dont have any error. FFmpeg running very well. I work with it.
Only vocalremover .py dont work.
tx
---------- Message d origine ----------
De : Dilan Boskan<EMAIL_ADDRESS>Daté : 9 janvier 2021 à 14:43
Any error messages that come up? Otherwise I would not be able to help. Please make sure everything is installed correctly once again
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

Hi
Eveyr things going well, only vocalremover.py dont work. Cannot open vocal remover. I have a blacke screen for few sec, and after nothing open. I have install all teh programs that we need.
ty
---------- Message d origine ----------
De : Aeiron2<EMAIL_ADDRESS>Daté : 9 janvier 2021 à 23:55
All I'm getting is
Loading models...
Done!
File 1/1: Loading wave source...
File 1/1: Done!
File 1/1: Stft of wave source...
then in the other windows it says 10%|███████▉
| 22/224 [01:04<09:45,
2.90s/it] and moves so slow
To explain further, I installed the program and got it to run and I know it
needs another program to convert something other than WAV which is why I
downloaded FFmpeg , and since you didn't include a tutorial on how to
install it, I used this video (https://www.youtube.com/watch?v=r1AtmY-RMyQ)
and set the path for it to
(C:\Users\MYNAME\Documents\Path\ffmpeg-2020-12-27-git-bff6fbead8-full_build\bin),
now I run the program at last and it still refuses to convert my flac files.

On Sat, Jan 9, 2021 at 2:43 PM Dilan Boskan<EMAIL_ADDRESS>wrote:

> Any error messages that come up? Otherwise I would not be able to help.
> Please make sure everything is installed correctly once again
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/Anjok07/ultimatevocalremovergui/issues/43#issuecomment-757357297>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASKCWLZ6BPYWLVHQFEYWUYLSZCWWDANCNFSM4VPQ6DHQ>
> .
>

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

Hi
Eveyr things going well, only vocalremover.py dont work. Cannot open vocal remover. I have a blacke screen for few sec, and after nothing open. I have install all teh programs that we need.
ty
---------- Message d origine ----------
De : Aeiron2<EMAIL_ADDRESS>Daté : 9 janvier 2021 à 23:55
All I'm getting is
Loading models...
Done!
File 1/1: Loading wave source...
File 1/1: Done!
File 1/1: Stft of wave source...
then in the other windows it says 10%|███████▉
| 22/224 [01:04<09:45,
2.90s/it] and moves so slow
To explain further, I installed the program and got it to run and I know it
needs another program to convert something other than WAV which is why I
downloaded FFmpeg , and since you didn't include a tutorial on how to
install it, I used this video (https://www.youtube.com/watch?v=r1AtmY-RMyQ)
and set the path for it to
(C:\Users\MYNAME\Documents\Path\ffmpeg-2020-12-27-git-bff6fbead8-full_build\bin),
now I run the program at last and it still refuses to convert my flac files.

On Sat, Jan 9, 2021 at 2:43 PM Dilan Boskan<EMAIL_ADDRESS>wrote:

> Any error messages that come up? Otherwise I would not be able to help.
> Please make sure everything is installed correctly once again
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/Anjok07/ultimatevocalremovergui/issues/43#issuecomment-757357297>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASKCWLZ6BPYWLVHQFEYWUYLSZCWWDANCNFSM4VPQ6DHQ>
> .
>

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

I do not know why this would happen either.

I do not know why this would happen either.


Would it still work if the clear_eyes directory at the root of the project were removed?

Cool gem! Just curious, https://github.com/superacidjax/clear_eyes/tree/master/clear_eyes seems maybe duplicative/empty/unnecessary?

You seem correct! Feel free to submit a PR!

On 16 Dec 2015, at 16:18, Kevin Burnett<EMAIL_ADDRESS>wrote:
Cool gem! Just curious, https://githubcom/superacidjax/clear_eyes/tree/master/clear_eyes seems maybe duplicative/empty/unnecessary?
—
Reply to this email directly or view it on GitHub.


Return of Get (RIP Bind)

Bind morphing back into Get

T Get() + object Get(Type type)

Initial starting point for PR is what we had before minus the overloads for default values and sugar for specifying a sectionName, where Value is used if specified, otherwise children are bound. (uses the bind logic exactly)
@divega I know you have some ideas around what this should do instead, what did you have in mind?
cc @glennc

@divega updated with the new Bind logic that only Converts if CanConvertFrom(string) is true.  I left GetValue alone, so there's a new parallel (yet way uglier) TryConvertValue

I left GetValue alone

@HaoK is it that you think that then exceptions coming from calling TypeDescriptor.GetConverter(type).ConvertFromInvariantString(value) directly could be better than anything we can craft? :smile:

GetValue is basically equivalent to sugar for TypeDescriptor.GetConverter(type).ConvertFromInvariantString(value) what would we do if CanConvertFrom is false for this method, throw a different error message than what ConvertFromInvariantString would throw?  I didn't see much value in risking any subtle breaking changes for GetValue, when the behavior change we wanted was for bind/get

So,  you can't make breaking changes though right?

Yeah that's why I'm not touching GetValue, the change to Bind, is making a blocked scenario work.
Before this change, if a section had both a value and children, Bind would only attempt to convert the value which would throw, now it will call CanConvertFrom(string) to avoid blowing up, and attempt to bind the children instead which will make the following work
Example config
objkey = bogusvalue
objkey:property1 = value1
objkey:propery2 = value2
var myObj = new MyObj();
config.Bind(myObj)
// or
var myObj = config.GetSection("objkey").Get<MyObj>()

I guess potentially new settings getting bound is a change in behavior, so we can split this change into two pieces to be safer, add Get<T> without changing the Bind semantics, and add the second Bind behavior change in 1.2
@divega thoughts?

Will split this PR into two, a smaller Get<T> change that doesn't effect bind behavior for 1.1, and a new PR which revamps Bind and will go into 1.2


Can't install extensions, version mismatch (worked in the past)

I'm unable to install important extensions which used to work without any problems in previous version

Can I handle it myself or it is some sshcode problem?
Versions:

sshcode v0.8.0 binary for Linux x86-64
code-server v1.1156-vsc1.33.1 (logged line after server start)

[EDIT]
It can be related to code-server issues https://github.com/cdr/code-server/issues/920

Yeah, unfourtunately this is related to the version of VS Code we bundle inside of code-server. There's a v2 preview release which uses a much newer (if not latest) version of VS Code which should solve these problems, but there's no way to instruct sshcode to use it. I'll work on a feature that allows uploading code-server from your local machine (so you can upload code-server v2 to the remote server) today.
Not sure how well the flags will work since we changed the flags, but I could work out a solution for that as well.

I've merged a flag --upload-code-server which should allow you to upload code-server v2 preview to your remote server over SSH. I'll leave this open until code-server v2 becomes the current version.

Hey, yeah this is a problem with the docker image  itself, there's nothing to do to fix it.
But, if you need it right away, my solution was pretty easy:
Use this docker image:

codercom/code-server:2.preview.11-vsc1.37.0

I get it working with that version, I'll keep an eye when the version 2 are all set up and working well, but for the moment this "preview" works well. @micmarty

Using the v2 Docker image is helpful if you're using Docker, but unfourtunately sshcode doesn't have support for launching remote Docker containers yet. The only way to force sshcode to use v2 is to use the new --upload-code-server flag or to upload the new version to ~/.cache/sshcode/sshcode-server in advance.

Hi, I am also facing this issue. May I know how to use this flag ?

Hi, I am also facing this issue. May I know how to use this flag ?

Basically, just point to the specific code-server binary that you want to use

used
--upload-code-server 3.0.0
failed to upload local code-server binary to remote server: stat 3.0.0: no such file or directory
an example code would be really helpful and please mention what versions of code-server can be used

~/.cache/sshcode/sshcode-server

replaced sshcode-server latest binary of code-server 3.0.2. and it fails to start.
So both methods are not working in way I understood

used
--upload-code-server 3.0.0
got
failed to upload local code-server binary to remote server: stat 3.0.0: no such file or directory
an example code would be really helpful and please mention what versions of code-server can be used

I guess you need to use the path of binary of codesever and not the version which you want to install like --upload-code-server path . Correct me @Merith-TK, if I am wrong.

Yeah path is what you need, simply choosing a version number doesn't work.
Also version 3 won't work due to how it is distributed now.

used
--upload-code-server 3.0.0
got
failed to upload local code-server binary to remote server: stat 3.0.0: no such file or directory
an example code would be really helpful and please mention what versions of code-server can be used

I guess you need to use the path of binary of codesever and not the version which you want to upload like --upload-code-server path . Correct me @Merith-TK, if I am wrong.

I tried providing the link to the binary first and it didnt work. Discovered Path meant the local path and I did that after downloading binary file of v3.0.02 linux arm_64 and pointed to the path.
I cleared out sshcode files from .local/share and .config and used --upload-code-server <path>
it threw an error that it could't find .config/sshcode folder and didnt proceed.
So I then ran it without the  --upload-code-server <path> and base version is installed.
Then ran it with --upload-code-server <path>. Everything went well. I still wasn't able to install ms-python extension. It gave the same error, compatibility issue with version of vscode.
Closed it and ran it again with the usual command and with --skipsync and then without it. Still no luck. I'm running Ubuntu 18.04 on gcp n1 instance.

Code-server version 3 won't work with sshcode. Look at how version 2 and 3 are package,

I went with 2.1698-vsc1.41.1.
In both ways i.e using upload flag as well as manually copying files into the .cache/sshcode/sshcode-server, I end up with same error. I'm not able to update to even version 2.

Please use code blocks for terminal output, makes it easier to follow and realize that it is terminal/code

Please use code blocks for terminal output, makes it easier to follow and realize that it is terminal/code

I had enclosed it in code blocks but there is a '+' character every line rendering the enclosment useless. But I tried again and it now works but use 3 of single quotes rather than one.

Any luck @puneethrj, let me also know if you are able to solve the problem since I am having the same issue.

Code-server version 3 won't work with sshcode. Look at how version 2 and 3 are package,

@Merith-TK , I think the problem is not with sshcode but with the code server, since I tried on latest release of code server, but it still didn't work out. Here is the error I got 'Unable to install 'ms-python.python' extension because it is not compatible with the current version of VS Code (version 1.41.1).'. Is there a way to upgrade VS code version using code server or sshcode ?

Odd... I swore I installed that the other week but then removed it because I had no need...

Odd... I swore I installed that the other week but then removed it because I had no need...

Sorry my bad, I was still using the previous version of code-server, and it works with the latest release.

@Merith-TK, is there a quick solution for this issue?


fix(#2229): dropdown height issue

Before (the change)

After (the change)

Make sure that you've checked the boxes below before you submit the PR

[x] I have read and followed the setup steps
[ ] I have created necessary unit tests
[ ] I have tested the functionality in both React and Angular.

Steps needed to test

@syedszeeshan There appears to still be a slight discrepancy, tested in Angular with the following code:

What is your date of birth?

<goa-block>
  <goa-form-item label="Day">
    <goa-input width="50px" />
  </goa-form-item>
  <goa-form-item label="Month">
    <goa-dropdown>
      <goa-dropdown-item value="January" label="January" />
      <goa-dropdown-item value="February" label="February" />
      <goa-dropdown-item value="March" label="March" />
      <goa-dropdown-item value="April" label="April" />
      <goa-dropdown-item value="May" label="May" />
      <goa-dropdown-item value="June" label="June" />
      <goa-dropdown-item value="July" label="July" />
      <goa-dropdown-item value="August" label="August" />
      <goa-dropdown-item value="September" label="September" />
      <goa-dropdown-item value="October" label="October" />
      <goa-dropdown-item value="November" label="November" />
      <goa-dropdown-item value="December" label="December" />
    </goa-dropdown>
  </goa-form-item>
  <goa-form-item label="Year">
    <goa-input width="100px" />
  </goa-form-item>
</goa-block>


[API Based Authentication] [Bug] Getting Null when enable only API Based Authtincation

Describe the issue:
$sub
Steps to Reproduce

Create an Standard base Application with OAuth 2.0 protocol
Go to advanced Section
You should see the API Based Authentication Configuration
Enable only API Based Authentication Configuration and clikc Update.
Android Package Name and Apple ID values will be shown as Null

Possible Root Cause

When updating an application via patch, we internally retrieve the application object apply the changes and save the object.
https://github.com/wso2/carbon-identity-framework/blob/424f1d087371db7425028ccdba51dbf7a05eb46f/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java#L5057
In above code we are checking
androidPackageName.setValue(String.valueOf(clientAttestationMetaData.getAndroidPackageName()));
if clientAttestationMetaData.getAndroidPackageName() == null then androidPackageName will be set as "Null"


Weird behaviour of Category widget while searching

So I have this category widget

With this config

But when I perform a search...

And then, when I select the MOTORWAY and click on apply...

Is it displaying COUNT during the search instead of the defined aggregation?
.

Related: S/B 11190615
We thought this 2.9M number was a COUNT:

Because widget is set up this way:

But when user:

Sets up a COUNT Formula widget that can interact with Category widget

Selects 2005 in the Category widget

2.9M is not the result:

I could not replicate with small dataset—if we need to use this client data for testing I can report in private repo.
@CartoDB/support let client know when fixed please.

We are having a similar issue with the category widget.  The strange behavior we have:

Category Widget does not show all of the categories - this would be okay if the search worked as expected.
On selecting a category from the list - the widget filters results to show only the selected category.
But on selecting a category from the returned search results, the widget filters to show all results EXCEPT the selected category.

This is actually visible in @AbelVM post above in addition to the numbers being incorrect.

Indeed the values for category widgets are different in search and filter mode, the urls are different, but I'm not sure if this weird behaviour is intended, it returns the resulting number of occurrences when searching.
This is the search url (find attached)
http://matatageom.localhost.lan:8181/api/v1/map/ed3080892b7bc3214bc20fa7eb425bef:1499173664221/dataview/30f62ab4-21d2-4498-8fdc-9f9212fdbbcd/search?q=9&api_key=2ccd3fe047d99a8e8c97771aa396692c6510221f

This is the filter url (find attached)
http://matatageom.localhost.lan:8181/api/v1/map/c9cabc3215bdc6aadde2cd89c72dc351:1499173664221/dataview/30f62ab4-21d2-4498-8fdc-9f9212fdbbcd?bbox=-15.508092641830446,27.7838613115335,-15.505174398422243,27.787961749415377&own_filter=1&api_key=2ccd3fe047d99a8e8c97771aa396692c6510221f

actually when digging in the code I can see a getSearchCount method which makes me think this is the intended behavior
https://github.com/CartoDB/deep-insights.js/blob/master/src/widgets/category/stats/stats-view.js#L26-L33
please @kevin-reilly @noguerol can you shed light on this issue?

@matallo that's a bug. The values should be the same IMO

They do.

Acceptance: OK

Search:

:heart:


Active Directory Group Names cannot contain spaces

What happened? Provide a clear and concise description of the bug, including deployment details.
AD domain join for storage account fails if AD group name contains a space.
Please provide the correlation id associated with your error or bug.
fd8acacd-9b07-4df3-bdaf-83ec2bb2c536
What was the expected outcome?
Successful deployment with domain join of FSLogix storage account to ADDS.
Relevant log output
From the Custom Script Extension:
{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'AzureFilesDomainJoin' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension'). Error message: "Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'C:\Packages\Plugins\Microsoft.Compute.CustomScriptExtension\1.10.15\Downloads\0\Manual-DSC-Storage-Scripts.ps1 : A \r\npositional parameter cannot be found that accepts argument 'Employees'.\r\n    + CategoryInfo          : InvalidArgument: (:) [Manual-DSC-Sto...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)". More information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot. "}

@SvenAelterman thanks for your feedback and submitting the PR, we are reviewing it.

Addressed by @SvenAelterman on PR: https://github.com/Azure/avdaccelerator/pull/526


fix dataset size limitation

upload file size in browser limited? + projection limits?

Update:
CSV files locally dragged in can now be of greater size (>1gb)
projection size can only be increased by using a backend for umap
check if python implementation can be adapted to support stepwise projection


Greenkeeper/eslint plugin react 7.14.2

Pull Request Test Coverage Report for Build 416

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 415:
0.0%

Covered Lines:
43

Relevant Lines:
43

💛  - Coveralls

Pull Request Test Coverage Report for Build 416

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 415:
0.0%

Covered Lines:
43

Relevant Lines:
43

💛  - Coveralls


Add support for Anthropic Claude API

I'd like to use Enchanted with Anthropic’s chat API. I noticed there is already some discussion of supporting the APIs for ChatGPT (#139) and Mistral (#25). I think it would be simple and very useful to support additional chat APIs for those of us who like to experiment with different models. 🙏
Enchanted looks like the best open-source app for general LLM chat support. Looking forward to seeing it evolve!

Same request for another LLM API or  openai compatible API

@bhenriq, can you share a link or example of how to use Ollama to query online models? I searched and didn't find any mention of using Ollama as a proxy for remote models. In fact, it's docs say, “Ollama runs locally, and conversation data does not leave your machine.”

@quinncomendant
i have double checked and it looks like my answer was incorrect.
my apologies for that.
maybe indeed a capability that enchanted could provide itself.


HIVE-25252: All new compaction metrics should be lower case

What changes were proposed in this pull request?

All newly introduced compaction related metrics should be lower case.
Why are the changes needed?

Some consumers of the metrics only accept lower case names.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Unit test

I'll abandon this PR in favour of https://github.com/apache/hive/pull/2422 as its constantly failing on split-1 not related to the change without a reasonable way to fix.


How to enable Docker image caching when using DIND?

Is this a BUG REPORT or FEATURE REQUEST?:
Question
What happened:
The image is pulled every time which can be quite time consuming
What you expected to happen:
In case the image is already in host' Docker cache, it should not be pulled
How to reproduce it (as minimally and precisely as possible):
https://argoproj.github.io/docs/argo/examples/readme.html#docker-in-docker-using-sidecars

One partial solution we had before is to mount Docker sidecar's graph storage volume using hostPath, so that caching would happen if docker build happens to be scheduled to exactly same node.
But this had huge drawback of failing builds when multiple builds happen parallel, as graph storage can't really be shared by two concurrent Docker daemons.


Liquidator must be incentivized to keep uTokens

Summary
In https://github.com/umee-network/umee/pull/1118 we allow liquidator to automatically receive the underlying token, instead of uToken.
The problem is that it removes the liquidity from the system, rather than incentivizing liquidator to keep the liquidity in the system
Proposal

Add one more global parameter to the system: UTokenLiquidationFee
Whenever liquidator will decide to automatically redeem uToken to the underlying token when doing a liquidation, his premium will be reduced by UTokenLiquidationFee. Basically the premium he will receive will equal to premium * (1-UTokenLiquidationFee)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Wouldn't you only want to charge a fee if the collateral utilization is at it's max though? Otherwise it will be harder to have liquidators' period - depending on how high the fee is.
Or maybe the higher the collateral utilization, the higher the fee?

In general we want to have an small incenitve to keep the liquidity in the protocol.
For this use case I think the simple solution will work, and we can consider more complex solutions in the future. Feel free to make a full proposal.


there is one JSON file per ABAP object

closes #276

suggest repeating the definition from https://github.com/SAP/abap-file-formats/blob/main/docs/specification.md#file-names along with an example

I agree, we should specify (at least) the pattern of the filename:
<object_name>.<object_type>.json
An example is helpful as well.


Enhancement Request - Add scale to solar disc

Adding an optional scale to the solar disc would be great to highlight the size of prominences, etc...
e.g.

I usually only use the part of the scale beyond the Sun's disc.
Apologies, I don't recall where I found this diagram, I didn't create it myself.

Shouldn't be too tough to procedurally do it similar to this bit of code already in there for debugging:
def add_circle(im, center, radius, color, thickness):
cv.ellipse(im, center, (radius, radius), 0, 0, 360, color, thickness, cv.LINE_AA)
return im
Can render it to a separate image of the same size and blend, or could render directly on the final image. If the color is gray, can do it the same on both the colorized and gray image without any special handling.
For rendering text, can use putText, something like this, I bet:
https://stackoverflow.com/questions/16615662/how-to-write-text-on-a-image-in-windows-using-python-opencv2

well,
How about both? Have a choice of either no scale, scale embedded in image, or scale as separate (transparent) image

render directly is the simplest, easiest, option for the user
separate image allows some manipulation in an editor such as GIMP or Photoshop. e.g. if a prominence is higher than a scaling circle, I'll often erase part of an arc so as not to interfere.


Subscription Service being incorrectly shown in Collection Information Response

I've created a collection management service with a data collection of type "DATA_FEED" and a Subscription management handler specified, ("------" selected).
When I receive a collection information response using the collection_information_client script I'm seeing this in the response output:
=== Subscription Service ===
  Protocol Binding: urn:taxii.mitre.org:protocol:http:1.0
  Address: /services/cms-test/
  Message Binding: urn:taxii.mitre.org:message:xml:1.1
=== Subscription Service ===
  Protocol Binding: urn:taxii.mitre.org:protocol:https:1.0
  Address: /services/cms-test/
  Message Binding: urn:taxii.mitre.org:message:xml:1.1

I was under the impression that if a subscription management handler wasn't specified that the subscription service wouldn't work, therefore this response portion shouldn't be shown?

@SyntaxGeek, my apologies for the delayed response.

I was under the impression that if a subscription management handler wasn't specified that the subscription service wouldn't work, therefore this response portion shouldn't be shown?

Your impression is correct - if there is not a specified subscription handler, the ability to perform subscriptions (i.e., CollectionSubscriptionManagementRequests) 1) should not be advertised, and 2) should not be accessible. Any other behavior is a bug, which you've identified.
As I'm looking through the code, I'm realizing there's a few comments like this:
# TODO: Probably wrong, but here's the idea

As you presumed, this is an area that is somewhere between unfinished and untested. However, the areas that users are using tend to see the quickest improvement, so please keep bringing issues like this up!
As for closing on this issue, I see two action items:

Add a test confirming this bug
Fix the code so that Subscription Management is not incorrectly advertised - I'm thinking the right spot for this fix is in the .filter(...) line; probably adding something like .exclude(subscription_management_handler=None).

It might be a week before I have time to apply the code fix, but I did want to let you know that you're issue is not forgotten!
Thank you.
-Mark


prevent flon_rewrite_tree() from performing on already rewritten lines

. (there was the _ trick before..)

idea... could set linenumber to 0 or -1 for rewritten bits.

0: rewritten
-1: tree from nowhere

or the inverse...

Not necessary, since the rewriting is "recursive"...


Test cases and fixes for #262 and #263

Hmm, removing the errors thrown there doesn't quite fix this. The exceptions are there for a reason, that is, there shouldn't be duplicate namespace declarations at all. Removing the exceptions will result in a situation where you'll never know what exactly is in that namespace - it could be completely different structures.
A proper fix would require taking a look at why exactly a namespace is declared multiple times, and fixing the root cause instead.

Agreed. I was trying to do this in a hurry to get something working.
After taking a look at it, the root cause is this:
https://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/Builder.js#L465-L468
simply appending "importN" to the filename means that the same import in different files will have a different "filename" so the checks you have to protect against duplicate imports don't work.
I'm not sure what the best way to do this in javascript is, but doing something like the following ensures that we're not importing duplicate structures:
in src/ProtoBuf/Util.js:
    Util.hashCode = function(value) {
        var hash = 0, i, chr, len;
        if (value.length == 0) return hash;
        for (i = 0, len = value.length; i < len; i++) {
            chr   = value.charCodeAt(i);
            hash  = ((hash << 5) - hash) + chr;
            hash |= 0; // Convert to 32bit integer
        }
        return hash;
    };

in src/ProtoBuf/Builder.js at line 463:
    if (!filename) {
        this["import"](json['imports'][i]);
    } else {
        var hash = ProtoBuf.Util.hashCode(JSON.stringify(json['imports'][i]));
        this["import"](json['imports'][i], filename.split('::')[0] + '::' + hash);
    }

the filename itself isn't as clean as how you had it since it can contain a negative integer, but I don't see that you're using this other than in the duplicate import checks where it doesn't matter.
Let me know if you think that is in the right direction and I'll update the PR.

Indeed, renaming stuff like this doesn't seem to be sane. I am currently wondering why exactly this was even required, as duplicate imports are already skipped earlier in the code.
I assume this is somehow connected to the old proto2js command line utility, and might not be required anymore. The pbjs tool combines everything into a common namespace, effectively removing all imports from the generated outputs.
Have you already tried to replace that portion with just
                } else // Import structure
                    this["import"](json['imports'][i], filename);

?

That doesn't work. It will skip parsing the imports because of these lines:
https://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/Builder.js#L403-L405
The JSON structure its working with looks like this:
{ package: 'main',
  messages:
   [ { name: 'MainMessage',
       fields:
        [ { rule: 'optional',
            options: {},
            type: 'main.Dep1',
            name: 'test1',
            id: 1 },
          { rule: 'optional',
            options: {},
            type: 'main.Dep2',
            name: 'test2',
            id: 2 },
          { rule: 'optional',
            options: {},
            type: 'main.Common',
            name: 'test3',
            id: 3 } ],
       enums: [],
       messages: [],
       options: {},
       oneofs: {} } ],
  enums: [],
  imports:
   [ { package: 'main',
       messages:
        [ { name: 'Dep1',
            fields: [Object],
            enums: [],
            messages: [],
            options: {},
            oneofs: {} } ],
       enums: [],
       imports:
        [ { package: 'main',
            messages: [Object],
            enums: [],
            imports: [],
            options: {},
            services: [] } ],
       options: {},
       services: [] },
     { package: 'main',
       messages:
        [ { name: 'Dep2',
            fields: [Object],
            enums: [],
            messages: [],
            options: {},
            oneofs: {} } ],
       enums: [],
       imports:
        [ { package: 'main',
            messages: [Object],
            enums: [],
            imports: [Object],
            options: {},
            services: [] } ],
       options: {},
       services: [] },
     { package: 'main',
       messages:
        [ { name: 'Common',
            fields: [Object],
            enums: [],
            messages: [],
            options: {},
            oneofs: {} } ],
       enums: [],
       imports: [],
       options: {},
       services: [] } ],
  options: {},
  services: [] }

The unique filenames allow it to parse through the nested imports as it stands today. What I don't really understand is why the "package" is maintained for the imports, but not the filename.
If the imports maintained their actual filename, I think everything would work properly.

How exactly did you obtain that JSON definition? pbjs should actually collapse everything into one namespace to prevent these kind of issues.
And yes, without file names, there is no way to know whether an import is a duplicate or not - and it shouldn't generate something like that.

It's a result of the "dupimport" test case I submitted in the PR
On Sun, May 31, 2015 at 3:57 PM Daniel Wirtz<EMAIL_ADDRESS>wrote:

How exactly did you obtain that JSON definition? pbjs should actually
collapse everything into one namespace to prevent these kind of issues.
And yes, without file names, there is no way to know whether an import is
a duplicate or not - and it shouldn't generate something like that.
—
Reply to this email directly or view it on GitHub
https://github.com/dcodeIO/ProtoBuf.js/pull/265#issuecomment-107255227.

So, this has been generated by pbjs? If so, is this still reproducible with the latest changes?

The test case passes the file name to pbjs. I'll check if it's still
reproducible.
On Sun, May 31, 2015 at 4:18 PM Daniel Wirtz<EMAIL_ADDRESS>wrote:

So, this has been generated by pbjs? If so, is this still reproducible
with the latest changes?
—
Reply to this email directly or view it on GitHub
https://github.com/dcodeIO/ProtoBuf.js/pull/265#issuecomment-107256588.

cool, looks like this is fixed with the recent changes. this PR just contains the tests now.
Thanks!


Threads hang when decompiling project

When decompiling the following project then threads start to hang: https://file.io/3T2xr39DM7JY
Alternative download link: https://gofile.io/d/6FlfC2
The used command is with "Build: 1.5.478.16 - Wed Aug 05 01:34:59 GMT 2020" is:
java -mx1G -jar forgeflower.jar classes2-dex2jar.jar outDir

Please post your console output using a paste service instead (such as GitHub Gists), as the link you currently provide does not exist anymore.

I have updated the link.

I have updated the download link. I will post a console output later when the process has finished.

Here is the logfile: https://gofile.io/d/0gjxPz
After increasing the java heap to 10GB it worked. Nevertheless some code could not be decompiled.


GOTO considered harmful

GOTO considered harmful

Related #689

Huh. :-) goto case isn't quite the same thing as goto per se, and the scope here is quite clearly visible on one page on the screen, but it works either way. :-)

(Put another way, switch is effectively a giant goto that just doesn't have goto in the name, and goto case is a part of that flow structure, scoped to the switch block. If goto truly is harmful, then switch is harmful, and conversely if switch is not harmful, then flowing from one case to another ought not to be harmful either. That's why I personally have to qualms with writing a default case as a goto case for the default behaviour.)

goto switch isn't a keyword, so it's a goto. I disagree that switch is a giant goto. A switch is a selection statement like if-else.
If switch was harmful, then if-else was also harmful.
I don't see any reason to use a goto in the switch and therefor removal was the best choice.

But that's exactly the case. :-) if-else, switch and goto are all fundamentally the same thing, and I'm not just talking pedantics of the underlying machine code.
The negative attention that goto has received is actually a misattribution. Many people believe there was a popular article by a famous programmer penned with that title. This is actually not quite correct, and opinions on goto by such accomplished programmers is far from polarized. There's a good collection of insights here:
http://stackoverflow.com/questions/46586/goto-still-considered-harmful
See quotes of Dijkstra himself, Knuth and, further down, Torvalds. Most pointedly, the title "GOTO considered harmful" was added by the editor, replacing Knuth's much more conservative "A case against the goto statement".
The way I think about it is, if it makes the code clearer, then I use it, otherwise I don't. In this case, I feel that it makes explicit the situation where a caller has given AlignmentOnTruncation an unexpected value. The switch block as originally written is saying, basically:
switch ()
{
  case FirstValueISupport:
    ...;
    break;
  case SecondValueISupport:
    ...
    break;

  case WhatOnEarthIsThis:
    goto case AReasonableFallbackBehaviour;
}

This makes a statement about what we do if, for instance, someone adds enumerated value PaddingHorizontalAlignment.Center or PaddingHorizontalAlignment.Invalid and this code hasn't been updated to handle it, or perhaps if the user casts some random integer to the PaddingHorizontalAlignment type and it has no interpretation. (Can happen by accident with some mapping methodologies, e.g.)
The updated form handles unrecognized values in the same way, but the behaviour is implicit. There's nothing that calls the reader's attention to the fact that there might be unrecognized values in AlignmentOnTruncation. I don't anticipate that there ever would be unrecognized values in that particular field of this particular class, but programming intentionally and explicitly is a habit I've gotten into. :-)
Finally, while it is true that goto case is not a keyword in and of itself, it is also significant that the scope of target labels when using goto case *identifier* or goto default is more strict than that of the generalized goto *label*.
To be clear, I've put way more time and effort into writing this up than I have consternation about the change. I'm not at all upset by this follow-up pull request. I do disagree with the principle behind it, but ultimately the code still does the same thing, and the codebase is yours to style as you see fit. i'll not pass up an opportunity for some friendly information-passing on the subject, though. :-)


Stabilize Dart

Summary
Fixes #49

Added tests for Dart, just like Golang

Made bool check more strict
Fixed some parts that were reading container length as Int64, not Uint64: This wasn't a problem when the number is small(0x00000000~0x01111111), but was one of the problems that were causing the tests to fail
Made serialization/deserialization consider max bytes length
Made serialization/deserialization consider container depth

Implemented sortMapEntries for BCS
Bumped Dart versions in the CI and package config to 3.5.3(>=3.0.0, <4.0.0)

Test Plan
Since the tests were already defined in Golang, I've written some extra Dart tests that follows the way Golang does.

@ma2bd I've done matching the tests and behaviors of Dart to that of Golang as you mentioned in #49

Looks like some tests are not passing yet, I'll investigate deeper

The matcher package doesn't support comparing list in tuple. I might need to write a custom comparison class that resembles matcher here.

The matcher package doesn't support comparing list in tuple. I might need to write a custom comparison class that resembles matcher here.

Maybe we can also disable this example for Dart.

Okay :)

Thanks @temeddix. Perhaps @jerel would like to have a look at the Dart specific code?

Hi, would it take some time to review?


[PECO-163] Update GoLang clients' user agent

Update user agent of GoLang client.

I will not submit until the server code is live ~June 27th.

All servers have been updated. Now I can submit this PR.

Ping @arikfr and @susodapop ...

jenkins merge


Fix clustertemplate condition and add retries

Add retries to the clustertemplaterevision action handler in case it
gets caught trying to update the CTR at the same time as the
secretmigrator controller.
(cherry picked from commit 8ee27472bb0e299cb962e724eb165d22c72e1f5e)

https://github.com/rancher/rancher/issues/37107


No conduit break particles

Is there an existing issue for this?

[X] I did not find any existing issues.

Current Behavior
Breaking conduits spawns missing texture particles
Expected Behavior
spawn the proper textures
How to Test
No response
Local Environment
- **Operating System**:
- **Java version**:
- **Minecraft Version**:
- **Version**:
- **Other Mods**: Applied Energistics 2, Mekanism...

Any Additional Information?
No response

Should be resolved by adding a custom addDestroyEffects handler (IClientBlockExtensions) for the Conduit Block.
This will need to consider which conduit is being broken to pop the particles from the correct part of the shape, use the correct texture and to do this for facades too.


Publish DotNet.ProjInfo.Workspace.FCS as nuget

Hello @enricosada, I've would like to use the functionality in #32 to get Fable to compile fsx files.
What is the plan on releasing on DotNet.ProjInfo.Workspace.FCS as nuget package?

Yes, both Dotnet.ProjInfo.Workspace and Dotnet.ProjInfo.Workspace.FCS
In the next days

Done.

https://www.nuget.org/packages/Dotnet.ProjInfo.Workspace.FCS/0.31.0
https://www.nuget.org/packages/Dotnet.ProjInfo.Workspace/0.31.0

@nojaf i'll upgrade FSAC soon too, if you want to wait when is more stable.
Please ping me if you find issues.


Bug in Image Augmentations

Hi,
When reading and augment the data we call:
https://github.com/Janspiry/Image-Super-Resolution-via-Iterative-Refinement/blob/0f31547f3d0429dcae23cf528059b7a69e0e7fca/data/util.py#L64-L71
The bugs:

This line iterate over the first dimension of the numpy image (because the function augment(img, split) called with single image)
https://github.com/Janspiry/Image-Super-Resolution-via-Iterative-Refinement/blob/0f31547f3d0429dcae23cf528059b7a69e0e7fca/data/util.py#L41

the hflip get the split value. ( We should call it augment(img, split=split) )
https://github.com/Janspiry/Image-Super-Resolution-via-Iterative-Refinement/blob/0f31547f3d0429dcae23cf528059b7a69e0e7fca/data/util.py#L26

Suggested solution:
def transform_augment(img_list, split='val', min_max=(0, 1)):
    imgs = [transform2numpy(img) for img in img_list]
    imgs = augment(imgs, split=split)
    ret_img = [transform2tensor(img, min_max) for img in imgs]
    return ret_img

Please let me know if it's correct.

 The augment of single image will affect the network performance.Thanks for your advice, I will update it soon.

The augmentations are disabled since the default value split='val' remains in augment function...
Of course, with the augmentations, it supposes to perform better.
I think its better to use the dedicated torchvision functions instead of implement them, as follows:
    totensor = torchvision.transforms.ToTensor()
    hflip = torchvision.transforms.RandomHorizontalFlip()

    imgs = [totensor(img) for img in img_list]
    if split == 'train':
        imgs = torch.stack(imgs, 0)
        imgs = hflip(imgs)
        imgs = torch.unbind(imgs, dim=0)
    ret_img = [img * (min_max[1] - min_max[0]) + min_max[0] for img in imgs]

Hi @Janspiry ,
In continue to my comment @ErezYosef  https://github.com/Janspiry/Image-Super-Resolution-via-Iterative-Refinement/issues/14#issuecomment-918394583

I think its better to use the dedicated torchvision functions instead of implement them.

My Suggested implementation:
    totensor = torchvision.transforms.ToTensor()
    hflip = torchvision.transforms.RandomHorizontalFlip()
    imgs = [totensor(img) for img in img_list]
    if split == 'train':
        imgs = torch.stack(imgs, 0)
        imgs = hflip(imgs)
        imgs = torch.unbind(imgs, dim=0)
    ret_img = [img * (min_max[1] - min_max[0]) + min_max[0] for img in imgs]

Thanks for your valuable suggestions. I used torchvision in earlier versions rather than numpy, which does lead to a decrease in processing speed. I will update it in the newest code.

Oh, I think you are right. You can use torch.flip to fix it.

I meet the same problem.
I use pytorch=1.2. This may be a version problem.
I delete this flip process，and the program ran successfully.


FatalThrowableError in channels.php line 14: Class 'Broadcast' not found

So after I added the service provider in app.php, then I typed this into Terminal php artisan vendor:publish --provider="ReliQArts\Mardin\MardinServiceProvider".
Unfortunately, terminal gave me another error:
[Symfony\Component\Debug\Exception\FatalThrowableError]
  Class 'Broadcast' not found

Hello @rtd62,
I am looking into this.
Please check the Laravel log file to see additional details, including where this exception is being thrown from.
Cheers 🍻

All I had to do was clear my cache and run php artisan optimize. 🍻

Glad to see you managed to figure this out @rtd62. I myself couldn't reproduce the error. :beers:


build(examples): clean more output

Clean e2/target and pkg directories.
Verification
E2E Crate

cd examples/todo_app_sqlite
cargo make ci
cargo make clean
Verify the e2`/target directory is NOT present.

Hacker News

cd examples/hackernews_js_fetch
cargo make ci
cargo make clean
Verify the pkg directory is NOT present.

Thank you!


InvokeMethodAsync reports cancellation using RpcException instead of OperationCanceledOperation

Expected Behavior
InvokeMethodAsync and other APIs that accept a CancellationToken should report cancellation by the caller by throwing OperationCanceledException.
This behavior is important because application code that passes in a cancellation token expects to handle cancellation on a separate code path than other kinds of failures. Using the standard mechanism to report a canceled operation makes this straightforward.
Actual Behavior
The DaprClient reports cancellation by propagating the underlying implementation's cancellation mechanism (RpcException).
Example call-stack:
Error: Grpc.Core.RpcException: Status(StatusCode=Cancelled, Detail="Call canceled by the client.")
   at Dapr.Client.DaprClientGrpc.MakeGrpcCallHandleError[TResponse](Func`2 callFunc, Metadata headers, CancellationToken cancellationToken)
   at Dapr.Client.DaprClientGrpc.MakeInvokeRequestAsync(String appId, String methodName, Any data, HTTPExtension httpExtension, CancellationToken cancellationToken)
   at Dapr.Client.DaprClientGrpc.InvokeMethodAsync[TRequest,TResponse](String appId, String methodName, TRequest data, HTTPExtension httpExtension, CancellationToken cancellationToken)
   at Frontend.Shared.JoinGameScreen.TryJoinGameAsync() in /Users/ryan/github.com/rynowak/rock-paper-actors/src/Frontend/Shared/JoinGameScreen.razor:line 62
   at Frontend.Shared.JoinGameScreen.OnParametersSetAsync() in /Users/ryan/github.com/rynowak/rock-paper-actors/src/Frontend/Shared/JoinGameScreen.razor:line 30
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

Steps to Reproduce the Problem
Call InvokeMethodAsync and pass in a pre-cancelled cancellation token - or begin a long operation that hits the network and then cancel after a short period of time.
Workaround
Example code that works around the problem:
            try
            {
                await client.InvokeMethodAsync<UserInfo, GameInfo>("matchmaker", "join", user, cancellationToken: cancellationToken);
            }
            catch (RpcException rpc) when (rpc.StatusCode == StatusCode.Cancelled && cancellationToken.IsCancellationRequested)
            {
                throw new OperationCanceledException(rpc.Message, rpc, cancellationToken);
            }

Shouldn't this be handled by the Grpc layer?

That might make sense as well, but it will likely be hard for them to change (breaking change) - so I don't think we can count on a quick fix. @jamesnk any thoughts on this one?

There is actually an option to do this: https://grpc.github.io/grpc/csharp-dotnet/api/Grpc.Net.Client.GrpcChannelOptions.html#Grpc_Net_Client_GrpcChannelOptions_ThrowOperationCanceledOnCancellation
When you create the channel, configure GrpcChannelOptions.ThrowOperationCanceledOnCancellation to true and then you'll get OCE thrown on cancellation.
I argued hard to have the default exception be OCE, but the Grpc.Core channel already threw RpcException in this situation. This is the one time we disagreed 😑 The best I could do was add a setting, but I think that should work for you.

That's not really the best you can do, you can keep fighting for it 😆

we should apply the workaround for this then and ideally add some tests.


eventpagefootersocialicons

Closes
Closes #1187
Description
I have added the tooltip on the events page also I have changed the color of WhatsApp to green before it was blue which was a bug
Screenshots

Note to reviewers

Checklist:

[x] I have linked the PR to the correct issue.
[x] I have read the Contribution Guidelines
[x] I have built and tested the changes, and they do not break or show any errors.

can you please review my pr @Vaishnavi-Patil2211

can you please review my pr @Vaishnavi-Patil2211


Changed September Abbreviation to "Sept" in locale-specific english files and default locale file

I hope this fixes #2728

Please update tests to match.  Thanks.

@mj1856 Thanks for helping me out, this is my first pull request on Github so i'm kind of nervous and a bit clueless on the whole process. Please bear with me.
Thanks

With this change what is the output of moment("Sep 4 2010", "MMM D YYYY")?  With and without strict mode.

@MartynDavis we have to hack in parseMonth, parseShortMonth and parseLongMonth to work around that.
@mbad0la can you please take inspiration from src/locale/ru.js about the specialized parsing methods to allow both Sept and Sep as a representation when parsing.

@ichernev i'll give it look and try to do it.

@ichernev i'm failing strict parsing tests -
capital long-month + MMM
capital short-month + MMMM
lower long-month + MMM
lower-short month + MMMM
Is it because of the fact that all short month abbreviations have a fixed length of 3 whereas September can have either 3 or 4 letters in its abbreviation. Please help out.

Personally, if I format my dates as "DD-MMM-YYYY" I want September to be "Sep" and not "Sept".
The world of computing has survived both http://public.oed.com/how-to-use-the-oed/abbreviations/#s and http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns (which lists Sept as the abbreviation example, yet fails to provide a definitive list of month abbreviations).
strftime(), Java's SimpleDateFormat class, countless others, even Excel, all format abbreviated months as 3 letters for all months, for English.
There is a lot of precedence to have "September", when formatted as "MMM", return "Sep".

@mbad0la the short and long should be more strict. The short should have /^Sept?$/, and long should be /^September$/, so that nothing can slip through. Also you need to add special tests to make sure that Sep will work no worse than Sept when it comes to (strict) parsing.

@ichernev where can i find all the possible formats and the function definition of strict parsing tests?

Merged in 9ea2d6b1a86d59b36bce792771cffc3f85b382b0

This seems like a breaking change, and not a minor one :-/


Conflict with locale

When I use locale in for DatePicker the Moment.js I use elsewhere in my application will return wrong results. Before I click on the DatePicker new Moment().week() will return 40 but after I opened the DatePicker new Moment().week() will return 39.
I've narrowed this down to week: {         dow: this.props.weekStart       }, in the initializeMomentLocale function in the Calendar component. For the time being I've disabled this but I hope someone has a solution for this problem or just remove it becaus my code seems to be running fine without it.

Fixed the issue, had to use moment.isoWeek() instead of moment.week() and now the weeknumbers are consistent before and after using the datepicker.

Thanks for clarifying!


Prometheus doesn't delete metrics with delete_series

Bug Report
What did you do?
Trying to delete metrics from 2 Prometheus pods deployed in k8s cluster. Metrics contain information about old failed jobs which are no longer exits. But since metrics exist, I get alerts for these metrics.
Steps:

Check kube_job_failed graph in Prometheus UI. Compare list of failed jobs with real list of completed jobs in k8s cluster.

Delete not existing jobs:
for first pod:
curl -X POST -g 'http://<IP_ADDRESS>:9090/api/v1/admin/tsdb/delete_series?match[]=kube_job_failed{job_name="elasticsearch-backup-curator-1568570100"}' -v

output:
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 9090 (#0)
> POST /api/v1/admin/tsdb/delete_series?match[]=kube_job_failed{job_name="elasticsearch-backup-curator-1568570100"} HTTP/1.1
> Host: <IP_ADDRESS>:9090
> User-Agent: curl/7.59.0
> Accept: */*
>
< HTTP/1.1 204 No Content
< Date: Mon, 23 Sep 2019 08:47:04 GMT
<
* Connection #0 to host <IP_ADDRESS> left intact

for second pod:
curl -X POST -g 'http://<IP_ADDRESS>:9090/api/v1/admin/tsdb/delete_series?match[]=kube_job_failed{job_name="elasticsearch-backup-curator-1568570100"}' -v
output:
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 9090 (#0)
> POST /api/v1/admin/tsdb/delete_series?match[]=kube_job_failed{job_name="elasticsearch-backup-curator-1568570100"} HTTP/1.1
> Host: <IP_ADDRESS>:9090
> User-Agent: curl/7.59.0
> Accept: */*
>
< HTTP/1.1 204 No Content
< Date: Mon, 23 Sep 2019 08:49:12 GMT
<
* Connection #0 to host <IP_ADDRESS> left intact

Clean old records from disks:
curl -X POST -g 'http://<IP_ADDRESS>:9090/api/v1/admin/tsdb/clean_tombstones' -v

output:
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 9090 (#0)
> POST /api/v1/admin/tsdb/clean_tombstones HTTP/1.1
> Host: <IP_ADDRESS>:9090
> User-Agent: curl/7.59.0
> Accept: */*
>

< HTTP/1.1 204 No Content
< Date: Mon, 23 Sep 2019 08:48:42 GMT
<
* Connection #0 to host <IP_ADDRESS> left intact

curl -X POST -g 'http://<IP_ADDRESS>:9090/api/v1/admin/tsdb/clean_tombstones' -v
output:
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 9090 (#0)
> POST /api/v1/admin/tsdb/clean_tombstones HTTP/1.1
> Host: <IP_ADDRESS>:9090
> User-Agent: curl/7.59.0
> Accept: */*
>

< HTTP/1.1 204 No Content
< Date: Mon, 23 Sep 2019 08:50:43 GMT
<
* Connection #0 to host <IP_ADDRESS> left intact

Restart Prometheus pods

What did you expect to see?
I expected that all records with label elasticsearch-backup-curator-1568570100 will be deleted. And I will not see them in Prometheus UI.
What did you see instead? Under which circumstances?
I still see records with label elasticsearch-backup-curator-1568570100 in kube_job_failed metric in Prometheus UI.
Environment
k8s version: v1.11.5
os-kernel-container-engine: Ubuntu 18.04.2 LTS   4.15.0-46-generic   docker://18.6.1
helm version --tls
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Prometheus deployed with Prometheus-operator
chart version: Prometheus-operator-5.0.10
app version: Prometheus-operator  0.29.0

System information:
Linux 4.15.0-46-generic x86_64

Prometheus version:

prometheus, version 2.7.1 (branch: HEAD, revision: 62e591f928ddf6b3468308b7ac1de1c63aa7fcf3)
build user:       root@f9f82868fc43
build date:       20190131-11:16:59
go version:       go1.11.5

Prometheus configuration file:

# my global config
global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  # scrape_timeout is set to the global default (10s).

# Alertmanager configuration
alerting:
  alertmanagers:
  - static_configs:
    - targets:
      # - alertmanager:9093

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
  # - "first_rules.yml"
  # - "second_rules.yml"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
    - targets: ['localhost:9090']

Hmm, I can't reproduce this yet. Using Prometheus 2.7.1, I scraped a couple of metrics for the job node, then removed that job from the scrape config, then ran:
curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={job="node"}' -v

...and all the series with job="node" were gone. Same with just deleting the corresponding up metric first.
In case you can make this more reproducible, that would be helpful.
Is the data that is still being returned only recent data, only historic (more than a couple of hours old) data, or both?

It's my fail.
I missed first step - I didn't stop scrape metrics for appropriate job.

I've repeated all steps including following:
First step. Delete Servicemonitor prometheus-operator-kube-state-metrics
...
Last step. Apply Servicemonitor prometheus-operator-kube-state-metrics
And it works.
Thank You.


Contact me on Telegram https://t.me/funcapltd

Hey there!
Please contact me on Telegram I have to tell you something important.
@funcapltd
https://t.me/funcapltd

@roachezl6h0 no, you can tell us right here.


looks for routes_table_no_verb.csv in path relative to current working directory

I've installed gitlab_ruby via gem install gitlab_ruby. Afterwards I tried using it, but that filed with the following error message:
/usr/lib/ruby/2.4.0/csv.rb:1282:in `initialize': No such file or directory @ rb_sysopen - lib/gitlab_ruby/routes_table_no_verb.csv (Errno::ENOENT)
        from /usr/lib/ruby/2.4.0/csv.rb:1282:in `open'
        from /usr/lib/ruby/2.4.0/csv.rb:1282:in `open'
        from /usr/lib/ruby/2.4.0/csv.rb:1147:in `foreach'
        from /usr/lib/ruby/gems/2.4.0/gems/gitlab_ruby-0.2.1/lib/gitlab_ruby/query_chain.rb:18:in `generate_methods'
        from /usr/lib/ruby/gems/2.4.0/gems/gitlab_ruby-0.2.1/lib/gitlab_ruby.rb:17:in `<top (required)>'
        from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `require'
        from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
        from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in `require'
        from ./bug_status.rb:7:in `<main>'

That file is present in the gem:
[0 mosu@sweet-chili /ftp/pub/rip/mkv/bugs] gem contents gitlab_ruby | grep csv
/usr/lib/ruby/gems/2.4.0/gems/gitlab_ruby-0.2.1/lib/gitlab_ruby/routes_table_no_verb.csv

It starts to work after I create lib/gitlab_ruby in the current directory and put a routes_table_no_verb.csv there, either as a symlink, or via wget'ting a copy from GitHub.
Conclusion: the file should be searched relative to gitlab_ruby.rb's location or something like that, not realtive to the current working directory.

Same here, witching lib then :(


Identity

Merges options-pattern & identity into development.

The pull request #59 for improvement/options pattern can probably supersede this one.


Fix walkObject to work with module namespace objects

Fixes #1360.
walkObject doesn't work on module namespace objects when running inside vite-node. This is because module namespace objects don't have a constructor function.
This "bug" has gone unnoticed for a long time because esbuild was modifying the export in some way that made it work, but vite-node doesn't seem to do this.
I don't think we need to use constructor anymore since walkObject is constrained to only work on objects, at least as far as the type signature is concerned.

Thank you everyone 👏