Remove "uwp" from README

@MarcAnt01 Update the links too

@Suburbanno no need, since GH already performs redirecting


[MAD][DATA1018][web-project] Ivan Cernicharo

Hello Belen,
I've almost finished the web-project. Just have to clean web scraping notebook and add a description in the README about this last part.
Best regards,
Ivan

Hello Belen, Marc,
The project is finished. I would like you to check how to automatize the script I have created for the API, my attempts were unsuccessful.
Thanks for your time
I look forward to hearing from you feedback soon.
Best regards,
Ivan


HttpTriggers can fire against disposed or uninitialized ScriptHosts

For 'normal' triggers, we stop all listeners before we dispose of a host, and they only start when the host has been fully initialized. But with HttpTriggers, we're always dispatching them to the currently set Instance, whether it's ready or not. This has manifested itself in a couple of race conditions that I've seen so far:

It's possible to try to log with a disposed LoggerFactory as the host has been disposed, yet it is still set as the Instance property in ScriptHostManager. We'll be disabling our LoggerFactory disposal temporarily until we can fix the underlying problem.
I've seen requests attempt to be made using a DefaultTypeLocator, which should never happen. This is because the request is coming in before the configuration is fully set -- we override this TypeLocator in Script.

We need to have a way to queue up HTTP traffic while we bring up a new host, then let it execute against that host.

For additional context. Today, the WebScriptHostManager directly pushes the request against the current instance by directly accessing the instance property, which may, for different reasons, reference an invalid, not ready or disposed host.
One proposed solution is to queue up those requests here instead and have a proper listener that dequeues them. We may want to turn the HttpRequestManager into a long living service (that is kept between host restarts) making the appropriate changes to that it is injected by the runtime and used by the HTTP binding, since the manager already handles request queuing.


CARDS-1856: Fix java build warnings

CARDS-1856
To test:

Does the build work correctly?
Does CSV data import work?
Does indexing NCIT with curl -v -u admin:admin -X POST http://localhost:8080/Vocabularies -d source=ncit_flat -d version=22.06d work? Also try to make a question use it and check that using it is fine.

@sergiu is this expected?

@sergiu is this expected?

Those warnings were not included in the specs of 1856.

[ ] Does the build work correctly?

[ ] Does CSV data import work? ( tested proms import and lfs variants upload)

[ ] Does indexing NCIT with curl -v -u admin:admin -X POST http://localhost:8080/Vocabularies -d source=ncit_flat -d version=22.06d work?

@sashaandjic my bad, it's supposed to be ncit-flat with a dash, not underscore.


Web apps Overview topic

Per Dan Roth
Given the options for ASP.NET Core 3.0 currently available in Preview 4, it looks like the Web app TOC node could use a new Overview topic that also helps you quickly narrow down what pattern/set of features to consider to meet a common web app goal.

Need outline by the PU

Dup of #17882


Conflicting Keyboard Commands

Hi, is there a way to change the custom keyboard command to run this plugin?
The very popular Invision/Craft plugin also uses "Cmd + P".

You can go to System Preferences -> Keyboard -> Shortcuts -> App Shortcuts, then click the little + icon there, select Sketch in the Application dropdown menu, enter Preview in the Menu Title field and assign your desired shortcut. Once you've done that, the shortcut displayed in the Plugins menu in Sketch itself should change to whatever you specified.

perfect, thank you

You're welcome.  Happy Sketching. :)


Pluggable logging

This ticket is for the CNCF summer mentorship 2022

Describe the problem you are trying to solve
Tremor is an event processing system that can - among other things - process logs and metrics. We would like tremor to have a facility to handle its logs through its own pipelines (similar to the pluggable metrics experience), instead of the current state, where the logs have to be received externally.
For production users this would allow:

tailoring tremor to different environments,
simplified production configuration

today in one of production environments Tremor writes its logs to a file, which is then read by other systems, that parse and ship them back to tremor. With pluggable logging this dance is avoided, making the whole system cheaper and easier to maintain.

removing the dependency on external tools.

Describe the solution you'd like
We would like to have an internal connector, which will be a source for the internal tremor logs.
Goals

[ ] Tremor logs can travel through the internal tremor pipelines

Hi, I'm Damilola Olayinka, a Computer Science undergraduate. I got to know about Tremor through the LFX Mentorship programme and I found it interesting. I would love to work on this issue  but i am having some difficulties  understanding the project as I am new to this. Would you mind sharing some resources which i can go through prior to submitting my application for the program.

Hi, I’m Rui, a master student in computer engineering. Currently I'm working on log compression and I’m learning Rust. I’m also very interested in this issue but have the same problem as Damilola. Could you provide some guidance?

Hi @yimikao, hi @wraymo thank you two for your interest, and sorry for the late reply. Absolutely, there are a few starting points that can be of interest.
The metrics guide
Note this is still in preview as we're flashing out the documentation for the upcoming release, but in the Tremor metrics section, we show how one can consume metrics from tremor itself to post-process them. In very short, this project is about doing the same with logs.
The metrics connector source
If you prefer reading sources over documentation that could be a good starting point, as before, this is how we do metrics and while it's not going to be "the same" it'll probably give a feel about the direction for what we're aiming for.
log4rs docs
This is the library for logging we're currently using so digging a bit in there about how to integrate with it could be helpful.
the community chat
While less about the technical part we have a good community on discord, with a channel dedicated to mentoring where you can ask questions, chat with prior mentees, and all that :)
I hope that answers some of the questions.


fix: ignore collect pipeline 403 for CI/CD disable

Summary
Add ignoreHTTPStatus403 to ignore the http code 403
For collect pipeline with CI/CD disable.

Does this close any open issues?
close #2065
Screenshots

Changed it to skip it.


rabbitmq_ulimit needs to be increased to > 64k

The new rabbitmq_ulimit parameter needs to be increased to > 64k so follow the suggestion from RabbitMq for production work load. This parameter has proven to be too small for a mid sized cloud even.

closing as it's been done


WebUI will not load; only HTML is displayed

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
10GB
What happened?
As can be seen in the screenshot, InvokeAI WebUI will not load. It displays only HTML. I have tried the following tests and things so far:

As well as a manual installation of InvokeAI, I also tried two different versions of a one-click installation.
I have tried on five browsers. My five different browsers are all up-to-date, cache cleared, and allow JavaScript for <IP_ADDRESS>:9090.
Using NetLimiter, telnet, etc., I ruled out a port issue; port 9090 is open.
The 9090 port has been added to my Windows firewall as an "allow" rule. (I also tried while disabling the firewall)
My HOSTS file is clean.
SD A1111 WebUI works fine on port 7860, so I changed "self.port = args.port" to "self.port = 7860" in backend/invoke_ai_web_server.py, and the command window shows that InvokeAI was loaded on port 7860, but the same HTML issue persists.
InvokeAI has been installed with a new Hugging Face token.

I am out of ideas.
Screenshots
This is what the result looks like:

Additional context

UPDATE: 12-7-2022 13:46PM
I switched back and forth between user profiles while testing, and suddenly it worked on my account! It worked for a while, but then stopped working again after one more switch. The fact that it worked even once tells me it can be fixed.

UPDATE: 12-7-2022 14:57PM
After more testing, and switching between user accounts, for the first time in three days, now it's not working in the TEST account either.

UPDATE: 12-9-2022 07:57AM
After more testing, and switching between user accounts, It worked once on both accounts, but when I closed the server and restarted it, it didn't work again.

Contact Details
<EMAIL_ADDRESS>

OS
Windows
GPU
cuda
VRAM
8Gb
What happened?
Same problem, the application sometimes partially loads when you restart it right during the page load, but it does not fully function.

OS
Windows
GPU
cuda
VRAM
6Gb
What happened?
Same result, only on localhost windows machine.
Addtional info:
Started on first restart after a crash caused by misuse of swap with img2img and an invalid s_end parameter.  Tested FirefoxWeb browser does not affect the result, both firefox and

Some additional info on debugging this issue. Invoke CLI works fine, it produces images from promt, other models as gfpgan work fine. I think, this issue is related to backend (flask websocket or something) or frontend. On first load of localhost:9090 app loads instantly, but  is completely empty so there is no interface at all. Аfter page refresh it starts to refresh infinitely. In debug network tab it starts to load some files like polyfills.1ff60148.js (not the only one), the time column on this item says "pending" infinitely but at the same time, I can access this file directly with http://localhost:9090/assets/polyfills.1ff60148.js.
App can still be loaded by relaunching invoke.py --web while trying to connect to localhost:9090 in browser but I can't fully understand how to replicate it properly every time, sometimes it works, other times it doesn't. Even if html and js of app loads, app still doesn't function properly. I can send prompts and get images in return, but returned images are blurry in the web interface (not in output folder though). Also unified canvas just doesn't work, I can create some images on it, but than they just dissapear from canvas after generation.

I found a workaround while checking for blocked content.  I have uBlockOrigin in Chrome, and I can see when I load the page all the get and xhr requests show flask is working and running keepalive calls every second.  No content or scripts are blocked by policy, but using the reload function in uBlockOrigin extension causes the web UI to load and render properly for me reliably.  I don't know how to troubleshoot further, but am happy to do testing or capture logs if someone can give instructions.

I found a workaround while checking for blocked content. I have uBlockOrigin in Chrome, and I can see when I load the page all the get and xhr requests show flask is working and running keepalive calls every second. No content or scripts are blocked by policy, but using the reload function in uBlockOrigin extension causes the web UI to load and render properly for me reliably. I don't know how to troubleshoot further, but am happy to do testing or capture logs if someone can give instructions.

