Fix Homebrew builds

This moves the copying of build product to ./bin/dark-mode from a build phase to the ./build script. This is done to ensure we never copy a non-codesigned binary to ./bin - which is what seems to be the cause of #19.
This would work even without removing the build phase, as the copy from ./build will simply overwrite it. I'm not sure the build phase copy is really useful for other things than release though, and it's a bit quirky - basically it seems to never be codesigned on first build (e.g. after a "Clean build folder" + "build"), but it will then be codesinged on subsequent builds.
If you would like me to update the PR to keep the build phase in, let me know and i'll fix that.
Fixes #19

I'm fine with this, but you have to update the readme.

@sindresorhus Build instructions in readme are updated, let me know if you think they need further adjustments.


remove uvloop for windows setup

Hello
This PR matters for windows users only. I understand that windows user might provide SANIC_NO_UVLOOP=True var, but I guess it would be convenient to remove uvloop from setup.py for windows by default. Just to make it a little easy for tinkering/studying.
Currently, pip install sanic leads to an error on windows since uvloop hasn't implemented yet for this platform.

Could we do a release for this?


turtlebot_2dnav: 1.0.1-0 in 'hydro/distribution.yaml' [bloom]

Increasing version of package(s) in repository turtlebot_2dnav to 1.0.1-0:

upstream repository: https://github.com/pexison/turtlebot_2dnav
release repository: https://github.com/pexison/turtlebot_2dnav.git
distro file: hydro/distribution.yaml
bloom version: 0.5.19
previous version for package: null

ouh, you should not have your release repo be the same as the source one: that creates a lot of mess (that is stated in the tutorial). Are you sure you want to go this way ?

it won't be modified in the future, it is necessary to change that?

We can only highly recommend you to spend the time to clean up the repo. At the end it is your call.


Lambdas without API Gateway endpoints?

Is currently possible to generate lambdas without API Gateway endpoints? I'm working on an use case where I'll need to manage a collection of scheduled lambdas that won't need API calls to get them running (patiently awaiting for the arrival of scheduled functions in JAWS).
It would be nice to know if this is already implemented or maybe in the pipeline (roadmap doesn't say a word about this)... If this is not planned in the short term, what should I do to delete the API part of the JAWS project, deleting the cloudformation templates would be enough?
Sorry for the newb questions!

Nevermind, I've just seen the option in the CLI for deploying only the lambdas... :sweat_smile:


Fix deletion logic for in-place upgrade CRs

Description of changes:
Fix deletion logic for in-place upgrade CRs to ensure ControlPlaneUpgrade and MachineDeploymentUpgrade objects get cleaned up after the upgrade is complete.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Allow raw value in restart combobox

Somehow my setup seems to hang itself after some hours, probably related to network reconnect issues of some kind. Then I checked the restart period (lowest is 24h). But it's stored as seconds, so would be really nice if this could be:

Set directly instead of the combobox
Customization of the json would be allowed

btw probably related to https://github.com/esprfid/esp-rfid/issues/298

Yeah, why not.

I've added support for this here: https://github.com/esprfid/esp-rfid/pull/552

It's now merged on dev :)
I'm closing this, if anyone has problems though, please reopen!


wishlist: release the .alfredworkflow directly, not wrapped in another zip

G'day.  It'd be nice if the releases were simply the workflow file, not a zip containing it, since that reduces the messing around required to get it installed.  Clearly, not necessary, but it would help keep my personal "installed versions of workflows", uh,  workflow simpler.
Thanks!

I have no idea what to do with these files without a .alfredworkflow and it was non obvious from some quick googling.
Going to have to pass on installing this.

Hi, @jschuur - this is already in the Readme:

Installation steps

Install Alfred
Purchase premium version of Alfred to enable Workflows
Download latest ZIP file from releases
Unzip and double click to add to Alfred

Do you think that there is anything more to be added there?
Best regards,
Jarek

Apologies, I completely missed that part in the Readme.

Hey, @jaroslawhartman, thanks for looking at this.  My request is specifically that the .alfredworkflow file is available for download as part of releases, without the extra "extract from the .zip" step, if possible.
The process documentation is fine.  It just makes putting together automatic installation a little more cumbersome than it needs to be.

Hi @slippycheeze
Starting from v2.30 I will put .alfredworkflow file in the releases (alongside .zip).
I will put on my list a procedure for automatised upgrades.
Closing for now.
Best regards,
Jarek


Class-based directives

Hey, it's my first contribution here, so let me say: awesome project, I love it, thank all of you for it!
I used hug for my project and I found a problem how to include a database connection (in my case sqlalchemy session) to the project. While searching for the solution I found some issues that also mention this problem: #376 and #458.
In the PR I included my solution to the problem - a class-based directive with a method for a cleanup when something goes wrong. In examples I included two use cases: sqlalchemy and mail sending. I will be happy to include more.
@hug.directive()
class SMTP(object):

    def __init__(self, *args, **kwargs):
        self.smtp = envelopes.SMTP(host='<IP_ADDRESS>')
        self.envelopes_to_send = list()

    def send_envelope(self, envelope):
        self.envelopes_to_send.append(envelope)

    def cleanup(self, exception=None):
        if exception:
            return
        for envelope in self.envelopes_to_send:
            self.smtp.send(envelope)

@hug.get('/hello')
def send_hello_email(smtp: SMTP):
    pass

One nice thing about solution is that annotation still preserves its basic functionality - a smtp variable is an object of SMTP class.
Any comments are welcome, thanks!

Coverage increased (+0.001%) to 99.845% when pulling 7ebcb60c317188f56ec95dd8b760dd7854d1ce3a on gtxm:class_directives into bf311e7f6156edfaaea4f78f48c43322dbb3d6f7 on timothycrosley:develop.


add to_hashr method to ruby hash class for convinience.

class Hash
  def to_hashr
    Hashr.new(self)
  end
end

Thanks

@zw963 Thanks a lot for the suggestion!
I'd much rather not modify Ruby core classes though. Please add such convenience code on your side.

@svenfuchs , i don't understand what you means, anywhy, this gem was extend core hash class with deep_symbolize_keys and deep_merge, and add a new to_hashr, i don't think have any issue.
Thanks


tilt: 0.22.8 -> 0.22.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tilt-dev/tilt/releases.
meta.description for tilt is: "Local development tool to manage your developer instance when your team deploys to Kubernetes in production"
meta.homepage for tilt is: "https://tilt.dev/"
meta.changelog for tilt is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/vsznysc42691y9a3gcw62n67iwcr4xbl-tilt-0.22.9/bin/tilt passed the binary check.

1 of 1 passed binary check by having a zero exit code.

0 of 1 passed binary check by having the new version present in output.

found 0.22.9 with grep in /nix/store/vsznysc42691y9a3gcw62n67iwcr4xbl-tilt-0.22.9

found 0.22.9 in filename of file in /nix/store/vsznysc42691y9a3gcw62n67iwcr4xbl-tilt-0.22.9

directory tree listing: https://gist.github.com/53a9079fdef81cd4a20a62d7fd10170f

du listing: https://gist.github.com/f6e770d8e78d4687461b5d3d0e756aea

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
tilt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vsznysc42691y9a3gcw62n67iwcr4xbl-tilt-0.22.9 \
  --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 tilt https://github.com/r-ryantm/nixpkgs/archive/bb19838557dbd643b685ef395dc93632db59718f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vsznysc42691y9a3gcw62n67iwcr4xbl-tilt-0.22.9
ls -la /nix/store/vsznysc42691y9a3gcw62n67iwcr4xbl-tilt-0.22.9/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 built:

tilt

Maintainer pings
cc @anton-dessiatov @kalbasit for testing.

Result of nixpkgs-review pr 138446 run on x86_64-linux 1

1 package built:

tilt


@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/tpot-feedstock#24.


Initialize target specific information in CMake

related to espressif/esp-idf#10082 which is caused by this being absent

@igrr on the master/v5.0/v5.1 branch, add any target based deprecated function that is a candidate for renaming, such as CONFIG_ESP32S3_SPIRAM_SUPPORT to your sdkconfig.defaults, and see that the updated config name doesn't appear in /path/to/target/xtensa-esp32s3-espidf/.../build/esp-idf-sys-.../out/ sdkconfig and sdkconfig.h. Be sure to cargo clean first, the out/build/config/sdkconfig.* stuff is cached.
The idf_target property needs to be converted from the env var $IDF_TARGET, which is set in build/native/cargo_driver.rs.
Instead of using a private function, we can set it manually, which is what I just pushed.

Thanks, that's exactly where I found the issue


WIP: Add function to replay a session without validity checking

PR for CI

@mpickering I will check this out and test locally, if you're happy for these changes to come in?

@bubba I never tested this change myself sorry! I'm not sure it's even useful anymore.

@mpickering I think it might be useful at some point, I'll come back to this later


on Vim, <C-_> cannot interpret as c-/

Environment
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19041.0 Microsoft Windows NT 10.0.19041.0
Any other software?
ssh + tmux + neovim

Steps to reproduce
nmap <C-_>   <Plug>NERDCommenterToggle
vmap <C-_>   <Plug>NERDCommenterToggle<CR>gv

then press c-/.
Expected behavior
Should interpret as c-/
Actual behavior
Nothing happens.

Which version of SSH are you using?

Win32-OpenSSH 7.7 has its own input generator, and it does not support Ctrl+/. Win32-OpenSSH 8.x is using the Windows Console input generator, which DOES support it.
8.2

7.7

It's silly, because it's an image of nothing

Win32-OpenSSH 7.7 has its own input generator, and it does not support Ctrl+/. Win32-OpenSSH 8.x is using the Windows Console input generator, which DOES support it.
8.2

7.7

It's silly, because it's an image of nothing

@DHowett May I know how I can check the version?

@DHowett May I know how I can check the version?

Please run ssh -V.

Please run ssh -V.

Thanks. It is 7.7.


Mailer not working in production

I have a trouble using mailer service, I get RequestTimeout when calling mailer.send.
In developpement it works good but not on my server.
Here my mailer mixin service
module.exports = {
  name: 'mailer',
  mixins: [Mailer],
  settings: {
    //from<EMAIL_ADDRESS>    transport: {
      //host: `${process.env.SMTP_HOST}`,
      service: 'mailgun',
      auth: {
        api_key: `${process.env.GUN_API_KEY}`,
        domain: `${process.env.GUN_DOMAIN}`,
      }
    }
  },
  created(){
    //console.log(this.settings);
  }
}

