Add link links to more 3rd party software

This adds links to things that integrate with InvenTree / help with it.
See:

getparts https://github.com/maholli/getparts/issues/2
more to come

This would be better served on the website now.


Project profile per workspace folder

Related to #1107
Settings inherited from .env and iproj.json

Liam,  will this be the same as RDi workspaces? I am trying to get away from RDi and one of the tools I use a lot to help with product development is the use of workspaces in RDi as I can set up the development environment using library lists and compile commands specific to the product build.

will this be the same as RDi workspaces?

I have no idea since I don't know how to compare the two anymore. I will say, for what you're trying to do is to use Profiles, which will allow you to setup different environment configurations (which have their own libl, curlib, etc)

Thanks Liam I will take a look at profiles.
Get Outlook for iOShttps://aka.ms/o0ukef

From: barry @.>
Sent: Tuesday, May 23, 2023 10:27:32 AM
To: halcyon-tech/vscode-ibmi @.>
Cc: Chris Hird @.>; Comment @.>
Subject: Re: [halcyon-tech/vscode-ibmi] Project profile per workspace folder (Issue #1108)
will this be the same as RDi workspaces?
I have no idea since I don't know how to compare the two anymore. I will say, for what you're trying to do is to use Profileshttps://halcyon-tech.github.io/docs/#/pages/settings/profiles, which will allow you to setup different environment configurations (which have their own libl, curlib, etc)
—
Reply to this email directly, view it on GitHubhttps://github.com/halcyon-tech/vscode-ibmi/issues/1108#issuecomment-1559526240, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AELHN4JE6LIN7EM3MUQXBADXHTCNJANCNFSM6AAAAAAVNZJ73A.
You are receiving this because you commented.Message ID: @.***>

The Profiles option does not seem to work and no errors? I tried to add one when the popup window appeared but nothing happened and no profile list is displayed in the view?
Chris…
From: barry @.>
Sent: Tuesday, May 23, 2023 10:28 AM
To: halcyon-tech/vscode-ibmi @.>
Cc: Chris Hird @.>; Comment @.>
Subject: Re: [halcyon-tech/vscode-ibmi] Project profile per workspace folder (Issue #1108)
will this be the same as RDi workspaces?
I have no idea since I don't know how to compare the two anymore. I will say, for what you're trying to do is to use Profileshttps://halcyon-tech.github.io/docs/#/pages/settings/profiles, which will allow you to setup different environment configurations (which have their own libl, curlib, etc)
—
Reply to this email directly, view it on GitHubhttps://github.com/halcyon-tech/vscode-ibmi/issues/1108#issuecomment-1559526240, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AELHN4JE6LIN7EM3MUQXBADXHTCNJANCNFSM6AAAAAAVNZJ73A.
You are receiving this because you commented.Message ID: @.***>

Could I set the deploy workspace location into a profile?
Could I bind the profile to a specific branch? so that when I switch between branch I could set a different current library and deploy workspace location?
Thank you

We won't be doing it like this anymore. Local workspaces can have two local environment variables in .env which can control the compiles from that workspace: CURLIB and LIBL. I will document those.


Equivalent SatisfyImportsOnce

Hi, I looking for a method like SatisfyImportsOnce in MEF1. I have a object instanced and need resolve his imports but not find a way to do this. Tks
[System.ComponentModel.Composition.Export(typeof(A))]
public class A
{
}

public class B
{
    [Import]
    public A A { get; set; }

    public B()
    {
        // TODO: Here import A using CompositionContainer.SatisfyImportsOnce(this)
        this.A = // Resolve imports
    }
}

VS-MEF supports this. MEFv1 defines SatisfyImportsOnce as an extension method on ICompositionService, which VS-MEF makes available.
Import ICompositionService (or call GetExportedValue<ICompositionService>()) and call SatisfyImportsOnce on it.

Thank you for your answer. Help me a lot to understand how its works.
For someone with same problem. I was filtering only assemblies that I use, but to use the ICompositionService is necesssary CreatePartsAsync load Microsoft.VisualStudio.Composition.dll of course :).
Another way is create your own CompositionContainer to Mef1, like ICompositionService do.
var compositionContainer = new CompositionContainer(CompositionOptions.IsThreadSafe, exportProvider.AsExportProvider());
compositionContainer.SatisfyImportsOnce(this);

Yes, I suppose that works too, although now you have another container with its lifetime policies to worry about.


Remember/show current active TAB (anchor tag link)

Hi there, when working wuth admin, I've noticed active TAB is not remembered in admin.
It would be nice to have working link anchor tags, so when going to for example http://localhost:8000/contacts/company/1/change/#TabName the view would open the specified TAB called "TabName" directly.
Thanks, best regards

@frobert would you mind to create a PR with this improvement? I will be happy to accept it.

Quite bussy these days, but if somone else will not manage to add this feature soon, I'll try as soon as i have some spare time. Thanks.

@frobert any update?

@frobert I checked the pull requests sections and I didn't noticed any PR addressing your improvement. Can I consider that everything is all right and I can close the issue?


More const work

Coverage decreased (-0.03%) to 70.686% when pulling a24167c8e3d06a149e36c52de1d77b2e278248c9 on tzneal:more-const-work into 2b68ff299c54e0537df8b84b18b8dde9345cf438 on dh1tw:master.

Coverage decreased (-0.03%) to 70.686% when pulling a24167c8e3d06a149e36c52de1d77b2e278248c9 on tzneal:more-const-work into 2b68ff299c54e0537df8b84b18b8dde9345cf438 on dh1tw:master.

thanks Todd!


ST7735R 1.8 Inch 128x160 Display Flickering

ST7735R Display Flickering Problem. The screen goes bright every time there's a major(?) frame update. then if the frame doesn't change the screen is dimmer. I noticed that highering the -DSPI_BUS_CLOCK_DIVISOR amount made it seem less bad. Although I haven't gone further than changing it to 80. For if needed my cmake settings are: -DST7735R=ON -DGPIO_TFT_DATA_CONTROL=5 -DGPIO_TFTF_RESET_PIN=6 -DSPI_BUS_CLOCK_DIVISOR=80 -DSTATISTICS=0 *DUSE_DMA_TRANSFERS=OFF -DDISPLAY_SWAP_BGR=ON      And I'm using a Rasberry Pi Zero W                                             It isn't a huge problem but its annoying for playing games. Any help is appreciated, this is my first GitHub post so any advise on how to improve this post will help :).

Any chance you'd be able to capture a video (with statistics on), and take a close capture of the display?

Any chance you'd be able to capture a video (with statistics on), and take a close capture of the display?

The phone Camera wouldn't focus but I did notice when there's no blinking the speed is 3.3mbps and when it does blink around 500kbps

What if you uncomment this line?
https://github.com/juj/fbcp-ili9341/blob/662e8db76ba16d86cf6fd09d85240adc19e62735/config.h#L102
Or this line? (remove the uncommenting of the previous line when testing)
https://github.com/juj/fbcp-ili9341/blob/662e8db76ba16d86cf6fd09d85240adc19e62735/config.h#L111
I wonder if it is a voltage thing, or an interfacing thing.
Other random things you can try is to comment out this line:
https://github.com/juj/fbcp-ili9341/blob/662e8db76ba16d86cf6fd09d85240adc19e62735/st7735r.cpp#L37
And/or this line:
https://github.com/juj/fbcp-ili9341/blob/662e8db76ba16d86cf6fd09d85240adc19e62735/st7735r.cpp#L101

Sadly none of them have seemed to work.

hmm, then I am starting to run out of ideas I'm afraid. Worth checking if any other display drivers avoid the issue, and also scope the voltage lines to check that power supply is adequate, just in case.

ok if i cant get it working it isnt a big problem


Support for Sass?

This is related to https://github.com/mjmlio/mjml/issues/462 for adding styles to the compiled document head.
Is there a way to add scss/sass support for this project? It would be nice to be able to have things like resets and basic global styling. I know you can use the mjml-style to import css files.
Here is what adding this could look like:
reference the compiled css file in the mjml template
<mj-style>
  @import "global.css";
</mj-style>

The scss file to be compiled into css
$link_color: blue;
$link_color_hover: darken($link_color, 10%);

a {
  color: $link_color;
  &:hover {
    color: $link_color_hover
  }
}

These styles would then be inlined into the document.

Hi there @mklemme ,
I think you'll need some kind of gulp/grunt task to achieve this. MJML need to be about rendering the email and not forcing people to use X or Y framework for templating/styling purpose.

Btw, if you have some nice setup with gulp and sass & mjml feel free to share them, so we'll be happy to add them to the readme !

Sorry I am late to the party here, if you are using a gulp build stream approach when working with MJML and want to compile SASS imports from within <mj-style></mj-style> tags then you need to create a plugin. I would publish one but I don't really use or care for Gulp nowadays because it's 2022 and we live in a society. We are not animals.
You prob need to adjust the below to fit your needs, like for example the project I inherited was using Gulp heavily. I wanted to leverage SASS compilation in email styles and the directory structure I had would import relative to the MJML template, as such I  would apply loadPaths accordingly, the structure looked like this:
src/templates/some-template.mjml
src/templates/styles/some-stylesheet.scss

For the sake of brevity, here is how the plugin should look for gulp.

The Plugin
/**
 * MJML SASS Compiling
 *
 * Parses MJML templates extracting SASS references within MJML templates
 *
 * @param {sass.Options<'sync'>} options
 */
function mjmlSASS (options = {}) {

  if (!options.loadPaths) options.loadPaths = [];

  // Capture the contents
  const regex = /(?<=<mj-style[^>]{1,}>)([\s\S]*)(?=<\/mj-style>)/;

  // Return a stream
  return stream((file, e, callback) => {

    if (file.isNull()) {
      callback(null, file);
      return;
    }

    if (file.isStream()) {
      callback(new PluginError('mjml-sass', 'Streaming not supported'));
      return;
    }

     // Pass the paths
    options.loadPaths.push(file.base);

    const content = file.contents.toString();
    const compile = content.replace(regex, style => {
      try {
        const { css } = sass.compileString(style, options);
        return css;
      } catch (error) {
        callback(new PluginError('mjml-sass', error));
      }
    });

    file.contents = Buffer.from(compile);

    return callback(null, file);

  });

}

Gulp
const { dest, src } = require('gulp');
const gmjml = require('gulp-mjml');
const mjml = require('mjml'); // always use the latest version of mjml

function taskmjml () {

  return src(['/src/templates/some-template.mjml'])
    .pipe(scss()) // sass options
    .pipe(gmjml(mjml))
    .pipe(dest('/dist'));

}

In your MJML template:
<mjml>
  <mj-head>
    <mj-style>
      @import "styles/some-stylesheet.scss";
    </mj-style>

  </mj-head>
  <mj-body>
  ....
  </mj-body>
</mjml>

Hope it helps one of you nerds. Stay happy, healthy and safe. Bless x

@panoply hello, this plugin gives an error: Callback called multiple times.


Solution to apples and oranges problem

Solved in Python

Can you please update according to the latest README? The new README is now a lot more readable and understandable.

ahh...surely !

@adityabisoi  You have merged my readme update. Please merge the solution as well.


EdgeX microservices are too tightly coupled to configuration

Background
The EdgeX middleware strives to be flexible with regard to deployment scenarios, such as:

Deployment as standard OS processes
Deployment into snaps
Deployment into OCI container infrastructures (such as Docker, Docker Swarm, K3S, microK8S)
Deployment using only static configuration (Consul-less)
Deployment with dynamic configuration / registry support (Consul)
Deployment with security services enabled (Vault + Consul)
Deployment with MongoDB database backend
Deployment with a Redis database backend
Deployment on a variety of processor architectures

In order to make developers' lives easier, certain of these configurations have been pre-selected:

Security-services enabled on both aarch64 and x86_64
No-security on both aarch64 and x86_64
MongoDB and Redis-based versions of the above

Additionally, certain adaptations have been made in the developer infrastructure to make it easy to bring up a functional stack:

Each microservice includes a static TOML configuration (one for Docker, one for non-Docker) that provides service location and service configuration information such as

Address and port numbers of dependent services
Database connection and authentication information
Other configuration data

The static configuration is automatically mirrored (one-time) into a Consul configuration registry
Special processes that seed database schemas for EdgeX services and 3rd party components such as Kong
When security services are enabled, the following additional bootstrapping services are performed

Seeding of a on-device PKI
Initialization and seeding of an on-device secret store
Seeding of database passwords

The above configuration is spread across the developer-scripts repository as well as in configuration files and code inside of edgex-go and other repositories.
Problem statement
Specific problem:
The security-enabled MongoDB developer-scripts and blackbox tests will not run properly because the Docker configuration TOML files have been changed to reference Redis: the TOML configuration is inside of the containers, while the database that is running is encoded in the docker-compose script where it is easily changed.  (However, on a setting by setting basis, environment variables can be used to override the TOML.  For example: Databases_Primary_Type=redisdb.
General problem:
Configuration is too tightly-coupled to microservices containers, making it very difficult to test all the supported configurations.  It is also then difficult for downstream consumers of EdgeX to create custom configurations that better match their use cases.
The initialization overhead--particularly to enable security features--is becoming increasingly awkward because there is no "docker-compose install" command.  This leads to a pre-disposition to configure as much as possible statically in upstream EdgeX.  Additionally, in the registry-enabled flows, service location information changes from a state where it is encoded in relatively-immunitable configuration files, to a service that is currently configured without authentication/authorization nor integrity protection.
Desired solution attributes
On the supposition that most of the EdgeX framework's value lies in the microservices themselves and their APIs, I would like to advocate for the following changes:

That configuration information be externalized such that downstream consumers--such as blackbox-testing--can inject their own configuration (such as security/non-security, redis/mongo, consul/no-consul) independent of modifying the "source code."

The Docker environment should behave more like the snap environment in that:

There is a separate initialization phase to lay down configuration, preconfigure database schemas and users, and other basic setup.
Reduce the amount of coordination required at runtime to ensure just-in-time execution of setup hooks.
The runtime services configuration is managed separately from the setup configuration.
Ensures that the base services are set up in a default-secure configuration.

@andresrinivasan I would like to get your feedback as to whether you think I am going after the right problem here in context of the Redis integration.

Kudos for this work @bnevis-i!
Once refined, this is a topic that should be raised and discussed in a Core WG meeting.
@tsconn23, @tingyuz  for visibility.

@andresrinivasan I would like to get your feedback as to whether you think I am going after the right problem here in context of the Redis integration.

Yes, this is the right problem to go after and written very nicely. This immediately bumps into current implementation challenges with the blackbox testing scripts. In other words solving this high level problem will require a rethink of the test scripts.

@cloudxxx8 For visibility from Test/QA

Can't recreate my train of thought on where I was intending this to go.  A lot has changed since this has been written.  Closing.


757 aws media does not scale

Hi @owen2345. this is quite a massive Pull Request.
There are many changes on how the media gallery is resolved so bear in mind all good intentions :) I tried to keep all things compatible but I'll need more people/projects to be tested on.
Is not meant to be accepted right away but further discussed, as it is a possible solution for issue #757.
To get started run arake db:migrate and, in case you're connected to aws, a rake camaleon_cms:sync_db_and_s3_files to update the new cama_media table with all that's on the aws bucket.
Paging is still missing on the media gallery/browser. Overall it meant a massive change on responsiveness of that area as far as I can tell and been testing.
Let me hear your thoughts and comments as well as the rest of the guys wanting to contribute.

Hi @tostasqb this is great! Let me review and make some tests this week before merging into master branch...

Hi @tostasqb sorry for my delay but I was working in this pull request, unfortunately there were many errors and I worked from scratch using some code of your pull request. Please review and let me know if it works well for you too before to release another version.

No problem @owen2345. But in which branch are you working on this?

I pushed to master branch because we tested it for a week and worked well. Cheers!


My first contribution

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Hey, welcome back!
You've made the same mistake as before, you have not reset your master branch!
It's great that you're using branches now to make contributions, but because you made changes on your master branch previously, you need to reset it as that now has the changes you made. Creating a new branch from master will take those changes with it if they aren't removed.
If you tried to reset it previously, or you're not sure how, then you can delete the fork, then re-fork and re-clone the repository.

The following should help you reset your master branch to ours:
git remote add source https://github.com/EbookFoundation/free-programming-books.git

git pull --all

git reset --hard source/master

This will set your master branch back to what the repo has, deleted all of your changes.

Alternatively, you can make your new branch without resetting at all:
git remote add source https://github.com/EbookFoundation/free-programming-books.git

git pull --all

git checkout -b my-new-branch source/master

This leaves your changes alone, but makes the new branch you create from the master branch on this repository, rather than your local one.


How to add the library into project?

Hi. Thanks for you great project.
I downloaded and run the demo. It work very good.
But when I tried to add into my project. It say: "unknown type name..." from filter's cpp files

I added the necessary framework. What do I make some thing wrong? Can you make an installation tuts?
Thanks.

Ah. I made a wrong header search patch. It works.


missing v6d-0.12.0.tar.gz for 0.12.0 release

It looks like 0.12.0 release does not have v6d-0.12.0.tar.gz and v6d-0.12.0.zip, just raise some awareness, thanks!

Hi @chenrui333,
Thanks for raising it up! Do you mean v6d-0.11.1? We haven't release v0.12 yet.
Now the source tarball has been upgraded, see: https://github.com/v6d-io/v6d/releases/tag/v0.11.1
Thanks!

Closing as resolved.

Yeah, I think it is 0.11.1 I was referring to, not quite sure why I typed 0.12.0 😮💨

Thanks for the quick fix!

Hi @sighingnow, looks like now the release is official, but I can still not see v6d-0.11.2.tar.gz? Thanks!

Fixed after rerun the CI workflows.
Thanks for letting me know that!


RDT increases HMR rebuild time

RDT adds a decent overhead to the hmr rebuild atm, adding up to half second to a clean template on an older machine.
This is probably because the lucide dependency, here's a tree-map comparison with/without RDT installed:

We should able to at least treeshake out lucide by using @jacobparis' Sly https://sly-cli.fly.dev/

@xHomu I've been wanting to move away from lucide for this exact reason for a big ass while now, even mentioned it in our discord chat a while back, I think this is a good time to do that

Looks much better now!

Looks much better now!

You gotta show me where to see this so I can tree shake it more

Run Lighthouse in Chrome devtools, there should be a treemap button underneath the web vital scores.

To see the actual bundles in a production build, you need to use remix run --sourcemap.


Eagle support?

I have been wondering whether a similar solution exists for Eagle. I stumbled on your old ULPs and an old tutorial of yours on making Eagle BOMs but I couldn't find anything about "back importing" the attributes into the schematic. I have done some searching and no-one seems to be doing it. I haven't used Eagle enough to know, would it simply break the .sch/.brd if attributes were inserted?

I don't really know. Any work I did with Eagle was  pre-V6 before they moved to using text files.


remove managed cluster claim

Signed-off-by: Chris Ahl<EMAIL_ADDRESS>Not using the managed cluster claim right now so removing
Part of https://issues.redhat.com/browse/CMCS-117

/test e2e-cluster

/lgtm


How to make it go?

Hi. My life is in the terminal and I did a stint with i3 awhile back and loved it, so I think that I'm following the documentation like a reasonably informed person would.
The installation went fine, SIP, accessibility, Mission Control, start brew service...
But now how do I simply make it do its thing? My windows aren't managed. How do I start working with managed windows, have yabai take over? The space commands work, but how do I make the tiling go? I've created ~/.yabairc and ~/.skhdrcusing the example file content, restarted the brew service, restarted the computer...
I'm sure I'm missing something very basic, but shouldn't that something slap me in the face when I read "Quick Start"?

Did you enable tiling in your config?
yabai -m config layout bsp

The defaults are designed to be as close to the macOS default as possible, which is why the default layout is float instead of bsp.

I see. Thank you. I do suggest a prominent notice of this default in the Quick Start. People find this excellent repo when looking for a tiling window manager, and when they follow the install instructions, there is no tiling. It seems like the example .yabairc should result in the same behavior that one sees in the screenshot in the README.

The sample config does actually have tiling enabled, but everything else is off, as you can see here: https://github.com/koekeishiya/yabai/blob/master/examples/yabairc

Got it. Thank you. My bad. I had accidentally swapped the rc file names. That'll do it.


Non-contractible factors imply non-contractible product

Happily, I found a space in pi-base which benefits from @JoeF131's observation https://github.com/pi-base/data/pull/886#issuecomment-2466412582. I linked directly to JoeF131's answer because linking to the whole page did not seem specific enough.
pi-base doesn't yet know that S38 is simply connected (nevermind, it does know this, must have had a page loading issue), but we should also include that S173 is simply connected because it is a product of simply connected S38 and S103. Edit: Going to add this to this PR. Just looking for the best reference to cite.

Question: Is it true that a product of simply connected spaces is simply connected?
If true, then S173 would be simply connected.

In fact we have that π n and products commute so we even know what the fundamental group looks like. See Proposition 4.2. https://zbmath.org/1044.55001. Since a product of groups is only trivial iff each group is trivial, this follows.

I intentionally did not cite this fact by the way.

In fact we have that π n and products commute so we even know what the fundamental group looks like. See Proposition 4.2. https://zbmath.org/1044.55001. Since a product of groups is only trivial iff each group is trivial, this follows.

I intentionally did not cite this fact by the way.

I missed that you only had a finite product of spaces. Otherwise you would need the stronger proposition

In fact we have that π n and products commute so we even know what the fundamental group looks like. See Proposition 4.2. https://zbmath.org/1044.55001. Since a product of groups is only trivial iff each group is trivial, this follows.

I intentionally did not cite this fact by the way.

I missed that you only had a finite product of spaces. Otherwise you would need the stronger proposition

But we also needed to show that the space is path connected.  Mentioning the fundamental group is not enough.

Sorry I was looking at the wrong (S176) space for the last commit. Should I revert that? The change is correct regardless.

S173: For P199 (contractible), when we reference a particular answer of a mathse post instead of the full post, we normally change the name in the refs: to something like:
name: Answer to "An arbitrary product of contractible spaces is contractible"
(see for example https://topology.pi-base.org/spaces/S000185/properties/P000130)


Update RepoGenerator.ts

Updated line to fetch orgName which causes issue while  creating repourl
Purpose
OrgName variable was set wrong as part of split function
Approach
picks the third element to get actual orgName which is used to form repoUrl in next step
TODOs

[ ] Documentation updated (if required)
[x] Build and tests successful

Thanks for contributing @Krutarth12.
I think what has happened here is we only support one of the two formats.

https://orgname.visualstudio.com/...
https://dev.azure.com/ornament/...

Which one were you trying?
Would you mind adding to this PR to support both?
Many thanks!

Sure I will update code to support h format. I encountered issue with second format dev.azure.com/orgname

Hi @Krutarth12, I have checked what the library is returning and this version uses the legacy format (1) so a change is not required to resolve this.
I will close this PR but let's continue our investigation.


Add a wiki: Necromerger wiki

Link to origin wiki: https://necromerger.fandom.com/wiki/NecroMerger_Wiki
Link to destination (independent) wiki: https://necromerger.wiki.gg/

Thanks for the submission! Added in v3.4.0, will be available as soon as Chrome + Firefox approve the releases.


Prepare for CIDROC Presentation

Backlog Task
Rescheduled to 5/22
As a recap to the Trusted Intermediary meeting this morning, Trusted will present the project work with PRIME as part of their stage gate reviews starting on April 24, 2024.
Trusted will be part of the PRIME's stage gate review to report out the project work completed to date with the Flexion team.
Trusted has a conditions from ITDG to provide updates with their on-going monitoring with ITDG.
ITDG has not requested a data call from Trusted at this time, we anticipate it will take place some time soon.
Trusted will share how the initial concept from April 25 2022 has changed to support capabilities under ReportStream.
Completion Criteria

[ ] 2024 presentation is updated.

[ ] Speaks to how we are leveraging ReportStream capabilities.
[ ] Speaks to the ITDG conditions.
[ ] Other things...

Tasks

[x] Finish update technical work slide. - @halprin
[x] Update ReportStream Integration slide. - @halprin
[ ] Update architecture diagram. - @halprin
[ ] Add a new slide about ITDG conditions and how we're adhering to them?

Other Notes

Any other notes to help clarify this task for the team

https://drive.google.com/drive/folders/1ry7U0zyKFvGyZO9gpxoBNngEG4xshaNk


Maintainer wanted

This is a stable package which I just updated to GHC 9.8 (just bumping upper bounds of dependencies).
@NH002 Looking at the reverse dependencies (3), you stood out as an active user of this package.  Would you take over this package?  I am not using it myself.

@andreasabel Yes, I want to to take over maintainence of this package.

Great!  I invited you to this repo with write access and added you to the Hackage uploaders for this package:
https://hackage.haskell.org/package/hgettext/maintainers/

Thanks, and I have accepted your invitation.

Thanks, Nikola!


Create test files for moving sectioning commands to their own line

This PR is related to #13; it adds two test files that capture the expected behaviour for formatting sectioning commands: if such a command is on a line with other text, it should be moved to its own line. This should apply to all sectioning commands present on the same line. However (as discussed), no new empty lines should be added around the new line to which the sectioning command was moved.

Thanks for this. Of course, the new tests do not pass at the moment, so I will leave this open until the feature has been implemented.

Most probably, yes. Now that #42 has been merged, I can base a branch on that and check whether it's enough to use the existing splitting regex with maybe an additional one for the needs_new_line logic.

Closing this PR because it's superseded by #45.


feat(ts/analyzer): the right infer about any instance of

Description:
Any was not being deduced properly.

Most of the added errors are due to the lack of properties access.

Most of the added errors are due to the lack of properties access.

If so, I'll merge this PR after implementing it

How do you think about filing an issue and postponing them like https://github.com/dudykr/stc/pull/475?

Sure, I was gonna wait, or I was gonna wait until it came out.

It's my mistake.
I didn't know that the value would vary depending on the constructor.


[WB-6175] Stop logging TransientError to sentry.

Description
Turns off sentry logging for TransientExceptions.
Testing
N/A
------------- BEGIN RELEASE NOTES ------------------
NO RELEASE NOTES
------------- END RELEASE NOTES --------------------

All lines covered, merging


Support Fabric components

I'm on RN 0.71.1 and have activated the new architecture and am receiving the message 'CardField' is not fabric compatible yet in place of the actual CardField component.
Is it in the pipeline to make it compatible? This is only an issue in Android, in iOS it works fine.

Yes it's in the pipeline, we'll be migrating all components + the module to turbomodules

Cheers, Thank you @charliecruzan-stripe!

I'm using RN 0.71.4 and when I'm trying to add stripe CardFiled There is an issue, Is this still pending?

What is the solution, here? I cannot use react native stripe element? @charliecruzan-stripe

@smiley717 sadly the only way to work around this is turn off the new architecture - not great, but it's the only way I could make CardFiled work. Again, this was only an issue in Android for me:
android/gradle.properties:
# Use this property to enable support to the new architecture.
# This will allow you to use TurboModules and the Fabric render in
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
# -> this here ^^^^^

@benomatis  Thank you for your kind help, By turning it off this, it will affect to other rendering capabilities?

Your other compile issue may or may not be related to the new architecture, it can be many things, but it's not really the scope of this issue.

@benomatis  thank you for collaborating. can you email me (on my github) for more details? As I think the another issue is not related to stripe, but lets go ahead now.

Do you have any idea for this one?

@smiley717 This wouldn't be sufficient information to troubleshoot something like this. I recommend you look further up for the exact error then search the internet for solutions, and post questions on one (or more) of the appropriate platforms, like https://stackoverflow.com/... Please let's not continue polluting this issue with unrelated comments. Thanks.

Thanks a lot!

I was only able to fix this issue by disable newArchEnabled at the moment.

Is there any update on this? With the new architecture becoming the default standard, is it still not planned?

New architecture is now default in react native so we should except company like stripe which is tech first payment company to solve these issues sooner and be the leadership in this space.


Terraform pg single cloud

What changed, and why it matters

Hi @sluhur thanks so much for the edits. I added a few changes via https://github.com/aiven/devportal/pull/925/commits/a802efdccb2180f5835147b1e90ff9fbe69af410:

Improved the Mermaid diagram
Fixed few links
s/AWS/GCP in one place since the service is being created on GCP
Added a tips regarding helper files

My suggestions:

Could you please add some explanation for every configuration that's part of the file, for example, idle_in_transaction_session_timeout, log_min_duration_statement, autodb_max_db_connections, etc.? If you feel that we don't need this many configurations, feel free to take out some and only keep the ones which we explain in the recipe.
If we're mentioning DB username & password in the recipe, could I suggest using var files per this doc? So instead of admin_password      = "addyourownpassword", it's admin_password      = var.db_admin_password.

Thanks and looking forward to the next revision.

Hi @sluhur thanks so much for the edits. I added a few changes via a802efd:

Improved the Mermaid diagram
Fixed few links
s/AWS/GCP in one place since the service is being created on GCP
Added a tips regarding helper files

My feedback:

Could you please add some explanation for every configuration that's part of the file, for example, idle_in_transaction_session_timeout, log_min_duration_statement, autodb_max_db_connections, etc.? If you feel that we don't need this many configurations, feel free to take out some and only keep the ones which we explain in the recipe.
If we're mentioning DB username & password in the recipe, could I suggest using var files per this doc? So instead of admin_password      = "addyourownpassword", it's admin_password      = var.db_admin_password.
If we have some options commented out, please mention that the reader can uncomment X, Y, Z to see them in action.
You'll need to update your branch with the latest _toc.yml from the main but I can also help in that regard.
The terraform code block is not syntax-highlighted for some reason. Once the PR is ready to merge, I can format the embedded Terraform code again.

Thanks and looking forward to the next revision.

Hi @dewan-ahmed
should I make the explanation outside of the code or inside the code with comment?

Outside of the code please.
On Mon, Jun 20, 2022 at 1:32 AM Simon Luhur @.***>
wrote:

Hi @sluhur https://github.com/sluhur thanks so much for the edits. I
added a few changes via a802efd
https://github.com/aiven/devportal/commit/a802efdccb2180f5835147b1e90ff9fbe69af410
:

Improved the Mermaid diagram
Fixed few links
s/AWS/GCP in one place since the service is being created on GCP
Added a tips regarding helper files

My feedback:

Could you please add some explanation for every configuration
that's part of the file, for example,
idle_in_transaction_session_timeout, log_min_duration_statement,
autodb_max_db_connections, etc.? If you feel that we don't need this
many configurations, feel free to take out some and only keep the ones
which we explain in the recipe.
If we're mentioning DB username & password in the recipe, could I
suggest using var files per this doc
https://learn.hashicorp.com/tutorials/terraform/sensitive-variables?
So instead of admin_password = "addyourownpassword", it's admin_password
= var.db_admin_password.
If we have some options commented out, please mention that the
reader can uncomment X, Y, Z to see them in action.
You'll need to update your branch with the latest _toc.yml from the
main but I can also help in that regard.
The terraform code block is not syntax-highlighted for some reason.
Once the PR is ready to merge, I can format the embedded Terraform code
again.

Thanks and looking forward to the next revision.
Hi @dewan-ahmed https://github.com/dewan-ahmed
should I make the explanation outside of the code or inside the code with
comment?
—
Reply to this email directly, view it on GitHub
https://github.com/aiven/devportal/pull/925#issuecomment-1159959995, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJPZLJLJJIZCLILZP3EMNLVP7X5BANCNFSM5YJDFREA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: Aiven] https://www.aiven.io
Dewan Ahmed (he/him)
Senior Developer Advocate, Aiven
@.***   |   +1<PHONE_NUMBER>
aiven.io https://www.aiven.io   |    https://www.facebook.com/aivencloud
https://www.linkedin.com/company/aiven/
https://twitter.com/aiven_io

Resolves https://github.com/aiven/devportal/issues/865


Update cert-manager version docs

Cert-manager has been validated for version v1.11.0, please update that, and the note here:
https://github.com/rancher/rancher/issues/40880#issuecomment-1475493876

Hi @maxsokolovsky @JonCrowther, are you working on this one or should the docs team pick this up?


Extract data-type management to callables

Instead of switch case management, i try another way using callables in order to convert data-type to InfluxDB

A new inspection was created.

The inspection completed: 1 new issues, 4 updated code elements

A new inspection was created.

The inspection completed: 4 updated code elements

A new inspection was created.

The inspection completed: 1 new issues, 4 updated code elements

A new inspection was created.

The inspection completed: 5 new issues, 4 updated code elements

A new inspection was created.

A new inspection was created.

The inspection completed: 4 new issues, 4 updated code elements

A new inspection was created.

The inspection completed: 5 new issues, 8 updated code elements

A new inspection was created.

This PR includes an idea of @gianarb in order to force data-types in  #48

The inspection completed: 5 new issues, 17 updated code elements

A new inspection was created.

The inspection completed: 5 new issues, 17 updated code elements

It sounds good.. :) In my opinion is a good solution.. It requires few works to implement it but is clear

A new inspection was created.

Yeah, i think so,
$client->mark("serie", [
  "data"     => new IntType("12"),
  "value"    => new StringType("username"),
  "measured" => new FloatType(12),
]);

The inspection completed: 5 new issues, 17 updated code elements

A new inspection was created.

The inspection completed: 17 updated code elements


Make path to precommit file customizable

Instead of hard-coding it as precommit.py

Not going to implement this as I'll never need it personally.


Logging guard error is dumping JS

What version of Elysia.JS is running?
0.8.14
What platform is your computer?
Linux 6.7.1-arch1-1 x86_64 unknown
What steps can reproduce the bug?
export const pluginsAuth = new Elysia()
  .onError(({ error }) => {
    console.log('Auth On Error')
    console.error(error)
    return createError()
  })
  .guard({
    headers: t.Object({
      'x-auth-token': t.String(),
    }),
  })

What is the expected behavior?
It should just log the error like this
[server] error: {
[server]   "type": "headers",
[server]   "at": "x-auth-token",
[server]   "message": "Required property",
[server]   "expected": {
[server]     "x-auth-token": ""
[server]   },
[server]   "found": {
[server]     "host": "localhost:5900",
[server]     "connection": "keep-alive",
[server]     "accept": "application/json, text/plain, */*",
[server]     "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
[server]     "sec-fetch-mode": "cors",
[server]     "sec-fetch-dest": "empty",
[server]     "referer": "http://localhost:5900/swagger",
[server]     "accept-encoding": "gzip, deflate, br",
[server]     "accept-language": "en-CA,en-GB;q=0.9,en-US;q=0.8,en;q=0.7",
[server]     "sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"",
[server]     "sdx-auth-token": "",
[server]     "sec-ch-ua-mobile": "?0",
[server]     "sec-ch-ua-platform": "\"Linux\"",
[server]     "sec-fetch-site": "same-origin"
[server]   },
[server]   "errors": [
[server]     {
[server]       "type": 45,
[server]       "schema": {
[server]         "type": "string"
[server]       },
[server]       "path": "/x-auth-token",
[server]       "message": "Required property"
[server]     },
[server]     {
[server]       "type": 54,
[server]       "schema": {
[server]         "type": "string"
[server]       },
[server]       "path": "/x-auth-token",
[server]       "message": "Expected string"
[server]     }
[server]   ]
[server] }
[server]  code: "VALIDATION"
[server]
[server]       at new S (/home/amritk/apps/hc/mono/node_modules/elysia/dist/bun/index.js:7:37898)
[server]       at processTicksAndRejections (:61:77)
[server]
[server] [19:28:20.661] INFO (299012):
[server]     request: {
[server]       "method": "GET",
[server]       "url": "http://localhost:5900/api/events/",
[server]       "referrer": "http://localhost:5900/swagger"
[server]     }
[server]     responseTime: 4.006269000004977

What do you see instead?
Gave me a comment too long error so I will just screenshot it

Additional information
It does include the error, but its far below all of this logged JS

Correct me if I'm wrong, but after trying a little bit with it I guess that's normal JS behavior to log the line that caused the error when you log the error object.
So it probably dumps all this JS because the production build of Elysia is minified so that bunch of code is treated like 1 line.
Using error.message instead of error should do the job though.

Cool if that works I can just close this, I ended up using elysia-logger anyway.


Fix wavy text

Addresses #283
Quick fix for wavy text.
You can see the difference in the "ing" in "Nothing".
Before

After

Here is what it looks like in Word for reference:

Commit history is polluted.


Remove markdown code block markers from LLM's response

@roribio and I debugged today why it takes so long (60s+) for a task to complete when using output_pydantic .
It turns out that it was caused by gpt-4o insisting to respond with block code markers when returning the JSON.
We tracked down the fix to the Converter throwing JSONDecodeError Error and going down the path of handle_partial_json , which, for a simple JSON (120 lines, 7KB) it takes 60s+ to complete.

Hey @ddragosd !
Thank you for creating this PR!
Root issue:

The models defined in output_pydantic and output_json are not passed into the LLM calls. As a result, the outputs of a task do not match the specified output format which leads us to doing another LLM call to format the original LLM output.

Fix:

When output_pydantic and output_json are present, append a stringified version of the schema to the prompt.

Improvement stats:

When running a simple crew with 1 task and a output_pydantic , our old approach would take around 30 seconds to complete the crew kickoff
Half of this time was dedicated to doing a followup LLM call to convert the output of the task into the specified pydantic model.
Now, the outputs of tasks automatically generate the correct format so it only takes 15 seconds which is a 50% speed increase.
We also do one less LLM call which saves users money as well

Closed by #1651

Some additional observations based on my tests with GPT 4o version 2024-05-13:

The LLM may focus on the response format more than on the task itself somtimes
I worked around this problem by using two tasks:

the first task I allow the LLM to focus on the main goal without specifying pydantic output;
then I use a second task with pydantic output. I usually end up  asking the LLM to reflect on an initial answer anyway, so this works 👍  for my use-case.


feat: Return the messages as well in response for potentially fewer retries.

PR for issue: 522

:rocket: This PR description was created by Ellipsis for commit fd44008121859fa20bc5368c6674432dd3d8e070.

Summary:
This PR modifies the retry functions and update_total_usage to include messages in the response, potentially reducing the number of retries.
Key points:

Modified retry_sync and retry_async in /instructor/retry.py to include messages in CompletionUsage.
Updated update_total_usage in /instructor/utils.py to add messages to total_usage.
Aimed at reducing retries by including messages in the response.

Generated with :heart: by ellipsis.dev

Here's an example.
This does not work when messages = [] and max_retries = 1
It does work when:

messages = [] but max_retries = 2
messages is this list below and max_retries = 1

def chat_message(role: str, content: str) -> dict:
    return {"role": role, "content": content}

def user_message(content: str) -> dict:
    return chat_message(role="user", content=content)

class People(BaseModel):
    people: list[str] = Field(..., examples=["Hamza", "Joson"], min_length=3)

messages = [
    {"role": "user", "content": "2 french names"},
    {
        "role": "assistant",
        "content": "",
        "tool_calls": [
            {
                "id": "call_UtoQ9RpuVKmXEmu9DahWA7Mw",
                "function": {
                    "arguments": '{"people":["Jean","Marie"]}',
                    "name": "People",
                },
                "type": "function",
            }
        ],
    },
    {
        "role": "tool",
        "tool_call_id": "call_UtoQ9RpuVKmXEmu9DahWA7Mw",
        "name": "People",
        "content": "Validation Error found:\n1 validation error for People\npeople\n  List should have at least 3 items after validation, not 2 [type=too_short, input_value=['Jean', 'Marie'], input_type=list]\n    For further information visit https://errors.pydantic.dev/2.6/v/too_short\nRecall the function correctly, fix the errors",
    },
]
max_retries = 1

prompt = "2 french names"
messages = [user_message(prompt)] + messages
res = ask_oai(
    messages=messages, model=MODEL, max_retries=max_retries, response_model=People
)
# People(people=['Jean', 'Marie', 'Pierre'])


Add contributor guidance (OSPS-DO-02)

Per discussion on slack

@evankanderson you need to signoff on the commit before we can merge it.
~(And so we should probably add that to this file as well)~ Nevermind the above. I see that you added it, you just didn't follow it. 😄

... I was just checking, of course!  😉
Fixed.


can you provide some suggestions on how to install tensorlfow 0.12

right now, the compiled tensorlfow 0.12 version has been removed from homepage. Do you have any suggestion on how to install the 0.12 version? I am using docker right now which means I need to reinstall 0.12 every time when I set up a container.

Tensorflow is now available for installation using pip, so you can run
something like pip install tensorflow==0.12.1
On 22 Feb 2017 3:00 pm, "gaopeng-eugene"<EMAIL_ADDRESS>wrote:

right now, the compiled tensorlfow 0.12 version has been removed from
homepage. Do you have any suggestion on how to install the 0.12 version? I
am using docker right now which means I need to reinstall 0.12 every time
when I set up a container.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DrSleep/tensorflow-deeplab-resnet/issues/32, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHemmOZA82mMSI-MyyEf78U9T51nEmjVks5re87rgaJpZM4MIPaV
.

thank you for your response. But your method can only download the cpu version. How can I download the GPU version.

problem solved by adding pip install tensorflow-gpu==0.12.0


Allow sphinx to use multiple cpu cores

What does this PR (Pull Request) do?

[x] This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

Documentation

What is the best way to verify this PR?

Ensure that the documentation at least compiles still, and probably takes less time depending on hardware.
If this is a bug fix, what versions of Traffic Control are affected?

master

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

On a 64 core system, this took the running of ./pkg -v docs from 5m26s to 43s.


TypeError: expected str, bytes or os.PathLike object, not TextIOWrapper

Having issue configuring logging in root of project, handled key errors, formatter, and handler confs for logging.conf
It should work and std.out logging.info level to console on execution of run.py
Logging has been drafted in run.py, init.py of main, main_app/routes.py

Fixed logging for the most part new bug found

 config = yaml.safe_load(open(config_path))
FileNotFoundError: [Errno 2] No such file or directory:

"""
log_config = config['logging']
TypeError: string indices must be integers
"""

New bug introduced for logging issue

diff --git a/log/conf.yaml b/log/conf.yaml
index 0df66f8..cd9841e 100644
--- a/log/conf.yaml
+++ b/log/conf.yaml
@@ -1,13 +1,12 @@
-#logging config
 logging:
   version: 1
   formatters:
-    xetra:
-      format: "Xetra Transformer - %(asctime)s - %(levelname)s - %(message)"
+    ginop:
+      format: "Ginop Transformer - %(asctime)s - %(levelname)s - %(message)"
   handlers:
     console:
       class: logging.StreamHandler
-      formatter: xetra
+      formatter: ginop
       level: DEBUG
   root:
     level: DEBUG
diff --git a/run.py b/run.py
index e55356e..ed50c2a 100644
--- a/run.py
+++ b/run.py
@@ -14,8 +14,8 @@ def manager():
     config = yaml.safe_load(loggingConf)

     #configure loggging
-    log_config = config['logging']
-    logging.config.dictConfig(log_config)
+    # log_config = config['logging']
+    logging.config.dictConfig('logging')
     logger = logging.getLogger(__name__)

 app = create_app()

Original changes accidentally on main branch

#18 PR fixes issue


210 alex editor lag fix attempt

Closes #210
Closes #226

HoldNote tool's Note Size covers the entire screen

HoldNote tool's Note Size covers the entire screen

Nice.


ads get focused by sliding the list items inserted before them

Admobadapter version or commit:
Android compileSdkVersion:
Issue description briefly:
Steps to reproduce:
All the code which you want to share

i used this library and it is working but i am facing this one issue , whenever the ads appear it slide up the list and takes it place(get focused) i used it in chat activity and when it get focused it hides the new messages,


remove the 'mark-as-dart-project' command

remove the 'mark-as-dart-project' command (the need for this has gone away)

@danrubel

(@danrubel, will TBR so I can release a new version)

LGTM


[Bug]: link broken to Docker docs on resources

Error Message and Logs
https://coolify.io/docs/applications/#resource-limits
It says:

By default, the container won’t have any resource limits. You can set the limits here. For more details, read the Docker documentation.

That link is broken now.
Also it would be nice to add a small example for ease of use like how to limit cpu or ram.
The link should probably be: https://docs.docker.com/reference/compose-file/deploy/#resources

Thanks for reporting, wrong repo though, but I fixed it.


About A Simple Demonstration of Coregionalisation in GPR model instead of VGP

Hi,
I am new to TensorFlow and GPflow.
I tried to implement intrinsic model of coregionalization (ICM) in GPflow.  I followed your example online:  A Simple Demonstration of Coregionalisation
... Provide documentation link:
https://nbviewer.jupyter.org/github/GPflow/GPflow/blob/develop/doc/source/notebooks/advanced/coregionalisation.ipynb
... Describe the documentation issue.
The original code is :
now build the GP model as normal
m = gpflow.models.VGP(X_augmented, Y_augmented, kern=kern, likelihood=lik, num_latent=1)
I want to change the VGP to GPR (normal GP regression) as below:
now build the GP model as normal
m = gpflow.models.GPR(X_augmented,Y_augmented, kern=kern, likelihood=lik, num_latent=1)
It is a bit weird. The ICM model can be implement by VGP. However, I do not know why the model can not implement by normal GP regression in my case.  Could you please tell me how can I implement the ICM in the normal GP regression ?
Thanks in advance. :)

