Update audit-logging.adoc

Removing invalid audit log event in Exchange documentation. There are no audit log events of read-only operations in Exchange. We will investigate why this event reached the documentation.

Looks like the info came from this docs issue, this PR, and originally from this Google doc. Let me know if I can help further.
https://www.mulesoft.org/jira/browse/DOCS-9519
https://github.com/mulesoft/docs-access-management/pull/111
https://docs.google.com/document/d/1mfnpuoMe32Qbb9WDR9h6ThoTQwM3v7DEkhlMnyWAG_A/

Based on discussion with Nico Mouso and Tim Daly in Slack channel support-exchange, 'Create a managed tag' and 'Delete a managed tag' are not logged events and should be removed. Making that change now.

Done. @nicolasgnr this is another difference between the Google doc and the actual behavior. Would you please review https://docs.mulesoft.com/access-management/audit-logging#exchange and confirm that these are the only changes needed?

Lucas found that managed tag create and delete are in logs-- updating.


Bob rewrite -- draft

I didn't do a whole lot here, but I decided to ditch the word lackadaisical as a lot of people who don't have English as a first language probably aren't familiar with it.

Would you give this one another look?

This is great.
I'm really torn on "lackadaisical". Because I consider it relatively iconic in Exercism terms (we even have a lackadaisical badge). I tried to find a video that would mean we could keep it and have a fun note about it and failed.

we even have a lackadaisical badge

I completely missed that. Oof. Yeah, if we could find a fun thing that explains lackadaisical that would work, but... hm. Could be tricky.


Improvements to Melissa sensor and climate entity implementation

Description:
Fixes according to review from @MartinHjelmare Thank you.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

A note to @rytilahti
While I do like the logs if things go sour, I also like the simplicity of integrating stuff. I think that the most of the work of states being None and so on should actually be done in the the super class and not in the actual implementation, this will also make tests more redundant in hass and move it to the package or into the core of hass :)
So in short, lets jut make the "bridge" in components and logic in package or in core.

@kennedyshead I was just thinking it from the perspective of a someone who is in a dire need to figure out why something isn't working, in which case it's far easier to enable a logger than modify some sources. Anyway, I agree that easy cases which can be handled on an upper level should indeed be handled there.


Update installation instructions

This gem does not seem to be on https://rubygems.org yet.

Hello @tb-ruby, I am going to close this PR because I added your requested changes in PR #25 which was recently merged into the main branch. I updated our README to have a direct link to our first Gem release of the ShipEngine Ruby SDK.
The Gem that you were referring to that does not work is not the Gem representation of this repository. It is a Swagger OpenAPI-generated Ruby SDK that was uploaded years ago and has not been maintained.
We also were able to publish our first Gem of this Ruby SDK to rubygems.org, feel free to download it here and use it in your next project - ShipEngine Ruby SDK Gem 😎
Let us know if there is anything else you would like to see in our Ruby SDK.


status RESIZE of node was not implemented

added node status RESIZE for OVH
Description
added to NODE_STATE_MAP and test for OVH
Status

done, ready for review

closes #1554

Thanks for the contribution. Changes have been merged into trunk.


How to add a new page?

The current Layout.tsx is very confusing.
How can I add new pages?

I hope it's not too late.
Template is using the app router instead of page router, you may need to check document for more information.

Here are the App Router docs: https://nextjs.org/docs/app


Feature Request: Custom URL and TheMusicNinja Support

Hi, I definitely love the applet so far. so here are some request from me, a fan~

Support for TheMusicNinja (http://www.themusicninja.com/) radio/player.
A custom URL parameter to scrobble. maybe there is another unsupported site like TMJ that need some love? I would be neat!

Cheers,
S.T

#688 waiting for the next release


Right click to cycle backwards, does not work for redstone control

LaserIO version
1.3.3
Minecraft Version
1.18.2
Forge Version
40.1.60
Modpack & Version
No response
Do you have optifine installed?
No
Describe the issue
You cannot right click the redstone icon in cards to cycle backwards through the options, like other buttons.
Steps to reproduce

Open MC...
Open card inside node
Right click redstone control
See that right clicking does not cycle backwards

Expected behaviour
Cycle backwards through redstone behaviors on right click
Screenshots

Log files
No response
Additional information
No response

Ya, not all buttons have that right click to go back thing, its a bunch of extra logic so I only added it in a few places.


Extract backgroundColor from color

Some components don't need / can't have color (for the font).
Is it possible to extract backgroundColor from color such that I can just set the background color and not have to worry about color being present in the API of the component?

Yeah you can import { backgroundColor } from 'styled-system'; you don’t have to import a whole category of style props.

Hmm ... I can't. I checked the dist folder and the export looks like this:
var _color = _interopRequireWildcard(require("@styled-system/color"));

exports.color = _color.color;

And the color holds backgroundColor. It is not exported as a standalone property.
Also, the types are wrong because of that: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/styled-system/index.d.ts#L325
I also checked with:
import { backgroundColor } from 'styled-system';

console.log(backgroundColor); // undefined

Apologies you are correct, I have imported other individual style functions such as margin before and assumed this was the same case.


Prompted to download Postgres driver every time start DBeaver

Every time I start Windows 10 DBeaver 6.1.5 (I think it started around v6.1.2 or so) I am prompted to download postgres drivers. I check "force" and the divers appear to be in the directory, but it doesn't matter.

This is a bug in a recent dbeaver version (related to the new workspace format).
I believe I've fixed it a few days ago.
Could you check it in Early Access version (https://dbeaver.io/files/ea) ?

I'll try again, but it blows up trying to install....

I can confirm, that when I started DBeaver, and connected to my local development database (as I always do), I did NOT get the driver prompt. I will continue to use this 6.2 version and report back if I notice anything different. Thank you!

Had the same problem but after the upgrade 6.2.1 the problem dissapeared.
Thanks guys.


Don't suppress resolve telemetry or error messages

Fixes #235

Did we want to display the error though? The issue specifically mentions suppressing for telemetry, but not sure if the user needs/wants to know about these errors.

I was wondering the same thing. Was hoping you would have some epic wisdom on what we should do. I guess we shouldn't show it but I can't give a good reason why. Maybe we wrap it in try/catch and show a nicer error message?

Did we want to display the error though? The issue specifically mentions suppressing for telemetry, but not sure if the user needs/wants to know about these errors.

I was wondering the same thing. Was hoping you would have some epic wisdom on what we should do. I guess we shouldn't show it but I can't give a good reason why. Maybe we wrap it in try/catch and show a nicer error message?

I'm actually not even sure what it looks like when it does error.  I'm worried that one error might prevent the whole group from being displayed.  I'll try forcing an error for the resolve-- might have a better insight after that.  But I think it's safe to suppress for now.


ome-dundeeomero backup script Fix: can't use sudo from /etc/cron

An update to address the fact that the nightly backup was failing, though testing at the shell was successful.
Check mode against ome-dundeeomero: ansible_run-backup-script-CHECK-ome-dundeeomero_20170704-120625Z.txt
Live run against ome-dundeeomero: ansible_run-backup-script-UPDATE-ome-dundeeomero_20170704-120909Z.txt
Without this PR
[root@ome-dundeeomero cron.daily]# run-parts  /etc/cron.daily/ -v
[root@ome-dundeeomero cron.daily]# du -sh /backups/*
64K    /backups/nightly-pg_dump_omero.dir

With this PR
[root@ome-dundeeomero cron.daily]# run-parts  /etc/cron.daily/ -v
[root@ome-dundeeomero cron.daily]# du -sh /backups/*
1.7G    /backups/nightly-pg_dump_omero.dir

Oh, I'm glad this got caught earlier rather than later!

Yep, agree with those sentiments for sure. I'd dallied adding the backup file size/age monitoring - that's still not in place, I prioritised omero-user-sessions (unique users and total sessions), but on the server upgrades running manual dumps I noticed the du was off.

Can confirm:
[root@ome-dundeeomero ~]# date && du -sh /backups/*
Wed  5 Jul 09:35:50 BST 2017
1.7G    /backups/nightly-pg_dump_omero.dir

Code looks fine, can't actually see it in action though.
There's a mysql-backup role: https://github.com/openmicroscopy/ansible-role-mysql-backup
If you create something similar for postgres it'll be easier to deploy on other servers.

@manics - if you're happy with https://github.com/openmicroscopy/infrastructure/pull/279#issuecomment-313039103 showing it works, care to merge, or 👍 for merge?

cF. https://github.com/openmicroscopy/ansible-role-mysql-backup/blob/master/templates/etc-crond-mysql-backup.j2
Agreed that that looks like a good solution, but additionally :+1: for this being fixed and getting it in ASAP.


Feature request: change the text when succeeding/failing

Hi,
Thank you for your code!
I wanted to switch from ora to your library but I have a use case where I'd like to print a different text when the spinner stops (e.g. duration in ms).
Would you consider adding a "text" parameter to "stopAndPrint"?
Would you accept a PR?
m

@mawrkus https://github.com/usmanyunusov/nanospinner will help you


marketplace

We have written the needed data into your clipboard because it was too large to send. Please paste.

i can't conneect market place extensions


Delete selected mocks and groups with keyboard

Hello!
This pr is connected with #216.
It's my first contribution with code-changes, so feel free to point where I should correct it.
And I couldn't get how to cover it with test, any thoughts?

@morsdyce Good question about focus... Obviously we would need undo for this.
What about adding a sidebarInFocus flag to the mocks state? It could be set to true when clicking inside the sidebar or on one of its items and unset with clickOutside or something.

Good idea, I like it much better than assuming that if the mouse is in the sidebar area then you probably meant to delete.
I think this is the proper solution for now, undo will be important for this feature so we might want to release them together.

Done with typo and MocksState.
I got idea with focus, all right.
And how particularly you see undo logic here? Is this a button or cmd + z hotkey? Or gmail like popover?

We have a button which is hidden right now because the functionality isn't ready which might also be bound to a hotkey

@dmitrika I'd tackle the undo as a different issue, doesn't have to be done now

I'm still want to finish the task, but waiting when I would be able to get DOM-node from styled-components and add 'click' event-listener to it.
Now it's kinda broken https://github.com/styled-components/styled-components/issues/629

Thanks! I just went on vacation so will take me a while to review it.
On Apr 4, 2017 15:05, "Dmitry Rybin"<EMAIL_ADDRESS>wrote:

I added sidebarInFocus flag and toggle function to the MocksState.
Unfortunately, I couldn't get DOM-element from styled-components, despite
bugfix, so I added cb to DnD component to get node from it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/500tech/mimic/pull/222#issuecomment-291616242, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABlqItkGP0z4x5hTZWjM5ULnkqJbIyliks5rsqKSgaJpZM4Mhwwu
.

@morsdyce Just want to ping you in case if you missed pr :)

@dmitrika Don't worry, I didn't forget about you, I just came back from a month long vaction and have to deal with some work catch up stuff as well as preparing a few things to present mimic in oscon. I will check this as soon as I can which should be in the next few days.
Thanks for your help!

@dmitrika I just checked it and it works beautifully!
Thanks so much for the help :)