And when I call
let html = `
         .....
        `
      console.log(await this.broker.call('mailer.send', {
        subject: `.......`,
        to: ws.owner.email,
        html
      },{
          retry: 5,
      }));

Any Idea ?

I have no idea. I'm using it in production and I have no problem with it.

I don't exactly understand what was wrong, but I think that moleculer-mailer does not work with Mail Gun (using API key and domain).
My understanding is that line https://github.com/moleculerjs/moleculer-addons/blob/17efa8dc6e1d3a6a0731c0dcc1232d2868569826/packages/moleculer-mail/src/index.js#L172
That line will create just SMTP transporter, so we need to use an extra plugin to possibly create a transporter for other than SMTP.
When I use mailgun-js everything is going well :).

My working code is:
"use strict";

const MailService = require("moleculer-mail");

module.exports = {
	name: "mail",
	mixins: [MailService],
	settings: {
		from<EMAIL_ADDRESS>		transport: {
			service: "mailgun",
			auth: {
				user: process.env.MAILGUN_USER,
				pass: process.env.MAILGUN_PASS
			}
		}
	}
};

SMTP works fine using moleculer-mail in local, and timeout on my server, but using mailgun API , its not working nor in local nor on server I'm getting that
Unable to send email:  { Error: Missing credentials for "PLAIN"

My actual code which works with API
const Mailer = require('moleculer-mail');
const nodemailer = require('nodemailer');
const mailgun = require('mailgun-js')

//create a service and use Malier as a mixins
module.exports = {
  name: 'mailer',
  transporter : null,
  //mixins: [Mailer],
  settings: {
    from: `${process.env.MAIL_FROM}`,
    transport: {
      auth: {
        apiKey: `${process.env.GUN_API_KEY}`,
        domain: `${process.env.GUN_DOMAIN}`,
      }
    }
  },
  actions:{
    /**
     * Send an email to recipients
     */
    send: {
      handler(ctx) {
        return new Promise((resolve,reject)=>{
           if(!ctx.params.from){
            ctx.params.from = this.settings.from || '';
           }
           console.log("Sending mail from "+ctx.params.from+" to "+ctx.params.to);
           this.transporter.messages().send(ctx.params, (err,body)=>{
            if(err) return reject(err);
            console.log(body);
            return resolve(body);
           });
        })
      }
    }
  },

  /**
   * Service created lifecycle event handler
   */
  created() {
   this.transporter = mailgun(this.settings.transport.auth);
   //console.log(this.transporter);
  },
}

Which version do you use local and on server? Maybe I put a bug in the last release.

No I don't think, since  I have the same versioon both (version 1.1.1) . Probably a problem with my server, since it works in local.

But what is it in your package.json? ^1.1.1 or ~1.1.1, or 1.1.1? First of them will install the latest 1.2.0 version instead of 1.1.1.

I have ^1.1.1 in my package json
AH I see, so I will try jus 1.1.1 and see what it will give

Nope, the same problem when using "moleculer-mail": "1.1.1" .

Any updated? Problem is solved?


add yourself to team

@temmey @4ydan please add yourself to doc/AUTHORS.md and frontend/src/features/landing_page/components/Team.tsx

Should be done when #519 is merged

As there is no overlap in files, you can also easily create several PRs via different branches all forking from master.
If there is some overlap, you can also branch of existing branches to create several PRs with (slight) changes between the PRs.

should be done when #601 is merged, and can be closed then.

Please write in the commit messages that it closes #601, then this happens automatically.


Need to click browser back button twice to exit page in SSR example

I'm following the SSR example here:
https://github.com/reactjs/react-router-redux/blob/master/examples/server
Open http://localhost:8080, click browser back button, redux will dispatch router/LOCATION_CHANGE action, the page will remaining in same http://localhost:8080. Click browser back button again, then only the page will be close.
I noticed same issue on other community example as well such as https://github.com/svrcekmichal/universal-react

Hi, i'm having the same issue.
I have tested two options :

First one by setting the options to not keep in sync URL
Second one, in the syncHistoryWithStore function when we check for a location in the store, by passing the condition to false and doesn't dispatch an action. I dont know if it's a good solution...

 // Respect persisted location, if any       if (!getLocationInStore()) {         return;       }

I'm having the same problem.
I think I've solved it by removing the adding and syncing of memoryHistory on the server with the store. This seems to cause problems because the server (with the temporary memoryHistory) can never know the current history of the browser accessing it.
This sounds like it defeats the point of server side rendering, but it kind of makes sense to me because the page is still rendered from the server, and nothing should be re-rendered as the current point in browserHistory (from the client side) is exactly the same as the routes that the server rendered from the temporarily created memoryHistory. So basically, history is only added and synced with the store on the client side and therefore it seems to remember all it's current forward / backward states too. Just means one extra action is shot off as soon as the client.js loads without much affect.
I'm new to this whole server rendering stuff, so maybe I'm completely wrong.
Changed code in server.js:
...
app.use(function (req, res) {
  const memoryHistory = createMemoryHistory(req.url)
  const store = configureStore(null) //this seems to insert a null value for the routing initial state, when passed into the routerMiddleware function inside

  match({ memoryHistory, routes, location: req.url }, (error, redirectLocation, renderProps) => {
...

@timdorr As @lostpebble said, removing syncHistoryWithStore does solve the issue. But is that the correct way to do?

do not dispatch action in the first time~
  // Are we being called for the first time?
    if (!initialLocation) {
      // Remember as a fallback in case state is reset
      initialLocation = location;

      // Respect persisted location, if any
      if (getLocationInStore()) {
        return;
      }
    } else {
      // do not dispatch action in the first time
      store.dispatch({
        type: _reducer.LOCATION_CHANGE,
        payload: location
      });
    }
    // Tell the store to update by dispatching an action

I have made a PR with what I believe is a fix to this problem, see #403.
If you want to try it out today you can change to the following in your package.json.
"react-router-redux": "dlmr/react-router-redux#fix-inital-server-load-dist"

thanks @dlmr - i was having this same issue. your PR fixes on my repo.

thanks @dlmr for your fixes.


chore: re-enable the git authz test

Re-enable the tests that are disabled during refactor for git authz.
Originally posted by @xdevxy in https://github.com/numaproj-labs/numaplane/pull/124#discussion_r1510429413

This pr -https://github.com/numaproj-labs/numaplane/pull/125 covers this issue

Closed with https://github.com/numaproj-labs/numaplane/pull/125


Many tweaks and subjectively helpful changes.

Add a few helpful changes like a custom exception type.
Made some updates to the NuGet tags and other things in the .csproj

I have reverted the ID -> Id changes.
Now that .NET 7 is released, I went ahead and added that in (and dropped .NET 5 since it hit EOL a few months ago).

@at0dd It looks like CodeQL doesn't support .NET 7. :) Would you rather remove that TFM or bypass the CodeQL scan for this PR since it's still able to scan it for the other TFM builds?

Let's remove .NET 7 for now and I'll add it once it gets more support.

@at0dd I have removed .NET 7. Should be good to go now!


Cloudfront "Access Denied" when refreshing page outside of home page

Hi team,
We've just recently deployed the latest stacks for the AWS retail demo store, and it looks great, however we notice that we can't refresh any pages outside of the home page.
Steps to reproduce:

Deploy the Retail Demo Store to a new AWS account

Browse to the generated url for the retail demo store

Browse to one of the featured products

Refresh the current page

Expected behaviour:

Product page is reloaded successfully

Actual behaviour:

An "Access Denied" error is shown to the user

Note that this also happens on other pages - e.g if the auth page is refreshed.

Hi!
Thanks for raising this, can you confirm that you are using a recent version of the Retail Demo Store? Was it a fresh install ?
We deployed large changes on moving to cloudfront https + api gateway, full on HTTPS recently (see PR #451)
Do you use the https cloudfront URL?


Unable to fetch multi-bleu.perl script,using local

my seq2seq model working fine for training but not able to evaluate the model,why it is happening.
when it starts evaluating it looks like -
INFO:tensorflow:Starting evaluation at 2018-06-22-08:44:07
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
W tensorflow/core/framework/op_kernel.cc:993] Out of range: PaddingFIFOQueue '_31_dev_input_fn/batch_queue/padding_fifo_queue' is closed and has insufficient elements (requested 32, current size 0)
[[Node: dev_input_fn/batch_queue = QueueDequeueUpToV2[component_types=[DT_INT32, DT_STRING, DT_INT32, DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](dev_input_fn/batch_queue/padding_fifo_queue, dev_input_fn/batch_queue/n)]]
INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local.
INFO:tensorflow:Finished evaluation at 2018-06-22-08:45:10

How did you solve this and I have the same problem!

I took the output text and evaluated the sentences in my local machine using the file multi-bleu.perl (https://github.com/moses-smt/mosesdecoder/blob/master/scripts/generic/multi-bleu.perl)
command line - perl multi-bleu.perl reference.txt < prediction.txt

你是怎么解决的，我也遇到了同样的问题！

你好，我也遇到了这个问题，请问你解决了吗？

How did you solve this and I have the same problem!
Hello, I have the same problem. Have you solved it?


Suggestion: Do not modify package.json

Description
Would the team be open to removing any code that modifies package.json? It's not very typical to have a package installation modify package.json as a side effect. On top of that, the file is modified in a way that may not conform with the formatting styles of the codebase (e.g. tabs/spaces/space width). Overall, I don't want this behavior at all as I want control over what scripts I have in my package.json
Describe the solution you'd like
Remove this functionality completely, or make it opt-in (e.g. modify package.json only if running a script)
Describe alternatives you've considered
Additional context

Hi @arthuralee, thanks for the suggestion.
You make a good point so we are going to look into a refactor so the update to package.json is not performed by default.
We will update here when we have more information to share.

Hi @arthuralee we have now released v1.2.2 which avoids modifying the package.json file. Thanks again for raising this.


CVE-2020-14343 - upgrade pyyaml from 5.3.1 to 5.4

Version 5.3.1 of pyyaml contains CVE-2020-14343, could you please upgrade it to 5.4.
https://github.com/yaml/pyyaml/issues/420

@jiasli for awareness.

@jiasli for awareness.

@jamiemccrindle since this is not an issue if using the SafeLoader (with yaml.safe_load), have you seen any places where safe_load is not used? I don't know a lot about this codebase, but just want to highlight that it might never have been affected by CVE-2020-14343 :blush:

@jamiemccrindle since this is not an issue if using the SafeLoader (with yaml.safe_load), have you seen any places where safe_load is not used? I don't know a lot about this codebase, but just want to highlight that it might never have been affected by CVE-2020-14343 :blush:

Knack always uses the latest version:
https://github.com/microsoft/knack/blob/7aa098ad2a4b6b17241690675527fe3735cc59c9/setup.py#L19
DEPENDENCIES = [
    ...
    'pyyaml',

@fengzhou-msft, let's do it in Azure CLI!

Knack always uses the latest version:
https://github.com/microsoft/knack/blob/7aa098ad2a4b6b17241690675527fe3735cc59c9/setup.py#L19
DEPENDENCIES = [
    ...
    'pyyaml',

@fengzhou-msft, let's do it in Azure CLI!

Knack always uses the latest version:
https://github.com/microsoft/knack/blob/7aa098ad2a4b6b17241690675527fe3735cc59c9/setup.py#L19
DEPENDENCIES = [
    ...
    'pyyaml',

Azure CLI doesn't depend on PyYAML directly anymore: https://github.com/Azure/azure-cli/pull/12869.
@jamiemccrindle, if you are using pip to install Azure CLI, please upgrade underlying dependencies using:
pip install --upgrade --upgrade-strategy eager azure-cli

Knack always uses the latest version:
https://github.com/microsoft/knack/blob/7aa098ad2a4b6b17241690675527fe3735cc59c9/setup.py#L19
DEPENDENCIES = [
    ...
    'pyyaml',

Azure CLI doesn't depend on PyYAML directly anymore: https://github.com/Azure/azure-cli/pull/12869.
@jamiemccrindle, if you are using pip to install Azure CLI, please upgrade underlying dependencies using:
pip install --upgrade --upgrade-strategy eager azure-cli


[stdlib] Eliminates redundant buffer zeroing in UnicodeScalarProperties

Eliminates redundant buffer zeroing in internal func in UnicodeScalarProperties by using init(unsafeUninitializedCapacity:initializingWith:)

@swift-ci Please smoke test

ping

@swift-ci Please smoke test and merge

ping

@swift-ci smoke test


GLTF Validator in Editor

Merging Validation as is done in Don's https://github.com/donmccurdy/three-gltf-viewer/ into space-opera

tagging @mounirlamouri for visibility


refactor(controller-k8s): controller support native k8s

Description

controller support native k8s

Modules

[ ] UI
[x] Controller
[x] Agent
[ ] Client
[ ] Python-SDK
[ ] Others

Checklist

[x] run code format and lint check
[x] add unit test
[ ] add necessary doc

LGTM


<EMAIL_ADDRESS>unsupported mattermost version: 7.1.2

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.

I had downloaded latest matterbridge binaries and when establishing connection to our mattermost version 7.1 , I don't see matterbridge version 1.25.0 compatible for 7.1 release as I was getting below error message
[0055] FATAL main:         [main:pkg/mod/github.com/42wim/matterbridge@v1.25.0/matterbridge.go:66] Starting gateway failed: Bridge mattermost.work failed to start: unsupported mattermost version: <IP_ADDRESS>.1.2.9626132ac7dc9025107de8dc74c4f67f.true

I believe you need at least 1.25.2 for 7.x compatibility. See:
https://github.com/42wim/matterbridge/pull/1852
and this:
https://github.com/42wim/matterbridge/releases

thanks @tareko , I was able to download and install the 1.25.2 , but now i see a different error when I start matterbridge service , any idea what it could be using mmctl mattermost utility I am able to query the team name , Below is the error message
[0000] FATAL main:         [main:pkg/mod/github.com/42wim/matterbridge@v1.25.2/matterbridge.go:66] Starting gateway failed: Bridge mattermost.work failed to start: Team 'myteam' not found in []

That's an unrelated configuration issue. Take a look at sample .toml files for this.

new issue in #1885


Changed to work with python3

This will most definitely break python2 support, but I needed to run it in python3 so I went ahead and made these changes.

Thank you! Added backwards compatibility for python2 in #8.


Cannot build tor-browser-bundle-bin: 404

Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p tor-browser-bundle-bin
Build log
these 2 derivations will be built:
  /nix/store/s0gv1j6fqzjzgr9kqvndhcgsmwivjzhi-tor-browser-linux64-11.5.1_en-US.tar.xz.drv
  /nix/store/0faf1b6dnqisg7666hhrrn2hs16d9b93-tor-browser-bundle-bin-11.5.1.drv
building '/nix/store/s0gv1j6fqzjzgr9kqvndhcgsmwivjzhi-tor-browser-linux64-11.5.1_en-US.tar.xz.drv'...

trying https://dist.torproject.org/torbrowser/11.5.1/tor-browser-linux64-11.5.1_en-US.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   266    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404

trying https://tor.eff.org/dist/torbrowser/11.5.1/tor-browser-linux64-11.5.1_en-US.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   146    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404

trying https://tor.calyxinstitute.org/dist/torbrowser/11.5.1/tor-browser-linux64-11.5.1_en-US.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   146    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download tor-browser-linux64-11.5.1_en-US.tar.xz from any mirror
error: builder for '/nix/store/s0gv1j6fqzjzgr9kqvndhcgsmwivjzhi-tor-browser-linux64-11.5.1_en-US.tar.xz.drv' failed with exit code 1;
       last 10 log lines:
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0   146    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
       > curl: (22) The requested URL returned error: 404
       >
       > trying https://tor.calyxinstitute.org/dist/torbrowser/11.5.1/tor-browser-linux64-11.5.1_en-US.tar.xz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0   146    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download tor-browser-linux64-11.5.1_en-US.tar.xz from any mirror
       For full logs, run 'nix log /nix/store/s0gv1j6fqzjzgr9kqvndhcgsmwivjzhi-tor-browser-linux64-11.5.1_en-US.tar.xz.drv'.
error: 1 dependencies of derivation '/nix/store/0faf1b6dnqisg7666hhrrn2hs16d9b93-tor-browser-bundle-bin-11.5.1.drv' failed to build

Additional context
Probably just has to be updated: https://tor.calyxinstitute.org/dist/torbrowser/

Notify maintainers
@offline @matejc @thoughtpolice @joachifm @hax404 @KarlJoad
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.59, NixOS, 22.05 (Quokka), 22.05.2889.67e45078141`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixos-22.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

It works with the latest nixpkgs.
nix build nixpkgs#tor-browser-bundle-bin

I merged #189121 several days ago but looks like the channel is not updating for reasons™, anyway maybe we need to find a fallback download url.

This is a recurring issue with the bundle.   I believe there are already a few fallback URLs but perhaps they all adhere to the policy of removing all but the latest release?  I understand that upstream strongly prefers users always run the latest version.
To avoid build failures I suppose you could try re-enabling Hydra caching (if it's still disabled) but that incurs the risk of letting users run outdated versions for longer.

To avoid build failures I suppose you could try re-enabling Hydra caching (if it's still disabled)

Why was it disabled?  Maybe we should insert a comment with the explanation.
Depending on the reason for the disablement, #191492 may or may not eliminate whatever the benefit of disabling it being fetched+cached by Hydra was.

Why was it disabled? Maybe we should insert a comment with the explanation.

In ecd0e1a2c736a9a609cd820de0cb2861129482c3 which delivers no good reason. Going to remove that.


James 2739 fixed browse mails from queue

Fixed problem in browse function for get mails from queue via JMX

Hi,
This pull request has just been merged.
One very last thing: I don't have write access to this repository, hence I can not close this issue. Wouldn't you mind doing it for me? It would avoid me annoying the Apache INFRA team with such simple concerns.
Cheers,
Benoit

@ieugen can you help me to close this?


Google icon missing from social icons

Was adding social icons for login possibilities and noticed that the Google icon was missing. Any plans on adding this icon?

[ x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

Google icon should be in the list of social icons
Examples 🌈

Motivation 🔦
Googel signin is pretty common use case.

Duplicate of #21795


[Improve] Optimize log display during startup command

Purpose of this pull request

Some config loading log don't take effect about log4j2
When we startup a command like seatunnel.sh -l, the log as follows.

Generally, if you execute commands through some programs, such non-standard logs will be captured in the error log stream, which is very bad
Does this PR introduce any user-facing

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

Thanks @JohnZp for created this PR! Could you provide a demo of after optimized?

LGTM


Error: Unknown inline node type: image

Round 2 :)
Link to repo - inquisitblog/inquisit
I enabled images in the field document. I used the custom config to enable directory & publicPath.
images: {
  directory: "public/images/blogposts/img",
  publicPath: "/images/blogposts/img",
}

My initial error from #520 was fixed, I removed the trailing slash from the paths and seemingly everything was working fine. I added images into the understanding-algorithmic-bias blog. Adding the images and saving the entry worked fine. Everything worked for a second. But when I re opened the keystatic entry again, I got the following error:

And visiting the actual page also gives me the same error:

The generated markdoc is:
...
![Training Data
Snapshot](/images/blogposts/img/understanding-algorithmic-bias/Training%20Data%20Sample.png)
...
![Complete Model Matrix
Confusion](/images/blogposts/img/understanding-algorithmic-bias/Complete%20Model%20Confusion%20Matrix.png)
...
![Biased
Model Confusion
Matrix](/images/blogposts/img/understanding-algorithmic-bias/Biased%20Model%20Confusion%20Matrix.png)
...
![Example
Predictions](/images/blogposts/img/understanding-algorithmic-bias/Example%20Predictions.png)
...

Apologies, user error. After updating the config, I manually updated the files which screwed up the formatting.


StorageManagementClient not raising HttpResponseError exception upon throttling

Package Name: azure-managment-storage
Package Version: 2022_09_01
Operating System: Ubuntu 22.04.2 LTS on WSL2 (<IP_ADDRESS>-microsoft-standard-WSL2)
Python Version: 3.10.6

Describe the bug
If receiving a 'throttled' response (status code 429) when calling storage_accounts.get_properties, no error is raised so the throttling error can't be caught and handled. Instead, the client hangs until the 'retry_after' value in the throttling response has elapsed.
To Reproduce
Steps to reproduce the behavior:

Run the below code until you are throttled:

from azure.mgmt.storage import StorageManagementClient
from azure.core import exceptions

storage_client = StorageManagementClient("tokenCredential", "mySubscriptionId")

while True:
    try:
        account_properties = storage_client.storage_accounts.get_properties(account_name="myStorageAccount", resource_group_name="myResourceGroup")
        print(account_properties)
    except exceptions.HttpResponseError as httpErr:
        print("###Caught exception###")
        print(httpErr.message)
        break

Expected behavior
A HttpResponseError - or an error of some form - is raised. Much like how a 404 error is raised if you provide an invalid storage account name.
Additional context
Debug logs show the following request-response pair when hitting throttling:
Request:
{"asctime": "2023-05-05 09:14:10,271", "levelname": "DEBUG", "name": "azure.core.pipeline.policies._universal", "filename": "_universal.py", "lineno": 330, "threadName": "createstorageaccount", "message": "Request URL: 'https://management.azure.com/subscriptions/mySubscriptionId/providers/Microsoft.Storage/storageAccounts?api-version=2022-05-01'\nRequest method: 'GET'\nRequest headers:\n    'Accept': 'application/json'\n    'x-ms-client-request-id': 'requestId'\n    'User-Agent': 'azsdk-python-azure-mgmt-storage/20.1.0 Python/3.10.6 (Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35)'\n    'Authorization': 'myBearerToken'\nRequest body:\nThis request has no body"}

Response:
{"asctime": "2023-05-05 09:14:10,330", "levelname": "DEBUG", "name": "azure.core.pipeline.policies._universal", "filename": "_universal.py", "lineno": 375, "threadName": "createstorageaccount", "message": "Response status: '429'\nResponse headers:\n    'Cache-Control': 'no-cache'\n    'Pragma': 'no-cache'\n    'Content-Length': '226'\n    'Content-Type': 'application/json'\n    'Expires': '-1'\n    'Retry-After': '282'\n    'x-ms-request-id': 'requestId'\n    'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'\n    'Server': 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'\n    'x-ms-ratelimit-remaining-subscription-reads': '11799'\n    'x-ms-correlation-request-id': '84...'\n    'x-ms-routing-request-id': 'UKWEST:20...'\n    'X-Content-Type-Options': 'nosniff'\n    'Date': 'Fri, 05 May 2023 08:14:12 GMT'\n    'Connection': 'close'\nResponse content:\n{\"error\":{\"code\":\"TooManyRequests\",\"message\":\"The request is being throttled as the limit has been reached for operation type - List_ObservationWindow_00:05:00. For more information, see - https://aka.ms/srpthrottlinglimits\"}}"}

The client does not raise any error at all, the 429 response is logged only as a DEBUG-level event. Is this intended behavior? If so, how can I induce the client to raise an error upon throttling? Passing in an error_map to the get_properties call does not seem to have any effect: storage_client.storage_accounts.get_properties(account_name="myStorageAccount", resource_group_name="myResourceGroup", error_map={429: HttpResponseError}). For our implementation, it is necessary to use polling at scale.

Hi @wushingmushine It is by design:https://github.com/Azure/azure-sdk-for-python/blob/fbb7a4a5889c92551f6552e06a7d67256219023a/sdk/core/azure-core/azure/core/pipeline/policies/_retry.py#L184
Since throttle is temporary for a few seconds, SDK will retry after retry-after of response and users don't need to know it.
If you really want to raise exception for 429, please set customized retry policy like:
...
from azure.core.pipeline.policies import RetryPolicy
storage_client = StorageManagementClient(..., retry_policy=RetryPolicy(retry_on_status_codes=set(range(999)) - set(range(506)) + set([408, 500, 502, 503, 504]))
...

Thanks @msyyc. In our experience, the throttle tended to last for a few minutes, which is why we thought it odd that it hung for that duration with no feedback.
That customized RetryPolicy doesn't seem to work due to the unsupported operand combining the sets

But even if the sets or successfully combined (e.g. set(range(999)) - set(range(506))).union(set([408, 500, 502, 503, 504])), it doesn't work if there's a Retry-After header present in the response (which seems to usually be the case, at least for the operation in the example code) due to the early return in is_retry here.
Would there be any way to override that behaviour?

It seems that you have to customize the retry policy. For example:
class MyRetryPolicy(RetryPolicy):
    def is_retry():
        # your customized retry logic
storage_client = StorageManagementClient(..., retry_policy=MyRetryPolicy(retry_on_status_codes=set(range(999)) - set(range(506)) | set([408, 500, 502, 503, 504]))

That makes sense - thanks for the help! Happy for this to be closed :)


[requires.io] dependency update on master branch

Done!
@jayfk, Did you want me to transfer this project over to you?

@pydanny I'd prefer transferring it to an organisation. What about @djangopackages?


iOS Archived doesn't compile because a Semantic Issue Unknown receiver 'RNNotifications' did you mean 'UNNotification'? On Latest RN 0.63.2

This is my system information:
System:     OS: macOS 10.15.6     CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz     Memory: 907.69 MB / 16.00 GB     Shell: 5.7.1 - /bin/zsh   Binaries:     Node: 12.16.3 - ~/.nvm/versions/node/v12.16.3/bin/node     Yarn: 1.22.4 - ~/.yarn/bin/yarn     npm: 6.14.4 - ~/.nvm/versions/node/v12.16.3/bin/npm     Watchman: 4.9.0 - /usr/local/bin/watchman   Managers:     CocoaPods: 1.9.2 - /usr/local/bin/pod   SDKs:     iOS SDK:       Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2     Android SDK:       API Levels: 26, 28, 29       Build Tools: 28.0.3, 29.0.2, 29.0.3       System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Intel x86 Atom_64       Android NDK: Not Found   IDEs:     Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897     Xcode: 11.6/11E708 - /usr/bin/xcodebuild   Languages:     Java: 1.8.0_242 - /usr/bin/javac     Python: 2.7.16 - /usr/bin/python   npmPackages:     @react-native-community/cli: Not Found     react: 16.13.1 => 16.13.1     react-native: 0.63.2 => 0.63.2
I am testing in a whole new project just in case it was a background incompatibility but it seems that the problem is the same.
This are my logs:
AppDelegate.m:35:4: Unknown receiver 'RNNotifications'; did you mean 'UNNotification'?

@guyca  I will appreciate your help.

same problem here. I can run app on devices, but not archive.
some prints of errors

same here, anyone has a solution? for me its only on xcode 12

@azelaya6 I haven't found any solution. I had the same problem in Xcode 11.7 and after upgrading is the same.

Make sure that your #import "RNNotifications.h" is below the block of code that starts with #ifdef FB_SONARKIT_ENABLED and ends with #endif .  Otherwise RNNotifications will not be included in release configuration builds.
It should look like this:
#ifdef FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>

static void InitializeFlipper(UIApplication *application) {
  FlipperClient *client = [FlipperClient sharedClient];
  SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
  [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
  [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
  [client addPlugin:[FlipperKitReactPlugin new]];
  [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
  [client start];
}
#endif

#import "RNNotifications.h"

This solved my problem. But I got another archived problem related to RN 0.63.2 😢

@paddlefish 's answer should be added to the official documentation!!


[DE-546] Adding stats fields to the explain API

Purpose
Enhance the AQL explain functionality by adding the following attributes (available since 3.10.4):

peakMemoryUsage (number): The maximum memory usage of the query during explain (in bytes)
executionTime (number): The (wall-clock) time in seconds needed to explain the query.
Note that the explain method of AQL queries includes the "stats" field in the returned object. The REST API returns it separately from the "plan" field, but for now we have to merge them together to ensure backward compatibility.

Additionally, the following changes are being made

Adding peak_memory_usage as a new property of AQL queries, available since ArangoDB 3.11
Adding a CHANGELOG file for keeping track of changes across driver releases

Tests
The necessary tests have been adapted. Note that we have to differentiate now between ArangoDB versions while running the tests.

Codecov Report

Merging #251 (52648c7) into main (47a0047) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #251   +/-   ##
=======================================
  Coverage   98.57%   98.57%
=======================================
  Files          26       26
  Lines        3853     3858    +5
=======================================
+ Hits         3798     3803    +5
  Misses         55       55

Impacted Files
Coverage Δ

arango/aql.py
95.00% <100.00%> (+0.10%)
:arrow_up:

arango/client.py
100.00% <100.00%> (ø)

arango/request.py
94.44% <100.00%> (ø)


[Docs] Update README to describe project

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

@leecalcote @Chadha93  does we have to update the readme of those 3 contributor resources @leecalcote  have provided above
or have to update the readme of meshery-perf  also describe about the updates you want

@deep1910 here you are: Nighthawk as an Externalized Meshery Component // @gyohuangxin

@leecalcote can I work on this issue ?

@Ghat0tkach yes

there you go @fiifidawson

@fiifidawson any progress?

@Ghat0tkach still working on it. Based on leetcalcote's suggestion "this repo's readme should describe the purpose and functionality of the meshery-perf component." Is there anything you think can be or should be included

@fiifidawson , lee has already provided excellent resource to get you started.

This issue has been open for some time with no recent activity, unassigning to open it up for new contributors to give it a go.


Trace/breakpoint trap

Description
Long time I wasn't updating MyMonero app. Today I discivered, that I'm able to use just that old version — 1.2.1 — since every newer version, from 1.2.3 to 1.2.7, refuses to work spitting the error „Trace/breakpoint trap” in the command line. They don't even show their GUI.

[ ] Can you reproduce the issue?

Steps to reproduce

Well, run the app. No further steps necessary.
[Second step]
[and so on...]

Expected behavior:
I was expecting its GUI to show up and normal functionality.
Actual behavior:
It just doesn't start, it seems.
Link to an example: [optional]

Versions

Mark Text version: MyMonero App Image 1.2.3̣÷1.2.7
Operating system: Slackware 14.2, jdk16 16.0.2. Kernel 5.12.8-i7.  The app DOESN"T WORK!

We are working through the issues. Currently, we are dealing with our block parser. The apps rely on the server to provide it with the necessary data. We will work through the apps and resolve all issues once the servers are correctly configured.
We have all hands on deck to work through and restore the service.
If you need urgent access to your funds, you can use your mnemonic seed with the official monero GUI during this period.

When the application doesn't even start, it is a critical problem; it's a disaster. So months have passed and what do you have to tell me? „Oh, excuse me, we're busy”. So you're busy „polishing the details” while your application (in all its new versions) doesn't even start?
Anyway thanks for information you're too busy to fix this, switched to monero-gui. At least it seems to be working.


find a way to validate the excel file

The idea here is the possibility to provide a validator for the file uploaded by user. So as to avoid a file being uploaded and containing errors


export jtp Transform and improve readme

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Fix: Failing link display

Overview
Queries with urls in the tip message fail when there are numeric values in the message.
Fixes #899
Fixes #892
Demo
N/A
Notes
Made sure to only try and replace the links using the dollar sign
Testing Instructions

Run Graph Explorer
Go to "Sample queries"
Expand "Applications"
Click on "retrieve application properties"
See no error

does this also fix #910 ??

does this also fix #910 ?

It should


Add gluster virtblock CSI driver

Signed-off-by: Kotresh HR<EMAIL_ADDRESS>
Fixes #126

Fixes: #126

@kotreshhr can you test this PR so that we can take it in?

@kotreshhr can you test this PR so that we can take it in?

@Madhu-1 The latest glusterd2-nightly image was failing with issue #129. I am trying with old glusterd2 image. I will update here.

@kotreshhr can you test this PR so that we can take it in?

@Madhu-1 The latest glusterd2-nightly image was failing with issue #129. I am trying with old glusterd2 image. I will update here.

I have tested the patch and it works. Since vagrant up failing with latest gd2 image. I did the following.

vagrant up (with old gd2 image)
Once everything is up, edit gd2 pods to pull latest glusterd2-nightly image
Deploy pvc
Deploy app

[vagrant@kube1 ~]$ kubectl get pods -ngcs
NAME                                    READY   STATUS              RESTARTS   AGE
alertmanager-alert-0                    2/2     Running             0          41m
alertmanager-alert-1                    2/2     Running             0          35m
anthill-58b9b9b6f-df9d4                 1/1     Running             0          64m
csi-attacher-glusterfsplugin-0          2/2     Running             1          51m
csi-glustervirtblock-attacher-0         2/2     Running             0          46m
csi-glustervirtblock-nodeplugin-274xv   2/2     Running             1          46m
csi-glustervirtblock-nodeplugin-9w5bb   2/2     Running             1          46m
csi-glustervirtblock-nodeplugin-gghsp   2/2     Running             1          46m
csi-glustervirtblock-provisioner-0      3/3     Running             0          46m
csi-nodeplugin-glusterfsplugin-flk7r    2/2     Running             1          51m
csi-nodeplugin-glusterfsplugin-kt4fm    2/2     Running             1          51m
csi-nodeplugin-glusterfsplugin-w4gd8    2/2     Running             1          51m
csi-provisioner-glusterfsplugin-0       4/4     Running             1          51m
etcd-7jcl2hczbh                         1/1     Running             0          60m
etcd-c756pqnzcd                         1/1     Running             0          59m
etcd-nq4jf9cg67                         1/1     Running             0          64m
etcd-operator-77bfcd6595-f86lz          1/1     Running             0          65m
gluster-kube1-0                         1/1     Running             2          59m
gluster-kube2-0                         1/1     Running             2          59m
gluster-kube3-0                         1/1     Running             2          59m
gluster-mixins-s9b5h                    0/1     ErrImagePull        0          41m
grafana-9df95dfb5-hz92f                 0/1     ContainerCreating   0          41m
kube-state-metrics-86bc74fd4c-jkdm9     4/4     Running             0          41m
node-exporter-49dvb                     2/2     Running             0          41m
node-exporter-8zx47                     2/2     Running             0          41m
node-exporter-qrxpq                     2/2     Running             0          41m
prometheus-operator-6c4b6cfc76-tvfng    1/1     Running             0          42m
prometheus-prometheus-0                 3/3     Running             1          41m
prometheus-prometheus-1                 3/3     Running             1          33m

[vagrant@kube1 ~]$ kubectl get pvc
NAME                  STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS           AGE
glusterblock-csi-pv   Bound    pvc-8221a75c-290f-11e9-af1c-5254000944b1   100Mi      RWO            glustervirtblock-csi   6m16s
[vagrant@kube1 ~]$ kubectl get pod
NAME        READY   STATUS    RESTARTS   AGE
gluster-0   1/1     Running   0          5m47s

@JohnStrunk PTAL.


Null Reference Exception from RaisePropertyChanged

Not an issue with Template10, I am just an amateur developer writing my own apps, but I feel that this is the best place to get help with this issue.
Firstly stacktrace:
+ $exception	{System.NullReferenceException: Object reference not set to an instance of an object.
   at Template10.Mvvm.BindableBase.RaisePropertyChanged(String propertyName)
   at Template10.Mvvm.BindableBase.Set[T](T& storage, T value, String propertyName)
   at Serial_App.ViewModels.SerialViewModel.set_SerialDevice(SerialDevice2 value)
   at Serial_App.ViewModels.ConsoleViewModel.<<get_CommandCreateDevice>b__13_0>d.MoveNext()}	System.NullReferenceException

And the code:
        public SerialDevice2 SerialDevice
        {
            get { return _serialDevice2; }
            set {
                Set(ref _serialDevice2, value);   //Null Reference here & no, the 'value' is not null
                RaisePropertyChanged(nameof(IsActive));
                RaisePropertyChanged(nameof(DeviceId));
            }
        }

The command that the view executes that calls this property:
        private DelegateCommand<object> _commandCreateDevice;
        public DelegateCommand<object> CommandCreateDevice
            => _commandCreateDevice ?? (_commandCreateDevice = new DelegateCommand<object>(async (obj) =>
            {
                if (obj == null)
                    return;

                var serialDevTemp = await SerialService2.CreateDevice((obj as DeviceInfoViewModel).DeviceInfo.DeviceInfo);
                if (serialDevTemp != null) {
                    SerialViewModel.SerialDevice = serialDevTemp;
                }
            },
                (obj) =>
                {
                    return obj as DeviceInfoViewModel != null;
                }
                ));

And if it is of any relevance the SerialService2.CreateDevice() function:
public static async Task<SerialDevice2> CreateDevice(DeviceInformation deviceInfo, uint baudRate = 9600, SerialParity parity = SerialParity.None, SerialStopBitCount stopBitCount = SerialStopBitCount.One, ushort dataBits = 8)
        {
            SerialDevice localDev;
            try {
                localDev = await SerialDevice.FromIdAsync(deviceInfo.Id);
            } catch (NullReferenceException ex) {
                //Handle this
                throw ex;
            }

            if (localDev != null) {
                SerialDevice2 sd2 = new SerialDevice2();
                sd2.ID = deviceInfo.Id;
                localDev.BaudRate = baudRate;
                localDev.Parity = parity;
                localDev.StopBits = stopBitCount;
                localDev.DataBits = dataBits;
                sd2.SerialDevice = localDev;
                sd2.SerialReader = new DataReader(localDev.InputStream);
                sd2.SerialReader.InputStreamOptions = InputStreamOptions.ReadAhead;
                sd2.SerialWriter = new DataWriter(localDev.OutputStream);
                sd2.CancellationTokenSrc = new CancellationTokenSource();
                return sd2;
            }
            return null;
        }

I for the life of me cannot figure out the issue, which is extremely frustrating as this is stopping me from progressing on my app. Any assistance is greatly appreciated.
Regards

where does SerialDevice (property) get assigned a value?

The aim is to eventually run on a Pi via IOT, but currently setup running as desktop UWP. Checking all locals when the exception breaks shows nothing as null. Away on a quick work trip for a few days so I'll double check again when I get back Tuesday.

How do you mock that to represent data coming in over the serial bus? Pre-set data to those parts that are "pulling" data?

At this stage I just have a microcontroller sending and incrementing counter over a usb connection. Once I have got reading/writing working I'll begin testing with the actual devices I need to interface with. Due to board a flight shortly, hopefully will be able to have an answer for your original question is 4 hours or so.

Ok, finally had time to check this out.
Nothing in what I am assigning is null.
http://imgur.com/7E5Hn7I
However it looks like the dispatcher is null from within the viewmodel..
http://imgur.com/XpNn7WK
It must be that which is causing the issue, with the viewmodel unable to notify the UI thread because of that null reference.
But then I must ask the question, why is it null? Am i missing something? And how do I fix this?
Thanks

Are you using the full Template10 infrastructure to start up your application (using BootStrapper, etc.) or just leveraging ViewModelBase?

yeah can you give some of your initialization code in the app.xaml.cs... assuming full template10 usage.

Then that would be my mistake.
I have a rough understanding of bootstrappers etc but never used before. I'll read into it and see what I can do.

Ok, checked it out, was originally quite unsure about bootstrapping process. Turned out to be easy with the help of Template 10 templates.. All good now, can move on with my work.
Thanks for you help, have a good one!

@EspyingStar
How did you fixed it?

@NicoTiing
I had the same issue.
The source of the problem is that I use functionality from the Template10.Mvvm namespace (I use the ViewModelBase class) in a project that is not created by one of the template 10 templates. As a consequence the startup code (app.xaml.cs) does not initialize the necessary modules for the template10.Mvvm functionality.
The fix for this problem is:

Add the template 10 templates extension to visual studio
Create a new project using one of those templates. (I used the blank template)
Move all your code to this new project.

In this newly created project the startup code is correct, so all Template10.Mvvm functionality will work correctly.
Hope this helps!


unknown export "flashlightTargets"

Describe the bug
when I cmake the flashlight,I got the error :unknown export "flashlightTargets".Can someone else handle this?
-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: gcc/7.3.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: gcc/7.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- -rdynamic supported.
-- The CUDA compiler identification is NVIDIA 10.2.89
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: cuda/10.2/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- CUDA found (library: cuda/10.2/lib64/libcudart_static.a;Threads::Threads;dl;/usr/lib64/librt.so include: cuda/10.2/include)
-- CUDA architecture flags: -gencodearch=compute_30,code=sm_30-gencodearch=compute_35,code=sm_35-gencodearch=compute_50,code=sm_50-gencodearch=compute_52,code=sm_52-gencodearch=compute_60,code=sm_60-gencodearch=compute_61,code=sm_61-gencodearch=compute_70,code=sm_70-gencodearch=compute_75,code=sm_75-gencodearch=compute_75,code=compute_75
-- Found GTest: cmake/GTest/GTestConfig.cmake (found suitable version "1.11.0", minimum required is "1.10.0")
-- gtest found: (include: , lib: GTest::gtest;GTest::gtest_main
-- Found gtest and gmock on system.
-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "flashlightTargets"
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

@Wuyazixu Can you share the full cmake command you used to build Flashlight?

@Wuyazixu Can you share the full cmake command you used to build Flashlight?

I jusrt follow the guide of flashlight install
git clone https://github.com/flashlight/flashlight.git && cd flashlight
mkdir -p build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/flashlight -DCMAKE_BUILD_TYPE=Release -DFL_BACKEND=CUDA -DFL_BUILD_TESTS=OFF -DArrayFire_DIR=~/tools/arrayfire
make -j 4
mak install

I got same error after:
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DFL_BACKEND=CUDA -DCMAKE_TOOLCHAIN_FILE=/home/ubuntu/vcpkg/scripts/buildsystems/vcpkg.cmake
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- -rdynamic supported.
-- The CUDA compiler identification is NVIDIA 10.0.130
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- CUDA found (library: /usr/local/cuda/lib64/libcudart_static.a;Threads::Threads;dl;/usr/lib/x86_64-linux-gnu/librt.so include: /usr/local/cuda/inclu
de)
-- CUDA architecture flags: -gencodearch=compute_30,code=sm_30-gencodearch=compute_35,code=sm_35-gencodearch=compute_50,code=sm_50-gencodearch=compute
_52,code=sm_52-gencodearch=compute_60,code=sm_60-gencodearch=compute_61,code=sm_61-gencodearch=compute_70,code=sm_70-gencodearch=compute_75,code=sm_75
-gencodearch=compute_75,code=compute_75
-- Found GTest: /usr/local/lib/libgtest.a (Required is at least version "1.10.0")
-- gtest found: (include: /usr/local/include, lib: /usr/local/lib/libgtest.a;/usr/local/lib/libgtest_main.a
-- Could NOT find GMock (missing: GMock_DIR)
-- Found GMock: /usr/local/lib/libgmock_main.a
-- gmock found: (include: /usr/local/include, lib: /usr/local/lib/libgmock_main.a;/usr/local/lib/libgmock.a)
-- Found gtest and gmock on system.
-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "flashlightTargets"
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

@yelandgit @Wuyazixu I'll try to reproduce soon - thanks for reporting.

I have the same problem on CPU:
run command is:
cmake .. -DCMAKE_BUILD_TYPE=Release -DFL_BACKEND=CPU -DFL_BUILD_TESTS=OFF
and then I got the following:
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- -rdynamic supported.
-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "flashlightTargets"
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.```

@mmbejani @yelandgit @Wuyazixu can you all share your CMake versions? This seems to only reproduce with some versions of CMake.

cmake version 3.16.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).```

I have the same problem on Cudn:
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- -rdynamic supported.
-- The CUDA compiler identification is NVIDIA 9.0.176
-- Check for working CUDA compiler: /usr/local/cuda-9.0/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda-9.0/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- CUDA found (library: /usr/local/cuda-10.0/lib64/libcudart_static.a;-lpthread;dl;/usr/lib/x86_64-linux-gnu/librt.so include: /usr/local/cuda-10.0/include)
-- CUDA architecture flags: -gencodearch=compute_30,code=sm_30-gencodearch=compute_35,code=sm_35-gencodearch=compute_50,code=sm_50-gencodearch=compute_52,code=sm_52-gencodearch=compute_60,code=sm_60-gencodearch=compute_61,code=sm_61-gencodearch=compute_70,code=sm_70-gencodearch=compute_75,code=sm_75-gencodearch=compute_75,code=compute_75
-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "flashlightTargets"
-- Generating done

Same problem here on two OS:

OS: Ubuntu server 20.04.03 LTS

Version: cmake version 3.16.3
Command: cmake .. -DCMAKE_BUILD_TYPE=Release -DFL_BACKEND=CUDA

OS: Fedora Workstation 35

Version: cmake version 3.22.2
Command: cmake .. -DCMAKE_BUILD_TYPE=Release -DFL_BACKEND=CUDA


removed random spaces and adjusted rule 6

github mobile sucks, also ur mum

redid this myself anyway because couldnt merge pr

moment. blame github mobile sucking so bad i cant merge upstream to downstream for the pr to be synced :bruh:


Create a Data Model Best Practices  video

I found the number one issues our customers have is creating a good data model

Moved to JIRA


init_stripe does not appear to use .env

Expected behavior
init_stripe script runs using the key defined in .env and successfully returns the STRIPE_PREMIUM_PLAN_PRICE_ID to stdout, as defined in the README.md
Issue Reproduction steps
Run: deno task init:stripe
With:
# .env
GITHUB_CLIENT_ID=some_id
GITHUB_CLIENT_SECRET=some_secret
STRIPE_SECRET_KEY=some_key

and
# .env.example
GITHUB_CLIENT_ID=xxx
GITHUB_CLIENT_SECRET=xxx
STRIPE_SECRET_KEY=xxx

The user will be presented with the following error
Task init:stripe deno run --allow-read --allow-env --allow-net tasks/init_stripe.ts
error: Uncaught (in promise) Error: Stripe is disabled.
  if (!isStripeEnabled()) throw new Error("Stripe is disabled.");

Workaround steps
If you manually pollute the env with export STRIPE_SECRET_KEY=some_key and re-run the task deno task init:stripe you will be presented with the expected output
Task init:stripe deno run --allow-read --allow-env --allow-net tasks/init_stripe.ts
Please copy and paste this value into the `STRIPE_PREMIUM_PLAN_PRICE_ID` variable in `.env`: price_some_identifier

Suggestions
I believe there is an opportunity to show off the robustness of .env in Deno when fixing this.
In particular

Location specific .env files such as .env.local and .env.production which can be loaded with Stripe test vs real keys.
Guards via .env.example where STRIPE_SECRET_KEY and STRIPE_PREMIUM_PLAN_PRICE_ID can be defined but loaded with  allowEmptyValues: true, .  null / empty / Falsey values would indicate a desire to not use the Stripe feature.
Increased use of --env in tasks such that we are always loading a .env

I have created an initial fix to get things working as expected. Suggestions are certainly in the nice to have category ❤
Thanks for all the amazing work on this starter kit! Long live Deno! Long live Fresh!

Closed by #649. Thanks for helping!


decoder: add BGRA output in addition to RGBA

provide an enum in JxlPixelFormat to choose the colorspace (when num_channels == 4)
add an implementation similar to RGBA

this will allow toolkits or other drawing tools using BGRA to avoid a colorspace conversion.

One option could be to add a string field to JxlPixelFormat that specifies what channels you get/set and in what order. Empty string means current behavior (gray, gray+alpha, RGB, RGBA), but you could have other strings like "ARGB", "RGBX" etc. WDYT?

i usually prefer enum, as there is no parsing of the string, but that's my opinion
On Windows, you choose pixel format with values (Direct2D, Direct3D). With SDL too. Afaik, opengl and GDK too.
But I'm not a jpeg-xl dev, so choose what is best for the library

libjpeg-turbo uses the enum approach: https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/jpeglib.h#L225
The thing with an enum approach is that it explodes combinatorially. In the case of libjpeg-turbo, they have RGB, CMYK, RGBX, BGR, BGRX, XBGR, XRGB, RGBA, BGRA, ABGR, and ARGB (where A is just 255 since JPEG does not support alpha).
In our case, if we want to be more flexible and also allow things like RGBD (D for the kDepth extra channel), CMYK (RGB plus kBlack) and RGBT (kThermal), I think a string approach could be more convenient. Let's say a string of at most 4 chars (so we don't need to have more cases of interleaving/de-interleaving code than what we already have). That way you can also retrieve the RGB data in a planar way by asking for "R", "G" and "B" separately. (it would require allowing to set multiple output buffers then though, like how it is for extra channel output buffers).
We could for example define the following characters:

R: Red / Cyan
G: Green / Grayscale / Magenta
B: Blue / Yellow
A: Alpha (first kAlpha channel)
X: ignored/don't care
K: kBlack
D: kDepth
T: kThermal
M: Mask (first kSelectionMask)
C: kCFA (could be the second Green in an RGBG Bayer layout)
lowercase a to z: extra channel with indices 0 to 25

Depth and Thermal channels are currently not a common thing yet, but cameras are increasingly getting them and I think it would be convenient if you can directly get them into an interleaved buffer instead of having to fetch them separately.
We could also add a (non-optimized) general code path for 5+ interleaved channels, so you could ask for "RGBKA" for CMYK+alpha images, or "RGBCDT" for a raw Bayer image with depth and infrared channels.
Even ignoring the "new" things, if it's just R, G, B, A, X and K, then that's still a lot of possible combinations, though in that case we could also do it the libjpeg-turbo way with an enum that has only the most common permutations.

what is the status of this request ?

If an API is being added to request different channel arrangements, it would also be nice if Planar output could be requested instead of packed. Since internally the data is already planar, it shouldn't be too hard to do so, and if this is being added then you could request pixel formats, such as, planar GBR.

Thanks for the reply. How can I call the "_rotl" function for a normal user who only calls jxl.dll?
It's too difficult to compile jxl in Window system, I tried twice (several hours each time) and failed in the end.
I would really like to be able to provide a compiler program that can drag and drop the source code package onto this program and generate a jxl.dll.


collab with cal.com

hey hey 👋 thoughts on a collab with cal.com? https://github.com/calcom/cal.com

Hello @PeerRich!
Thanks for your comment
Would love to hear more about it. When you said collab, what do you mean exactly though? Create app in cal?


2.5.0 - logLinks' "content" value {{embedDesc}} does not expand in the .prompt file

The prompt pull appears to be working, but the content of the prompt file is merely an LF and then the actual text {{embedDesc}}.

Can you try {{msgContent}} to see if it's parsing the data keys at all?
If it can parse that, the only reason it would fail to parse {{embedDesc}} is if it thinks there's 0 embeds attached to the message.

Yes! That does put the content into the .prompt file.
Though, it is not grabbing .prompts for any existing images.

It would only log upon a file download, so you would need to do "save": false, and "savePossibleDuplicates": true, to ignore database checking, should work with both of those.
As for embedDesc being blank, send a screenshot of how these look in Discord. Midjourney is likely not putting the prompt in the embed description but rather in the field table.

If I do the save: false/savePD: true setting, it won't attempt to re-download the images? I have about 10K in one folder alone-- they've been downloaded a few times.
Here's one. This image had not been downloaded yet (DDG seemed to be ignore some recent files), but DDG pulled it, and its prompt, down.

@kauffy "save": false, completely prevents writing media files for that specific configuration group, "savePossibleDuplicates": true, ignores database checking. That should allow you to do whatever, ignoring database entries and not actually saving the files. It should still log as though they're being downloaded, they're just never written to the destination. This example you've given would use {{msgContent}} for prompt grabbing.

Well, something strange is happening-- that particular channel, she is STILL the last picture that was downloaded. I moved the channel id to the front of the list, but it still seems to be ignored.
The last file saved of any kind in that channel's folder is from Feb. 15, though that may have been manual. The last .prompt file is from Feb. 12.


torch version updated when cloning experiment

hi,
i ran a small experiment from a conda environment with pytorch == 1.10.1 and then tried to run its exact clone from web ui.
When it runs from web ui, pytorch version is increased to 1.10.2 causing conda to download this package. The problem is twofold - first, the environment is different from expected, second - pytorch download takes time which i would like to avoid (when unnecessary).  Since version 1.10.1 was already cached in conda packages dir, using it would make the environment setup much faster.
i run clearml-agent on the same machine as the original experiment, and using same conda environment. It is configured to use the same cuda and cudnn versions as the original experiment. So i dont understand why it should attempt to download a different torch version than the original.
Trying to dig deeper using the agent logs, i notice that when creating an environment for the cloned experiment it runs "conda update" pointing to a requirements file which is similar to the original experiment with a small difference: pytorch==1.10.1 is changed to pytorch~=1.10.1 . This to my understanding is why conda downloads a different pytorch version.
i tried setting "conda_full_env_update: false" in the agent config but it doesnt help.
can this issue be avoided?
for your reference, the Installed Packages of the original experiment in web ui shows:
# Python 3.9.7 (default, Sep 16 2021, 13:09:58)  [GCC 7.5.0]
clearml == 1.1.6
hydra_core == 1.1.1
numpy == 1.21.2
omegaconf == 2.1.1
torch == 1.10.1
torchvision == 0.11.2

The temporary file created by the agent when running the cloned experiment contains;
channels:
- pytorch
- conda-forge
- defaults
dependencies:
- cudatoolkit~=11.3.1
- numpy~=1.21.2
- pytorch~=1.10.1
- torchvision~=0.11.2

Best Regards and Thank You for the Great Product

Thank you for the kind words @ywyga 😍  this really does make a difference!

Hi,
thank you for the quick response.
in clearml.conf i have
conda_channels: ["pytorch", "conda-forge", "defaults", ]
same as in the reference link you wrote.
also i checked RC 1.2.0rc as you suggested and the issue is still there.
i realize that the download is a one-time occurrence.  But still i think that the agent should not be changing package version without a good reason, for the sake of reproducibility. Or perhaps this can be controlled by some config flag.
From the docs, my expectation was that  "conda_full_env_update: false" would prevent any update of the environment packages but it looks like even with this flag conda is allowed to upgrade the (minor) version of the packages using "~=" syntax.


Disable Dependency Check on Linux

That's good to see those simplifications coming for the final users.


Debugging - Please, for the love of God

Is your feature request related to a problem? Please describe.
I have a lot of pipelines to maintain and create, that connect to MySQL, PostgreSQL, MongoDB and do various tasks.
I have been creating and fixing them using print-outs, but that is difficult and very time consuming.
I've tried to run code from command line or IDE, but it seems that it is linked to web interface or my skills/time are not sufficient for the task.
Please add debug functionality. Something like Jupyter notebooks would be amazing, but anything will do.
Describe the solution you'd like
Debug functionality. Main things to consider:

some kind of breakpoint functionality (execute next statement + continue until next breakpoint buttons etc)
console available at break point in order to inspect

Describe alternatives you've considered
I'm currently printing out from mage source files from docker when I need to debug.

Yes.Debug would be great Feature.
Without debug very time taking to code and check issues.
I have raised this is slack as well
https://mageai.slack.com/archives/C03HTTWFEKE/p1718382846669249

something like web_pdb? https://github.com/romanvm/python-web-pdb

this is a great idea, looking into it

yes, I agree with you. I’ve ran into so many inefficiencies debugging. There are some new features coming that’ll make life much more enjoyable.

@tommydangerous
Our team has been facing huge blockers due to unavailability of debugging, I'm glad you've taken up this as priority.
Please keep us updated on this feature.

Hi @tommydangerous, any updates on debugging? Can you at least let us know if there is a chance of getting it anytime soon? Thanks!


New Optional Field "Quote"

Hello again; hope all is well.
I'm hoping that you might add a new optional field for a "quote".
The way I want to use this action is to record a quote from a webpage I'm bookmarking alongside my note.
This way when I render my individual bookmark page, https://flamedfury.com/bookmarks/the-state-of-the-independent-web-2022-updated-2024/ I have the option to render {{ bookmark.quote }} in a <blockquote> element and my note in a standard <p>
Hope this makes sense :)

Oooh I like it! Maybe I can add a way that you can define additional properties as you need them.... I'll think on it :)

@flamedfury This is live in v6.4.0 :)

To the task inputs add additional-properties. The value is a comma delimited string with property key names.
Update your workflow's dispatch inputs to define the new properties using the same key name.

Check out this workflow as an example for how I added "rating" and "quote": https://github.com/katydecorah/bookmark-action/blob/main/.github/workflows/bookmarks-advanced.yml

Works great, thank you!
https://flamedfury.com/bookmarks/please-dont-force-me-to-log-in/

Looks so rad!


RTSS overlay not visible

Using Windows 10. In previous versions rivatuner overlay was working but in 2.0 it's not showing anything.

RivaTuner needs to be updated to support Vulkan 1.3

Workaround found by reddit user jaKz9 in here.
In RivaTuner, set Application Detection Level to High and it will work.

No need for workarounds, the latest RTSS betas have been compatible with Vulkan 1.3 for quite some time.


Support CentOS/RHEL as base OS for running tests

Signed-off-by: David Galloway<EMAIL_ADDRESS>

jenkins lint

jenkins test ceph_ansible-jewel-centos7_cluster

jenkins test ceph_ansible-jewel-xenial_cluster

jenkins test ceph_ansible-jewel-centos7_cluster


an error appears

Declaration of Rinvex\Repository\Repositories\EloquentRepository::beginTransaction(): Rinvex\Repository\Repositories\void must be compatible with Rinvex\Repository\Contracts\RepositoryContract::beginTransaction(): Rinvex\Repository\Contracts\void

Can't reproduce this, I can see both compatible signatures on develop branch.
Could you describe how to reproduce this issue, or maybe send PR with the proposed fix?

I do not know, I stop working after updating the dependencies today.

There is a very strange problem ... this was the fastest solution


LinearView: cannot rename data variable without selecting its token

If I have a line in LinearView which declares a data variable, I cannot press N to rename it unless i specifically highlight the variable's name token. It would be much better if I could press N with the whole line selected and rename the variable.
Here's a visual indicator of the difference:
Cannot rename (no token selected):

Can rename (token selected):

This is not easy to achieve. We also allow to rename structure fields in the same way, which cannot be uniquely identified without considering the token

Considering the change type action supports this, it may be possible to reuse the code for rename.


chore: Update typedoc and related packages

Explanation
The typedoc package has been updated to match the version used by the module template. This was done in preparation for updating the TypeScript version used by the core monorepo as well. The current version of typedoc we use doesn't support TypeScript v4.8.
The typedoc-plugin-missing-exports package required an update to maintain compatibility with typedoc.
In both cases, none of the breaking changes affect our usage of the package. Mostly they include improvements to the generated documentation, and dropping support for older Node.js and TypeScript versions.
typedoc changelog: https://github.com/TypeStrong/typedoc/releases/tag/v0.23.0
typedoc-plugin-missing-exports changelog: https://github.com/Gerrit0/typedoc-plugin-missing-exports/blob/main/CHANGELOG.md#0230-2022-06-26
References
None
Changelog
N/A
Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

I plan on moving the "remove abortcontroller" commit to a separate PR. We don't need that package anymore since updating to Node.js v16, as it comes with the AbortController built-in.


_$template is not a function

Running pnpm test gives the following error:
> electron-mocha test --renderer --recursive --require @babel/register
× ERROR: _$template is not a function

This means that the babel compiler is not importing these functions

@ryansolid Do you have any idea why this happens?
Here is the babel config:
https://github.com/atom-ide-community/etch-solid/blob/master/babel.config.json
babel-preset-solid is mostly a wrapper around babel-preset and a few other proposal plugins.

Oh that is weird. I suppose to make sure the version of Solid and Babel Preset Solid match at least on the minor version. The only other thing I can think of is the change in package resolution to use export maps but I wouldn't expect that to be an issue here. Is this a new problem after an update? Template function is pretty much something that has been there since day one and should still be there.
On a different note, I also have some better tools now that might make this integration smoother. I've introduced mutable state which might work well here.


TypeScript not enforcing the return type of optional methods defined in interfaces implemented by parents of classes

TypeScript Version:  3.5.0 (Also tried 3.4.1, 3.0.1, and 2.4.1)

Search Terms: Inheritance, interface, return type, parent, child, override, overload, abstract, optional method, optional interface, implements, extends
Code
interface Mx {
  aMethod?(): number;
}

abstract class Base implements Mx {

}

class Child extends Base {
  public aMethod() {
    return 'hello world';
  }
}

Expected behavior:
TypeScript tells me that the return type for Child#aMethod is wrong.
This behaviour is achieved if I add implements Mx on the Child class.
Actual behavior:
TypeScript tells me nothing! It feels that Child#aMethod is well within its rights to return a string.
Playground Link: linky!
Related Issues: I didn't really find any similar looking issues?
The result is this could maybe relate to #22815

This is the intended behavior, though your code should have an error. implements does not cause optional methods to exist, so your base class is empty, so it's fine for your derived class to add a new method. Note that if you had any properties in your base class, you'd see an error about "implementing" the interface without actually doing anything.
The bug here is that we should have complained about the implements clause even though the class is empty


[BUG] failed to GetSelectAll in ListView

failed to GetSelectAll in ListView
func (l *ListView) GetSelectAll(pArray int, nArraySize int) int {
	return xc.XListView_GetSelectAll(l.Handle, pArray, nArraySize)
}

I think the 1st arg should be a pointer to an array but not an int.

v1.3.372 已修复


Add missing gtk_widget_get_scale_factor

Useful when dealing with HiDPI displays as documented in
https://gitlab.gnome.org/GNOME/gtk/-/issues/613

Can we have this added into GdkWindow as well like so? I didn't realize there was already a PR for this when I made this commit.

@diamondburned happy to close this since yours already includes the required changes and adds them to a more suitable file.


Support an "expiration" date #726

First time using goLang and first time contribution. Please be gentle. :V

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@bep What's a good way to make 'make check' more verbose? I'm having trouble finding my formatting errors. 😢

As to make and gofmt, the best is to actually do gfmting your code. But remember that make uses
gofmt -s (s = simplifies)

I had to fix my commit messages hehehe. :V

As to why this hasn't been merged. This looks perfectly fine, very good, and will be merged eventually. I have announced a kind-of freeze period before the 0.16 release, but that seems to drag out.

@moorereason 👌

This looks good. I took it for a spin, and the vital parts looks fine, but the list expired lists all of my pages -- I have only one with expiredDate.

Oops, will fix it. :P

@bep Fixed the list, and a typo.
I've noticed something weird in replacePage on site.go.
func (s *Site) replacePage(page *Page) {
	// will find existing page that matches filepath and remove it
	s.removePage(page)
	s.addPage(page)
}

If the original page wasn't built, then it wouldn't be part of site.Pages.
If you've modified an unpublishedPage, replacePage will be called but removePage wouldn't do anything since it can't find it in site.Pages. addPage will be called and futureCount is increased by 1.
If you added a future publishDate to an existing Page in site.Pages, then removePage will decrease futureCount by -1, and addPage will increate futureCount by 1, resulting in a net gain of 0.
Therefore, Site stats after replacePage is called will always be wrong.
Should we just keep track a list of Pages on Site that aren't being built?

@g3wanghc create a separate issue for the stats counters.

@bep Done. https://github.com/spf13/hugo/issues/2211

Merged, solid work, thanks.

Awesome!


Upgrading microk8s doesn't appear to have updated calico cni files

I am attempting to upgrade an existing instance running microk8s from 1.14 to 1.22.
I am using the following steps to perform the upgrade (with root privileges):

download the microk8s 1.22 snap files (as I need to perform the upgrade on an isolated instance)
start with instance running microk8s 1.14
microk8s.disable (all the currently enabled plugins)
microk8s.stop
snap ack microk8s_2947.assert (microk8s 1.22)
snap install microk8s_2947.snap --classic
snap switch microk8s --channel=1.22/stable
microk8s.stop
microk8s.start
microk8s.enable (all the required plugins)

The above all appears to complete successfully, but I have noticed a difference in the cni configuration between this instance (upgraded from 1.14 to 1.22), when compared to a second clean instance that has had microk8s 1.22 installed directly (not upgraded from previous version).
Looking in /var/snap/microk8s/current/args/cni-network/ I see differences:
Upgraded instance from 1.14 to 1.22:
# ls -l /var/snap/microk8s/current/args/cni-network
total 4
-rw-rw----. 1 root microk8s 353 May 25 10:30 cni.conf

Clean instance with 1.22 installed directly:
# ls -l /var/snap/microk8s/current/args/cni-network/
total 208
-rw-rw---- 1 root microk8s    673 Apr 27 08:41 10-calico.conflist
-rw-rw---- 1 root microk8s   2821 Apr 27 08:41 calico-kubeconfig
-rw-rw---- 1 root microk8s 201439 Apr 26 13:19 cni.yaml

Checking both instances I see these files both state a cni version of 0.3.1:
"cniVersion": "0.3.1"

Is anyone able to explain why the upgrade has not resulted in these additional files being installed?  It looks to me like the upgraded 1.14 to 1.22 instance has just retained the previous config, and this has not been refreshed/updated to that found in 1.22.

Hi @cccscdev
MicroK8s upgrades will not automatically upgrade the version of the Calico CNI, and this is by design. This is to accomodate use cases where a different CNI is used, or custom Calico configuration has been applied, which could possibly break if we blindly upgrade Calico versions.
It is possible to upgrade the CNI version manually. The manifests of the current release can be found in /snap/microk8s/current/upgrade-scripts/000-switch-to-calico/resources/calico.yaml. This is something that would be useful to have in the documentation, but the steps are roughly like this:
# check the diff between live and latest version. this should contain the image versions (at least), and possibly a few more configs
$ diff /snap/microk8s/current/upgrade-scripts/000-switch-to-calico/resources/calico.yaml /var/snap/microk8s/current/args/cni-network/cni.yaml

# i am reluctant to suggest overwriting the file, to avoid breaking the configuration. instead, edit the cni.yaml and update accordingly.
$ vim /var/snap/microk8s/current/args/cni-network/cni.yaml

# apply the new CNI version
$ microk8s.kubectl apply -f /var/snap/microk8s/current/args/cni-network/cni.yaml

Also, keep in mind that when upgrading MicroK8s versions, it is highly recommended not to skip minor versions. For example, in your case this would be:
snap switch microk8s --channel 1.15
snap switch microk8s --channel 1.16
snap switch microk8s --channel 1.17
....
snap switch microk8s --channel 1.22

This is not MicroK8s specific, but rather the upstream way to upgrade a Kubernetes cluster.

Of note here is also that 1.14 had flannel while 1.22 comes with calico. When you upgrade from 1.14 to 1.22 flannel will continue to be in use.

Thank you for the clarification and explanations.


Rationale Re-factor of Sites, Calendar, and Classroom Baselines

🗣 Description
We have re-factored the rationale for the Sites, Calendar, and Classroom baseline. Also, we update the TTPs for CLASSROOM.3.1v0.1
💭 Motivation and context
RFC Comment

🧪 Testing

✅ Pre-approval checklist

[ ] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] If applicable, All future TODOs are captured in issues, which are referenced in the PR description.
[ ] The relevant issues PR resolves are linked preferably via closing keywords.
[ ] All relevant type-of-change labels have been added.
[ ] I have read and agree to the CONTRIBUTING.md document.
[ ] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge Checklist

[ ] This PR has been smoke tested to ensure main is in a functional state when this PR is merged.
[ ] Squash all commits into one PR level commit using the Squash and merge button.

✅ Post-merge Checklist

[ ] Delete the branch to clean up.
[ ] Close issues resolved by this PR if the closing keywords did not activate.

@jkaufman-mitre I think you accidentally included changes to Chat in this branch.

Closing this PR, I made a new one without the Chat changes.


Meetin w Peter 4/5/2024 at 4PM

Reach out to the woman who wrote the original dataset for accessibility

Implement GUI for stimulus so it can be implemented at Harborview

edf file type for EEGs

Would we run into a storage issue with multiple EEG datasets? We could downsample to peaks after stimulus to prevent file size being too large

Rodikha's paper talks about filtering down EEG data to important frequencies (windows, etc.)

Turning hospital computer into remote server so we don't have to move sensitive data offsite

June 10 2024 Peter presents to grant people

trainings and access to setup accounts in a few days