You do not specify the exact error you are running into, but when I run the tutorial and substitute GPR vor VGP when declaring the model, the error I run into is TypeError: __init__() got multiple values for argument 'likelihood'.
This is because GPR already pre-specifies the likelihood to be Gaussian during its init step. Passing it another likelihood as you do above leads to an error when calling the underlying GPModel.init:
# From the implementation of GPR in gpflow/models/pgr.py:

class GPR(GPModel):
    def __init__(self, X, Y, kern, mean_function=None, **kwargs):
        likelihood = likelihoods.Gaussian()    # Here a likelihood is pre-specified to be Gaussian
        X = DataHolder(X)
        Y = DataHolder(Y)

        # Here the error is thrown if **kwargs contains another parameter called likelihood
        GPModel.__init__(self, X, Y, kern, likelihood, mean_function, **kwargs)

To get rid of the error, just run the call as you state above without the likelihood argument, which should give you the desired model.
m = gpflow.models.GPR(X_augmented,Y_augmented, kern=kern, likelihood=lik, num_latent=1)

Thanks for your help.


Feature/UI

@WillMcDGSK added a panel-based ui for run in the neointerface (deployable on Domino). Separated requirements for the ui to keep neointerface light-weight. Please review when you have time

have to close the PR. need to decouple dependencies. there is a risk that dependencies of panel will ruin CLD cluster build

