Enable optional UserSettings.hs file

Fix #247
The defaul user settings are stored in ./src/UserSettings.hs. If the
user want to override these settings, he can copy this file into ./ and
make the desired changes to ./UserSettings.hs.

Great, thanks!
The only thing to discuss: do we want users to copy src/UserSettings.hs or, as also mentioned previously, rename ./UserSettings.hs.sample? The latter may be more familiar, as users currently rename build.mk.sample. The sample file may actually differ from src/UserSettings.hs and contain several common settings commented out.

@KaiHa @ndmitchell @thomie @Ericson2314 Any thoughts on the above comment?

The only thing to discuss: do we want users to copy src/UserSettings.hs or, as also mentioned previously, rename ./UserSettings.hs.sample?

Both approaches are fine for me.

If I understand correctly, this uses the precedence of '.' over 'src/' to work?

If I understand correctly, this uses the precedence of '.' over 'src/' to work?

Correct

Anything with .sample would be more complex then. My vote is for this. Good work!

Looks very good to me. Thanks @KaiHa.

OK, merged as is. Thanks again!


Upgrade packages

This should fix #32

Thank you for your contribution @minhdanh , before proceeding to the PR review, please modify the target branch of this pull request. You should target the develop branch. Once modified I will do a full set of tests and I will proceed to create a new version of the plugin.
Thank you.

@svprdga Thanks. I've just updated

@svprdga I've just fixed the example. Can you please check?


[Drag&Drop, Time] Displayed time not updated when using remote data

Hi,
Nice Calendar!
There is a display error of the time when using remote data.
Setup: Your remote data example.
Problem: When moving an event within a day to a different time, the displayed time does not get updated. By moving an event to another day and time, this issue does not exist.
BR,
Chris

Oh, I was using version 2.5.7.
Version 2.5.12 already fixed the issue.
Thanks!


CRAN Submission

TreatmentPatterns 2.6.1

Bumped R version to 4.2.1
Added additional unit-tests for createSunburstPlot2() and createSankeyDiagram2()
Updated to use DATEDIFF to compute difference between dates when fetching data from the database.
Added functionality to choose how groups below the minimum cell count are censored.
Made some parameters ambiguous for createSankeyDiagram2 and createSunburstPlot2() for more control over the figures.
Removed addNoPath parameter.
Renamed minFreq parameter to minCellCount.
Added Shiny app with exported module classes.
Added censoring options of treatment pathways falling below the minCellCount.
Simplified part of computePathways().
Significantly improved performance of export().

Codecov Report
Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (eae947c) 82.22% compared to head (4e9f6dd) 94.30%.
Report is 3 commits behind head on master.

Files
Patch %
Lines

R/constructPathways.R
73.91%
12 Missing :warning:

R/executeTreatmentPatterns.R
90.90%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #197       +/-   ##
===========================================
+ Coverage   82.22%   94.30%   +12.08%
===========================================
  Files           8       13        +5
  Lines        1232     1581      +349
===========================================
+ Hits         1013     1491      +478
+ Misses        219       90      -129

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


Nested Navigation weird behavior

According to stacked documentation on nested navigation.
Every time i try to navigate to a nested view like this
_navigationService.navigateTo(DrawerNavigatorRoutes.homeView, id: 1);

I got an exception: route id (1) not found
Route id (1) not found

Here is the routes tree:

/
/login-view
/drawer-navigator

/
/setting-view

/tab-navigator

/

After many trials, i noticed two things:

First, i can navigate to the initial route of a nested route by doing

_navigationService.navigateTo(Routes.drawerNavigator);

or
_navigationService.navigateTo(Routes.tabNavigator);

And last one,

_navigationService.navigateTo('${Routes.drawerNavigator}${DrawerNavigatorRoutes.settingView}');

With this last one, i can navigate to any route of a nested navigator.
Can anyone explain this weird behavior? 😅  😅

[ ] update stacked docs

Link to test repository, you can clone and test it.
PS: @FilledStacks You do great work! 🥇  :star_struck: :star_struck: , i want to thank you :satisfied:

Did you do this part above the line you're referring to?
class OtherNavigator extends StatelessWidget {
  ...
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ExtendedNavigator(router: OtherNavigatorRouter(), navigatorKey: StackedService.nestedNavigationKey(1)));
  }
}

Yes
Below the source code for drawer navigator
class DrawerNavigator extends StatelessWidget {
  ...
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ExtendedNavigator(
        router: DrawerNavigatorRouter(),
        navigatorKey: StackedService.nestedNavigationKey(1),
      ),
    );
  }
}

and for tab navigator
class TabNavigator extends StatelessWidget {
  ...
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ExtendedNavigator(
        router: TabNavigatorRouter(),
        navigatorKey: StackedService.nestedNavigationKey(2),
      ),
    );
  }
}

I'll have to look into this. I haven't used nested navigators before. I exposed this directly from the get package.

Ok, I think I'll create an issue on their repository and update the docs.

Any solution the question by @kodjosama @FilledStacks ? I am also facing the similar issue. I have done everything which is mentioned in the docs.

@consciousmayank it's because the routes were generated at the route of the app. If you want nested routes for real you need to nest them in the app.dart file.
 MaterialRoute(page: SignUpSheetView,
  children: [
      CupertinoRoute(page: AuthenticationOptionsSheetView, initial: true),
      CupertinoRoute(page: ContinueWithEmailSheetView),
      CupertinoRoute(page: CreatePasswordSheetView),
    ],
),

This  way you can only navigate to SignUpSheetView and not directly to the AuthenticationOptionsSheetView or ContinueWithEmailSheetView .


[FR] Add julia

Would it be possible to add the ability to execute julia code?

@BeastyBlacksmith Yes, It might take a while, since I wanted to update the Elixir implementation a bit, but it shouldn't be problematic ... When do you need it? ;-)

By end of September would be nice. If I can help with the julia related part, you can ping me anytime.

@BeastyBlacksmith It took some time ... sorry ... within the next week we will migrate from heroku, I could not update the original version the process somehow failed due to firejail ... However, there is a new version, this time developed with Python
https://github.com/LiaScript/CodeRunner2
Julia is also installed, you can try it from here:
https://liascript.github.io/course/?https://raw.githubusercontent.com/LiaScript/CodeRunner2/master/README.md#16

Yes, at the moment it is one process per script-environment. You can define custom commands, if I got you right. If you take a look at the dotnet example, there is also a project-file used. If there is no space between two codesnippets then they are interpreted as one project:
```csharp
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
```
```xml
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

</Project>
```
@LIA.eval(`["Program.cs", "project.csproj"]`, `dotnet build -nologo`, `dotnet run`)

The first parameter of @LIA.eval is a list of your filenames, the second one the build-command and the third one the run command. You can use your own configuration or create your own macro like:
<!--
@dotnet: @LIA.eval(`["Program.cs", "project.csproj"]`, `dotnet build -nologo`, `dotnet run`)
-->

# Title

```csharp
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
```
```xml
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

</Project>
```
@dotnet

