Can't use multiple accounts in services like Google's suite which share logins across apps

If I create app1 and log into a google site with account1, and create app2 to use with account2, when opening app2 I am automatically logged in with account1.
It would seem as though each app is using the same data instead of having a data cache of its own.

I think this is an Electron thing. It uses its own version of Chromium, which internally caches and stores cookies for the whole installation, which any Electron app will use. So if you run multiple electron apps (including those not created with electron-wrapper), they will all use the same cache, cookies, saved logins, etc.
I haven't worked on Electron in a while. Do you know if there's a way to force electron to separate an app's local storage from other apps?

It seems like the answer is "no". There is has been open issue for this in Electron since 2014, which still does not appear close to a resolution.
There are some options for single-site-browsers, though.
In Google Chrome or Chromium, you can "Create Shortcut... Open As New Window". You can start with different Chrome use profiles to have different cookies.
Or you can use https://getwebcatalog.com/
On Linux the Gnome Web / Epiphany browser also allows creating single-site-browsers much like Chrome does.

I wonder if we can make custom profiles for electron, like we can for chrome, or if we can choose a different path for where the electron's chrome data is saved, like we can for chrome browser and other chromium-based browsers.

I wonder if we can make custom profiles for electron, like we can for chrome, or if we can choose a different path for where the electron's chrome data is saved, like we can for chrome browser and other chromium-based browsers.


Add transparent ball anime gif

I made the ball anime transparent so that I looks good in table

@junoyoon
Thank you but, the border of the ball looks a little weird.

Insn't it better than before? :-)

@junoyoon
Yes, It's better :)

The reason why the border is weird is... that it doesn't have any background and shadow.. so that the border can not be smoother than this. (anti-aliasing..)


fix: memory leak in JavaScript Compiler

Summary
closes https://github.com/web-infra-dev/rspack/issues/3169

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

Release Canary
Version: 1.0.15-canary-cc53546f-20241030081506


If a script is injected already shouldn

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

We are using to inject Stripe.js and there are certain conditions where it tries to inject again.   Shouldn't the GGScript look for or add an extension to keep a single script injected only once and not be duplicated?

The function doesn't check if a script has already been injected before trying to inject. I'm not sure how we would detect it.

The function doesn't check if a script has already been injected before trying to inject. I'm not sure how we would detect it.


Add independent module to show IP

This would be something that shows some info in a display.
I would be inclined to use a different display than the ssd in the other cases but we could make it compatible with both scenarios.
It would be a nice way to always have access to your RPi
See this display and the associated docs

This 'works', but it actually be incompatible by design with the anavi light hat. In that sense, having 1 project with 2 hats and 2 sets of requirements might be a bad idea. The project will be split into its own repo and the changes will be rolled back.


Bugfix/remove jira links from initial revision

Integration tests successful: https://dev.azure.com/solidify/Internal/_build/results?buildId=9512&view=results


Rendering artifacts

There seem to be rendering artifacts that show up:

Sometimes a highlight isn't completely cleared leaving a thing blue outline where the highlight used to be.
Sometimes the cursor remains after moving it somewhere else.

yeah - I noticed this sometimes too. Can you also add the information from the SEE bug report form about your machine, os and setup for this? I do think it is happening more for certain machines.

Does this still happen or is this gone now?

I believe this still does happen for me, will report back in a few days of using the release build.


Calls to ValidateEmail returning server 500 error

I have a form that asks for the username and password the user would like to use to create their new account.  I use AJAX to post to a Register controller.  That passes to CreateAccount which uses ValidateEmail to check MembershipReboot to see if the email has already been used, the password is the correct format, etc.  I am seeing the ValidationException being passed to Elmah but the AJAX call is returning a server 500 error with this validation exception rather than content I can then pass to my user and display on the form.

Sorry -- somehow I missed this issue.
MR will throw ValidationExceptions so you'd need to catch that and translate that back to some logical error to your Ajax client.


Top-level templates not working in 0.69.2

Description
I'm trying to create a top-level list of templates with which to base my only colleciton on. The purpose is to have a pages collection and have a homepage, about, and contact page, each with different schemas (and thus different templates). I'm basing this entirely on this page in your documentation. Yet, for some reason, no variation of this seems to actually work (json, md, or mdx). I get a very cryptic error saying that basically cannot get the collection at all, despite one document existing and the audit passing.
Steps to reproduce
Schema definition:
const schema = defineSchema({
  config: {
    token: process.env.TINA_TOKEN,
    clientId: process.env.TINA_CLIENT_ID,
    branch:
      process.env.NEXT_PUBLIC_TINA_BRANCH ||
      process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF ||
      process.env.HEAD ||
      'main',
  },
  collections: [
    {
      label: 'Pages',
      name: 'page',
      path: 'content/pages',
      format: 'json',
      templates: [
        {
          name: 'homepage',
          label: 'Homepage',
          fields: [
            {
              type: 'string',
              name: 'title',
              label: 'Title',
            },
          ],
        }
      ]
    },
  ]
});

content/pages/homepage.json:
{
  "title": "page title",
  "_template": "homepage"
}

Expected result
Renders a collection of pages at /admin with one result: homepage. This page should be of template "homepage" and contain a filled title field with a value of "page title".
Actual result

Environment
Tinacms Package Versions
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

Tools

Tool
Version

browser
Brave 1.42.97

os
MacOS 12.3

node
16.13.1

npm
8.12.2

Solved by https://github.com/tinacms/tinacms/pull/3137, close at will @jeffsee55 .


Style rst directives: figure, quote, section headings

Add minimal styling for the following directives:

quotes
figures (images + caption) - this does not affect plain uncaptioned images.

Remove section margin. This was causing a lot of empty space above page title.
Add incremental spacing between sub-sections (h2, h3, etc.). This way h2s have more distance between them, h3s are a bit closer together, etc. to keep sub-sections and sub-sub-sections logically grouped together.
Remove dead code (_component_rst.scss). That class was not being used anywhere.
Added examples.

@tbrlpld could I get a quick review/approval to merge this in?

Rebased on latest main +

Pulled the new styles into their own files
Altered examples so they render properly with the new MyST parser.

Going to merge this now. Thanks @vsalvino! ❤


support objects in frontmatter

Even though it might be tricky, it would be great to support objects in frontmatter.
I have a few files that have the following frontmatter shape:
---
title: 3 Tips To Write Better Code As A Beginner Frontend Developer
category: 'Engineering'
cover:
  src: '/images/posts/3-tips-to-write-better-code-as-junior-developer/alex-kotliarskyi-ourQHRTE2IM-unsplash.jpg'
  alt: 'A person sitting in front of a laptop'
  caption: 'Photo by Alex Kotliarskyi on Unsplash'
publishedAt: '2023/04/04'
---

The cover property gets resolved to [object Object] though.

Thank you for the feedback. I will give this further thought. Question - do you have some sort of a schema for the frontmatter? I am thinking about letting the developer specify that so that the proper editors are displayed.

Yes, I use contentlayer to define a schema for my frontmatter. In case of the blog post, it looks like this:
const Image = defineNestedType(() => ({
  name: 'Image',
  fields: {
    src: { type: 'string', required: true },
    alt: { type: 'string', required: true },
    caption: { type: 'markdown' },
  },
}));

const Externals = defineNestedType(() => ({
  name: 'Externals',
  fields: {
    medium: { type: 'string' },
  },
}));

const Categories = ['Engineering', 'Product', 'Careers'] as const;

const POSTS_DIR_NAME = 'posts';