@WillMcDGSK ready for review again

@WillMcDGSK this one was open for a long while. could you please take a look? Thanks


HMAC_CTX ctx’ has incomplete type and cannot be defined

While attempting to build on Ubuntu Linux I get the following compilation error
test.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____28()’:
test.cpp:688:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
test.cpp:757:2: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx); // OpenSSL
^~~~~~~~~~~~~
test.cpp:757:2: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx); // OpenSSL
^~~~~~~~~~~~~
HMAC_CTX_new
test.cpp:777:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
test.cpp:777:2: note: suggested alternative: ‘HMAC_CTX_get_md’
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
test.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____32()’:
test.cpp:894:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
test.cpp:963:2: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx); // OpenSSL
^~~~~~~~~~~~~
test.cpp:963:2: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx); // OpenSSL
^~~~~~~~~~~~~
HMAC_CTX_new
test.cpp:987:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
test.cpp:987:2: note: suggested alternative: ‘HMAC_CTX_get_md’
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
test.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____36()’:
test.cpp:1096:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
test.cpp:1166:2: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx); // OpenSSL
^~~~~~~~~~~~~
test.cpp:1166:2: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx); // OpenSSL
^~~~~~~~~~~~~
HMAC_CTX_new
test.cpp:1192:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~

Same here, really unsure but i think the program cannot find ccxt  module.

