rice append doesn't append compressed zip contents, but plain text?

I'm expecting the zip file would be compressed which doesn't seem to be the case...

If I create my own zip and do this, it seems to work, regardless of what rice append produces:
zip -r data.zip assets/ templates/
cat data.zip >> binary-file
zip -A binary-file

So it seems there should be just some step in rice append that would produce a compressed zip file, which can already be read by rice?

there are some issues in regards how folders are added to the archive. Unpacking the binary file doesn't work nicely if the data is appended with the rice command. Boxes/folders are unpacked as 0 byte files.

I just noticed this as well when my compiled variant was 115mb and the zip appended executable was 137. The files, alone, are 130mb, and when zipped are 11mb (yay xml...).

Doing some basic research, I think this line (https://github.com/GeertJohan/go.rice/blob/master/rice/append.go#L111) is missing a follow up line of
				zipFileHeader.Method = zip.Deflate

I added that and rebuilt and the appended file now is 19mb (8 for the app pre-append + the 11 I expect) so it looks to, file size, work. However, running the app throws several errors and truncates the embedded files, so clearly the reading back of a compressed archive is also incompatible still.
./application
2016/11/26 10:29:20 error reading data for appended file path/to/file1: EOF
2016/11/26 10:29:20 error reading data for appended file path/to/file2: EOF
2016/11/26 10:29:20 error reading data for appended file path/to/file3: EOF
...etc

@jeffminard-ck - I suggest you to try my workaround in comment 2 with zip -A and let me know if you can bypass append and end up with a working app :)

I did eventually try that and ended up with the same results. The readback code I could find doesn't seem to mention zip.Deflate anywhere so I suspect it doesn't read the archive contents back correctly. I got a lot of half-complete responses and weird behavior.

Hello
I ran into the same problem. The size of the executable file grows too much because there is no compress option, I have made some changes that allow deflate to be used in the boxes, both as appended and embedded.
I have found that the main problem was due to a problem in the implementation of the algorithm in flate
If you use rc.Read to read the content in a compressed file you will get an EOF error. Then I use ioutil.ReadAll it doesn't generate the error and you don't need make the slice, and to make sure the uncompressed file content is correct it calculate CRC and compare with the store one.
There is a new flag "/c" that allows compress. If the flag is not used the previous process is generated. The boxes are compatible with previous version without changes
I have made a fork on https://github.com/wladiz2001/go.rice/
You can review it and if there is no problem you can merge it


Vulnerability Scan

Describe the bug
In vulnerability scan we are getting two vulnerability after adding firebase-analytics in the project-
-Unsecure cryptographic protocols.
-Weak Random Number Generator.
Additional context
This issue we getting because of library uuid old version which is installed indirectly.

the plugin itself does nothing related to cryptography nor random number generation, so the bugs must come from google analytics SDKs, you should report it to them.
I've updated the SDKs to latest versions available just in case, if the problem is still present, as I said, report it to google.


[Bug] show frontends\G; IP: <IP_ADDRESS>

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
# mysql -uroot -P9030 -h<IP_ADDRESS>

mysql> show frontends\G;
*************************** 1. row ***************************
             Name: <IP_ADDRESS>_9010_1669775706302
               IP: <IP_ADDRESS>
      EditLogPort: 9010
         HttpPort: 8030
        QueryPort: 9030
          RpcPort: 9020
             Role: FOLLOWER
         IsMaster: true
        ClusterId: 597532540
             Join: true
            Alive: true
ReplayedJournalId: 17
    LastHeartbeat: 2022-11-30 10:35:52
         IsHelper: true
           ErrMsg:
          Version: 1.1.4-rc01-8890a58dc
 CurrentConnected: Yes
1 row in set (0.05 sec)

ERROR:
No query specified

What's Wrong?
IP: <IP_ADDRESS>
What You Expected?
IP should be <IP_ADDRESS>
How to Reproduce?
vim conf/fe.conf
priority_networks = <IP_ADDRESS>
Anything Else?
if i set fe/be priority_networks = <IP_ADDRESS>/16
then fe ip will be <IP_ADDRESS> , but be ip will be <IP_ADDRESS>,
ALTER SYSTEM ADD BACKEND "<IP_ADDRESS>:9050";
then fe  log will report "ErrMsg: java.net.ConnectException: 拒绝连接 (Connection refused)"
if i set fe/be priority_networks = <IP_ADDRESS>
then fe ip will be <IP_ADDRESS>, not <IP_ADDRESS>

because my server host has many network interface
now fe can not bind a correct ip
but when i install starrocks , above problem will not exists
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

When you first started fe, fe's priority_ The networks configuration should be <IP_ADDRESS>/16? This IP should be your inet in eth0. Add my WeChat : cyllyy810222


feat: Process scan requests asynchronously

Signed-off-by: Daniel Pacak<EMAIL_ADDRESS>

Codecov Report

Merging #8 into master will decrease coverage by 9.84%.
The diff coverage is 76.59%.

@@           Coverage Diff           @@
##           master    #8      +/-   ##
=======================================
- Coverage   68.85%   59%   -9.85%
=======================================
  Files           7     7
  Lines         350   383      +33
=======================================
- Hits          241   226      -15
- Misses         97   148      +51
+ Partials       12     9       -3

Impacted Files
Coverage Δ

pkg/http/api/server.go
0% <0%> (ø)
:arrow_up:

pkg/scanner/clair/scanner.go
0% <0%> (-86%)
:arrow_down:

pkg/etc/config.go
53.65% <0%> (-4.24%)
:arrow_down:

pkg/http/api/v1/handler.go
94.53% <100%> (+1.53%)
:arrow_up:

Continue to review full report at Codecov.

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


Fixed publish step in circle ci in icon-font

Fixes #253

Changes proposed in this Pull Request:

Removed change directory

Screenshots:

To Test:

push changes to origin to see circle ci

This already got fixed here. Must be missed while resolving the merge conflicts

Try preserving yarnrc.yml too


Proposed README/Installation instructions improvement

Hi Team - thanks so much for this fantastic tool!  I have it working, but am not quite sure how, because I'm missing some concepts. I'd like to fill in those blanks, and then submit a PR for some additions to the README.
If that sounds good, here is my first thought.
As far as I can tell, there are three pieces:

The plugin that protoc-gen calls when it sees import "validate/validate.proto"; in the user's .proto file.
The $GOPATH/bin/protoc-gen-validate - not sure when this gets used
The Go library needed implicitly when the user's code calls Validate()

If I can clarify the above, that will make it clearer how it all works together, and I can augment the README.md.

I'm really wanting to uplift the readme and highlight some of these things. Just... priorities 🤷
Ultimately, i think removing protoc which is super high-barrier-entry and use the more user friendly buf instead.
On your questions, It sounds like you're 80% of the way there, just need to stick all your knowledge together. I think they can all be resolved if you dive in and play around with some plugins... working out exactly what protoc plugins are. The buf tour does this really well in my opinion because you dont need to work learn any protoc incantations.

Cool, thanks for the pointers. I will investigate.
One easy question: is there a need to git clone when go get -d already fetches all the source?

I'm really wanting to uplift the readme and highlight some of these things. Just... priorities 🤷

For the record, I'm offering to do exactly that, just with a little support :D

Absolutely not, only if someone wanted the absolute latest but some of our automated release work will make this more and more unnecessary. The common path is go get

Absolutely not

Right, so I'll edit that out of the readme (it lists both source-fetching steps).
Next question. Dependencies section says one of the dependencies is:

official language-specific plugin for target language(s)

Actually, this project is a language-specific plugin for target languages Go, C++ and Java. Do I have that correct?

thats correct

As explained in the README, this project is in maintenance mode. We recommend upgrading to protovalidate.
I'm going to go ahead and close this issue, but feel free to open one against protovalidate if needed. Thanks!


⚠ Bofrost.be has degraded performance

In 0015af4, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2263 ms

Resolved: Bofrost.be performance has improved in 74300cc.


Error from mkdir when running on Ubuntu build agents

The mkdir line is failing when running on Ubuntu agents because while on Windows, mkdir is a PowerShell alias to New-Item, on Linux it is not aliased and instead runs the native mkdir command.
eg.

I wondered why this didn't have any side effects... until today I tried to use test_results_path and everything is falling in a heap because the _TMP directory doesn't exist

This is correct, the fix I made for this issue a little while back depends on this behavior (mkdir alias on Windows and native on Linux).  With that change, the path error went away on Windows.

But with the current code, the action doesn't work if you pass in the test_results_path property, because that code path relies on that temporary directory existing

Here's what happens when you try and use test_results_path...


Fix option parsing to prevent trying to install hubot-true

This is a possible fix to https://github.com/github/hubot/issues/838 . Currently, if you say yo hubot --adapter slack, the adapter ends up being set to true.
This PR specifies a type for each option to String or Boolean. It doesn't seem to quite prevent the bad behavior yet, so needs some work:
2.1.4-github ~/src/scratchbot
$ yo hubot --adapter
                     _____________________________
                    /                             \
   //\              |      Extracting input for    |
  ////\    _____    |   self-replication process   |
 //////\  /_____\   \                             /
 ======= |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|

? Owner: Josh Nichols<EMAIL_ADDRESS>? Bot name: scratchbot
? Description: A simple helpful robot for your Company
identical bin/hubot
identical bin/hubot.cmd
identical Procfile
identical README.md
identical external-scripts.json
identical hubot-scripts.json
identical .editorconfig
                     _____________________________
 _____              /                             \
 \    \             |   Self-replication process   |
 |    |    _____    |          complete...         |
 |__\\|   /_____\   \     Good luck with that.    /
   |//+  |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|

npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/opt/boxen/nodenv/versions/v0.10/bin/npm" "install" "hubot" "hubot-scripts" "hubot-diagnostics" "hubot-help" "hubot-heroku-keepalive" "hubot-google-images" "hubot-google-translate" "hubot-pugme" "hubot-maps" "hubot-redis-brain" "hubot-rules" "hubot-shipit" "hubot-youtube" "hubot-true" "--save"
npm ERR! node v0.10.21
npm ERR! npm  v2.1.11
npm ERR! code E404

npm ERR! 404 Not Found: hubot-true
npm ERR! 404
npm ERR! 404 'hubot-true' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'scratchbot'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

It's not the best looking error, but this does the job:
$ yo hubot --adapter foo
Error hubot --adapter foo

Missing adapter name. Make sure to specify it like --adapter=<adapter>

This fix doesn't solve the situation where you don't specify --adapter on the argument list and you answer with slack when asked about adapter.


Update vscode-tas-client dependency

Fixes #831. Also revs the package version so we can publish a new build.

Dupe of #832.

Dupe of #832.


Docker image missing?

Hi,
I cannot seem to find the docker image redis-cluster:v1.

I am facing the same issue!!!

Yes, I explicitly didn't publish the docker image because in general it's better to maintain your own images, unless it's either an official image or very well maintained (I don't consider this one well maintained).
By the way, Redis 5.0 has the redis-trib commands built into redis-cli, so no custom Docker image is needed anymore. I updated the repo to use the latest RC, feel free to check it out.


Examples

Can you please add any simple example? Is fine to see how to expand it but is missing simple working example, all showed graphs are images only.

Yup, I will add some examples :)

+1 :)

Bit confused why you'd publish this really nice little project and blog it on Medium, but not make a single example?

@geotheory because sometime professional work take to much time to work on personal projects !
But hey, it's here ! https://graph.jeremy.sh/

https://graph.jeremy.sh/ is down..


Sensitve() not working with time types

Hi just a quick question, maybe I am missing something.
I am trying to hide a field.Time in my fields with Sensible() like I am able to do with string fields.
It says is not implemented and using StructTag("-") does not work either.
So I am wondering if it's not related to end and It's something not available in general.
Example:
// Fields of the User.
func (User) Fields() []ent.Field {
	return []ent.Field{
		field.String("email").Unique(),
		field.String("password").Sensitive(),
		//                     ↘ Undefined for `field.Time`
		field.Time("created_at").Sensitive().Default(time.Now).Immutable(),
	}
}

Thank you and sorry if it comes a bit as a noob question (new to Go) 💖

Hey, @irg1008! The StructTag should be set to specific tag. In your case, json.
StructTag(`json:"-"`)

First of all, thank you for the fast reply
As I mentioned:

It says is not implemented and using StructTag("-") does not work either.

It does not work whe using StructTag instead of Sensitive. That's why I am wondering whre the issue may lay.

 Forgot to generate the schemas.
Yep, sorry to lose your time


How to use Userscript comments added in the file instead of userscript object

I have a package in which I am having multiple userscript files and building those using vite and vite-plugin-monkey. But now I want to extend the functionality of my package to have vanilla .user.js files as well for some backward compatibility and user requirement purpose.
I am able to build the file in my dist folder by simply copying the file into dist folder using rsync.
But I want to take advantage of vite dev mode as well for these files. I want the HMR facility for my plain .user.js files as well which has the // ==UserScript== section already.
So is there anyway that I can use vite and/or vite-plugin-monkey so that I can achieve the same dev mode experience as I have with normal .js files build via vite-plugin-monkey?
I tried with below config but it replaced my // ==UserScript== section with default values from vite-plugin-monkey and that's not what is expected.
export default defineConfig({
  plugins: [
    monkey({
      entry: srcFileName,
      build: {
        fileName: srcFileName,
      },
    }),
  ],
  build: {
    minify: false,
  },
});

I tried using without vite-plugin-monkey as well but that didn't help as I can't see the downloadable output file after running vite dev and getting below error with vite build.
export default defineConfig({
  build: {
    minify: false,
    rollupOptions:{
      input:src,
      output:{
        format:"iife",
        name:"vanillaUserJs",
        file:'dist/bundle.user.js'
      }
    }
  },
});

Error on build:
vite v4.4.9 building for production...
✓ 1 modules transformed.
Invalid value for option "output.dir" - you must set either "output.file" for a single-file build or "output.dir" when generating multiple chunks.
✓ built in 14ms
error during build:
RollupError: Invalid value for option "output.dir" - you must set either "output.file" for a single-file build or "output.dir" when generating multiple chunks.

import { defineConfig } from 'vite';
import solid from 'vite-plugin-solid';
import monkey from 'vite-plugin-monkey';

const comment = `
// ==UserScript==
// @name       solid-ts
// @namespace  npm/vite-plugin-monkey
// @version    0.0.0
// @author     monkey
// @icon       https://vitejs.dev/logo.svg
// @match      https://www.google.com/
// @grant      GM_addStyle
// ==/UserScript==
`.trim();

export default defineConfig({
  plugins: [
    solid(),
    monkey({
      entry: 'src/main.tsx',
      format: {
        generate() {
          return comment;
        },
      },
    }),
  ],
});

What does format do? How it'll help me in keeping my userscript metablock as it is in my .user.js files? And what is the significance of comment value?
Also, please confirm the use of solid is irrelevant in the example code shared, isn't it?

import { defineConfig } from 'vite';
import monkey from 'vite-plugin-monkey';
import fs from 'node:fs/promises';

// or use your srcFileName
const fileText = await fs.readFile('./dist/solid-ts.user.js', 'utf-8');

const customUserScript =
  fileText.match(/\/\/ ==UserScript==[\s\S]*\/\/ ==\/UserScript==/)?.[0] || ``;

export default defineConfig({
  plugins: [
    monkey({
      entry: 'src/main.tsx',
      format: {
        generate() {
          return customUserScript;
        },
      },
    }),
  ],
});

That works like a charm.
Thanks a lot. I've spent more than 5 hours to achieve this via vite, rollup, terser and the vite-plugin-monkey but couldn't succeed.
Just a suggestion to add a more detail about the plugin config parameters for newbies like me. That would be very helpful.


Updated flow run day summary example to add PnP PS

With the creation of the Get-PnPFlowRuns PnP PowerShell cmdlet recently I have now updated the flow run day summary - post to adaptive card example to add PnP PS.
Have also updated the intro wording to tell the user how to create an incoming webhook for the Microsoft Team.

Thank you @LeonArmston for another cool submission, appreciate your contribution, this will be live soon 😊🎉👏


ROCm installation flummoxed -Radeon VII, Ubuntu 18.04