samurainate, thanks for the clue!
I fixed the app, everything works great. The problem was in kaspersky port handling which doesn't even turn off when you turn off kaspersky.
It's all about this setting. If it's turned off (don't forget to restart browser) then everything starts working

A little more info.  I turned on the --web_verbose and watched the log.  I don't know if I learned anything useful, but I observed different sequences of events between running clients and the newly launched non-rendered client on localhost, and the point in the logs when it rendered.
Other running clients on the network connected first.  here's the initial log of a good working session from an apple device with the web UI loaded in an active tab when the server started.
    jnJIqB_HNcI_h5SPAAAA: Sending packet OPEN data {'sid': 'jnJIqB_HNcI_h5SPAAAA', 'upgrades': ['websocket'], 'pingTimeout': 60000, 'pingInterval': 100000}
    jnJIqB_HNcI_h5SPAAAA: Received packet MESSAGE data 0
    jnJIqB_HNcI_h5SPAAAA: Sending packet MESSAGE data 0{"sid":"UDDxBDl1Y_6_35DRAAAB"}
    jnJIqB_HNcI_h5SPAAAA: Received request to upgrade to websocket
    jnJIqB_HNcI_h5SPAAAA: Upgrade to websocket successful
    jnJIqB_HNcI_h5SPAAAA: Received packet MESSAGE data 2["requestSystemConfig"]

This session upgrades the websocket before requesting system config.  I don't know what this means, but I note it because the localhost windows/chrome browser session in the next log didn't log the websocket upgrade until the time when I pressed refresh and the UI rendered correctly for the first time.
Here's the localhost session logs for the windows/chrome device where InvokeAI is running
    BC2JSMoFOe1NM3YiAAAE: Sending packet OPEN data {'sid': 'BC2JSMoFOe1NM3YiAAAE', 'upgrades': ['websocket'], 'pingTimeout': 60000, 'pingInterval': 100000}
    BC2JSMoFOe1NM3YiAAAE: Received packet MESSAGE data 0
    BC2JSMoFOe1NM3YiAAAE: Sending packet MESSAGE data 0{"sid":"n0Y1LjGWpuG4rT9WAAAF"}
    BC2JSMoFOe1NM3YiAAAE: Received packet MESSAGE data 2["requestSystemConfig"]
    BC2JSMoFOe1NM3YiAAAE: Sending packet MESSAGE data 2["systemConfig",{"model":"stable diffusion","model_weights":"waifu-diffusion-1.3","model_hash":"a16d2f57b229156a61ccab6b1cbc120332f3a2a320c75952241e6439f3fe79ec","app_id":"invoke-ai/InvokeAI","app_version":"v2.2.4","model_list":{"stable-diffusion-1.5":{"status":"not loaded","description":"The newest Stable Diffusion version 1.5 weight file (4.27 GB)"},"inpainting-1.5":{"status":"not loaded","description":"RunwayML SD 1.5 model optimized for inpainting (4.27 GB)"},"waifu-diffusion-1.3":{"status":"active","description":"Stable Diffusion 1.4 fine tuned on anime-styled images (4.27)"},"mdjrny-v4":{"status":"not loaded","description":"Midjourney Style, keyword mdjrny-v4 style"},"stable-diffusion-1.4":{"status":"not loaded","description":"The original Stable Diffusion version 1.4 weight file (4.27 GB)"},"trinart-2.0":{"status":"not loaded","description":"An SD model finetuned with ~40,000 assorted high resolution manga/anime-style pictures (2.13 GB)"},"trinart_characters-1.0":{"status":"not loaded","description":"An SD model finetuned with 19.2M anime/manga style images (2.13 GB)"},"papercut-1.0":{"status":"not loaded","description":"SD 1.5 fine-tuned for papercut art (use \"PaperCut\" in your prompts) (2.13 GB)"},"voxel_art-1.0":{"status":"not loaded","description":"Stable Diffusion trained on voxel art (use \"VoxelArt\" in your prompts) (4.27 GB)"}},"infill_methods":["patchmatch","tile"]}]
    BC2JSMoFOe1NM3YiAAAE: Received packet MESSAGE data 2["requestImages","result",null]
    BC2JSMoFOe1NM3YiAAAE: Sending packet MESSAGE data 2["galleryImages",{"images":...omitted long message...k_heun","width":512,"height":640,"category":"result"}],"areMoreImagesAvailable":false,"category":"result"}]
    BC2JSMoFOe1NM3YiAAAE: Received packet MESSAGE data 2["requestImages","user",null]
    BC2JSMoFOe1NM3YiAAAE: Sending packet MESSAGE data 2["galleryImages",{"images":[],"areMoreImagesAvailable":false,"category":"user"}]
    BC2JSMoFOe1NM3YiAAAE: Received request to upgrade to websocket
    BC2JSMoFOe1NM3YiAAAE: Upgrade to websocket successful
    BC2JSMoFOe1NM3YiAAAE: Sending packet PING data None
    BC2JSMoFOe1NM3YiAAAE: Received packet PONG data
    BC2JSMoFOe1NM3YiAAAE: Sending packet PING data None
    BC2JSMoFOe1NM3YiAAAE: Received packet PONG data
    BC2JSMoFOe1NM3YiAAAE: Sending packet PING data None
    BC2JSMoFOe1NM3YiAAAE: Received packet PONG data

The sequencing is different to the apple session, no idea if it's a meaningful difference or not.  What's not apparent is the timing since there are no timestamps here.  I watched side by side while refreshing to get the UI to render.  The messages requesting system config and images occurred while the web UI was still rendering a blank page.  This time a regular browser page refresh triggered the normal web UI to render without using the uBlockOrigin extension interface.  That is also when the request to upgrade websocket messages occurred in my side by side view.

I found a workaround while checking for blocked content. I have uBlockOrigin in Chrome, and I can see when I load the page all the get and xhr requests show flask is working and running keepalive calls every second. No content or scripts are blocked by policy, but using the reload function in uBlockOrigin extension causes the web UI to load and render properly for me reliably. I don't know how to troubleshoot further, but am happy to do testing or capture logs if someone can give instructions.

samurainate, thanks for the clue! I fixed the app, everything works great. The problem was in kaspersky port handling which doesn't even turn off when you turn off kaspersky.
It's all about this setting. If it's turned off (don't forget to restart browser) then everything starts working

I am not running Kaspersky, and I don't have anything intercepting and modifying web traffic that I know of.  I'll look around.  Refreshing is still only a workaround, first load is always a blank page.

Quick update, I found a script call to github.com from localhost was blocked by uBlockOrigin, causing the load of the WebUI to fail.  I'll look for the source of the call when I next have time.

Quick update, I found a script call to github.com from localhost was blocked by uBlockOrigin, causing the load of the WebUI to fail. I'll look for the source of the call when I next have time.

OMG, please do! I'm having the same issue with lama-cleaner, and would really like to enjoy WebUIs like everyone else. Please update as soon as you find the script.


Fix incorrect SILSuccessorIterator operator++ that broke master-next …

@swift-ci please test and merge


Fix stat_tx bug

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   58.41%   58.41%
=======================================
  Files          10       10
  Lines         392      392
=======================================
  Hits          229      229
  Misses        163      163

Impacted Files
Coverage Δ

profbit/coinbase_stats.py
32.35% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


add crane addon

Description of your changes
add crane addon

How has this code been tested?

Checklist

I have:

[ ] Title of the PR starts with type (e.g. [Addon] or [Trait]).
[ ] Updated/Added any relevant [documentation] and [examples].
[ ] Unit/E2E Tests added.

Please pending this pr until support read value from configmap. Then refactor this addon with helm type component.

about the crane addon ,the crane official provide installation not have other extension at now.About the thing that change yaml file to cue file,i want change when the vela helm addon support the valueFrom parameter.at that time i will change the crane addon use cue file and i will change this addon to use helm addon rather than k8s api about (HelmRepository,HelmRelease)

It is amazing and exciting to integrate the crane as an vela addon for me. Later I will try it out.

about the crane addon ,the crane official provide installation not have other extension at now.About the thing that change yaml file to cue file,i want change when the vela helm addon support the valueFrom parameter.at that time i will change the crane addon use cue file and i will change this addon to use helm addon rather than k8s api about (HelmRepository,HelmRelease)

About changing yaml file to cue file previously mentioned , just follow the two principles

The YAML type file should contain a K8S resource object, which will be directly added to the application as a K8s-object type component during rendering
If you need to add a component to your application that needs to be rendered dynamically based on parameters when enabled, you can write a CUE format file. ping @fengkang01

https://docs.gocrane.io/dev/tutorials/using-effective-hpa-to-scaling-with-effectiveness/
Can we make this capability as a trait?

i think this addon is a good practice in finOps area. Let's find out if  recommendation and HPA can use as a vela trait.

let's refine the addon in the following PRs.


Permission defined error caused by yarn cache clean --all

I'm getting the following when trying to create a build image with 'production' as the target.
docker build -t my_app --target production .
#22 19.09 yarn cache v1.22.10
#22 19.11 error An unexpected error occurred: "EACCES: permission denied, rmdir '/usr/src/yarn'".
#22 19.11 info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
#22 19.11 info Visit https://yarnpkg.com/en/docs/cli/cache for documentation about this command.
------
executor failed running [/bin/sh -c yarn install --frozen-lockfile --check-files       && yarn cache clean --all]: exit code: 1

The image builds as expected when I remove this line: https://github.com/Ruby-Starter-Kits/Docker-Rails-Generator/blob/bf6025db1b111df3ea3c7f48bbc42445bfad9f02/App-Template/Dockerfile#L120

Thank you @mattruzicka  for reporting this :)


[Feature] When the options of a stock chart changed in Vue 3, the chart is broken!

What problem does this feature solve?
The option of a stock chart changed but the chart can not update accordingly but show like this:

After refreshing the webpage the chart shows correctly like this:

The chart.vue code is:
<template>

</template>

What does the proposed API look like?
How can let the chart automatically update correctly?

That is a Vue debugging question.


Add definition for "Java" and update "IBAN definition".

@cyrilschumacher thank you your contributions.
please change file name about java/java.d.ts.
java package is already exists in npm. https://www.npmjs.com/package/java

I renamed the directory and the files in "java-applet*".

@cyrilschumacher thanks mate!


How to change cuda device

I wanted to change my device form 'cuda:0' to 'cuda:1',then I met the problem below. It shows that I didn't totally run my code on the new device.  Where should I modify in this program to run my code on the new device? thanks!

To run training on cuda:1, you can use CUDA_VISIBLE_DEVICES=1 bash tools/dist_train.sh blahblah ...

Thanks!
------------------ 原始邮件 ------------------
发件人:                                                                                "kennymckormick/pyskl"                                                                                @.>;
发送时间: 2022年7月28日(星期四) 凌晨3:42
@.>;
<EMAIL_ADDRESS>主题: Re: [kennymckormick/pyskl] How to change cuda device (Issue #68)
To run training on cuda:1, you can use CUDA_VISIBLE_DEVICES=1 bash tools/dist_train.sh blahblah ...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks!


Show thumbnails when adding root and favorites

Is there a reason why we are not showing thumbnails when adding root and favorites?

Yes, we disabled it for now. But should be implemented eventually.
Technical difficulty here is that we store previews/thumbnails by id, not by path. And before we add folder we can't have ids because we haven't started indexing yet. But we can invent something for sure.


The setting that you are looking for is not available

what i get when i Log IN

When you get this issue? When click in "Open in Colab"?

what i get when i Log IN

When you get this issue? When click in "Open in Colab"?

1st enter the email id
2nd go to https://myaccount.google.com/apppasswords
3th enter the password and log in and the page like this i try 3 account all the same
please help to fine the problem .

This function is only available if 2FA is enable on your account.
Troubleshooting:
1- Enable 2FA for your account, https://myaccount.google.com/security .
2- Delete the created Whapa app password and create a new one, https://myaccount.google.com/apppasswords .
3- Not Working? Disable 2FA for your account, https://myaccount.google.com/security .
4- Allow access to your account by unlocking the captchar, https://accounts.google.com/DisplayUnlockCaptcha .
5- Use your password instead of app password you generate.


slack: Refactor Slack text formatters.

This PR aims to make render_block and  render_attachments be reusable (primarily for the Slack importer)  and clean up any duplicative functions(replace_links & replace_formattings) in slack_incoming.

This means, moving render_block and  render_attachments from slack_incoming to slack_message_conversion. (Done)

Make render_block and  render_attachments compatible with convert_slack_formatting instead of replace_links & replace_formattings from slack_incoming (Commit: e919327bb1b529deb3daa5d74825d1ce5d6cd933).
However, if one tries to use the current regex in convert_slack_formatting directly in slack_incoming, some tests will fail:

Running tests in slack_incoming with previous `convert_slack_formatting` regex:

======================================================================
FAIL: test_attachment_fields (zerver.webhooks.slack_incoming.tests.SlackIncomingHookTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/webhooks/slack_incoming/tests.py", line 215, in test_attachment_fields
    self.check_webhook(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2448, in check_webhook
    self.assert_channel_message(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2464, in assert_channel_message
    self.assertEqual(message.content, content)
  File "/srv/zulip/zerver/lib/test_classes.py", line 290, in assertEqual
    raise AssertionError(
AssertionError: Actual and expected outputs do not match; showing diff.
  Build bla bla succeeded

- *Requested by*: Some user
+ **Requested by**: Some user
- *Duration*: 00:02:03
+ **Duration**: 00:02:03
- *Build pipeline*: ConsumerAddressModule
+ **Build pipeline**: ConsumerAddressModule
- *Title with null value*
+ **Title with null value**
- *Title without value*
+ **Title without value**
  Value with null title
  Value without title

======================================================================
FAIL: test_complicated (zerver.webhooks.slack_incoming.tests.SlackIncomingHookTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/webhooks/slack_incoming/tests.py", line 171, in test_complicated
    self.check_webhook(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2448, in check_webhook
    self.assert_channel_message(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2464, in assert_channel_message
    self.assertEqual(message.content, content)
  File "/srv/zulip/zerver/lib/test_classes.py", line 290, in assertEqual
    raise AssertionError(
AssertionError: Actual and expected outputs do not match; showing diff.
  ## Hello from TaskBot

  Hey there 👋 I'm TaskBot. I'm here to help you create and manage tasks in Slack.
  There are two ways to quickly create tasks:

- *1⃣ Use the `/task` command*. Type `/task` followed by a short description of your tasks and I'll ask for a due date (if applicable). Try it out by using the `/task` command in this channel.
+ **1⃣ Use the `/task` command**. Type `/task` followed by a short description of your tasks and I'll ask for a due date (if applicable). Try it out by using the `/task` command in this channel.

- *2⃣ Use the *Create a Task* action.* If you want to create a task from a message, select `Create a Task` in a message's context menu. Try it out by selecting the *Create a Task* action for this message (shown below).
+ **2⃣ Use the *Create a Task* action.** If you want to create a task from a message, select `Create a Task` in a message's context menu. Try it out by selecting the *Create a Task* action for this message (shown below).

  [image1](https://api.slack.com/img/blocks/bkb_template_images/onboardingComplex.jpg)

  ➕ To start tracking your team's tasks, **add me to a channel** and I'll introduce myself. I'm usually added to a team or project channel. Type `/invite @TaskBot` from the channel or pick a channel on the right.

  ----

  [cute cat](https://pbs.twimg.com/profile_images/625633822235693056/lNGUneLX_400x400.jpg)

  👀 View all tasks with `/task list`

  ❓Get help at any time with:
  - `/task help`, or
  - type **help** in a DM with me

======================================================================
FAIL: test_message_formatting (zerver.webhooks.slack_incoming.tests.SlackIncomingHookTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/webhooks/slack_incoming/tests.py", line 40, in test_message_formatting
    self.assert_channel_message(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2464, in assert_channel_message
    self.assertEqual(message.content, content)
  File "/srv/zulip/zerver/lib/test_classes.py", line 290, in assertEqual
    raise AssertionError(
AssertionError: Actual and expected outputs do not match; showing diff.
- **foo** *bar*
+ **foo** **bar**

======================================================================
FAIL: test_message_with_actions (zerver.webhooks.slack_incoming.tests.SlackIncomingHookTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/webhooks/slack_incoming/tests.py", line 85, in test_message_with_actions
    self.check_webhook(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2448, in check_webhook
    self.assert_channel_message(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2464, in assert_channel_message
    self.assertEqual(message.content, content)
  File "/srv/zulip/zerver/lib/test_classes.py", line 290, in assertEqual
    raise AssertionError(
AssertionError: Actual and expected outputs do not match; showing diff.
  Danny Torrence left the following *review* for your property:

  [Overlook Hotel](https://google.com)
   :star:
   Doors had too many axe holes, guest in room 237 was far too rowdy, whole place felt stuck in the 1920s.

  [Haunted hotel image](https://is5-ssl.mzstatic.com/image/thumb/Purple3/v4/d3/72/5c/d3725c8f-c642-5d69-1904-aa36e4297885/source/256x256bb.jpg)

- *Average Rating*
+ **Average Rating**
  1.0

======================================================================
FAIL: test_message_with_attachment (zerver.webhooks.slack_incoming.tests.SlackIncomingHookTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/webhooks/slack_incoming/tests.py", line 135, in test_message_with_attachment
    self.check_webhook(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2448, in check_webhook
    self.assert_channel_message(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2464, in assert_channel_message
    self.assertEqual(message.content, content)
  File "/srv/zulip/zerver/lib/test_classes.py", line 290, in assertEqual
    raise AssertionError(
AssertionError: Actual and expected outputs do not match; showing diff.
  ## [[FIRING:2] InstanceDown for api-server (env="prod", severity="critical")](https://alertmanager.local//#/alerts?receiver=default)

- :chart_with_upwards_trend: **[Graph](http://generator.local/1)**   :notebook: *[Runbook](https://runbook.local/1)*
+ :chart_with_upwards_trend: **[Graph](http://generator.local/1)**   :notebook: **[Runbook](https://runbook.local/1)**

- *Alert details*:
+ **Alert details**:
- *Alert:* api-server down - `critical`
+ **Alert:** api-server down - `critical`
- *Description:* api-server at <IP_ADDRESS>:8080 couldn't be scraped *Details:*
+ **Description:** api-server at <IP_ADDRESS>:8080 couldn't be scraped **Details:**
     • **alertname:** `InstanceDown`
     • **env:** `prod`
     • **instance:** `<IP_ADDRESS>:8080`
     • **job:** `api-server`
     • **severity:** `critical`

- *Alert:* api-server down - `critical`
+ **Alert:** api-server down - `critical`
- *Description:* api-server at <IP_ADDRESS>:8081 couldn't be scraped *Details:*
+ **Description:** api-server at <IP_ADDRESS>:8081 couldn't be scraped **Details:**
     • **alertname:** `InstanceDown`
     • **env:** `prod`
     • **instance:** `<IP_ADDRESS>:8081`
     • **job:** `api-server`
     • **severity:** `critical`

======================================================================
FAIL: test_message_with_blocks (zerver.webhooks.slack_incoming.tests.SlackIncomingHookTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/webhooks/slack_incoming/tests.py", line 104, in test_message_with_blocks
    self.check_webhook(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2448, in check_webhook
    self.assert_channel_message(
  File "/srv/zulip/zerver/lib/test_classes.py", line 2464, in assert_channel_message
    self.assertEqual(message.content, content)
  File "/srv/zulip/zerver/lib/test_classes.py", line 290, in assertEqual
    raise AssertionError(
AssertionError: Actual and expected outputs do not match; showing diff.
  Danny Torrence left the following review for your property:

  [Overlook Hotel](https://example.com)
   :star:
   Doors had too many axe holes, guest in room 237 was far too rowdy, whole place felt stuck in the 1920s.

  [Haunted hotel image](https://is5-ssl.mzstatic.com/image/thumb/Purple3/v4/d3/72/5c/d3725c8f-c642-5d69-1904-aa36e4297885/source/256x256bb.jpg)

- *Average Rating*
+ **Average Rating**
  1.0

----------------------------------------------------------------------
Ran 20 tests in 2.234s

FAILED (failures=6)

From those failing tests we can conclude that to make the convert_slack_formatting be compatible, it must:

Be able to capture formatted string multiline formatted strings (e.g.," \n_abc_\nfoo"). (Commit: 682cd08b9d8dc8749ce945a1d3720041aebdf3d1)
Be able to capture formatted strings containing non-ASCII characters like emoji (e.g., "* :+1:  ok*"). (Commit: aaf92144a42ff97f81e922b53f867ea8e20dcf38)
Be able to capture formatted strings separated exactly by one character (e.g., *abc*d*efg). (Commit: 74da577212af88817ac3d46824feb371ba9a7d53)

Next:

#32163

Part of https://github.com/zulip/zulip/pull/31311.

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@laurynmm I think this is ready for review

I merged the first commit -- moving that code to the new file seems fine. The second commit I consider unreviewable and needs to be split further, as Lauryn suggests. For example, one commit could just rename a function, another could change the bold/strikethrough/italics formatting (without any other changes), another could rework replace_links, etc. -- and each of those could be a nice readable commit with tests, a commit message explaining what it's aiming to achieve (ideally self-documented with tests for the cases where the new logic is an improvement). The goal is that it should feel really easy to verify that each commit is correct and an improvement. If you have all these different types of changes together in a single commit, it's really hard to verify the work.
This approach to making reviewable commits is discussed extensively in the Zulip commit guidelines.

Thank you both for checking this out! Yeah the commit arrangements could definitely be better :sweat_smile: . This should be ready for review again by tomorrow :+1:

Quite happy with how this turned out. I managed to work out the regex for the Slack text so there’s no trade-off or regression, and it’s still compatible with render_blocks and render_attachments, so I’m closing #31336. Let me know if any of the commits need to be squashed or split further!
Tagging this as ready for another round of review, @laurynmm.

Rephrased the commit descriptions and updated the commits referenced in the description.

Thanks for reviewing this! I'll drop another comment once this is ready for another round of review

Summary of each commits:

slack_regex: Update Slack regex handle multiline strings.

I added the re.M flag.
The first capture groups still have the "\n" character because of this reason
Rewrote the commit description to reflect these changes.

slack_regex: Refactor Slack regex main capture group.

Rewrote the commit description to address this comment

slack_regex: Fix overlapping capture groups.

Adjusted the new overlapping_capture_group_test test fixture. See this comment
Rewrote the commit description to address this comment

slack_incoming: Use Slack text reformatters from data import.

Moved the change to refactor replace_links to this commit to address this comment
Rewrote the commit description to address this comment.

Some outstanding issues I'd like to highlight are:

The purpose of the inner capture group is still unknown. https://github.com/zulip/zulip/pull/32164#discussion_r1870210879
We still need "\n" in the first capture group to handle overlapping_bold_new_line_test but I don't know the reason.https://github.com/zulip/zulip/pull/32164#discussion_r1873030274

Also, noting here that the first three prep commits here have been separated out into a separate PR, #32430, that I've reviewed and looks good to merge.

Rebased for #32430 merge and updated the PR description

Cool, @alexmv is probably the best person to review this from here.


Generated binary arguments conflict with Criterion's arguments

The only way to run the benchmarks currently is to run it with --bench , because Criterion happens to ignore it when parsing its own CLI arguments.
Using the short form -b or any other argument conflicts with Criterion's own argument handling that macros use.
I'm not sure what a good solution here would be, but maybe it's better to manually instantiate a Criterion instance with sane defaults? The very basic way to do that would be
diff --git a/src/lib.rs b/src/lib.rs
index c4a4138..630822f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -171,7 +171,9 @@ macro_rules! main {
             use $crate::criterion::*;

             pub fn run_benchs() {
-                main();
+                let mut crit = Criterion::default();
+                $($day(&mut crit))+;
+                crit.final_summary();
             }

             $(
@@ -196,9 +198,6 @@ macro_rules! main {
                     group.finish();
                 }
             )+
-
-            criterion_group!(benches, $($day),+);
-            criterion_main!(benches);
         }
     };
 }

A better setup would probably involve at least enabling colored and HTML output. I'd be interested in looking into it more if you're interested in this approach and want a patch.

The other option is to manually post-process the arguments vector (can we even do that?) and remove the bench argument before handing things off to Criterion, but that seems even hackier.

Hi! Thanks for your issue.
I've also been playing around with it yesterday and it seems that the issue is quite weird but we could get a fair workaround:
I have a POC on a branch that I didn't achieve to finish yesterday because I was too tired :(
https://github.com/remi-dupre/aoc/compare/criterion
My approach is, as you suggested, to instantiate manually Criterion, it can help with the integration : getting coloration and selecting a subset of benches (which is my primary intention), but doesn't really solve the arg conflict issue because some parameters of criterions don't seem to be configurable without running configure_from_args (such as coloration).
To solve the above problem a fair solution would probably to make a PR to Criterion in order to make it more configurable, by adding more configuration methods or just adding a method similar to configure_from_args but which can take a custom Vec of arguments as input.

It seems like the way to do it is to basically copy what configure_from_args does, but expose it as some other methods.
https://github.com/bheisler/criterion.rs/issues/452 might be relevant too.

Since #19, configure_from_args is not actually used anymore, so I think this could be closed. It may be nice to be able to specify some options for Criterion again, but this will probably have to be implemented manually and I think that should be another issue.

Agreed.


CLOUD-51213 make orchestration interface more abstract

@martonsereg

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1988/


UF-8181: Removed server information and extended with more unit tests

Removed server information from files
Extended with unit tests for property classes for better coverage
Updated OpenAPI test
Added verification on bearer token for IT-tests

Acted on PR comments


Automator: update istio/api@master dependency in istio/istio@master

Generated by Automator - 2020-06-29T20:14:41+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
0dd3063d15d1f6fd2be57325037f1c00da25c89f
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


SB-827: Extract all the layout provider-specific cron tasks to the respective layout provider implementation

Committing work-in-progress.
The unit tests pass.
The integration tests for the cron tasks are broken. There are issues with loading the contexts more than once during testing.

Merged as part of #329 .


Lra 495 lsa ride share design and add a database

I generated scaffolds for all main tables, this is why there are some many files to view. Please pay attention only to models and (maybe) migrations. The rest of files were generated by Rails and don't need to be reviewed now. Sorry, you have to click a lot.
The database schema - ride_share_db_final.png - is in this folder
Please let me know if you have any questions.
The following database queries - to test relations between tables - work.
(If you want to test, please let me know, I'll help with initial data)
Program.last.instructor
Program.last.program_managers

ProgramManager.last.instructor (Programs, where uniqname is instructor)
ProgramManager.last.manager (Programs, where uniqname is only a manager)
ProgramManager.last.programs (all programs associated with that uniqname)

Program.last.sites
Site.last.programs

Program.last.students
Student.last.programs

Program.last.cars
Car.last.programs

Reservation.last.driver
Reservation.last.backup_driver
Reservation.last.passengers
Reservation.last.program
Reservation.last.vehicle_report

Student.last.driver (Reservation where the student is a driver)
Student.last.backup_driver (Reservation where the student is a backup_driver)
Student.last.passenger (Reservation where the student is a passenger)
Student.last.reservations (all reservation)

VehicleReport.last.reservation
VehicleReport.last.car
VehicleReport.last.program
VehicleReport.last.site
VehicleReport.last.driver

ConfigQuestion.last.program
Program.last.config_questions

Program.last.admin_access
AdminAccess.last.programs

When a user login the current_user will get a role for the current session.
The admin role will be assigned according to LDAP group membership and entry in the admin_access table.
Admin group membership can be checked by
AdminAccess.all.pluck(:ldap_group) do |group|
     if<EMAIL_ADDRESS>group)
       <some action>
     end
end

If a user has an entry in the program_managers table - the role will be 'manager':
ProgramManager.all.pluck(:uniqname).include?('rsmoke')
For students:
Student.all.pluck(:uniqname).include?('rsmoke')
The authorization process should be addressed in the Admin, Student, and Faculty interfaces tickets (LRA-505, 506 and 507)


Display Number of Routes

I thought about adding the number of routes in a separate row at the bottom of the output table or in a second table.
It could look like this:

(This would be something for 2.0)
Thoughts?

👎 for me

Well I have to admit, I quite like the idea! I have no clue how many routes are defined in our projects!

I could see a use for it. Though I might format it a bit differently. Maybe closer to the rest of the formating?
+-----------+--------+----+---------------+--------+
| Routes    | 999    |    | API Routes    | 999    |
+-----------+--------+----+---------------+--------+

I tend to have routes/web.php, routes/admin.php, routes/api.php, routes/hooks.php. How would you fit all of these "categories" into the table? Also, I can easily imagine that someone would use naming structure as routes/frontend.php, routes/backend.php, routes/whatever.php.
It's worth noting that this feature, counting routes, is currently possible even without this package.
$router->getRoutes()->count()

or
$ php artisan route:list | grep "/api" | nc -l

I do realise that this is not the best or the most seamless way to analyse routes, but it is possible. However, analysing number of methods or LOC is not, and that is what this package should focus on.

I have to agree with @jerguslejko. The original idea of the package was to analyze classes and components of a project. Laravel already ships with route:list which does as good job.


dart gets terminated by mprotect/grsec

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

unpack the dart sdk on a hardened gentoo or a linux kernel with grsec/mprotect enabled
run any dart commond, i.e. dart get

What is the expected output? What do you see instead?
the dart process gets terminated, and dmesg shows
    grsec: denied RWX mprotect of <anonymous mapping> by /opt/dart/dart-sdk/bin/dart[dart:3650] uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[
bash:3498] uid/euid:1000/1000 gid/egid:1000/1000
What version of the product are you using? On what operating system?
Dart VM version: 1.2.0
Gentoo Linux 3.11.7-hardened-r1
Please provide any additional information below.
mprotect could be disabled by something like
    sudo paxctl -c -m which dart

The standalone Dart VM does not write-protect code pages by default. See:
https://github.com/dart-lang/sdk/blob/master/runtime/bin/main.cc#L1589
You'd need to pass --write_protect_code to override this behavior.


Cf api for find out duplicated users in UAA

Hi Colleages,
Is there any cf api which is avaialble to findout duplicated users in uaadb.
BRs, Gowrisankar

@gowrisankar22 CAPI needs to be enhance their user lookup for username's across origins and this is already being worked on.


Fix bug in media player keys ubuntu

I don't know when this happened, but this fixes the bug of them not working in the master branch.

:cactus: :clap:
I'll take your word for it #trust

OK, I figured it out; it has to do with the version of node.
Does NOT work w/ node 4.4.0 (previous testing was with 4.3.4), but DOES with 5.9.0.
I just did a new build with a re-downloaded master and this is what seems to be the case.
When running w/ 4.4.0, I do get a warning about:
[Error: Module version mismatch. Expected 47, got 46.]
After the Last.fm api key output warning.
No such warning exists with node 5.9.0
I am not sure if these are related, but I can say that dbus/play/pause/prev/next do work when using 5.9.0.

Hmmmm, that is really strange.  Electron is shipping with node 5.X so it shouldn't be an issue in the packaged app.  But the fact that the LTS version of node doesn't support something is strange.
Gonna look into that.

Just to confirm, can you do a fresh clone into a new directory, then npm install, build, and start via 4.4.0?

Sure, but now I have a question.
Node.js 4.4 is recommended for dev,
But when downloading node.js 4.4, it comes w/ npm 2.14.20
Do I need to mix these?

You need to run npm i -g npm to get the latest version of NPM
I reccomend node 4.4.X for LTS reasons and NPM 3.x because it flattens dependencies much better and this fixes several issues on Windows.

OK, I completely removed node 5.9.0
I re-installed a fresh copy of 4.4.0
Here is my log:
I did a clean grab of the source.
I did an update to npm
then install/run build/start
No media buttons is the end result for me.
build.log.txt

Can confirm, did exact steps and got exact result. Will debug further since this is the recommended node version presently.

From a cursory search it appears as though the actual act of changing node versions is causing this issue.  You need to rebuild dependencies when you change node versions, the easiest way to do this is to delete node_modules and run npm i again.

I didn't even have a node_modules directory when I ran.  As I had just done a clean clone of the source.

Do you have any global node modules that are staying around?

Running install from node v4.4.0 without a node_modules folder, I still
received the error. I even tried npm rebuild.
On Mar 18, 2016 10:54 AM, "Samuel Attard"<EMAIL_ADDRESS>wrote:

From a cursory search it appears as though the actual act of changing node
versions is causing this issue. You need to rebuild dependencies when you
change node versions, the easiest way to do this is to delete node_modules
and run npm i again.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/pull/657#issuecomment-198395950

I removed my ~/.npm and ~/.node-gyp directories for what it's worth
clean grab
same result (no media keys).

Hmmm, does anyone know which module is causing the error? (My ubuntu VM isn't starting atm so I can't really do any testing :cry: )

Looks like it's node-dbus. If I remove the files that import that module it stops reporting the error.

I'm not sure why, but it just seems that dbus.node is not being compiled for the right module version. The offending import line is node_modules/dbus/lib/dbus.js:3:13 and that line is:
var _dbus = require('../build/Release/dbus.node');

which is this file:
node_modules/dbus/build/Release/dbus.node: ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=bf7efe8d40352aea8cf05f94ea95575d9441804a, not stripped

Original stack trace:
Error: Module version mismatch. Expected 47, got 46.
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ATOM_SHELL_ASAR.js:157:20)
    at Object.Module._extensions..node (module.js:450:18)
    at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:157:20)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (~/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/dbus/lib/dbus.js:3:13)
    at Module._compile (module.js:425:26)

@ZenHarbinger I think I figured it out, but can you please confirm? I used node v4.4.0, and npm v3.8.2 via nvm, removed all ubuntu apt packages, however probably irrelevant.
What I did was npm install && npm run build && npm start and confirmed the error was present.
I then ran ./node_modules/.bin/electron-rebuild and it gave no output, however running npm start didn't give any module error output and media keys were working. Let me know if this fixes it for you and I'll do a pull request that should run electron-rebuild on npm install or similar.

Yes, everything was as you expected.
./node_modules/.bin/electron-rebuild ran w/o output and then npm start ran w/o errors and media keys working.
Using npm 3.8.2 and node 4.4.0.

@jostrander I'll set up the electron-rebuild scripts for linux  but for future reference here is the code I have to rebuild on windows
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/tree/master/vendor
and here is the information about using native modules with electron
https://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.md

@MarshallOfSound Sounds good :+1: I took a peek in /vendor/ which is what gave me a hint to try the electron-rebuild command.

Yeah, I would have clicked onto the rebuild but I didn't catch this was a native module :cry:

Did you fix this in master yet @MarshallOfSound, looks like I still have to run electron-rebuild.

Not fixed yet, spent some time on theming yesterday.
There is some interesting things I need to do in the gulp file to make this work :/

Can't do it as an npm script such as this?
"scripts": {
    "install": "electron-rebuild"
}

Not quite as simple as that unfortunately.  For instance, that command does not work on OS X
Also, we have to be able to build 32bit and 64but packages during the build process.  This requires args being passed to electron-rebuild

Fair enough!
On Mon, Mar 21, 2016 at 7:29 PM, Samuel Attard<EMAIL_ADDRESS>wrote:

Not quite as simple as that unfortunately. For instance, that command does
not work on OS X
Also, we have to be able to build 32bit and 64but packages during the
build process. This requires args being passed to electron-rebuild
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/pull/657#issuecomment-199535285

@MarshallOfSound apologies for the necro, but was this fixed? Just installed the latest GPMDP on Linux Mint 17.3 (Ubuntu 16.04 underneath) and Media keys aren't working, dbus-monitor shows nothing. Oddly enough it does appear in the Cinnamon taskbar though.

Install method? Those are two different portions of code. One is mpris the other is dbus media keys. That code really hasn't been touched in a while and I wrote it on Ubuntu 16.04, so not sure what would be at fault here.

@jostrander x64 .deb from official site.


Selective sync dialog usability improvements

Is your feature request related to a problem? Please describe.
When using selective sync, it is somewhat messy and hard to find the folders you want.
Describe the solution you'd like
When opening the selective sync dialog, there are a few improvements I would like to see as a user:

The files should be sorted folders first. Currently there are files dispersed between folders and it's a bit of a mess.
I'm not sure if it's intended, but files should not appear, only folders. However, this might be a feature, I can't really say. I do know that the regular Dropbox app does not show files.
Another idea is to allow the user to sort in different ways (e.g. ascending/descending, type, etc.)

Sorting is certainly a good suggestion. Files are intentionally listed, you can exclude both files and folders from syncing with Maestral.

If files are listed intentionally, I suggest providing an easy way to select or deselect the root folder and the files that are in it

I am not sure what you mean by that. There is a "Select all" checkbox which selects or deselect all items in the root folder. Is that not sufficient? Or are you looking for a way to specifically exclude all files or all folders from syncing?

You're right, it's sufficient. I was talking out of memory and forgot that the button was there

Done in v1.4.4.


Feature Request: Dark theme

Hi, thanks for making this extension! :)
As linkwarden itself supports dark theme, it would be great addition if extension would support it as well.
What I would like is either toggle in the config or that the extension would respect the Linkwarden/System settings.

Hello thanks for the suggestion, of course, since we are using shadcn ui, This will be easy to implement, It will probably be shipped on the next update, i'm doing some automating sync when bookmarking if wanted on the options of the extension, So just wait some it will be shipped along with it!

Perfect, thanks a lot ! I'll happily wait :)

Dark theme was implemented!, if you wish to install right now i would advise to check "dev"  branch, if not wait until the update on stores, I'm working on some updates for the extension that would resolve this, #45 and #36

Whoa, thanks for the quick implementation! :) Apologize for late reply, I've just tested that and it works as expect. Can't wait for the update.
Just one minor thing, the initial config screen is still white without taking in account the system dark theme. Not sure if this is how you wanted it or if it was forgotten by mistake.

Yeah i think that is due to those being completly different pages, so i didnt remember that while doing it, that will be solved on the next update

Hi, unrelated to that but I saw you mentioned right click to save in context menu in this issue, are you still working on the update/is it done already? I was trying my hand at it but I am very new to extensions and all and haven't had much luck. Thanks!

Hello, you should be able to right click on any web page and be able to add the link

Does this work on the latest version on Firefox or Chrome? I tried with both from the extension store, didn't work for me. Nothing in the context menu.

It should appear like this, It supported on  both:

Still no dice, not working for either. Anything I can check to see what's wrong? Sorry a little new to this stuff

I dont really know what could be wrong, It is there, I mean unless someone has the same problem, I cant really know for sure what could be the problem

Well if you want send a ss of the content menu when you right click on a page.

Understandable, I will check it on other systems to see if its affecting my system only, and wait for if anyone has the same problem. Thanks for your time!
I will attach an SS of the context menu when I right click on a page as well.

first screenshot when right clicking on a link, second when you right click on the page without selecting any link.

If this goes on please just make a new issue, because this thread is about something else.

@arnavpraneet could you confirm if you’re on the latest version of the extension?

yes @daniel31x13, shall I make a new issue now?


add step for Select-AzureRmSubscription

Added the step to set the current subscription context in the case that the user has many (which I did). The deploy command won't find a pre-existing ResourceGroup if it exists in a different subscription that the context set by Login-AzureRmAccount.

@christothes,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@christothes : Thanks for your contribution to the Azure documentation! The author, @tfitzmac, has been notified to review your proposed change.

@christothes - thanks for adding that step.

#sign-off


Scroll Restoration is not working even on the doc's examples

Describe the bug
according to the documentation the Scroll Restoration works for all queries but I couldn't be able to use it so far. When I scroll down a page and then go to another page and return to the previous page, I'm again at the top of the page.
I also check the documentation's examples like Rick and Morty and again it's not working.
Version: ^3.3.5

This is due to codesandbox's routing. Deployed, they work just fine: https://csb-hewky-7cp04rzhw.vercel.app/

This is due to codesandbox's routing. Deployed, they work just fine: https://csb-hewky-7cp04rzhw.vercel.app/

This is due to codesandbox's routing. Deployed, they work just fine: https://csb-hewky-7cp04rzhw.vercel.app/

broken link... please restore


add local env setup from mirror helm repo

What type of PR is this?
add  local-env-setup from mirror helm repo
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Welcome to contribute @2456868764 .
We have a local-env-setup script now ,so it can be a args in it, the default address is official address, and user can set to mirror by args.

Welcome to contribute @2456868764 . We have a local-env-setup script now ,so it can be a args in it, the default address is official address, and user can set to mirror by args.
i feel like to be one it , do u mind assigning impovement to me?

got it

i have added args local-en-setup.sh,  please review.


Progress Bar (Tqdm)

This PR serves to implement a progress meter from the Tqdm package using the recently included runtime hooks #95 .
I made few changes to xsimlab.drivers to be able to retrieve the number of iteration steps. Additionally, I needed to import the script in xsimlab.xr_accessor to call it via xs.progress.ProgressBar().
General

[x] Tests added
[x] Passes black . && flake8
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

For now, this represents a very basic backbone. Apart from tests and documentation, I want to include:

a proper docstring for the xsimlab process
nested progress bars for subprocesses (i.e. level="process" as runtime_hook arguments)

Please, feel free, to add more to the list.
I'm also wondering, if we should eventually use an immutable dictionary past initialization. Lastly, what should and should not be included in a default progress bar string formatting (right now, it follows:
 [default: '{l_bar}{bar}{r_bar}'], where l_bar='{desc}: {percentage:3.0f}%|' and r_bar='| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, ' '{rate_fmt}{postfix}]'

nested progress bars for subprocesses (i.e. level="process" as runtime_hook arguments)

Let's keep that for later, why not shortly after the 0.4 release.

I'm also wondering, if we should eventually use an immutable dictionary past initialization.

I'm not sure to understand this one.

Lastly, what should and should not be included in a default progress bar string formatting

I think we should display by default the current simulation stage that is being executed, and for "run_step" and "finalize_step" stages also display "current step / nb steps" next to it. We could use tqdm.set_description_str for that.

I think we should display by default the current simulation stage that is being executed, and for "run_step" and "finalize_step" stages also display "current step / nb steps" next to it. We could use tqdm.set_description_str for that.

We should keep in mind if the user provides a description, it will get overwritten by using tqdm.set_description_str

tqdm.tqdm_notebook is deprecated in v4.36.0 and will be removed in v5.00 (see TQDM#198. The same is true for tqdm.tqdm_gui.
As mentioned in the issue above, each module is now publicly exposed and as far as I can see, needs a separate import. For instance, when using:
import tqdm

for i in tqdm.notebook.tqdm(range(10000)):
    pass

I get the following error:
AttributeError: module 'tqdm' has no attribute 'notebook'

The same happens with tqdm.auto.tqdm. I'm not sure if this is an issue on my end since I have no problem with tqdm.gui.tqdm.
In order to avoid multiple imports from the get go, is it reasonable to put the import in the if-elif-structure and call the progress bar with one single
self.pbar_model = tqdm(**self.pbar_dict)

What do you think, @benbovy ?
Eventually, in @runtime_hook("finalize", trigger="post") we could call a del tqdm to avoid having a cluttered namespace.

In order to avoid multiple imports from the get go, is it reasonable to put the import in the if-elif-structure

Yes, see my comment above.

We should keep in mind if the user provides a description, it will get overwritten by using tqdm.set_description_str

Yes. We have two options: (1) ignore the description (if any) provided by the user or (2) check if the user provides a description, and if yes use it instead of showing the simulation stages. While I don't think user-provided description are useful here, option 2 may avoid confusion for users.

Tests are failing on travis: https://travis-ci.org/benbovy/xarray-simlab/builds/659485415
For unknown reason, those are not reported anymore in pull-requests.
You need to add the tqdm dependency in at least ci/requirements/py37.yml and ci/requirements/doc.yml, and xfail or skip the test for the other environments tested.

On the default settings for the progress bar formatting: I don't really like the tqdm's default in this case. Time elpased/remaining + number of iterations per second is a bit too verbose IMO. And if we display the current simulation stage as description, this should be definitely displayed to the right of the bar (otherwise the position of the bar will be shifted constantly). Actually, if we later support nested bars, we shouldn't display anything to the left of the bar to ensure these are always nicely aligned.
I like this format: "{bar} stage: {desc} | \t {percentage:3.0f}%" What do you think?

I like this format: "{bar} stage: {desc} | \t {percentage:3.0f}%" What do you think?

I think, it is visually more pleasing to have bar and percentage next to each other. We could deal with the constant shifting by setting, as an example, {desc:<10} and rather than having a hard coded value, define the length according to the number of iterations. Unfortunately, that might lead to issues when supplying a custom description.
You raise a valid point when it comes to nested bars and having them properly aligned.
I think, it's best to use your approach and see, how that interacts with nested bars.

Thank you very much for your input. I will take care of the rest of the comments by tomorrow.

I think, it is visually more pleasing to have bar and percentage next to each other

Yes, that's a fair point.

We could deal with the constant shifting by setting, as an example, {desc:<10} and rather than having a hard coded value, define the length according to the number of iterations.

While this would work for the console frontend (monospace font), this would not work for the gui or notebook frontends. Actually I tried {desc:<10} and it has no effect with the notebook frontend.

We could indeed update the description at the end of the simulation with something like "simulation finished in xxx". However, it doesn't seem straightforward to extract this information from tqdm objects (see https://github.com/tqdm/tqdm/issues/860). We could simply use the time module for this, to get an estimate. This would need smart formatting too, as simulation could run from a few seconds to hours.

We could deal with the constant shifting by setting, as an example, {desc:<10} and rather than having a hard coded value, define the length according to the number of iterations.

While this would work for the console frontend (monospace font), this would not work for the gui or notebook frontends. Actually I tried {desc:<10} and it has no effect with the notebook frontend.

Unfortunately, that is true.

We could indeed update the description at the end of the simulation with something like "simulation finished in xxx". However, it doesn't seem straightforward to extract this information from tqdm objects (see tqdm/tqdm#860). We could simply use the time module for this, to get an estimate. This would need smart formatting too, as simulation could run from a few seconds to hours.

Correct me, if I'm wrong but I'm not really sure that this is necessary. You can access the start time and the last time the progress bar was updated. However, you would need to access __dict__ of the tqdm object and I don't know what's your opinion about that. Eventually, we could update set_description_str one last time before closing the instance, to display the elapsed time next to the progress bar. The finalize hook could look like this:
@runtime_hook("finalize", trigger="post")
    def close_bar(self, model, context, state):
        self.pbar_model.set_description_str("finalize")
        self.pbar_model.update(1)
        elapsed = self.pbar_model.__dict__['last_print_t']-self.pbar_model.__dict__['start_t']
        self.pbar_model.set_description_str(f"Simulation finished. Elapsed time: {elapsed}")
        self.pbar_model.close()

Of course, some smart formatting needs to be applied to the elapsed time, since these are only seconds. However, we can reuse
def format_time(secs):
    mins, secs = divmod(secs, 60)
    hours, mins = divmod(mins, 60)
    if hours:
        return f"{hours:2.0f}hrs {mins:2.0f}min {secs:.1f}s"
    elif mins:
        return f"{mins:2.0f}min {secs:.1f}s"
    else:
        return f"{secs:.1f}s"

If you don't mind. If so, should it be part of utils.py?

ci/requirements/py37.yml and ci/requirements/doc.yml have been updated and travis passes now python3.7: https://travis-ci.org/benbovy/xarray-simlab/builds/660782365
However, the @pytest.mark.skipif() in test_progress.py does not seem to be sufficient to be excluded in travis. Should I include the import in the other requirement files as well since it's a ModuleNotFoundError or is there another possibility?
Sphinx build fails because of a RuntimeError:
Non Expected exception in '/home/travis/build/benbovy/xarray-simlab/doc/progress.rst' line None
I will tend to this once I have updated the docs.
I'll use this comment to reply to one of your remarks regarding the tests - this PR has gotten quite long by now.

Also, you don't need the in_dataset and model for testing this logic (remove the out_ds = ... line below).

That won't work, unfortunately. The ValueError is only raised when a model run is executed and thus, the progress bar hooked to the model. It's not raised by creating the progress bar object. pytest returns Failed: DID NOT RAISE <class 'ValueError'>

It's better to skip the tests when tqdm is not installed rather than checking the Python version. This check for an installed dependency is used quite a lot in xarray's tests: see here, here and here.

That won't work, unfortunately. The ValueError is only raised when a model run is executed and thus, the progress bar hooked to the model.

That will work if you move the logic in __init__, like I suggest in https://github.com/benbovy/xarray-simlab/pull/104#discussion_r389782648.
Regarding the Sphinx error, if you look just above the error message in the logs on travis, you'll see ModuleNotFoundError: No module named 'fastscape'. All code in ipython:: directives is executed so it must run without error in order to successfully build the docs.

However, it doesn't seem straightforward to extract this information from tqdm objects

Forget what I said, I think you could just use self.pbar_model.format_dict['elapsed']. No need to reinvent the wheel, then.

progress.py has now been reworked. I'm unsure regarding a custom description supplied by the user but you are right. In the end, it avoids confusion and I will include a flag in the future.
One thing I noticed: When using "{bar} stage: {desc} | \t {percentage:3.0f}%" as a bar_format, it prints a newline for every iteration in console mode. I will see if I find a solution but for now, I left it at "{bar} {desc} {percentage:3.0f}".

It's better to skip the tests when tqdm is not installed rather than checking the Python version. This check for an installed dependency is used quite a lot in xarray's tests: see here, here and here.

That is a really really elegant solution. Is it okay, to employ a similar approach in xsimlab/__init__.py and adjust the skip accordingly?

That will work if you move the logic in __init__, like I suggest in #104 (comment).

Of course! That might be worth a facepalm on my side.

Regarding the Sphinx error, if you look just above the error message in the logs on travis, you'll see ModuleNotFoundError: No module named 'fastscape'. All code in ipython:: directives is executed so it must run without error in order to successfully build the docs.

Thank you. As you mentioned in #104 (comment) a setup is already provided in monitor.rst so that won't be an issue once I'm through with it.

That is a really really elegant solution. Is it okay, to employ a similar approach in xsimlab/init.py and adjust the skip accordingly?

Yes please do so! Feel free to copy/paste/modify code from xarray. I've already did that in this repository and I included the xarray license.

I've tested the functionality on my laptop, it's very nice!
There are a still a couple of issues to address (e.g., more tests, fix the progress bar that is not shown in the docs -- it is shown in the sphinx build console because tqdm prints it in stderr by default), but I'm gonna merge this PR now and take care of those issues in a follow-up PR.
Many thanks @rlange2 !


LCOM

Let's implement LCOM cohesion metric.
S. R. Chidamber and C. F. Kemerer, A metrics suite for object oriented design. IEEE Transactions on Software Engineering, vol.20, no.6, 1994.
http://www.pitt.edu/~ckemerer/CK research papers/MetricForOOD_ChidamberKemerer94.pdf
Shyam R. Chidamber, Chris F. Kemerer. A Metrics suite for Object Oriented design. M.I.T. Sloan School of Management E53-315. 1993. http://uweb.txstate.edu/~mg43/CS5391/Papers/Metrics/OOMetrics.pdf
Victor Basili, Lionel Briand and Walcelio Melo. A Validation of Object-Oriented Design Metrics as Quality Indicators. IEEE Transactions on Software Engineering. Vol. 22, No. 10, October 1996. http://www.cs.umd.edu/users/basili/publications/journals/J60.pdf
Bindu S. Gupta: A Critique of Cohesion Measures in the Object-Oriented Paradigm. Master of Science Thesis. Michigan Technological University, Department of Computer Science. 1997.

@rultor release, tag is 0.2

@rultor release, tag is 0.2

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

@rultor release, tag is 0.2

@yegor256 Oops, I failed. You can see the full log here (spent 11min)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgjpeek-1001/org/jpeek/jpeek/0.2/jpeek-0.2-javadoc.jar.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgjpeek-1001/org/jpeek/jpeek/0.2/jpeek-0.2-javadoc.jar.asc (473 B at 3.7 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgjpeek-1001/org/jpeek/jpeek/0.2/jpeek-0.2-javadoc.jar
2/73 KB
4/73 KB
6/73 KB
8/73 KB
10/73 KB
12/73 KB
14/73 KB
16/73 KB
18/73 KB
20/73 KB
22/73 KB
24/73 KB
26/73 KB
28/73 KB
30/73 KB
32/73 KB
34/73 KB
36/73 KB
38/73 KB
40/73 KB
42/73 KB
44/73 KB
46/73 KB
48/73 KB
50/73 KB
52/73 KB
54/73 KB
56/73 KB
58/73 KB
60/73 KB
62/73 KB
64/73 KB
66/73 KB
68/73 KB
70/73 KB
72/73 KB
73/73 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgjpeek-1001/org/jpeek/jpeek/0.2/jpeek-0.2-javadoc.jar (73 KB at 188.7 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgjpeek-1001/org/jpeek/jpeek/0.2/jpeek-0.2-sources.jar
2/21 KB
4/21 KB
6/21 KB
8/21 KB
10/21 KB
12/21 KB
14/21 KB
16/21 KB
18/21 KB
20/21 KB
21/21 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgjpeek-1001/org/jpeek/jpeek/0.2/jpeek-0.2-sources.jar (21 KB at 51.8 KB/sec)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "orgjpeek-1001".

Waiting for operation to complete...
........

[INFO] Remote staged 1 repositories, finished with success.
[INFO]
[INFO] --- nexus-staging-maven-plugin:1.6.7:release (jcabi-deploy-to-sonatype) @ jpeek ---
[INFO]  + Using server credentials "oss.sonatype.org" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.5-02 and edition "Professional"
[INFO] Releasing staging repository with IDs=[orgjpeek-1001]

Waiting for operation to complete...
........

[INFO] Released
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:56 min
[INFO] Finished at: 2017-10-18T22:09:32+00:00
[INFO] Final Memory: 96M/537M
[INFO] ------------------------------------------------------------------------
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.2 -m '0.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at 0733693 0.2
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 0733693).
+ git push --all origin
To git@github.com:yegor256/jpeek.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git@github.com:yegor256/jpeek.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
container 0f59b4c3bd84cd77aba68500ba2b6252cc3f14b69a13aa41052d15b6a6aa90d9 is dead
Thu Oct 19 00:10:05 CEST 2017

@rultor release, tag is 0.2

@rultor release, tag is 0.2

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

@rultor release, tag is 0.2

@yegor256 Oops, I failed. You can see the full log here (spent 10min)
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/org/jpeek/jpeek/0.2/jpeek-0.2-jar-with-dependencies.jar'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/org/jpeek/jpeek/0.2/jpeek-0.2-sources.jar'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/org/jpeek/jpeek/0.2/jpeek-0.2.pom'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/org/jpeek/jpeek/0.2/jpeek-0.2-javadoc.jar'
[ERROR]
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:14 min
[INFO] Finished at: 2017-10-18T22:23:29+00:00
[INFO] Final Memory: 89M/537M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:release (jcabi-deploy-to-sonatype) on project jpeek: Could not perform action: there are failing staging rules! Staging rules failure! -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:release (jcabi-deploy-to-sonatype) on project jpeek: Could not perform action: there are failing staging rules!
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not perform action: there are failing staging rules!
	at org.sonatype.nexus.maven.staging.workflow.AbstractStagingActionMojo.execute(AbstractStagingActionMojo.java:65)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: com.sonatype.nexus.staging.client.StagingRuleFailuresException: Staging rules failure!
	at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition(StagingWorkflowV3ServiceImpl.java:272)
	at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.monitorRepositoryTransition(StagingWorkflowV2ServiceImpl.java:407)
	at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$10.perform(StagingWorkflowV2ServiceImpl.java:281)
	at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$10.perform(StagingWorkflowV2ServiceImpl.java:276)
	at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn(ExceptionConverter.java:38)
	at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.releaseStagingRepositories(StagingWorkflowV2ServiceImpl.java:275)
	at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.releaseStagingRepositories(StagingWorkflowV3ServiceImpl.java:91)
	at org.sonatype.nexus.maven.staging.workflow.ReleaseStageRepositoryMojo.doExecute(ReleaseStageRepositoryMojo.java:55)
	at org.sonatype.nexus.maven.staging.workflow.AbstractStagingActionMojo.execute(AbstractStagingActionMojo.java:55)
	... 22 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container c483f95af2d549375ac49c10a014d572b9e05efdc68b891a55816f897148908f is dead
Thu Oct 19 00:23:59 CEST 2017

Oops! There is no order for job gh:yegor256/jpeek#6.

Oops! Job gh:yegor256/jpeek#6 was not in scope


Improve background color and font styling for better readability

Issue Description
The current background color is very bright, making it difficult for users to read the text clearly, especially on the "About Us" section. Additionally, the font style/weight might need adjustment to improve visibility and make the overall design more accessible
Additional Context
This issue affects accessibility and could result in a poor user experience, especially for users with visual impairments or in bright environments.
Screenshots or Examples (if applicable)

Proposed Solution (optional)
1.Change Background Color: Switch to a slightly darker or more neutral background color (such as #f0f0f0 or #e5e5e5) to improve contrast.
2.Update Font Style: Consider making the font bold or increasing the font weight. Additionally, ensure the font size is appropriately set for easy readability (e.g., 16px or higher).
3.Text Color: Increase the contrast between the text and background by using a darker text color (e.g., #333 or #222) to make the content more readable.
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)

@Swyom assigning this issue to you.
make sure to complete this very fast.
as this is a small issue.

Thanks for assigning me to this, I will finish it as soon as possible.

Hey @vivekvardhan2810 Thank you for raising an issue I would love to review and contribute.

Sorry @AshishCh01 this issue was assigned before, so please look for other issues in website and then create new issue.

And @Swyom
The Project Admin (me) of the ML Fusion Lab Won't be Available from Oct 28th and also this Project won't be active from Oct 28.

@Swyom have you done with this.
because it's been a week and no PR was created also.
please reply to this.

I want to work in this issue Please assigned me

Can you assign this project to me

Hi @Swyom ,
It’s been over a week without any updates. I will be closing this issue by the end of the day. If you have any progress to share, please do so before then.
Thank you!

sir can you assign this project to me.

as there is no response from your side, so i am closing this issue.
i hope you understand.
The Project Admin (me) of the ML Fusion Lab Won't be Available from Oct 26th and also this Project won't be active from Oct 26.


JSON::ParserError when running any command

I've been using promisepay for a few months and suddenly a week or so ago, I ran into a problem which occurs after running any command. For example, after running these two commands in the rails console,
client = Promisepay::Client.new(username: ENV['PROMISEPAY_USERNAME'], token: ENV['PROMISEPAY_TOKEN'])

user = client.users.create(
  id: '123456',
  first_name: 'test',
  last_name: 'buyer',
  email<EMAIL_ADDRESS>  address_line1: '48 collingwood',
  state: 'vic',
  city: 'Mel',
  zip: '3000',
  country: 'AUS',
  dob:'12/06/1980'
)

gives this error and stack trace
JSON::ParserError: A JSON text must at least contain two octets!
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.3/lib/json/common.rb:155:in `initialize'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.3/lib/json/common.rb:155:in `new'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:43:in `build_error_message'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:31:in `initialize'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:25:in `new'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:25:in `from_response'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/client.rb:180:in `on_complete'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/client.rb:82:in `post'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/resources/user_resource.rb:43:in `create'
	from (irb):50
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in `start'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in `start'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in `console'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'

I get a similar error when running items = client.items.find_all. This is the error and stack trace:
JSON::ParserError: A JSON text must at least contain two octets!
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.3/lib/json/common.rb:155:in `initialize'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.3/lib/json/common.rb:155:in `new'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:43:in `build_error_message'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:31:in `initialize'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:25:in `new'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/error.rb:25:in `from_response'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/client.rb:180:in `on_complete'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/client.rb:67:in `get'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/promisepay-1.1.0/lib/promisepay/resources/item_resource.rb:18:in `find_all'
	from (irb):73
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in `start'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in `start'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in `console'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /Users/colinsoleim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'
	from bin/rails:4:in `require'

Any and all help would be appreciated. Thank you!

Hey there,
The error seems to be caused in the error response processing. Not sure what is going on there, but you can try to get the raw error response to get better info.
Another thing you can try is to use Postman to see what the error is.


MBIM_MS_SET_NETWORK_BLACKLIST is not described anywhere.

As subject says.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 199a05b2-82c8-ea4f-962a-f3c8e14d4703
Version Independent ID: 6878502f-e58d-789d-5317-2f6b5332a548
Content: MB Network Blacklist Operations
Content Source: windows-driver-docs-pr/network/mb-network-blacklist-operations.md
Product: windows-hardware
GitHub Login: @duncanmacmichael
Microsoft Alias: windowsdriverdev

Thanks, @janosvitok. @duncanmacmichael, can you please set priority for this request for details about MBIM_MS_SET_NETWORK_BLACKLIST against your other deliverables? Thanks.

Hi @janosvitok , good catch! After double-checking the spec, it seems that MBIM_MS_NETWORK_BLACKLIST_INFO is not actually the correct structure. MBIM_MS_NETWORK_BLACKLIST_INFO is used in both the Set InformationBuffer and in responses/unsolicited events. I've corrected the page and the change should be live later today or tomorrow. Thanks for your interest in the docs!


Response is never sent if no content-type specified (and using rx classes)

Version 0.0.2.
Here's a full repo  reproducing the issue.
Just run ./gradlew test and you should see what's going wrong.
3 routes have been defined :

1 returning a Single, annotated as producing JSON => works perfectly fine
1 returning a List, not annotated as producing anything => returns a proper HTTP 500 saying that no MessageBodyWriter can be found for dealing with application/octet-stream => lgtm
1 returning a  Single, not annotating as producing anything => the response is never sent back. Test timeout occurs

Let me know if you need anything else.

Thanks!


New benchmarks for half/quarter-width bins

@c-d-leonard here are the new benchmarks. I haven't yet had time to do any visual checks, but hopefully there are no catastrophes.

I just did some visual checks on these and quite a few of them have some wiggles that look like they might be numerical artefacts indicating higher res might be needed. Eg here for what I think is the lowest z autocorr bin

@damonge

here's one from galaxy-galaxy lensing just as another example

OK, @c-d-leonard , I've looked at the benchmarks comparing them with Limber and I find the following:

Most (or all) of the clearly numerical wiggles happen for the quarter bins (which makes sense)
In the galaxy-galaxy correlations, it mostly happens for x-corrs between bins with little overlap. This also makes sense, but the good news is that these should contribute little to the total SN (although "little" is a very relative word when we're talking about the LSST sensitivity...).
In the galaxy-shear correlations, the noise mostly happens for "unphysical" bins where the lenses are behind the sources. This again makes sense, and their contribution should be "little".

In any case, I'm rerunning all these benchmarks with a higher resolution integral in log(k). I'll compare the results with these and get back to you.

Update on this: the more accurate benchmarks do mitigate these wiggles, probably enough to make them irrelevant (I haven't quantified it yet). I'm running yet-more-accurate benchmarks now, and will do the numbers (check relative chi2s) to make sure they're fine before we merge.

@c-d-leonard ok, much higher precision benchmarks in. Most of these issues have gone away. Some of the power spectra are still a bit wiggly, but they are the weird ones (e.g. last clustering bin with first source bin) and I don't think they matter. I'll be happy to revisit this if we are convinced that this is an issue after comparing with the other non-Limber methods

thanks, happy to merge!


/tmp: !Empty doesn't work in Supervise commands

The error is
ERROR:vagga::wrapper: Error executing run: Can't create dir: Read-only file system (os error 30)
---------- Process xxx:11312 exited with code 124. Shutting down -----------

Fixed in 1a5bf59097a930d3af7b6ecf0b0005b36f95f798


sum aggregation on timestamp

Hi there,
the documentation for version 1.0.2 states that it should be possible to us the aggregation sum on numeric and timestamp columns. Works fine on numeric columns, but when used on a timestamp column an UnsupportedFeatureException is thrown.
I just wanted to know "who is wrong"

hi @floggi83186, we will look into this.

hi @floggi83186 I'd like to hear your use-case of summing up timestamps. I can see there's a use case for other aggregations such as avg or min or max.

Hi @chaudum.
Well, my use-case is to create a frontend where you can "click" your querie together, and to give the user all possibilities (aggregations, operators, where/having, grouping, scalar functions etc.) depending on the column. And I use the documentation to know "what is possible".
So I don't really know if there is a user that has a special use-case where he could use that. In respect to timestamps, I can only think of an aggregation like sum(endtime-starttime), what works.
So my "problem" is that the documentation states that it should be possible, but it's not. So I'm fine if the documentation is wrong and gets corrected or the other way round.

@floggi83186 I see your point.
the documentation is incorrect and we will update it. SUM()aggregation is only possible with primitive numeric types, whereas MIN(), MAX() for example are possible with all primitive types.

@chaudum Thanks!

@chaudum what's the state here? Did we fix the docs?

@mfussenegger @floggi83186 seems like this slipped under the radar. I will make sure this is is tracked and gets done asap.

@floggi83186 we updated the documentation regarding this issue.
Thanks for pointing it out!