i also just ran into this on debian

Please checkout https://github.com/webpolis/blackbird
It has the required fixes plus it fixes issues while building with more recent HMAC libraries.

This is a duplicate issue and is already fixed but yet to be merged to master.


feat(graphql): add index directive rds support

Adds @index directive support for RDS datasource. Import workflow detects the indexes and adds @index on the field.

Customer can edit a generated index and add a queryField attribute which will create a GraphQL query with the given name.
Refactor resolvers.ts on index package (moved out index related code to query.ts file).

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1213 (3bf183f) into feature/rds-support (36a0fef) will increase coverage by 0.04%.
The diff coverage is 91.42%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@                   Coverage Diff                   @@
##           feature/rds-support    #1213      +/-   ##
=======================================================
+ Coverage                63.35%   63.39%   +0.04%
=======================================================
  Files                      297      300       +3
  Lines                    18887    18926      +39
  Branches                  4565     4572       +7
=======================================================
+ Hits                     11965    11998      +33
- Misses                    6307     6315       +8
+ Partials                   615      613       -2

Impacted Files
Coverage Δ

...y-graphql-index-transformer/src/resolvers/query.ts
81.08% <81.08%> (ø)

...aphql-index-transformer/src/resolvers/resolvers.ts
94.61% <92.85%> (ø)