export const Post = defineDocumentType(() => ({
  name: 'Post',
  filePathPattern: `./${POSTS_DIR_NAME}/*.mdx`,
  contentType: 'mdx',
  fields: {
    title: { type: 'string', required: true },
    publishedAt: { type: 'date', required: true },
    summary: { type: 'string' },
    cover: { type: 'nested', of: Image },
    externals: { type: 'nested', of: Externals },
    category: { type: 'enum', options: Categories },
    tags: { type: 'list', of: { type: 'string' } },
  },

A similar schema for the editor sounds cool as it would also allow me to create new documents with prepopulated keys for the frontmatter.

Could we add support for booleans as well, as checkboxes? The props editor for custom components would also benefit from this.


Beta 8?

Any idea when beta 8 is out? I have to use beta 8 of Entity Framework and with ASP.Net Identity only in beta 7 there are a lot of conflicts.

The milestones for dnx, dnvm, identity, abstractions, configuration, diagnostics, hosting, security, razor, and mvc are 100%. Entity Framework is showing 94% with 3 open issues. DI and Common are 75% each with 1 open issue each. Must be close!

Cool. If Identity is 100% is there anyway to get it? Does it mean the github identity dev repo is the "beta8" as it currently stands?
To be more specific of my issue I'm getting a MethodMissingException in Mvc when adding an Identity provider (an Entity Framework one)
services.AddIdentity<IdentityUserDataModel, IdentityRoleDataModel>()
Which I am guessing is due to the fact the extesion AddIdentity is beta7, and my identity provider and almost all other parts of the app are beta 8.

Also, I could use Beta 7 if I could define a one to many relationship as thats the only thing I cannot find in beta 7 (the .HasMany calll):
I would need to do the following equivalent in beta 7:
b.Many(u => u.Claims).WithOne().ForeignKey(uc => uc.UserId);
Where u is a user that has multiple claims, and the claim has a UserId referencing the Id of the user

Please see https://github.com/aspnet/Home/wiki/Roadmap for the updated dates for beta8

How about beta 8? I don't see any updates from it.


[Bug Report]: Remember me cookie not working

Describe the Bug
Since a couple of releases ago (don't remember with which version it started) the "Remember me" cookie doesn't seem to work anymore.  I have to login at least once every 24hr. Also, sometimes after login I receive an 419 Page expired issue.
This is what I've done so far to debug:

Check browser cookies: 3 cookies are present (XSRF-TOKEN, bookstack_session and Remember_standard_, which is responsible for saving the credentials I guess (valid till 2026)
made sure app_url in .env  includes https before url

More info about my installation:

Docker container running on port 6875 (image used of linuxserver.io)
Reverse proxy with apache (running on port 443)
TLS certificate of Let's encrypt

My apache vhost file:
<IfModule mod_ssl.c>
        <VirtualHost *:443>
                ServerName PUBLIC-URL
                SSLEngine on
                SSLCertificateFile      /etc/letsencrypt/fullchain.pem
                SSLCertificateKeyFile /etc/letsencrypt/privkey.pem

               # enable HTTP/2, if available
               Protocols h2 http/1.1

              Header always set Strict-Transport-Security "max-age=63072000"
              Header set X-Content-Type-Options nosniff
              Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
              Header always append X-Frame-Options SAMEORIGIN
              Header set X-XSS-Protection "1; mode=block"

             Header set Content-Security-Policy "default-src 'none'; connect-src 'self'; font-src 'self'; img-src 'self' data:; media-src 'self'; script-src  'self'; style-src 'self' 'unsafe-inline';frame-src 'https://embed.diagrams.net' 'https://<PUBLIC-URL>';"

              SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1
  SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECD
HE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
             SSLHonorCipherOrder     off
             SSLSessionTickets       off

              proxypass  / http://<PRIVATE IP SERVER>:6875/
              proxypassreverse  / Http://<PRIVATE IP SERVER>:6875/
        </VirtualHost>
 SSLUseStapling On
 SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
</IfModule>

How can I further debug this problem?
FYI I'm using Chrome on android & Opera on Ubuntu
Steps to Reproduce

Surf to my bookstack website URL

Expected Behaviour
See my normal homepage instead of login page (almost) each time
Screenshots or Additional Context
No response
Exact BookStack Version
21.11.0
PHP Version
7.4.25
Hosting Environment
Armbian 21.08.5 (based on Debian 10) - 32 bit
Docker 20.10.11
Apache 2.4.38

Hi @wouterVE, It might be worth having a read through #2985. As per that issue, it's something that's been reported by a few people now but I'm having trouble deciphering what in BookStack would cause this.

hi @ssddanbrown  thanks for your link. The described behavior is exactly what I am experiencing. I'll close this issue and continue my input on the other one. Thanks


Merge @nft/components into the component directory

Move all the components from @nft/components to the ./components directory.
I also merged the translations and the theme.
The providers bugsnag and chakra have been added to the _app.
I also removed the option on the footer for the powered by present by default and application can simply remove it if they don't want it
While moving the components, I fixed a lot of errors from the linter:

Add key in some components (mostly translations where we pass an array with the component)
Remove the children={<xxx>} props to go with classic children. Mostly on the InputRightElement components
Move query from navbar to layouts
Rename some components that had the wrong name, AssetCard instead of TokenCard, for example

Note: the build is failing because I still need to update the hook library
Note 2: this PR is merged into https://github.com/liteflow-labs/marketplace-template/pull/47 so can safely be merged

Should we add es-mx translations? I see we are missing some of the files/content.

@antho1404 Nevermind, got confused by seeing templates/components file added/modified to the other languages and es-mx having only one file, All good my bad!


Cannot find col2drive in geetools.tools

Hi Rodrigo,
I am also trying to use geetools to download imageCollection. However, I cannot find col2drive function in geetools.tools. My code is below.  Thank you for your help and this powerful tool.
from geetools import tools import ee ee.Initialize() S1_images=ee.ImageCollection('COPERNICUS/S1_GRD').filterDate('2017-08-27','2017-08-29') task = tools.col2drive(S1_images,r'D:\result')
I got the error message
AttributeError: module 'geetools.tools' has no attribute 'col2drive'

Hi @nerva-trajanvs, you can also export to Google Cloud Storage, but I haven't made a function to export an entire collection to cloud storage. If you make one you can fork and pull request :smile:


Draft: Prefix all pre hashes with a magic byte. BIS

As I had no idea how to improve #1305 following @samoht legitimate comment, this is another approach.
Since all hashes in irmin are produced by Hash.Typed, I modified it to require a pre_hash_prefix. We now just have to grep all the pre_hash_prefix occurences in the code to see that they are all different.
Interrogations I have:

The computed hashes seem different from #1305.
irmin-git tests failing?, i'm not sure why.
irmin-chunk tests are broken too, I don't know how to fix that.

It's almost what I had in mind :-) but it would be nice to not have to define this for all contents. Let me try a quick patch to see if that's possible

So it's indeed a bit more tricky than expected, so not quick patch for tonight.
But basically:

having a runtime check to avoid prefix collisions does not seem possibles, as we Irmin_pack.Inode multiple times.
irmin-chunk is failing because it doesn't use the pre_hash function at all (it's a bug)
we need to modify Repr to allow to define custom tags for binary serialisation
it's unclear what API to use for pre_hash prefixes: irmin-chunk needs to deal with it at the binary level (e.g. just before we compute the hash) ; some other backends take care of by themselves (like ocaml-git) ; so we probably just need to ensure that the default stores are ok. Does it mean that Irmin.Make (or Irmin_pack.Make) should handle this themselves? It would be nice if that could be the case but I'm not sure it this is possible.

a6ca7c7857912342d9a1262e9e61649ca231a3c3 fixes irmin-chunk, on top of #1308

It seems like a bad idea to me to change the signatures of Irmin.(Node,Contents,Commits).S this way.  The need for a pre_hash_prefix value is backend-specific, it doesn't make sense for the user to pick "" when using irmin pack, and it doesn't make sense for the user to pick something else than "" when using irmin-git.
Closing in favour of #1309


chore: remove beta client LRO

Fixes #2103 ☕

Check library-generation-presubmit-sdk-platform-java (cloud-devrel-kokoro-resources) is irrelevant to this PR.


Add payeeName option

@RikudouSage would you please merge this PR?

@Ciki gonna review the code and merge it later today.

Thanks!


Logs tab for Pods

In the Editor view to the right we could have an additional tab for Logs.
We should start by showing the logs from Pod objects and then for other kinds of objects.

This is UX ready: https://www.figma.com/file/bJkMhjGXWa5NXfmxdIgZyB/Show-age-and-status-in-cluster--mode-%232083-%232084-%232085?node-id=0%3A1


openvpn: 2.6.11 -> 2.6.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/openvpn/versions.
meta.description for openvpn is: Robust and highly flexible tunneling application
meta.homepage for openvpn is: https://openvpn.net/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.6.12 with grep in /nix/store/m11kmj70kw5zmpa1jvigpfazd3f1hy8c-openvpn-2.6.12
found 2.6.12 in filename of file in /nix/store/m11kmj70kw5zmpa1jvigpfazd3f1hy8c-openvpn-2.6.12

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

24 package rebuild(s)

First fifty rebuilds by attrpath

CuboCore.coretoppings
calyx-vpn
connman
connman-gtk
connman-ncurses
connmanFull
connman_dmenu
crowbar
gnome.networkmanager-openvpn
htb-toolkit
ivpn-service
kdePackages.plasma-mobile
kdePackages.plasma-nm
libsForQt5.plasma-nm
maui-shell
namespaced-openvpn
networkmanager-openvpn
openvpn
openvpn-auth-ldap
plasma5Packages.plasma-nm
pritunl-client
protonvpn-cli_2
riseup-vpn

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m11kmj70kw5zmpa1jvigpfazd3f1hy8c-openvpn-2.6.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A openvpn https://github.com/r-ryantm/nixpkgs/archive/452a0757309134f9c02937941ffb0d7e025e4d3e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/452a0757309134f9c02937941ffb0d7e025e4d3e#openvpn

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m11kmj70kw5zmpa1jvigpfazd3f1hy8c-openvpn-2.6.12
ls -la /nix/store/m11kmj70kw5zmpa1jvigpfazd3f1hy8c-openvpn-2.6.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

maui-shell

28 packages built:

CuboCore.coretoppings
calyx-vpn
connman
connman-gtk
connman-ncurses
connmanFull
connman_dmenu
crowbar
crowbar.dist
networkmanager-openvpn (gnome.networkmanager-openvpn)
htb-toolkit
ivpn-service
kdePackages.plasma-mobile
kdePackages.plasma-mobile.debug
kdePackages.plasma-mobile.dev
kdePackages.plasma-mobile.devtools
kdePackages.plasma-nm
kdePackages.plasma-nm.debug
kdePackages.plasma-nm.dev
kdePackages.plasma-nm.devtools
libsForQt5.plasma-nm
namespaced-openvpn
openvpn
openvpn-auth-ldap
pritunl-client
protonvpn-cli_2
protonvpn-cli_2.dist
riseup-vpn

Maintainer pings
cc @viric @peterhoeg for testing.

https://nvd.nist.gov/vuln/detail/CVE-2024-28882

2.6.11 and this should be backported to 24.05 IMO. The releases look very small.


Provide a JS entry point at the default boilerplate

It would be good to have JS entry set up by default. That avoid some explanation when dealing with absolute novices. You'll need to set up an entry most likely anyway so this would save a step.

Yeah, good point!


Failed to create new *v1.Ingress for ActiveMQArtemis CRs with the same name

Describe the bug
Creating ActiveMQArtemis CRs with the same name and exposed console in multiple namespaces causes the following error:
message: >-
        ["failed to create new *v1.Ingress, admission webhook
        \"validate.nginx.ingress.kubernetes.io\" denied the request: host
        \"ec-for-many-ns-wconsj-0-svc-ing.apps.artemiscloud.io\" and path \"/\"
        is already defined in ingress
        namespace1/ec-for-many-ns-wconsj-0-svc-ing"]
      reason: ResourceError
      status: 'False'
      type: Deployed

[!TIP]
Vote this issue reacting with :+1: or :-1:

This issue will be fixed in 1.1.0


[vcpkg-tool] clone date/sha commit out of sync with downloadable binary/source date/sha commit

Describe the bug
As of 02/26/2021 00:48 UTC

Clone https://github.com/microsoft/vcpkg-tool
Build vcpkg binary using CMake
vcpkg version yields:
Vcpkg package management program version 2021-01-13-8027bea90b47d50fd6090bbf5ded330f00f87570
This is the latest date in CMakeLists.txt and latest sha commit to repository.

Vcpkg latest downloadable file https://github.com/microsoft/vcpkg-tool/releases/tag/2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e vcpkg.exe
vcpkg version yields:
Vcpkg package management program version 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
The CMakeLists.txt date still has 2021-01-13 in the downloadable source Souce Code zip and Source Code tar.gz even though the Release tag shows a date of 2024-02-24

There was a change to vcpkg bootstrap.sh and bootstrap.ps1 for microsoft/vcpkg commit 2bd1faf shows the newer date than in microsoft/vcpkg-tool github repository and downloadable sources.

I can understand as ongoing fixes and development happen how the commit/sha can be different.

So I am wondering if the timing just got the dates out of sync?

Also you all are doing great work by the way.👍👏👏✔😎

@StarGate-One, thanks for reporting this issue!
As 2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e released, the version should be
2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e

However it shows wrong version with 'vcpkg version' command, this should be a vcpkg bug. @ras0219-msft, could you please take a look?
PS F:\vcpkg\clean> ./vcpkg version
Vcpkg package management program version 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e

Closing as this does not seem to be fixed.

Reopen this issue for tracking the bug, related to PR https://github.com/microsoft/vcpkg-tool/pull/51, this issue should be fixed in next release.

This issue should be fixed on latest version now. The date in tag name is consistent with that in vcpkg version.
Please try to update vcpkg to rebuild.
PS F:\latest\vcpkg> .\bootstrap-vcpkg.bat
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2021-08-12/vcpkg.exe -> F:\latest\vcpkg\vcpkg.exe... done.
Validating signature... done.

Telemetry
---------
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.

Read more about vcpkg telemetry at docs/about/privacy.md
PS F:\latest\vcpkg> .\vcpkg.exe version
Vcpkg package management program version 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04

See LICENSE.txt for license information.
PS F:\latest\vcpkg>


feat: Add OAuth extensions for kafka scaler

Add support for OAuth extensions for Kafka Scaler. This is required for using OAuth with a Confluent Kafka Server (KIP-342).
Checklist

[X] When introducing a new scaler, I agree with the scaling governance policy
[X] I have verified that my change is according to the deprecations & breaking changes policy
[X] Tests have been added
[x] Changelog has been updated and is aligned with our changelog requirements
[X] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[X] A PR is opened to update the documentation on (repo) (if applicable)
[X] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes https://github.com/kedacore/keda/issues/4544

Relates to https://github.com/kedacore/keda-docs/pull/1121

Whats the status on this?

I have been away for some time, will check this later this week. Thanks!

/run-e2e kafka

Thanks a lot 😄


Can't build an iOS app using Visual Studio on Windows

VERSIONS

Maui.GoogleMaps - 5.0.1
.NET SDK - 7.0.86

IDE

[ ] Rider
[x] Visual Studio
[ ] Visual Studio for Mac

PLATFORMS

[ ] Android
[x] iOS

ACTUAL BEHAVIOR
Running the iOS version of a Maui app using Visual Studio with Maui.GoogleMaps library generates a clang++ error when tries to bind the library. Running the project on macOS doesn't have this issue.

This have been tested using an M1 Macbook.

Android is working as expected.

ACTUAL SCREENSHOTS/STACKTRACE
Error clang++ exited with code 1:
ld: building for iOS Simulator, but linking in object file built for iOS, file '/Users/codercampos/Library/Caches/Xamarin/mtbs/builds/MauiGoogleMaps/57577671acee31fef62d29b50a36185f3e40cd1df654067ac25413fb41bebe33/C:/Users/coder/AppData/Local/XamarinBuildDownloadCache/GMps-6.0.1/Maps/Frameworks/GoogleMaps.framework/GoogleMaps' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)	MauiGoogleMaps	C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7099\targets\Xamarin.Shared.Sdk.targets	1274

EXPECTED BEHAVIOR
The app should build and run on iOS even without using the control on any ContentPage.

HOW TO REPRODUCE

Create a new Maui App solution.
Add Maui.GoogleMaps nuget package.
Build the project setting the target to iOS.
In the middle of the process, this will throw an error.

Repo
https://github.com/codercampos/MauiGoogleMaps

This is a known issue in dotnet, not specific to this nuget, however it affects the lib that is used by this nuget. Please search xamarin/macios github to resolve this error

Yes, you are right. I was wondering if this was a problem with the library itself. Thanks for the lead. I'm able to build on Windows now.


Changelog

The change log appears to have stopped showing what has changed in each release of virtio windows drivers.  Would be nice to know in each release, what drivers were updated and what was fixed/added.

we normally maintain some sort of log for the downstream builds which looks like
Date    09 Dec 2024
repo    git://git.engineering.redhat.com/users/vrozenfe/internal-kvm-guest-drivers-windows/.git
tag     mm288
Fixed issues:
RHEL-65784: Fix files ending https://issues.redhat.com/browse/RHEL-65784
https://issues.redhat.com/browse/RHEL-1215
https://issues.redhat.com/browse/RHEL-19814
RHEL-69069: Apply clang-format CI for Balloon driver https://issues.redhat.com/browse/RHEL-69069
Date    25 Nov 2024
repo    git://git.engineering.redhat.com/users/vrozenfe/internal-kvm-guest-drivers-windows/.git
tag     mm287
.......
If needed, I think we can put a copy of it to the upstream virtio-win package.
Vadim.

That would be great. Where is the log your referencing here?
This is one we use internally at RedHat.
Thanks


[MINOR][CORE] Modify some field name because it may be cause confusion

What changes were proposed in this pull request?
There is different field name style for tracking allocated data pages,
such as class BytesToBytesMap use field name dataPages for allocated data pages,
class UnsafeExternalSorter and ShuffleExternalSorter use field name allocatedPages for allocated data pages
They are all belong to memory consumer, so I think it is best to use unified name;
and class TaskMemoryManager filed name allocatedPages is modified to pagesBitSet，used to indicate the function of bitmap ;
How was this patch tested?
Existing tests
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

ok to test

ok to test

I don't think it's worth to change naming the variable in a single PR. Let's do that when we fix some codes around here, or let other people try to fix later.

Agree, this isn't worthwhile.

ok,close this PR.


Upgrade Typescript from 4.8.4 to 4.9.4 to be able to use satisfies keyword

Hello,
I like your template a lot, that's a good work
I'd like to use the satisfies keyword in my project.
I just created a new project, but it seems to use an older version of Typescript, could we upgrade to the latest? I can do a PR for that.
~/dev/hexa-node is 📦 v0.0.0 via  v19.3.0 on ☁  (eu-central-1)
❯ pnpm update --latest --interactive
? Choose which packages to update (Press <space> to select, <a> to toggle all, <i> to invert selection) …
❯ ○ @types/node (dev) 18.11.9 ❯ 18.11.18
  ○ dprint (dev)       0.32.2 ❯ 0.34.1
  ○ eslint (dev)       8.27.0 ❯ 8.30.0
  ○ tsup (dev)          6.4.0 ❯ 6.5.0
  ○ typescript (dev)    4.8.4 ❯ 4.9.4
  ○ vite (dev)          3.2.3 ❯ 4.0.3
  ○ vitest (dev)       0.25.1 ❯ 0.26.2

Enter to start updating. Ctrl-c to cancel.

Kind regards

This is a bit the same for Vite, would be nice if we could upgrade to Vite 4
Let me know what you think about it. I'd be glad to help if needed

Feel free to do a PR to update the deps. There shouldn't be any actual code changes needed here.


chore: bdd-spring-1575562858 to 0.0.1

chore: Promote bdd-spring-1575562858 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add possibility in verify view for HD wallets to choose the address format

Now it is possible to choose the address format for generated HD wallet addresses in verify view. Together with #228 and #229 it is now possible to generate the same wallet in coinb.in and bitcoin core and recreate in coinb.in the same addresses.

Thanks for your contributions.
I will be looking into them this week with the possibility of merging after.
Sorry again for the delay in responding.

@ok2 this is awesome and works flawless!
is it possible for you to add BCH support  with the latest q addresses as well as signing a transaction?
Btw is there any chance that I can get in touch with you privately?
Regards Zilveer

Yes
209 3024708
Or
6292281236
Jesus V Guerrero
You can text
Or call
Thank you
On Tue, May 9, 2023, 4:16 PM zilveer @.***> wrote:

@ok2 https://github.com/ok2 this is awesome and works flawless!
is it possible for you to add BCH support with the latest q addresses as
well as signing a transaction?
Btw is there any chance that I can get in touch with you privately?
Regards Zilveer
—
Reply to this email directly, view it on GitHub
https://github.com/OutCast3k/coinbin/pull/230#issuecomment-1541006758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG7FZPFFWGGK2DXAEIRSDC3XFLF4NANCNFSM42NEAQCA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yes but I don't know how I need to be walked threw it
On Fri, Jun 2, 2023, 1:55 PM J G @.***> wrote:

Yes
209 3024708
Or
6292281236
Jesus V Guerrero
You can text
Or call
Thank you
On Tue, May 9, 2023, 4:16 PM zilveer @.***> wrote:

@ok2 https://github.com/ok2 this is awesome and works flawless!
is it possible for you to add BCH support with the latest q addresses as
well as signing a transaction?
Btw is there any chance that I can get in touch with you privately?
Regards Zilveer
—
Reply to this email directly, view it on GitHub
https://github.com/OutCast3k/coinbin/pull/230#issuecomment-1541006758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG7FZPFFWGGK2DXAEIRSDC3XFLF4NANCNFSM42NEAQCA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

2093024708

I am sorry to answer more then a year later, but yes, I think it should be possible to add BCH, but I have not much interest in BCH for now. You can write me on<EMAIL_ADDRESS>if you are still interested in contacting me.


Allow user to have global marks

Hello.
This PR should solve the usecase described in https://github.com/ThePrimeagen/harpoon/issues/99 and which also I encountered.
In the current implementation all marks are specific to the folder were the marked file is.
My project have complex folder structure and I want to be able to navigate between files in all folders, so marks should be global.
In this PR I add the option to set global project were all marks will be saved
global_project ="path/to/my/project"
This approach is more convenient at least for me, and hope will be useful for others.
Without this option everything works as before.
btw I have no experience with lua, so pardon if I made some stupid things

@ThePrimeagen could you please tell me if there is something I need to do in order to get this pr merged?


upgrade ember-cli-htmlbars to 1.0.1

Current version will break app build on windows once broccolijs/broccoli-merge-trees#31 is merged
Upgrade ember-cli-htmlbars to latest version fixed the issue
cc @stefanpenner

@Gaurav0 Any chance to see this merged?
This triggers deprecation warning with the last versions of Ember:
DEPRECATION: Overriding init without calling this._super is deprecated. Please call `this._super.init && this._super.init.apply(this, arguments);` addon: `ember-cli-htmlbars`
    at Function.Addon.lookup (.../node_modules/ember-cli/lib/models/addon.js:1005:27)

Can you please merge this? I also have this problem after upgrading Ember to latest version.

No. Conflicts must be resolved and tests must pass.

@tsing80 can you fix it please?

@Gaurav0 You mention you want to deprecate this package in this PR, https://github.com/Gaurav0/ember-cli-jquery-ui/pull/20
Are you? This PR no longer makes sense since htmlbars 1.0.8 is already referenced in the package.json, but no release is made. Is there a release coming?


Update light theme and footer.

Summary
The light theme is up-to-date with the dark theme.
Details

lightCustom.css and lightFooter.css should be up-to-date with the darkCustom.css and darkFooter.css (the default style), since they are also included in the branding package for download.
The minification mechanism for .css files is included in the branding package:
Result of Investigation: Koala is the recommended tool and a Koala Customization Guide is included.

Acceptance criteria

[ ] Make loading of dark and light scheme customizable (currently hardcoded in JSF)
[ ] Resulting lightCustom.scss and lightCustom.scss.
[ ] These files are preferrably identical to maintain simplicity and import only the different _lightVariables.scss.
[ ] Manual Tests
[ ] Resulting UI Screenshots

Additional context
Add any other context or screenshots about the task.

Second Part: light theme and footer.


Filters Don't Display in SDK FilterExplorer

Filters added to a .j3f file don't show up in the FilterExplorer. When I load the filters in the game, however, they appear present. This happens in multiple L&Fs. It is still possible, however, to add filters by the usual method of right-clicking on the "filter" node and selecting the filter's name.

How else do you add filters? oO

@Normen The filters can be added normally (right-click on filters then click on the filter name), but they don't display. I'll try to make a video to show it.

@normen
Here's a video:
https://www.youtube.com/watch?v=UbKf9lvUlfY
Notice how I add a filter to the effects.j3f file, and it doesn't show. But, when I attempt to show it in the scene composer, it does.

the problem is resolved, it will be available soon in the next snapshot.
Thanks again for reporting issues.


Handle visual observation.

Thanks for this wonderful work.
I see all the experiments are low-level state inputs, but DMC and meta-world support visual inputs. Have you tried tdmpc2 on these tasks? In my opinion, being able to process visual inputs is a critical capability of the world model.

Hi @Jackory, this is a very valid question which I have gotten a few times already, so you're not alone in thinking that.
We did run benchmarks with visual inputs for TD-MPC1, and code for reproducing those experiments is available here: https://github.com/nicklashansen/tdmpc. We have also used TD-MPC1 for several other follow-up works in sim and real that use visual inputs, most recently (at time of writing) MoDem-V2 https://arxiv.org/abs/2309.14236 which takes 3x RGB cameras of 224x224 pixels as input along with robot proprioceptive state, so we are fairly confident in its ability to handle high-dimensional inputs.
For TD-MPC2, we wanted to mainly focus on the algorithmic properties and felt that visual benchmarking had a relatively lower priority compared to scaling / multi-task learning and algorithmic robustness (no hyperparameter-tuning). That said, I agree that releasing some visual benchmark results + public code for it would be valuable. We did not do any such benchmarking for TD-MPC2 (even internally), but I don't see any reason why it wouldn't perform comparably or better than TD-MPC1 in that setting as well. I'll definitely look into it!

make sense

@Jackory FYI I have started working on this. Commit https://github.com/nicklashansen/tdmpc2/commit/bfb19718981608fc8f032f5681d38506240eb948 adds basic support for RGB observations, but the current replay buffer is very slow for high-dimensional data. I'm working on a faster replay buffer in branch experimental and will merge into main when it's ready.

@Jackory Commit https://github.com/nicklashansen/tdmpc2/commit/1f6c7771b92edd8d5502f910d5582ebf8ee88675 introduces full support for RGB observations for DMControl tasks, as well as a new, faster replay buffer. My own preliminary benchmarking suggests that performance of visual TD-MPC2 is comparable to that of TD-MPC1 / DrQ-v2 / DreamerV3 on these tasks. I'll run a more thorough benchmark soon. Closing this issue, but feel free to reopen if you have any follow-up questions!


refactor(core): add way to detect if form valid handle submit was successful without needing to result into an error

any value returned should be considered as valid submit
throwing error should result into invalid submit
returning SubmitError should return into invalid submit
request with a code that is not 200 should be considered as invalid submit


Please add me to write access

I would like collaborator (write) access to this repository.

[x] I have read the contributing guidelines
[x] I understand the responsibilities of a collaborator are to:

help review contributions to the compliance-trestle tool
help make & test releases
help promote the project

I believe that my access died transitioning organsations due to automated clean up. I've got some work I want to do on:

https://github.com/IBM/compliance-trestle
https://github.com/IBM/compliance-trestle-demos
https://github.com/IBM/compliance-trestle-ssp-demo

@butler54 Done.


Updated version to 4.2.5 in the download URL

Hello I wanted to update via scoop but still pointed to the old zip

Ah, that's because the URLs in autoupdate contain the version number instead of the $version variable.
Change it to this, run .\bin\checkver.ps1 dbeaver -f again and commit it. 👍
"autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://dbeaver.jkiss.org/files/$version/dbeaver-ce-$version-win32.win32.x86_64.zip"
            },
            "32bit": {
                "url": "https://dbeaver.jkiss.org/files/$version/dbeaver-ce-$version-win32.win32.x86.zip"
            }
        },
        "hash": {
            "url": "$baseurl/checksum/$basename.sha256"
        }
}

You should create a new branch for each pull request. This lets you change stuff in your master branch without messing up the pull request  😄

Ok I tried to use branches let's close this one and try a better pull request :-P


Added Samakal

@aniruddha-adhikary
Added dynamic LinkExractor Rule based on data_processing date for faster and not so defined link areas.
For bhorerkagoj,  wiki page link has typo. Also, for both bhorerkagoj and bdnews24.com, I couldn't find any archive link.

Merged!

Thanks the heads up @bdcodefreak, I will update the page link.

@bdcodefreak please consider using the commit-message format commonly used in this project.
component: action object
spider: add rateralo


[consul] Resolve IP of Consul domain name if enabled for MStorageDescriptor location URI

https://logicalclocks.atlassian.net/browse/HOPSWORKS-1405

Jenkins test this please

Jenkins test this please

Sorry my bad. I forgot to tell you, but Hive sometimes also uses SQL directly against the database, without using the ORM. There are some locations there to be fixed as well: https://github.com/logicalclocks/hive/blob/master/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java

@SirOibaf updated my PR with fixes in MetaStoreDirectSql


WIP - Create new GoodCollective

Business Description
An interface to allow anyone to create a GoodCollective smart contract without interacting with an explorer. The user will be able to complete the following steps:

select what kind of collective to create,
define the parameters
create the contract
view the GoodCollective in the GoodCollective dApp

Managing an existing GoodCollective will be detailed in another ticket.
Detailed Description of Functionality
The following parameters can be configured by an admin of a new GoodCollective:
Choose pool type
Each should have a description of what the pool does, can be pulled from GoodCollective HIW

Results-Based Financing (NFT-Triggered)
Segmented Basic Income
Community Pool

Pool Info (All Pools)

Image - format, max size
Pool name - Max characters
Pool Description - Max characters
Socials - Instagram, X, Website, Threads, Facebook

General Pool Parameters (All Pools)
6. Max # of people per pool?
7. Pool Currency - any Celo token - default to G$
8. Admin Wallet Address
9. Fee amount for Admin - an amount the admin wants to collect for administering the pool. default to 2%
For Segmented Basic Income & Community Pool Only

Claim frequency (daily / weekly / monthly)

[ ] @sirpy can you confirm that we can set the claim frequency? Should we also let them set the claim time (or just default to G$ claim time)?

Max claim amount
Min claim amount

For Results-Based Financing (NFT-Triggered) Only

NFT contract address
Payment per activity per steward

[ ] @sirpy is this accurate or are there other NFT payment parameters to include?

For Segmented Basic Income Only

Age parameters - select min and max age (range), default to "all"
Location parameters - multi-select of countries
Gender parameters - multi-select of genders
[ ] @decentralauren to include lists and values for each parameter

Technical Implementation
*Outline the technical approach for building the feature. This section is typically filled out by the development team or can contain suggestions.
(dev team: @johnsmith-gooddollar @sirpy @L03TJ3)

[ ] (What api's / sdk's could possibly be used)

Design Reference
Link to Figma reference screens & screenshots of key screens
Acceptance Criteria
Specify criteria that will be used to determine if the feature meets the requirements and functions correctly.

[ ] (Should include a list of testing points for QA how to verify design/functionality)
filled out by the development team or can contain suggestions._

@sirpy - put a couple of questions for you above. Mind answering?
Also, am I missing any contract or UI parameters that a user could set when creating a new GC?

@decentralauren

we just have protocol fee, no admin fees
the claim frequency can be set, but the "claim time" is always 12UTC
We dont have min amount yet. we can add it. lets discuss this and other ubi settings
We dont have generic support for segmented ubi based on identity.
ubi pool settings

manager: can change pool settings and add members
cycleLengthDays: number of days of each UBI pool cycle (preserve enough tokens to be distributed over cycle. DailyPool = TotalInPool/cycleLengthDays)
claimPeriodDays: how often can someone claim their UBI
minActiveUsers: minimum amount of users to divide the pool for (maxDailyUBI = DailyPool/minActiveUsers)
claimForEnabled: can you trigger claim for someone else
maxClaimAmount: dailyUBI = min(maxDailyUBI, maxClaimAmount)
maxClaimers: maximum number of members in the pool, first come first served.
onlyMembers: only pre-approved wallets (by manager) can claim, otherwise anyone that claims becomes a member

NFT pool settings

manager: can change pool settings and mint NFTs
rewardsPerEvent: how much reward is paid per event in the NFT (contributer reward = eventReward*Quantity/event contributers)
Safety limits:
maxTotalPerMonth: maximum total rewards per month that can flow out of the pool
maxMemberPerMonth: maximum rewards a contributer can earn per month
maxMemberPerDay: maximum rewards a contributer can earn par day

@decentralauren while pools can already support other tokens, I don't want to support it in the UI.

We already have the mechanism that automatically swaps to G$
Other tokens are not supertokens or they require "wrapping" which is almost no difference then swapping to G$, ie you need a special extra TX.
using G$ is double impact. you support the pool but also global UBI


feat: add dynamic swap page

Ticket: https://lifi.atlassian.net/browse/LF-11128

@tcheee
Todos:

[ ] populate correct FAQ infos
[ ] check content and possibly update texts
[ ] do we need to update some widget background-images? Like the "defaults" including Across as a returned quote?
[ ] do we need an image for the 2nd step: "Step 2: Make sure to have Funds on Polygon in your wallet". If yes, which one would that be?

pls review the color on the dark theme to use one of our theme pls


Fix NPM Repository link

The link to the GitHub repo was broken on NPM, this fixes that.

Thanks! sorry for the delay


Authentication credentials were not provided

Backend and Frontend start normally, but an error occurs when accessing the front-end page chrome console, http://<IP_ADDRESS>:8000/api/users/me/ 401 (Unauthorized) error 。
Visit http://<IP_ADDRESS>:8000/api/users/me/ and return information "errors":[{"detail":"Authentication credentials were not provided.","status":"401","source": {"pointer":"/data"},"code":"not_authenticated"}]}

Docker Compose deployment and operation also have this problem, please help, thank you!

This is frontend bug manifested is due to "outdated cookie".
Workaround for it is to delete "ember_simple_auth-session" cookie like in short demo below:

This issue is obsolete. Papermerge 3 does not use ember for frontend anymore (switched to react).


Add "type": "module" in package.json to enable loading in Node.js

Would it be possible to add "type": "module" in package.json, enabling this module to be loaded in Node.js? Currently, I get this error when I try to import it:
$ node
Welcome to Node.js v15.12.0.
Type ".help" for more information.
> jsxDom = await import("jsx-dom")
(node:35343) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
node_modules/jsx-dom/index.js:477
export default index
^^^^^^

Uncaught SyntaxError: Unexpected token 'export'

I think there's no harm in adding this node-specific property and it would at least allow node to consume the module (for example, for server-side rendering).

You can’t do server-side rendering since it relies on browser globals.

You can’t do server-side rendering since it relies on browser globals.

There are ways like https://github.com/jsdom/jsdom to simulate DOM APIs in Node, it's certainly possible.
As for me, I was primarily looking to inspect the module's exports in the Node REPL, which is currently not possible without this package.json change.

You can now do that

@silverwind Update: jsx-dom-cjs is now published.

Working, thanks!
> await import("jsx-dom")
[Module: null prototype] {


Wrong validation step for nullable array field

What version of ogen are you using?
$ go list -m github.com/ogen-go/ogen

  github.com/ogen-go/ogen v0.73.0

Can this issue be reproduced with the latest version?
Yes
What did you do?
Genertaing server-side code for this openapi contract:
openapi: 3.0.2
info:
  title: Nulable array issue example
  version: 1.0.0

paths:
  /data:
    put:
      operationId: PutData
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContentData'
      responses:
        '200':
          description: everything is fine

components:
  schemas:
    ContentData:
      type: object
      description: pass
      properties:
        users:
          type: array
          nullable: true
          items:
            type: string
            format: uuid

What did you expect to see?
Field "users" should be nullable. If client send me a body:  {"users": null} this request should be validated as true
What did you see instead?
But there is an extra validation step that makes this request invalid:
// oas_validators_gen.go:

// Code generated by ogen, DO NOT EDIT.

package api

import (
	"github.com/go-faster/errors"

	"github.com/ogen-go/ogen/validate"
)

func (s *ContentData) Validate() error {
	var failures []validate.FieldError
	if err := func() error {
		if value, ok := s.Users.Get(); ok {
			if err := func() error {
                                /////////
                                //// this is wrong? Array could be nil
                                ////////
				if value == nil {
					return errors.New("nil is invalid value")
				}
				return nil
			}(); err != nil {
				return err
			}
		}
		return nil
	}(); err != nil {
		failures = append(failures, validate.FieldError{
			Name:  "users",
			Error: err,
		})
	}
	if len(failures) > 0 {
		return &validate.Error{Fields: failures}
	}
	return nil
}

I can't reproduce it.
The following test passes as expected:
func TestNull(t *testing.T) {
	d := jx.DecodeStr(`{"users": null}`)
	var data api.ContentData
	require.NoError(t, data.Decode(d))
	require.NoError(t, data.Validate())
	require.True(t, data.Users.Null)
}

hmm, you're right. This code works as expected... Trying to make a better example

Apparently, my original project was at version 0.62.0. Updating worked like a charm


IKS & SS: Hashed Cosigner-Map

Task Description
For both the assisted keys, we'll be storing the hashed cosigner IDs, in the cosignerIDMap document, to improve upon the security guarantees during recovery.

Closing this issue as discussed with dev.


Highlighting broken when passing dynamic string properties in JSX

TS and JS Grammar Extension version:  0.0.42 / latest
Highlighting seems to break when using JSX, and quotes inside a property
Code
console.log('working highlighting')
<Component prop={'single quotes'} />
console.log('BROKEN highlighting')

console.log('working highlighting')
<Component prop={"double quotes"} />
console.log('BROKEN highlighting')

console.log('working highlighting')
<Component prop={`backticks with ${interpolation}`} />
console.log('BROKEN highlighting')

Oddly enough though, this one works 🤔
console.log('working highlighting')
<Component prop={`backticks`} />
console.log('WORKING highlighting')

Submitting this mainly because highlighting is broken on GitHub (see above 😉), and the contribution guidelines recommend opening an issue here. Tried this out in VSCode, and the backticks with ${interpolation} example breaks highlighting, but the others appear to work.

This does not repro with latest vscode. Github uses another repository for this.

JSX: github-linguist/language-babel

Ahhh, my bad, I was going off of

TypeScript: Microsoft/TypeScript-TmLanguage

Thanks for the quick response!


Windows: Fix logging

Signed-off-by: John Howard<EMAIL_ADDRESS>Simple fix to logging, esp L29 which will cause a go panic otherwise due to incorrect number of parameters.

minor nit, but can you use %q instead so it quotes the string?

@duglin - sure, done.

thanks! LGTM

LGTM waiting janky


ft: ZENKO-143 main location in loc constraint header

Allow setting the main object location name in the
x-amz-location-constraint header, not only replication targets.
Backbeat will make use of this header to read locally next (and it will be tested as part of existing multiple backend E2E tests).

Hello jonathan-gramain,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get
information on this process.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

2 peers

PR has been updated. Reviewers, please be cautious.

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/8.0

The following branches will NOT be impacted:

development/7.4

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of Release Engineering will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of Release Engineering now.

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/8.0

The following branches have NOT changed:

development/7.4

Please check the status of the associated issue ZENKO-143.
Goodbye jonathan-gramain.


performing a new analysis doeds not clear out the "analysis finished in X seconds"-message prior to updating it

currently, this message gets updated, which means it remains at its current position in the notification stack (starting on analysis2, this is the top of the stack) instead of popping in at the bottom

original issue, now duplicate of #35, which was closed since. This will be closed as a result


Frequent Timed out fetching a new connection from the pool with v2.18.0

Bug description
As discussed here: https://github.com/prisma/prisma/issues/5977#issuecomment-791637028
Error: Timed out fetching a new connection from the pool. Please consider reducing the number of requests or increasing the connection_limit parameter (https://www.prisma.io/docs/concepts/components/prisma-client/connection-management#connection-pool). Current limit: 3
I migrated from 2.13.1 to 2.18.0 and since then, the connection limit errors are occurring during my dev very frequently - at least once per 'yarn dev', I have to restart the dev. It never happened in 2.13.1. Never. So, I'm temporarily downgrading until there's some clarity on this. Thank you.
Note:

I use Nextjs 10.0.3
I'm using custom server because query time seemed higher in serverless approach. (I'll open a detailed issue on this soon).
I always instantiate prisma client as mentioned here: https://www.prisma.io/docs/support/help-articles/nextjs-prisma-client-dev-practices#problem

Code:
const prisma = getPrismaInstance();

app.prepare().then(() => {
    createServer((req, res) => {
        const parsedUrl = parse(req.url!, true);
        req.prisma = prisma; // retrieve prisma object in the api routes via req object
        handle(req, res, parsedUrl);

    }).listen(port);

    console.log(
        `> Server listening at http://localhost:${port} as ${
            dev ? 'development' : process.env.NODE_ENV
        }`,
    );
});

How to reproduce

Clone nextjs-custom-server: https://github.com/vercel/next.js/tree/canary/examples/custom-server
Initialise prisma as above
Write some queries
Wait for the error

Expected behavior
There shouldn't be freqent connection limit errors

Environment & setup

OS:  macOS Catalina 10.15.7
Database:  Postgres
Node.js version:  14.4.0
Prisma version:

@prisma/cli          : 2.13.1
@prisma/client       : 2.13.1
Current platform     : darwin
Query Engine         : query-engine fcbc4bb2d306c86c28014f596b1e8c7980af8bd4 (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine     : migration-engine-cli fcbc4bb2d306c86c28014f596b1e8c7980af8bd4 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core fcbc4bb2d306c86c28014f596b1e8c7980af8bd4 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary        : prisma-fmt fcbc4bb2d306c86c28014f596b1e8c7980af8bd4 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Studio               : 0.329.0

Awesome, so this was just an overlap in error messages leading to confusing output.
If you encounter any error messages again, please let us know by opening a new issue 👍


Graph on dashboard shifts when the tooltip is activated

This has been fixed. The tooltips are slightly smaller now.


Few typo fixes

I fixed a few more typos I noticed as I finished my first read through of the Embedded Rust Book.
My editor also deleted some trailing white space from a few lines when I saved out my typo fixes.

bors r+


ZipImportError: can't decompress data; zlib not available

[x] I confirm that this is an issue rather than a question.

Bug report
After compiling a new hyperion using the following docker command:
wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && chmod +x *.sh && ./docker-compile.sh -t armv7hf

And copying the .deb to my Raspberry PI, I installed the .deb using following command:
sudo apt install ./Hyperion-2.0.0-alpha.6-Linux-armv7l.deb

After installing the following errors occurred. Especially the Python exception is worrying, since it makes Hyperion crash and makes it restart in a loop.
Jul 17 15:09:32 hyperion-2 hyperiond[813]: [hyperiond DISPMANXGRABBER] <ERROR> Failed to open display! Probably no permissions to access the capture interface
Jul 17 15:09:32 hyperion-2 hyperiond[813]: Failed to open display! Probably no permissions to access the capture interface
Jul 17 15:09:34 hyperion-2 hyperiond[813]: [hyperiond EFFECTENGINE] <ERROR> ###### PYTHON EXCEPTION ######
Jul 17 15:09:34 hyperion-2 hyperiond[813]: [hyperiond EFFECTENGINE] <ERROR> ## In effect 'Rainbow swirl fast'
Jul 17 15:09:34 hyperion-2 hyperiond[813]: [hyperiond EFFECTENGINE] <ERROR> ## ZipImportError: can't decompress data; zlib not available
Jul 17 15:09:34 hyperion-2 hyperiond[813]: ###### PYTHON EXCEPTION ######
Jul 17 15:09:34 hyperion-2 hyperiond[813]: ## In effect 'Rainbow swirl fast'
Jul 17 15:09:34 hyperion-2 hyperiond[813]: ## ZipImportError: can't decompress data; zlib not available

Checks:
Following command returns nothing:
python3 -c "import zlib"

sudo apt install zlib1g-dev

returns zlib1g-dev is already the newest version (1:1.2.11.dfsg-1).
Also installing the following packages on the hyperion pi did not make any difference :
sudo apt-get install git cmake build-essential qtbase5-dev libqt5serialport5-dev libusb-1.0-0-dev python3-dev libxcb-util0-dev libxcb-randr0-dev libxrandr-dev libxrender-dev libavahi-core-dev libavahi-compat-libdnssd-dev libjpeg-dev libturbojpeg0-dev libqt5sql5-sqlite libssl-dev zlib1g-dev

Update: when compiling and installing on the RPI directly, above zlib error doesn't occur.
Steps to reproduce
See above
What is expected?
Hyperion starting successfully.
What is actually happening?
Hyperion crashes and restarts in a loop
System

same error happens when downloading and installing:
wget https://github.com/hyperion-project/hyperion.ng/releases/download/2.0.0-alpha.7/Hyperion-2.0.0-alpha.7-Linux-armv6l.tar.gz

sudo apt install ./Hyperion-2.0.0-alpha.7-Linux-armv6l.deb

when running hyperiond, I get this error:
2020-07-24T22:15:31.496 hyperiond DISPMANXGRAB : <ERROR> Failed to open display! Probably no permissions to access the capture interface
2020-07-24T22:15:32.372 hyperiond EFFECTENGINE : <ERROR> ###### PYTHON EXCEPTION ######
2020-07-24T22:15:32.372 hyperiond EFFECTENGINE : <ERROR> ## In effect 'Rainbow swirl fast'
2020-07-24T22:15:32.373 hyperiond EFFECTENGINE : <ERROR> ## ZipImportError: can't decompress data; zlib not available
2020-07-24T22:15:33.205 hyperiond EFFECTENGINE : <ERROR> ## Traceback (most recent call last):
2020-07-24T22:15:33.205 hyperiond EFFECTENGINE : <ERROR> ## File "<string>", line 1, in <module>
2020-07-24T22:15:33.206 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/random.py", line 40, in <module>
    from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethodType
2020-07-24T22:15:33.206 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/types.py", line 166, in <module>
    import functools as _functools
2020-07-24T22:15:33.206 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/functools.py", line 21, in <module>
    from collections import namedtuple
2020-07-24T22:15:33.206 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/collections/__init__.py", line 32, in <module>
    from reprlib import recursive_repr as _recursive_repr
2020-07-24T22:15:33.206 hyperiond EFFECTENGINE : <ERROR> ## zipimport.ZipImportError: can't decompress data; zlib not available
2020-07-24T22:15:33.206 hyperiond EFFECTENGINE : <ERROR> ###### EXCEPTION END ######

Hyperion caught signal :SIGSEGV
2020-07-24T22:15:34.002 hyperiond CORE         : <ERROR> 	/lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x7569a130]
2020-07-24T22:15:34.003 hyperiond CORE         : <ERROR> 	/usr/share/hyperion/bin/../lib/libQt5Core.so.5(QRingBuffer::reserve(long long)+0x44) [0x75b6fb74]
Segmentation fault
raymond@hyperion-1:~ $ hyperiond
2020-07-24T22:17:40.375 hyperiond DISPMANXGRAB : <ERROR> Failed to open display! Probably no permissions to access the capture interface
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
  File "/usr/share/hyperion/bin/python35.zip/io.py", line 52, in <module>
zipimport.ZipImportError: can't decompress data; zlib not available

Hyperion caught signal :SIGABRT
2020-07-24T22:17:40.679 hyperiond CORE         : <ERROR> 	/lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x755ae130]
Aborted

Someone knows what I am doing wrong/missing here?

You can try the following temporary fix.
Unzip the python35.zip file in the "hyperion/bin" directory to "hyperion/lib/python". then delete the zip file and restart.
sudo systemctl stop<EMAIL_ADDRESS>sudo mkdir /usr/share/hyperion/lib/python/
sudo unzip /usr/share/hyperion/bin/python35.zip -d /usr/share/hyperion/lib/python
sudo rm /usr/share/hyperion/bin/python35.zip
sudo reboot
Originally posted by @Paulchen-Panther in https://github.com/hyperion-project/hyperion.ng/issues/903#issuecomment-663840462

This worked for me -- the above comments about installing and verifying zlib already installed applies. (However, I'm using debian and I just grabbed it from https://github.com/hyperion-project/hyperion.ng/releases/download/2.0.0-alpha.7/Hyperion-2.0.0-alpha.7-Linux-x86_64.tar.gz)

Same issue here on Ubuntu 20,04. Package is already installed but not found by hyperion.

@Paulchen-Panther status? can this be closed?

Yes


How to pass fit_generator with two inputs ??

Hello,
I have two word2vec model built by gensim .
My code:
def create_lstm():
    inputs_1 = Input(shape=(CONFIG.timesteps_len,))
    inputs_2 = Input(shape=(CONFIG.timesteps_len,))

    char_em = charhp.get_keras_embedding_layer()(inputs_1)
    pinyin_em = pinyinhp.get_keras_embedding_layer()(inputs_2)

    em = concatenate([char_em, pinyin_em])

    x = Bidirectional(LSTM(256, activation='sigmoid', recurrent_activation='hard_sigmoid', return_sequences=True))(em)

    x = TimeDistributed(Dense(64, activation='relu'))(x)

    main_out = TimeDistributed(Dense(1, activation = 'softmax'))(x)

    model = Model(inputs=[inputs_1, inputs_2], outputs=main_out)

    model.compile(optimizer='adam',
               loss='binary_crossentropy',
               metrics=['accuracy'])

    return model

def input_generator(batch_size):
    cnt = 0
    inputs_1 = []
    inputs_2 = []

    with codecs.open(CONFIG.input_path, 'r', 'utf-8') as f:
        while True:
            chars = f.readline().split()
            pinyins = f.readline().split()

            for c, p  in zip(chars, pinyins) :
                cnt +=1

                inputs_1.append(c)
                inputs_2.append(p)

                if not cnt % batch_size:
                    yield [inputs_1, inputs_2], np.ones(batch_size)
                    inputs_1 = []
                    inputs_2 = []

model.fit_generator(input_generator(6),
                            steps_per_epoch=CONFIG.steps_per_epoch,
                            epochs=CONFIG.epochs,
                            verbose=1,
                            validation_data=input_generator(32),
                            validation_steps=CONFIG.validation_steps,
                            initial_epoch=0)

Get error
Traceback (most recent call last):
  File "lstm_work.py", line 304, in <module>
    main()
  File "lstm_work.py", line 286, in main
    initial_epoch=0)
  File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 87, in w
rapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 2136, in f
it_generator
    batch_size = x[0].shape[0]

Then I understand input_generator have to return inputs_1, np.ones(batch_size).
But here I need both inputs_1 and inputs_2 .  input_2 is another format with same size as input_1,  I need merge them together after through the two embedding layer.
But I have no idea what is the proper way to do this .

You are yeilding correctly but I think the batch shape of [inputs_1, inputs_2] and shape of np.ones(batch_size) are not equal, or some other bug in your code.


Field should display sender and reciepinet group(s)

In case the Email Newsletter Manager field is configured to let the user choose a sender or recipient group(s), it should display the user's choice during sending and on success.
E.g. upon success it just says:

1 emails sent
0 emails failed
Started 2011-12-22 19:36

which should be s.th. like:

1 emails sent
0 emails failed
Started 2011-12-22 19:36
Sender: John Doe
Recipient group(s): Symphonians, Girlies

I will try and implement this feature. I'll be back.

Fixed by b1556620e0ec28937494b2eeb0b9f19c66da51eb.


Unknown type name '__declspec'

Thanks for a great example app! But when I compile it with the new xcode 7.3 I get the following error
Unknown type name '__declspec'.
How can I solve it?

Thanks for pointing out this. I am able to reproduce this after updating to Xcode 7.3. The master branch is updated. You can also fix it by adding "-fms-extensions" in Build Settings -> Apple LLVM 7.1 - Custom Compiler Flags -> Other Warning Flags.
Reference

Great, thank you!


Add a link to Insights Data Schemas repo into documentation

Add a link to Insights Data Schemas repo into documentation

Added into https://github.com/RedHatInsights/insights-content-service/blob/master/docs/references.md


SyntaxError: Import named 'DEFS' not found in module '/root/elysia/node_modules/elysia/build/es/index.js'

I tried using elysia for the first time and followed the instructions as mentioned on the homepage
The code worked until i installed the swagger plugin and now it gets this syntax error inside the node_modules itself.
My system is using windows 11 with WSL2 [Ubuntu 20.04.5 LTS (Focal Fossa)]

I went to the washroom and thought.. huh maybe i should update elysia... and it fixed it.. sorry for bothering.


Subnet Delegation Update - BareMetal and DNS Private Resolver

Hello Team,
I was checking the Vnet documentation and I was not able to find any mention regarding the delegation of BareMetal and DnsResolver on a Subnet.
I only found this mentions on the BareMetal Documentation and DNS Private Resolver Documentation itself.
Vnet Documentation:
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-for-azure-services
https://learn.microsoft.com/en-us/azure/virtual-network/subnet-delegation-overview
https://learn.microsoft.com/en-us/azure/virtual-network/manage-subnet-delegation?tabs=manage-subnet-delegation-portal

Microsoft.BareMetal/AzureHostedService
(https://download.nutanix.com/documentation/hosted/Nutanix-Cloud-Clusters-Azure.pdf and https://learn.microsoft.com/en-us/azure/baremetal-infrastructure/workloads/nc2-on-azure/architecture#deployment-example)

Microsoft.Network/dnsResolvers
(https://learn.microsoft.com/en-us/azure/dns/dns-private-resolver-overview#outbound-endpoints)

Thank you for checking.
Aline Dutra

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

ID: 2422f8ec-802e-7f92-c499-9181f3fe8d8b
Version Independent ID: eb2b0e2c-8fb5-573c-ef0d-50073d053c3d
Content: Virtual network for Azure services
Content Source: articles/virtual-network/virtual-network-for-azure-services.md
Service: virtual-network
GitHub Login: @asudbring
Microsoft Alias: allensu

@alinedutrasilva
Thanks for your feedback! We will investigate and update as appropriate.

@alinedutrasilva
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

@alinedutrasilva
Thank you for the feedback. I've put a PR in to add those two services to the subnet delegation table.
PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/256107
#please-close


Removed Code

Dockerfile contained what looked like code, so proposal to remove.

Good one, i want to write thank you code for you. Please see next comment


swipeout delete two list-items if also update the data

Please check the fiddle
Problem: swipeout delete a list-item will eventually delete 2 list-items if you also update the data (users in following example).
In the following example, if you swipeout delete one of 1st~3rd user, it will delete 2 users.
If I do nothing in deleteUser function, everything works fine at view layer, but I need my data be updated as well! What is the correct way to swipeout delete item and reflect it to data?

<f7-list>
    <f7-list- v-for="(user,i) in users" :title="user.name" swipeout @swipeout:deleted="deleteUser(i)">
       <f7-swipeout-actions>
            <f7-swipeout-button delete>Delete</f7-swipeout-button>
       </f7-swipeout-actions>
    </f7-list-item>
</f7-list>

new Vue({
  el: '#app',

  data: {
    users: [{name:"Andy"},{name:"Bill"},{name:"Cindy"},{name:"David"}]
  },

  methods: {
    deleteUser(i) {
      this.users.splice(i,1);
    }
  },

  framework7: {
    root: '#app',
    routes: [],
  }
})

You can set swipeoutRemoveWithTimeout: true f7 app parameter. In this case Vue will remove element from Dom instead of F7.


HLS is not working if publishing software is adobe meadia encode

描述(Description)

描述你遇到了什么问题(Please description your issue here)
When the publish software is OBS studio both rtmp and hls plays are working fine, but when the publish software is adobe media encoder rtmp play is working but hls play is not working.
when i was using srs 2.0 adobe media encoder had no problem with hls play.

for srs2.0 i was using ubuntu 16
for srs3.0 i am using ubuntu 18
Can anyone please help me with this. Or shall I use srs 2.0 instead of srs 3.0 to support both adobe media encoder and obs studio

SRS版本(Version): SRS/3.0.116
SRS的日志如下(Log):

uploading srs.log file

SRS的配置如下(Config):
uploading myconf.txt

重现(Replay)

重现Bug的步骤(How to replay bug?)

OS is ubuntu 18
2.SRS version is SRS/3.0.116
publish with adobe media encoder

期望行为(Expect)
In SRS players rtmp can be played but hls play is not working

描述你期望发生的事情(Please describe your expectation)
It should work for adobe media encoder also
srs.log
srs.log
myconf.txt

Make sure the video format is H.264!

I use the same environment on ubuntu 18.04 and adobe media encoder. HLS works like a charm.

even my Format is H.264,  srs 2 it is working but on srs 3 it's not. for a second video comes and later there won't be any video or audio

SRS/3.0.97
in hls player the following error is shown repeatedly
Parsing error:no ADTS header found in AAC PES
where as in SRS/2.0.263
I didn't get any such error in hls player.
This is always reproducible

It is not working from v3.0-a0. Please check this once.
On the HLS player provided in console(https://hls-js.netlify.com/demo/) I checked and I was getting the following error:
Parsing error:no ADTS header found in AAC PES
only when publishing from Adobe Flash Media Live Ecoder.
I didn't get the same error when I tried with Obs Studio

Can't replay it @venkat0708

Or by OBS:


api/get-presence: Add user ID support to endpoint.

Modifies get_user_presence endpoint to support both email addresses and
user IDs.
Tested the fix manually, ran the following test suites and made fixes
accordingly-
/tools/lint
/tools/test-backend
/tools/test-migrations
/tools/test-help-documentation
/tools/test-api
Fixes #14304

Testing Plan:
GIFs or Screenshots:

@ankita-2798 can you fix the tests?  Overall this looks promising.

(The test failure is because you didn't add tests for the new feature!)

@timabbott, Yeah I am on it! Will update the pull request as soon as I am done :)

Updated the PR, kindly review and let me know if any changes are required.

@timabbott Updated the pull request, resolving conflicts. Kindly review.

@timabbott Updated the pull request, resolving conflicts. Kindly review.

Closing in favor of #17007, which is merging now.  Thanks again for your work on this!


Organize solar related things.

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[x] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added

[ ] bumpversion patch has been called on this branch
[x] The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?
So I wanted to help out on utci and make all those solar angles and radiation calculations more organized and accessible and the change grew so large that I decided to make a PR so we can discuss this separately from the UTCI stuff.

I reorganized all solar angle and radiation functions into _helpers.py. This file is meant of helper functions that manipulate real data and perform some physical operations. (In opposition to generic which is more "meta").
I used citable equations. This meant modifying some calculations, at least the default version. This was easy going for the extraterrestrial radiation of the potential evapotranspiration, but not for BEDD and Huglin. I thus had to go back an reimplement the "old" ways and add a "method" arg to choose between equations.
As latitude is needed for all algorithms of PET, I added it as an explicit input. We could use cf_xarray, but I'm not sure how generic this is.

Does this PR introduce a breaking change?
lat is now needed for potential_evapotranspiration and water_budget.
Other information:
@ludwiglierhammer When this is ready, you will be able to use cosine_of_solar_zenith_angle in the Tmrt function.
The issues with precision are because of two functions:

Solar declination angle
The new method is closest to reality, it uses a few terms of the fourier series of the observations. The old method assumed that the orbit is a circle, which is good enough, but you know.
Eccentricity correction factor
Similar: the new method uses the first terms of the fourier series of the obs. The old only used the 2 first terms.

@Zeitsperre  How strict do we need to be with the tests of BEDD and Huglin? The problem is that the very small difference in day length that the different solar declination equation yields adds up over the aggregation period and we get relative errors of around 0.01, which is larger than the current tolerance.
@raquel-ucl Flagging you so you are aware of the changes proposed here. They will slightly affect results of the MB05 methods you guys added in xclim.
Over all (@huard @tlogan2000 ), am I being too verbose here? I thought this would be simple and now I added multiple lines of code for functions that could have been implicit (but duplicated).

@aulemahal I don't think it's incredibly important for those indices. I can't remember the source I used for the day-length factor calculations (was it Jones?), but so long as the references are present and the docstring clearly indicates the formula and source, I think it's fine.
Alternatively, would it be possible to move the old method into a new function? If the effort required is too much for the benefit, I can try adding it in myself later. The only real benefit would be to replicate/validate older studies that used it, I suppose.

@huard  I only added tests for the functions where I could find an online calculator. I was lazy sorry, it's friday :). The indices/indicator tests will cover for the rest.
@ludwiglierhammer I am currently running the full test suite, I'll ping you this evening if it passes and you'll be able to merge this and continue development of UTCI.

@ludwiglierhammer  Sorry for the delay. The last commit fixed remaning errors in the tests, you can now merge this branch into yours and continue development on your PR!


Can't export email to HTML

create a new project npx create-email@latest
install packages with yarn
yarn dev - is ok
yarn export - this error ->

yarn run v1.22.19
$ email export
⠋ Preparing files...
/Users/irekrog/Desktop/Projects/react-mail/react-email-starter/out/notion-magic-link.js:3747
  return <import_html.Html>
         ^

SyntaxError: Unexpected token '<'
    at Object.compileFunction (node:vm:353:18)
    at wrapSafe (node:internal/modules/cjs/loader:1040:15)
    at Module._compile (node:internal/modules/cjs/loader:1076:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:834:12)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at /Users/irekrog/Desktop/Projects/react-mail/react-email-starter/node_modules/react-email/dist/source/commands/export.js:60:75
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@irekrog What node version are you using?

@bukinoshita
I checked it on:

v16.16.0
v18.4.0

Hi @bukinoshita
any update? because it looks like critical issue

Hey @irekrog, sorry for the delay on responding here. Can you double check with latest version of the package?

Hi @bukinoshita
Now another error is displayed:
➜  react-email-starter yarn export
yarn run v1.22.19
$ email export
⠋ Preparing files...
/Users/irekrog/Desktop/react-email-starter/out/notion-magic-link.js:3904
  loginCode = "sparo-ndigo-amurt-secan"
  ^

TypeError: Cannot read properties of undefined (reading 'loginCode')
    at Object.Email (/Users/irekrog/Desktop/react-email-starter/out/notion-magic-link.js:3904:3)
    at exportTemplates (/Users/irekrog/Desktop/react-email-starter/node_modules/react-email/dist/source/commands/export.js:61:64)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Experiencing the same issue. Fresh install.

Fixed in https://github.com/resendlabs/react-email/pull/548


Epic: Multiple file output

Generate multiple output artifacts instead of one output file (code generators).
Artifact properties:

Name (e.g. Person)
Code
Filename (e.g. Person.cs)
Dependencies (list of artifact dependencies, e.g. [Address, Skill])

All generators inherit from GeneratorBase which has these two methods:
        /// Generates the type from the schema and all types from the resolver.
        /// <param name="schema">The schema</param>
        /// <param name="typeNameHint">The type name hint.</param>
        /// <returns>The code.</returns>
        public CodeArtifactCollection GenerateTypes(JsonSchema4 schema, string typeNameHint)
        {
            _resolver.Resolve(schema, false, typeNameHint); // register root type
            return GenerateTypes();
        }

        /// Generates the the whole file containing all needed types.
        /// <returns>The code</returns>
        public string GenerateFile(JsonSchema4 schema, string typeNameHint)
        {
            var collection = GenerateTypes(schema, typeNameHint);
            return GenerateFile(collection);
        }

so instead of using GenerateFile you can call GenerateTypes and you will get a collection of artifacts (i.e. code files)

Great, thank you.

The SwaggerToCSharpClientGenerator does not expose this, and I cannot see the relationship between this and CSharpGenerator that does?

At the moment it's just implemented in NJS. It's not yet fully implemented in NSwag...

ok, thanks for your help

yes yes yes... i would love to have my "models" in seperate files. For C# and Typescript 💃 that would be awesome

@RSuter is this implemented in NSwag now?
Is there any solution for this?

Nope, not yet implemented in NSwag - first the generators have to updated and then the whole tooling, CLI and UI - lots of work and I personally dont need it. This is why I prioritize other stuff (e.g. ASP.NET Core 2.1 support, etc.)

Why is this closed, it doesn't exist in the code base, but can be achived inheriting the generator & feeding it individual/or groups of artifacts. Or am I missing something?

Its implemented only in njs (here) but must be used in nswag (not yet)

How do you use it in NJsonSchema? Did I miss that in the replies?
The looping does not generate complete class files unless one override CSharpGenerator in my case (using the protected GenerateFile(ArtifactCollection collection).

I haven't done anything with this, but it may be of use to some people.
There are protected methods in CSharpClientGenerator called:
GenerateDtoTypes()
GenerateClientTypes()
Both return an IEnumerable<CodeArtifact> which exposes (at least) three useful properties:
Type, Code and TypeName.
If you create a new generator class that inherits from CSharpClientGenerator then you can provide a public method to call the underlying generator, return the code artefacts and then write them to individual files named after TypeName. Something like this:
    {
        ...
        public IEnumerable<CodeArtifact> GenerateDtoTypes()
        {
            return base.GenerateDtoTypes();
        }
    }

    ...

            var generator = new g2(doc, settings);
            foreach (var t in generator.GenerateDtoTypes())
            {
                WriteMyTypeToFile(t.TypeName, t.Code);
            }

Tons of caveats around the underlying classes and methods may change...

Yes, this is how this feature will be implemented eventually


Memory consumption in plugin affects App consuming stream

I am experimenting with consuming the virtual stream from my own MacOS app, and notice the memory consumption grows alarmingly quickly when active. Within a minute you'd reach ~2GB.
After disabling my own changes (swift bridge to draw an animated shape  to "prove" this is live), I still got it, and likewise in other apps.
E.g. this can be reproduced by viewing the stream through QuickTime Player and observing that Apps' memory consumption. When I have time I can dig in a bit myself, although my Obj-c is virtually non-existent.

Core Graphics is often not auto-releasing (e.g CGContext), so I would look for strategic single-usage of the CGContext etc, or resort to placement of sections into @autoreleasepool

I noticed that also yesterday! Yah I'm sure I have a core graphics memory management bug in there. You're probably right that it's something about my drawing code.

I think I fixed in https://github.com/johnboiles/coremediaio-dal-minimal-example/commit/f416ff014e98e74afb53be7640e9ff46307dbf3b
I'm testing on my end and so far so good, but if you had a moment i'd love a double check.

I can confirm it has worked for me!

Yes, fix confirmed!

Woohoo!


conda env create not working in "Getting Symbiflow"

$ export INSTALL_DIR=/opt/symbiflow

/tmp ⌚ 3:24:59
$ export FPGA_FAM=xc7

/tmp ⌚ 3:25:10
$ bash conda_installer.sh -u -b -p $INSTALL_DIR/$FPGA_FAM/conda;
PREFIX=/opt/symbiflow/xc7/conda
Unpacking payload ...
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/symbiflow/xc7/conda

  added / updated specs:
    - _libgcc_mutex==0.1=main
    - brotlipy==0.7.0=py38h27cfd23_1003
    - ca-certificates==2020.10.14=0
    - certifi==2020.6.20=pyhd3eb1b0_3
    - cffi==1.14.3=py38h261ae71_2
    - chardet==3.0.4=py38h06a4308_1003
    - conda-package-handling==1.7.2=py38h03888b9_0
    - conda==4.9.2=py38h06a4308_0
    - cryptography==3.2.1=py38h3c74f83_1
    - idna==2.10=py_0
    - ld_impl_linux-64==2.33.1=h53a641e_7
    - libedit==3.1.20191231=h14c3975_1
    - libffi==3.3=he6710b0_2
    - libgcc-ng==9.1.0=hdf63c60_0
    - libstdcxx-ng==9.1.0=hdf63c60_0
    - ncurses==6.2=he6710b0_1
    - openssl==1.1.1h=h7b6447c_0
    - pip==20.2.4=py38h06a4308_0
    - pycosat==0.6.3=py38h7b6447c_1
    - pycparser==2.20=py_2
    - pyopenssl==19.1.0=pyhd3eb1b0_1
    - pysocks==1.7.1=py38h06a4308_0
    - python==3.8.5=h7579374_1
    - readline==8.0=h7b6447c_0
    - requests==2.24.0=py_0
    - ruamel_yaml==0.15.87=py38h7b6447c_1
    - setuptools==50.3.1=py38h06a4308_1
    - six==1.15.0=py38h06a4308_0
    - sqlite==3.33.0=h62c20be_0
    - tk==8.6.10=hbc83047_0
    - tqdm==4.51.0=pyhd3eb1b0_0
    - urllib3==1.25.11=py_0
    - wheel==0.35.1=pyhd3eb1b0_0
    - xz==5.2.5=h7b6447c_0
    - yaml==0.2.5=h7b6447c_0
    - zlib==1.2.11=h7b6447c_3

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  brotlipy           pkgs/main/linux-64::brotlipy-0.7.0-py38h27cfd23_1003
  ca-certificates    pkgs/main/linux-64::ca-certificates-2020.10.14-0
  certifi            pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
  cffi               pkgs/main/linux-64::cffi-1.14.3-py38h261ae71_2
  chardet            pkgs/main/linux-64::chardet-3.0.4-py38h06a4308_1003
  conda              pkgs/main/linux-64::conda-4.9.2-py38h06a4308_0
  conda-package-han~ pkgs/main/linux-64::conda-package-handling-1.7.2-py38h03888b9_0
  cryptography       pkgs/main/linux-64::cryptography-3.2.1-py38h3c74f83_1
  idna               pkgs/main/noarch::idna-2.10-py_0
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.33.1-h53a641e_7
  libedit            pkgs/main/linux-64::libedit-3.1.20191231-h14c3975_1
  libffi             pkgs/main/linux-64::libffi-3.3-he6710b0_2
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-9.1.0-hdf63c60_0
  ncurses            pkgs/main/linux-64::ncurses-6.2-he6710b0_1
  openssl            pkgs/main/linux-64::openssl-1.1.1h-h7b6447c_0
  pip                pkgs/main/linux-64::pip-20.2.4-py38h06a4308_0
  pycosat            pkgs/main/linux-64::pycosat-0.6.3-py38h7b6447c_1
  pycparser          pkgs/main/noarch::pycparser-2.20-py_2
  pyopenssl          pkgs/main/noarch::pyopenssl-19.1.0-pyhd3eb1b0_1
  pysocks            pkgs/main/linux-64::pysocks-1.7.1-py38h06a4308_0
  python             pkgs/main/linux-64::python-3.8.5-h7579374_1
  readline           pkgs/main/linux-64::readline-8.0-h7b6447c_0
  requests           pkgs/main/noarch::requests-2.24.0-py_0
  ruamel_yaml        pkgs/main/linux-64::ruamel_yaml-0.15.87-py38h7b6447c_1
  setuptools         pkgs/main/linux-64::setuptools-50.3.1-py38h06a4308_1
  six                pkgs/main/linux-64::six-1.15.0-py38h06a4308_0
  sqlite             pkgs/main/linux-64::sqlite-3.33.0-h62c20be_0
  tk                 pkgs/main/linux-64::tk-8.6.10-hbc83047_0
  tqdm               pkgs/main/noarch::tqdm-4.51.0-pyhd3eb1b0_0
  urllib3            pkgs/main/noarch::urllib3-1.25.11-py_0
  wheel              pkgs/main/noarch::wheel-0.35.1-pyhd3eb1b0_0
  xz                 pkgs/main/linux-64::xz-5.2.5-h7b6447c_0
  yaml               pkgs/main/linux-64::yaml-0.2.5-h7b6447c_0
  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3

Preparing transaction: done
Executing transaction: done
installation finished.

/tmp ⌚ 3:25:38
$ source "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh";

/tmp ⌚ 3:25:46
$ conda env create -f $FPGA_FAM/environment.yml

EnvironmentFileNotFound: '/tmp/xc7/environment.yml' file not found

maybe it meant to say this, but it does not work as well:
$ conda env create -f $INSTALL_DIR/$FPGA_FAM/environment.yml

EnvironmentFileNotFound: '/opt/symbiflow/xc7/environment.yml' file not found

I transferred this issue to the correct repo? What OS are you on? I assume a RedHat Linux?

The GitHub Action which is probably closest to your workflow is https://github.com/SymbiFlow/symbiflow-examples/runs/2328966429?check_suite_focus=true

00:25:45 | + export INSTALL_DIR=~/opt/symbiflow
00:25:45 | + export FPGA_FAM=xc7
00:25:45 | + bash conda_installer.sh -u -b -p $INSTALL_DIR/$FPGA_FAM/conda

@hansfbaier Did you follow these steps?
git clone https://github.com/SymbiFlow/symbiflow-examples
cd symbiflow-examples

?

@hansfbaier - It would be good to figure out why this isn't failing on GitHub Actions?
Can you give me a link to that?

I transferred this issue to the correct repo? What OS are you on? I assume a RedHat Linux?
No, Ubuntu

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"

@hansfbaier Did you follow these steps?
git clone https://github.com/SymbiFlow/symbiflow-examples
cd symbiflow-examples

?

No, sorry, I skipped reading that and straight went to the headline 'Toolchain installation'.
I was not aware the prerequisites were part of the installation (because I skipped reading those).

@hansfbaier - I can totally see how you could do that with the current documentation.

@hansfbaier It is probably better if the documentation was clear that the command was conda env create -f <symbiflow-examples-repo>/$FPGA_FAM/environment.yml somehow.

Thanks!

@hansfbaier - I can totally see how you could do that with the current documentation.

Yes, it happens when you get up at three in the morning because of trouble sleeping after the neighbors made a heck of a noise :D

I think your mistake is totally reasonable.

I'm going to leave this open to solve that issue.

Also it would be important to add to the documentation a step to install the Python modules with:
pip3 install -r ./${FPGA_FAM}/requirements.txt as Conda didn't install it on my Docker container.
I keep getting ModuleNotFoundError: No module named 'simplejson' and other missing module errors.
The Dockerfile is on: https://gist.github.com/carlosedp/1f9119e0645e842e474ec1a67b5aed7e

Changed my base image to the non Python3 one and also activated it in the shell. Worked fine.

I'm confused because I'm pretty sure we only support Python 3 and not Python 2?

I believe it makes no difference since Conda installs it's own Python3.
Don't think changing the image made a difference here.
What fixed is moving the environment activation to it's script that is called on container start.