Shared version + pre-version create releases with pre-version dependencies

I'd like to use cargo release in a workspace with a shared version, and always have the main branch versionned as <next version>-alpha.0. However, on release, the crates get released as <next version> but the dependencies are still <next version>-alpha.0.
I'm not sure if it's an edge case, or a misconfiguration. Here is a reproduction:
Setup
cargo-release 0.20.5
cargo new shared-preversion
cd shared-preversion
cargo new inner-dep --lib

shared-preversion/Cargo.toml
[package]
name = "shared-preversion"
version = "1.0.0-alpha.0"
edition = "2021"

[dependencies]
inner-dep = { version = "1.0.0-alpha.0", path = "inner-dep"}

[workspace]
members = ["inner-dep"]

shared-preversion/release.toml
shared-version = true
dev-version = true

shared-preversion/inner-dep/Cargo.toml
[package]
name = "inner-dep"
version = "1.0.0-alpha.0"
edition = "2021"

[dependencies]

shared-preversion/inner-dep/release.toml
shared-version = true

Releasing 1.0.0
cargo release --workspace --execute --no-publish --no-push

Result
As expected, a v1.0.0 tag was created with both crates versioned as 1.0.0. However, in this tag, the declared dependency is:
[dependencies]
inner-dep = { version = "1.0.0-alpha.0", path = "inner-dep"}

Expected
[dependencies]
inner-dep = { version = "1.0.0", path = "inner-dep"}

Note
I tried to avoid having the -alpha.0 suffix in the dependency in the first place, but cargo build would not allow it: prerelease package needs to be specified explicitly.

By default, cargo-release only fixes version constraints that are incompatible.  1.0.0-alpha.0 is considered compatible with 1.0.0, so its left alone.
You can force the version constraint to always be the latest with --dependent-version upgrade

Thank you! This one was missing from the doc :)
For other readers, it can be translated in the release.toml: dependent-version = "upgrade"

Huh, when we stablized it, we must have forgotten to add it.
In general, we've not been too happy with its name and been uncertain on what the default should be.


Added schema and backend to relative path

@JoanneBogart Ah yes didn't think about this, should bump the version.
Should we then reset the data dir? or create a new root dir from this version on?

The last time I checked no one had anything in the data dir except us.  If that's still true, I think we can just wipe everything that's there.
We should also notify users (probably no one else except Joe at this point) that

they should update their code
if they've registered items in a private area using the old code, they won't be accessible with the new code.
Formally that means we should increase the major version number, but since we haven't yet made a production release maybe that's not necessary.

ok i have updated to v0.3.0.
I'll let Joe know, but i think we can safely wipe that dir

On further thought, maybe just leave it, at least for the time being.
I've made a new directory /global/cdfs/cdirs/desc-co/dataregistry
That should be the new default in registrar.py

If someone is using SQLite for the db, there is no schema, so data for all sqlite users will be lumped together in the same area. Does the code need to be aware of that (handle non-schema gracefully)? And could it cause problems for users?  I'm guessing as a practical matter it won't. I doubt we'll have many users working at NERSC but using an SQLite db


EntityFramework 6.2 is not carrying out scaffolding!

From VS Feedback; might be #705
I’ve tried to update my data (Entity Framework 6.2 on ASP.NET MVC) model, but VS 2019 does scaffolding on the modifications that I make on the model.

EF Team Triage: This issue is lacking enough information for us to be able to effectively triage it. In particular, it is missing the following information requested in the new issue template. Can you please provide this information?

Steps to reproduce

Ideally include a complete code listing that we can run to reproduce the issue.
Alternatively, you can provide a project/solution that we can run.
BTW we're not just doing this to be mean :smile:... we get a lot traffic on this project and it takes time to attempt to reproduce an issue based on fragments of information. In addition, our attempt is often unsuccessful as the exact conditions required to hit the issue are often not explicitly included in the code provided. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we ask that folks give us a self-contained way to reproduce an issue.
For a guide on submitting good bug reports, read Painless Bug Tracking.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


CupertinoTimerPicker - CupertinoTimerPickerMode.hms - hour display error

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Launch the application
Click on the timer

It's should show "0 hour" and not "0 hours"
Expected results

Actual results

Code sample
Code sample
import 'package:flutter/cupertino.dart';
void main() => runApp(const TimerPickerApp());
class TimerPickerApp extends StatelessWidget {
const TimerPickerApp({super.key});
@override
Widget build(BuildContext context) {
return const CupertinoApp(
theme: CupertinoThemeData(brightness: Brightness.light),
home: TimerPickerExample(),
);
}
}
class TimerPickerExample extends StatefulWidget {
const TimerPickerExample({super.key});
@override
State createState() => _TimerPickerExampleState();
}
class _TimerPickerExampleState extends State {
Duration duration = const Duration(hours: 1, minutes: 23);
// This shows a CupertinoModalPopup with a reasonable fixed height which hosts
// a CupertinoTimerPicker.
void _showDialog(Widget child) {
showCupertinoModalPopup(
context: context,
builder: (BuildContext context) => Container(
height: 216,
padding: const EdgeInsets.only(top: 6.0),
// The bottom margin is provided to align the popup above the system
// navigation bar.
margin: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom,
),
// Provide a background color for the popup.
color: CupertinoColors.systemBackground.resolveFrom(context),
// Use a SafeArea widget to avoid system overlaps.
child: SafeArea(
top: false,
child: child,
),
));
}
@override
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: const CupertinoNavigationBar(
middle: Text('CupertinoTimerPicker Sample'),
),
child: DefaultTextStyle(
style: TextStyle(
color: CupertinoColors.label.resolveFrom(context),
fontSize: 22.0,
),
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
_TimerPickerItem(
children: [
const Text('Timer'),
CupertinoButton(
// Display a CupertinoTimerPicker with hour/minute mode.
onPressed: () => _showDialog(
CupertinoTimerPicker(
mode: CupertinoTimerPickerMode.hm,
initialTimerDuration: duration,
// This is called when the user changes the timer's
// duration.
onTimerDurationChanged: (Duration newDuration) {
setState(() => duration = newDuration);
},
),
),
// In this example, the timer's value is formatted manually.
// You can use the intl package to format the value based on
// the user's locale settings.
child: Text(
'$duration',
style: const TextStyle(
fontSize: 22.0,
),
),
),
],
),
],
),
),
),
);
}
}
// This class simply decorates a row of widgets.
class _TimerPickerItem extends StatelessWidget {
const _TimerPickerItem({required this.children});
final List children;
@override
Widget build(BuildContext context) {
return DecoratedBox(
decoration: const BoxDecoration(
border: Border(
top: BorderSide(
color: CupertinoColors.inactiveGray,
width: 0.0,
),
bottom: BorderSide(
color: CupertinoColors.inactiveGray,
width: 0.0,
),
),
),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: children,
),
),
);
}
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.7.7, on Microsoft Windows [version 10.0.19045.2728], locale fr-FR)
• Flutter version 3.7.7 on channel stable at C:\Libraries\Flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2ad6cd72c0 (6 weeks ago), 2023-03-08 09:41:59 -0800
• Engine revision 1837b5be5f
• Dart version 2.19.4
• DevTools version 2.20.1
[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at C:\Users\thomarin\AppData\Local\Android\Sdk
• Platform android-33-ext4, build-tools 33.0.1
• Java binary at: C:\Libraries\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
• All Android licenses accepted.
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.4.33213.308
• Windows 10 SDK version 10.0.22000.0
[√] Android Studio (version 2022.1)
• Android Studio at C:\Libraries\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
[√] VS Code (version 1.77.3)
• VS Code at C:\Users\thomarin\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.62.0
[!] Proxy Configuration
• HTTP_PROXY is set
• NO_PROXY is localhost,<IP_ADDRESS>
• NO_PROXY contains localhost
! NO_PROXY does not contain ::1
• NO_PROXY contains <IP_ADDRESS>
[√] Connected device (3 available)
• SM G970U1 (mobile) • R38N605BTFK • android-arm64  • Android 12 (API 31)
• Windows (desktop)  • windows     • windows-x64    • Microsoft Windows [version 10.0.19045.2728]
• Edge (web)         • edge        • web-javascript • Microsoft Edge 112.0.1722.48
[√] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 3 categories.

Thanks for the report @marine16
I checked on native iOS and there too it shows as 0 hours. See below:

So this seems to be WAI and will close this as non-issue. If you disagree, write in comments and I'll reopen it.


nodeport无法访问

clusterIP: <IP_ADDRESS>
clusterIPs:

<IP_ADDRESS>
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
IPv4
ipFamilyPolicy: SingleStack
ports:
name: http
nodePort: 31509
port: 3000
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/component: grafana
app.kubernetes.io/name: grafana
app.kubernetes.io/part-of: kube-prometheus
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}

grafana-service.yaml中的type类型改为NodePort后，其他机器无法访问

Check if your network plug-in supports network policies?
If the network plugin supports NetworkPolicy, you need to delete or modify NetworkPolicy with Grafana！

Check if your network plug-in supports network policies?
If the network plugin supports NetworkPolicy, you need to delete or modify NetworkPolicy of Grafana！

您好，我单独部署了一个nginx的例子，然后用nodeport方式暴露端口，是可以访问的

Check if your network plug-in supports network policies?
If the network plugin supports NetworkPolicy, you need to delete or modify NetworkPolicy of Grafana！

Hello, thank you for your answer. The problem has been resolved。thank you!


Fix onnx Log10 export error