...-graphql-index-transformer/src/resolvers/common.ts
98.03% <98.03%> (ø)

...ges/amplify-graphql-index-transformer/src/index.ts
100.00% <100.00%> (ø)

...y-graphql-index-transformer/src/resolvers/index.ts
100.00% <100.00%> (ø)

...fy-graphql-relational-transformer/src/resolvers.ts
97.52% <0.00%> (+0.02%)
:arrow_up:

...fy-graphql-auth-transformer/src/resolvers/query.ts
90.43% <0.00%> (+0.69%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Created another PR for this change. Closing this one.


Indexing into l:smart_buffer.path breaks on older vim versions

Commit https://github.com/mengelbrecht/lightline-bufferline/commit/4ac1dddffecc3d1559d22e93a640b50569042eeb uses  l:smart_buffer.path[sep:], which is OK on one system with vim 8.2, but crashes the plugin for vim 7.4. Untested for other versions.
Reproducible with :call lightline#bufferline#buffers(), resulting in:
Error detected while processing function lightline#bufferline#buffers..<SNR>24_get_buffer_names..<SNR>24_get_buffer_paths:
(...)
E121: Undefined variable: sep:
E15: Invalid expression: sep != -1 && l:smart_buffer.path[sep:] ==# s:dirsep

Using the older concatenation syntax sep . ':' on lines 213 and 222 fixes the issue for me, PR incoming.

The expression [sep:] returns the substring from index sep to the end of the string. Concatenating : to sep is not the same and thus won’t work.
Does it work for you if you add a space between sep and : (leading to [sep :])?

You're right, here are some sanity checks added near line 209:
if strlen(l:name)
  let l:smart_buffer.path = fnamemodify(l:name, ':p:~:.')
  let sep = strridx(l:smart_buffer.path, s:dirsep)

  let dbg1 = l:smart_buffer.path[19:]
  let dbg2 = l:smart_buffer.path[sep . ':']
  let dbg3 = l:smart_buffer.path[sep :]
  echom "sbp: " . l:smart_buffer.path
  echom "dbg0: " . sep
  echom "dbg1: " . dbg1
  echom "dbg2: " . dbg2
  echom "dbg3: " . dbg3
  if sep != -1 && l:smart_buffer.path[sep . ':'] ==# s:dirsep
    let sep = strridx(l:smart_buffer.path, s:dirsep, sep - 1)
    echom "dbg4: " . sep
  endif

Which gives:

So I guess sep . ':' makes the l:smart_buffer.path[sep . ':'] ==# s:dirsep check evaluate true, and sep is always updated provided it's not -1 ...
But for whatever reason my buffer names are the same even if I change to sep : (with just a space).
Thought maybe it was the shorten_path option, but my buffer names are always shortened anyway, so not sure what's going on.
Should we proceed with sep : then?

Just to make sure, the error you mentioned in your first post is gone if you insert a space between sep and :?

Yes, I've been using sep : since this morning and it appears to work fine.

Done, thanks!

Fixed by #97


replaced prepend with insertionPoint

I have followed (at least) the PR section of the contributing guide.
Close https://github.com/mui/material-ui/issues/32068

Thanks. Always ready to implement new fixes for first-timers. Starting my journey to contribute to open-source projects


Fix issue of wallet wanting to reconnect when going to ticketdetail / after every refresh

I made ticketdetail so that u dont need to have your wallet connected to view.

fixed now it autoconnects


Create class for employment

Definition proposed by @zhengj2007 in issue #62
employment: An information content entity that is about employment. (parent: IAO_0000030 information content entity) Note: not define employment yet

We have a class 'employment data' that doesn't have a definition yet. Is this a good start for your project?

We have the term in our application ontology (EuPath ontology, will register to OBO Foundry community soon). But we would like to replace our terms if they fit in reference ontology, such as, OMRSE term. So, we would like to do so when OMRSE term has definition.
Thanks!

We have a class for this in Apollo-SV, labelled 'employment status data item'. It's definition is as follows:

A data item that denotes some context in which an individual realizes some employee role if he or she is a member of the labor force, or the context in which he or she is not a member of the labor force according to certain prespecified conditions.

Not sure if you want to start with this definition, but it does seem obvious that it would be a more appropriate class for OMRSE.

It looks like 'employment process' in OMRSE has a definition now, which is:

A planned process in which the bearer of an employer role provides wages or salary to the bearer of an employee roll in fulfillment of the arrangements specified in some declaration.

Would the originally proposed definition of 'employment information content entity' (see first comment in this Issue) work if we define it as being about some employment process?

There's also employee role in OMRSE, which is defined such that if it is realized, it is realized by an instance of employment process. Might it be better to define the ICE as being about that? For most cases, each would be as applicable as the other. But there are cases in which someone briefly bears an employee role, but loses it before performing any processes that realize it. If such cases are included in what the ICE term is intended to be about, then defining it in terms of employee role would be better. If not, then employment process seems just as good.
P.S. On employee role, we should probably revise the axiom "realized by some employment process" to say "realized by only employment process." Again, roles can exist without being realized, and this revision would correctly match the "...if realized, is realized by..." in the textual definition.

Actually could be about both the role and/or the process. Our usage is really about anything related to employment such as status and location.

There is already an Employment data item term in OMRSE without a definition. Parent class Socioeconomic data item has no definition either.
We will move Employment data item under Data Item and include a note that when we define Socioeconomic data item we can move Employment data item back under Socioeconomic data item.
Proposed definition: A data item that is about a person's employee role and/or its realization.
Example of usage: Can be about any aspect such as salary, work location, employer
We will stick to the Employee role for the Employment data item


make bench tests required

Description
We need to run these test cases to ensure that they are not failing
Testing Instructions

Closes PACK-1982

Hey I had moved these to a separate workflow previously. Any need to put them back into test.yml? Should be possible to make them required from that workflow also? test.yml is already huge and very difficult to understand. Also any changes to this file trigger expensive tests that serve no purpose in those PRs

The "expensive" benchmarks are still in the other workflow. I only moved back the benchmark tests, which only take 2 mins.

test.yml is already huge and very difficult to understand.

Moved the new tests into a separate file. That can be done for all the jobs, if you are worried about the file size.


ISWC 2015 developer workshop

ISWC 2015 has a developer workshop where it would make sense for those in the US to present SoLiD apps http://iswc2015.semdev.org/ . Deadline for Submission is mid-july.

There are currently no plans to submit a paper to ISWC2015 dev workshop.


Failed to run project after building the custom dev client

Summary:
Failed to run project after building the custom dev client.
Tested with Expo Prebuild and EAS Build
Steps to reproduce:

yarn install
yarn android
yarn start
press a

Expected behavior:
Project runs without any runtime errors
Additional notes:

Both the development server and the development client should be on the same network


themed "classes" prop is ignored

The official documentation states that properties can be set for all instances of a component type via the theming functionality, however it appears that classes can't be set from here (and I wasn't able to find any documentation listing this exemption).
I'm not sure if this is relevant, but this line of code in withStyles.js seems to ignore the classes that are returned from getThemeProps().