Great, thanks!


Wrong path in example.css

Looking in the example.css file it says to Create a folder craft/config/cp/, add this CSS file to it and the styles will be included but looking at the plugin its looking for the file path craft/config/redactorinlinestyles/

Thanks @Adamascroft


Monitoring and alerting analysis

User Story
As a modernisation platform engineer
I need to understand monitoring needs and options
So that I can build a monitoring platform
Value
We need a way to monitor the platform, and our users to monitor their application and infrastructure.
Questions / Assumptions
We should reuse / align with other MoJ areas where possible.
Definition of done

[ ] Analysis on monitoring and alerting options on the market
[ ] Analysis of monitoring and alerting options within the MoJ currently available
[ ] Discussion with other areas of the MoJ / Operations Engineering on any areas which could be reusable
[ ] Options paper with solutions that we should spike to inform a decision.
[ ] another team member has reviewed

Reference
How to write good user stories

Discussion on other monitoring solutions here - https://github.com/ministryofjustice/operations-engineering/issues/147

https://app.diagrams.net/#G1w8dZs5vZOoy0dvCnRr5P6GHc3VQRdwLq monitoring tab
Following with what CP use, potentially prometheus for our containerised apps with cloudwatch metrics for other infra.  Both feeding into Grafana and pager duty.

Discussed at planning, currently we are going to focus on a PagerDuty PoC to get alerts working as this is the highest priority.
Later we can look at adding Grafana and Prometheus

This has been done for now, further work will be covered in the following issues:
https://github.com/ministryofjustice/modernisation-platform/issues/1335
https://github.com/ministryofjustice/modernisation-platform/issues/1334
https://github.com/ministryofjustice/modernisation-platform/issues/1333
https://github.com/ministryofjustice/modernisation-platform/issues/1332
https://github.com/ministryofjustice/modernisation-platform/issues/1331
https://github.com/ministryofjustice/modernisation-platform/issues/1312
And the ADR here - https://github.com/ministryofjustice/modernisation-platform/pull/1336


Adjust CIDRPool to use int32 instead of uint fields

According to the API Conventions, we should not use uint type for fields.

All public integer fields MUST use the Go int32 or Go int64 types, not int (which is ambiguously sized, depending on target platform). Internal types may use int.
Do not use unsigned integers, due to inconsistent support across languages and libraries. Just validate that the integer is non-negative if that's the case.

In fact, issues using uint can also be observed when trying to DeepCopy the object that panics with error panic: cannot deep copy uint64.

This PR adjusts the uint fields to int32. This means that we can fully cover the IPv4 address family, but we impose limitations for the IPv6 address family since the gatewayIndex and PerNodeNetworkPrefix can go up to 2^32.

coverage: 69.594% (+0.08%) from 69.514%
when pulling 2acb88f6334ef28bbb1985e495195a856b5df06b on vasrem:bugfix/use-int-instead-of-uint
into ef6ff29c8cc5f2e94226ded32c1405b1afa113e6 on Mellanox:main.


Fix invalid or confusing examples

Related to https://github.com/microbiomedata/submission-schema/issues/227.
These changes update the examples attribute of slots where we don't make any further modifications when building submission-schema. So I think it makes the most sense to make the changes here and inherit the updates downstream.
The one exception is that I believe we decided to leave the example on host_sex in place and update the host_sex_enum permissible values. I don't recall exactly where @turbomam got the new permissible values from, but that's what I had in my notes.

I just found out that I'm not supposed to modify src/schema/mixs.yaml directly since that file get generated. Putting this into draft until I can figure out how to make the changes to that file the right way.


Overlay improvements

Promote AlertDialogOverlay, BasicAlertDialogOverlay, and BasicDialogOverlay to circuitx-overlay.

First impl based on https://github.com/ZacSweers/CatchUp/blob/3220fd95750e80b72c9e51d547c6f3f64b0de479/app-scaffold/src/main/kotlin/catchup/app/circuit/DialogOverlay.kt#L13