When trying to export to the ONNX format some NN (as those of the https://github.com/qiuqiangkong/audioset_tagging_cnn examples in readme.md) that uses the LogmelFilterBank, torch.onnx.export gives

RuntimeError: Exporting the operator log10 to ONNX opset version 9 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.

This can be easily fixed by simply doing log10(x) = np.log(x)/np.log(10.0)

I also need this. Would be nice to have!

It's very useful!

Hey @WuTUT,
I worked this around by doing this:
melspec_extractor = nn.Sequential(
    tlibrosa.Spectrogram(
        hop_length=512,
        win_length=2048
    ),
    tlibrosa.LogmelFilterBank(
        sr=sample_rate,
        n_mels=128,
        is_log=False, # log10 is not supported by ONNX
    ))

# Extract the mel spectrogram with torchlibrosa
melspec = melspec_extractor(waveform)
# This is the librosa.power_to_db function implemented with torch log2 only operations
log_melspec = 10.0 * torch.log(torch.clamp(melspec, min=1e-10)) / torch.log(torch.tensor(10.0))
log_melspec -= 10.0 * torch.log(torch.max(torch.tensor(1e-10), melspec.max())) / torch.log(torch.tensor(10.0))
log_melspec = torch.max(log_melspec, log_melspec.max() - torch.tensor(80.0))


Account creation error

I shared a plan with a my personal account and was prompted to enter a password for my new account when I followed the link to view this. The following error was displayed, though logging in with my personal email and the password I set shows that the account was created nonetheless.

On reflection, I wonder if this error occurred as the email had been known by the system at some point. Last week I had changed my account name to my personal email under edit profile and have since switched it back. Perhaps the trace of that threw the error?

Not a bug. Installation-specific, needs a few configuration tweaks

where did the issue occur? dmponline-test or roadmap-stg and what config settings @vyruss ? An invalid token error sounds like the token has a lifespan and the login attempt was outside that boundary

This occurred on roadmap-stg. I think it may be because I had used that email temporarily. I had changed my account to that last week in testing and mis-remembered that, hence getting locked out when I uninstalled firefox and no longer had login details saved. I had changed it back so sent share plan invite to personal email today.

ok. I'll see if we can replicate it

Whoops, I assumed it was the wrong hostname issue (which isn't set up properly on dmponline-test yet). @briri I'm referring to config/environments/production.rb:
config.action_mailer.default_url_options = { :host => 'my.hostname.here' }

After investigation, appears to be subcase of #287. For some reason it tries to update_without_password when setting the (invited) user's password upon sign-up.

I've tried sharing a plan with an account that has already been created in the system but not yet validated and didn't get an error so I think this is now fixed on DMPonline. I couldn't full test on DMPRoadmap staging. I think you're maybe one PR behind @briri as the message text in the sharing email was different and the link didn't resolve.

Things should be in sync now as @briri just deployed the latest code to roadmap-stage. I observed the same thing you describe above @sjDCC - no error message but the email text is missing the plan owner name and the link does not resolve (screenshot below).

which of the links is not resolving?

The email template uses the user's firstname and surname but those fields are likely blank in this scenario hence the '"DCC guidance test (NIH template)" by .'
If we switch it to use name instead it will display the email address there if the name is not available.

@briri let's fall back on the email if First name or Surname is empty

ok. its ready for you in the PR with the change to when a template version is created

Hey @briri The link that gave an error for me was "Click here" to accept the invitation...

This is all working on DMPonline test. Just leaving open for now so @stephaniesimms can check all ok on staging and then close

this appears to be working as expected but I'm leaving it open for now because new issues have been introduced that prevent me from testing the entire workflow. i now get an error message when signing out of the system to accept the invitation, which appears to be related to some Shib configuration (screenshot below)

this logout issue may be due to shib not being configured properly on stage. I think this must be new, we did not call the shib logout in the past.
We got shib working on dev today. I'll set aside some time to set it up on stage tomorrow

@sjdcc can you confirm this is ok? Update email title for inviting a user to contribute to a plan who does not yet have an new account:
Email title: A Data Management Plan in [TOOL NAME] has been shared with you

@stephaniesimms I just made the title the same (Commit 95d4bb70ef6b0dbbb848f97c4a3b0268b6712d87 )

Yes, looks good.

The process works as expected and revised email looks good. Closing issue.


feat: add rate limit spec

close #1578 .

@MuthuVega - please can you review these changes and add AC codes as you se fit?


added a fix for optimus to use gene_ids instaed of gene names

Purpose
Replace optimus output gene name by gene id

No issue is linked to this PR.

Changes
added a temporary gtf file where gene_name is replace by gene_id

No changes.

Review Instructions

No instructions.

The input gtf file is usually gzipped I think, so you want to use gzip to read it.

 (I'm not sure if this requires a tag or some coordination with other repos)


Remove ujson as dev dependency and fix tests

This change doesn't imply any functional behavior. But its true that some
cases that were tested with ujson now they are not. By default this package
aims to support built in json
Closes #348

Codecov Report

Merging #349 into master will increase coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
+ Coverage    99.2%   99.54%   +0.33%
==========================================
  Files          11       11
  Lines         884      884
  Branches       93       93
==========================================
+ Hits          877      880       +3
+ Misses          7        4       -3

Impacted Files
Coverage Δ

aiocache/serializers.py
100% <ø> (+8.1%)
:arrow_up:

Continue to review full report at Codecov.

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


USC-SIkJalpha Update - Added Missing US Forecasts

Good morning @maa989,
Thank you for your update, It seems that the validation had an issue. It seems to be link to the format of the "run_grouping" column, it seems to be in a list format. Will it be possible to verify it please?
Please let me know if any issues or questions,
Best,
Lucie


All pages styles are being bundled and delivered

Environment
Nuxt: 3.11
Bundler: vite
Css Preprocessor: less
Reproduction
Createa a brand new project, 2 layouts, several pages*.server.vue. All of the layouts / pages should have styles inside. After building the project, going to a single layout -> page, all of the styles of all pages /layouts are being delivered.
Describe the bug
Using Nuxt 3 SSR mode, with all pages being .server.vue deliveres by default inline styles only.
This issue is whenever we add:
 vite: {     build: {       cssCodeSplit: false,     },     }
With this config and .server.vue, there is a single styles.css file delivered, which contains all of the styles withing pages/ pages*.server.vue.
I also have /layouts folder, it also combines all of the styles from the layouts.
So the styles.css file, contain a lot of unused and conflicting styles. Before, with nuxt 2/ webpack I didn't have those issues at all. I was using inline styles and only the needed ones were delivered.
There is also an issue with the inlined-styles on the child components, which are using typescript. https://github.com/nuxt/nuxt/issues/25923
Additional context
No response
Logs
No response

https://vitejs.dev/config/build-options#build-csscodesplit Setting css code split to false force vite to not split css by chunk and merge thel into a single css file.

Hey @huang-julien ,
Thanks for answering. I'm fully aware of that. Its merging everything , no matter if its used or not / or being called or not. The root or the problem is that it combines all of the styles, insead of needed ones. I suppose that it cannot re-generate styles based on route. As well due to using *.server.vue its duplicating the styles - 1 time they are added as inline and one time as styles.css file.
The default behavour should be for each component / page there should be a style file , but in case of using .server.vue on pages, it just inlines the styles into the html. I wouldn't mind on going with that, but I saw other side effect with it, which I linked above.

closing as there is no reproduction provided.
I'd be very happy to take a look if you're able to provide one...


Configure: Don't fail if there were "make variables" set in env

The original intent was that if someone had a "make variable" set in
any kind of way, be it as an environment variable or as an argument to
Configure, we wouldn't allow compiler or linker flags as arguments as
well.  That made both of these configurations equivalently impossible:
./Configure target CFLAGS=-foo -lextra

 CFLAGS=-foo ./Configure target -lextra

While this makes things look nice and consistent, real world use makes
this hard, as many projects where OpenSSL is a component also set
these variables for other components that use GNU autotools.
Therefore, we need to adapt our Configure accordingly.  By
consequence, the two Configure lines above will not be equivalent any
more:
./Configure target CFLAGS=-foo -lextra

This command line will still fail, because the "make variable" was
given as a command line argument.  This cannot be a mistake and is
therefore not allowed.
 CFLAGS=-foo ./Configure target -lextra

This command line will work, but because the there is a linker flag as
a command line arguments, the environment (i.e. CFLAGS) is ignored.
That isn't quite consistent with the previous command, but is the old
Configure behavior, before the support for "make variables" was added,
and is therefore the least surprising behavior.
Fixes google/oss-fuzz#1244

Make sure to read all commit messages

https://github.com/openssl/openssl/pull/5534#issuecomment-371470565

Yes, you were right :-)

There are typos in commit message. "but because the there is a linker flag", "the" is the typo. "linker flag as a command line arguments", it should be singular "argument". I'd suggest to explicitly mention "backward compatibility". Maybe instead of "least surprising"?
Hmmm, I was also about to say that INSTALL needs adjustment, but apparently wording does not preclude possibility that environment variables can be ignored. Yet it might be appropriate to add a word of warning even there...

Commit message fixed.  I'll have a look at INSTALL after lunch.

Well, my lunch companion is a little late, so I got a change of INSTALL in as well.

Merged.
80f2787717c2181438d4dc2da701fe784fd6286e INSTALL: Add a note about backward compatibility and "make variables"
f58461791d3dbf94fbc5254a27fc45eff7f34a6c Configure: maintain compability with pre-"make variables" Configure
ac6ae8a9fe25df159d04b7ea7c121c63fc05aae9 Configure: Don't fail if there were "make variables" set in env


how to embed or migrate my MVC views, actions and controllers With html, js css into Raytha

Hello, I have been toying around and like your approach, over orchard, umbraco, mix core.
Now, imagine for a minute I have a simple html page with JS, CSS code - (that is handled as an ASP MVC view, action CRUD). Watching your videos I was unable to understand how to port/migrate those

[ ] First, do I migrate all that using the frontend Crete new type??; Or, do I do it in paste it the Code behind, if so where?
[ ] To keep it separate from Raytha - do I do this as a plugin - do you have any of those concepts in Raytha where plugins can go into your CMS
[ ] Is there an auto update like WP
[ ] scans/ddos (I see audits), how can I lock out users bruteforcing?
[ ] Should I paste the html as a template or how do I access that, the custom JS code etc?
[ ] POCO objects
[ ] The controller CRUD for the POCO
[ ] where do I put my js code, and lib
[ ] where do I put my css, and actions/controller code?

Hi,
Without knowing too much about what you are migrating over to Raytha, there are some general principles you can follow. The best video that might be applicable to what you are doing is this one: https://www.youtube.com/watch?v=6iXkLkaWH6Q&t=302s
When would you use a content type?
Content types are for CRUD items that you want to show on your public facing website. Examples are pages and blog posts, help articles for a knowledge base...Basically all your data should be mapped to content types.
Where to put the HTML, CSS, and JS
If you are able to use Raytha completely out of the box (no modification of the actual code base), then all your HTML/CSS/JS goes into Templates: https://docs.raytha.com/articles/templates_intro.html. You would most likely put it all into the _Layout template which is the default parent template. You can modify these templates as you see fit (and its what the youtube video mentioned above covers in detail).
Since that video was created, we added a feature to allow you to upload files (like images, css assets and js assets right into the template engine for convenience)

So you can just write  in the theme if you prefer not to in-line your javascript.
I need to migrate the actual c# code and database classes
Then you would be treating Raytha less like a CMS and more like the starter template of an MVC application with RBAC and all that goodness. You can then treat Raytha like any other .NET application and you can migrate your controllers and front end code as you would any other, but there are things to be aware of.

Raytha is built on top of the popular Clean Architecture template: https://github.com/jasontaylordev/CleanArchitecture -- so the entire coding pattern from the database layer to the front end layer is well documented there.
You can add your controllers, views, etc here: https://github.com/RaythaHQ/raytha/tree/main/src/Raytha.Web/Areas/Public and your js and css assets to wwwroot and choose to forego using Raytha's Template engine entirely. The benefit of using Raytha's Template engine is that you can make changes to the website HTML structure without having to load up the code base and deploy the web application. But if that's not applicable to you, you can skip over it completely.

We are releasing our Cloud Hosted service of Raytha in the coming days and our entire self-service portal itself is built on a customized fork of Raytha using the methodology described above.
Login
If you need more advanced login controls, we recommend disabling Raytha's Email & Password login and turn on Single Sign On. Raytha supports both JWT and SAML-based SSO. This lets you use something like Okta, Auth0, Google Workspace, or Office 365 login. Docs here: https://docs.raytha.com/articles/saml.html
Thanks

moving to GH discussions board


variables.less

Has variables.less been overwritten with the standard bootstrap variables? i seem to be doing things right but the compiled theme is the same as stock...

Same question here. Is this theme available via the less files?


BOBA L1 issues unstaking other tokens (i.e. LINK)

Not enough available balance in pool. Cannot unstake my LINK tokens, error estimating gas etc

Pool rebalancing for LINK will be completed on February 2.

Can you please confirm this is Layer 1 rebalancing? for LINK


"pipenv install" failing to install certain dependencies (psycopg2 and rpy2)

To see system/pipenv version: pipenv_--support Output: here
Issue description
Trying to install environment from Pipfile/Pipefile.lock found here https://github.com/CoreyCole/HypDB/tree/master/demo/server
Expected result
The environment dependencies installs correctly
Actual result
My first run of  pipenv installget this output
`Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Creating a virtualenv for this project…
Pipfile: /home/reuven/wholetale/HypDB/demo/server/Pipfile
Using /usr/bin/python3.7m (3.7.5) to create virtualenv…
⠧ Creating virtual environment...created virtual environment CPython3.7.5.final.0-64 in 1792ms
creator CPython3Posix(dest=/home/reuven/.local/share/virtualenvs/server-jfb3rzTr, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/reuven/.local/share/virtualenv/seed-app-data/v1.0.1)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
✔ Successfully created virtual environment!
Virtualenv location: /home/reuven/.local/share/virtualenvs/server-jfb3rzTr
Installing dependencies from Pipfile.lock (8b9d3f)…
An error occurred while installing markupsafe==1.0 --hash=sha256:a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665! Will try again.
🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 22/22 — 00:00:19
An error occurred while installing rpy2==2.9.4 --hash=sha256:be57f741d0c284b5d8785ab03dff0e829303e5ac30e548d5ceb46e05b168812e --hash=sha256:a85b95d497815378ad0da79a3b94d1fb9f72614fdd1132dc68bf9ceae5bbb178 --hash=sha256:6d11505999bb1fdb74b0c2e857879b973ff7995bf495d168b01995dbfcae4110! Will try again.
Installing initially failed dependencies…
[InstallError]:   File "/home/linuxbrew/.linuxbrew/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/cli/command.py", line 232, in install
[InstallError]:       retcode = do_install(
[InstallError]:   File "/home/linuxbrew/.linuxbrew/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/core.py", line 2051, in do_install
[InstallError]:       do_init(
[InstallError]:   File "/home/linuxbrew/.linuxbrew/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/core.py", line 1306, in do_init
[InstallError]:       do_install_dependencies(
[InstallError]:   File "/home/linuxbrew/.linuxbrew/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/core.py", line 900, in do_install_dependencies
[InstallError]:       batch_install(
[InstallError]:   File "/home/linuxbrew/.linuxbrew/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/core.py", line 796, in batch_install
[InstallError]:       _cleanup_procs(procs, failed_deps_queue, retry=retry)
[InstallError]:   File "/home/linuxbrew/.linuxbrew/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/core.py", line 703, in _cleanup_procs
[InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: Collecting markupsafe==1.0
[pipenv.exceptions.InstallError]:   Using cached MarkupSafe-1.0.tar.gz (14 kB)
[pipenv.exceptions.InstallError]:     ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]:      command: /home/reuven/.local/share/virtualenvs/server-jfb3rzTr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qju0bvdp/markupsafe/setup.py'"'"'; file='"'"'/tmp/pip-install-qju0bvdp/markupsafe/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jercma7i
[pipenv.exceptions.InstallError]:          cwd: /tmp/pip-install-qju0bvdp/markupsafe/
[pipenv.exceptions.InstallError]:     Complete output (5 lines):
[pipenv.exceptions.InstallError]:     Traceback (most recent call last):
[pipenv.exceptions.InstallError]:       File "", line 1, in
[pipenv.exceptions.InstallError]:       File "/tmp/pip-install-qju0bvdp/markupsafe/setup.py", line 6, in
[pipenv.exceptions.InstallError]:         from setuptools import setup, Extension, Feature
[pipenv.exceptions.InstallError]:     ImportError: cannot import name 'Feature' from 'setuptools' (/home/reuven/.local/share/virtualenvs/server-jfb3rzTr/lib/python3.7/site-packages/setuptools/init.py)
[pipenv.exceptions.InstallError]:     ----------------------------------------
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Couldn't install package: markupsafe
Package installation failed...
☤  ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/2 — 00:00:02`
I then tried to install markupsafe directly with pipenv install markupsafe, which does correctly but it now has issues with psycopg2 and rpy2. Output for pipenv install markupsafe given here, and  `pipenv install markupsafe --verbose given here.
I then tried to follow this bug report here:
pipenv --rm
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Removing virtualenv (/home/reuven/.local/share/virtualenvs/server-jfb3rzTr)…
pipenv install psycopg2-binary Output here.
As can be seen, the issue is still not resolved and I'm unsure how to proceed to install psycopg2 or rpy2.
Steps to replicate
Download Pipfile/Pipfile.lock in github linked above and run commands given above.

@ReuvenBirnbaum I have a similar issue. Did you manage to solve this ?

I believe this is closeable at this point.


Add deployed-to filter

Also cleaned up the code for detecting multiple filter flags.

@vaijab: Updated, please could you re-review?
(And merge+tag if you are happy.)

LGTM. Thanks.


faster convertToRaw and convertFromRaw? or getHtmlText() instead of ?

Do you want to request a feature or report a bug?
feature?
What is the current behavior?
convertToRaw takes about 30ms when text gets to ~3k words. I want to something a la google docs but that means I need websockets.
Hence I need to convertToRaw in an onChange handler that then sends the data to the websockets server. The problem is that convertToRaw takes 35ms+ when at 3k words and it degrades fast as the words increase. 35ms+ is equivalent to having 20-30 fps in an onchange handler which is not good enough...(I can certainly debounce this, but the more I debounce, the less realtime it becomes...)
In addition to that, convertFromRaw takes significantly longer than convertToRaw but that's a problem for a later time...
Basically, if contentState was already serializable, I wouldn't have any of these issues. A getHtmlText() like getPlainText() would be a really nice feature. How hard would that be to implement? What causes convertToRaw or convertFromRaw to take so much time? My 3000 word example didn't have any entities and had only 2 blocks and that still took 35ms.
Other things that benefit from a serializable contentState is the ability to throw it into a webworker for intensive computations, i.e. if you're checking a 3000 word essay that no 'banned words' are present.
What is the expected behavior?
contentState can be serialized quickly.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
0.10.1 using chrome on Mac el capitan

Rather than send the entire content, can you detect the specific change that occurred and send that?

How could I do that?
On 21 Sep 2017 5:58 am, "Colin Jeanne"<EMAIL_ADDRESS>wrote:

Rather than send the entire content, can you detect the specific change
that occurred and send that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/draft-js/issues/1397#issuecomment-331051180,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2PfBzByIibk27Y23-J-eHndaFnqgnOks5skezkgaJpZM4PedpU
.


Cannot connect to Snowflake after upgrade from <IP_ADDRESS>111141807 to <IP_ADDRESS>112130652

System information:

Windows 10
DBeaver version: <IP_ADDRESS>112130652
Additional extensions

Connection specification:

Database: Snowflake
Driver name: JDBC
Do you use tunnels or proxies (SSH, SOCKS, etc)? No
Plugin:  org.jkiss.dbeaver.model

Describe the problem you're observing:
Cannot connect to Snowflake database using the same connection settings that are successful for DBeaver Version <IP_ADDRESS>111141807.  Upgraded to <IP_ADDRESS>112130652 and cannot connect to Database with error:  Invalide JDBC URL
Steps to reproduce, if exist:
Upgrade to <IP_ADDRESS>112130652
Include any warning/errors/backtraces from the logs

@daffyduck25 Please check how URL template is configured for snowflake driver. If it is not like on the picture, try resetting it to default

Thanks that worked.  There was a "spelling" error for the URL template.  jdbc was spelled jbcd.  I assume it was that way as default when installed.


SignInGuard doesn't receive failed login attempts

I want to catch failed login attempts and log them to disable accounts for a tmie.
`class FailedAttemptGuard < Clearance::SignInGuard
def call
puts "SIGNED IN: #{signed_in?}"
next_guard
end
end`
the function never gets called if the user fails to log in. i'd like to catch that but i'm unable to with guards. is there another way to execute some code on login failure?

I think the preferred way for modifying that behavior is to subclass the SessionsController. That would give you much finer control over the behavior on failed login.

thanks @magikid, that worked out well!


[Windows] Upgrade Az powershell to 9.3.0

Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

Hey @FVaravenko!
Thank you for participating. But one little correction. Please remove changes from readme files. It will be done automaticaly later. As a simple example you may use that PR: https://github.com/actions/runner-images/pull/6831

Hey @FVaravenko! Thank you for participating. But one little correction. Please remove changes from readme files. It will be done automaticaly later. As a simple example you may use that PR: #6831

Hello, Erik
Done :)


⚠ GitHub has degraded performance

In 76cf915, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 125 ms

Resolved: GitHub performance has improved in aef70d8.


Agent manually installed on Docker (Debian) but traces not handled

Describe what happened:
I'm trying to make agent traces work on app engine flex environment.
My instances run debian 9.
I get the agent it installed using the manual steps:
RUN apt-get update
RUN apt-get install -y gnupg apt-transport-https
RUN sh -c "echo 'deb https://apt.datadoghq.com/ stable 6' > /etc/apt/sources.list.d/datadog.list"
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 382E94DE
ADD datadog.yaml /etc/datadog-agent/datadog.yaml
RUN apt-get update
RUN apt-get install datadog-agent

The agent starts, but it looks like no traces are handled, I see this in my application log:
2018/08/19 00:01:25 errors.go:72: Datadog Exporter error: Post http://localhost:8126/v0.3/traces: dial tcp [::1]:8126: connect: connection refused (x2)
I tried to diagnose the status by adding a last line in the installation process (Dockerfile):
RUN datadog-agent status

But it fails:
Error: Get https://localhost:5001/agent/status: dial tcp <IP_ADDRESS>:5001: connect: connection refused
Describe what you expected:
I expect to have the agent and traces running on my app instances.
Steps to reproduce the issue:
Additional environment details (Operating System, Cloud provider, etc):
OS: Debian 9
Cloud: Google cloud app engine flexible
Runtime: custom
Language: golang
My datadog.yaml enables the traces:
apm_config:
  enabled: true
  receiver_port: 8126

My Dockerfile exports every port I think should:
EXPOSE 8125/udp
EXPOSE 8126/tcp
EXPOSE 5001/tcp

Here is the agent installation log:
Step 18/28 : RUN sh -c "echo 'deb https://apt.datadoghq.com/ stable 6' > /etc/apt/sources.list.d/datadog.list"
 ---> Running in 939e75ec4a5f
Removing intermediate container 939e75ec4a5f
 ---> c671baafc875
Step 19/28 : RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 382E94DE
 ---> Running in 3723eaf21433
Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.uFtL7Vggj3/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 382E94DE
gpg: key D3A80E30382E94DE: public key "Datadog, Inc<EMAIL_ADDRESS>imported
gpg: Total number processed: 1
gpg:               imported: 1
Removing intermediate container 3723eaf21433
 ---> 151fd230c251
Step 20/28 : ADD datadog.yaml /etc/datadog-agent/datadog.yaml
 ---> 5a932e2f4ace
Step 21/28 : RUN apt-get update
 ---> Running in ed731c33645f
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Ign:3 https://apt.datadoghq.com stable InRelease
Get:4 https://apt.datadoghq.com stable Release [4525 B]
Get:5 https://apt.datadoghq.com stable Release.gpg [819 B]
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Get:7 https://apt.datadoghq.com stable/6 amd64 Packages [4015 B]
Hit:8 http://cdn-fastly.deb.debian.org/debian stretch Release
Fetched 9359 B in 0s (16.0 kB/s)
Reading package lists...
Removing intermediate container ed731c33645f
 ---> cb99c33b7e51
Step 22/28 : RUN apt-get install datadog-agent
 ---> Running in 57bc77d041f5
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  datadog-agent
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 99.7 MB of archives.
After this operation, 341 MB of additional disk space will be used.
Get:1 https://apt.datadoghq.com stable/6 amd64 datadog-agent amd64 1:6.4.2-1 [99.7 MB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 99.7 MB in 1s (63.0 MB/s)
Selecting previously unselected package datadog-agent.
(Reading database ... 7128 files and directories currently installed.)
Preparing to unpack .../datadog-agent_1%3a6.4.2-1_amd64.deb ...
Unpacking datadog-agent (1:6.4.2-1) ...
Setting up datadog-agent (1:6.4.2-1) ...
Creating dd-agent group
Creating dd-agent user
Enabling service datadog-agent
(Re)starting datadog-agent now...

Hi @mblasi
Do you start the agent when your container starts? Try running the same status command after datadog-agent run, it should work.

Hi @hkaj ,
I tried lots of ways... every one with a different issue.
Now I'm trying with building the client from the sources, and I get system metrics reported (mem, cpu, net) but traces are still not handled (same error reported here), looks like apm.enabled is not true, but it is!
I think the biggest help from you could be: which way should be the recommended for my scenario: GAE Flex environment??? (From datadog support answered me that it is not supported up to now, but I think I should be able to start the agent with a custom runtime).
The 4 ways I'm trying are:
1 - The official one-step installation (https://app.datadoghq.com/account/settings#agent/debian). It looks like systemd needed, and the gae debian docker image doesn't have.
2 - The official manual installation (https://app.datadoghq.com/account/settings#agent/debian). Service starts, service metrics reported, but no traces handled.
3 - Building the agent from the sources (following https://github.com/DataDog/datadog-agent), client looks like started but nothing reported.
4 - Run the agent in a different docker container (https://docs.datadoghq.com/tracing/setup/docker/) I think I should create a new service of my GAE and configure the docker network in both services, and the traces hostname in my app service... not tried yet.
The most working way looks like the 2nd, but the traces are not handled:
2018/08/19 00:01:25 errors.go:72: Datadog Exporter error: Post http://localhost:8126/v0.3/traces: dial tcp [::1]:8126: connect: connection refused (x2)
My datadog.yaml has the apm.enabled=true... I don't know why the agent is not handling the /traces resource... could it be related to any docker networking internal??
Before continue loosing time between this ways, let me know which one should be for my scenario.
Regards,
Matías.

Great. I'll try.
Just for clarifying, the trace agent isn't embbeded in the datadog-agent??? I read that in the datadog-trace-agent project. As far as I understand, if my datadog.yaml has the apm.enabled = true, it should "start" de trace agent, isn't it?

Hi, here is an update:
After running /opt/datadog-agent/embedded/bin/trace-agent -config /etc/datadog-agent/datadog.yaml the traces are now handled! :)
Just two doubts:
1 - Should I start it by hand? Isn't it embbedded in datadog-agent??? (https://github.com/DataDog/datadog-trace-agent here says it is included in datadog-agent)
2 - It is still missing this two reports info: https://app.datadoghq.com/process?columns=host,process,user,cpu,memory,start&options=normalizeCPU,showArguments&sort=memory,DESC# and https://app.datadoghq.com/containers?columns=container_name,container_cpu,container_memory,container_net_sent_bps,container_net_rcvd_bps,container_status,container_started&options=normalizeCPU&sort=container_memory,DESC#
What am I missing?
Here is the datadog-agent status ouput:
matias@aef-default-20180820t161712-jcgz:~$ docker exec gaeapp datadog-agent status
Getting the status from the agent.

==============
Agent (v6.4.2)
==============

  Status date: 2018-08-20 19:53:21.197366 UTC
  Pid: 7
  Python Version:
  Logs:
  Check Runners: 1
  Log Level: info

  Paths
  =====
    Config File: /etc/datadog-agent/datadog.yaml
    conf.d: /etc/datadog-agent/conf.d
    checks.d: /etc/datadog-agent/checks.d

  Clocks
  ======
    NTP offset: -5.1117e-05 s
    System UTC time: 2018-08-20 19:53:21.197366 UTC

  Host Info
  =========
    bootTime: 2018-08-20 19:25:24.000000 UTC
    kernelVersion: 4.9.0-7-amd64
    os: linux
    platform: debian
    platformFamily: debian
    platformVersion: 9.5
    procs: 60
    uptime: 48
    virtualizationRole: guest
    virtualizationSystem: docker

  Hostnames
  =========
    host_aliases: [aef-default-20180820t161712-jcgz.weshipit-today]
    hostname: aef-default-20180820t161712-jcgz.c.weshipit-today.internal
    socket-fqdn: a7f5c51f9c88
    socket-hostname: a7f5c51f9c88

=========
Collector
=========

  Running Checks
  ==============
    cpu
    ---
      Total Runs: 108
      Metric Samples: 6, Total: 642
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    disk (1.2.0)
    ------------
      Total Runs: 108
      Metric Samples: 98, Total: 10584
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 31ms

    file_handle
    -----------
      Total Runs: 108
      Metric Samples: 1, Total: 108
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    io
    --
      Total Runs: 108
      Metric Samples: 26, Total: 2790
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    load
    ----
      Total Runs: 108
      Metric Samples: 6, Total: 648
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    memory
    ------
      Total Runs: 108
      Metric Samples: 17, Total: 1836
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    network (1.6.0)
    ---------------
      Total Runs: 108
      Metric Samples: 20, Total: 2160
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    ntp
    ---
      Total Runs: 108
      Metric Samples: 1, Total: 108
      Events: 0, Total: 0
      Service Checks: 1, Total: 108
      Average Execution Time : 0ms

    uptime
    ------
      Total Runs: 108
      Metric Samples: 1, Total: 108
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

========
JMXFetch
========

  Initialized checks
  ==================
    no checks

  Failed checks
  =============
    no checks

=========
Forwarder
=========

  CheckRunsV1: 108
  Dropped: 0
  DroppedOnInput: 0
  Errors: 0
  Events: 0
  HostMetadata: 0
  IntakeV1: 9
  Metadata: 0
  Requeued: 0
  Retried: 0
  RetryQueueSize: 0
  Series: 0
  ServiceChecks: 0
  SketchSeries: 0
  Success: 225
  TimeseriesV1: 108

  API Keys status
  ===============
    https://6-4-2-app.agent.datadoghq.com,*************************4b2f4: API Key valid

==========
Logs Agent
==========

  Logs Agent is not running

=========
DogStatsD
=========

  Checks Metric Sample: 20715
  Event: 1
  Events Flushed: 1
  Number Of Flushes: 108
  Series Flushed: 12665
  Service Check: 974
  Dogstatsd Metric Sample: 793

Ok, these views are working now, it is necessary to start /opt/datadog-agent/embedded/bin/process-agent by hand also.
Is there any other process to start? datadog-agent, trace-agent, process-agent, is there any list of 'agents' documented? I didn't find it.
Regards,
Matías.

1 - Should I start it by hand? Isn't it embbedded in datadog-agent??? (https://github.com/DataDog/datadog-trace-agent here says it is included in datadog-agent)

Documentation is not explicit on this, but it's included in the standard packaging of the Datadog Agent. The image we provide takes care of running it if you enable it in the config file, as well as the process agent. Since you're installing the agent manually in your container things are a bit more manual in this case. Note that the logs agent is included in the datadog-agent binary itself so it is started by default. There is no other agent you need to start.
Seems like your issue is solved, closing it but feel free to comment or reach out to support if you need more help.
Thanks

Thank you @hkaj

I've hit this myself, just now..
So the "fix" is to manually start parts of the agent?

I've met same issue. I manually install datadog-agent in Dockerfile, when i ssh into running container, check datadog agent status, it gave me this error message
==========
Logs Agent
==========

  Logs Agent is not running

=========
APM Agent
=========
  Status: Not running or unreachable on localhost:8126.
  Error: Get "http://localhost:8126/debug/vars": dial tcp <IP_ADDRESS>:8126: connect: connection refused


feature: Different ticks on each side of linear gauge

To display a hybrid °C/F gauge it would be nice to have both tick labels on the gauge.
Left Fahrenheit, right Celcius. The value would still be metered in Celsius.
Is something like that already possible?

Sad to tell that, but this is not supported. If anyone would like to suggest PR fro that - welcome!


Add support up to modbus version 2.2

This works with my Growatt SPH6000TL3 BH-UP.
I just couldn't find/figure out yet what inverter status 5 and 9 is,
but the inverter is functional normal and can be accessed from modbus.

Hi,
Growatt SPH6000TL3 is a Hybrid model Please have a look at storage-offgrid-hybrid-inverters branch this should handle the above motioned status 5 and 9 accordingly when at least changing your config manually (unfortunately no support yet for option flow).
If you experience any issues with that branch let me know in #18


TRADFRI Signal Repeater have wrong "device_class"

Home Assistant release with the issue:
0.100.2 <!--

Frontend -> Developer tools -> Info
Or use this command: hass --version
-->

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Integration:
Tradfri https://github.com/home-assistant/home-assistant/tree/dev/homeassistant/components/tradfri
Description of problem:
When adding Fyrtur blinds you also get the TRADFRI Signal Repeater with each blind. When i add this to HA it show "device_class: battery" and you get "state" unknown.

Should not this be a "device_class: signal_strenght"?
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

I've started working on a fix, which needs testing, here:
https://github.com/ggravlingen/pytradfri/pull/251


Unable to tap, or type or replaceText() UISearchBar

Description
This issue has been fixed in: https://github.com/wix/Detox/issues/1889
But it seems to be happen again in iOS 14.1 (xCode 12)
Environment (please complete the following information):

Detox: 17.10.6
React Native: 0.60.5
Node: 10
Device: iPhone 12
Xcode: 12.1
iOS: 14.1
macOS: Catalina 10.15.6

Please test with RN63 and above. There are known issues with old RN and iOS 14 and above. Thanks.

hi @LeoNatan
Still happen on latest version, I've tried on
RN: 0.63.3
Detox: 17.11.0
This is my new project:
testSearchBar.zip

OK, thanks, I will take a look

I see some problem on iOS 14 that doesn't reproduce on iOS 13. Investigating.

Fixed

Fix is now out in Detox 17.11.1. Please try it and let me know if it worked.

hi @LeoNatan ,
Thank you so much for your fixing. Work perfect for function typeText(), but when I've tried with replaceText(). It crashed.
testSearchBar.zip

Can you post the crash stack trace?

Here is the crash stack trace:
detox[13896] ERROR: [Detox.js/APP_CRASH] App crashed in test 'Example should show hello screen after tap', here are the crash details:  Exception was thrown:  NSInvalidArgumentException -[RNSearchBar replaceRange:withText:]: unrecognized selector sent to instance 0x7fed3ae37210 ( 	0   CoreFoundation                      0x00007fff2043a116 __exceptionPreprocess + 226 	1   libobjc.A.dylib                     0x00007fff20177f78 objc_exception_throw + 48 	2   CoreFoundation                      0x00007fff20448c6f +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 	3   UIKitCore                           0x00007fff246a2414 -[UIResponder doesNotRecognizeSelector:] + 292 	4   CoreFoundation                      0x00007fff2043e666 ___forwarding___ + 1489 	5   CoreFoundation                      0x00007fff20440698 _CF_forwarding_prep_0 + 120 	6   Detox                               0x00000001062e51d5 -[UIView(Detox) dtx_replaceText:] + 585 	7   Detox                               0x00000001062f38c0 merged Detox.TypeTextAction.perform(on: Detox.Element) -> Swift.Optional<Swift.Dictionary<Swift.String, Any>> + 192 	8   Detox                               0x00000001062f3909 vtable thunk for Detox.Action.(perform in _04ABBB5C7C570871DB67625EF38728EC)(on: Detox.Element) -> Swift.Optional<Swift.Dictionary<Swift.String, Any>> dispatching to Detox.ReplaceTextAction.perform(on: Detox.Element) -> Swift.Optional<Swift.Dictionary<Swift.String, Any>> + 9 	9   Detox                               0x00000001062f2cff Detox.Action.(perform in _04ABBB5C7C570871DB67625EF38728EC)(on: Detox.Element, completionHandler: (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> ()) -> () + 31 	10  Detox                               0x00000001062f6efa partial apply forwarder for closure #1 () -> () in Detox.Action.perform(completionHandler: (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> ()) -> () + 42 	11  Detox                               0x00000001062f6f41 partial apply forwarder for reabstraction thunk helper from @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> () + 17 	12  Detox                               0x00000001062f669e reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @callee_unowned @convention(block) () -> () + 14 	13  Detox                               0x00000001062ebc1e +[DTXAssertionHandler try:error:] + 47 	14  Detox                               0x00000001062f2e19 Detox.Action.perform(completionHandler: (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> ()) -> () + 249 	15  Detox                               0x00000001062fe75e function signature specialization <Arg[1] = Dead> of function signature specialization <Arg[1] = [Closure Propagated : closure #1 (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> () in closure #2 () -> () in Detox.DetoxManager.webSocket(_: Detox.WebSocket, didReceiveAction: Swift.String, params: Swift.Dictionary<Swift.String, Any>, messageId: __C.NSNumber) -> (), Argument Types : [Detox.DetoxManager__C.NSNumber]> of static Detox.InvocationManager.invoke(dictionaryRepresentation: Swift.Dictionary<Swift.String, Any>, completionHandler: (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> ()) -> () + 766 	16  Detox                               0x00000001062f4799 reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_unowned @convention(block) () -> () + 25 	17  EarlGrey                            0x000000010714c64d __59-[GREYUIThreadExecutor executeSyncWithTimeout:block:error:]_block_invoke + 109 	18  EarlGrey                            0x00000001070fd0d8 __54-[GREYRunLoopSpinner grey_checkConditionInActiveMode:]_block_invoke + 472 	19  CoreFoundation                      0x00007fff203a85db __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 	20  CoreFoundation                      0x00007fff203a79ef __CFRunLoopDoBlocks + 434 	21  CoreFoundation                      0x00007fff203a23e8 __CFRunLoopRun + 863 	22  CoreFoundation                      0x00007fff203a1b9e CFRunLoopRunSpecific + 567 	23  EarlGrey                            0x00000001070fcdcd -[GREYRunLoopSpinner grey_checkConditionInActiveMode:] + 381 	24  EarlGrey                            0x00000001070fba32 -[GREYRunLoopSpinner spinWithStopConditionBlock:] + 434 	25  EarlGrey                            0x000000010714bd78 -[GREYUIThreadExecutor executeSyncWithTimeout:block:error:] + 1384 	26  EarlGrey                            0x000000010714b7c7 -[GREYUIThreadExecutor executeSync:error:] + 311 	27  Detox                               0x00000001062ce6de __45-[EarlGreyImpl(Detox) detox_safeExecuteSync:]_block_invoke + 141 	28  CoreFoundation                      0x00007fff203a85db __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 	29  CoreFoundation                      0x00007fff203a79ef __CFRunLoopDoBlocks + 434 	30  CoreFoundation                      0x00007fff203a2a6d __CFRunLoopRun + 2532 	31  CoreFoundation                      0x00007fff203a1b9e CFRunLoopRunSpecific + 567 	32  GraphicsServices                    0x00007fff2b793db3 GSEventRunModal + 139 	33  UIKitCore                           0x00007fff2466d40f -[UIApplication _run] + 912 	34  Detox                               0x00000001062db4eb __detox_UIApplication_run + 365 	35  UIKitCore                           0x00007fff24672320 UIApplicationMain + 101 	36  testSearchBar                       0x0000000103715170 main + 112 	37  libdyld.dylib                       0x00007fff20257409 start + 1 )

Huh, strange.
Can you please open a new issue? I will look to fix it. This is unrelated to the original reported here.
Thanks

No need for an issue:
https://github.com/wix/Detox/pull/2458

Thank you, I will test with this.

Fix out in 17.11.3

Thank you, please do the update on NPM <3 <3

@hqdai, thanks for raising this 👍  — apparently, we've run into an issue with publishing that package on NPM. We'll look into it as soon as possible.

🤦♂Apologies. We’ll fix this as soon as possible.

It works perfect. Thank you for your updating <3


add 1.12.4 and 1.11.9

https://twitter.com/golang/status/1116531752602951681?s=20
https://golang.org/dl/

Released in https://github.com/syndbg/goenv/releases/tag/2.0.0beta9 :tada:


Extrinsic call failed with "Transaction has a bad signature"

Expected behavior
During a call to attester.submitAttestation(message, signature, target) I would expect the call to be successful or fail within the attestation scope
Actual behavior
Actually it was failing with
Transaction has a bad signature

Steps to reproduce
Seems temporary because later on the call was successful
Which version(s) does this affect? (Environment, OS, etc...)

Possibly related
https://github.com/polkadot-js/api/issues/4436


entry doesn't have guid field

Hi when I parse https://reddit.com/.rss I get the below output.
{ title: 'Rest of Canada relieved they no longer have to cheer for Boston',
    link: 'https://www.reddit.com/r/hockey/comments/bgv2hu/rest_of_canada_relieved_they_no_longer_have_to/',
    pubDate: '2019-04-24T14:09:55.000Z',
    author: '/u/pubwash',
    content: '  submitted by    /u/pubwash    to    r/hockey
 [link]   [comments]',
    contentSnippet: 'submitted by    /u/pubwash    to    r/hockey   [link]   [comments]',
    id: 't3_bgv2hu',
    isoDate: '2019-04-24T14:09:55.000Z' }

The entry has the id field but your readme and https://github.com/bobby-brennan/rss-parser/blob/master/test/output/reddit.json show a guid field.
Parsing http://rss.cnn.com/rss/cnn_topstories.rss on the other hand returns guid and no id.
 { title: 'A music scholar\'s take on Beyonce\'s latest',
    link: 'http://rss.cnn.com/~r/rss/cnn_topstories/~3/jHWNTTYSLlw/index.html',
    pubDate: 'Mon, 22 Apr 2019 08:23:54 GMT',
    content: 'On April 9, 1939 the Afric...=""/>',
    contentSnippet: 'On April 9, 1939 the African-American opera singer Marian Anderson made history when she performed outdoors on the National Mall in Washington.',
    guid: 'https://www.cnn.com/style/article/beyonce-homecoming-opera/index.html',
    isoDate: '2019-04-22T08:23:54.000Z' }

Reddit has switched to the atom format since these docs were generated.
Maybe we should always populate both id and guid, using whichever is available

Makes sense. I just do it in my code right now id = item.guid || item.id


fix make jobserver error

This removes the jobserver errors.
warning: jobserver unavailable: using -j1. Add `+' to parent make rule

@davids5 Can you upstream these?

I updated to this version as submodule hash on PX4 Firmware master.


Add flags to the json output

Something like this would be nice ...
dynamic_url = 'http://xps8920:8252/resolve**?withJson=true&withFeatures=true**'
withJson=true  //sets g2_engine.G2_ENTITY_INCLUDE_RECORD_JSON_DATA
withFeatures=true  // sets g2_engine.G2_ENTITY_INCLUDE_ALL_FEATURES
This will allow a user to pass in a file and get the actual data back out.   As it is now, they only get the keys (record Ids) and would have to lookup the data themselves (in their own repository as we have already purged the records!)

Pull requests:

https://github.com/Senzing/resolver/pull/70


GEODE-8715: Redis INFO command 'Keyspace' section should not be present if no keys in database

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Seems good! Just looks like it needs a Jira ticket. GEODE-8706 looks like it's for a different issue.

so it does-  weird- not sure how that happened _?_/ .   thanks- fixed.

Seems good! Just looks like it needs a Jira ticket. GEODE-8706 looks like it's for a different issue.

so it does- weird- not sure how that happened ?/ . thanks- fixed.

re-opened pr in https://github.com/apache/geode/pull/5753 with renamed branch and pr.  closing this pr.

mistakenly assigned unrelated ticket.  Pr closed and reopened in new pr https://github.com/apache/geode/pull/5753 with matching branch name


Add docs for how to easily test & use react native forks

More clear guidelines on how to do this will allow the community to make patch or share feature easily.
Related issue:
#21776
#21967

Original issue: https://github.com/facebook/react-native/issues/22030 by @gengjiawen.

Relevant issue from rn repo: https://github.com/facebook/react-native/issues/22118

In addition to documentation, would it help if this was a script that handles setting up a fork? This script could make sure you are not on the facebook/react-native repo, check the common error of wrong Android NDK version, remove the relevant line from .gitignore and run the ./gradlew :installArchives step.

Sounds like a good second step, but I think that we should start with the docs first 😄
Btw what's this step about?

run the ./gradlew :installArchives step

I don't think I've ever run it 😅

It's the gradle task that builds the Android .aar/.jar binaries. They are not committed in the source repo, only built on publishing to NPM. As far as I know, it's the only part of the RN that makes this forking business a bit complicated, because all other dependencies are just there in the main repo as source files.

Understood - @grabbou once the PR is up would you mind doublechecking it? I feel you have way more experience than me in this 😅

Sure, would love to take a look. In fact, at Callstack, we are constantly setting up various React Native forks for internal purposes and this process is usually taking more than we would like it to take. Happy to look into any improvements.

I can write the first draft tomorrow if no-one else has anything written up yet? I want to take the time to run through the process end-to-end on a current version. It has been a few RN releases since I've had to set up a fork.

Also for non android dev and ci users, we can use docker to demonstrate how to do the android release.
see https://github.com/react-native-community/discussions-and-proposals/pull/36.

I've noticed gradle 4.4 hanging on the installArchives task, in the configuration phase. This symptom can be resolved by using the --no-daemon flag, but I think there is something wrong in the gradle plugins that is causing this in the first place.

Building aar using docker
docker run --rm --name rn-build -v $PWD:/pwd -w /pwd gengjiawen/react-native /bin/sh -c "./gradlew installArchives"

@bartolkaruza Maybe network issue, I have not run into this issue using docker.

It could be an OS difference as well, isn't docker running a Linux base image? I was building on OSX.

BTW, check also this section https://facebook.github.io/react-native/docs/building-from-source as I feel there may be some overlap.

@gengjiawen I've moved it to a separate page and added you as contributor to my fork of the website, feel free to add your addition/modification. I've split the page into two sections; building/publishing. Building suggests building from source or using your docker image, recommending the latter.

@bartolkaruza Just create the pr, I will review it.

@bartolkaruza Just create the pr, I will review it.

#675

It would definitely be nice to have some documentation on how to build react native from source. The docs only tell how to build the android side of things.
What about iOS? Any special build steps?
How is the project structured?
My biggest hurdle right now with this topic:
I want to know how to use my own fork of the react-native npm package as a dependency in my own react-native project. Then, after getting to know it and understanding it, maybe I'll be able to contribute.
So, I try it using yarn add file:../path/to/my/react-native/fork. When I do this and then run yarn start and yarn ios, I get all kinds of errors. Then, I install the same version of react native again from npm, and everything works fine.
I am not writing this to make a separate issue out of my immediate problem-at-hand. But the problem I am facing at the moment underscores the need for docs to help potential contributors. (I have spent 5 hours or more on this and have came up empty so far)
Specifically:

help us get to know the structure of the react-native project
the specific steps to take in order to build for iOS
the specific steps needed to fork the react-native repo, use it in our own project, make a change to it, and see the result.


Bug: MarkdownShortcuts: missing dependency for transformer. Ensure node dependency is included in editor initial config.

When i try to use MarkdownShortcutPlugin with default transformers like that <MarkdownShortcutPlugin /> I encountered this problem. After debug for a while, i find i must add all this node in the editor config.
const EDITOR_NODES = [     HorizontalRuleNode,     CodeNode,     HeadingNode,     LinkNode,     ListNode,     ListItemNode,     QuoteNode, ]
Any missing node will result in an error.
Perhaps we need to give a hint in MarkdownShortcutPlugin doc or more detailed error message like  Ensure HorizontalRuleNode is included in editor initial config. .
Lexical version:  "lexical": "^0.9.1", "@lexical/markdown": "^0.9.1",
Steps To Reproduce

use MarkdownShortcutPlugin like <MarkdownShortcutPlugin />
Missing any node of [  HorizontalRuleNode,  CodeNode,  HeadingNode,  LinkNode,  ListNode,  ListItemNode,  QuoteNode, ]

Link to code example:

The current behavior
MarkdownShortcuts: missing dependency for transformer. Ensure node dependency is included in editor initial config.
The expected behavior
Better MarkdownShortcutPlugin doc or more detailed error message like  Ensure HorizontalRuleNode is included in editor initial config.

This looks like a feature, as it's not a bug because the behavior is expected.

We can add a more specific error message and/or some docs though - good call. Probably more like a feature, but sorry you lost time on this.

Just in case it's any useful: you can pass custom list of transformers into shortcuts plugin (https://github.com/facebook/lexical/blob/main/packages/lexical-react/src/LexicalMarkdownShortcutPlugin.tsx#L44) which can only include trasnformers for nodes your editor includes

We can add a more specific error message and/or some docs though - good call. Probably more like a feature, but sorry you lost time on this.
Yes, this is a feature. it's my fault. I have change the title and this issue can be close now

We can add a more specific error message and/or some docs though - good call. Probably more like a feature, but sorry you lost time on this.

Yes, this is a feature. it's my fault. I have change the title.

Are those nodes anywhere to be found in the doc?

I'm new to lexical, and finding out which imports to use was really non-intuitive.
My approach was to do grep in node_modules to find class declarations, and this is what I came up with, which seems to work:
import { CodeNode } from '@lexical/code';
import { LinkNode } from '@lexical/link';
import { ListNode, ListItemNode } from '@lexical/list';
import { HeadingNode, QuoteNode } from '@lexical/rich-text';
import { HorizontalRuleNode } from '@lexical/react/LexicalHorizontalRuleNode';

+1
Markdown Shortcut plugin breaking with:
Uncaught Error: MarkdownShortcuts: missing dependency heading for transformer. Ensure node dependency is included in editor initial config.

This looks like a feature, as it's not a bug because the behavior is expected.

If this is expected behaviour, why would they not just import it into the plugin by default?

this covers almost all the nodes :)
versions
    "@lexical/react": "^0.17.0",
    "lexical": "^0.17.0",

imports
import { AutoLinkNode, LinkNode } from "@lexical/link";
import { ListNode, ListItemNode } from "@lexical/list";
import { TableNode, TableCellNode, TableRowNode } from "@lexical/table";
import { CodeNode } from "@lexical/code";
import { HeadingNode, QuoteNode } from "@lexical/rich-text";
import { HorizontalRuleNode } from "@lexical/react/LexicalHorizontalRuleNode";

editor config object
  const editorConfig = {
      namespace: "Rich text editor in React",
      nodes: [
        LinkNode,
        AutoLinkNode,
        ListNode,
        ListItemNode,
        TableNode,
        TableCellNode,
        TableRowNode,
        HorizontalRuleNode,
        CodeNode,
        HeadingNode,
        LinkNode,
        ListNode,
        ListItemNode,
        QuoteNode,
      ],
      onError(error: Error) {
        throw error;
      },
      theme: theme,
    };

This is very very unclear. Following the docs located here https://lexical.dev/docs/packages/lexical-markdown
We have this setup code if using react
import { TRANSFORMERS } from '@lexical/markdown';
import {MarkdownShortcutPlugin} from '@lexical/react/LexicalMarkdownShortcutPlugin';

<LexicalComposer>
  <MarkdownShortcutPlugin transformers={TRANSFORMERS} />
</LexicalComposer>

This by default causes the above error. The initial setup of the editor on this github readme. Doesn't have the nodes needed included or a nodes field in the editor config object. How is a new user to this library supposed to figure what to do with a plugin when there isn't clear instructions or a working code snippet to copy? No where is the nodes property mentioned in the documentation between setup and using the markdown plugin. Neither are the required list of nodes needed for transformers listed in the markdown plugin. Is there a guide or a getting started that covers these topics somewhere since I don't see this on the lexical docs site?
import {$getRoot, $getSelection} from 'lexical';
import {useEffect} from 'react';

import {LexicalComposer} from '@lexical/react/LexicalComposer';
import {PlainTextPlugin} from '@lexical/react/LexicalPlainTextPlugin';
import {ContentEditable} from '@lexical/react/LexicalContentEditable';
import {HistoryPlugin} from '@lexical/react/LexicalHistoryPlugin';
import {OnChangePlugin} from '@lexical/react/LexicalOnChangePlugin';
import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext';
import {LexicalErrorBoundary} from '@lexical/react/LexicalErrorBoundary';

const theme = {
  // Theme styling goes here
  // ...
}

// When the editor changes, you can get notified via the
// LexicalOnChangePlugin!
function onChange(editorState) {
  editorState.read(() => {
    // Read the contents of the EditorState here.
    const root = $getRoot();
    const selection = $getSelection();

    console.log(root, selection);
  });
}

// Lexical React plugins are React components, which makes them
// highly composable. Furthermore, you can lazy load plugins if
// desired, so you don't pay the cost for plugins until you
// actually use them.
function MyCustomAutoFocusPlugin() {
  const [editor] = useLexicalComposerContext();

  useEffect(() => {
    // Focus the editor when the effect fires!
    editor.focus();
  }, [editor]);

  return null;
}

// Catch any errors that occur during Lexical updates and log them
// or throw them as needed. If you don't throw them, Lexical will
// try to recover gracefully without losing user data.
function onError(error) {
  console.error(error);
}

function Editor() {
  const initialConfig = {
    namespace: 'MyEditor',
    theme,
    onError,
  };

  return (
    <LexicalComposer initialConfig={initialConfig}>
      <PlainTextPlugin
        contentEditable={<ContentEditable />}
        placeholder={
Enter some text...
}
        ErrorBoundary={LexicalErrorBoundary}
      />
      <OnChangePlugin onChange={onChange} />
      <HistoryPlugin />
      <MyCustomAutoFocusPlugin />
    </LexicalComposer>
  );
}

There's just simply no way for plugins, as currently defined, to carry initial configuration. The only way to improve this situation without changing anything fundamentally is to contribute documentation PRs to make this initial configuration easier to discover.
Lexical is a very low-level library as-is, it's a framework for building editors, not an off-the-shelf editor that can be customized. I have a side project that will probably improve this eventually, but my attention has been focused more on improving some lower-level issues. https://lexical-builder.pages.dev/


Consider reducing requirements for results provided by extensions

notice how the return type is now: ProviderResult<data<T[] | CompletionList<T>>>
export type data<T> = T extends Function
	? never
	: T extends object // recurse
	? { [k in keyof T]: data<T[k]>; }
	: T;

export interface CompletionItemProvider<T extends CompletionItem = CompletionItem> {
	//...
	provideCompletionItems(document: TextDocument, position: Position, token: CancellationToken, context: CompletionContext): ProviderResult<data<T[] | CompletionList<T>>>;
	//...
}

this would allow an extension to use the following (and not need to allocate a real range using new vscode.Range):
provideCompletionItems(/*...*/) {
	return [{
		label: 'hello',
		range: {
			start: { line: 10, character: 0 },
			end: { line: 10, character: 1}
		}
	}];
}

Although not an enforcement I would declare the return type as follows:

I generally like but I am unsure that's the full thing. To a certain extend you can already do that today with provider results that have "function-less" data, e.g code lenses or completions without non-default ranges. However, we will still iterate over these objects and we still convert them into DTO types - so from lsp-dto into our dtos and on the renderer into domain objects. I am also unsure if our "function-less" types correspond to lsp-dtos or if they first need to be transformed... So, let's measure how much this can actually save.
An alternative is to find a way such that LSP object can be passed through. Like, vscode.Range#toJSON could be spec'd to return the LSP range. We then have a special class implementing vscode.Range by wrapping around a JSON blob which it only accesses/unwraps lazily and usually simply forwards in its toJSON implementation

First measuring makes perfect sense. What I will do is the following:

write code that in place modifies a LSP JSON result to a data including range and position.
run test for completion items and diagnostics since I think these are the once we convert the most.


(WCAG 2.1) Actionable control is not keyboard accessible

OBSERVED RESULTS:

The expandable/collapsible control "What are the eligibility requirements?" is not keyboard accessible and cannot be operated using keyboard navigation.

EXPECTED RESULTS:

The expandable/collapsible control should be fully keyboard accessible, allowing users to expand and collapse its content using keyboard commands.

STEPS TO REPRODUCE:

Navigate to URL
Navigate to and activate the ‘Apply’ for the Comprehensive sample program.
Navigate to and activate “What is your address?”.
Navigate to expandable/collapsible control "What are the eligibility requirements? using keyboard TAB or SHIFT TAB key.
Observe the control is not keyboard accessible.

ENVIRONMENT DETAILS:

Device(s) (brand, OS version, test key or release key): Windows 10 Enterprise (64-bit),MacOS Ventura Version 13.4
Screen reader name and version: JAWS 2022.2211.7, NVDA 2022.3, VoiceOver
Browser name and version: Chrome Version 113.0.5672.93

Completed in this PR


Question&Answer (Dialog) package

@csantanapr commented on Mon May 09 2016
We could use as an example the Watson Dialog API

@lzbj commented on Thu May 12 2016
@csantanapr ,could you please assign this task to me?

@lzbj commented on Thu May 12 2016
The latest recommended soluitons here:
http://watson-qa-demo.mybluemix.net/
https://developer.ibm.com/watson/blog/2015/11/11/watson-question-and-answer-service-to-be-withdrawn/

@csantanapr commented on Thu May 12 2016
Good catch, then instead we can create actions using the replacements services: Natural Language Classifier, Dialog, Retrieve and Rank, and Document Conversion.
What do you think we use this issue to implement Dialog and create new issues for the other ones?

@lzbj commented on Thu May 12 2016
Thanks, yes, agree with you. Then maybe we can think of using of those created actions in a pipline to achieve some more complex apps, such as Q&A etc. Another solution is to utilize several Watson api in one action to compose a complex app, but in my opinion, the former one is more flexible.

@csantanapr commented on Thu May 12 2016
@lzbj I agree that's we have sequences to create more complex scenarios, but we should have generic actions in a package that user can copy/clone and adjust and create their own sequence or trigger an event from inside an action to make a rule run with another actions

@lzbj commented on Fri May 13 2016
Yes, sure.

@lzbj commented on Mon May 30 2016
@csantanapr , could you please help create 4 issues with Package label, that associated with replacements services as you mentioned above and assign to me? thank you.

@csantanapr commented on Tue Jun 07 2016
@lzbj I converted this issue to be for Dialog action, and created 3 more 587, 588, 589
Take into account that each one should have proper tests, and docs cover
I suggest to work on one first, this issue is already assigned to you, as you finish this one and is ready to pick the next one then assign at that time.

@lzbj commented on Wed Jun 08 2016
@csantanapr Thank you, yes, I'll do as you pointed out.

@lzbj commented on Fri Jun 24 2016
https://github.com/openwhisk/openwhisk/pull/641
@csantanapr , could you help review it when available, thank you.

@markusthoemmes commented on Fri Mar 10 2017
@csantanapr still valid/in the right place?

Any new Watson packages, they need to be created outside Apache in a repo that IBM Watson team maintains, and deploy themselves.


Environmental Justice Index

This was recommended/ is being used by Bill Adams for Health Equity Explorer and Jim Phuong for AOU integration
https://www.atsdr.cdc.gov/placeandhealth/eji/index.html
Download link: https://eji.cdc.gov/Documents/Data/2022/DBS/United States.zip
Data dictionary: https://eji.cdc.gov/Documents/Data/2022/EJI_2022_Data_Dictionary_508.pdf

Status update:

explored the Environmental Justice Index.
uploaded and analyzed documentation and data sources.
parsed source codes, descriptions, and indicators such as the Social Vulnerability Module, Environmental Burden Module, and Pre-existing Chronic Disease Burden.
Joined them with SDOH (Social Determinants of Health) vocabulary.
A 22% coverage was revealed.
The remainder is to be mapped manually.


Fix GNU divert-to-card S2K parsing bug

This doesn't allow signing with a PGP smart card yet, but it does prevent the parser from crashing when it hits this extension.

@maxtaco

:+1:


Logitech G Pro Wireless not detected

Information

ratbagd version (ratbagd --version): 0.14
Distribution: NixOS 20.09
Kernel version (ex. uname -srmo): Linux 5.4.76 x86_64 GNU/Linux

Describe the bug
ratbagctl list shows No devices available., regardless of whether the mouse is connected wirelessly or via cable.
Logs
$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: Cypress Semiconductor USB Billboard
ratbag debug: Using data directory '/nix/store/3fzh212nxy107byb3ynvnjgar31xp82a-libratbag-0.14/share/libratbag'
ratbag debug: No data file found for 17ef:3074
DBus server ready

Additional context
The hid_logitech_dj and hid_logitech_hidpp kernel modules are loaded (they were loaded automatically).
My kernel has CONFIG_HIDRAW=y enabled, as mentioned in another issue.
According to the kernel dmesg, my mouse seems to have exactly the same IDs as in the /nix/store/3fzh212nxy107byb3ynvnjgar31xp82a-libratbag-0.14/share/libratbag/logitech-g-pro-wireless.device file (it switches from one ID to the other depending on whether it's connected via cable or wirelessly, as you can see below):
$ dmesg | grep -i logitech
(...)
[138251.788487] usb 2-<IP_ADDRESS>: Manufacturer: Logitech
[138251.924824] input: Logitech G Pro Wireless Gaming Mouse as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb2/2-4/2-4.2/2-4.2.3/2-<IP_ADDRESS>/2-<IP_ADDRESS>:1.0/0003:046D:C088.00C9/input/input221
[138251.925334] logitech-hidpp-device 0003:046D:C088.00C9: input: USB HID v1.11 Mouse [Logitech G Pro Wireless Gaming Mouse] on usb-0000:06:00.3-<IP_ADDRESS>/input0
[138251.931918] input: Logitech G Pro Wireless Gaming Mouse as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb2/2-4/2-4.2/2-4.2.3/2-<IP_ADDRESS>/2-<IP_ADDRESS>:1.1/0003:046D:C088.00CA/input/input222
[138251.983937] logitech-hidpp-device 0003:046D:C088.00CA: input: USB HID v1.11 Keyboard [Logitech G Pro Wireless Gaming Mouse] on usb-0000:06:00.3-<IP_ADDRESS>/input1
[138252.044723] logitech-hidpp-device 0003:046D:C088.00CB: HID++ 4.2 device connected.
[138252.071849] logitech-hidpp-device 0003:046D:C088.00CB: hiddev99: USB HID v1.11 Device [Logitech G Pro Wireless Gaming Mouse] on usb-0000:06:00.3-<IP_ADDRESS>/input2
[138562.824471] usb 2-<IP_ADDRESS>: Manufacturer: Logitech
[138562.962400] logitech-djreceiver 0003:046D:C539.00CC: : USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:06:00.3-<IP_ADDRESS>/input0
[138563.018077] logitech-djreceiver 0003:046D:C539.00CD: hiddev99: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:06:00.3-<IP_ADDRESS>/input1
[138563.073267] logitech-djreceiver 0003:046D:C539.00CE: hiddev101: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:06:00.3-<IP_ADDRESS>/input2
[138563.128698] logitech-djreceiver 0003:046D:C539.00CE: device of type eQUAD Lightspeed 1 (0x0c) connected on slot 1
[138563.147716] logitech-hidpp-device 0003:046D:4079.00CF: HID++ 4.2 device connected.
[138563.197845] input: Logitech G Pro  as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb2/2-4/2-4.2/2-4.2.3/2-<IP_ADDRESS>/2-<IP_ADDRESS>:1.2/0003:046D:C539.00CE/0003:046D:4079.00CF/input/input223
[138563.198246] logitech-hidpp-device 0003:046D:4079.00CF: input: USB HID v1.11 Keyboard [Logitech G Pro ] on usb-0000:06:00.3-<IP_ADDRESS>/input2:1

Are you running the daemon as a normal user? By default, normal users don't have permission to read from hidraw devices. You need to either change the permissions on the device, by for eg. installing a udev rule, or run the daemon as root.

All the commands I mentioned above were ran as root (maybe the $ character threw you off, but I added the character manually to the post, in fact I'm not even running bash).
If I run the daemon as a normal user I get this instead:
ratbagd --verbose=raw
Initializing libratbag
ratbagd error: Failed to start ratbagd: Permission denied

Hum, that is a bit weird. It looks like the device is exported by the kernel driver, not sure why ratbagd is not picking it up.
Can you run https://github.com/FFY00/lshid?

Well, at least deteting, it should also be exported.
[138563.147716] logitech-hidpp-device 0003:046D:4079.00CF: HID++ 4.2 device connected.

I cannot easily run lshid, but perhaps this helps:
With both a Logitech wireless keyboard and the Logitech G Pro Wireless mouse connected (and working in wayland and the linux console), the only hidraw device that appears in /dev is /dev/hidraw0 and cat /sys/class/hidraw/hidraw0/device/uevent shows the following:
DRIVER=hid-generic
HID_ID=0003:000017EF:00003074
HID_NAME=Cypress Semiconductor USB Billboard
HID_PHYS=usb-0000:06:00.3-1/input1
HID_UNIQ=11AD1D00B5FF390D2F0A0B00
MODALIAS=hid:b0003g0001v000017EFp00003074

So it appears that the hidraw device for the Logitech mouse is not being created?

Uh, I am not sure what is going on here.
@bentiss any ideas?

I'm guessing I don't have the udev rules for creating the hidraw devices?
Where do the these rules come from? I've searched the udev (i.e. systemd) repo but it doesn't seem to have them...

I have a Logitech G Pro Wireless mouse that is not being recognized, it's a Logitech G Pro Wireless League of Legends Collection (don't judge, it was cheaper than the others :sweat_smile:).
I noticed that the device ID for this mouse is a little bit different from other G Pros:
$ lsusb
...
Bus 003 Device 025: ID 046d:c539 Logitech, Inc. Lightspeed Receiver
...

@wizeman just posted logs from dmesg | grep -i logitech and it looks like it's the same mouse I'm using:
[138562.962400] logitech-djreceiver 0003:046D:C539.00CC: : USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:06:00.3-<IP_ADDRESS>/input0
[138563.018077] logitech-djreceiver 0003:046D:C539.00CD: hiddev99: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:06:00.3-<IP_ADDRESS>/input1
[138563.073267] logitech-djreceiver 0003:046D:C539.00CE: hiddev101: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:06:00.3-<IP_ADDRESS>/input2
[138563.128698] logitech-djreceiver 0003:046D:C539.00CE: device of type eQUAD Lightspeed 1 (0x0c) connected on slot 1

Because the functionality is the same, shouldn't this be as simple as adding the device ID (046d:c539) in this file?
[Device]
Name=Logitech G Pro Wireless
DeviceMatch=usb:046d:4079;usb:046d:c088;usb:046d:c539 # <- like this
Driver=hidpp20
DeviceType=mouse

[Driver/hidpp20]
DeviceIndex=1

Sorry for posting in this old issue, but I did because it's still open :grin:


Go Path broken in make for docker 1.9.1 stable

I used to be able to build docker on my targets using the normal steps:
$ git clone -b 'v1.9.1' --single-branch https://github.com/docker/docker.git
$ cd docker
$ curl -L https://github.com/umiddelb/armhf/raw/master/Dockerfile.armv7 > Dockerfile
$ sudo make build
$ sudo make binary

Now, I get a make error ...at STEP 41:

go get -v -d github.com/cpuguy83/go-md2man
package code.google.com/p/go.net/html: unable to detect version control system for code.google.com/ path

This kills the make.  Is this a known issue?

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Yes, this is because code.google.com is no more.

I've been trying to wade through the Dockerfile to figure out how to repair this... but because the build is running inside containers it isn't clear...
Step 41 : RUN set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone -b v1.0.3 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man" 	&& git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday" 	&& go get -v -d github.com/cpuguy83/go-md2man 	&& go build -v -o /usr/local/bin/go-md2man github.com/cpuguy83/go-md2man 	&& rm -rf "$GOPATH"
 ---> Running in b3e0df2d6d3c
+ mktemp -d
+ export GOPATH=/tmp/tmp.yDjD8vLHJ2
+ git clone -b v1.0.3 https://github.com/cpuguy83/go-md2man.git /tmp/tmp.yDjD8vLHJ2/src/github.com/cpuguy83/go-md2man
Cloning into '/tmp/tmp.yDjD8vLHJ2/src/github.com/cpuguy83/go-md2man'...
Note: checking out 'e69ac41993d9dad8006559d4e28763d241ab53a6'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

+ git clone -b v1.2 https://github.com/russross/blackfriday.git /tmp/tmp.yDjD8vLHJ2/src/github.com/russross/blackfriday
Cloning into '/tmp/tmp.yDjD8vLHJ2/src/github.com/russross/blackfriday'...
Note: checking out '2e7d690972283d45aadc7a5ea304841e26529433'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

+ go get -v -d github.com/cpuguy83/go-md2man
package code.google.com/p/go.net/html: unable to detect version control system for code.google.com/ path
INFO[2857] The command [/bin/sh -c set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone -b v1.0.3 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man" 	&& git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday" 	&& go get -v -d github.com/cpuguy83/go-md2man 	&& go build -v -o /usr/local/bin/go-md2man github.com/cpuguy83/go-md2man 	&& rm -rf "$GOPATH"] returned a non-zero code: 1
make: *** [build] Error 1

Looks like blackfriday needs a bump to remove the code that still references code.google.com; politely poked upstream in https://github.com/russross/blackfriday/pull/117#issuecomment-175894405. :+1:

Wow, I'm special -- we just need to bump blackfriday to v1.4 (we're on v1.2 currently) and we should be good.

Oh, we already did, this is v1.9.1.  Yeah, that's not going to be buildable as-is anymore. :cry:
Not sure there's anything we can do about that.

I've changed my local dockerfile to 1.4 and am able to get through the build now.   Also issued a pull request on Uli's github... But perhaps you are the source maintainer of his Dockerfile?
Sent from my iPhone
On Jan 27, 2016, at 2:44 PM, Tianon Gravi <notifications<EMAIL_ADDRESS>wrote:
Oh, we already did, this is v1.9.1. Yeah, that's not going to be buildable as-is anymore. [:cry:]
Not sure there's anything we can do about that.

Reply to this email directly or view it on GitHubhttps://github.com/docker/docker/issues/19787#issuecomment-175898587.

Alright, so looks like we won't be able to fix this, because it's in the 1.9 release? Should we close this issue then?

Yes, we can't fix the old release.
Closing.

Yes confirmed this is good to go as long as people know to use the 1.4 release of blackfriday so they don't trip on the code.google deprecation thing.  The Dockerfile refered to in the above
curl -L https://github.com/umiddelb/armhf/raw/master/Dockerfile.armv7 > Dockerfile

has been fixed.


feat: Expose cast platform APIs to iframe

By forcing an iframe's contents into the same origin as the receiver app, we gain the ability to expose the cast platform APIs to the contained iframe.  This won't work necessarily work for every possible page you could load, so this can be disabled with a command-line flag.
The new receiver code is backward compatible with the v1.0.x version of these tools.
See also https://github.com/shaka-project/shaka-player/pull/4773

This method seems to be incompatible with Karma's websocket usage.  Karma configures socket.io to connect to location.host, which no longer works when the Karma page contents are pulled in via iframe.srcdoc.  (The frame's location.host becomes a blank string.)
Karma's setup of socket.io is completely unconfigurable in this regard, and that feature is required to work for Karma to start the tests and receive the results.  Also, location and its properties cannot be overridden in JavaScript with mocks (presumably for security reasons).

Closing for now.  We may revive this at a later date if the issues with Karma can be overcome.