[x] This is a v1.x issue (v0.x is no longer maintained).
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
I expect this theme to apply the class "CUSTOM_BUTTON_CLASS" to all instances of the MuiButton component.
const theme = createMuiTheme({
  props: {
    MuiButton: {
      classes: {
        root: 'CUSTOM_BUTTON_CLASS',
      }
    }
  }
});

Current Behavior
The classes are not applied.
Steps to Reproduce (for bugs)
https://codesandbox.io/s/wowky8p83w
I've implemented the above theme and set up the MuiThemeProvider appropriately  (see src/pages/index.js:42), but as you can see, the classes have not been applied to the button.
Context
I'm using react-admin and trying to style the checkboxes within their provided Datagrid. I don't want to reimplement the entire Datagrid, but they have not exposed the ability to pass props into the MuiCheckbox within it, so I must style it via theming. I need to target the svg within the MuiCheckbox with my styles, so I must set the classname.
Your Environment

Tech
Version

Material-UI
v1.0.0

React
v16.2.0

browser
Version 67.0.3396.99 (Official Build) (64-bit)

I'm using react-admin and trying to style the checkboxes within their provided Datagrid. I don't want to reimplement the entire Datagrid, but they have not exposed the ability to pass props into the MuiCheckbox within it, so I must style it via theming. I need to target the svg within the MuiCheckbox with my styles, so I must set the classname.

Ok, I have made up my mind. I think that we should warn about this problem, and point people toward the dangerouslyUseGlobalCSS feature. It should solve your problem.

@issuehuntfest has funded $40.00 to this issue. See it on IssueHunt

I'd like to see the behavior implemented as requested. I'm working on theme-ing MUI components within a create-react-app application.
I have an external dependency on a SASS package, which is used within my CSS modules. The easiest way for me to style, for example, all disabled input underlines, is to apply relevant SASS mixin via my stylesheets.
This deficiency is forcing me to hard code my values in the overrides property of the createMuiTheme object argument. This splits a bit of my logic, and it's frustrating to have to search the docs and source code for how to override specific pieces of the component.
Example of my current implementation:
import muiDialog from './muiDialog.module.scss';