I bungled my amdgpu and rocm installation with a Radeon VII trying to get OpenCL installed and dug a hole deep enough that I cannot uninstall the packages.
First I installed the AMDGPU drivers for the Radeon VII using "./amdgpu-pro-install -y --opencl=pal" thinking that was the way to get OpenCL installed.  An earlier suggestion was to use ROCm, so I followed those installation instructions, but got some errors:
Selecting previously unselected package rock-dkms.
Preparing to unpack .../49-rock-dkms_2.6-22_all.deb ...
Unpacking rock-dkms (2.6-22) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Ewk3Sx/49-rock-dkms_2.6-22_all.deb (--unpack):
trying to overwrite '/usr/share/dkms/modules_to_force_install/amdgpu', which is also in package amdgpu-dkms 19.20-812932
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package rocm-device-libs.
Preparing to unpack .../50-rocm-device-libs_0.0.1_amd64.deb ...
Unpacking rocm-device-libs (0.0.1) ...
Selecting previously unselected package rocm-smi.
Preparing to unpack .../51-rocm-smi_1.0.0-157-g8d290c1_amd64.deb ...
Unpacking rocm-smi (1.0.0-157-g8d290c1) ...
Selecting previously unselected package rocr_debug_agent.
Preparing to unpack .../52-rocr%5fdebug%5fagent_1.0.0_amd64.deb ...
Unpacking rocr_debug_agent (1.0.0) ...
Selecting previously unselected package rocm-dev.
Preparing to unpack .../53-rocm-dev_2.6.22_amd64.deb ...
Unpacking rocm-dev (2.6.22) ...
Selecting previously unselected package rocm-dkms.
Preparing to unpack .../54-rocm-dkms_2.6.22_amd64.deb ...
Unpacking rocm-dkms (2.6.22) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-Ewk3Sx/49-rock-dkms_2.6-22_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I figured I needed to uninstall the amdgpu-pro packages which produced:
cfs0042@alveo-cse:~/downloads$ sudo amdgpu-pro-uninstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed
amdgpu-lib-hwe : Depends: amdgpu-core (= 19.20-812932) but it is not going to be installed
amdgpu-pro-core : Depends: amdgpu-core but it is not going to be installed
gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed
libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be installed
libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed
libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed
libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
...
xserver-xorg-hwe-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So I tried the --fix-broken install as suggested:
cfs0042@alveo-cse:~/downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
rock-dkms
The following NEW packages will be installed:
rock-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
54 not fully installed or removed.
Need to get 0 B/6,223 kB of archives.
After this operation, 140 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 269123 files and directories currently installed.)
Preparing to unpack .../rock-dkms_2.6-22_all.deb ...
Unpacking rock-dkms (2.6-22) ...
dpkg: error processing archive /var/cache/apt/archives/rock-dkms_2.6-22_all.deb (--unpack):
trying to overwrite '/usr/share/dkms/modules_to_force_install/amdgpu', which is also in package amdgpu-dkms 19.20-812932
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/rock-dkms_2.6-22_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The following rocm packages are shown to be installed:
cfs0042@alveo-cse:~/downloads$ apt list --installed | grep -i rocm
rocm-clang-ocl/Ubuntu 16.04,now 0.4.0-7ce124f amd64 [installed,automatic]
rocm-dev/Ubuntu 16.04,now 2.6.22 amd64 [installed,automatic]
rocm-device-libs/Ubuntu 16.04,now 0.0.1 amd64 [installed,automatic]
rocm-dkms/Ubuntu 16.04,now 2.6.22 amd64 [installed]
rocm-opencl/Ubuntu 16.04,now 1.2.0-2019070446 amd64 [installed,automatic]
rocm-opencl-dev/Ubuntu 16.04,now 1.2.0-2019070446 amd64 [installed,automatic]
rocm-smi/Ubuntu 16.04,now 1.0.0-157-g8d290c1 amd64 [installed,automatic]
rocm-utils/Ubuntu 16.04,now 2.6.22 amd64 [installed,automatic]
rocminfo/Ubuntu 16.04,now 1.0.0 amd64 [installed,automatic]
and the following amdgpu packages are installed:
amdgpu-core/unknown,now 19.20-812932 all [installed,automatic]
amdgpu-dkms/unknown,now 19.20-812932 all [installed]
amdgpu-hwe/unknown,now 19.20-812932 amd64 [installed]
amdgpu-lib-hwe/unknown,now 19.20-812932 amd64 [installed,automatic]
amdgpu-lib32/unknown,now 19.20-812932 amd64 [installed]
amdgpu-pro-core/unknown,now 19.20-812932 all [installed,automatic]
amdgpu-pro-hwe/unknown,now 19.20-812932 amd64 [installed]
amdgpu-pro-lib32/unknown,now 19.20-812932 amd64 [installed]
amdgpu-pro-pin/unknown,now 19.20-812932 all [installed]
gst-omx-amdgpu/unknown,now <IP_ADDRESS>-812932 amd64 [installed,automatic]
libdrm-amdgpu-amdgpu1/unknown,now 1:2.4.97-812932 amd64 [installed,automatic]
libdrm-amdgpu-common/unknown,now 1.0.0-812932 all [installed,automatic]
libdrm-amdgpu1/bionic-updates,now 2.4.97-1ubuntu1~18.04.1 amd64 [installed]
libdrm2-amdgpu/unknown,now 1:2.4.97-812932 amd64 [installed,automatic]
libegl1-amdgpu-mesa/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libegl1-amdgpu-mesa-drivers/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libegl1-amdgpu-pro/unknown,now 19.20-812932 i386 [installed,automatic]
libgbm1-amdgpu/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libgbm1-amdgpu-pro/unknown,now 19.20-812932 i386 [installed,automatic]
libgbm1-amdgpu-pro-base/unknown,now 19.20-812932 all [installed,automatic]
libgl1-amdgpu-mesa-dri/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libgl1-amdgpu-mesa-glx/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libgl1-amdgpu-pro-appprofiles/unknown,now 19.20-812932 all [installed,automatic]
libgl1-amdgpu-pro-dri/unknown,now 19.20-812932 i386 [installed,automatic]
libgl1-amdgpu-pro-ext-hwe/unknown,now 19.20-812932 amd64 [installed,automatic]
libgl1-amdgpu-pro-glx/unknown,now 19.20-812932 i386 [installed,automatic]
libglapi-amdgpu-mesa/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libglapi1-amdgpu-pro/unknown,now 19.20-812932 i386 [installed,automatic]
libgles1-amdgpu-mesa/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libgles2-amdgpu-mesa/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libgles2-amdgpu-pro/unknown,now 19.20-812932 i386 [installed,automatic]
libllvm7.1-amdgpu/unknown,now 1:7.1-812932 amd64 [installed,automatic]
libosmesa6-amdgpu/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
libwayland-amdgpu-client0/unknown,now 1.15.0-812932 amd64 [installed,automatic]
libwayland-amdgpu-egl1/unknown,now 1.15.0-812932 amd64 [installed,automatic]
libwayland-amdgpu-server0/unknown,now 1.15.0-812932 amd64 [installed,automatic]
libxatracker2-amdgpu/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
mesa-amdgpu-omx-drivers/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
mesa-amdgpu-va-drivers/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
mesa-amdgpu-vdpau-drivers/unknown,now 1:18.3.0-812932 amd64 [installed,automatic]
vulkan-amdgpu-pro/unknown,now 19.20-812932 amd64 [installed]
wsa-amdgpu/unknown,now 19.20-812932 amd64 [installed,automatic]
xserver-xorg-hwe-amdgpu-video-amdgpu/unknown,now 1:19.0.1-812932 amd64 [installed,automatic]
xserver-xorg-video-amdgpu-hwe-18.04/bionic-updates,now 19.0.1-1~18.04.1 amd64 [installed,automatic]
I am open to any and all suggestions for the best way to recover and get an operational OpenCL running on the Radeon VII.  I also have a Xilinx Alveo FPGA accelerator installed with OpenCL.  Is it possible that the OpenCL runtime is getting confused between two different platforms?  I'm not a sys-admin type, know just enough to get myself in trouble, obviously.
Thank you to any who can help me out,
Charles

We decided having two OpenCL vendors on the same system was going to be troublesome, so we are buying a second box to host the Radeon VII.  We are installing the OS from scratch on the existing box to ensure all Radeon VII software has been eliminated.  After many hours of searching here and the AMD community forums, I have formed the opinion that for my application of primarily using the Radeon VII for OpenCL I should install the ROCm package and not mess with the AMDGPU-Pro drivers.  If anyone disagrees with this statement, please respond with some rationale indicating why that is the incorrect procedure.


plugin breaks provider.deploymentBucket

If setting:
plugins:
  - serverless-plugin-optimize
provider:
  name: aws
  deploymentBucket: my-deployment-bucket

deployment fails with:
Serverless: Validating template...

  Error --------------------------------------------------

  The CloudFormation template is invalid: Template format error: Unresolved resource dependencies [ServerlessDeploymentBucket] in the Resources block of the template