concerning the session ... you can also use:
...
```
@LIA.eval(`["main.jl"]`, `none`, `julia`)

this will create a file main.jl within a temporary folder, not use a compiler, and simply start the julia terminal ... stdin and out is active ... At the moment, the session will timeout after 60s, I increased this now to 5 minutes. This will then be online tomorrow ...
By the way, if you create diagrams and store them within the current folder as images then, they will be displayed at the end of the session, as presented in the R example ...


[WIP] TextKit2 NSTextLayoutManager

Implement TextKit2 because bullet points and numbered list looking really cool...
Need to use correctly TextKit2 API since it is a mess right now :D (getting int from debugDescription just to Proof the concept...)
With this, adding numbered and ordered list on iOS 16+ should be easy peasy.

@danielsaidi need a little help in here...
not a macOS developer, but it appears  public let scrollView = RichTextView.scrollableTextView() ruins setting custom stuff and the TextView is missing textlayoutManager, could you help me out? 😅

@DominikBucher12 I'm going through my projects and noticed that you mentioned me - didn't see that before! How are your status with this? Are you still actively working with RTK features?

Question: Why was this closed without being merged? Lack of time? Incomplete PR?
Would really use bullet and numbered lists...
Thanks

I'd love that as well, but the PR has been stale for some time, and has some merge conflicts. I'd be happy to re-open it when it becomes active again.

In some close future, I will hopefully get my hands on this and properly implement this, lets see how it goes.


Check nested parsing

Referring back to this conversation, if this is indeed valid indental, then the nested parsing isn't working correctly in the wiki.

It's not a valid indental, a value is either a dict or an array.
In A nested header you've mixing key-val with a list of items.

Actually going to open this back up.
Just nested lists seems to parse correctly, however, they aren't displayed correctly in the wiki. See the below example.


test: update expectations for aborted request test

Once https://bugzilla.mozilla.org/show_bug.cgi?id=1877438 lands in Nightly, this test should pass for Firefox.
@OrKoN was it intended to also skip it on Chrome? The test seemed to pass when testing locally, but maybe it is flaky on your side?

I do not recall if it is was intentional. Let's see if it passes currently.

It looks like the test passes!

Great! Let's just wait for https://bugzilla.mozilla.org/show_bug.cgi?id=1877438 to reach Nightly then.

@OrKoN the test I am trying to enable just failed, but it seems to work locally. Could it be a cache issue?

As listed on the Cache page the Firefox for Linux cache was created 4 days ago. So it would explain that. @juliandescottes you probably should be able to clear it yourself?


provide arch wsl in appx format

Can you please provide Arch wsl in appx format to install it by just one click on it and integrate it with Windows  like other wsl distro ??
the other arch version is present in chocolatey in appx format ,,,,,,this makes it easy to install and integrate it with windows apps in settings so that you can reset it or do repair it easily
just see the requirements pls to create it in appx fomat and register it

Ok.
I realized that many people want the AppX version of ArchWSL.
I'm preparing for that, but the update frequency may be low.

Resolved in 55d8f7f !
I uploaded AppX.
https://github.com/yuk7/ArchWSL/releases/tag/19022400

Resolved in 55d8f7f !
I uploaded AppX.
https://github.com/yuk7/ArchWSL/releases/tag/19022400

why you prefer the zip over appx ??
only because of low updates or what ??
also will be available in  ms store ??

why you prefer the zip over appx ??
only because of low updates or what ??

The zip build of ArchWSL is automated by CI, but its AppX build needs to be done manually.
Also, since my main PC does not installed Microsoft's SDK, I need to use another machine.

also will be available in ms store ??

To distribute this I need the "company" account of the MS store.
It costs money, and it is unknown whether it will pass through judging from Microsoft...

why you prefer the zip over appx ??
only because of low updates or what ??

The zip build of ArchWSL is automated by CI, but its AppX build needs to be done manually.
Also, since my main PC does not installed Microsoft's SDK, I need to use another machine.

also will be available in ms store ??

To distribute this I need the "company" account of the MS store.
It costs money, and it is unknown whether it will pass through judging from Microsoft...

thanks for clarification

why you prefer the zip over appx ??
only because of low updates or what ??

The zip build of ArchWSL is automated by CI, but its AppX build needs to be done manually.
Also, since my main PC does not installed Microsoft's SDK, I need to use another machine.

also will be available in ms store ??

To distribute this I need the "company" account of the MS store.
It costs money, and it is unknown whether it will pass through judging from Microsoft...

thanks for clarification

Update: Added support for automatic build of appx.

Update: Added support for automatic build of appx.
thank you
i am currently still running the zip version which i installed about 2 months ago ,, i will use appx version next time i re-install arch ,,just don't want to remove the zip version and re-install everything from the beginning


HTTP response parser with direct calls instead of discriminated unions

@gilbertw, @antkmsft, @vhvb1989, @JeffreyRichter please review the PR. It has both implementations

reading an HTTP Response using a parser. Example https://github.com/Azure/azure-sdk-for-c/blob/sergey/http-response-parser-direct-calls/sdk/core/core/test/test_http_response_parser_example.h#L11
reading an HTTP Response using get function and the last header as a parser state. Example https://github.com/Azure/azure-sdk-for-c/blob/sergey/http-response-parser-direct-calls/sdk/core/core/test/test_http_response_parser_example.h#L64

I feel that the 2 are very similar now so I don’t care all that much.
You should delete line 65 from https://github.com/Azure/azure-sdk-for-c/blob/sergey/http-response-parser-direct-calls/sdk/core/core/test/test_http_response_parser_example.h#L64 which makes mine a line shorter.
I wish you didn’t have all the error checking (AZ_RETURN_IF_FAILED) in both examples as it adds no value for this discussion and takes focus away from the critical parts.
I think the main differences are:
·                     Sergey con: You introduce the concept of a parser struct.
·                     Sergey con: The parser requires a function call to initialize it and they could forget to call this.
·                     Jeff con: My header must be initialized to 0 up front; a customer could forget to do this.
·                     Jeff pro: getting the body requires a header and it is more likely that a customer will get the headers first before calling this method.
FYI: Getting the body will probably require changes because the current strategy will NOT work for downloading blobs/files. But, it does work for everything else. Right now, I’m focusing on Key Vault and so we’re fine with this for now.

Jeffrey Richter (watch Architecting Distributed Cloud Appshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fazure.microsoft.com%2Ftraining%2Fdistributed-cloud-apps%2F&data=02|01|jeffreyr%40microsoft.com|948cf3366acf45f6ef8d08d62e3b3b00|72f988bf86f141af91ab2d7cd011db47|1|0|636747229263047172&sdata=sg%2FtzHWpscWQDr7foOSsaNrKDP5vNSHE3b72HJG8swU%3D&reserved=0)

From: Sergey Shandar<EMAIL_ADDRESS>Sent: Friday, November 1, 2019 10:40 AM
To: Azure/azure-sdk-for-c<EMAIL_ADDRESS>Cc: Jeffrey Richter<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-sdk-for-c] HTTP response parser with direct calls instead of discriminated unions (#131)
@gilbertwhttps://github.com/gilbertw, @antkmsfthttps://github.com/antkmsft, @vhvb1989https://github.com/vhvb1989, @JeffreyRichterhttps://github.com/JeffreyRichter please review the PR. It has both implementations

reading an HTTP Response using a parser. Example https://github.com/Azure/azure-sdk-for-c/blob/sergey/http-response-parser-direct-calls/sdk/core/core/test/test_http_response_parser_example.h#L11
reading an HTTP Response using get function and the last header as a parser state. Example https://github.com/Azure/azure-sdk-for-c/blob/sergey/http-response-parser-direct-calls/sdk/core/core/test/test_http_response_parser_example.h#L64

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-sdk-for-c/pull/131?email_source=notifications&email_token=AARLJP2GZGVDTI3BW3JOE5DQRRSXTA5CNFSM4JHBRYIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC3UPTQ#issuecomment-548882382, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARLJPZPLIMOEUVRVMH2X73QRRSXTANCNFSM4JHBRYIA.


How to add modHeader for chrome browser in protractor

Hi,
I am trying to use modHeader for chrome browser in my protractor test. This is my browser settings in protractor index.html file:
multiCapabilities: [{
browserName: 'chrome',
chromeOptions: {
args: ['incognito', '--no-sandbox', '--disable-infobars', '--disable-gpu', '--window-size=1200x800'],
prefs: {
// disable chrome's annoying password manager
'profile.password_manager_enabled': false,
credentials_enable_service: false,
password_manager_enabled: false,
download: {
prompt_for_download: false,
directory_upgrade: true,
default_directory: './downloads/'
},
plugins: {
// disable browser pdf viewer
always_open_pdf_externally: true
}
}
}
}],

Hi, I've solved this using the chromeOptions.extensions: [ ] in the multiCapabilities.
First you need to download the modHeader extension .crx file. Then you have to read this file and pass them to the extension array as base64 String. This is an example of that process https://stackoverflow.com/questions/27278222/is-it-possible-to-add-a-plugin-to-chromedriver-under-a-protractor-test
With that you can use the modHeader plugin in the browser that is executing the test (I've been using this method in a local webdriver-manager, or a Selenium standalone or grid).


style: codec.go

Coverage decreased (-0.02%) to 97.5% when pulling f3dc12add219f44aa2e0b01f13ed23000d4adc1e on mengskysama:patch-2 into b2ce2384e17bbe0c6d34077efa39dbab3e09123b on satori:master.

Coverage decreased (-0.02%) to 97.5% when pulling f3dc12add219f44aa2e0b01f13ed23000d4adc1e on mengskysama:patch-2 into b2ce2384e17bbe0c6d34077efa39dbab3e09123b on satori:master.

I think you could remove return as well, make it nice and short.


Demo site

The demo is site url is not working :)

I have removed the demo URL from the README.md.


Bug: Non-SvelteKit style access to environment variables

Prerequisites

[X] I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
[X] I have checked the latest version of the library to replicate my issue
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

Describe the issue
As part of issue #36 a new environment variable was added to the lib/hooks/sessionHooks.ts file. That change attempts to use process.env, which isn't available in all environments that SvelteKit may be running in.
This should be changed to the SvelteKit mechanism used elsewhere in the SDK:
import { env } from "$env/dynamic/private";

// ...
{ domain: env.KINDE_COOKIE_DOMAIN, /* ... */ }

I can make a PR if that is preferred.
Library URL
https://github.com/kinde-oss/kinde-sveltekit-sdk
Library version
2.1.0
Operating system(s)
macOS
Operating system version(s)
Sequoia 15.1
Further environment details
Cloudflare Pages
Reproducible test case URL
No response
Additional information
No response

@colinbate you wanted to create a PR that would be great and I will get that reviewed and released.


Application router conflicts with static RR plugin

Looks like a bug but not a bug. I'm a little bit confused because public directory do not contains these "files". Why this happens?

Versions:

PHP: 8.1.8
Skeleton: v3.0-beta2

Look like an expected behaviour RR with enabled static middleware and route with some file extension (.html, .txt, etc.)


ArgumentOutOfRangeException when data is removed from sample charts

When running the sample project, an exception is thrown if the 'Remove Data' button is clicked after all data points were already removed from a chart. This seems to affect all charts that have this functionality.
Which Blazor project type is your bug related to?

Server-Side

Which charts does this bug apply to?
All charts in the sample project that have the add/remove data functionality.
To Reproduce
Steps to reproduce the behavior:

Build and run the current master version of the project
Open the basic line chart (or any other chart that has a Remove Data button)
Click the Remove Data button until all data has been removed from the chart
Click the button once more
An ArgumentOutOfRangeException is thrown

Expected behavior
No exception should occur

Oh wow, that's embarrassing 😅
I specifically took care of this error for removing datasets because this was an issue with the last sample-version. But that made me miss the other one, oops.

Yeah, that happens. I pushed an update to #165 which should fix the samples. After the patch I wasn't able to crash any of the samples.


Handle Bot.OpenTrade exception "TradeCooldown"

How can I check if bot account is under cooldown of trading when I call Bot.OpenTrade? THanks in  AdVance)000

I'm currently rewriting that bot for Dota proposals and I need to debug my bots)))

#427 #527


Reason for not supporting 10-bit i2c addressing

Hey,
Just out of interest, what is the reason for not supporting 10-bit addressing in i2c communication?
I looked around for a bit, but did not discover anything specific.
Best regards
Anton Oellerer

Hey Anton. When RPPAL's I2C module was initially developed, 10-bit addressing wasn't supported by the underlying Linux drivers on any of the Raspberry Pi models available at the time. I haven't checked if this has changed recently, but you should be able to call set_addr_10bit, and it'll check if the underlying driver supports this feature.


[FLINK-12945][docs] Translate RabbitMQ Connector page into Chinese

What is the purpose of the change
Translate RabbitMQ Connector page into Chinese
Brief change log
Translate RabbitMQ Connector page into Chinese
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: ( no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no )
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@wuchong

@wuchong
Thanks for your suggestions. Fixed.


Checkbox Group in param?

Are there any plans to include Checkboxgroup as a parameter? So far the only option (that I see) for selecting multiple options is param.ListSelector, but this shows up as a list, which is not as convenient as checkboxes.
https://panel.holoviz.org/user_guide/Param.html

No current plans.  That would need not just a list of Booleans, but a list of Booleans with names, so I'm not sure how to define that as a meaningful Parameter.  param.ListOfNamedBooleans doesn't exactly roll off the tongue!  If you can think of a way to name and describe it in Param terms (i.e., not referring to any GUI elements, just the actual data involved) that makes sense, then it would be easy enough to add to Param (and then to Panel).
In the meantime, can you use something like this?
import panel as pn, param as pm
pn.extension()

class checks(pm.Parameterized):
    a = pm.Boolean()
    b = pm.Boolean()
    c = pm.Boolean(True)
    d = pm.Boolean()

class other(pm.Parameterized):
    i = pm.Integer(bounds=(0,5))
    c = pm.ObjectSelector(checks, precedence=-1, readonly=True)
    f = pm.Number(bounds=(-1,1))

o = other()
pn.Row(pn.panel(o.param, expand=True))

This is already possible using the ListSelector param. As @jbednar pointed out parameters should have meaning beyond GUI elements, if you need a specific visual representation Panel offers the ability to map to that representation:
class Test(param.Parameterized):
    int_list                = param.ListSelector(default=[3, 5], objects=[1, 3, 5, 7, 9], precedence=0.5)

test = Test()
pn.Param(test, widgets={'int_list': pn.widgets.CheckBoxGroup})

This is already possible using the ListSelector param. As @jbednar pointed out parameters should have meaning beyond GUI elements, if you need a specific visual representation Panel offers the ability to map to that representation:
class Test(param.Parameterized):
    int_list                = param.ListSelector(default=[3, 5], objects=[1, 3, 5, 7, 9], precedence=0.5)

test = Test()
pn.Param(test, widgets={'int_list': pn.widgets.CheckBoxGroup})

Makes sense, the mapping worked. Very convenient. Initially it didn't occur to me that I could do that from reading the User Guide, but it is now. Thanks!
David


Update CHANGE_LOG for 0.37.0 release.

As title.

Codecov Report

Merging #2733 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2733      +/-   ##
==========================================
- Coverage   86.27%   86.27%   -0.01%
==========================================
  Files         323      323
  Lines       66587    66587
  Branches     7414     7414
==========================================
- Hits        57450    57447       -3
- Misses       7947     7950       +3
  Partials     1190     1190


Expose solution

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
a user might have a server running on a local machine or vm on the grid and this machine has Mycelium IP or Yggdrasil and would like to expose this server to the public network.
Describe the solution you'd like
The user can use the grid gateways to expose his server on a domain by using his machine IP or the vm IP (can be Mycelium IP, Yggdrasil IP, or public IP (v4 or v6))
The solution should ask for the gateway node, a subdomain, the IP, and the port.

@ehab-hassan Please provide an icon for this solution

Issue Update Format

Work Completed:
Added the expose solution to the dashboard
Work in Progress (WIP):

waiting on expose icon
adding docs to the manual
adding validation to the ip field

@ehab-hassan Please provide an icon for this solution

I like option2

Work Completed:

added expose icon
added docs to the manual
added validation to the ip field

Issue Update Format

Work Completed:
Removed deploying vm
Investigation and Solution:
I get an error while deploying , still investigating

This means that you are trying to deploy a gateway workload and using a network's name doesn't exist (you didn't deploy it and you don't need it). This network field on the gateway workload is only used for  wireguard netwirk

Work Completed:
Fixed dialoge feature with domain
Investigation and Solution:
Deployment list doesn't work probably as there's no projectNae added to the gateway contract

Work Completed:

Fixed dialogue feature on row-click
Fixed rollbackGateway
Fixed deleting domain instances

Devnet, 99b5130.
It worked on all networks except for IPv6, it gives me an error not found.

Also, using wireguard is not supported; its deployment is different than the other networks.

Last thing what does the health mean?

Because it shows ok in either way the domain is up or down.

Also, using wireguard is not supported; its deployment is different than the other networks.

Wiregaurd is indeed not supported

Devnet, 99b5130.
It worked on all networks except for IPv6, it gives me an error not found.

its missing the http://, could be the error.

I think the ipv6 you provided isn't a valid ip, Please try it again because I tried and ipv6 works just fine

I think the ipv6 you provided isn't a valid ip, Please try it again because I tried and ipv6 works just fine

True, it wasn't with the IPv6 but rather with the tls passthrough option; if you turn it on, the domain will not work.

I think the ipv6 you provided isn't a valid ip, Please try it again because I tried and ipv6 works just fine

True, it wasn't with the IPv6 but rather with the tls passthrough option; if you turn it on, the domain will not work.

Also chip should be green and red, and in some deployment table is called status.

If the server doesn't have a certificate and you enable the tls passthrough it will never work

Verified, Devnet a948bfa.
The domain is now working fine with all network interfaces except for Wiregurad and with the TLS option on/off.

And health chip is fixed.

Test case: TC2827 - Deploy Domain

test scenarios:

write better test case descriptions
details details details pwease @khaledyoussef24
test on local deployment (mentioned above)

issues:

update subdomain tooltip to include an example, clearer text
tooltips typos
TLS switch looks clickable in deployment details dialog <- move to deployment details dialog


Handle NetSuite dynamic address requirement in 2020.1 release

Problem
NetSuite has altered their WSDL, presumably to make dynamic subscriber targeted specifications in the future.  This module handles this poorly and during use passes an error specifying that a subscriber based host name is required.  Zeep does not manage this, but must use this address.
Solution
Wrap the zeep.transports.transport call with an address manipulator that recognizes and applies the appropriate dynamic domain name to the request.  This provides access to production, sandbox, and release preview hosts based upon the initial WSDL definition request.

@jmagnusson could you build this to pypi? It enables this package to work with versions beyond 2018.2, which would be really useful.

@merit-sno ?

PyPI repository updated

Thank you!


Regression: Cannot parse arrow fn exprs in conditional expr cons and alt in this scenario

Describe the bug
Regression of #2174
https://github.com/swc-project/swc/pull/3685#issuecomment-1050701591
This syntax no longer parses, yet it is valid JavaScript. Maybe the TS compiler can't figure out how to parse it right now, but it works in V8.
https://astexplorer.net/#/gist/d8417911fb6ea22a87b63d441b2a0e87/20b56c10cf6e34b3e7ddc60e9328702e09c930fd
cc @williamtetlow
Input code
const x = {
    prop: true
        ? fn => ({ })
            : fn => true,
};

Config
No response
Playground link
https://play.swc.rs/?version=1.2.151&code=H4sIAAAAAAAAA0vOzysuUahQsFWo5uVSAIKCovwCK4WSotJUCB8E7BXS8hRs7RQ0qhVqNRHCIGAFlQJp0OHlqrUGAGjLrV1RAAAA&config=H4sIAAAAAAAAA0WOQQ6DMAwE%2F%2BIz1%2FaQP%2FCIKBiUipDIa6RGiL%2FXoaG9edfeWR%2F0QiB3UPECljahburf5EhrYQSJRWkghVmzX8GnCS8Lq50wHrZbcwaTU9l5oBS3ONcGCjkVYaDnbOW3ZeUbY5yUp70Zx9V18Z7Gg0oM%2Bot95Zgn%2Fn9wt%2FSTiLGj2hPnBwXfhU7WAAAA
Expected behavior
Should parse.
Actual behavior
error: Expected ':', got ','
 --> input.ts:4:25
  |
4 |             : fn => true,
  |                         ^

Caused by:
    0: failed to process js file
    1: failed to process js file
    2: Syntax Error

Version
1.2.151
Additional context
No response

I think the patch for #2174 was removed for some reasons, but I don't remember the PR removed it.

It was in #3685. I think it's reasonable that this doesn't parse in TS given that the TS compiler can't figure it out, but it should still at least parse in JS.

@dsherret this does parse as JS. The playground you shared has language set to Typescript
see
https://play.swc.rs/?version=1.2.151&code=H4sIAAAAAAAAA0vOzysuUahQsFWo5uVSAIKCovwCK4WSotJUCB8E7BXS8hRs7RQ0qhVqNRHCIGAFlQJp0OHlqrUGAGjLrV1RAAAA&config=H4sIAAAAAAAAA0WOSw7DMAhE78La23bhO%2BQQyCGRK%2F8ERKpl5e61G6fdATPzmAYvcWAbFGQhHpPUpPgGC%2BQiimNfFEy39dOGQeg0oMg76bDIo2shZyGwygcZiD75rQ6Qy7EwicxclzDtgW5M58S8HuPQQGuhL%2B%2FZeaLsnf5i17rklf4N7i%2FT4mWZqFHi%2FACR4MgV1gAAAA%3D%3D

@williamtetlow yup, I missed that and my bad! I think though that we should still try to support this in TS because it might be fixed in tsc in the future.
That said, given that it parses in JS and the TS compiler itself has this bug then I think it's very low priority.

I just went to report this to TypeScript's repo and at the last second I discovered it is fixed in the latest TS nightly:
https://ts-ast-viewer.com/#code/MYewdgzgLgBAHjAvDA3gKBpmAHATibALhilwFcBTDLGgfhgDMwkA+GAChRgF8BKamoJjEmrEuQoAaNNwDcQA (select @next in Options > Version)
https://www.typescriptlang.org/play?ts=4.7.0-dev.20220302#code/MYewdgzgLgBAHjAvDA3gKBpmAHATibALhilwFcBTDLGgfhgDMwkA+GAChRgF8BKamoJjEmrEuQoAaNNwDcQA

No probs 🙂
For context, I can see why TSC doesn't support it at the moment as it's quite a difficult issue to fix.
The following will parse as we can tell that what comes after the : is the falsy expression.
true ? fn => { } : fn => 1

but when parsing
true ? fn => ({ }) : fn => true

This bit({ }) : fn => true could be the beginning of a type definition or the falsy expression and we assume the former the same way TSC does.

O

I just went to report this to TypeScript's repo and at the last second I discovered it is fixed in the latest TS nightly:
https://ts-ast-viewer.com/#code/MYewdgzgLgBAHjAvDA3gKBpmAHATibALhilwFcBTDLGgfhgDMwkA+GAChRgF8BKamoJjEmrEuQoAaNNwDcQA (select @next in Options > Version)
https://www.typescriptlang.org/play?ts=4.7.0-dev.20220302#code/MYewdgzgLgBAHjAvDA3gKBpmAHATibALhilwFcBTDLGgfhgDMwkA+GAChRgF8BKamoJjEmrEuQoAaNNwDcQA

Oh ok let me take a look at how they fixed it

It looks like pretty simple fix they just do the opposite now 😄 I can take a look
https://github.com/microsoft/TypeScript/pull/47550

@williamtetlow oh nice! Thanks so much for looking into this 🙂


Format location properties as numbers

Hey, I was just comparing this plugin to the obsidian map view plugin, which has similar functionality, but I like how your plugin adds more info to the notes.
But I did notice one major difference when adding the location info to the notes. Obsidian Map View formats the location property as numbers, but your plugin does so as strings.
I understand why you probably decided to use strings, as it shows the property properly within the Obsidian property tool and still keeps it editable, as this is exactly a problem Obsidian Map View actually has.
But this difference makes it incompatible to use your plugin with Obsidian Map View (although the Leaflet plugin still works), so I was wondering whether you could add a setting for the user to choose which format to apply when adding the frontmatter. Like let the user choose whether to format the values as strings or not.
Would that be possible? Thx
https://github.com/jose-elias-alvarez/obsidian-geocoding-properties/blob/c501cb31dae02d99651308a2b8b5bcda4b46c93a/src/main.ts#L97-L98

Hmm, I'm not necessarily opposed to adding a new setting or a new property to handle this, but as you noted, using numbers instead of strings makes the property uneditable in Obsidian, since it doesn't know how to handle it:

Are you sure it wouldn't be better to solve this issue in Obsidian Map View?

Yes, I know that neither is ideal, I just thought that the format with numbers instead of strings also somewhat makes more sense, as coordinates are numbers after all.
In the end, it would be good to be able to create custom property formats in Obsidian itself, as someone in the thread I linked above also suggested. But in the meantime, either plugin developers need to come up with their own fixes :/
Anyway, not a hard problem for me, just thought this side would be the easiest fix

If for whatever reason the issue can't be solved in obsidian-map-view (the maintainer is unwilling or the plugin is unmaintained) then I'm open to adding an option here. (I see that the repo owner tagged the issue you linked in January, so hopefully putting in a fix there is an option, since I suspect it'll take quite a while before Obsidian allows custom property types.)

Yeah, makes sense. Maybe they can fix it there

The map view plugin has a new version in the works related to these issues - https://github.com/esm7/obsidian-map-view/tree/v5.0
My opinion is that data like [lat,long] should be an array since it's easier to parse that way and I think Obsidian properties get confused in some cases if the literal [lat,long] string is in a string type property since it thinks its an array. So that would be my preference for how a plugin saves location data. But good config options for how the plugin does it would be great so we could do whatever.
Thanks for the plugin!

An option in the config would be ideal for me to, as I would like to store them as [lat,long]as well.


AttributeError: 'Tensor' object has no attribute 'numpy'

I am trying to implement BERT from TF hub in TPU.
In order to make TF 2.0 work with TPU in colab i have to disable eager as suggested here.  But now issue is that i am getting this error
AttributeError: 'Tensor' object has no attribute 'numpy'
when i run vocab_file = bert_layer.resolved_object.vocab_file.asset_path.numpy()

I'd like to suggest that you can try the latest TF2.2 with Colab TPU without disabling the eager execution.
The #4 works like a charm now, I hope this can fix your issue.


nan in boxes when training

I have setup the environment according to the repository instructions and train a model using my own custom dataset.
The training always encounter the following error:
File "SparseR-CNN/projects/SparseRCNN/sparsercnn/util/box_ops.py", line 51, in generalized_box_iou
    assert (boxes1[:, 2:] >= boxes1[:, :2]).all(), boxes1
AssertionError: tensor([[nan, nan, nan, nan],
        [nan, nan, nan, nan],
        [nan, nan, nan, nan],
        ...,
        [nan, nan, nan, nan],
        [nan, nan, nan, nan],
        [nan, nan, nan, nan]], device='cuda:0', requires_grad=True
)

As you can see, I print out the boxes when encountering the error and it has some nan values.
I have tried to decrease learning rate from 0.01 to 0.005 and even 0.0025, but the error is still there.
So could you help me to fix it? Thank you.

@Kongsea The default learning rate in our paper is 0.000025, your learning rate may be too large.
If your batchsize is less then 16, the learning rate should be even much smaller.

The error has been fixed after decreasing lr. Thank you.


[UX] Get started with Litmus links in mobile

For #118
In mobile inside "Get started with Litmus" section if we click on any link, it seems like nothing is happening

Suggested behaviour:
to give user better experience, on click of any of these links should scroll up to terminal to display terminal

Closing old issues as the design has changed.


max-height with flex-direction columns and wrapping

http://codepen.io/lambert-velir/pen/ZGrrNy

Your pen doesn't have autoprefixer turned on which is needed to add vendor prefixes. Try this:
http://codepen.io/jpdevries/pen/ZGrxLv
You can click the settings button in the CSS column and enable Autoprefixer for your pen

The issue is with the background.  This is for a dropdown menu, so i need to be able to style the background ul as "shrinkwrapped" around the columns.

Ok. Do you see the effect of using autoprefixer has? That alone makes it wrap to two columns

I do see that.  The 's look like they're wrapping correctly, but the grey background (or any wrapper that I've tried) is only the height of the 2nd column, and isn't the width of both columns.

Oh I see what you're saying. I'm not sure whether or not that is a flexbox bug, but what about using CSS Columns instead?
http://codepen.io/jpdevries/pen/VLQXWJ

Hmm, that is a possibility.  But the reason I wanted to use flexbox in the first place is that the number of menu items is dynamic.  We don't know how many there will be, so I wanted the dropdown to be 1 column if they fit, and they should overflow to a 2nd column if there are too many to fit in the max height.

Ya, that makes sense why you'd want to keep things flexible. How about this?
http://codepen.io/jpdevries/pen/vOdRpY
It isn't perfect. Without the padding-bottom:1em Safari has a little glitch. It looks like it isn't moving one of the items over to the next "column" correctly.

Yeah, this seems like a bug to me. If you look at the demo in Edge you'll notice it renders correctly.

I submitted this bug to Chrome:
https://code.google.com/p/chromium/issues/detail?id=507397
I can't really think of a good workaround for this, so I probably won't add it to the list in the README. If anyone else has any ideas, let me know.

This is the best solution I've found for this issue: http://stackoverflow.com/questions/39617628/height-of-flex-container-not-working-properly-in-safari
Wrap the ul in a flex div and apply the max-height there. Force the ul to have 100% width. Here is the same code revised: http://codepen.io/tylertadej/pen/VpWZgp
Unfortunately the suggestion provided on Jul 3, 2015 doesn't actually fix anything but only works for that specific amount of list items. The height was still being defaulting to the shortest column.

Note that this is only a "fix" if your wrapper div either has a defined width or contained just within the body or any other block element within flow. If you have this situation nested within an absolutely positioned element (outside of normal flow), and you don't want to throw a defined width on the wrapper, I think there's really no fix.


Getting started doc corrections for MAC

In Getting Started https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
Build tools on MacOS Sonoma, didn't work, couldn't build anything, page 37:
$ brew install cmake
$ brew tap ArmMbed/homebrew-formulae
$ brew install arm-none-eabi-gcc

corrected like this:
$ brew uninstall arm-none-eabi-gcc
$ brew auto remove
$ brew install --cask gcc-arm-embedded

This probably requires another test and review...
When building openOCD, install step is missing, page 63, commands:
$ cd ~/pico
$ git clone https://github.com/raspberrypi/openocd.git --branch rp2040 --depth=1
$ cd openocd
$ export PATH="/usr/local/opt/texinfo/bin:$PATH" ①
$ ./bootstrap
$ ./configure --disable-werror ②
$ make -j4

You should add:
$ make install

Missing install step causes vscode not finding openocd and/or required scripts for debug.
Debugging in VSCode using pico probe (page:65) needed to add in launch.json copy from (launch-probe-swd.json):
"openOCDLaunchCommands": ["adapter speed 5000"],

Setting is taken from better way to test working openocd when pico probe is connected
$ openocd -f interface/cmsis-dap.cfg -c "adapter speed 5000" -f target/rp2040.cfg -s tcl

also needed to change to go along with arm tools:
 "gdbPath" : "gdb-multiarch",

to:
"gdbPath" : "arm-none-eabi-gdb",

So final launch.json for MAC is:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Pico Debug",
            "cwd": "${workspaceRoot}",
            "executable": "${command:cmake.launchTargetPath}",
            "request": "launch",
            "type": "cortex-debug",
            "servertype": "openocd",
	    "openOCDLaunchCommands": ["adapter speed 5000"],
            // This may need to be "arm-none-eabi-gdb" for some previous builds
            "gdbPath" : "arm-none-eabi-gdb",
            "device": "RP2040",
            "configFiles": [
                // This may need to be "interface/picoprobe.cfg" for some previous builds
                "interface/cmsis-dap.cfg",
                "target/rp2040.cfg"
            ],
            "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
            "runToEntryPoint": "main",
            // Work around for stopping at main on restart
            "postRestartCommands": [
                "break main",
                "continue"
            ]
        }
    ]
}

Hope this helps to improve Getting Started doc and other Mac users, now I can build and debug pico programs.

Duplicate of raspberrypi/pico-feedback#355

Just an FYI make install after building openocd from the above commands didn't quite work out for me. Needs to be a sudo make install.


add pton builtin

Description
This pull request addressed the proposal in https://github.com/iovisor/bpftrace/issues/2248, added a new built-in function pton.
The pton converts text-formatted IP addresses to byte arrays, which is exactly reversed-version of ntop. It should come in handy when we need to select packets with certain IP addresses.
Plan
The current implementation only support comparison byte by byte, direct byte array comparison will be implemented in future pull requests.
Checklist

[x] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[x] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

@danobi @fbs @viktormalik Thanks for the suggestions!
I've updated the commits to address those issues. 😃

@viktormalik @danobi The inet_pton check has been added to semantic analyser, it should find empty string or illegal address in the first place now.


Automatically generate tests for the user service

Automatically generate tests for the user service with the OpenAPI generator and template if needed.
See:
- OpenAPI Tutorial: How to Automatically Generate Tests for OpenAPI Generator SDKs
Related tasks:

#481
#569

This would be nice to have by the time the user service is completed still this sprint (22.11). The knowledge of how to add unit and integration tests for micro-services would greatly improve the robustness of the code base. Most of the tests could be copy-pasted-adapted from one service to another.


update alpine base image to v3.18.4

Update Alpine container base image to v3.18.4.
Update Alpine container base image to v3.18.4.

/assign @bmelbourne

/label release-note/ci

/test

@markpash @lambdanis can you take a look? Thank you

Hey @bmelbourne, thanks for opening the PR. I see that examples/kubernetes-memcached/memcd-sw-app.yaml is used in documentation here: https://docs.cilium.io/en/latest/security/memcached/. Have you verified that the instructions on this page work with the new version?

Hey @bmelbourne, thanks for opening the PR. I see that examples/kubernetes-memcached/memcd-sw-app.yaml is used in documentation here: https://docs.cilium.io/en/latest/security/memcached/. Have you verified that the instructions on this page work with the new version?

@lambdanis
I'll take a look and respond in the near future.

Converted to draft for now. Please mark as ready once you've had time to verify the instructions work.


⚠ ClamAV has degraded performance

In 5521c49, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in 340c3c0 after 5 minutes.


Issue on page /xgcm-examples/05_autogenerate.html - broken boundary_discontinuity arg

Rerunning old code and am getting a new error message. Attached is the sample code found on the docs website. Even with this sample on the site it produces the same error. I'm not sure if this is a break due to an update or something else, but I'd appreciate anyone's help on fixing the issue so that I may run my old code with the argument bonudary_discontinuity=360. Thanks!
from xgcm.autogenerate import generate_grid_ds

# download the data
import urllib.request
import shutil

url = 'https://zenodo.org/record/4421428/files/'
file_name = 'uvwnd.10m.gauss.2018.nc'
with urllib.request.urlopen(url + file_name) as response, open(file_name, 'wb') as out_file:
    shutil.copyfileobj(response, out_file)

# open the data
ds = xr.open_dataset(file_name)
ds_full = generate_grid_ds(ds, {'X':'lon', 'Y':'lat'})

grid = xgcm.Grid(ds_full, periodic=['X'])

dlong = grid.diff(ds_full.lon, 'X', boundary_discontinuity=360)
dlonc = grid.diff(ds_full.lon_left, 'X', boundary_discontinuity=360)
dlonc_wo_discontinuity = grid.diff(ds_full.lon_left, 'X')

dlatg = grid.diff(ds_full.lat, 'Y', boundary='fill', fill_value=np.nan)
dlatc = grid.diff(ds_full.lat_left, 'Y', boundary='fill', fill_value=np.nan)

dlonc.plot()
dlonc_wo_discontinuity.plot(linestyle='--')

Error message:
TypeError: apply_ufunc() got an unexpected keyword argument 'boundary_discontinuity'

Bumping this because it hasn't been addressed and it's very annoying.


maybe link to this Windows install walk-through

This is for installing K starting with a fresh Windows Subsystem for Linux install. Written April 2019 in/for Windows 10 Pro 64-bit.
Install the Ubuntu package from the Windows Store, which as of now is an alias for the Ubuntu LTS 18.04 package.
I downloaded kframework_5.0.0_amd64_bionic.deb to C:\linux.
From the windows command prompt:
ubuntu
It'll take a few minutes to install, then you'll make a user account, and then you're in a linux shell.
You need to download package source data before you can install anything. I first tried
sudo apt update
but that reported a couple errors, so I tried again with
sudo apt-get update
and that completed with no errors. Lastly:
sudo apt-get install /mnt/c/linux/kframework_5.0.0_amd64_bionic.deb
That installed 1.4GB of dependencies, some of which is basic dev stuff, since it's a fresh ubuntu install, and took a long time for me. It also, apparently, compiles OCaml.
Some instructions beginning with 1. To configure OPAM in the current shell session showed up during the installation, and I've ignored them for now. There was also a worrying part where OPAM asked if it could modify ~/.profile and ~/.ocamlinit, and apt-get apparently answered no for me. I haven't done anything about that.
I ended up with a k installation at /usr/lib/kframework with everything owned by root, so I did:
sudo chown -R dustin:dustin /usr/lib/kframework
I added export PATH=$PATH:/usr/lib/kframework/bin to my ~/.bashrc. That was enough for the test suggested in K's INSTALL.md to work:
source ~/.bashrc
make /usr/lib/kframework/tutorial/2_languages/1_simple/1_untyped/
krun make /usr/lib/kframework/tutorial/2_languages/1_simple/1_untyped/tests/diverse/factorial.simple

You don't actually need to add anything to your path. It creates scripts that invoke everything in /usr/bin, like a normal ubuntu package. There are a few obscure scripts we don't create links for, but none of them are commonly used. If you end up needing them, you can update the path like you said.
K also works just fine with everything owned by root, and you can just copy the tutorial directory into your home directory and build everything with make or kompile.
As far as the ocaml messages in the terminal, you can ignore them. Ocaml is difficult to distribute, so we did the expedient thing and built it in a postinstall hook. But everything gets localized to /usr/lib/kframework/lib/opamroot and does not at all touch any other installation of ocaml you have on the machine. That's why we don't bother trying to setup ocaml for the user. The ocaml backend is going to be deprecated eventually when the llvm backend becomes production ready, so we didn't make it a priority to perfect the packaging process. Patches to make dpkg-buildpackage build ocaml and distribute it instead of building it at install time are welcome though (although you should be warned that it's going to be a huge hassle to get working).
If you want to get your instructions included in the repo, I'd suggest making a pull request so that we can go through the review process.

If you want to get your instructions included in the repo, I'd suggest making a pull request so that we can go through the review process.

that was the limit of my caring

Thanks for your feedback @dwightguth. I think others getting started would want to read it, so consider linking to it!

@dwightguth Or just add "installing on window is easy too", because it was, but the documentation makes it sound like it'll be a pain. And using WSL is pleasant. I probably wouldn't switch to a native windows client if one was released.
Still not sure what to expect trying to install on OSX, so I haven't tried.

@DustinWehr we had one of our engineers make a PR for it, could you take a look? https://github.com/kframework/k/pull/392

@DustinWehr Thanks for the guide. We are in the process of integrating it to README.


Add support to jmx metrics

Hi!
I'm adding support to jmx metrics. It's usefull for capture metrics and build some monitoring system.

@cla-bot check

@cla-bot check

@cla-bot check

@cla-bot check

@cla-bot check

@heitorrbarros please rebase and add a test, similar to https://github.com/trinodb/charts/blob/main/charts/trino/templates/tests/test-connection.yaml, that would check if the JMX metrics can be queried, when enabled.


Fix headers merge in HttpClient.prototype.__mergeConfigs

[ ] Fix HttpClient.prototype.__mergeConfigs

https://github.com/Byndyusoft/nest-template/blob/34636fd189efa8182d307d0af577642b6f56bf2b/packages/client/src/providers/httpClient.ts#L102-L107

[ ] Fix URL join

https://github.com/Byndyusoft/nest-template/blob/34636fd189efa8182d307d0af577642b6f56bf2b/packages/client/src/clientModule.ts#L53

[ ] Minimize http client

Fixed in b1632ccf084bd0de7d4c6f1a9819078ff7cd4725


Copy labels between projects

On the labels tab, add a new button to copy labels from another project. And/or import a set of labels from a file.

It is discussed at #360.


ci: update sdk

:white_check_mark: Build TheIdServer 2.1.1-fix-dependencies1-0069 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/4ebc95e627 by @)

:white_check_mark: Build TheIdServer 2.1.1-fix-dependencies.1+69.build.1069 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/dc8bf97398 by @)


config

i cant round the bar or get the font to change as in i dont know how
i want it to be exacly like on the preview horizontal light

edit /config.js. Change "square" to "light". You may need to install the font Comfortaa.


Change instances of caskroom.io to caskroom.github.io

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

After the last one failed badly, hopefully this time it works.
(Ping @reitermarkus)

@Numbermaniac, can you rebase this? Thanks.

Everything looks fine, but there are some file conflicts.

@vitorgalvao @reitermarkus Rebased, all fixed.


Removing the resource ID or process name from the text box by deleting text does not cause the search to be cleared

v0.41.0-rc1
Steps To Reproduce

Do a search on processes with text in either resource ID or process name
Remove the text in the text box (Note that the clear and search button are disabled)
Click on "All" or "Running"

Result: Search continues happening on the text that was deleted.
Expected Result: Since there is no text in the textboxes, clicking on All or Running should not be running the search from the previous search.

Version - master 1/29
Verified fixed
Clear is left as active so you can still clear everything out after you remove the text


NoClassDefFoundError on running Jar file

When building the project with mvn clean package and running the jar file, it stops with:
NoClassDefFoundError: de/fraunhofer/iais/eis/RouteStep

The problem is that we are using a newer version of the infomodel which is located in the lib folder at our site. This contains classes that do not yet exist in the infomodel, which is obtained from the Maven Reposi.
One possible solution at the moment is to go to the configmanager folder and call mvn spring-boot:run from the console.

@BastianWel
Update: The configmanager uses from now on the infomodel version 4.2.0-SNAPSHOT
starting the application with java -jar configurationmanager-1.0.1.jar should not cause any problems anymore


Hovering over table of content text sometimes causes it to spill over to 2-lines

At certain browser widths, the right-hand-side table of contents text would flow to the next line when hovering over the text (see Step 1 and Step 5 here)

Closing in favor of #9444

Closing in favor of #9444


Added .txt to install line

Install fails with No such file or directory: requirements

Thank you!


no-inferred-empty-object-type not working for function

Bug Report

TSLint version: 5.4.3
TypeScript version: 2.4
Running TSLint via: CLI

TypeScript code being linted
{
    class Wrapper<L> {
        constructor(public val?: L) {}
    }
    let x = new Wrapper(); // expected error, got error
}
{
    const wrapper = <L>(val?: L) => ({ val });
    let x = wrapper(); // expected error, no error
}

with tslint.json configuration:
{
    "rules": {
        "no-inferred-empty-object-type": true
    }
}

Potentially related: https://github.com/palantir/tslint/issues/2908

I find that to be in line with current design - intersection between undefined and empty object is not equivalent to empty object. What might be of interest though is that this won't generate an error either:
{
    const wrapper = <L>(val?: L) => ({ val: val! });
    const x = wrapper(); // Expected error, no error
}

Which again, happens due to the inferred type not being empty interface, however, at point of use it becomes one. (Avoidable by disallowing null assertions). Perhaps add an option for catching {} | undefined?

Ah, that makes sense. Thanks for the explanation.

an option for catching {} | undefined?

This would be ne good!

☠ TSLint's time has come! ☠
TSLint is no longer accepting most feature requests per #4534. See typescript-eslint.io for the new, shiny way to lint your TypeScript code with ESLint. ✨
It was a pleasure open sourcing with you all!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


dbpedia ontology

To support DBpedia ontology.
We need to extract the properties for each class

Now it is ontology agnostic


Handle dates and date-times correctly in headers and URLs

Motivation
We're not currently correctly respecting "format" requirements on header, path, and query string parameters for dates and date times.
Modifications

Pass the "format" specifier from OpenAPI to the various serializers and deserializers
Use some tricks respected by JIT to efficiently provide alternate code paths for DateTime, DateTimeOffset, and boolean serialization and deserialization.
Fix some tests that weren't properly using the right generic params

This is the last piece of the puzzle to close #147.
Fixes #147

/merge


Missing preprocessor tokens

Handling of preprocessor tokens is missing:

The # is being marked as punctuation.definition.preprocessor (I'll addd meta.preprocessor.swift here) and the if/endif are being marked as meta.preprocessor.c (I'll change this to meta.preprocessor.swift), which in my color scheme look like the above.

The meta scopes are not supposed to be highlighted by a .sublime-color-scheme. The C syntax uses keyword.control for all of these preprocessor keywords. Consider adding keyword.control for Swift, too.

I followed the guidelines at https://www.sublimetext.com/docs/scope_naming.html#meta - and zenburn works well for me.  A PR is welcome, but I don't have a way of testing these changes, and so I don't have an easy path to implement them.


get_mut should imply set, which should imply get

I'm using this crate a lot and it's making my struct definitions kinda verbose, so I propose this idea to reduce the verbosity:
Whenever a field has #[set], it should also automatically get a getter, and when it has get_mut it should automatically get a setter and getter, because get_mut already can be used as a setter but the actual set() should be generated for convenience. And we can assume that whenever a field has a setter, the author usually also wants it to have a getter as well. In those rare circumstances when that is not the case, the author can just write a manual setter instead of using the attribute.
What do you think?

I think in this particular case I'd rather avoid having implict magic. Similar to #3 I think exploring a more succinct syntax for the definition may be a better way.


Quotes for the pip install command

The example pip install command doesn't work without quotes on zsh, as square brackets are not interpreted literally.

Thanks!

Hmm, though even this doesn't seem to have done enough 🤔
$ pip install "rich-pixels[image]"
Requirement already satisfied: rich-pixels[image] in /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages (1.0.1)
Requirement already satisfied: rich<13.0.0,>=12.0.0 in /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages (from rich-pixels[image]) (12.5.1)
Requirement already satisfied: pillow<10.0.0,>=9.0.0 in /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages (from rich-pixels[image]) (9.1.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages (from rich<13.0.0,>=12.0.0->rich-pixels[image]) (2.13.0)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages (from rich<13.0.0,>=12.0.0->rich-pixels[image]) (0.9.1)

$ nf-core --help
╭────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ /Users/ewels/.miniconda3/miniconda3/envs/py3.10/bin/nf-core:8 in <module>                                             │
│                                                                                │
│   7 │   sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])                                              │
│ ❱ 8 │   sys.exit(run_nf_core())                                                                                │
│   9                                                                                │
│                                                                                │
│ /Users/ewels/GitHub/nf-core/tools/nf_core/__main__.py:103 in run_nf_core                                              │
│                                                                                │
│    102 │   stderr.print("\n")                                                                                │
│ ❱  103 │   pixels =                                                                                │
│        Pixels.from_image_path("/Users/ewels/GitHub/nf-core/nf-core-logos/nf-core-logos/nf-core-                       │
│        logo-square.png")                                                                                │
│    104 │   stderr.print(pixels)                                                                                │
│                                                                                │
│ /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages/rich_pixels/_pixel.py:46 in              │
│ from_image_path                                                                                │
│                                                                                │
│    45 │   │   with Image.open(Path(path)) as image:                                                                   │
│ ❱  46 │   │   │   segments = Pixels._segments_from_image(image, resize)                                               │
│    47                                                                                │
│                                                                                │
│ /Users/ewels/.miniconda3/miniconda3/envs/py3.10/lib/python3.10/site-packages/rich_pixels/_pixel.py:55 in              │
│ _segments_from_image                                                                                │
│                                                                                │
│    54 │   │   if not _PIL_INSTALLED:                                                                                │
│ ❱  55 │   │   │   raise PixelsError(                                                                                │
│    56 │   │   │   │   "Methods like from_image and from_image_path require "                                          │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
PixelsError: Methods like from_image and from_image_path require the 'image' extra dependencies to be installed.

Ok I have no idea what happened, but I messed around doing pip install Pillow of various versions (downgrading and then upgrading again) and eventually it worked 🎉


jQuery.MultiFile.min.js not up-to-date

jQuery.MultiFile.min.js was last changed in April 2016, jquery.MultiFile.js in June 2016…

I'm unable to maintain the project any more but have made you a collaborator. Hope that's OK.

The min file is compiled manually using https://closure-compiler.appspot.com/home - this project pre-dates  node, I think maybe even github itself, haha.

OK, thanks, will have a look at it.

Working on it. I got the docs to build, with some fixes, will need to work on minification (apparently uglifyjs via grunt via npm… sigh). But I’m letting you know I’m on it and will release an updated version soon™.

I fixed the build process, regenerated the file and released v2.2.2 (from whatever code was at the HEAD of the master branch) to fix this issue.


Copy hotkeys

To do:

[x] "lift" functionality out of Display component, and move shortcut into another (Presenter/index.js most likely)
[x] Reset Settings does not work (simulate a crash). Server overwrites this, since server passes along changes, not removals. Have to signal for remove somehow, have a separate event for removal, or flip-over to passing the current user's settings, always
[x] Reset/remove settings. Related to above.
[ ] Configure hotkeys

Moving configuring hotkeys out of this PR


Adding reference to Promptery (Ollama client) to README.md

Added link and minimal description for Promptery (https://github.com/promptery/promptery)

Thank you, and updated the PR


Add testing section to README

This gem is great. Thanks so much for your work!
I am just using it for the first time and struggled a bit to get a test to work. The test was raising an error and it wasn't rescued. It took me a few times of banging my head against the wall to realise that the sidekiq-rescue gem probably wasn't going to work if Sidekiq isn't actually used.
I test a lot of my jobs with RSpec by just calling the perform method. That way I can test the logic inside of perform. In those cases jobs are not enqueued in Redis and picked up by Sidekiq. So I thought it would be useful to add this tidbit to the README.
However, maybe there is a better approach I haven't thought of. I see the downsides to using Redis in tests. So, feel free to change or ignore this if it's not helpful.

@neudabei Thanks for your first PR for sidekiq-rescue! It's worth covering how to cover with tests for sure!
For example, we have the job:
class MyJob
  include Sidekiq::Job
  include Sidekiq::Rescue::Dsl

  sidekiq_rescue ExpectedError, delay: 10, limit: 5

  def perform(attr)
    ApiClient.new.call(attr)
  end
end

There are several options though to cover it with specs.

Unit testing
so we can just check that settings we have provide for the job are correct in this way:

# spec/jobs/my_job_spec.rb
RSpec.describe MyJob do
  it "retries job if it fails with ExpectedError" do
    expect(described_class.sidekiq_rescue_options[:error]).to include(ExpectedError)
    expect(described_class.sidekiq_rescue_options[:delay]).to eq(10)
    expect(described_class.sidekiq_rescue_options[:limit]).to eq(5)
  end
end

Integration test with Sidekiq::Testing

# spec/spec_helper.rb or spec/rails_helper.rb
require "sidekiq/testing"

RSpec.configure do |config|
  config.before(:all) do
    Sidekiq::Testing.fake!

    Sidekiq::Testing.server_middleware do |chain|
      chain.add Sidekiq::Rescue::ServerMiddleware
    end
  end
end

And test the job with the next snippet
# spec/jobs/my_job_spec.rb
RSpec.describe MyJob do
  before do
    allow(ApiClient).to receive(:new).and_raise(ExpectedError)
  end

  it "retries job if it fails with ExpectedError" do
    MyJob.perform_async('test')
    expect { MyJob.perform_one }.not_to raise_error
  end
end

I've written the specs for the library exactly within this approach

Full integration test with real sidekiq as you have proposed in the PR.

In my opinion for lib users, it is recommended to stick with the first approach as it's the most straightforward.
Would you be so kind as to add the provided approaches to the PR and drop a comment about the recommended way?

Hey @neudabei!
I have introduced RSpec matchers in the 0.2.1 version.
Now you can test it more conveniently:
RSpec.cofigure do |config|
  config.include Sidekiq::Rescue::RSpec::Matchers, type: :job
end

RSpec.describe MyJob do
  it "rescues from expected errors" do
    expect(MyJob).to have_sidekiq_rescue(ExpectedError)
  end
end

Check out README for more details. I hope it will be useful.
Meanwhile, I will close PR as it is solved via a little different approach. Thanks for your contribution!

HI @moofkit Thanks again for your work on this and apologies I haven't responded earlier. The new matchers look great and I will try them asap.


A list of nice to add adapters. Feel free to make a proposition

Title was stollen.
I created NATS adapter repo as public template for development of yii queue adapters.
"Feel free to make a proposition"

Apache Pulsar

SQS/SNS.
Kafka.

https://github.com/php-enqueue

Beanstalkd
Redis

yiisoft/db
RoadRunner queue

I'd like to add following issue for discussion - dynamic list of features supported by channel (specific adapter):

delay
status
etc

SQS/SNS.

Regarding SNS - see AWS SNS vs SQS
Looks SNS itself is not suitable for background processing
Only SNS+SQS combination, but it's too mach

Yes, they're usually used together.

Developed adapters:
There are other queue adapters contributed and maintained by the community and available on GitHub, such as:

NATS - NATS JetStream adapter
Pulsar - Apache Pulsar adapter
SQS - Amazon SQS adapter
Kafka - Apache Kafka adapter
Valkey - Valkey NoSQL data store  adapter
Beanstalkd - Beanstalkd - simple, fast work queue adapter

Looks this issue may be closed as completed


Prepare 0.12.0 release

Codecov Report

Merging #892 (b2da229) into master (513fd32) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff            @@
##            master      #892   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          192       194    +2
  Lines        16234     16321   +87
=========================================
+ Hits         16234     16321   +87

Impacted Files
Coverage Δ

...test_inherited_class_is_not_abstract_by_default.py
100.00% <100.00%> (ø)

...ts/test_queries/test_indirect_relations_to_self.py
100.00% <100.00%> (ø)


how i can use visual bpm editor ?

i like to start a simple project with koolkode  , i think it provide a visual editor and db storage , but i can't Understand how it work.please explain it.
thank you ,

You need to setup your database first, refer to the readme file, it explains the basic setup procedure. Once you got the engine up and running you have to use the RepositoryService to deploy a process (a process is just an XML file with a .bpmn extension).
You can use camunda modeler as a visual editor to create your BPMN process. Save it as a file in your project directory and deploy it to the engine. Assuming you create your process in a file called MyProcess.bpmn and the "id" attribute of your process is set to "my-process" (set this in the visual editor) the code for deploying and launching a process instance is something like this:
$repositoryService->deployProcess('MyProcess.bpmn');
$runtimeService->startProcessInstanceByKey('my-process');


Cant' send mails, because recipients seems to be empty.

I tried to send an example email, code from https://developers.sparkpost.com/
var transmission = new Transmission();
transmission.Content.From.Email =<EMAIL_ADDRESS>transmission.Content.Subject = "Oh hey!";
transmission.Content.Text = "Testing SparkPost - the world\'s most awesomest email service!";
transmission.Content.Html = "
Testing SparkPost - the world\'s most awesomest email service!
";

var recipient = new Recipient
{
    Address = new Address { Email =<EMAIL_ADDRESS>}
};
transmission.Recipients.Add(recipient);

var sparky = new Client("<YOUR API KEY>");
sparky.Transmissions.Send(transmission);

But I always get the error
{ "errors": [ { "message": "required field is missing", "description": "recipients or list_id required", "code": "1400" } ] }
Maybe the recipients won't be serialized correctly?
Domain has been verified.

Are you sure that's the code that is being run?
I just tried copy-pasting that code directly into Linqpad, plugged in a valid API key, and replaced the developers+csharp with my own email address.  And... I got the email.

You can see my email in there.  If you'd like to gist or email me the exact code you are sending (blank out the API key) then I'll see what I can do.

So finally found the culprit.
We are also using Json.Net in our application and we are setting some Json.Net default settings (DefaultValueHandling, TypeNameHandling and Formatting). The "TypeNameHandling" setting breaks  your when serializing the transmission.
You can reproduce the error:
JsonConvert.DefaultSettings = () => new JsonSerializerSettings {
     TypeNameHandling = TypeNameHandling.Auto
};

For now we commenting this setting, but it would be nice if the API also works if the TypeNameHandling is set.

// email sending code

What I'm going to look into is a way to set this TypeNameHandling for whatever-it's-using-out-of-the-box within the scope of the serialization used in this library.
I didn't know it was even possible to make this type of global setting! :confused:
Note for later:
http://www.newtonsoft.com/json/help/html/serializationsettings.htm
Thanks for bringing this up!

Unfortunately we have to set the settings global, because we are using Azure DocumentDb and currently JsonSerializerSettings are not supported.
But there is already a suggestion out there:
https://feedback.azure.com/forums/263030-documentdb/suggestions/6422364-allow-me-to-set-jsonserializersettings
But thanks for looking into this.
Have a nice day/weekend.

Within minutes, version 1.0.5 should be available via Nuget.
I changed the library to ignore the global settings when making its requests to SparkPost, so your global settings should not cause it to fail.
Thanks for helping to find this potential break for others.  Have a good weekend!


fixes #17989

Fixes #17989
Previously, ImagePickerIOS.openCameraDialog would not render a Video option when the camera screen opened. If you passed ImagePickerIOS.openCameraDialog({ videoMode: true }, ...) the app would crash with an error complaining about the proper mediaType(s) not being set (see issue: #17989  for full details).
This is a 2 line change that sets the mediaTypes properly, so now users can capture videos in addition to photos.
Test Plan
I took the following steps to test my changes:

Confirmed I could reproduce #17989 locally using an iPhone plugged into my computer
Made my changes to Libraries/CameraRoll/RCTImagePickerManager.m
Rebuilt & ran the application on my phone
Confirmed that Video was now an option & that capture worked.

Release Notes
[IOS] [BUGFIX] [ImagePickerIOS] - now captures video, if available.

Hmm looks like the automated tests failed with: BUILD FAILED: //ReactAndroid/src/test/java/com/facebook/react/fabric:fabric: parameter 'deps': Unable to find the target xplat//yoga/java:java.
Given this commit is a two line change to an Obj-C file, I think we can chalk this up to test flakiness / something else broke the tests.


Parsing Lba1 models and animations

The implementation is still missing the shades computation, not sure if we can reuse what has been done for LBA2. We do not have normals, but we have a shades mapping to a static shading table.
Some models do not appear to draw fully, looks like quads are skipped. For example the Citadel truck is missing some polys.
Playing around in the scenes is still buggy.
There are various issues:

scene transitions
floor sound types
missing content not matching LBA2 with 1 (static animation indexes, floor sounds, behaviour and more)

I will leave those for a different PR
Preview here: https://pr-445.lba2remake.net

This pull request introduces 1 alert when merging 9fc8ff9 into 5da358f - view on LGTM.com
new alerts:

1 for Useless assignment to local variable

@xesf don't forget to take a look at this warning

Nice work! And the model editor, scene outliner, and script panel all seem to work for LBA1 (except for the metadata), that's pretty cool!

Fixed the warning, just waiting for the checks to pass to merge it.

Nice work! And the model editor, scene outliner, and script panel all seem to work for LBA1 (except for the metadata), that's pretty cool!

Thanks.
There is still some issues in the model editor if you refresh, it does not pick the game reference but overall its pretty good everything is working.


Fix some markdown mistakes in sce documentation

Attempt to fix some markdown mistakes in sce documentation.
https://docs.angularjs.org/api/ng/provider/$sceDelegateProvider

I signed it!

Hi, the CLA didn't go through. :( Have you signed the CLA with the same email address with which you have committed the change?


Bigtable: support start_key_open, end_key_closed in RowRange

The bigtable data rpc have start_key_open, end_key_closed in RowRange: https://cloud.google.com/bigtable/docs/reference/data/rpc/google.bigtable.v2#google.bigtable.v2.RowRange
But this library do not have this feature.It can only have start_key_closed and end_key_open in RowRange.

You can get those ranges by appending a zero byte to the keys:
NewRange(start, end)           // [start, end)
NewRange(start, end + "\x00")  // [start, end]
NewRange(start + "\x00", end)  // (start, end)

@jba thanks.
That is a great idea.


Error message in Loader is not on top

If error is thrown in the Loader, error message window is not pushed on top of the Loader (and is missing styling and icon).
It would be nice to make print of the stacktrace collapsible (or indented or lower or less prevalent).
(Same situation is probably in Creator.)
[cuID:1zfp052]

import avalon.api

class CrashCreator(avalon.api.Creator):
    label = "Crash"
    family = "crash"

    def process(self):
        raise RuntimeError("Crash creator")

class CrashLoader(avalon.api.Loader):

    families = ["*"]
    representations = ["*"]
    label = "Crash"
    def load(self, context, name=None, namespace=None, options=None):
        raise RuntimeError("Crash loader")

avalon.api.register_plugin(avalon.api.Creator, CrashCreator)
avalon.api.register_plugin(avalon.api.Loader, CrashLoader)

I used this to register an erroring Creator and Loader.
In the Creator UI it shows the error on top fine with the right styling.
In the Loader UI it shows the error popup on top fine for me, however without the right styling.
What OS + Host is failing for you to raise the pop-up to the front?

What OS + Host is failing for you to raise the pop-up to the front?

It does not work in hosts which are not Qt based or do not pass parent widget. In that case tools have flag "AlwaysOnTop" which cause that dialogs are  moved to back if parent is not passed.

That would be also solved with passing the parent.

I was thinking so, yes.
Note that the Creator error dialog explicitly styles itself during showEvent whereas the Loader error dialog does not. Might make sense to unify that behavior between the two either way.

The real request in this case is the collapsible traceback.

❤ - With a little "copy error report"?


[hotfix][docs] Fix dead links in documentations

This PR fixes dead links brought by #3310.

@leonardBang PTAL


Proxy Issue?

Hey Roberto,
I am attempting to leverage the attack python client via anaconda 4.6.14 on Windows.  I was able to get the module installed but when I attempt to import it (from attackcti import attack_client), I receive an error.
I'm sitting behind a corporate proxy and assuming that is the issue.  I've configured the proxy settings in the .condarc file as well as set the HTTP_PROXY and HTTPS_PROXY environment variables.
Is it possible to leverage the attack python client behind a proxy?  Any assistance you can provide would be greatly appreciated.   The error message is as follows:
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connection.py in _new_conn(self)
    159             conn = connection.create_connection(
--> 160                 (self._dns_host, self.port), self.timeout, **extra_kw)
    161

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\util\connection.py in create_connection(address, timeout, source_address, socket_options)
     79     if err is not None:
---> 80         raise err
     81

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\util\connection.py in create_connection(address, timeout, source_address, socket_options)
     69                 sock.bind(source_address)
---> 70             sock.connect(sa)
     71             return sock

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

NewConnectionError                        Traceback (most recent call last)
~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    602                                                   body=body, headers=headers,
--> 603                                                   chunked=chunked)
    604

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    343         try:
--> 344             self._validate_conn(conn)
    345         except (SocketTimeout, BaseSSLError) as e:

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connectionpool.py in _validate_conn(self, conn)
    842         if not getattr(conn, 'sock', None):  # AppEngine might not have  `.sock`
--> 843             conn.connect()
    844

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connection.py in connect(self)
    315         # Add certificate verification
--> 316         conn = self._new_conn()
    317         hostname = self.host

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connection.py in _new_conn(self)
    168             raise NewConnectionError(
--> 169                 self, "Failed to establish a new connection: %s" % e)
    170

NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x0000000008756320>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

MaxRetryError                             Traceback (most recent call last)
~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\requests\adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    448                     retries=self.max_retries,
--> 449                     timeout=timeout
    450                 )

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    640             retries = retries.increment(method, url, error=e, _pool=self,
--> 641                                         _stacktrace=sys.exc_info()[2])
    642             retries.sleep()

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\urllib3\util\retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
    398         if new_retry.is_exhausted():
--> 399             raise MaxRetryError(_pool, url, error or ResponseError(cause))
    400

MaxRetryError: HTTPSConnectionPool(host='cti-taxii.mitre.org', port=443): Max retries exceeded with url: /stix/collections/95ecc380-afe9-11e4-9b6c-751b66dd541e/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000000008756320>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

During handling of the above exception, another exception occurred:

ConnectionError                           Traceback (most recent call last)
<ipython-input-2-8ab5632e9f1f> in <module>
----> 1 from attackcti import attack_client

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\attackcti\__init__.py in <module>
      1 #!/usr/bin/env python
      2
----> 3 from .attack_api import attack_client

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\attackcti\attack_api.py in <module>
     20 MOBILE_ATTCK = "2f669986-b40b-4423-b720-4396ca6a462b"
     21
---> 22 class attack_client(object):
     23     ENTERPRISE_COLLECTION = Collection(ATTCK_STIX_COLLECTIONS + ENTERPRISE_ATTCK + "/")
     24     PRE_COLLECTION = Collection(ATTCK_STIX_COLLECTIONS + PRE_ATTCK + "/")

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\attackcti\attack_api.py in attack_client()
     25     MOBILE_COLLECTION = Collection(ATTCK_STIX_COLLECTIONS + MOBILE_ATTCK + "/")
     26
---> 27     TC_ENTERPRISE_SOURCE = TAXIICollectionSource(ENTERPRISE_COLLECTION)
     28     TC_PRE_SOURCE = TAXIICollectionSource(PRE_COLLECTION)
     29     TC_MOBILE_SOURCE = TAXIICollectionSource(MOBILE_COLLECTION)

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\stix2\datastore\taxii.py in __init__(self, collection, allow_custom)
    153
    154         try:
--> 155             if collection.can_read:
    156                 self.collection = collection
    157             else:

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\taxii2client\__init__.py in can_read(self)
    410     @property
    411     def can_read(self):
--> 412         self._ensure_loaded()
    413         return self._can_read
    414

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\taxii2client\__init__.py in _ensure_loaded(self)
    478     def _ensure_loaded(self):
    479         if not self._loaded:
--> 480             self.refresh()
    481
    482     def _verify_can_read(self):

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\taxii2client\__init__.py in refresh(self, accept)
    493         """Update Collection information"""
    494         response = self.__raw = self._conn.get(self.url,
--> 495                                                headers={"Accept": accept})
    496         self._populate_fields(**response)
    497         self._loaded = True

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\taxii2client\__init__.py in get(self, url, headers, params)
    937         accept = merged_headers["Accept"]
    938
--> 939         resp = self.session.get(url, headers=merged_headers, params=params)
    940
    941         resp.raise_for_status()

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\requests\sessions.py in get(self, url, **kwargs)
    544
    545         kwargs.setdefault('allow_redirects', True)
--> 546         return self.request('GET', url, **kwargs)
    547
    548     def options(self, url, **kwargs):

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\requests\sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
    531         }
    532         send_kwargs.update(settings)
--> 533         resp = self.send(prep, **send_kwargs)
    534
    535         return resp

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\requests\sessions.py in send(self, request, **kwargs)
    644
    645         # Send the request
--> 646         r = adapter.send(request, **kwargs)
    647
    648         # Total elapsed time of the request (approximately)

~\AppData\Local\Continuum\anaconda3\envs\attack\lib\site-packages\requests\adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    514                 raise SSLError(e, request=request)
    515
--> 516             raise ConnectionError(e, request=request)
    517
    518         except ClosedPoolError as e:

ConnectionError: HTTPSConnectionPool(host='cti-taxii.mitre.org', port=443): Max retries exceeded with url: /stix/collections/95ecc380-afe9-11e4-9b6c-751b66dd541e/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000000008756320>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

Hey @haloforensics , sorry for the late response. I have been traveling for work a little bit and I have been a little bit disconnected. mmmm I have not worked with it vi a proxy. Did you get it to work?

Hey Roberto, no worries.  Unfortunately I have not been able get the client to work behind my corporate proxy.  Unfortunately, I also haven't had the any dedicated time to spend troubleshooting it.

Hey Roberto, I figured out what the issue was.  I was setting the HTTP_PROXY and HTTPS_PROXY environment variables via CMD as opposed to setting them in the Anaconda Prompt.  Once I did that, the library works without issues behind the proxy.  Thanks!

Thank you very much for sharing what the issue was @haloforensics ! 👍


Swift 2.2

I added Swinject via Carthage. After updating my XCode to 7.3 (Swift 2.2) I get this error:
Module file was created by an older version of the compiler; rebuild 'Swinject' and try again: /Users/[*]/Carthage/Build/iOS/Swinject.framework/Modules/Swinject.swiftmodule/x86_64.swiftmodule

Never mind; found the '--no-use-binaries' argument for Carthage. The prebuilt framework isn't used then.


TCX has wrong/strange laps

It's more a question, because I'm not sure if it's related to this repository or a TomTom problem.
Watch: TomTom Runner2
Firmware: 1.6.26 (HN2485G-01020)
The converter generates a lot of laps which are wrong. Does anyone have an idea what the problem is?
TTBIN file
Running_09-54-03 (1).ttbin.zip
Generates:
Running_09-54-03 (1).ttbin.zip

Seems to be a bug in that specific TomTom firmware version. In 1.7.53 is everything fine

That's strange. Were there any similar problems reported in the official TomTom forums?

Seems it was not pushed to all devices and they had to skip the fw version (https://de.discussions.tomtom.com/spark-runner-2-spark-3-runner-3-475/version-1-6-26-988760)


Issue/Possible Feature: Redirecting a On-Demand Channel

Trying to use On-Demands to use as blocks for my main channel. Can't get them to work. Is it possible to use On-Demand channels for redirects?

Could you give more details? I use on demand channels like that and tends to work.

I think I got it fixed. Was trying to set it up as all on-demand, so Main On-demand would just pull from organized on-demnd.


OpenSearch support ?

Are there any plans to support management of OpenSearch with this module? Does anybody have hints or tipps ? As the installation and configuration looks quite similar to elasticsearch, it is possible that only some data needs to be changed.

puppet module https://github.com/voxpupuli/puppet-opensearch


Create singular function to get embeddings from Ada.

Currently we are getting embeddings during upsert as well as in the /chat api through a function. Replace the logic of getting embeddings during upsert to also use this function.
Update the logic in the function to convert input into chunks

There is one already. I added it earlier, it's in ayushma/utils/openaiapi.py


Write document on Dask for Institutions

https://twitter.com/ultrazool/status/1144248735217664000
After having this conversation one-on-one a few hundred times, it would probably be good to encode the common motivation for Dask in Enterprise somewhere official.  This might include answers to common questions like "how do you handle security" or "who uses this?" and also links to projects commonly desired in enterprise, like dask-kubernetes/yarn and perhaps dask-gateway.
This would be useful both for maintainers who talk about this, and also for evangelists within companies that want to expand the use of the project to an institutional level.

Thank you for creating the issue @mrocklin and hope I didn't sour anyone's day with that moment of Twitter start. Of course the group of us pushing for more adoption of Dask at @BritishGeologicalSurvey won't be put off but the "C-level view" would help institutional buy-in, and I can try to share any feedback from it here

Feedback would be welcome.
On Thu, Jun 27, 2019 at 10:49 PM Jo Walsh<EMAIL_ADDRESS>wrote:

Thank you for creating the issue @mrocklin https://github.com/mrocklin
and hope I didn't sour anyone's day with that moment of Twitter start. Of
course the group of us pushing for more adoption of Dask at
@BritishGeologicalSurvey https://github.com/BritishGeologicalSurvey
won't be put off but the "C-level view" would help institutional buy-in,
and I can try to share any feedback from it here
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5016?email_source=notifications&email_token=AACKZTACKPLK4NZMPBNKI73P4UYWLA5CNFSM4H37YBG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYPFTY#issuecomment-506524367,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTDDCAE2Q6T4JZGP2UTP4UYWLANCNFSM4H37YBGQ
.


Stop scrolling of browser with aos js init

Closing due to lack informations. Feel free to reopen after providing more context @anshu8858


Fixed #29700 - Doc'd ModelAdmin.autocomplete_view() and AutocompleteJsonView.

…leteJsonView as customization point for ordering autocomplete results.

Hi @Parth1811 ! I see you've approved my PR. Is there anything else to be done, or is it good to merge?

Hey @alexanderblnf I have approved this because I find the changes made by you are appropriate and don't raise any conflict, you have to wait till some contributor sees this and merges the branch or suggest few changes. You can also post it in django-developers group if ut takes a long time

You should add a link to the PR and check "Has patch" on the ticket so that it appears in the review queue. I've just done that.

@timgraham Thanks! Will do from now on

The view does not exist anymore, or rather has been moved. It also has become a lot more complex and doesn't seem suited for user extension.

Thanks, Johannes. Closing per ticket.


Fix #245: Remove unnecessary print in ClientControllerException

This PR removes an unnecessary invocation of print in the ClientControllerException constructor, fixing #245.
All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you read and signed the automated Contributor's License Agreement?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

[ ] Does your submission pass tests?
[ ] Have you lint your code locally prior to submission?

Changes to Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Curtis Fenner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.