export const muiTheme = createMuiTheme({
  overrides: {
    MuiInput: {
      disabled: {
        // https://github.com/mui-org/material-ui/issues/12192
        '&&&&::before': {
          borderBottomStyle: 'solid',
        },
      },
    }
  },
  // ...
  props: {
    MuiDialogActions: {
      className: muiDialog.dialogActions,
    },
    MuiDialogContent: {
      className: muiDialog.dialogComponentMargins,
    },
    // ...
  }
}

@dmart914 Thank you for raising your voice. I'm working on #15140 to better solve your problem. Would it help?

@oliviertassinari Thank you for your work and attention!
I think #15140 would do a lot for helping global theme overrides. With global class names as the default, I should be able to create and import stylesheets that override MUI components based on their deterministic class names. This would allow me to use non-module SASS files, perhaps implementing overrides for each components in separate files and importing them all through a single root level SASS file. That would be much more maintainable.
I don't really have any concern about name collisions with my application, as it appears MUI global class names are close to BEM, and we use CSS modules for 90% of our work anyway.
Thanks for bringing that PR for my attention. I'll follow it and watch for it to be merged.

Thank you for the feedback. I hope we can land the change in v4.0.0-beta.0.

This issue didn't get a lot of traction since it was open.


Implement proper support for nested complex env values

Change Summary
Pydantic didn't support setting fields containing "complex values" like dicts or lists from environment variables using nesting. This PR contains an implementation addressing this issue by checking which field the nested environment variable targets to, checking if the field is a complex value and if so, trying to parse the environment value as a JSON.
This already worked if explicitly using env=... keyword arg for a field but not for nested environment variables.
Related issue number
There is no issue created yet.
fix pydantic/pydantic#2304 fix pydantic/pydantic#4389
Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Please note this PR fixed the same missing feature described in https://github.com/samuelcolvin/pydantic/issues/3971: https://github.com/samuelcolvin/pydantic/pull/4235 and
What this PR also includes is checking the target field (is it really a complex field) and some more test cases.

Thanks @robertaistleitner for the patch :+1:
I left some comments.
Also, I think we can improve the Parsing environment variable values doc and improve the example there with some examples from your change.

please update

I left some comments.

I worked the comments in as they were because they were all valid as is.

Also, I think we can improve the Parsing environment variable values doc and improve the example there with some examples from your change.

I added a simple example showing the implemented feature.
Please review again.

My only concern is whether it should be included in V1.10 or wait for V2?

V2 makes more sense to me. The feature itself is great but the implementation is complex and it may introduce breaking changes that is not visible now.

I would also differ this for v2

Closing since:

this is deferred to V2
settings logic has moved to pydantic-settings
We need to resolve https://github.com/pydantic/pydantic-settings/pull/10 which might solve this.

Thanks so much @robertaistleitner for the proposed change, I'd love you to contribute to pydantic-settings or indeed pydantic in the future.
Sorry we couldn't accept this this time.

@hramezani that's awesome, thanks for your effort!


✨ Basic skill management

You might want to squash Hasura migrations to get a more consistent view of the schema changes. :)


Revert "drivers/pwm_out: cleanup for multi-platform use"

This reverts commit 0c8dcf94bc256801a45475cdd7bc6490e9fb8af7.
Found during testing today. I'll bring it back in later when I have some time to finish updating things for Linux.

Can you please mention what the issue is?

Can you please mention what the issue is?

During startup I saw the pwm_out help output, so one of the several pwm_out invocations was apparently failing.


Meat picker for custom steak names

I actually was thinking about this. For smoking, there are lots of rough guidelines for pork/poultry/beef/etc for cooking by time/temp/weight. I was thinking we could add a smoking calculator which would ask for the meat type and weight and calculate the time, recommended internal temp, and a "flip time" which would be for checking the cooking temp, water, wood, and finally the internal temp of the meat. We won't be able to support it on all devices (because of memory limitations most likely) but it would require a simple meat picker which we could also use for naming the items on the grill timer. Just a thought.

I enabled the stringPicker prior to the durationPicker. There is a weird behavior on the pop/push of the views. I'm burned out for today so I don't see it clearly how to implement correctly.

My next step is to connect the selected string to the steak names in the list. For efficiency we can probably support up to 2 custom characters. So if I'm grilling corn I customize as CO. If a duplicate entry is found we can add a number to the steak. That is CO, CO1, CO2.