Implement OverlayEffect from @stagg's proposal in #1105.
Implement OverlayState + LocalOverlayState to expose current overlay availability (part of #1105). Default is OverlayState.UNAVAILABLE, which would be cases where there's no OverlayHost available.
Introduce @ReadOnlyOverlayApi for OverlayHost interface.
Mark Overlay as @Stable

Resolves #1105

Gonna look at adding some tests before merging, mostly around reporting states correctly. May look at integrating snapshot tests into circuitx-overlay too to start some test infra there.

I'm punting on snapshot tests for circuitx-overlays for now as I'm finding Roborazzi to be fairly tricky to get working on either desktop or android due to the dialogs.


resolves #74 - Implements primary keys as a specific type

Implements the code recommended from here: https://github.com/mjovanc/njord/issues/74.
Implements std::str::FromStr for PrimaryKey
Implements std::fmt::Display for PrimaryKey

@mjovanc, as a side, if you recreate your neo.db table, I'd probably change:
id TEXT PRIMARY KEY,
neo_reference_id TEXT

to
id INTEGER PRIMARY KEY,
neo_reference_id INTEGER

@chaseWillden Thanks for the PR. LGTM. However the code inside njord_examples will be changed at a later point. Need to fix the id field in the proc macro first.
But thanks a lot for the help!


Add podAnnotations section,

which can be used to configure kiam, proemtheus using annotations

Thanks a lot @rpoluri !


ImportError: No module named 'pip._vendor.requests'

Hi, I've been using your buildpack for a last month and it's been working fine but when I want to create new application it fails on this:
2016-03-21T17:30:07.31+0100 [STG/210]    OUT -----> Downloaded app package (20K)
2016-03-21T17:30:07.46+0100 [STG/0]      ERR Cloning into '/tmp/buildpacks/heroku-buildpack-scipy'...
2016-03-21T17:30:26.36+0100 [STG/0]      OUT -----> Installing runtime (python-2.7.10)
2016-03-21T17:30:42.41+0100 [STG/0]      OUT -----> Installing dependencies with pip
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ERROR:root:code for hash md5 was not found.
2016-03-21T17:30:42.63+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     globals()[__func_name] = __get_hash(__func_name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     raise ValueError('unsupported hash type ' + name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ValueError: unsupported hash type md5
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ERROR:root:code for hash sha1 was not found.
2016-03-21T17:30:42.63+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     globals()[__func_name] = __get_hash(__func_name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     raise ValueError('unsupported hash type ' + name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ValueError: unsupported hash type sha1
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ERROR:root:code for hash sha224 was not found.
2016-03-21T17:30:42.63+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     globals()[__func_name] = __get_hash(__func_name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     raise ValueError('unsupported hash type ' + name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ValueError: unsupported hash type sha224
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ERROR:root:code for hash sha256 was not found.
2016-03-21T17:30:42.63+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     globals()[__func_name] = __get_hash(__func_name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     raise ValueError('unsupported hash type ' + name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ValueError: unsupported hash type sha256
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ERROR:root:code for hash sha384 was not found.
2016-03-21T17:30:42.63+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     globals()[__func_name] = __get_hash(__func_name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     raise ValueError('unsupported hash type ' + name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ValueError: unsupported hash type sha384
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ERROR:root:code for hash sha512 was not found.
2016-03-21T17:30:42.63+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     globals()[__func_name] = __get_hash(__func_name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
2016-03-21T17:30:42.63+0100 [STG/0]      ERR     raise ValueError('unsupported hash type ' + name)
2016-03-21T17:30:42.63+0100 [STG/0]      ERR ValueError: unsupported hash type sha512
2016-03-21T17:30:42.77+0100 [STG/0]      ERR Traceback (most recent call last):
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "/app/.heroku/python/bin/pip", line 9, in <module>
2016-03-21T17:30:42.77+0100 [STG/0]      ERR     load_entry_point('pip==6.0.6', 'console_scripts', 'pip')()
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 519, in load_entry_point
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2630, in load_entry_point
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2310, in load
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2316, in resolve
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/__init__.py", line 15, in <module>
2016-03-21T17:30:42.77+0100 [STG/0]      ERR     from pip.vcs import git, mercurial, subversion, bazaar  # noqa
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/vcs/mercurial.py", line 11, in <module>
2016-03-21T17:30:42.77+0100 [STG/0]      ERR     from pip.download import path_to_url
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/download.py", line 30, in <module>
2016-03-21T17:30:42.77+0100 [STG/0]      ERR     from pip._vendor import requests, six
2016-03-21T17:30:42.77+0100 [STG/0]      ERR   File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/__init__.py", line 81, in load_module
2016-03-21T17:30:42.77+0100 [STG/0]      ERR     raise ImportError("No module named '%s'" % (name,))
2016-03-21T17:30:42.77+0100 [STG/0]      ERR ImportError: No module named 'pip._vendor.requests'
2016-03-21T17:30:42.80+0100 [STG/0]      OUT Staging failed: Buildpack compilation step failed
2016-03-21T17:30:42.99+0100 [API/0]      ERR encountered error: App staging failed in the buildpack compile phase

The content of requirements.txt doesn't matter, if i have that file empty the build still fails. I think that it has something to do with new stack cf_linuxfs2 based on this issue https://developer.ibm.com/answers/questions/236264/bluemix-and-python-deploy-error-after-platform-upg.html but I dont really know what that means or how to fix it. My knowledge of buildpacks is basically none.
One last thing - if i try to print state of my app the log says
$ cf app my_app
Showing health and status for app my_app in org ... / space ... as ...
FAILED
Server error, status code: 400, error code: 170004, message: App staging failed in the buildpack compile phase

Hi, thanks for including all this information.
Did you change anything recently that caused this error?
Basically it looks like this is a problem with your Python linking properly to openssl packages, which is a lower-level issue. But I guess the buildpack might have to install Python differently on the CF stack, which explains why CF has their own fork of the base python buildpack.
I don't have the bandwidth to investigate this further right now, and fix... The answer would probably involve looking at how the CF buildpack installs Python differently from the vanilla python buildpack.


Menubar-Item won't work sometimes

So, I'm using MacOS X El Capitan Version 10.11.6 on a MacBook Pro from late 2008.
My problem now is, that when I click on the menubar-item (in the menubar, obviously) the background of the logo turns dark-blue like it's supposed to when it's activated, but the menu where I can set the EQ-Mode like 'Rock' and other pre-made settings is not shown.
To 'fix' that, I simply wait a moment (about 15 seconds or so) and click on it again. Usually it works then.

can you post a screenshot or a video describing the bug?

I can confirm the same issue in previous versions too. It happen randomly. OS X 10.12.6

Yes I have experience this as well at some point. Valid bug, should be fixed sometime in the future. For now just right click on the icon and then left click, which usually refreshes the click events and the menu works again

This happened to me on a fresh install (also running OS X 10.12.6). The right-click trick doesn't seem to be helping - at first the right-click menu would still come up, but then it stopped working as well. Please fix this bug soon so I can use your handy tool again. :)

Should be fixed in PR #65
Will be released with Build v2.1

Hey everyone. Excuse me for the lack of updates. I have been really busy on the new version of eqMac. I am happy to announce an open beta release.
You can download it here: https://eqmac.app
There are a lot of known bugs that I could not fix just yet:

Driver not installing from the first try. Sometimes need to restart eqMac a couple times.
Complex Device switching logic is not perfect (for example when switching off the device that's currently playing, plugging in new device etc.)
UI takes long to load (a lot can be done to improve that)
UI dimensions are not synching properly
There's a noticeable audio delay in the playback, so not suitable for video yet (I know where the problem lies just haven't had the time to fix yet)
Sometimes the playback doesn't start, in that case please try to switch the output to the device you want and eqMac should try and build the audio pipeline again.

So as you can see there's still some work to be done but at least it's a completely modern tech stack that I am fully willing to work on: 100% Swift, User Space driver and a Web UI, instead of C++, Kernel Drivers. As I said, should work on Catalina and should not have any pesky ear drum blasting volume bugs (at least I didn't come across any).
I'm open to feedback and issue reports here: https://github.com/bitgapp/eqmac
That repo will become the main repo for eqMac and this repo will be archived eventually.
And yes it's called just eqMac, not eqMac3 :) And it will stay that way forever.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.


Stealth Rock and Spikes issue

https://twitter.com/LarsHabermann1/status/1120796616393396225

Your damage calc is broken. It isn't calculating with stealth rocks or spikes anymore.

Told you something would break, @AustinXII

@Zarel already fixed and updated on the main calc (thanks TI). Tbf this was apparently broken for weeks and no one complained somehow, even after I got people who play constantly to test with it 🤦♂. This actually broke with my refactor because of a forgotten “!” and not because of the recent changes that got uploaded

Oh it’s because I’m remembering wrong, I guess my refactor did get pushed after the toggle abilities.  I just assumed it was at the same-ish time  since I asked you to update after I did the refactor but I guess you didn’t and did it by yourself a few days before, whoops.

It might be an annoyance but I may start adding versions on the calc page so I know how caught up main is. It would make pinpointing what actually broke something a lot easier since the calc can go months without a sync

I've noticed that damage from hazards and leech seed are not included in the damage rolls. How do you obtain this information using the @smogon/calc API? I wrote a test case to show what I mean:
var calc = require("@smogon/calc");
var assert = require("assert");
// Example Sets
var Kyurem = new calc.Pokemon(8, 'Kyurem', {
		level: 100,
		ability: 'Pressure',
		item: 'Choice Specs',
		nature: 'Timid',
		evs: {spa: 252, def: 4, spe: 252},
		moves: ['Ice Beam', 'Freeze Dry', 'Earth Power', 'Draco Meteor']
	});
var Excadrill = new calc.Pokemon(8, 'Excadrill', {
		level: 100,
		ability: 'Mold Breaker',
		item: 'Leftovers',
		nature: 'Careful',
		evs: {hp: 252, spd: 252, atk: 4},
		moves: ['Iron Head', 'Rapid Spin', 'Stealth Rock', 'Earthquake']
	});
// Result with Stealth Rock
var resultSR = calc.calculate(8, Excadrill, Kyurem,
new calc.Move(8, 'Earthquake'),
new calc.Field({defenderSide: {isSR: true}}));
// Result without Stealth Rock
var resultNoSR = calc.calculate(8, Excadrill, Kyurem,
new calc.Move(8, 'Earthquake'));
// Assert each damage roll in Stealth Rock result
// is different from the damage roll in hazardless result
for(var i = 0; i < resultSR.damage.length; i++) {
	assert(resultSR.damage[i] != resultNoSR.damage[i]);
}

Hi @neilfewellsteiner - love that you wrote a test, super helpful!
Stealth Rock damage is not (and should not) be included in the damage roll, it occurs when the mon switches in and is separate from the damage caused by the move, Currently the calculator accounts for the SR damage from switching in while calculating OHKO chance, which is not programmatically available in a machine readable way with the current package (it is included in the desc of the Result)

Hello @scheibo , thank you for the quick reply. I did not realize that each result object has a desc() method, which provides information about hazards, leech seed, and other field effects.


[RFC] pipe-based Do

Looks like people are quite happy with fp-ts-contrib's Do, it would be nice having a pipe-based Do though, here's a POC
import { pipe } from 'fp-ts/lib/function'
import { URIS2, Kind2 } from 'fp-ts/lib/HKT'

export interface Do2<M extends URIS2> {
  readonly as: <N extends string>(name: N) => <E, A>(fa: Kind2<M, E, A>) => Kind2<M, E, { [K in N]: A }>
  readonly let: <N extends string, A, B>(
    name: Exclude<N, keyof A>,
    f: (a: A) => B
  ) => <E>(fa: Kind2<M, E, A>) => Kind2<M, E, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
  readonly bind: <N extends string, A, E, B>(
    name: Exclude<N, keyof A>,
    f: (a: A) => Kind2<M, E, B>
  ) => (fa: Kind2<M, E, A>) => Kind2<M, E, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
}

//
// example with `Either`
//

import * as E from 'fp-ts/lib/Either'
declare const Do: Do2<E.URI>

/*
const x: E.Either<string, {
    a: number;
    b: string;
    c: boolean;
}>
*/
export const x = pipe(
  E.right<string, number>(1),
  Do.as('a'),
  Do.bind('b', () => E.right('b')),
  Do.let('c', ({ a, b }) => a + b.length > 0)
)

Pros:

do / doL are replaced by chainFirst
return is map
done is useless (would be the identity function)

Looks good, but is bindW allowed?

Being pipe-based we (and users too) are free to add more functions (on data type basis)
export interface BindW2<M extends URIS2> {
  readonly bindW: <N extends string, A, D, B>(
    name: Exclude<N, keyof A>,
    f: (a: A) => Kind2<M, D, B>
  ) => <E>(fa: Kind2<M, E, A>) => Kind2<M, D | E, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
}

declare const Do: Do2<E.URI> & BindW2<E.URI>

/*
const x: E.Either<string | number, {
    a: number;
    b: string;
    c: boolean;
    d: number;
}>
*/
export const x = pipe(
  E.right<string, number>(1),
  Do.as('a'),
  Do.bind('b', () => E.right('b')),
  Do.let('c', ({ a, b }) => a + b.length > 0),
  Do.bindW('d', () => E.right<number, number>(2))
)

Love it! Where do I send the flowers? 🌷 🥂

Open question: as, bind, let, bindW etc... should be exported from Either.ts as a namespace (for example Do) or as top level functions?

Open question: as, bind, let, bindW etc... should be exported from Either.ts as a namespace (for example Do) or as top level functions?

@gcanti - If I understand correctly, you are asking about this
export const x = pipe(
  E.right<string, number>(1),
  E.as('a'),
  E.bind('b', () => E.right('b')),
  E.let('c', ({ a, b }) => a + b.length > 0),
  E.bindW('d', () => E.right<number, number>(2))
)

versus this
export const x = pipe(
  E.right<string, number>(1),
  E.Do.as('a'),
  E.Do.bind('b', () => E.right('b')),
  E.Do.let('c', ({ a, b }) => a + b.length > 0),
  E.Do.bindW('d', () => E.right<number, number>(2))
)

Am I correct?
If so, I would favor exporting as top-level functions since I find the former more readable (reduces clutter in the piped function calls). Just my preference though.

I would favor exporting as top-level functions

@IMax153 agree, I would rename as to bindTo though.
I'd start from adding

bindTo
bind
bindW (when possible)

to all monadic data types.

Hmm... I started experimenting with this and I get the following error when exporting let as a top-level function:

Identifier expected. 'let' is a reserved word in strict mode. Modules are automatically in strict mode.

Do you have a preference on another name for let?

@IMax153 PR here https://github.com/gcanti/fp-ts/pull/1283

Do you have a preference on another name for let?

Maybe we can live without it
export const x = pipe(
  E.right<string, number>(1),
  E.bindTo('a'),
  E.bind('b', () => E.right('b')),
  E.bind('c', ({ a, b }) => E.right(b.length > 0)), // <= this was a `let`
  E.bindW('d', () => E.right<number, number>(2))
)

closed by https://github.com/gcanti/fp-ts/pull/1283


Negative Samples

Hello great work there!!
Can you help in adding negative samples while training. Images without bounding boxes or with bounding box and label as background

have you implemented this?


Merge pull request #1 from powdahound/master

Merge

Please stop creating empty PRs

@luohao-brian These are confusing. :) Do you need help creating a real PR?


Modified date time in list view is displayed incorrectly

It is caused by the highlighted line in src/pages/contents.vue:

changing the line to the below fixes it for me:
      return moment.utc(node.data.stat.mtime).format('YYYY-DD-MM h:mm:ss a')
for those who want to display local time and not UTC time (using the locale of your machine/device):
      return moment.utc(node.data.stat.mtime).local().format('YYYY-DD-MM h:mm:ss a')

Thanks for finding this issue and the fix.
I'll be taking a look at this on the weekend.

Fixed in latest. And, thanks again.


Feature request: OR conditions in queries

This one as a tracking issue:  it would be useful to have the option to write (custom) queries with OR conditions.

You can write it using the db.query function.
async function (app) {
  const { db, sql } = app.platformatic
  const result = await db.query(sql`
    SELECT * from foo
    WHERE id = '123' OR name = 'Bob'
  `)
}

Something that would be nice is to allow OR in GraphQL and OpenAPI

@ivan-tymoshenko you are super right: I definitely misrepresented what I meant.
I was thinking about the where clauses on Entity operations.
I mean, something like this
async function (app) {
  // ...
  const user = app.platformatic.entities.user.find({
    where: {
      or: [
        { id: { eq: '123' },
        { name: { eq: 'Bob' }
      ]
    }
  })
  // ...
}

Maybe it's better I change the title of the issue to better convey what I meant.
Again, thank you all.

Hey @mcollina,
I was playing around with this and I think I found a solution that meets these requirements.
    where: {
      or: [
        { id: { eq: '123' },
        { name: { eq: 'Bob' }
      ]
    }

Should I open a Pull Request so you can give it a look and probably guide me from there?

go ahead!


Jcipar/core 5087 changes to support iceberg

https://redpandadata.atlassian.net/browse/CORE-5087
Adds some missing features to the Avro C++ implementation to support Iceberg development:

Custom metadata in Avro files.
map as a logical type for arrays.
element-id field for arrays.

My somewhat limited reading of the Java Iceberg implementation and the Java Avro implementation suggest that Java Iceberg is relying on custom properties (called custom attributes or custom fields in C++) for the "element-id". In Java Avro, custom properties can be any type, not just strings. In the future we may want to change the way custom properties/attributes work in C++ Avro, rather than having element-id be a special case for Iceberg.
More info about open questions related to this PR: https://docs.google.com/document/d/13Nh-01cTWU0cRoo-SqncqviG3oQBX8lp-Vt6oLWcqwo/edit

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

I'm okay with merging this as is, but it seems like we'll have to revisit custom attributes when we get around to supporting Avro schemas for user data.

@jcipar can you capture any todo items / follow-ups that come from this discussion into a jira ticket?

I'm okay with merging this as is, but it seems like we'll have to revisit custom attributes when we get around to supporting Avro schemas for user data.
Just summarizing/double checking my understanding today, for future reference in case it's useful:

The primary requirement of Avro with Iceberg is that Iceberg metadata files are mostly written in Avro.
The Iceberg project has static (but evolving, release to release) schemas for its metadata. These are schemas that we'll codegen as a part of the build so we can generate these metadata objects in C++.
These static schemas we've been using as reference were generated with other projects/languages' Avro impls.
The element-id changes aren't strictly necessary to get us started writing Iceberg metadata, but will be when we come around to supporting Avro schemas for data.
The map changes are necessary because the Iceberg metadata includes a map.
The addition of custom attributes should subsume the element-id changes, provided callers will have a way to serialize the value strings as integers. It's currently unclear exactly where Iceberg does this, but it's apparent from the Java Iceberg implementation that they are casting a string to an int for these special "field id"-like fields.

Is that all correct, @jcipar ?

That's mostly correct. The only correction I have is this:

The element-id changes aren't strictly necessary to get us started writing Iceberg metadata, but will be when we come around to supporting Avro schemas for data.

Element-id is required by at least some tools that consume Iceberg metadata. E.g. PyIceberg won't read a table that doesn't have element-ids. So I'd say this is required to produce correct Iceberg.

I'm okay with merging this as is, but it seems like we'll have to revisit custom attributes when we get around to supporting Avro schemas for user data.

@jcipar can you capture any todo items / follow-ups that come from this discussion into a jira ticket?

https://redpandadata.atlassian.net/browse/CORE-5538


pulumi: 2.1.0 -> 2.2.1, add kubernetes and postgresql providers

Motivation for this change
Update pulumi, add kubernetes and postgresql providers
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

CC @peterromfeldhk @MarcoPolo

Reviewed points

[x] package name fits guidelines
[x] package version fits guidelines
[x] package build on macOS catalina
[x] executables tested on macOS catalina
[ ] all depending packages build

Possible improvements
Comments


Update execcontact.md for new iSoft liason

@tzimmermsr Could you please merge when you get a chance? Sorry I had it in draft state previously.

Merged!


Problem with custom-class=

After calendar is rendered, it's not reacting on changes in result of custom-class callback.
Check demo http://plnkr.co/edit/FbXikxXhrCDHEbrYWICy?p=preview by clicking Add Event btn

Opps, it's shoud go to ui-bootstrap.datepicker(


Remove contributors from package.json

Removes contributors field from package.json
As the project evolves (and we get more contributions from different accounts), this field becomes harder to maintain. We can also track contributions via Git itself

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 92.074%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
1
77.59%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
4136

Relevant Lines:
4381

💛  - Coveralls


InstalledVersion does not detect spatie/laravel-ray as being installed

Running the latest version of Laravel Ray, Laravel 8.21.0 on a MacBook Pro, any attempt so far has given me the same response. The package is installed, exists within the vendor/spatie folder and is listed in the composer.json and composer.lock file.
Below I included the exception and first trace
{
  "message": "Package \"spatie/laravel-ray\" is not installed",
  "exception": "OutOfBoundsException",
  "file": "/Users/christian/Code/project/vendor/composer/composer/src/Composer/InstalledVersions.php",
  "line": 110,
  "trace": [
    {
      "file": "/Users/christian/Code/project/vendor/spatie/laravel-ray/src/Ray.php",
      "line": 149,
      "function": "getVersion",
      "class": "Composer\\InstalledVersions",
      "type": "::"
    },
}

This will be solved by upgrading to composer 2.

This will be solved by upgrading to composer 2.

This indeed solved my issue, thank you!

This indeed solved my issue, thank you!


text.eo:74-76: Current implementation using Java. We...

The puzzle 43-78cbc625 from #43 has to be resolved:
https://github.com/objectionary/eo-strings/blob/3c7b63ac7fd0309a64f114524468697c2e031296/src/main/eo/org/eolang/txt/text.eo#L74-L76
The puzzle was created by @rultor on 15-Sep-22.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@Graur, please assign it to me.

@EugeneDar sure, go ahead

@0pdd the puzzle #91 is still not solved.

@0pdd the puzzle #93 is still not solved; solved: #91.

@0pdd all 2 puzzles are solved here: #91, #93.


[5.8] Fix memory leak in JOIN queries

Every JoinClause instance receives and stores the parent query. The instance itself then gets stored in the parent query's $joins property. This circular reference causes a memory leak and can be an issue for long-running scripts.
We can fix it by storing the parent query's connection, grammar, processor and class name separately instead of the whole query instance.
The removed $parentQuery property was private, so this shouldn't be a breaking change.
Fixes #28195.

Thanks @staudenmeir

Maybe it would have been better to have these attributes as private as well to make it possible to fix future bugs without breaking change?

@deleugpn We are only using private properties in very few places (probably not on purpose) and I think we should keep it like that.


[TESTING] Testing for unlock legacy withdrawal cells feature

This is a temporary PR for testing only, close it after the testing completed.
The feature can only be tested on mainnet_v0, so please use the Vercel mainnet preview link to test it.
The PR is based on feat-v0-unlock branch, changes:

Remove owner_lock from withdrawal_request v0, so after the withdrawal cell is finalized, user need to manually unlock it on godwoken-bridge

test completed.


NotifyManager breaks when a exception occurs in onSuccess callback

Describe the bug
When a exception occurs in onSuccess callback
mutation.mutate(
  {},
  {
    onSuccess: () => {
      throw new Error();
    },
  },
);

whitch notify by NotifyManager.batch
batch<T>(callback: () => T): T {
  this.transactions++
  const result = callback() // exception raise
  this.transactions-- // not executed
  if (!this.transactions) { // never be 0
    this.flush()
  }
  return result
}

since NotifyManager.batch breaks, all newly created query's result would stuck in loading state even fetch succuessful
Your minimal, reproducible example
https://codesandbox.io/s/gracious-danny-zfq8u?file=/src/App.js

click mutate
click query

Steps to reproduce
mutation.mutate(
  {},
  {
    onSuccess: () => {
      throw new Error();
    },
  },
);

Expected behavior
QueryObervable should notify onSuccess defensively
How often does this bug happen?
No response
Screenshots or Videos
No response
Platform
irrelevant
react-query version
3.34.7
TypeScript version
No response
Additional context
No response

Your minimal, reproducible example
none

please create a codesandbox reproduction, thanks

Your minimal, reproducible example
none

please create a codesandbox reproduction, thanks

done

thank you. In the attached PR, the sandbox works, and I also made a test that failed before and now works. Can you give it a quick review? Then we can merge it: https://github.com/tannerlinsley/react-query/pull/3216

Thanks! I think the next batch works ok now.
I haven't try yet, but I guess there still an issue that subsequence callbacks (e.g. getQueryCache().notify) on the same batch whitch exception occurs wound't get call.
Catch exception above onSuccess/onSettled should fix this.

hmm, we just tested for mutations here. For queries, it would mean that listeners (useQuery) would not be informed about the update because of the error. But I don't think that try/catch around those is really a better option...

I think I'll go ahead and merge the fix and we can think about further improvements separately

:tada: This issue has been resolved in version 3.34.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.0.0-alpha.8 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I think the issue is still present, it happened to me on 4.3.4 on the onSettled function.

@ncoen97 show an example please

Here is a code sandbox. If you look at the onSettled, I was missing the function after the queryClient.invalidateQueries() I can't see the error in the sandbox, but in my local development this is what I'm getting:
Uncaught (in promise) TypeError: callback is not a function
    at notifyManager.ts:51:9
    at notifyFn (notifyManager.ts:15:5)
    at notifyManager.ts:63:13
    at Array.forEach (<anonymous>)
    at notifyManager.ts:62:25
    at batchedUpdates$1 (react-dom.development.js:26096:12)
    at notifyManager.ts:61:9.

this is a different problem. by doing:
onSettled: queryClient.invalidateQueries()

you're calling queryClient.invalidateQueries() during render, and you pass the resulting promise to onSettled, where a function is expected. TypeScript can solve this one.


DNS query failure in async paradigm

DNS request will failure with this async test as expected.
2019-09-17 15:14:22.499290+0900 xctest[7603:427732] [si_destination_compare] send failed: Invalid argument
2019-09-17 15:14:22.499516+0900 xctest[7603:427732] [si_destination_compare] send failed: Undefined error: 0
NioDNS/Tests/DNSClientTests/DNSClientTests.swift:54: error: -[DNSClientTests.DNSClientTests testSRVRecordsAsync] : Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "getSRVRecords".

No callback is called and it shows send failed error in console.

I'm sorry that I missed this issue. Is this still an issue with the recent versions, since I am relying on this code.

Closing this, as send failed is a known bug in SwiftNIO and doesn't affect NIODNS

I think the send failed error is unrelated to the issue reported by @novi , and that you can reproduce with his test.
The send failed issue is just a "false error", but the request is correctly sent to the server.
The error here, instead, is that for some reason the library doesn’t complete/return the Future when using asynchronous code instead of .wait().
I have faced the same issue and found this thread after I checked with Wireshark that the request was correctly sent to the server and the server responded correctly.

@alessionossa might it be that Swift deallocated/deinit-ed the DNS client while waiting for a response?

I just read again Notes and this is probably the case. Thank you for the fast response!
I will open another issue related to ProtocolError as soon as I will reproduce the issue without sensitive data.

I think this issue can now be closed

Thanks! Will do.


Schedule email is not working on bulksend

Summary
'send_at' => $params->getSendAt()
This thing is not working on bulk email send.
Expected Results
Email should be schedule on bulk send.
Steps to Reproduce
You can set send_at param and send bulk email you will get bug on this case.

Please contact our support for sending related questions.

okay


Bump all runtimes to node20, update actions and dependencies.

Webpack 4.x -> 5.x required setting output: { chunkFormat: false } to prevent creating chunks.

@Omicron7 I noticed you moved some of the version numbers up to Node20. Do I need to re-work the lambdas to upgrade them to v20?

I noticed you moved some of the version numbers up to Node20. Do I need to re-work the lambdas to upgrade them to v20?

@jcwatson11 I set the serverless deploy back to node18. Nothing should need to happen in any of the applications/lambdas. This is really just updating the version of node used by the deployment actions.

@Omicron7 Cool. Thanks for clarifying.


Laboratory Work #1, Savinova Polina - 20FPL1

@posavinova good job, please fix remaining tests and we are done


Drop oldest udp message when buffer is full

Resolved following todo, which is also mentioned in issue #105 :

TODO: ideally we should drop the oldest packets instead of new ones, but this would require a different channel implementation.

How:
Replaces mpsc queue with broadcast queue which has the behaviour we want. According to tokio docs

If a value is sent when the channel is at capacity, the oldest value currently held by the channel is released. This frees up space for the new value. Any receiver that has not yet seen the released value will return RecvError::Lagged the next time recv is called.

To use this channel there is a one public API change required. Datagram needs to implement Clone.

So I wanted to make sure that this behavior correctly matches existing network stacks so I wrote a test:
use s2n_quic_core::interval_set::IntervalSet;
use socket2::{Domain, Socket, Type};
use std::{net::SocketAddr, time::Duration};
use tokio::{net::UdpSocket, time::timeout};

#[tokio::test]
async fn queue_behavior() -> std::io::Result<()> {
    let packet_count = 1_000u32;

    let rx_socket = {
        let socket = Socket::new(Domain::IPV4, Type::DGRAM, None)?;

        socket.set_recv_buffer_size(u16::MAX as _)?;
        socket.set_nonblocking(true)?;

        let addr: SocketAddr = "<IP_ADDRESS>:0".parse().unwrap();
        socket.bind(&addr.into())?;
        UdpSocket::from_std(socket.into())?
    };
    let tx_socket = UdpSocket::bind("<IP_ADDRESS>:0").await?;

    let rx_addr = rx_socket.local_addr()?;

    dbg!(rx_addr);

    let mut payload = vec![0u8; 1200];

    eprintln!("sending {packet_count} packets");

    for i in 0..packet_count {
        payload[..4].copy_from_slice(&i.to_be_bytes());
        let _ = tx_socket.send_to(&payload, rx_addr).await;
    }

    eprintln!("receiving packets");

    let mut packets = IntervalSet::new();

    while let Ok(Ok((payload_len, _remote))) = timeout(
        Duration::from_millis(1000),
        rx_socket.recv_from(&mut payload),
    )
    .await
    {
        if payload_len < 4 {
            continue;
        }
        let i = u32::from_be_bytes((payload[..4]).try_into().unwrap());
        packets.insert_value(i).unwrap();
    }

    dbg!(packets);

    Ok(())
}

[package]
name = "udp-queue-test"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
tokio = { version = "1", features = ["full"] }
s2n-quic-core = "0.24"
socket2 = "0.5"

Running on my Linux machine it turns out that my assumptions (and the TODO I left for that) don't match reality:
$ cargo test -- --nocapture
running 1 test
[src/main.rs:28] rx_addr = <IP_ADDRESS>:60960
sending 1000 packets
receiving packets
[src/main.rs:56] packets = {
    0..=56,
}
test queue_behavior ... ok

Sorry for not checking before I put the TODO 😄!


support vci serverless

when in serverless environment, do not mount hostPath except mount point. Set juicefs.com/enable-serverless-injection: "true" in namespace to use.
support VCI serverless. Set juicefs.com/enable-serverless-injection: "true" in namespace and vke.volcengine.com/burst-to-vci: enfore in pod to use.

do not mount hostPath
container is not privileged
no propagationBidirectional mountPropagation
no initContainer
with env JFS_NO_UMOUNT=1
annotations for VCI

Codecov Report
Patch coverage: 31.03% and project coverage change: -1.43% :warning:

Comparison is base (41ad332) 38.12% compared to head (40b91da) 36.70%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #753      +/-   ##
==========================================
- Coverage   38.12%   36.70%   -1.43%
==========================================
  Files          33       35       +2
  Lines        4092     4275     +183
==========================================
+ Hits         1560     1569       +9
- Misses       2385     2562     +177
+ Partials      147      144       -3

Files Changed
Coverage Δ

pkg/juicefs/mount/builder/container.go
0.00% <0.00%> (ø)

pkg/juicefs/mount/builder/job.go
0.00% <0.00%> (ø)

pkg/juicefs/mount/builder/secret.go
0.00% <ø> (ø)

pkg/juicefs/mount/builder/serverless.go
0.00% <0.00%> (ø)

pkg/juicefs/mount/builder/vci-serverless.go
0.00% <0.00%> (ø)

pkg/webhook/handler/mutate/sidecar.go
20.47% <19.23%> (-4.53%)
:arrow_down:

pkg/juicefs/mount/pod_mount.go
34.54% <25.00%> (ø)

pkg/juicefs/mount/builder/pod.go
52.57% <49.10%> (-0.37%)
:arrow_down:

pkg/juicefs/mount/builder/common.go
50.96% <56.09%> (+3.69%)
:arrow_up:

... and 1 file with indirect coverage changes

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


getFreeDiskSpace wrong on Android

Bug Report
Problem
What is expected to happen?
Reported free disk space on my device in settings is 90+Gb
What does actually happen?
getFreeDiskSpace reports 87MB free and doesn't appear to change
Information
Command or Code
getFreeDiskSpace
Environment, Platform, Device
Huawei P20 Pro, Android 8.1
Version information
plugin v6.0.2
Cordova 9.0.0
Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

Have you installed an external storage, like an SD card? The code command says:
                    // The getFreeDiskSpace plugin API is not documented, but some apps call it anyway via exec().
                    // For compatibility it always returns free space in the primary external storage, and
                    // does NOT fallback to internal store if external storage is unavailable.

Having checked another plugin's result , it looks like you're reporting in MB when the docs I read said bytes


Improve setup instructions for venv

As discussed in a call, next steps will be taken in later PRs.


Bug: Handling of missing README form response

See issue #172.
Implemented as a feature for portability.
Testing:

[x] Test case when no README form is available. This should have a generic README.txt with basic Figshare metadata
[x] Test case when ResponseId is provided during the prompt after it attempts to find a survey response. Here it should use the survey for the corresponding ResponseId and populate accordingly.

I tested it locally with 6936128, 6936134 & 14055188 and it worked well. I thought the log was very clear too.
The code is good. Ready to merge into develop (although the PR is titled "bug", but I see it is implemented as a feature).

There are certain aspects of it that makes it a bug (there was some issue in the deployed version), but in the context of WCCFL it's a feature to support no README (generally we don't have that). I'll end up merging this into the WCCFL branch to make sure we can do everything WCCFL needs during dev work. Will rename description.


Add update checker

Supersedes #315, #235
Closes #84
Thanks to @JustPyrrha for most of it! It was her work to begin with in the original PR as well, this is many years in the making :p

<3

wait I just realized my commits aren't on your repo lmao

if you wanna pr it ill merge it straight in


Update to create events on select slot

This will help the people on using the onSelectSlot event.

thanks!


Hide/Ignore system generated files and/or files that match regex patterns

I would love to see a feature that allows me to ignore/hide specific files from my library. For example Synology NAS creates thumbnail files for every image in it's directories.
All thumbnails are named SYNOPHOTO_THUMB_[X].jpg where [X] is XL, L, M, S, XS for all the different image sizes it generates.
This case is very easy to be handled since all the files contain the same phrase "SYNOPHOTO_THUMB_".

As you can see there are 50000 files that I don't want to have in my library.

After some research, synology servers create folders named @eaDirs that contain those thumbnails and other generated files. Maybe it would be a good approach to ignore those folders all together since it's something that happens across the board for everyone with synology nas.

#2553 ignores the synology files, and makes it easy to add UI control for this in future by collecting all ignore checks into one place.


TDE encrypt/decrypt reversability during crypto

This document does not clearly state whether or not you can Re-enable decryption while it is in the process of decrypting, or vice-versa. we have an application process that may fail and need to restart decprytion after automation has noticed the failure and begun to re-encrypt the database.

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

ID: 20953c9f-c769-7849-420a-dac77f917d4a
Version Independent ID: dfd9ad27-844c-c3c8-58a3-5d4a0c92fbba
Content: Transparent Data Encryption (TDE) - SQL Server
Content Source: docs/relational-databases/security/encryption/transparent-data-encryption.md
Product: sql
Technology: security
GitHub Login: @jaszymas
Microsoft Alias: jaszymas

@scorellis -- thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@jaszymas -- please look into this issue.

@scorellis - You can re-enable encryption/decryption by running the corresponding command again. The process would resume from the point where it had last stopped. We will update the document to call this out.

#please-close


0.14.0 release?

All outstanding PRs were closed and among them are some neat bugfixes and features, sounds like a nice thing to release to everyone.
What do you think? @colszowka @bf4

Enhancements

Officially support JRuby 9.1+ going forward (should also work with previous releases). See #547 (ping @PragTob when encountering issues)
Add Channel group to Rails profile, when ActionCable is loaded. See #492 (thanks @BenMorganIO)
Stop extending instances of Array and Hash during merging results avoiding problems frozen results while manually merging results. See #558 (thanks @aroben)

Bugfixes

Fix parallel_tests when a thread ends up running no tests. See #533 (thanks @cshaffer)
Skip the :nocov: comments along with the code that they skip. See #551 (thanks @ebiven)
Fix crash when Home environment variable is unset. See #482 (thanks @waldyr)
Make track_files work again when explicitly setting it to nil. See #463 (thanks @craiglittle)
Do not overwrite .last_run.json file when refuse_coverage_drop option is enabled and the coverage has dropped (lead to you being able to just rerun tests and everything was fine). See #553 (thanks @Miloshes)

I haven't looked at the PRs individually, but sounds very good to me!
Particularilly big +1 on cleaning up the mess of merge helpers.

Well no rejections then, let's get this party started :D


feat: Add prometheus exporter

Which problem is this PR solving?

#248 Add prometheus exporter

With #482 this now provides an end-to-end metrics story
Short description of the changes
Adds a metrics exporter for the prometheus backend. In its current state, the exporter maintains an internal state with the values of all exported metrics, which is then returned when an endpoint is called by Prometheus.

Codecov Report

Merging #483 into master will increase coverage by 0.76%.
The diff coverage is 68.18%.

@@            Coverage Diff             @@
##           master     #483      +/-   ##
==========================================
+ Coverage   95.27%   96.04%   +0.76%
==========================================
  Files         133      122      -11
  Lines        6820     5610    -1210
  Branches      578      503      -75
==========================================
- Hits         6498     5388    -1110
+ Misses        322      222     -100

Impacted Files
Coverage Δ

packages/opentelemetry-metrics/src/export/types.ts
100% <ø> (ø)
:arrow_up:

...emetry-exporter-prometheus/test/prometheus.test.ts
100% <100%> (ø)

...pentelemetry-exporter-prometheus/src/prometheus.ts
42.85% <42.85%> (ø)

...ges/opentelemetry-tracing/src/NoopSpanProcessor.ts
75% <0%> (-25%)
:arrow_down:

...ckages/opentelemetry-core/src/common/NoopLogger.ts
33.33% <0%> (-23.81%)
:arrow_down:

packages/opentelemetry-metrics/src/Meter.ts
85.71% <0%> (-11.73%)
:arrow_down:

packages/opentelemetry-metrics/src/Metric.ts
82.35% <0%> (-6.11%)
:arrow_down:

.../opentelemetry-core/test/metrics/NoopMeter.test.ts
88.88% <0%> (-5.99%)
:arrow_down:

...metry-core/src/trace/instrumentation/BasePlugin.ts
80.55% <0%> (-5.56%)
:arrow_down:

...-plugin-http/test/functionals/http-package.test.ts
95.45% <0%> (-4.55%)
:arrow_down:

... and 62 more

I managed to run the end to end example using prometheus exporter, looks like everything is working fine. I tried creating and updating simple counter and gauge metrics every 2 secs.
/metrics endpoint:

On scraper:


GCP Topic Dead letter Queues

hi, I'm new to nitric, is this problem still relevant? If so, I could take it.


Add conditions logic to IAM limit checks

Issue #, if available:
Description of changes:

Add conditions logic to check E2508 for checking IAM limits

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #694 into master will decrease coverage by 0.1%.
The diff coverage is 68.42%.

@@            Coverage Diff             @@
##           master     #694      +/-   ##
==========================================
- Coverage   85.61%   85.51%   -0.11%
==========================================
  Files         117      117
  Lines        6745     6772      +27
  Branches     1601     1615      +14
==========================================
+ Hits         5775     5791      +16
- Misses        606      612       +6
- Partials      364      369       +5

Impacted Files
Coverage Δ

src/cfnlint/__init__.py
87.85% <100%> (+0.04%)
:arrow_up:

src/cfnlint/rules/resources/iam/Limits.py
79.22% <65.71%> (-11.35%)
:arrow_down:

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 cffb4d3...6a8531a. Read the comment docs.


NPE in CamelContextGenerator.getJavaMethod(CamelContextGenerator.java:117)

java.lang.NullPointerException
	at org.jboss.fuse.wsdl2rest.impl.codegen.CamelContextGenerator.getJavaMethod(CamelContextGenerator.java:117)
	at org.jboss.fuse.wsdl2rest.impl.codegen.CamelContextGenerator.addTypeMapping(CamelContextGenerator.java:94)
	at org.jboss.fuse.wsdl2rest.impl.codegen.CamelContextGenerator.process(CamelContextGenerator.java:76)
	at org.jboss.fuse.wsdl2rest.impl.Wsdl2Rest.process(Wsdl2Rest.java:92)

wsdl file available on case support https://access.redhat.com/support/cases/#/case/02193740

the issue occurs when a port type contains an "_"

Fixes merged

I provided a PR which is avoid the NPE and testing the same things than other tests but I have no idea if the generated code is really working or not

Sorry I missed the new PR

@tdiesler what needs to be checked on the generated code? how to test that the generated code is correct the wsdl/camel rest dsl?

I'd say it works in the context of its test coverage. If a functionality is auto tested we claim that it works. If it is not tested we assume that it is not there.

is the test that I've written accurate? I duplicate the other tests, but does it makes sense in the context of name with underscores? How to know if it is the right way to handle it?

Here is an example of a comprehensive functional test
https://github.com/jboss-fuse/wsdl2rest/blob/master/tests/spring/src/test/java/org/jboss/fuse/wsdl2rest/test/rpclit/CamelRestRpcLitTest.java https://github.com/jboss-fuse/wsdl2rest/blob/master/tests/spring/src/test/java/org/jboss/fuse/wsdl2rest/test/rpclit/CamelRestRpcLitTest.java
There is one for rpc/lit and one for doc/lit.
You could check whether the generated camel route works for your stuff
— thomas

On Oct 17, 2018, at 2:44 PM, Aurélien Pupier<EMAIL_ADDRESS>wrote:
is the test that I've written accurate? I duplicate the other tests, but does it makes sense in the context of name with underscores? How to know if it is the right way to handle it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jboss-fuse/wsdl2rest/issues/66#issuecomment-430613393, or mute the thread https://github.com/notifications/unsubscribe-auth/AAO80h1DFpw7fJbalkwy5MN9z5A561MCks5ulyZCgaJpZM4XH_KR.

I still don't know if java code is well generated but camel dsl file is for sure badly generated:
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:cxf="http://camel.apache.org/schema/cxf"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">

    <camelContext id="cxfrs-cc50ce86-29df-438d-a2a1-cdfde19c5d83" xmlns="http://camel.apache.org/schema/spring">

        <dataFormats>
            <xmljson id="xmljson"/>
        </dataFormats>

        <restConfiguration component="jetty" host="localhost" port="8081" bindingMode="json">
        </restConfiguration>

        <rest id="id-26650c10-4b95-410d-9539-c7e128152879" path="/jaxrs">

          <$method.httpMethod.toLowerCase() id="id-48e4f63d-d888-4cad-9d95-dddfcecccb94" uri="//{arg0}"
            type="com.oracle.xmlns.enterprise.tools.schemas.a_second_name_with_underscore_email_req.ASECONDNAMEWITHUNDERSCOREEMAILREQTypeShape"
            outType="com.oracle.xmlns.enterprise.tools.schemas.a_third_name_with_underscore_msg.ATHIRDNAMEWITHUNDERSCOREMSGTypeShape"
            >
            <to uri="direct:A_SECOND_NAME_WITH_UNDERSCORE_EMAIL_OPR_SRV"/>
          </$method.httpMethod.toLowerCase()>
        </rest>

        <route id="A_SECOND_NAME_WITH_UNDERSCORE_EMAIL_OPR_SRV">
            <from uri="direct:A_SECOND_NAME_WITH_UNDERSCORE_EMAIL_OPR_SRV" />
            <log loggingLevel="INFO" message="A_SECOND_NAME_WITH_UNDERSCORE_EMAIL_OPR_SRV"/>
            <to uri="cxf://http://localhost:8080/somepath?serviceClass=1.com/Enterprise/HCM/services/A_NAME_WITH_UNDERSCORE_SRV.oracle.xmlns.A_NAME_WITH_UNDERSCORE_SRV_PortType&defaultOperationName=A_SECOND_NAME_WITH_UNDERSCORE_EMAIL_OPR_SRV"/>
            <setHeader headerName="Content-Type">
               <constant>application/json</constant>
            </setHeader>
            <setBody>
                <simple>${body[0]}</simple>
            </setBody>
        </route>

    </camelContext>

</beans>

unassigned: time allocated to work on it exploded.


Send preamble to polyfilled clients

Internet Explorer has a problem receiving data when using XDomainRequest before it has received 2KB of data. The polyfills that account for this send a query parameter, evs_preamble to inform the server about this so it can respond with some initial data.
A good bet would bet would be to send a : characters followed by 2KB of data and a newline character, to make sure the client treats it as a comment and doesn't try to parse it somehow.

Implemented in c3c2393776b95e3854aa3083d154591f61dbed83


vagrant up step fails on mac osx 10.7.5

Trying to get the demo going as per README.rst, I get a failure, captured output below.
Any idea what could i be doing wrong ?

bash-3.2# vagrant up
Bringing machine 'master' up with 'virtualbox' provider...
Bringing machine 'minion1' up with 'virtualbox' provider...
Bringing machine 'minion2' up with 'virtualbox' provider...
==> master: Importing base box 'ubuntu/trusty64'...
==> master: Matching MAC address for NAT networking...
==> master: Checking if box 'ubuntu/trusty64' is up to date...
==> master: Setting the name of the VM: salt-vagrant-demo_master_1437800690447_95469
==> master: Clearing any previously set forwarded ports...
==> master: Fixed port collision for 22 => 2222. Now on port 2200.
==> master: Clearing any previously set network interfaces...
==> master: Preparing network interfaces based on configuration...
master: Adapter 1: nat
master: Adapter 2: hostonly
==> master: Forwarding ports...
master: 22 => 2200 (adapter 1)
==> master: Booting VM...
==> master: Waiting for machine to boot. This may take a few minutes...
master: SSH address: <IP_ADDRESS>:2200
master: SSH username: vagrant
master: SSH auth method: private key
master: Warning: Connection timeout. Retrying...
master: Warning: Remote connection disconnect. Retrying...
master:
master: Vagrant insecure key detected. Vagrant will automatically replace
master: this with a newly generated keypair for better security.
master:
master: Inserting generated public key within guest...
master: Removing insecure key from the guest if it's present...
master: Key inserted! Disconnecting and reconnecting using new SSH key...
==> master: Machine booted and ready!
==> master: Checking for guest additions in VM...
==> master: Setting hostname...
==> master: Configuring and enabling network interfaces...
==> master: Mounting shared folders...
master: /vagrant => /Users/rama/salt-vagrant-demo
master: /srv/salt => /Users/rama/salt-vagrant-demo/saltstack/salt
==> master: Running provisioner: salt...
Copying salt master config to vm.
Uploading master keys.
Checking if salt-master is installed
salt-master was not found.
Using Bootstrap Options:  -k /tmp/minion-seed-keys -M -N stable
Bootstrapping Salt... (this may take a while)
stdin: is not a tty
%
T
o
t
a
l
% Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0
0
0
0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0
0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

INFO:  sh -- Version 2015.07.22

INFO: System Information:

INFO:   CPU:          GenuineIntel

INFO:   CPU Arch:     x86_64

INFO:   OS Name:      Linux

INFO:   OS Version:   3.13.0-55-generic

INFO:   Distribution: Ubuntu 14.04

INFO: Installing master

9
3
2
0
4
k
93  191k    0     0  82547      0  0:00:02  0:00:02 --:--:-- 82517
1
0
0  204k  100  204k    0     0  87900      0  0:00:02  0:00:02 --:--:-- 87871

INFO: Found function install_ubuntu_stable_deps
INFO: Found function preseed_master
INFO: Found function install_ubuntu_stable
INFO: Found function install_ubuntu_restart_daemons
INFO: Found function daemons_running
INFO: Found function install_ubuntu_check_services
INFO: Running install_ubuntu_stable_deps()
Ign http://archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:3 http://security.ubuntu.com trusty-security Release [63.5 kB]
Hit http://archive.ubuntu.com trusty Release
Get:4 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:5 http://security.ubuntu.com trusty-security/main Sources [88.7 kB]
Get:6 http://archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:7 http://security.ubuntu.com trusty-security/universe Sources [28.1 kB]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [315 kB]
Get:9 http://security.ubuntu.com trusty-security/universe amd64 Packages [111 kB]
Get:10 http://security.ubuntu.com trusty-security/main Translation-en [169 kB]
Get:11 http://security.ubuntu.com trusty-security/universe Translation-en [64.0 kB]
Get:12 http://archive.ubuntu.com trusty/universe Sources [6,399 kB]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/main Sources [223 kB]
Get:14 http://archive.ubuntu.com trusty-updates/universe Sources [127 kB]
Get:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [584 kB]
Get:16 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [297 kB]
Get:17 http://archive.ubuntu.com trusty-updates/main Translation-en [281 kB]
Get:18 http://archive.ubuntu.com trusty-updates/universe Translation-en [157 kB]
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 10.0 MB in 1min 9s (144 kB/s)
Reading package lists...

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
debian-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
Need to get 34.4 kB of archives.
After this operation, 84.0 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe debian-archive-keyring all 2012.4 [34.4 kB]
Fetched 34.4 kB in 1s (30.0 kB/s)
Selecting previously unselected package debian-archive-keyring.
(Reading database ... 86712 files and directories currently installed.)
Preparing to unpack .../debian-archive-keyring_2012.4_all.deb ...
Unpacking debian-archive-keyring (2012.4) ...
Setting up debian-archive-keyring (2012.4) ...

Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.

Reading package lists...
Building dependency tree...
Reading state information...
pciutils is already the newest version.
procps is already the newest version.
python-apt is already the newest version.
upstart is already the newest version.
The following extra packages will be installed:
python-chardet
The following packages will be upgraded:
python-chardet python-requests
2 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
Need to get 151 kB of archives.
After this operation, 9,216 B disk space will be freed.
Get:1 http://ppa.launchpad.net/chris-lea/python-chardet/ubuntu/ trusty/main python-chardet all 2.2.1-4chl1~trusty1 [107 kB]
Get:2 http://ppa.launchpad.net/chris-lea/python-requests/ubuntu/ trusty/main python-requests all 2.3.0-1chl1~trusty1 [44.3 kB]
Fetched 151 kB in 2s (55.4 kB/s)
(Reading database ... 86722 files and directories currently installed.)
Preparing to unpack .../python-chardet_2.2.1-4chl1~trusty1_all.deb ...
Unpacking python-chardet (2.2.1-4chl1~trusty1) over (2.0.1-2build2) ...
Preparing to unpack .../python-requests_2.3.0-1chl1~trusty1_all.deb ...
Unpacking python-requests (2.3.0-1chl1~trusty1) over (2.2.1-1ubuntu0.2) ...
Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
Setting up python-chardet (2.2.1-4chl1~trusty1) ...
Setting up python-requests (2.3.0-1chl1~trusty1) ...
gpg:
keyring /tmp/tmp1zltspzd/secring.gpg' created gpg: keyring /tmp/tmp1zltspzd/pubring.gpg' created
gpg:
requesting key 0E27C0A6 from hkp server keyserver.ubuntu.com
gpg:
/tmp/tmp1zltspzd/trustdb.gpg: trustdb created
gpg:
key 0E27C0A6: public key "Launchpad PPA for Salt Stack" imported
gpg:
Total number processed: 1
gpg:
imported: 1
(RSA: 1)
OK

ERROR: You need to allow pip based installations (-P) in order to install the python package 'tornado >= 4.0'
Usage :  bootstrap-salt.sh [options]

Installation types:
- stable (default)
- stable [version] (ubuntu specific)
- daily  (ubuntu specific)
- testing (redhat specific)
- git
Examples:
- bootstrap-salt.sh
- bootstrap-salt.sh stable
- bootstrap-salt.sh stable 2014.7
- bootstrap-salt.sh daily
- bootstrap-salt.sh testing
- bootstrap-salt.sh git
- bootstrap-salt.sh git develop
- bootstrap-salt.sh git v0.17.0
- bootstrap-salt.sh git 8c3fadf15ec183e5ce8c63739850d543617e4357
Options:
-h  Display this message
-v  Display script version
-n  No colours.
-D  Show debug output.
-c  Temporary configuration directory
-g  Salt repository URL. (default: git://github.com/saltstack/salt.git)
-G  Instead of cloning from git://github.com/saltstack/salt.git, clone from https://github.com/saltstack/salt.git (Usually necessary on systems which have the regular git protocol port blocked, where https usually is not)
-k  Temporary directory holding the minion keys which will pre-seed
the master.
-s  Sleep time used when waiting for daemons to start, restart and when checking
for the services running. Default: 10
-M  Also install salt-master
-S  Also install salt-syndic
-N  Do not install salt-minion
-X  Do not start daemons after installation
-C  Only run the configuration function. This option automatically
bypasses any installation.
-P  Allow pip based installations. On some distributions the required salt
packages or its dependencies are not available as a package for that
distribution. Using this flag allows the script to use pip as a last
resort method. NOTE: This only works for functions which actually
implement pip based installations.
-F  Allow copied files to overwrite existing(config, init.d, etc)
-U  If set, fully upgrade the system prior to bootstrapping salt
-K  If set, keep the temporary files in the temporary directories specified
with -c and -k.
-I  If set, allow insecure connections while downloading any files. For
example, pass '--no-check-certificate' to 'wget' or '--insecure' to 'curl'
-A  Pass the salt-master DNS name or IP. This will be stored under
/etc/salt/minion.d/99-master-address.conf
-i  Pass the salt-minion id. This will be stored under
/etc/salt/minion_id
-L  Install the Apache Libcloud package if possible(required for salt-cloud)
-p  Extra-package to install while installing salt dependencies. One package
per -p flag. You're responsible for providing the proper package name.
-d  Disable check_service functions. Setting this flag disables the
'install__check_services' checks. You can also do this by
touching /tmp/disable_salt_checks on the target host. Defaults ${BS_FALSE}
-H  Use the specified http proxy for the installation
-Z  Enable external software source for newer ZeroMQ(Only available for RHEL/CentOS/Fedora based distributions)
The following SSH command responded with a non-zero exit status.

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
debian-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
Need to get 34.4 kB of archives.
After this operation, 84.0 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe debian-archive-keyring all 2012.4 [34.4 kB]
Fetched 34.4 kB in 1s (30.0 kB/s)
Selecting previously unselected package debian-archive-keyring.
(Reading database ... 86712 files and directories currently installed.)
Preparing to unpack .../debian-archive-keyring_2012.4_all.deb ...
Unpacking debian-archive-keyring (2012.4) ...
Setting up debian-archive-keyring (2012.4) ...

Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.

Reading package lists...
Building dependency tree...
Reading state information...
pciutils is already the newest version.
procps is already the newest version.
python-apt is already the newest version.
upstart is already the newest version.
The following extra packages will be installed:
python-chardet
The following packages will be upgraded:
python-chardet python-requests
2 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
Need to get 151 kB of archives.
After this operation, 9,216 B disk space will be freed.
Get:1 http://ppa.launchpad.net/chris-lea/python-chardet/ubuntu/ trusty/main python-chardet all 2.2.1-4chl1~trusty1 [107 kB]
Get:2 http://ppa.launchpad.net/chris-lea/python-requests/ubuntu/ trusty/main python-requests all 2.3.0-1chl1~trusty1 [44.3 kB]
Fetched 151 kB in 2s (55.4 kB/s)
(Reading database ... 86722 files and directories currently installed.)
Preparing to unpack .../python-chardet_2.2.1-4chl1~trusty1_all.deb ...
Unpacking python-chardet (2.2.1-4chl1~trusty1) over (2.0.1-2build2) ...
Preparing to unpack .../python-requests_2.3.0-1chl1~trusty1_all.deb ...
Unpacking python-requests (2.3.0-1chl1~trusty1) over (2.2.1-1ubuntu0.2) ...
Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
Setting up python-chardet (2.2.1-4chl1~trusty1) ...
Setting up python-requests (2.3.0-1chl1~trusty1) ...
gpg: keyring /tmp/tmp1zltspzd/secring.gpg' created gpg: keyring /tmp/tmp1zltspzd/pubring.gpg' created
gpg: requesting key 0E27C0A6 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp1zltspzd/trustdb.gpg: trustdb created
gpg: key 0E27C0A6: public key "Launchpad PPA for Salt Stack" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

ERROR: You need to allow pip based installations (-P) in order to install the python package 'tornado >= 4.0'

Usage :  bootstrap-salt.sh [options]
Installation types:
- stable (default)
- stable [version] (ubuntu specific)
- daily  (ubuntu specific)
- testing (redhat specific)
- git
Examples:
- bootstrap-salt.sh
- bootstrap-salt.sh stable
- bootstrap-salt.sh stable 2014.7
- bootstrap-salt.sh daily
- bootstrap-salt.sh testing
- bootstrap-salt.sh git
- bootstrap-salt.sh git develop
- bootstrap-salt.sh git v0.17.0
- bootstrap-salt.sh git 8c3fadf15ec183e5ce8c63739850d543617e4357
Options:
-h  Display this message
-v  Display script version
-n  No colours.
-D  Show debug output.
-c  Temporary configuration directory
-g  Salt repository URL. (default: git://github.com/saltstack/salt.git)
-G  Instead of cloning from git://github.com/saltstack/salt.git, clone from https://github.com/saltstack/salt.git (Usually necessary on systems which have the regular git protocol port blocked, where https usually is not)
-k  Temporary directory holding the minion keys which will pre-seed
the master.
-s  Sleep time used when waiting for daemons to start, restart and when checking
for the services running. Default: 10
-M  Also install salt-master
-S  Also install salt-syndic
-N  Do not install salt-minion
-X  Do not start daemons after installation
-C  Only run the configuration function. This option automatically
bypasses any installation.
-P  Allow pip based installations. On some distributions the required salt
packages or its dependencies are not available as a package for that
distribution. Using this flag allows the script to use pip as a last
resort method. NOTE: This only works for functions which actually
implement pip based installations.
-F  Allow copied files to overwrite existing(config, init.d, etc)
-U  If set, fully upgrade the system prior to bootstrapping salt
-K  If set, keep the temporary files in the temporary directories specified
with -c and -k.
-I  If set, allow insecure connections while downloading any files. For
example, pass '--no-check-certificate' to 'wget' or '--insecure' to 'curl'
-A  Pass the salt-master DNS name or IP. This will be stored under
/etc/salt/minion.d/99-master-address.conf
-i  Pass the salt-minion id. This will be stored under
/etc/salt/minion_id
-L  Install the Apache Libcloud package if possible(required for salt-cloud)
-p  Extra-package to install while installing salt dependencies. One package
per -p flag. You're responsible for providing the proper package name.
-d  Disable check_service functions. Setting this flag disables the
'install__check_services' checks. You can also do this by
touching /tmp/disable_salt_checks on the target host. Defaults ${BS_FALSE}
-H  Use the specified http proxy for the installation
-Z  Enable external software source for newer ZeroMQ(Only available for RHEL/CentOS/Fedora based distributions)
Stderr from the command:
stdin: is not a tty
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  204k  100  204k    0     0  87900      0  0:00:02  0:00:02 --:--:-- 87871
bash-3.2#

New to salt and having the same issue. Seem to be caused by a recent update of the salt bootstrap script. See: mitchellh/vagrant#6029
Then bumping into the issue here: mitchellh/vagrant#5973, had to downgrade vagrant to 1.7.2
Hope that helps.

I managed to get the script with wget and run it with a -P to complete install. Closing issue

Resolved

Vagrantfile should be updated for each machine as follows to resolve:
salt.install_type = "stable"
  salt.install_command = "-P stable"

@jpduckwo Thankyou, That fixed my issues with it!


Added custom foreground argument

@powersda hope you don't mind that i'm opening the pr myself.

why didn't i merge this before?


Cannot drag file to atom window to display it on linux

I' m using KDE 5 and atom 1.2.0 on archlinux. If I drag a text file from dolphin to atom window, there is no effect, while usually other text editors would display the text file when dragged into the window. Atom on OSX also supports this function. Is this not available on linux because of https://github.com/atom/atom/issues/3593 ?

This happens when I try that. (Nautlius + atom 1.2)

It seems to work fine in Ubuntu with Nautilus, so probably not a widespread issue. The fix for issue #3593 is present in the 1.2.0 release.

Same issue here for Kubuntu 15.10. I've also tried other types of files, but nothing was opened on atom.

Seems working now with kde and atom 1.7.3, closing this.


KissAsian

Source name
KissAsian
Source link
https://kissasian.li/
Language
English
Other details
+18/NSFW = no
For asian content
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #850


Various minor fixes

Hi,
I saw PortEx shared on twitter, and decided to do some static code analysis.
Apart from the minor stuff in the PR there were also two interesting bits, which may be bugs.
Here k is an Array, so toString will return something of the form [Type@address:
[warn] src/main/java/com/github/katjahahn/tools/anomalies/SectionTableScanning.scala:513: Using toString on type Array is likely unintended.
[warn]     val alignmentCharacteristics = Arrays.asList(SectionCharacteristic.values).asScala.filter(k => k.toString.contains("IMAGE_SCN_ALIGN")).toList
[warn]                                                                                ^

Here a String is passed to a contains on a List[(Signature, Address)], which I don't think can return true:
[warn] src/main/java/com/github/katjahahn/tools/sigscanner/Jar2ExeScanner.scala:112: List[(com.github.katjahahn.tools.sigscanner.Signature, com.github.katjahahn.tools.sigscanner.SignatureScanner.Address)].contains(String) will probably return false, since the collection and target element are of unrelated types.
[warn]     val addresses = if (scanResult.contains("[CAFEBABE]")) {
[warn]                                    ^

There is also a typo I didn't correct, since it was present in the data as well. Search for UNINIT_DATA_CONTRAINTS_VIOLATION.
Cheers, HairyFotr

Thanks a lot for your patch!

Corrected.


Plugin Doesn't Support Tab Size: 2

Occasionally (for example when adding a missing closing curly brace) code is automatically reformatted to 4 spaces.  My Sublime Text settings are 2 spaces, I have a tsfmt.json, and a .editorconfig-- all included below.  This is a huge pain!!
// tsfmt.json
{
  "indentSize": 2,
  "tabSize": 2,
  "newLineCharacter": "\r\n",
  "convertTabsToSpaces": true,
  "insertSpaceAfterCommaDelimiter": true,
  "insertSpaceAfterSemicolonInForStatements": true,
  "insertSpaceBeforeAndAfterBinaryOperators": true,
  "insertSpaceAfterKeywordsInControlFlowStatements": true,
  "insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
  "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
  "placeOpenBraceOnNewLineForFunctions": false,
  "placeOpenBraceOnNewLineForControlBlocks": false
}

// .editorconfig
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2
tab_width = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

+1

And disabling typescript_auto_indent/format does not help. Should restart Sublime after that?

Recent changes should fix the indentation issues. @btesser @lucaswoj @NekR could you give it a try to see if it works? Thanks!

@zhengbli as I understand it's only here in a repo, not in Package Control, so test plugin it should be installed from here, right?

@NekR You are right, for now to test please clone the repo to your sublime packges folder, as instructed in the wiki page. If we are sure the recent issues are sorted out, we will release a new version to Package Control very soon.

@zhengbli how often do you do releases? When should we expect this to be in the Package Control repo?

@aicioara this release is taking longer than usual, but it can be expected early this week. Thanks for trying it out!

@zhengbli
So, is it in Package Control yet? Still has the same problem.

Yes the 1.4 was out last week. Could you do "list package" in your sublime and see what version your plugin is?

Oh, it was still 1.3. By some reason I thought Package Control packages has auto-update. Just updated it, thanks! Hope all is good.

Great. Please let us know if it fixes your problem :)

Package Control only updates if you reset Sublime. Had the same issue.

Hmm.. I am not this is the bug, but it still have this problem:

My config is:
{
	"Seti_ClosedFolder_dots": true,
	"Seti_sb_small_padding": true,
	"Seti_sb_tree_miny": true,
	"Seti_tabs_small": true,
	"caret_extra_width": 2,
	"color_scheme": "Packages/Seti_UI/Scheme/Seti_orig.tmTheme",
	"draw_white_space": "all",
	"fade_fold_buttons": false,
	"font_size": 12.0,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"ignored_packages":
	[
		"Vintage"
	],
	"indent_guide_options":
	[
		"draw_active"
	],
	"line_padding_bottom": 1,
	"line_padding_top": 0,
	"minimap_scroll_to_clicked_text": false,
	"rulers":
	[
		80,
		100,
		120
	],
	"save_on_focus_lost": true,
	"shift_tab_unindent": true,
	"spell_check": true,
	"tab_size": 2,
	"theme": "Seti.sublime-theme",
	"translate_tabs_to_spaces": true,
	"typescript_auto_format": false,
	"typescript_auto_indent": false,
	"word_wrap": true
}

I have the same. It is annoying. It's probably for another ticket though.

@NekR if I understand correctly, the problem is that if you set syntax to typescript, indentation will be inserted for the closing parenthesis? Also, it would be easier for tracking if you can open another issue with the description, thanks.

@aicioara yep, a lot of annoyance.
@zhengbli Sure, sorry for spaming here. It's now https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/199