Looking at the generated CloudFormation template:
--- cloudformation-template-update-stack.json   2017-08-03 16:26:54.695489014 +0300
+++ cloudformation-template-update-stack.json   2017-08-03 16:04:48.612095055 +0300
@@ -86,11 +86,13 @@
       "Type": "AWS::Lambda::Function",
       "Properties": {
         "Code": {
-          "S3Bucket": "my-deployment-bucket",
-          "S3Key": "serverless/serverless-simple-http-endpoint/dev/1501766814665-2017-08-03T13:26:54.665Z/serverless-simple-http-endpoint.zip"
+          "S3Bucket": {
+            "Ref": "ServerlessDeploymentBucket"
+          },
+          "S3Key": "serverless/serverless-simple-http-endpoint/dev/1501765330724-2017-08-03T13:02:10.724Z/serverless-simple-http-endpoint.zip"
         },
         "FunctionName": "serverless-simple-http-endpoint-dev-currentTime",
-        "Handler": "handler.endpoint",
+        "Handler": "_optimize/serverless-simple-http-endpoint-dev-currentTime/handler.endpoint",
         "MemorySize": 1024,
         "Role": {
           "Fn::GetAtt": [

It seems that the plugin interferes with the S3Bucket definition.

@christophgysin this is happening when individually is false and the stack is not yet created. This is related to last commit to run optimize plugin outside that.
I will see if I find a fix for this, until then use individually to true that's it is much better to shrink your lambda container size to the minimum.

@christophgysin Fix for this in the latest release. Thanks for reporting this.

Thanks for the quick fix!


Need for more flexible Loss Function

System information

TensorFlow version (you are using): 1.15
Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
Since, we know that sometimes in the training process, we need the MAE and MSE type of behavior simultaneously. We have this kind of loss function already - Huber Loss.  But in some cases, we don't need just one value, instead, we need the interval. We need the loss function which can output two values corresponding to lower and upper bounds of the interval.
This type of loss function is called Quantile Huber Loss, which is taken from this paper. The behavior is shown in below image.

Will this change the current api? How?
No, it will not change the current api. Instead, it will just add one loss function and will include it's tests.
Who will benefit with this feature?
This will be very beneficial for the forecasting and time series. Especially, when the variation is very dynamic, then this loss function helps very much in comparison to existing losses in tf.

Please feel free to send a PR to the Tensorflow Addons repository for this Loss.

cc @seanpmorgan for Addons
https://github.com/tensorflow/addons


However, it seems Streamlit starts rendering having only received partial code, and not the complete code for an animation.
This obviously, cause the animation not to render.
Here try this for example:
swing a double pendulum

Wow, yes, you are right! I'm not sure how to solve this, let me try some things...

Hi @AnonymoZ! I'm workin on a solution right now. Anyway, if you see any other issues in the app, please open another issue. Thank you so much!

I updated the code generated to accept the math package to overcome this complex prompts.

Hey, do you know the conversion from token to characters?
Once we determine how much can ChatGPT output, we'll be able to tell the user beforehand if his request is possible or not.
Also, ask ChatGPT to generate without any comments, and use a maximum of two characters when it names functions and variables. I bet this should save us characters!

Hey, do you know the conversion from token to characters? Once we determine how much can ChatGPT output, we'll be able to tell the user beforehand if his request is possible or not.

I don't understand this so much. You can find the conversion from tokens to characters with the OpenAI tokenizer. Can you give me more details of what you mean please?

Also, ask ChatGPT to generate without any comments, and use a maximum of two characters when it names functions and variables. I bet this should save us characters!

I already ask ChatGPT to generate without comments or explainations in the system instructions (Check utils.py in line 3). Sometimes it does not obey 😅 I don't know how to enforce this...
The variable naming is interesting, since it will save characters too, so I'll add it. Thank you!

You know, I'm tapping into a greater problem as we speak.
Essentially a token is a character. Of course token = ¾ word length, but let's make as if token–character is 1:1.
This means if your total tokens is 300, it means you have 300 characters. Of course, it is actually more than that and let's consider the excess to be a ‘gift’ from GPT. Let's consider the excess as emergency funds and not plan our code beyond 300 characters.
Now how many lines does this make? With 70 character per line on average let's put it at 4.
With 4 lines allowed per program, we have to decide upon a user request to ask ChatGPT to produce the code or not.
If his problem clearly requires 10 lines or more, we will not grant his request and maybe ask him to use his own API key.
But if his problem can be solved in 2–3 lines, we will proceed to ask ChatGPT and hope it falls within quota even if emergency funds have to be used. But how do we know how many lines will a program need?
That's the thing. ChatGPT can count the lines in its code, but only after writing his script.
The best we can do is estimate how many lines the program will have beforehand.
In the previous answer for example in the Obama problem, ChatGPT resolutely estimates the amount of lines the program will take. We could use that as a basis to select which query is appropriate or not.
The problem of ChatGPT's limit has caused many an attempt for circumvention—sadly, no one has passed. That's because there's a trick to ask ChatGPT to answer in chunks.. tell 'em to only give the next chunk when I say, ‘next’. But this only works with textual answers. ChatGPT cannot cut a code snippet into half and output the next when you say, ‘next’.
As we speak I think I know a way of circumventing that, but I only got it to work once. In this query, ChatGPT generates solely a code snippet, but only once it did it in plain text:
Write a program in Python that calculates the sum of the squares of all primes up to 50.
Do not use a black code block to write in your answer. Write your code in plain text.
Do not explain the code using comments.
Do not write any English communication in your answer.

Furthermore there are deeper problems with your entire concept if Generative-Manim itself.
Let's look at more innocent problems first. Allow GPT to use NumPy instead of Math. This allows arrays which could be more useful to GPT. Why cut access to its resources and force it to solve problems? Also, add in other modules. As NetworkX—I know a lot of peeps like to work with graphs. Add in.. Random. Just in case.
Anyway I don't know if ChatGPT prefers to use ManimGL but it sometimes generated with the use of Mesh(..). Which is not a ManimCE function. The other day it did a Mandelbrot with Mandelbrot(..). I never knew there was a Mandelbrot function in Manim.
I wanted to present another bizarre function but it seems Google Chrome turned off my tab so I lost it. It looked like this:
MoveDotToCenter(parametre)
Definitely does not exist in Manim.
Another suggestion could be to add a tab explaining what you know to work, so people deal less with errors and having to imagine something that they think will work.

The problem of ChatGPT's limit has caused many an attempt for circumvention—sadly, no one has passed. That's because there's a trick to ask ChatGPT to answer in chunks.. tell 'em to only give the next chunk when I say, ‘next’. But this only works with textual answers. ChatGPT cannot cut a code snippet into half and output the next when you say, ‘next’.

Yes. It's very hard, dealing with code splitted from ChatGPT.

Let's look at more innocent problems first. Allow GPT to use NumPy instead of Math. This allows arrays which could be more useful to GPT. Why cut access to its resources and force it to solve problems? Also, add in other modules. As NetworkX—I know a lot of peeps like to work with graphs. Add in.. Random. Just in case.

Good idea!, I can add Numpy as a package. Or even just let ChatGPT generate the whole file (with the necessary imports) but this comes with the task of verifying that the required packages are installed before running the code.

Anyway I don't know if ChatGPT prefers to use ManimGL but it sometimes generated with the use of Mesh(..). Which is not a ManimCE function. The other day it did a Mandelbrot with Mandelbrot(..). I never knew there was a Mandelbrot function in Manim.

Do you think this has to do with the old documentation or old version it learned? Remember that ChatGPT has information until 2021. If that was the case, I was thinking of updating a new experiment as many people are doing: Linking it to Langchain so that it learns the latest Manim stable documentation.

Another suggestion could be to add a tab explaining what you know to work, so people deal less with errors and having to imagine something that they think will work.

Is this like a section to let people know what kind of animations they can generate? Or do you mean something else?

Yeah, like a list of successful prompts with proven responses.
Honestly, I've had no problems using ChatGPT for ManimCE, but only so long I've specified my code had to be for CE!
Of course, I've had to send back the code because it didn't always realise which was CE which was GL.
Whether you specified GL from the start, whether that would give you flawless code I do not have the expertise to test this, although it is unlikely ChatGPT spews perfect code even in GL.
Even if your code is perfect, ChatGPT will occasionally make mistakes.
The ultimate solution IMO (aside from perfecting the app here and there) is to wait for GPT-4's public release.
GPT-4 assumedly makes less mistakes, but crucially has a bumped limit to up to ~30,000 tokens!
Should well give you more room!

GPT-4 assumedly makes less mistakes, but crucially has a bumped limit to up to ~30,000 tokens! Should well give you more room!
Yes, definitely 😁 I've been thinking even in creating a ChatGPT plugin since I got access to that also.


Production Based Incentive references wrong cell for generation in send to excel with eqns for host-developer

Describe the bug
Host-developer's send to excel w/equations references cell C10 for energy production for the production based incentive, whereas cell C7 is likely more appropriate.
To Reproduce
Steps to reproduce the behavior:

Compare cash flow in SAM vs send to excel to equations in attached zip:
send_to_excel_host_developer.zip

Expected behavior
PBI should reference gross generation or net energy to grid, not the cell for a technology that is not implemented.
Operating System and Version

Version 2022.11.21, develop

Also use this opportunity to disable Send to Excel to Equations for new IPH Single Owner configs because of electricity purchases.

In SSC, all financial models calculate the following from CF_energy_sales:

O&M production-based expense (CF_energy_sales or CF_energy_without_battery), except Community Solar
PBI
PTC
LCOE

These are currently calculated from CF_energy_net and should be changed to CF_energy_sales:

TPO Host / Developer agreement cost
Community Solar O&M production-based expense (CF_energy_net or CF_energy_without_battery)
Community Solar recurring cost by generation
Community Solar subscription revenue from generation

This should be removed (see #732):

Community Solar return on equity (should this be removed?)


Remove from list

media.xxxlutz.com
www.xxxlutz.de
www.xxxlutz.at
Context:
XXXLutz (www.xxxlutz.com) is an Austrian furniture store chain

Thank you for this @PythonGermany.
Ping @sinfonietta can you evaluate this for false positivity?  Thanks!

@StevenBlack you can close this.


Clearer steps on how to compile PhysX library for x86

I have successfully compiled most of the dependencies for x86.
However, PhysX has given me a number of troubles (at least for Debug builds), as follows:
0. Compiling PhysX 3.3 in Visual Studio 2017 gives a few warnings/errors.  If you turn off warnings as errors and fix the one error by changing a certain variable to const, then...

CHECKED configuration acts as a release build, using the Release Runtime (/MT or /MD).  Additionally, Extensions uses /MT or /MTd.  DEBUG configuration uses the wrong naming convention, and attempting to change it to CHECKED has strange results.
OptimizedDebug does not exist.  I changed Release to use Debug configuration, which gave errors with allocation.
The Debug DLLs are dependent on the Release or OptimizedDebug build, as those DLLs are searched for for whatever reason.
After attempting to fix everything and getting it to build, I get a "Foundation: Invalid registration detected", probably something to do with somehow mixing Debug and Release.

Everything else seems to be working.  I would appreciate if the PhysX instructions were updated with what should be changed from the default configuration.  Thank you for all your hard work!

I'll update it if I get a moment to try compiling PhysX myself and see what the issues are.

Cool, thanks!  In the meanwhile, is there any way to disable bsfPhysX?  I don't need physics at the moment.


Run all tests in package/whole project from IntelliJ

When I run all tests from IJ, it says 0 test classes found in package '<default package>'.
However, if I add class junit tests, then IJ will run them.
kotlintest 1.3.7
IntelliJ IDEA 2017.1 EAP Build #IU-171.3780.15, built on March 8, 2017

If you upgrade to 2.x this will work.


twist_stamper: 0.0.4-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository twist_stamper to 0.0.4-1:

upstream repository: https://github.com/joshnewans/twist_stamper.git
release repository: https://github.com/ros2-gbp/twist_stamper-release.git
distro file: humble/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.0.3-1

twist_stamper
* Further improvements to shutdown handling
* fix(shutdown): clean shutdown on keyboard interrupt (#6 <https://github.com/joshnewans/twist_stamper/issues/6>)
* Fix deprecation warning (#3 <https://github.com/joshnewans/twist_stamper/issues/3>)
* Contributors: Josh Newans, Rein Appeldoorn, Rick-v-E

Closing as this commit has issues


[BUG]: Cache items forever

Related: https://github.com/phalcon/cphalcon/issues/15485
The TTL needs to be reworked when using set()

If TTL is null or not defined, then the default TTL will be used (as set in the adapter)
If TTL is 0 or a negative number, the item has expired - issue a delete
Create setForever() method to allow items to be cached forever

https://github.com/phalcon/phalcon/pull/209


Fix the service card title dynamic size

Work is related to manifoldco/engineering#8934
Reason for change
The dynamic sizing the the service card's first row made it so that the description would often look misaligned when products with different a number of lines for the description were put next to each other. This adds a fixed width for the first row of the service card.

Testing
Test with storybook, a new story for the marketplace called "curated" shows the behavior we wanted to fix.

This breaks with longer names (ZeroSix).
Does this solve the issue?
grid-template-rows: auto 1fr auto;
align-items: start;

I'll try!


New API to delete indexes

Motivation and Context (Why the change? What's the scenario?)
New API allowing apps to delete entire indexes.
High level description (Approach, Design)
New API in ISemanticMemoryClient to delete indexes.
New HTTP method allowing to delete indexes.
New handler responsible for deleting vectors and files in storage.
New logic allowing a pipeline not having a document ID (just the index name to delete).
New logic to delete storage directories after a pipeline is complete and the status file has been written.
New functional tests (with manual verifications).
Fix OpenAPI signature of DELETE methods.

What happens if a pipeline is still running and there is a delete request that tries to delete an index?

What happens if a pipeline is still running and there is a delete request that tries to delete an index?

A lot of things could happen, depending on the order. It's something we should look into, and a quick thought would be introducing an "index lock" for the deletion step, so that the deletion won't start until it has acquired the lock. Similar for documents deletions. There's a lot of work to do in this area, that will surface once we start working with chats, e.g. a document being repeatedly updated.
There are also other considerations, e.g. creating and deleting indexes in some storages like Pinecone can take minutes, so there's a lot of concurrency problems that could arise.
For now I would say not to abuse of this API, don't delete indexes too often, until we mature the API and the approach to concurrent writes.

What happens if a pipeline is still running and there is a delete request that tries to delete an index?

A lot of things could happen, depending on the order. It's something we should look into, and a quick thought would be introducing an "index lock" for the deletion step, so that the deletion won't start until it has acquired the lock. Similar for documents deletions. There's a lot of work to do in this area, that will surface once we start working with chats, e.g. a document being repeatedly updated. There are also other considerations, e.g. creating and deleting indexes in some storages like Pinecone can take minutes, so there's a lot of concurrency problems that could arise. For now I would say not to abuse of this API, don't delete indexes too often, until we mature the API and the approach to concurrent writes.

Say if we have a pipeline X that contains 5 steps. A delete request comes in right after step 3, which will create another pipeline, say Y. What will be the execution order? Seems like it'd be an arbitrary order even with an index lock. If we wait until the pipeline X finishes before Y, that seems like a waste of resource. Is there a way to stop pipeline X?

Say if we have a pipeline X that contains 5 steps. A delete request comes in right after step 3, which will create another pipeline, say Y. What will be the execution order? Seems like it'd be an arbitrary order even with an index lock. If we wait until the pipeline X finishes before Y, that seems like a waste of resource. Is there a way to stop pipeline X?

We don't control the underlying queueing platform, so for instance we don't have a guarantee about the order X and Y will run. Assuming the worst, pipeline X will enter an error state because the index disappeared, it might recreate the vector index without the storage index or viceversa. In any case, the index will be broken, unless we design a locking system, thinking about all the scenarios. I don't think it's about wasted resources, but about having unclean state.  We can think about blocking other pipelines, anyway, we're talking about complex concurrent write operations across multiple storage solutions (vectors and files) so it's not something we can easily fix now. I would go ahead accepting the limitation, and design for this problem separately.
There are multiple situations where we will encounter concurrent writes:

index deletions
document deletions
document updates
memory consolidation
so there's a lot to consider. We're still on a preview version so I'd say let's move forward by incremental improvements.


shebang in js / jsx / tsx is classified as ".ts"

I unfortunately don't have a direct reproduction involving actual code so I've omitted the issue template, this was noticed while auditing the source of the textmate grammars
https://github.com/microsoft/TypeScript-TmLanguage/blob/863fe48831356e0d459cc71c1e7d72c41b7e1b42/TypeScriptReact.tmLanguage#L25-L38
I believe these should be .tsx for the "TypeScriptReact" -- a fix to that will also fix the js / jsx grammars in vs code which do a replace on /\.tsx/ to the destination scope

awesome, thanks a ton @sheetalkamat 🎉


TLS Stream Support

It would be nice if this could be used for a TLS TCP proxy. With the Steam block in Nginx, you can create an NGINX proxy for TCP connections.
This could be a powerful tool to give them real certificates. Maybe there is a way to accomplish this currently, but I was unable to configure it.

i think should be possible by now?
i've asked like 3 years ago.
as far i know ssl_certificate_by_lua is now possible inside stream - but didnt really managed to get it working. .

Hey folks, is there any update on that. I'm interested in this feature as well. :)


Updated operations testing

Codecov Report

Merging #75 into master will increase coverage by 2.95%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
+ Coverage   91.53%   94.49%   +2.95%
==========================================
  Files          10       10
  Lines         886      908      +22
==========================================
+ Hits          811      858      +47
+ Misses         75       50      -25

Impacted Files
Coverage Δ

tests/test_operations.py
100% <100%> (ø)
:arrow_up:

superjacob/superjacob.py
96.55% <100%> (+13.79%)
:arrow_up:

superjacob/expression.py
89.76% <0%> (+0.46%)
:arrow_up:

superjacob/operations.py
91.54% <0%> (+7.51%)
:arrow_up:

Continue to review full report at Codecov.

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


ANSI Color "dark gray" is rendered incorrectly in the integrated terminal

VSCode Version: 1.17.0
OS Version: MacOS Sierra 10.12.6
Extensions: Extensions are disabled
Steps to Reproduce:

Type echo -e "Default \033[90mDark gray" in the integrated terminal.
Rendered text is incorrectly rendered as bold (which shouldn't happen until a "bright" ANSI flag is set):

What is expected (as it's rendered in the Mac's default Terminal.app):

More pics. How it looks in the (updated) VSCode's integrated terminal:

How it should look (from Terminal.app):

BTW, you can also try the ansicolor library (developed by me), which does the ANSI → CSS translation in JavaScript! Check it out.

Upstream issue https://github.com/sourcelair/xterm.js/issues/1047


Remove redundant method

fix issue #728
hopefully this is what you wanted!

@delislej thanks for the PR. Our PR submission process is given in https://oss-generic.github.io/process/docs/QuestionsIssuesPrs.html#submitting-a-pr


"Too many warnings! Ignoring warnings for up to 1 second." message gets printed without end when the number of warnings exceeds "Max Warnings Per Second" in the project settings

Godot version
3.3.4.stable, 3.4.0.stable, 3.4.4.stable
System information
Windows 11
Issue description
Related to #43710. Happens on 3.3.4.stable, 3.4.0.stable, 3.4.4.stable. See title and the following gif:
3.4.4.stable:

Analogous on the other versions.
Steps to reproduce

Set "Max Warnings Per Second" in the project settings to 1.
Have a script with two functions that each have one parameter that is not used.

Minimal reproduction project
godot.3.3.4.stable.test.zip
godot.3.4.0.stable.test.zip
godot.3.4.4.stable.test.zip

I guess the "bug" here is that it prints the "Too many warnings!" message more than once per second? Otherwise the behavior makes sense, if you limit warnings to 1 and print 2, it will let you know about it.

@akien-mga I only set it to 1 to illustrate the problem. This originally occured for me when I reached 101 warnings. I definetly agree with @Zireael07 that it should not print the message ad infinitum. This was already recognized as a problem in #43710 and fixed by someone.

The message is supposed to be printed once per second in both master and 3.x:
https://github.com/godotengine/godot/blob/d29e17d9d2ad1d6b6380b6de01fe283c3937955b/core/debugger/remote_debugger.cpp#L384-L385
https://github.com/godotengine/godot/blob/51e2c1990a68288c859c15569c9f278b2cbcc9b1/scene/debugger/script_debugger_remote.cpp#L418-L419
I don't know why the check isn't working, even after https://github.com/godotengine/godot/pull/52416 being merged in 3.x.

@Calinou So this is intended behaviour, but just too fast?

@Calinou So this is intended behaviour, but just too fast?

No, the message should definitely not print every frame.

@Calinou That is what I meant. I am still confused though as to why this needs to be printed more than once. Even if it would only be printed once a second, it would still spam the console.

@Calinou I just encountered this issue in my project, I had max_warnings_per_second set to 100 (the default).
When running the scene, there's 101 warnings on the first frame, but no warnings after that. However, the debugger now warns non stop, even though there are no warnings being emitted at all. As I understand it, the intended behavior is that the warning is emitted once each time the limit of warnings per second is reached, and not all the time just for a one frame time that the limit is broken.
The bug seems to be a loop originated by the warning itself:
Once the limit is reached, the project warns, increasing the number of warnings, which breaks the limit again, and since it warns every frame (but the limit is applied per second), it breaks the limit every frame, thus generating a self-triggering warning loop that can only be broken by stopping the scene.

How fix it????

@al-bezd Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.


Remove space from project name

https://github.com/oktadeveloper/okta-spring-boot-vue-crud-example/blob/2d40138780b0c804b13a14b13b357492c5151015/client/package.json#L2
yarnpkg is throwing below error with space in project name Veu Client
error package.json: Name contains illegal characters
Is it expected behaviour or should space be removed

Can you please provide steps to reproduce? This wasn't an issue when I originally created the project.

Error is reproducible when project is clone and running following command in client dir:
yarnpkg install && yarnpkg run serve
Please let me know it works for you , maybe there is some problem with my yarn version

I'll have a look next week. I'm on vacation for the next several days.


Explicit support for non-C# CLR languages

So Mono is basically here, and with it comes C# support, and that's great by itself.
However, C# is not the only language that runs on top of the CLR - other languages such as F#, IronPython (Python on top of .NET), Boo (that one infamous scripting language that used to be in Unity), basically anything on this list that compiles to IL can run on Mono, and by extension in Godot.
However, right now it's not mentioned anywhere that this is possible, and it isn't entirely smooth of a process either to get F# et al to work in Godot projects (I haven't done this myself but I vaguely remember people talking about this being possible, though with limitations), and while I realize that there aren't infinite developers+money to go around and support every CLR language under the sun, I think it'd be at least worthwhile to mention how something like this can be achieved, since the Mono runtime is a really powerful thing and limiting it "just" to C# just feels like a bit of a missed opportunity.
But, maybe I'm completely wrong.

CC @neikeq

I've been writing generic F# libs for Xamarin monogame.  It would be wonderful to be able to use those in godot.

F# is quickly becoming my favorite language, and would love to see support for it in Godot 😄

For whatever its worth, people are already asking about the possibility of a Clojure/Godot integration 😄

Clojure is my favorite language, but I've never used it on .net.  Don't
know how good library and IDE support is.
On Nov 13, 2017 2:39 PM, "Ramsey Nasser"<EMAIL_ADDRESS>wrote:

For whatever its worth, people are already asking
https://github.com/arcadia-unity/Arcadia/issues/258 about the
possibility of a Clojure/Godot integration 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/12337#issuecomment-344083245,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZ0ciJhjNICPSWnWslbU9byWDIWWa3iks5s2MUzgaJpZM4QCKDU
.

Wel, this is already a thing.

@NullConstant haha yeah working on it.
First step was getting a reference to the dll, by adding an itemgroup to the project.csproj
  <ItemGroup>
    <Reference Include="Clojure">
      <HintPath>Clojure.dll</HintPath>
    </Reference>
  </ItemGroup>

I've put a working setup for Clojure up at https://github.com/arcadia-unity/ArcadiaGodot

The plan is to rename CSharp* ScriptLanguage/Script/ScriptInstance implementations to Mono* and make them abstract classes. Language-specific implementations should derive from these (we would still only support C# officially).
The most basic implementation for a language-specific class shouldn't require too much. Probably extensions information only, like source file and project file extensions.
Now, regarding how to expose this API...
AFAIK, PluginScript only lets you implement classes that derive from Script/ScriptInstance/ScriptLanguage, so that won't work for us.
Exposing the API via C# has the penalty of adding a managed method invocation for the API methods the language implements. These methods aren't too much though, they are probably called only once (or could be cached) and we can use method thunks, so this seems like the best option.

FWIW this small 3-part article explains how to get started:
http://www.lkokemohr.de/fsharp_godot.html

Haha thanks for the link, happy to see I'm not the only one doing this weird stuff.
I wrote a similar how to (but it's in French) here.

@paulloz it's not needed to have an actual class inheriting the F# class. Godot only searches for a file that ends with .cs and has the class name as file name. Before the mono module got merged I managed to use F# by just creating empty .cs files with the same name as the desired F# class.
Not sure if that still works, also it's probably not really that relevant to the discussion anyway :)

@paulloz it's not needed to have an actual class inheriting the F# class. Godot only searches for a file that ends with .cs and has the class name as file name. Before the mono module got merged I managed to use F# by just creating empty .cs files with the same name as the desired F# class.

Yay but having this proxy class can be useful e.g. for declaring signals with [Signal] as (I think), declaring a delegate inside an F# type is not possible.
Anyway, as you said it's probably not really the purpose of this thread to discuss that 😅.

declaring a delegate inside an F# type is not possible.

https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/delegates

Sorry, this conversation is still out of topic.

@neikeq I don't undertand why you posted this link. Yes you can define delegates in F#. I'm was just saying that it can't be done as expected by Godot.
Godot requires to declare type for Nodes.
type Boat() =
    inherit KinematicBody2D()
    ...

And nesting type is not a thing in F#, this is not possible.
type Boat() =
    inherit KinematicBody2D()

    [<Signal>]
    type Sunk = delegate of unit -> unit
    ...

What you'd typically do anyway is a module/type kind of code structure.
module Boat
    [<Signal>]
    type Sunk = delegate of unit -> unit
    ...

    type BoatClass() =
            inherit KinematicBody2D()

But in this case it won't help because Godot will still only know of BoatClass where it won't find any delegate with a [Signal] attribute attached.

https://github.com/leolimasa/godot-fsharp-boilerplate
relevant here

here's a complete explanation
http://www.lkokemohr.de/fsharp_godot.html

Closing in favor of https://github.com/godotengine/godot-proposals/issues/191, as feature proposals are now tracked on the Godot proposals repository.


Feature/meme card component

Adds a new component and demos it on the main page

I agree with @adnanrh but I think the date is fine. I find the lack of border between the up/down vote buttons a little weird though.

I'm going to close this PR and open another one for the Meme Page which includes all these changes, plus some refactors.


Custom KITTI Dataset -- Physcial camera focal length not the same as the camera matrix focal length

Hi mmdectection community,
Would anyone please explain what fu and fv here mean? Typical camera focal length is <100 mm. but Kitti calibration file is more than 100?
In our specific case, the camera we use has a focal length of 1.257mm physically in real life. However, the 3d bboxes do not fit to the objects until we set the focal length in the above matrix to be around 340 mm.
Does anybody know why that happens? Thanks!


The media live stream - Initial commit with full stack in python

First PR to the-media-live-stream CDK stack
cdk-patterns/serverless#120

I haven't had a chance to work through this yet but at an initial glance it looks awesome. Thanks for taking the time to put this into a PR

Don't worry @nideveloper. I had some busy days either...
Let me know if I need to change anything in this PR, specially standards like variable names, constants, whatever..
medialive.CfnChannel component is too complex. There is a lot of dependence on specific types, so I tried to declare them in variables and inherit in the final component. If this is not a standard, let me know that I change and declare them in the component itself.

Hei @nideveloper. Let me know if you need any kind of help, adjusts or explanation here. Thank you.

Sorry,
Weds are typically my cdk patterns day so good reminder.
See this construct - https://github.com/leandrodamascena/serverless/blob/master/the-media-live-stream/python/the_media_live_stream/the_media_live_custom_mediapackage.py
how production ready is it? Like could you create a JSII module and publish it to pypi/npm? Or would that really not make sense. I am just thinking people might want to use it directly... or is it because JSII has to start with TS and transpile to the other langs?

Hmm, it makes sense what you said to package and reuse it, just like you did SPADeploy, right?
Since the CDK does not implement native MediaPackage, I created this constructor on this stack using custom resources/api calls, but I agree that it can be reused as a component/package. I have to see how to adapt.
Do you want that I adapt it now or you prefer to use this stack and I update it in next commits?

Pahud has a good video on using projen to create a new construct, it's a lot easier now than when I created SPADeploy - https://www.youtube.com/watch?v=cTsSXYOYQPw
I can't remember if we discussed the TypeScript version? I always launch with both, I am happy to pull this code into a branch and map over or do you want to do that version as well?

Nice @nideveloper. Thank you for sharing this video.
Hmm we didn't discuss about TS version but I'm very familiar with TS too. Let me know what you prefer :)

If you are happy to do TS as well then let's focus on getting the Python one perfect and then you can quickly map over to TS for us to launch.
I asked because for me given the two languages if that construct could be projen'd and published as a JSII construct it reduces the amount of work to map it over to TypeScript

Hello @nideveloper, only updating this PR.
I already did Construct to MediaPackage and is now public on NPM (https://www.npmjs.com/package/cdk-mediapackage-custom) and I'm finishing the adjustments for Pypi/Nuget.
I think this weekend I will refactor the code and launch the Stack in Python / TS using this Construct.

Hi @nideveloper, please forget about my last comment!
I checked today the latest version of the CDK and saw the "MediaPackage" resource was included, so it doesn't make much sense using a custom Constructor. I refactored the Stack and now it's very simple and using native resources 👍
Please let me know if I can write this is Stack in TS to merge this PR :)

looks great, the only thing I would change is that I would move the website inside the python folder and duplicate it for the typescript. It seems counter productive but it means with the cdkp command line tool I can shallow clone one pattern in one language without pieces missing. When you add the TypeScript version the only thing over and above Python is please remember to add some unit tests

Updated the PR with TS Version + website folder inside languages folder + TS Tests

I merged this into a branch to just add a couple of things and will launch it later today. Great work, thanks

Hey, sorry to circle back round to this again but I always deploy and test the patterns before I launch them which is what has caused the delay. I was able to get both TS and Python deployed and connect to them to start streaming from OBS. The part that I cannot get working at all is the part where you view the stream, the included webpage just throws errors for me and if I try to connect to the stream with something else like vlc it also throws errors. So something feels like it is misconfigured in the stack, is there any way you could double check you haven't changed something locally that you forgot to commit? The code is over here now https://github.com/nideveloper/serverless/tree/master/the-media-live-stream I use my fork for changes. I updated the TS pattern to use string interpolation and added a deploy command that strings together the two manual deploys

Well.. let me check what is going on. I could deploy here with no problem, but let me check again! Thank you, dude!

Only one thing before start to debug here.. did you started the channel manually? Just to check.

Yeah it tells me the channel is started in the aws console but it also shows 5 status alert warnings. Same behaviour with both ts and python

Ok, I got it! When I added the TS version I changed the role creation and I forgot to add the policy to allow "mediaconnect" services. This IAM permissions allows medialive channel connect and send image/audio do mediapackage.
My bad. I'm fixing and I'll make a PR into https://github.com/nideveloper/serverless/tree/master/the-media-live-stream.


Fix issue with pasting results in Teams

This PR fixes #
Fixes issue with pasting query and results in Teams as well as in ADS notebooks.
Teams issue: This was happening due to missing tr tag at the start of every row from 2nd row in the table.

Notebooks issue: Pasting it in text cell wasnt actually showing the markdown string and if user clicks away from the cell, it disappears. This was weirdly happening because of th tags. In Kusto explorer, they use the td tags even for header and it works fine, so I am using the same.

Side note - it would be great if you would include descriptions of what the problem is and ideally what the fix is (if it isn't obvious from the changes) when you submit PRs - just saying something "fixes an issue" doesn't give a lot of context and makes it harder to properly review.

Pull Request Test Coverage Report for Build 401224454

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 41.385%

Totals

Change from base Build 401181507:
0.01%

Covered Lines:
21950

Relevant Lines:
48670

💛  - Coveralls

Side note - it would be great if you would include descriptions of what the problem is and ideally what the fix is (if it isn't obvious from the changes) when you submit PRs - just saying something "fixes an issue" doesn't give a lot of context and makes it harder to properly review.

Sure Charles! Added it to the description

I'd prefer not to hard code the font family so that the default font family and size in the target editor will be used. I left similar comment in the other PR you have.

I'd prefer not to hard code the font family so that the default font family and size in the target editor will be used. I left similar comment in the other PR you have.

@alanrenmsft hmm I feel otherwise. I think its better to have that consistent experience with HTML formatting done in ADS regardless of where we paste it. Sure, couldn't find it. Which PR?

Had a chat with Monica on this.
I'm proposing the following:

First iteration - the copy + paste should come with default preformatted look and feel. Hopefully this is optimized for most cases.
Subsequent iteration and pending user feedback - let's revisit on how we can make it configurable for users via ADS settings.

Note: currently Kusto Explorer copy + paste provides default configuration of look and feel (and no option of changing).


Creating a feature for mongo data sources

This pull request contains the feature for the mongo supported datasources and some refactoring of dependancies. I have bundled the mongo-java-driver in the feature as it is a valid osgi bundle

@gimantha Thank you


Patch for icon4py v0.0.3

launch jenkins py-icon4py py-gt4py

daint
:green_circle: unit testTest:green_circle:summary
WARNING: Serial tests did not run for system tests

balfrin
:green_circle: unit testTest:green_circle:summary
WARNING: Serial tests did not run for system tests

launch jenkins py-icon4py py-gt4py

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_2 :red_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :red_circle:PyIcon4py-install_version_0_0_7 :red_circle:PyIcon4py-install_version_0_0_8
WARNING: Serial tests did not run for system tests

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_2 :red_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :red_circle:PyIcon4py-install_version_0_0_7 :red_circle:PyIcon4py-install_version_0_0_8
WARNING: Serial tests did not run for system tests

launch jenkins py-icon4py py-gt4py

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :green_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :green_circle:PyIcon4py-install_version_0_0_8

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :green_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :green_circle:PyIcon4py-install_version_0_0_8

Hi @abishekg7, I am just back from my vacation. I will take a look at this later today.

Hi @mjaehn. Thanks and I didn't realize you were on vacation too. I think it may make more sense now to ask @jonasjucker to review as he's more familiar with discussions on the gt4py version renaming.

launch jenkins py-icon4py py-gt4py

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :red_circle:PyIcon4py-install_version_0_0_8
WARNING: Serial tests did not run for system tests

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :red_circle:PyIcon4py-install_version_0_0_8
WARNING: Serial tests did not run for system tests

launch jenkins py-icon4py py-gt4py

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :red_circle:PyIcon4py-install_version_0_0_8
WARNING: Serial tests did not run for system tests

launch jenkins py-icon4py py-gt4py icon

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :green_circle: system testTest:green_circle:Icon-install_2_6_6_gcc :green_circle:Icon-install_2_6_6_nvhpc :green_circle:Icon-install_nwp_gpu :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:Icon-install_2_6_6_gcc :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :green_circle:daint_cpu_cce :green_circle:daint_cpu_gcc :green_circle:daint_cpu_nvhpc :green_circle:daint_cpu_nvhpc_out_of_source :green_circle:daint_gpu_nvhpc :red_circle:daint_dsl_nvhpc
WARNING: Serial tests did not run for system tests

launch jenkins py-icon4py py-gt4py icon

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:red_circle:Icon-install_2_6_6_gcc :red_circle:Icon-install_2_6_6_nvhpc :red_circle:Icon-install_nwp_gpu :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7
WARNING: Serial tests did not run for system tests

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:Icon-install_2_6_6_gcc :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :hourglass:PyIcon4py-install_version_0_0_7 slurm time limit:green_circle:daint_cpu_cce :green_circle:daint_cpu_gcc :green_circle:daint_cpu_nvhpc :green_circle:daint_cpu_nvhpc_out_of_source :green_circle:daint_gpu_nvhpc :red_circle:daint_dsl_nvhpc
WARNING: Serial tests did not run for system tests

launch jenkins py-icon4py py-gt4py icon

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :red_circle: system testTest:green_circle:Icon-install_2_6_6_gcc :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :red_circle:daint_cpu_cce :red_circle:daint_cpu_gcc :red_circle:daint_cpu_nvhpc :red_circle:daint_cpu_nvhpc_out_of_source :red_circle:daint_gpu_nvhpc :red_circle:daint_dsl_nvhpc
WARNING: Serial tests did not run for system tests

@jonasjucker I'm not understanding why the daint tests are failing at the concretization step. That too I only changed the dsl test, not the others. Any ideas?

@abishekg7 Not your fault, rather the consequence of https://github.com/C2SM/spack-c2sm/issues/829
and https://github.com/spack/spack/issues/40449

Ah interesting! Okay, so I'm trying to build the icon-dsl versions (latest and older tag) locally on Daint. I'm also building the older tag of icon-dsl, so that I can test my icon4py path mapping for v0.0.3:<IP_ADDRESS>. Will let you know when the builds proceed fine.
Other than that, this PR is fine I believe.

launch jenkins py-icon4py py-gt4py icon

tsa
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :green_circle: system testTest:green_circle:Icon-install_2_6_6_gcc :green_circle:Icon-install_2_6_6_nvhpc :green_circle:Icon-install_nwp_gpu :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-spack_info :green_circle:icon-spack_spec :green_circle:dace_icon.-O1-spack_spec :green_circle:icon_serialization=create_claw=std-spack_spec :green_circle:py-gt4py-spack_info :green_circle:py-gt4py-spack_spec :green_circle:py-icon4py-spack_info :green_circle:py-icon4py-spack_spec :green_circle: system testTest:green_circle:Icon-install_2_6_6_gcc :green_circle:PyGt4py-install_version_1_0_1_1 :green_circle:PyGt4py-install_version_1_0_1_1b :green_circle:PyGt4py-install_version_1_0_1_2 :green_circle:PyGt4py-install_version_1_0_1_4 :green_circle:PyIcon4py-install_version_0_0_3 :green_circle:PyIcon4py-install_version_0_0_5 :green_circle:PyIcon4py-install_version_0_0_6 :green_circle:PyIcon4py-install_version_0_0_7 :green_circle:daint_cpu_cce :green_circle:daint_cpu_gcc :green_circle:daint_cpu_nvhpc :green_circle:daint_cpu_nvhpc_out_of_source :green_circle:daint_gpu_nvhpc :green_circle:daint_dsl_nvhpc

Just an update, my local icon-dsl builds work with these name changes. For both the latest and older tag. And I also removed the '-' from the branch name, so the CI is working now.
These are corresponding PRs in icon, icon4py
https://github.com/C2SM/icon/pull/73
https://github.com/C2SM/icon4py/pull/293


UMedia - ColoristApi

Descriptive summary
Not sure this needs reproduction, but UMedia currently has an R&D Colorist library:
https://github.com/UMNLibraries/umedia/blob/develop/app/services/colorist_api.rb

This was an experimental nice to have but never rose to the top of our
priority. Not required for initial launch.
-Jason
On Thu, Jun 2, 2022 at 3:15 PM Michael Berkowski @.***>
wrote:

No let's not pursue unless Jason asks.
—
Reply to this email directly, view it on GitHub
https://github.com/UMNLibraries/cdm-blacklightify/issues/47#issuecomment-1145299424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARCFFRAMURMKZVG5EKT77LVNEI4XANCNFSM5XSUE34Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Jason Roy
Director | Cataloging, Metadata, & Digitization Services
160B Wilson Library | 309 - 19th Avenue South | Minneapolis, MN 55455
University of Minnesota Libraries | lib.umn.edu |<PHONE_NUMBER>
ORCID: 0000-0002-3644-1970 https://orcid.org/0000-0002-3644-1970
he, him

I'll add a future card to the project board.


error when opening an edf file: the file is not EDF(+) or BDF(+) compliant (it contains format errors)

Hi
This is my first time working with EDFs using Python.
This is the error i get when trying to open them.
the file is not EDF(+) or BDF(+) compliant (it contains format errors)
I couldn't find much information on-line, I saw that you answered a similar question in the past.
any idea how can i solve the problem?

Try opening and saving it with EDFBrowsers header editor (EDFBrowser->Tools->Header Editor)

Can you please elaborate?
What is EDFBrowser? I have a couple of hundred files to open. Do I need to do this for all? Is there any method to do it for all in bulk?

EDFBrowser uses the same library as we do in the background: https://www.teuniz.net/edfbrowser/
Download the program, start the header editor from the menu and try to repair the file (open it in header editor and just click save again). If that works it is repairable
Currently there is no way to do this in batch mode. But if the error is always the same you might be lucky by creating a script that repairs the header automatically. Often it's just a small format, e.g. the time is with a : instead of .. This can be easily solved by just opening it in binary mode and replacing the chars. I'd need a sample file to check that.

This actually is one of the more annoying shortcomings of EDF in practice. Happens so very often. Would there be any way to fix it (I assume it is primarily a political problem, UTF-8 is not really that esoteric anymore, is it)?

Behind this error there are actually a multitude of different problems. I have not encountered many UTF8 problems recently, most of the errors I saw were inconsistent use of specifications, i.e. wrong date format, time format, wrong use of digital min/max, etc.
I trust edflib (the C library) to have the most accurate implementation of the EDF standard, which it also enforces very strictly.


Tool counts don't restrict visibility (I think)

The tools list doesn't appear to be paginated (or at least no amount of scrolling makes more tools pop up, and there isn't a "next page" button anywhere), so there appears to be a tool somewhere that my user can't see but that is still getting included in the count

I discovered this because I had an overrides file in my dev environment to send requests to the prod app while I was testing the MAML parser. I'm cleaning them up now. But hey, at least in making a bunch of bogus tools in production, I discovered a bug maybe. :man_facepalming:

Also possible that the issue is that there's no "next page" button / that we don't request the next tools when we scroll to the bottom. Or making search work would help. There are a lot of things.

Also the filters on the right don't work.

Bump -- newly created tools go to the bottom of the list :cry:

Should be resolved in #2486. Going to make a new issue for sorting on the tools endpoint.


[BUG] Unknown file type: .DS_Store

Describe the bug
I fire up Flowise:
ME@MacBook-Air ~ % npx flowise start
Starting Flowise...
⚡[server]: Flowise Server is listening at 3000
📦[server]: Data Source has been initialized!
** In Browser **
ME: Hello!
** In Terminal **
Unknown file type: .DS_Store
** In Browser **
Return: Request failed with status code 404
Screenshot of Canvas: https://cloud.brandonthompson.net/Kou9vvN0

Update: Changed my ChatOpenAI -> Model Name
From GPT-4 (still on the waiting list) to GPT-3.5... it works now!


Default IS logo doesn't included in emails eventhough it is shown in preview

Describe the issue:

Keep default branding

Check the email preview under the Branding section

You can see the identity server logo on top of the title

Try a flow that sends the email, the received email doesn't have the logo

Through branding configure a custom logo and try the email receiving flow. Then you can see the logo

@pavinduLakshan isn't this fixed now?

As per the offline discussion, it was decided to keep the emails without a default logo and therefore remove the fallback logo URLs from the email templates UI in console.

Removing the fallback logo URL in the frontend results in displaying a broken image icon in the preview, since src="" is an invalid image URL.
To address this, we can add an onerror attribute to the email template's img tags with the value this.style.display='none’. This hides the broken image icon in the preview when branding is not configured, while not affecting actual sent emails as far as I understood.


Adding specter_warden

https://twitter.com/alphaazeta/status/1316995228302249985
https://github.com/pxsocs/specter_warden

If help is needed here, let me know. Actually going through setting up a new Raspiblitz node to test installation.

Testing WARden now:

Possible to connect to specter onion service

Issue being shared here https://github.com/pxsocs/warden/issues/98
#!/bin/bash

# https://github.com/pxsocs/warden

# command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
 echo "config script to install or uninstall WARden"
 echo "bonus.warden.sh [on|off|menu]"
 exit 1
fi

source /mnt/hdd/raspiblitz.conf

# add default value to raspi config if needed
if ! grep -Eq "^warden=" /mnt/hdd/raspiblitz.conf; then
  echo "warden=off" >> /mnt/hdd/raspiblitz.conf
fi

# show info menu
if [ "$1" = "menu" ]; then
  dialog --title " Info WARden " --msgbox "
WARden is a command line tool.
Type: 'war' in the command line to switch to the dedicated user.
Usage: https://github.com/pxsocs/warden/blob/master/README.md
" 10 75
  exit 0
fi

# install
if [ "$1" = "1" ] || [ "$1" = "on" ]; then

  echo "*** INSTALL WARDEN ***"

  # create war user
  sudo adduser --disabled-password --gecos "" war

  # download source code
  sudo -u war git clone https://github.com/pxsocs/warden.git /home/war/warden

  sudo -u war pip3 install -r /home/war/warden/requirements.txt

  # setting value in raspi blitz config
  sudo sed -i "s/^warden=.*/warden=on/g" /mnt/hdd/raspiblitz.conf

  echo "# Usage: https://github.com/pxsocs/warden/blob/master/README.md"
  echo "# To start type: 'sudo su war' in the command line."
  echo "# To exit the user - type 'exit' and press ENTER"

  exit 0

fi

# switch off
if [ "$1" = "0" ] || [ "$1" = "off" ]; then

  # setting value in raspi blitz config
  sudo sed -i "s/^warden    =.*/warden=off/g" /mnt/hdd/raspiblitz.conf

  echo "*** REMOVING WARDEN ***"
  sudo userdel -rf war
  echo "# OK, war is removed."
  exit 0

fi

# switch off
if [ "$1" = "update" ]; then

  echo "*** UPDATING WARDEN ***"
  cd /home/war/warden
  git pull origin master
  cd /home/admin
  echo "# OK, war is UPDATED."
  exit 0

fi

Run web server:
cd /home/war/warden
sudo -u war python3 warden

I tried to install this on my Raspiblitz
Created a .sh file with
touch bonus.warden.sh
Changed permissions
sudo chmod 755 bonus.warden.sh
Install
./bonus.warden.sh on
Start web server
cd /var/war/warden sudo -u war python3 warden
Output:
Welcome to the WARden <> Launching Application ...
[i] Running from directory: /home/war/warden/warden
✅ Config Loaded from config.ini - edit it for customization
✅  BTC price is: $ 44,391.8
[i] Running WARden version: 0.101
[i] Newest WARden version available: 0.96
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "warden/main.py", line 615, in
main(debug=debug, reloader=reloader)
File "warden/main.py", line 507, in main
app = init_app(app)
File "warden/main.py", line 246, in init_app
from routes import warden
File "warden/routes.py", line 13, in
from forms import RegistrationForm, LoginForm, TradeForm
File "warden/forms.py", line 8, in
from wtforms.fields.html5 import DateField
ModuleNotFoundError: No module named 'wtforms.fields.html5'

@sovereignhodler Did the installation fail?

[i] Running WARden version: 0.101
[i] Newest WARden version available: 0.96

You are running a really older version.
Try running with the option update.

Havent tried in a while, maybe try https://stackoverflow.com/questions/70068407/modulenotfounderror-no-module-named-wtforms-fields-html5

Havent tried in a while, maybe try https://stackoverflow.com/questions/70068407/modulenotfounderror-no-module-named-wtforms-fields-html5

Downgrading and changing the import line in forms.py worked. However, changing config to port 5050 (conflict with lnbits) runs but can't access the page.
Giving up for now.
Thanks for the help

closing as outdated


contiv-init keeps seg faulting

contiv-init keeps crashing on me with the following error ...
2018-05-28 14:14:12,452 DEBG 'contiv-init' stdout output:
time="2018-05-28T14:14:12Z" level=debug msg="API channel closed." context=2

2018-05-28 14:14:12,455 DEBG 'contiv-init' stdout output:
panic: runtime error: invalid memory address or nil pointer dereference
[signal
2018-05-28 14:14:12,455 DEBG 'contiv-init' stdout output:
SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x10b56b6]

goroutine 1 [running]:
main.configureVpp(0xc4203e2dd0, 0xc4204f4180, 0x2300, 0x0, 0x0, 0x0)
	/root/go/src/github.com/contiv/vpp/cmd/contiv-init/vppcfg.go
2018-05-28 14:14:12,455 DEBG 'contiv-init' stdout output:
:260 +0x1806
main.main()
	/root/go/src/github.com/contiv/vpp/cmd/contiv-init/main.go:239 +0x971

contiv-vpp on a ubunutu vm running k8s.

Seems to happen if you dont have DHCP enabled (NodeInterconnectDHCP).  Might not be a bug here but it is a little confusing.

Are you trying to use the single-NIC configuration or the two-NIC configuration? The crash indicates that the STN daemon is not running - but that's only required in the single-NIC configuration.
Please give more details about your configuration (both the VPP config and the contiv-VPP config in contv-vpp.yaml) and the steps you executed when bringing up the cluster.

Fixed