I was looking into the options and the basic Menu only accepts text. Menu2 takes icons (https://developer.garmin.com/downloads/connect-iq/monkey-c/doc/Toybox/WatchUi/IconMenuItem.html).

Looking at #37 and the watch-specific build process. It probably makes more sense to simply provide the basic functionality for old watches (e.g., v.1.0.0) and move on with a different app for premium devices CIQ>=3.0.

We can write an bitmap picker that works like the other pickers, but instead of a NumberFactory or WordFactory it uses a BitmapFactory (that we write).
The picker uses the factories to get the items it is supposed to draw as Drawables. It does some other stuff (drawing triangles and stuff) but really it's just drawing something on the screen and telling which value(s) were picked. This can be supported on pretty much all devices.
Take a look at how the StringPicker is written. You could put together an bitmap factory that loads and returns some images (for the meats) and change the drawText calls to drawBitmap instead.
The newer menus are nice for what we would like to do for the settings menu (because all of the functionality we need is built in to it) but there's nothing preventing us from writing our own controls. What Garmin has provided is decent but I would say there's no doubt in my mind that 95% of the apps in the store have custom UI controls they had to write because what's there is so basic.
The harder part is going to be getting bitmaps/icons that look decent. I downloaded those you sent me and tried making some up from them but they look terrible on device. It's going to take a lot of experimenting to get them looking good on these small displays.

@nilsbenson thanks, that sounds promising! I'll take a deeper look at the factories implementations.

I pushed the proof of concept. I'm working on the improvement to prompt the flip timer directly if the steak is already running. Only show foodtype selection when the steak is in Controller.INIT status. To change a type of food you first need to stop it. Otherwise is simply a flip change.

User feedback.

June 12, 2020 | Version 1.0.0. I'll never ruin another $20 steak. Great app, easy to install and use. Will make a great Tea timer, and a million other things that require a simple timer.

The tea timer can be covered by the 046-cofeee-cup icon.

Closing this one. Fully addressed in the dynamic-entries branch.


Ability to check if User passes given Policy

Imagine the following situation whereby you have a forum and want users to delete their own posts, but also allow certain users to delete others' posts determined by a policy.
[Authorize]
[HttpDelete]
public IActionResult DeleteComment([FromRoute] Guid commentId)
{
    var currentUserId = Guid.Parse(User.FindFirst(JwtClaimTypes.Subject).Value);
    var comment = _context.Comments.Get(x => x.Id == commentId);

    if (comment.CreatedBy == currentUserId || /* User.PassesPolicy(nameof(policyName)) */)
    {
        // do the delete
       return NoContent();
    }

    return Unauthorized();
}

How can this be achieved?
Either I'd want, User.Check(string policyName); for example, or an example of how to achieve a similar result using library methods.
This seems to say you can access the request context, so from here would it be possible to build up a policy which takes a comment Id, but here we would have no access to comment.CreatedBy -- so this looks like a non-starter!

Hi @Mardoxx we have a concept called resource-based authorization that is documented here: https://docs.microsoft.com/en-us/aspnet/core/security/authorization/resourcebased
Please check that out and let us know if you have questions.
cc @blowdart


Updated link referring to Portworx CSI Drivers

Update link in volumes page under portworx-csi-migration of Portworx with CSI

This PR resolves issue #42752

This change is to fix a 404 error. The new url works well.
/lgtm

Thank you for fixing the link
/approve


File not saving

I am on MacOs and I am having issues with the temporary file. I can open the edditor just fine and I can see what is already written, however, if I try to change it and then save, nothing changes in Anki.  I used this addon on Linux and it worked perfectly fine so I am assuming it is a MacOS related issue.
Does anyone have any ideas how to debug this?

I managed to fix this shortly after posting. This issue https://github.com/pointtonull/anki-external_editor/issues/6 recomended I use --nofork which works perfectly


Specify remote kernel in settings or environment variables

Problem
Currently, the plugin does not provide a non-GUI way to specify which remote kernel to attach to. This is an issue because you cannot force the VSCode instance to start with specific remote kernel attached. Therefore the workflow of attaching to a remote kernel looks like this:

Click to open the dialog for remote server

Select existing

Specify the URL you want to connect to

4. Get prompted to restart the VSCode instance

Click select kernel in the notebook

And only then you select the actual notebook runtime

Outcome
This prevents you from performing any reasonable automation to connect to a persistent kernel instance.
Reason
Now you may be thinking, why would someone need this functionality? The reason is simple, the plugin right now does not provide any way to have persistent kernels working and instead spins up a new kernel for each VSCode instance, killing any active notebook state. To work around this, the suggestion is to have use remote kernels (#3571). However, the amount of user interaction it requires makes such feature unviable.

please could you confirm the version of vscodeb and the extension. The latest version of the extension doest require users to reliad vscode.
i believe you mentioned in discussions that you were using vscodium.
please could you confirm that

Yes, I was using a bit older version for code-server. I updated to the newest supported plugin version, so the restart while not necessary, it does not actually populate the active kernel runtime list until you do restart (image).

code-server: v4.0.2
VS Code: v1.63.0
Commit: 5cdfe74686aa73e023f8354a9a6014eb30caa7dd
Date: 2022-01-27T22:22:39Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Jupyter: v2021.11.1001552333

I would be willing to integrate the changes into the older version of the plugin as I'm already attempting to navigate this code base to implement this myself, but it's a big code base so it's going to take a hot minute.
Additionally I have tested with this environment too:
Version: 1.64.2
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:29.527Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 4.19.0-6-amd64

Jupyter: v2022.1.1301854968

The same problems with the kernel selection list persist in both native VSCode and CodeServer. However, in either case, ideally this selection is something I want to bypass entirely.

does not actually populate the active kernel runtime list until you do restart (image). Without the restart middle section is not

this shouldn't be necessary, it's possible, its slow. please try reopening a notebook a few times to double check.
basically you don't need to reload bscode at all, if you do that's a bug.

However, in either case, ideally this selection is something I want to bypass entirely.

are you saying that you want the notebook to keep using the same kernel. if you are using a review kernel, then the extension will remember this and you will not have to select it everytime.
ie even after you reload vscode the same kernel is used, and you will not need to select it again.

this shouldn't be necessary, it's possible, its slow. please try reopening a notebook a few times to double check.
basically you don't need to reload bscode at all, if you do that's a bug.

Nope, happens all the time with a new connection, it's fine with connection that was already saved and VSCode reloaded.

are you saying that you want the notebook to keep using the same kernel. if you are using a review kernel, then the extension will remember this and you will not have to select it everytime.
ie even after you reload vscode the same kernel is used, and you will not need to select it again.

You are correct that the extension will remember this selection, the problem is, as far as I can tell there is no way to have this setting to be predefined. For example something like this:
"jupyter.jupyterServerType": "remote"
"jupyter.jupyterServerConnection": { "address": "http://localhost:8882", "kernel": "1234-1234-1234-1234" }

Right now the plugin automatically spawns a non-persistant kernel like so:
Info 14:27:02: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing /tmp/tmp-22917W6KSkWZoqF30.json

What I would like is that it would connect to a persistent instance automagically without any user interaction, e.g., by overriding the workspace settings through backend. But for that I need some kind of interface with the plugin itself.

If you want to ensure the same kernel is always used for all notebooks, then I'll close this issue in favor of https://github.com/microsoft/vscode-jupyter/issues/9115

I found within the codebase (serverUriStorage.ts@167) that if I set jupyter.jupyterServerType to ip:port it will actually cache the address to the list of remotes so that's half the functionality I wanted, the other is automatically selecting the persistent kernel kernel on vscode launch, so that variable state doesn't get nixed. Couldn't see any documentation for this behavior.


fix(color-edit): fix of displaying opacity count below 58%

[x] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Opacity count input doesnt work correctly with  opacity below 58%
Closes #
What is the new behavior?
Opacity count input work correctly
Does this PR introduce a breaking change?

[ ] Yes
[x] No

why package-lock.json was update?

https://github.com/Tinkoff/taiga-ui/pull/1312


docker compose up -d failed says - The 'xbps' package must be updated, please run `xbps-install -u xbps

I recently clone nodetube , when i rundocker compose up -d , i get below message
 => ERROR [void  2/15] RUN xbps-install -Syu git tar python nodejs-lts-10 base-devel                                                                                2.9s
------
 > [void  2/15] RUN xbps-install -Syu git tar python nodejs-lts-10 base-devel:
#0 1.459 [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
#0 1.459 x86_64-repodata: [1751KB 0%] 50MB/s ETA: 00m00s
#0 2.419 x86_64-repodata: [1751KB 42%] 783KB/s ETA: 00m01s
#0 2.661 x86_64-repodata: 1751KB [avg rate: 1824KB/s]
#0 2.861 The 'xbps' package must be updated, please run `xbps-install -u xbps`
------
failed to solve: executor failed running [/bin/sh -c xbps-install -Syu git tar python nodejs-lts-10 base-devel]: exit code: 16

having the same problem and I'm confused why the owner dose not responds

I think I have create a fix for this issue. And I have created pull requests


rules: require underscore prefix in parameters

We decided instead to follow a style without underscores on parameters.


Added command usage stats

I added command usage stats, becuase why not /shrug

Fixed, thanks for the feedback.

The problem with this command/system is that it does not persist after restart, which makes it nearly useless, as I can think of very few reasons for wanting to know the command usages of only this session. To make the system do otherwise, however, would require data storage--a JSON data file, most likely--which isn't too hard, but still would require some setup.


Add mapped database field name in DMMF

Problem
Original database field name is missing from DMMF for mapped fields.
E.g. a field userId String @map("user") @db.ObjectId would be represented in DMMF as
{
  name: 'userId',
  kind: 'scalar',
  isList: false,
  isRequired: true,
  isUnique: false,
  isId: false,
  isReadOnly: true,
  type: 'String',
  hasDefaultValue: false,
  isGenerated: false,
  isUpdatedAt: false
}

No mention of user, as you can see.
Suggested solution
Add a property dbName and put the original @map'ed name there.
Additional context
In my case I'm building a generator plugin that would take Prisma schema and generate $jsonSchema for Mongodb out of it. So I need original database field names.
There is already dbName for mapped collections, so omitting it for fields seems like an oversight to me.

Hi 👋🏽
This issue seems similar to https://github.com/prisma/prisma/issues/3998. We're looking into this; however we can't give any timeline on how soon we'll ship this. 🙂

Thanks for your response @ruheni!
Great that I'm not the only one who needs it and too bad it hasn't been fixed for so long, seems like trivial thing to fix.
Closing this as duplicate for now.


Add Custom Voice long audio synthesis V3 swagger

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Hello good morning to you, happy to meet you, please contact me to my inbox<EMAIL_ADDRESS>)
i have something to tell you. thanks as i wait to hear from you<EMAIL_ADDRESS>)

Hello good morning to you, happy to meet you, please contact me to my inbox<EMAIL_ADDRESS>)


tensorflow==1.15.2 package on PyPI cannot find GPU devices

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04 (in Docker)
TensorFlow installed from (source or binary): Binary
TensorFlow version: 1.15.2
Python version: 3.6
Installed using virtualenv? pip? conda?: pip
CUDA/cuDNN version: 10.0
GPU model and memory: GTX 1080 Ti 12 GB

Describe the problem
When using the tensorflow package at version 1.15.2, Tensorflow does not find my GPU. The tensorflow-gpu package works, but I was under the impression that from 1.15.0 onward, the tensorflow package would be capable of running with or without a GPU.
Looking at PyPI, I notice there isn't a tensorflow-cpu package released for 1.15.2. Has the project switched back to using the old model where only tensorflow-gpu has GPU support?
Provide the exact sequence of commands / steps that you executed before running into the problem

pip3 install tensorflow==1.15.2
Run the following script:from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())

Observe that CPU devices are found, but GPU devices are not

Any other info / logs
I've been testing this in a Docker container that uses Nvidia's Cuda images. I have nvidia-docker2 installed and can confirm that the tensorflow 1.15.0 package is capable of finding the GPU device.
FROM nvidia/cuda:10.0-cudnn7-runtime-ubuntu18.04

RUN apt-get update && apt-get install -y python3-pip
RUN pip3 install --upgrade pip
RUN pip3 install tensorflow==1.15.2

ENTRYPOINT ["python3", "-c", "from tensorflow.python.client import device_lib; print(device_lib.list_local_devices())"]

I get the following logs as a result:
2020-02-04 22:29:15.945515: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-02-04 22:29:15.971253: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-02-04 22:29:15.972730: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x45f0770 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-02-04 22:29:15.972756: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation:<PHONE_NUMBER>0952852178
, name: "/device:XLA_CPU:0"
device_type: "XLA_CPU"
memory_limit:<PHONE_NUMBER>4
locality {
}
incarnation:<PHONE_NUMBER>886034744
physical_device_desc: "device: XLA_CPU device"
]

Just found the same issue.

@velovix, Tensorflow 1.15.2 has both GPU and CPU support. Please take a look at gist. To see available GPU devices, use
import tensorflow as tf
print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU')))

Thanks!

@gadagashwini
Using the gist you linked, if I restart the runtime and run all steps, I get no GPUs detected.
Num GPUs Available:  0

I don't know a lot about Colab, so I'm not sure why that would be.
When testing locally using list_physical_devices instead of list_local_devices, I'm still not able to detect GPUs with 1.15.2.
I still have a suspicion that tensorflow==1.15.2 was not built with GPU support though. Taking a look at the wheel file sizes seem suspect to me:

Wheel Name
File Size

tensorflow-1.15.0-cp37-cp37m-manylinux2010_x86_64.whl
394M

tensorflow_gpu-1.15.0-cp37-cp37m-manylinux2010_x86_64.whl
393M

tensorflow-1.15.2-cp36-cp36m-manylinux2010_x86_64.whl
106M

tensorflow_gpu-1.15.2-cp37-cp37m-manylinux2010_x86_64.whl
392M

If we compare file sizes between tensorflow==1.15.0 and tensorflow-gpu==1.15.0, they're very similar. However, you can see that tensorflow==1.15.2 is significantly smaller than tensorflow-gpu==1.15.2. This is admittedly unscientific, but does suggest to me that something is going on.

@velovix, On colab we need to change the runtime type as GPU before using Tensorflow-gpu 1.15.
See the tensorflow release note for 1.15.2, there is no change in the installation package. It is same as Tf 1.15. Please take a look at screenshot

Thanks

Duplicate of #36347
Since 1.15 single package was done via a quick workaround, we were not able to replicate it for the patch release and we reverted to dual pips. Please see duplicate issue for more details.

Thank you @mihaimaruseac for the pointer! We'll just use tensorflow-gpu instead going forward.
Would it be reasonable to add this to the patch notes for the 1.15.2 release on Github? That's where I looked for breaking changes and didn't see anything about this.

That makes sense. I have edited the release notes.


Docker - Containers are not exposing the RPC port

When RPC service is started we cannot connect to it from outside the container.
Port is 10332 on the default settings.

-= Assigned to nunojusto =-


Added fibonacci in Kotlin

Added Fibonacci recursive in Kotlin
Is related to issue #2

Should a non-recursive version be added as well?
Something akin to:
generateSequence(0L to 1L) { (a, b) -> b to (a + b) }
    .drop(number - 1).
    .first().second


Create package using cookie cutter.

This is stubbed out but neither the tests pass nor do the docs build.


[TypeError: null is not an object (evaluating '_OpenCV.default.checkForBlurryImage')]

Getting the above error message when trying to run the project on IOS. Has anyone come across this before?

solved - it was a framework linking issue